@beterdichtbij/component-library 0.27.3 → 0.27.4

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)}},E4=1e6,C4=1e3,Ol="transitionend",hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),S4=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),w4=n=>{do n+=Math.floor(Math.random()*E4);while(document.getElementById(n));return n},k4=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))*C4)},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=[],x4=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=>{x4(()=>{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=k4(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))])},T4=/[^.]*(?=\..*)\.|.*/,A4=/\..*/,O4=/::\d+$/,La={};let Kd=1;const ym={mouseenter:"mouseover",mouseleave:"mouseout"},M4=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 N4(n,e){return function t(r){return Bc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function I4(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 M4.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(T4,"")),h=i?I4(n,t,s):N4(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 D4(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(A4,""),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))D4(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(O4,"");(!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":S4(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const _4="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 _4}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]()})},L4="alert",R4="bs.alert",km=`.${R4}`,B4=`close${km}`,P4=`closed${km}`,$4="fade",F4="show";class Js extends Gt{static get NAME(){return L4}close(){if(ne.trigger(this._element,B4).defaultPrevented)return;this._element.classList.remove(F4);const t=this._element.classList.contains($4);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,P4),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 V4="button",z4="bs.button",H4=`.${z4}`,U4=".data-api",j4="active",Jd='[data-bs-toggle="button"]',W4=`click${H4}${U4}`;class Zs extends Gt{static get NAME(){return V4}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(j4))}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,W4,Jd,n=>{n.preventDefault();const e=n.target.closest(Jd);Zs.getOrCreateInstance(e).toggle()});Vt(Zs);const K4="swipe",oo=".bs.swipe",G4=`touchstart${oo}`,Y4=`touchmove${oo}`,J4=`touchend${oo}`,Z4=`pointerdown${oo}`,X4=`pointerup${oo}`,Q4="touch",q4="pen",eC="pointer-event",tC=40,nC={endCallback:null,leftCallback:null,rightCallback:null},rC={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 nC}static get DefaultType(){return rC}static get NAME(){return K4}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<=tC)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,Z4,e=>this._start(e)),ne.on(this._element,X4,e=>this._end(e)),this._element.classList.add(eC)):(ne.on(this._element,G4,e=>this._start(e)),ne.on(this._element,Y4,e=>this._move(e)),ne.on(this._element,J4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===q4||e.pointerType===Q4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const oC="carousel",iC="bs.carousel",Wn=`.${iC}`,xm=".data-api",sC="ArrowLeft",aC="ArrowRight",lC=500,so="next",xr="prev",Dr="left",bi="right",cC=`slide${Wn}`,Pa=`slid${Wn}`,uC=`keydown${Wn}`,dC=`mouseenter${Wn}`,fC=`mouseleave${Wn}`,hC=`dragstart${Wn}`,pC=`load${Wn}${xm}`,mC=`click${Wn}${xm}`,Tm="carousel",li="active",gC="slide",vC="carousel-item-end",yC="carousel-item-start",bC="carousel-item-next",EC="carousel-item-prev",Am=".active",Om=".carousel-item",CC=Am+Om,SC=".carousel-item img",wC=".carousel-indicators",kC="[data-bs-slide], [data-bs-slide-to]",xC='[data-bs-ride="carousel"]',TC={[sC]:bi,[aC]:Dr},AC={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},OC={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(wC,this._element),this._addEventListeners(),this._config.ride===Tm&&this.cycle()}static get Default(){return AC}static get DefaultType(){return OC}static get NAME(){return oC}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,uC,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,dC,()=>this.pause()),ne.on(this._element,fC,()=>this._maybeEnableCycle())),this._config.touch&&Ss.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(SC,this._element))ne.on(r,hC,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(),lC+this._config.interval))}};this._swipeHelper=new Ss(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=TC[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(cC).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?yC:vC,d=o?bC:EC;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(gC)}_getActive(){return ye.findOne(CC,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,mC,kC,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,pC,()=>{const n=ye.find(xC);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const MC="collapse",NC="bs.collapse",Yo=`.${NC}`,IC=".data-api",DC=`show${Yo}`,_C=`shown${Yo}`,LC=`hide${Yo}`,RC=`hidden${Yo}`,BC=`click${Yo}${IC}`,$a="show",Pr="collapse",ci="collapsing",PC="collapsed",$C=`:scope .${Pr} .${Pr}`,FC="collapse-horizontal",VC="width",zC="height",HC=".collapse.show, .collapse.collapsing",Nl='[data-bs-toggle="collapse"]',UC={parent:null,toggle:!0},jC={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 UC}static get DefaultType(){return jC}static get NAME(){return MC}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(HC).filter(l=>l!==this._element).map(l=>Bo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,DC).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,_C)},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,LC).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,RC)};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(FC)?VC:zC}_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($C,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(PC,!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,BC,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",WC="bs.dropdown",vr=`.${WC}`,Pc=".data-api",KC="Escape",Xd="Tab",GC="ArrowUp",Qd="ArrowDown",YC=2,JC=`hide${vr}`,ZC=`hidden${vr}`,XC=`show${vr}`,QC=`shown${vr}`,Mm=`click${vr}${Pc}`,Nm=`keydown${vr}${Pc}`,qC=`keyup${vr}${Pc}`,_r="show",eS="dropup",tS="dropend",nS="dropstart",rS="dropup-center",oS="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',iS=`${tr}.${_r}`,Ei=".dropdown-menu",sS=".navbar",aS=".navbar-nav",lS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",cS=$t()?"top-end":"top-start",uS=$t()?"top-start":"top-end",dS=$t()?"bottom-end":"bottom-start",fS=$t()?"bottom-start":"bottom-end",hS=$t()?"left-start":"right-start",pS=$t()?"right-start":"left-start",mS="top",gS="bottom",vS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},yS={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 vS}static get DefaultType(){return yS}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,XC,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(aS))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,QC,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,JC,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,ZC,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(tS))return hS;if(e.classList.contains(nS))return pS;if(e.classList.contains(rS))return mS;if(e.classList.contains(oS))return gS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(eS)?t?uS:cS:t?fS:dS}_detectNavbar(){return this._element.closest(sS)!==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(lS,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===YC||e.type==="keyup"&&e.key!==Xd)return;const t=ye.find(iS);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===KC,o=[GC,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",bS="fade",qd="show",ef=`mousedown.bs.${Im}`,ES={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},CS={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 ES}static get DefaultType(){return CS}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(bS),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 SS="focustrap",wS="bs.focustrap",ws=`.${wS}`,kS=`focusin${ws}`,xS=`keydown.tab${ws}`,TS="Tab",AS="forward",tf="backward",OS={autofocus:!0,trapElement:null},MS={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 OS}static get DefaultType(){return MS}static get NAME(){return SS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,ws),ne.on(document,kS,e=>this._handleFocusin(e)),ne.on(document,xS,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===TS&&(this._lastTabNavDirection=e.shiftKey?tf:AS)}}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 NS="modal",IS="bs.modal",Ft=`.${IS}`,DS=".data-api",_S="Escape",LS=`hide${Ft}`,RS=`hidePrevented${Ft}`,Lm=`hidden${Ft}`,Rm=`show${Ft}`,BS=`shown${Ft}`,PS=`resize${Ft}`,$S=`click.dismiss${Ft}`,FS=`mousedown.dismiss${Ft}`,VS=`keydown.dismiss${Ft}`,zS=`click${Ft}${DS}`,sf="modal-open",HS="fade",af="show",Fa="modal-static",US=".modal.show",jS=".modal-dialog",WS=".modal-body",KS='[data-bs-toggle="modal"]',GS={backdrop:!0,focus:!0,keyboard:!0},YS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(jS,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 GS}static get DefaultType(){return YS}static get NAME(){return NS}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,LS).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(WS,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,BS,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,VS,e=>{if(e.key===_S){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,PS,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,FS,e=>{ne.one(this._element,$S,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(HS)}_triggerBackdropTransition(){if(ne.trigger(this._element,RS).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,zS,KS,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(US);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Ys(mr);Vt(mr);const JS="offcanvas",ZS="bs.offcanvas",En=`.${ZS}`,Bm=".data-api",XS=`load${En}${Bm}`,QS="Escape",lf="show",cf="showing",uf="hiding",qS="offcanvas-backdrop",Pm=".offcanvas.show",e6=`show${En}`,t6=`shown${En}`,n6=`hide${En}`,df=`hidePrevented${En}`,$m=`hidden${En}`,r6=`resize${En}`,o6=`click${En}${Bm}`,i6=`keydown.dismiss${En}`,s6='[data-bs-toggle="offcanvas"]',a6={backdrop:!0,keyboard:!0,scroll:!1},l6={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 a6}static get DefaultType(){return l6}static get NAME(){return JS}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,e6,{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,t6,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,n6).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,i6,e=>{if(e.key===QS){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,o6,s6,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,XS,()=>{for(const n of ye.find(Pm))Vn.getOrCreateInstance(n).show()});ne.on(window,r6,()=>{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 c6=/^aria-[\w-]*$/i,Fm={"*":["class","dir","id","lang","role",c6],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:[]},u6=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),d6=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,f6=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?u6.has(t)?!!d6.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function h6(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)f6(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const p6="TemplateFactory",m6={allowList:Fm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},g6={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},v6={entry:"(string|element|function|null)",selector:"(string|element)"};class y6 extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return m6}static get DefaultType(){return g6}static get NAME(){return p6}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},v6)}_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?h6(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 b6="tooltip",E6=new Set(["sanitize","allowList","sanitizeFn"]),Va="fade",C6="modal",di="show",S6=".tooltip-inner",ff=`.${C6}`,hf="hide.bs.modal",ao="hover",za="focus",w6="click",k6="manual",x6="hide",T6="hidden",A6="show",O6="shown",M6="inserted",N6="click",I6="focusin",D6="focusout",_6="mouseenter",L6="mouseleave",R6={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},B6={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"},P6={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 B6}static get DefaultType(){return P6}static get NAME(){return b6}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(A6)),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(M6))),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(O6)),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(x6)).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[w6]=!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(T6)))};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=w4(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 y6({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[S6]: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=R6[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(N6),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==k6){const r=t===ao?this.constructor.eventName(_6):this.constructor.eventName(I6),o=t===ao?this.constructor.eventName(L6):this.constructor.eventName(D6);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))E6.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 $6="popover",F6=".popover-header",V6=".popover-body",z6={...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"},H6={...yr.DefaultType,content:"(null|string|element|function)"};class $c extends yr{static get Default(){return z6}static get DefaultType(){return H6}static get NAME(){return $6}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[F6]:this._getTitle(),[V6]: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 U6="scrollspy",j6="bs.scrollspy",Fc=`.${j6}`,W6=".data-api",K6=`activate${Fc}`,pf=`click${Fc}`,G6=`load${Fc}${W6}`,Y6="dropdown-item",Tr="active",J6='[data-bs-spy="scroll"]',Ha="[href]",Z6=".nav, .list-group",mf=".nav-link",X6=".nav-item",Q6=".list-group-item",q6=`${mf}, ${X6} > ${mf}, ${Q6}`,ew=".dropdown",tw=".dropdown-toggle",nw={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},rw={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 nw}static get DefaultType(){return rw}static get NAME(){return U6}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,K6,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Y6)){ye.findOne(tw,e.closest(ew)).classList.add(Tr);return}for(const t of ye.parents(e,Z6))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,G6,()=>{for(const n of ye.find(J6))Xs.getOrCreateInstance(n)});Vt(Xs);const ow="tab",iw="bs.tab",br=`.${iw}`,sw=`hide${br}`,aw=`hidden${br}`,lw=`show${br}`,cw=`shown${br}`,uw=`click${br}`,dw=`keydown${br}`,fw=`load${br}`,hw="ArrowLeft",gf="ArrowRight",pw="ArrowUp",vf="ArrowDown",nr="active",yf="fade",Ua="show",mw="dropdown",gw=".dropdown-toggle",vw=".dropdown-menu",ja=":not(.dropdown-toggle)",yw='.list-group, .nav, [role="tablist"]',bw=".nav-item, .list-group-item",Ew=`.nav-link${ja}, .list-group-item${ja}, [role="tab"]${ja}`,Vm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wa=`${Ew}, ${Vm}`,Cw=`.${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(yw),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,dw,t=>this._keydown(t)))}static get NAME(){return ow}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,sw,{relatedTarget:e}):null;ne.trigger(e,lw,{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,cw,{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,aw,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(yf))}_keydown(e){if(![hw,gf,pw,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(mw))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(gw,nr),o(vw,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(bw)||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,uw,Vm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,fw,()=>{for(const n of ye.find(Cw))qr.getOrCreateInstance(n)});Vt(qr);const Sw="toast",ww="bs.toast",Kn=`.${ww}`,kw=`mouseover${Kn}`,xw=`mouseout${Kn}`,Tw=`focusin${Kn}`,Aw=`focusout${Kn}`,Ow=`hide${Kn}`,Mw=`hidden${Kn}`,Nw=`show${Kn}`,Iw=`shown${Kn}`,Dw="fade",bf="hide",fi="show",hi="showing",_w={animation:"boolean",autohide:"boolean",delay:"number"},Lw={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 Lw}static get DefaultType(){return _w}static get NAME(){return Sw}show(){if(ne.trigger(this._element,Nw).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Dw);const t=()=>{this._element.classList.remove(hi),ne.trigger(this._element,Iw),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,Ow).defaultPrevented)return;const t=()=>{this._element.classList.add(bf),this._element.classList.remove(hi,fi),ne.trigger(this._element,Mw)};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,kw,e=>this._onInteraction(e,!0)),ne.on(this._element,xw,e=>this._onInteraction(e,!1)),ne.on(this._element,Tw,e=>this._onInteraction(e,!0)),ne.on(this._element,Aw,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 Rw=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 Bw=n=>Array.isArray(n)&&n.length>0,{showDangerToast:Pw}=zm();function $w(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&&Pw(d)}},o=f.ref(null),i=f.ref(""),s=a=>{Bw(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)}},Fw={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:Fw.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"]))}}),Vw={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=Vw;exports.useModal=Rw;exports.useServerErrors=$w;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)}},E4=1e6,C4=1e3,Ol="transitionend",hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),S4=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),w4=n=>{do n+=Math.floor(Math.random()*E4);while(document.getElementById(n));return n},k4=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))*C4)},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=[],x4=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=>{x4(()=>{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=k4(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))])},T4=/[^.]*(?=\..*)\.|.*/,A4=/\..*/,O4=/::\d+$/,La={};let Kd=1;const ym={mouseenter:"mouseover",mouseleave:"mouseout"},M4=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 N4(n,e){return function t(r){return Bc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function I4(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 M4.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(T4,"")),h=i?I4(n,t,s):N4(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 D4(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(A4,""),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))D4(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(O4,"");(!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":S4(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const _4="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 _4}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]()})},L4="alert",R4="bs.alert",km=`.${R4}`,B4=`close${km}`,P4=`closed${km}`,$4="fade",F4="show";class Js extends Gt{static get NAME(){return L4}close(){if(ne.trigger(this._element,B4).defaultPrevented)return;this._element.classList.remove(F4);const t=this._element.classList.contains($4);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,P4),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 V4="button",z4="bs.button",H4=`.${z4}`,U4=".data-api",j4="active",Jd='[data-bs-toggle="button"]',W4=`click${H4}${U4}`;class Zs extends Gt{static get NAME(){return V4}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(j4))}static jQueryInterface(e){return this.each(function(){const t=Zs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,W4,Jd,n=>{n.preventDefault();const e=n.target.closest(Jd);Zs.getOrCreateInstance(e).toggle()});Vt(Zs);const K4="swipe",oo=".bs.swipe",G4=`touchstart${oo}`,Y4=`touchmove${oo}`,J4=`touchend${oo}`,Z4=`pointerdown${oo}`,X4=`pointerup${oo}`,Q4="touch",q4="pen",eC="pointer-event",tC=40,nC={endCallback:null,leftCallback:null,rightCallback:null},rC={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 nC}static get DefaultType(){return rC}static get NAME(){return K4}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<=tC)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,Z4,e=>this._start(e)),ne.on(this._element,X4,e=>this._end(e)),this._element.classList.add(eC)):(ne.on(this._element,G4,e=>this._start(e)),ne.on(this._element,Y4,e=>this._move(e)),ne.on(this._element,J4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===q4||e.pointerType===Q4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const oC="carousel",iC="bs.carousel",Wn=`.${iC}`,xm=".data-api",sC="ArrowLeft",aC="ArrowRight",lC=500,so="next",xr="prev",Dr="left",bi="right",cC=`slide${Wn}`,Pa=`slid${Wn}`,uC=`keydown${Wn}`,dC=`mouseenter${Wn}`,fC=`mouseleave${Wn}`,hC=`dragstart${Wn}`,pC=`load${Wn}${xm}`,mC=`click${Wn}${xm}`,Tm="carousel",li="active",gC="slide",vC="carousel-item-end",yC="carousel-item-start",bC="carousel-item-next",EC="carousel-item-prev",Am=".active",Om=".carousel-item",CC=Am+Om,SC=".carousel-item img",wC=".carousel-indicators",kC="[data-bs-slide], [data-bs-slide-to]",xC='[data-bs-ride="carousel"]',TC={[sC]:bi,[aC]:Dr},AC={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},OC={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(wC,this._element),this._addEventListeners(),this._config.ride===Tm&&this.cycle()}static get Default(){return AC}static get DefaultType(){return OC}static get NAME(){return oC}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,uC,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,dC,()=>this.pause()),ne.on(this._element,fC,()=>this._maybeEnableCycle())),this._config.touch&&Ss.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(SC,this._element))ne.on(r,hC,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(),lC+this._config.interval))}};this._swipeHelper=new Ss(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=TC[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(cC).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?yC:vC,d=o?bC:EC;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(gC)}_getActive(){return ye.findOne(CC,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,mC,kC,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,pC,()=>{const n=ye.find(xC);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const MC="collapse",NC="bs.collapse",Yo=`.${NC}`,IC=".data-api",DC=`show${Yo}`,_C=`shown${Yo}`,LC=`hide${Yo}`,RC=`hidden${Yo}`,BC=`click${Yo}${IC}`,$a="show",Pr="collapse",ci="collapsing",PC="collapsed",$C=`:scope .${Pr} .${Pr}`,FC="collapse-horizontal",VC="width",zC="height",HC=".collapse.show, .collapse.collapsing",Nl='[data-bs-toggle="collapse"]',UC={parent:null,toggle:!0},jC={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 UC}static get DefaultType(){return jC}static get NAME(){return MC}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(HC).filter(l=>l!==this._element).map(l=>Bo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,DC).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,_C)},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,LC).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,RC)};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(FC)?VC:zC}_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($C,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(PC,!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,BC,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",WC="bs.dropdown",vr=`.${WC}`,Pc=".data-api",KC="Escape",Xd="Tab",GC="ArrowUp",Qd="ArrowDown",YC=2,JC=`hide${vr}`,ZC=`hidden${vr}`,XC=`show${vr}`,QC=`shown${vr}`,Mm=`click${vr}${Pc}`,Nm=`keydown${vr}${Pc}`,qC=`keyup${vr}${Pc}`,_r="show",eS="dropup",tS="dropend",nS="dropstart",rS="dropup-center",oS="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',iS=`${tr}.${_r}`,Ei=".dropdown-menu",sS=".navbar",aS=".navbar-nav",lS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",cS=$t()?"top-end":"top-start",uS=$t()?"top-start":"top-end",dS=$t()?"bottom-end":"bottom-start",fS=$t()?"bottom-start":"bottom-end",hS=$t()?"left-start":"right-start",pS=$t()?"right-start":"left-start",mS="top",gS="bottom",vS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},yS={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 vS}static get DefaultType(){return yS}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,XC,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(aS))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,QC,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,JC,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,ZC,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(tS))return hS;if(e.classList.contains(nS))return pS;if(e.classList.contains(rS))return mS;if(e.classList.contains(oS))return gS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(eS)?t?uS:cS:t?fS:dS}_detectNavbar(){return this._element.closest(sS)!==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(lS,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===YC||e.type==="keyup"&&e.key!==Xd)return;const t=ye.find(iS);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===KC,o=[GC,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",bS="fade",qd="show",ef=`mousedown.bs.${Im}`,ES={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},CS={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 ES}static get DefaultType(){return CS}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(bS),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 SS="focustrap",wS="bs.focustrap",ws=`.${wS}`,kS=`focusin${ws}`,xS=`keydown.tab${ws}`,TS="Tab",AS="forward",tf="backward",OS={autofocus:!0,trapElement:null},MS={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 OS}static get DefaultType(){return MS}static get NAME(){return SS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,ws),ne.on(document,kS,e=>this._handleFocusin(e)),ne.on(document,xS,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===TS&&(this._lastTabNavDirection=e.shiftKey?tf:AS)}}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 NS="modal",IS="bs.modal",Ft=`.${IS}`,DS=".data-api",_S="Escape",LS=`hide${Ft}`,RS=`hidePrevented${Ft}`,Lm=`hidden${Ft}`,Rm=`show${Ft}`,BS=`shown${Ft}`,PS=`resize${Ft}`,$S=`click.dismiss${Ft}`,FS=`mousedown.dismiss${Ft}`,VS=`keydown.dismiss${Ft}`,zS=`click${Ft}${DS}`,sf="modal-open",HS="fade",af="show",Fa="modal-static",US=".modal.show",jS=".modal-dialog",WS=".modal-body",KS='[data-bs-toggle="modal"]',GS={backdrop:!0,focus:!0,keyboard:!0},YS={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(jS,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 GS}static get DefaultType(){return YS}static get NAME(){return NS}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,LS).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(WS,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,BS,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,VS,e=>{if(e.key===_S){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,PS,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,FS,e=>{ne.one(this._element,$S,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(HS)}_triggerBackdropTransition(){if(ne.trigger(this._element,RS).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,zS,KS,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(US);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Ys(mr);Vt(mr);const JS="offcanvas",ZS="bs.offcanvas",En=`.${ZS}`,Bm=".data-api",XS=`load${En}${Bm}`,QS="Escape",lf="show",cf="showing",uf="hiding",qS="offcanvas-backdrop",Pm=".offcanvas.show",e6=`show${En}`,t6=`shown${En}`,n6=`hide${En}`,df=`hidePrevented${En}`,$m=`hidden${En}`,r6=`resize${En}`,o6=`click${En}${Bm}`,i6=`keydown.dismiss${En}`,s6='[data-bs-toggle="offcanvas"]',a6={backdrop:!0,keyboard:!0,scroll:!1},l6={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 a6}static get DefaultType(){return l6}static get NAME(){return JS}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,e6,{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,t6,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,n6).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,i6,e=>{if(e.key===QS){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,o6,s6,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,XS,()=>{for(const n of ye.find(Pm))Vn.getOrCreateInstance(n).show()});ne.on(window,r6,()=>{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 c6=/^aria-[\w-]*$/i,Fm={"*":["class","dir","id","lang","role",c6],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:[]},u6=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),d6=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,f6=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?u6.has(t)?!!d6.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function h6(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)f6(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const p6="TemplateFactory",m6={allowList:Fm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},g6={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},v6={entry:"(string|element|function|null)",selector:"(string|element)"};class y6 extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return m6}static get DefaultType(){return g6}static get NAME(){return p6}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},v6)}_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?h6(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 b6="tooltip",E6=new Set(["sanitize","allowList","sanitizeFn"]),Va="fade",C6="modal",di="show",S6=".tooltip-inner",ff=`.${C6}`,hf="hide.bs.modal",ao="hover",za="focus",w6="click",k6="manual",x6="hide",T6="hidden",A6="show",O6="shown",M6="inserted",N6="click",I6="focusin",D6="focusout",_6="mouseenter",L6="mouseleave",R6={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},B6={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"},P6={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 B6}static get DefaultType(){return P6}static get NAME(){return b6}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(A6)),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(M6))),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(O6)),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(x6)).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[w6]=!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(T6)))};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=w4(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 y6({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[S6]: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=R6[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(N6),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==k6){const r=t===ao?this.constructor.eventName(_6):this.constructor.eventName(I6),o=t===ao?this.constructor.eventName(L6):this.constructor.eventName(D6);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))E6.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 $6="popover",F6=".popover-header",V6=".popover-body",z6={...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"},H6={...yr.DefaultType,content:"(null|string|element|function)"};class $c extends yr{static get Default(){return z6}static get DefaultType(){return H6}static get NAME(){return $6}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[F6]:this._getTitle(),[V6]: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 U6="scrollspy",j6="bs.scrollspy",Fc=`.${j6}`,W6=".data-api",K6=`activate${Fc}`,pf=`click${Fc}`,G6=`load${Fc}${W6}`,Y6="dropdown-item",Tr="active",J6='[data-bs-spy="scroll"]',Ha="[href]",Z6=".nav, .list-group",mf=".nav-link",X6=".nav-item",Q6=".list-group-item",q6=`${mf}, ${X6} > ${mf}, ${Q6}`,ew=".dropdown",tw=".dropdown-toggle",nw={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},rw={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 nw}static get DefaultType(){return rw}static get NAME(){return U6}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,K6,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Y6)){ye.findOne(tw,e.closest(ew)).classList.add(Tr);return}for(const t of ye.parents(e,Z6))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,G6,()=>{for(const n of ye.find(J6))Xs.getOrCreateInstance(n)});Vt(Xs);const ow="tab",iw="bs.tab",br=`.${iw}`,sw=`hide${br}`,aw=`hidden${br}`,lw=`show${br}`,cw=`shown${br}`,uw=`click${br}`,dw=`keydown${br}`,fw=`load${br}`,hw="ArrowLeft",gf="ArrowRight",pw="ArrowUp",vf="ArrowDown",nr="active",yf="fade",Ua="show",mw="dropdown",gw=".dropdown-toggle",vw=".dropdown-menu",ja=":not(.dropdown-toggle)",yw='.list-group, .nav, [role="tablist"]',bw=".nav-item, .list-group-item",Ew=`.nav-link${ja}, .list-group-item${ja}, [role="tab"]${ja}`,Vm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Wa=`${Ew}, ${Vm}`,Cw=`.${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(yw),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,dw,t=>this._keydown(t)))}static get NAME(){return ow}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,sw,{relatedTarget:e}):null;ne.trigger(e,lw,{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,cw,{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,aw,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(yf))}_keydown(e){if(![hw,gf,pw,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(mw))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(gw,nr),o(vw,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(bw)||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,uw,Vm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,fw,()=>{for(const n of ye.find(Cw))qr.getOrCreateInstance(n)});Vt(qr);const Sw="toast",ww="bs.toast",Kn=`.${ww}`,kw=`mouseover${Kn}`,xw=`mouseout${Kn}`,Tw=`focusin${Kn}`,Aw=`focusout${Kn}`,Ow=`hide${Kn}`,Mw=`hidden${Kn}`,Nw=`show${Kn}`,Iw=`shown${Kn}`,Dw="fade",bf="hide",fi="show",hi="showing",_w={animation:"boolean",autohide:"boolean",delay:"number"},Lw={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 Lw}static get DefaultType(){return _w}static get NAME(){return Sw}show(){if(ne.trigger(this._element,Nw).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Dw);const t=()=>{this._element.classList.remove(hi),ne.trigger(this._element,Iw),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,Ow).defaultPrevented)return;const t=()=>{this._element.classList.add(bf),this._element.classList.remove(hi,fi),ne.trigger(this._element,Mw)};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,kw,e=>this._onInteraction(e,!0)),ne.on(this._element,xw,e=>this._onInteraction(e,!1)),ne.on(this._element,Tw,e=>this._onInteraction(e,!0)),ne.on(this._element,Aw,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 Rw=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=mr.getOrCreateInstance(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 Bw=n=>Array.isArray(n)&&n.length>0,{showDangerToast:Pw}=zm();function $w(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&&Pw(d)}},o=f.ref(null),i=f.ref(""),s=a=>{Bw(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)}},Fw={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:Fw.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"]))}}),Vw={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=Vw;exports.useModal=Rw;exports.useServerErrors=$w;exports.useToaster=zm;exports.vBdTooltip=Hm;
@@ -25719,7 +25719,7 @@ const NT = (n) => {
25719
25719
  const e = ot(null);
25720
25720
  return { showModal: () => {
25721
25721
  const s = document.getElementById(n);
25722
- s instanceof HTMLElement ? (e.value || (e.value = new Dr(s, {})), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25722
+ s instanceof HTMLElement ? (e.value = Dr.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25723
25723
  }, closeModal: () => {
25724
25724
  e.value && e.value.hide();
25725
25725
  } };
@@ -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)}},x8=1e6,O8=1e3,hc="transitionend",Tp=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),M8=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),N8=n=>{do n+=Math.floor(Math.random()*x8);while(document.getElementById(n));return n},I8=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))*O8)},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=[],_8=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=>{_8(()=>{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=I8(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))])},D8=/[^.]*(?=\..*)\.|.*/,L8=/\..*/,R8=/::\d+$/,gc={};let Np=1;const Ip={mouseenter:"mouseover",mouseleave:"mouseout"},B8=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 P8(n,e){return function t(r){return vc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function $8(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 B8.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(D8,"")),h=i?$8(n,t,s):P8(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 F8(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(L8,""),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))F8(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(R8,"");(!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":M8(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const V8="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 V8}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]()})},z8="alert",Fp=".bs.alert",H8=`close${Fp}`,U8=`closed${Fp}`,j8="fade",W8="show";class Fs extends Yt{static get NAME(){return z8}close(){if(ne.trigger(this._element,H8).defaultPrevented)return;this._element.classList.remove(W8);const t=this._element.classList.contains(j8);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,U8),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 K8="button",G8=".bs.button",Y8=".data-api",J8="active",Vp='[data-bs-toggle="button"]',Z8=`click${G8}${Y8}`;class Vs extends Yt{static get NAME(){return K8}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(J8))}static jQueryInterface(e){return this.each(function(){const t=Vs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,Z8,Vp,n=>{n.preventDefault();const e=n.target.closest(Vp);Vs.getOrCreateInstance(e).toggle()}),Bt(Vs);const X8="swipe",Qr=".bs.swipe",Q8=`touchstart${Qr}`,q8=`touchmove${Qr}`,e4=`touchend${Qr}`,t4=`pointerdown${Qr}`,n4=`pointerup${Qr}`,r4="touch",o4="pen",i4="pointer-event",s4=40,a4={endCallback:null,leftCallback:null,rightCallback:null},l4={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 a4}static get DefaultType(){return l4}static get NAME(){return X8}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<=s4)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,t4,e=>this._start(e)),ne.on(this._element,n4,e=>this._end(e)),this._element.classList.add(i4)):(ne.on(this._element,Q8,e=>this._start(e)),ne.on(this._element,q8,e=>this._move(e)),ne.on(this._element,e4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===o4||e.pointerType===r4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const c4="carousel",Un=".bs.carousel",zp=".data-api",u4="ArrowLeft",d4="ArrowRight",f4=500,Wo="next",qr="prev",eo="left",Hs="right",h4=`slide${Un}`,Cc=`slid${Un}`,p4=`keydown${Un}`,m4=`mouseenter${Un}`,g4=`mouseleave${Un}`,y4=`dragstart${Un}`,v4=`load${Un}${zp}`,E4=`click${Un}${zp}`,Hp="carousel",Us="active",b4="slide",C4="carousel-item-end",S4="carousel-item-start",w4="carousel-item-next",k4="carousel-item-prev",Up=".active",jp=".carousel-item",T4=Up+jp,A4=".carousel-item img",x4=".carousel-indicators",O4="[data-bs-slide], [data-bs-slide-to]",M4='[data-bs-ride="carousel"]',N4={[u4]:Hs,[d4]:eo},I4={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_4={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(x4,this._element),this._addEventListeners(),this._config.ride===Hp&&this.cycle()}static get Default(){return I4}static get DefaultType(){return _4}static get NAME(){return c4}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,p4,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,m4,()=>this.pause()),ne.on(this._element,g4,()=>this._maybeEnableCycle())),this._config.touch&&zs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ee.find(A4,this._element))ne.on(r,y4,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(),f4+this._config.interval))}};this._swipeHelper=new zs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=N4[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(h4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?S4:C4,d=o?w4:k4;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(b4)}_getActive(){return Ee.findOne(T4,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,E4,O4,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,v4,()=>{const n=Ee.find(M4);for(const e of n)Ko.getOrCreateInstance(e)}),Bt(Ko);const D4="collapse",Go=".bs.collapse",L4=".data-api",R4=`show${Go}`,B4=`shown${Go}`,P4=`hide${Go}`,$4=`hidden${Go}`,F4=`click${Go}${L4}`,Sc="show",to="collapse",js="collapsing",V4="collapsed",z4=`:scope .${to} .${to}`,H4="collapse-horizontal",U4="width",j4="height",W4=".collapse.show, .collapse.collapsing",wc='[data-bs-toggle="collapse"]',K4={parent:null,toggle:!0},G4={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 K4}static get DefaultType(){return G4}static get NAME(){return D4}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(W4).filter(l=>l!==this._element).map(l=>Yo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,R4).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,B4)},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,P4).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,$4)};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(H4)?U4:j4}_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(z4,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(V4,!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,F4,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",Y4="Escape",Kp="Tab",J4="ArrowUp",Gp="ArrowDown",Z4=2,X4=`hide${pr}`,Q4=`hidden${pr}`,q4=`show${pr}`,eC=`shown${pr}`,Yp=`click${pr}${kc}`,Jp=`keydown${pr}${kc}`,tC=`keyup${pr}${kc}`,no="show",nC="dropup",rC="dropend",oC="dropstart",iC="dropup-center",sC="dropdown-center",mr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',aC=`${mr}.${no}`,Ws=".dropdown-menu",lC=".navbar",cC=".navbar-nav",uC=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",dC=Rt()?"top-end":"top-start",fC=Rt()?"top-start":"top-end",hC=Rt()?"bottom-end":"bottom-start",pC=Rt()?"bottom-start":"bottom-end",mC=Rt()?"left-start":"right-start",gC=Rt()?"right-start":"left-start",yC="top",vC="bottom",EC={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},bC={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 EC}static get DefaultType(){return bC}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(cC))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,eC,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,X4,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,Q4,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(rC))return mC;if(e.classList.contains(oC))return gC;if(e.classList.contains(iC))return yC;if(e.classList.contains(sC))return vC;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(nC)?t?fC:dC:t?pC:hC}_detectNavbar(){return this._element.closest(lC)!==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(uC,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===Z4||e.type==="keyup"&&e.key!==Kp)return;const t=Ee.find(aC);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===Y4,o=[J4,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,tC,an.clearMenus),ne.on(document,Yp,mr,function(n){n.preventDefault(),an.getOrCreateInstance(this).toggle()}),Bt(an);const Zp="backdrop",CC="fade",Xp="show",Qp=`mousedown.bs.${Zp}`,SC={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},wC={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 SC}static get DefaultType(){return wC}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(CC),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 kC="focustrap",Ks=".bs.focustrap",TC=`focusin${Ks}`,AC=`keydown.tab${Ks}`,xC="Tab",OC="forward",em="backward",MC={autofocus:!0,trapElement:null},NC={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 MC}static get DefaultType(){return NC}static get NAME(){return kC}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ks),ne.on(document,TC,e=>this._handleFocusin(e)),ne.on(document,AC,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===xC&&(this._lastTabNavDirection=e.shiftKey?em:OC)}}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 IC="modal",Pt=".bs.modal",_C=".data-api",DC="Escape",LC=`hide${Pt}`,RC=`hidePrevented${Pt}`,im=`hidden${Pt}`,sm=`show${Pt}`,BC=`shown${Pt}`,PC=`resize${Pt}`,$C=`click.dismiss${Pt}`,FC=`mousedown.dismiss${Pt}`,VC=`keydown.dismiss${Pt}`,zC=`click${Pt}${_C}`,am="modal-open",HC="fade",lm="show",Ac="modal-static",UC=".modal.show",jC=".modal-dialog",WC=".modal-body",KC='[data-bs-toggle="modal"]',GC={backdrop:!0,focus:!0,keyboard:!0},YC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class gr extends Yt{constructor(e,t){super(e,t),this._dialog=Ee.findOne(jC,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 GC}static get DefaultType(){return YC}static get NAME(){return IC}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,LC).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(WC,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,BC,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,VC,e=>{if(e.key===DC){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,PC,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,FC,e=>{ne.one(this._element,$C,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(HC)}_triggerBackdropTransition(){if(ne.trigger(this._element,RC).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,zC,KC,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(UC);t&&gr.getInstance(t).hide(),gr.getOrCreateInstance(e).toggle(this)}),$s(gr),Bt(gr);const JC="offcanvas",En=".bs.offcanvas",cm=".data-api",ZC=`load${En}${cm}`,XC="Escape",um="show",dm="showing",fm="hiding",QC="offcanvas-backdrop",hm=".offcanvas.show",qC=`show${En}`,eS=`shown${En}`,tS=`hide${En}`,pm=`hidePrevented${En}`,mm=`hidden${En}`,nS=`resize${En}`,rS=`click${En}${cm}`,oS=`keydown.dismiss${En}`,iS='[data-bs-toggle="offcanvas"]',sS={backdrop:!0,keyboard:!0,scroll:!1},aS={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 sS}static get DefaultType(){return aS}static get NAME(){return JC}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,eS,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,tS).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:QC,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new tm({trapElement:this._element})}_addEventListeners(){ne.on(this._element,oS,e=>{if(e.key===XC){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,rS,iS,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,ZC,()=>{for(const n of Ee.find(hm))jn.getOrCreateInstance(n).show()}),ne.on(window,nS,()=>{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:[]},lS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),cS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,uS=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?lS.has(t)?!!cS.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function dS(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)uS(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const fS="TemplateFactory",hS={allowList:gm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},pS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},mS={entry:"(string|element|function|null)",selector:"(string|element)"};class gS extends jo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return hS}static get DefaultType(){return pS}static get NAME(){return fS}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},mS)}_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?dS(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 yS="tooltip",vS=new Set(["sanitize","allowList","sanitizeFn"]),xc="fade",ES="modal",Ys="show",bS=".tooltip-inner",ym=`.${ES}`,vm="hide.bs.modal",Jo="hover",Oc="focus",CS="click",SS="manual",wS="hide",kS="hidden",TS="show",AS="shown",xS="inserted",OS="click",MS="focusin",NS="focusout",IS="mouseenter",_S="mouseleave",DS={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},LS={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"},RS={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 LS}static get DefaultType(){return RS}static get NAME(){return yS}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(TS)),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(xS))),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(AS)),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(wS)).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[CS]=!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(kS)))};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=N8(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 gS({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[bS]: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=DS[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(OS),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==SS){const r=t===Jo?this.constructor.eventName(IS):this.constructor.eventName(MS),o=t===Jo?this.constructor.eventName(_S):this.constructor.eventName(NS);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))vS.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 BS="popover",PS=".popover-header",$S=".popover-body",FS={...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"},VS={...yr.DefaultType,content:"(null|string|element|function)"};class Mc extends yr{static get Default(){return FS}static get DefaultType(){return VS}static get NAME(){return BS}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[PS]:this._getTitle(),[$S]: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 zS="scrollspy",Nc=".bs.scrollspy",HS=".data-api",US=`activate${Nc}`,Em=`click${Nc}`,jS=`load${Nc}${HS}`,WS="dropdown-item",ro="active",KS='[data-bs-spy="scroll"]',Ic="[href]",GS=".nav, .list-group",bm=".nav-link",YS=`${bm}, .nav-item > ${bm}, .list-group-item`,JS=".dropdown",ZS=".dropdown-toggle",XS={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},QS={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 XS}static get DefaultType(){return QS}static get NAME(){return zS}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,US,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(WS)){Ee.findOne(ZS,e.closest(JS)).classList.add(ro);return}for(const t of Ee.parents(e,GS))for(const r of Ee.prev(t,YS))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,jS,()=>{for(const n of Ee.find(KS))Js.getOrCreateInstance(n)}),Bt(Js);const qS="tab",vr=".bs.tab",e6=`hide${vr}`,t6=`hidden${vr}`,n6=`show${vr}`,r6=`shown${vr}`,o6=`click${vr}`,i6=`keydown${vr}`,s6=`load${vr}`,a6="ArrowLeft",Cm="ArrowRight",l6="ArrowUp",Sm="ArrowDown",Er="active",wm="fade",_c="show",c6="dropdown",u6=".dropdown-toggle",d6=".dropdown-menu",Dc=":not(.dropdown-toggle)",f6='.list-group, .nav, [role="tablist"]',h6=".nav-item, .list-group-item",p6=`.nav-link${Dc}, .list-group-item${Dc}, [role="tab"]${Dc}`,km='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Lc=`${p6}, ${km}`,m6=`.${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(f6),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,i6,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,e6,{relatedTarget:e}):null;ne.trigger(e,n6,{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,r6,{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,t6,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(wm))}_keydown(e){if(![a6,Cm,l6,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(c6))return;const o=(i,s)=>{const l=Ee.findOne(i,r);l&&l.classList.toggle(s,t)};o(u6,Er),o(d6,_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(h6)||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,o6,km,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Hn(this)&&oo.getOrCreateInstance(this).show()}),ne.on(window,s6,()=>{for(const n of Ee.find(m6))oo.getOrCreateInstance(n)}),Bt(oo);const g6="toast",Wn=".bs.toast",y6=`mouseover${Wn}`,v6=`mouseout${Wn}`,E6=`focusin${Wn}`,b6=`focusout${Wn}`,C6=`hide${Wn}`,S6=`hidden${Wn}`,w6=`show${Wn}`,k6=`shown${Wn}`,T6="fade",Tm="hide",Zs="show",Xs="showing",A6={animation:"boolean",autohide:"boolean",delay:"number"},x6={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 x6}static get DefaultType(){return A6}static get NAME(){return g6}show(){if(ne.trigger(this._element,w6).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(T6);const t=()=>{this._element.classList.remove(Xs),ne.trigger(this._element,k6),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,C6).defaultPrevented)return;const t=()=>{this._element.classList.add(Tm),this._element.classList.remove(Xs,Zs),ne.trigger(this._element,S6)};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,y6,e=>this._onInteraction(e,!0)),ne.on(this._element,v6,e=>this._onInteraction(e,!1)),ne.on(this._element,E6,e=>this._onInteraction(e,!0)),ne.on(this._element,b6,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 O6=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 M6=n=>Array.isArray(n)&&n.length>0,{showDangerToast:N6}=Am();function I6(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&&N6(d)}},o=f.ref(null),i=f.ref(""),s=a=>{M6(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)}},_6={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:_6.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"]))}}),D6={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=D6,fe.useModal=O6,fe.useServerErrors=I6,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)}},x8=1e6,O8=1e3,hc="transitionend",Tp=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),M8=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),N8=n=>{do n+=Math.floor(Math.random()*x8);while(document.getElementById(n));return n},I8=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))*O8)},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=[],_8=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=>{_8(()=>{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=I8(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))])},D8=/[^.]*(?=\..*)\.|.*/,L8=/\..*/,R8=/::\d+$/,gc={};let Np=1;const Ip={mouseenter:"mouseover",mouseleave:"mouseout"},B8=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 P8(n,e){return function t(r){return vc(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function $8(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 B8.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(D8,"")),h=i?$8(n,t,s):P8(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 F8(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(L8,""),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))F8(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const p=d.replace(R8,"");(!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":M8(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const V8="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 V8}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]()})},z8="alert",Fp=".bs.alert",H8=`close${Fp}`,U8=`closed${Fp}`,j8="fade",W8="show";class Fs extends Yt{static get NAME(){return z8}close(){if(ne.trigger(this._element,H8).defaultPrevented)return;this._element.classList.remove(W8);const t=this._element.classList.contains(j8);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,U8),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 K8="button",G8=".bs.button",Y8=".data-api",J8="active",Vp='[data-bs-toggle="button"]',Z8=`click${G8}${Y8}`;class Vs extends Yt{static get NAME(){return K8}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(J8))}static jQueryInterface(e){return this.each(function(){const t=Vs.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,Z8,Vp,n=>{n.preventDefault();const e=n.target.closest(Vp);Vs.getOrCreateInstance(e).toggle()}),Bt(Vs);const X8="swipe",Qr=".bs.swipe",Q8=`touchstart${Qr}`,q8=`touchmove${Qr}`,e4=`touchend${Qr}`,t4=`pointerdown${Qr}`,n4=`pointerup${Qr}`,r4="touch",o4="pen",i4="pointer-event",s4=40,a4={endCallback:null,leftCallback:null,rightCallback:null},l4={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 a4}static get DefaultType(){return l4}static get NAME(){return X8}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<=s4)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,t4,e=>this._start(e)),ne.on(this._element,n4,e=>this._end(e)),this._element.classList.add(i4)):(ne.on(this._element,Q8,e=>this._start(e)),ne.on(this._element,q8,e=>this._move(e)),ne.on(this._element,e4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===o4||e.pointerType===r4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const c4="carousel",Un=".bs.carousel",zp=".data-api",u4="ArrowLeft",d4="ArrowRight",f4=500,Wo="next",qr="prev",eo="left",Hs="right",h4=`slide${Un}`,Cc=`slid${Un}`,p4=`keydown${Un}`,m4=`mouseenter${Un}`,g4=`mouseleave${Un}`,y4=`dragstart${Un}`,v4=`load${Un}${zp}`,E4=`click${Un}${zp}`,Hp="carousel",Us="active",b4="slide",C4="carousel-item-end",S4="carousel-item-start",w4="carousel-item-next",k4="carousel-item-prev",Up=".active",jp=".carousel-item",T4=Up+jp,A4=".carousel-item img",x4=".carousel-indicators",O4="[data-bs-slide], [data-bs-slide-to]",M4='[data-bs-ride="carousel"]',N4={[u4]:Hs,[d4]:eo},I4={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_4={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(x4,this._element),this._addEventListeners(),this._config.ride===Hp&&this.cycle()}static get Default(){return I4}static get DefaultType(){return _4}static get NAME(){return c4}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,p4,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,m4,()=>this.pause()),ne.on(this._element,g4,()=>this._maybeEnableCycle())),this._config.touch&&zs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ee.find(A4,this._element))ne.on(r,y4,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(),f4+this._config.interval))}};this._swipeHelper=new zs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=N4[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(h4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?S4:C4,d=o?w4:k4;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(b4)}_getActive(){return Ee.findOne(T4,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,E4,O4,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,v4,()=>{const n=Ee.find(M4);for(const e of n)Ko.getOrCreateInstance(e)}),Bt(Ko);const D4="collapse",Go=".bs.collapse",L4=".data-api",R4=`show${Go}`,B4=`shown${Go}`,P4=`hide${Go}`,$4=`hidden${Go}`,F4=`click${Go}${L4}`,Sc="show",to="collapse",js="collapsing",V4="collapsed",z4=`:scope .${to} .${to}`,H4="collapse-horizontal",U4="width",j4="height",W4=".collapse.show, .collapse.collapsing",wc='[data-bs-toggle="collapse"]',K4={parent:null,toggle:!0},G4={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 K4}static get DefaultType(){return G4}static get NAME(){return D4}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(W4).filter(l=>l!==this._element).map(l=>Yo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,R4).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,B4)},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,P4).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,$4)};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(H4)?U4:j4}_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(z4,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(V4,!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,F4,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",Y4="Escape",Kp="Tab",J4="ArrowUp",Gp="ArrowDown",Z4=2,X4=`hide${pr}`,Q4=`hidden${pr}`,q4=`show${pr}`,eC=`shown${pr}`,Yp=`click${pr}${kc}`,Jp=`keydown${pr}${kc}`,tC=`keyup${pr}${kc}`,no="show",nC="dropup",rC="dropend",oC="dropstart",iC="dropup-center",sC="dropdown-center",mr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',aC=`${mr}.${no}`,Ws=".dropdown-menu",lC=".navbar",cC=".navbar-nav",uC=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",dC=Rt()?"top-end":"top-start",fC=Rt()?"top-start":"top-end",hC=Rt()?"bottom-end":"bottom-start",pC=Rt()?"bottom-start":"bottom-end",mC=Rt()?"left-start":"right-start",gC=Rt()?"right-start":"left-start",yC="top",vC="bottom",EC={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},bC={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 EC}static get DefaultType(){return bC}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(cC))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,eC,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,X4,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,Q4,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(rC))return mC;if(e.classList.contains(oC))return gC;if(e.classList.contains(iC))return yC;if(e.classList.contains(sC))return vC;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(nC)?t?fC:dC:t?pC:hC}_detectNavbar(){return this._element.closest(lC)!==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(uC,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===Z4||e.type==="keyup"&&e.key!==Kp)return;const t=Ee.find(aC);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===Y4,o=[J4,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,tC,an.clearMenus),ne.on(document,Yp,mr,function(n){n.preventDefault(),an.getOrCreateInstance(this).toggle()}),Bt(an);const Zp="backdrop",CC="fade",Xp="show",Qp=`mousedown.bs.${Zp}`,SC={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},wC={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 SC}static get DefaultType(){return wC}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(CC),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 kC="focustrap",Ks=".bs.focustrap",TC=`focusin${Ks}`,AC=`keydown.tab${Ks}`,xC="Tab",OC="forward",em="backward",MC={autofocus:!0,trapElement:null},NC={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 MC}static get DefaultType(){return NC}static get NAME(){return kC}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ks),ne.on(document,TC,e=>this._handleFocusin(e)),ne.on(document,AC,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===xC&&(this._lastTabNavDirection=e.shiftKey?em:OC)}}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 IC="modal",Pt=".bs.modal",_C=".data-api",DC="Escape",LC=`hide${Pt}`,RC=`hidePrevented${Pt}`,im=`hidden${Pt}`,sm=`show${Pt}`,BC=`shown${Pt}`,PC=`resize${Pt}`,$C=`click.dismiss${Pt}`,FC=`mousedown.dismiss${Pt}`,VC=`keydown.dismiss${Pt}`,zC=`click${Pt}${_C}`,am="modal-open",HC="fade",lm="show",Ac="modal-static",UC=".modal.show",jC=".modal-dialog",WC=".modal-body",KC='[data-bs-toggle="modal"]',GC={backdrop:!0,focus:!0,keyboard:!0},YC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class gr extends Yt{constructor(e,t){super(e,t),this._dialog=Ee.findOne(jC,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 GC}static get DefaultType(){return YC}static get NAME(){return IC}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,LC).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(WC,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,BC,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,VC,e=>{if(e.key===DC){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,PC,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,FC,e=>{ne.one(this._element,$C,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(HC)}_triggerBackdropTransition(){if(ne.trigger(this._element,RC).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,zC,KC,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(UC);t&&gr.getInstance(t).hide(),gr.getOrCreateInstance(e).toggle(this)}),$s(gr),Bt(gr);const JC="offcanvas",En=".bs.offcanvas",cm=".data-api",ZC=`load${En}${cm}`,XC="Escape",um="show",dm="showing",fm="hiding",QC="offcanvas-backdrop",hm=".offcanvas.show",qC=`show${En}`,eS=`shown${En}`,tS=`hide${En}`,pm=`hidePrevented${En}`,mm=`hidden${En}`,nS=`resize${En}`,rS=`click${En}${cm}`,oS=`keydown.dismiss${En}`,iS='[data-bs-toggle="offcanvas"]',sS={backdrop:!0,keyboard:!0,scroll:!1},aS={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 sS}static get DefaultType(){return aS}static get NAME(){return JC}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,eS,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,tS).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:QC,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new tm({trapElement:this._element})}_addEventListeners(){ne.on(this._element,oS,e=>{if(e.key===XC){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,rS,iS,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,ZC,()=>{for(const n of Ee.find(hm))jn.getOrCreateInstance(n).show()}),ne.on(window,nS,()=>{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:[]},lS=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),cS=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,uS=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?lS.has(t)?!!cS.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function dS(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)uS(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const fS="TemplateFactory",hS={allowList:gm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},pS={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},mS={entry:"(string|element|function|null)",selector:"(string|element)"};class gS extends jo{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return hS}static get DefaultType(){return pS}static get NAME(){return fS}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},mS)}_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?dS(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 yS="tooltip",vS=new Set(["sanitize","allowList","sanitizeFn"]),xc="fade",ES="modal",Ys="show",bS=".tooltip-inner",ym=`.${ES}`,vm="hide.bs.modal",Jo="hover",Oc="focus",CS="click",SS="manual",wS="hide",kS="hidden",TS="show",AS="shown",xS="inserted",OS="click",MS="focusin",NS="focusout",IS="mouseenter",_S="mouseleave",DS={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},LS={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"},RS={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 LS}static get DefaultType(){return RS}static get NAME(){return yS}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(TS)),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(xS))),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(AS)),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(wS)).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[CS]=!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(kS)))};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=N8(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 gS({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[bS]: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=DS[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(OS),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==SS){const r=t===Jo?this.constructor.eventName(IS):this.constructor.eventName(MS),o=t===Jo?this.constructor.eventName(_S):this.constructor.eventName(NS);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))vS.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 BS="popover",PS=".popover-header",$S=".popover-body",FS={...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"},VS={...yr.DefaultType,content:"(null|string|element|function)"};class Mc extends yr{static get Default(){return FS}static get DefaultType(){return VS}static get NAME(){return BS}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[PS]:this._getTitle(),[$S]: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 zS="scrollspy",Nc=".bs.scrollspy",HS=".data-api",US=`activate${Nc}`,Em=`click${Nc}`,jS=`load${Nc}${HS}`,WS="dropdown-item",ro="active",KS='[data-bs-spy="scroll"]',Ic="[href]",GS=".nav, .list-group",bm=".nav-link",YS=`${bm}, .nav-item > ${bm}, .list-group-item`,JS=".dropdown",ZS=".dropdown-toggle",XS={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},QS={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 XS}static get DefaultType(){return QS}static get NAME(){return zS}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,US,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(WS)){Ee.findOne(ZS,e.closest(JS)).classList.add(ro);return}for(const t of Ee.parents(e,GS))for(const r of Ee.prev(t,YS))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,jS,()=>{for(const n of Ee.find(KS))Js.getOrCreateInstance(n)}),Bt(Js);const qS="tab",vr=".bs.tab",e6=`hide${vr}`,t6=`hidden${vr}`,n6=`show${vr}`,r6=`shown${vr}`,o6=`click${vr}`,i6=`keydown${vr}`,s6=`load${vr}`,a6="ArrowLeft",Cm="ArrowRight",l6="ArrowUp",Sm="ArrowDown",Er="active",wm="fade",_c="show",c6="dropdown",u6=".dropdown-toggle",d6=".dropdown-menu",Dc=":not(.dropdown-toggle)",f6='.list-group, .nav, [role="tablist"]',h6=".nav-item, .list-group-item",p6=`.nav-link${Dc}, .list-group-item${Dc}, [role="tab"]${Dc}`,km='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Lc=`${p6}, ${km}`,m6=`.${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(f6),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,i6,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,e6,{relatedTarget:e}):null;ne.trigger(e,n6,{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,r6,{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,t6,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(wm))}_keydown(e){if(![a6,Cm,l6,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(c6))return;const o=(i,s)=>{const l=Ee.findOne(i,r);l&&l.classList.toggle(s,t)};o(u6,Er),o(d6,_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(h6)||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,o6,km,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Hn(this)&&oo.getOrCreateInstance(this).show()}),ne.on(window,s6,()=>{for(const n of Ee.find(m6))oo.getOrCreateInstance(n)}),Bt(oo);const g6="toast",Wn=".bs.toast",y6=`mouseover${Wn}`,v6=`mouseout${Wn}`,E6=`focusin${Wn}`,b6=`focusout${Wn}`,C6=`hide${Wn}`,S6=`hidden${Wn}`,w6=`show${Wn}`,k6=`shown${Wn}`,T6="fade",Tm="hide",Zs="show",Xs="showing",A6={animation:"boolean",autohide:"boolean",delay:"number"},x6={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 x6}static get DefaultType(){return A6}static get NAME(){return g6}show(){if(ne.trigger(this._element,w6).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(T6);const t=()=>{this._element.classList.remove(Xs),ne.trigger(this._element,k6),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,C6).defaultPrevented)return;const t=()=>{this._element.classList.add(Tm),this._element.classList.remove(Xs,Zs),ne.trigger(this._element,S6)};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,y6,e=>this._onInteraction(e,!0)),ne.on(this._element,v6,e=>this._onInteraction(e,!1)),ne.on(this._element,E6,e=>this._onInteraction(e,!0)),ne.on(this._element,b6,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 O6=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=gr.getOrCreateInstance(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 M6=n=>Array.isArray(n)&&n.length>0,{showDangerToast:N6}=Am();function I6(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&&N6(d)}},o=f.ref(null),i=f.ref(""),s=a=>{M6(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)}},_6={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:_6.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"]))}}),D6={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=D6,fe.useModal=O6,fe.useServerErrors=I6,fe.useToaster=Am,fe.vBdTooltip=xm,Object.defineProperties(fe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@beterdichtbij/component-library",
3
3
  "private": false,
4
- "version": "0.27.3",
4
+ "version": "0.27.4",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"