-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscripts.e2552fd72120c73e.js
1 lines (1 loc) · 58.3 KB
/
scripts.e2552fd72120c73e.js
1
!function(U,G){"object"==typeof exports&&typeof module<"u"?module.exports=G(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],G):(U=typeof globalThis<"u"?globalThis:U||self).bootstrap=G(U.Popper)}(this,function(U){"use strict";const le=function G(s){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s)for(const t in s)if("default"!==t){const i=Object.getOwnPropertyDescriptor(s,t);Object.defineProperty(e,t,i.get?i:{enumerable:!0,get:()=>s[t]})}return e.default=s,Object.freeze(e)}(U),$=new Map,Ee={set(s,e,t){$.has(s)||$.set(s,new Map);const i=$.get(s);i.has(e)||0===i.size?i.set(e,t):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(s,e)=>$.has(s)&&$.get(s).get(e)||null,remove(s,e){if(!$.has(s))return;const t=$.get(s);t.delete(e),0===t.size&&$.delete(s)}},Ce="transitionend",Ve=s=>(s&&window.CSS&&window.CSS.escape&&(s=s.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),s),Qe=s=>{s.dispatchEvent(new Event(Ce))},w=s=>!(!s||"object"!=typeof s)&&(void 0!==s.jquery&&(s=s[0]),void 0!==s.nodeType),S=s=>w(s)?s.jquery?s[0]:s:"string"==typeof s&&s.length>0?document.querySelector(Ve(s)):null,B=s=>{if(!w(s)||0===s.getClientRects().length)return!1;const e="visible"===getComputedStyle(s).getPropertyValue("visibility"),t=s.closest("details:not([open])");if(!t)return e;if(t!==s){const i=s.closest("summary");if(i&&i.parentNode!==t||null===i)return!1}return e},L=s=>!s||s.nodeType!==Node.ELEMENT_NODE||!!s.classList.contains("disabled")||(void 0!==s.disabled?s.disabled:s.hasAttribute("disabled")&&"false"!==s.getAttribute("disabled")),Xe=s=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof s.getRootNode){const e=s.getRootNode();return e instanceof ShadowRoot?e:null}return s instanceof ShadowRoot?s:s.parentNode?Xe(s.parentNode):null},ce=()=>{},Ye=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Te=[],g=()=>"rtl"===document.documentElement.dir,f=s=>{var e;e=()=>{const t=Ye();if(t){const i=s.NAME,n=t.fn[i];t.fn[i]=s.jQueryInterface,t.fn[i].Constructor=s,t.fn[i].noConflict=()=>(t.fn[i]=n,s.jQueryInterface)}},"loading"===document.readyState?(Te.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Te)t()}),Te.push(e)):e()},d=(s,e=[],t=s)=>"function"==typeof s?s(...e):t,Ue=(s,e,t=!0)=>{if(!t)return void d(s);const i=(a=>{if(!a)return 0;let{transitionDuration:c,transitionDelay:h}=window.getComputedStyle(a);const u=Number.parseFloat(c),_=Number.parseFloat(h);return u||_?(c=c.split(",")[0],h=h.split(",")[0],1e3*(Number.parseFloat(c)+Number.parseFloat(h))):0})(e)+5;let n=!1;const r=({target:a})=>{a===e&&(n=!0,e.removeEventListener(Ce,r),d(s))};e.addEventListener(Ce,r),setTimeout(()=>{n||Qe(e)},i)},ke=(s,e,t,i)=>{const n=s.length;let r=s.indexOf(e);return-1===r?!t&&i?s[n-1]:s[0]:(r+=t?1:-1,i&&(r=(r+n)%n),s[Math.max(0,Math.min(r,n-1))])},Xt=/[^.]*(?=\..*)\.|.*/,Yt=/\..*/,Ut=/::\d+$/,$e={};let Ge=1;const Ze={mouseenter:"mouseover",mouseleave:"mouseout"},Gt=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 Je(s,e){return e&&`${e}::${Ge++}`||s.uidEvent||Ge++}function et(s){const e=Je(s);return s.uidEvent=e,$e[e]=$e[e]||{},$e[e]}function tt(s,e,t=null){return Object.values(s).find(i=>i.callable===e&&i.delegationSelector===t)}function it(s,e,t){const i="string"==typeof e,n=i?t:e||t;let r=nt(s);return Gt.has(r)||(r=s),[i,n,r]}function st(s,e,t,i,n){if("string"!=typeof e||!s)return;let[r,a,c]=it(e,t,i);var z;e in Ze&&(z=a,a=function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return z.call(this,y)});const h=et(s),u=h[c]||(h[c]={}),_=tt(u,a,r?t:null);if(_)return void(_.oneOff=_.oneOff&&n);const v=Je(a,e.replace(Xt,"")),T=r?function(k,z,y){return function ae(Ae){const Gs=k.querySelectorAll(z);for(let{target:H}=Ae;H&&H!==this;H=H.parentNode)for(const Zs of Gs)if(Zs===H)return Le(Ae,{delegateTarget:H}),ae.oneOff&&o.off(k,Ae.type,z,y),y.apply(H,[Ae])}}(s,t,a):function(k,z){return function y(ae){return Le(ae,{delegateTarget:k}),y.oneOff&&o.off(k,ae.type,z),z.apply(k,[ae])}}(s,a);T.delegationSelector=r?t:null,T.callable=a,T.oneOff=n,T.uidEvent=v,u[v]=T,s.addEventListener(c,T,r)}function Se(s,e,t,i,n){const r=tt(e[t],i,n);r&&(s.removeEventListener(t,r,!!n),delete e[t][r.uidEvent])}function Zt(s,e,t,i){const n=e[t]||{};for(const[r,a]of Object.entries(n))r.includes(i)&&Se(s,e,t,a.callable,a.delegationSelector)}function nt(s){return s=s.replace(Yt,""),Ze[s]||s}const o={on(s,e,t,i){st(s,e,t,i,!1)},one(s,e,t,i){st(s,e,t,i,!0)},off(s,e,t,i){if("string"!=typeof e||!s)return;const[n,r,a]=it(e,t,i),c=a!==e,h=et(s),u=h[a]||{},_=e.startsWith(".");if(void 0===r){if(_)for(const v of Object.keys(h))Zt(s,h,v,e.slice(1));for(const[v,T]of Object.entries(u)){const k=v.replace(Ut,"");c&&!e.includes(k)||Se(s,h,a,T.callable,T.delegationSelector)}}else{if(!Object.keys(u).length)return;Se(s,h,a,r,n?t:null)}},trigger(s,e,t){if("string"!=typeof e||!s)return null;const i=Ye();let n=null,r=!0,a=!0,c=!1;e!==nt(e)&&i&&(n=i.Event(e,t),i(s).trigger(n),r=!n.isPropagationStopped(),a=!n.isImmediatePropagationStopped(),c=n.isDefaultPrevented());const h=Le(new Event(e,{bubbles:r,cancelable:!0}),t);return c&&h.preventDefault(),a&&s.dispatchEvent(h),h.defaultPrevented&&n&&n.preventDefault(),h}};function Le(s,e={}){for(const[t,i]of Object.entries(e))try{s[t]=i}catch{Object.defineProperty(s,t,{configurable:!0,get:()=>i})}return s}function ot(s){if("true"===s)return!0;if("false"===s)return!1;if(s===Number(s).toString())return Number(s);if(""===s||"null"===s)return null;if("string"!=typeof s)return s;try{return JSON.parse(decodeURIComponent(s))}catch{return s}}function Oe(s){return s.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const A={setDataAttribute(s,e,t){s.setAttribute(`data-bs-${Oe(e)}`,t)},removeDataAttribute(s,e){s.removeAttribute(`data-bs-${Oe(e)}`)},getDataAttributes(s){if(!s)return{};const e={},t=Object.keys(s.dataset).filter(i=>i.startsWith("bs")&&!i.startsWith("bsConfig"));for(const i of t){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=ot(s.dataset[i])}return e},getDataAttribute:(s,e)=>ot(s.getAttribute(`data-bs-${Oe(e)}`))};class J{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 i=w(t)?A.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof i?i:{},...w(t)?A.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[n,r]of Object.entries(t)){const a=e[n],c=w(a)?"element":null==(i=a)?`${i}`:Object.prototype.toString.call(i).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(c))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${c}" but expected type "${r}".`)}var i}}class p extends J{constructor(e,t){super(),(e=S(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),o.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,i=!0){Ue(e,t,i)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ee.get(S(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.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Ie=s=>{let e=s.getAttribute("data-bs-target");if(!e||"#"===e){let t=s.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?e.split(",").map(t=>Ve(t)).join(","):null},l={find:(s,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,s)),findOne:(s,e=document.documentElement)=>Element.prototype.querySelector.call(e,s),children:(s,e)=>[].concat(...s.children).filter(t=>t.matches(e)),parents(s,e){const t=[];let i=s.parentNode.closest(e);for(;i;)t.push(i),i=i.parentNode.closest(e);return t},prev(s,e){let t=s.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(s,e){let t=s.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(s){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,s).filter(t=>!L(t)&&B(t))},getSelectorFromElement(s){const e=Ie(s);return e&&l.findOne(e)?e:null},getElementFromSelector(s){const e=Ie(s);return e?l.findOne(e):null},getMultipleElementsFromSelector(s){const e=Ie(s);return e?l.find(e):[]}},he=(s,e="hide")=>{const i=s.NAME;o.on(document,`click.dismiss${s.EVENT_KEY}`,`[data-bs-dismiss="${i}"]`,function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),L(this))return;const r=l.getElementFromSelector(this)||this.closest(`.${i}`);s.getOrCreateInstance(r)[e]()})},rt=".bs.alert",Jt=`close${rt}`,ei=`closed${rt}`;class ee extends p{static get NAME(){return"alert"}close(){if(o.trigger(this._element,Jt).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(),o.trigger(this._element,ei),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=ee.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)}})}}he(ee,"close"),f(ee);const at='[data-bs-toggle="button"]';class te extends p{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=te.getOrCreateInstance(this);"toggle"===e&&t[e]()})}}o.on(document,"click.bs.button.data-api",at,s=>{s.preventDefault();const e=s.target.closest(at);te.getOrCreateInstance(e).toggle()}),f(te);const q=".bs.swipe",ti=`touchstart${q}`,ii=`touchmove${q}`,si=`touchend${q}`,ni=`pointerdown${q}`,oi=`pointerup${q}`,ri={endCallback:null,leftCallback:null,rightCallback:null},ai={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class de extends J{constructor(e,t){super(),this._element=e,e&&de.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return ri}static get DefaultType(){return ai}static get NAME(){return"swipe"}dispose(){o.off(this._element,q)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),d(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&d(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(o.on(this._element,ni,e=>this._start(e)),o.on(this._element,oi,e=>this._end(e)),this._element.classList.add("pointer-event")):(o.on(this._element,ti,e=>this._start(e)),o.on(this._element,ii,e=>this._move(e)),o.on(this._element,si,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const O=".bs.carousel",lt=".data-api",ie="next",W="prev",R="left",ue="right",li=`slide${O}`,De=`slid${O}`,ci=`keydown${O}`,hi=`mouseenter${O}`,di=`mouseleave${O}`,ui=`dragstart${O}`,_i=`load${O}${lt}`,gi=`click${O}${lt}`,ct="carousel",_e="active",ht=".active",dt=".carousel-item",fi=ht+dt,mi={ArrowLeft:ue,ArrowRight:R},pi={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},bi={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class K extends p{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=l.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ct&&this.cycle()}static get Default(){return pi}static get DefaultType(){return bi}static get NAME(){return"carousel"}next(){this._slide(ie)}nextWhenVisible(){!document.hidden&&B(this._element)&&this.next()}prev(){this._slide(W)}pause(){this._isSliding&&Qe(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?o.one(this._element,De,()=>this.cycle()):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void o.one(this._element,De,()=>this.to(e));const i=this._getItemIndex(this._getActive());i!==e&&this._slide(e>i?ie:W,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&o.on(this._element,ci,e=>this._keydown(e)),"hover"===this._config.pause&&(o.on(this._element,hi,()=>this.pause()),o.on(this._element,di,()=>this._maybeEnableCycle())),this._config.touch&&de.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of l.find(".carousel-item img",this._element))o.on(t,ui,i=>i.preventDefault());this._swipeHelper=new de(this._element,{leftCallback:()=>this._slide(this._directionToOrder(R)),rightCallback:()=>this._slide(this._directionToOrder(ue)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),500+this._config.interval))}})}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=mi[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=l.findOne(ht,this._indicatorsElement);t.classList.remove(_e),t.removeAttribute("aria-current");const i=l.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);i&&(i.classList.add(_e),i.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const i=this._getActive(),n=e===ie,r=t||ke(this._getItems(),i,n,this._config.wrap);if(r===i)return;const a=this._getItemIndex(r),c=v=>o.trigger(this._element,v,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(i),to:a});if(c(li).defaultPrevented||!i||!r)return;const h=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const u=n?"carousel-item-start":"carousel-item-end",_=n?"carousel-item-next":"carousel-item-prev";r.classList.add(_),i.classList.add(u),r.classList.add(u),this._queueCallback(()=>{r.classList.remove(u,_),r.classList.add(_e),i.classList.remove(_e,_,u),this._isSliding=!1,c(De)},i,this._isAnimated()),h&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return l.findOne(fi,this._element)}_getItems(){return l.find(dt,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return g()?e===R?W:ie:e===R?ie:W}_orderToDirection(e){return g()?e===W?R:ue:e===W?ue:R}static jQueryInterface(e){return this.each(function(){const t=K.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)})}}o.on(document,gi,"[data-bs-slide], [data-bs-slide-to]",function(s){const e=l.getElementFromSelector(this);if(!e||!e.classList.contains(ct))return;s.preventDefault();const t=K.getOrCreateInstance(e),i=this.getAttribute("data-bs-slide-to");return i?(t.to(i),void t._maybeEnableCycle()):"next"===A.getDataAttribute(this,"slide")?(t.next(),void t._maybeEnableCycle()):(t.prev(),void t._maybeEnableCycle())}),o.on(window,_i,()=>{const s=l.find('[data-bs-ride="carousel"]');for(const e of s)K.getOrCreateInstance(e)}),f(K);const se=".bs.collapse",vi=`show${se}`,yi=`shown${se}`,wi=`hide${se}`,Ai=`hidden${se}`,Ei=`click${se}.data-api`,Ne="show",V="collapse",ge="collapsing",Ci=`:scope .${V} .${V}`,Pe='[data-bs-toggle="collapse"]',Ti={parent:null,toggle:!0},ki={parent:"(null|element)",toggle:"boolean"};class Q extends p{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const i=l.find(Pe);for(const n of i){const r=l.getSelectorFromElement(n),a=l.find(r).filter(c=>c===this._element);null!==r&&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 Ti}static get DefaultType(){return ki}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter(n=>n!==this._element).map(n=>Q.getOrCreateInstance(n,{toggle:!1}))),e.length&&e[0]._isTransitioning||o.trigger(this._element,vi).defaultPrevented)return;for(const n of e)n.hide();const t=this._getDimension();this._element.classList.remove(V),this._element.classList.add(ge),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ge),this._element.classList.add(V,Ne),this._element.style[t]="",o.trigger(this._element,yi)},this._element,!0),this._element.style[t]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||o.trigger(this._element,wi).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,this._element.classList.add(ge),this._element.classList.remove(V,Ne);for(const t of this._triggerArray){const i=l.getElementFromSelector(t);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(ge),this._element.classList.add(V),o.trigger(this._element,Ai)},this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ne)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=S(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Pe);for(const t of e){const i=l.getElementFromSelector(t);i&&this._addAriaAndCollapsedClass([t],this._isShown(i))}}_getFirstLevelChildren(e){const t=l.find(Ci,this._config.parent);return l.find(e,this._config.parent).filter(i=>!t.includes(i))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const i of e)i.classList.toggle("collapsed",!t),i.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const i=Q.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e]()}})}}o.on(document,Ei,Pe,function(s){("A"===s.target.tagName||s.delegateTarget&&"A"===s.delegateTarget.tagName)&&s.preventDefault();for(const e of l.getMultipleElementsFromSelector(this))Q.getOrCreateInstance(e,{toggle:!1}).toggle()}),f(Q);const ut="dropdown",D=".bs.dropdown",xe=".data-api",$i="ArrowUp",_t="ArrowDown",Si=`hide${D}`,Li=`hidden${D}`,Oi=`show${D}`,Ii=`shown${D}`,gt=`click${D}${xe}`,ft=`keydown${D}${xe}`,Di=`keyup${D}${xe}`,X="show",N='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ni=`${N}.${X}`,fe=".dropdown-menu",Pi=g()?"top-end":"top-start",xi=g()?"top-start":"top-end",Mi=g()?"bottom-end":"bottom-start",ji=g()?"bottom-start":"bottom-end",Fi=g()?"left-start":"right-start",zi=g()?"right-start":"left-start",Hi={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Bi={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class b extends p{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=l.next(this._element,fe)[0]||l.prev(this._element,fe)[0]||l.findOne(fe,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Hi}static get DefaultType(){return Bi}static get NAME(){return ut}toggle(){return this._isShown()?this.hide():this.show()}show(){if(L(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!o.trigger(this._element,Oi,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))o.on(t,"mouseover",ce);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(X),this._element.classList.add(X),o.trigger(this._element,Ii,e)}}hide(){!L(this._element)&&this._isShown()&&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){if(!o.trigger(this._element,Si,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))o.off(t,"mouseover",ce);this._popper&&this._popper.destroy(),this._menu.classList.remove(X),this._element.classList.remove(X),this._element.setAttribute("aria-expanded","false"),A.removeDataAttribute(this._menu,"popper"),o.trigger(this._element,Li,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!w(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${ut.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===le)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:w(this._config.reference)?e=S(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=le.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(X)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return Fi;if(e.classList.contains("dropstart"))return zi;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?xi:Pi:t?ji:Mi}_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(this._inNavbar||"static"===this._config.display)&&(A.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...d(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const i=l.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(n=>B(n));i.length&&ke(i,t,e===_t,!i.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=b.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(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=l.find(Ni);for(const i of t){const n=b.getInstance(i);if(!n||!1===n._config.autoClose)continue;const r=e.composedPath(),a=r.includes(n._menu);if(r.includes(n._element)||"inside"===n._config.autoClose&&!a||"outside"===n._config.autoClose&&a||n._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const c={relatedTarget:n._element};"click"===e.type&&(c.clickEvent=e),n._completeHide(c)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),i="Escape"===e.key,n=[$i,_t].includes(e.key);if(!n&&!i||t&&!i)return;e.preventDefault();const r=this.matches(N)?this:l.prev(this,N)[0]||l.next(this,N)[0]||l.findOne(N,e.delegateTarget.parentNode),a=b.getOrCreateInstance(r);if(n)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),r.focus())}}o.on(document,ft,N,b.dataApiKeydownHandler),o.on(document,ft,fe,b.dataApiKeydownHandler),o.on(document,gt,b.clearMenus),o.on(document,Di,b.clearMenus),o.on(document,gt,N,function(s){s.preventDefault(),b.getOrCreateInstance(this).toggle()}),f(b);const mt="backdrop",bt=`mousedown.bs.${mt}`,qi={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Wi={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class vt extends J{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return qi}static get DefaultType(){return Wi}static get NAME(){return mt}show(e){if(!this._config.isVisible)return void d(e);this._append();this._getElement().classList.add("show"),this._emulateAnimation(()=>{d(e)})}hide(e){this._config.isVisible?(this._getElement().classList.remove("show"),this._emulateAnimation(()=>{this.dispose(),d(e)})):d(e)}dispose(){this._isAppended&&(o.off(this._element,bt),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("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=S(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),o.on(e,bt,()=>{d(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ue(e,this._getElement(),this._config.isAnimated)}}const me=".bs.focustrap",Ri=`focusin${me}`,Ki=`keydown.tab${me}`,yt="backward",Vi={autofocus:!0,trapElement:null},Qi={autofocus:"boolean",trapElement:"element"};class wt extends J{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Vi}static get DefaultType(){return Qi}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),o.off(document,me),o.on(document,Ri,e=>this._handleFocusin(e)),o.on(document,Ki,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,o.off(document,me))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const i=l.focusableChildren(t);0===i.length?t.focus():this._lastTabNavDirection===yt?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?yt:"forward")}}const At=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Et=".sticky-top",pe="padding-right",Ct="margin-right";class Me{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,pe,t=>t+e),this._setElementAttributes(At,pe,t=>t+e),this._setElementAttributes(Et,Ct,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,pe),this._resetElementAttributes(At,pe),this._resetElementAttributes(Et,Ct)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,i){const n=this.getWidth();this._applyManipulationCallback(e,r=>{if(r!==this._element&&window.innerWidth>r.clientWidth+n)return;this._saveInitialAttribute(r,t);const a=window.getComputedStyle(r).getPropertyValue(t);r.style.setProperty(t,`${i(Number.parseFloat(a))}px`)})}_saveInitialAttribute(e,t){const i=e.style.getPropertyValue(t);i&&A.setDataAttribute(e,t,i)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,i=>{const n=A.getDataAttribute(i,t);null!==n?(A.removeDataAttribute(i,t),i.style.setProperty(t,n)):i.style.removeProperty(t)})}_applyManipulationCallback(e,t){if(w(e))t(e);else for(const i of l.find(e,this._element))t(i)}}const m=".bs.modal",Xi=`hide${m}`,Yi=`hidePrevented${m}`,Tt=`hidden${m}`,kt=`show${m}`,Ui=`shown${m}`,Gi=`resize${m}`,Zi=`click.dismiss${m}`,Ji=`mousedown.dismiss${m}`,es=`keydown.dismiss${m}`,ts=`click${m}.data-api`,$t="modal-open",je="modal-static",is={backdrop:!0,focus:!0,keyboard:!0},ss={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class P extends p{constructor(e,t){super(e,t),this._dialog=l.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Me,this._addEventListeners()}static get Default(){return is}static get DefaultType(){return ss}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||o.trigger(this._element,kt,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add($t),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){this._isShown&&!this._isTransitioning&&(o.trigger(this._element,Xi).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove("show"),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){o.off(window,m),o.off(this._dialog,m),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new vt({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new wt({trapElement:this._element})}_showElement(e){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 t=l.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),this._element.classList.add("show"),this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,o.trigger(this._element,Ui,{relatedTarget:e})},this._dialog,this._isAnimated())}_addEventListeners(){o.on(this._element,es,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),o.on(window,Gi,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),o.on(this._element,Ji,e=>{o.one(this._element,Zi,t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove($t),this._resetAdjustments(),this._scrollBar.reset(),o.trigger(this._element,Tt)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(o.trigger(this._element,Yi).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(je)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(je),this._queueCallback(()=>{this._element.classList.remove(je),this._queueCallback(()=>{this._element.style.overflowY=t},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),i=t>0;if(i&&!e){const n=g()?"paddingLeft":"paddingRight";this._element.style[n]=`${t}px`}if(!i&&e){const n=g()?"paddingRight":"paddingLeft";this._element.style[n]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const i=P.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===i[e])throw new TypeError(`No method named "${e}"`);i[e](t)}})}}o.on(document,ts,'[data-bs-toggle="modal"]',function(s){const e=l.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&s.preventDefault(),o.one(e,kt,i=>{i.defaultPrevented||o.one(e,Tt,()=>{B(this)&&this.focus()})});const t=l.findOne(".modal.show");t&&P.getInstance(t).hide(),P.getOrCreateInstance(e).toggle(this)}),he(P),f(P);const E=".bs.offcanvas",Lt=".data-api",ns=`load${E}${Lt}`,It="showing",Nt=".offcanvas.show",os=`show${E}`,rs=`shown${E}`,as=`hide${E}`,Pt=`hidePrevented${E}`,xt=`hidden${E}`,ls=`resize${E}`,cs=`click${E}${Lt}`,hs=`keydown.dismiss${E}`,ds={backdrop:!0,keyboard:!0,scroll:!1},us={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class C extends p{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ds}static get DefaultType(){return us}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||o.trigger(this._element,os,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Me).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(It),this._queueCallback(()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add("show"),this._element.classList.remove(It),o.trigger(this._element,rs,{relatedTarget:e})},this._element,!0))}hide(){this._isShown&&(o.trigger(this._element,as).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add("hiding"),this._backdrop.hide(),this._queueCallback(()=>{this._element.classList.remove("show","hiding"),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Me).reset(),o.trigger(this._element,xt)},this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=!!this._config.backdrop;return new vt({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():o.trigger(this._element,Pt)}:null})}_initializeFocusTrap(){return new wt({trapElement:this._element})}_addEventListeners(){o.on(this._element,hs,e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():o.trigger(this._element,Pt))})}static jQueryInterface(e){return this.each(function(){const t=C.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)}})}}o.on(document,cs,'[data-bs-toggle="offcanvas"]',function(s){const e=l.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&s.preventDefault(),L(this))return;o.one(e,xt,()=>{B(this)&&this.focus()});const t=l.findOne(Nt);t&&t!==e&&C.getInstance(t).hide(),C.getOrCreateInstance(e).toggle(this)}),o.on(window,ns,()=>{for(const s of l.find(Nt))C.getOrCreateInstance(s).show()}),o.on(window,ls,()=>{for(const s of l.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(s).position&&C.getOrCreateInstance(s).hide()}),he(C),f(C);const Mt={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},_s=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),gs=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,fs=(s,e)=>{const t=s.nodeName.toLowerCase();return e.includes(t)?!_s.has(t)||!!gs.test(s.nodeValue):e.filter(i=>i instanceof RegExp).some(i=>i.test(t))},ms={allowList:Mt,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},ps={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},bs={entry:"(string|element|function|null)",selector:"(string|element)"};class vs extends J{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ms}static get DefaultType(){return ps}static get NAME(){return"TemplateFactory"}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[n,r]of Object.entries(this._config.content))this._setContent(e,r,n);const t=e.children[0],i=this._resolvePossibleFunction(this._config.extraClass);return i&&t.classList.add(...i.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,i]of Object.entries(e))super._typeCheckConfig({selector:t,entry:i},bs)}_setContent(e,t,i){const n=l.findOne(i,e);n&&((t=this._resolvePossibleFunction(t))?w(t)?this._putElementInTemplate(S(t),n):this._config.html?n.innerHTML=this._maybeSanitize(t):n.textContent=t:n.remove())}_maybeSanitize(e){return this._config.sanitize?function(t,i,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const r=(new window.DOMParser).parseFromString(t,"text/html"),a=[].concat(...r.body.querySelectorAll("*"));for(const c of a){const h=c.nodeName.toLowerCase();if(!Object.keys(i).includes(h)){c.remove();continue}const u=[].concat(...c.attributes),_=[].concat(i["*"]||[],i[h]||[]);for(const v of u)fs(v,_)||c.removeAttribute(v.nodeName)}return r.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return d(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const ys=new Set(["sanitize","allowList","sanitizeFn"]),Fe="fade",be="show",Ft="hide.bs.modal",ne="hover",ze="focus",ws={AUTO:"auto",TOP:"top",RIGHT:g()?"left":"right",BOTTOM:"bottom",LEFT:g()?"right":"left"},As={allowList:Mt,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"},Es={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class x extends p{constructor(e,t){if(void 0===le)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),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 As}static get DefaultType(){return Es}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),o.off(this._element.closest(".modal"),Ft,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=o.trigger(this._element,this.constructor.eventName("show")),t=(Xe(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:n}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(n.append(i),o.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(i),i.classList.add(be),"ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))o.on(r,"mouseover",ce);this._queueCallback(()=>{o.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1},this.tip,this._isAnimated())}hide(){if(this._isShown()&&!o.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(be),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))o.off(e,"mouseover",ce);this._activeTrigger.click=!1,this._activeTrigger[ze]=!1,this._activeTrigger[ne]=!1,this._isHovered=null,this._queueCallback(()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),o.trigger(this._element,this.constructor.eventName("hidden")))},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(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Fe,be),t.classList.add(`bs-${this.constructor.NAME}-auto`);const i=(n=>{do{n+=Math.floor(1e6*Math.random())}while(document.getElementById(n));return n})(this.constructor.NAME).toString();return t.setAttribute("id",i),this._isAnimated()&&t.classList.add(Fe),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new vs({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Fe)}_isShown(){return this.tip&&this.tip.classList.contains(be)}_createPopper(e){const t=d(this._config.placement,[this,e,this._element]),i=ws[t.toUpperCase()];return le.createPopper(this._element,e,this._getPopperConfig(i))}_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 d(e,[this._element])}_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:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:i=>{this._getTipElement().setAttribute("data-popper-placement",i.state.placement)}}]};return{...t,...d(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)o.on(this._element,this.constructor.eventName("click"),this._config.selector,i=>{this._initializeOnDelegatedTarget(i).toggle()});else if("manual"!==t){const i=this.constructor.eventName(t===ne?"mouseenter":"focusin"),n=this.constructor.eventName(t===ne?"mouseleave":"focusout");o.on(this._element,i,this._config.selector,r=>{const a=this._initializeOnDelegatedTarget(r);a._activeTrigger["focusin"===r.type?ze:ne]=!0,a._enter()}),o.on(this._element,n,this._config.selector,r=>{const a=this._initializeOnDelegatedTarget(r);a._activeTrigger["focusout"===r.type?ze:ne]=a._element.contains(r.relatedTarget),a._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},o.on(this._element.closest(".modal"),Ft,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=A.getDataAttributes(this._element);for(const i of Object.keys(t))ys.has(i)&&delete t[i];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:S(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()),e}_getDelegateConfig(){const e={};for(const[t,i]of Object.entries(this._config))this.constructor.Default[t]!==i&&(e[t]=i);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=x.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}}f(x);const Cs={...x.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"},Ts={...x.DefaultType,content:"(null|string|element|function)"};class ve extends x{static get Default(){return Cs}static get DefaultType(){return Ts}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(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]()}})}}f(ve);const He=".bs.scrollspy",ks=`activate${He}`,zt=`click${He}`,$s=`load${He}.data-api`,Y="active",Be="[href]",Ht=".nav-link",Ss=`${Ht}, .nav-item > ${Ht}, .list-group-item`,Ls={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Os={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class oe extends p{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Ls}static get DefaultType(){return Os}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=S(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(o.off(this._config.target,zt),o.on(this._config.target,zt,Be,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const i=this._rootElement||window,n=t.offsetTop-this._element.offsetTop;if(i.scrollTo)return void i.scrollTo({top:n,behavior:"smooth"});i.scrollTop=n}}))}_getNewObserver(){return new IntersectionObserver(t=>this._observerCallback(t),{root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin})}_observerCallback(e){const t=a=>this._targetLinks.get(`#${a.target.id}`),i=a=>{this._previousScrollData.visibleEntryTop=a.target.offsetTop,this._process(t(a))},n=(this._rootElement||document.documentElement).scrollTop,r=n>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=n;for(const a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}const c=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&c){if(i(a),!n)return}else r||c||i(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=l.find(Be,this._config.target);for(const t of e){if(!t.hash||L(t))continue;const i=l.findOne(decodeURI(t.hash),this._element);B(i)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,i))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Y),this._activateParents(e),o.trigger(this._element,ks,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))l.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Y);else for(const t of l.parents(e,".nav, .list-group"))for(const i of l.prev(t,Ss))i.classList.add(Y)}_clearActiveClass(e){e.classList.remove(Y);const t=l.find(`${Be}.${Y}`,e);for(const i of t)i.classList.remove(Y)}static jQueryInterface(e){return this.each(function(){const t=oe.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]()}})}}o.on(window,$s,()=>{for(const s of l.find('[data-bs-spy="scroll"]'))oe.getOrCreateInstance(s)}),f(oe);const M=".bs.tab",Is=`hide${M}`,Ds=`hidden${M}`,Ns=`show${M}`,Ps=`shown${M}`,xs=`click${M}`,Ms=`keydown${M}`,js=`load${M}`,Fs="ArrowLeft",Bt="ArrowRight",zs="ArrowUp",qt="ArrowDown",qe="Home",Wt="End",j="active",We="show",Kt=".dropdown-toggle",Re=`:not(${Kt})`,Vt='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ke=`.nav-link${Re}, .list-group-item${Re}, [role="tab"]${Re}, ${Vt}`,Hs=`.${j}[data-bs-toggle="tab"], .${j}[data-bs-toggle="pill"], .${j}[data-bs-toggle="list"]`;class F extends p{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),o.on(this._element,Ms,t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),i=t?o.trigger(t,Is,{relatedTarget:e}):null;o.trigger(e,Ns,{relatedTarget:t}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(j),this._activate(l.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),o.trigger(e,Ps,{relatedTarget:t})):e.classList.add(We)},e,e.classList.contains("fade")))}_deactivate(e,t){e&&(e.classList.remove(j),e.blur(),this._deactivate(l.getElementFromSelector(e)),this._queueCallback(()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),o.trigger(e,Ds,{relatedTarget:t})):e.classList.remove(We)},e,e.classList.contains("fade")))}_keydown(e){if(![Fs,Bt,zs,qt,qe,Wt].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=this._getChildren().filter(n=>!L(n));let i;if([qe,Wt].includes(e.key))i=t[e.key===qe?0:t.length-1];else{const n=[Bt,qt].includes(e.key);i=ke(t,e.target,n,!0)}i&&(i.focus({preventScroll:!0}),F.getOrCreateInstance(i).show())}_getChildren(){return l.find(Ke,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const i of t)this._setInitialAttributesOnChild(i)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),i=this._getOuterElement(e);e.setAttribute("aria-selected",t),i!==e&&this._setAttributeIfNotExists(i,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=l.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const i=this._getOuterElement(e);if(!i.classList.contains("dropdown"))return;const n=(r,a)=>{const c=l.findOne(r,i);c&&c.classList.toggle(a,t)};n(Kt,j),n(".dropdown-menu",We),i.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,i){e.hasAttribute(t)||e.setAttribute(t,i)}_elemIsActive(e){return e.classList.contains(j)}_getInnerElement(e){return e.matches(Ke)?e:l.findOne(Ke,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each(function(){const t=F.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}})}}o.on(document,xs,Vt,function(s){["A","AREA"].includes(this.tagName)&&s.preventDefault(),L(this)||F.getOrCreateInstance(this).show()}),o.on(window,js,()=>{for(const s of l.find(Hs))F.getOrCreateInstance(s)}),f(F);const I=".bs.toast",Bs=`mouseover${I}`,qs=`mouseout${I}`,Ws=`focusin${I}`,Rs=`focusout${I}`,Ks=`hide${I}`,Vs=`hidden${I}`,Qs=`show${I}`,Xs=`shown${I}`,ye="show",we="showing",Ys={animation:"boolean",autohide:"boolean",delay:"number"},Us={animation:!0,autohide:!0,delay:5e3};class re extends p{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Us}static get DefaultType(){return Ys}static get NAME(){return"toast"}show(){o.trigger(this._element,Qs).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove("hide"),this._element.classList.add(ye,we),this._queueCallback(()=>{this._element.classList.remove(we),o.trigger(this._element,Xs),this._maybeScheduleHide()},this._element,this._config.animation))}hide(){this.isShown()&&(o.trigger(this._element,Ks).defaultPrevented||(this._element.classList.add(we),this._queueCallback(()=>{this._element.classList.add("hide"),this._element.classList.remove(we,ye),o.trigger(this._element,Vs)},this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ye),super.dispose()}isShown(){return this._element.classList.contains(ye)}_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 i=e.relatedTarget;this._element===i||this._element.contains(i)||this._maybeScheduleHide()}_setListeners(){o.on(this._element,Bs,e=>this._onInteraction(e,!0)),o.on(this._element,qs,e=>this._onInteraction(e,!1)),o.on(this._element,Ws,e=>this._onInteraction(e,!0)),o.on(this._element,Rs,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=re.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}})}}return he(re),f(re),{Alert:ee,Button:te,Carousel:K,Collapse:Q,Dropdown:b,Modal:P,Offcanvas:C,Popover:ve,ScrollSpy:oe,Tab:F,Toast:re,Tooltip:x}});