@beterdichtbij/component-library 0.44.1 → 0.44.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -179,7 +179,7 @@ img.ProseMirror-separator {
179
179
  * Bootstrap v5.3.0 (https://getbootstrap.com/)
180
180
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
181
181
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
182
- */const yr=new Map,Lu={set(n,e,t){yr.has(n)||yr.set(n,new Map);const r=yr.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 yr.has(n)&&yr.get(n).get(e)||null},remove(n,e){if(!yr.has(n))return;const t=yr.get(n);t.delete(e),t.size===0&&yr.delete(n)}},tT=1e6,nT=1e3,Du="transitionend",Hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),rT=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),oT=n=>{do n+=Math.floor(Math.random()*tT);while(document.getElementById(n));return n},sT=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))*nT)},jm=n=>{n.dispatchEvent(new Event(Du))},Un=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),vr=n=>Un(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Hm(n)):null,Uo=n=>{if(!Un(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},Er=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",Wm=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?Wm(n.parentNode):null},Ha=()=>{},zs=n=>{n.offsetHeight},Km=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ru=[],iT=n=>{document.readyState==="loading"?(Ru.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ru)e()}),Ru.push(n)):n()},en=()=>document.documentElement.dir==="rtl",tn=n=>{iT(()=>{const e=Km();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)}})},Pt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Ym=(n,e,t=!0)=>{if(!t){Pt(n);return}const r=5,o=sT(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Du,i),Pt(n))};e.addEventListener(Du,i),setTimeout(()=>{s||jm(e)},o)},Bu=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},aT=/[^.]*(?=\..*)\.|.*/,lT=/\..*/,cT=/::\d+$/,Pu={};let Gm=1;const Qm={mouseenter:"mouseover",mouseleave:"mouseout"},uT=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 Zm(n,e){return e&&`${e}::${Gm++}`||n.uidEvent||Gm++}function Jm(n){const e=Zm(n);return n.uidEvent=e,Pu[e]=Pu[e]||{},Pu[e]}function dT(n,e){return function t(r){return Vu(r,{delegateTarget:n}),t.oneOff&&ce.off(n,r.type,e),e.apply(n,[r])}}function fT(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return Vu(o,{delegateTarget:i}),r.oneOff&&ce.off(n,o.type,e,t),t.apply(i,[o])}}function Xm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function qm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=t0(n);return uT.has(s)||(s=n),[r,o,s]}function e0(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=qm(e,t,r);e in Qm&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=Jm(n),u=a[l]||(a[l]={}),d=Xm(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=Zm(i,e.replace(aT,"")),h=s?fT(n,t,i):dT(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Fu(n,e,t,r,o){const s=Xm(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function hT(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Fu(n,e,t,i.callable,i.delegationSelector)}function t0(n){return n=n.replace(lT,""),Qm[n]||n}const ce={on(n,e,t,r){e0(n,e,t,r,!1)},one(n,e,t,r){e0(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=qm(e,t,r),l=i!==e,a=Jm(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Fu(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))hT(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(cT,"");(!l||e.includes(p))&&Fu(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Km(),o=t0(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=Vu(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function Vu(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 n0(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 $u(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Hn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${$u(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${$u(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]=n0(n.dataset[r])}return e},getDataAttribute(n,e){return n0(n.getAttribute(`data-bs-${$u(e)}`))}};class Us{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=Un(t)?Hn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Un(t)?Hn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Un(s)?"element":rT(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const pT="5.3.0";class mn extends Us{constructor(e,t){super(),e=vr(e),e&&(this._element=e,this._config=this._getConfig(t),Lu.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Lu.remove(this._element,this.constructor.DATA_KEY),ce.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Ym(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Lu.get(vr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return pT}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 zu=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)},Me={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=>!Er(t)&&Uo(t))},getSelectorFromElement(n){const e=zu(n);return e&&Me.findOne(e)?e:null},getElementFromSelector(n){const e=zu(n);return e?Me.findOne(e):null},getMultipleElementsFromSelector(n){const e=zu(n);return e?Me.find(e):[]}},ja=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ce.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Er(this))return;const s=Me.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},mT="alert",r0=".bs.alert",gT=`close${r0}`,yT=`closed${r0}`,vT="fade",ET="show";class Wa extends mn{static get NAME(){return mT}close(){if(ce.trigger(this._element,gT).defaultPrevented)return;this._element.classList.remove(ET);const t=this._element.classList.contains(vT);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ce.trigger(this._element,yT),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Wa.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)}})}}ja(Wa,"close"),tn(Wa);const CT="button",AT=".bs.button",bT=".data-api",wT="active",o0='[data-bs-toggle="button"]',TT=`click${AT}${bT}`;class Ka extends mn{static get NAME(){return CT}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wT))}static jQueryInterface(e){return this.each(function(){const t=Ka.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ce.on(document,TT,o0,n=>{n.preventDefault();const e=n.target.closest(o0);Ka.getOrCreateInstance(e).toggle()}),tn(Ka);const ST="swipe",Ho=".bs.swipe",_T=`touchstart${Ho}`,kT=`touchmove${Ho}`,NT=`touchend${Ho}`,IT=`pointerdown${Ho}`,xT=`pointerup${Ho}`,MT="touch",OT="pen",LT="pointer-event",DT=40,RT={endCallback:null,leftCallback:null,rightCallback:null},BT={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ya extends Us{constructor(e,t){super(),this._element=e,!(!e||!Ya.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return RT}static get DefaultType(){return BT}static get NAME(){return ST}dispose(){ce.off(this._element,Ho)}_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(),Pt(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<=DT)return;const t=e/this._deltaX;this._deltaX=0,t&&Pt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ce.on(this._element,IT,e=>this._start(e)),ce.on(this._element,xT,e=>this._end(e)),this._element.classList.add(LT)):(ce.on(this._element,_T,e=>this._start(e)),ce.on(this._element,kT,e=>this._move(e)),ce.on(this._element,NT,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===OT||e.pointerType===MT)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const PT="carousel",Cr=".bs.carousel",s0=".data-api",FT="ArrowLeft",VT="ArrowRight",$T=500,Hs="next",jo="prev",Wo="left",Ga="right",zT=`slide${Cr}`,Uu=`slid${Cr}`,UT=`keydown${Cr}`,HT=`mouseenter${Cr}`,jT=`mouseleave${Cr}`,WT=`dragstart${Cr}`,KT=`load${Cr}${s0}`,YT=`click${Cr}${s0}`,i0="carousel",Qa="active",GT="slide",QT="carousel-item-end",ZT="carousel-item-start",JT="carousel-item-next",XT="carousel-item-prev",a0=".active",l0=".carousel-item",qT=a0+l0,eS=".carousel-item img",tS=".carousel-indicators",nS="[data-bs-slide], [data-bs-slide-to]",rS='[data-bs-ride="carousel"]',oS={[FT]:Ga,[VT]:Wo},sS={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},iS={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class js extends mn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Me.findOne(tS,this._element),this._addEventListeners(),this._config.ride===i0&&this.cycle()}static get Default(){return sS}static get DefaultType(){return iS}static get NAME(){return PT}next(){this._slide(Hs)}nextWhenVisible(){!document.hidden&&Uo(this._element)&&this.next()}prev(){this._slide(jo)}pause(){this._isSliding&&jm(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){ce.one(this._element,Uu,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ce.one(this._element,Uu,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Hs:jo;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&&ce.on(this._element,UT,e=>this._keydown(e)),this._config.pause==="hover"&&(ce.on(this._element,HT,()=>this.pause()),ce.on(this._element,jT,()=>this._maybeEnableCycle())),this._config.touch&&Ya.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Me.find(eS,this._element))ce.on(r,WT,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Wo)),rightCallback:()=>this._slide(this._directionToOrder(Ga)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),$T+this._config.interval))}};this._swipeHelper=new Ya(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=oS[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=Me.findOne(a0,this._indicatorsElement);t.classList.remove(Qa),t.removeAttribute("aria-current");const r=Me.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Qa),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===Hs,s=t||Bu(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>ce.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(zT).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?ZT:QT,f=o?JT:XT;s.classList.add(f),zs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(Qa),r.classList.remove(Qa,f,d),this._isSliding=!1,l(Uu)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(GT)}_getActive(){return Me.findOne(qT,this._element)}_getItems(){return Me.find(l0,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return en()?e===Wo?jo:Hs:e===Wo?Hs:jo}_orderToDirection(e){return en()?e===jo?Wo:Ga:e===jo?Ga:Wo}static jQueryInterface(e){return this.each(function(){const t=js.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]()}})}}ce.on(document,YT,nS,function(n){const e=Me.getElementFromSelector(this);if(!e||!e.classList.contains(i0))return;n.preventDefault();const t=js.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Hn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ce.on(window,KT,()=>{const n=Me.find(rS);for(const e of n)js.getOrCreateInstance(e)}),tn(js);const aS="collapse",Ws=".bs.collapse",lS=".data-api",cS=`show${Ws}`,uS=`shown${Ws}`,dS=`hide${Ws}`,fS=`hidden${Ws}`,hS=`click${Ws}${lS}`,Hu="show",Ko="collapse",Za="collapsing",pS="collapsed",mS=`:scope .${Ko} .${Ko}`,gS="collapse-horizontal",yS="width",vS="height",ES=".collapse.show, .collapse.collapsing",ju='[data-bs-toggle="collapse"]',CS={parent:null,toggle:!0},AS={parent:"(null|element)",toggle:"boolean"};class Ks extends mn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Me.find(ju);for(const o of r){const s=Me.getSelectorFromElement(o),i=Me.find(s).filter(l=>l===this._element);s!==null&&i.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 CS}static get DefaultType(){return AS}static get NAME(){return aS}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(ES).filter(l=>l!==this._element).map(l=>Ks.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ce.trigger(this._element,cS).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Ko),this._element.classList.add(Za),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko,Hu),this._element.style[r]="",ce.trigger(this._element,uS)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||ce.trigger(this._element,dS).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,zs(this._element),this._element.classList.add(Za),this._element.classList.remove(Ko,Hu);for(const o of this._triggerArray){const s=Me.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko),ce.trigger(this._element,fS)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Hu)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=vr(e.parent),e}_getDimension(){return this._element.classList.contains(gS)?yS:vS}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ju);for(const t of e){const r=Me.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Me.find(mS,this._config.parent);return Me.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(pS,!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=Ks.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ce.on(document,hS,ju,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Me.getMultipleElementsFromSelector(this))Ks.getOrCreateInstance(e,{toggle:!1}).toggle()}),tn(Ks);const c0="dropdown",eo=".bs.dropdown",Wu=".data-api",bS="Escape",u0="Tab",wS="ArrowUp",d0="ArrowDown",TS=2,SS=`hide${eo}`,_S=`hidden${eo}`,kS=`show${eo}`,NS=`shown${eo}`,f0=`click${eo}${Wu}`,h0=`keydown${eo}${Wu}`,IS=`keyup${eo}${Wu}`,Yo="show",xS="dropup",MS="dropend",OS="dropstart",LS="dropup-center",DS="dropdown-center",to='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',RS=`${to}.${Yo}`,Ja=".dropdown-menu",BS=".navbar",PS=".navbar-nav",FS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",VS=en()?"top-end":"top-start",$S=en()?"top-start":"top-end",zS=en()?"bottom-end":"bottom-start",US=en()?"bottom-start":"bottom-end",HS=en()?"left-start":"right-start",jS=en()?"right-start":"left-start",WS="top",KS="bottom",YS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},GS={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xn extends mn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Me.next(this._element,Ja)[0]||Me.prev(this._element,Ja)[0]||Me.findOne(Ja,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return YS}static get DefaultType(){return GS}static get NAME(){return c0}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Er(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ce.trigger(this._element,kS,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(PS))for(const r of[].concat(...document.body.children))ce.on(r,"mouseover",Ha);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Yo),this._element.classList.add(Yo),ce.trigger(this._element,NS,e)}}hide(){if(Er(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(!ce.trigger(this._element,SS,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ce.off(r,"mouseover",Ha);this._popper&&this._popper.destroy(),this._menu.classList.remove(Yo),this._element.classList.remove(Yo),this._element.setAttribute("aria-expanded","false"),Hn.removeDataAttribute(this._menu,"popper"),ce.trigger(this._element,_S,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Un(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${c0.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof q1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Un(this._config.reference)?e=vr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ta(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Yo)}_getPlacement(){const e=this._parent;if(e.classList.contains(MS))return HS;if(e.classList.contains(OS))return jS;if(e.classList.contains(LS))return WS;if(e.classList.contains(DS))return KS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(xS)?t?$S:VS:t?US:zS}_detectNavbar(){return this._element.closest(BS)!==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")&&(Hn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Pt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Me.find(FS,this._menu).filter(o=>Uo(o));r.length&&Bu(r,t,e===d0,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xn.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===TS||e.type==="keyup"&&e.key!==u0)return;const t=Me.find(RS);for(const r of t){const o=xn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===u0||/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===bS,o=[wS,d0].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches(to)?this:Me.prev(this,to)[0]||Me.next(this,to)[0]||Me.findOne(to,e.delegateTarget.parentNode),i=xn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}ce.on(document,h0,to,xn.dataApiKeydownHandler),ce.on(document,h0,Ja,xn.dataApiKeydownHandler),ce.on(document,f0,xn.clearMenus),ce.on(document,IS,xn.clearMenus),ce.on(document,f0,to,function(n){n.preventDefault(),xn.getOrCreateInstance(this).toggle()}),tn(xn);const p0="backdrop",QS="fade",m0="show",g0=`mousedown.bs.${p0}`,ZS={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},JS={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class y0 extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ZS}static get DefaultType(){return JS}static get NAME(){return p0}show(e){if(!this._config.isVisible){Pt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&zs(t),t.classList.add(m0),this._emulateAnimation(()=>{Pt(e)})}hide(e){if(!this._config.isVisible){Pt(e);return}this._getElement().classList.remove(m0),this._emulateAnimation(()=>{this.dispose(),Pt(e)})}dispose(){this._isAppended&&(ce.off(this._element,g0),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(QS),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=vr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ce.on(e,g0,()=>{Pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ym(e,this._getElement(),this._config.isAnimated)}}const XS="focustrap",Xa=".bs.focustrap",qS=`focusin${Xa}`,e_=`keydown.tab${Xa}`,t_="Tab",n_="forward",v0="backward",r_={autofocus:!0,trapElement:null},o_={autofocus:"boolean",trapElement:"element"};class E0 extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return r_}static get DefaultType(){return o_}static get NAME(){return XS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ce.off(document,Xa),ce.on(document,qS,e=>this._handleFocusin(e)),ce.on(document,e_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ce.off(document,Xa))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Me.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===v0?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===t_&&(this._lastTabNavDirection=e.shiftKey?v0:n_)}}const C0=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",A0=".sticky-top",qa="padding-right",b0="margin-right";class Ku{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,qa,t=>t+e),this._setElementAttributes(C0,qa,t=>t+e),this._setElementAttributes(A0,b0,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qa),this._resetElementAttributes(C0,qa),this._resetElementAttributes(A0,b0)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Hn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Hn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Hn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Un(e)){t(e);return}for(const r of Me.find(e,this._element))t(r)}}const s_="modal",nn=".bs.modal",i_=".data-api",a_="Escape",l_=`hide${nn}`,c_=`hidePrevented${nn}`,w0=`hidden${nn}`,T0=`show${nn}`,u_=`shown${nn}`,d_=`resize${nn}`,f_=`click.dismiss${nn}`,h_=`mousedown.dismiss${nn}`,p_=`keydown.dismiss${nn}`,m_=`click${nn}${i_}`,S0="modal-open",g_="fade",_0="show",Yu="modal-static",y_=".modal.show",v_=".modal-dialog",E_=".modal-body",C_='[data-bs-toggle="modal"]',A_={backdrop:!0,focus:!0,keyboard:!0},b_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ar extends mn{constructor(e,t){super(e,t),this._dialog=Me.findOne(v_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ku,this._addEventListeners()}static get Default(){return A_}static get DefaultType(){return b_}static get NAME(){return s_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ce.trigger(this._element,T0,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(S0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ce.trigger(this._element,l_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ce.off(window,nn),ce.off(this._dialog,nn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new y0({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new E0({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=Me.findOne(E_,this._dialog);t&&(t.scrollTop=0),zs(this._element),this._element.classList.add(_0);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ce.trigger(this._element,u_,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ce.on(this._element,p_,e=>{if(e.key===a_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ce.on(window,d_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ce.on(this._element,h_,e=>{ce.one(this._element,f_,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(S0),this._resetAdjustments(),this._scrollBar.reset(),ce.trigger(this._element,w0)})}_isAnimated(){return this._element.classList.contains(g_)}_triggerBackdropTransition(){if(ce.trigger(this._element,c_).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Yu)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Yu),this._queueCallback(()=>{this._element.classList.remove(Yu),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=en()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=en()?"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=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ce.on(document,m_,C_,function(n){const e=Me.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ce.one(e,T0,o=>{o.defaultPrevented||ce.one(e,w0,()=>{Uo(this)&&this.focus()})});const t=Me.findOne(y_);t&&Ar.getInstance(t).hide(),Ar.getOrCreateInstance(e).toggle(this)}),ja(Ar),tn(Ar);const w_="offcanvas",jn=".bs.offcanvas",k0=".data-api",T_=`load${jn}${k0}`,S_="Escape",N0="show",I0="showing",x0="hiding",__="offcanvas-backdrop",M0=".offcanvas.show",k_=`show${jn}`,N_=`shown${jn}`,I_=`hide${jn}`,O0=`hidePrevented${jn}`,L0=`hidden${jn}`,x_=`resize${jn}`,M_=`click${jn}${k0}`,O_=`keydown.dismiss${jn}`,L_='[data-bs-toggle="offcanvas"]',D_={backdrop:!0,keyboard:!0,scroll:!1},R_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class br extends mn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return D_}static get DefaultType(){return R_}static get NAME(){return w_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ce.trigger(this._element,k_,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ku().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(I0);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(N0),this._element.classList.remove(I0),ce.trigger(this._element,N_,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ce.trigger(this._element,I_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(x0),this._backdrop.hide();const t=()=>{this._element.classList.remove(N0,x0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ku().reset(),ce.trigger(this._element,L0)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ce.trigger(this._element,O0);return}this.hide()},t=!!this._config.backdrop;return new y0({className:__,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new E0({trapElement:this._element})}_addEventListeners(){ce.on(this._element,O_,e=>{if(e.key===S_){if(this._config.keyboard){this.hide();return}ce.trigger(this._element,O0)}})}static jQueryInterface(e){return this.each(function(){const t=br.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)}})}}ce.on(document,M_,L_,function(n){const e=Me.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Er(this))return;ce.one(e,L0,()=>{Uo(this)&&this.focus()});const t=Me.findOne(M0);t&&t!==e&&br.getInstance(t).hide(),br.getOrCreateInstance(e).toggle(this)}),ce.on(window,T_,()=>{for(const n of Me.find(M0))br.getOrCreateInstance(n).show()}),ce.on(window,x_,()=>{for(const n of Me.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&br.getOrCreateInstance(n).hide()}),ja(br),tn(br);const D0={"*":["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:[]},B_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),P_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,F_=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?B_.has(t)?!!P_.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function V_(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"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)F_(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const $_="TemplateFactory",z_={allowList:D0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},H_={entry:"(string|element|function|null)",selector:"(string|element)"};class j_ extends Us{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return z_}static get DefaultType(){return U_}static get NAME(){return $_}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,s]of Object.entries(this._config.content))this._setContent(e,s,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},H_)}_setContent(e,t,r){const o=Me.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Un(t)){this._putElementInTemplate(vr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?V_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Pt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const W_="tooltip",K_=new Set(["sanitize","allowList","sanitizeFn"]),Gu="fade",Y_="modal",el="show",G_=".tooltip-inner",R0=`.${Y_}`,B0="hide.bs.modal",Ys="hover",Qu="focus",Q_="click",Z_="manual",J_="hide",X_="hidden",q_="show",ek="shown",tk="inserted",nk="click",rk="focusin",ok="focusout",sk="mouseenter",ik="mouseleave",ak={AUTO:"auto",TOP:"top",RIGHT:en()?"left":"right",BOTTOM:"bottom",LEFT:en()?"right":"left"},lk={allowList:D0,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"},ck={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 Mn extends mn{constructor(e,t){if(typeof q1>"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 lk}static get DefaultType(){return ck}static get NAME(){return W_}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),ce.off(this._element.closest(R0),B0,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=ce.trigger(this._element,this.constructor.eventName(q_)),r=(Wm(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:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),ce.trigger(this._element,this.constructor.eventName(tk))),this._popper=this._createPopper(o),o.classList.add(el),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ce.on(l,"mouseover",Ha);const i=()=>{ce.trigger(this._element,this.constructor.eventName(ek)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ce.trigger(this._element,this.constructor.eventName(J_)).defaultPrevented)return;if(this._getTipElement().classList.remove(el),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ce.off(o,"mouseover",Ha);this._activeTrigger[Q_]=!1,this._activeTrigger[Qu]=!1,this._activeTrigger[Ys]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ce.trigger(this._element,this.constructor.eventName(X_)))};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(Gu,el),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=oT(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Gu),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new j_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[G_]: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(Gu)}_isShown(){return this.tip&&this.tip.classList.contains(el)}_createPopper(e){const t=Pt(this._config.placement,[this,e,this._element]),r=ak[t.toUpperCase()];return ta(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 Pt(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,...Pt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ce.on(this._element,this.constructor.eventName(nk),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Z_){const r=t===Ys?this.constructor.eventName(sk):this.constructor.eventName(rk),o=t===Ys?this.constructor.eventName(ik):this.constructor.eventName(ok);ce.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?Qu:Ys]=!0,i._enter()}),ce.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?Qu:Ys]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ce.on(this._element.closest(R0),B0,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=Hn.getDataAttributes(this._element);for(const r of Object.keys(t))K_.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:vr(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=Mn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(Mn);const uk="popover",dk=".popover-header",fk=".popover-body",hk={...Mn.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"},pk={...Mn.DefaultType,content:"(null|string|element|function)"};class no extends Mn{static get Default(){return hk}static get DefaultType(){return pk}static get NAME(){return uk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dk]:this._getTitle(),[fk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=no.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(no);const mk="scrollspy",Zu=".bs.scrollspy",gk=".data-api",yk=`activate${Zu}`,P0=`click${Zu}`,vk=`load${Zu}${gk}`,Ek="dropdown-item",Go="active",Ck='[data-bs-spy="scroll"]',Ju="[href]",Ak=".nav, .list-group",F0=".nav-link",bk=`${F0}, .nav-item > ${F0}, .list-group-item`,wk=".dropdown",Tk=".dropdown-toggle",Sk={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},_k={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class tl extends mn{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 Sk}static get DefaultType(){return _k}static get NAME(){return mk}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=vr(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&&(ce.off(this._config.target,P0),ce.on(this._config.target,P0,Ju,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=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Me.find(Ju,this._config.target);for(const t of e){if(!t.hash||Er(t))continue;const r=Me.findOne(decodeURI(t.hash),this._element);Uo(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(Go),this._activateParents(e),ce.trigger(this._element,yk,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Ek)){Me.findOne(Tk,e.closest(wk)).classList.add(Go);return}for(const t of Me.parents(e,Ak))for(const r of Me.prev(t,bk))r.classList.add(Go)}_clearActiveClass(e){e.classList.remove(Go);const t=Me.find(`${Ju}.${Go}`,e);for(const r of t)r.classList.remove(Go)}static jQueryInterface(e){return this.each(function(){const t=tl.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]()}})}}ce.on(window,vk,()=>{for(const n of Me.find(Ck))tl.getOrCreateInstance(n)}),tn(tl);const kk="tab",ro=".bs.tab",Nk=`hide${ro}`,Ik=`hidden${ro}`,xk=`show${ro}`,Mk=`shown${ro}`,Ok=`click${ro}`,Lk=`keydown${ro}`,Dk=`load${ro}`,Rk="ArrowLeft",V0="ArrowRight",Bk="ArrowUp",$0="ArrowDown",oo="active",z0="fade",Xu="show",Pk="dropdown",Fk=".dropdown-toggle",Vk=".dropdown-menu",qu=":not(.dropdown-toggle)",$k='.list-group, .nav, [role="tablist"]',zk=".nav-item, .list-group-item",Uk=`.nav-link${qu}, .list-group-item${qu}, [role="tab"]${qu}`,U0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ed=`${Uk}, ${U0}`,Hk=`.${oo}[data-bs-toggle="tab"], .${oo}[data-bs-toggle="pill"], .${oo}[data-bs-toggle="list"]`;class Qo extends mn{constructor(e){super(e),this._parent=this._element.closest($k),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ce.on(this._element,Lk,t=>this._keydown(t)))}static get NAME(){return kk}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ce.trigger(t,Nk,{relatedTarget:e}):null;ce.trigger(e,xk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(oo),this._activate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Xu);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ce.trigger(e,Mk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(z0))}_deactivate(e,t){if(!e)return;e.classList.remove(oo),e.blur(),this._deactivate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Xu);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ce.trigger(e,Ik,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(z0))}_keydown(e){if(![Rk,V0,Bk,$0].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[V0,$0].includes(e.key),r=Bu(this._getChildren().filter(o=>!Er(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),Qo.getOrCreateInstance(r).show())}_getChildren(){return Me.find(ed,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=Me.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(Pk))return;const o=(s,i)=>{const l=Me.findOne(s,r);l&&l.classList.toggle(i,t)};o(Fk,oo),o(Vk,Xu),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(oo)}_getInnerElement(e){return e.matches(ed)?e:Me.findOne(ed,e)}_getOuterElement(e){return e.closest(zk)||e}static jQueryInterface(e){return this.each(function(){const t=Qo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,Ok,U0,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Er(this)&&Qo.getOrCreateInstance(this).show()}),ce.on(window,Dk,()=>{for(const n of Me.find(Hk))Qo.getOrCreateInstance(n)}),tn(Qo);const jk="toast",wr=".bs.toast",Wk=`mouseover${wr}`,Kk=`mouseout${wr}`,Yk=`focusin${wr}`,Gk=`focusout${wr}`,Qk=`hide${wr}`,Zk=`hidden${wr}`,Jk=`show${wr}`,Xk=`shown${wr}`,qk="fade",H0="hide",nl="show",rl="showing",eN={animation:"boolean",autohide:"boolean",delay:"number"},tN={animation:!0,autohide:!0,delay:5e3};class Zo extends mn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tN}static get DefaultType(){return eN}static get NAME(){return jk}show(){if(ce.trigger(this._element,Jk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(qk);const t=()=>{this._element.classList.remove(rl),ce.trigger(this._element,Xk),this._maybeScheduleHide()};this._element.classList.remove(H0),zs(this._element),this._element.classList.add(nl,rl),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ce.trigger(this._element,Qk).defaultPrevented)return;const t=()=>{this._element.classList.add(H0),this._element.classList.remove(rl,nl),ce.trigger(this._element,Zk)};this._element.classList.add(rl),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(nl),super.dispose()}isShown(){return this._element.classList.contains(nl)}_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(){ce.on(this._element,Wk,e=>this._onInteraction(e,!0)),ce.on(this._element,Kk,e=>this._onInteraction(e,!1)),ce.on(this._element,Yk,e=>this._onInteraction(e,!0)),ce.on(this._element,Gk,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)}})}}ja(Zo),tn(Zo);function j0(n,e){return e.value||n.getAttribute("title")||""}const Gs={mounted:(n,e)=>{const t=j0(n,e);t&&n.setAttribute("title",t),new Mn(n)},updated:(n,e)=>{const t=Mn.getInstance(n);t&&t.dispose();const r=j0(n,e);r&&n.setAttribute("title",r),new Mn(n)},unmounted:n=>{const e=Mn.getInstance(n);e&&e.dispose()}},nN={key:0,class:"pills-list__wrapper"},rN={class:"pills-list__ul"},oN={class:"bd-markdown-editor__menu-bottom"},sN={key:0,class:"vr"},W0=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Ou.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Dr(t,"modelValue",e),s=[Qb,Zb,Jb,Aw.configure({placeholder:t.placeholder}),Fw,Cw.configure({openOnClick:!1,validate:x=>/^https?:\/\//i.test(x)})];t.variant===Ou.FULL&&s.push(_w,Mw,Ow,Lw,Rw,Pw);const i=Gb({content:o.value,extensions:s,onUpdate:({editor:x})=>{const{view:M,state:L}=x,{from:$,to:V}=M.state.selection;if(L.doc.textBetween($-1,V,"")==" "&&x.getAttributes("link").href!=null&&x.chain().setTextSelection({from:$-1,to:V}).toggleLink({href:x.getAttributes("link").href}).setTextSelection({from:V,to:V}).run(),x.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",x.getHTML())}});c.watch(()=>t.modelValue,x=>{i.value.getHTML()!==x&&i.value.commands.setContent(x,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Ou.FULL),g=x=>i.value&&i.value.isActive(x)?"active":null,y=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!0):null),b=x=>{e("action",{name:"delete-attachment",obj:x})},E=x=>{e("action",{name:"image-attachment",obj:x})},v=c.computed(()=>{if(!i.value)return!1;const{from:x,to:M}=i.value.state.selection;return x!==M}),N=c.computed(()=>v.value?"Voeg een link toe":"Selecteer eerst tekst"),w=()=>{const x=i.value.getAttributes("link").href,M=window.prompt("Voeg link toe",x);if(M!==null){if(M===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:M}).run()}};return(x,M)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(Yb),{editor:c.unref(i)},null,8,["editor"]),x.pills?(c.openBlock(),c.createElementBlock("div",nN,[c.createElementVNode("ul",rN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(x.pills,(L,$)=>(c.openBlock(),c.createElementBlock("li",{key:$,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(L)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(x.$slots,"default"),y.value?(c.openBlock(),c.createBlock($a,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:b},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(za,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:b,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",oN,[c.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Or))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",sN)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:M[0]||(M[0]=L=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(El))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:M[1]||(M[1]=L=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(kl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:M[2]||(M[2]=L=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Dl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:M[3]||(M[3]=L=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Cl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:M[4]||(M[4]=L=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Il))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:w,disabled:!v.value},{default:c.withCtx(()=>[c.createVNode(c.unref(ii))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Gs),N.value]])])],2),c.createVNode(di,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),iN={class:"header"},aN=c.createElementVNode("div",null,"Menu",-1),lN={class:"icon-close-wrapper"},cN={class:"navbar"},uN={class:"nav navbar-nav w-100"},dN={class:"nav-item"},fN={class:"nav-item"},td=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",iN,[aN,c.createElementVNode("div",lN,[c.createVNode(oi,{onClick:o})])]),c.createElementVNode("nav",cN,[c.createElementVNode("ul",uN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",dN,[c.createVNode(Mr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",fN,[c.createVNode(Mr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),hN={class:"bd-user"},pN={class:"bd-user__information"},mN={class:"text-break"},gN={class:"overflow-x-hidden"},K0=c.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",hN,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(ls,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",pN,[c.createElementVNode("header",null,[c.createElementVNode("h5",mN,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",gN,c.toDisplayString(t.value),1)])]))}}),yN={class:"bd-chat-cloud-card"},vN={class:"bd-chat-cloud-card__header"},EN={class:"bd-chat-cloud-card__body"},CN=["innerHTML"],AN={class:"bd-chat-cloud-card__footer"},bN={key:0,class:"pills-list__wrapper"},wN={class:"pills-list__ul"},Y0=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=c.computed(()=>t.isSender?"sender":Ve),o=c.computed(()=>Ua(t.files,!1)),s=c.computed(()=>Ua(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(ls,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",yN,[c.createElementVNode("div",vN,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",EN,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,CN)])]),c.createElementVNode("div",AN,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",bN,[c.createElementVNode("ul",wN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock($a,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(za,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),TN=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(xl),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(Ml),{key:1})):(c.openBlock(),c.createBlock(c.unref(Ol),{key:2}))],2))}}),SN={class:"bd-table"},_N={key:0,class:"table"},kN={key:1},NN=["onClick"],IN={key:0},xN={key:1,class:"empty-text"},G0=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",SN,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",_N,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(TN,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",kN,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",IN,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,NN))),256))])])):(c.openBlock(),c.createElementBlock("p",xN,c.toDisplayString(r.emptyText),1))]))}}),MN=["id"],ON={key:0,class:"toast-body__title"},LN={class:"actions"},DN=["textContent"],RN=["textContent"],BN={class:"icon-wrapper"},PN=["textContent"],FN=["textContent"],Q0=3e4,Z0=5e3,J0=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let b="video-call-toast";return t.id&&(b+=`-${t.id}`),b}),a=c.computed(()=>r.value?[r.value?"is-handled":Ve,o.value?"is-handled--success":Ve,t.canceled?"is-handled--canceled":Ve].join(" "):Ve),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const b=l.value,E=document.querySelector(`#${b}`);if(E){E.addEventListener("hide.bs.toast",C);var v={autohide:!0,delay:Q0+Z0};i=Zo.getOrCreateInstance(E,v),i.show(),s=window.setTimeout(h,Q0)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),y()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),y()},y=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),Z0)},C=()=>{r.value=!1,o.value=!1};return(b,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",ON,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",BN,[c.createVNode(ri)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,PN),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,FN)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode($l,{value:b.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",LN,[c.createVNode(Ze,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(Al),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,DN)]),_:1}),c.createVNode(Ze,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(ri),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,RN)]),_:1})])],64))],2)],8,MN))}}),nd=c.defineComponent({__name:"BDDropdown",props:{size:{default:At.MD},variant:{default:ai.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=fo(),r=`__BD__DROPDOWN__${t.value}`,o=c.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),VN={class:"row bd-header"},$N={class:"col logo-mix"},zN=["src","alt"],UN=c.createElementVNode("div",null,"Menu",-1),HN={key:1,class:"col header-options"},jN={class:"col bd-btn-settings"},WN={key:2},rd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",VN,[c.createElementVNode("div",$N,[c.createVNode(vl,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,zN)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[UN,c.createVNode(Nl)])),o.value?(c.openBlock(),c.createElementBlock("div",HN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Ze,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",jN,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(ls,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",WN,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(nd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(pi,c.mergeProps({key:p},h),null,16))),128)),c.createVNode(pi,{text:"Uitloggen",onClick:l})]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(td,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
182
+ */const yr=new Map,Lu={set(n,e,t){yr.has(n)||yr.set(n,new Map);const r=yr.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 yr.has(n)&&yr.get(n).get(e)||null},remove(n,e){if(!yr.has(n))return;const t=yr.get(n);t.delete(e),t.size===0&&yr.delete(n)}},tT=1e6,nT=1e3,Du="transitionend",Hm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),rT=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),oT=n=>{do n+=Math.floor(Math.random()*tT);while(document.getElementById(n));return n},sT=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))*nT)},jm=n=>{n.dispatchEvent(new Event(Du))},Un=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),vr=n=>Un(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(Hm(n)):null,Uo=n=>{if(!Un(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},Er=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",Wm=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?Wm(n.parentNode):null},Ha=()=>{},zs=n=>{n.offsetHeight},Km=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Ru=[],iT=n=>{document.readyState==="loading"?(Ru.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Ru)e()}),Ru.push(n)):n()},en=()=>document.documentElement.dir==="rtl",tn=n=>{iT(()=>{const e=Km();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)}})},Pt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Ym=(n,e,t=!0)=>{if(!t){Pt(n);return}const r=5,o=sT(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Du,i),Pt(n))};e.addEventListener(Du,i),setTimeout(()=>{s||jm(e)},o)},Bu=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},aT=/[^.]*(?=\..*)\.|.*/,lT=/\..*/,cT=/::\d+$/,Pu={};let Gm=1;const Qm={mouseenter:"mouseover",mouseleave:"mouseout"},uT=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 Zm(n,e){return e&&`${e}::${Gm++}`||n.uidEvent||Gm++}function Jm(n){const e=Zm(n);return n.uidEvent=e,Pu[e]=Pu[e]||{},Pu[e]}function dT(n,e){return function t(r){return Vu(r,{delegateTarget:n}),t.oneOff&&ce.off(n,r.type,e),e.apply(n,[r])}}function fT(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return Vu(o,{delegateTarget:i}),r.oneOff&&ce.off(n,o.type,e,t),t.apply(i,[o])}}function Xm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function qm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=t0(n);return uT.has(s)||(s=n),[r,o,s]}function e0(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=qm(e,t,r);e in Qm&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=Jm(n),u=a[l]||(a[l]={}),d=Xm(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=Zm(i,e.replace(aT,"")),h=s?fT(n,t,i):dT(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Fu(n,e,t,r,o){const s=Xm(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function hT(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Fu(n,e,t,i.callable,i.delegationSelector)}function t0(n){return n=n.replace(lT,""),Qm[n]||n}const ce={on(n,e,t,r){e0(n,e,t,r,!1)},one(n,e,t,r){e0(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=qm(e,t,r),l=i!==e,a=Jm(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Fu(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))hT(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(cT,"");(!l||e.includes(p))&&Fu(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Km(),o=t0(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=Vu(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function Vu(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 n0(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 $u(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Hn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${$u(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${$u(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]=n0(n.dataset[r])}return e},getDataAttribute(n,e){return n0(n.getAttribute(`data-bs-${$u(e)}`))}};class Us{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=Un(t)?Hn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Un(t)?Hn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Un(s)?"element":rT(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const pT="5.3.0";class mn extends Us{constructor(e,t){super(),e=vr(e),e&&(this._element=e,this._config=this._getConfig(t),Lu.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Lu.remove(this._element,this.constructor.DATA_KEY),ce.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Ym(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Lu.get(vr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return pT}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 zu=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)},Me={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=>!Er(t)&&Uo(t))},getSelectorFromElement(n){const e=zu(n);return e&&Me.findOne(e)?e:null},getElementFromSelector(n){const e=zu(n);return e?Me.findOne(e):null},getMultipleElementsFromSelector(n){const e=zu(n);return e?Me.find(e):[]}},ja=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ce.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Er(this))return;const s=Me.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},mT="alert",r0=".bs.alert",gT=`close${r0}`,yT=`closed${r0}`,vT="fade",ET="show";class Wa extends mn{static get NAME(){return mT}close(){if(ce.trigger(this._element,gT).defaultPrevented)return;this._element.classList.remove(ET);const t=this._element.classList.contains(vT);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ce.trigger(this._element,yT),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Wa.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)}})}}ja(Wa,"close"),tn(Wa);const CT="button",AT=".bs.button",bT=".data-api",wT="active",o0='[data-bs-toggle="button"]',TT=`click${AT}${bT}`;class Ka extends mn{static get NAME(){return CT}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(wT))}static jQueryInterface(e){return this.each(function(){const t=Ka.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ce.on(document,TT,o0,n=>{n.preventDefault();const e=n.target.closest(o0);Ka.getOrCreateInstance(e).toggle()}),tn(Ka);const ST="swipe",Ho=".bs.swipe",_T=`touchstart${Ho}`,kT=`touchmove${Ho}`,NT=`touchend${Ho}`,IT=`pointerdown${Ho}`,xT=`pointerup${Ho}`,MT="touch",OT="pen",LT="pointer-event",DT=40,RT={endCallback:null,leftCallback:null,rightCallback:null},BT={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ya extends Us{constructor(e,t){super(),this._element=e,!(!e||!Ya.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return RT}static get DefaultType(){return BT}static get NAME(){return ST}dispose(){ce.off(this._element,Ho)}_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(),Pt(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<=DT)return;const t=e/this._deltaX;this._deltaX=0,t&&Pt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ce.on(this._element,IT,e=>this._start(e)),ce.on(this._element,xT,e=>this._end(e)),this._element.classList.add(LT)):(ce.on(this._element,_T,e=>this._start(e)),ce.on(this._element,kT,e=>this._move(e)),ce.on(this._element,NT,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===OT||e.pointerType===MT)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const PT="carousel",Cr=".bs.carousel",s0=".data-api",FT="ArrowLeft",VT="ArrowRight",$T=500,Hs="next",jo="prev",Wo="left",Ga="right",zT=`slide${Cr}`,Uu=`slid${Cr}`,UT=`keydown${Cr}`,HT=`mouseenter${Cr}`,jT=`mouseleave${Cr}`,WT=`dragstart${Cr}`,KT=`load${Cr}${s0}`,YT=`click${Cr}${s0}`,i0="carousel",Qa="active",GT="slide",QT="carousel-item-end",ZT="carousel-item-start",JT="carousel-item-next",XT="carousel-item-prev",a0=".active",l0=".carousel-item",qT=a0+l0,eS=".carousel-item img",tS=".carousel-indicators",nS="[data-bs-slide], [data-bs-slide-to]",rS='[data-bs-ride="carousel"]',oS={[FT]:Ga,[VT]:Wo},sS={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},iS={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class js extends mn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Me.findOne(tS,this._element),this._addEventListeners(),this._config.ride===i0&&this.cycle()}static get Default(){return sS}static get DefaultType(){return iS}static get NAME(){return PT}next(){this._slide(Hs)}nextWhenVisible(){!document.hidden&&Uo(this._element)&&this.next()}prev(){this._slide(jo)}pause(){this._isSliding&&jm(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){ce.one(this._element,Uu,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ce.one(this._element,Uu,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Hs:jo;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&&ce.on(this._element,UT,e=>this._keydown(e)),this._config.pause==="hover"&&(ce.on(this._element,HT,()=>this.pause()),ce.on(this._element,jT,()=>this._maybeEnableCycle())),this._config.touch&&Ya.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Me.find(eS,this._element))ce.on(r,WT,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Wo)),rightCallback:()=>this._slide(this._directionToOrder(Ga)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),$T+this._config.interval))}};this._swipeHelper=new Ya(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=oS[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=Me.findOne(a0,this._indicatorsElement);t.classList.remove(Qa),t.removeAttribute("aria-current");const r=Me.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Qa),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===Hs,s=t||Bu(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>ce.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(zT).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?ZT:QT,f=o?JT:XT;s.classList.add(f),zs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(Qa),r.classList.remove(Qa,f,d),this._isSliding=!1,l(Uu)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(GT)}_getActive(){return Me.findOne(qT,this._element)}_getItems(){return Me.find(l0,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return en()?e===Wo?jo:Hs:e===Wo?Hs:jo}_orderToDirection(e){return en()?e===jo?Wo:Ga:e===jo?Ga:Wo}static jQueryInterface(e){return this.each(function(){const t=js.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]()}})}}ce.on(document,YT,nS,function(n){const e=Me.getElementFromSelector(this);if(!e||!e.classList.contains(i0))return;n.preventDefault();const t=js.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Hn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ce.on(window,KT,()=>{const n=Me.find(rS);for(const e of n)js.getOrCreateInstance(e)}),tn(js);const aS="collapse",Ws=".bs.collapse",lS=".data-api",cS=`show${Ws}`,uS=`shown${Ws}`,dS=`hide${Ws}`,fS=`hidden${Ws}`,hS=`click${Ws}${lS}`,Hu="show",Ko="collapse",Za="collapsing",pS="collapsed",mS=`:scope .${Ko} .${Ko}`,gS="collapse-horizontal",yS="width",vS="height",ES=".collapse.show, .collapse.collapsing",ju='[data-bs-toggle="collapse"]',CS={parent:null,toggle:!0},AS={parent:"(null|element)",toggle:"boolean"};class Ks extends mn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Me.find(ju);for(const o of r){const s=Me.getSelectorFromElement(o),i=Me.find(s).filter(l=>l===this._element);s!==null&&i.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 CS}static get DefaultType(){return AS}static get NAME(){return aS}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(ES).filter(l=>l!==this._element).map(l=>Ks.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ce.trigger(this._element,cS).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Ko),this._element.classList.add(Za),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko,Hu),this._element.style[r]="",ce.trigger(this._element,uS)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||ce.trigger(this._element,dS).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,zs(this._element),this._element.classList.add(Za),this._element.classList.remove(Ko,Hu);for(const o of this._triggerArray){const s=Me.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Za),this._element.classList.add(Ko),ce.trigger(this._element,fS)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Hu)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=vr(e.parent),e}_getDimension(){return this._element.classList.contains(gS)?yS:vS}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(ju);for(const t of e){const r=Me.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Me.find(mS,this._config.parent);return Me.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(pS,!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=Ks.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ce.on(document,hS,ju,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Me.getMultipleElementsFromSelector(this))Ks.getOrCreateInstance(e,{toggle:!1}).toggle()}),tn(Ks);const c0="dropdown",eo=".bs.dropdown",Wu=".data-api",bS="Escape",u0="Tab",wS="ArrowUp",d0="ArrowDown",TS=2,SS=`hide${eo}`,_S=`hidden${eo}`,kS=`show${eo}`,NS=`shown${eo}`,f0=`click${eo}${Wu}`,h0=`keydown${eo}${Wu}`,IS=`keyup${eo}${Wu}`,Yo="show",xS="dropup",MS="dropend",OS="dropstart",LS="dropup-center",DS="dropdown-center",to='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',RS=`${to}.${Yo}`,Ja=".dropdown-menu",BS=".navbar",PS=".navbar-nav",FS=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",VS=en()?"top-end":"top-start",$S=en()?"top-start":"top-end",zS=en()?"bottom-end":"bottom-start",US=en()?"bottom-start":"bottom-end",HS=en()?"left-start":"right-start",jS=en()?"right-start":"left-start",WS="top",KS="bottom",YS={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},GS={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xn extends mn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Me.next(this._element,Ja)[0]||Me.prev(this._element,Ja)[0]||Me.findOne(Ja,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return YS}static get DefaultType(){return GS}static get NAME(){return c0}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Er(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ce.trigger(this._element,kS,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(PS))for(const r of[].concat(...document.body.children))ce.on(r,"mouseover",Ha);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Yo),this._element.classList.add(Yo),ce.trigger(this._element,NS,e)}}hide(){if(Er(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(!ce.trigger(this._element,SS,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ce.off(r,"mouseover",Ha);this._popper&&this._popper.destroy(),this._menu.classList.remove(Yo),this._element.classList.remove(Yo),this._element.setAttribute("aria-expanded","false"),Hn.removeDataAttribute(this._menu,"popper"),ce.trigger(this._element,_S,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Un(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${c0.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof q1>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Un(this._config.reference)?e=vr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=ta(e,this._menu,t)}_isShown(){return this._menu.classList.contains(Yo)}_getPlacement(){const e=this._parent;if(e.classList.contains(MS))return HS;if(e.classList.contains(OS))return jS;if(e.classList.contains(LS))return WS;if(e.classList.contains(DS))return KS;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(xS)?t?$S:VS:t?US:zS}_detectNavbar(){return this._element.closest(BS)!==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")&&(Hn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Pt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Me.find(FS,this._menu).filter(o=>Uo(o));r.length&&Bu(r,t,e===d0,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=xn.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===TS||e.type==="keyup"&&e.key!==u0)return;const t=Me.find(RS);for(const r of t){const o=xn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===u0||/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===bS,o=[wS,d0].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches(to)?this:Me.prev(this,to)[0]||Me.next(this,to)[0]||Me.findOne(to,e.delegateTarget.parentNode),i=xn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}ce.on(document,h0,to,xn.dataApiKeydownHandler),ce.on(document,h0,Ja,xn.dataApiKeydownHandler),ce.on(document,f0,xn.clearMenus),ce.on(document,IS,xn.clearMenus),ce.on(document,f0,to,function(n){n.preventDefault(),xn.getOrCreateInstance(this).toggle()}),tn(xn);const p0="backdrop",QS="fade",m0="show",g0=`mousedown.bs.${p0}`,ZS={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},JS={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class y0 extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return ZS}static get DefaultType(){return JS}static get NAME(){return p0}show(e){if(!this._config.isVisible){Pt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&zs(t),t.classList.add(m0),this._emulateAnimation(()=>{Pt(e)})}hide(e){if(!this._config.isVisible){Pt(e);return}this._getElement().classList.remove(m0),this._emulateAnimation(()=>{this.dispose(),Pt(e)})}dispose(){this._isAppended&&(ce.off(this._element,g0),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(QS),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=vr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ce.on(e,g0,()=>{Pt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Ym(e,this._getElement(),this._config.isAnimated)}}const XS="focustrap",Xa=".bs.focustrap",qS=`focusin${Xa}`,e_=`keydown.tab${Xa}`,t_="Tab",n_="forward",v0="backward",r_={autofocus:!0,trapElement:null},o_={autofocus:"boolean",trapElement:"element"};class E0 extends Us{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return r_}static get DefaultType(){return o_}static get NAME(){return XS}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ce.off(document,Xa),ce.on(document,qS,e=>this._handleFocusin(e)),ce.on(document,e_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ce.off(document,Xa))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Me.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===v0?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===t_&&(this._lastTabNavDirection=e.shiftKey?v0:n_)}}const C0=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",A0=".sticky-top",qa="padding-right",b0="margin-right";class Ku{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,qa,t=>t+e),this._setElementAttributes(C0,qa,t=>t+e),this._setElementAttributes(A0,b0,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qa),this._resetElementAttributes(C0,qa),this._resetElementAttributes(A0,b0)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Hn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Hn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Hn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Un(e)){t(e);return}for(const r of Me.find(e,this._element))t(r)}}const s_="modal",nn=".bs.modal",i_=".data-api",a_="Escape",l_=`hide${nn}`,c_=`hidePrevented${nn}`,w0=`hidden${nn}`,T0=`show${nn}`,u_=`shown${nn}`,d_=`resize${nn}`,f_=`click.dismiss${nn}`,h_=`mousedown.dismiss${nn}`,p_=`keydown.dismiss${nn}`,m_=`click${nn}${i_}`,S0="modal-open",g_="fade",_0="show",Yu="modal-static",y_=".modal.show",v_=".modal-dialog",E_=".modal-body",C_='[data-bs-toggle="modal"]',A_={backdrop:!0,focus:!0,keyboard:!0},b_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ar extends mn{constructor(e,t){super(e,t),this._dialog=Me.findOne(v_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ku,this._addEventListeners()}static get Default(){return A_}static get DefaultType(){return b_}static get NAME(){return s_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ce.trigger(this._element,T0,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(S0),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ce.trigger(this._element,l_).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(_0),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ce.off(window,nn),ce.off(this._dialog,nn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new y0({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new E0({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=Me.findOne(E_,this._dialog);t&&(t.scrollTop=0),zs(this._element),this._element.classList.add(_0);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ce.trigger(this._element,u_,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ce.on(this._element,p_,e=>{if(e.key===a_){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ce.on(window,d_,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ce.on(this._element,h_,e=>{ce.one(this._element,f_,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(S0),this._resetAdjustments(),this._scrollBar.reset(),ce.trigger(this._element,w0)})}_isAnimated(){return this._element.classList.contains(g_)}_triggerBackdropTransition(){if(ce.trigger(this._element,c_).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Yu)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Yu),this._queueCallback(()=>{this._element.classList.remove(Yu),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=en()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=en()?"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=Ar.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ce.on(document,m_,C_,function(n){const e=Me.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ce.one(e,T0,o=>{o.defaultPrevented||ce.one(e,w0,()=>{Uo(this)&&this.focus()})});const t=Me.findOne(y_);t&&Ar.getInstance(t).hide(),Ar.getOrCreateInstance(e).toggle(this)}),ja(Ar),tn(Ar);const w_="offcanvas",jn=".bs.offcanvas",k0=".data-api",T_=`load${jn}${k0}`,S_="Escape",N0="show",I0="showing",x0="hiding",__="offcanvas-backdrop",M0=".offcanvas.show",k_=`show${jn}`,N_=`shown${jn}`,I_=`hide${jn}`,O0=`hidePrevented${jn}`,L0=`hidden${jn}`,x_=`resize${jn}`,M_=`click${jn}${k0}`,O_=`keydown.dismiss${jn}`,L_='[data-bs-toggle="offcanvas"]',D_={backdrop:!0,keyboard:!0,scroll:!1},R_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class br extends mn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return D_}static get DefaultType(){return R_}static get NAME(){return w_}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ce.trigger(this._element,k_,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ku().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(I0);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(N0),this._element.classList.remove(I0),ce.trigger(this._element,N_,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ce.trigger(this._element,I_).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(x0),this._backdrop.hide();const t=()=>{this._element.classList.remove(N0,x0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ku().reset(),ce.trigger(this._element,L0)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ce.trigger(this._element,O0);return}this.hide()},t=!!this._config.backdrop;return new y0({className:__,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new E0({trapElement:this._element})}_addEventListeners(){ce.on(this._element,O_,e=>{if(e.key===S_){if(this._config.keyboard){this.hide();return}ce.trigger(this._element,O0)}})}static jQueryInterface(e){return this.each(function(){const t=br.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)}})}}ce.on(document,M_,L_,function(n){const e=Me.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Er(this))return;ce.one(e,L0,()=>{Uo(this)&&this.focus()});const t=Me.findOne(M0);t&&t!==e&&br.getInstance(t).hide(),br.getOrCreateInstance(e).toggle(this)}),ce.on(window,T_,()=>{for(const n of Me.find(M0))br.getOrCreateInstance(n).show()}),ce.on(window,x_,()=>{for(const n of Me.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&br.getOrCreateInstance(n).hide()}),ja(br),tn(br);const D0={"*":["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:[]},B_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),P_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,F_=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?B_.has(t)?!!P_.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function V_(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"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)F_(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const $_="TemplateFactory",z_={allowList:D0,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},U_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},H_={entry:"(string|element|function|null)",selector:"(string|element)"};class j_ extends Us{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return z_}static get DefaultType(){return U_}static get NAME(){return $_}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,s]of Object.entries(this._config.content))this._setContent(e,s,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},H_)}_setContent(e,t,r){const o=Me.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Un(t)){this._putElementInTemplate(vr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?V_(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Pt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const W_="tooltip",K_=new Set(["sanitize","allowList","sanitizeFn"]),Gu="fade",Y_="modal",el="show",G_=".tooltip-inner",R0=`.${Y_}`,B0="hide.bs.modal",Ys="hover",Qu="focus",Q_="click",Z_="manual",J_="hide",X_="hidden",q_="show",ek="shown",tk="inserted",nk="click",rk="focusin",ok="focusout",sk="mouseenter",ik="mouseleave",ak={AUTO:"auto",TOP:"top",RIGHT:en()?"left":"right",BOTTOM:"bottom",LEFT:en()?"right":"left"},lk={allowList:D0,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"},ck={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 Mn extends mn{constructor(e,t){if(typeof q1>"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 lk}static get DefaultType(){return ck}static get NAME(){return W_}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),ce.off(this._element.closest(R0),B0,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=ce.trigger(this._element,this.constructor.eventName(q_)),r=(Wm(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:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),ce.trigger(this._element,this.constructor.eventName(tk))),this._popper=this._createPopper(o),o.classList.add(el),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ce.on(l,"mouseover",Ha);const i=()=>{ce.trigger(this._element,this.constructor.eventName(ek)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ce.trigger(this._element,this.constructor.eventName(J_)).defaultPrevented)return;if(this._getTipElement().classList.remove(el),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ce.off(o,"mouseover",Ha);this._activeTrigger[Q_]=!1,this._activeTrigger[Qu]=!1,this._activeTrigger[Ys]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ce.trigger(this._element,this.constructor.eventName(X_)))};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(Gu,el),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=oT(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Gu),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new j_({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[G_]: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(Gu)}_isShown(){return this.tip&&this.tip.classList.contains(el)}_createPopper(e){const t=Pt(this._config.placement,[this,e,this._element]),r=ak[t.toUpperCase()];return ta(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 Pt(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,...Pt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ce.on(this._element,this.constructor.eventName(nk),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Z_){const r=t===Ys?this.constructor.eventName(sk):this.constructor.eventName(rk),o=t===Ys?this.constructor.eventName(ik):this.constructor.eventName(ok);ce.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?Qu:Ys]=!0,i._enter()}),ce.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?Qu:Ys]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ce.on(this._element.closest(R0),B0,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=Hn.getDataAttributes(this._element);for(const r of Object.keys(t))K_.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:vr(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=Mn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(Mn);const uk="popover",dk=".popover-header",fk=".popover-body",hk={...Mn.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"},pk={...Mn.DefaultType,content:"(null|string|element|function)"};class no extends Mn{static get Default(){return hk}static get DefaultType(){return pk}static get NAME(){return uk}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[dk]:this._getTitle(),[fk]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=no.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}tn(no);const mk="scrollspy",Zu=".bs.scrollspy",gk=".data-api",yk=`activate${Zu}`,P0=`click${Zu}`,vk=`load${Zu}${gk}`,Ek="dropdown-item",Go="active",Ck='[data-bs-spy="scroll"]',Ju="[href]",Ak=".nav, .list-group",F0=".nav-link",bk=`${F0}, .nav-item > ${F0}, .list-group-item`,wk=".dropdown",Tk=".dropdown-toggle",Sk={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},_k={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class tl extends mn{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 Sk}static get DefaultType(){return _k}static get NAME(){return mk}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=vr(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&&(ce.off(this._config.target,P0),ce.on(this._config.target,P0,Ju,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=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Me.find(Ju,this._config.target);for(const t of e){if(!t.hash||Er(t))continue;const r=Me.findOne(decodeURI(t.hash),this._element);Uo(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(Go),this._activateParents(e),ce.trigger(this._element,yk,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Ek)){Me.findOne(Tk,e.closest(wk)).classList.add(Go);return}for(const t of Me.parents(e,Ak))for(const r of Me.prev(t,bk))r.classList.add(Go)}_clearActiveClass(e){e.classList.remove(Go);const t=Me.find(`${Ju}.${Go}`,e);for(const r of t)r.classList.remove(Go)}static jQueryInterface(e){return this.each(function(){const t=tl.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]()}})}}ce.on(window,vk,()=>{for(const n of Me.find(Ck))tl.getOrCreateInstance(n)}),tn(tl);const kk="tab",ro=".bs.tab",Nk=`hide${ro}`,Ik=`hidden${ro}`,xk=`show${ro}`,Mk=`shown${ro}`,Ok=`click${ro}`,Lk=`keydown${ro}`,Dk=`load${ro}`,Rk="ArrowLeft",V0="ArrowRight",Bk="ArrowUp",$0="ArrowDown",oo="active",z0="fade",Xu="show",Pk="dropdown",Fk=".dropdown-toggle",Vk=".dropdown-menu",qu=":not(.dropdown-toggle)",$k='.list-group, .nav, [role="tablist"]',zk=".nav-item, .list-group-item",Uk=`.nav-link${qu}, .list-group-item${qu}, [role="tab"]${qu}`,U0='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ed=`${Uk}, ${U0}`,Hk=`.${oo}[data-bs-toggle="tab"], .${oo}[data-bs-toggle="pill"], .${oo}[data-bs-toggle="list"]`;class Qo extends mn{constructor(e){super(e),this._parent=this._element.closest($k),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ce.on(this._element,Lk,t=>this._keydown(t)))}static get NAME(){return kk}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ce.trigger(t,Nk,{relatedTarget:e}):null;ce.trigger(e,xk,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(oo),this._activate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Xu);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ce.trigger(e,Mk,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(z0))}_deactivate(e,t){if(!e)return;e.classList.remove(oo),e.blur(),this._deactivate(Me.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Xu);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ce.trigger(e,Ik,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(z0))}_keydown(e){if(![Rk,V0,Bk,$0].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[V0,$0].includes(e.key),r=Bu(this._getChildren().filter(o=>!Er(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),Qo.getOrCreateInstance(r).show())}_getChildren(){return Me.find(ed,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=Me.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(Pk))return;const o=(s,i)=>{const l=Me.findOne(s,r);l&&l.classList.toggle(i,t)};o(Fk,oo),o(Vk,Xu),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(oo)}_getInnerElement(e){return e.matches(ed)?e:Me.findOne(ed,e)}_getOuterElement(e){return e.closest(zk)||e}static jQueryInterface(e){return this.each(function(){const t=Qo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ce.on(document,Ok,U0,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Er(this)&&Qo.getOrCreateInstance(this).show()}),ce.on(window,Dk,()=>{for(const n of Me.find(Hk))Qo.getOrCreateInstance(n)}),tn(Qo);const jk="toast",wr=".bs.toast",Wk=`mouseover${wr}`,Kk=`mouseout${wr}`,Yk=`focusin${wr}`,Gk=`focusout${wr}`,Qk=`hide${wr}`,Zk=`hidden${wr}`,Jk=`show${wr}`,Xk=`shown${wr}`,qk="fade",H0="hide",nl="show",rl="showing",eN={animation:"boolean",autohide:"boolean",delay:"number"},tN={animation:!0,autohide:!0,delay:5e3};class Zo extends mn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return tN}static get DefaultType(){return eN}static get NAME(){return jk}show(){if(ce.trigger(this._element,Jk).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(qk);const t=()=>{this._element.classList.remove(rl),ce.trigger(this._element,Xk),this._maybeScheduleHide()};this._element.classList.remove(H0),zs(this._element),this._element.classList.add(nl,rl),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ce.trigger(this._element,Qk).defaultPrevented)return;const t=()=>{this._element.classList.add(H0),this._element.classList.remove(rl,nl),ce.trigger(this._element,Zk)};this._element.classList.add(rl),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(nl),super.dispose()}isShown(){return this._element.classList.contains(nl)}_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(){ce.on(this._element,Wk,e=>this._onInteraction(e,!0)),ce.on(this._element,Kk,e=>this._onInteraction(e,!1)),ce.on(this._element,Yk,e=>this._onInteraction(e,!0)),ce.on(this._element,Gk,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)}})}}ja(Zo),tn(Zo);function j0(n,e){return e.value||n.getAttribute("title")||""}const Gs={mounted:(n,e)=>{const t=j0(n,e);t&&n.setAttribute("title",t),new Mn(n)},updated:(n,e)=>{const t=Mn.getInstance(n);t&&t.dispose();const r=j0(n,e);r&&n.setAttribute("title",r),new Mn(n)},unmounted:n=>{const e=Mn.getInstance(n);e&&e.dispose()}},nN={key:0,class:"pills-list__wrapper"},rN={class:"pills-list__ul"},oN={class:"bd-markdown-editor__menu-bottom"},sN={key:0,class:"vr"},W0=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Ou.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Dr(t,"modelValue",e),s=[Qb,Zb,Jb,Aw.configure({placeholder:t.placeholder}),Fw,Cw.configure({openOnClick:!1,validate:x=>/^https?:\/\//i.test(x)})];t.variant===Ou.FULL&&s.push(_w,Mw,Ow,Lw,Rw,Pw);const i=Gb({content:o.value,extensions:s,onUpdate:({editor:x})=>{const{view:M,state:L}=x,{from:$,to:V}=M.state.selection;if(L.doc.textBetween($-1,V,"")==" "&&x.getAttributes("link").href!=null&&x.chain().setTextSelection({from:$-1,to:V}).toggleLink({href:x.getAttributes("link").href}).setTextSelection({from:V,to:V}).run(),x.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",x.getHTML())}});c.watch(()=>t.modelValue,x=>{i.value.getHTML()!==x&&i.value.commands.setContent(x,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Ou.FULL),g=x=>i.value&&i.value.isActive(x)?"active":null,y=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?Ua(t.files,!0):null),b=x=>{e("action",{name:"delete-attachment",obj:x})},E=x=>{e("action",{name:"image-attachment",obj:x})},v=c.computed(()=>{if(!i.value)return!1;const{from:x,to:M}=i.value.state.selection;return x!==M}),N=c.computed(()=>v.value?"Voeg een link toe":"Selecteer eerst tekst"),w=()=>{const x=i.value.getAttributes("link").href,M=window.prompt("Voeg link toe",x);if(M!==null){if(M===""){i.value.chain().focus().unsetLink().run();return}i.value.chain().focus().toggleLink({href:M}).run()}};return(x,M)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(Yb),{editor:c.unref(i)},null,8,["editor"]),x.pills?(c.openBlock(),c.createElementBlock("div",nN,[c.createElementVNode("ul",rN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(x.pills,(L,$)=>(c.openBlock(),c.createElementBlock("li",{key:$,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(L)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(x.$slots,"default"),y.value?(c.openBlock(),c.createBlock($a,{key:1,files:y.value,"no-download":!0,"show-delete":!0,onDelete:b},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(za,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:b,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",oN,[c.createVNode(Ze,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Or))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",sN)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:M[0]||(M[0]=L=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(El))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:M[1]||(M[1]=L=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(kl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:M[2]||(M[2]=L=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Dl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:M[3]||(M[3]=L=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Cl))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Ze,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:M[4]||(M[4]=L=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Il))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Ze,{key:0,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:w,disabled:!v.value},{default:c.withCtx(()=>[c.createVNode(c.unref(ii))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Gs),N.value]])])],2),c.createVNode(di,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),iN={class:"header"},aN=c.createElementVNode("div",null,"Menu",-1),lN={class:"icon-close-wrapper"},cN={class:"navbar"},uN={class:"nav navbar-nav w-100"},dN={class:"nav-item"},fN={class:"nav-item"},td=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",iN,[aN,c.createElementVNode("div",lN,[c.createVNode(oi,{onClick:o})])]),c.createElementVNode("nav",cN,[c.createElementVNode("ul",uN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",dN,[c.createVNode(Mr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",fN,[c.createVNode(Mr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),hN={class:"bd-user"},pN={class:"bd-user__information"},mN={class:"text-break"},gN={class:"overflow-x-hidden"},K0=c.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",hN,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(ls,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",pN,[c.createElementVNode("header",null,[c.createElementVNode("h5",mN,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",gN,c.toDisplayString(t.value),1)])]))}}),yN={class:"bd-chat-cloud-card"},vN={class:"bd-chat-cloud-card__header"},EN={class:"bd-chat-cloud-card__body"},CN=["innerHTML"],AN={class:"bd-chat-cloud-card__footer"},bN={key:0,class:"pills-list__wrapper"},wN={class:"pills-list__ul"},Y0=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=c.computed(()=>t.isSender?"sender":Ve),o=c.computed(()=>Ua(t.files,!1)),s=c.computed(()=>Ua(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(ls,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",yN,[c.createElementVNode("div",vN,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Ze,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",EN,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,CN)])]),c.createElementVNode("div",AN,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",bN,[c.createElementVNode("ul",wN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode(hi,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock($a,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(za,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),TN=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(xl),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(Ml),{key:1})):(c.openBlock(),c.createBlock(c.unref(Ol),{key:2}))],2))}}),SN={class:"bd-table"},_N={key:0,class:"table"},kN={key:1},NN=["onClick"],IN={key:0},xN={key:1,class:"empty-text"},G0=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",SN,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",_N,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(TN,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",kN,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",IN,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,NN))),256))])])):(c.openBlock(),c.createElementBlock("p",xN,c.toDisplayString(r.emptyText),1))]))}}),MN=["id"],ON={key:0,class:"toast-body__title"},LN={class:"actions"},DN=["textContent"],RN=["textContent"],BN={class:"icon-wrapper"},PN=["textContent"],FN=["textContent"],Q0=3e4,Z0=5e3,J0=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let b="video-call-toast";return t.id&&(b+=`-${t.id}`),b}),a=c.computed(()=>r.value?[r.value?"is-handled":Ve,o.value?"is-handled--success":Ve,t.canceled?"is-handled--canceled":Ve].join(" "):Ve),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const b=l.value,E=document.querySelector(`#${b}`);if(E){E.addEventListener("hide.bs.toast",C);var v={autohide:!0,delay:Q0+Z0};i=Zo.getOrCreateInstance(E,v),i.show(),s=window.setTimeout(h,Q0)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),y()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),y()},y=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),Z0)},C=()=>{r.value=!1,o.value=!1};return(b,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",ON,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",BN,[c.createVNode(ri)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,PN),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,FN)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode($l,{value:b.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",LN,[c.createVNode(Ze,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(Al),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,DN)]),_:1}),c.createVNode(Ze,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(ri),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,RN)]),_:1})])],64))],2)],8,MN))}}),nd=c.defineComponent({__name:"BDDropdown",props:{size:{default:At.MD},variant:{default:ai.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=fo(),r=`__BD__DROPDOWN__${t.value}`,o=c.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),VN={class:"row bd-header"},$N={class:"col logo-mix"},zN=["src","alt"],UN=c.createElementVNode("div",null,"Menu",-1),HN={key:1,class:"col header-options"},jN={class:"col bd-btn-settings"},WN={key:2},rd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",VN,[c.createElementVNode("div",$N,[c.createVNode(vl,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,zN)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[UN,c.createVNode(Nl)])),o.value?(c.openBlock(),c.createElementBlock("div",HN,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Ze,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",jN,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(ls,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",WN,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(nd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(pi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(pi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(td,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
183
183
  * shared v9.14.4
184
184
  * (c) 2025 kazuya kawaguchi
185
185
  * Released under the MIT License.
@@ -204,4 +204,4 @@ ${u}`:a)}else throw i},onCacheKey:i=>YN(e,t,i)}}function Ix(n){if(_e(n))return n
204
204
  */const Mx="9.14.4";function Ox(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Yn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Yn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Yn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Yn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Yn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ng=xt.__EXTEND_POINT__,Zn=sl(ng),Ft={FALLBACK_TO_ROOT:ng,NOT_SUPPORTED_PRESERVE:Zn(),NOT_SUPPORTED_FORMATTER:Zn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Zn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Zn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Zn(),NOT_FOUND_PARENT_SCOPE:Zn(),IGNORE_OBJ_FLATTEN:Zn(),NOTICE_DROP_ALLOW_COMPOSITION:Zn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Zn()},Lx={[Ft.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Ft.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Ft.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Ft.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Ft.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Ft.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Ft.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Ft.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Ft.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function pl(n,...e){return od(Lx[n],...e)}const rg=dt.__EXTEND_POINT__,Vt=sl(rg),Xe={UNEXPECTED_RETURN_TYPE:rg,INVALID_ARGUMENT:Vt(),MUST_BE_CALL_SETUP_TOP:Vt(),NOT_INSTALLED:Vt(),NOT_AVAILABLE_IN_LEGACY_MODE:Vt(),REQUIRED_VALUE:Vt(),INVALID_VALUE:Vt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Vt(),NOT_INSTALLED_WITH_PROVIDE:Vt(),UNEXPECTED_ERROR:Vt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Vt(),BRIDGE_SUPPORT_VUE_2_ONLY:Vt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Vt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Vt(),__EXTEND_POINT__:Vt()};function kr(n,...e){return Xo(n,null,process.env.NODE_ENV!=="production"?{messages:Dx,args:e}:void 0)}const Dx={[Xe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Xe.INVALID_ARGUMENT]:"Invalid argument",[Xe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Xe.NOT_INSTALLED]:"Need to install with `app.use` function",[Xe.UNEXPECTED_ERROR]:"Unexpected error",[Xe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Xe.REQUIRED_VALUE]:"Required in value: {0}",[Xe.INVALID_VALUE]:"Invalid value",[Xe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Xe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Xe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Xe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},gd=Kn("__translateVNode"),yd=Kn("__datetimeParts"),vd=Kn("__numberParts"),Ed=Kn("__enableEmitter"),Cd=Kn("__disableEmitter"),Rx=Kn("__setPluralRules"),og=Kn("__injectWithOption"),Ad=Kn("__dispose");function qs(n){if(!je(n)||vn(n))return n;for(const e in n)if(gn(n,e))if(!e.includes("."))je(n[e])&&qs(n[e]);else{const t=e.split("."),r=t.length-1;let o=n,s=!1;for(let i=0;i<r;i++){if(t[i]==="__proto__")throw new Error(`unsafe key: ${t[i]}`);if(t[i]in o||(o[t[i]]=Ke()),!je(o[t[i]])){process.env.NODE_ENV!=="production"&&Gn(pl(Ft.IGNORE_OBJ_FLATTEN,{key:t[i]})),s=!0;break}o=o[t[i]]}if(s||(vn(o)?C2.includes(t[r])||delete n[e]:(o[t[r]]=n[e],delete n[e])),!vn(o)){const i=o[t[r]];je(i)&&qs(i)}}return n}function bd(n,e){const{messages:t,__i18n:r,messageResolver:o,flatJson:s}=e,i=He(t)?t:st(r)?Ke():{[n]:Ke()};if(st(r)&&r.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:u}=l;a?(i[a]=i[a]||Ke(),al(u,i[a])):al(u,i)}else _e(l)&&al(JSON.parse(l),i)}),o==null&&s)for(const l in i)gn(i,l)&&qs(i[l]);return i}function sg(n){return n.type}function Bx(n,e,t){let r=je(e.messages)?e.messages:Ke();"__i18nGlobal"in t&&(r=bd(n.locale.value,{messages:r,__i18n:t.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{n.mergeLocaleMessage(s,r[s])});{if(je(e.datetimeFormats)){const s=Object.keys(e.datetimeFormats);s.length&&s.forEach(i=>{n.mergeDateTimeFormat(i,e.datetimeFormats[i])})}if(je(e.numberFormats)){const s=Object.keys(e.numberFormats);s.length&&s.forEach(i=>{n.mergeNumberFormat(i,e.numberFormats[i])})}}}function ig(n){return c.createVNode(c.Text,null,n,0)}const ag="__INTLIFY_META__",lg=()=>[],Px=()=>!1;let cg=0;function ug(n){return(e,t,r,o)=>n(t,r,c.getCurrentInstance()||void 0,o)}const Fx=()=>{const n=c.getCurrentInstance();let e=null;return n&&(e=sg(n)[ag])?{[ag]:e}:null};function Vx(n={},e){const{__root:t,__injectWithOption:r}=n,o=t===void 0,s=n.flatJson,i=Wn?c.ref:c.shallowRef,l=!!n.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&o2(pl(Ft.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=Ge(n.inheritLocale)?n.inheritLocale:!0;const u=i(t&&a?t.locale.value:_e(n.locale)?n.locale:Js),d=i(t&&a?t.fallbackLocale.value:_e(n.fallbackLocale)||st(n.fallbackLocale)||He(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:u.value),f=i(bd(u.value,n)),h=i(He(n.datetimeFormats)?n.datetimeFormats:{[u.value]:{}}),p=i(He(n.numberFormats)?n.numberFormats:{[u.value]:{}});let m=t?t.missingWarn:Ge(n.missingWarn)||Jo(n.missingWarn)?n.missingWarn:!0,g=t?t.fallbackWarn:Ge(n.fallbackWarn)||Jo(n.fallbackWarn)?n.fallbackWarn:!0,y=t?t.fallbackRoot:Ge(n.fallbackRoot)?n.fallbackRoot:!0,C=!!n.fallbackFormat,b=Qe(n.missing)?n.missing:null,E=Qe(n.missing)?ug(n.missing):null,v=Qe(n.postTranslation)?n.postTranslation:null,N=t?t.warnHtmlMessage:Ge(n.warnHtmlMessage)?n.warnHtmlMessage:!0,w=!!n.escapeParameter;const x=t?t.modifiers:He(n.modifiers)?n.modifiers:{};let M=n.pluralRules||t&&t.pluralRules,L;L=(()=>{o&&R2(null);const q={version:Mx,locale:u.value,fallbackLocale:d.value,messages:f.value,modifiers:x,pluralRules:M,missing:E===null?void 0:E,missingWarn:m,fallbackWarn:g,fallbackFormat:C,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:N,escapeParameter:w,messageResolver:n.messageResolver,messageCompiler:n.messageCompiler,__meta:{framework:"vue"}};q.datetimeFormats=h.value,q.numberFormats=p.value,q.__datetimeFormatters=He(L)?L.__datetimeFormatters:void 0,q.__numberFormatters=He(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(q.__v_emitter=He(L)?L.__v_emitter:void 0);const ie=Cx(q);return o&&R2(ie),ie})(),Xs(L,u.value,d.value);function V(){return[u.value,d.value,f.value,h.value,p.value]}const z=c.computed({get:()=>u.value,set:q=>{u.value=q,L.locale=u.value}}),G=c.computed({get:()=>d.value,set:q=>{d.value=q,L.fallbackLocale=d.value,Xs(L,u.value,q)}}),Y=c.computed(()=>f.value),K=c.computed(()=>h.value),W=c.computed(()=>p.value);function J(){return Qe(v)?v:null}function U(q){v=q,L.postTranslation=q}function ee(){return b}function re(q){q!==null&&(E=ug(q)),b=q,L.missing=E}function ue(q,ie){return q!=="translate"||!ie.resolvedMessage}const ge=(q,ie,be,Pe,qe,nt)=>{V();let Mt;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(L.fallbackContext=t?Ex():void 0),Mt=q(L)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,o||(L.fallbackContext=void 0)}if(be!=="translate exists"&&ut(Mt)&&Mt===dl||be==="translate exists"&&!Mt){const[te,ye]=ie();if(process.env.NODE_ENV!=="production"&&t&&_e(te)&&ue(be,ye)&&(y&&(hl(g,te)||P2(m,te))&&Gn(pl(Ft.FALLBACK_TO_ROOT,{key:te,type:be})),process.env.NODE_ENV!=="production")){const{__v_emitter:me}=L;me&&y&&me.emit("fallback",{type:be,key:te,to:"global",groupId:`${be}:${te}`})}return t&&y?Pe(t):qe(te)}else{if(nt(Mt))return Mt;throw kr(Xe.UNEXPECTED_RETURN_TYPE)}};function Ee(...q){return ge(ie=>Reflect.apply(W2,null,[ie,...q]),()=>hd(...q),"translate",ie=>Reflect.apply(ie.t,ie,[...q]),ie=>ie,ie=>_e(ie))}function Se(...q){const[ie,be,Pe]=q;if(Pe&&!je(Pe))throw kr(Xe.INVALID_ARGUMENT);return Ee(ie,be,Ct({resolvedMessage:!0},Pe||{}))}function ke(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>Reflect.apply(ie.d,ie,[...q]),()=>fl,ie=>_e(ie))}function xe(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>Reflect.apply(ie.n,ie,[...q]),()=>fl,ie=>_e(ie))}function Ae(q){return q.map(ie=>_e(ie)||ut(ie)||Ge(ie)?ig(String(ie)):ie)}const B={normalize:Ae,interpolate:q=>q,type:"vnode"};function I(...q){return ge(ie=>{let be;const Pe=ie;try{Pe.processor=B,be=Reflect.apply(W2,null,[Pe,...q])}finally{Pe.processor=null}return be},()=>hd(...q),"translate",ie=>ie[gd](...q),ie=>[ig(ie)],ie=>st(ie))}function R(...q){return ge(ie=>Reflect.apply(q2,null,[ie,...q]),()=>md(...q),"number format",ie=>ie[vd](...q),lg,ie=>_e(ie)||st(ie))}function A(...q){return ge(ie=>Reflect.apply(Z2,null,[ie,...q]),()=>pd(...q),"datetime format",ie=>ie[yd](...q),lg,ie=>_e(ie)||st(ie))}function T(q){M=q,L.pluralRules=M}function k(q,ie){return ge(()=>{if(!q)return!1;const be=_e(ie)?ie:u.value,Pe=j(be),qe=L.messageResolver(Pe,q);return l?qe!=null:vn(qe)||rn(qe)||_e(qe)},()=>[q],"translate exists",be=>Reflect.apply(be.te,be,[q,ie]),Px,be=>Ge(be))}function O(q){let ie=null;const be=_2(L,d.value,u.value);for(let Pe=0;Pe<be.length;Pe++){const qe=f.value[be[Pe]]||{},nt=L.messageResolver(qe,q);if(nt!=null){ie=nt;break}}return ie}function H(q){const ie=O(q);return ie??(t?t.tm(q)||{}:{})}function j(q){return f.value[q]||{}}function Z(q,ie){if(s){const be={[q]:ie};for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q]}f.value[q]=ie,L.messages=f.value}function X(q,ie){f.value[q]=f.value[q]||{};const be={[q]:ie};if(s)for(const Pe in be)gn(be,Pe)&&qs(be[Pe]);ie=be[q],al(ie,f.value[q]),L.messages=f.value}function S(q){return h.value[q]||{}}function _(q,ie){h.value[q]=ie,L.datetimeFormats=h.value,X2(L,q,ie)}function F(q,ie){h.value[q]=Ct(h.value[q]||{},ie),L.datetimeFormats=h.value,X2(L,q,ie)}function Q(q){return p.value[q]||{}}function ae(q,ie){p.value[q]=ie,L.numberFormats=p.value,tg(L,q,ie)}function pe(q,ie){p.value[q]=Ct(p.value[q]||{},ie),L.numberFormats=p.value,tg(L,q,ie)}cg++,t&&Wn&&(c.watch(t.locale,q=>{a&&(u.value=q,L.locale=q,Xs(L,u.value,d.value))}),c.watch(t.fallbackLocale,q=>{a&&(d.value=q,L.fallbackLocale=q,Xs(L,u.value,d.value))}));const Te={id:cg,locale:z,fallbackLocale:G,get inheritLocale(){return a},set inheritLocale(q){a=q,q&&t&&(u.value=t.locale.value,d.value=t.fallbackLocale.value,Xs(L,u.value,d.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Y,get modifiers(){return x},get pluralRules(){return M||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(q){m=q,L.missingWarn=m},get fallbackWarn(){return g},set fallbackWarn(q){g=q,L.fallbackWarn=g},get fallbackRoot(){return y},set fallbackRoot(q){y=q},get fallbackFormat(){return C},set fallbackFormat(q){C=q,L.fallbackFormat=C},get warnHtmlMessage(){return N},set warnHtmlMessage(q){N=q,L.warnHtmlMessage=q},get escapeParameter(){return w},set escapeParameter(q){w=q,L.escapeParameter=q},t:Ee,getLocaleMessage:j,setLocaleMessage:Z,mergeLocaleMessage:X,getPostTranslationHandler:J,setPostTranslationHandler:U,getMissingHandler:ee,setMissingHandler:re,[Rx]:T};return Te.datetimeFormats=K,Te.numberFormats=W,Te.rt=Se,Te.te=k,Te.tm=H,Te.d=ke,Te.n=xe,Te.getDateTimeFormat=S,Te.setDateTimeFormat=_,Te.mergeDateTimeFormat=F,Te.getNumberFormat=Q,Te.setNumberFormat=ae,Te.mergeNumberFormat=pe,Te[og]=r,Te[gd]=I,Te[yd]=A,Te[vd]=R,process.env.NODE_ENV!=="production"&&(Te[Ed]=q=>{L.__v_emitter=q},Te[Cd]=()=>{L.__v_emitter=void 0}),Te}const wd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:n=>n==="parent"||n==="global",default:"parent"},i18n:{type:Object}};function $x({slots:n},e){return e.length===1&&e[0]==="default"?(n.default?n.default():[]).reduce((r,o)=>[...r,...o.type===c.Fragment?o.children:[o]],[]):e.reduce((t,r)=>{const o=n[r];return o&&(t[r]=o()),t},Ke())}function dg(n){return c.Fragment}Ct({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:n=>ut(n)||!isNaN(n)}},wd);function zx(n){return st(n)&&!_e(n[0])}function fg(n,e,t,r){const{slots:o,attrs:s}=e;return()=>{const i={part:!0};let l=Ke();n.locale&&(i.locale=n.locale),_e(n.format)?i.key=n.format:je(n.format)&&(_e(n.format.key)&&(i.key=n.format.key),l=Object.keys(n.format).reduce((h,p)=>t.includes(p)?Ct(Ke(),h,{[p]:n.format[p]}):h,Ke()));const a=r(n.value,i,l);let u=[i.key];st(a)?u=a.map((h,p)=>{const m=o[h.type],g=m?m({[h.type]:h.value,index:p,parts:a}):[h.value];return zx(g)&&(g[0].key=`${h.type}-${p}`),g}):_e(a)&&(u=[a]);const d=Ct(Ke(),s),f=_e(n.tag)||je(n.tag)?n.tag:dg();return c.h(f,d,u)}}Ct({value:{type:Number,required:!0},format:{type:[String,Object]}},wd),Ct({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},wd);function hg(n,e){}const Ux=Kn("global-vue-i18n");function ei(n={}){const e=c.getCurrentInstance();if(e==null)throw kr(Xe.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw kr(Xe.NOT_INSTALLED);const t=Hx(e),r=Wx(t),o=sg(e),s=jx(n,o);if(__VUE_I18N_LEGACY_API__&&t.mode==="legacy"&&!n.__useComponent){if(!t.allowComposition)throw kr(Xe.NOT_AVAILABLE_IN_LEGACY_MODE);return Qx(e,s,r,n)}if(s==="global")return Bx(r,n,o),r;if(s==="parent"){let a=Kx(t,e,n.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Gn(pl(Ft.NOT_FOUND_PARENT_SCOPE)),a=r),a}const i=t;let l=i.__getInstance(e);if(l==null){const a=Ct({},n);"__i18n"in o&&(a.__i18n=o.__i18n),r&&(a.__root=r),l=Vx(a),i.__composerExtend&&(l[Ad]=i.__composerExtend(l)),Gx(i,e,l),i.__setInstance(e,l)}return l}function Hx(n){{const e=c.inject(n.isCE?Ux:n.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw kr(n.isCE?Xe.NOT_INSTALLED_WITH_PROVIDE:Xe.UNEXPECTED_ERROR);return e}}function jx(n,e){return ol(n)?"__i18n"in e?"local":"global":n.useScope?n.useScope:"local"}function Wx(n){return n.mode==="composition"?n.global:n.global.__composer}function Kx(n,e,t=!1){let r=null;const o=e.root;let s=Yx(e,t);for(;s!=null;){const i=n;if(n.mode==="composition")r=i.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(s);l!=null&&(r=l.__composer,t&&r&&!r[og]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function Yx(n,e=!1){return n==null?null:e&&n.vnode.ctx||n.parent}function Gx(n,e,t){let r=null;c.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&e.vnode.el){e.vnode.el.__VUE_I18N__=t,r=nI();const o=t;o[Ed]&&o[Ed](r),r.on("*",hg)}},e),c.onUnmounted(()=>{const o=t;process.env.NODE_ENV!=="production"&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(r&&r.off("*",hg),o[Cd]&&o[Cd](),delete e.vnode.el.__VUE_I18N__),n.__deleteInstance(e);const s=o[Ad];s&&(s(),delete o[Ad])},e)}function Qx(n,e,t,r={}){const o=e==="local",s=c.shallowRef(null);if(o&&n.proxy&&!(n.proxy.$options.i18n||n.proxy.$options.__i18n))throw kr(Xe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=Ge(r.inheritLocale)?r.inheritLocale:!_e(r.locale),l=c.ref(!o||i?t.locale.value:_e(r.locale)?r.locale:Js),a=c.ref(!o||i?t.fallbackLocale.value:_e(r.fallbackLocale)||st(r.fallbackLocale)||He(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=c.ref(bd(l.value,r)),d=c.ref(He(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),f=c.ref(He(r.numberFormats)?r.numberFormats:{[l.value]:{}}),h=o?t.missingWarn:Ge(r.missingWarn)||Jo(r.missingWarn)?r.missingWarn:!0,p=o?t.fallbackWarn:Ge(r.fallbackWarn)||Jo(r.fallbackWarn)?r.fallbackWarn:!0,m=o?t.fallbackRoot:Ge(r.fallbackRoot)?r.fallbackRoot:!0,g=!!r.fallbackFormat,y=Qe(r.missing)?r.missing:null,C=Qe(r.postTranslation)?r.postTranslation:null,b=o?t.warnHtmlMessage:Ge(r.warnHtmlMessage)?r.warnHtmlMessage:!0,E=!!r.escapeParameter,v=o?t.modifiers:He(r.modifiers)?r.modifiers:{},N=r.pluralRules||o&&t.pluralRules;function w(){return[l.value,a.value,u.value,d.value,f.value]}const x=c.computed({get:()=>s.value?s.value.locale.value:l.value,set:k=>{s.value&&(s.value.locale.value=k),l.value=k}}),M=c.computed({get:()=>s.value?s.value.fallbackLocale.value:a.value,set:k=>{s.value&&(s.value.fallbackLocale.value=k),a.value=k}}),L=c.computed(()=>s.value?s.value.messages.value:u.value),$=c.computed(()=>d.value),V=c.computed(()=>f.value);function z(){return s.value?s.value.getPostTranslationHandler():C}function G(k){s.value&&s.value.setPostTranslationHandler(k)}function Y(){return s.value?s.value.getMissingHandler():y}function K(k){s.value&&s.value.setMissingHandler(k)}function W(k){return w(),k()}function J(...k){return s.value?W(()=>Reflect.apply(s.value.t,null,[...k])):W(()=>"")}function U(...k){return s.value?Reflect.apply(s.value.rt,null,[...k]):""}function ee(...k){return s.value?W(()=>Reflect.apply(s.value.d,null,[...k])):W(()=>"")}function re(...k){return s.value?W(()=>Reflect.apply(s.value.n,null,[...k])):W(()=>"")}function ue(k){return s.value?s.value.tm(k):{}}function ge(k,O){return s.value?s.value.te(k,O):!1}function Ee(k){return s.value?s.value.getLocaleMessage(k):{}}function Se(k,O){s.value&&(s.value.setLocaleMessage(k,O),u.value[k]=O)}function ke(k,O){s.value&&s.value.mergeLocaleMessage(k,O)}function xe(k){return s.value?s.value.getDateTimeFormat(k):{}}function Ae(k,O){s.value&&(s.value.setDateTimeFormat(k,O),d.value[k]=O)}function D(k,O){s.value&&s.value.mergeDateTimeFormat(k,O)}function B(k){return s.value?s.value.getNumberFormat(k):{}}function I(k,O){s.value&&(s.value.setNumberFormat(k,O),f.value[k]=O)}function R(k,O){s.value&&s.value.mergeNumberFormat(k,O)}const A={get id(){return s.value?s.value.id:-1},locale:x,fallbackLocale:M,messages:L,datetimeFormats:$,numberFormats:V,get inheritLocale(){return s.value?s.value.inheritLocale:i},set inheritLocale(k){s.value&&(s.value.inheritLocale=k)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(u.value)},get modifiers(){return s.value?s.value.modifiers:v},get pluralRules(){return s.value?s.value.pluralRules:N},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:h},set missingWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackWarn(){return s.value?s.value.fallbackWarn:p},set fallbackWarn(k){s.value&&(s.value.missingWarn=k)},get fallbackRoot(){return s.value?s.value.fallbackRoot:m},set fallbackRoot(k){s.value&&(s.value.fallbackRoot=k)},get fallbackFormat(){return s.value?s.value.fallbackFormat:g},set fallbackFormat(k){s.value&&(s.value.fallbackFormat=k)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:b},set warnHtmlMessage(k){s.value&&(s.value.warnHtmlMessage=k)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(k){s.value&&(s.value.escapeParameter=k)},t:J,getPostTranslationHandler:z,setPostTranslationHandler:G,getMissingHandler:Y,setMissingHandler:K,rt:U,d:ee,n:re,tm:ue,te:ge,getLocaleMessage:Ee,setLocaleMessage:Se,mergeLocaleMessage:ke,getDateTimeFormat:xe,setDateTimeFormat:Ae,mergeDateTimeFormat:D,getNumberFormat:B,setNumberFormat:I,mergeNumberFormat:R};function T(k){k.locale.value=l.value,k.fallbackLocale.value=a.value,Object.keys(u.value).forEach(O=>{k.mergeLocaleMessage(O,u.value[O])}),Object.keys(d.value).forEach(O=>{k.mergeDateTimeFormat(O,d.value[O])}),Object.keys(f.value).forEach(O=>{k.mergeNumberFormat(O,f.value[O])}),k.escapeParameter=E,k.fallbackFormat=g,k.fallbackRoot=m,k.fallbackWarn=p,k.missingWarn=h,k.warnHtmlMessage=b}return c.onBeforeMount(()=>{if(n.proxy==null||n.proxy.$i18n==null)throw kr(Xe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const k=s.value=n.proxy.$i18n.__composer;e==="global"?(l.value=k.locale.value,a.value=k.fallbackLocale.value,u.value=k.messages.value,d.value=k.datetimeFormats.value,f.value=k.numberFormats.value):o&&T(k)}),A}if(Ox(),__INTLIFY_JIT_COMPILATION__?x2(Sx):x2(Tx),mx(QI),gx(_2),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const n=Yn();n.__INTLIFY__=!0,ox(n.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Zx="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgaGVpZ2h0PSI4MDBweCIKICAgd2lkdGg9IjgwMHB4IgogICB2aWV3Qm94PSIwIDAgODAwIDgwMCIKICAgZmlsbD0ibm9uZSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMiIKICAgc29kaXBvZGk6ZG9jbmFtZT0iYmVsbC1pY29uLnN2ZyIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS40LjIgKGViZjBlOTQsIDIwMjUtMDUtMDgpIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnMyIiAvPgogIDxzb2RpcG9kaTpuYW1lZHZpZXcKICAgICBpZD0ibmFtZWR2aWV3MiIKICAgICBwYWdlY29sb3I9IiNmZmZmZmYiCiAgICAgYm9yZGVyY29sb3I9IiMwMDAwMDAiCiAgICAgYm9yZGVyb3BhY2l0eT0iMC4yNSIKICAgICBpbmtzY2FwZTpzaG93cGFnZXNoYWRvdz0iMiIKICAgICBpbmtzY2FwZTpwYWdlb3BhY2l0eT0iMC4wIgogICAgIGlua3NjYXBlOnBhZ2VjaGVja2VyYm9hcmQ9IjAiCiAgICAgaW5rc2NhcGU6ZGVza2NvbG9yPSIjZDFkMWQxIgogICAgIGlua3NjYXBlOnpvb209IjAuOTM5MDI2MDEiCiAgICAgaW5rc2NhcGU6Y3g9IjM2MS4wMTIzNiIKICAgICBpbmtzY2FwZTpjeT0iNDI1LjQ0MDgyIgogICAgIGlua3NjYXBlOndpbmRvdy13aWR0aD0iMjMyMyIKICAgICBpbmtzY2FwZTp3aW5kb3ctaGVpZ2h0PSIxMzIxIgogICAgIGlua3NjYXBlOndpbmRvdy14PSI2OSIKICAgICBpbmtzY2FwZTp3aW5kb3cteT0iLTkiCiAgICAgaW5rc2NhcGU6d2luZG93LW1heGltaXplZD0iMSIKICAgICBpbmtzY2FwZTpjdXJyZW50LWxheWVyPSJzdmcyIgogICAgIGlua3NjYXBlOmxvY2tndWlkZXM9ImZhbHNlIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDU3NC43MTM0LDUxNy43MDgzOSBjIC00My4wMjM0MywtMTkuNDI5NTggLTQwLjMzOTkxLC05Mi4wMzE3MyAtNDAuMzcxNjYsLTk0LjEzNjAzIGwgLTAuODY0MDMsLTU1LjA4NjIyIGMgLTAuODQ0NTIsLTUzLjg0MjYzIC0zMi43NjI4OSwtMTAxLjAxNzg3IC03OS41MjI2MSwtMTIwLjczMzg5IC0wLjEwMDU1LC0yNy42ODUzOCAtMjYuMjQ3ODcsLTUwLjE3NzEzIC01My45NTM3NSwtNTAuMTc3MTMgLTI3LjcwNjU1LDAgLTUzLjg1MzIsMjIuNDkzMDcgLTUzLjk1NDQyLDUwLjE3NTgxIC00Ni43NTc3NCwxOS43MTYwMSAtNzcuNjczOTUsNjguNjIxNjYgLTc4LjY1NzI0LDEyMi40NjE5MyBsIC0wLjg2NDAzLDQ3LjMxIGMgLTAuMDMwNCwyLjEwNDMgMS43ODc3Myw4MC43NTQ2MyAtNDEuMjM3MDMsMTAwLjE4NDIgLTQuOTAxMjIsMi4yMTQxMiAtNy41OTQ5NCwxMi45NDczIC02LjQ2MTc1LDE4LjIwNTA4IDEuMTMxODcsNS4yNTg0MyAzLjk4MjM3LDE0LjQxMTkgOS4zNjEyMiwxNC40MTE5IGggMTEwLjg3MTE1IGMgMi4yMzU5NSwxMi4zMDAzNSA4LjA1MjA1LDIzLjc0MzM2IDE2Ljk0NzU0LDMzLjAxMTk2IDExLjgxNDgsMTIuMzA5NjEgMjcuNDM5MywxOS4wODg4OCA0My45OTI1NywxOS4wODg4OCAxNi41NTQ2LDAgMzIuMTc5MSwtNi43NzkyNyA0My45OTI1OCwtMTkuMDg4ODggOC44OTY4MSwtOS4yNjkyNSAxNC43MTI5MSwtMjAuNzEyOTQgMTYuOTQ3NTQsLTMzLjAxMTk2IGggMTEwLjg3MTE1IGMgNS4zNzg4NSwwIDguMjI4NjksLTkuMTUyOCA5LjM2MTg5LC0xNC40MTE5IDEuMTM0NDksLTUuMjU3NzggLTEuNTU3ODksLTE1Ljk5MDMgLTYuNDU5MTIsLTE4LjIwMzc1IHogbSAtNjUuNDU3NDIsLTI3Ljc0MTc4IGMgNC41MjI4MiwxMy43MTIwNCA3LjI1NzA3LDE2LjIwNjczIDE2LjMzODQ1LDI3LjY2NTYyIGwgLTI1MC4zOTQ3NSwtMC43OTI3NSBjIDkuMDgwMDUsLTExLjQ1NzU2IDEwLjM3MTQsLTEzLjE1ODg1IDE0Ljg5NDIyLC0yNi44NzI4NyB6IE0gNDAwLjAwMTM1LDIyNC4wMDYyMiBjIDEyLjUzMjU1LDAgMTkuNTMwMTUsNC44MjI1MiAyMi44NDU3LDE2LjMwMTI2IC04LjU0MTU5LC0xLjc3MTU2IC0xMy43ODc0NywtMi43MDU2MyAtMjIuODQ1NywtMi43MDU2MyAtOS4wNTgyMywwIC0xNC4zMDQxMiwwLjkzMzQxIC0yMi44NDU2OSwyLjcwNTYzIDMuMzE2MiwtMTEuNDc4MDggMTAuMzEzODEsLTE2LjMwMTI2IDIyLjg0NTY5LC0xNi4zMDEyNiB6IG0gLTEwMy41ODg0OCwxOTkuNjM0OTQgMS43OTkzMywtNTQuMjIxNyBjIDEuOTYwMjIsLTU5LjA2OTg5IDQyLjY4NTQzLC05Ni42NzQ5NyAxMDEuNzg5MTUsLTk2LjY3NDk3IDU5LjEwMzczLDAgOTkuODk0OTksMzUuODAzNTkgMTAxLjc4OTE2LDk0Ljg3NTY0IGwgMS43OTkzMyw1Ni4xMTQzIGMgMC4wMTUyLDEuNzE3MzEgMS40NzQyMiwxMi41NjgzIDEuMjMyNDMsMzQuNzg2MiBIIDI5NS4xNzc3OCBjIDAuNzE4OTQsLTIyLjIzOTA2IDEuMjIxMTksLTMzLjEyMTggMS4yMzUwOSwtMzQuODc5NDcgeiBtIDEwMy41ODg0OCwxNDguOTY5NzggYyAtMTcuNDI1MTcsMCAtMjUuNDM1NTgsLTUuNTgwMTUgLTMwLjMxNjk0LC0yMi4yODYyNCBoIDYwLjYzMjU3IGMgLTQuODgxMzgsMTYuNzA2MDkgLTEyLjg4OTE0LDIyLjI4NjI0IC0zMC4zMTU2MywyMi4yODYyNCB6IgogICAgIGlkPSJwYXRoMSIKICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuODk5NjY2O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICBzb2RpcG9kaTpub2RldHlwZXM9ImNjc2NzY3NjY2NzY2NzY2NzY2NjY2NjY3Njc2NzY3Nzc2NjY2NzY2NzIiAvPgogIDxwYXRoCiAgICAgZmlsbD0iIzM5NDE1NiIKICAgICBkPSJtIDM5Ny45Njk0NCwyODMuMzM2NjkgYyAtNDkuNDE4NTUsMCAtODkuNjIzNjEsNDAuMjAzNzMgLTg5LjYyMzYxLDg5LjYyMTYxIDAsNi4zNDM1NCA1LjE0Mjg2LDExLjQ4NjQgMTEuNDg2MzksMTEuNDg2NCA2LjM0MzU1LDAgMTEuNDg2NDEsLTUuMTQyODYgMTEuNDg2NDEsLTExLjQ4NjQgMCwtMzYuNzUwNzYgMjkuODk5MzgsLTY2LjY0OTQ4IDY2LjY1MTQ4LC02Ni42NDk0OCA2LjM0MzUzLDAgMTEuNDg2MzksLTUuMTQyODUgMTEuNDg2MzksLTExLjQ4NjQgLTYuNmUtNCwtNi4zNDQyIC01LjE0MzUzLC0xMS40ODU3MyAtMTEuNDg3MDYsLTExLjQ4NTczIHoiCiAgICAgaWQ9InBhdGgyIgogICAgIHN0eWxlPSJzdHJva2Utd2lkdGg6MC45MDQ3MTI7c3Ryb2tlLWRhc2hhcnJheTpub25lIgogICAgIHNvZGlwb2RpOm5vZGV0eXBlcz0ic3Nzc3NjcyIgLz4KPC9zdmc+Cg==",pg=async(n,e)=>{const t=n+e,o=new TextEncoder().encode(t),s=await crypto.subtle.digest("SHA-256",o);return Array.from(new Uint8Array(s)).map(l=>l.toString(16).padStart(2,"0")).join("")};function Td(){const n=()=>new Promise(t=>{if(document.readyState==="complete")return t();window.addEventListener("load",()=>t(),{once:!0})});return{OnWindowLoaded:t=>{c.onMounted(()=>n().then(t))}}}const Jx=(n,e,t)=>{const{OnWindowLoaded:r}=Td(),o="lkj298fhGGJihge",s=c.ref(!1),i=()=>e+"|"+t();return r(async()=>{if(e==null||t==null||t()==null){s.value=!1;return}const u=i(),d=localStorage.getItem(n),f=JSON.parse(d)||[],h=await pg(u,o);s.value=!f.includes(h)}),{hasUnfulfilledInteraction:s,MarkInteractionPerformed:async()=>{const u=i(),d=await pg(u,o),f=localStorage.getItem(n),h=JSON.parse(f)||[];h.includes(d)||(h.push(d),localStorage.setItem(n,JSON.stringify(h))),s.value=!1}}};function mg(n){const{OnWindowLoaded:e}=Td();let t;const r=()=>{t=document.addEventListener("click",s=>{if(!s||!s.target)return;let i=null;if(s.target instanceof Element&&(i=s.target.closest(".popover")),i)return;const l=no.getInstance(n.value);l&&l.hide()})};c.onMounted(r);const o=()=>{if((n==null?void 0:n.value)==null)return;no.getInstance(n.value)||new no(n.value)};e(o),c.watch(n,o),c.onUnmounted(()=>{if((n==null?void 0:n.value)!=null){const s=no.getInstance(n.value);s&&s.dispose()}t&&document.removeEventListener("click",t)})}const Xx=["data-bs-title","data-bs-content"],qx=["title"],eM={key:0,class:"number-circle",textContent:1},tM=c.defineComponent({__name:"BDNotificationButton",props:{userId:{},getNotification:{}},setup(n){const e=n,t=()=>{var d;return(d=e.getNotification)==null?void 0:d.linkUrl},{hasUnfulfilledInteraction:r,MarkInteractionPerformed:o}=Jx("notificationsRead",e.userId,t),s=c.ref();mg(s);const i=c.computed(()=>{const d=e.getNotification;if(!d)return!1;const{isActive:f,startDate:h,endDate:p}=d;if(!f)return!1;const m=new Date(h),g=new Date(p),y=new Date;return y>=m&&y<=g}),l=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.tooltip}),a=c.computed(()=>{var d;return(d=e.getNotification)==null?void 0:d.title}),u=c.computed(()=>{const d=e.getNotification;if(!d)return"";const{text:f,linkUrl:h,linkText:p}=d;return`
205
205
  <p>${f}</p>
206
206
  <a href='${h}' target='_blank'>${p}</a>
207
- `});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:Zx,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,qx),[[c.unref(Gs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",eM)):c.createCommentVNode("",!0)],8,Xx)):c.createCommentVNode("",!0)}}),nM={class:"profile-side"},rM=["href"],oM={class:"nav-item"},sM=["textContent"],gg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=ei(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(rd,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",nM,[c.createVNode(tM,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(ni),{title:r.value},null,8,["title"]),[[c.unref(Gs)]])],8,rM)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",oM,[c.createVNode(Mr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(ni)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,sM)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),iM={class:"modal-dialog"},aM={class:"modal-content"},lM={class:"modal-header"},cM={class:"modal-title"},uM=["src"],dM=c.createElementVNode("span",null,"Sluiten",-1),fM={class:"modal-body"},hM={key:0,class:"modal-footer"},pM=["disabled"],ti=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",iM,[c.createElementVNode("div",aM,[c.createElementVNode("div",lM,[c.createElementVNode("h2",cM,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,uM)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[dM,c.createVNode(c.unref(oi))]))]),c.createElementVNode("div",fM,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",hM,[t.hideFooterSubmitButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:o},c.toDisplayString(t.submitButtonTitle),9,pM)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ml=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Ar.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=Ar.getInstance(o);s&&s.hide()}}}};function yg(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const mM=["src","alt"],gM={key:0,class:"show-spinner"},yM={class:"spinner-border text-primary",role:"status"},vM={class:"visually-hidden"},EM=["href"],vg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ml("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=yg(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve}};return(g,y)=>(c.openBlock(),c.createBlock(ti,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Ve)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:y[0]||(y[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:y[1]||(y[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:y[2]||(y[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,mM)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",gM,[c.createElementVNode("div",yM,[c.createElementVNode("span",vM,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Bl,{modelValue:c.unref(o),"onUpdate:modelValue":y[3]||(y[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Ze,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,EM)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,ho.SUCCESS),t=l=>s("Waarschuwing",l,ho.WARNING),r=l=>s("Informatie",l,ho.INFO),o=l=>s("Mislukt",l,ho.DANGER);function s(l,a,u){const d=`toast-${Lf()}`,f={id:d,variant:u,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=c.h(Vl,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${d}`);y&&(Zo.getOrCreateInstance(y,n).show(),i(y))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:CM}=gl();function Sd(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>fi(h.ErrorMessage)&&h.ErrorMessage!==Ve):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,fi(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&CM(f)}},o=c.ref(null),s=c.ref(""),i=a=>{_y(a.value)?o.value=a.value.map(u=>fi(u)?u:u.ErrorMessage):fi(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Ve}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const AM={key:0},bM={key:1},wM={class:"bd-form-field"},TM={class:"bd-form-field"},Eg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=Sd(null),{closeModal:f}=ml("phone-number-edit-modal");let h=Ve;const p=c.ref(),m=c.ref(null),g=c.ref(),y=c.ref(),C=c.ref(null),b=c.computed(()=>y.value==null||y.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const L={newPhonenumber:p.value};r.startPhoneNumberUpdate(L).then(N).catch(u)},v=()=>{if(!y.value){C.value=!1;return}const L={requestIdentifier:g.value,token:y.value};r.confirmPhoneNumberUpdate(L).then(w).catch(u)},N=L=>{m.value=null,o(r.confirmationCodeSentText),g.value=L.data.RequestIdentifier},w=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},x=L=>{h=L,p.value=h,m.value=null,g.value=void 0,y.value=void 0,C.value=null},M=()=>{x(h),d(),s(r.editCanceledText)};return e({Reset:x}),(L,$)=>(c.openBlock(),c.createBlock(ti,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Ve)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":b.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:v,onCancel:M},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(as,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",AM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),(V,z)=>(c.openBlock(),c.createElementBlock("li",{key:z},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(V),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",bM,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",wM,[c.createVNode(Br,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":$[0]||($[0]=V=>p.value=V),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",TM,[g.value?(c.openBlock(),c.createBlock(Br,{key:0,label:r.confirmationCodeLabel,modelValue:y.value,"onUpdate:modelValue":$[1]||($[1]=V=>y.value=V),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Cg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Y){var K=["th","st","nd","rd"],W=Y%100;return"["+Y+(K[(W-20)%10]||K[W]||K[0])+"]"}},E=function(Y,K,W){var J=String(Y);return!J||J.length>=K?Y:""+Array(K+1-J.length).join(W)+Y},v={s:E,z:function(Y){var K=-Y.utcOffset(),W=Math.abs(K),J=Math.floor(W/60),U=W%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(U,2,"0")},m:function Y(K,W){if(K.date()<W.date())return-Y(W,K);var J=12*(W.year()-K.year())+(W.month()-K.month()),U=K.clone().add(J,f),ee=W-U<0,re=K.clone().add(J+(ee?-1:1),f);return+(-(J+(W-U)/(ee?U-re:re-U))||0)},a:function(Y){return Y<0?Math.ceil(Y)||0:Math.floor(Y)},p:function(Y){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[Y]||String(Y||"").toLowerCase().replace(/s$/,"")},u:function(Y){return Y===void 0}},N="en",w={};w[N]=b;var x="$isDayjsObject",M=function(Y){return Y instanceof z||!(!Y||!Y[x])},L=function Y(K,W,J){var U;if(!K)return N;if(typeof K=="string"){var ee=K.toLowerCase();w[ee]&&(U=ee),W&&(w[ee]=W,U=ee);var re=K.split("-");if(!U&&re.length>1)return Y(re[0])}else{var ue=K.name;w[ue]=K,U=ue}return!J&&U&&(N=U),U||!J&&N},$=function(Y,K){if(M(Y))return Y.clone();var W=typeof K=="object"?K:{};return W.date=Y,W.args=arguments,new z(W)},V=v;V.l=L,V.i=M,V.w=function(Y,K){return $(Y,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var z=function(){function Y(W){this.$L=L(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[x]=!0}var K=Y.prototype;return K.parse=function(W){this.$d=function(J){var U=J.date,ee=J.utc;if(U===null)return new Date(NaN);if(V.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var re=U.match(y);if(re){var ue=re[2]-1||0,ge=(re[7]||"0").substring(0,3);return ee?new Date(Date.UTC(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)):new Date(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)}}return new Date(U)}(W),this.init()},K.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},K.$utils=function(){return V},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(W,J){var U=$(W);return this.startOf(J)<=U&&U<=this.endOf(J)},K.isAfter=function(W,J){return $(W)<this.startOf(J)},K.isBefore=function(W,J){return this.endOf(J)<$(W)},K.$g=function(W,J,U){return V.u(W)?this[J]:this.set(U,W)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(W,J){var U=this,ee=!!V.u(J)||J,re=V.p(W),ue=function(B,I){var R=V.w(U.$u?Date.UTC(U.$y,I,B):new Date(U.$y,I,B),U);return ee?R:R.endOf(u)},ge=function(B,I){return V.w(U.toDate()[B].apply(U.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(I)),U)},Ee=this.$W,Se=this.$M,ke=this.$D,xe="set"+(this.$u?"UTC":"");switch(re){case p:return ee?ue(1,0):ue(31,11);case f:return ee?ue(1,Se):ue(0,Se+1);case d:var Ae=this.$locale().weekStart||0,D=(Ee<Ae?Ee+7:Ee)-Ae;return ue(ee?ke-D:ke+(6-D),Se);case u:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case i:return ge(xe+"Milliseconds",3);default:return this.clone()}},K.endOf=function(W){return this.startOf(W,!1)},K.$set=function(W,J){var U,ee=V.p(W),re="set"+(this.$u?"UTC":""),ue=(U={},U[u]=re+"Date",U[m]=re+"Date",U[f]=re+"Month",U[p]=re+"FullYear",U[a]=re+"Hours",U[l]=re+"Minutes",U[i]=re+"Seconds",U[s]=re+"Milliseconds",U)[ee],ge=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var Ee=this.clone().set(m,1);Ee.$d[ue](ge),Ee.init(),this.$d=Ee.set(m,Math.min(this.$D,Ee.daysInMonth())).$d}else ue&&this.$d[ue](ge);return this.init(),this},K.set=function(W,J){return this.clone().$set(W,J)},K.get=function(W){return this[V.p(W)]()},K.add=function(W,J){var U,ee=this;W=Number(W);var re=V.p(J),ue=function(Se){var ke=$(ee);return V.w(ke.date(ke.date()+Math.round(Se*W)),ee)};if(re===f)return this.set(f,this.$M+W);if(re===p)return this.set(p,this.$y+W);if(re===u)return ue(1);if(re===d)return ue(7);var ge=(U={},U[l]=r,U[a]=o,U[i]=t,U)[re]||1,Ee=this.$d.getTime()+W*ge;return V.w(Ee,this)},K.subtract=function(W,J){return this.add(-1*W,J)},K.format=function(W){var J=this,U=this.$locale();if(!this.isValid())return U.invalidDate||g;var ee=W||"YYYY-MM-DDTHH:mm:ssZ",re=V.z(this),ue=this.$H,ge=this.$m,Ee=this.$M,Se=U.weekdays,ke=U.months,xe=U.meridiem,Ae=function(I,R,A,T){return I&&(I[R]||I(J,ee))||A[R].slice(0,T)},D=function(I){return V.s(ue%12||12,I,"0")},B=xe||function(I,R,A){var T=I<12?"AM":"PM";return A?T.toLowerCase():T};return ee.replace(C,function(I,R){return R||function(A){switch(A){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return Ee+1;case"MM":return V.s(Ee+1,2,"0");case"MMM":return Ae(U.monthsShort,Ee,ke,3);case"MMMM":return Ae(ke,Ee);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ae(U.weekdaysMin,J.$W,Se,2);case"ddd":return Ae(U.weekdaysShort,J.$W,Se,3);case"dddd":return Se[J.$W];case"H":return String(ue);case"HH":return V.s(ue,2,"0");case"h":return D(1);case"hh":return D(2);case"a":return B(ue,ge,!0);case"A":return B(ue,ge,!1);case"m":return String(ge);case"mm":return V.s(ge,2,"0");case"s":return String(J.$s);case"ss":return V.s(J.$s,2,"0");case"SSS":return V.s(J.$ms,3,"0");case"Z":return re}return null}(I)||re.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(W,J,U){var ee,re=this,ue=V.p(J),ge=$(W),Ee=(ge.utcOffset()-this.utcOffset())*r,Se=this-ge,ke=function(){return V.m(re,ge)};switch(ue){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Se-Ee)/6048e5;break;case u:ee=(Se-Ee)/864e5;break;case a:ee=Se/o;break;case l:ee=Se/r;break;case i:ee=Se/t;break;default:ee=Se}return U?ee:V.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return w[this.$L]},K.locale=function(W,J){if(!W)return this.$L;var U=this.clone(),ee=L(W,J,!0);return ee&&(U.$L=ee),U},K.clone=function(){return V.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},Y}(),G=z.prototype;return $.prototype=G,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(Y){G[Y[1]]=function(K){return this.$g(K,Y[0],Y[1])}}),$.extend=function(Y,K){return Y.$i||(Y(K,z,$),Y.$i=!0),$},$.locale=L,$.isDayjs=M,$.unix=function(Y){return $(1e3*Y)},$.en=w[N],$.Ls=w,$.p={},$})})(Cg);var Ag=Cg.exports;const ns=Ul(Ag),bg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ml("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},y=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=ns().diff(t(),"m"),l.value=ns().subtract(i.value,"m").diff(t(),"s");const M=n??Number.MAX_SAFE_INTEGER,L=e??0;i.value>=M?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=b):i.value>=M-L?d():f()},b=M=>{M.stopPropagation(),v()},E=()=>{o(),y(),i.value=null,l.value=null,g()},v=()=>{y(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},N=()=>{a.value?v():E()},w=()=>{v()},x=()=>{a.value?v():f()};return c.onMounted(()=>{const M=document.getElementById("session-time-out-modal");M&&M.addEventListener("hidden.bs.modal",N),y(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:w,OnSubmit:x}},wg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=bg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(d,f)=>(c.openBlock(),c.createBlock(ti,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":c.unref(t),"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":u.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Tg=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),SM={class:"template change-password-template"},_M={class:"template-title"},kM={key:0},NM={key:1},IM=["onSubmit","onReset"],xM={class:"bd-form-field"},MM={class:"bd-form-field"},OM={class:"bd-form-field"},LM={class:"bd-form-buttons"},Sg=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=Sd(null),{ValidationObjectIsValid:a}=Tg();let u=c.ref({password:Ve,passwordNew:Ve,passwordRepeat:Ve}),d=c.ref({password:{state:null,errorLabel:Ve},passwordNew:{state:null,errorLabel:Ve},passwordRepeat:{state:null,errorLabel:Ve}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(y=>{t(e.failureText),i(y)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,y=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Ve&&g?null:!1,d.value.passwordNew.errorLabel=y,d.value.passwordRepeat.state=u.value.passwordRepeat!==Ve&&g?null:!1,d.value.passwordRepeat.errorLabel=y}return d.value.password.state=u.value.password!==Ve?null:!1,d.value.password.errorLabel=d.value.password.state?Ve:e.requiredText,a(d.value)},p=()=>{u.value.password=Ve,u.value.passwordNew=Ve,u.value.passwordRepeat=Ve,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",SM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(xr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",_M,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(xr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(ui,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(ss,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(xr,{key:0},{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",kM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(y,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(y),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",NM,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,{class:"bd-card-form",sm:12,md:12},{default:c.withCtx(()=>[c.createElementVNode("form",{onSubmit:c.withModifiers(f,["prevent"]),onReset:c.withModifiers(p,["prevent"]),class:"form"},[c.createElementVNode("div",xM,[c.createVNode(Br,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=y=>c.unref(u).password=y),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",MM,[c.createVNode(Br,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=y=>c.unref(u).passwordNew=y),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",OM,[c.createVNode(Br,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=y=>c.unref(u).passwordRepeat=y),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",LM,[c.createVNode(Ze,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Ze,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,IM)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),DM={class:"template not-found-template"},RM={class:"center-screen"},BM={class:"container-warning"},PM=["textContent"],FM=["textContent"],_g=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=ei(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",DM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",RM,[c.createElementVNode("div",BM,[c.createVNode(Ll),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,PM),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,FM),c.createVNode(Ze,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var VM={exports:{}};(function(n,e){(function(t,r){n.exports=r(Ag)})(zl,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(VM);var kg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var b=C.match(/([+-]|\d\d)/g),E=60*b[1]+(+b[2]||0);return E===0?0:b[0]==="+"?-E:E}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var b,E=a.meridiem;if(E){for(var v=1;v<=24;v+=1)if(y.indexOf(E(v,0,C))>-1){b=v>12;break}}else b=y===(C?"pm":"PM");return b},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[s,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(y){var C=a.ordinal,b=y.match(/\d+/);if(this.day=b[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===y&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(y){var C=h("months"),b=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(y)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(y){var C,b;C=y,b=a&&a.formats;for(var E=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,V,z){var G=z&&z.toUpperCase();return V||b[z]||t[z]||b[G].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Y,K,W){return K||W.slice(1)})})).match(r),v=E.length,N=0;N<v;N+=1){var w=E[N],x=m[w],M=x&&x[0],L=x&&x[1];E[N]=L?{regex:M,parser:L}:w.replace(/^\[|\]$/g,"")}return function($){for(var V={},z=0,G=0;z<v;z+=1){var Y=E[z];if(typeof Y=="string")G+=Y.length;else{var K=Y.regex,W=Y.parser,J=$.slice(G),U=K.exec(J)[0];W.call(V,U),$=$.replace(U,"")}}return function(ee){var re=ee.afternoon;if(re!==void 0){var ue=ee.hours;re?ue<12&&(ee.hours+=12):ue===12&&(ee.hours=0),delete ee.afternoon}}(V),V}}return function(y,C,b){b.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(u=y.parseTwoDigitYear);var E=C.prototype,v=E.parse;E.parse=function(N){var w=N.date,x=N.utc,M=N.args;this.$u=x;var L=M[1];if(typeof L=="string"){var $=M[2]===!0,V=M[3]===!0,z=$||V,G=M[2];V&&(G=M[2]),a=this.$locale(),!$&&G&&(a=b.Ls[G]),this.$d=function(J,U,ee,re){try{if(["x","X"].indexOf(U)>-1)return new Date((U==="X"?1e3:1)*J);var ue=g(U)(J),ge=ue.year,Ee=ue.month,Se=ue.day,ke=ue.hours,xe=ue.minutes,Ae=ue.seconds,D=ue.milliseconds,B=ue.zone,I=ue.week,R=new Date,A=Se||(ge||Ee?1:R.getDate()),T=ge||R.getFullYear(),k=0;ge&&!Ee||(k=Ee>0?Ee-1:R.getMonth());var O,H=ke||0,j=xe||0,Z=Ae||0,X=D||0;return B?new Date(Date.UTC(T,k,A,H,j,Z,X+60*B.offset*1e3)):ee?new Date(Date.UTC(T,k,A,H,j,Z,X)):(O=new Date(T,k,A,H,j,Z,X),I&&(O=re(O).week(I).toDate()),O)}catch{return new Date("")}}(w,L,x,b),this.init(),G&&G!==!0&&(this.$L=this.locale(G).$L),z&&w!=this.format(L)&&(this.$d=new Date("")),a={}}else if(L instanceof Array)for(var Y=L.length,K=1;K<=Y;K+=1){M[1]=L[K-1];var W=b.apply(this,M);if(W.isValid()){this.$d=W.$d,this.$L=W.$L,this.init();break}K===Y&&(this.$d=new Date(""))}else v.call(this,N)}}})})(kg);var $M=kg.exports;const zM=Ul($M);ns.extend(zM),ns.locale("nl");function UM(n,e=ns().startOf("day")){const t="DD-MM-YYYY",r=ns(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const HM={install:n=>{n.component("BDAlert",as),n.component("BDArticle",Wf),n.component("BDAttachmentPreviewList",$a),n.component("BDBadge",$f),n.component("BDButton",Ze),n.component("BDCard",ui),n.component("BDChangePasswordTemplate",Sg),n.component("BDChatCloud",Y0),n.component("BDCol",Ir),n.component("BDCollapsableCard",Df),n.component("BDContainer",ss),n.component("BDDropdown",nd),n.component("BDDropdownItem",pi),n.component("BDDropzone",Gf),n.component("BDForm",zf),n.component("BDFormCheckbox",jf),n.component("BDFormInput",Br),n.component("BDFormInvalidFeedback",di),n.component("BDFormSelect",Hf),n.component("BDHeader",rd),n.component("BDImageAttachmentModal",vg),n.component("BDImageAttachmentPreviewList",za),n.component("BDInputGroup",Vf),n.component("BDLink",Mr),n.component("BDLogo",vl),n.component("BDMarkdownEditor",W0),n.component("BDMobileMenu",td),n.component("BDModal",ti),n.component("BDNotFoundTemplate",_g),n.component("BDPagination",Uf),n.component("BDPhoneNumberEditModal",Eg),n.component("BDPill",hi),n.component("BDPractitionerHeader",gg),n.component("BDProfileImage",ls),n.component("BDRow",xr),n.component("BDSessionTimeOutModal",wg),n.component("BDTable",G0),n.component("BDToast",Vl),n.component("BDUser",K0),n.component("BDUserInformation",$l),n.component("BDVideoCallToast",J0),n.component("BDZoomslider",Bl),n.component("IconAcademy",ni),n.component("IconArrowDown",Ld),n.component("IconArrowUp",Dd),n.component("IconAttachment",Or),n.component("IconBold",El),n.component("IconBulletList",Cl),n.component("IconCalendar",Rd),n.component("IconCall",ri),n.component("IconCallReject",Al),n.component("IconCardView",Bd),n.component("IconCaretDown",bl),n.component("IconCaretLeft",wl),n.component("IconCaretRight",Tl),n.component("IconCheck",uo),n.component("IconClipboard",Pd),n.component("IconClose",oi),n.component("IconComment",Fd),n.component("IconCommentActive",Vd),n.component("IconCommonFileEmpty",zd),n.component("IconCommonFileWarning",Ud),n.component("IconCommentStatic",$d),n.component("IconContactPerson",Hd),n.component("IconCopy",jd),n.component("IconDelete",Wd),n.component("IconDoubleCheck",Kd),n.component("IconDownloadImage",Sl),n.component("IconEdit",Yd),n.component("IconEndCall",Gd),n.component("IconError",si),n.component("IconExternal",Qd),n.component("IconEyeShow",Zd),n.component("IconEyeSlash",Jd),n.component("IconFile",_l),n.component("IconFileAdded",Xd),n.component("IconForward",qd),n.component("IconHix",ef),n.component("IconHyperlink",ii),n.component("IconImageFileLandscape",tf),n.component("IconImageFileWarning",nf),n.component("IconInfo",Lr),n.component("IconInformationCircle",rf),n.component("IconItalic",kl),n.component("IconListView",of),n.component("IconLock",sf),n.component("IconLusciiEscalated",af),n.component("IconLusciiLogo",lf),n.component("IconLusciiOpen",cf),n.component("IconLusciiPriorityHigh",uf),n.component("IconLusciiPriorityLow",df),n.component("IconLusciiPriorityMedium",ff),n.component("IconMenu",Nl),n.component("IconMessage",hf),n.component("IconMessageForward",pf),n.component("IconMicrophoneSlash",mf),n.component("IconMicrosoftTeams",gf),n.component("IconMin",yf),n.component("IconOrderedList",Il),n.component("IconPlus",vf),n.component("IconRefresh",Ef),n.component("IconRemove",is),n.component("IconSananetLogo",Cf),n.component("IconService",Af),n.component("IconShareScreen",bf),n.component("IconSingleNeutral",wf),n.component("IconSort",Tf),n.component("IconSortAsc",xl),n.component("IconSortDesc",Ml),n.component("IconSortNone",Ol),n.component("IconTriangleDown",Sf),n.component("IconTriangleExclamation",Ll),n.component("IconUnderline",Dl),n.component("IconVideoDisabled",kf),n.component("IconVideocall",_f),n.component("IconZorgkaart",Nf),n.directive("vBDTooltip",Gs)}};ne.BDAlert=as,ne.BDArticle=Wf,ne.BDAttachmentPreviewList=$a,ne.BDBadge=$f,ne.BDButton=Ze,ne.BDCard=ui,ne.BDChangePasswordTemplate=Sg,ne.BDChatCloud=Y0,ne.BDCol=Ir,ne.BDCollapsableCard=Df,ne.BDContainer=ss,ne.BDDropdown=nd,ne.BDDropdownItem=pi,ne.BDDropzone=Gf,ne.BDForm=zf,ne.BDFormCheckbox=jf,ne.BDFormInput=Br,ne.BDFormInvalidFeedback=di,ne.BDFormSelect=Hf,ne.BDHeader=rd,ne.BDImageAttachmentModal=vg,ne.BDImageAttachmentPreviewList=za,ne.BDInputGroup=Vf,ne.BDLink=Mr,ne.BDLogo=vl,ne.BDMarkdownEditor=W0,ne.BDMobileMenu=td,ne.BDModal=ti,ne.BDNotFoundTemplate=_g,ne.BDPagination=Uf,ne.BDPhoneNumberEditModal=Eg,ne.BDPill=hi,ne.BDPractitionerHeader=gg,ne.BDProfileImage=ls,ne.BDRow=xr,ne.BDSessionTimeOutModal=wg,ne.BDTable=G0,ne.BDToast=Vl,ne.BDUser=K0,ne.BDUserInformation=$l,ne.BDVideoCallToast=J0,ne.BDZoomslider=Bl,ne.IconAcademy=ni,ne.IconArrowDown=Ld,ne.IconArrowUp=Dd,ne.IconAttachment=Or,ne.IconBold=El,ne.IconBulletList=Cl,ne.IconCalendar=Rd,ne.IconCall=ri,ne.IconCallReject=Al,ne.IconCardView=Bd,ne.IconCaretDown=bl,ne.IconCaretLeft=wl,ne.IconCaretRight=Tl,ne.IconCheck=uo,ne.IconClipboard=Pd,ne.IconClose=oi,ne.IconComment=Fd,ne.IconCommentActive=Vd,ne.IconCommentStatic=$d,ne.IconCommonFileEmpty=zd,ne.IconCommonFileWarning=Ud,ne.IconContactPerson=Hd,ne.IconCopy=jd,ne.IconDelete=Wd,ne.IconDoubleCheck=Kd,ne.IconDownloadImage=Sl,ne.IconEdit=Yd,ne.IconEndCall=Gd,ne.IconError=si,ne.IconExternal=Qd,ne.IconEyeShow=Zd,ne.IconEyeSlash=Jd,ne.IconFile=_l,ne.IconFileAdded=Xd,ne.IconForward=qd,ne.IconHix=ef,ne.IconHyperlink=ii,ne.IconImageFileLandscape=tf,ne.IconImageFileWarning=nf,ne.IconInfo=Lr,ne.IconInformationCircle=rf,ne.IconItalic=kl,ne.IconListView=of,ne.IconLock=sf,ne.IconLusciiEscalated=af,ne.IconLusciiLogo=lf,ne.IconLusciiOpen=cf,ne.IconLusciiPriorityHigh=uf,ne.IconLusciiPriorityLow=df,ne.IconLusciiPriorityMedium=ff,ne.IconMenu=Nl,ne.IconMessage=hf,ne.IconMessageForward=pf,ne.IconMicrophoneSlash=mf,ne.IconMicrosoftTeams=gf,ne.IconMin=yf,ne.IconOrderedList=Il,ne.IconPlus=vf,ne.IconRefresh=Ef,ne.IconRemove=is,ne.IconSananetLogo=Cf,ne.IconService=Af,ne.IconShareScreen=bf,ne.IconSingleNeutral=wf,ne.IconSort=Tf,ne.IconSortAsc=xl,ne.IconSortDesc=Ml,ne.IconSortNone=Ol,ne.IconTriangleDown=Sf,ne.IconTriangleExclamation=Ll,ne.IconUnderline=Dl,ne.IconVideoDisabled=kf,ne.IconVideocall=_f,ne.IconZorgkaart=Nf,ne.default=HM,ne.getDisplayDate=UM,ne.useModal=ml,ne.usePopover=mg,ne.useServerErrors=Sd,ne.useSessionTimeOut=bg,ne.useToaster=gl,ne.useValidation=Tg,ne.useWindow=Td,ne.useZoom=yg,ne.vBdTooltip=Gs,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
207
+ `});return(d,f)=>i.value?(c.openBlock(),c.createElementBlock("a",{key:0,ref_key:"notificationButton",ref:s,tabindex:"0",class:"bd-notification-button",role:"button","data-bs-toggle":"popover","data-bs-placement":"bottom","data-bs-title":a.value,"data-bs-content":u.value,"data-bs-html":!0,onClick:f[0]||(f[0]=(...h)=>c.unref(o)&&c.unref(o)(...h))},[c.withDirectives(c.createElementVNode("img",{src:Zx,alt:"BeterDichtbij nieuws notificatie bel.",title:l.value},null,8,qx),[[c.unref(Gs)]]),c.unref(r)?(c.openBlock(),c.createElementBlock("div",eM)):c.createCommentVNode("",!0)],8,Xx)):c.createCommentVNode("",!0)}}),nM={class:"profile-side"},rM=["href"],oM={class:"nav-item"},sM=["textContent"],gg=c.defineComponent({__name:"BDPractitionerHeader",props:{academyUrl:{},userId:{},getNotification:{}},setup(n){const e=n,{t}=ei(),r=c.computed(()=>t("practitionerHeader.academyTooltip")),o=c.computed(()=>t("practitionerHeader.AcademyMenuItem"));return(s,i)=>(c.openBlock(),c.createBlock(rd,null,c.createSlots({"profile-side":c.withCtx(()=>[c.createElementVNode("div",nM,[c.createVNode(tM,{"user-id":e.userId,"get-notification":e.getNotification},null,8,["user-id","get-notification"]),e.academyUrl?(c.openBlock(),c.createElementBlock("a",{key:0,href:e.academyUrl,target:"_blank",rel:"noopener,noreferrer"},[c.withDirectives(c.createVNode(c.unref(ni),{title:r.value},null,8,["title"]),[[c.unref(Gs)]])],8,rM)):c.createCommentVNode("",!0)])]),_:2},[e.academyUrl?{name:"mobile-menu-special-options",fn:c.withCtx(()=>[c.createElementVNode("li",oM,[c.createVNode(Mr,{class:"nav-link",to:e.academyUrl},{default:c.withCtx(()=>[c.createVNode(c.unref(ni)),c.createElementVNode("span",{textContent:c.toDisplayString(o.value)},null,8,sM)]),_:1},8,["to"])])]),key:"0"}:void 0]),1024))}}),iM={class:"modal-dialog"},aM={class:"modal-content"},lM={class:"modal-header"},cM={class:"modal-title"},uM=["src"],dM=c.createElementVNode("span",null,"Sluiten",-1),fM={class:"modal-body"},hM={key:0,class:"modal-footer"},pM=["disabled"],ti=c.defineComponent({__name:"BDModal",props:{title:{default:""},titleImage:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideCloseButton:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1},size:{default:"lg"}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=c.computed(()=>`modal bd-modal modal-${t.size}`),o=()=>e("submit"),s=()=>e("cancel");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(r.value),tabindex:"-1"},[c.createElementVNode("div",iM,[c.createElementVNode("div",aM,[c.createElementVNode("div",lM,[c.createElementVNode("h2",cM,[t.titleImage?(c.openBlock(),c.createElementBlock("img",{key:0,src:t.titleImage,class:"title-image",alt:""},null,8,uM)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(t.title),1)]),c.renderSlot(i.$slots,"modal-header-space-between"),t.hideCloseButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:s},[dM,c.createVNode(c.unref(oi))]))]),c.createElementVNode("div",fM,[c.renderSlot(i.$slots,"default")]),i.hideFooter?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",hM,[t.hideFooterSubmitButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:0,class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:o},c.toDisplayString(t.submitButtonTitle),9,pM)),c.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:s,"aria-label":"Annuleren"},c.toDisplayString(t.closeButtonTitle),1))]))])])],2))}}),ml=n=>{const e=c.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=Ar.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const s=Ar.getInstance(o);s&&s.hide()}}}};function yg(){const n=c.ref(0),e=c.ref(!0),t=c.ref(null),r=c.ref({top:0,left:0,x:0,y:0}),o=c.computed(()=>n.value>0?`zoom-${n.value}`:"");return{zoom:n,mouseDown:e,imageHolderRef:t,pos:r,SetZoom:o,OnMouseDown:a=>{if(!t.value)return;r.value.left=t.value.scrollLeft,r.value.top=t.value.scrollTop;const u=document.querySelector("#image-attachment-modal"),d=document.querySelector(".image-preview-image-holder");u&&(u.style.cursor="grabbing"),d&&(d.style.cursor="grabbing"),r.value.x=a.clientX,r.value.y=a.clientY,e.value=!0},OnMouseMove:a=>{if(e.value){const u=a.clientX-r.value.x,d=a.clientY-r.value.y;t.value&&(t.value.scrollTop=r.value.top-d,t.value.scrollLeft=r.value.left-u)}},OnMouseUp:()=>{const a=document.querySelector("#image-attachment-modal"),u=document.querySelector(".image-preview-image-holder");a&&a.style&&(a.style.cursor=""),u&&u.style&&(u.style.cursor="grab"),e.value=!1}}}const mM=["src","alt"],gM={key:0,class:"show-spinner"},yM={class:"spinner-border text-primary",role:"status"},vM={class:"visually-hidden"},EM=["href"],vg=c.defineComponent({__name:"BDImageAttachmentModal",props:["loadingText","downloadText"],setup(n,{expose:e}){const t=n,{showModal:r}=ml("image-attachment-modal"),{zoom:o,imageHolderRef:s,SetZoom:i,OnMouseDown:l,OnMouseMove:a,OnMouseUp:u}=yg(),d=c.ref(!0),f=c.ref({BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve});e({Show:g=>{f.value=g,o.value=0,r()}});const p=()=>{d.value=!1},m=()=>{f.value={BerichtId:0,Id:void 0,MimeType:null,Naam:Ve,altName:Ve,downloadUrl:Ve,fullImageUrl:Ve,previewUrl:Ve}};return(g,y)=>(c.openBlock(),c.createBlock(ti,{id:"image-attachment-modal",class:c.normalizeClass(c.unref(Ve)),title:f.value.Naam,hideFooterCancelButton:!0,showHeaderButton:!0,onCancel:m},{default:c.withCtx(()=>[c.createElementVNode("div",{class:"image-preview-image-holder",ref_key:"imageHolderRef",ref:s,onMousedown:y[0]||(y[0]=(...C)=>c.unref(l)&&c.unref(l)(...C)),onMousemove:y[1]||(y[1]=(...C)=>c.unref(a)&&c.unref(a)(...C)),onMouseup:y[2]||(y[2]=(...C)=>c.unref(u)&&c.unref(u)(...C))},[f.value?(c.openBlock(),c.createElementBlock("img",{key:0,src:f.value.downloadUrl,alt:f.value.Naam,class:c.normalizeClass(["image-preview-modal",c.unref(i)]),onLoad:p,draggable:!1},null,42,mM)):c.createCommentVNode("",!0)],544),d.value?(c.openBlock(),c.createElementBlock("div",gM,[c.createElementVNode("div",yM,[c.createElementVNode("span",vM,c.toDisplayString(t.loadingText),1)])])):c.createCommentVNode("",!0),c.createVNode(Bl,{modelValue:c.unref(o),"onUpdate:modelValue":y[3]||(y[3]=C=>c.isRef(o)?o.value=C:null),class:"image-preview-bd-zoom-slider","max-value":4},null,8,["modelValue"]),c.createElementVNode("a",{href:f.value.downloadUrl},[c.createVNode(Ze,{variant:"primary",class:"download-image"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(t.downloadText),1)]),_:1})],8,EM)]),_:1},8,["class","title"]))}});function gl(n=void 0){const e=l=>s("Succesvol",l,ho.SUCCESS),t=l=>s("Waarschuwing",l,ho.WARNING),r=l=>s("Informatie",l,ho.INFO),o=l=>s("Mislukt",l,ho.DANGER);function s(l,a,u){const d=`toast-${Lf()}`,f={id:d,variant:u,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=c.h(Vl,f),g=c.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${d}`);y&&(Zo.getOrCreateInstance(y,n).show(),i(y))}function i(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const u=new MutationObserver(a),d={attributes:!0};u.observe(l,d)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const{showDangerToast:CM}=gl();function Sd(n){const e=c.ref(null),t=(a,u="serverErrors")=>{var f;let d=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?d=a.response.data.filter(h=>fi(h.ErrorMessage)&&h.ErrorMessage!==Ve):a.response.data.ErrorMessage?d=[a.response.data.ErrorMessage]:d=null,fi(u))e.value=d;else if(Array.isArray(u)){let h=e.value;for(let p=0;p<u.length;p++)p===u.length-1?h[u[p]]=d:h=h[u[p]]}r(a),i(e)},r=a=>{if(n==null)return;const d=new URL(a.request.responseURL).pathname;if(d in n.error){const f=n.error[d];f&&CM(f)}},o=c.ref(null),s=c.ref(""),i=a=>{_y(a.value)?o.value=a.value.map(u=>fi(u)?u:u.ErrorMessage):fi(a.value)&&(s.value=a.value)};function l(){e.value=null,o.value=null,s.value=Ve}return{serverErrors:e,errorMessages:o,errorMessageText:s,MapErrors:i,MapServerErrors:t,ResetServerErrors:l}}const AM={key:0},bM={key:1},wM={class:"bd-form-field"},TM={class:"bd-form-field"},Eg=c.defineComponent({__name:"BDPhoneNumberEditModal",props:["modalTitle","submitButtonTitle","phoneNumberLabel","phoneNumberUnchangedText","confirmationCodeLabel","confirmationCodeRequiredText","confirmationCodeSentText","editSuccessText","editCanceledText","sendConfirmationCodeText","startPhoneNumberUpdate","confirmPhoneNumberUpdate"],emits:["startPhoneNumberUpdate","confirmPhoneNumberUpdate","setPhoneNumber"],setup(n,{expose:e,emit:t}){const r=n,{showSuccessToast:o,showWarningToast:s}=gl(),{serverErrors:i,errorMessages:l,errorMessageText:a,MapServerErrors:u,ResetServerErrors:d}=Sd(null),{closeModal:f}=ml("phone-number-edit-modal");let h=Ve;const p=c.ref(),m=c.ref(null),g=c.ref(),y=c.ref(),C=c.ref(null),b=c.computed(()=>y.value==null||y.value==""),E=()=>{if(m.value=null,d(),!p.value||p.value==h){m.value=!1;return}const L={newPhonenumber:p.value};r.startPhoneNumberUpdate(L).then(N).catch(u)},v=()=>{if(!y.value){C.value=!1;return}const L={requestIdentifier:g.value,token:y.value};r.confirmPhoneNumberUpdate(L).then(w).catch(u)},N=L=>{m.value=null,o(r.confirmationCodeSentText),g.value=L.data.RequestIdentifier},w=()=>{t("setPhoneNumber",p.value),o(r.editSuccessText),f(),m.value=null,C.value=null},x=L=>{h=L,p.value=h,m.value=null,g.value=void 0,y.value=void 0,C.value=null},M=()=>{x(h),d(),s(r.editCanceledText)};return e({Reset:x}),(L,$)=>(c.openBlock(),c.createBlock(ti,{id:"phone-number-edit-modal",class:c.normalizeClass(c.unref(Ve)),title:r.modalTitle,submitButtonTitle:r.submitButtonTitle,hideFooterCancelButton:!1,"disable-submit-button":b.value,serverErrors:c.unref(i),errorMessages:c.unref(l),errorMessageText:c.unref(a),onSubmit:v,onCancel:M},{default:c.withCtx(()=>[c.unref(a)||c.unref(l)?(c.openBlock(),c.createBlock(as,{key:0,variant:"danger"},{default:c.withCtx(()=>[c.unref(l)?(c.openBlock(),c.createElementBlock("div",AM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(l),(V,z)=>(c.openBlock(),c.createElementBlock("li",{key:z},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(V),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",bM,c.toDisplayString(c.unref(a)),1))]),_:1})):c.createCommentVNode("",!0),c.createElementVNode("div",wM,[c.createVNode(Br,{id:"form-input-phone-number",label:r.phoneNumberLabel,modelValue:p.value,"onUpdate:modelValue":$[0]||($[0]=V=>p.value=V),state:m.value,type:"text","form-field-class":"form-input-with-button","invalid-feedback-text":r.phoneNumberUnchangedText},{default:c.withCtx(()=>[c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"tablet-device-up",type:"button",onClick:E},null,8,["textContent"])]),_:1},8,["label","modelValue","state","invalid-feedback-text"]),c.createVNode(Ze,{textContent:c.toDisplayString(r.sendConfirmationCodeText),class:"mobile-device",type:"button",onClick:E},null,8,["textContent"])]),c.createElementVNode("div",TM,[g.value?(c.openBlock(),c.createBlock(Br,{key:0,label:r.confirmationCodeLabel,modelValue:y.value,"onUpdate:modelValue":$[1]||($[1]=V=>y.value=V),state:C.value,"invalid-feedback-text":r.confirmationCodeRequiredText},null,8,["label","modelValue","state","invalid-feedback-text"])):c.createCommentVNode("",!0)])]),_:1},8,["class","title","submitButtonTitle","disable-submit-button","serverErrors","errorMessages","errorMessageText"]))}});var Cg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t=1e3,r=6e4,o=36e5,s="millisecond",i="second",l="minute",a="hour",u="day",d="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Y){var K=["th","st","nd","rd"],W=Y%100;return"["+Y+(K[(W-20)%10]||K[W]||K[0])+"]"}},E=function(Y,K,W){var J=String(Y);return!J||J.length>=K?Y:""+Array(K+1-J.length).join(W)+Y},v={s:E,z:function(Y){var K=-Y.utcOffset(),W=Math.abs(K),J=Math.floor(W/60),U=W%60;return(K<=0?"+":"-")+E(J,2,"0")+":"+E(U,2,"0")},m:function Y(K,W){if(K.date()<W.date())return-Y(W,K);var J=12*(W.year()-K.year())+(W.month()-K.month()),U=K.clone().add(J,f),ee=W-U<0,re=K.clone().add(J+(ee?-1:1),f);return+(-(J+(W-U)/(ee?U-re:re-U))||0)},a:function(Y){return Y<0?Math.ceil(Y)||0:Math.floor(Y)},p:function(Y){return{M:f,y:p,w:d,d:u,D:m,h:a,m:l,s:i,ms:s,Q:h}[Y]||String(Y||"").toLowerCase().replace(/s$/,"")},u:function(Y){return Y===void 0}},N="en",w={};w[N]=b;var x="$isDayjsObject",M=function(Y){return Y instanceof z||!(!Y||!Y[x])},L=function Y(K,W,J){var U;if(!K)return N;if(typeof K=="string"){var ee=K.toLowerCase();w[ee]&&(U=ee),W&&(w[ee]=W,U=ee);var re=K.split("-");if(!U&&re.length>1)return Y(re[0])}else{var ue=K.name;w[ue]=K,U=ue}return!J&&U&&(N=U),U||!J&&N},$=function(Y,K){if(M(Y))return Y.clone();var W=typeof K=="object"?K:{};return W.date=Y,W.args=arguments,new z(W)},V=v;V.l=L,V.i=M,V.w=function(Y,K){return $(Y,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var z=function(){function Y(W){this.$L=L(W.locale,null,!0),this.parse(W),this.$x=this.$x||W.x||{},this[x]=!0}var K=Y.prototype;return K.parse=function(W){this.$d=function(J){var U=J.date,ee=J.utc;if(U===null)return new Date(NaN);if(V.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var re=U.match(y);if(re){var ue=re[2]-1||0,ge=(re[7]||"0").substring(0,3);return ee?new Date(Date.UTC(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)):new Date(re[1],ue,re[3]||1,re[4]||0,re[5]||0,re[6]||0,ge)}}return new Date(U)}(W),this.init()},K.init=function(){var W=this.$d;this.$y=W.getFullYear(),this.$M=W.getMonth(),this.$D=W.getDate(),this.$W=W.getDay(),this.$H=W.getHours(),this.$m=W.getMinutes(),this.$s=W.getSeconds(),this.$ms=W.getMilliseconds()},K.$utils=function(){return V},K.isValid=function(){return this.$d.toString()!==g},K.isSame=function(W,J){var U=$(W);return this.startOf(J)<=U&&U<=this.endOf(J)},K.isAfter=function(W,J){return $(W)<this.startOf(J)},K.isBefore=function(W,J){return this.endOf(J)<$(W)},K.$g=function(W,J,U){return V.u(W)?this[J]:this.set(U,W)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(W,J){var U=this,ee=!!V.u(J)||J,re=V.p(W),ue=function(B,I){var R=V.w(U.$u?Date.UTC(U.$y,I,B):new Date(U.$y,I,B),U);return ee?R:R.endOf(u)},ge=function(B,I){return V.w(U.toDate()[B].apply(U.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(I)),U)},Ee=this.$W,Se=this.$M,ke=this.$D,xe="set"+(this.$u?"UTC":"");switch(re){case p:return ee?ue(1,0):ue(31,11);case f:return ee?ue(1,Se):ue(0,Se+1);case d:var Ae=this.$locale().weekStart||0,D=(Ee<Ae?Ee+7:Ee)-Ae;return ue(ee?ke-D:ke+(6-D),Se);case u:case m:return ge(xe+"Hours",0);case a:return ge(xe+"Minutes",1);case l:return ge(xe+"Seconds",2);case i:return ge(xe+"Milliseconds",3);default:return this.clone()}},K.endOf=function(W){return this.startOf(W,!1)},K.$set=function(W,J){var U,ee=V.p(W),re="set"+(this.$u?"UTC":""),ue=(U={},U[u]=re+"Date",U[m]=re+"Date",U[f]=re+"Month",U[p]=re+"FullYear",U[a]=re+"Hours",U[l]=re+"Minutes",U[i]=re+"Seconds",U[s]=re+"Milliseconds",U)[ee],ge=ee===u?this.$D+(J-this.$W):J;if(ee===f||ee===p){var Ee=this.clone().set(m,1);Ee.$d[ue](ge),Ee.init(),this.$d=Ee.set(m,Math.min(this.$D,Ee.daysInMonth())).$d}else ue&&this.$d[ue](ge);return this.init(),this},K.set=function(W,J){return this.clone().$set(W,J)},K.get=function(W){return this[V.p(W)]()},K.add=function(W,J){var U,ee=this;W=Number(W);var re=V.p(J),ue=function(Se){var ke=$(ee);return V.w(ke.date(ke.date()+Math.round(Se*W)),ee)};if(re===f)return this.set(f,this.$M+W);if(re===p)return this.set(p,this.$y+W);if(re===u)return ue(1);if(re===d)return ue(7);var ge=(U={},U[l]=r,U[a]=o,U[i]=t,U)[re]||1,Ee=this.$d.getTime()+W*ge;return V.w(Ee,this)},K.subtract=function(W,J){return this.add(-1*W,J)},K.format=function(W){var J=this,U=this.$locale();if(!this.isValid())return U.invalidDate||g;var ee=W||"YYYY-MM-DDTHH:mm:ssZ",re=V.z(this),ue=this.$H,ge=this.$m,Ee=this.$M,Se=U.weekdays,ke=U.months,xe=U.meridiem,Ae=function(I,R,A,T){return I&&(I[R]||I(J,ee))||A[R].slice(0,T)},D=function(I){return V.s(ue%12||12,I,"0")},B=xe||function(I,R,A){var T=I<12?"AM":"PM";return A?T.toLowerCase():T};return ee.replace(C,function(I,R){return R||function(A){switch(A){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return Ee+1;case"MM":return V.s(Ee+1,2,"0");case"MMM":return Ae(U.monthsShort,Ee,ke,3);case"MMMM":return Ae(ke,Ee);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ae(U.weekdaysMin,J.$W,Se,2);case"ddd":return Ae(U.weekdaysShort,J.$W,Se,3);case"dddd":return Se[J.$W];case"H":return String(ue);case"HH":return V.s(ue,2,"0");case"h":return D(1);case"hh":return D(2);case"a":return B(ue,ge,!0);case"A":return B(ue,ge,!1);case"m":return String(ge);case"mm":return V.s(ge,2,"0");case"s":return String(J.$s);case"ss":return V.s(J.$s,2,"0");case"SSS":return V.s(J.$ms,3,"0");case"Z":return re}return null}(I)||re.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(W,J,U){var ee,re=this,ue=V.p(J),ge=$(W),Ee=(ge.utcOffset()-this.utcOffset())*r,Se=this-ge,ke=function(){return V.m(re,ge)};switch(ue){case p:ee=ke()/12;break;case f:ee=ke();break;case h:ee=ke()/3;break;case d:ee=(Se-Ee)/6048e5;break;case u:ee=(Se-Ee)/864e5;break;case a:ee=Se/o;break;case l:ee=Se/r;break;case i:ee=Se/t;break;default:ee=Se}return U?ee:V.a(ee)},K.daysInMonth=function(){return this.endOf(f).$D},K.$locale=function(){return w[this.$L]},K.locale=function(W,J){if(!W)return this.$L;var U=this.clone(),ee=L(W,J,!0);return ee&&(U.$L=ee),U},K.clone=function(){return V.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},Y}(),G=z.prototype;return $.prototype=G,[["$ms",s],["$s",i],["$m",l],["$H",a],["$W",u],["$M",f],["$y",p],["$D",m]].forEach(function(Y){G[Y[1]]=function(K){return this.$g(K,Y[0],Y[1])}}),$.extend=function(Y,K){return Y.$i||(Y(K,z,$),Y.$i=!0),$},$.locale=L,$.isDayjs=M,$.unix=function(Y){return $(1e3*Y)},$.en=w[N],$.Ls=w,$.p={},$})})(Cg);var Ag=Cg.exports;const ns=Ul(Ag),bg=(n,e,t,r,o,s)=>{const i=c.ref(null),l=c.ref(null),a=c.ref(!1),u=c.ref(null),{showModal:d,closeModal:f}=ml("session-time-out-modal"),h=c.computed(()=>i.value&&n?n-(i.value+1):0),p=c.computed(()=>l.value?60-l.value:0),m=c.computed(()=>a.value),g=()=>{u.value=setInterval(C,1e3),r(u.value)},y=()=>{u.value&&clearInterval(u.value)},C=()=>{i.value=ns().diff(t(),"m"),l.value=ns().subtract(i.value,"m").diff(t(),"s");const M=n??Number.MAX_SAFE_INTEGER,L=e??0;i.value>=M?(a.value=!0,d(),localStorage.setItem("session-timeout","true"),window.onbeforeunload=b):i.value>=M-L?d():f()},b=M=>{M.stopPropagation(),v()},E=()=>{o(),y(),i.value=null,l.value=null,g()},v=()=>{y(),i.value=null,l.value=null,localStorage.removeItem("session-timeout"),s()},N=()=>{a.value?v():E()},w=()=>{v()},x=()=>{a.value?v():f()};return c.onMounted(()=>{const M=document.getElementById("session-time-out-modal");M&&M.addEventListener("hidden.bs.modal",N),y(),g()}),{IsExpired:m,Minutes:h,Seconds:p,OnLogOut:w,OnSubmit:x}},wg=c.defineComponent({__name:"BDSessionTimeOutModal",props:["expiredTitle","expiredMessage","expiredButtonText","almostExpiredTitle","almostExpiredMessage","almostExpiredButtonText","almostExpiredCancelButtonText","threshold","warningThreshold","getTime","setTaskId","setNewTime","logout","hideCancelButton"],setup(n){const e=n,{IsExpired:t,Minutes:r,Seconds:o,OnLogOut:s,OnSubmit:i}=bg(e.threshold,e.warningThreshold,e.getTime,e.setTaskId,e.setNewTime,e.logout),l=c.computed(()=>t.value?e.expiredTitle:e.almostExpiredTitle),a=c.computed(()=>t.value?e.expiredMessage:`${e.almostExpiredMessage} ${r.value}:${o.value<10?"0"+o.value:o.value}`),u=c.computed(()=>e.hideCancelButton||t.value),d=c.computed(()=>t.value?e.expiredButtonText:e.almostExpiredButtonText);return(f,h)=>(c.openBlock(),c.createBlock(ti,{id:"session-time-out-modal",title:l.value,"hide-close-button":!0,"hide-footer-cancel-button":u.value,"close-button-title":e.almostExpiredCancelButtonText,"submit-button-title":d.value,size:"md",onSubmit:c.unref(i),onCancel:c.unref(s)},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(a.value),1)]),_:1},8,["title","hide-footer-cancel-button","close-button-title","submit-button-title","onSubmit","onCancel"]))}}),Tg=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),SM={class:"template change-password-template"},_M={class:"template-title"},kM={key:0},NM={key:1},IM=["onSubmit","onReset"],xM={class:"bd-form-field"},MM={class:"bd-form-field"},OM={class:"bd-form-field"},LM={class:"bd-form-buttons"},Sg=c.defineComponent({__name:"BDChangePasswordTemplate",props:{templateTitle:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{},successText:{},failureText:{},requiredText:{},incompatibleText:{},minimalRequirementsText:{},submitPassword:{type:Function}},setup(n){const e=n,{showDangerToast:t,showSuccessToast:r}=gl(),{errorMessages:o,errorMessageText:s,MapServerErrors:i,ResetServerErrors:l}=Sd(null),{ValidationObjectIsValid:a}=Tg();let u=c.ref({password:Ve,passwordNew:Ve,passwordRepeat:Ve}),d=c.ref({password:{state:null,errorLabel:Ve},passwordNew:{state:null,errorLabel:Ve},passwordRepeat:{state:null,errorLabel:Ve}});const f=()=>{if(!h())return;const g=e.submitPassword(u.value);g&&g.then(()=>{r(e.successText),p()}).catch(y=>{t(e.failureText),i(y)})},h=()=>{const m=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/;if(u.value.passwordNew&&!m.test(u.value.passwordNew))d.value.passwordNew.state=!1,d.value.passwordNew.errorLabel=e.minimalRequirementsText;else{const g=u.value.passwordRepeat===u.value.passwordNew,y=g?e.requiredText:e.incompatibleText;d.value.passwordNew.state=u.value.passwordNew!==Ve&&g?null:!1,d.value.passwordNew.errorLabel=y,d.value.passwordRepeat.state=u.value.passwordRepeat!==Ve&&g?null:!1,d.value.passwordRepeat.errorLabel=y}return d.value.password.state=u.value.password!==Ve?null:!1,d.value.password.errorLabel=d.value.password.state?Ve:e.requiredText,a(d.value)},p=()=>{u.value.password=Ve,u.value.passwordNew=Ve,u.value.passwordRepeat=Ve,d.value.password.state=null,d.value.passwordNew.state=null,d.value.passwordRepeat.state=null,l()};return(m,g)=>(c.openBlock(),c.createElementBlock("main",SM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createVNode(xr,{class:"justify-content-md-center template-header"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createElementVNode("h1",_M,c.toDisplayString(e.templateTitle),1)]),_:1})]),_:1}),c.createVNode(xr,{class:"justify-content-md-center"},{default:c.withCtx(()=>[c.createVNode(Ir,{xs:12,md:10,lg:7},{default:c.withCtx(()=>[c.createVNode(ui,{class:"bd-card-template","no-header":!0},{body:c.withCtx(()=>[c.createVNode(ss,{class:"container-fluid"},{default:c.withCtx(()=>[c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"warning"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.alertText),1)]),_:1})]),_:1})]),_:1}),c.unref(o)||c.unref(s)?(c.openBlock(),c.createBlock(xr,{key:0},{default:c.withCtx(()=>[c.createVNode(Ir,null,{default:c.withCtx(()=>[c.createVNode(as,{variant:"danger"},{default:c.withCtx(()=>[c.unref(o)?(c.openBlock(),c.createElementBlock("div",kM,[c.createElementVNode("ul",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(c.unref(o),(y,C)=>(c.openBlock(),c.createElementBlock("li",{key:C},[c.createVNode(Lr),c.createElementVNode("span",null,c.toDisplayString(y),1)]))),128))])])):(c.openBlock(),c.createElementBlock("div",NM,c.toDisplayString(c.unref(s)),1))]),_:1})]),_:1})]),_:1})):c.createCommentVNode("",!0),c.createVNode(xr,null,{default:c.withCtx(()=>[c.createVNode(Ir,{class:"bd-card-form",sm:12,md:12},{default:c.withCtx(()=>[c.createElementVNode("form",{onSubmit:c.withModifiers(f,["prevent"]),onReset:c.withModifiers(p,["prevent"]),class:"form"},[c.createElementVNode("div",xM,[c.createVNode(Br,{modelValue:c.unref(u).password,"onUpdate:modelValue":g[0]||(g[0]=y=>c.unref(u).password=y),label:m.currentPasswordLabel,state:c.unref(d).password.state,type:"password","invalid-feedback-text":c.unref(d).password.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",MM,[c.createVNode(Br,{modelValue:c.unref(u).passwordNew,"onUpdate:modelValue":g[1]||(g[1]=y=>c.unref(u).passwordNew=y),label:m.newPasswordLabel,state:c.unref(d).passwordNew.state,type:"password","invalid-feedback-text":c.unref(d).passwordNew.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",OM,[c.createVNode(Br,{modelValue:c.unref(u).passwordRepeat,"onUpdate:modelValue":g[2]||(g[2]=y=>c.unref(u).passwordRepeat=y),label:m.confirmNewPasswordLabel,state:c.unref(d).passwordRepeat.state,type:"password","invalid-feedback-text":c.unref(d).passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalid-feedback-text"])]),c.createElementVNode("div",LM,[c.createVNode(Ze,{type:"submit"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.submitButtonText),1)]),_:1}),c.createVNode(Ze,{type:"reset",variant:"link"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(m.cancelButtonText),1)]),_:1})])],40,IM)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}}),DM={class:"template not-found-template"},RM={class:"center-screen"},BM={class:"container-warning"},PM=["textContent"],FM=["textContent"],_g=c.defineComponent({__name:"BDNotFoundTemplate",props:{buttonText:{type:String}},emits:["navigate"],setup(n,{emit:e}){const t=n,{t:r}=ei(),o=c.computed(()=>t.buttonText||r("notFoundTemplate.buttonDefault")),s=c.computed(()=>r("notFoundTemplate.title")),i=c.computed(()=>r("notFoundTemplate.description")),l=()=>e("navigate");return(a,u)=>(c.openBlock(),c.createElementBlock("main",DM,[c.createVNode(ss,{class:"container-xl"},{default:c.withCtx(()=>[c.createElementVNode("div",RM,[c.createElementVNode("div",BM,[c.createVNode(Ll),c.createElementVNode("h5",{textContent:c.toDisplayString(s.value)},null,8,PM),c.createElementVNode("p",{textContent:c.toDisplayString(i.value)},null,8,FM),c.createVNode(Ze,{onClick:l,variant:"primary",type:"button",textContent:c.toDisplayString(o.value)},null,8,["textContent"])])])]),_:1})]))}});var VM={exports:{}};(function(n,e){(function(t,r){n.exports=r(Ag)})(zl,function(t){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(t),s={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(i){return"["+i+(i===1||i===8||i>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(s,null,!0),s})})(VM);var kg={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(zl,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,s=/\d\d/,i=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var b=C.match(/([+-]|\d\d)/g),E=60*b[1]+(+b[2]||0);return E===0?0:b[0]==="+"?-E:E}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var b,E=a.meridiem;if(E){for(var v=1;v<=24;v+=1)if(y.indexOf(E(v,0,C))>-1){b=v>12;break}}else b=y===(C?"pm":"PM");return b},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[s,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[s,d("day")],Do:[l,function(y){var C=a.ordinal,b=y.match(/\d+/);if(this.day=b[0],C)for(var E=1;E<=31;E+=1)C(E).replace(/\[|\]/g,"")===y&&(this.day=E)}],w:[i,d("week")],ww:[s,d("week")],M:[i,d("month")],MM:[s,d("month")],MMM:[l,function(y){var C=h("months"),b=(h("monthsShort")||C.map(function(E){return E.slice(0,3)})).indexOf(y)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function g(y){var C,b;C=y,b=a&&a.formats;for(var E=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function($,V,z){var G=z&&z.toUpperCase();return V||b[z]||t[z]||b[G].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Y,K,W){return K||W.slice(1)})})).match(r),v=E.length,N=0;N<v;N+=1){var w=E[N],x=m[w],M=x&&x[0],L=x&&x[1];E[N]=L?{regex:M,parser:L}:w.replace(/^\[|\]$/g,"")}return function($){for(var V={},z=0,G=0;z<v;z+=1){var Y=E[z];if(typeof Y=="string")G+=Y.length;else{var K=Y.regex,W=Y.parser,J=$.slice(G),U=K.exec(J)[0];W.call(V,U),$=$.replace(U,"")}}return function(ee){var re=ee.afternoon;if(re!==void 0){var ue=ee.hours;re?ue<12&&(ee.hours+=12):ue===12&&(ee.hours=0),delete ee.afternoon}}(V),V}}return function(y,C,b){b.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(u=y.parseTwoDigitYear);var E=C.prototype,v=E.parse;E.parse=function(N){var w=N.date,x=N.utc,M=N.args;this.$u=x;var L=M[1];if(typeof L=="string"){var $=M[2]===!0,V=M[3]===!0,z=$||V,G=M[2];V&&(G=M[2]),a=this.$locale(),!$&&G&&(a=b.Ls[G]),this.$d=function(J,U,ee,re){try{if(["x","X"].indexOf(U)>-1)return new Date((U==="X"?1e3:1)*J);var ue=g(U)(J),ge=ue.year,Ee=ue.month,Se=ue.day,ke=ue.hours,xe=ue.minutes,Ae=ue.seconds,D=ue.milliseconds,B=ue.zone,I=ue.week,R=new Date,A=Se||(ge||Ee?1:R.getDate()),T=ge||R.getFullYear(),k=0;ge&&!Ee||(k=Ee>0?Ee-1:R.getMonth());var O,H=ke||0,j=xe||0,Z=Ae||0,X=D||0;return B?new Date(Date.UTC(T,k,A,H,j,Z,X+60*B.offset*1e3)):ee?new Date(Date.UTC(T,k,A,H,j,Z,X)):(O=new Date(T,k,A,H,j,Z,X),I&&(O=re(O).week(I).toDate()),O)}catch{return new Date("")}}(w,L,x,b),this.init(),G&&G!==!0&&(this.$L=this.locale(G).$L),z&&w!=this.format(L)&&(this.$d=new Date("")),a={}}else if(L instanceof Array)for(var Y=L.length,K=1;K<=Y;K+=1){M[1]=L[K-1];var W=b.apply(this,M);if(W.isValid()){this.$d=W.$d,this.$L=W.$L,this.init();break}K===Y&&(this.$d=new Date(""))}else v.call(this,N)}}})})(kg);var $M=kg.exports;const zM=Ul($M);ns.extend(zM),ns.locale("nl");function UM(n,e=ns().startOf("day")){const t="DD-MM-YYYY",r=ns(n,t);if(r.isSame(e))return"vandaag";const s=e.subtract(1,"day");if(r.isSame(s))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const u=e.subtract(7,"day");if(r.isAfter(u)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const HM={install:n=>{n.component("BDAlert",as),n.component("BDArticle",Wf),n.component("BDAttachmentPreviewList",$a),n.component("BDBadge",$f),n.component("BDButton",Ze),n.component("BDCard",ui),n.component("BDChangePasswordTemplate",Sg),n.component("BDChatCloud",Y0),n.component("BDCol",Ir),n.component("BDCollapsableCard",Df),n.component("BDContainer",ss),n.component("BDDropdown",nd),n.component("BDDropdownItem",pi),n.component("BDDropzone",Gf),n.component("BDForm",zf),n.component("BDFormCheckbox",jf),n.component("BDFormInput",Br),n.component("BDFormInvalidFeedback",di),n.component("BDFormSelect",Hf),n.component("BDHeader",rd),n.component("BDImageAttachmentModal",vg),n.component("BDImageAttachmentPreviewList",za),n.component("BDInputGroup",Vf),n.component("BDLink",Mr),n.component("BDLogo",vl),n.component("BDMarkdownEditor",W0),n.component("BDMobileMenu",td),n.component("BDModal",ti),n.component("BDNotFoundTemplate",_g),n.component("BDPagination",Uf),n.component("BDPhoneNumberEditModal",Eg),n.component("BDPill",hi),n.component("BDPractitionerHeader",gg),n.component("BDProfileImage",ls),n.component("BDRow",xr),n.component("BDSessionTimeOutModal",wg),n.component("BDTable",G0),n.component("BDToast",Vl),n.component("BDUser",K0),n.component("BDUserInformation",$l),n.component("BDVideoCallToast",J0),n.component("BDZoomslider",Bl),n.component("IconAcademy",ni),n.component("IconArrowDown",Ld),n.component("IconArrowUp",Dd),n.component("IconAttachment",Or),n.component("IconBold",El),n.component("IconBulletList",Cl),n.component("IconCalendar",Rd),n.component("IconCall",ri),n.component("IconCallReject",Al),n.component("IconCardView",Bd),n.component("IconCaretDown",bl),n.component("IconCaretLeft",wl),n.component("IconCaretRight",Tl),n.component("IconCheck",uo),n.component("IconClipboard",Pd),n.component("IconClose",oi),n.component("IconComment",Fd),n.component("IconCommentActive",Vd),n.component("IconCommonFileEmpty",zd),n.component("IconCommonFileWarning",Ud),n.component("IconCommentStatic",$d),n.component("IconContactPerson",Hd),n.component("IconCopy",jd),n.component("IconDelete",Wd),n.component("IconDoubleCheck",Kd),n.component("IconDownloadImage",Sl),n.component("IconEdit",Yd),n.component("IconEndCall",Gd),n.component("IconError",si),n.component("IconExternal",Qd),n.component("IconEyeShow",Zd),n.component("IconEyeSlash",Jd),n.component("IconFile",_l),n.component("IconFileAdded",Xd),n.component("IconForward",qd),n.component("IconHix",ef),n.component("IconHyperlink",ii),n.component("IconImageFileLandscape",tf),n.component("IconImageFileWarning",nf),n.component("IconInfo",Lr),n.component("IconInformationCircle",rf),n.component("IconItalic",kl),n.component("IconListView",of),n.component("IconLock",sf),n.component("IconLusciiEscalated",af),n.component("IconLusciiLogo",lf),n.component("IconLusciiOpen",cf),n.component("IconLusciiPriorityHigh",uf),n.component("IconLusciiPriorityLow",df),n.component("IconLusciiPriorityMedium",ff),n.component("IconMenu",Nl),n.component("IconMessage",hf),n.component("IconMessageForward",pf),n.component("IconMicrophoneSlash",mf),n.component("IconMicrosoftTeams",gf),n.component("IconMin",yf),n.component("IconOrderedList",Il),n.component("IconPlus",vf),n.component("IconRefresh",Ef),n.component("IconRemove",is),n.component("IconSananetLogo",Cf),n.component("IconService",Af),n.component("IconShareScreen",bf),n.component("IconSingleNeutral",wf),n.component("IconSort",Tf),n.component("IconSortAsc",xl),n.component("IconSortDesc",Ml),n.component("IconSortNone",Ol),n.component("IconTriangleDown",Sf),n.component("IconTriangleExclamation",Ll),n.component("IconUnderline",Dl),n.component("IconVideoDisabled",kf),n.component("IconVideocall",_f),n.component("IconZorgkaart",Nf),n.directive("vBDTooltip",Gs)}};ne.BDAlert=as,ne.BDArticle=Wf,ne.BDAttachmentPreviewList=$a,ne.BDBadge=$f,ne.BDButton=Ze,ne.BDCard=ui,ne.BDChangePasswordTemplate=Sg,ne.BDChatCloud=Y0,ne.BDCol=Ir,ne.BDCollapsableCard=Df,ne.BDContainer=ss,ne.BDDropdown=nd,ne.BDDropdownItem=pi,ne.BDDropzone=Gf,ne.BDForm=zf,ne.BDFormCheckbox=jf,ne.BDFormInput=Br,ne.BDFormInvalidFeedback=di,ne.BDFormSelect=Hf,ne.BDHeader=rd,ne.BDImageAttachmentModal=vg,ne.BDImageAttachmentPreviewList=za,ne.BDInputGroup=Vf,ne.BDLink=Mr,ne.BDLogo=vl,ne.BDMarkdownEditor=W0,ne.BDMobileMenu=td,ne.BDModal=ti,ne.BDNotFoundTemplate=_g,ne.BDPagination=Uf,ne.BDPhoneNumberEditModal=Eg,ne.BDPill=hi,ne.BDPractitionerHeader=gg,ne.BDProfileImage=ls,ne.BDRow=xr,ne.BDSessionTimeOutModal=wg,ne.BDTable=G0,ne.BDToast=Vl,ne.BDUser=K0,ne.BDUserInformation=$l,ne.BDVideoCallToast=J0,ne.BDZoomslider=Bl,ne.IconAcademy=ni,ne.IconArrowDown=Ld,ne.IconArrowUp=Dd,ne.IconAttachment=Or,ne.IconBold=El,ne.IconBulletList=Cl,ne.IconCalendar=Rd,ne.IconCall=ri,ne.IconCallReject=Al,ne.IconCardView=Bd,ne.IconCaretDown=bl,ne.IconCaretLeft=wl,ne.IconCaretRight=Tl,ne.IconCheck=uo,ne.IconClipboard=Pd,ne.IconClose=oi,ne.IconComment=Fd,ne.IconCommentActive=Vd,ne.IconCommentStatic=$d,ne.IconCommonFileEmpty=zd,ne.IconCommonFileWarning=Ud,ne.IconContactPerson=Hd,ne.IconCopy=jd,ne.IconDelete=Wd,ne.IconDoubleCheck=Kd,ne.IconDownloadImage=Sl,ne.IconEdit=Yd,ne.IconEndCall=Gd,ne.IconError=si,ne.IconExternal=Qd,ne.IconEyeShow=Zd,ne.IconEyeSlash=Jd,ne.IconFile=_l,ne.IconFileAdded=Xd,ne.IconForward=qd,ne.IconHix=ef,ne.IconHyperlink=ii,ne.IconImageFileLandscape=tf,ne.IconImageFileWarning=nf,ne.IconInfo=Lr,ne.IconInformationCircle=rf,ne.IconItalic=kl,ne.IconListView=of,ne.IconLock=sf,ne.IconLusciiEscalated=af,ne.IconLusciiLogo=lf,ne.IconLusciiOpen=cf,ne.IconLusciiPriorityHigh=uf,ne.IconLusciiPriorityLow=df,ne.IconLusciiPriorityMedium=ff,ne.IconMenu=Nl,ne.IconMessage=hf,ne.IconMessageForward=pf,ne.IconMicrophoneSlash=mf,ne.IconMicrosoftTeams=gf,ne.IconMin=yf,ne.IconOrderedList=Il,ne.IconPlus=vf,ne.IconRefresh=Ef,ne.IconRemove=is,ne.IconSananetLogo=Cf,ne.IconService=Af,ne.IconShareScreen=bf,ne.IconSingleNeutral=wf,ne.IconSort=Tf,ne.IconSortAsc=xl,ne.IconSortDesc=Ml,ne.IconSortNone=Ol,ne.IconTriangleDown=Sf,ne.IconTriangleExclamation=Ll,ne.IconUnderline=Dl,ne.IconVideoDisabled=kf,ne.IconVideocall=_f,ne.IconZorgkaart=Nf,ne.default=HM,ne.getDisplayDate=UM,ne.useModal=ml,ne.usePopover=mg,ne.useServerErrors=Sd,ne.useSessionTimeOut=bg,ne.useToaster=gl,ne.useValidation=Tg,ne.useWindow=Td,ne.useZoom=yg,ne.vBdTooltip=Gs,Object.defineProperties(ne,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});