| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/javascript/bootstrap5/js/ |
Upload File : |
(()=>{var An=Object.defineProperty,Tn=(e,t)=>{for(var r in t)An(e,r,{get:t[r],enumerable:!0})},Q=new Map,Ee={set(e,t,r){Q.has(e)||Q.set(e,new Map);const i=Q.get(e);if(!i.has(t)&&i.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`);return}i.set(t,r)},get(e,t){return Q.has(e)&&Q.get(e).get(t)||null},remove(e,t){if(!Q.has(e))return;const r=Q.get(e);r.delete(t),r.size===0&&Q.delete(e)}},yn=1e6,wn=1e3,be="transitionend",vr=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),On=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Cn=e=>{do e+=Math.floor(Math.random()*yn);while(document.getElementById(e));return e},Sn=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:r}=window.getComputedStyle(e);const i=Number.parseFloat(t),n=Number.parseFloat(r);return!i&&!n?0:(t=t.split(",")[0],r=r.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(r))*wn)},mr=e=>{e.dispatchEvent(new Event(be))},q=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),J=e=>q(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(vr(e)):null,mt=e=>{if(!q(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",r=e.closest("details:not([open])");if(!r)return t;if(r!==e){const i=e.closest("summary");if(i&&i.parentNode!==r||i===null)return!1}return t},Z=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",gr=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?gr(e.parentNode):null},Gt=()=>{},Mt=e=>{e.offsetHeight},Er=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ae=[],Nn=e=>{document.readyState==="loading"?(Ae.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Ae)t()}),Ae.push(e)):e()},H=()=>document.documentElement.dir==="rtl",W=e=>{Nn(()=>{const t=Er();if(t){const r=e.NAME,i=t.fn[r];t.fn[r]=e.jQueryInterface,t.fn[r].Constructor=e,t.fn[r].noConflict=()=>(t.fn[r]=i,e.jQueryInterface)}})},M=(e,t=[],r=e)=>typeof e=="function"?e.call(...t):r,br=(e,t,r=!0)=>{if(!r){M(e);return}const n=Sn(t)+5;let s=!1;const a=({target:o})=>{o===t&&(s=!0,t.removeEventListener(be,a),M(e))};t.addEventListener(be,a),setTimeout(()=>{s||mr(t)},n)},Te=(e,t,r,i)=>{const n=e.length;let s=e.indexOf(t);return s===-1?!r&&i?e[n-1]:e[0]:(s+=r?1:-1,i&&(s=(s+n)%n),e[Math.max(0,Math.min(s,n-1))])},Dn=/[^.]*(?=\..*)\.|.*/,Ln=/\..*/,In=/::\d+$/,ye={},Ar=1,Tr={mouseenter:"mouseover",mouseleave:"mouseout"},Pn=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 yr(e,t){return t&&`${t}::${Ar++}`||e.uidEvent||Ar++}function wr(e){const t=yr(e);return e.uidEvent=t,ye[t]=ye[t]||{},ye[t]}function Mn(e,t){return function r(i){return Ce(i,{delegateTarget:e}),r.oneOff&&Oe.off(e,i.type,t),t.apply(e,[i])}}function Rn(e,t,r){return function i(n){const s=e.querySelectorAll(t);for(let{target:a}=n;a&&a!==this;a=a.parentNode)for(const o of s)if(o===a)return Ce(n,{delegateTarget:a}),i.oneOff&&Oe.off(e,n.type,t,r),r.apply(a,[n])}}function Or(e,t,r=null){return Object.values(e).find(i=>i.callable===t&&i.delegationSelector===r)}function Cr(e,t,r){const i=typeof t=="string",n=i?r:t||r;let s=Nr(e);return Pn.has(s)||(s=e),[i,n,s]}function Sr(e,t,r,i,n){if(typeof t!="string"||!e)return;let[s,a,o]=Cr(t,r,i);t in Tr&&(a=(b=>function(p){if(!p.relatedTarget||p.relatedTarget!==p.delegateTarget&&!p.delegateTarget.contains(p.relatedTarget))return b.call(this,p)})(a));const u=wr(e),f=u[o]||(u[o]={}),c=Or(f,a,s?r:null);if(c){c.oneOff=c.oneOff&&n;return}const _=yr(a,t.replace(Dn,"")),m=s?Rn(e,r,a):Mn(e,a);m.delegationSelector=s?r:null,m.callable=a,m.oneOff=n,m.uidEvent=_,f[_]=m,e.addEventListener(o,m,s)}function we(e,t,r,i,n){const s=Or(t[r],i,n);s&&(e.removeEventListener(r,s,!!n),delete t[r][s.uidEvent])}function xn(e,t,r,i){const n=t[r]||{};for(const[s,a]of Object.entries(n))s.includes(i)&&we(e,t,r,a.callable,a.delegationSelector)}function Nr(e){return e=e.replace(Ln,""),Tr[e]||e}var Oe={on(e,t,r,i){Sr(e,t,r,i,!1)},one(e,t,r,i){Sr(e,t,r,i,!0)},off(e,t,r,i){if(typeof t!="string"||!e)return;const[n,s,a]=Cr(t,r,i),o=a!==t,u=wr(e),f=u[a]||{},c=t.startsWith(".");if(typeof s<"u"){if(!Object.keys(f).length)return;we(e,u,a,s,n?r:null);return}if(c)for(const _ of Object.keys(u))xn(e,u,_,t.slice(1));for(const[_,m]of Object.entries(f)){const h=_.replace(In,"");(!o||t.includes(h))&&we(e,u,a,m.callable,m.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const i=Er(),n=Nr(t),s=t!==n;let a=null,o=!0,u=!0,f=!1;s&&i&&(a=i.Event(t,r),i(e).trigger(a),o=!a.isPropagationStopped(),u=!a.isImmediatePropagationStopped(),f=a.isDefaultPrevented());const c=Ce(new Event(t,{bubbles:o,cancelable:!0}),r);return f&&c.preventDefault(),u&&e.dispatchEvent(c),c.defaultPrevented&&a&&a.preventDefault(),c}};function Ce(e,t={}){for(const[r,i]of Object.entries(t))try{e[r]=i}catch{Object.defineProperty(e,r,{configurable:!0,get(){return i}})}return e}var l=Oe;function Dr(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function Se(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var kn={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${Se(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Se(t)}`)},getDataAttributes(e){if(!e)return{};const t={},r=Object.keys(e.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of r){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1),t[n]=Dr(e.dataset[i])}return t},getDataAttribute(e,t){return Dr(e.getAttribute(`data-bs-${Se(t)}`))}},z=kn,$n=class{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(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=q(t)?z.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...q(t)?z.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,i]of Object.entries(t)){const n=e[r],s=q(n)?"element":On(n);if(!new RegExp(i).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${i}".`)}}},Rt=$n,Vn="5.3.5",Hn=class extends Rt{constructor(e,t){super(),e=J(e),e&&(this._element=e,this._config=this._getConfig(t),Ee.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ee.remove(this._element,this.constructor.DATA_KEY),l.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){br(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ee.get(J(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return Vn}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}},F=Hn,Ne=e=>{let t=e.getAttribute("data-bs-target");if(!t||t==="#"){let r=e.getAttribute("href");if(!r||!r.includes("#")&&!r.startsWith("."))return null;r.includes("#")&&!r.startsWith("#")&&(r=`#${r.split("#")[1]}`),t=r&&r!=="#"?r.trim():null}return t?t.split(",").map(r=>vr(r)).join(","):null},qt={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let i=e.parentNode.closest(t);for(;i;)r.push(i),i=i.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!Z(r)&&mt(r))},getSelectorFromElement(e){const t=Ne(e);return t&&qt.findOne(t)?t:null},getElementFromSelector(e){const t=Ne(e);return t?qt.findOne(t):null},getMultipleElementsFromSelector(e){const t=Ne(e);return t?qt.find(t):[]}},d=qt,zt=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;l.on(document,r,`[data-bs-dismiss="${i}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Z(this))return;const s=d.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(s)[t]()})},Wn="alert",jn="bs.alert",Lr=`.${jn}`,Fn=`close${Lr}`,Bn=`closed${Lr}`,Kn="fade",Yn="show",De=class fn extends F{static get NAME(){return Wn}close(){if(l.trigger(this._element,Fn).defaultPrevented)return;this._element.classList.remove(Yn);const r=this._element.classList.contains(Kn);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),l.trigger(this._element,Bn),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=fn.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}};zt(De,"close"),W(De);var Fc=De,Un="button",Gn="bs.button",qn=`.${Gn}`,zn=".data-api",Xn="active",Ir='[data-bs-toggle="button"]',Qn=`click${qn}${zn}`,Le=class dn extends F{static get NAME(){return Un}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Xn))}static jQueryInterface(t){return this.each(function(){const r=dn.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};l.on(document,Qn,Ir,e=>{e.preventDefault();const t=e.target.closest(Ir);Le.getOrCreateInstance(t).toggle()}),W(Le);var Bc=Le,Jn="swipe",gt=".bs.swipe",Zn=`touchstart${gt}`,ts=`touchmove${gt}`,es=`touchend${gt}`,rs=`pointerdown${gt}`,is=`pointerup${gt}`,ns="touch",ss="pen",as="pointer-event",os=40,ls={endCallback:null,leftCallback:null,rightCallback:null},cs={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},us=class hn extends Rt{constructor(t,r){super(),this._element=t,!(!t||!hn.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ls}static get DefaultType(){return cs}static get NAME(){return Jn}dispose(){l.off(this._element,gt)}_start(t){if(!this._supportPointerEvents){this._deltaX=t.touches[0].clientX;return}this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX)}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),M(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=os)return;const r=t/this._deltaX;this._deltaX=0,r&&M(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(l.on(this._element,rs,t=>this._start(t)),l.on(this._element,is,t=>this._end(t)),this._element.classList.add(as)):(l.on(this._element,Zn,t=>this._start(t)),l.on(this._element,ts,t=>this._move(t)),l.on(this._element,es,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===ss||t.pointerType===ns)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}},Pr=us,fs="carousel",ds="bs.carousel",tt=`.${ds}`,Mr=".data-api",hs="ArrowLeft",ps="ArrowRight",_s=500,xt="next",Et="prev",bt="left",Xt="right",vs=`slide${tt}`,Ie=`slid${tt}`,ms=`keydown${tt}`,gs=`mouseenter${tt}`,Es=`mouseleave${tt}`,bs=`dragstart${tt}`,As=`load${tt}${Mr}`,Ts=`click${tt}${Mr}`,Rr="carousel",Qt="active",ys="slide",ws="carousel-item-end",Os="carousel-item-start",Cs="carousel-item-next",Ss="carousel-item-prev",xr=".active",kr=".carousel-item",Ns=xr+kr,Ds=".carousel-item img",Ls=".carousel-indicators",Is="[data-bs-slide], [data-bs-slide-to]",Ps='[data-bs-ride="carousel"]',Ms={[hs]:Xt,[ps]:bt},Rs={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},xs={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},Jt=class pn extends F{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=d.findOne(Ls,this._element),this._addEventListeners(),this._config.ride===Rr&&this.cycle()}static get Default(){return Rs}static get DefaultType(){return xs}static get NAME(){return fs}next(){this._slide(xt)}nextWhenVisible(){!document.hidden&&mt(this._element)&&this.next()}prev(){this._slide(Et)}pause(){this._isSliding&&mr(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){l.one(this._element,Ie,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){l.one(this._element,Ie,()=>this.to(t));return}const i=this._getItemIndex(this._getActive());if(i===t)return;const n=t>i?xt:Et;this._slide(n,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&l.on(this._element,ms,t=>this._keydown(t)),this._config.pause==="hover"&&(l.on(this._element,gs,()=>this.pause()),l.on(this._element,Es,()=>this._maybeEnableCycle())),this._config.touch&&Pr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const i of d.find(Ds,this._element))l.on(i,bs,n=>n.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(bt)),rightCallback:()=>this._slide(this._directionToOrder(Xt)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),_s+this._config.interval))}};this._swipeHelper=new Pr(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=Ms[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=d.findOne(xr,this._indicatorsElement);r.classList.remove(Qt),r.removeAttribute("aria-current");const i=d.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);i&&(i.classList.add(Qt),i.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const r=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=r||this._config.defaultInterval}_slide(t,r=null){if(this._isSliding)return;const i=this._getActive(),n=t===xt,s=r||Te(this._getItems(),i,n,this._config.wrap);if(s===i)return;const a=this._getItemIndex(s),o=h=>l.trigger(this._element,h,{relatedTarget:s,direction:this._orderToDirection(t),from:this._getItemIndex(i),to:a});if(o(vs).defaultPrevented||!i||!s)return;const f=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=s;const c=n?Os:ws,_=n?Cs:Ss;s.classList.add(_),Mt(s),i.classList.add(c),s.classList.add(c);const m=()=>{s.classList.remove(c,_),s.classList.add(Qt),i.classList.remove(Qt,_,c),this._isSliding=!1,o(Ie)};this._queueCallback(m,i,this._isAnimated()),f&&this.cycle()}_isAnimated(){return this._element.classList.contains(ys)}_getActive(){return d.findOne(Ns,this._element)}_getItems(){return d.find(kr,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return H()?t===bt?Et:xt:t===bt?xt:Et}_orderToDirection(t){return H()?t===Et?bt:Xt:t===Et?Xt:bt}static jQueryInterface(t){return this.each(function(){const r=pn.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}};l.on(document,Ts,Is,function(e){const t=d.getElementFromSelector(this);if(!t||!t.classList.contains(Rr))return;e.preventDefault();const r=Jt.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");if(i){r.to(i),r._maybeEnableCycle();return}if(z.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()}),l.on(window,As,()=>{const e=d.find(Ps);for(const t of e)Jt.getOrCreateInstance(t)}),W(Jt);var Kc=Jt,ks="collapse",$s="bs.collapse",kt=`.${$s}`,Vs=".data-api",Hs=`show${kt}`,Ws=`shown${kt}`,js=`hide${kt}`,Fs=`hidden${kt}`,Bs=`click${kt}${Vs}`,Pe="show",At="collapse",Zt="collapsing",Ks="collapsed",Ys=`:scope .${At} .${At}`,Us="collapse-horizontal",Gs="width",qs="height",zs=".collapse.show, .collapse.collapsing",Me='[data-bs-toggle="collapse"]',Xs={parent:null,toggle:!0},Qs={parent:"(null|element)",toggle:"boolean"},Re=class pr extends F{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const i=d.find(Me);for(const n of i){const s=d.getSelectorFromElement(n),a=d.find(s).filter(o=>o===this._element);s!==null&&a.length&&this._triggerArray.push(n)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Xs}static get DefaultType(){return Qs}static get NAME(){return ks}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(zs).filter(o=>o!==this._element).map(o=>pr.getOrCreateInstance(o,{toggle:!1}))),t.length&&t[0]._isTransitioning||l.trigger(this._element,Hs).defaultPrevented)return;for(const o of t)o.hide();const i=this._getDimension();this._element.classList.remove(At),this._element.classList.add(Zt),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Zt),this._element.classList.add(At,Pe),this._element.style[i]="",l.trigger(this._element,Ws)},a=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback(n,this._element,!0),this._element.style[i]=`${this._element[a]}px`}hide(){if(this._isTransitioning||!this._isShown()||l.trigger(this._element,js).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Mt(this._element),this._element.classList.add(Zt),this._element.classList.remove(At,Pe);for(const n of this._triggerArray){const s=d.getElementFromSelector(n);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([n],!1)}this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Zt),this._element.classList.add(At),l.trigger(this._element,Fs)};this._element.style[r]="",this._queueCallback(i,this._element,!0)}_isShown(t=this._element){return t.classList.contains(Pe)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=J(t.parent),t}_getDimension(){return this._element.classList.contains(Us)?Gs:qs}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(Me);for(const r of t){const i=d.getElementFromSelector(r);i&&this._addAriaAndCollapsedClass([r],this._isShown(i))}}_getFirstLevelChildren(t){const r=d.find(Ys,this._config.parent);return d.find(t,this._config.parent).filter(i=>!r.includes(i))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const i of t)i.classList.toggle(Ks,!r),i.setAttribute("aria-expanded",r)}static jQueryInterface(t){const r={};return typeof t=="string"&&/show|hide/.test(t)&&(r.toggle=!1),this.each(function(){const i=pr.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t]()}})}};l.on(document,Bs,Me,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of d.getMultipleElementsFromSelector(this))Re.getOrCreateInstance(t,{toggle:!1}).toggle()}),W(Re);var Yc=Re,xe={};Tn(xe,{afterMain:()=>Kr,afterRead:()=>jr,afterWrite:()=>Gr,applyStyles:()=>He,arrow:()=>ti,auto:()=>$t,basePlacements:()=>Tt,beforeMain:()=>Fr,beforeRead:()=>Hr,beforeWrite:()=>Yr,bottom:()=>R,clippingParents:()=>$r,computeStyles:()=>Fe,createPopper:()=>ze,createPopperBase:()=>Va,createPopperLite:()=>Wa,detectOverflow:()=>Dt,end:()=>yt,eventListeners:()=>Be,flip:()=>ai,hide:()=>ci,left:()=>I,main:()=>Br,modifierPhases:()=>te,offset:()=>ui,placements:()=>Ve,popper:()=>wt,popperGenerator:()=>se,popperOffsets:()=>qe,preventOverflow:()=>fi,read:()=>Wr,reference:()=>Vr,right:()=>x,start:()=>st,top:()=>L,variationPlacements:()=>$e,viewport:()=>ke,write:()=>Ur});var L="top",R="bottom",x="right",I="left",$t="auto",Tt=[L,R,x,I],st="start",yt="end",$r="clippingParents",ke="viewport",wt="popper",Vr="reference",$e=Tt.reduce(function(e,t){return e.concat([t+"-"+st,t+"-"+yt])},[]),Ve=[].concat(Tt,[$t]).reduce(function(e,t){return e.concat([t,t+"-"+st,t+"-"+yt])},[]),Hr="beforeRead",Wr="read",jr="afterRead",Fr="beforeMain",Br="main",Kr="afterMain",Yr="beforeWrite",Ur="write",Gr="afterWrite",te=[Hr,Wr,jr,Fr,Br,Kr,Yr,Ur,Gr];function G(e){return e?(e.nodeName||"").toLowerCase():null}function B(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ot(e){var t=B(e).Element;return e instanceof t||e instanceof Element}function k(e){var t=B(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qr(e){if(typeof ShadowRoot>"u")return!1;var t=B(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Js(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var i=t.styles[r]||{},n=t.attributes[r]||{},s=t.elements[r];!k(s)||!G(s)||(Object.assign(s.style,i),Object.keys(n).forEach(function(a){var o=n[a];o===!1?s.removeAttribute(a):s.setAttribute(a,o===!0?"":o)}))})}function Zs(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(i){var n=t.elements[i],s=t.attributes[i]||{},a=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:r[i]),o=a.reduce(function(u,f){return u[f]="",u},{});!k(n)||!G(n)||(Object.assign(n.style,o),Object.keys(s).forEach(function(u){n.removeAttribute(u)}))})}}var He={name:"applyStyles",enabled:!0,phase:"write",fn:Js,effect:Zs,requires:["computeStyles"]};function K(e){return e.split("-")[0]}var at=Math.max,ee=Math.min,Ct=Math.round;function St(e,t){t===void 0&&(t=!1);var r=e.getBoundingClientRect(),i=1,n=1;if(k(e)&&t){var s=e.offsetHeight,a=e.offsetWidth;a>0&&(i=Ct(r.width)/a||1),s>0&&(n=Ct(r.height)/s||1)}return{width:r.width/i,height:r.height/n,top:r.top/n,right:r.right/i,bottom:r.bottom/n,left:r.left/i,x:r.left/i,y:r.top/n}}function We(e){var t=St(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function zr(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&qr(r)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Y(e){return B(e).getComputedStyle(e)}function ta(e){return["table","td","th"].indexOf(G(e))>=0}function et(e){return((Ot(e)?e.ownerDocument:e.document)||window.document).documentElement}function re(e){return G(e)==="html"?e:e.assignedSlot||e.parentNode||(qr(e)?e.host:null)||et(e)}function Xr(e){return!k(e)||Y(e).position==="fixed"?null:e.offsetParent}function ea(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&k(e)){var i=Y(e);if(i.position==="fixed")return null}for(var n=re(e);k(n)&&["html","body"].indexOf(G(n))<0;){var s=Y(n);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return n;n=n.parentNode}return null}function Vt(e){for(var t=B(e),r=Xr(e);r&&ta(r)&&Y(r).position==="static";)r=Xr(r);return r&&(G(r)==="html"||G(r)==="body"&&Y(r).position==="static")?t:r||ea(e)||t}function je(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ht(e,t,r){return at(e,ee(t,r))}function ra(e,t,r){var i=Ht(e,t,r);return i>r?r:i}function Qr(){return{top:0,right:0,bottom:0,left:0}}function Jr(e){return Object.assign({},Qr(),e)}function Zr(e,t){return t.reduce(function(r,i){return r[i]=e,r},{})}var ia=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Jr(typeof t!="number"?t:Zr(t,Tt))};function na(e){var t,r=e.state,i=e.name,n=e.options,s=r.elements.arrow,a=r.modifiersData.popperOffsets,o=K(r.placement),u=je(o),f=[I,x].indexOf(o)>=0,c=f?"height":"width";if(!(!s||!a)){var _=ia(n.padding,r),m=We(s),h=u==="y"?L:I,b=u==="y"?R:x,p=r.rects.reference[c]+r.rects.reference[u]-a[u]-r.rects.popper[c],E=a[u]-r.rects.reference[u],O=Vt(s),C=O?u==="y"?O.clientHeight||0:O.clientWidth||0:0,w=p/2-E/2,v=_[h],y=C-m[c]-_[b],g=C/2-m[c]/2+w,T=Ht(v,g,y),S=u;r.modifiersData[i]=(t={},t[S]=T,t.centerOffset=T-g,t)}}function sa(e){var t=e.state,r=e.options,i=r.element,n=i===void 0?"[data-popper-arrow]":i;if(n!=null&&!(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n))){if(k(n)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" ")),!zr(t.elements.popper,n)){console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}t.elements.arrow=n}}var ti={name:"arrow",enabled:!0,phase:"main",fn:na,effect:sa,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Nt(e){return e.split("-")[1]}var aa={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oa(e){var t=e.x,r=e.y,i=window,n=i.devicePixelRatio||1;return{x:Ct(t*n)/n||0,y:Ct(r*n)/n||0}}function ei(e){var t,r=e.popper,i=e.popperRect,n=e.placement,s=e.variation,a=e.offsets,o=e.position,u=e.gpuAcceleration,f=e.adaptive,c=e.roundOffsets,_=e.isFixed,m=a.x,h=m===void 0?0:m,b=a.y,p=b===void 0?0:b,E=typeof c=="function"?c({x:h,y:p}):{x:h,y:p};h=E.x,p=E.y;var O=a.hasOwnProperty("x"),C=a.hasOwnProperty("y"),w=I,v=L,y=window;if(f){var g=Vt(r),T="clientHeight",S="clientWidth";if(g===B(r)&&(g=et(r),Y(g).position!=="static"&&o==="absolute"&&(T="scrollHeight",S="scrollWidth")),g=g,n===L||(n===I||n===x)&&s===yt){v=R;var N=_&&y.visualViewport?y.visualViewport.height:g[T];p-=N-i.height,p*=u?1:-1}if(n===I||(n===L||n===R)&&s===yt){w=x;var D=_&&y.visualViewport?y.visualViewport.width:g[S];h-=D-i.width,h*=u?1:-1}}var A=Object.assign({position:o},f&&aa),P=c===!0?oa({x:h,y:p}):{x:h,y:p};if(h=P.x,p=P.y,u){var $;return Object.assign({},A,($={},$[v]=C?"0":"",$[w]=O?"0":"",$.transform=(y.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",$))}return Object.assign({},A,(t={},t[v]=C?p+"px":"",t[w]=O?h+"px":"",t.transform="",t))}function la(e){var t=e.state,r=e.options,i=r.gpuAcceleration,n=i===void 0?!0:i,s=r.adaptive,a=s===void 0?!0:s,o=r.roundOffsets,u=o===void 0?!0:o,f=Y(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some(function(_){return f.indexOf(_)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "));var c={placement:K(t.placement),variation:Nt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ei(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ei(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Fe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:la,data:{}},ie={passive:!0};function ca(e){var t=e.state,r=e.instance,i=e.options,n=i.scroll,s=n===void 0?!0:n,a=i.resize,o=a===void 0?!0:a,u=B(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&f.forEach(function(c){c.addEventListener("scroll",r.update,ie)}),o&&u.addEventListener("resize",r.update,ie),function(){s&&f.forEach(function(c){c.removeEventListener("scroll",r.update,ie)}),o&&u.removeEventListener("resize",r.update,ie)}}var Be={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:ca,data:{}},ua={left:"right",right:"left",bottom:"top",top:"bottom"};function ne(e){return e.replace(/left|right|bottom|top/g,function(t){return ua[t]})}var fa={start:"end",end:"start"};function ri(e){return e.replace(/start|end/g,function(t){return fa[t]})}function Ke(e){var t=B(e),r=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:r,scrollTop:i}}function Ye(e){return St(et(e)).left+Ke(e).scrollLeft}function da(e){var t=B(e),r=et(e),i=t.visualViewport,n=r.clientWidth,s=r.clientHeight,a=0,o=0;return i&&(n=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,o=i.offsetTop)),{width:n,height:s,x:a+Ye(e),y:o}}function ha(e){var t,r=et(e),i=Ke(e),n=(t=e.ownerDocument)==null?void 0:t.body,s=at(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),a=at(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),o=-i.scrollLeft+Ye(e),u=-i.scrollTop;return Y(n||r).direction==="rtl"&&(o+=at(r.clientWidth,n?n.clientWidth:0)-s),{width:s,height:a,x:o,y:u}}function Ue(e){var t=Y(e),r=t.overflow,i=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+i)}function ii(e){return["html","body","#document"].indexOf(G(e))>=0?e.ownerDocument.body:k(e)&&Ue(e)?e:ii(re(e))}function Wt(e,t){var r;t===void 0&&(t=[]);var i=ii(e),n=i===((r=e.ownerDocument)==null?void 0:r.body),s=B(i),a=n?[s].concat(s.visualViewport||[],Ue(i)?i:[]):i,o=t.concat(a);return n?o:o.concat(Wt(re(a)))}function Ge(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pa(e){var t=St(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function ni(e,t){return t===ke?Ge(da(e)):Ot(t)?pa(t):Ge(ha(et(e)))}function _a(e){var t=Wt(re(e)),r=["absolute","fixed"].indexOf(Y(e).position)>=0,i=r&&k(e)?Vt(e):e;return Ot(i)?t.filter(function(n){return Ot(n)&&zr(n,i)&&G(n)!=="body"}):[]}function va(e,t,r){var i=t==="clippingParents"?_a(e):[].concat(t),n=[].concat(i,[r]),s=n[0],a=n.reduce(function(o,u){var f=ni(e,u);return o.top=at(f.top,o.top),o.right=ee(f.right,o.right),o.bottom=ee(f.bottom,o.bottom),o.left=at(f.left,o.left),o},ni(e,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function si(e){var t=e.reference,r=e.element,i=e.placement,n=i?K(i):null,s=i?Nt(i):null,a=t.x+t.width/2-r.width/2,o=t.y+t.height/2-r.height/2,u;switch(n){case L:u={x:a,y:t.y-r.height};break;case R:u={x:a,y:t.y+t.height};break;case x:u={x:t.x+t.width,y:o};break;case I:u={x:t.x-r.width,y:o};break;default:u={x:t.x,y:t.y}}var f=n?je(n):null;if(f!=null){var c=f==="y"?"height":"width";switch(s){case st:u[f]=u[f]-(t[c]/2-r[c]/2);break;case yt:u[f]=u[f]+(t[c]/2-r[c]/2);break;default:}}return u}function Dt(e,t){t===void 0&&(t={});var r=t,i=r.placement,n=i===void 0?e.placement:i,s=r.boundary,a=s===void 0?$r:s,o=r.rootBoundary,u=o===void 0?ke:o,f=r.elementContext,c=f===void 0?wt:f,_=r.altBoundary,m=_===void 0?!1:_,h=r.padding,b=h===void 0?0:h,p=Jr(typeof b!="number"?b:Zr(b,Tt)),E=c===wt?Vr:wt,O=e.rects.popper,C=e.elements[m?E:c],w=va(Ot(C)?C:C.contextElement||et(e.elements.popper),a,u),v=St(e.elements.reference),y=si({reference:v,element:O,strategy:"absolute",placement:n}),g=Ge(Object.assign({},O,y)),T=c===wt?g:v,S={top:w.top-T.top+p.top,bottom:T.bottom-w.bottom+p.bottom,left:w.left-T.left+p.left,right:T.right-w.right+p.right},N=e.modifiersData.offset;if(c===wt&&N){var D=N[n];Object.keys(S).forEach(function(A){var P=[x,R].indexOf(A)>=0?1:-1,$=[L,R].indexOf(A)>=0?"y":"x";S[A]+=D[$]*P})}return S}function ma(e,t){t===void 0&&(t={});var r=t,i=r.placement,n=r.boundary,s=r.rootBoundary,a=r.padding,o=r.flipVariations,u=r.allowedAutoPlacements,f=u===void 0?Ve:u,c=Nt(i),_=c?o?$e:$e.filter(function(b){return Nt(b)===c}):Tt,m=_.filter(function(b){return f.indexOf(b)>=0});m.length===0&&(m=_,console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var h=m.reduce(function(b,p){return b[p]=Dt(e,{placement:p,boundary:n,rootBoundary:s,padding:a})[K(p)],b},{});return Object.keys(h).sort(function(b,p){return h[b]-h[p]})}function ga(e){if(K(e)===$t)return[];var t=ne(e);return[ri(e),t,ri(t)]}function Ea(e){var t=e.state,r=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var n=r.mainAxis,s=n===void 0?!0:n,a=r.altAxis,o=a===void 0?!0:a,u=r.fallbackPlacements,f=r.padding,c=r.boundary,_=r.rootBoundary,m=r.altBoundary,h=r.flipVariations,b=h===void 0?!0:h,p=r.allowedAutoPlacements,E=t.options.placement,O=K(E),C=O===E,w=u||(C||!b?[ne(E)]:ga(E)),v=[E].concat(w).reduce(function(Pt,nt){return Pt.concat(K(nt)===$t?ma(t,{placement:nt,boundary:c,rootBoundary:_,padding:f,flipVariations:b,allowedAutoPlacements:p}):nt)},[]),y=t.rects.reference,g=t.rects.popper,T=new Map,S=!0,N=v[0],D=0;D<v.length;D++){var A=v[D],P=K(A),$=Nt(A)===st,Bt=[L,R].indexOf(P)>=0,Kt=Bt?"width":"height",V=Dt(t,{placement:A,boundary:c,rootBoundary:_,altBoundary:m,padding:f}),U=Bt?$?x:I:$?R:L;y[Kt]>g[Kt]&&(U=ne(U));var he=ne(U),pt=[];if(s&&pt.push(V[P]<=0),o&&pt.push(V[U]<=0,V[he]<=0),pt.every(function(Pt){return Pt})){N=A,S=!1;break}T.set(A,pt)}if(S)for(var pe=b?3:1,ur=function(nt){var Ut=v.find(function(ve){var _t=T.get(ve);if(_t)return _t.slice(0,nt).every(function(fr){return fr})});if(Ut)return N=Ut,"break"},Yt=pe;Yt>0;Yt--){var _e=ur(Yt);if(_e==="break")break}t.placement!==N&&(t.modifiersData[i]._skip=!0,t.placement=N,t.reset=!0)}}var ai={name:"flip",enabled:!0,phase:"main",fn:Ea,requiresIfExists:["offset"],data:{_skip:!1}};function oi(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function li(e){return[L,x,R,I].some(function(t){return e[t]>=0})}function ba(e){var t=e.state,r=e.name,i=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,a=Dt(t,{elementContext:"reference"}),o=Dt(t,{altBoundary:!0}),u=oi(a,i),f=oi(o,n,s),c=li(u),_=li(f);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:f,isReferenceHidden:c,hasPopperEscaped:_},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":_})}var ci={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ba};function Aa(e,t,r){var i=K(e),n=[I,L].indexOf(i)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=s[0],o=s[1];return a=a||0,o=(o||0)*n,[I,x].indexOf(i)>=0?{x:o,y:a}:{x:a,y:o}}function Ta(e){var t=e.state,r=e.options,i=e.name,n=r.offset,s=n===void 0?[0,0]:n,a=Ve.reduce(function(c,_){return c[_]=Aa(_,t.rects,s),c},{}),o=a[t.placement],u=o.x,f=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=f),t.modifiersData[i]=a}var ui={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ta};function ya(e){var t=e.state,r=e.name;t.modifiersData[r]=si({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var qe={name:"popperOffsets",enabled:!0,phase:"read",fn:ya,data:{}};function wa(e){return e==="x"?"y":"x"}function Oa(e){var t=e.state,r=e.options,i=e.name,n=r.mainAxis,s=n===void 0?!0:n,a=r.altAxis,o=a===void 0?!1:a,u=r.boundary,f=r.rootBoundary,c=r.altBoundary,_=r.padding,m=r.tether,h=m===void 0?!0:m,b=r.tetherOffset,p=b===void 0?0:b,E=Dt(t,{boundary:u,rootBoundary:f,padding:_,altBoundary:c}),O=K(t.placement),C=Nt(t.placement),w=!C,v=je(O),y=wa(v),g=t.modifiersData.popperOffsets,T=t.rects.reference,S=t.rects.popper,N=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,D=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(g){if(s){var $,Bt=v==="y"?L:I,Kt=v==="y"?R:x,V=v==="y"?"height":"width",U=g[v],he=U+E[Bt],pt=U-E[Kt],pe=h?-S[V]/2:0,ur=C===st?T[V]:S[V],Yt=C===st?-S[V]:-T[V],_e=t.elements.arrow,Pt=h&&_e?We(_e):{width:0,height:0},nt=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Qr(),Ut=nt[Bt],ve=nt[Kt],_t=Ht(0,T[V],Pt[V]),fr=w?T[V]/2-pe-_t-Ut-D.mainAxis:ur-_t-Ut-D.mainAxis,kc=w?-T[V]/2+pe+_t+ve+D.mainAxis:Yt+_t+ve+D.mainAxis,dr=t.elements.arrow&&Vt(t.elements.arrow),$c=dr?v==="y"?dr.clientTop||0:dr.clientLeft||0:0,en=($=A?.[v])!=null?$:0,Vc=U+fr-en-$c,Hc=U+kc-en,rn=Ht(h?ee(he,Vc):he,U,h?at(pt,Hc):pt);g[v]=rn,P[v]=rn-U}if(o){var nn,Wc=v==="x"?L:I,jc=v==="x"?R:x,vt=g[y],me=y==="y"?"height":"width",sn=vt+E[Wc],an=vt-E[jc],hr=[L,I].indexOf(O)!==-1,on=(nn=A?.[y])!=null?nn:0,ln=hr?sn:vt-T[me]-S[me]-on+D.altAxis,cn=hr?vt+T[me]+S[me]-on-D.altAxis:an,un=h&&hr?ra(ln,vt,cn):Ht(h?ln:sn,vt,h?cn:an);g[y]=un,P[y]=un-vt}t.modifiersData[i]=P}}var fi={name:"preventOverflow",enabled:!0,phase:"main",fn:Oa,requiresIfExists:["offset"]};function Ca(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Sa(e){return e===B(e)||!k(e)?Ke(e):Ca(e)}function Na(e){var t=e.getBoundingClientRect(),r=Ct(t.width)/e.offsetWidth||1,i=Ct(t.height)/e.offsetHeight||1;return r!==1||i!==1}function Da(e,t,r){r===void 0&&(r=!1);var i=k(t),n=k(t)&&Na(t),s=et(t),a=St(e,n),o={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!r)&&((G(t)!=="body"||Ue(s))&&(o=Sa(t)),k(t)?(u=St(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Ye(s))),{x:a.left+o.scrollLeft-u.x,y:a.top+o.scrollTop-u.y,width:a.width,height:a.height}}function La(e){var t=new Map,r=new Set,i=[];e.forEach(function(s){t.set(s.name,s)});function n(s){r.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(o){if(!r.has(o)){var u=t.get(o);u&&n(u)}}),i.push(s)}return e.forEach(function(s){r.has(s.name)||n(s)}),i}function Ia(e){var t=La(e);return te.reduce(function(r,i){return r.concat(t.filter(function(n){return n.phase===i}))},[])}function Pa(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function rt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return[].concat(r).reduce(function(n,s){return n.replace(/%s/,s)},e)}var ot='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Ma='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',di=["name","enabled","phase","fn","effect","requires","options"];function Ra(e){e.forEach(function(t){[].concat(Object.keys(t),di).filter(function(r,i,n){return n.indexOf(r)===i}).forEach(function(r){switch(r){case"name":typeof t.name!="string"&&console.error(rt(ot,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(rt(ot,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":te.indexOf(t.phase)<0&&console.error(rt(ot,t.name,'"phase"',"either "+te.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(rt(ot,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(rt(ot,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(rt(ot,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(rt(ot,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+di.map(function(i){return'"'+i+'"'}).join(", ")+'; but "'+r+'" was provided.')}t.requires&&t.requires.forEach(function(i){e.find(function(n){return n.name===i})==null&&console.error(rt(Ma,String(t.name),i,i))})})})}function xa(e,t){var r=new Set;return e.filter(function(i){var n=t(i);if(!r.has(n))return r.add(n),!0})}function ka(e){var t=e.reduce(function(r,i){var n=r[i.name];return r[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,r},{});return Object.keys(t).map(function(r){return t[r]})}var hi="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",$a="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",pi={placement:"bottom",modifiers:[],strategy:"absolute"};function _i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function se(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,i=r===void 0?[]:r,n=t.defaultOptions,s=n===void 0?pi:n;return function(o,u,f){f===void 0&&(f=s);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},pi,s),modifiersData:{},elements:{reference:o,popper:u},attributes:{},styles:{}},_=[],m=!1,h={state:c,setOptions:function(O){var C=typeof O=="function"?O(c.options):O;p(),c.options=Object.assign({},s,c.options,C),c.scrollParents={reference:Ot(o)?Wt(o):o.contextElement?Wt(o.contextElement):[],popper:Wt(u)};var w=Ia(ka([].concat(i,c.options.modifiers)));c.orderedModifiers=w.filter(function(A){return A.enabled});var v=xa([].concat(w,c.options.modifiers),function(A){var P=A.name;return P});if(Ra(v),K(c.options.placement)===$t){var y=c.orderedModifiers.find(function(A){var P=A.name;return P==="flip"});y||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var g=Y(u),T=g.marginTop,S=g.marginRight,N=g.marginBottom,D=g.marginLeft;return[T,S,N,D].some(function(A){return parseFloat(A)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" ")),b(),h.update()},forceUpdate:function(){if(!m){var O=c.elements,C=O.reference,w=O.popper;if(!_i(C,w)){console.error(hi);return}c.rects={reference:Da(C,Vt(w),c.options.strategy==="fixed"),popper:We(w)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(A){return c.modifiersData[A.name]=Object.assign({},A.data)});for(var v=0,y=0;y<c.orderedModifiers.length;y++){if(v+=1,v>100){console.error($a);break}if(c.reset===!0){c.reset=!1,y=-1;continue}var g=c.orderedModifiers[y],T=g.fn,S=g.options,N=S===void 0?{}:S,D=g.name;typeof T=="function"&&(c=T({state:c,options:N,name:D,instance:h})||c)}}},update:Pa(function(){return new Promise(function(E){h.forceUpdate(),E(c)})}),destroy:function(){p(),m=!0}};if(!_i(o,u))return console.error(hi),h;h.setOptions(f).then(function(E){!m&&f.onFirstUpdate&&f.onFirstUpdate(E)});function b(){c.orderedModifiers.forEach(function(E){var O=E.name,C=E.options,w=C===void 0?{}:C,v=E.effect;if(typeof v=="function"){var y=v({state:c,name:O,instance:h,options:w}),g=function(){};_.push(y||g)}})}function p(){_.forEach(function(E){return E()}),_=[]}return h}}var Va=se(),Ha=[Be,qe,Fe,He],Wa=se({defaultModifiers:Ha}),ja=[Be,qe,Fe,He,ui,ai,fi,ti,ci],ze=se({defaultModifiers:ja}),vi="dropdown",Fa="bs.dropdown",lt=`.${Fa}`,Xe=".data-api",Ba="Escape",mi="Tab",Ka="ArrowUp",gi="ArrowDown",Ya=2,Ua=`hide${lt}`,Ga=`hidden${lt}`,qa=`show${lt}`,za=`shown${lt}`,Ei=`click${lt}${Xe}`,bi=`keydown${lt}${Xe}`,Xa=`keyup${lt}${Xe}`,Lt="show",Qa="dropup",Ja="dropend",Za="dropstart",to="dropup-center",eo="dropdown-center",ct='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ro=`${ct}.${Lt}`,ae=".dropdown-menu",io=".navbar",no=".navbar-nav",so=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",ao=H()?"top-end":"top-start",oo=H()?"top-start":"top-end",lo=H()?"bottom-end":"bottom-start",co=H()?"bottom-start":"bottom-end",uo=H()?"left-start":"right-start",fo=H()?"right-start":"left-start",ho="top",po="bottom",_o={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},vo={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"},ut=class ge extends F{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=d.next(this._element,ae)[0]||d.prev(this._element,ae)[0]||d.findOne(ae,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return _o}static get DefaultType(){return vo}static get NAME(){return vi}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Z(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!l.trigger(this._element,qa,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(no))for(const i of[].concat(...document.body.children))l.on(i,"mouseover",Gt);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Lt),this._element.classList.add(Lt),l.trigger(this._element,za,t)}}hide(){if(Z(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!l.trigger(this._element,Ua,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))l.off(i,"mouseover",Gt);this._popper&&this._popper.destroy(),this._menu.classList.remove(Lt),this._element.classList.remove(Lt),this._element.setAttribute("aria-expanded","false"),z.removeDataAttribute(this._menu,"popper"),l.trigger(this._element,Ga,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!q(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${vi.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof xe>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let t=this._element;this._config.reference==="parent"?t=this._parent:q(this._config.reference)?t=J(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=ze(t,this._menu,r)}_isShown(){return this._menu.classList.contains(Lt)}_getPlacement(){const t=this._parent;if(t.classList.contains(Ja))return uo;if(t.classList.contains(Za))return fo;if(t.classList.contains(to))return ho;if(t.classList.contains(eo))return po;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(Qa)?r?oo:ao:r?co:lo}_detectNavbar(){return this._element.closest(io)!==null}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(z.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...M(this._config.popperConfig,[void 0,t])}}_selectMenuItem({key:t,target:r}){const i=d.find(so,this._menu).filter(n=>mt(n));i.length&&Te(i,r,t===gi,!i.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=ge.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}static clearMenus(t){if(t.button===Ya||t.type==="keyup"&&t.key!==mi)return;const r=d.find(ro);for(const i of r){const n=ge.getInstance(i);if(!n||n._config.autoClose===!1)continue;const s=t.composedPath(),a=s.includes(n._menu);if(s.includes(n._element)||n._config.autoClose==="inside"&&!a||n._config.autoClose==="outside"&&a||n._menu.contains(t.target)&&(t.type==="keyup"&&t.key===mi||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:n._element};t.type==="click"&&(o.clickEvent=t),n._completeHide(o)}}static dataApiKeydownHandler(t){const r=/input|textarea/i.test(t.target.tagName),i=t.key===Ba,n=[Ka,gi].includes(t.key);if(!n&&!i||r&&!i)return;t.preventDefault();const s=this.matches(ct)?this:d.prev(this,ct)[0]||d.next(this,ct)[0]||d.findOne(ct,t.delegateTarget.parentNode),a=ge.getOrCreateInstance(s);if(n){t.stopPropagation(),a.show(),a._selectMenuItem(t);return}a._isShown()&&(t.stopPropagation(),a.hide(),s.focus())}};l.on(document,bi,ct,ut.dataApiKeydownHandler),l.on(document,bi,ae,ut.dataApiKeydownHandler),l.on(document,Ei,ut.clearMenus),l.on(document,Xa,ut.clearMenus),l.on(document,Ei,ct,function(e){e.preventDefault(),ut.getOrCreateInstance(this).toggle()}),W(ut);var Uc=ut,Ai="backdrop",mo="fade",Ti="show",yi=`mousedown.bs.${Ai}`,go={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Eo={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"},bo=class extends Rt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return go}static get DefaultType(){return Eo}static get NAME(){return Ai}show(e){if(!this._config.isVisible){M(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Mt(t),t.classList.add(Ti),this._emulateAnimation(()=>{M(e)})}hide(e){if(!this._config.isVisible){M(e);return}this._getElement().classList.remove(Ti),this._emulateAnimation(()=>{this.dispose(),M(e)})}dispose(){this._isAppended&&(l.off(this._element,yi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(mo),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=J(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),l.on(e,yi,()=>{M(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){br(e,this._getElement(),this._config.isAnimated)}},wi=bo,Ao="focustrap",To="bs.focustrap",oe=`.${To}`,yo=`focusin${oe}`,wo=`keydown.tab${oe}`,Oo="Tab",Co="forward",Oi="backward",So={autofocus:!0,trapElement:null},No={autofocus:"boolean",trapElement:"element"},Do=class extends Rt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return So}static get DefaultType(){return No}static get NAME(){return Ao}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),l.off(document,oe),l.on(document,yo,e=>this._handleFocusin(e)),l.on(document,wo,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,l.off(document,oe))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=d.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Oi?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===Oo&&(this._lastTabNavDirection=e.shiftKey?Oi:Co)}},Ci=Do,Si=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ni=".sticky-top",le="padding-right",Di="margin-right",Lo=class{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,le,t=>t+e),this._setElementAttributes(Si,le,t=>t+e),this._setElementAttributes(Ni,Di,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,le),this._resetElementAttributes(Si,le),this._resetElementAttributes(Ni,Di)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const i=this.getWidth(),n=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+i)return;this._saveInitialAttribute(s,t);const a=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(a))}px`)};this._applyManipulationCallback(e,n)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&z.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=i=>{const n=z.getDataAttribute(i,t);if(n===null){i.style.removeProperty(t);return}z.removeDataAttribute(i,t),i.style.setProperty(t,n)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(q(e)){t(e);return}for(const r of d.find(e,this._element))t(r)}},Qe=Lo,Io="modal",Po="bs.modal",j=`.${Po}`,Mo=".data-api",Ro="Escape",xo=`hide${j}`,ko=`hidePrevented${j}`,Li=`hidden${j}`,Ii=`show${j}`,$o=`shown${j}`,Vo=`resize${j}`,Ho=`click.dismiss${j}`,Wo=`mousedown.dismiss${j}`,jo=`keydown.dismiss${j}`,Fo=`click${j}${Mo}`,Pi="modal-open",Bo="fade",Mi="show",Je="modal-static",Ko=".modal.show",Yo=".modal-dialog",Uo=".modal-body",Go='[data-bs-toggle="modal"]',qo={backdrop:!0,focus:!0,keyboard:!0},zo={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"},jt=class _n extends F{constructor(t,r){super(t,r),this._dialog=d.findOne(Yo,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Qe,this._addEventListeners()}static get Default(){return qo}static get DefaultType(){return zo}static get NAME(){return Io}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||l.trigger(this._element,Ii,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Pi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||l.trigger(this._element,xo).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Mi),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){l.off(window,j),l.off(this._dialog,j),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new wi({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Ci({trapElement:this._element})}_showElement(t){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 r=d.findOne(Uo,this._dialog);r&&(r.scrollTop=0),Mt(this._element),this._element.classList.add(Mi);const i=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,l.trigger(this._element,$o,{relatedTarget:t})};this._queueCallback(i,this._dialog,this._isAnimated())}_addEventListeners(){l.on(this._element,jo,t=>{if(t.key===Ro){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),l.on(window,Vo,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),l.on(this._element,Wo,t=>{l.one(this._element,Ho,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_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(Pi),this._resetAdjustments(),this._scrollBar.reset(),l.trigger(this._element,Li)})}_isAnimated(){return this._element.classList.contains(Bo)}_triggerBackdropTransition(){if(l.trigger(this._element,ko).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;i==="hidden"||this._element.classList.contains(Je)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(Je),this._queueCallback(()=>{this._element.classList.remove(Je),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),i=r>0;if(i&&!t){const n=H()?"paddingLeft":"paddingRight";this._element.style[n]=`${r}px`}if(!i&&t){const n=H()?"paddingRight":"paddingLeft";this._element.style[n]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const i=_n.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof i[t]>"u")throw new TypeError(`No method named "${t}"`);i[t](r)}})}};l.on(document,Fo,Go,function(e){const t=d.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),l.one(t,Ii,n=>{n.defaultPrevented||l.one(t,Li,()=>{mt(this)&&this.focus()})});const r=d.findOne(Ko);r&&jt.getInstance(r).hide(),jt.getOrCreateInstance(t).toggle(this)}),zt(jt),W(jt);var Gc=jt,Xo="offcanvas",Qo="bs.offcanvas",X=`.${Qo}`,Ri=".data-api",Jo=`load${X}${Ri}`,Zo="Escape",xi="show",ki="showing",$i="hiding",tl="offcanvas-backdrop",Vi=".offcanvas.show",el=`show${X}`,rl=`shown${X}`,il=`hide${X}`,Hi=`hidePrevented${X}`,Wi=`hidden${X}`,nl=`resize${X}`,sl=`click${X}${Ri}`,al=`keydown.dismiss${X}`,ol='[data-bs-toggle="offcanvas"]',ll={backdrop:!0,keyboard:!0,scroll:!1},cl={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"},ft=class vn extends F{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ll}static get DefaultType(){return cl}static get NAME(){return Xo}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||l.trigger(this._element,el,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Qe().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ki);const i=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(xi),this._element.classList.remove(ki),l.trigger(this._element,rl,{relatedTarget:t})};this._queueCallback(i,this._element,!0)}hide(){if(!this._isShown||l.trigger(this._element,il).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add($i),this._backdrop.hide();const r=()=>{this._element.classList.remove(xi,$i),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Qe().reset(),l.trigger(this._element,Wi)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){l.trigger(this._element,Hi);return}this.hide()},r=!!this._config.backdrop;return new wi({className:tl,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new Ci({trapElement:this._element})}_addEventListeners(){l.on(this._element,al,t=>{if(t.key===Zo){if(this._config.keyboard){this.hide();return}l.trigger(this._element,Hi)}})}static jQueryInterface(t){return this.each(function(){const r=vn.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}};l.on(document,sl,ol,function(e){const t=d.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Z(this))return;l.one(t,Wi,()=>{mt(this)&&this.focus()});const r=d.findOne(Vi);r&&r!==t&&ft.getInstance(r).hide(),ft.getOrCreateInstance(t).toggle(this)}),l.on(window,Jo,()=>{for(const e of d.find(Vi))ft.getOrCreateInstance(e).show()}),l.on(window,nl,()=>{for(const e of d.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&ft.getOrCreateInstance(e).hide()}),zt(ft),W(ft);var qc=ft,ul=/^aria-[\w-]*$/i,ji={"*":["class","dir","id","lang","role",ul],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:[]},fl=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),dl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,hl=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?fl.has(r)?!!dl.test(e.nodeValue):!0:t.filter(i=>i instanceof RegExp).some(i=>i.test(r))};function pl(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const n=new window.DOMParser().parseFromString(e,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(const a of s){const o=a.nodeName.toLowerCase();if(!Object.keys(t).includes(o)){a.remove();continue}const u=[].concat(...a.attributes),f=[].concat(t["*"]||[],t[o]||[]);for(const c of u)hl(c,f)||a.removeAttribute(c.nodeName)}return n.body.innerHTML}var _l="TemplateFactory",vl={allowList:ji,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},ml={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},gl={entry:"(string|element|function|null)",selector:"(string|element)"},El=class extends Rt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return vl}static get DefaultType(){return ml}static get NAME(){return _l}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[i,n]of Object.entries(this._config.content))this._setContent(e,n,i);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},gl)}_setContent(e,t,r){const i=d.findOne(r,e);if(i){if(t=this._resolvePossibleFunction(t),!t){i.remove();return}if(q(t)){this._putElementInTemplate(J(t),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(t);return}i.textContent=t}}_maybeSanitize(e){return this._config.sanitize?pl(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return M(e,[void 0,this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}},bl=El,Al="tooltip",Tl=new Set(["sanitize","allowList","sanitizeFn"]),Ze="fade",yl="modal",ce="show",wl=".tooltip-inner",Fi=`.${yl}`,Bi="hide.bs.modal",Ft="hover",tr="focus",Ol="click",Cl="manual",Sl="hide",Nl="hidden",Dl="show",Ll="shown",Il="inserted",Pl="click",Ml="focusin",Rl="focusout",xl="mouseenter",kl="mouseleave",$l={AUTO:"auto",TOP:"top",RIGHT:H()?"left":"right",BOTTOM:"bottom",LEFT:H()?"right":"left"},Vl={allowList:ji,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"},Hl={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"},Ki=class mn extends F{constructor(t,r){if(typeof xe>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(t,r),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 Vl}static get DefaultType(){return Hl}static get NAME(){return Al}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),l.off(this._element.closest(Fi),Bi,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(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=l.trigger(this._element,this.constructor.eventName(Dl)),i=(gr(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!i)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(n),l.trigger(this._element,this.constructor.eventName(Il))),this._popper=this._createPopper(n),n.classList.add(ce),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))l.on(o,"mouseover",Gt);const a=()=>{l.trigger(this._element,this.constructor.eventName(Ll)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(a,this.tip,this._isAnimated())}hide(){if(!this._isShown()||l.trigger(this._element,this.constructor.eventName(Sl)).defaultPrevented)return;if(this._getTipElement().classList.remove(ce),"ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))l.off(n,"mouseover",Gt);this._activeTrigger[Ol]=!1,this._activeTrigger[tr]=!1,this._activeTrigger[Ft]=!1,this._isHovered=null;const i=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),l.trigger(this._element,this.constructor.eventName(Nl)))};this._queueCallback(i,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(Ze,ce),r.classList.add(`bs-${this.constructor.NAME}-auto`);const i=Cn(this.constructor.NAME).toString();return r.setAttribute("id",i),this._isAnimated()&&r.classList.add(Ze),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new bl({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[wl]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ze)}_isShown(){return this.tip&&this.tip.classList.contains(ce)}_createPopper(t){const r=M(this._config.placement,[this,t,this._element]),i=$l[r.toUpperCase()];return ze(this._element,t,this._getPopperConfig(i))}_getOffset(){const{offset:t}=this._config;return typeof t=="string"?t.split(",").map(r=>Number.parseInt(r,10)):typeof t=="function"?r=>t(r,this._element):t}_resolvePossibleFunction(t){return M(t,[this._element,this._element])}_getPopperConfig(t){const r={placement:t,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:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...r,...M(this._config.popperConfig,[void 0,r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")l.on(this._element,this.constructor.eventName(Pl),this._config.selector,i=>{this._initializeOnDelegatedTarget(i).toggle()});else if(r!==Cl){const i=r===Ft?this.constructor.eventName(xl):this.constructor.eventName(Ml),n=r===Ft?this.constructor.eventName(kl):this.constructor.eventName(Rl);l.on(this._element,i,this._config.selector,s=>{const a=this._initializeOnDelegatedTarget(s);a._activeTrigger[s.type==="focusin"?tr:Ft]=!0,a._enter()}),l.on(this._element,n,this._config.selector,s=>{const a=this._initializeOnDelegatedTarget(s);a._activeTrigger[s.type==="focusout"?tr:Ft]=a._element.contains(s.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},l.on(this._element.closest(Fi),Bi,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}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(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=z.getDataAttributes(this._element);for(const i of Object.keys(r))Tl.has(i)&&delete r[i];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:J(t.container),typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),typeof t.title=="number"&&(t.title=t.title.toString()),typeof t.content=="number"&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[r,i]of Object.entries(this._config))this.constructor.Default[r]!==i&&(t[r]=i);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each(function(){const r=mn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};W(Ki);var er=Ki,Wl="popover",jl=".popover-header",Fl=".popover-body",Bl={...er.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"},Kl={...er.DefaultType,content:"(null|string|element|function)"},Yi=class gn extends er{static get Default(){return Bl}static get DefaultType(){return Kl}static get NAME(){return Wl}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[jl]:this._getTitle(),[Fl]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=gn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};W(Yi);var zc=Yi,Yl="scrollspy",Ul="bs.scrollspy",rr=`.${Ul}`,Gl=".data-api",ql=`activate${rr}`,Ui=`click${rr}`,zl=`load${rr}${Gl}`,Xl="dropdown-item",It="active",Ql='[data-bs-spy="scroll"]',ir="[href]",Jl=".nav, .list-group",Gi=".nav-link",Zl=".nav-item",tc=".list-group-item",ec=`${Gi}, ${Zl} > ${Gi}, ${tc}`,rc=".dropdown",ic=".dropdown-toggle",nc={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},sc={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"},nr=class En extends F{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return nc}static get DefaultType(){return sc}static get NAME(){return Yl}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=J(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(l.off(this._config.target,Ui),l.on(this._config.target,Ui,ir,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const i=this._rootElement||window,n=r.offsetTop-this._element.offsetTop;if(i.scrollTo){i.scrollTo({top:n,behavior:"smooth"});return}i.scrollTop=n}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=a=>this._targetLinks.get(`#${a.target.id}`),i=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(r(a))},n=(this._rootElement||document.documentElement).scrollTop,s=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const a of t){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(a));continue}const o=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&o){if(i(a),!n)return;continue}!s&&!o&&i(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=d.find(ir,this._config.target);for(const r of t){if(!r.hash||Z(r))continue;const i=d.findOne(decodeURI(r.hash),this._element);mt(i)&&(this._targetLinks.set(decodeURI(r.hash),r),this._observableSections.set(r.hash,i))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(It),this._activateParents(t),l.trigger(this._element,ql,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(Xl)){d.findOne(ic,t.closest(rc)).classList.add(It);return}for(const r of d.parents(t,Jl))for(const i of d.prev(r,ec))i.classList.add(It)}_clearActiveClass(t){t.classList.remove(It);const r=d.find(`${ir}.${It}`,t);for(const i of r)i.classList.remove(It)}static jQueryInterface(t){return this.each(function(){const r=En.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}};l.on(window,zl,()=>{for(const e of d.find(Ql))nr.getOrCreateInstance(e)}),W(nr);var Xc=nr,ac="tab",oc="bs.tab",dt=`.${oc}`,lc=`hide${dt}`,cc=`hidden${dt}`,uc=`show${dt}`,fc=`shown${dt}`,dc=`click${dt}`,hc=`keydown${dt}`,pc=`load${dt}`,_c="ArrowLeft",qi="ArrowRight",vc="ArrowUp",zi="ArrowDown",sr="Home",Xi="End",ht="active",Qi="fade",ar="show",mc="dropdown",Ji=".dropdown-toggle",gc=".dropdown-menu",or=`:not(${Ji})`,Ec='.list-group, .nav, [role="tablist"]',bc=".nav-item, .list-group-item",Ac=`.nav-link${or}, .list-group-item${or}, [role="tab"]${or}`,Zi='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',lr=`${Ac}, ${Zi}`,Tc=`.${ht}[data-bs-toggle="tab"], .${ht}[data-bs-toggle="pill"], .${ht}[data-bs-toggle="list"]`,ue=class _r extends F{constructor(t){super(t),this._parent=this._element.closest(Ec),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),l.on(this._element,hc,r=>this._keydown(r)))}static get NAME(){return ac}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),i=r?l.trigger(r,lc,{relatedTarget:t}):null;l.trigger(t,uc,{relatedTarget:r}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(ht),this._activate(d.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(ar);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),l.trigger(t,fc,{relatedTarget:r})};this._queueCallback(i,t,t.classList.contains(Qi))}_deactivate(t,r){if(!t)return;t.classList.remove(ht),t.blur(),this._deactivate(d.getElementFromSelector(t));const i=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(ar);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),l.trigger(t,cc,{relatedTarget:r})};this._queueCallback(i,t,t.classList.contains(Qi))}_keydown(t){if(![_c,qi,vc,zi,sr,Xi].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(n=>!Z(n));let i;if([sr,Xi].includes(t.key))i=r[t.key===sr?0:r.length-1];else{const n=[qi,zi].includes(t.key);i=Te(r,t.target,n,!0)}i&&(i.focus({preventScroll:!0}),_r.getOrCreateInstance(i).show())}_getChildren(){return d.find(lr,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const i of r)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),i=this._getOuterElement(t);t.setAttribute("aria-selected",r),i!==t&&this._setAttributeIfNotExists(i,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=d.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const i=this._getOuterElement(t);if(!i.classList.contains(mc))return;const n=(s,a)=>{const o=d.findOne(s,i);o&&o.classList.toggle(a,r)};n(Ji,ht),n(gc,ar),i.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,i){t.hasAttribute(r)||t.setAttribute(r,i)}_elemIsActive(t){return t.classList.contains(ht)}_getInnerElement(t){return t.matches(lr)?t:d.findOne(lr,t)}_getOuterElement(t){return t.closest(bc)||t}static jQueryInterface(t){return this.each(function(){const r=_r.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}};l.on(document,dc,Zi,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!Z(this)&&ue.getOrCreateInstance(this).show()}),l.on(window,pc,()=>{for(const e of d.find(Tc))ue.getOrCreateInstance(e)}),W(ue);var Qc=ue,yc="toast",wc="bs.toast",it=`.${wc}`,Oc=`mouseover${it}`,Cc=`mouseout${it}`,Sc=`focusin${it}`,Nc=`focusout${it}`,Dc=`hide${it}`,Lc=`hidden${it}`,Ic=`show${it}`,Pc=`shown${it}`,Mc="fade",tn="hide",fe="show",de="showing",Rc={animation:"boolean",autohide:"boolean",delay:"number"},xc={animation:!0,autohide:!0,delay:5e3},cr=class bn extends F{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return xc}static get DefaultType(){return Rc}static get NAME(){return yc}show(){if(l.trigger(this._element,Ic).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Mc);const r=()=>{this._element.classList.remove(de),l.trigger(this._element,Pc),this._maybeScheduleHide()};this._element.classList.remove(tn),Mt(this._element),this._element.classList.add(fe,de),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||l.trigger(this._element,Dc).defaultPrevented)return;const r=()=>{this._element.classList.add(tn),this._element.classList.remove(de,fe),l.trigger(this._element,Lc)};this._element.classList.add(de),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fe),super.dispose()}isShown(){return this._element.classList.contains(fe)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}default:break}if(r){this._clearTimeout();return}const i=t.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){l.on(this._element,Oc,t=>this._onInteraction(t,!0)),l.on(this._element,Cc,t=>this._onInteraction(t,!1)),l.on(this._element,Sc,t=>this._onInteraction(t,!0)),l.on(this._element,Nc,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=bn.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}};zt(cr),W(cr);var Jc=cr})();
//# sourceMappingURL=bootstrap.esm.min.js.map