-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.abbb37f329463b12.js
1 lines (1 loc) · 75.8 KB
/
scripts.abbb37f329463b12.js
1
var qs=Object.defineProperty,Fs=Object.defineProperties,Us=Object.getOwnPropertyDescriptors,Fn=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,Ks=Object.prototype.propertyIsEnumerable,Un=(I,S,B)=>S in I?qs(I,S,{enumerable:!0,configurable:!0,writable:!0,value:B}):I[S]=B,v=(I,S)=>{for(var B in S||(S={}))Vs.call(S,B)&&Un(I,B,S[B]);if(Fn)for(var B of Fn(S))Ks.call(S,B)&&Un(I,B,S[B]);return I},gt=(I,S)=>Fs(I,Us(S));!function(I,S){"object"==typeof exports&&"undefined"!=typeof module?module.exports=S():"function"==typeof define&&define.amd?define(S):(I="undefined"!=typeof globalThis?globalThis:I||self).bootstrap=S()}(this,function(){"use strict";const I="transitionend",S=i=>{let e=i.getAttribute("data-bs-target");if(!e||"#"===e){let t=i.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&"#"!==t?t.trim():null}return e},B=i=>{const e=S(i);return e&&document.querySelector(e)?e:null},oe=i=>{const e=S(i);return e?document.querySelector(e):null},Vt=i=>{i.dispatchEvent(new Event(I))},de=i=>!(!i||"object"!=typeof i)&&(void 0!==i.jquery&&(i=i[0]),void 0!==i.nodeType),re=i=>de(i)?i.jquery?i[0]:i:"string"==typeof i&&i.length>0?document.querySelector(i):null,J=(i,e,t)=>{Object.keys(t).forEach(n=>{const s=t[n],o=e[n],r=o&&de(o)?"element":null==(a=o)?`${a}`:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(s).test(r))throw new TypeError(`${i.toUpperCase()}: Option "${n}" provided type "${r}" but expected type "${s}".`)})},Pe=i=>!(!de(i)||0===i.getClientRects().length)&&"visible"===getComputedStyle(i).getPropertyValue("visibility"),ue=i=>!i||i.nodeType!==Node.ELEMENT_NODE||!!i.classList.contains("disabled")||(void 0!==i.disabled?i.disabled:i.hasAttribute("disabled")&&"false"!==i.getAttribute("disabled")),Kt=i=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof i.getRootNode){const e=i.getRootNode();return e instanceof ShadowRoot?e:null}return i instanceof ShadowRoot?i:i.parentNode?Kt(i.parentNode):null},Je=()=>{},Xt=()=>{const{jQuery:i}=window;return i&&!document.body.hasAttribute("data-bs-no-jquery")?i:null},_t=[],R=()=>"rtl"===document.documentElement.dir,V=i=>{var e;e=()=>{const t=Xt();if(t){const n=i.NAME,s=t.fn[n];t.fn[n]=i.jQueryInterface,t.fn[n].Constructor=i,t.fn[n].noConflict=()=>(t.fn[n]=s,i.jQueryInterface)}},"loading"===document.readyState?(_t.length||document.addEventListener("DOMContentLoaded",()=>{_t.forEach(t=>t())}),_t.push(e)):e()},fe=i=>{"function"==typeof i&&i()},Yt=(i,e,t=!0)=>{if(!t)return void fe(i);const n=(r=>{if(!r)return 0;let{transitionDuration:a,transitionDelay:c}=window.getComputedStyle(r);const d=Number.parseFloat(a),u=Number.parseFloat(c);return d||u?(a=a.split(",")[0],c=c.split(",")[0],1e3*(Number.parseFloat(a)+Number.parseFloat(c))):0})(e)+5;let s=!1;const o=({target:r})=>{r===e&&(s=!0,e.removeEventListener(I,o),fe(i))};e.addEventListener(I,o),setTimeout(()=>{s||Vt(e)},n)},Qt=(i,e,t,n)=>{let s=i.indexOf(e);if(-1===s)return i[!t&&n?i.length-1:0];const o=i.length;return s+=t?1:-1,n&&(s=(s+o)%o),i[Math.max(0,Math.min(s,o-1))]},Vn=/[^.]*(?=\..*)\.|.*/,Kn=/\..*/,Xn=/::\d+$/,bt={};let Gt=1;const Yn={mouseenter:"mouseover",mouseleave:"mouseout"},Qn=/^(mouseenter|mouseleave)/i,Jt=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 Zt(i,e){return e&&`${e}::${Gt++}`||i.uidEvent||Gt++}function ei(i){const e=Zt(i);return i.uidEvent=e,bt[e]=bt[e]||{},bt[e]}function ti(i,e,t=null){const n=Object.keys(i);for(let s=0,o=n.length;s<o;s++){const r=i[n[s]];if(r.originalHandler===e&&r.delegationSelector===t)return r}return null}function ii(i,e,t){const n="string"==typeof e,s=n?t:e;let o=si(i);return Jt.has(o)||(o=i),[n,s,o]}function ni(i,e,t,n,s){if("string"!=typeof e||!i)return;if(t||(t=n,n=null),Qn.test(e)){const f=p=>function(_){if(!_.relatedTarget||_.relatedTarget!==_.delegateTarget&&!_.delegateTarget.contains(_.relatedTarget))return p.call(this,_)};n?n=f(n):t=f(t)}const[o,r,a]=ii(e,t,n),c=ei(i),d=c[a]||(c[a]={}),u=ti(d,r,o?t:null);if(u)return void(u.oneOff=u.oneOff&&s);const h=Zt(r,e.replace(Vn,"")),y=o?(f=i,p=t,_=n,function g(k){const A=f.querySelectorAll(p);for(let{target:b}=k;b&&b!==this;b=b.parentNode)for(let T=A.length;T--;)if(A[T]===b)return k.delegateTarget=b,g.oneOff&&l.off(f,k.type,p,_),_.apply(b,[k]);return null}):function(f,p){return function _(g){return g.delegateTarget=f,_.oneOff&&l.off(f,g.type,p),p.apply(f,[g])}}(i,t);var f,p,_;y.delegationSelector=o?t:null,y.originalHandler=r,y.oneOff=s,y.uidEvent=h,d[h]=y,i.addEventListener(a,y,o)}function vt(i,e,t,n,s){const o=ti(e[t],n,s);o&&(i.removeEventListener(t,o,Boolean(s)),delete e[t][o.uidEvent])}function si(i){return i=i.replace(Kn,""),Yn[i]||i}const l={on(i,e,t,n){ni(i,e,t,n,!1)},one(i,e,t,n){ni(i,e,t,n,!0)},off(i,e,t,n){if("string"!=typeof e||!i)return;const[s,o,r]=ii(e,t,n),a=r!==e,c=ei(i),d=e.startsWith(".");if(void 0!==o)return c&&c[r]?void vt(i,c,r,o,s?t:null):void 0;d&&Object.keys(c).forEach(h=>{!function(y,f,p,_){const g=f[p]||{};Object.keys(g).forEach(k=>{if(k.includes(_)){const A=g[k];vt(y,f,p,A.originalHandler,A.delegationSelector)}})}(i,c,h,e.slice(1))});const u=c[r]||{};Object.keys(u).forEach(h=>{const y=h.replace(Xn,"");if(!a||e.includes(y)){const f=u[h];vt(i,c,r,f.originalHandler,f.delegationSelector)}})},trigger(i,e,t){if("string"!=typeof e||!i)return null;const n=Xt(),s=si(e),o=e!==s,r=Jt.has(s);let a,c=!0,d=!0,u=!1,h=null;return o&&n&&(a=n.Event(e,t),n(i).trigger(a),c=!a.isPropagationStopped(),d=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented()),r?(h=document.createEvent("HTMLEvents"),h.initEvent(s,c,!0)):h=new CustomEvent(e,{bubbles:c,cancelable:!0}),void 0!==t&&Object.keys(t).forEach(y=>{Object.defineProperty(h,y,{get:()=>t[y]})}),u&&h.preventDefault(),d&&i.dispatchEvent(h),h.defaultPrevented&&void 0!==a&&a.preventDefault(),h}},ae=new Map,je={set(i,e,t){ae.has(i)||ae.set(i,new Map);const n=ae.get(i);n.has(e)||0===n.size?n.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(i,e)=>ae.has(i)&&ae.get(i).get(e)||null,remove(i,e){if(!ae.has(i))return;const t=ae.get(i);t.delete(e),0===t.size&&ae.delete(i)}};class Q{constructor(e){(e=re(e))&&(this._element=e,je.set(this._element,this.constructor.DATA_KEY,this))}dispose(){je.remove(this._element,this.constructor.DATA_KEY),l.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach(e=>{this[e]=null})}_queueCallback(e,t,n=!0){Yt(e,t,n)}static getInstance(e){return je.get(re(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const Ze=(i,e="hide")=>{const n=i.NAME;l.on(document,`click.dismiss${i.EVENT_KEY}`,`[data-bs-dismiss="${n}"]`,function(s){if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),ue(this))return;const o=oe(this)||this.closest(`.${n}`);i.getOrCreateInstance(o)[e]()})};class Me extends Q{static get NAME(){return"alert"}close(){if(l.trigger(this._element,"close.bs.alert").defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,e)}_destroyElement(){this._element.remove(),l.trigger(this._element,"closed.bs.alert"),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Me.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Ze(Me,"close"),V(Me);const oi='[data-bs-toggle="button"]';class He extends Q{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each(function(){const t=He.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}function ri(i){return"true"===i||"false"!==i&&(i===Number(i).toString()?Number(i):""===i||"null"===i?null:i)}function yt(i){return i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}l.on(document,"click.bs.button.data-api",oi,i=>{i.preventDefault();const e=i.target.closest(oi);He.getOrCreateInstance(e).toggle()}),V(He);const N={setDataAttribute(i,e,t){i.setAttribute(`data-bs-${yt(e)}`,t)},removeDataAttribute(i,e){i.removeAttribute(`data-bs-${yt(e)}`)},getDataAttributes(i){if(!i)return{};const e={};return Object.keys(i.dataset).filter(t=>t.startsWith("bs")).forEach(t=>{let n=t.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=ri(i.dataset[t])}),e},getDataAttribute:(i,e)=>ri(i.getAttribute(`data-bs-${yt(e)}`)),offset(i){const e=i.getBoundingClientRect();return{top:e.top+window.pageYOffset,left:e.left+window.pageXOffset}},position:i=>({top:i.offsetTop,left:i.offsetLeft})},m={find:(i,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,i)),findOne:(i,e=document.documentElement)=>Element.prototype.querySelector.call(e,i),children:(i,e)=>[].concat(...i.children).filter(t=>t.matches(e)),parents(i,e){const t=[];let n=i.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(e)&&t.push(n),n=n.parentNode;return t},prev(i,e){let t=i.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(i,e){let t=i.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(i){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(", ");return this.find(e,i).filter(t=>!ue(t)&&Pe(t))}},ai="carousel",li={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Gn={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},pe="next",me="prev",ge="left",Be="right",Jn={ArrowLeft:Be,ArrowRight:ge},ci="slid.bs.carousel",_e="active",et=".active.carousel-item";class Z extends Q{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=m.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return li}static get NAME(){return ai}next(){this._slide(pe)}nextWhenVisible(){!document.hidden&&Pe(this._element)&&this.next()}prev(){this._slide(me)}pause(e){e||(this._isPaused=!0),m.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Vt(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=m.findOne(et,this._element);const t=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(!this._isSliding)return t===e?(this.pause(),void this.cycle()):void this._slide(e>t?pe:me,this._items[e]);l.one(this._element,ci,()=>this.to(e))}}_getConfig(e){return e=v(v(v({},li),N.getDataAttributes(this._element)),"object"==typeof e?e:{}),J(ai,e,Gn),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Be:ge)}_addEventListeners(){this._config.keyboard&&l.on(this._element,"keydown.bs.carousel",e=>this._keydown(e)),"hover"===this._config.pause&&(l.on(this._element,"mouseenter.bs.carousel",e=>this.pause(e)),l.on(this._element,"mouseleave.bs.carousel",e=>this.cycle(e))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=o=>this._pointerEvent&&("pen"===o.pointerType||"touch"===o.pointerType),t=o=>{e(o)?this.touchStartX=o.clientX:this._pointerEvent||(this.touchStartX=o.touches[0].clientX)},n=o=>{this.touchDeltaX=o.touches&&o.touches.length>1?0:o.touches[0].clientX-this.touchStartX},s=o=>{e(o)&&(this.touchDeltaX=o.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(r=>this.cycle(r),500+this._config.interval))};m.find(".carousel-item img",this._element).forEach(o=>{l.on(o,"dragstart.bs.carousel",r=>r.preventDefault())}),this._pointerEvent?(l.on(this._element,"pointerdown.bs.carousel",o=>t(o)),l.on(this._element,"pointerup.bs.carousel",o=>s(o)),this._element.classList.add("pointer-event")):(l.on(this._element,"touchstart.bs.carousel",o=>t(o)),l.on(this._element,"touchmove.bs.carousel",o=>n(o)),l.on(this._element,"touchend.bs.carousel",o=>s(o)))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Jn[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?m.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){return Qt(this._items,t,e===pe,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),s=this._getItemIndex(m.findOne(et,this._element));return l.trigger(this._element,"slide.bs.carousel",{relatedTarget:e,direction:t,from:s,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=m.findOne(".active",this._indicatorsElement);t.classList.remove(_e),t.removeAttribute("aria-current");const n=m.find("[data-bs-target]",this._indicatorsElement);for(let s=0;s<n.length;s++)if(Number.parseInt(n[s].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[s].classList.add(_e),n[s].setAttribute("aria-current","true");break}}}_updateInterval(){const e=this._activeElement||m.findOne(et,this._element);if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}_slide(e,t){const n=this._directionToOrder(e),s=m.findOne(et,this._element),o=this._getItemIndex(s),r=t||this._getItemByOrder(n,s),a=this._getItemIndex(r),c=Boolean(this._interval),d=n===pe,u=d?"carousel-item-start":"carousel-item-end",h=d?"carousel-item-next":"carousel-item-prev",y=this._orderToDirection(n);if(r&&r.classList.contains(_e))return void(this._isSliding=!1);if(this._isSliding||this._triggerSlideEvent(r,y).defaultPrevented||!s||!r)return;this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(r),this._activeElement=r;const f=()=>{l.trigger(this._element,ci,{relatedTarget:r,direction:y,from:o,to:a})};this._element.classList.contains("slide")?(r.classList.add(h),s.classList.add(u),r.classList.add(u),this._queueCallback(()=>{r.classList.remove(u,h),r.classList.add(_e),s.classList.remove(_e,h,u),this._isSliding=!1,setTimeout(f,0)},s,!0)):(s.classList.remove(_e),r.classList.add(_e),this._isSliding=!1,f()),c&&this.cycle()}_directionToOrder(e){return[Be,ge].includes(e)?R()?e===ge?me:pe:e===ge?pe:me:e}_orderToDirection(e){return[pe,me].includes(e)?R()?e===me?ge:Be:e===me?Be:ge:e}static carouselInterface(e,t){const n=Z.getOrCreateInstance(e,t);let{_config:s}=n;"object"==typeof t&&(s=v(v({},s),t));const o="string"==typeof t?t:s.slide;if("number"==typeof t)n.to(t);else if("string"==typeof o){if(void 0===n[o])throw new TypeError(`No method named "${o}"`);n[o]()}else s.interval&&s.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each(function(){Z.carouselInterface(this,e)})}static dataApiClickHandler(e){const t=oe(this);if(!t||!t.classList.contains("carousel"))return;const n=v(v({},N.getDataAttributes(t)),N.getDataAttributes(this)),s=this.getAttribute("data-bs-slide-to");s&&(n.interval=!1),Z.carouselInterface(t,n),s&&Z.getInstance(t).to(s),e.preventDefault()}}l.on(document,"click.bs.carousel.data-api","[data-bs-slide], [data-bs-slide-to]",Z.dataApiClickHandler),l.on(window,"load.bs.carousel.data-api",()=>{const i=m.find('[data-bs-ride="carousel"]');for(let e=0,t=i.length;e<t;e++)Z.carouselInterface(i[e],Z.getInstance(i[e]))}),V(Z);const hi="collapse",di={toggle:!0,parent:null},Zn={toggle:"boolean",parent:"(null|element)"},wt="show",tt="collapse",it="collapsing",ui="collapsed",fi=":scope .collapse .collapse",Et='[data-bs-toggle="collapse"]';class be extends Q{constructor(e,t){super(e),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const n=m.find(Et);for(let s=0,o=n.length;s<o;s++){const r=n[s],a=B(r),c=m.find(a).filter(d=>d===this._element);null!==a&&c.length&&(this._selector=a,this._triggerArray.push(r))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return di}static get NAME(){return hi}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const r=m.find(fi,this._config.parent);t=m.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(a=>!r.includes(a))}const n=m.findOne(this._selector);if(t.length){const r=t.find(a=>n!==a);if(e=r?be.getInstance(r):null,e&&e._isTransitioning)return}if(l.trigger(this._element,"show.bs.collapse").defaultPrevented)return;t.forEach(r=>{n!==r&&be.getOrCreateInstance(r,{toggle:!1}).hide(),e||je.set(r,"bs.collapse",null)});const s=this._getDimension();this._element.classList.remove(tt),this._element.classList.add(it),this._element.style[s]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=`scroll${s[0].toUpperCase()+s.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(it),this._element.classList.add(tt,wt),this._element.style[s]="",l.trigger(this._element,"shown.bs.collapse")},this._element,!0),this._element.style[s]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||l.trigger(this._element,"hide.bs.collapse").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(it),this._element.classList.remove(tt,wt);const t=this._triggerArray.length;for(let n=0;n<t;n++){const s=this._triggerArray[n],o=oe(s);o&&!this._isShown(o)&&this._addAriaAndCollapsedClass([s],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(it),this._element.classList.add(tt),l.trigger(this._element,"hidden.bs.collapse")},this._element,!0)}_isShown(e=this._element){return e.classList.contains(wt)}_getConfig(e){return(e=v(v(v({},di),N.getDataAttributes(this._element)),e)).toggle=Boolean(e.toggle),e.parent=re(e.parent),J(hi,e,Zn),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=m.find(fi,this._config.parent);m.find(Et,this._config.parent).filter(t=>!e.includes(t)).forEach(t=>{const n=oe(t);n&&this._addAriaAndCollapsedClass([t],this._isShown(n))})}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach(n=>{t?n.classList.remove(ui):n.classList.add(ui),n.setAttribute("aria-expanded",t)})}static jQueryInterface(e){return this.each(function(){const t={};"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=be.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}})}}l.on(document,"click.bs.collapse.data-api",Et,function(i){("A"===i.target.tagName||i.delegateTarget&&"A"===i.delegateTarget.tagName)&&i.preventDefault();const e=B(this);m.find(e).forEach(t=>{be.getOrCreateInstance(t,{toggle:!1}).toggle()})}),V(be);var W="top",q="bottom",F="right",$="left",nt="auto",Oe=[W,q,F,$],ve="start",Ce="end",pi="clippingParents",At="viewport",ke="popper",mi="reference",Tt=Oe.reduce(function(i,e){return i.concat([e+"-"+ve,e+"-"+Ce])},[]),Ot=[].concat(Oe,[nt]).reduce(function(i,e){return i.concat([e,e+"-"+ve,e+"-"+Ce])},[]),gi="beforeRead",bi="afterRead",vi="beforeMain",wi="afterMain",Ei="beforeWrite",Ti="afterWrite",Oi=[gi,"read",bi,vi,"main",wi,Ei,"write",Ti];function ee(i){return i?(i.nodeName||"").toLowerCase():null}function G(i){if(null==i)return window;if("[object Window]"!==i.toString()){var e=i.ownerDocument;return e&&e.defaultView||window}return i}function Re(i){return i instanceof G(i).Element||i instanceof Element}function K(i){return i instanceof G(i).HTMLElement||i instanceof HTMLElement}function Ci(i){return"undefined"!=typeof ShadowRoot&&(i instanceof G(i).ShadowRoot||i instanceof ShadowRoot)}const Ct={name:"applyStyles",enabled:!0,phase:"write",fn:function(i){var e=i.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},s=e.attributes[t]||{},o=e.elements[t];K(o)&&ee(o)&&(Object.assign(o.style,n),Object.keys(s).forEach(function(r){var a=s[r];!1===a?o.removeAttribute(r):o.setAttribute(r,!0===a?"":a)}))})},effect:function(i){var e=i.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(n){var s=e.elements[n],o=e.attributes[n]||{},r=Object.keys(e.styles.hasOwnProperty(n)?e.styles[n]:t[n]).reduce(function(a,c){return a[c]="",a},{});K(s)&&ee(s)&&(Object.assign(s.style,r),Object.keys(o).forEach(function(a){s.removeAttribute(a)}))})}},requires:["computeStyles"]};function te(i){return i.split("-")[0]}function Le(i,e){var t=i.getBoundingClientRect();return{width:t.width/1,height:t.height/1,top:t.top/1,right:t.right/1,bottom:t.bottom/1,left:t.left/1,x:t.left/1,y:t.top/1}}function kt(i){var e=Le(i),t=i.offsetWidth,n=i.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:i.offsetLeft,y:i.offsetTop,width:t,height:n}}function ki(i,e){var t=e.getRootNode&&e.getRootNode();if(i.contains(e))return!0;if(t&&Ci(t)){var n=e;do{if(n&&i.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ie(i){return G(i).getComputedStyle(i)}function es(i){return["table","td","th"].indexOf(ee(i))>=0}function le(i){return((Re(i)?i.ownerDocument:i.document)||window.document).documentElement}function st(i){return"html"===ee(i)?i:i.assignedSlot||i.parentNode||(Ci(i)?i.host:null)||le(i)}function Li(i){return K(i)&&"fixed"!==ie(i).position?i.offsetParent:null}function We(i){for(var e=G(i),t=Li(i);t&&es(t)&&"static"===ie(t).position;)t=Li(t);return t&&("html"===ee(t)||"body"===ee(t)&&"static"===ie(t).position)?e:t||function(n){var s=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&K(n)&&"fixed"===ie(n).position)return null;for(var o=st(n);K(o)&&["html","body"].indexOf(ee(o))<0;){var r=ie(o);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||s&&"filter"===r.willChange||s&&r.filter&&"none"!==r.filter)return o;o=o.parentNode}return null}(i)||e}function Lt(i){return["top","bottom"].indexOf(i)>=0?"x":"y"}var ce=Math.max,$e=Math.min,ot=Math.round;function rt(i,e,t){return ce(i,$e(e,t))}function xi(i){return Object.assign({},{top:0,right:0,bottom:0,left:0},i)}function Di(i,e){return e.reduce(function(t,n){return t[n]=i,t},{})}const Si={name:"arrow",enabled:!0,phase:"main",fn:function(i){var e,C,L,t=i.state,n=i.name,s=i.options,o=t.elements.arrow,r=t.modifiersData.popperOffsets,a=te(t.placement),c=Lt(a),d=[$,F].indexOf(a)>=0?"height":"width";if(o&&r){var u=(L=t,xi("number"!=typeof(C="function"==typeof(C=s.padding)?C(Object.assign({},L.rects,{placement:L.placement})):C)?C:Di(C,Oe))),h=kt(o),y="y"===c?W:$,f="y"===c?q:F,p=t.rects.reference[d]+t.rects.reference[c]-r[c]-t.rects.popper[d],_=r[c]-t.rects.reference[c],g=We(o),k=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,w=k/2-h[d]/2+(p/2-_/2),E=rt(u[y],w,k-h[d]-u[f]);t.modifiersData[n]=((e={})[c]=E,e.centerOffset=E-w,e)}},effect:function(i){var e=i.state,t=i.options.element,n=void 0===t?"[data-popper-arrow]":t;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&ki(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xe(i){return i.split("-")[1]}var ts={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ni(i){var e,P,X,D,t=i.popper,n=i.popperRect,s=i.placement,o=i.variation,r=i.offsets,a=i.position,c=i.gpuAcceleration,d=i.adaptive,u=i.roundOffsets,h=!0===u?(X=(P=r).y,D=window.devicePixelRatio||1,{x:ot(ot(P.x*D)/D)||0,y:ot(ot(X*D)/D)||0}):"function"==typeof u?u(r):r,y=h.x,f=void 0===y?0:y,p=h.y,_=void 0===p?0:p,g=r.hasOwnProperty("x"),k=r.hasOwnProperty("y"),A=$,b=W,T=window;if(d){var w=We(t),E="clientHeight",O="clientWidth";w===G(t)&&"static"!==ie(w=le(t)).position&&"absolute"===a&&(E="scrollHeight",O="scrollWidth"),w=w,s!==W&&(s!==$&&s!==F||o!==Ce)||(b=q,_-=w[E]-n.height,_*=c?1:-1),s!==$&&(s!==W&&s!==q||o!==Ce)||(A=F,f-=w[O]-n.width,f*=c?1:-1)}var C,L=Object.assign({position:a},d&&ts);return Object.assign({},L,c?((C={})[b]=k?"0":"",C[A]=g?"0":"",C.transform=(T.devicePixelRatio||1)<=1?"translate("+f+"px, "+_+"px)":"translate3d("+f+"px, "+_+"px, 0)",C):((e={})[b]=k?_+"px":"",e[A]=g?f+"px":"",e.transform="",e))}const xt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(i){var e=i.state,t=i.options,n=t.gpuAcceleration,s=void 0===n||n,o=t.adaptive,r=void 0===o||o,a=t.roundOffsets,c=void 0===a||a,d={placement:te(e.placement),variation:xe(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:s};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Ni(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:r,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Ni(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};var at={passive:!0};const Dt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(i){var e=i.state,t=i.instance,n=i.options,s=n.scroll,o=void 0===s||s,r=n.resize,a=void 0===r||r,c=G(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(u){u.addEventListener("scroll",t.update,at)}),a&&c.addEventListener("resize",t.update,at),function(){o&&d.forEach(function(u){u.removeEventListener("scroll",t.update,at)}),a&&c.removeEventListener("resize",t.update,at)}},data:{}};var is={left:"right",right:"left",bottom:"top",top:"bottom"};function lt(i){return i.replace(/left|right|bottom|top/g,function(e){return is[e]})}var ns={start:"end",end:"start"};function Ii(i){return i.replace(/start|end/g,function(e){return ns[e]})}function St(i){var e=G(i);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Nt(i){return Le(le(i)).left+St(i).scrollLeft}function It(i){var e=ie(i);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function Pi(i){return["html","body","#document"].indexOf(ee(i))>=0?i.ownerDocument.body:K(i)&&It(i)?i:Pi(st(i))}function ze(i,e){var t;void 0===e&&(e=[]);var n=Pi(i),s=n===(null==(t=i.ownerDocument)?void 0:t.body),o=G(n),r=s?[o].concat(o.visualViewport||[],It(n)?n:[]):n,a=e.concat(r);return s?a:a.concat(ze(st(r)))}function Pt(i){return Object.assign({},i,{left:i.x,top:i.y,right:i.x+i.width,bottom:i.y+i.height})}function ji(i,e){return e===At?Pt((n=G(t=i),r=(s=le(t)).clientWidth,a=s.clientHeight,c=0,d=0,(o=n.visualViewport)&&(r=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(c=o.offsetLeft,d=o.offsetTop)),{width:r,height:a,x:c+Nt(t),y:d})):K(e)?function(t){var n=Le(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e):Pt(function(t){var n,s=le(t),o=St(t),r=null==(n=t.ownerDocument)?void 0:n.body,a=ce(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),c=ce(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),d=-o.scrollLeft+Nt(t),u=-o.scrollTop;return"rtl"===ie(r||s).direction&&(d+=ce(s.clientWidth,r?r.clientWidth:0)-a),{width:a,height:c,x:d,y:u}}(le(i)));var t,n,s,o,r,a,c,d}function Mi(i){var e,t=i.reference,n=i.element,s=i.placement,o=s?te(s):null,r=s?xe(s):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2;switch(o){case W:e={x:a,y:t.y-n.height};break;case q:e={x:a,y:t.y+t.height};break;case F:e={x:t.x+t.width,y:c};break;case $:e={x:t.x-n.width,y:c};break;default:e={x:t.x,y:t.y}}var d=o?Lt(o):null;if(null!=d){var u="y"===d?"height":"width";switch(r){case ve:e[d]=e[d]-(t[u]/2-n[u]/2);break;case Ce:e[d]=e[d]+(t[u]/2-n[u]/2)}}return e}function De(i,e){void 0===e&&(e={});var M,X,D,x,Ae,z,Ee,ne,j,n=e.placement,s=void 0===n?i.placement:n,o=e.boundary,r=void 0===o?pi:o,a=e.rootBoundary,c=void 0===a?At:a,d=e.elementContext,u=void 0===d?ke:d,h=e.altBoundary,y=void 0!==h&&h,f=e.padding,p=void 0===f?0:f,_=xi("number"!=typeof p?p:Di(p,Oe)),k=i.rects.popper,A=i.elements[y?u===ke?mi:ke:u],b=(M=Re(A)?A:A.contextElement||le(i.elements.popper),D=c,Ee="clippingParents"===(X=r)?(Ae=ze(st(x=M)),Re(z=["absolute","fixed"].indexOf(ie(x).position)>=0&&K(x)?We(x):x)?Ae.filter(function(H){return Re(H)&&ki(H,z)&&"body"!==ee(H)}):[]):[].concat(X),j=(ne=[].concat(Ee,[D])).reduce(function(x,Ae){var z=ji(M,Ae);return x.top=ce(z.top,x.top),x.right=$e(z.right,x.right),x.bottom=$e(z.bottom,x.bottom),x.left=ce(z.left,x.left),x},ji(M,ne[0])),j.width=j.right-j.left,j.height=j.bottom-j.top,j.x=j.left,j.y=j.top,j),T=Le(i.elements.reference),w=Mi({reference:T,element:k,strategy:"absolute",placement:s}),E=Pt(Object.assign({},k,w)),O=u===ke?E:T,C={top:b.top-O.top+_.top,bottom:O.bottom-b.bottom+_.bottom,left:b.left-O.left+_.left,right:O.right-b.right+_.right},L=i.modifiersData.offset;if(u===ke&&L){var P=L[s];Object.keys(C).forEach(function(M){var X=[F,q].indexOf(M)>=0?1:-1,D=[W,q].indexOf(M)>=0?"y":"x";C[M]+=P[D]*X})}return C}const Hi={name:"flip",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,n=i.name;if(!e.modifiersData[n]._skip){for(var s=t.mainAxis,o=void 0===s||s,r=t.altAxis,a=void 0===r||r,c=t.fallbackPlacements,d=t.padding,u=t.boundary,h=t.rootBoundary,y=t.altBoundary,f=t.flipVariations,p=void 0===f||f,_=t.allowedAutoPlacements,g=e.options.placement,k=te(g),A=c||(k!==g&&p?function(H){if(te(H)===nt)return[];var Y=lt(H);return[Ii(H),Y,Ii(Y)]}(g):[lt(g)]),b=[g].concat(A).reduce(function(H,Y){return H.concat(te(Y)===nt?function ss(i,e){void 0===e&&(e={});var s=e.boundary,o=e.rootBoundary,r=e.padding,a=e.flipVariations,c=e.allowedAutoPlacements,d=void 0===c?Ot:c,u=xe(e.placement),h=u?a?Tt:Tt.filter(function(p){return xe(p)===u}):Oe,y=h.filter(function(p){return d.indexOf(p)>=0});0===y.length&&(y=h);var f=y.reduce(function(p,_){return p[_]=De(i,{placement:_,boundary:s,rootBoundary:o,padding:r})[te(_)],p},{});return Object.keys(f).sort(function(p,_){return f[p]-f[_]})}(e,{placement:Y,boundary:u,rootBoundary:h,padding:d,flipVariations:p,allowedAutoPlacements:_}):Y)},[]),T=e.rects.reference,w=e.rects.popper,E=new Map,O=!0,C=b[0],L=0;L<b.length;L++){var P=b[L],M=te(P),X=xe(P)===ve,D=[W,q].indexOf(M)>=0,Ee=D?"width":"height",ne=De(e,{placement:P,boundary:u,rootBoundary:h,altBoundary:y,padding:d}),se=D?X?F:$:X?q:W;T[Ee]>w[Ee]&&(se=lt(se));var j=lt(se),x=[];if(o&&x.push(ne[M]<=0),a&&x.push(ne[se]<=0,ne[j]<=0),x.every(function(H){return H})){C=P,O=!1;break}E.set(P,x)}if(O)for(var Ae=function(H){var Y=b.find(function(pt){var Ge=E.get(pt);if(Ge)return Ge.slice(0,H).every(function(Ie){return Ie})});if(Y)return C=Y,"break"},z=p?3:1;z>0&&"break"!==Ae(z);z--);e.placement!==C&&(e.modifiersData[n]._skip=!0,e.placement=C,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Bi(i,e,t){return void 0===t&&(t={x:0,y:0}),{top:i.top-e.height-t.y,right:i.right-e.width+t.x,bottom:i.bottom-e.height+t.y,left:i.left-e.width-t.x}}function Ri(i){return[W,F,q,$].some(function(e){return i[e]>=0})}const Wi={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(i){var e=i.state,t=i.name,n=e.rects.reference,s=e.rects.popper,o=e.modifiersData.preventOverflow,r=De(e,{elementContext:"reference"}),a=De(e,{altBoundary:!0}),c=Bi(r,n),d=Bi(a,s,o),u=Ri(c),h=Ri(d);e.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}},$i={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(i){var e=i.state,n=i.name,s=i.options.offset,o=void 0===s?[0,0]:s,r=Ot.reduce(function(u,h){return u[h]=(f=e.rects,p=o,_=te(y=h),g=[$,W].indexOf(_)>=0?-1:1,A=(A=(k="function"==typeof p?p(Object.assign({},f,{placement:y})):p)[0])||0,b=((b=k[1])||0)*g,[$,F].indexOf(_)>=0?{x:b,y:A}:{x:A,y:b}),u;var y,f,p,_,g,k,A,b},{}),a=r[e.placement],d=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=d),e.modifiersData[n]=r}},jt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(i){var e=i.state;e.modifiersData[i.name]=Mi({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},zi={name:"preventOverflow",enabled:!0,phase:"main",fn:function(i){var e=i.state,t=i.options,n=i.name,s=t.mainAxis,o=void 0===s||s,r=t.altAxis,a=void 0!==r&&r,y=t.tether,f=void 0===y||y,p=t.tetherOffset,_=void 0===p?0:p,g=De(e,{boundary:t.boundary,rootBoundary:t.rootBoundary,padding:t.padding,altBoundary:t.altBoundary}),k=te(e.placement),A=xe(e.placement),b=!A,T=Lt(k),w="x"===T?"y":"x",E=e.modifiersData.popperOffsets,O=e.rects.reference,C=e.rects.popper,L="function"==typeof _?_(Object.assign({},e.rects,{placement:e.placement})):_,P={x:0,y:0};if(E){if(o||a){var M="y"===T?W:$,X="y"===T?q:F,D="y"===T?"height":"width",Ee=E[T],ne=E[T]+g[M],se=E[T]-g[X],j=f?-C[D]/2:0,x=A===ve?O[D]:C[D],Ae=A===ve?-C[D]:-O[D],z=e.elements.arrow,H=f&&z?kt(z):{width:0,height:0},Y=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},pt=Y[M],Ge=Y[X],Ie=rt(0,O[D],H[D]),Bs=b?O[D]/2-j-Ie-pt-L:x-Ie-pt-L,Rs=b?-O[D]/2+j+Ie+Ge+L:Ae+Ie+Ge+L,Ut=e.elements.arrow&&We(e.elements.arrow),Hn=e.modifiersData.offset?e.modifiersData.offset[e.placement][T]:0,Bn=E[T]+Bs-Hn-(Ut?"y"===T?Ut.clientTop||0:Ut.clientLeft||0:0),Rn=E[T]+Rs-Hn;if(o){var Wn=rt(f?$e(ne,Bn):ne,Ee,f?ce(se,Rn):se);E[T]=Wn,P[T]=Wn-Ee}if(a){var mt=E[w],$n=mt+g["x"===T?W:$],zn=mt-g["x"===T?q:F],qn=rt(f?$e($n,Bn):$n,mt,f?ce(zn,Rn):zn);E[w]=qn,P[w]=qn-mt}}e.modifiersData[n]=P}},requiresIfExists:["offset"]};function os(i,e,t){void 0===t&&(t=!1);var n=K(e);K(e)&&e.getBoundingClientRect();var s,o,r=le(e),a=Le(i),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(n||!n&&!t)&&(("body"!==ee(e)||It(r))&&(c=(s=e)!==G(s)&&K(s)?{scrollLeft:(o=s).scrollLeft,scrollTop:o.scrollTop}:St(s)),K(e)?((d=Le(e)).x+=e.clientLeft,d.y+=e.clientTop):r&&(d.x=Nt(r))),{x:a.left+c.scrollLeft-d.x,y:a.top+c.scrollTop-d.y,width:a.width,height:a.height}}function rs(i){var e=new Map,t=new Set,n=[];function s(o){t.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach(function(r){if(!t.has(r)){var a=e.get(r);a&&s(a)}}),n.push(o)}return i.forEach(function(o){e.set(o.name,o)}),i.forEach(function(o){t.has(o.name)||s(o)}),n}var qi={placement:"bottom",modifiers:[],strategy:"absolute"};function Fi(){for(var i=arguments.length,e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return!e.some(function(n){return!(n&&"function"==typeof n.getBoundingClientRect)})}function ct(i){void 0===i&&(i={});var t=i.defaultModifiers,n=void 0===t?[]:t,s=i.defaultOptions,o=void 0===s?qi:s;return function(r,a,c){void 0===c&&(c=o);var d,u,h={placement:"bottom",orderedModifiers:[],options:Object.assign({},qi,o),modifiersData:{},elements:{reference:r,popper:a},attributes:{},styles:{}},y=[],f=!1,p={state:h,setOptions:function(g){var k="function"==typeof g?g(h.options):g;_(),h.options=Object.assign({},o,h.options,k),h.scrollParents={reference:Re(r)?ze(r):r.contextElement?ze(r.contextElement):[],popper:ze(a)};var A,b,w,E,T=(A=[].concat(n,h.options.modifiers),b=A.reduce(function(w,E){var O=w[E.name];return w[E.name]=O?Object.assign({},O,E,{options:Object.assign({},O.options,E.options),data:Object.assign({},O.data,E.data)}):E,w},{}),w=Object.keys(b).map(function(w){return b[w]}),E=rs(w),Oi.reduce(function(O,C){return O.concat(E.filter(function(L){return L.phase===C}))},[]));return h.orderedModifiers=T.filter(function(w){return w.enabled}),h.orderedModifiers.forEach(function(w){var O=w.options,L=w.effect;if("function"==typeof L){var P=L({state:h,name:w.name,instance:p,options:void 0===O?{}:O});y.push(P||function(){})}}),p.update()},forceUpdate:function(){if(!f){var g=h.elements,k=g.reference,A=g.popper;if(Fi(k,A)){h.rects={reference:os(k,We(A),"fixed"===h.options.strategy),popper:kt(A)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(L){return h.modifiersData[L.name]=Object.assign({},L.data)});for(var b=0;b<h.orderedModifiers.length;b++)if(!0!==h.reset){var T=h.orderedModifiers[b],w=T.fn,E=T.options;"function"==typeof w&&(h=w({state:h,options:void 0===E?{}:E,name:T.name,instance:p})||h)}else h.reset=!1,b=-1}}},update:(d=function(){return new Promise(function(g){p.forceUpdate(),g(h)})},function(){return u||(u=new Promise(function(g){Promise.resolve().then(function(){u=void 0,g(d())})})),u}),destroy:function(){_(),f=!0}};if(!Fi(r,a))return p;function _(){y.forEach(function(g){return g()}),y=[]}return p.setOptions(c).then(function(g){!f&&c.onFirstUpdate&&c.onFirstUpdate(g)}),p}}var as=ct(),ls=ct({defaultModifiers:[Dt,jt,xt,Ct]}),Mt=ct({defaultModifiers:[Dt,jt,xt,Ct,$i,Hi,zi,Si,Wi]});const Ui=Object.freeze({__proto__:null,popperGenerator:ct,detectOverflow:De,createPopperBase:as,createPopper:Mt,createPopperLite:ls,top:W,bottom:q,right:F,left:$,auto:nt,basePlacements:Oe,start:ve,end:Ce,clippingParents:pi,viewport:At,popper:ke,reference:mi,variationPlacements:Tt,placements:Ot,beforeRead:gi,read:"read",afterRead:bi,beforeMain:vi,main:"main",afterMain:wi,beforeWrite:Ei,write:"write",afterWrite:Ti,modifierPhases:Oi,applyStyles:Ct,arrow:Si,computeStyles:xt,eventListeners:Dt,flip:Hi,hide:Wi,offset:$i,popperOffsets:jt,preventOverflow:zi}),Ht="dropdown",Bt="Escape",Ki="ArrowUp",Rt="ArrowDown",cs=new RegExp("ArrowUp|ArrowDown|Escape"),Xi="click.bs.dropdown.data-api",Yi="keydown.bs.dropdown.data-api",Se="show",qe='[data-bs-toggle="dropdown"]',Wt=".dropdown-menu",hs=R()?"top-end":"top-start",ds=R()?"top-start":"top-end",us=R()?"bottom-end":"bottom-start",fs=R()?"bottom-start":"bottom-end",ps=R()?"left-start":"right-start",ms=R()?"right-start":"left-start",gs={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},_s={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class U extends Q{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return gs}static get DefaultType(){return _s}static get NAME(){return Ht}toggle(){return this._isShown()?this.hide():this.show()}show(){if(ue(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(l.trigger(this._element,"show.bs.dropdown",e).defaultPrevented)return;const t=U.getParentFromElement(this._element);this._inNavbar?N.setDataAttribute(this._menu,"popper","none"):this._createPopper(t),"ontouchstart"in document.documentElement&&!t.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(n=>l.on(n,"mouseover",Je)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Se),this._element.classList.add(Se),l.trigger(this._element,"shown.bs.dropdown",e)}hide(){!ue(this._element)&&this._isShown(this._menu)&&this._completeHide({relatedTarget:this._element})}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){l.trigger(this._element,"hide.bs.dropdown",e).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>l.off(t,"mouseover",Je)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Se),this._element.classList.remove(Se),this._element.setAttribute("aria-expanded","false"),N.removeDataAttribute(this._menu,"popper"),l.trigger(this._element,"hidden.bs.dropdown",e))}_getConfig(e){if(e=v(v(v({},this.constructor.Default),N.getDataAttributes(this._element)),e),J(Ht,e,this.constructor.DefaultType),"object"==typeof e.reference&&!de(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${Ht.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(e){if(void 0===Ui)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=e:de(this._config.reference)?t=re(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const n=this._getPopperConfig(),s=n.modifiers.find(o=>"applyStyles"===o.name&&!1===o.enabled);this._popper=Mt(t,this._menu,n),s&&N.setDataAttribute(this._menu,"popper","static")}_isShown(e=this._element){return e.classList.contains(Se)}_getMenuElement(){return m.next(this._element,Wt)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains("dropend"))return ps;if(e.classList.contains("dropstart"))return ms;const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ds:hs:t?fs:us}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),v(v({},e),"function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}_selectMenuItem({key:e,target:t}){const n=m.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Pe);n.length&&Qt(n,t,e===Rt,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=U.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e&&(2===e.button||"keyup"===e.type&&"Tab"!==e.key))return;const t=m.find(qe);for(let n=0,s=t.length;n<s;n++){const o=U.getInstance(t[n]);if(!o||!1===o._config.autoClose||!o._isShown())continue;const r={relatedTarget:o._element};if(e){const a=e.composedPath(),c=a.includes(o._menu);if(a.includes(o._element)||"inside"===o._config.autoClose&&!c||"outside"===o._config.autoClose&&c||o._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(r.clickEvent=e)}o._completeHide(r)}}static getParentFromElement(e){return oe(e)||e.parentNode}static dataApiKeydownHandler(e){if(/input|textarea/i.test(e.target.tagName)?"Space"===e.key||e.key!==Bt&&(e.key!==Rt&&e.key!==Ki||e.target.closest(Wt)):!cs.test(e.key))return;const t=this.classList.contains(Se);if(!t&&e.key===Bt||(e.preventDefault(),e.stopPropagation(),ue(this)))return;const n=this.matches(qe)?this:m.prev(this,qe)[0],s=U.getOrCreateInstance(n);if(e.key!==Bt)return e.key===Ki||e.key===Rt?(t||s.show(),void s._selectMenuItem(e)):void(t&&"Space"!==e.key||U.clearMenus());s.hide()}}l.on(document,Yi,qe,U.dataApiKeydownHandler),l.on(document,Yi,Wt,U.dataApiKeydownHandler),l.on(document,Xi,U.clearMenus),l.on(document,"keyup.bs.dropdown.data-api",U.clearMenus),l.on(document,Xi,qe,function(i){i.preventDefault(),U.getOrCreateInstance(this).toggle()}),V(U);const Qi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Gi=".sticky-top";class $t{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,"paddingRight",t=>t+e),this._setElementAttributes(Qi,"paddingRight",t=>t+e),this._setElementAttributes(Gi,"marginRight",t=>t-e)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const s=this.getWidth();this._applyManipulationCallback(e,o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+s)return;this._saveInitialAttribute(o,t);const r=window.getComputedStyle(o)[t];o.style[t]=`${n(Number.parseFloat(r))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(Qi,"paddingRight"),this._resetElementAttributes(Gi,"marginRight")}_saveInitialAttribute(e,t){const n=e.style[t];n&&N.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,n=>{const s=N.getDataAttribute(n,t);void 0===s?n.style.removeProperty(t):(N.removeDataAttribute(n,t),n.style[t]=s)})}_applyManipulationCallback(e,t){de(e)?t(e):m.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const bs={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},vs={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},Zi="mousedown.bs.backdrop";class en{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&this._getElement(),this._getElement().classList.add("show"),this._emulateAnimation(()=>{fe(e)})):fe(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),fe(e)})):fe(e)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_getConfig(e){return(e=v(v({},bs),"object"==typeof e?e:{})).rootElement=re(e.rootElement),J("backdrop",e,vs),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),l.on(this._getElement(),Zi,()=>{fe(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(l.off(this._element,Zi),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){Yt(e,this._getElement(),this._config.isAnimated)}}const ys={trapElement:null,autofocus:!0},ws={trapElement:"element",autofocus:"boolean"},tn=".bs.focustrap",nn="backward";class sn{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),l.off(document,tn),l.on(document,"focusin.bs.focustrap",n=>this._handleFocusin(n)),l.on(document,"keydown.tab.bs.focustrap",n=>this._handleKeydown(n)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,l.off(document,tn))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const s=m.focusableChildren(n);0===s.length?n.focus():this._lastTabNavDirection===nn?s[s.length-1].focus():s[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?nn:"forward")}_getConfig(e){return e=v(v({},ys),"object"==typeof e?e:{}),J("focustrap",e,ws),e}}const an={backdrop:!0,keyboard:!0,focus:!0},Es={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},ln="hidden.bs.modal",cn="show.bs.modal",hn="resize.bs.modal",dn="click.dismiss.bs.modal",un="keydown.dismiss.bs.modal",fn="mousedown.dismiss.bs.modal",pn="modal-open",zt="modal-static";class ye extends Q{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=m.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new $t}static get Default(){return an}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||l.trigger(this._element,cn,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(pn),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),l.on(this._dialog,fn,()=>{l.one(this._element,"mouseup.dismiss.bs.modal",t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(e)))}hide(){if(!this._isShown||this._isTransitioning||l.trigger(this._element,"hide.bs.modal").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove("show"),l.off(this._element,dn),l.off(this._dialog,fn),this._queueCallback(()=>this._hideModal(),this._element,e)}dispose(){[window,this._dialog].forEach(e=>l.off(e,".bs.modal")),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new en({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_getConfig(e){return e=v(v(v({},an),N.getDataAttributes(this._element)),"object"==typeof e?e:{}),J("modal",e,Es),e}_showElement(e){const t=this._isAnimated(),n=m.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||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,n&&(n.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,l.trigger(this._element,"shown.bs.modal",{relatedTarget:e})},this._dialog,t)}_setEscapeEvent(){this._isShown?l.on(this._element,un,e=>{this._config.keyboard&&"Escape"===e.key?(e.preventDefault(),this.hide()):this._config.keyboard||"Escape"!==e.key||this._triggerBackdropTransition()}):l.off(this._element,un)}_setResizeEvent(){this._isShown?l.on(window,hn,()=>this._adjustDialog()):l.off(window,hn)}_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(pn),this._resetAdjustments(),this._scrollBar.reset(),l.trigger(this._element,ln)})}_showBackdrop(e){l.on(this._element,dn,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(l.trigger(this._element,"hidePrevented.bs.modal").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,s=t>document.documentElement.clientHeight;!s&&"hidden"===n.overflowY||e.contains(zt)||(s||(n.overflowY="hidden"),e.add(zt),this._queueCallback(()=>{e.remove(zt),s||this._queueCallback(()=>{n.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!R()||n&&!e&&R())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!R()||!n&&e&&R())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const n=ye.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}})}}l.on(document,"click.bs.modal.data-api",'[data-bs-toggle="modal"]',function(i){const e=oe(this);["A","AREA"].includes(this.tagName)&&i.preventDefault(),l.one(e,cn,n=>{n.defaultPrevented||l.one(e,ln,()=>{Pe(this)&&this.focus()})});const t=m.findOne(".modal.show");t&&ye.getInstance(t).hide(),ye.getOrCreateInstance(e).toggle(this)}),Ze(ye),V(ye);const gn="offcanvas",_n={backdrop:!0,keyboard:!0,scroll:!1},As={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},vn=".offcanvas.show",yn="hidden.bs.offcanvas";class he extends Q{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return gn}static get Default(){return _n}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||l.trigger(this._element,"show.bs.offcanvas",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new $t).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add("show"),this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),l.trigger(this._element,"shown.bs.offcanvas",{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(l.trigger(this._element,"hide.bs.offcanvas").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove("show"),this._backdrop.hide(),this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new $t).reset(),l.trigger(this._element,yn)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e=v(v(v({},_n),N.getDataAttributes(this._element)),"object"==typeof e?e:{}),J(gn,e,As),e}_initializeBackDrop(){return new en({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new sn({trapElement:this._element})}_addEventListeners(){l.on(this._element,"keydown.dismiss.bs.offcanvas",e=>{this._config.keyboard&&"Escape"===e.key&&this.hide()})}static jQueryInterface(e){return this.each(function(){const t=he.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}})}}l.on(document,"click.bs.offcanvas.data-api",'[data-bs-toggle="offcanvas"]',function(i){const e=oe(this);if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),ue(this))return;l.one(e,yn,()=>{Pe(this)&&this.focus()});const t=m.findOne(vn);t&&t!==e&&he.getInstance(t).hide(),he.getOrCreateInstance(e).toggle(this)}),l.on(window,"load.bs.offcanvas.data-api",()=>m.find(vn).forEach(i=>he.getOrCreateInstance(i).show())),Ze(he),V(he);const Ts=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Os=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Cs=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,ks=(i,e)=>{const t=i.nodeName.toLowerCase();if(e.includes(t))return!Ts.has(t)||Boolean(Os.test(i.nodeValue)||Cs.test(i.nodeValue));const n=e.filter(s=>s instanceof RegExp);for(let s=0,o=n.length;s<o;s++)if(n[s].test(t))return!0;return!1};function wn(i,e,t){if(!i.length)return i;if(t&&"function"==typeof t)return t(i);const n=(new window.DOMParser).parseFromString(i,"text/html"),s=[].concat(...n.body.querySelectorAll("*"));for(let o=0,r=s.length;o<r;o++){const a=s[o],c=a.nodeName.toLowerCase();if(!Object.keys(e).includes(c)){a.remove();continue}const d=[].concat(...a.attributes),u=[].concat(e["*"]||[],e[c]||[]);d.forEach(h=>{ks(h,u)||a.removeAttribute(h.nodeName)})}return n.body.innerHTML}const En="tooltip",Ls=new Set(["sanitize","allowList","sanitizeFn"]),xs={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},Ds={AUTO:"auto",TOP:"top",RIGHT:R()?"left":"right",BOTTOM:"bottom",LEFT:R()?"right":"left"},Ss={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],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:[]},popperConfig:null},Ns={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},ht="fade",Fe="show",Ue="show",An=".tooltip-inner",On="hide.bs.modal",dt="hover";class we extends Q{constructor(e,t){if(void 0===Ui)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Ss}static get NAME(){return En}static get Event(){return Ns}static get DefaultType(){return xs}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(Fe))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),l.off(this._element.closest(".modal"),On,this._hideModalHandler),this.tip&&this.tip.remove(),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 e=l.trigger(this._element,this.constructor.Event.SHOW),t=Kt(this._element),n=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(An).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const s=this.getTipElement(),o=(h=>{do{h+=Math.floor(1e6*Math.random())}while(document.getElementById(h));return h})(this.constructor.NAME);s.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this._config.animation&&s.classList.add(ht);const r="function"==typeof this._config.placement?this._config.placement.call(this,s,this._element):this._config.placement,a=this._getAttachment(r);this._addAttachmentClass(a);const{container:c}=this._config;je.set(s,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(s),l.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Mt(this._element,s,this._getPopperConfig(a)),s.classList.add(Fe);const d=this._resolvePossibleFunction(this._config.customClass);d&&s.classList.add(...d.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(h=>{l.on(h,"mouseover",Je)});const u=this.tip.classList.contains(ht);this._queueCallback(()=>{const h=this._hoverState;this._hoverState=null,l.trigger(this._element,this.constructor.Event.SHOWN),"out"===h&&this._leave(null,this)},this.tip,u)}hide(){if(!this._popper)return;const e=this.getTipElement();if(l.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(Fe),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(n=>l.off(n,"mouseover",Je)),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(ht);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==Ue&&e.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),l.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,t),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement("div");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(ht,Fe),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),An)}_sanitizeAndSetContent(e,t,n){const s=m.findOne(n,e);t||!s?this.setElementContent(s,t):s.remove()}setElementContent(e,t){if(null!==e)return de(t)?(t=re(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=wn(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,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:"onChange",enabled:!0,phase:"afterWrite",fn:n=>this._handlePopperPlacementChange(n)}],onFirstUpdate:n=>{n.options.placement!==n.placement&&this._handlePopperPlacementChange(n)}};return v(v({},t),"function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig)}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return Ds[e.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(e=>{if("click"===e)l.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if("manual"!==e){const n=e===dt?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;l.on(this._element,e===dt?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,this._config.selector,s=>this._enter(s)),l.on(this._element,n,this._config.selector,s=>this._leave(s))}}),this._hideModalHandler=()=>{this._element&&this.hide()},l.on(this._element.closest(".modal"),On,this._hideModalHandler),this._config.selector?this._config=gt(v({},this._config),{trigger:"manual",selector:""}):this._fixTitle()}_fixTitle(){const e=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?"focus":dt]=!0),t.getTipElement().classList.contains(Fe)||t._hoverState===Ue?t._hoverState=Ue:(clearTimeout(t._timeout),t._hoverState=Ue,t._config.delay&&t._config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===Ue&&t.show()},t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?"focus":dt]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t._config.delay&&t._config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=N.getDataAttributes(this._element);return Object.keys(t).forEach(n=>{Ls.has(n)&&delete t[n]}),(e=v(v(v({},this.constructor.Default),t),"object"==typeof e&&e?e:{})).container=!1===e.container?document.body:re(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),J(En,e,this.constructor.DefaultType),e.sanitize&&(e.template=wn(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=e.getAttribute("class").match(t);null!==n&&n.length>0&&n.map(s=>s.trim()).forEach(s=>e.classList.remove(s))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each(function(){const t=we.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}V(we);const Is=gt(v({},we.Default),{placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ps=gt(v({},we.DefaultType),{content:"(string|element|function)"}),js={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"};class ut extends we{static get Default(){return Is}static get NAME(){return"popover"}static get Event(){return js}static get DefaultType(){return Ps}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(e,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(e){return this.each(function(){const t=ut.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}V(ut);const kn="scrollspy",Ln={offset:10,method:"auto",target:""},Ms={offset:"number",method:"string",target:"(string|element)"},Ne="active",Ft=".nav-link, .list-group-item, .dropdown-item",xn="position";class Ve extends Q{constructor(e,t){super(e),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,l.on(this._scrollElement,"scroll.bs.scrollspy",()=>this._process()),this.refresh(),this._process()}static get Default(){return Ln}static get NAME(){return kn}refresh(){const t="auto"===this._config.method?this._scrollElement===this._scrollElement.window?"offset":xn:this._config.method,n=t===xn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),m.find(Ft,this._config.target).map(s=>{const o=B(s),r=o?m.findOne(o):null;if(r){const a=r.getBoundingClientRect();if(a.width||a.height)return[N[t](r).top+n,o]}return null}).filter(s=>s).sort((s,o)=>s[0]-o[0]).forEach(s=>{this._offsets.push(s[0]),this._targets.push(s[1])})}dispose(){l.off(this._scrollElement,".bs.scrollspy"),super.dispose()}_getConfig(e){return(e=v(v(v({},Ln),N.getDataAttributes(this._element)),"object"==typeof e&&e?e:{})).target=re(e.target)||document.documentElement,J(kn,e,Ms),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const s=this._targets[this._targets.length-1];this._activeTarget!==s&&this._activate(s)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let s=this._offsets.length;s--;)this._activeTarget!==this._targets[s]&&e>=this._offsets[s]&&(void 0===this._offsets[s+1]||e<this._offsets[s+1])&&this._activate(this._targets[s])}}_activate(e){this._activeTarget=e,this._clear();const t=Ft.split(",").map(s=>`${s}[data-bs-target="${e}"],${s}[href="${e}"]`),n=m.findOne(t.join(","),this._config.target);n.classList.add(Ne),n.classList.contains("dropdown-item")?m.findOne(".dropdown-toggle",n.closest(".dropdown")).classList.add(Ne):m.parents(n,".nav, .list-group").forEach(s=>{m.prev(s,".nav-link, .list-group-item").forEach(o=>o.classList.add(Ne)),m.prev(s,".nav-item").forEach(o=>{m.children(o,".nav-link").forEach(r=>r.classList.add(Ne))})}),l.trigger(this._scrollElement,"activate.bs.scrollspy",{relatedTarget:e})}_clear(){m.find(Ft,this._config.target).filter(e=>e.classList.contains(Ne)).forEach(e=>e.classList.remove(Ne))}static jQueryInterface(e){return this.each(function(){const t=Ve.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}l.on(window,"load.bs.scrollspy.data-api",()=>{m.find('[data-bs-spy="scroll"]').forEach(i=>new Ve(i))}),V(Ve);const Ke="active",Nn=".active",In=":scope > li > .active";class Xe extends Q{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Ke))return;let e;const t=oe(this._element),n=this._element.closest(".nav, .list-group");n&&(e=m.find("UL"===n.nodeName||"OL"===n.nodeName?In:Nn,n),e=e[e.length-1]);const s=e?l.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(l.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==s&&s.defaultPrevented)return;this._activate(this._element,n);const o=()=>{l.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),l.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,o):o()}_activate(e,t,n){const s=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?m.children(t,Nn):m.find(In,t))[0],o=n&&s&&s.classList.contains("fade"),r=()=>this._transitionComplete(e,s,n);s&&o?(s.classList.remove("show"),this._queueCallback(r,e,!0)):r()}_transitionComplete(e,t,n){if(t){t.classList.remove(Ke);const o=m.findOne(":scope > .dropdown-menu .active",t.parentNode);o&&o.classList.remove(Ke),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(Ke),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),e.classList.contains("fade")&&e.classList.add("show");let s=e.parentNode;if(s&&"LI"===s.nodeName&&(s=s.parentNode),s&&s.classList.contains("dropdown-menu")){const o=e.closest(".dropdown");o&&m.find(".dropdown-toggle",o).forEach(r=>r.classList.add(Ke)),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each(function(){const t=Xe.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}l.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(i){["A","AREA"].includes(this.tagName)&&i.preventDefault(),ue(this)||Xe.getOrCreateInstance(this).show()}),V(Xe);const Ye="show",ft="showing",Hs={animation:"boolean",autohide:"boolean",delay:"number"},Mn={animation:!0,autohide:!0,delay:5e3};class Qe extends Q{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return Hs}static get Default(){return Mn}static get NAME(){return"toast"}show(){l.trigger(this._element,"show.bs.toast").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(Ye),this._element.classList.add(ft),this._queueCallback(()=>{this._element.classList.remove(ft),l.trigger(this._element,"shown.bs.toast"),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this._element.classList.contains(Ye)&&(l.trigger(this._element,"hide.bs.toast").defaultPrevented||(this._element.classList.add(ft),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(ft),this._element.classList.remove(Ye),l.trigger(this._element,"hidden.bs.toast")},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(Ye)&&this._element.classList.remove(Ye),super.dispose()}_getConfig(e){return e=v(v(v({},Mn),N.getDataAttributes(this._element)),"object"==typeof e&&e?e:{}),J("toast",e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){l.on(this._element,"mouseover.bs.toast",e=>this._onInteraction(e,!0)),l.on(this._element,"mouseout.bs.toast",e=>this._onInteraction(e,!1)),l.on(this._element,"focusin.bs.toast",e=>this._onInteraction(e,!0)),l.on(this._element,"focusout.bs.toast",e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Qe.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return Ze(Qe),V(Qe),{Alert:Me,Button:He,Carousel:Z,Collapse:be,Dropdown:U,Modal:ye,Offcanvas:he,Popover:ut,ScrollSpy:Ve,Tab:Xe,Toast:Qe,Tooltip:we}});