-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap533.js
More file actions
7 lines (7 loc) · 79.1 KB
/
bootstrap533.js
File metadata and controls
7 lines (7 loc) · 79.1 KB
1
2
3
4
5
6
7
/*!
* Bootstrap v5.3.3 (https://getbootstrap.com/)
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(f,v){"object"==typeof exports&&"undefined"!=typeof module?module.exports=v():"function"==typeof define&&define.amd?define(v):(f="undefined"!=typeof globalThis?globalThis:f||self).bootstrap=v()}(this,(function(){"use strict";const f=new Map,v={set(v,y,w){f.has(v)||f.set(v,new Map);const E=f.get(v);E.has(y)||0===E.size?E.set(y,w):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(E.keys())[0]}.`)},get:(v,y)=>f.has(v)&&f.get(v).get(y)||null,remove(v,y){if(!f.has(v))return;const w=f.get(v);w.delete(y),0===w.size&&f.delete(v)}},y="transitionend",n=f=>(f&&window.CSS&&window.CSS.escape&&(f=f.replace(/#([^\s"#']+)/g,((f,v)=>`#${CSS.escape(v)}`))),f),s=f=>{f.dispatchEvent(new Event(y))},o=f=>!(!f||"object"!=typeof f)&&(void 0!==f.jquery&&(f=f[0]),void 0!==f.nodeType),r=f=>o(f)?f.jquery?f[0]:f:"string"==typeof f&&f.length>0?document.querySelector(n(f)):null,a=f=>{if(!o(f)||0===f.getClientRects().length)return!1;const v="visible"===getComputedStyle(f).getPropertyValue("visibility"),y=f.closest("details:not([open])");if(!y)return v;if(y!==f){const v=f.closest("summary");if(v&&v.parentNode!==y)return!1;if(null===v)return!1}return v},l=f=>!f||f.nodeType!==Node.ELEMENT_NODE||!!f.classList.contains("disabled")||(void 0!==f.disabled?f.disabled:f.hasAttribute("disabled")&&"false"!==f.getAttribute("disabled")),c=f=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof f.getRootNode){const v=f.getRootNode();return v instanceof ShadowRoot?v:null}return f instanceof ShadowRoot?f:f.parentNode?c(f.parentNode):null},h=()=>{},d=f=>{f.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,w=[],p=()=>"rtl"===document.documentElement.dir,m=f=>{var v;v=()=>{const v=u();if(v){const y=f.NAME,w=v.fn[y];v.fn[y]=f.jQueryInterface,v.fn[y].Constructor=f,v.fn[y].noConflict=()=>(v.fn[y]=w,f.jQueryInterface)}},"loading"===document.readyState?(w.length||document.addEventListener("DOMContentLoaded",(()=>{for(const f of w)f()})),w.push(v)):v()},g=(f,v=[],y=f)=>"function"==typeof f?f(...v):y,_=(f,v,w=!0)=>{if(!w)return void g(f);const E=(f=>{if(!f)return 0;let{transitionDuration:v,transitionDelay:y}=window.getComputedStyle(f);const w=Number.parseFloat(v),E=Number.parseFloat(y);return w||E?(v=v.split(",")[0],y=y.split(",")[0],1e3*(Number.parseFloat(v)+Number.parseFloat(y))):0})(v)+5;let A=!1;const a=({target:w})=>{w===v&&(A=!0,v.removeEventListener(y,a),g(f))};v.addEventListener(y,a),setTimeout((()=>{A||s(v)}),E)},b=(f,v,y,w)=>{const E=f.length;let A=f.indexOf(v);return-1===A?!y&&w?f[E-1]:f[0]:(A+=y?1:-1,w&&(A=(A+E)%E),f[Math.max(0,Math.min(A,E-1))])},E=/[^.]*(?=\..*)\.|.*/,A=/\..*/,T=/::\d+$/,C={};let N=1;const F={mouseenter:"mouseover",mouseleave:"mouseout"},q=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(f,v){return v&&`${v}::${N++}`||f.uidEvent||N++}function x(f){const v=O(f);return f.uidEvent=v,C[v]=C[v]||{},C[v]}function k(f,v,y=null){return Object.values(f).find((f=>f.callable===v&&f.delegationSelector===y))}function L(f,v,y){const w="string"==typeof v,E=w?y:v||y;let A=I(f);return q.has(A)||(A=f),[w,E,A]}function S(f,v,y,w,A){if("string"!=typeof v||!f)return;let[T,C,N]=L(v,y,w);if(v in F){const t=f=>function(v){if(!v.relatedTarget||v.relatedTarget!==v.delegateTarget&&!v.delegateTarget.contains(v.relatedTarget))return f.call(this,v)};C=t(C)}const q=x(f),V=q[N]||(q[N]={}),K=k(V,C,T?y:null);if(K)return void(K.oneOff=K.oneOff&&A);const U=O(C,v.replace(E,"")),X=T?function(f,v,y){return function n(w){const E=f.querySelectorAll(v);for(let{target:A}=w;A&&A!==this;A=A.parentNode)for(const T of E)if(T===A)return P(w,{delegateTarget:A}),n.oneOff&&z.off(f,w.type,v,y),y.apply(A,[w])}}(f,y,C):function(f,v){return function i(y){return P(y,{delegateTarget:f}),i.oneOff&&z.off(f,y.type,v),v.apply(f,[y])}}(f,C);X.delegationSelector=T?y:null,X.callable=C,X.oneOff=A,X.uidEvent=U,V[U]=X,f.addEventListener(N,X,T)}function D(f,v,y,w,E){const A=k(v[y],w,E);A&&(f.removeEventListener(y,A,Boolean(E)),delete v[y][A.uidEvent])}function $(f,v,y,w){const E=v[y]||{};for(const[A,T]of Object.entries(E))A.includes(w)&&D(f,v,y,T.callable,T.delegationSelector)}function I(f){return f=f.replace(A,""),F[f]||f}const z={on(f,v,y,w){S(f,v,y,w,!1)},one(f,v,y,w){S(f,v,y,w,!0)},off(f,v,y,w){if("string"!=typeof v||!f)return;const[E,A,C]=L(v,y,w),N=C!==v,F=x(f),q=F[C]||{},z=v.startsWith(".");if(void 0===A){if(z)for(const y of Object.keys(F))$(f,F,y,v.slice(1));for(const[y,w]of Object.entries(q)){const E=y.replace(T,"");N&&!v.includes(E)||D(f,F,C,w.callable,w.delegationSelector)}}else{if(!Object.keys(q).length)return;D(f,F,C,A,E?y:null)}},trigger(f,v,y){if("string"!=typeof v||!f)return null;const w=u();let E=null,A=!0,T=!0,C=!1;v!==I(v)&&w&&(E=w.Event(v,y),w(f).trigger(E),A=!E.isPropagationStopped(),T=!E.isImmediatePropagationStopped(),C=E.isDefaultPrevented());const N=P(new Event(v,{bubbles:A,cancelable:!0}),y);return C&&N.preventDefault(),T&&f.dispatchEvent(N),N.defaultPrevented&&E&&E.preventDefault(),N}};function P(f,v={}){for(const[y,w]of Object.entries(v))try{f[y]=w}catch(v){Object.defineProperty(f,y,{configurable:!0,get:()=>w})}return f}function j(f){if("true"===f)return!0;if("false"===f)return!1;if(f===Number(f).toString())return Number(f);if(""===f||"null"===f)return null;if("string"!=typeof f)return f;try{return JSON.parse(decodeURIComponent(f))}catch(v){return f}}function M(f){return f.replace(/[A-Z]/g,(f=>`-${f.toLowerCase()}`))}const V={setDataAttribute(f,v,y){f.setAttribute(`data-bs-${M(v)}`,y)},removeDataAttribute(f,v){f.removeAttribute(`data-bs-${M(v)}`)},getDataAttributes(f){if(!f)return{};const v={},y=Object.keys(f.dataset).filter((f=>f.startsWith("bs")&&!f.startsWith("bsConfig")));for(const w of y){let y=w.replace(/^bs/,"");y=y.charAt(0).toLowerCase()+y.slice(1,y.length),v[y]=j(f.dataset[w])}return v},getDataAttribute:(f,v)=>j(f.getAttribute(`data-bs-${M(v)}`))};class H{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(f){return f=this._mergeConfigObj(f),f=this._configAfterMerge(f),this._typeCheckConfig(f),f}_configAfterMerge(f){return f}_mergeConfigObj(f,v){const y=o(v)?V.getDataAttribute(v,"config"):{};return{...this.constructor.Default,..."object"==typeof y?y:{},...o(v)?V.getDataAttributes(v):{},..."object"==typeof f?f:{}}}_typeCheckConfig(f,v=this.constructor.DefaultType){for(const[w,E]of Object.entries(v)){const v=f[w],A=o(v)?"element":null==(y=v)?`${y}`:Object.prototype.toString.call(y).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(E).test(A))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${w}" provided type "${A}" but expected type "${E}".`)}var y}}class W extends H{constructor(f,y){super(),(f=r(f))&&(this._element=f,this._config=this._getConfig(y),v.set(this._element,this.constructor.DATA_KEY,this))}dispose(){v.remove(this._element,this.constructor.DATA_KEY),z.off(this._element,this.constructor.EVENT_KEY);for(const f of Object.getOwnPropertyNames(this))this[f]=null}_queueCallback(f,v,y=!0){_(f,v,y)}_getConfig(f){return f=this._mergeConfigObj(f,this._element),f=this._configAfterMerge(f),this._typeCheckConfig(f),f}static getInstance(f){return v.get(r(f),this.DATA_KEY)}static getOrCreateInstance(f,v={}){return this.getInstance(f)||new this(f,"object"==typeof v?v:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(f){return`${f}${this.EVENT_KEY}`}}const B=f=>{let v=f.getAttribute("data-bs-target");if(!v||"#"===v){let y=f.getAttribute("href");if(!y||!y.includes("#")&&!y.startsWith("."))return null;y.includes("#")&&!y.startsWith("#")&&(y=`#${y.split("#")[1]}`),v=y&&"#"!==y?y.trim():null}return v?v.split(",").map((f=>n(f))).join(","):null},K={find:(f,v=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(v,f)),findOne:(f,v=document.documentElement)=>Element.prototype.querySelector.call(v,f),children:(f,v)=>[].concat(...f.children).filter((f=>f.matches(v))),parents(f,v){const y=[];let w=f.parentNode.closest(v);for(;w;)y.push(w),w=w.parentNode.closest(v);return y},prev(f,v){let y=f.previousElementSibling;for(;y;){if(y.matches(v))return[y];y=y.previousElementSibling}return[]},next(f,v){let y=f.nextElementSibling;for(;y;){if(y.matches(v))return[y];y=y.nextElementSibling}return[]},focusableChildren(f){const v=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((f=>`${f}:not([tabindex^="-"])`)).join(",");return this.find(v,f).filter((f=>!l(f)&&a(f)))},getSelectorFromElement(f){const v=B(f);return v&&K.findOne(v)?v:null},getElementFromSelector(f){const v=B(f);return v?K.findOne(v):null},getMultipleElementsFromSelector(f){const v=B(f);return v?K.find(v):[]}},R=(f,v="hide")=>{const y=`click.dismiss${f.EVENT_KEY}`,w=f.NAME;z.on(document,y,`[data-bs-dismiss="${w}"]`,(function(y){if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),l(this))return;const E=K.getElementFromSelector(this)||this.closest(`.${w}`);f.getOrCreateInstance(E)[v]()}))},U=".bs.alert",X=`close${U}`,J=`closed${U}`;class Q extends W{static get NAME(){return"alert"}close(){if(z.trigger(this._element,X).defaultPrevented)return;this._element.classList.remove("show");const f=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,f)}_destroyElement(){this._element.remove(),z.trigger(this._element,J),this.dispose()}static jQueryInterface(f){return this.each((function(){const v=Q.getOrCreateInstance(this);if("string"==typeof f){if(void 0===v[f]||f.startsWith("_")||"constructor"===f)throw new TypeError(`No method named "${f}"`);v[f](this)}}))}}R(Q,"close"),m(Q);const G='[data-bs-toggle="button"]';class Y extends W{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(f){return this.each((function(){const v=Y.getOrCreateInstance(this);"toggle"===f&&v[f]()}))}}z.on(document,"click.bs.button.data-api",G,(f=>{f.preventDefault();const v=f.target.closest(G);Y.getOrCreateInstance(v).toggle()})),m(Y);const Z=".bs.swipe",ee=`touchstart${Z}`,te=`touchmove${Z}`,ie=`touchend${Z}`,ne=`pointerdown${Z}`,se=`pointerup${Z}`,oe={endCallback:null,leftCallback:null,rightCallback:null},re={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class st extends H{constructor(f,v){super(),this._element=f,f&&st.isSupported()&&(this._config=this._getConfig(v),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return oe}static get DefaultType(){return re}static get NAME(){return"swipe"}dispose(){z.off(this._element,Z)}_start(f){this._supportPointerEvents?this._eventIsPointerPenTouch(f)&&(this._deltaX=f.clientX):this._deltaX=f.touches[0].clientX}_end(f){this._eventIsPointerPenTouch(f)&&(this._deltaX=f.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(f){this._deltaX=f.touches&&f.touches.length>1?0:f.touches[0].clientX-this._deltaX}_handleSwipe(){const f=Math.abs(this._deltaX);if(f<=40)return;const v=f/this._deltaX;this._deltaX=0,v&&g(v>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(z.on(this._element,ne,(f=>this._start(f))),z.on(this._element,se,(f=>this._end(f))),this._element.classList.add("pointer-event")):(z.on(this._element,ee,(f=>this._start(f))),z.on(this._element,te,(f=>this._move(f))),z.on(this._element,ie,(f=>this._end(f))))}_eventIsPointerPenTouch(f){return this._supportPointerEvents&&("pen"===f.pointerType||"touch"===f.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ae=".bs.carousel",le=".data-api",ce="next",he="prev",de="left",_e="right",ve=`slide${ae}`,ye=`slid${ae}`,we=`keydown${ae}`,Me=`mouseenter${ae}`,He=`mouseleave${ae}`,qe=`dragstart${ae}`,Be=`load${ae}${le}`,ze=`click${ae}${le}`,Re="carousel",Ke="active",et=".active",tt=".carousel-item",it=et+tt,nt={ArrowLeft:_e,ArrowRight:de},ot={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},rt={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class xt extends W{constructor(f,v){super(f,v),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=K.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===Re&&this.cycle()}static get Default(){return ot}static get DefaultType(){return rt}static get NAME(){return"carousel"}next(){this._slide(ce)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(he)}pause(){this._isSliding&&s(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?z.one(this._element,ye,(()=>this.cycle())):this.cycle())}to(f){const v=this._getItems();if(f>v.length-1||f<0)return;if(this._isSliding)return void z.one(this._element,ye,(()=>this.to(f)));const y=this._getItemIndex(this._getActive());if(y===f)return;const w=f>y?ce:he;this._slide(w,v[f])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(f){return f.defaultInterval=f.interval,f}_addEventListeners(){this._config.keyboard&&z.on(this._element,we,(f=>this._keydown(f))),"hover"===this._config.pause&&(z.on(this._element,Me,(()=>this.pause())),z.on(this._element,He,(()=>this._maybeEnableCycle()))),this._config.touch&&st.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const f of K.find(".carousel-item img",this._element))z.on(f,qe,(f=>f.preventDefault()));const f={leftCallback:()=>this._slide(this._directionToOrder(de)),rightCallback:()=>this._slide(this._directionToOrder(_e)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new st(this._element,f)}_keydown(f){if(/input|textarea/i.test(f.target.tagName))return;const v=nt[f.key];v&&(f.preventDefault(),this._slide(this._directionToOrder(v)))}_getItemIndex(f){return this._getItems().indexOf(f)}_setActiveIndicatorElement(f){if(!this._indicatorsElement)return;const v=K.findOne(et,this._indicatorsElement);v.classList.remove(Ke),v.removeAttribute("aria-current");const y=K.findOne(`[data-bs-slide-to="${f}"]`,this._indicatorsElement);y&&(y.classList.add(Ke),y.setAttribute("aria-current","true"))}_updateInterval(){const f=this._activeElement||this._getActive();if(!f)return;const v=Number.parseInt(f.getAttribute("data-bs-interval"),10);this._config.interval=v||this._config.defaultInterval}_slide(f,v=null){if(this._isSliding)return;const y=this._getActive(),w=f===ce,E=v||b(this._getItems(),y,w,this._config.wrap);if(E===y)return;const A=this._getItemIndex(E),r=v=>z.trigger(this._element,v,{relatedTarget:E,direction:this._orderToDirection(f),from:this._getItemIndex(y),to:A});if(r(ve).defaultPrevented)return;if(!y||!E)return;const T=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(A),this._activeElement=E;const C=w?"carousel-item-start":"carousel-item-end",N=w?"carousel-item-next":"carousel-item-prev";E.classList.add(N),d(E),y.classList.add(C),E.classList.add(C),this._queueCallback((()=>{E.classList.remove(C,N),E.classList.add(Ke),y.classList.remove(Ke,N,C),this._isSliding=!1,r(ye)}),y,this._isAnimated()),T&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return K.findOne(it,this._element)}_getItems(){return K.find(tt,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(f){return p()?f===de?he:ce:f===de?ce:he}_orderToDirection(f){return p()?f===he?de:_e:f===he?_e:de}static jQueryInterface(f){return this.each((function(){const v=xt.getOrCreateInstance(this,f);if("number"!=typeof f){if("string"==typeof f){if(void 0===v[f]||f.startsWith("_")||"constructor"===f)throw new TypeError(`No method named "${f}"`);v[f]()}}else v.to(f)}))}}z.on(document,ze,"[data-bs-slide], [data-bs-slide-to]",(function(f){const v=K.getElementFromSelector(this);if(!v||!v.classList.contains(Re))return;f.preventDefault();const y=xt.getOrCreateInstance(v),w=this.getAttribute("data-bs-slide-to");return w?(y.to(w),void y._maybeEnableCycle()):"next"===V.getDataAttribute(this,"slide")?(y.next(),void y._maybeEnableCycle()):(y.prev(),void y._maybeEnableCycle())})),z.on(window,Be,(()=>{const f=K.find('[data-bs-ride="carousel"]');for(const v of f)xt.getOrCreateInstance(v)})),m(xt);const at=".bs.collapse",lt=`show${at}`,ct=`shown${at}`,ht=`hide${at}`,ut=`hidden${at}`,dt=`click${at}.data-api`,ft="show",pt="collapse",mt="collapsing",gt=`:scope .${pt} .${pt}`,_t='[data-bs-toggle="collapse"]',bt={parent:null,toggle:!0},vt={parent:"(null|element)",toggle:"boolean"};class Bt extends W{constructor(f,v){super(f,v),this._isTransitioning=!1,this._triggerArray=[];const y=K.find(_t);for(const f of y){const v=K.getSelectorFromElement(f),y=K.find(v).filter((f=>f===this._element));null!==v&&y.length&&this._triggerArray.push(f)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return bt}static get DefaultType(){return vt}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let f=[];if(this._config.parent&&(f=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((f=>f!==this._element)).map((f=>Bt.getOrCreateInstance(f,{toggle:!1})))),f.length&&f[0]._isTransitioning)return;if(z.trigger(this._element,lt).defaultPrevented)return;for(const v of f)v.hide();const v=this._getDimension();this._element.classList.remove(pt),this._element.classList.add(mt),this._element.style[v]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const y=`scroll${v[0].toUpperCase()+v.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(mt),this._element.classList.add(pt,ft),this._element.style[v]="",z.trigger(this._element,ct)}),this._element,!0),this._element.style[v]=`${this._element[y]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(z.trigger(this._element,ht).defaultPrevented)return;const f=this._getDimension();this._element.style[f]=`${this._element.getBoundingClientRect()[f]}px`,d(this._element),this._element.classList.add(mt),this._element.classList.remove(pt,ft);for(const f of this._triggerArray){const v=K.getElementFromSelector(f);v&&!this._isShown(v)&&this._addAriaAndCollapsedClass([f],!1)}this._isTransitioning=!0,this._element.style[f]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(mt),this._element.classList.add(pt),z.trigger(this._element,ut)}),this._element,!0)}_isShown(f=this._element){return f.classList.contains(ft)}_configAfterMerge(f){return f.toggle=Boolean(f.toggle),f.parent=r(f.parent),f}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const f=this._getFirstLevelChildren(_t);for(const v of f){const f=K.getElementFromSelector(v);f&&this._addAriaAndCollapsedClass([v],this._isShown(f))}}_getFirstLevelChildren(f){const v=K.find(gt,this._config.parent);return K.find(f,this._config.parent).filter((f=>!v.includes(f)))}_addAriaAndCollapsedClass(f,v){if(f.length)for(const y of f)y.classList.toggle("collapsed",!v),y.setAttribute("aria-expanded",v)}static jQueryInterface(f){const v={};return"string"==typeof f&&/show|hide/.test(f)&&(v.toggle=!1),this.each((function(){const y=Bt.getOrCreateInstance(this,v);if("string"==typeof f){if(void 0===y[f])throw new TypeError(`No method named "${f}"`);y[f]()}}))}}z.on(document,dt,_t,(function(f){("A"===f.target.tagName||f.delegateTarget&&"A"===f.delegateTarget.tagName)&&f.preventDefault();for(const f of K.getMultipleElementsFromSelector(this))Bt.getOrCreateInstance(f,{toggle:!1}).toggle()})),m(Bt);var yt="top",wt="bottom",Et="right",At="left",Tt="auto",Ct=[yt,wt,Et,At],Ot="start",kt="end",Lt="clippingParents",St="viewport",Dt="popper",$t="reference",It=Ct.reduce((function(f,v){return f.concat([v+"-"+Ot,v+"-"+kt])}),[]),Nt=[].concat(Ct,[Tt]).reduce((function(f,v){return f.concat([v,v+"-"+Ot,v+"-"+kt])}),[]),Pt="beforeRead",jt="read",Mt="afterRead",Ft="beforeMain",Wt="main",Ht="afterMain",qt="beforeWrite",zt="write",Rt="afterWrite",Vt=[Pt,jt,Mt,Ft,Wt,Ht,qt,zt,Rt];function ue(f){return f?(f.nodeName||"").toLowerCase():null}function fe(f){if(null==f)return window;if("[object Window]"!==f.toString()){var v=f.ownerDocument;return v&&v.defaultView||window}return f}function pe(f){return f instanceof fe(f).Element||f instanceof Element}function me(f){return f instanceof fe(f).HTMLElement||f instanceof HTMLElement}function ge(f){return"undefined"!=typeof ShadowRoot&&(f instanceof fe(f).ShadowRoot||f instanceof ShadowRoot)}const Kt={name:"applyStyles",enabled:!0,phase:"write",fn:function(f){var v=f.state;Object.keys(v.elements).forEach((function(f){var y=v.styles[f]||{},w=v.attributes[f]||{},E=v.elements[f];me(E)&&ue(E)&&(Object.assign(E.style,y),Object.keys(w).forEach((function(f){var v=w[f];!1===v?E.removeAttribute(f):E.setAttribute(f,!0===v?"":v)})))}))},effect:function(f){var v=f.state,y={popper:{position:v.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(v.elements.popper.style,y.popper),v.styles=y,v.elements.arrow&&Object.assign(v.elements.arrow.style,y.arrow),function(){Object.keys(v.elements).forEach((function(f){var w=v.elements[f],E=v.attributes[f]||{},A=Object.keys(v.styles.hasOwnProperty(f)?v.styles[f]:y[f]).reduce((function(f,v){return f[v]="",f}),{});me(w)&&ue(w)&&(Object.assign(w.style,A),Object.keys(E).forEach((function(f){w.removeAttribute(f)})))}))}},requires:["computeStyles"]};function be(f){return f.split("-")[0]}var Yt=Math.max,Qt=Math.min,Ut=Math.round;function Ae(){var f=navigator.userAgentData;return null!=f&&f.brands&&Array.isArray(f.brands)?f.brands.map((function(f){return f.brand+"/"+f.version})).join(" "):navigator.userAgent}function Ee(){return!/^((?!chrome|android).)*safari/i.test(Ae())}function Te(f,v,y){void 0===v&&(v=!1),void 0===y&&(y=!1);var w=f.getBoundingClientRect(),E=1,A=1;v&&me(f)&&(E=f.offsetWidth>0&&Ut(w.width)/f.offsetWidth||1,A=f.offsetHeight>0&&Ut(w.height)/f.offsetHeight||1);var T=(pe(f)?fe(f):window).visualViewport,C=!Ee()&&y,N=(w.left+(C&&T?T.offsetLeft:0))/E,F=(w.top+(C&&T?T.offsetTop:0))/A,q=w.width/E,z=w.height/A;return{width:q,height:z,top:F,right:N+q,bottom:F+z,left:N,x:N,y:F}}function Ce(f){var v=Te(f),y=f.offsetWidth,w=f.offsetHeight;return Math.abs(v.width-y)<=1&&(y=v.width),Math.abs(v.height-w)<=1&&(w=v.height),{x:f.offsetLeft,y:f.offsetTop,width:y,height:w}}function Oe(f,v){var y=v.getRootNode&&v.getRootNode();if(f.contains(v))return!0;if(y&&ge(y)){var w=v;do{if(w&&f.isSameNode(w))return!0;w=w.parentNode||w.host}while(w)}return!1}function xe(f){return fe(f).getComputedStyle(f)}function ke(f){return["table","td","th"].indexOf(ue(f))>=0}function Le(f){return((pe(f)?f.ownerDocument:f.document)||window.document).documentElement}function Se(f){return"html"===ue(f)?f:f.assignedSlot||f.parentNode||(ge(f)?f.host:null)||Le(f)}function De(f){return me(f)&&"fixed"!==xe(f).position?f.offsetParent:null}function $e(f){for(var v=fe(f),y=De(f);y&&ke(y)&&"static"===xe(y).position;)y=De(y);return y&&("html"===ue(y)||"body"===ue(y)&&"static"===xe(y).position)?v:y||function(f){var v=/firefox/i.test(Ae());if(/Trident/i.test(Ae())&&me(f)&&"fixed"===xe(f).position)return null;var y=Se(f);for(ge(y)&&(y=y.host);me(y)&&["html","body"].indexOf(ue(y))<0;){var w=xe(y);if("none"!==w.transform||"none"!==w.perspective||"paint"===w.contain||-1!==["transform","perspective"].indexOf(w.willChange)||v&&"filter"===w.willChange||v&&w.filter&&"none"!==w.filter)return y;y=y.parentNode}return null}(f)||v}function Ie(f){return["top","bottom"].indexOf(f)>=0?"x":"y"}function Ne(f,v,y){return Yt(f,Qt(v,y))}function Pe(f){return Object.assign({},{top:0,right:0,bottom:0,left:0},f)}function je(f,v){return v.reduce((function(v,y){return v[y]=f,v}),{})}const Xt={name:"arrow",enabled:!0,phase:"main",fn:function(f){var v,y=f.state,w=f.name,E=f.options,A=y.elements.arrow,T=y.modifiersData.popperOffsets,C=be(y.placement),N=Ie(C),F=[At,Et].indexOf(C)>=0?"height":"width";if(A&&T){var q=function(f,v){return Pe("number"!=typeof(f="function"==typeof f?f(Object.assign({},v.rects,{placement:v.placement})):f)?f:je(f,Ct))}(E.padding,y),z=Ce(A),V="y"===N?yt:At,K="y"===N?wt:Et,U=y.rects.reference[F]+y.rects.reference[N]-T[N]-y.rects.popper[F],X=T[N]-y.rects.reference[N],J=$e(A),G=J?"y"===N?J.clientHeight||0:J.clientWidth||0:0,Z=U/2-X/2,ee=q[V],te=G-z[F]-q[K],ie=G/2-z[F]/2+Z,ne=Ne(ee,ie,te),se=N;y.modifiersData[w]=((v={})[se]=ne,v.centerOffset=ne-ie,v)}},effect:function(f){var v=f.state,y=f.options.element,w=void 0===y?"[data-popper-arrow]":y;null!=w&&("string"!=typeof w||(w=v.elements.popper.querySelector(w)))&&Oe(v.elements.popper,w)&&(v.elements.arrow=w)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Fe(f){return f.split("-")[1]}var Jt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function We(f){var v,y=f.popper,w=f.popperRect,E=f.placement,A=f.variation,T=f.offsets,C=f.position,N=f.gpuAcceleration,F=f.adaptive,q=f.roundOffsets,z=f.isFixed,V=T.x,K=void 0===V?0:V,U=T.y,X=void 0===U?0:U,J="function"==typeof q?q({x:K,y:X}):{x:K,y:X};K=J.x,X=J.y;var G=T.hasOwnProperty("x"),Z=T.hasOwnProperty("y"),ee=At,te=yt,ie=window;if(F){var ne=$e(y),se="clientHeight",oe="clientWidth";ne===fe(y)&&"static"!==xe(ne=Le(y)).position&&"absolute"===C&&(se="scrollHeight",oe="scrollWidth"),(E===yt||(E===At||E===Et)&&A===kt)&&(te=wt,X-=(z&&ne===ie&&ie.visualViewport?ie.visualViewport.height:ne[se])-w.height,X*=N?1:-1),E!==At&&(E!==yt&&E!==wt||A!==kt)||(ee=Et,K-=(z&&ne===ie&&ie.visualViewport?ie.visualViewport.width:ne[oe])-w.width,K*=N?1:-1)}var re,ae=Object.assign({position:C},F&&Jt),le=!0===q?function(f,v){var y=f.x,w=f.y,E=v.devicePixelRatio||1;return{x:Ut(y*E)/E||0,y:Ut(w*E)/E||0}}({x:K,y:X},fe(y)):{x:K,y:X};return K=le.x,X=le.y,N?Object.assign({},ae,((re={})[te]=Z?"0":"",re[ee]=G?"0":"",re.transform=(ie.devicePixelRatio||1)<=1?"translate("+K+"px, "+X+"px)":"translate3d("+K+"px, "+X+"px, 0)",re)):Object.assign({},ae,((v={})[te]=Z?X+"px":"",v[ee]=G?K+"px":"",v.transform="",v))}const Gt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(f){var v=f.state,y=f.options,w=y.gpuAcceleration,E=void 0===w||w,A=y.adaptive,T=void 0===A||A,C=y.roundOffsets,N=void 0===C||C,F={placement:be(v.placement),variation:Fe(v.placement),popper:v.elements.popper,popperRect:v.rects.popper,gpuAcceleration:E,isFixed:"fixed"===v.options.strategy};null!=v.modifiersData.popperOffsets&&(v.styles.popper=Object.assign({},v.styles.popper,We(Object.assign({},F,{offsets:v.modifiersData.popperOffsets,position:v.options.strategy,adaptive:T,roundOffsets:N})))),null!=v.modifiersData.arrow&&(v.styles.arrow=Object.assign({},v.styles.arrow,We(Object.assign({},F,{offsets:v.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:N})))),v.attributes.popper=Object.assign({},v.attributes.popper,{"data-popper-placement":v.placement})},data:{}};var Zt={passive:!0};const si={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(f){var v=f.state,y=f.instance,w=f.options,E=w.scroll,A=void 0===E||E,T=w.resize,C=void 0===T||T,N=fe(v.elements.popper),F=[].concat(v.scrollParents.reference,v.scrollParents.popper);return A&&F.forEach((function(f){f.addEventListener("scroll",y.update,Zt)})),C&&N.addEventListener("resize",y.update,Zt),function(){A&&F.forEach((function(f){f.removeEventListener("scroll",y.update,Zt)})),C&&N.removeEventListener("resize",y.update,Zt)}},data:{}};var ai={left:"right",right:"left",bottom:"top",top:"bottom"};function Ve(f){return f.replace(/left|right|bottom|top/g,(function(f){return ai[f]}))}var li={start:"end",end:"start"};function Qe(f){return f.replace(/start|end/g,(function(f){return li[f]}))}function Xe(f){var v=fe(f);return{scrollLeft:v.pageXOffset,scrollTop:v.pageYOffset}}function Ye(f){return Te(Le(f)).left+Xe(f).scrollLeft}function Ue(f){var v=xe(f),y=v.overflow,w=v.overflowX,E=v.overflowY;return/auto|scroll|overlay|hidden/.test(y+E+w)}function Ge(f){return["html","body","#document"].indexOf(ue(f))>=0?f.ownerDocument.body:me(f)&&Ue(f)?f:Ge(Se(f))}function Je(f,v){var y;void 0===v&&(v=[]);var w=Ge(f),E=w===(null==(y=f.ownerDocument)?void 0:y.body),A=fe(w),T=E?[A].concat(A.visualViewport||[],Ue(w)?w:[]):w,C=v.concat(T);return E?C:C.concat(Je(Se(T)))}function Ze(f){return Object.assign({},f,{left:f.x,top:f.y,right:f.x+f.width,bottom:f.y+f.height})}function ti(f,v,y){return v===St?Ze(function(f,v){var y=fe(f),w=Le(f),E=y.visualViewport,A=w.clientWidth,T=w.clientHeight,C=0,N=0;if(E){A=E.width,T=E.height;var F=Ee();(F||!F&&"fixed"===v)&&(C=E.offsetLeft,N=E.offsetTop)}return{width:A,height:T,x:C+Ye(f),y:N}}(f,y)):pe(v)?function(f,v){var y=Te(f,!1,"fixed"===v);return y.top=y.top+f.clientTop,y.left=y.left+f.clientLeft,y.bottom=y.top+f.clientHeight,y.right=y.left+f.clientWidth,y.width=f.clientWidth,y.height=f.clientHeight,y.x=y.left,y.y=y.top,y}(v,y):Ze(function(f){var v,y=Le(f),w=Xe(f),E=null==(v=f.ownerDocument)?void 0:v.body,A=Yt(y.scrollWidth,y.clientWidth,E?E.scrollWidth:0,E?E.clientWidth:0),T=Yt(y.scrollHeight,y.clientHeight,E?E.scrollHeight:0,E?E.clientHeight:0),C=-w.scrollLeft+Ye(f),N=-w.scrollTop;return"rtl"===xe(E||y).direction&&(C+=Yt(y.clientWidth,E?E.clientWidth:0)-A),{width:A,height:T,x:C,y:N}}(Le(f)))}function ei(f){var v,y=f.reference,w=f.element,E=f.placement,A=E?be(E):null,T=E?Fe(E):null,C=y.x+y.width/2-w.width/2,N=y.y+y.height/2-w.height/2;switch(A){case yt:v={x:C,y:y.y-w.height};break;case wt:v={x:C,y:y.y+y.height};break;case Et:v={x:y.x+y.width,y:N};break;case At:v={x:y.x-w.width,y:N};break;default:v={x:y.x,y:y.y}}var F=A?Ie(A):null;if(null!=F){var q="y"===F?"height":"width";switch(T){case Ot:v[F]=v[F]-(y[q]/2-w[q]/2);break;case kt:v[F]=v[F]+(y[q]/2-w[q]/2)}}return v}function ii(f,v){void 0===v&&(v={});var y=v,w=y.placement,E=void 0===w?f.placement:w,A=y.strategy,T=void 0===A?f.strategy:A,C=y.boundary,N=void 0===C?Lt:C,F=y.rootBoundary,q=void 0===F?St:F,z=y.elementContext,V=void 0===z?Dt:z,K=y.altBoundary,U=void 0!==K&&K,X=y.padding,J=void 0===X?0:X,G=Pe("number"!=typeof J?J:je(J,Ct)),Z=V===Dt?$t:Dt,ee=f.rects.popper,te=f.elements[U?Z:V],ie=function(f,v,y,w){var E="clippingParents"===v?function(f){var v=Je(Se(f)),y=["absolute","fixed"].indexOf(xe(f).position)>=0&&me(f)?$e(f):f;return pe(y)?v.filter((function(f){return pe(f)&&Oe(f,y)&&"body"!==ue(f)})):[]}(f):[].concat(v),A=[].concat(E,[y]),T=A[0],C=A.reduce((function(v,y){var E=ti(f,y,w);return v.top=Yt(E.top,v.top),v.right=Qt(E.right,v.right),v.bottom=Qt(E.bottom,v.bottom),v.left=Yt(E.left,v.left),v}),ti(f,T,w));return C.width=C.right-C.left,C.height=C.bottom-C.top,C.x=C.left,C.y=C.top,C}(pe(te)?te:te.contextElement||Le(f.elements.popper),N,q,T),ne=Te(f.elements.reference),se=ei({reference:ne,element:ee,strategy:"absolute",placement:E}),oe=Ze(Object.assign({},ee,se)),re=V===Dt?oe:ne,ae={top:ie.top-re.top+G.top,bottom:re.bottom-ie.bottom+G.bottom,left:ie.left-re.left+G.left,right:re.right-ie.right+G.right},le=f.modifiersData.offset;if(V===Dt&&le){var ce=le[E];Object.keys(ae).forEach((function(f){var v=[Et,wt].indexOf(f)>=0?1:-1,y=[yt,wt].indexOf(f)>=0?"y":"x";ae[f]+=ce[y]*v}))}return ae}const ci={name:"flip",enabled:!0,phase:"main",fn:function(f){var v=f.state,y=f.options,w=f.name;if(!v.modifiersData[w]._skip){for(var E=y.mainAxis,A=void 0===E||E,T=y.altAxis,C=void 0===T||T,N=y.fallbackPlacements,F=y.padding,q=y.boundary,z=y.rootBoundary,V=y.altBoundary,K=y.flipVariations,U=void 0===K||K,X=y.allowedAutoPlacements,J=v.options.placement,G=be(J),Z=N||(G!==J&&U?function(f){if(be(f)===Tt)return[];var v=Ve(f);return[Qe(f),v,Qe(v)]}(J):[Ve(J)]),ee=[J].concat(Z).reduce((function(f,y){return f.concat(be(y)===Tt?function ni(f,v){void 0===v&&(v={});var y=v,w=y.placement,E=y.boundary,A=y.rootBoundary,T=y.padding,C=y.flipVariations,N=y.allowedAutoPlacements,F=void 0===N?Nt:N,q=Fe(w),z=q?C?It:It.filter((function(f){return Fe(f)===q})):Ct,V=z.filter((function(f){return F.indexOf(f)>=0}));0===V.length&&(V=z);var K=V.reduce((function(v,y){return v[y]=ii(f,{placement:y,boundary:E,rootBoundary:A,padding:T})[be(y)],v}),{});return Object.keys(K).sort((function(f,v){return K[f]-K[v]}))}(v,{placement:y,boundary:q,rootBoundary:z,padding:F,flipVariations:U,allowedAutoPlacements:X}):y)}),[]),te=v.rects.reference,ie=v.rects.popper,ne=new Map,se=!0,oe=ee[0],re=0;re<ee.length;re++){var ae=ee[re],le=be(ae),ce=Fe(ae)===Ot,he=[yt,wt].indexOf(le)>=0,de=he?"width":"height",_e=ii(v,{placement:ae,boundary:q,rootBoundary:z,altBoundary:V,padding:F}),ve=he?ce?Et:At:ce?wt:yt;te[de]>ie[de]&&(ve=Ve(ve));var ye=Ve(ve),we=[];if(A&&we.push(_e[le]<=0),C&&we.push(_e[ve]<=0,_e[ye]<=0),we.every((function(f){return f}))){oe=ae,se=!1;break}ne.set(ae,we)}if(se)for(var P=function(f){var v=ee.find((function(v){var y=ne.get(v);if(y)return y.slice(0,f).every((function(f){return f}))}));if(v)return oe=v,"break"},Me=U?3:1;Me>0&&"break"!==P(Me);Me--);v.placement!==oe&&(v.modifiersData[w]._skip=!0,v.placement=oe,v.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function oi(f,v,y){return void 0===y&&(y={x:0,y:0}),{top:f.top-v.height-y.y,right:f.right-v.width+y.x,bottom:f.bottom-v.height+y.y,left:f.left-v.width-y.x}}function ri(f){return[yt,Et,wt,At].some((function(v){return f[v]>=0}))}const hi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(f){var v=f.state,y=f.name,w=v.rects.reference,E=v.rects.popper,A=v.modifiersData.preventOverflow,T=ii(v,{elementContext:"reference"}),C=ii(v,{altBoundary:!0}),N=oi(T,w),F=oi(C,E,A),q=ri(N),z=ri(F);v.modifiersData[y]={referenceClippingOffsets:N,popperEscapeOffsets:F,isReferenceHidden:q,hasPopperEscaped:z},v.attributes.popper=Object.assign({},v.attributes.popper,{"data-popper-reference-hidden":q,"data-popper-escaped":z})}},fi={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(f){var v=f.state,y=f.options,w=f.name,E=y.offset,A=void 0===E?[0,0]:E,T=Nt.reduce((function(f,y){return f[y]=function(f,v,y){var w=be(f),E=[At,yt].indexOf(w)>=0?-1:1,A="function"==typeof y?y(Object.assign({},v,{placement:f})):y,T=A[0],C=A[1];return T=T||0,C=(C||0)*E,[At,Et].indexOf(w)>=0?{x:C,y:T}:{x:T,y:C}}(y,v.rects,A),f}),{}),C=T[v.placement],N=C.x,F=C.y;null!=v.modifiersData.popperOffsets&&(v.modifiersData.popperOffsets.x+=N,v.modifiersData.popperOffsets.y+=F),v.modifiersData[w]=T}},gi={name:"popperOffsets",enabled:!0,phase:"read",fn:function(f){var v=f.state,y=f.name;v.modifiersData[y]=ei({reference:v.rects.reference,element:v.rects.popper,strategy:"absolute",placement:v.placement})},data:{}},_i={name:"preventOverflow",enabled:!0,phase:"main",fn:function(f){var v=f.state,y=f.options,w=f.name,E=y.mainAxis,A=void 0===E||E,T=y.altAxis,C=void 0!==T&&T,N=y.boundary,F=y.rootBoundary,q=y.altBoundary,z=y.padding,V=y.tether,K=void 0===V||V,U=y.tetherOffset,X=void 0===U?0:U,J=ii(v,{boundary:N,rootBoundary:F,padding:z,altBoundary:q}),G=be(v.placement),Z=Fe(v.placement),ee=!Z,te=Ie(G),ie="x"===te?"y":"x",ne=v.modifiersData.popperOffsets,se=v.rects.reference,oe=v.rects.popper,re="function"==typeof X?X(Object.assign({},v.rects,{placement:v.placement})):X,ae="number"==typeof re?{mainAxis:re,altAxis:re}:Object.assign({mainAxis:0,altAxis:0},re),le=v.modifiersData.offset?v.modifiersData.offset[v.placement]:null,ce={x:0,y:0};if(ne){if(A){var he,de="y"===te?yt:At,_e="y"===te?wt:Et,ve="y"===te?"height":"width",ye=ne[te],we=ye+J[de],Me=ye-J[_e],He=K?-oe[ve]/2:0,qe=Z===Ot?se[ve]:oe[ve],Be=Z===Ot?-oe[ve]:-se[ve],ze=v.elements.arrow,Re=K&&ze?Ce(ze):{width:0,height:0},Ke=v.modifiersData["arrow#persistent"]?v.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=Ke[de],tt=Ke[_e],it=Ne(0,se[ve],Re[ve]),nt=ee?se[ve]/2-He-it-et-ae.mainAxis:qe-it-et-ae.mainAxis,ot=ee?-se[ve]/2+He+it+tt+ae.mainAxis:Be+it+tt+ae.mainAxis,rt=v.elements.arrow&&$e(v.elements.arrow),at=rt?"y"===te?rt.clientTop||0:rt.clientLeft||0:0,lt=null!=(he=null==le?void 0:le[te])?he:0,ct=ye+ot-lt,ht=Ne(K?Qt(we,ye+nt-lt-at):we,ye,K?Yt(Me,ct):Me);ne[te]=ht,ce[te]=ht-ye}if(C){var ut,dt="x"===te?yt:At,ft="x"===te?wt:Et,pt=ne[ie],mt="y"===ie?"height":"width",gt=pt+J[dt],_t=pt-J[ft],bt=-1!==[yt,At].indexOf(G),vt=null!=(ut=null==le?void 0:le[ie])?ut:0,Tt=bt?gt:pt-se[mt]-oe[mt]-vt+ae.altAxis,Ct=bt?pt+se[mt]+oe[mt]-vt-ae.altAxis:_t,kt=K&&bt?function(f,v,y){var w=Ne(f,v,y);return w>y?y:w}(Tt,pt,Ct):Ne(K?Tt:gt,pt,K?Ct:_t);ne[ie]=kt,ce[ie]=kt-pt}v.modifiersData[w]=ce}},requiresIfExists:["offset"]};function di(f,v,y){void 0===y&&(y=!1);var w,E,A=me(v),T=me(v)&&function(f){var v=f.getBoundingClientRect(),y=Ut(v.width)/f.offsetWidth||1,w=Ut(v.height)/f.offsetHeight||1;return 1!==y||1!==w}(v),C=Le(v),N=Te(f,T,y),F={scrollLeft:0,scrollTop:0},q={x:0,y:0};return(A||!A&&!y)&&(("body"!==ue(v)||Ue(C))&&(F=(w=v)!==fe(w)&&me(w)?{scrollLeft:(E=w).scrollLeft,scrollTop:E.scrollTop}:Xe(w)),me(v)?((q=Te(v,!0)).x+=v.clientLeft,q.y+=v.clientTop):C&&(q.x=Ye(C))),{x:N.left+F.scrollLeft-q.x,y:N.top+F.scrollTop-q.y,width:N.width,height:N.height}}function ui(f){var v=new Map,y=new Set,w=[];function s(f){y.add(f.name),[].concat(f.requires||[],f.requiresIfExists||[]).forEach((function(f){if(!y.has(f)){var w=v.get(f);w&&s(w)}})),w.push(f)}return f.forEach((function(f){v.set(f.name,f)})),f.forEach((function(f){y.has(f.name)||s(f)})),w}var bi={placement:"bottom",modifiers:[],strategy:"absolute"};function pi(){for(var f=arguments.length,v=new Array(f),y=0;y<f;y++)v[y]=arguments[y];return!v.some((function(f){return!(f&&"function"==typeof f.getBoundingClientRect)}))}function mi(f){void 0===f&&(f={});var v=f,y=v.defaultModifiers,w=void 0===y?[]:y,E=v.defaultOptions,A=void 0===E?bi:E;return function(f,v,y){void 0===y&&(y=A);var E,T,C={placement:"bottom",orderedModifiers:[],options:Object.assign({},bi,A),modifiersData:{},elements:{reference:f,popper:v},attributes:{},styles:{}},N=[],F=!1,q={state:C,setOptions:function(y){var E="function"==typeof y?y(C.options):y;d(),C.options=Object.assign({},A,C.options,E),C.scrollParents={reference:pe(f)?Je(f):f.contextElement?Je(f.contextElement):[],popper:Je(v)};var T,F,z=function(f){var v=ui(f);return Vt.reduce((function(f,y){return f.concat(v.filter((function(f){return f.phase===y})))}),[])}((T=[].concat(w,C.options.modifiers),F=T.reduce((function(f,v){var y=f[v.name];return f[v.name]=y?Object.assign({},y,v,{options:Object.assign({},y.options,v.options),data:Object.assign({},y.data,v.data)}):v,f}),{}),Object.keys(F).map((function(f){return F[f]}))));return C.orderedModifiers=z.filter((function(f){return f.enabled})),C.orderedModifiers.forEach((function(f){var v=f.name,y=f.options,w=void 0===y?{}:y,E=f.effect;if("function"==typeof E){var A=E({state:C,name:v,instance:q,options:w});N.push(A||function(){})}})),q.update()},forceUpdate:function(){if(!F){var f=C.elements,v=f.reference,y=f.popper;if(pi(v,y)){C.rects={reference:di(v,$e(y),"fixed"===C.options.strategy),popper:Ce(y)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach((function(f){return C.modifiersData[f.name]=Object.assign({},f.data)}));for(var w=0;w<C.orderedModifiers.length;w++)if(!0!==C.reset){var E=C.orderedModifiers[w],A=E.fn,T=E.options,N=void 0===T?{}:T,z=E.name;"function"==typeof A&&(C=A({state:C,options:N,name:z,instance:q})||C)}else C.reset=!1,w=-1}}},update:(E=function(){return new Promise((function(f){q.forceUpdate(),f(C)}))},function(){return T||(T=new Promise((function(f){Promise.resolve().then((function(){T=void 0,f(E())}))}))),T}),destroy:function(){d(),F=!0}};if(!pi(f,v))return q;function d(){N.forEach((function(f){return f()})),N=[]}return q.setOptions(y).then((function(f){!F&&y.onFirstUpdate&&y.onFirstUpdate(f)})),q}}var vi=mi(),yi=mi({defaultModifiers:[si,gi,Gt,Kt]}),wi=mi({defaultModifiers:[si,gi,Gt,Kt,fi,ci,_i,Xt,hi]});const Ei=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ht,afterRead:Mt,afterWrite:Rt,applyStyles:Kt,arrow:Xt,auto:Tt,basePlacements:Ct,beforeMain:Ft,beforeRead:Pt,beforeWrite:qt,bottom:wt,clippingParents:Lt,computeStyles:Gt,createPopper:wi,createPopperBase:vi,createPopperLite:yi,detectOverflow:ii,end:kt,eventListeners:si,flip:ci,hide:hi,left:At,main:Wt,modifierPhases:Vt,offset:fi,placements:Nt,popper:Dt,popperGenerator:mi,popperOffsets:gi,preventOverflow:_i,read:jt,reference:$t,right:Et,start:Ot,top:yt,variationPlacements:It,viewport:St,write:zt},Symbol.toStringTag,{value:"Module"})),Ai="dropdown",Ti=".bs.dropdown",Ci=".data-api",Oi="ArrowUp",xi="ArrowDown",ki=`hide${Ti}`,Li=`hidden${Ti}`,Si=`show${Ti}`,Di=`shown${Ti}`,$i=`click${Ti}${Ci}`,Ii=`keydown${Ti}${Ci}`,Ni=`keyup${Ti}${Ci}`,Pi="show",ji='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Mi=`${ji}.${Pi}`,Fi=".dropdown-menu",Wi=p()?"top-end":"top-start",Hi=p()?"top-start":"top-end",Bi=p()?"bottom-end":"bottom-start",zi=p()?"bottom-start":"bottom-end",Ri=p()?"left-start":"right-start",Vi=p()?"right-start":"left-start",Ki={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Yi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class qi extends W{constructor(f,v){super(f,v),this._popper=null,this._parent=this._element.parentNode,this._menu=K.next(this._element,Fi)[0]||K.prev(this._element,Fi)[0]||K.findOne(Fi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ki}static get DefaultType(){return Yi}static get NAME(){return Ai}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const f={relatedTarget:this._element};if(!z.trigger(this._element,Si,f).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const f of[].concat(...document.body.children))z.on(f,"mouseover",h);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Pi),this._element.classList.add(Pi),z.trigger(this._element,Di,f)}}hide(){if(l(this._element)||!this._isShown())return;const f={relatedTarget:this._element};this._completeHide(f)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(f){if(!z.trigger(this._element,ki,f).defaultPrevented){if("ontouchstart"in document.documentElement)for(const f of[].concat(...document.body.children))z.off(f,"mouseover",h);this._popper&&this._popper.destroy(),this._menu.classList.remove(Pi),this._element.classList.remove(Pi),this._element.setAttribute("aria-expanded","false"),V.removeDataAttribute(this._menu,"popper"),z.trigger(this._element,Li,f)}}_getConfig(f){if("object"==typeof(f=super._getConfig(f)).reference&&!o(f.reference)&&"function"!=typeof f.reference.getBoundingClientRect)throw new TypeError(`${Ai.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return f}_createPopper(){if(void 0===Ei)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let f=this._element;"parent"===this._config.reference?f=this._parent:o(this._config.reference)?f=r(this._config.reference):"object"==typeof this._config.reference&&(f=this._config.reference);const v=this._getPopperConfig();this._popper=wi(f,this._menu,v)}_isShown(){return this._menu.classList.contains(Pi)}_getPlacement(){const f=this._parent;if(f.classList.contains("dropend"))return Ri;if(f.classList.contains("dropstart"))return Vi;if(f.classList.contains("dropup-center"))return"top";if(f.classList.contains("dropdown-center"))return"bottom";const v="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return f.classList.contains("dropup")?v?Hi:Wi:v?zi:Bi}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:f}=this._config;return"string"==typeof f?f.split(",").map((f=>Number.parseInt(f,10))):"function"==typeof f?v=>f(v,this._element):f}_getPopperConfig(){const f={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(V.setDataAttribute(this._menu,"popper","static"),f.modifiers=[{name:"applyStyles",enabled:!1}]),{...f,...g(this._config.popperConfig,[f])}}_selectMenuItem({key:f,target:v}){const y=K.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((f=>a(f)));y.length&&b(y,v,f===xi,!y.includes(v)).focus()}static jQueryInterface(f){return this.each((function(){const v=qi.getOrCreateInstance(this,f);if("string"==typeof f){if(void 0===v[f])throw new TypeError(`No method named "${f}"`);v[f]()}}))}static clearMenus(f){if(2===f.button||"keyup"===f.type&&"Tab"!==f.key)return;const v=K.find(Mi);for(const y of v){const v=qi.getInstance(y);if(!v||!1===v._config.autoClose)continue;const w=f.composedPath(),E=w.includes(v._menu);if(w.includes(v._element)||"inside"===v._config.autoClose&&!E||"outside"===v._config.autoClose&&E)continue;if(v._menu.contains(f.target)&&("keyup"===f.type&&"Tab"===f.key||/input|select|option|textarea|form/i.test(f.target.tagName)))continue;const A={relatedTarget:v._element};"click"===f.type&&(A.clickEvent=f),v._completeHide(A)}}static dataApiKeydownHandler(f){const v=/input|textarea/i.test(f.target.tagName),y="Escape"===f.key,w=[Oi,xi].includes(f.key);if(!w&&!y)return;if(v&&!y)return;f.preventDefault();const E=this.matches(ji)?this:K.prev(this,ji)[0]||K.next(this,ji)[0]||K.findOne(ji,f.delegateTarget.parentNode),A=qi.getOrCreateInstance(E);if(w)return f.stopPropagation(),A.show(),void A._selectMenuItem(f);A._isShown()&&(f.stopPropagation(),A.hide(),E.focus())}}z.on(document,Ii,ji,qi.dataApiKeydownHandler),z.on(document,Ii,Fi,qi.dataApiKeydownHandler),z.on(document,$i,qi.clearMenus),z.on(document,Ni,qi.clearMenus),z.on(document,$i,ji,(function(f){f.preventDefault(),qi.getOrCreateInstance(this).toggle()})),m(qi);const Qi="backdrop",Xi="show",Ji=`mousedown.bs.${Qi}`,Gi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Zi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ui extends H{constructor(f){super(),this._config=this._getConfig(f),this._isAppended=!1,this._element=null}static get Default(){return Gi}static get DefaultType(){return Zi}static get NAME(){return Qi}show(f){if(!this._config.isVisible)return void g(f);this._append();const v=this._getElement();this._config.isAnimated&&d(v),v.classList.add(Xi),this._emulateAnimation((()=>{g(f)}))}hide(f){this._config.isVisible?(this._getElement().classList.remove(Xi),this._emulateAnimation((()=>{this.dispose(),g(f)}))):g(f)}dispose(){this._isAppended&&(z.off(this._element,Ji),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const f=document.createElement("div");f.className=this._config.className,this._config.isAnimated&&f.classList.add("fade"),this._element=f}return this._element}_configAfterMerge(f){return f.rootElement=r(f.rootElement),f}_append(){if(this._isAppended)return;const f=this._getElement();this._config.rootElement.append(f),z.on(f,Ji,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(f){_(f,this._getElement(),this._config.isAnimated)}}const en=".bs.focustrap",tn=`focusin${en}`,nn=`keydown.tab${en}`,on="backward",rn={autofocus:!0,trapElement:null},an={autofocus:"boolean",trapElement:"element"};class sn extends H{constructor(f){super(),this._config=this._getConfig(f),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return rn}static get DefaultType(){return an}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),z.off(document,en),z.on(document,tn,(f=>this._handleFocusin(f))),z.on(document,nn,(f=>this._handleKeydown(f))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,z.off(document,en))}_handleFocusin(f){const{trapElement:v}=this._config;if(f.target===document||f.target===v||v.contains(f.target))return;const y=K.focusableChildren(v);0===y.length?v.focus():this._lastTabNavDirection===on?y[y.length-1].focus():y[0].focus()}_handleKeydown(f){"Tab"===f.key&&(this._lastTabNavDirection=f.shiftKey?on:"forward")}}const ln=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hn=".sticky-top",un="padding-right",dn="margin-right";class cn{constructor(){this._element=document.body}getWidth(){const f=document.documentElement.clientWidth;return Math.abs(window.innerWidth-f)}hide(){const f=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,un,(v=>v+f)),this._setElementAttributes(ln,un,(v=>v+f)),this._setElementAttributes(hn,dn,(v=>v-f))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,un),this._resetElementAttributes(ln,un),this._resetElementAttributes(hn,dn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(f,v,y){const w=this.getWidth();this._applyManipulationCallback(f,(f=>{if(f!==this._element&&window.innerWidth>f.clientWidth+w)return;this._saveInitialAttribute(f,v);const E=window.getComputedStyle(f).getPropertyValue(v);f.style.setProperty(v,`${y(Number.parseFloat(E))}px`)}))}_saveInitialAttribute(f,v){const y=f.style.getPropertyValue(v);y&&V.setDataAttribute(f,v,y)}_resetElementAttributes(f,v){this._applyManipulationCallback(f,(f=>{const y=V.getDataAttribute(f,v);null!==y?(V.removeDataAttribute(f,v),f.style.setProperty(v,y)):f.style.removeProperty(v)}))}_applyManipulationCallback(f,v){if(o(f))v(f);else for(const y of K.find(f,this._element))v(y)}}const fn=".bs.modal",pn=`hide${fn}`,mn=`hidePrevented${fn}`,gn=`hidden${fn}`,_n=`show${fn}`,bn=`shown${fn}`,vn=`resize${fn}`,yn=`click.dismiss${fn}`,wn=`mousedown.dismiss${fn}`,En=`keydown.dismiss${fn}`,An=`click${fn}.data-api`,Tn="modal-open",Cn="show",xn="modal-static",kn={backdrop:!0,focus:!0,keyboard:!0},Ln={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class On extends W{constructor(f,v){super(f,v),this._dialog=K.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new cn,this._addEventListeners()}static get Default(){return kn}static get DefaultType(){return Ln}static get NAME(){return"modal"}toggle(f){return this._isShown?this.hide():this.show(f)}show(f){this._isShown||this._isTransitioning||z.trigger(this._element,_n,{relatedTarget:f}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Tn),this._adjustDialog(),this._backdrop.show((()=>this._showElement(f))))}hide(){this._isShown&&!this._isTransitioning&&(z.trigger(this._element,pn).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Cn),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){z.off(window,fn),z.off(this._dialog,fn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ui({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_showElement(f){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const v=K.findOne(".modal-body",this._dialog);v&&(v.scrollTop=0),d(this._element),this._element.classList.add(Cn),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,z.trigger(this._element,bn,{relatedTarget:f})}),this._dialog,this._isAnimated())}_addEventListeners(){z.on(this._element,En,(f=>{"Escape"===f.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),z.on(window,vn,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),z.on(this._element,wn,(f=>{z.one(this._element,yn,(v=>{this._element===f.target&&this._element===v.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Tn),this._resetAdjustments(),this._scrollBar.reset(),z.trigger(this._element,gn)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(z.trigger(this._element,mn).defaultPrevented)return;const f=this._element.scrollHeight>document.documentElement.clientHeight,v=this._element.style.overflowY;"hidden"===v||this._element.classList.contains(xn)||(f||(this._element.style.overflowY="hidden"),this._element.classList.add(xn),this._queueCallback((()=>{this._element.classList.remove(xn),this._queueCallback((()=>{this._element.style.overflowY=v}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const f=this._element.scrollHeight>document.documentElement.clientHeight,v=this._scrollBar.getWidth(),y=v>0;if(y&&!f){const f=p()?"paddingLeft":"paddingRight";this._element.style[f]=`${v}px`}if(!y&&f){const f=p()?"paddingRight":"paddingLeft";this._element.style[f]=`${v}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(f,v){return this.each((function(){const y=On.getOrCreateInstance(this,f);if("string"==typeof f){if(void 0===y[f])throw new TypeError(`No method named "${f}"`);y[f](v)}}))}}z.on(document,An,'[data-bs-toggle="modal"]',(function(f){const v=K.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&f.preventDefault(),z.one(v,_n,(f=>{f.defaultPrevented||z.one(v,gn,(()=>{a(this)&&this.focus()}))}));const y=K.findOne(".modal.show");y&&On.getInstance(y).hide(),On.getOrCreateInstance(v).toggle(this)})),R(On),m(On);const Sn=".bs.offcanvas",Dn=".data-api",$n=`load${Sn}${Dn}`,In="show",Nn="showing",Pn="hiding",jn=".offcanvas.show",Mn=`show${Sn}`,Fn=`shown${Sn}`,Wn=`hide${Sn}`,Hn=`hidePrevented${Sn}`,Bn=`hidden${Sn}`,zn=`resize${Sn}`,Rn=`click${Sn}${Dn}`,Vn=`keydown.dismiss${Sn}`,Kn={backdrop:!0,keyboard:!0,scroll:!1},Yn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class qn extends W{constructor(f,v){super(f,v),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Kn}static get DefaultType(){return Yn}static get NAME(){return"offcanvas"}toggle(f){return this._isShown?this.hide():this.show(f)}show(f){this._isShown||z.trigger(this._element,Mn,{relatedTarget:f}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new cn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Nn),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(In),this._element.classList.remove(Nn),z.trigger(this._element,Fn,{relatedTarget:f})}),this._element,!0))}hide(){this._isShown&&(z.trigger(this._element,Wn).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Pn),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(In,Pn),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new cn).reset(),z.trigger(this._element,Bn)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const f=Boolean(this._config.backdrop);return new Ui({className:"offcanvas-backdrop",isVisible:f,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:f?()=>{"static"!==this._config.backdrop?this.hide():z.trigger(this._element,Hn)}:null})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_addEventListeners(){z.on(this._element,Vn,(f=>{"Escape"===f.key&&(this._config.keyboard?this.hide():z.trigger(this._element,Hn))}))}static jQueryInterface(f){return this.each((function(){const v=qn.getOrCreateInstance(this,f);if("string"==typeof f){if(void 0===v[f]||f.startsWith("_")||"constructor"===f)throw new TypeError(`No method named "${f}"`);v[f](this)}}))}}z.on(document,Rn,'[data-bs-toggle="offcanvas"]',(function(f){const v=K.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&f.preventDefault(),l(this))return;z.one(v,Bn,(()=>{a(this)&&this.focus()}));const y=K.findOne(jn);y&&y!==v&&qn.getInstance(y).hide(),qn.getOrCreateInstance(v).toggle(this)})),z.on(window,$n,(()=>{for(const f of K.find(jn))qn.getOrCreateInstance(f).show()})),z.on(window,zn,(()=>{for(const f of K.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(f).position&&qn.getOrCreateInstance(f).hide()})),R(qn),m(qn);const Qn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Un=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Gn=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Xn=(f,v)=>{const y=f.nodeName.toLowerCase();return v.includes(y)?!Un.has(y)||Boolean(Gn.test(f.nodeValue)):v.filter((f=>f instanceof RegExp)).some((f=>f.test(y)))},Zn={allowList:Qn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},es={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},ts={entry:"(string|element|function|null)",selector:"(string|element)"};class Jn extends H{constructor(f){super(),this._config=this._getConfig(f)}static get Default(){return Zn}static get DefaultType(){return es}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((f=>this._resolvePossibleFunction(f))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(f){return this._checkContent(f),this._config.content={...this._config.content,...f},this}toHtml(){const f=document.createElement("div");f.innerHTML=this._maybeSanitize(this._config.template);for(const[v,y]of Object.entries(this._config.content))this._setContent(f,y,v);const v=f.children[0],y=this._resolvePossibleFunction(this._config.extraClass);return y&&v.classList.add(...y.split(" ")),v}_typeCheckConfig(f){super._typeCheckConfig(f),this._checkContent(f.content)}_checkContent(f){for(const[v,y]of Object.entries(f))super._typeCheckConfig({selector:v,entry:y},ts)}_setContent(f,v,y){const w=K.findOne(y,f);w&&((v=this._resolvePossibleFunction(v))?o(v)?this._putElementInTemplate(r(v),w):this._config.html?w.innerHTML=this._maybeSanitize(v):w.textContent=v:w.remove())}_maybeSanitize(f){return this._config.sanitize?function(f,v,y){if(!f.length)return f;if(y&&"function"==typeof y)return y(f);const w=(new window.DOMParser).parseFromString(f,"text/html"),E=[].concat(...w.body.querySelectorAll("*"));for(const f of E){const y=f.nodeName.toLowerCase();if(!Object.keys(v).includes(y)){f.remove();continue}const w=[].concat(...f.attributes),E=[].concat(v["*"]||[],v[y]||[]);for(const v of w)Xn(v,E)||f.removeAttribute(v.nodeName)}return w.body.innerHTML}(f,this._config.allowList,this._config.sanitizeFn):f}_resolvePossibleFunction(f){return g(f,[this])}_putElementInTemplate(f,v){if(this._config.html)return v.innerHTML="",void v.append(f);v.textContent=f.textContent}}const is=new Set(["sanitize","allowList","sanitizeFn"]),ns="fade",ss="show",os=".modal",rs="hide.bs.modal",as="hover",ls="focus",hs={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},ds={allowList:Qn,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},fs={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class cs extends W{constructor(f,v){if(void 0===Ei)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(f,v),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ds}static get DefaultType(){return fs}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),z.off(this._element.closest(os),rs,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const f=z.trigger(this._element,this.constructor.eventName("show")),v=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(f.defaultPrevented||!v)return;this._disposePopper();const y=this._getTipElement();this._element.setAttribute("aria-describedby",y.getAttribute("id"));const{container:w}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(w.append(y),z.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(y),y.classList.add(ss),"ontouchstart"in document.documentElement)for(const f of[].concat(...document.body.children))z.on(f,"mouseover",h);this._queueCallback((()=>{z.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!z.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(ss),"ontouchstart"in document.documentElement)for(const f of[].concat(...document.body.children))z.off(f,"mouseover",h);this._activeTrigger.click=!1,this._activeTrigger[ls]=!1,this._activeTrigger[as]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),z.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(f){const v=this._getTemplateFactory(f).toHtml();if(!v)return null;v.classList.remove(ns,ss),v.classList.add(`bs-${this.constructor.NAME}-auto`);const y=(f=>{do{f+=Math.floor(1e6*Math.random())}while(document.getElementById(f));return f})(this.constructor.NAME).toString();return v.setAttribute("id",y),this._isAnimated()&&v.classList.add(ns),v}setContent(f){this._newContent=f,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(f){return this._templateFactory?this._templateFactory.changeContent(f):this._templateFactory=new Jn({...this._config,content:f,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(f){return this.constructor.getOrCreateInstance(f.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ns)}_isShown(){return this.tip&&this.tip.classList.contains(ss)}_createPopper(f){const v=g(this._config.placement,[this,f,this._element]),y=hs[v.toUpperCase()];return wi(this._element,f,this._getPopperConfig(y))}_getOffset(){const{offset:f}=this._config;return"string"==typeof f?f.split(",").map((f=>Number.parseInt(f,10))):"function"==typeof f?v=>f(v,this._element):f}_resolvePossibleFunction(f){return g(f,[this._element])}_getPopperConfig(f){const v={placement:f,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:f=>{this._getTipElement().setAttribute("data-popper-placement",f.state.placement)}}]};return{...v,...g(this._config.popperConfig,[v])}}_setListeners(){const f=this._config.trigger.split(" ");for(const v of f)if("click"===v)z.on(this._element,this.constructor.eventName("click"),this._config.selector,(f=>{this._initializeOnDelegatedTarget(f).toggle()}));else if("manual"!==v){const f=v===as?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),y=v===as?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");z.on(this._element,f,this._config.selector,(f=>{const v=this._initializeOnDelegatedTarget(f);v._activeTrigger["focusin"===f.type?ls:as]=!0,v._enter()})),z.on(this._element,y,this._config.selector,(f=>{const v=this._initializeOnDelegatedTarget(f);v._activeTrigger["focusout"===f.type?ls:as]=v._element.contains(f.relatedTarget),v._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},z.on(this._element.closest(os),rs,this._hideModalHandler)}_fixTitle(){const f=this._element.getAttribute("title");f&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",f),this._element.setAttribute("data-bs-original-title",f),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(f,v){clearTimeout(this._timeout),this._timeout=setTimeout(f,v)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(f){const v=V.getDataAttributes(this._element);for(const f of Object.keys(v))is.has(f)&&delete v[f];return f={...v,..."object"==typeof f&&f?f:{}},f=this._mergeConfigObj(f),f=this._configAfterMerge(f),this._typeCheckConfig(f),f}_configAfterMerge(f){return f.container=!1===f.container?document.body:r(f.container),"number"==typeof f.delay&&(f.delay={show:f.delay,hide:f.delay}),"number"==typeof f.title&&(f.title=f.title.toString()),"number"==typeof f.content&&(f.content=f.content.toString()),f}_getDelegateConfig(){const f={};for(const[v,y]of Object.entries(this._config))this.constructor.Default[v]!==y&&(f[v]=y);return f.selector=!1,f.trigger="manual",f}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(f){return this.each((function(){const v=cs.getOrCreateInstance(this,f);if("string"==typeof f){if(void 0===v[f])throw new TypeError(`No method named "${f}"`);v[f]()}}))}}m(cs);const ps={...cs.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},ms={...cs.DefaultType,content:"(null|string|element|function)"};class us extends cs{static get Default(){return ps}static get DefaultType(){return ms}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(f){return this.each((function(){const v=us.getOrCreateInstance(this,f);if("string"==typeof f){if(void 0===v[f])throw new TypeError(`No method named "${f}"`);v[f]()}}))}}m(us);const gs=".bs.scrollspy",_s=`activate${gs}`,bs=`click${gs}`,vs=`load${gs}.data-api`,ys="active",ws="[href]",As=".nav-link",Ts=`${As}, .nav-item > ${As}, .list-group-item`,Cs={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Os={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Es extends W{constructor(f,v){super(f,v),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Cs}static get DefaultType(){return Os}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const f of this._observableSections.values())this._observer.observe(f)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(f){return f.target=r(f.target)||document.body,f.rootMargin=f.offset?`${f.offset}px 0px -30%`:f.rootMargin,"string"==typeof f.threshold&&(f.threshold=f.threshold.split(",").map((f=>Number.parseFloat(f)))),f}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(z.off(this._config.target,bs),z.on(this._config.target,bs,ws,(f=>{const v=this._observableSections.get(f.target.hash);if(v){f.preventDefault();const y=this._rootElement||window,w=v.offsetTop-this._element.offsetTop;if(y.scrollTo)return void y.scrollTo({top:w,behavior:"smooth"});y.scrollTop=w}})))}_getNewObserver(){const f={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((f=>this._observerCallback(f)),f)}_observerCallback(f){const e=f=>this._targetLinks.get(`#${f.target.id}`),i=f=>{this._previousScrollData.visibleEntryTop=f.target.offsetTop,this._process(e(f))},v=(this._rootElement||document.documentElement).scrollTop,y=v>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=v;for(const w of f){if(!w.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(w));continue}const f=w.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(y&&f){if(i(w),!v)return}else y||f||i(w)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const f=K.find(ws,this._config.target);for(const v of f){if(!v.hash||l(v))continue;const f=K.findOne(decodeURI(v.hash),this._element);a(f)&&(this._targetLinks.set(decodeURI(v.hash),v),this._observableSections.set(v.hash,f))}}_process(f){this._activeTarget!==f&&(this._clearActiveClass(this._config.target),this._activeTarget=f,f.classList.add(ys),this._activateParents(f),z.trigger(this._element,_s,{relatedTarget:f}))}_activateParents(f){if(f.classList.contains("dropdown-item"))K.findOne(".dropdown-toggle",f.closest(".dropdown")).classList.add(ys);else for(const v of K.parents(f,".nav, .list-group"))for(const f of K.prev(v,Ts))f.classList.add(ys)}_clearActiveClass(f){f.classList.remove(ys);const v=K.find(`${ws}.${ys}`,f);for(const f of v)f.classList.remove(ys)}static jQueryInterface(f){return this.each((function(){const v=Es.getOrCreateInstance(this,f);if("string"==typeof f){if(void 0===v[f]||f.startsWith("_")||"constructor"===f)throw new TypeError(`No method named "${f}"`);v[f]()}}))}}z.on(window,vs,(()=>{for(const f of K.find('[data-bs-spy="scroll"]'))Es.getOrCreateInstance(f)})),m(Es);const xs=".bs.tab",ks=`hide${xs}`,Ls=`hidden${xs}`,Ss=`show${xs}`,Ds=`shown${xs}`,$s=`click${xs}`,Is=`keydown${xs}`,Ns=`load${xs}`,Ps="ArrowLeft",js="ArrowRight",Ms="ArrowUp",Fs="ArrowDown",Ws="Home",Hs="End",qs="active",Bs="fade",zs="show",Rs=".dropdown-toggle",Vs=`:not(${Rs})`,Ys='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Qs=`.nav-link${Vs}, .list-group-item${Vs}, [role="tab"]${Vs}, ${Ys}`,Us=`.${qs}[data-bs-toggle="tab"], .${qs}[data-bs-toggle="pill"], .${qs}[data-bs-toggle="list"]`;class Ks extends W{constructor(f){super(f),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),z.on(this._element,Is,(f=>this._keydown(f))))}static get NAME(){return"tab"}show(){const f=this._element;if(this._elemIsActive(f))return;const v=this._getActiveElem(),y=v?z.trigger(v,ks,{relatedTarget:f}):null;z.trigger(f,Ss,{relatedTarget:v}).defaultPrevented||y&&y.defaultPrevented||(this._deactivate(v,f),this._activate(f,v))}_activate(f,v){f&&(f.classList.add(qs),this._activate(K.getElementFromSelector(f)),this._queueCallback((()=>{"tab"===f.getAttribute("role")?(f.removeAttribute("tabindex"),f.setAttribute("aria-selected",!0),this._toggleDropDown(f,!0),z.trigger(f,Ds,{relatedTarget:v})):f.classList.add(zs)}),f,f.classList.contains(Bs)))}_deactivate(f,v){f&&(f.classList.remove(qs),f.blur(),this._deactivate(K.getElementFromSelector(f)),this._queueCallback((()=>{"tab"===f.getAttribute("role")?(f.setAttribute("aria-selected",!1),f.setAttribute("tabindex","-1"),this._toggleDropDown(f,!1),z.trigger(f,Ls,{relatedTarget:v})):f.classList.remove(zs)}),f,f.classList.contains(Bs)))}_keydown(f){if(![Ps,js,Ms,Fs,Ws,Hs].includes(f.key))return;f.stopPropagation(),f.preventDefault();const v=this._getChildren().filter((f=>!l(f)));let y;if([Ws,Hs].includes(f.key))y=v[f.key===Ws?0:v.length-1];else{const w=[js,Fs].includes(f.key);y=b(v,f.target,w,!0)}y&&(y.focus({preventScroll:!0}),Ks.getOrCreateInstance(y).show())}_getChildren(){return K.find(Qs,this._parent)}_getActiveElem(){return this._getChildren().find((f=>this._elemIsActive(f)))||null}_setInitialAttributes(f,v){this._setAttributeIfNotExists(f,"role","tablist");for(const f of v)this._setInitialAttributesOnChild(f)}_setInitialAttributesOnChild(f){f=this._getInnerElement(f);const v=this._elemIsActive(f),y=this._getOuterElement(f);f.setAttribute("aria-selected",v),y!==f&&this._setAttributeIfNotExists(y,"role","presentation"),v||f.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(f,"role","tab"),this._setInitialAttributesOnTargetPanel(f)}_setInitialAttributesOnTargetPanel(f){const v=K.getElementFromSelector(f);v&&(this._setAttributeIfNotExists(v,"role","tabpanel"),f.id&&this._setAttributeIfNotExists(v,"aria-labelledby",`${f.id}`))}_toggleDropDown(f,v){const y=this._getOuterElement(f);if(!y.classList.contains("dropdown"))return;const n=(f,w)=>{const E=K.findOne(f,y);E&&E.classList.toggle(w,v)};n(Rs,qs),n(".dropdown-menu",zs),y.setAttribute("aria-expanded",v)}_setAttributeIfNotExists(f,v,y){f.hasAttribute(v)||f.setAttribute(v,y)}_elemIsActive(f){return f.classList.contains(qs)}_getInnerElement(f){return f.matches(Qs)?f:K.findOne(Qs,f)}_getOuterElement(f){return f.closest(".nav-item, .list-group-item")||f}static jQueryInterface(f){return this.each((function(){const v=Ks.getOrCreateInstance(this);if("string"==typeof f){if(void 0===v[f]||f.startsWith("_")||"constructor"===f)throw new TypeError(`No method named "${f}"`);v[f]()}}))}}z.on(document,$s,Ys,(function(f){["A","AREA"].includes(this.tagName)&&f.preventDefault(),l(this)||Ks.getOrCreateInstance(this).show()})),z.on(window,Ns,(()=>{for(const f of K.find(Us))Ks.getOrCreateInstance(f)})),m(Ks);const Xs=".bs.toast",Js=`mouseover${Xs}`,Gs=`mouseout${Xs}`,Zs=`focusin${Xs}`,eo=`focusout${Xs}`,to=`hide${Xs}`,io=`hidden${Xs}`,no=`show${Xs}`,so=`shown${Xs}`,oo="hide",ro="show",lo="showing",co={animation:"boolean",autohide:"boolean",delay:"number"},ho={animation:!0,autohide:!0,delay:5e3};class ao extends W{constructor(f,v){super(f,v),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ho}static get DefaultType(){return co}static get NAME(){return"toast"}show(){z.trigger(this._element,no).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(oo),d(this._element),this._element.classList.add(ro,lo),this._queueCallback((()=>{this._element.classList.remove(lo),z.trigger(this._element,so),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(z.trigger(this._element,to).defaultPrevented||(this._element.classList.add(lo),this._queueCallback((()=>{this._element.classList.add(oo),this._element.classList.remove(lo,ro),z.trigger(this._element,io)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ro),super.dispose()}isShown(){return this._element.classList.contains(ro)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(f,v){switch(f.type){case"mouseover":case"mouseout":this._hasMouseInteraction=v;break;case"focusin":case"focusout":this._hasKeyboardInteraction=v}if(v)return void this._clearTimeout();const y=f.relatedTarget;this._element===y||this._element.contains(y)||this._maybeScheduleHide()}_setListeners(){z.on(this._element,Js,(f=>this._onInteraction(f,!0))),z.on(this._element,Gs,(f=>this._onInteraction(f,!1))),z.on(this._element,Zs,(f=>this._onInteraction(f,!0))),z.on(this._element,eo,(f=>this._onInteraction(f,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(f){return this.each((function(){const v=ao.getOrCreateInstance(this,f);if("string"==typeof f){if(void 0===v[f])throw new TypeError(`No method named "${f}"`);v[f](this)}}))}}return R(ao),m(ao),{Alert:Q,Button:Y,Carousel:xt,Collapse:Bt,Dropdown:qi,Modal:On,Offcanvas:qn,Popover:us,ScrollSpy:Es,Tab:Ks,Toast:ao,Tooltip:cs}}));
//# sourceMappingURL=bootstrap.bundle.min.js.map