@beterdichtbij/component-library 0.27.1 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -128,4 +128,4 @@ img.ProseMirror-separator {
|
|
|
128
128
|
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
|
129
129
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
130
130
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
131
|
-
*/const xn=new Map,Da={set(n,e,t){xn.has(n)||xn.set(n,new Map);const r=xn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return xn.has(n)&&xn.get(n).get(e)||null},remove(n,e){if(!xn.has(n))return;const t=xn.get(n);t.delete(e),t.size===0&&xn.delete(n)}},b4=1e6,E4=1e3,Ol="transitionend",hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),C4=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),S4=n=>{do n+=Math.floor(Math.random()*b4);while(document.getElementById(n));return n},w4=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*E4)},pm=n=>{n.dispatchEvent(new Event(Ol))},vn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),$n=n=>vn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(hm(n)):null,ro=n=>{if(!vn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Fn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",mm=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?mm(n.parentNode):null},Cs=()=>{},Wo=n=>{n.offsetHeight},gm=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,_a=[],k4=n=>{document.readyState==="loading"?(_a.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of _a)e()}),_a.push(n)):n()},$t=()=>document.documentElement.dir==="rtl",Vt=n=>{k4(()=>{const e=gm();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},yt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,vm=(n,e,t=!0)=>{if(!t){yt(n);return}const r=5,o=w4(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(Ol,s),yt(n))};e.addEventListener(Ol,s),setTimeout(()=>{i||pm(e)},o)},Rc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},x4=/[^.]*(?=\..*)\.|.*/,T4=/\..*/,A4=/::\d+$/,La={};let Kd=1;const ym={mouseenter:"mouseover",mouseleave:"mouseout"},O4=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 bm(n,e){return e&&`${e}::${Kd++}`||n.uidEvent||Kd++}function Em(n){const e=bm(n);return n.uidEvent=e,La[e]=La[e]||{},La[e]}function M4(n,e){return function t(r){return Bc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function N4(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Bc(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function Cm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function Sm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=wm(n);return O4.has(i)||(i=n),[r,o,i]}function Gd(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=Sm(e,t,r);e in ym&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Em(n),c=a[l]||(a[l]={}),u=Cm(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=bm(s,e.replace(x4,"")),h=i?N4(n,t,s):M4(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function Ml(n,e,t,r,o){const i=Cm(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function I4(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Ml(n,e,t,s.callable,s.delegationSelector)}function wm(n){return n=n.replace(T4,""),ym[n]||n}const ne={on(n,e,t,r){Gd(n,e,t,r,!1)},one(n,e,t,r){Gd(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=Sm(e,t,r),l=s!==e,a=Em(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Ml(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))I4(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(A4,"");(!l||e.includes(p))&&Ml(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=gm(),o=wm(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=Bc(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Bc(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function Yd(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function Ra(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const yn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${Ra(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${Ra(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Yd(n.dataset[r])}return e},getDataAttribute(n,e){return Yd(n.getAttribute(`data-bs-${Ra(e)}`))}};class Ko{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=vn(t)?yn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...vn(t)?yn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=vn(i)?"element":C4(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const D4="5.3.0";class Gt extends Ko{constructor(e,t){super(),e=$n(e),e&&(this._element=e,this._config=this._getConfig(t),Da.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Da.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){vm(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Da.get($n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return D4}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 Ba=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.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 hm(e)},ye={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Fn(t)&&ro(t))},getSelectorFromElement(n){const e=Ba(n);return e&&ye.findOne(e)?e:null},getElementFromSelector(n){const e=Ba(n);return e?ye.findOne(e):null},getMultipleElementsFromSelector(n){const e=Ba(n);return e?ye.find(e):[]}},Ys=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Fn(this))return;const i=ye.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},_4="alert",L4="bs.alert",km=`.${L4}`,R4=`close${km}`,B4=`closed${km}`,P4="fade",$4="show";class Js extends Gt{static get NAME(){return _4}close(){if(ne.trigger(this._element,R4).defaultPrevented)return;this._element.classList.remove($4);const t=this._element.classList.contains(P4);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,B4),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Ys(Js,"close");Vt(Js);const F4="button",V4="bs.button",z4=`.${V4}`,H4=".data-api",U4="active",Jd='[data-bs-toggle="button"]',j4=`click${z4}${H4}`;class Zs extends Gt{static get NAME(){return F4}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(U4))}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,j4,Jd,n=>{n.preventDefault();const e=n.target.closest(Jd);Zs.getOrCreateInstance(e).toggle()});Vt(Zs);const W4="swipe",oo=".bs.swipe",K4=`touchstart${oo}`,G4=`touchmove${oo}`,Y4=`touchend${oo}`,J4=`pointerdown${oo}`,Z4=`pointerup${oo}`,X4="touch",Q4="pen",q4="pointer-event",eC=40,tC={endCallback:null,leftCallback:null,rightCallback:null},nC={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ss extends Ko{constructor(e,t){super(),this._element=e,!(!e||!Ss.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return tC}static get DefaultType(){return nC}static get NAME(){return W4}dispose(){ne.off(this._element,oo)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),yt(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<=eC)return;const t=e/this._deltaX;this._deltaX=0,t&&yt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,J4,e=>this._start(e)),ne.on(this._element,Z4,e=>this._end(e)),this._element.classList.add(q4)):(ne.on(this._element,K4,e=>this._start(e)),ne.on(this._element,G4,e=>this._move(e)),ne.on(this._element,Y4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Q4||e.pointerType===X4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const rC="carousel",oC="bs.carousel",Wn=`.${oC}`,xm=".data-api",iC="ArrowLeft",sC="ArrowRight",aC=500,so="next",xr="prev",Dr="left",bi="right",lC=`slide${Wn}`,Pa=`slid${Wn}`,cC=`keydown${Wn}`,uC=`mouseenter${Wn}`,dC=`mouseleave${Wn}`,fC=`dragstart${Wn}`,hC=`load${Wn}${xm}`,pC=`click${Wn}${xm}`,Tm="carousel",li="active",mC="slide",gC="carousel-item-end",vC="carousel-item-start",yC="carousel-item-next",bC="carousel-item-prev",Am=".active",Om=".carousel-item",EC=Am+Om,CC=".carousel-item img",SC=".carousel-indicators",wC="[data-bs-slide], [data-bs-slide-to]",kC='[data-bs-ride="carousel"]',xC={[iC]:bi,[sC]:Dr},TC={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},AC={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Go extends Gt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ye.findOne(SC,this._element),this._addEventListeners(),this._config.ride===Tm&&this.cycle()}static get Default(){return TC}static get DefaultType(){return AC}static get NAME(){return rC}next(){this._slide(so)}nextWhenVisible(){!document.hidden&&ro(this._element)&&this.next()}prev(){this._slide(xr)}pause(){this._isSliding&&pm(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ne.one(this._element,Pa,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Pa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?so:xr;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ne.on(this._element,cC,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,uC,()=>this.pause()),ne.on(this._element,dC,()=>this._maybeEnableCycle())),this._config.touch&&Ss.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(CC,this._element))ne.on(r,fC,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Dr)),rightCallback:()=>this._slide(this._directionToOrder(bi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),aC+this._config.interval))}};this._swipeHelper=new Ss(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=xC[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=ye.findOne(Am,this._indicatorsElement);t.classList.remove(li),t.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(li),r.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 r=this._getActive(),o=e===so,i=t||Rc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>ne.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(lC).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?vC:gC,d=o?yC:bC;i.classList.add(d),Wo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(li),r.classList.remove(li,d,u),this._isSliding=!1,l(Pa)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(mC)}_getActive(){return ye.findOne(EC,this._element)}_getItems(){return ye.find(Om,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $t()?e===Dr?xr:so:e===Dr?so:xr}_orderToDirection(e){return $t()?e===xr?Dr:bi:e===xr?bi:Dr}static jQueryInterface(e){return this.each(function(){const t=Go.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,pC,wC,function(n){const e=ye.getElementFromSelector(this);if(!e||!e.classList.contains(Tm))return;n.preventDefault();const t=Go.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(yn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});ne.on(window,hC,()=>{const n=ye.find(kC);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const OC="collapse",MC="bs.collapse",Yo=`.${MC}`,NC=".data-api",IC=`show${Yo}`,DC=`shown${Yo}`,_C=`hide${Yo}`,LC=`hidden${Yo}`,RC=`click${Yo}${NC}`,$a="show",Pr="collapse",ci="collapsing",BC="collapsed",PC=`:scope .${Pr} .${Pr}`,$C="collapse-horizontal",FC="width",VC="height",zC=".collapse.show, .collapse.collapsing",Nl='[data-bs-toggle="collapse"]',HC={parent:null,toggle:!0},UC={parent:"(null|element)",toggle:"boolean"};class Bo extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(Nl);for(const o of r){const i=ye.getSelectorFromElement(o),s=ye.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return HC}static get DefaultType(){return UC}static get NAME(){return OC}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(zC).filter(l=>l!==this._element).map(l=>Bo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,IC).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Pr),this._element.classList.add(ci),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(ci),this._element.classList.add(Pr,$a),this._element.style[r]="",ne.trigger(this._element,DC)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ne.trigger(this._element,_C).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Wo(this._element),this._element.classList.add(ci),this._element.classList.remove(Pr,$a);for(const o of this._triggerArray){const i=ye.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(ci),this._element.classList.add(Pr),ne.trigger(this._element,LC)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains($a)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$n(e.parent),e}_getDimension(){return this._element.classList.contains($C)?FC:VC}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Nl);for(const t of e){const r=ye.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ye.find(PC,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(BC,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Bo.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,RC,Nl,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ye.getMultipleElementsFromSelector(this))Bo.getOrCreateInstance(e,{toggle:!1}).toggle()});Vt(Bo);const Zd="dropdown",jC="bs.dropdown",vr=`.${jC}`,Pc=".data-api",WC="Escape",Xd="Tab",KC="ArrowUp",Qd="ArrowDown",GC=2,YC=`hide${vr}`,JC=`hidden${vr}`,ZC=`show${vr}`,XC=`shown${vr}`,Mm=`click${vr}${Pc}`,Nm=`keydown${vr}${Pc}`,QC=`keyup${vr}${Pc}`,_r="show",qC="dropup",eS="dropend",tS="dropstart",nS="dropup-center",rS="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',oS=`${tr}.${_r}`,Ei=".dropdown-menu",iS=".navbar",sS=".navbar-nav",aS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",lS=$t()?"top-end":"top-start",cS=$t()?"top-start":"top-end",uS=$t()?"bottom-end":"bottom-start",dS=$t()?"bottom-start":"bottom-end",fS=$t()?"left-start":"right-start",hS=$t()?"right-start":"left-start",pS="top",mS="bottom",gS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},vS={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class rn extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,Ei)[0]||ye.prev(this._element,Ei)[0]||ye.findOne(Ei,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return gS}static get DefaultType(){return vS}static get NAME(){return Zd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,ZC,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(sS))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Cs);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_r),this._element.classList.add(_r),ne.trigger(this._element,XC,e)}}hide(){if(Fn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ne.trigger(this._element,YC,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Cs);this._popper&&this._popper.destroy(),this._menu.classList.remove(_r),this._element.classList.remove(_r),this._element.setAttribute("aria-expanded","false"),yn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,JC,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!vn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Zd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Hp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:vn(this._config.reference)?e=$n(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=js(e,this._menu,t)}_isShown(){return this._menu.classList.contains(_r)}_getPlacement(){const e=this._parent;if(e.classList.contains(eS))return fS;if(e.classList.contains(tS))return hS;if(e.classList.contains(nS))return pS;if(e.classList.contains(rS))return mS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(qC)?t?cS:lS:t?dS:uS}_detectNavbar(){return this._element.closest(iS)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?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||this._config.display==="static")&&(yn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...yt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ye.find(aS,this._menu).filter(o=>ro(o));r.length&&Rc(r,t,e===Qd,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===GC||e.type==="keyup"&&e.key!==Xd)return;const t=ye.find(oS);for(const r of t){const o=rn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Xd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===WC,o=[KC,Qd].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(tr)?this:ye.prev(this,tr)[0]||ye.next(this,tr)[0]||ye.findOne(tr,e.delegateTarget.parentNode),s=rn.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,Nm,tr,rn.dataApiKeydownHandler);ne.on(document,Nm,Ei,rn.dataApiKeydownHandler);ne.on(document,Mm,rn.clearMenus);ne.on(document,QC,rn.clearMenus);ne.on(document,Mm,tr,function(n){n.preventDefault(),rn.getOrCreateInstance(this).toggle()});Vt(rn);const Im="backdrop",yS="fade",qd="show",ef=`mousedown.bs.${Im}`,bS={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ES={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Dm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return bS}static get DefaultType(){return ES}static get NAME(){return Im}show(e){if(!this._config.isVisible){yt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Wo(t),t.classList.add(qd),this._emulateAnimation(()=>{yt(e)})}hide(e){if(!this._config.isVisible){yt(e);return}this._getElement().classList.remove(qd),this._emulateAnimation(()=>{this.dispose(),yt(e)})}dispose(){this._isAppended&&(ne.off(this._element,ef),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(yS),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$n(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,ef,()=>{yt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){vm(e,this._getElement(),this._config.isAnimated)}}const CS="focustrap",SS="bs.focustrap",ws=`.${SS}`,wS=`focusin${ws}`,kS=`keydown.tab${ws}`,xS="Tab",TS="forward",tf="backward",AS={autofocus:!0,trapElement:null},OS={autofocus:"boolean",trapElement:"element"};class _m extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return AS}static get DefaultType(){return OS}static get NAME(){return CS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,ws),ne.on(document,wS,e=>this._handleFocusin(e)),ne.on(document,kS,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,ws))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ye.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===tf?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===xS&&(this._lastTabNavDirection=e.shiftKey?tf:TS)}}const nf=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rf=".sticky-top",ui="padding-right",of="margin-right";class Il{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,ui,t=>t+e),this._setElementAttributes(nf,ui,t=>t+e),this._setElementAttributes(rf,of,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ui),this._resetElementAttributes(nf,ui),this._resetElementAttributes(rf,of)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&yn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=yn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}yn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(vn(e)){t(e);return}for(const r of ye.find(e,this._element))t(r)}}const MS="modal",NS="bs.modal",Ft=`.${NS}`,IS=".data-api",DS="Escape",_S=`hide${Ft}`,LS=`hidePrevented${Ft}`,Lm=`hidden${Ft}`,Rm=`show${Ft}`,RS=`shown${Ft}`,BS=`resize${Ft}`,PS=`click.dismiss${Ft}`,$S=`mousedown.dismiss${Ft}`,FS=`keydown.dismiss${Ft}`,VS=`click${Ft}${IS}`,sf="modal-open",zS="fade",af="show",Fa="modal-static",HS=".modal.show",US=".modal-dialog",jS=".modal-body",WS='[data-bs-toggle="modal"]',KS={backdrop:!0,focus:!0,keyboard:!0},GS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(US,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Il,this._addEventListeners()}static get Default(){return KS}static get DefaultType(){return GS}static get NAME(){return MS}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,Rm,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sf),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,_S).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(af),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Ft),ne.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Dm({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new _m({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=ye.findOne(jS,this._dialog);t&&(t.scrollTop=0),Wo(this._element),this._element.classList.add(af);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,RS,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,FS,e=>{if(e.key===DS){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,BS,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,$S,e=>{ne.one(this._element,PS,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(sf),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,Lm)})}_isAnimated(){return this._element.classList.contains(zS)}_triggerBackdropTransition(){if(ne.trigger(this._element,LS).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Fa)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Fa),this._queueCallback(()=>{this._element.classList.remove(Fa),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=$t()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=$t()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=mr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,VS,WS,function(n){const e=ye.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,Rm,o=>{o.defaultPrevented||ne.one(e,Lm,()=>{ro(this)&&this.focus()})});const t=ye.findOne(HS);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Ys(mr);Vt(mr);const YS="offcanvas",JS="bs.offcanvas",En=`.${JS}`,Bm=".data-api",ZS=`load${En}${Bm}`,XS="Escape",lf="show",cf="showing",uf="hiding",QS="offcanvas-backdrop",Pm=".offcanvas.show",qS=`show${En}`,e6=`shown${En}`,t6=`hide${En}`,df=`hidePrevented${En}`,$m=`hidden${En}`,n6=`resize${En}`,r6=`click${En}${Bm}`,o6=`keydown.dismiss${En}`,i6='[data-bs-toggle="offcanvas"]',s6={backdrop:!0,keyboard:!0,scroll:!1},a6={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vn extends Gt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return s6}static get DefaultType(){return a6}static get NAME(){return YS}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,qS,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Il().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(cf);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(lf),this._element.classList.remove(cf),ne.trigger(this._element,e6,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,t6).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(uf),this._backdrop.hide();const t=()=>{this._element.classList.remove(lf,uf),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Il().reset(),ne.trigger(this._element,$m)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,df);return}this.hide()},t=!!this._config.backdrop;return new Dm({className:QS,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new _m({trapElement:this._element})}_addEventListeners(){ne.on(this._element,o6,e=>{if(e.key===XS){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,df)}})}static jQueryInterface(e){return this.each(function(){const t=Vn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ne.on(document,r6,i6,function(n){const e=ye.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Fn(this))return;ne.one(e,$m,()=>{ro(this)&&this.focus()});const t=ye.findOne(Pm);t&&t!==e&&Vn.getInstance(t).hide(),Vn.getOrCreateInstance(e).toggle(this)});ne.on(window,ZS,()=>{for(const n of ye.find(Pm))Vn.getOrCreateInstance(n).show()});ne.on(window,n6,()=>{for(const n of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Vn.getOrCreateInstance(n).hide()});Ys(Vn);Vt(Vn);const l6=/^aria-[\w-]*$/i,Fm={"*":["class","dir","id","lang","role",l6],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:[]},c6=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),u6=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,d6=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?c6.has(t)?!!u6.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function f6(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)d6(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const h6="TemplateFactory",p6={allowList:Fm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},m6={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},g6={entry:"(string|element|function|null)",selector:"(string|element)"};class v6 extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return p6}static get DefaultType(){return m6}static get NAME(){return h6}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[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},g6)}_setContent(e,t,r){const o=ye.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(vn(t)){this._putElementInTemplate($n(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?f6(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return yt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const y6="tooltip",b6=new Set(["sanitize","allowList","sanitizeFn"]),Va="fade",E6="modal",di="show",C6=".tooltip-inner",ff=`.${E6}`,hf="hide.bs.modal",ao="hover",za="focus",S6="click",w6="manual",k6="hide",x6="hidden",T6="show",A6="shown",O6="inserted",M6="click",N6="focusin",I6="focusout",D6="mouseenter",_6="mouseleave",L6={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},R6={allowList:Fm,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"},B6={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 yr extends Gt{constructor(e,t){if(typeof Hp>"u")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 R6}static get DefaultType(){return B6}static get NAME(){return y6}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ne.off(this._element.closest(ff),hf,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ne.trigger(this._element,this.constructor.eventName(T6)),r=(mm(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ne.trigger(this._element,this.constructor.eventName(O6))),this._popper=this._createPopper(o),o.classList.add(di),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Cs);const s=()=>{ne.trigger(this._element,this.constructor.eventName(A6)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(k6)).defaultPrevented)return;if(this._getTipElement().classList.remove(di),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Cs);this._activeTrigger[S6]=!1,this._activeTrigger[za]=!1,this._activeTrigger[ao]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(x6)))};this._queueCallback(r,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(Va,di),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=S4(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Va),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new v6({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[C6]: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(Va)}_isShown(){return this.tip&&this.tip.classList.contains(di)}_createPopper(e){const t=yt(this._config.placement,[this,e,this._element]),r=L6[t.toUpperCase()];return js(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return yt(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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...yt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName(M6),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==w6){const r=t===ao?this.constructor.eventName(D6):this.constructor.eventName(N6),o=t===ao?this.constructor.eventName(_6):this.constructor.eventName(I6);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?za:ao]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?za:ao]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(ff),hf,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(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=yn.getDataAttributes(this._element);for(const r of Object.keys(t))b6.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:$n(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(yr);const P6="popover",$6=".popover-header",F6=".popover-body",V6={...yr.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"},z6={...yr.DefaultType,content:"(null|string|element|function)"};class $c extends yr{static get Default(){return V6}static get DefaultType(){return z6}static get NAME(){return P6}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[$6]:this._getTitle(),[F6]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=$c.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt($c);const H6="scrollspy",U6="bs.scrollspy",Fc=`.${U6}`,j6=".data-api",W6=`activate${Fc}`,pf=`click${Fc}`,K6=`load${Fc}${j6}`,G6="dropdown-item",Tr="active",Y6='[data-bs-spy="scroll"]',Ha="[href]",J6=".nav, .list-group",mf=".nav-link",Z6=".nav-item",X6=".list-group-item",Q6=`${mf}, ${Z6} > ${mf}, ${X6}`,q6=".dropdown",ew=".dropdown-toggle",tw={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},nw={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Xs extends Gt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return tw}static get DefaultType(){return nw}static get NAME(){return H6}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=$n(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ne.off(this._config.target,pf),ne.on(this._config.target,pf,Ha,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ye.find(Ha,this._config.target);for(const t of e){if(!t.hash||Fn(t))continue;const r=ye.findOne(decodeURI(t.hash),this._element);ro(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Tr),this._activateParents(e),ne.trigger(this._element,W6,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(G6)){ye.findOne(ew,e.closest(q6)).classList.add(Tr);return}for(const t of ye.parents(e,J6))for(const r of ye.prev(t,Q6))r.classList.add(Tr)}_clearActiveClass(e){e.classList.remove(Tr);const t=ye.find(`${Ha}.${Tr}`,e);for(const r of t)r.classList.remove(Tr)}static jQueryInterface(e){return this.each(function(){const t=Xs.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(window,K6,()=>{for(const n of ye.find(Y6))Xs.getOrCreateInstance(n)});Vt(Xs);const rw="tab",ow="bs.tab",br=`.${ow}`,iw=`hide${br}`,sw=`hidden${br}`,aw=`show${br}`,lw=`shown${br}`,cw=`click${br}`,uw=`keydown${br}`,dw=`load${br}`,fw="ArrowLeft",gf="ArrowRight",hw="ArrowUp",vf="ArrowDown",nr="active",yf="fade",Ua="show",pw="dropdown",mw=".dropdown-toggle",gw=".dropdown-menu",ja=":not(.dropdown-toggle)",vw='.list-group, .nav, [role="tablist"]',yw=".nav-item, .list-group-item",bw=`.nav-link${ja}, .list-group-item${ja}, [role="tab"]${ja}`,Vm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wa=`${bw}, ${Vm}`,Ew=`.${nr}[data-bs-toggle="tab"], .${nr}[data-bs-toggle="pill"], .${nr}[data-bs-toggle="list"]`;class qr extends Gt{constructor(e){super(e),this._parent=this._element.closest(vw),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,uw,t=>this._keydown(t)))}static get NAME(){return rw}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,iw,{relatedTarget:e}):null;ne.trigger(e,aw,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(nr),this._activate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ua);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,lw,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(yf))}_deactivate(e,t){if(!e)return;e.classList.remove(nr),e.blur(),this._deactivate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ua);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,sw,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(yf))}_keydown(e){if(![fw,gf,hw,vf].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[gf,vf].includes(e.key),r=Rc(this._getChildren().filter(o=>!Fn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),qr.getOrCreateInstance(r).show())}_getChildren(){return ye.find(Wa,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=ye.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(pw))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(mw,nr),o(gw,Ua),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(nr)}_getInnerElement(e){return e.matches(Wa)?e:ye.findOne(Wa,e)}_getOuterElement(e){return e.closest(yw)||e}static jQueryInterface(e){return this.each(function(){const t=qr.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,cw,Vm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,dw,()=>{for(const n of ye.find(Ew))qr.getOrCreateInstance(n)});Vt(qr);const Cw="toast",Sw="bs.toast",Kn=`.${Sw}`,ww=`mouseover${Kn}`,kw=`mouseout${Kn}`,xw=`focusin${Kn}`,Tw=`focusout${Kn}`,Aw=`hide${Kn}`,Ow=`hidden${Kn}`,Mw=`show${Kn}`,Nw=`shown${Kn}`,Iw="fade",bf="hide",fi="show",hi="showing",Dw={animation:"boolean",autohide:"boolean",delay:"number"},_w={animation:!0,autohide:!0,delay:5e3};class Jo extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _w}static get DefaultType(){return Dw}static get NAME(){return Cw}show(){if(ne.trigger(this._element,Mw).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Iw);const t=()=>{this._element.classList.remove(hi),ne.trigger(this._element,Nw),this._maybeScheduleHide()};this._element.classList.remove(bf),Wo(this._element),this._element.classList.add(fi,hi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,Aw).defaultPrevented)return;const t=()=>{this._element.classList.add(bf),this._element.classList.remove(hi,fi),ne.trigger(this._element,Ow)};this._element.classList.add(hi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fi),super.dispose()}isShown(){return this._element.classList.contains(fi)}_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;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ne.on(this._element,ww,e=>this._onInteraction(e,!0)),ne.on(this._element,kw,e=>this._onInteraction(e,!1)),ne.on(this._element,xw,e=>this._onInteraction(e,!0)),ne.on(this._element,Tw,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Jo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Ys(Jo);Vt(Jo);const Lw=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new mr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function zm(n=void 0){const e=l=>i("Succesvol",l,Lr.SUCCESS),t=l=>i("Waarschuwing",l,Lr.WARNING),r=l=>i("Informatie",l,Lr.INFO),o=l=>i("Mislukt",l,Lr.DANGER);function i(l,a,c){const u=`toast-${Pf()}`,d={id:u,variant:c,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=f.h(Gl,d),g=f.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`);v&&(Jo.getOrCreateInstance(v,n).show(),s(v))}function s(l){function a(d,h){d.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const Rw=n=>Array.isArray(n)&&n.length>0,{showDangerToast:Bw}=zm();function Pw(n){const e=f.ref(null),t=(a,c="serverErrors")=>{var d;let u=[];if(Array.isArray((d=a==null?void 0:a.response)==null?void 0:d.data)?u=a.response.data.filter(h=>ai(h.ErrorMessage)&&h.ErrorMessage!==Al):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,ai(c))e.value=u;else if(Array.isArray(c)){let h=e.value;for(let p=0;p<c.length;p++)p===c.length-1?h[c[p]]=u:h=h[c[p]]}r(a),s(e)},r=a=>{const u=new URL(a.request.responseURL).pathname;if(u in n.error){const d=n.error[u];d&&Bw(d)}},o=f.ref(null),i=f.ref(""),s=a=>{Rw(a.value)?o.value=a.value.map(c=>ai(c)?c:c.ErrorMessage):ai(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=Al}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const Hm={mounted:n=>{new yr(n)}},$w={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},lt=f.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:$w.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=f.computed(()=>t.to?zr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=()=>{e("click")};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Fw={install:n=>{n.component("BDCol",Ef),n.component("BDContainer",Cf),n.component("BDRow",Sf),n.component("BDButton",lt),n.component("BDLogo",Wl),n.component("BDLink",zr),n.component("BDDropdownItem",ki),n.component("BDDropdown",Lc),n.component("BDAlert",_f),n.component("BDProfileImage",Fo),n.component("BDZoomslider",Rf),n.component("BDCard",Kl),n.component("BDCollapsableCard",$f),n.component("BDFormInput",Vf),n.component("BDInputGroup",zf),n.component("BDFormInvalidFeedback",Os),n.component("BDBadge",Hf),n.component("BDForm",Uf),n.component("BDPagination",jf),n.component("BDDropzone",Jf),n.component("BDMarkdownEditor",am),n.component("BDModal",fm),n.component("BDFormSelect",Wf),n.component("BDUser",lm),n.component("BDArticle",Gf),n.component("BDFormCheckbox",Kf),n.component("BDToast",Gl),n.component("BDAttachmentPreviewList",Ks),n.component("BDImageAttachmentPreviewList",Gs),n.component("BDHeader",dm),n.component("BDMobileMenu",_c),n.component("BDChatCloud",cm),n.component("BDTable",um),n.component("IconAcademy",wf),n.component("IconArrowDown",kf),n.component("IconArrowUp",xf),n.component("IconAttachment",cr),n.component("IconBold",Dl),n.component("IconBulletList",_l),n.component("IconCalendar",Ka),n.component("IconCalendar",Ka),n.component("IconCardView",Tf),n.component("IconCaretDown",Ll),n.component("IconCaretLeft",Rl),n.component("IconCaretRight",Bl),n.component("IconCheck",Po),n.component("IconClose",ks),n.component("IconDownloadImage",Ci),n.component("IconDownloadImage",Ci),n.component("IconEdit",Af),n.component("IconError",xs),n.component("IconEyeShow",Of),n.component("IconEyeSlash",Mf),n.component("IconFile",Pl),n.component("IconHyperlink",$l),n.component("IconInfo",Ts),n.component("IconItalic",Fl),n.component("IconListView",Nf),n.component("IconMenu",Si),n.component("IconMenu",Si),n.component("IconOrderedList",Vl),n.component("IconRemove",$o),n.component("IconSort",If),n.component("IconSortAsc",zl),n.component("IconSortDesc",Hl),n.component("IconSortNone",Ul),n.component("IconTriangleExclamation",Df),n.component("IconUnderline",jl),n.directive("vBDTooltip",Hm)}};exports.BDAlert=_f;exports.BDArticle=Gf;exports.BDAttachmentPreviewList=Ks;exports.BDBadge=Hf;exports.BDButton=lt;exports.BDCard=Kl;exports.BDChatCloud=cm;exports.BDCol=Ef;exports.BDCollapsableCard=$f;exports.BDContainer=Cf;exports.BDDropdown=Lc;exports.BDDropdownItem=ki;exports.BDDropzone=Jf;exports.BDForm=Uf;exports.BDFormCheckbox=Kf;exports.BDFormInput=Vf;exports.BDFormInvalidFeedback=Os;exports.BDFormSelect=Wf;exports.BDHeader=dm;exports.BDImageAttachmentPreviewList=Gs;exports.BDInputGroup=zf;exports.BDLink=zr;exports.BDLogo=Wl;exports.BDMarkdownEditor=am;exports.BDMobileMenu=_c;exports.BDModal=fm;exports.BDPagination=jf;exports.BDProfileImage=Fo;exports.BDRow=Sf;exports.BDTable=um;exports.BDToast=Gl;exports.BDUser=lm;exports.BDZoomslider=Rf;exports.IconAcademy=wf;exports.IconArrowDown=kf;exports.IconArrowUp=xf;exports.IconAttachment=cr;exports.IconBold=Dl;exports.IconBulletList=_l;exports.IconCalendar=Ka;exports.IconCardView=Tf;exports.IconCaretDown=Ll;exports.IconCaretLeft=Rl;exports.IconCaretRight=Bl;exports.IconCheck=Po;exports.IconClose=ks;exports.IconDownloadImage=Ci;exports.IconEdit=Af;exports.IconError=xs;exports.IconEyeShow=Of;exports.IconEyeSlash=Mf;exports.IconFile=Pl;exports.IconHyperlink=$l;exports.IconInfo=Ts;exports.IconItalic=Fl;exports.IconListView=Nf;exports.IconMenu=Si;exports.IconOrderedList=Vl;exports.IconRemove=$o;exports.IconSort=If;exports.IconSortAsc=zl;exports.IconSortDesc=Hl;exports.IconSortNone=Ul;exports.IconTriangleExclamation=Df;exports.IconUnderline=jl;exports.default=Fw;exports.useModal=Lw;exports.useServerErrors=Pw;exports.useToaster=zm;exports.vBdTooltip=Hm;
|
|
131
|
+
*/const xn=new Map,Da={set(n,e,t){xn.has(n)||xn.set(n,new Map);const r=xn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return xn.has(n)&&xn.get(n).get(e)||null},remove(n,e){if(!xn.has(n))return;const t=xn.get(n);t.delete(e),t.size===0&&xn.delete(n)}},b4=1e6,E4=1e3,Ol="transitionend",hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),C4=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),S4=n=>{do n+=Math.floor(Math.random()*b4);while(document.getElementById(n));return n},w4=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*E4)},pm=n=>{n.dispatchEvent(new Event(Ol))},vn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),$n=n=>vn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(hm(n)):null,ro=n=>{if(!vn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Fn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",mm=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?mm(n.parentNode):null},Cs=()=>{},Wo=n=>{n.offsetHeight},gm=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,_a=[],k4=n=>{document.readyState==="loading"?(_a.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of _a)e()}),_a.push(n)):n()},$t=()=>document.documentElement.dir==="rtl",Vt=n=>{k4(()=>{const e=gm();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},yt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,vm=(n,e,t=!0)=>{if(!t){yt(n);return}const r=5,o=w4(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(Ol,s),yt(n))};e.addEventListener(Ol,s),setTimeout(()=>{i||pm(e)},o)},Rc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},x4=/[^.]*(?=\..*)\.|.*/,T4=/\..*/,A4=/::\d+$/,La={};let Kd=1;const ym={mouseenter:"mouseover",mouseleave:"mouseout"},O4=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 bm(n,e){return e&&`${e}::${Kd++}`||n.uidEvent||Kd++}function Em(n){const e=bm(n);return n.uidEvent=e,La[e]=La[e]||{},La[e]}function M4(n,e){return function t(r){return Bc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function N4(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Bc(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function Cm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function Sm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=wm(n);return O4.has(i)||(i=n),[r,o,i]}function Gd(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=Sm(e,t,r);e in ym&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Em(n),c=a[l]||(a[l]={}),u=Cm(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=bm(s,e.replace(x4,"")),h=i?N4(n,t,s):M4(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function Ml(n,e,t,r,o){const i=Cm(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function I4(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Ml(n,e,t,s.callable,s.delegationSelector)}function wm(n){return n=n.replace(T4,""),ym[n]||n}const ne={on(n,e,t,r){Gd(n,e,t,r,!1)},one(n,e,t,r){Gd(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=Sm(e,t,r),l=s!==e,a=Em(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Ml(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))I4(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(A4,"");(!l||e.includes(p))&&Ml(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=gm(),o=wm(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=Bc(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Bc(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function Yd(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function Ra(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const yn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${Ra(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${Ra(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=Yd(n.dataset[r])}return e},getDataAttribute(n,e){return Yd(n.getAttribute(`data-bs-${Ra(e)}`))}};class Ko{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=vn(t)?yn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...vn(t)?yn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=vn(i)?"element":C4(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const D4="5.3.0";class Gt extends Ko{constructor(e,t){super(),e=$n(e),e&&(this._element=e,this._config=this._getConfig(t),Da.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Da.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){vm(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Da.get($n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return D4}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 Ba=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.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 hm(e)},ye={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Fn(t)&&ro(t))},getSelectorFromElement(n){const e=Ba(n);return e&&ye.findOne(e)?e:null},getElementFromSelector(n){const e=Ba(n);return e?ye.findOne(e):null},getMultipleElementsFromSelector(n){const e=Ba(n);return e?ye.find(e):[]}},Ys=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Fn(this))return;const i=ye.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},_4="alert",L4="bs.alert",km=`.${L4}`,R4=`close${km}`,B4=`closed${km}`,P4="fade",$4="show";class Js extends Gt{static get NAME(){return _4}close(){if(ne.trigger(this._element,R4).defaultPrevented)return;this._element.classList.remove($4);const t=this._element.classList.contains(P4);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,B4),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Ys(Js,"close");Vt(Js);const F4="button",V4="bs.button",z4=`.${V4}`,H4=".data-api",U4="active",Jd='[data-bs-toggle="button"]',j4=`click${z4}${H4}`;class Zs extends Gt{static get NAME(){return F4}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(U4))}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,j4,Jd,n=>{n.preventDefault();const e=n.target.closest(Jd);Zs.getOrCreateInstance(e).toggle()});Vt(Zs);const W4="swipe",oo=".bs.swipe",K4=`touchstart${oo}`,G4=`touchmove${oo}`,Y4=`touchend${oo}`,J4=`pointerdown${oo}`,Z4=`pointerup${oo}`,X4="touch",Q4="pen",q4="pointer-event",eC=40,tC={endCallback:null,leftCallback:null,rightCallback:null},nC={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ss extends Ko{constructor(e,t){super(),this._element=e,!(!e||!Ss.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return tC}static get DefaultType(){return nC}static get NAME(){return W4}dispose(){ne.off(this._element,oo)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),yt(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<=eC)return;const t=e/this._deltaX;this._deltaX=0,t&&yt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,J4,e=>this._start(e)),ne.on(this._element,Z4,e=>this._end(e)),this._element.classList.add(q4)):(ne.on(this._element,K4,e=>this._start(e)),ne.on(this._element,G4,e=>this._move(e)),ne.on(this._element,Y4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===Q4||e.pointerType===X4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const rC="carousel",oC="bs.carousel",Wn=`.${oC}`,xm=".data-api",iC="ArrowLeft",sC="ArrowRight",aC=500,so="next",xr="prev",Dr="left",bi="right",lC=`slide${Wn}`,Pa=`slid${Wn}`,cC=`keydown${Wn}`,uC=`mouseenter${Wn}`,dC=`mouseleave${Wn}`,fC=`dragstart${Wn}`,hC=`load${Wn}${xm}`,pC=`click${Wn}${xm}`,Tm="carousel",li="active",mC="slide",gC="carousel-item-end",vC="carousel-item-start",yC="carousel-item-next",bC="carousel-item-prev",Am=".active",Om=".carousel-item",EC=Am+Om,CC=".carousel-item img",SC=".carousel-indicators",wC="[data-bs-slide], [data-bs-slide-to]",kC='[data-bs-ride="carousel"]',xC={[iC]:bi,[sC]:Dr},TC={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},AC={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Go extends Gt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ye.findOne(SC,this._element),this._addEventListeners(),this._config.ride===Tm&&this.cycle()}static get Default(){return TC}static get DefaultType(){return AC}static get NAME(){return rC}next(){this._slide(so)}nextWhenVisible(){!document.hidden&&ro(this._element)&&this.next()}prev(){this._slide(xr)}pause(){this._isSliding&&pm(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ne.one(this._element,Pa,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Pa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?so:xr;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ne.on(this._element,cC,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,uC,()=>this.pause()),ne.on(this._element,dC,()=>this._maybeEnableCycle())),this._config.touch&&Ss.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(CC,this._element))ne.on(r,fC,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Dr)),rightCallback:()=>this._slide(this._directionToOrder(bi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),aC+this._config.interval))}};this._swipeHelper=new Ss(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=xC[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=ye.findOne(Am,this._indicatorsElement);t.classList.remove(li),t.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(li),r.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 r=this._getActive(),o=e===so,i=t||Rc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>ne.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(lC).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?vC:gC,d=o?yC:bC;i.classList.add(d),Wo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(li),r.classList.remove(li,d,u),this._isSliding=!1,l(Pa)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(mC)}_getActive(){return ye.findOne(EC,this._element)}_getItems(){return ye.find(Om,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $t()?e===Dr?xr:so:e===Dr?so:xr}_orderToDirection(e){return $t()?e===xr?Dr:bi:e===xr?bi:Dr}static jQueryInterface(e){return this.each(function(){const t=Go.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,pC,wC,function(n){const e=ye.getElementFromSelector(this);if(!e||!e.classList.contains(Tm))return;n.preventDefault();const t=Go.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(yn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});ne.on(window,hC,()=>{const n=ye.find(kC);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const OC="collapse",MC="bs.collapse",Yo=`.${MC}`,NC=".data-api",IC=`show${Yo}`,DC=`shown${Yo}`,_C=`hide${Yo}`,LC=`hidden${Yo}`,RC=`click${Yo}${NC}`,$a="show",Pr="collapse",ci="collapsing",BC="collapsed",PC=`:scope .${Pr} .${Pr}`,$C="collapse-horizontal",FC="width",VC="height",zC=".collapse.show, .collapse.collapsing",Nl='[data-bs-toggle="collapse"]',HC={parent:null,toggle:!0},UC={parent:"(null|element)",toggle:"boolean"};class Bo extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(Nl);for(const o of r){const i=ye.getSelectorFromElement(o),s=ye.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return HC}static get DefaultType(){return UC}static get NAME(){return OC}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(zC).filter(l=>l!==this._element).map(l=>Bo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,IC).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Pr),this._element.classList.add(ci),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(ci),this._element.classList.add(Pr,$a),this._element.style[r]="",ne.trigger(this._element,DC)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ne.trigger(this._element,_C).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Wo(this._element),this._element.classList.add(ci),this._element.classList.remove(Pr,$a);for(const o of this._triggerArray){const i=ye.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(ci),this._element.classList.add(Pr),ne.trigger(this._element,LC)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains($a)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$n(e.parent),e}_getDimension(){return this._element.classList.contains($C)?FC:VC}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Nl);for(const t of e){const r=ye.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ye.find(PC,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(BC,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Bo.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,RC,Nl,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ye.getMultipleElementsFromSelector(this))Bo.getOrCreateInstance(e,{toggle:!1}).toggle()});Vt(Bo);const Zd="dropdown",jC="bs.dropdown",vr=`.${jC}`,Pc=".data-api",WC="Escape",Xd="Tab",KC="ArrowUp",Qd="ArrowDown",GC=2,YC=`hide${vr}`,JC=`hidden${vr}`,ZC=`show${vr}`,XC=`shown${vr}`,Mm=`click${vr}${Pc}`,Nm=`keydown${vr}${Pc}`,QC=`keyup${vr}${Pc}`,_r="show",qC="dropup",eS="dropend",tS="dropstart",nS="dropup-center",rS="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',oS=`${tr}.${_r}`,Ei=".dropdown-menu",iS=".navbar",sS=".navbar-nav",aS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",lS=$t()?"top-end":"top-start",cS=$t()?"top-start":"top-end",uS=$t()?"bottom-end":"bottom-start",dS=$t()?"bottom-start":"bottom-end",fS=$t()?"left-start":"right-start",hS=$t()?"right-start":"left-start",pS="top",mS="bottom",gS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},vS={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class rn extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,Ei)[0]||ye.prev(this._element,Ei)[0]||ye.findOne(Ei,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return gS}static get DefaultType(){return vS}static get NAME(){return Zd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,ZC,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(sS))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Cs);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_r),this._element.classList.add(_r),ne.trigger(this._element,XC,e)}}hide(){if(Fn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ne.trigger(this._element,YC,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Cs);this._popper&&this._popper.destroy(),this._menu.classList.remove(_r),this._element.classList.remove(_r),this._element.setAttribute("aria-expanded","false"),yn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,JC,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!vn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Zd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Hp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:vn(this._config.reference)?e=$n(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=js(e,this._menu,t)}_isShown(){return this._menu.classList.contains(_r)}_getPlacement(){const e=this._parent;if(e.classList.contains(eS))return fS;if(e.classList.contains(tS))return hS;if(e.classList.contains(nS))return pS;if(e.classList.contains(rS))return mS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(qC)?t?cS:lS:t?dS:uS}_detectNavbar(){return this._element.closest(iS)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?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||this._config.display==="static")&&(yn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...yt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ye.find(aS,this._menu).filter(o=>ro(o));r.length&&Rc(r,t,e===Qd,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=rn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===GC||e.type==="keyup"&&e.key!==Xd)return;const t=ye.find(oS);for(const r of t){const o=rn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Xd||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===WC,o=[KC,Qd].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(tr)?this:ye.prev(this,tr)[0]||ye.next(this,tr)[0]||ye.findOne(tr,e.delegateTarget.parentNode),s=rn.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,Nm,tr,rn.dataApiKeydownHandler);ne.on(document,Nm,Ei,rn.dataApiKeydownHandler);ne.on(document,Mm,rn.clearMenus);ne.on(document,QC,rn.clearMenus);ne.on(document,Mm,tr,function(n){n.preventDefault(),rn.getOrCreateInstance(this).toggle()});Vt(rn);const Im="backdrop",yS="fade",qd="show",ef=`mousedown.bs.${Im}`,bS={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ES={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Dm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return bS}static get DefaultType(){return ES}static get NAME(){return Im}show(e){if(!this._config.isVisible){yt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Wo(t),t.classList.add(qd),this._emulateAnimation(()=>{yt(e)})}hide(e){if(!this._config.isVisible){yt(e);return}this._getElement().classList.remove(qd),this._emulateAnimation(()=>{this.dispose(),yt(e)})}dispose(){this._isAppended&&(ne.off(this._element,ef),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(yS),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$n(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,ef,()=>{yt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){vm(e,this._getElement(),this._config.isAnimated)}}const CS="focustrap",SS="bs.focustrap",ws=`.${SS}`,wS=`focusin${ws}`,kS=`keydown.tab${ws}`,xS="Tab",TS="forward",tf="backward",AS={autofocus:!0,trapElement:null},OS={autofocus:"boolean",trapElement:"element"};class _m extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return AS}static get DefaultType(){return OS}static get NAME(){return CS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,ws),ne.on(document,wS,e=>this._handleFocusin(e)),ne.on(document,kS,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,ws))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ye.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===tf?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===xS&&(this._lastTabNavDirection=e.shiftKey?tf:TS)}}const nf=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rf=".sticky-top",ui="padding-right",of="margin-right";class Il{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,ui,t=>t+e),this._setElementAttributes(nf,ui,t=>t+e),this._setElementAttributes(rf,of,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ui),this._resetElementAttributes(nf,ui),this._resetElementAttributes(rf,of)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&yn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=yn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}yn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(vn(e)){t(e);return}for(const r of ye.find(e,this._element))t(r)}}const MS="modal",NS="bs.modal",Ft=`.${NS}`,IS=".data-api",DS="Escape",_S=`hide${Ft}`,LS=`hidePrevented${Ft}`,Lm=`hidden${Ft}`,Rm=`show${Ft}`,RS=`shown${Ft}`,BS=`resize${Ft}`,PS=`click.dismiss${Ft}`,$S=`mousedown.dismiss${Ft}`,FS=`keydown.dismiss${Ft}`,VS=`click${Ft}${IS}`,sf="modal-open",zS="fade",af="show",Fa="modal-static",HS=".modal.show",US=".modal-dialog",jS=".modal-body",WS='[data-bs-toggle="modal"]',KS={backdrop:!0,focus:!0,keyboard:!0},GS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(US,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Il,this._addEventListeners()}static get Default(){return KS}static get DefaultType(){return GS}static get NAME(){return MS}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,Rm,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(sf),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,_S).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(af),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Ft),ne.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Dm({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new _m({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=ye.findOne(jS,this._dialog);t&&(t.scrollTop=0),Wo(this._element),this._element.classList.add(af);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,RS,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,FS,e=>{if(e.key===DS){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,BS,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,$S,e=>{ne.one(this._element,PS,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(sf),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,Lm)})}_isAnimated(){return this._element.classList.contains(zS)}_triggerBackdropTransition(){if(ne.trigger(this._element,LS).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Fa)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Fa),this._queueCallback(()=>{this._element.classList.remove(Fa),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=$t()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=$t()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=mr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,VS,WS,function(n){const e=ye.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,Rm,o=>{o.defaultPrevented||ne.one(e,Lm,()=>{ro(this)&&this.focus()})});const t=ye.findOne(HS);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Ys(mr);Vt(mr);const YS="offcanvas",JS="bs.offcanvas",En=`.${JS}`,Bm=".data-api",ZS=`load${En}${Bm}`,XS="Escape",lf="show",cf="showing",uf="hiding",QS="offcanvas-backdrop",Pm=".offcanvas.show",qS=`show${En}`,e6=`shown${En}`,t6=`hide${En}`,df=`hidePrevented${En}`,$m=`hidden${En}`,n6=`resize${En}`,r6=`click${En}${Bm}`,o6=`keydown.dismiss${En}`,i6='[data-bs-toggle="offcanvas"]',s6={backdrop:!0,keyboard:!0,scroll:!1},a6={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vn extends Gt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return s6}static get DefaultType(){return a6}static get NAME(){return YS}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,qS,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Il().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(cf);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(lf),this._element.classList.remove(cf),ne.trigger(this._element,e6,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,t6).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(uf),this._backdrop.hide();const t=()=>{this._element.classList.remove(lf,uf),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Il().reset(),ne.trigger(this._element,$m)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,df);return}this.hide()},t=!!this._config.backdrop;return new Dm({className:QS,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new _m({trapElement:this._element})}_addEventListeners(){ne.on(this._element,o6,e=>{if(e.key===XS){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,df)}})}static jQueryInterface(e){return this.each(function(){const t=Vn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ne.on(document,r6,i6,function(n){const e=ye.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Fn(this))return;ne.one(e,$m,()=>{ro(this)&&this.focus()});const t=ye.findOne(Pm);t&&t!==e&&Vn.getInstance(t).hide(),Vn.getOrCreateInstance(e).toggle(this)});ne.on(window,ZS,()=>{for(const n of ye.find(Pm))Vn.getOrCreateInstance(n).show()});ne.on(window,n6,()=>{for(const n of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Vn.getOrCreateInstance(n).hide()});Ys(Vn);Vt(Vn);const l6=/^aria-[\w-]*$/i,Fm={"*":["class","dir","id","lang","role",l6],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:[]},c6=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),u6=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,d6=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?c6.has(t)?!!u6.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function f6(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)d6(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const h6="TemplateFactory",p6={allowList:Fm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},m6={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},g6={entry:"(string|element|function|null)",selector:"(string|element)"};class v6 extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return p6}static get DefaultType(){return m6}static get NAME(){return h6}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[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},g6)}_setContent(e,t,r){const o=ye.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(vn(t)){this._putElementInTemplate($n(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?f6(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return yt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const y6="tooltip",b6=new Set(["sanitize","allowList","sanitizeFn"]),Va="fade",E6="modal",di="show",C6=".tooltip-inner",ff=`.${E6}`,hf="hide.bs.modal",ao="hover",za="focus",S6="click",w6="manual",k6="hide",x6="hidden",T6="show",A6="shown",O6="inserted",M6="click",N6="focusin",I6="focusout",D6="mouseenter",_6="mouseleave",L6={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},R6={allowList:Fm,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"},B6={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 yr extends Gt{constructor(e,t){if(typeof Hp>"u")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 R6}static get DefaultType(){return B6}static get NAME(){return y6}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ne.off(this._element.closest(ff),hf,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ne.trigger(this._element,this.constructor.eventName(T6)),r=(mm(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ne.trigger(this._element,this.constructor.eventName(O6))),this._popper=this._createPopper(o),o.classList.add(di),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Cs);const s=()=>{ne.trigger(this._element,this.constructor.eventName(A6)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(k6)).defaultPrevented)return;if(this._getTipElement().classList.remove(di),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Cs);this._activeTrigger[S6]=!1,this._activeTrigger[za]=!1,this._activeTrigger[ao]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(x6)))};this._queueCallback(r,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(Va,di),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=S4(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Va),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new v6({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[C6]: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(Va)}_isShown(){return this.tip&&this.tip.classList.contains(di)}_createPopper(e){const t=yt(this._config.placement,[this,e,this._element]),r=L6[t.toUpperCase()];return js(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return yt(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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...yt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName(M6),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==w6){const r=t===ao?this.constructor.eventName(D6):this.constructor.eventName(N6),o=t===ao?this.constructor.eventName(_6):this.constructor.eventName(I6);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?za:ao]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?za:ao]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(ff),hf,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(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=yn.getDataAttributes(this._element);for(const r of Object.keys(t))b6.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:$n(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(yr);const P6="popover",$6=".popover-header",F6=".popover-body",V6={...yr.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"},z6={...yr.DefaultType,content:"(null|string|element|function)"};class $c extends yr{static get Default(){return V6}static get DefaultType(){return z6}static get NAME(){return P6}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[$6]:this._getTitle(),[F6]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=$c.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt($c);const H6="scrollspy",U6="bs.scrollspy",Fc=`.${U6}`,j6=".data-api",W6=`activate${Fc}`,pf=`click${Fc}`,K6=`load${Fc}${j6}`,G6="dropdown-item",Tr="active",Y6='[data-bs-spy="scroll"]',Ha="[href]",J6=".nav, .list-group",mf=".nav-link",Z6=".nav-item",X6=".list-group-item",Q6=`${mf}, ${Z6} > ${mf}, ${X6}`,q6=".dropdown",ew=".dropdown-toggle",tw={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},nw={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Xs extends Gt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return tw}static get DefaultType(){return nw}static get NAME(){return H6}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=$n(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ne.off(this._config.target,pf),ne.on(this._config.target,pf,Ha,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ye.find(Ha,this._config.target);for(const t of e){if(!t.hash||Fn(t))continue;const r=ye.findOne(decodeURI(t.hash),this._element);ro(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Tr),this._activateParents(e),ne.trigger(this._element,W6,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(G6)){ye.findOne(ew,e.closest(q6)).classList.add(Tr);return}for(const t of ye.parents(e,J6))for(const r of ye.prev(t,Q6))r.classList.add(Tr)}_clearActiveClass(e){e.classList.remove(Tr);const t=ye.find(`${Ha}.${Tr}`,e);for(const r of t)r.classList.remove(Tr)}static jQueryInterface(e){return this.each(function(){const t=Xs.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(window,K6,()=>{for(const n of ye.find(Y6))Xs.getOrCreateInstance(n)});Vt(Xs);const rw="tab",ow="bs.tab",br=`.${ow}`,iw=`hide${br}`,sw=`hidden${br}`,aw=`show${br}`,lw=`shown${br}`,cw=`click${br}`,uw=`keydown${br}`,dw=`load${br}`,fw="ArrowLeft",gf="ArrowRight",hw="ArrowUp",vf="ArrowDown",nr="active",yf="fade",Ua="show",pw="dropdown",mw=".dropdown-toggle",gw=".dropdown-menu",ja=":not(.dropdown-toggle)",vw='.list-group, .nav, [role="tablist"]',yw=".nav-item, .list-group-item",bw=`.nav-link${ja}, .list-group-item${ja}, [role="tab"]${ja}`,Vm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wa=`${bw}, ${Vm}`,Ew=`.${nr}[data-bs-toggle="tab"], .${nr}[data-bs-toggle="pill"], .${nr}[data-bs-toggle="list"]`;class qr extends Gt{constructor(e){super(e),this._parent=this._element.closest(vw),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,uw,t=>this._keydown(t)))}static get NAME(){return rw}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,iw,{relatedTarget:e}):null;ne.trigger(e,aw,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(nr),this._activate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ua);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,lw,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(yf))}_deactivate(e,t){if(!e)return;e.classList.remove(nr),e.blur(),this._deactivate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ua);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,sw,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(yf))}_keydown(e){if(![fw,gf,hw,vf].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[gf,vf].includes(e.key),r=Rc(this._getChildren().filter(o=>!Fn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),qr.getOrCreateInstance(r).show())}_getChildren(){return ye.find(Wa,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=ye.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(pw))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(mw,nr),o(gw,Ua),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(nr)}_getInnerElement(e){return e.matches(Wa)?e:ye.findOne(Wa,e)}_getOuterElement(e){return e.closest(yw)||e}static jQueryInterface(e){return this.each(function(){const t=qr.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,cw,Vm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,dw,()=>{for(const n of ye.find(Ew))qr.getOrCreateInstance(n)});Vt(qr);const Cw="toast",Sw="bs.toast",Kn=`.${Sw}`,ww=`mouseover${Kn}`,kw=`mouseout${Kn}`,xw=`focusin${Kn}`,Tw=`focusout${Kn}`,Aw=`hide${Kn}`,Ow=`hidden${Kn}`,Mw=`show${Kn}`,Nw=`shown${Kn}`,Iw="fade",bf="hide",fi="show",hi="showing",Dw={animation:"boolean",autohide:"boolean",delay:"number"},_w={animation:!0,autohide:!0,delay:5e3};class Jo extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _w}static get DefaultType(){return Dw}static get NAME(){return Cw}show(){if(ne.trigger(this._element,Mw).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Iw);const t=()=>{this._element.classList.remove(hi),ne.trigger(this._element,Nw),this._maybeScheduleHide()};this._element.classList.remove(bf),Wo(this._element),this._element.classList.add(fi,hi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,Aw).defaultPrevented)return;const t=()=>{this._element.classList.add(bf),this._element.classList.remove(hi,fi),ne.trigger(this._element,Ow)};this._element.classList.add(hi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(fi),super.dispose()}isShown(){return this._element.classList.contains(fi)}_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;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ne.on(this._element,ww,e=>this._onInteraction(e,!0)),ne.on(this._element,kw,e=>this._onInteraction(e,!1)),ne.on(this._element,xw,e=>this._onInteraction(e,!0)),ne.on(this._element,Tw,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Jo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Ys(Jo);Vt(Jo);const Lw=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new mr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function zm(n=void 0){const e=l=>i("Succesvol",l,Lr.SUCCESS),t=l=>i("Waarschuwing",l,Lr.WARNING),r=l=>i("Informatie",l,Lr.INFO),o=l=>i("Mislukt",l,Lr.DANGER);function i(l,a,c){const u=`toast-${Pf()}`,d={id:u,variant:c,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=f.h(Gl,d),g=f.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`);v&&(Jo.getOrCreateInstance(v,n).show(),s(v))}function s(l){function a(d,h){d.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const Rw=n=>Array.isArray(n)&&n.length>0,{showDangerToast:Bw}=zm();function Pw(n){const e=f.ref(null),t=(a,c="serverErrors")=>{var d;let u=[];if(Array.isArray((d=a==null?void 0:a.response)==null?void 0:d.data)?u=a.response.data.filter(h=>ai(h.ErrorMessage)&&h.ErrorMessage!==Al):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,ai(c))e.value=u;else if(Array.isArray(c)){let h=e.value;for(let p=0;p<c.length;p++)p===c.length-1?h[c[p]]=u:h=h[c[p]]}r(a),s(e)},r=a=>{const u=new URL(a.request.responseURL).pathname;if(u in n.error){const d=n.error[u];d&&Bw(d)}},o=f.ref(null),i=f.ref(""),s=a=>{Rw(a.value)?o.value=a.value.map(c=>ai(c)?c:c.ErrorMessage):ai(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=Al}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const Hm={mounted:n=>{new yr(n)}},$w={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},lt=f.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:$w.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=f.computed(()=>t.to?zr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=l=>{e("click",l)};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Fw={install:n=>{n.component("BDCol",Ef),n.component("BDContainer",Cf),n.component("BDRow",Sf),n.component("BDButton",lt),n.component("BDLogo",Wl),n.component("BDLink",zr),n.component("BDDropdownItem",ki),n.component("BDDropdown",Lc),n.component("BDAlert",_f),n.component("BDProfileImage",Fo),n.component("BDZoomslider",Rf),n.component("BDCard",Kl),n.component("BDCollapsableCard",$f),n.component("BDFormInput",Vf),n.component("BDInputGroup",zf),n.component("BDFormInvalidFeedback",Os),n.component("BDBadge",Hf),n.component("BDForm",Uf),n.component("BDPagination",jf),n.component("BDDropzone",Jf),n.component("BDMarkdownEditor",am),n.component("BDModal",fm),n.component("BDFormSelect",Wf),n.component("BDUser",lm),n.component("BDArticle",Gf),n.component("BDFormCheckbox",Kf),n.component("BDToast",Gl),n.component("BDAttachmentPreviewList",Ks),n.component("BDImageAttachmentPreviewList",Gs),n.component("BDHeader",dm),n.component("BDMobileMenu",_c),n.component("BDChatCloud",cm),n.component("BDTable",um),n.component("IconAcademy",wf),n.component("IconArrowDown",kf),n.component("IconArrowUp",xf),n.component("IconAttachment",cr),n.component("IconBold",Dl),n.component("IconBulletList",_l),n.component("IconCalendar",Ka),n.component("IconCalendar",Ka),n.component("IconCardView",Tf),n.component("IconCaretDown",Ll),n.component("IconCaretLeft",Rl),n.component("IconCaretRight",Bl),n.component("IconCheck",Po),n.component("IconClose",ks),n.component("IconDownloadImage",Ci),n.component("IconDownloadImage",Ci),n.component("IconEdit",Af),n.component("IconError",xs),n.component("IconEyeShow",Of),n.component("IconEyeSlash",Mf),n.component("IconFile",Pl),n.component("IconHyperlink",$l),n.component("IconInfo",Ts),n.component("IconItalic",Fl),n.component("IconListView",Nf),n.component("IconMenu",Si),n.component("IconMenu",Si),n.component("IconOrderedList",Vl),n.component("IconRemove",$o),n.component("IconSort",If),n.component("IconSortAsc",zl),n.component("IconSortDesc",Hl),n.component("IconSortNone",Ul),n.component("IconTriangleExclamation",Df),n.component("IconUnderline",jl),n.directive("vBDTooltip",Hm)}};exports.BDAlert=_f;exports.BDArticle=Gf;exports.BDAttachmentPreviewList=Ks;exports.BDBadge=Hf;exports.BDButton=lt;exports.BDCard=Kl;exports.BDChatCloud=cm;exports.BDCol=Ef;exports.BDCollapsableCard=$f;exports.BDContainer=Cf;exports.BDDropdown=Lc;exports.BDDropdownItem=ki;exports.BDDropzone=Jf;exports.BDForm=Uf;exports.BDFormCheckbox=Kf;exports.BDFormInput=Vf;exports.BDFormInvalidFeedback=Os;exports.BDFormSelect=Wf;exports.BDHeader=dm;exports.BDImageAttachmentPreviewList=Gs;exports.BDInputGroup=zf;exports.BDLink=zr;exports.BDLogo=Wl;exports.BDMarkdownEditor=am;exports.BDMobileMenu=_c;exports.BDModal=fm;exports.BDPagination=jf;exports.BDProfileImage=Fo;exports.BDRow=Sf;exports.BDTable=um;exports.BDToast=Gl;exports.BDUser=lm;exports.BDZoomslider=Rf;exports.IconAcademy=wf;exports.IconArrowDown=kf;exports.IconArrowUp=xf;exports.IconAttachment=cr;exports.IconBold=Dl;exports.IconBulletList=_l;exports.IconCalendar=Ka;exports.IconCardView=Tf;exports.IconCaretDown=Ll;exports.IconCaretLeft=Rl;exports.IconCaretRight=Bl;exports.IconCheck=Po;exports.IconClose=ks;exports.IconDownloadImage=Ci;exports.IconEdit=Af;exports.IconError=xs;exports.IconEyeShow=Of;exports.IconEyeSlash=Mf;exports.IconFile=Pl;exports.IconHyperlink=$l;exports.IconInfo=Ts;exports.IconItalic=Fl;exports.IconListView=Nf;exports.IconMenu=Si;exports.IconOrderedList=Vl;exports.IconRemove=$o;exports.IconSort=If;exports.IconSortAsc=zl;exports.IconSortDesc=Hl;exports.IconSortNone=Ul;exports.IconTriangleExclamation=Df;exports.IconUnderline=jl;exports.default=Fw;exports.useModal=Lw;exports.useServerErrors=Pw;exports.useToaster=zm;exports.vBdTooltip=Hm;
|
|
@@ -25840,8 +25840,8 @@ const kT = {
|
|
|
25840
25840
|
})), s = xe(() => t.to ? js : "button"), i = xe(() => {
|
|
25841
25841
|
const l = {};
|
|
25842
25842
|
return t.to ? (l.to = t.to, l.role = "button") : l.type = "submit", l;
|
|
25843
|
-
}), o = () => {
|
|
25844
|
-
e("click");
|
|
25843
|
+
}), o = (l) => {
|
|
25844
|
+
e("click", l);
|
|
25845
25845
|
};
|
|
25846
25846
|
return (l, a) => (K(), We(Vo(s.value), an({
|
|
25847
25847
|
class: ["bd-btn", r.value]
|
|
@@ -128,4 +128,4 @@ img.ProseMirror-separator {
|
|
|
128
128
|
* Bootstrap v5.3.0 (https://getbootstrap.com/)
|
|
129
129
|
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
130
130
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
131
|
-
*/const Vn=new Map,fc={set(n,e,t){Vn.has(n)||Vn.set(n,new Map);const r=Vn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return Vn.has(n)&&Vn.get(n).get(e)||null},remove(n,e){if(!Vn.has(n))return;const t=Vn.get(n);t.delete(e),t.size===0&&Vn.delete(n)}},A8=1e6,x8=1e3,hc="transitionend",Tp=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),O8=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),M8=n=>{do n+=Math.floor(Math.random()*A8);while(document.getElementById(n));return n},N8=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*x8)},Ap=n=>{n.dispatchEvent(new Event(hc))},yn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),zn=n=>yn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Tp(n)):null,Xr=n=>{if(!yn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Hn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",xp=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?xp(n.parentNode):null},Ps=()=>{},Uo=n=>{n.offsetHeight},Op=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,pc=[],I8=n=>{document.readyState==="loading"?(pc.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of pc)e()}),pc.push(n)):n()},Rt=()=>document.documentElement.dir==="rtl",Bt=n=>{I8(()=>{const e=Op();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},bt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Mp=(n,e,t=!0)=>{if(!t){bt(n);return}const r=5,o=N8(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(hc,s),bt(n))};e.addEventListener(hc,s),setTimeout(()=>{i||Ap(e)},o)},mc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},_8=/[^.]*(?=\..*)\.|.*/,D8=/\..*/,L8=/::\d+$/,gc={};let Np=1;const Ip={mouseenter:"mouseover",mouseleave:"mouseout"},R8=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 _p(n,e){return e&&`${e}::${Np++}`||n.uidEvent||Np++}function Dp(n){const e=_p(n);return n.uidEvent=e,gc[e]=gc[e]||{},gc[e]}function B8(n,e){return function t(r){return vc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function P8(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return vc(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function Lp(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function Rp(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=Pp(n);return R8.has(i)||(i=n),[r,o,i]}function Bp(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=Rp(e,t,r);e in Ip&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Dp(n),c=a[l]||(a[l]={}),u=Lp(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=_p(s,e.replace(_8,"")),h=i?P8(n,t,s):B8(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function yc(n,e,t,r,o){const i=Lp(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function $8(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&yc(n,e,t,s.callable,s.delegationSelector)}function Pp(n){return n=n.replace(D8,""),Ip[n]||n}const ne={on(n,e,t,r){Bp(n,e,t,r,!1)},one(n,e,t,r){Bp(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=Rp(e,t,r),l=s!==e,a=Dp(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;yc(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))$8(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(L8,"");(!l||e.includes(p))&&yc(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Op(),o=Pp(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=vc(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function vc(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function $p(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function Ec(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const vn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${Ec(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${Ec(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=$p(n.dataset[r])}return e},getDataAttribute(n,e){return $p(n.getAttribute(`data-bs-${Ec(e)}`))}};class jo{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=yn(t)?vn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...yn(t)?vn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=yn(i)?"element":O8(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const F8="5.3.0";class Yt extends jo{constructor(e,t){super(),e=zn(e),e&&(this._element=e,this._config=this._getConfig(t),fc.set(this._element,this.constructor.DATA_KEY,this))}dispose(){fc.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Mp(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return fc.get(zn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return F8}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 bc=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.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 Tp(e)},Ee={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Hn(t)&&Xr(t))},getSelectorFromElement(n){const e=bc(n);return e&&Ee.findOne(e)?e:null},getElementFromSelector(n){const e=bc(n);return e?Ee.findOne(e):null},getMultipleElementsFromSelector(n){const e=bc(n);return e?Ee.find(e):[]}},$s=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Hn(this))return;const i=Ee.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},V8="alert",Fp=".bs.alert",z8=`close${Fp}`,H8=`closed${Fp}`,U8="fade",j8="show";class Fs extends Yt{static get NAME(){return V8}close(){if(ne.trigger(this._element,z8).defaultPrevented)return;this._element.classList.remove(j8);const t=this._element.classList.contains(U8);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,H8),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Fs.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}$s(Fs,"close"),Bt(Fs);const W8="button",K8=".bs.button",G8=".data-api",Y8="active",Vp='[data-bs-toggle="button"]',J8=`click${K8}${G8}`;class Vs extends Yt{static get NAME(){return W8}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Y8))}static jQueryInterface(e){return this.each(function(){const t=Vs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,J8,Vp,n=>{n.preventDefault();const e=n.target.closest(Vp);Vs.getOrCreateInstance(e).toggle()}),Bt(Vs);const Z8="swipe",Qr=".bs.swipe",X8=`touchstart${Qr}`,Q8=`touchmove${Qr}`,q8=`touchend${Qr}`,e4=`pointerdown${Qr}`,t4=`pointerup${Qr}`,n4="touch",r4="pen",o4="pointer-event",i4=40,s4={endCallback:null,leftCallback:null,rightCallback:null},a4={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class zs extends jo{constructor(e,t){super(),this._element=e,!(!e||!zs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return s4}static get DefaultType(){return a4}static get NAME(){return Z8}dispose(){ne.off(this._element,Qr)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),bt(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<=i4)return;const t=e/this._deltaX;this._deltaX=0,t&&bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,e4,e=>this._start(e)),ne.on(this._element,t4,e=>this._end(e)),this._element.classList.add(o4)):(ne.on(this._element,X8,e=>this._start(e)),ne.on(this._element,Q8,e=>this._move(e)),ne.on(this._element,q8,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===r4||e.pointerType===n4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const l4="carousel",Un=".bs.carousel",zp=".data-api",c4="ArrowLeft",u4="ArrowRight",d4=500,Wo="next",qr="prev",eo="left",Hs="right",f4=`slide${Un}`,Cc=`slid${Un}`,h4=`keydown${Un}`,p4=`mouseenter${Un}`,m4=`mouseleave${Un}`,g4=`dragstart${Un}`,y4=`load${Un}${zp}`,v4=`click${Un}${zp}`,Hp="carousel",Us="active",E4="slide",b4="carousel-item-end",C4="carousel-item-start",S4="carousel-item-next",w4="carousel-item-prev",Up=".active",jp=".carousel-item",k4=Up+jp,T4=".carousel-item img",A4=".carousel-indicators",x4="[data-bs-slide], [data-bs-slide-to]",O4='[data-bs-ride="carousel"]',M4={[c4]:Hs,[u4]:eo},N4={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},I4={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ko extends Yt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ee.findOne(A4,this._element),this._addEventListeners(),this._config.ride===Hp&&this.cycle()}static get Default(){return N4}static get DefaultType(){return I4}static get NAME(){return l4}next(){this._slide(Wo)}nextWhenVisible(){!document.hidden&&Xr(this._element)&&this.next()}prev(){this._slide(qr)}pause(){this._isSliding&&Ap(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ne.one(this._element,Cc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Cc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Wo:qr;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ne.on(this._element,h4,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,p4,()=>this.pause()),ne.on(this._element,m4,()=>this._maybeEnableCycle())),this._config.touch&&zs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ee.find(T4,this._element))ne.on(r,g4,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(eo)),rightCallback:()=>this._slide(this._directionToOrder(Hs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),d4+this._config.interval))}};this._swipeHelper=new zs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=M4[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=Ee.findOne(Up,this._indicatorsElement);t.classList.remove(Us),t.removeAttribute("aria-current");const r=Ee.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Us),r.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 r=this._getActive(),o=e===Wo,i=t||mc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>ne.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(f4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?C4:b4,d=o?S4:w4;i.classList.add(d),Uo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(Us),r.classList.remove(Us,d,u),this._isSliding=!1,l(Cc)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(E4)}_getActive(){return Ee.findOne(k4,this._element)}_getItems(){return Ee.find(jp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Rt()?e===eo?qr:Wo:e===eo?Wo:qr}_orderToDirection(e){return Rt()?e===qr?eo:Hs:e===qr?Hs:eo}static jQueryInterface(e){return this.each(function(){const t=Ko.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,v4,x4,function(n){const e=Ee.getElementFromSelector(this);if(!e||!e.classList.contains(Hp))return;n.preventDefault();const t=Ko.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(vn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ne.on(window,y4,()=>{const n=Ee.find(O4);for(const e of n)Ko.getOrCreateInstance(e)}),Bt(Ko);const _4="collapse",Go=".bs.collapse",D4=".data-api",L4=`show${Go}`,R4=`shown${Go}`,B4=`hide${Go}`,P4=`hidden${Go}`,$4=`click${Go}${D4}`,Sc="show",to="collapse",js="collapsing",F4="collapsed",V4=`:scope .${to} .${to}`,z4="collapse-horizontal",H4="width",U4="height",j4=".collapse.show, .collapse.collapsing",wc='[data-bs-toggle="collapse"]',W4={parent:null,toggle:!0},K4={parent:"(null|element)",toggle:"boolean"};class Yo extends Yt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Ee.find(wc);for(const o of r){const i=Ee.getSelectorFromElement(o),s=Ee.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return W4}static get DefaultType(){return K4}static get NAME(){return _4}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(j4).filter(l=>l!==this._element).map(l=>Yo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,L4).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(to),this._element.classList.add(js),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(js),this._element.classList.add(to,Sc),this._element.style[r]="",ne.trigger(this._element,R4)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ne.trigger(this._element,B4).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Uo(this._element),this._element.classList.add(js),this._element.classList.remove(to,Sc);for(const o of this._triggerArray){const i=Ee.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(js),this._element.classList.add(to),ne.trigger(this._element,P4)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Sc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=zn(e.parent),e}_getDimension(){return this._element.classList.contains(z4)?H4:U4}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(wc);for(const t of e){const r=Ee.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Ee.find(V4,this._config.parent);return Ee.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(F4,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Yo.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,$4,wc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Ee.getMultipleElementsFromSelector(this))Yo.getOrCreateInstance(e,{toggle:!1}).toggle()}),Bt(Yo);const Wp="dropdown",pr=".bs.dropdown",kc=".data-api",G4="Escape",Kp="Tab",Y4="ArrowUp",Gp="ArrowDown",J4=2,Z4=`hide${pr}`,X4=`hidden${pr}`,Q4=`show${pr}`,q4=`shown${pr}`,Yp=`click${pr}${kc}`,Jp=`keydown${pr}${kc}`,eC=`keyup${pr}${kc}`,no="show",tC="dropup",nC="dropend",rC="dropstart",oC="dropup-center",iC="dropdown-center",mr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',sC=`${mr}.${no}`,Ws=".dropdown-menu",aC=".navbar",lC=".navbar-nav",cC=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",uC=Rt()?"top-end":"top-start",dC=Rt()?"top-start":"top-end",fC=Rt()?"bottom-end":"bottom-start",hC=Rt()?"bottom-start":"bottom-end",pC=Rt()?"left-start":"right-start",mC=Rt()?"right-start":"left-start",gC="top",yC="bottom",vC={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},EC={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class an extends Yt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Ee.next(this._element,Ws)[0]||Ee.prev(this._element,Ws)[0]||Ee.findOne(Ws,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return vC}static get DefaultType(){return EC}static get NAME(){return Wp}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Hn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,Q4,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(lC))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Ps);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(no),this._element.classList.add(no),ne.trigger(this._element,q4,e)}}hide(){if(Hn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ne.trigger(this._element,Z4,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Ps);this._popper&&this._popper.destroy(),this._menu.classList.remove(no),this._element.classList.remove(no),this._element.setAttribute("aria-expanded","false"),vn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,X4,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!yn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wp.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Mh>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:yn(this._config.reference)?e=zn(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Gi(e,this._menu,t)}_isShown(){return this._menu.classList.contains(no)}_getPlacement(){const e=this._parent;if(e.classList.contains(nC))return pC;if(e.classList.contains(rC))return mC;if(e.classList.contains(oC))return gC;if(e.classList.contains(iC))return yC;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(tC)?t?dC:uC:t?hC:fC}_detectNavbar(){return this._element.closest(aC)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?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||this._config.display==="static")&&(vn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Ee.find(cC,this._menu).filter(o=>Xr(o));r.length&&mc(r,t,e===Gp,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=an.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===J4||e.type==="keyup"&&e.key!==Kp)return;const t=Ee.find(sC);for(const r of t){const o=an.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Kp||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===G4,o=[Y4,Gp].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(mr)?this:Ee.prev(this,mr)[0]||Ee.next(this,mr)[0]||Ee.findOne(mr,e.delegateTarget.parentNode),s=an.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,Jp,mr,an.dataApiKeydownHandler),ne.on(document,Jp,Ws,an.dataApiKeydownHandler),ne.on(document,Yp,an.clearMenus),ne.on(document,eC,an.clearMenus),ne.on(document,Yp,mr,function(n){n.preventDefault(),an.getOrCreateInstance(this).toggle()}),Bt(an);const Zp="backdrop",bC="fade",Xp="show",Qp=`mousedown.bs.${Zp}`,CC={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},SC={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class qp extends jo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return CC}static get DefaultType(){return SC}static get NAME(){return Zp}show(e){if(!this._config.isVisible){bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Uo(t),t.classList.add(Xp),this._emulateAnimation(()=>{bt(e)})}hide(e){if(!this._config.isVisible){bt(e);return}this._getElement().classList.remove(Xp),this._emulateAnimation(()=>{this.dispose(),bt(e)})}dispose(){this._isAppended&&(ne.off(this._element,Qp),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(bC),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=zn(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,Qp,()=>{bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Mp(e,this._getElement(),this._config.isAnimated)}}const wC="focustrap",Ks=".bs.focustrap",kC=`focusin${Ks}`,TC=`keydown.tab${Ks}`,AC="Tab",xC="forward",em="backward",OC={autofocus:!0,trapElement:null},MC={autofocus:"boolean",trapElement:"element"};class tm extends jo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return OC}static get DefaultType(){return MC}static get NAME(){return wC}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ks),ne.on(document,kC,e=>this._handleFocusin(e)),ne.on(document,TC,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,Ks))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Ee.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===em?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===AC&&(this._lastTabNavDirection=e.shiftKey?em:xC)}}const nm=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rm=".sticky-top",Gs="padding-right",om="margin-right";class Tc{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,Gs,t=>t+e),this._setElementAttributes(nm,Gs,t=>t+e),this._setElementAttributes(rm,om,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Gs),this._resetElementAttributes(nm,Gs),this._resetElementAttributes(rm,om)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&vn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=vn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}vn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(yn(e)){t(e);return}for(const r of Ee.find(e,this._element))t(r)}}const NC="modal",Pt=".bs.modal",IC=".data-api",_C="Escape",DC=`hide${Pt}`,LC=`hidePrevented${Pt}`,im=`hidden${Pt}`,sm=`show${Pt}`,RC=`shown${Pt}`,BC=`resize${Pt}`,PC=`click.dismiss${Pt}`,$C=`mousedown.dismiss${Pt}`,FC=`keydown.dismiss${Pt}`,VC=`click${Pt}${IC}`,am="modal-open",zC="fade",lm="show",Ac="modal-static",HC=".modal.show",UC=".modal-dialog",jC=".modal-body",WC='[data-bs-toggle="modal"]',KC={backdrop:!0,focus:!0,keyboard:!0},GC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class gr extends Yt{constructor(e,t){super(e,t),this._dialog=Ee.findOne(UC,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Tc,this._addEventListeners()}static get Default(){return KC}static get DefaultType(){return GC}static get NAME(){return NC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,sm,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(am),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,DC).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(lm),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Pt),ne.off(this._dialog,Pt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new qp({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new tm({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=Ee.findOne(jC,this._dialog);t&&(t.scrollTop=0),Uo(this._element),this._element.classList.add(lm);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,RC,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,FC,e=>{if(e.key===_C){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,BC,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,$C,e=>{ne.one(this._element,PC,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(am),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,im)})}_isAnimated(){return this._element.classList.contains(zC)}_triggerBackdropTransition(){if(ne.trigger(this._element,LC).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Ac)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ac),this._queueCallback(()=>{this._element.classList.remove(Ac),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=Rt()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=Rt()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=gr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,VC,WC,function(n){const e=Ee.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,sm,o=>{o.defaultPrevented||ne.one(e,im,()=>{Xr(this)&&this.focus()})});const t=Ee.findOne(HC);t&&gr.getInstance(t).hide(),gr.getOrCreateInstance(e).toggle(this)}),$s(gr),Bt(gr);const YC="offcanvas",En=".bs.offcanvas",cm=".data-api",JC=`load${En}${cm}`,ZC="Escape",um="show",dm="showing",fm="hiding",XC="offcanvas-backdrop",hm=".offcanvas.show",QC=`show${En}`,qC=`shown${En}`,eS=`hide${En}`,pm=`hidePrevented${En}`,mm=`hidden${En}`,tS=`resize${En}`,nS=`click${En}${cm}`,rS=`keydown.dismiss${En}`,oS='[data-bs-toggle="offcanvas"]',iS={backdrop:!0,keyboard:!0,scroll:!1},sS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class jn extends Yt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return iS}static get DefaultType(){return sS}static get NAME(){return YC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,QC,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Tc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(dm);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(um),this._element.classList.remove(dm),ne.trigger(this._element,qC,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,eS).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(fm),this._backdrop.hide();const t=()=>{this._element.classList.remove(um,fm),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Tc().reset(),ne.trigger(this._element,mm)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,pm);return}this.hide()},t=!!this._config.backdrop;return new qp({className:XC,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new tm({trapElement:this._element})}_addEventListeners(){ne.on(this._element,rS,e=>{if(e.key===ZC){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,pm)}})}static jQueryInterface(e){return this.each(function(){const t=jn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ne.on(document,nS,oS,function(n){const e=Ee.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Hn(this))return;ne.one(e,mm,()=>{Xr(this)&&this.focus()});const t=Ee.findOne(hm);t&&t!==e&&jn.getInstance(t).hide(),jn.getOrCreateInstance(e).toggle(this)}),ne.on(window,JC,()=>{for(const n of Ee.find(hm))jn.getOrCreateInstance(n).show()}),ne.on(window,tS,()=>{for(const n of Ee.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&jn.getOrCreateInstance(n).hide()}),$s(jn),Bt(jn);const gm={"*":["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:[]},aS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),lS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,cS=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?aS.has(t)?!!lS.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function uS(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)cS(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const dS="TemplateFactory",fS={allowList:gm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},hS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},pS={entry:"(string|element|function|null)",selector:"(string|element)"};class mS extends jo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return fS}static get DefaultType(){return hS}static get NAME(){return dS}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[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},pS)}_setContent(e,t,r){const o=Ee.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(yn(t)){this._putElementInTemplate(zn(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?uS(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return bt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const gS="tooltip",yS=new Set(["sanitize","allowList","sanitizeFn"]),xc="fade",vS="modal",Ys="show",ES=".tooltip-inner",ym=`.${vS}`,vm="hide.bs.modal",Jo="hover",Oc="focus",bS="click",CS="manual",SS="hide",wS="hidden",kS="show",TS="shown",AS="inserted",xS="click",OS="focusin",MS="focusout",NS="mouseenter",IS="mouseleave",_S={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},DS={allowList:gm,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"},LS={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 yr extends Yt{constructor(e,t){if(typeof Mh>"u")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 DS}static get DefaultType(){return LS}static get NAME(){return gS}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ne.off(this._element.closest(ym),vm,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ne.trigger(this._element,this.constructor.eventName(kS)),r=(xp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ne.trigger(this._element,this.constructor.eventName(AS))),this._popper=this._createPopper(o),o.classList.add(Ys),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Ps);const s=()=>{ne.trigger(this._element,this.constructor.eventName(TS)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(SS)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ys),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Ps);this._activeTrigger[bS]=!1,this._activeTrigger[Oc]=!1,this._activeTrigger[Jo]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(wS)))};this._queueCallback(r,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(xc,Ys),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=M8(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(xc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new mS({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ES]: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(xc)}_isShown(){return this.tip&&this.tip.classList.contains(Ys)}_createPopper(e){const t=bt(this._config.placement,[this,e,this._element]),r=_S[t.toUpperCase()];return Gi(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return bt(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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...bt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName(xS),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==CS){const r=t===Jo?this.constructor.eventName(NS):this.constructor.eventName(OS),o=t===Jo?this.constructor.eventName(IS):this.constructor.eventName(MS);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Oc:Jo]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Oc:Jo]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(ym),vm,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(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=vn.getDataAttributes(this._element);for(const r of Object.keys(t))yS.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:zn(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt(yr);const RS="popover",BS=".popover-header",PS=".popover-body",$S={...yr.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"},FS={...yr.DefaultType,content:"(null|string|element|function)"};class Mc extends yr{static get Default(){return $S}static get DefaultType(){return FS}static get NAME(){return RS}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[BS]:this._getTitle(),[PS]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Mc.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt(Mc);const VS="scrollspy",Nc=".bs.scrollspy",zS=".data-api",HS=`activate${Nc}`,Em=`click${Nc}`,US=`load${Nc}${zS}`,jS="dropdown-item",ro="active",WS='[data-bs-spy="scroll"]',Ic="[href]",KS=".nav, .list-group",bm=".nav-link",GS=`${bm}, .nav-item > ${bm}, .list-group-item`,YS=".dropdown",JS=".dropdown-toggle",ZS={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},XS={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Js extends Yt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ZS}static get DefaultType(){return XS}static get NAME(){return VS}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=zn(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ne.off(this._config.target,Em),ne.on(this._config.target,Em,Ic,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ee.find(Ic,this._config.target);for(const t of e){if(!t.hash||Hn(t))continue;const r=Ee.findOne(decodeURI(t.hash),this._element);Xr(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ro),this._activateParents(e),ne.trigger(this._element,HS,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(jS)){Ee.findOne(JS,e.closest(YS)).classList.add(ro);return}for(const t of Ee.parents(e,KS))for(const r of Ee.prev(t,GS))r.classList.add(ro)}_clearActiveClass(e){e.classList.remove(ro);const t=Ee.find(`${Ic}.${ro}`,e);for(const r of t)r.classList.remove(ro)}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(window,US,()=>{for(const n of Ee.find(WS))Js.getOrCreateInstance(n)}),Bt(Js);const QS="tab",vr=".bs.tab",qS=`hide${vr}`,e6=`hidden${vr}`,t6=`show${vr}`,n6=`shown${vr}`,r6=`click${vr}`,o6=`keydown${vr}`,i6=`load${vr}`,s6="ArrowLeft",Cm="ArrowRight",a6="ArrowUp",Sm="ArrowDown",Er="active",wm="fade",_c="show",l6="dropdown",c6=".dropdown-toggle",u6=".dropdown-menu",Dc=":not(.dropdown-toggle)",d6='.list-group, .nav, [role="tablist"]',f6=".nav-item, .list-group-item",h6=`.nav-link${Dc}, .list-group-item${Dc}, [role="tab"]${Dc}`,km='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Lc=`${h6}, ${km}`,p6=`.${Er}[data-bs-toggle="tab"], .${Er}[data-bs-toggle="pill"], .${Er}[data-bs-toggle="list"]`;class oo extends Yt{constructor(e){super(e),this._parent=this._element.closest(d6),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,o6,t=>this._keydown(t)))}static get NAME(){return QS}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,qS,{relatedTarget:e}):null;ne.trigger(e,t6,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Er),this._activate(Ee.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(_c);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,n6,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(wm))}_deactivate(e,t){if(!e)return;e.classList.remove(Er),e.blur(),this._deactivate(Ee.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(_c);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,e6,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(wm))}_keydown(e){if(![s6,Cm,a6,Sm].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Cm,Sm].includes(e.key),r=mc(this._getChildren().filter(o=>!Hn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),oo.getOrCreateInstance(r).show())}_getChildren(){return Ee.find(Lc,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=Ee.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(l6))return;const o=(i,s)=>{const l=Ee.findOne(i,r);l&&l.classList.toggle(s,t)};o(c6,Er),o(u6,_c),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(Er)}_getInnerElement(e){return e.matches(Lc)?e:Ee.findOne(Lc,e)}_getOuterElement(e){return e.closest(f6)||e}static jQueryInterface(e){return this.each(function(){const t=oo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,r6,km,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Hn(this)&&oo.getOrCreateInstance(this).show()}),ne.on(window,i6,()=>{for(const n of Ee.find(p6))oo.getOrCreateInstance(n)}),Bt(oo);const m6="toast",Wn=".bs.toast",g6=`mouseover${Wn}`,y6=`mouseout${Wn}`,v6=`focusin${Wn}`,E6=`focusout${Wn}`,b6=`hide${Wn}`,C6=`hidden${Wn}`,S6=`show${Wn}`,w6=`shown${Wn}`,k6="fade",Tm="hide",Zs="show",Xs="showing",T6={animation:"boolean",autohide:"boolean",delay:"number"},A6={animation:!0,autohide:!0,delay:5e3};class Zo extends Yt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return A6}static get DefaultType(){return T6}static get NAME(){return m6}show(){if(ne.trigger(this._element,S6).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(k6);const t=()=>{this._element.classList.remove(Xs),ne.trigger(this._element,w6),this._maybeScheduleHide()};this._element.classList.remove(Tm),Uo(this._element),this._element.classList.add(Zs,Xs),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,b6).defaultPrevented)return;const t=()=>{this._element.classList.add(Tm),this._element.classList.remove(Xs,Zs),ne.trigger(this._element,C6)};this._element.classList.add(Xs),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Zs),super.dispose()}isShown(){return this._element.classList.contains(Zs)}_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;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ne.on(this._element,g6,e=>this._onInteraction(e,!0)),ne.on(this._element,y6,e=>this._onInteraction(e,!1)),ne.on(this._element,v6,e=>this._onInteraction(e,!0)),ne.on(this._element,E6,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}$s(Zo),Bt(Zo);const x6=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new gr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function Am(n=void 0){const e=l=>i("Succesvol",l,Sr.SUCCESS),t=l=>i("Waarschuwing",l,Sr.WARNING),r=l=>i("Informatie",l,Sr.INFO),o=l=>i("Mislukt",l,Sr.DANGER);function i(l,a,c){const u=`toast-${au()}`,d={id:u,variant:c,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=f.h(va,d),g=f.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${u}`);y&&(Zo.getOrCreateInstance(y,n).show(),s(y))}function s(l){function a(d,h){d.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const O6=n=>Array.isArray(n)&&n.length>0,{showDangerToast:M6}=Am();function N6(n){const e=f.ref(null),t=(a,c="serverErrors")=>{var d;let u=[];if(Array.isArray((d=a==null?void 0:a.response)==null?void 0:d.data)?u=a.response.data.filter(h=>Bs(h.ErrorMessage)&&h.ErrorMessage!==uc):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,Bs(c))e.value=u;else if(Array.isArray(c)){let h=e.value;for(let p=0;p<c.length;p++)p===c.length-1?h[c[p]]=u:h=h[c[p]]}r(a),s(e)},r=a=>{const u=new URL(a.request.responseURL).pathname;if(u in n.error){const d=n.error[u];d&&M6(d)}},o=f.ref(null),i=f.ref(""),s=a=>{O6(a.value)?o.value=a.value.map(c=>Bs(c)?c:c.ErrorMessage):Bs(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=uc}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const xm={mounted:n=>{new yr(n)}},I6={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},pt=f.defineComponent({__name:"BDButton",props:{size:{default:st.MD},variant:{default:I6.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=f.computed(()=>t.to?Cr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=()=>{e("click")};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),_6={install:n=>{n.component("BDCol",zc),n.component("BDContainer",Hc),n.component("BDRow",Uc),n.component("BDButton",pt),n.component("BDLogo",ha),n.component("BDLink",Cr),n.component("BDDropdownItem",si),n.component("BDDropdown",dc),n.component("BDAlert",tu),n.component("BDProfileImage",lo),n.component("BDZoomslider",ou),n.component("BDCard",ma),n.component("BDCollapsableCard",lu),n.component("BDFormInput",hu),n.component("BDInputGroup",pu),n.component("BDFormInvalidFeedback",ii),n.component("BDBadge",mu),n.component("BDForm",gu),n.component("BDPagination",yu),n.component("BDDropzone",wu),n.component("BDMarkdownEditor",Ep),n.component("BDModal",kp),n.component("BDFormSelect",vu),n.component("BDUser",bp),n.component("BDArticle",bu),n.component("BDFormCheckbox",Eu),n.component("BDToast",va),n.component("BDAttachmentPreviewList",Ds),n.component("BDImageAttachmentPreviewList",Ls),n.component("BDHeader",wp),n.component("BDMobileMenu",cc),n.component("BDChatCloud",Cp),n.component("BDTable",Sp),n.component("IconAcademy",jc),n.component("IconArrowDown",Wc),n.component("IconArrowUp",Kc),n.component("IconAttachment",Yn),n.component("IconBold",qs),n.component("IconBulletList",ea),n.component("IconCalendar",ta),n.component("IconCalendar",ta),n.component("IconCardView",Gc),n.component("IconCaretDown",na),n.component("IconCaretLeft",ra),n.component("IconCaretRight",oa),n.component("IconCheck",so),n.component("IconClose",Xo),n.component("IconDownloadImage",Qo),n.component("IconDownloadImage",Qo),n.component("IconEdit",Yc),n.component("IconError",qo),n.component("IconEyeShow",Jc),n.component("IconEyeSlash",Zc),n.component("IconFile",ia),n.component("IconHyperlink",sa),n.component("IconInfo",ei),n.component("IconItalic",aa),n.component("IconListView",Xc),n.component("IconMenu",ti),n.component("IconMenu",ti),n.component("IconOrderedList",la),n.component("IconRemove",ao),n.component("IconSort",Qc),n.component("IconSortAsc",ca),n.component("IconSortDesc",ua),n.component("IconSortNone",da),n.component("IconTriangleExclamation",qc),n.component("IconUnderline",fa),n.directive("vBDTooltip",xm)}};fe.BDAlert=tu,fe.BDArticle=bu,fe.BDAttachmentPreviewList=Ds,fe.BDBadge=mu,fe.BDButton=pt,fe.BDCard=ma,fe.BDChatCloud=Cp,fe.BDCol=zc,fe.BDCollapsableCard=lu,fe.BDContainer=Hc,fe.BDDropdown=dc,fe.BDDropdownItem=si,fe.BDDropzone=wu,fe.BDForm=gu,fe.BDFormCheckbox=Eu,fe.BDFormInput=hu,fe.BDFormInvalidFeedback=ii,fe.BDFormSelect=vu,fe.BDHeader=wp,fe.BDImageAttachmentPreviewList=Ls,fe.BDInputGroup=pu,fe.BDLink=Cr,fe.BDLogo=ha,fe.BDMarkdownEditor=Ep,fe.BDMobileMenu=cc,fe.BDModal=kp,fe.BDPagination=yu,fe.BDProfileImage=lo,fe.BDRow=Uc,fe.BDTable=Sp,fe.BDToast=va,fe.BDUser=bp,fe.BDZoomslider=ou,fe.IconAcademy=jc,fe.IconArrowDown=Wc,fe.IconArrowUp=Kc,fe.IconAttachment=Yn,fe.IconBold=qs,fe.IconBulletList=ea,fe.IconCalendar=ta,fe.IconCardView=Gc,fe.IconCaretDown=na,fe.IconCaretLeft=ra,fe.IconCaretRight=oa,fe.IconCheck=so,fe.IconClose=Xo,fe.IconDownloadImage=Qo,fe.IconEdit=Yc,fe.IconError=qo,fe.IconEyeShow=Jc,fe.IconEyeSlash=Zc,fe.IconFile=ia,fe.IconHyperlink=sa,fe.IconInfo=ei,fe.IconItalic=aa,fe.IconListView=Xc,fe.IconMenu=ti,fe.IconOrderedList=la,fe.IconRemove=ao,fe.IconSort=Qc,fe.IconSortAsc=ca,fe.IconSortDesc=ua,fe.IconSortNone=da,fe.IconTriangleExclamation=qc,fe.IconUnderline=fa,fe.default=_6,fe.useModal=x6,fe.useServerErrors=N6,fe.useToaster=Am,fe.vBdTooltip=xm,Object.defineProperties(fe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
131
|
+
*/const Vn=new Map,fc={set(n,e,t){Vn.has(n)||Vn.set(n,new Map);const r=Vn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return Vn.has(n)&&Vn.get(n).get(e)||null},remove(n,e){if(!Vn.has(n))return;const t=Vn.get(n);t.delete(e),t.size===0&&Vn.delete(n)}},A8=1e6,x8=1e3,hc="transitionend",Tp=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),O8=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),M8=n=>{do n+=Math.floor(Math.random()*A8);while(document.getElementById(n));return n},N8=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*x8)},Ap=n=>{n.dispatchEvent(new Event(hc))},yn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),zn=n=>yn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Tp(n)):null,Xr=n=>{if(!yn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Hn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",xp=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?xp(n.parentNode):null},Ps=()=>{},Uo=n=>{n.offsetHeight},Op=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,pc=[],I8=n=>{document.readyState==="loading"?(pc.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of pc)e()}),pc.push(n)):n()},Rt=()=>document.documentElement.dir==="rtl",Bt=n=>{I8(()=>{const e=Op();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},bt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Mp=(n,e,t=!0)=>{if(!t){bt(n);return}const r=5,o=N8(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(hc,s),bt(n))};e.addEventListener(hc,s),setTimeout(()=>{i||Ap(e)},o)},mc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},_8=/[^.]*(?=\..*)\.|.*/,D8=/\..*/,L8=/::\d+$/,gc={};let Np=1;const Ip={mouseenter:"mouseover",mouseleave:"mouseout"},R8=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 _p(n,e){return e&&`${e}::${Np++}`||n.uidEvent||Np++}function Dp(n){const e=_p(n);return n.uidEvent=e,gc[e]=gc[e]||{},gc[e]}function B8(n,e){return function t(r){return vc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function P8(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return vc(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function Lp(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function Rp(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=Pp(n);return R8.has(i)||(i=n),[r,o,i]}function Bp(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=Rp(e,t,r);e in Ip&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Dp(n),c=a[l]||(a[l]={}),u=Lp(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=_p(s,e.replace(_8,"")),h=i?P8(n,t,s):B8(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function yc(n,e,t,r,o){const i=Lp(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function $8(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&yc(n,e,t,s.callable,s.delegationSelector)}function Pp(n){return n=n.replace(D8,""),Ip[n]||n}const ne={on(n,e,t,r){Bp(n,e,t,r,!1)},one(n,e,t,r){Bp(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=Rp(e,t,r),l=s!==e,a=Dp(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;yc(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))$8(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(L8,"");(!l||e.includes(p))&&yc(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Op(),o=Pp(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=vc(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function vc(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function $p(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function Ec(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const vn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${Ec(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${Ec(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=$p(n.dataset[r])}return e},getDataAttribute(n,e){return $p(n.getAttribute(`data-bs-${Ec(e)}`))}};class jo{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=yn(t)?vn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...yn(t)?vn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=yn(i)?"element":O8(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const F8="5.3.0";class Yt extends jo{constructor(e,t){super(),e=zn(e),e&&(this._element=e,this._config=this._getConfig(t),fc.set(this._element,this.constructor.DATA_KEY,this))}dispose(){fc.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Mp(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return fc.get(zn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return F8}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 bc=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.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 Tp(e)},Ee={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Hn(t)&&Xr(t))},getSelectorFromElement(n){const e=bc(n);return e&&Ee.findOne(e)?e:null},getElementFromSelector(n){const e=bc(n);return e?Ee.findOne(e):null},getMultipleElementsFromSelector(n){const e=bc(n);return e?Ee.find(e):[]}},$s=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Hn(this))return;const i=Ee.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},V8="alert",Fp=".bs.alert",z8=`close${Fp}`,H8=`closed${Fp}`,U8="fade",j8="show";class Fs extends Yt{static get NAME(){return V8}close(){if(ne.trigger(this._element,z8).defaultPrevented)return;this._element.classList.remove(j8);const t=this._element.classList.contains(U8);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,H8),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Fs.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}$s(Fs,"close"),Bt(Fs);const W8="button",K8=".bs.button",G8=".data-api",Y8="active",Vp='[data-bs-toggle="button"]',J8=`click${K8}${G8}`;class Vs extends Yt{static get NAME(){return W8}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Y8))}static jQueryInterface(e){return this.each(function(){const t=Vs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,J8,Vp,n=>{n.preventDefault();const e=n.target.closest(Vp);Vs.getOrCreateInstance(e).toggle()}),Bt(Vs);const Z8="swipe",Qr=".bs.swipe",X8=`touchstart${Qr}`,Q8=`touchmove${Qr}`,q8=`touchend${Qr}`,e4=`pointerdown${Qr}`,t4=`pointerup${Qr}`,n4="touch",r4="pen",o4="pointer-event",i4=40,s4={endCallback:null,leftCallback:null,rightCallback:null},a4={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class zs extends jo{constructor(e,t){super(),this._element=e,!(!e||!zs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return s4}static get DefaultType(){return a4}static get NAME(){return Z8}dispose(){ne.off(this._element,Qr)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),bt(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<=i4)return;const t=e/this._deltaX;this._deltaX=0,t&&bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,e4,e=>this._start(e)),ne.on(this._element,t4,e=>this._end(e)),this._element.classList.add(o4)):(ne.on(this._element,X8,e=>this._start(e)),ne.on(this._element,Q8,e=>this._move(e)),ne.on(this._element,q8,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===r4||e.pointerType===n4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const l4="carousel",Un=".bs.carousel",zp=".data-api",c4="ArrowLeft",u4="ArrowRight",d4=500,Wo="next",qr="prev",eo="left",Hs="right",f4=`slide${Un}`,Cc=`slid${Un}`,h4=`keydown${Un}`,p4=`mouseenter${Un}`,m4=`mouseleave${Un}`,g4=`dragstart${Un}`,y4=`load${Un}${zp}`,v4=`click${Un}${zp}`,Hp="carousel",Us="active",E4="slide",b4="carousel-item-end",C4="carousel-item-start",S4="carousel-item-next",w4="carousel-item-prev",Up=".active",jp=".carousel-item",k4=Up+jp,T4=".carousel-item img",A4=".carousel-indicators",x4="[data-bs-slide], [data-bs-slide-to]",O4='[data-bs-ride="carousel"]',M4={[c4]:Hs,[u4]:eo},N4={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},I4={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ko extends Yt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ee.findOne(A4,this._element),this._addEventListeners(),this._config.ride===Hp&&this.cycle()}static get Default(){return N4}static get DefaultType(){return I4}static get NAME(){return l4}next(){this._slide(Wo)}nextWhenVisible(){!document.hidden&&Xr(this._element)&&this.next()}prev(){this._slide(qr)}pause(){this._isSliding&&Ap(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ne.one(this._element,Cc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Cc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Wo:qr;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ne.on(this._element,h4,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,p4,()=>this.pause()),ne.on(this._element,m4,()=>this._maybeEnableCycle())),this._config.touch&&zs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ee.find(T4,this._element))ne.on(r,g4,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(eo)),rightCallback:()=>this._slide(this._directionToOrder(Hs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),d4+this._config.interval))}};this._swipeHelper=new zs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=M4[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=Ee.findOne(Up,this._indicatorsElement);t.classList.remove(Us),t.removeAttribute("aria-current");const r=Ee.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Us),r.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 r=this._getActive(),o=e===Wo,i=t||mc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>ne.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(f4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?C4:b4,d=o?S4:w4;i.classList.add(d),Uo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(Us),r.classList.remove(Us,d,u),this._isSliding=!1,l(Cc)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(E4)}_getActive(){return Ee.findOne(k4,this._element)}_getItems(){return Ee.find(jp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Rt()?e===eo?qr:Wo:e===eo?Wo:qr}_orderToDirection(e){return Rt()?e===qr?eo:Hs:e===qr?Hs:eo}static jQueryInterface(e){return this.each(function(){const t=Ko.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,v4,x4,function(n){const e=Ee.getElementFromSelector(this);if(!e||!e.classList.contains(Hp))return;n.preventDefault();const t=Ko.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(vn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ne.on(window,y4,()=>{const n=Ee.find(O4);for(const e of n)Ko.getOrCreateInstance(e)}),Bt(Ko);const _4="collapse",Go=".bs.collapse",D4=".data-api",L4=`show${Go}`,R4=`shown${Go}`,B4=`hide${Go}`,P4=`hidden${Go}`,$4=`click${Go}${D4}`,Sc="show",to="collapse",js="collapsing",F4="collapsed",V4=`:scope .${to} .${to}`,z4="collapse-horizontal",H4="width",U4="height",j4=".collapse.show, .collapse.collapsing",wc='[data-bs-toggle="collapse"]',W4={parent:null,toggle:!0},K4={parent:"(null|element)",toggle:"boolean"};class Yo extends Yt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Ee.find(wc);for(const o of r){const i=Ee.getSelectorFromElement(o),s=Ee.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return W4}static get DefaultType(){return K4}static get NAME(){return _4}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(j4).filter(l=>l!==this._element).map(l=>Yo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,L4).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(to),this._element.classList.add(js),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(js),this._element.classList.add(to,Sc),this._element.style[r]="",ne.trigger(this._element,R4)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ne.trigger(this._element,B4).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Uo(this._element),this._element.classList.add(js),this._element.classList.remove(to,Sc);for(const o of this._triggerArray){const i=Ee.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(js),this._element.classList.add(to),ne.trigger(this._element,P4)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Sc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=zn(e.parent),e}_getDimension(){return this._element.classList.contains(z4)?H4:U4}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(wc);for(const t of e){const r=Ee.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Ee.find(V4,this._config.parent);return Ee.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(F4,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Yo.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,$4,wc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Ee.getMultipleElementsFromSelector(this))Yo.getOrCreateInstance(e,{toggle:!1}).toggle()}),Bt(Yo);const Wp="dropdown",pr=".bs.dropdown",kc=".data-api",G4="Escape",Kp="Tab",Y4="ArrowUp",Gp="ArrowDown",J4=2,Z4=`hide${pr}`,X4=`hidden${pr}`,Q4=`show${pr}`,q4=`shown${pr}`,Yp=`click${pr}${kc}`,Jp=`keydown${pr}${kc}`,eC=`keyup${pr}${kc}`,no="show",tC="dropup",nC="dropend",rC="dropstart",oC="dropup-center",iC="dropdown-center",mr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',sC=`${mr}.${no}`,Ws=".dropdown-menu",aC=".navbar",lC=".navbar-nav",cC=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",uC=Rt()?"top-end":"top-start",dC=Rt()?"top-start":"top-end",fC=Rt()?"bottom-end":"bottom-start",hC=Rt()?"bottom-start":"bottom-end",pC=Rt()?"left-start":"right-start",mC=Rt()?"right-start":"left-start",gC="top",yC="bottom",vC={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},EC={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class an extends Yt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Ee.next(this._element,Ws)[0]||Ee.prev(this._element,Ws)[0]||Ee.findOne(Ws,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return vC}static get DefaultType(){return EC}static get NAME(){return Wp}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Hn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,Q4,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(lC))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Ps);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(no),this._element.classList.add(no),ne.trigger(this._element,q4,e)}}hide(){if(Hn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ne.trigger(this._element,Z4,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Ps);this._popper&&this._popper.destroy(),this._menu.classList.remove(no),this._element.classList.remove(no),this._element.setAttribute("aria-expanded","false"),vn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,X4,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!yn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wp.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Mh>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:yn(this._config.reference)?e=zn(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Gi(e,this._menu,t)}_isShown(){return this._menu.classList.contains(no)}_getPlacement(){const e=this._parent;if(e.classList.contains(nC))return pC;if(e.classList.contains(rC))return mC;if(e.classList.contains(oC))return gC;if(e.classList.contains(iC))return yC;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(tC)?t?dC:uC:t?hC:fC}_detectNavbar(){return this._element.closest(aC)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?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||this._config.display==="static")&&(vn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Ee.find(cC,this._menu).filter(o=>Xr(o));r.length&&mc(r,t,e===Gp,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=an.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===J4||e.type==="keyup"&&e.key!==Kp)return;const t=Ee.find(sC);for(const r of t){const o=an.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Kp||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===G4,o=[Y4,Gp].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(mr)?this:Ee.prev(this,mr)[0]||Ee.next(this,mr)[0]||Ee.findOne(mr,e.delegateTarget.parentNode),s=an.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,Jp,mr,an.dataApiKeydownHandler),ne.on(document,Jp,Ws,an.dataApiKeydownHandler),ne.on(document,Yp,an.clearMenus),ne.on(document,eC,an.clearMenus),ne.on(document,Yp,mr,function(n){n.preventDefault(),an.getOrCreateInstance(this).toggle()}),Bt(an);const Zp="backdrop",bC="fade",Xp="show",Qp=`mousedown.bs.${Zp}`,CC={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},SC={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class qp extends jo{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return CC}static get DefaultType(){return SC}static get NAME(){return Zp}show(e){if(!this._config.isVisible){bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Uo(t),t.classList.add(Xp),this._emulateAnimation(()=>{bt(e)})}hide(e){if(!this._config.isVisible){bt(e);return}this._getElement().classList.remove(Xp),this._emulateAnimation(()=>{this.dispose(),bt(e)})}dispose(){this._isAppended&&(ne.off(this._element,Qp),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(bC),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=zn(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,Qp,()=>{bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Mp(e,this._getElement(),this._config.isAnimated)}}const wC="focustrap",Ks=".bs.focustrap",kC=`focusin${Ks}`,TC=`keydown.tab${Ks}`,AC="Tab",xC="forward",em="backward",OC={autofocus:!0,trapElement:null},MC={autofocus:"boolean",trapElement:"element"};class tm extends jo{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return OC}static get DefaultType(){return MC}static get NAME(){return wC}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ks),ne.on(document,kC,e=>this._handleFocusin(e)),ne.on(document,TC,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,Ks))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Ee.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===em?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===AC&&(this._lastTabNavDirection=e.shiftKey?em:xC)}}const nm=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",rm=".sticky-top",Gs="padding-right",om="margin-right";class Tc{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,Gs,t=>t+e),this._setElementAttributes(nm,Gs,t=>t+e),this._setElementAttributes(rm,om,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Gs),this._resetElementAttributes(nm,Gs),this._resetElementAttributes(rm,om)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&vn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=vn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}vn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(yn(e)){t(e);return}for(const r of Ee.find(e,this._element))t(r)}}const NC="modal",Pt=".bs.modal",IC=".data-api",_C="Escape",DC=`hide${Pt}`,LC=`hidePrevented${Pt}`,im=`hidden${Pt}`,sm=`show${Pt}`,RC=`shown${Pt}`,BC=`resize${Pt}`,PC=`click.dismiss${Pt}`,$C=`mousedown.dismiss${Pt}`,FC=`keydown.dismiss${Pt}`,VC=`click${Pt}${IC}`,am="modal-open",zC="fade",lm="show",Ac="modal-static",HC=".modal.show",UC=".modal-dialog",jC=".modal-body",WC='[data-bs-toggle="modal"]',KC={backdrop:!0,focus:!0,keyboard:!0},GC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class gr extends Yt{constructor(e,t){super(e,t),this._dialog=Ee.findOne(UC,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Tc,this._addEventListeners()}static get Default(){return KC}static get DefaultType(){return GC}static get NAME(){return NC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,sm,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(am),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,DC).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(lm),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Pt),ne.off(this._dialog,Pt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new qp({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new tm({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=Ee.findOne(jC,this._dialog);t&&(t.scrollTop=0),Uo(this._element),this._element.classList.add(lm);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,RC,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,FC,e=>{if(e.key===_C){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,BC,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,$C,e=>{ne.one(this._element,PC,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(am),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,im)})}_isAnimated(){return this._element.classList.contains(zC)}_triggerBackdropTransition(){if(ne.trigger(this._element,LC).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Ac)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ac),this._queueCallback(()=>{this._element.classList.remove(Ac),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=Rt()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=Rt()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=gr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,VC,WC,function(n){const e=Ee.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,sm,o=>{o.defaultPrevented||ne.one(e,im,()=>{Xr(this)&&this.focus()})});const t=Ee.findOne(HC);t&&gr.getInstance(t).hide(),gr.getOrCreateInstance(e).toggle(this)}),$s(gr),Bt(gr);const YC="offcanvas",En=".bs.offcanvas",cm=".data-api",JC=`load${En}${cm}`,ZC="Escape",um="show",dm="showing",fm="hiding",XC="offcanvas-backdrop",hm=".offcanvas.show",QC=`show${En}`,qC=`shown${En}`,eS=`hide${En}`,pm=`hidePrevented${En}`,mm=`hidden${En}`,tS=`resize${En}`,nS=`click${En}${cm}`,rS=`keydown.dismiss${En}`,oS='[data-bs-toggle="offcanvas"]',iS={backdrop:!0,keyboard:!0,scroll:!1},sS={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class jn extends Yt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return iS}static get DefaultType(){return sS}static get NAME(){return YC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,QC,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Tc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(dm);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(um),this._element.classList.remove(dm),ne.trigger(this._element,qC,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,eS).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(fm),this._backdrop.hide();const t=()=>{this._element.classList.remove(um,fm),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Tc().reset(),ne.trigger(this._element,mm)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,pm);return}this.hide()},t=!!this._config.backdrop;return new qp({className:XC,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new tm({trapElement:this._element})}_addEventListeners(){ne.on(this._element,rS,e=>{if(e.key===ZC){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,pm)}})}static jQueryInterface(e){return this.each(function(){const t=jn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ne.on(document,nS,oS,function(n){const e=Ee.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Hn(this))return;ne.one(e,mm,()=>{Xr(this)&&this.focus()});const t=Ee.findOne(hm);t&&t!==e&&jn.getInstance(t).hide(),jn.getOrCreateInstance(e).toggle(this)}),ne.on(window,JC,()=>{for(const n of Ee.find(hm))jn.getOrCreateInstance(n).show()}),ne.on(window,tS,()=>{for(const n of Ee.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&jn.getOrCreateInstance(n).hide()}),$s(jn),Bt(jn);const gm={"*":["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:[]},aS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),lS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,cS=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?aS.has(t)?!!lS.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function uS(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)cS(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const dS="TemplateFactory",fS={allowList:gm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},hS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},pS={entry:"(string|element|function|null)",selector:"(string|element)"};class mS extends jo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return fS}static get DefaultType(){return hS}static get NAME(){return dS}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[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},pS)}_setContent(e,t,r){const o=Ee.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(yn(t)){this._putElementInTemplate(zn(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?uS(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return bt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const gS="tooltip",yS=new Set(["sanitize","allowList","sanitizeFn"]),xc="fade",vS="modal",Ys="show",ES=".tooltip-inner",ym=`.${vS}`,vm="hide.bs.modal",Jo="hover",Oc="focus",bS="click",CS="manual",SS="hide",wS="hidden",kS="show",TS="shown",AS="inserted",xS="click",OS="focusin",MS="focusout",NS="mouseenter",IS="mouseleave",_S={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},DS={allowList:gm,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"},LS={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 yr extends Yt{constructor(e,t){if(typeof Mh>"u")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 DS}static get DefaultType(){return LS}static get NAME(){return gS}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ne.off(this._element.closest(ym),vm,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ne.trigger(this._element,this.constructor.eventName(kS)),r=(xp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ne.trigger(this._element,this.constructor.eventName(AS))),this._popper=this._createPopper(o),o.classList.add(Ys),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Ps);const s=()=>{ne.trigger(this._element,this.constructor.eventName(TS)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(SS)).defaultPrevented)return;if(this._getTipElement().classList.remove(Ys),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Ps);this._activeTrigger[bS]=!1,this._activeTrigger[Oc]=!1,this._activeTrigger[Jo]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(wS)))};this._queueCallback(r,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(xc,Ys),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=M8(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(xc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new mS({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[ES]: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(xc)}_isShown(){return this.tip&&this.tip.classList.contains(Ys)}_createPopper(e){const t=bt(this._config.placement,[this,e,this._element]),r=_S[t.toUpperCase()];return Gi(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return bt(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:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...bt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName(xS),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==CS){const r=t===Jo?this.constructor.eventName(NS):this.constructor.eventName(OS),o=t===Jo?this.constructor.eventName(IS):this.constructor.eventName(MS);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Oc:Jo]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Oc:Jo]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(ym),vm,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(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=vn.getDataAttributes(this._element);for(const r of Object.keys(t))yS.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:zn(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt(yr);const RS="popover",BS=".popover-header",PS=".popover-body",$S={...yr.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"},FS={...yr.DefaultType,content:"(null|string|element|function)"};class Mc extends yr{static get Default(){return $S}static get DefaultType(){return FS}static get NAME(){return RS}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[BS]:this._getTitle(),[PS]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Mc.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt(Mc);const VS="scrollspy",Nc=".bs.scrollspy",zS=".data-api",HS=`activate${Nc}`,Em=`click${Nc}`,US=`load${Nc}${zS}`,jS="dropdown-item",ro="active",WS='[data-bs-spy="scroll"]',Ic="[href]",KS=".nav, .list-group",bm=".nav-link",GS=`${bm}, .nav-item > ${bm}, .list-group-item`,YS=".dropdown",JS=".dropdown-toggle",ZS={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},XS={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Js extends Yt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return ZS}static get DefaultType(){return XS}static get NAME(){return VS}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=zn(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ne.off(this._config.target,Em),ne.on(this._config.target,Em,Ic,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ee.find(Ic,this._config.target);for(const t of e){if(!t.hash||Hn(t))continue;const r=Ee.findOne(decodeURI(t.hash),this._element);Xr(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(ro),this._activateParents(e),ne.trigger(this._element,HS,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(jS)){Ee.findOne(JS,e.closest(YS)).classList.add(ro);return}for(const t of Ee.parents(e,KS))for(const r of Ee.prev(t,GS))r.classList.add(ro)}_clearActiveClass(e){e.classList.remove(ro);const t=Ee.find(`${Ic}.${ro}`,e);for(const r of t)r.classList.remove(ro)}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(window,US,()=>{for(const n of Ee.find(WS))Js.getOrCreateInstance(n)}),Bt(Js);const QS="tab",vr=".bs.tab",qS=`hide${vr}`,e6=`hidden${vr}`,t6=`show${vr}`,n6=`shown${vr}`,r6=`click${vr}`,o6=`keydown${vr}`,i6=`load${vr}`,s6="ArrowLeft",Cm="ArrowRight",a6="ArrowUp",Sm="ArrowDown",Er="active",wm="fade",_c="show",l6="dropdown",c6=".dropdown-toggle",u6=".dropdown-menu",Dc=":not(.dropdown-toggle)",d6='.list-group, .nav, [role="tablist"]',f6=".nav-item, .list-group-item",h6=`.nav-link${Dc}, .list-group-item${Dc}, [role="tab"]${Dc}`,km='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Lc=`${h6}, ${km}`,p6=`.${Er}[data-bs-toggle="tab"], .${Er}[data-bs-toggle="pill"], .${Er}[data-bs-toggle="list"]`;class oo extends Yt{constructor(e){super(e),this._parent=this._element.closest(d6),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,o6,t=>this._keydown(t)))}static get NAME(){return QS}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,qS,{relatedTarget:e}):null;ne.trigger(e,t6,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Er),this._activate(Ee.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(_c);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,n6,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(wm))}_deactivate(e,t){if(!e)return;e.classList.remove(Er),e.blur(),this._deactivate(Ee.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(_c);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,e6,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(wm))}_keydown(e){if(![s6,Cm,a6,Sm].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Cm,Sm].includes(e.key),r=mc(this._getChildren().filter(o=>!Hn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),oo.getOrCreateInstance(r).show())}_getChildren(){return Ee.find(Lc,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=Ee.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(l6))return;const o=(i,s)=>{const l=Ee.findOne(i,r);l&&l.classList.toggle(s,t)};o(c6,Er),o(u6,_c),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(Er)}_getInnerElement(e){return e.matches(Lc)?e:Ee.findOne(Lc,e)}_getOuterElement(e){return e.closest(f6)||e}static jQueryInterface(e){return this.each(function(){const t=oo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,r6,km,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Hn(this)&&oo.getOrCreateInstance(this).show()}),ne.on(window,i6,()=>{for(const n of Ee.find(p6))oo.getOrCreateInstance(n)}),Bt(oo);const m6="toast",Wn=".bs.toast",g6=`mouseover${Wn}`,y6=`mouseout${Wn}`,v6=`focusin${Wn}`,E6=`focusout${Wn}`,b6=`hide${Wn}`,C6=`hidden${Wn}`,S6=`show${Wn}`,w6=`shown${Wn}`,k6="fade",Tm="hide",Zs="show",Xs="showing",T6={animation:"boolean",autohide:"boolean",delay:"number"},A6={animation:!0,autohide:!0,delay:5e3};class Zo extends Yt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return A6}static get DefaultType(){return T6}static get NAME(){return m6}show(){if(ne.trigger(this._element,S6).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(k6);const t=()=>{this._element.classList.remove(Xs),ne.trigger(this._element,w6),this._maybeScheduleHide()};this._element.classList.remove(Tm),Uo(this._element),this._element.classList.add(Zs,Xs),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,b6).defaultPrevented)return;const t=()=>{this._element.classList.add(Tm),this._element.classList.remove(Xs,Zs),ne.trigger(this._element,C6)};this._element.classList.add(Xs),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Zs),super.dispose()}isShown(){return this._element.classList.contains(Zs)}_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;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ne.on(this._element,g6,e=>this._onInteraction(e,!0)),ne.on(this._element,y6,e=>this._onInteraction(e,!1)),ne.on(this._element,v6,e=>this._onInteraction(e,!0)),ne.on(this._element,E6,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}$s(Zo),Bt(Zo);const x6=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new gr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function Am(n=void 0){const e=l=>i("Succesvol",l,Sr.SUCCESS),t=l=>i("Waarschuwing",l,Sr.WARNING),r=l=>i("Informatie",l,Sr.INFO),o=l=>i("Mislukt",l,Sr.DANGER);function i(l,a,c){const u=`toast-${au()}`,d={id:u,variant:c,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=f.h(va,d),g=f.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${u}`);y&&(Zo.getOrCreateInstance(y,n).show(),s(y))}function s(l){function a(d,h){d.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const O6=n=>Array.isArray(n)&&n.length>0,{showDangerToast:M6}=Am();function N6(n){const e=f.ref(null),t=(a,c="serverErrors")=>{var d;let u=[];if(Array.isArray((d=a==null?void 0:a.response)==null?void 0:d.data)?u=a.response.data.filter(h=>Bs(h.ErrorMessage)&&h.ErrorMessage!==uc):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,Bs(c))e.value=u;else if(Array.isArray(c)){let h=e.value;for(let p=0;p<c.length;p++)p===c.length-1?h[c[p]]=u:h=h[c[p]]}r(a),s(e)},r=a=>{const u=new URL(a.request.responseURL).pathname;if(u in n.error){const d=n.error[u];d&&M6(d)}},o=f.ref(null),i=f.ref(""),s=a=>{O6(a.value)?o.value=a.value.map(c=>Bs(c)?c:c.ErrorMessage):Bs(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=uc}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const xm={mounted:n=>{new yr(n)}},I6={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},pt=f.defineComponent({__name:"BDButton",props:{size:{default:st.MD},variant:{default:I6.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=f.computed(()=>t.to?Cr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=l=>{e("click",l)};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),_6={install:n=>{n.component("BDCol",zc),n.component("BDContainer",Hc),n.component("BDRow",Uc),n.component("BDButton",pt),n.component("BDLogo",ha),n.component("BDLink",Cr),n.component("BDDropdownItem",si),n.component("BDDropdown",dc),n.component("BDAlert",tu),n.component("BDProfileImage",lo),n.component("BDZoomslider",ou),n.component("BDCard",ma),n.component("BDCollapsableCard",lu),n.component("BDFormInput",hu),n.component("BDInputGroup",pu),n.component("BDFormInvalidFeedback",ii),n.component("BDBadge",mu),n.component("BDForm",gu),n.component("BDPagination",yu),n.component("BDDropzone",wu),n.component("BDMarkdownEditor",Ep),n.component("BDModal",kp),n.component("BDFormSelect",vu),n.component("BDUser",bp),n.component("BDArticle",bu),n.component("BDFormCheckbox",Eu),n.component("BDToast",va),n.component("BDAttachmentPreviewList",Ds),n.component("BDImageAttachmentPreviewList",Ls),n.component("BDHeader",wp),n.component("BDMobileMenu",cc),n.component("BDChatCloud",Cp),n.component("BDTable",Sp),n.component("IconAcademy",jc),n.component("IconArrowDown",Wc),n.component("IconArrowUp",Kc),n.component("IconAttachment",Yn),n.component("IconBold",qs),n.component("IconBulletList",ea),n.component("IconCalendar",ta),n.component("IconCalendar",ta),n.component("IconCardView",Gc),n.component("IconCaretDown",na),n.component("IconCaretLeft",ra),n.component("IconCaretRight",oa),n.component("IconCheck",so),n.component("IconClose",Xo),n.component("IconDownloadImage",Qo),n.component("IconDownloadImage",Qo),n.component("IconEdit",Yc),n.component("IconError",qo),n.component("IconEyeShow",Jc),n.component("IconEyeSlash",Zc),n.component("IconFile",ia),n.component("IconHyperlink",sa),n.component("IconInfo",ei),n.component("IconItalic",aa),n.component("IconListView",Xc),n.component("IconMenu",ti),n.component("IconMenu",ti),n.component("IconOrderedList",la),n.component("IconRemove",ao),n.component("IconSort",Qc),n.component("IconSortAsc",ca),n.component("IconSortDesc",ua),n.component("IconSortNone",da),n.component("IconTriangleExclamation",qc),n.component("IconUnderline",fa),n.directive("vBDTooltip",xm)}};fe.BDAlert=tu,fe.BDArticle=bu,fe.BDAttachmentPreviewList=Ds,fe.BDBadge=mu,fe.BDButton=pt,fe.BDCard=ma,fe.BDChatCloud=Cp,fe.BDCol=zc,fe.BDCollapsableCard=lu,fe.BDContainer=Hc,fe.BDDropdown=dc,fe.BDDropdownItem=si,fe.BDDropzone=wu,fe.BDForm=gu,fe.BDFormCheckbox=Eu,fe.BDFormInput=hu,fe.BDFormInvalidFeedback=ii,fe.BDFormSelect=vu,fe.BDHeader=wp,fe.BDImageAttachmentPreviewList=Ls,fe.BDInputGroup=pu,fe.BDLink=Cr,fe.BDLogo=ha,fe.BDMarkdownEditor=Ep,fe.BDMobileMenu=cc,fe.BDModal=kp,fe.BDPagination=yu,fe.BDProfileImage=lo,fe.BDRow=Uc,fe.BDTable=Sp,fe.BDToast=va,fe.BDUser=bp,fe.BDZoomslider=ou,fe.IconAcademy=jc,fe.IconArrowDown=Wc,fe.IconArrowUp=Kc,fe.IconAttachment=Yn,fe.IconBold=qs,fe.IconBulletList=ea,fe.IconCalendar=ta,fe.IconCardView=Gc,fe.IconCaretDown=na,fe.IconCaretLeft=ra,fe.IconCaretRight=oa,fe.IconCheck=so,fe.IconClose=Xo,fe.IconDownloadImage=Qo,fe.IconEdit=Yc,fe.IconError=qo,fe.IconEyeShow=Jc,fe.IconEyeSlash=Zc,fe.IconFile=ia,fe.IconHyperlink=sa,fe.IconInfo=ei,fe.IconItalic=aa,fe.IconListView=Xc,fe.IconMenu=ti,fe.IconOrderedList=la,fe.IconRemove=ao,fe.IconSort=Qc,fe.IconSortAsc=ca,fe.IconSortDesc=ua,fe.IconSortNone=da,fe.IconTriangleExclamation=qc,fe.IconUnderline=fa,fe.default=_6,fe.useModal=x6,fe.useServerErrors=N6,fe.useToaster=Am,fe.vBdTooltip=xm,Object.defineProperties(fe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|