const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index2.js","assets/localeText.js","assets/message.js","assets/dayjs.min.js","assets/message.css","assets/index2.css","assets/configurationList.js","assets/configurationList.css","assets/settings.js","assets/vue-datepicker.js","assets/settings.css","assets/ping.js","assets/osmap.js","assets/osmap.css","assets/ping.css","assets/traceroute.js","assets/traceroute.css","assets/newConfiguration.js","assets/index3.js","assets/wireguard.js","assets/restoreConfiguration.js","assets/restoreConfiguration.css","assets/peerList.js","assets/peerList.css","assets/peerCreate.js","assets/peerCreate.css","assets/signin.js","assets/signin.css","assets/setup.js","assets/totp.js","assets/browser.js","assets/share.js","assets/share.css"])))=>i.map(i=>d[i]); (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();var Eg=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bg(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){return this instanceof s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var yg={exports:{}},qe="top",st="bottom",rt="right",ze="left",jr="auto",us=[qe,st,rt,ze],Nn="start",Zn="end",uc="clippingParents",co="viewport",Kn="popper",fc="reference",Hi=us.reduce(function(e,t){return e.concat([t+"-"+Nn,t+"-"+Zn])},[]),uo=[].concat(us,[jr]).reduce(function(e,t){return e.concat([t,t+"-"+Nn,t+"-"+Zn])},[]),dc="beforeRead",hc="read",pc="afterRead",gc="beforeMain",mc="main",_c="afterMain",vc="beforeWrite",Ec="write",bc="afterWrite",yc=[dc,hc,pc,gc,mc,_c,vc,Ec,bc];function Ot(e){return e?(e.nodeName||"").toLowerCase():null}function it(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function xn(e){var t=it(e).Element;return e instanceof t||e instanceof Element}function ct(e){var t=it(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function fo(e){if(typeof ShadowRoot>"u")return!1;var t=it(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ag(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},o=t.elements[n];!ct(o)||!Ot(o)||(Object.assign(o.style,s),Object.keys(r).forEach(function(a){var l=r[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function Tg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],o=t.attributes[s]||{},a=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=a.reduce(function(c,d){return c[d]="",c},{});!ct(r)||!Ot(r)||(Object.assign(r.style,l),Object.keys(o).forEach(function(c){r.removeAttribute(c)}))})}}const ho={name:"applyStyles",enabled:!0,phase:"write",fn:Ag,effect:Tg,requires:["computeStyles"]};function wt(e){return e.split("-")[0]}var Cn=Math.max,$r=Math.min,es=Math.round;function Bi(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ac(){return!/^((?!chrome|android).)*safari/i.test(Bi())}function ts(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,o=1;t&&ct(e)&&(r=e.offsetWidth>0&&es(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&es(s.height)/e.offsetHeight||1);var a=xn(e)?it(e):window,l=a.visualViewport,c=!Ac()&&n,d=(s.left+(c&&l?l.offsetLeft:0))/r,f=(s.top+(c&&l?l.offsetTop:0))/o,h=s.width/r,p=s.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}function po(e){var t=ts(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function Tc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&fo(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Bt(e){return it(e).getComputedStyle(e)}function Cg(e){return["table","td","th"].indexOf(Ot(e))>=0}function an(e){return((xn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wr(e){return Ot(e)==="html"?e:e.assignedSlot||e.parentNode||(fo(e)?e.host:null)||an(e)}function Ha(e){return!ct(e)||Bt(e).position==="fixed"?null:e.offsetParent}function wg(e){var t=/firefox/i.test(Bi()),n=/Trident/i.test(Bi());if(n&&ct(e)){var s=Bt(e);if(s.position==="fixed")return null}var r=Wr(e);for(fo(r)&&(r=r.host);ct(r)&&["html","body"].indexOf(Ot(r))<0;){var o=Bt(r);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return r;r=r.parentNode}return null}function Ks(e){for(var t=it(e),n=Ha(e);n&&Cg(n)&&Bt(n).position==="static";)n=Ha(n);return n&&(Ot(n)==="html"||Ot(n)==="body"&&Bt(n).position==="static")?t:n||wg(e)||t}function go(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ws(e,t,n){return Cn(e,$r(t,n))}function Sg(e,t,n){var s=ws(e,t,n);return s>n?n:s}function Cc(){return{top:0,right:0,bottom:0,left:0}}function wc(e){return Object.assign({},Cc(),e)}function Sc(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var Og=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,wc(typeof t!="number"?t:Sc(t,us))};function Ng(e){var t,n=e.state,s=e.name,r=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=wt(n.placement),c=go(l),d=[ze,rt].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!a)){var h=Og(r.padding,n),p=po(o),E=c==="y"?qe:ze,y=c==="y"?st:rt,A=n.rects.reference[f]+n.rects.reference[c]-a[c]-n.rects.popper[f],M=a[c]-n.rects.reference[c],$=Ks(o),L=$?c==="y"?$.clientHeight||0:$.clientWidth||0:0,P=A/2-M/2,D=h[E],O=L-p[f]-h[y],F=L/2-p[f]/2+P,Y=ws(D,F,O),K=c;n.modifiersData[s]=(t={},t[K]=Y,t.centerOffset=Y-F,t)}}function xg(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||Tc(t.elements.popper,r)&&(t.elements.arrow=r))}const Oc={name:"arrow",enabled:!0,phase:"main",fn:Ng,effect:xg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ns(e){return e.split("-")[1]}var $g={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Dg(e,t){var n=e.x,s=e.y,r=t.devicePixelRatio||1;return{x:es(n*r)/r||0,y:es(s*r)/r||0}}function Ba(e){var t,n=e.popper,s=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=a.x,E=p===void 0?0:p,y=a.y,A=y===void 0?0:y,M=typeof f=="function"?f({x:E,y:A}):{x:E,y:A};E=M.x,A=M.y;var $=a.hasOwnProperty("x"),L=a.hasOwnProperty("y"),P=ze,D=qe,O=window;if(d){var F=Ks(n),Y="clientHeight",K="clientWidth";if(F===it(n)&&(F=an(n),Bt(F).position!=="static"&&l==="absolute"&&(Y="scrollHeight",K="scrollWidth")),F=F,r===qe||(r===ze||r===rt)&&o===Zn){D=st;var w=h&&F===O&&O.visualViewport?O.visualViewport.height:F[Y];A-=w-s.height,A*=c?1:-1}if(r===ze||(r===qe||r===st)&&o===Zn){P=rt;var k=h&&F===O&&O.visualViewport?O.visualViewport.width:F[K];E-=k-s.width,E*=c?1:-1}}var z=Object.assign({position:l},d&&$g),H=f===!0?Dg({x:E,y:A},it(n)):{x:E,y:A};if(E=H.x,A=H.y,c){var Q;return Object.assign({},z,(Q={},Q[D]=L?"0":"",Q[P]=$?"0":"",Q.transform=(O.devicePixelRatio||1)<=1?"translate("+E+"px, "+A+"px)":"translate3d("+E+"px, "+A+"px, 0)",Q))}return Object.assign({},z,(t={},t[D]=L?A+"px":"",t[P]=$?E+"px":"",t.transform="",t))}function Lg(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:wt(t.placement),variation:ns(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ba(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ba(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const mo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Lg,data:{}};var fr={passive:!0};function Rg(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,o=r===void 0?!0:r,a=s.resize,l=a===void 0?!0:a,c=it(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",n.update,fr)}),l&&c.addEventListener("resize",n.update,fr),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",n.update,fr)}),l&&c.removeEventListener("resize",n.update,fr)}}const _o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Rg,data:{}};var Ig={left:"right",right:"left",bottom:"top",top:"bottom"};function Ar(e){return e.replace(/left|right|bottom|top/g,function(t){return Ig[t]})}var Pg={start:"end",end:"start"};function ja(e){return e.replace(/start|end/g,function(t){return Pg[t]})}function vo(e){var t=it(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Eo(e){return ts(an(e)).left+vo(e).scrollLeft}function Mg(e,t){var n=it(e),s=an(e),r=n.visualViewport,o=s.clientWidth,a=s.clientHeight,l=0,c=0;if(r){o=r.width,a=r.height;var d=Ac();(d||!d&&t==="fixed")&&(l=r.offsetLeft,c=r.offsetTop)}return{width:o,height:a,x:l+Eo(e),y:c}}function kg(e){var t,n=an(e),s=vo(e),r=(t=e.ownerDocument)==null?void 0:t.body,o=Cn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Cn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-s.scrollLeft+Eo(e),c=-s.scrollTop;return Bt(r||n).direction==="rtl"&&(l+=Cn(n.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function bo(e){var t=Bt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function Nc(e){return["html","body","#document"].indexOf(Ot(e))>=0?e.ownerDocument.body:ct(e)&&bo(e)?e:Nc(Wr(e))}function Ss(e,t){var n;t===void 0&&(t=[]);var s=Nc(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=it(s),a=r?[o].concat(o.visualViewport||[],bo(s)?s:[]):s,l=t.concat(a);return r?l:l.concat(Ss(Wr(a)))}function ji(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vg(e,t){var n=ts(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Wa(e,t,n){return t===co?ji(Mg(e,n)):xn(t)?Vg(t,n):ji(kg(an(e)))}function Fg(e){var t=Ss(Wr(e)),n=["absolute","fixed"].indexOf(Bt(e).position)>=0,s=n&&ct(e)?Ks(e):e;return xn(s)?t.filter(function(r){return xn(r)&&Tc(r,s)&&Ot(r)!=="body"}):[]}function Hg(e,t,n,s){var r=t==="clippingParents"?Fg(e):[].concat(t),o=[].concat(r,[n]),a=o[0],l=o.reduce(function(c,d){var f=Wa(e,d,s);return c.top=Cn(f.top,c.top),c.right=$r(f.right,c.right),c.bottom=$r(f.bottom,c.bottom),c.left=Cn(f.left,c.left),c},Wa(e,a,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function xc(e){var t=e.reference,n=e.element,s=e.placement,r=s?wt(s):null,o=s?ns(s):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(r){case qe:c={x:a,y:t.y-n.height};break;case st:c={x:a,y:t.y+t.height};break;case rt:c={x:t.x+t.width,y:l};break;case ze:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var d=r?go(r):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case Nn:c[d]=c[d]-(t[f]/2-n[f]/2);break;case Zn:c[d]=c[d]+(t[f]/2-n[f]/2);break}}return c}function ss(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?uc:l,d=n.rootBoundary,f=d===void 0?co:d,h=n.elementContext,p=h===void 0?Kn:h,E=n.altBoundary,y=E===void 0?!1:E,A=n.padding,M=A===void 0?0:A,$=wc(typeof M!="number"?M:Sc(M,us)),L=p===Kn?fc:Kn,P=e.rects.popper,D=e.elements[y?L:p],O=Hg(xn(D)?D:D.contextElement||an(e.elements.popper),c,f,a),F=ts(e.elements.reference),Y=xc({reference:F,element:P,strategy:"absolute",placement:r}),K=ji(Object.assign({},P,Y)),w=p===Kn?K:F,k={top:O.top-w.top+$.top,bottom:w.bottom-O.bottom+$.bottom,left:O.left-w.left+$.left,right:w.right-O.right+$.right},z=e.modifiersData.offset;if(p===Kn&&z){var H=z[r];Object.keys(k).forEach(function(Q){var ce=[rt,st].indexOf(Q)>=0?1:-1,me=[qe,st].indexOf(Q)>=0?"y":"x";k[Q]+=H[me]*ce})}return k}function Bg(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?uo:c,f=ns(s),h=f?l?Hi:Hi.filter(function(y){return ns(y)===f}):us,p=h.filter(function(y){return d.indexOf(y)>=0});p.length===0&&(p=h);var E=p.reduce(function(y,A){return y[A]=ss(e,{placement:A,boundary:r,rootBoundary:o,padding:a})[wt(A)],y},{});return Object.keys(E).sort(function(y,A){return E[y]-E[A]})}function jg(e){if(wt(e)===jr)return[];var t=Ar(e);return[ja(e),t,ja(t)]}function Wg(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,o=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,d=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,E=n.flipVariations,y=E===void 0?!0:E,A=n.allowedAutoPlacements,M=t.options.placement,$=wt(M),L=$===M,P=c||(L||!y?[Ar(M)]:jg(M)),D=[M].concat(P).reduce(function(Be,Pe){return Be.concat(wt(Pe)===jr?Bg(t,{placement:Pe,boundary:f,rootBoundary:h,padding:d,flipVariations:y,allowedAutoPlacements:A}):Pe)},[]),O=t.rects.reference,F=t.rects.popper,Y=new Map,K=!0,w=D[0],k=0;k=0,me=ce?"width":"height",re=ss(t,{placement:z,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),Z=ce?Q?rt:ze:Q?st:qe;O[me]>F[me]&&(Z=Ar(Z));var le=Ar(Z),we=[];if(o&&we.push(re[H]<=0),l&&we.push(re[Z]<=0,re[le]<=0),we.every(function(Be){return Be})){w=z,K=!1;break}Y.set(z,we)}if(K)for(var He=y?3:1,De=function(Pe){var Ce=D.find(function(N){var G=Y.get(N);if(G)return G.slice(0,Pe).every(function(q){return q})});if(Ce)return w=Ce,"break"},ye=He;ye>0;ye--){var et=De(ye);if(et==="break")break}t.placement!==w&&(t.modifiersData[s]._skip=!0,t.placement=w,t.reset=!0)}}const $c={name:"flip",enabled:!0,phase:"main",fn:Wg,requiresIfExists:["offset"],data:{_skip:!1}};function Ka(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ua(e){return[qe,rt,st,ze].some(function(t){return e[t]>=0})}function Kg(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,a=ss(t,{elementContext:"reference"}),l=ss(t,{altBoundary:!0}),c=Ka(a,s),d=Ka(l,r,o),f=Ua(c),h=Ua(d);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}const Dc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Kg};function Ug(e,t,n){var s=wt(e),r=[ze,qe].indexOf(s)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=o[0],l=o[1];return a=a||0,l=(l||0)*r,[ze,rt].indexOf(s)>=0?{x:l,y:a}:{x:a,y:l}}function Yg(e){var t=e.state,n=e.options,s=e.name,r=n.offset,o=r===void 0?[0,0]:r,a=uo.reduce(function(f,h){return f[h]=Ug(h,t.rects,o),f},{}),l=a[t.placement],c=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[s]=a}const Lc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Yg};function Gg(e){var t=e.state,n=e.name;t.modifiersData[n]=xc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const yo={name:"popperOffsets",enabled:!0,phase:"read",fn:Gg,data:{}};function qg(e){return e==="x"?"y":"x"}function zg(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,o=r===void 0?!0:r,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,E=p===void 0?!0:p,y=n.tetherOffset,A=y===void 0?0:y,M=ss(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),$=wt(t.placement),L=ns(t.placement),P=!L,D=go($),O=qg(D),F=t.modifiersData.popperOffsets,Y=t.rects.reference,K=t.rects.popper,w=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,k=typeof w=="number"?{mainAxis:w,altAxis:w}:Object.assign({mainAxis:0,altAxis:0},w),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(F){if(o){var Q,ce=D==="y"?qe:ze,me=D==="y"?st:rt,re=D==="y"?"height":"width",Z=F[D],le=Z+M[ce],we=Z-M[me],He=E?-K[re]/2:0,De=L===Nn?Y[re]:K[re],ye=L===Nn?-K[re]:-Y[re],et=t.elements.arrow,Be=E&&et?po(et):{width:0,height:0},Pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Cc(),Ce=Pe[ce],N=Pe[me],G=ws(0,Y[re],Be[re]),q=P?Y[re]/2-He-G-Ce-k.mainAxis:De-G-Ce-k.mainAxis,J=P?-Y[re]/2+He+G+N+k.mainAxis:ye+G+N+k.mainAxis,C=t.elements.arrow&&Ks(t.elements.arrow),pe=C?D==="y"?C.clientTop||0:C.clientLeft||0:0,g=(Q=z?.[D])!=null?Q:0,_=Z+q-g-pe,b=Z+J-g,I=ws(E?$r(le,_):le,Z,E?Cn(we,b):we);F[D]=I,H[D]=I-Z}if(l){var S,R=D==="x"?qe:ze,U=D==="x"?st:rt,T=F[O],B=O==="y"?"height":"width",V=T+M[R],ne=T-M[U],X=[qe,ze].indexOf($)!==-1,ee=(S=z?.[O])!=null?S:0,se=X?V:T-Y[B]-K[B]-ee+k.altAxis,oe=X?T+Y[B]+K[B]-ee-k.altAxis:ne,de=E&&X?Sg(se,T,oe):ws(E?se:V,T,E?oe:ne);F[O]=de,H[O]=de-T}t.modifiersData[s]=H}}const Rc={name:"preventOverflow",enabled:!0,phase:"main",fn:zg,requiresIfExists:["offset"]};function Xg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Qg(e){return e===it(e)||!ct(e)?vo(e):Xg(e)}function Jg(e){var t=e.getBoundingClientRect(),n=es(t.width)/e.offsetWidth||1,s=es(t.height)/e.offsetHeight||1;return n!==1||s!==1}function Zg(e,t,n){n===void 0&&(n=!1);var s=ct(t),r=ct(t)&&Jg(t),o=an(t),a=ts(e,r,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(s||!s&&!n)&&((Ot(t)!=="body"||bo(o))&&(l=Qg(t)),ct(t)?(c=ts(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Eo(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function em(e){var t=new Map,n=new Set,s=[];e.forEach(function(o){t.set(o.name,o)});function r(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!n.has(l)){var c=t.get(l);c&&r(c)}}),s.push(o)}return e.forEach(function(o){n.has(o.name)||r(o)}),s}function tm(e){var t=em(e);return yc.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function nm(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function sm(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ya={placement:"bottom",modifiers:[],strategy:"absolute"};function Ga(){for(var e=arguments.length,t=new Array(e),n=0;nm[u]})}}return i.default=m,Object.freeze(i)}const r=s(n),o=new Map,a={set(m,i,u){o.has(m)||o.set(m,new Map);const v=o.get(m);if(!v.has(i)&&v.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(v.keys())[0]}.`);return}v.set(i,u)},get(m,i){return o.has(m)&&o.get(m).get(i)||null},remove(m,i){if(!o.has(m))return;const u=o.get(m);u.delete(i),u.size===0&&o.delete(m)}},l=1e6,c=1e3,d="transitionend",f=m=>(m&&window.CSS&&window.CSS.escape&&(m=m.replace(/#([^\s"#']+)/g,(i,u)=>`#${CSS.escape(u)}`)),m),h=m=>m==null?`${m}`:Object.prototype.toString.call(m).match(/\s([a-z]+)/i)[1].toLowerCase(),p=m=>{do m+=Math.floor(Math.random()*l);while(document.getElementById(m));return m},E=m=>{if(!m)return 0;let{transitionDuration:i,transitionDelay:u}=window.getComputedStyle(m);const v=Number.parseFloat(i),x=Number.parseFloat(u);return!v&&!x?0:(i=i.split(",")[0],u=u.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(u))*c)},y=m=>{m.dispatchEvent(new Event(d))},A=m=>!m||typeof m!="object"?!1:(typeof m.jquery<"u"&&(m=m[0]),typeof m.nodeType<"u"),M=m=>A(m)?m.jquery?m[0]:m:typeof m=="string"&&m.length>0?document.querySelector(f(m)):null,$=m=>{if(!A(m)||m.getClientRects().length===0)return!1;const i=getComputedStyle(m).getPropertyValue("visibility")==="visible",u=m.closest("details:not([open])");if(!u)return i;if(u!==m){const v=m.closest("summary");if(v&&v.parentNode!==u||v===null)return!1}return i},L=m=>!m||m.nodeType!==Node.ELEMENT_NODE||m.classList.contains("disabled")?!0:typeof m.disabled<"u"?m.disabled:m.hasAttribute("disabled")&&m.getAttribute("disabled")!=="false",P=m=>{if(!document.documentElement.attachShadow)return null;if(typeof m.getRootNode=="function"){const i=m.getRootNode();return i instanceof ShadowRoot?i:null}return m instanceof ShadowRoot?m:m.parentNode?P(m.parentNode):null},D=()=>{},O=m=>{m.offsetHeight},F=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Y=[],K=m=>{document.readyState==="loading"?(Y.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of Y)i()}),Y.push(m)):m()},w=()=>document.documentElement.dir==="rtl",k=m=>{K(()=>{const i=F();if(i){const u=m.NAME,v=i.fn[u];i.fn[u]=m.jQueryInterface,i.fn[u].Constructor=m,i.fn[u].noConflict=()=>(i.fn[u]=v,m.jQueryInterface)}})},z=(m,i=[],u=m)=>typeof m=="function"?m(...i):u,H=(m,i,u=!0)=>{if(!u){z(m);return}const x=E(i)+5;let W=!1;const j=({target:ae})=>{ae===i&&(W=!0,i.removeEventListener(d,j),z(m))};i.addEventListener(d,j),setTimeout(()=>{W||y(i)},x)},Q=(m,i,u,v)=>{const x=m.length;let W=m.indexOf(i);return W===-1?!u&&v?m[x-1]:m[0]:(W+=u?1:-1,v&&(W=(W+x)%x),m[Math.max(0,Math.min(W,x-1))])},ce=/[^.]*(?=\..*)\.|.*/,me=/\..*/,re=/::\d+$/,Z={};let le=1;const we={mouseenter:"mouseover",mouseleave:"mouseout"},He=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 De(m,i){return i&&`${i}::${le++}`||m.uidEvent||le++}function ye(m){const i=De(m);return m.uidEvent=i,Z[i]=Z[i]||{},Z[i]}function et(m,i){return function u(v){return pe(v,{delegateTarget:m}),u.oneOff&&C.off(m,v.type,i),i.apply(m,[v])}}function Be(m,i,u){return function v(x){const W=m.querySelectorAll(i);for(let{target:j}=x;j&&j!==this;j=j.parentNode)for(const ae of W)if(ae===j)return pe(x,{delegateTarget:j}),v.oneOff&&C.off(m,x.type,i,u),u.apply(j,[x])}}function Pe(m,i,u=null){return Object.values(m).find(v=>v.callable===i&&v.delegationSelector===u)}function Ce(m,i,u){const v=typeof i=="string",x=v?u:i||u;let W=J(m);return He.has(W)||(W=m),[v,x,W]}function N(m,i,u,v,x){if(typeof i!="string"||!m)return;let[W,j,ae]=Ce(i,u,v);i in we&&(j=(vg=>function(Bn){if(!Bn.relatedTarget||Bn.relatedTarget!==Bn.delegateTarget&&!Bn.delegateTarget.contains(Bn.relatedTarget))return vg.call(this,Bn)})(j));const Xe=ye(m),at=Xe[ae]||(Xe[ae]={}),$e=Pe(at,j,W?u:null);if($e){$e.oneOff=$e.oneOff&&x;return}const yt=De(j,i.replace(ce,"")),gt=W?Be(m,u,j):et(m,j);gt.delegationSelector=W?u:null,gt.callable=j,gt.oneOff=x,gt.uidEvent=yt,at[yt]=gt,m.addEventListener(ae,gt,W)}function G(m,i,u,v,x){const W=Pe(i[u],v,x);W&&(m.removeEventListener(u,W,!!x),delete i[u][W.uidEvent])}function q(m,i,u,v){const x=i[u]||{};for(const[W,j]of Object.entries(x))W.includes(v)&&G(m,i,u,j.callable,j.delegationSelector)}function J(m){return m=m.replace(me,""),we[m]||m}const C={on(m,i,u,v){N(m,i,u,v,!1)},one(m,i,u,v){N(m,i,u,v,!0)},off(m,i,u,v){if(typeof i!="string"||!m)return;const[x,W,j]=Ce(i,u,v),ae=j!==i,Xe=ye(m),at=Xe[j]||{},$e=i.startsWith(".");if(typeof W<"u"){if(!Object.keys(at).length)return;G(m,Xe,j,W,x?u:null);return}if($e)for(const yt of Object.keys(Xe))q(m,Xe,yt,i.slice(1));for(const[yt,gt]of Object.entries(at)){const ur=yt.replace(re,"");(!ae||i.includes(ur))&&G(m,Xe,j,gt.callable,gt.delegationSelector)}},trigger(m,i,u){if(typeof i!="string"||!m)return null;const v=F(),x=J(i),W=i!==x;let j=null,ae=!0,Xe=!0,at=!1;W&&v&&(j=v.Event(i,u),v(m).trigger(j),ae=!j.isPropagationStopped(),Xe=!j.isImmediatePropagationStopped(),at=j.isDefaultPrevented());const $e=pe(new Event(i,{bubbles:ae,cancelable:!0}),u);return at&&$e.preventDefault(),Xe&&m.dispatchEvent($e),$e.defaultPrevented&&j&&j.preventDefault(),$e}};function pe(m,i={}){for(const[u,v]of Object.entries(i))try{m[u]=v}catch{Object.defineProperty(m,u,{configurable:!0,get(){return v}})}return m}function g(m){if(m==="true")return!0;if(m==="false")return!1;if(m===Number(m).toString())return Number(m);if(m===""||m==="null")return null;if(typeof m!="string")return m;try{return JSON.parse(decodeURIComponent(m))}catch{return m}}function _(m){return m.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const b={setDataAttribute(m,i,u){m.setAttribute(`data-bs-${_(i)}`,u)},removeDataAttribute(m,i){m.removeAttribute(`data-bs-${_(i)}`)},getDataAttributes(m){if(!m)return{};const i={},u=Object.keys(m.dataset).filter(v=>v.startsWith("bs")&&!v.startsWith("bsConfig"));for(const v of u){let x=v.replace(/^bs/,"");x=x.charAt(0).toLowerCase()+x.slice(1,x.length),i[x]=g(m.dataset[v])}return i},getDataAttribute(m,i){return g(m.getAttribute(`data-bs-${_(i)}`))}};class I{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(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,u){const v=A(u)?b.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof v=="object"?v:{},...A(u)?b.getDataAttributes(u):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,u=this.constructor.DefaultType){for(const[v,x]of Object.entries(u)){const W=i[v],j=A(W)?"element":h(W);if(!new RegExp(x).test(j))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${v}" provided type "${j}" but expected type "${x}".`)}}}const S="5.3.3";class R extends I{constructor(i,u){super(),i=M(i),i&&(this._element=i,this._config=this._getConfig(u),a.set(this._element,this.constructor.DATA_KEY,this))}dispose(){a.remove(this._element,this.constructor.DATA_KEY),C.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,u,v=!0){H(i,u,v)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return a.get(M(i),this.DATA_KEY)}static getOrCreateInstance(i,u={}){return this.getInstance(i)||new this(i,typeof u=="object"?u:null)}static get VERSION(){return S}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const U=m=>{let i=m.getAttribute("data-bs-target");if(!i||i==="#"){let u=m.getAttribute("href");if(!u||!u.includes("#")&&!u.startsWith("."))return null;u.includes("#")&&!u.startsWith("#")&&(u=`#${u.split("#")[1]}`),i=u&&u!=="#"?u.trim():null}return i?i.split(",").map(u=>f(u)).join(","):null},T={find(m,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,m))},findOne(m,i=document.documentElement){return Element.prototype.querySelector.call(i,m)},children(m,i){return[].concat(...m.children).filter(u=>u.matches(i))},parents(m,i){const u=[];let v=m.parentNode.closest(i);for(;v;)u.push(v),v=v.parentNode.closest(i);return u},prev(m,i){let u=m.previousElementSibling;for(;u;){if(u.matches(i))return[u];u=u.previousElementSibling}return[]},next(m,i){let u=m.nextElementSibling;for(;u;){if(u.matches(i))return[u];u=u.nextElementSibling}return[]},focusableChildren(m){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(i,m).filter(u=>!L(u)&&$(u))},getSelectorFromElement(m){const i=U(m);return i&&T.findOne(i)?i:null},getElementFromSelector(m){const i=U(m);return i?T.findOne(i):null},getMultipleElementsFromSelector(m){const i=U(m);return i?T.find(i):[]}},B=(m,i="hide")=>{const u=`click.dismiss${m.EVENT_KEY}`,v=m.NAME;C.on(document,u,`[data-bs-dismiss="${v}"]`,function(x){if(["A","AREA"].includes(this.tagName)&&x.preventDefault(),L(this))return;const W=T.getElementFromSelector(this)||this.closest(`.${v}`);m.getOrCreateInstance(W)[i]()})},V="alert",X=".bs.alert",ee=`close${X}`,se=`closed${X}`,oe="fade",de="show";class ue extends R{static get NAME(){return V}close(){if(C.trigger(this._element,ee).defaultPrevented)return;this._element.classList.remove(de);const u=this._element.classList.contains(oe);this._queueCallback(()=>this._destroyElement(),this._element,u)}_destroyElement(){this._element.remove(),C.trigger(this._element,se),this.dispose()}static jQueryInterface(i){return this.each(function(){const u=ue.getOrCreateInstance(this);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}B(ue,"close"),k(ue);const je="button",tt=".bs.button",We=".data-api",dn="active",ps='[data-bs-toggle="button"]',Ke=`click${tt}${We}`;class Me extends R{static get NAME(){return je}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(dn))}static jQueryInterface(i){return this.each(function(){const u=Me.getOrCreateInstance(this);i==="toggle"&&u[i]()})}}C.on(document,Ke,ps,m=>{m.preventDefault();const i=m.target.closest(ps);Me.getOrCreateInstance(i).toggle()}),k(Me);const Js="swipe",Rn=".bs.swipe",Wf=`touchstart${Rn}`,Kf=`touchmove${Rn}`,Uf=`touchend${Rn}`,Yf=`pointerdown${Rn}`,Gf=`pointerup${Rn}`,qf="touch",zf="pen",Xf="pointer-event",Qf=40,Jf={endCallback:null,leftCallback:null,rightCallback:null},Zf={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Zs extends I{constructor(i,u){super(),this._element=i,!(!i||!Zs.isSupported())&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Jf}static get DefaultType(){return Zf}static get NAME(){return Js}dispose(){C.off(this._element,Rn)}_start(i){if(!this._supportPointerEvents){this._deltaX=i.touches[0].clientX;return}this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX)}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),z(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=Qf)return;const u=i/this._deltaX;this._deltaX=0,u&&z(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(C.on(this._element,Yf,i=>this._start(i)),C.on(this._element,Gf,i=>this._end(i)),this._element.classList.add(Xf)):(C.on(this._element,Wf,i=>this._start(i)),C.on(this._element,Kf,i=>this._move(i)),C.on(this._element,Uf,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===zf||i.pointerType===qf)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ed="carousel",Wt=".bs.carousel",Zo=".data-api",td="ArrowLeft",nd="ArrowRight",sd=500,gs="next",In="prev",Pn="left",er="right",rd=`slide${Wt}`,ci=`slid${Wt}`,id=`keydown${Wt}`,od=`mouseenter${Wt}`,ad=`mouseleave${Wt}`,ld=`dragstart${Wt}`,cd=`load${Wt}${Zo}`,ud=`click${Wt}${Zo}`,ea="carousel",tr="active",fd="slide",dd="carousel-item-end",hd="carousel-item-start",pd="carousel-item-next",gd="carousel-item-prev",ta=".active",na=".carousel-item",md=ta+na,_d=".carousel-item img",vd=".carousel-indicators",Ed="[data-bs-slide], [data-bs-slide-to]",bd='[data-bs-ride="carousel"]',yd={[td]:er,[nd]:Pn},Ad={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Td={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Mn extends R{constructor(i,u){super(i,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=T.findOne(vd,this._element),this._addEventListeners(),this._config.ride===ea&&this.cycle()}static get Default(){return Ad}static get DefaultType(){return Td}static get NAME(){return ed}next(){this._slide(gs)}nextWhenVisible(){!document.hidden&&$(this._element)&&this.next()}prev(){this._slide(In)}pause(){this._isSliding&&y(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){C.one(this._element,ci,()=>this.cycle());return}this.cycle()}}to(i){const u=this._getItems();if(i>u.length-1||i<0)return;if(this._isSliding){C.one(this._element,ci,()=>this.to(i));return}const v=this._getItemIndex(this._getActive());if(v===i)return;const x=i>v?gs:In;this._slide(x,u[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&C.on(this._element,id,i=>this._keydown(i)),this._config.pause==="hover"&&(C.on(this._element,od,()=>this.pause()),C.on(this._element,ad,()=>this._maybeEnableCycle())),this._config.touch&&Zs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const v of T.find(_d,this._element))C.on(v,ld,x=>x.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(Pn)),rightCallback:()=>this._slide(this._directionToOrder(er)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),sd+this._config.interval))}};this._swipeHelper=new Zs(this._element,u)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const u=yd[i.key];u&&(i.preventDefault(),this._slide(this._directionToOrder(u)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const u=T.findOne(ta,this._indicatorsElement);u.classList.remove(tr),u.removeAttribute("aria-current");const v=T.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);v&&(v.classList.add(tr),v.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const u=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=u||this._config.defaultInterval}_slide(i,u=null){if(this._isSliding)return;const v=this._getActive(),x=i===gs,W=u||Q(this._getItems(),v,x,this._config.wrap);if(W===v)return;const j=this._getItemIndex(W),ae=ur=>C.trigger(this._element,ur,{relatedTarget:W,direction:this._orderToDirection(i),from:this._getItemIndex(v),to:j});if(ae(rd).defaultPrevented||!v||!W)return;const at=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(j),this._activeElement=W;const $e=x?hd:dd,yt=x?pd:gd;W.classList.add(yt),O(W),v.classList.add($e),W.classList.add($e);const gt=()=>{W.classList.remove($e,yt),W.classList.add(tr),v.classList.remove(tr,yt,$e),this._isSliding=!1,ae(ci)};this._queueCallback(gt,v,this._isAnimated()),at&&this.cycle()}_isAnimated(){return this._element.classList.contains(fd)}_getActive(){return T.findOne(md,this._element)}_getItems(){return T.find(na,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return w()?i===Pn?In:gs:i===Pn?gs:In}_orderToDirection(i){return w()?i===In?Pn:er:i===In?er:Pn}static jQueryInterface(i){return this.each(function(){const u=Mn.getOrCreateInstance(this,i);if(typeof i=="number"){u.to(i);return}if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}C.on(document,ud,Ed,function(m){const i=T.getElementFromSelector(this);if(!i||!i.classList.contains(ea))return;m.preventDefault();const u=Mn.getOrCreateInstance(i),v=this.getAttribute("data-bs-slide-to");if(v){u.to(v),u._maybeEnableCycle();return}if(b.getDataAttribute(this,"slide")==="next"){u.next(),u._maybeEnableCycle();return}u.prev(),u._maybeEnableCycle()}),C.on(window,cd,()=>{const m=T.find(bd);for(const i of m)Mn.getOrCreateInstance(i)}),k(Mn);const Cd="collapse",ms=".bs.collapse",wd=".data-api",Sd=`show${ms}`,Od=`shown${ms}`,Nd=`hide${ms}`,xd=`hidden${ms}`,$d=`click${ms}${wd}`,ui="show",kn="collapse",nr="collapsing",Dd="collapsed",Ld=`:scope .${kn} .${kn}`,Rd="collapse-horizontal",Id="width",Pd="height",Md=".collapse.show, .collapse.collapsing",fi='[data-bs-toggle="collapse"]',kd={parent:null,toggle:!0},Vd={parent:"(null|element)",toggle:"boolean"};class Vn extends R{constructor(i,u){super(i,u),this._isTransitioning=!1,this._triggerArray=[];const v=T.find(fi);for(const x of v){const W=T.getSelectorFromElement(x),j=T.find(W).filter(ae=>ae===this._element);W!==null&&j.length&&this._triggerArray.push(x)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return kd}static get DefaultType(){return Vd}static get NAME(){return Cd}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Md).filter(ae=>ae!==this._element).map(ae=>Vn.getOrCreateInstance(ae,{toggle:!1}))),i.length&&i[0]._isTransitioning||C.trigger(this._element,Sd).defaultPrevented)return;for(const ae of i)ae.hide();const v=this._getDimension();this._element.classList.remove(kn),this._element.classList.add(nr),this._element.style[v]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const x=()=>{this._isTransitioning=!1,this._element.classList.remove(nr),this._element.classList.add(kn,ui),this._element.style[v]="",C.trigger(this._element,Od)},j=`scroll${v[0].toUpperCase()+v.slice(1)}`;this._queueCallback(x,this._element,!0),this._element.style[v]=`${this._element[j]}px`}hide(){if(this._isTransitioning||!this._isShown()||C.trigger(this._element,Nd).defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,O(this._element),this._element.classList.add(nr),this._element.classList.remove(kn,ui);for(const x of this._triggerArray){const W=T.getElementFromSelector(x);W&&!this._isShown(W)&&this._addAriaAndCollapsedClass([x],!1)}this._isTransitioning=!0;const v=()=>{this._isTransitioning=!1,this._element.classList.remove(nr),this._element.classList.add(kn),C.trigger(this._element,xd)};this._element.style[u]="",this._queueCallback(v,this._element,!0)}_isShown(i=this._element){return i.classList.contains(ui)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=M(i.parent),i}_getDimension(){return this._element.classList.contains(Rd)?Id:Pd}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(fi);for(const u of i){const v=T.getElementFromSelector(u);v&&this._addAriaAndCollapsedClass([u],this._isShown(v))}}_getFirstLevelChildren(i){const u=T.find(Ld,this._config.parent);return T.find(i,this._config.parent).filter(v=>!u.includes(v))}_addAriaAndCollapsedClass(i,u){if(i.length)for(const v of i)v.classList.toggle(Dd,!u),v.setAttribute("aria-expanded",u)}static jQueryInterface(i){const u={};return typeof i=="string"&&/show|hide/.test(i)&&(u.toggle=!1),this.each(function(){const v=Vn.getOrCreateInstance(this,u);if(typeof i=="string"){if(typeof v[i]>"u")throw new TypeError(`No method named "${i}"`);v[i]()}})}}C.on(document,$d,fi,function(m){(m.target.tagName==="A"||m.delegateTarget&&m.delegateTarget.tagName==="A")&&m.preventDefault();for(const i of T.getMultipleElementsFromSelector(this))Vn.getOrCreateInstance(i,{toggle:!1}).toggle()}),k(Vn);const sa="dropdown",hn=".bs.dropdown",di=".data-api",Fd="Escape",ra="Tab",Hd="ArrowUp",ia="ArrowDown",Bd=2,jd=`hide${hn}`,Wd=`hidden${hn}`,Kd=`show${hn}`,Ud=`shown${hn}`,oa=`click${hn}${di}`,aa=`keydown${hn}${di}`,Yd=`keyup${hn}${di}`,Fn="show",Gd="dropup",qd="dropend",zd="dropstart",Xd="dropup-center",Qd="dropdown-center",pn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Jd=`${pn}.${Fn}`,sr=".dropdown-menu",Zd=".navbar",eh=".navbar-nav",th=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",nh=w()?"top-end":"top-start",sh=w()?"top-start":"top-end",rh=w()?"bottom-end":"bottom-start",ih=w()?"bottom-start":"bottom-end",oh=w()?"left-start":"right-start",ah=w()?"right-start":"left-start",lh="top",ch="bottom",uh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},fh={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class pt extends R{constructor(i,u){super(i,u),this._popper=null,this._parent=this._element.parentNode,this._menu=T.next(this._element,sr)[0]||T.prev(this._element,sr)[0]||T.findOne(sr,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return uh}static get DefaultType(){return fh}static get NAME(){return sa}toggle(){return this._isShown()?this.hide():this.show()}show(){if(L(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!C.trigger(this._element,Kd,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(eh))for(const v of[].concat(...document.body.children))C.on(v,"mouseover",D);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Fn),this._element.classList.add(Fn),C.trigger(this._element,Ud,i)}}hide(){if(L(this._element)||!this._isShown())return;const i={relatedTarget:this._element};this._completeHide(i)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(i){if(!C.trigger(this._element,jd,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))C.off(v,"mouseover",D);this._popper&&this._popper.destroy(),this._menu.classList.remove(Fn),this._element.classList.remove(Fn),this._element.setAttribute("aria-expanded","false"),b.removeDataAttribute(this._menu,"popper"),C.trigger(this._element,Wd,i)}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!A(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${sa.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof r>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let i=this._element;this._config.reference==="parent"?i=this._parent:A(this._config.reference)?i=M(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const u=this._getPopperConfig();this._popper=r.createPopper(i,this._menu,u)}_isShown(){return this._menu.classList.contains(Fn)}_getPlacement(){const i=this._parent;if(i.classList.contains(qd))return oh;if(i.classList.contains(zd))return ah;if(i.classList.contains(Xd))return lh;if(i.classList.contains(Qd))return ch;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(Gd)?u?sh:nh:u?ih:rh}_detectNavbar(){return this._element.closest(Zd)!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(u=>Number.parseInt(u,10)):typeof i=="function"?u=>i(u,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(b.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...z(this._config.popperConfig,[i])}}_selectMenuItem({key:i,target:u}){const v=T.find(th,this._menu).filter(x=>$(x));v.length&&Q(v,u,i===ia,!v.includes(u)).focus()}static jQueryInterface(i){return this.each(function(){const u=pt.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}static clearMenus(i){if(i.button===Bd||i.type==="keyup"&&i.key!==ra)return;const u=T.find(Jd);for(const v of u){const x=pt.getInstance(v);if(!x||x._config.autoClose===!1)continue;const W=i.composedPath(),j=W.includes(x._menu);if(W.includes(x._element)||x._config.autoClose==="inside"&&!j||x._config.autoClose==="outside"&&j||x._menu.contains(i.target)&&(i.type==="keyup"&&i.key===ra||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const ae={relatedTarget:x._element};i.type==="click"&&(ae.clickEvent=i),x._completeHide(ae)}}static dataApiKeydownHandler(i){const u=/input|textarea/i.test(i.target.tagName),v=i.key===Fd,x=[Hd,ia].includes(i.key);if(!x&&!v||u&&!v)return;i.preventDefault();const W=this.matches(pn)?this:T.prev(this,pn)[0]||T.next(this,pn)[0]||T.findOne(pn,i.delegateTarget.parentNode),j=pt.getOrCreateInstance(W);if(x){i.stopPropagation(),j.show(),j._selectMenuItem(i);return}j._isShown()&&(i.stopPropagation(),j.hide(),W.focus())}}C.on(document,aa,pn,pt.dataApiKeydownHandler),C.on(document,aa,sr,pt.dataApiKeydownHandler),C.on(document,oa,pt.clearMenus),C.on(document,Yd,pt.clearMenus),C.on(document,oa,pn,function(m){m.preventDefault(),pt.getOrCreateInstance(this).toggle()}),k(pt);const la="backdrop",dh="fade",ca="show",ua=`mousedown.bs.${la}`,hh={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},ph={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class fa extends I{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return hh}static get DefaultType(){return ph}static get NAME(){return la}show(i){if(!this._config.isVisible){z(i);return}this._append();const u=this._getElement();this._config.isAnimated&&O(u),u.classList.add(ca),this._emulateAnimation(()=>{z(i)})}hide(i){if(!this._config.isVisible){z(i);return}this._getElement().classList.remove(ca),this._emulateAnimation(()=>{this.dispose(),z(i)})}dispose(){this._isAppended&&(C.off(this._element,ua),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add(dh),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=M(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),C.on(i,ua,()=>{z(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){H(i,this._getElement(),this._config.isAnimated)}}const gh="focustrap",rr=".bs.focustrap",mh=`focusin${rr}`,_h=`keydown.tab${rr}`,vh="Tab",Eh="forward",da="backward",bh={autofocus:!0,trapElement:null},yh={autofocus:"boolean",trapElement:"element"};class ha extends I{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return bh}static get DefaultType(){return yh}static get NAME(){return gh}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),C.off(document,rr),C.on(document,mh,i=>this._handleFocusin(i)),C.on(document,_h,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,C.off(document,rr))}_handleFocusin(i){const{trapElement:u}=this._config;if(i.target===document||i.target===u||u.contains(i.target))return;const v=T.focusableChildren(u);v.length===0?u.focus():this._lastTabNavDirection===da?v[v.length-1].focus():v[0].focus()}_handleKeydown(i){i.key===vh&&(this._lastTabNavDirection=i.shiftKey?da:Eh)}}const pa=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ga=".sticky-top",ir="padding-right",ma="margin-right";class hi{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,ir,u=>u+i),this._setElementAttributes(pa,ir,u=>u+i),this._setElementAttributes(ga,ma,u=>u-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ir),this._resetElementAttributes(pa,ir),this._resetElementAttributes(ga,ma)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,u,v){const x=this.getWidth(),W=j=>{if(j!==this._element&&window.innerWidth>j.clientWidth+x)return;this._saveInitialAttribute(j,u);const ae=window.getComputedStyle(j).getPropertyValue(u);j.style.setProperty(u,`${v(Number.parseFloat(ae))}px`)};this._applyManipulationCallback(i,W)}_saveInitialAttribute(i,u){const v=i.style.getPropertyValue(u);v&&b.setDataAttribute(i,u,v)}_resetElementAttributes(i,u){const v=x=>{const W=b.getDataAttribute(x,u);if(W===null){x.style.removeProperty(u);return}b.removeDataAttribute(x,u),x.style.setProperty(u,W)};this._applyManipulationCallback(i,v)}_applyManipulationCallback(i,u){if(A(i)){u(i);return}for(const v of T.find(i,this._element))u(v)}}const Ah="modal",ot=".bs.modal",Th=".data-api",Ch="Escape",wh=`hide${ot}`,Sh=`hidePrevented${ot}`,_a=`hidden${ot}`,va=`show${ot}`,Oh=`shown${ot}`,Nh=`resize${ot}`,xh=`click.dismiss${ot}`,$h=`mousedown.dismiss${ot}`,Dh=`keydown.dismiss${ot}`,Lh=`click${ot}${Th}`,Ea="modal-open",Rh="fade",ba="show",pi="modal-static",Ih=".modal.show",Ph=".modal-dialog",Mh=".modal-body",kh='[data-bs-toggle="modal"]',Vh={backdrop:!0,focus:!0,keyboard:!0},Fh={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class gn extends R{constructor(i,u){super(i,u),this._dialog=T.findOne(Ph,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new hi,this._addEventListeners()}static get Default(){return Vh}static get DefaultType(){return Fh}static get NAME(){return Ah}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||C.trigger(this._element,va,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ea),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||C.trigger(this._element,wh).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ba),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){C.off(window,ot),C.off(this._dialog,ot),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new fa({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ha({trapElement:this._element})}_showElement(i){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 u=T.findOne(Mh,this._dialog);u&&(u.scrollTop=0),O(this._element),this._element.classList.add(ba);const v=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,C.trigger(this._element,Oh,{relatedTarget:i})};this._queueCallback(v,this._dialog,this._isAnimated())}_addEventListeners(){C.on(this._element,Dh,i=>{if(i.key===Ch){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),C.on(window,Nh,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),C.on(this._element,$h,i=>{C.one(this._element,xh,u=>{if(!(this._element!==i.target||this._element!==u.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(Ea),this._resetAdjustments(),this._scrollBar.reset(),C.trigger(this._element,_a)})}_isAnimated(){return this._element.classList.contains(Rh)}_triggerBackdropTransition(){if(C.trigger(this._element,Sh).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,v=this._element.style.overflowY;v==="hidden"||this._element.classList.contains(pi)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(pi),this._queueCallback(()=>{this._element.classList.remove(pi),this._queueCallback(()=>{this._element.style.overflowY=v},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,u=this._scrollBar.getWidth(),v=u>0;if(v&&!i){const x=w()?"paddingLeft":"paddingRight";this._element.style[x]=`${u}px`}if(!v&&i){const x=w()?"paddingRight":"paddingLeft";this._element.style[x]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,u){return this.each(function(){const v=gn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof v[i]>"u")throw new TypeError(`No method named "${i}"`);v[i](u)}})}}C.on(document,Lh,kh,function(m){const i=T.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&m.preventDefault(),C.one(i,va,x=>{x.defaultPrevented||C.one(i,_a,()=>{$(this)&&this.focus()})});const u=T.findOne(Ih);u&&gn.getInstance(u).hide(),gn.getOrCreateInstance(i).toggle(this)}),B(gn),k(gn);const Hh="offcanvas",xt=".bs.offcanvas",ya=".data-api",Bh=`load${xt}${ya}`,jh="Escape",Aa="show",Ta="showing",Ca="hiding",Wh="offcanvas-backdrop",wa=".offcanvas.show",Kh=`show${xt}`,Uh=`shown${xt}`,Yh=`hide${xt}`,Sa=`hidePrevented${xt}`,Oa=`hidden${xt}`,Gh=`resize${xt}`,qh=`click${xt}${ya}`,zh=`keydown.dismiss${xt}`,Xh='[data-bs-toggle="offcanvas"]',Qh={backdrop:!0,keyboard:!0,scroll:!1},Jh={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class $t extends R{constructor(i,u){super(i,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Qh}static get DefaultType(){return Jh}static get NAME(){return Hh}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||C.trigger(this._element,Kh,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new hi().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ta);const v=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Aa),this._element.classList.remove(Ta),C.trigger(this._element,Uh,{relatedTarget:i})};this._queueCallback(v,this._element,!0)}hide(){if(!this._isShown||C.trigger(this._element,Yh).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ca),this._backdrop.hide();const u=()=>{this._element.classList.remove(Aa,Ca),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new hi().reset(),C.trigger(this._element,Oa)};this._queueCallback(u,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){C.trigger(this._element,Sa);return}this.hide()},u=!!this._config.backdrop;return new fa({className:Wh,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?i:null})}_initializeFocusTrap(){return new ha({trapElement:this._element})}_addEventListeners(){C.on(this._element,zh,i=>{if(i.key===jh){if(this._config.keyboard){this.hide();return}C.trigger(this._element,Sa)}})}static jQueryInterface(i){return this.each(function(){const u=$t.getOrCreateInstance(this,i);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}C.on(document,qh,Xh,function(m){const i=T.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&m.preventDefault(),L(this))return;C.one(i,Oa,()=>{$(this)&&this.focus()});const u=T.findOne(wa);u&&u!==i&&$t.getInstance(u).hide(),$t.getOrCreateInstance(i).toggle(this)}),C.on(window,Bh,()=>{for(const m of T.find(wa))$t.getOrCreateInstance(m).show()}),C.on(window,Gh,()=>{for(const m of T.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(m).position!=="fixed"&&$t.getOrCreateInstance(m).hide()}),B($t),k($t);const Na={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Zh=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ep=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,tp=(m,i)=>{const u=m.nodeName.toLowerCase();return i.includes(u)?Zh.has(u)?!!ep.test(m.nodeValue):!0:i.filter(v=>v instanceof RegExp).some(v=>v.test(u))};function np(m,i,u){if(!m.length)return m;if(u&&typeof u=="function")return u(m);const x=new window.DOMParser().parseFromString(m,"text/html"),W=[].concat(...x.body.querySelectorAll("*"));for(const j of W){const ae=j.nodeName.toLowerCase();if(!Object.keys(i).includes(ae)){j.remove();continue}const Xe=[].concat(...j.attributes),at=[].concat(i["*"]||[],i[ae]||[]);for(const $e of Xe)tp($e,at)||j.removeAttribute($e.nodeName)}return x.body.innerHTML}const sp="TemplateFactory",rp={allowList:Na,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},ip={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},op={entry:"(string|element|function|null)",selector:"(string|element)"};class ap extends I{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return rp}static get DefaultType(){return ip}static get NAME(){return sp}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[x,W]of Object.entries(this._config.content))this._setContent(i,W,x);const u=i.children[0],v=this._resolvePossibleFunction(this._config.extraClass);return v&&u.classList.add(...v.split(" ")),u}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[u,v]of Object.entries(i))super._typeCheckConfig({selector:u,entry:v},op)}_setContent(i,u,v){const x=T.findOne(v,i);if(x){if(u=this._resolvePossibleFunction(u),!u){x.remove();return}if(A(u)){this._putElementInTemplate(M(u),x);return}if(this._config.html){x.innerHTML=this._maybeSanitize(u);return}x.textContent=u}}_maybeSanitize(i){return this._config.sanitize?np(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return z(i,[this])}_putElementInTemplate(i,u){if(this._config.html){u.innerHTML="",u.append(i);return}u.textContent=i.textContent}}const lp="tooltip",cp=new Set(["sanitize","allowList","sanitizeFn"]),gi="fade",up="modal",or="show",fp=".tooltip-inner",xa=`.${up}`,$a="hide.bs.modal",_s="hover",mi="focus",dp="click",hp="manual",pp="hide",gp="hidden",mp="show",_p="shown",vp="inserted",Ep="click",bp="focusin",yp="focusout",Ap="mouseenter",Tp="mouseleave",Cp={AUTO:"auto",TOP:"top",RIGHT:w()?"left":"right",BOTTOM:"bottom",LEFT:w()?"right":"left"},wp={allowList:Na,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:'',title:"",trigger:"hover focus"},Sp={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 R{constructor(i,u){if(typeof r>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(i,u),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 wp}static get DefaultType(){return Sp}static get NAME(){return lp}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),C.off(this._element.closest(xa),$a,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 i=C.trigger(this._element,this.constructor.eventName(mp)),v=(P(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!v)return;this._disposePopper();const x=this._getTipElement();this._element.setAttribute("aria-describedby",x.getAttribute("id"));const{container:W}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(W.append(x),C.trigger(this._element,this.constructor.eventName(vp))),this._popper=this._createPopper(x),x.classList.add(or),"ontouchstart"in document.documentElement)for(const ae of[].concat(...document.body.children))C.on(ae,"mouseover",D);const j=()=>{C.trigger(this._element,this.constructor.eventName(_p)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(j,this.tip,this._isAnimated())}hide(){if(!this._isShown()||C.trigger(this._element,this.constructor.eventName(pp)).defaultPrevented)return;if(this._getTipElement().classList.remove(or),"ontouchstart"in document.documentElement)for(const x of[].concat(...document.body.children))C.off(x,"mouseover",D);this._activeTrigger[dp]=!1,this._activeTrigger[mi]=!1,this._activeTrigger[_s]=!1,this._isHovered=null;const v=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),C.trigger(this._element,this.constructor.eventName(gp)))};this._queueCallback(v,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(i){const u=this._getTemplateFactory(i).toHtml();if(!u)return null;u.classList.remove(gi,or),u.classList.add(`bs-${this.constructor.NAME}-auto`);const v=p(this.constructor.NAME).toString();return u.setAttribute("id",v),this._isAnimated()&&u.classList.add(gi),u}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new ap({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[fp]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(gi)}_isShown(){return this.tip&&this.tip.classList.contains(or)}_createPopper(i){const u=z(this._config.placement,[this,i,this._element]),v=Cp[u.toUpperCase()];return r.createPopper(this._element,i,this._getPopperConfig(v))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(u=>Number.parseInt(u,10)):typeof i=="function"?u=>i(u,this._element):i}_resolvePossibleFunction(i){return z(i,[this._element])}_getPopperConfig(i){const u={placement:i,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:v=>{this._getTipElement().setAttribute("data-popper-placement",v.state.placement)}}]};return{...u,...z(this._config.popperConfig,[u])}}_setListeners(){const i=this._config.trigger.split(" ");for(const u of i)if(u==="click")C.on(this._element,this.constructor.eventName(Ep),this._config.selector,v=>{this._initializeOnDelegatedTarget(v).toggle()});else if(u!==hp){const v=u===_s?this.constructor.eventName(Ap):this.constructor.eventName(bp),x=u===_s?this.constructor.eventName(Tp):this.constructor.eventName(yp);C.on(this._element,v,this._config.selector,W=>{const j=this._initializeOnDelegatedTarget(W);j._activeTrigger[W.type==="focusin"?mi:_s]=!0,j._enter()}),C.on(this._element,x,this._config.selector,W=>{const j=this._initializeOnDelegatedTarget(W);j._activeTrigger[W.type==="focusout"?mi:_s]=j._element.contains(W.relatedTarget),j._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},C.on(this._element.closest(xa),$a,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),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(i,u){clearTimeout(this._timeout),this._timeout=setTimeout(i,u)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const u=b.getDataAttributes(this._element);for(const v of Object.keys(u))cp.has(v)&&delete u[v];return i={...u,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:M(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[u,v]of Object.entries(this._config))this.constructor.Default[u]!==v&&(i[u]=v);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const u=mn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}k(mn);const Op="popover",Np=".popover-header",xp=".popover-body",$p={...mn.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},Dp={...mn.DefaultType,content:"(null|string|element|function)"};class ar extends mn{static get Default(){return $p}static get DefaultType(){return Dp}static get NAME(){return Op}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Np]:this._getTitle(),[xp]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const u=ar.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}k(ar);const Lp="scrollspy",_i=".bs.scrollspy",Rp=".data-api",Ip=`activate${_i}`,Da=`click${_i}`,Pp=`load${_i}${Rp}`,Mp="dropdown-item",Hn="active",kp='[data-bs-spy="scroll"]',vi="[href]",Vp=".nav, .list-group",La=".nav-link",Fp=`${La}, .nav-item > ${La}, .list-group-item`,Hp=".dropdown",Bp=".dropdown-toggle",jp={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Wp={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class vs extends R{constructor(i,u){super(i,u),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 jp}static get DefaultType(){return Wp}static get NAME(){return Lp}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=M(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(u=>Number.parseFloat(u))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(C.off(this._config.target,Da),C.on(this._config.target,Da,vi,i=>{const u=this._observableSections.get(i.target.hash);if(u){i.preventDefault();const v=this._rootElement||window,x=u.offsetTop-this._element.offsetTop;if(v.scrollTo){v.scrollTo({top:x,behavior:"smooth"});return}v.scrollTop=x}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(u=>this._observerCallback(u),i)}_observerCallback(i){const u=j=>this._targetLinks.get(`#${j.target.id}`),v=j=>{this._previousScrollData.visibleEntryTop=j.target.offsetTop,this._process(u(j))},x=(this._rootElement||document.documentElement).scrollTop,W=x>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=x;for(const j of i){if(!j.isIntersecting){this._activeTarget=null,this._clearActiveClass(u(j));continue}const ae=j.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(W&&ae){if(v(j),!x)return;continue}!W&&!ae&&v(j)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=T.find(vi,this._config.target);for(const u of i){if(!u.hash||L(u))continue;const v=T.findOne(decodeURI(u.hash),this._element);$(v)&&(this._targetLinks.set(decodeURI(u.hash),u),this._observableSections.set(u.hash,v))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Hn),this._activateParents(i),C.trigger(this._element,Ip,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(Mp)){T.findOne(Bp,i.closest(Hp)).classList.add(Hn);return}for(const u of T.parents(i,Vp))for(const v of T.prev(u,Fp))v.classList.add(Hn)}_clearActiveClass(i){i.classList.remove(Hn);const u=T.find(`${vi}.${Hn}`,i);for(const v of u)v.classList.remove(Hn)}static jQueryInterface(i){return this.each(function(){const u=vs.getOrCreateInstance(this,i);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}C.on(window,Pp,()=>{for(const m of T.find(kp))vs.getOrCreateInstance(m)}),k(vs);const Kp="tab",_n=".bs.tab",Up=`hide${_n}`,Yp=`hidden${_n}`,Gp=`show${_n}`,qp=`shown${_n}`,zp=`click${_n}`,Xp=`keydown${_n}`,Qp=`load${_n}`,Jp="ArrowLeft",Ra="ArrowRight",Zp="ArrowUp",Ia="ArrowDown",Ei="Home",Pa="End",vn="active",Ma="fade",bi="show",eg="dropdown",ka=".dropdown-toggle",tg=".dropdown-menu",yi=`:not(${ka})`,ng='.list-group, .nav, [role="tablist"]',sg=".nav-item, .list-group-item",rg=`.nav-link${yi}, .list-group-item${yi}, [role="tab"]${yi}`,Va='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ai=`${rg}, ${Va}`,ig=`.${vn}[data-bs-toggle="tab"], .${vn}[data-bs-toggle="pill"], .${vn}[data-bs-toggle="list"]`;class En extends R{constructor(i){super(i),this._parent=this._element.closest(ng),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),C.on(this._element,Xp,u=>this._keydown(u)))}static get NAME(){return Kp}show(){const i=this._element;if(this._elemIsActive(i))return;const u=this._getActiveElem(),v=u?C.trigger(u,Up,{relatedTarget:i}):null;C.trigger(i,Gp,{relatedTarget:u}).defaultPrevented||v&&v.defaultPrevented||(this._deactivate(u,i),this._activate(i,u))}_activate(i,u){if(!i)return;i.classList.add(vn),this._activate(T.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(bi);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),C.trigger(i,qp,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ma))}_deactivate(i,u){if(!i)return;i.classList.remove(vn),i.blur(),this._deactivate(T.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(bi);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),C.trigger(i,Yp,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ma))}_keydown(i){if(![Jp,Ra,Zp,Ia,Ei,Pa].includes(i.key))return;i.stopPropagation(),i.preventDefault();const u=this._getChildren().filter(x=>!L(x));let v;if([Ei,Pa].includes(i.key))v=u[i.key===Ei?0:u.length-1];else{const x=[Ra,Ia].includes(i.key);v=Q(u,i.target,x,!0)}v&&(v.focus({preventScroll:!0}),En.getOrCreateInstance(v).show())}_getChildren(){return T.find(Ai,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,u){this._setAttributeIfNotExists(i,"role","tablist");for(const v of u)this._setInitialAttributesOnChild(v)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const u=this._elemIsActive(i),v=this._getOuterElement(i);i.setAttribute("aria-selected",u),v!==i&&this._setAttributeIfNotExists(v,"role","presentation"),u||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const u=T.getElementFromSelector(i);u&&(this._setAttributeIfNotExists(u,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(u,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,u){const v=this._getOuterElement(i);if(!v.classList.contains(eg))return;const x=(W,j)=>{const ae=T.findOne(W,v);ae&&ae.classList.toggle(j,u)};x(ka,vn),x(tg,bi),v.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(i,u,v){i.hasAttribute(u)||i.setAttribute(u,v)}_elemIsActive(i){return i.classList.contains(vn)}_getInnerElement(i){return i.matches(Ai)?i:T.findOne(Ai,i)}_getOuterElement(i){return i.closest(sg)||i}static jQueryInterface(i){return this.each(function(){const u=En.getOrCreateInstance(this);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}C.on(document,zp,Va,function(m){["A","AREA"].includes(this.tagName)&&m.preventDefault(),!L(this)&&En.getOrCreateInstance(this).show()}),C.on(window,Qp,()=>{for(const m of T.find(ig))En.getOrCreateInstance(m)}),k(En);const og="toast",Kt=".bs.toast",ag=`mouseover${Kt}`,lg=`mouseout${Kt}`,cg=`focusin${Kt}`,ug=`focusout${Kt}`,fg=`hide${Kt}`,dg=`hidden${Kt}`,hg=`show${Kt}`,pg=`shown${Kt}`,gg="fade",Fa="hide",lr="show",cr="showing",mg={animation:"boolean",autohide:"boolean",delay:"number"},_g={animation:!0,autohide:!0,delay:5e3};class Es extends R{constructor(i,u){super(i,u),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return _g}static get DefaultType(){return mg}static get NAME(){return og}show(){if(C.trigger(this._element,hg).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(gg);const u=()=>{this._element.classList.remove(cr),C.trigger(this._element,pg),this._maybeScheduleHide()};this._element.classList.remove(Fa),O(this._element),this._element.classList.add(lr,cr),this._queueCallback(u,this._element,this._config.animation)}hide(){if(!this.isShown()||C.trigger(this._element,fg).defaultPrevented)return;const u=()=>{this._element.classList.add(Fa),this._element.classList.remove(cr,lr),C.trigger(this._element,dg)};this._element.classList.add(cr),this._queueCallback(u,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(lr),super.dispose()}isShown(){return this._element.classList.contains(lr)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,u){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=u;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=u;break}}if(u){this._clearTimeout();return}const v=i.relatedTarget;this._element===v||this._element.contains(v)||this._maybeScheduleHide()}_setListeners(){C.on(this._element,ag,i=>this._onInteraction(i,!0)),C.on(this._element,lg,i=>this._onInteraction(i,!1)),C.on(this._element,cg,i=>this._onInteraction(i,!0)),C.on(this._element,ug,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const u=Es.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}return B(Es),k(Es),{Alert:ue,Button:Me,Carousel:Mn,Collapse:Vn,Dropdown:pt,Modal:gn,Offcanvas:$t,Popover:ar,ScrollSpy:vs,Tab:En,Toast:Es,Tooltip:mn}})})(yg);/** * @vue/shared v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **//*! #__NO_SIDE_EFFECTS__ */function Ao(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const _e={},Gn=[],St=()=>{},fm=()=>!1,Ur=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),To=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Co=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},dm=Object.prototype.hasOwnProperty,he=(e,t)=>dm.call(e,t),te=Array.isArray,qn=e=>Us(e)==="[object Map]",fs=e=>Us(e)==="[object Set]",qa=e=>Us(e)==="[object Date]",ie=e=>typeof e=="function",be=e=>typeof e=="string",Nt=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",Ic=e=>(ve(e)||ie(e))&&ie(e.then)&&ie(e.catch),Pc=Object.prototype.toString,Us=e=>Pc.call(e),hm=e=>Us(e).slice(8,-1),Mc=e=>Us(e)==="[object Object]",wo=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Os=Ao(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},pm=/-(\w)/g,ht=Yr(e=>e.replace(pm,(t,n)=>n?n.toUpperCase():"")),gm=/\B([A-Z])/g,ln=Yr(e=>e.replace(gm,"-$1").toLowerCase()),Gr=Yr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ti=Yr(e=>e?`on${Gr(e)}`:""),sn=(e,t)=>!Object.is(e,t),Tr=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Dr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vc=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let za;const Fc=()=>za||(za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qr(e){if(te(e)){const t={};for(let n=0;n{if(n){const s=n.split(_m);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function zr(e){let t="";if(be(e))t=e;else if(te(e))for(let n=0;n$n(n,t))}const Bc=e=>!!(e&&e.__v_isRef===!0),jc=e=>be(e)?e:e==null?"":te(e)||ve(e)&&(e.toString===Pc||!ie(e.toString))?Bc(e)?jc(e.value):JSON.stringify(e,Wc,2):String(e),Wc=(e,t)=>Bc(t)?Wc(e,t.value):qn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ci(s,o)+" =>"]=r,n),{})}:fs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ci(n))}:Nt(t)?Ci(t):ve(t)&&!te(t)&&!Mc(t)?String(t):t,Ci=(e,t="")=>{var n;return Nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ye;class Kc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;if(xs){let t=xs;for(xs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ns;){let t=Ns;for(Ns=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Xc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Qc(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),xo(s),Cm(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Wi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Jc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ms))return;e.globalVersion=Ms;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Wi(e)){e.flags&=-3;return}const n=Ee,s=vt;Ee=e,vt=!0;try{Xc(e);const r=e.fn(e._value);(t.version===0||sn(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ee=n,vt=s,Qc(e),e.flags&=-3}}function xo(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s),!n.subs&&n.computed){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)xo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Cm(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let vt=!0;const Zc=[];function cn(){Zc.push(vt),vt=!1}function un(){const e=Zc.pop();vt=e===void 0?!0:e}function Xa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ee;Ee=void 0;try{t()}finally{Ee=n}}}let Ms=0;class wm{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class $o{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ee||!vt||Ee===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ee)n=this.activeLink=new wm(Ee,this),Ee.deps?(n.prevDep=Ee.depsTail,Ee.depsTail.nextDep=n,Ee.depsTail=n):Ee.deps=Ee.depsTail=n,eu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ee.depsTail,n.nextDep=void 0,Ee.depsTail.nextDep=n,Ee.depsTail=n,Ee.deps===n&&(Ee.deps=s)}return n}trigger(t){this.version++,Ms++,this.notify(t)}notify(t){Oo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{No()}}}function eu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)eu(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Lr=new WeakMap,wn=Symbol(""),Ki=Symbol(""),ks=Symbol("");function Fe(e,t,n){if(vt&&Ee){let s=Lr.get(e);s||Lr.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new $o),r.map=s,r.key=n),r.track()}}function Ft(e,t,n,s,r,o){const a=Lr.get(e);if(!a){Ms++;return}const l=c=>{c&&c.trigger()};if(Oo(),t==="clear")a.forEach(l);else{const c=te(e),d=c&&wo(n);if(c&&n==="length"){const f=Number(s);a.forEach((h,p)=>{(p==="length"||p===ks||!Nt(p)&&p>=f)&&l(h)})}else switch(n!==void 0&&l(a.get(n)),d&&l(a.get(ks)),t){case"add":c?d&&l(a.get("length")):(l(a.get(wn)),qn(e)&&l(a.get(Ki)));break;case"delete":c||(l(a.get(wn)),qn(e)&&l(a.get(Ki)));break;case"set":qn(e)&&l(a.get(wn));break}}No()}function Sm(e,t){const n=Lr.get(e);return n&&n.get(t)}function jn(e){const t=fe(e);return t===e?t:(Fe(t,"iterate",ks),ut(e)?t:t.map(ke))}function Xr(e){return Fe(e=fe(e),"iterate",ks),e}const Om={__proto__:null,[Symbol.iterator](){return Si(this,Symbol.iterator,ke)},concat(...e){return jn(this).concat(...e.map(t=>te(t)?jn(t):t))},entries(){return Si(this,"entries",e=>(e[1]=ke(e[1]),e))},every(e,t){return Dt(this,"every",e,t,void 0,arguments)},filter(e,t){return Dt(this,"filter",e,t,n=>n.map(ke),arguments)},find(e,t){return Dt(this,"find",e,t,ke,arguments)},findIndex(e,t){return Dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Dt(this,"findLast",e,t,ke,arguments)},findLastIndex(e,t){return Dt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Oi(this,"includes",e)},indexOf(...e){return Oi(this,"indexOf",e)},join(e){return jn(this).join(e)},lastIndexOf(...e){return Oi(this,"lastIndexOf",e)},map(e,t){return Dt(this,"map",e,t,void 0,arguments)},pop(){return bs(this,"pop")},push(...e){return bs(this,"push",e)},reduce(e,...t){return Qa(this,"reduce",e,t)},reduceRight(e,...t){return Qa(this,"reduceRight",e,t)},shift(){return bs(this,"shift")},some(e,t){return Dt(this,"some",e,t,void 0,arguments)},splice(...e){return bs(this,"splice",e)},toReversed(){return jn(this).toReversed()},toSorted(e){return jn(this).toSorted(e)},toSpliced(...e){return jn(this).toSpliced(...e)},unshift(...e){return bs(this,"unshift",e)},values(){return Si(this,"values",ke)}};function Si(e,t,n){const s=Xr(e),r=s[t]();return s!==e&&!ut(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const Nm=Array.prototype;function Dt(e,t,n,s,r,o){const a=Xr(e),l=a!==e&&!ut(e),c=a[t];if(c!==Nm[t]){const h=c.apply(e,o);return l?ke(h):h}let d=n;a!==e&&(l?d=function(h,p){return n.call(this,ke(h),p,e)}:n.length>2&&(d=function(h,p){return n.call(this,h,p,e)}));const f=c.call(a,d,s);return l&&r?r(f):f}function Qa(e,t,n,s){const r=Xr(e);let o=n;return r!==e&&(ut(e)?n.length>3&&(o=function(a,l,c){return n.call(this,a,l,c,e)}):o=function(a,l,c){return n.call(this,a,ke(l),c,e)}),r[t](o,...s)}function Oi(e,t,n){const s=fe(e);Fe(s,"iterate",ks);const r=s[t](...n);return(r===-1||r===!1)&&Io(n[0])?(n[0]=fe(n[0]),s[t](...n)):r}function bs(e,t,n=[]){cn(),Oo();const s=fe(e)[t].apply(e,n);return No(),un(),s}const xm=Ao("__proto__,__v_isRef,__isVue"),tu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Nt));function $m(e){Nt(e)||(e=String(e));const t=fe(this);return Fe(t,"has",e),t.hasOwnProperty(e)}class nu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Wm:ou:o?iu:ru).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=te(t);if(!r){let c;if(a&&(c=Om[n]))return c;if(n==="hasOwnProperty")return $m}const l=Reflect.get(t,n,Te(t)?t:s);return(Nt(n)?tu.has(n):xm(n))||(r||Fe(t,"get",n),o)?l:Te(l)?a&&wo(n)?l:l.value:ve(l)?r?lu(l):Ys(l):l}}class su extends nu{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Dn(o);if(!ut(s)&&!Dn(s)&&(o=fe(o),s=fe(s)),!te(t)&&Te(o)&&!Te(s))return c?!1:(o.value=s,!0)}const a=te(t)&&wo(n)?Number(n)e,Qr=e=>Reflect.getPrototypeOf(e);function dr(e,t,n=!1,s=!1){e=e.__v_raw;const r=fe(e),o=fe(t);n||(sn(t,o)&&Fe(r,"get",t),Fe(r,"get",o));const{has:a}=Qr(r),l=s?Do:n?Po:ke;if(a.call(r,t))return l(e.get(t));if(a.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function hr(e,t=!1){const n=this.__v_raw,s=fe(n),r=fe(e);return t||(sn(e,r)&&Fe(s,"has",e),Fe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function pr(e,t=!1){return e=e.__v_raw,!t&&Fe(fe(e),"iterate",wn),Reflect.get(e,"size",e)}function Ja(e,t=!1){!t&&!ut(e)&&!Dn(e)&&(e=fe(e));const n=fe(this);return Qr(n).has.call(n,e)||(n.add(e),Ft(n,"add",e,e)),this}function Za(e,t,n=!1){!n&&!ut(t)&&!Dn(t)&&(t=fe(t));const s=fe(this),{has:r,get:o}=Qr(s);let a=r.call(s,e);a||(e=fe(e),a=r.call(s,e));const l=o.call(s,e);return s.set(e,t),a?sn(t,l)&&Ft(s,"set",e,t):Ft(s,"add",e,t),this}function el(e){const t=fe(this),{has:n,get:s}=Qr(t);let r=n.call(t,e);r||(e=fe(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ft(t,"delete",e,void 0),o}function tl(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&Ft(e,"clear",void 0,void 0),n}function gr(e,t){return function(s,r){const o=this,a=o.__v_raw,l=fe(a),c=t?Do:e?Po:ke;return!e&&Fe(l,"iterate",wn),a.forEach((d,f)=>s.call(r,c(d),c(f),o))}}function mr(e,t,n){return function(...s){const r=this.__v_raw,o=fe(r),a=qn(o),l=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,d=r[e](...s),f=n?Do:t?Po:ke;return!t&&Fe(o,"iterate",c?Ki:wn),{next(){const{value:h,done:p}=d.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}},[Symbol.iterator](){return this}}}}function Ut(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pm(){const e={get(o){return dr(this,o)},get size(){return pr(this)},has:hr,add:Ja,set:Za,delete:el,clear:tl,forEach:gr(!1,!1)},t={get(o){return dr(this,o,!1,!0)},get size(){return pr(this)},has:hr,add(o){return Ja.call(this,o,!0)},set(o,a){return Za.call(this,o,a,!0)},delete:el,clear:tl,forEach:gr(!1,!0)},n={get(o){return dr(this,o,!0)},get size(){return pr(this,!0)},has(o){return hr.call(this,o,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:gr(!0,!1)},s={get(o){return dr(this,o,!0,!0)},get size(){return pr(this,!0)},has(o){return hr.call(this,o,!0)},add:Ut("add"),set:Ut("set"),delete:Ut("delete"),clear:Ut("clear"),forEach:gr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=mr(o,!1,!1),n[o]=mr(o,!0,!1),t[o]=mr(o,!1,!0),s[o]=mr(o,!0,!0)}),[e,n,t,s]}const[Mm,km,Vm,Fm]=Pm();function Lo(e,t){const n=t?e?Fm:Vm:e?km:Mm;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(he(n,r)&&r in s?n:s,r,o)}const Hm={get:Lo(!1,!1)},Bm={get:Lo(!1,!0)},jm={get:Lo(!0,!1)};const ru=new WeakMap,iu=new WeakMap,ou=new WeakMap,Wm=new WeakMap;function Km(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Um(e){return e.__v_skip||!Object.isExtensible(e)?0:Km(hm(e))}function Ys(e){return Dn(e)?e:Ro(e,!1,Lm,Hm,ru)}function au(e){return Ro(e,!1,Im,Bm,iu)}function lu(e){return Ro(e,!0,Rm,jm,ou)}function Ro(e,t,n,s,r){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const a=Um(e);if(a===0)return e;const l=new Proxy(e,a===2?s:n);return r.set(e,l),l}function nn(e){return Dn(e)?nn(e.__v_raw):!!(e&&e.__v_isReactive)}function Dn(e){return!!(e&&e.__v_isReadonly)}function ut(e){return!!(e&&e.__v_isShallow)}function Io(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Jr(e){return!he(e,"__v_skip")&&Object.isExtensible(e)&&kc(e,"__v_skip",!0),e}const ke=e=>ve(e)?Ys(e):e,Po=e=>ve(e)?lu(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function Sn(e){return uu(e,!1)}function cu(e){return uu(e,!0)}function uu(e,t){return Te(e)?e:new Ym(e,t)}class Ym{constructor(t,n){this.dep=new $o,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:ke(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||ut(t)||Dn(t);t=s?t:fe(t),sn(t,n)&&(this._rawValue=t,this._value=s?t:ke(t),this.dep.trigger())}}function Ht(e){return Te(e)?e.value:e}const Gm={get:(e,t,n)=>t==="__v_raw"?e:Ht(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Te(r)&&!Te(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function fu(e){return nn(e)?e:new Proxy(e,Gm)}function qm(e){const t=te(e)?new Array(e.length):{};for(const n in e)t[n]=du(e,n);return t}class zm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Sm(fe(this._object),this._key)}}class Xm{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Ub(e,t,n){return Te(e)?e:ie(e)?new Xm(e):ve(e)&&arguments.length>1?du(e,t,n):Sn(e)}function du(e,t,n){const s=e[t];return Te(s)?s:new zm(e,t,n)}class Qm{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new $o(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ee!==this)return zc(this,!0),!0}get value(){const t=this.dep.track();return Jc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Jm(e,t,n=!1){let s,r;return ie(e)?s=e:(s=e.get,r=e.set),new Qm(s,r,n)}const _r={},Rr=new WeakMap;let Tn;function Zm(e,t=!1,n=Tn){if(n){let s=Rr.get(n);s||Rr.set(n,s=[]),s.push(e)}}function e_(e,t,n=_e){const{immediate:s,deep:r,once:o,scheduler:a,augmentJob:l,call:c}=n,d=D=>r?D:ut(D)||r===!1||r===0?kt(D,1):kt(D);let f,h,p,E,y=!1,A=!1;if(Te(e)?(h=()=>e.value,y=ut(e)):nn(e)?(h=()=>d(e),y=!0):te(e)?(A=!0,y=e.some(D=>nn(D)||ut(D)),h=()=>e.map(D=>{if(Te(D))return D.value;if(nn(D))return d(D);if(ie(D))return c?c(D,2):D()})):ie(e)?t?h=c?()=>c(e,2):e:h=()=>{if(p){cn();try{p()}finally{un()}}const D=Tn;Tn=f;try{return c?c(e,3,[E]):e(E)}finally{Tn=D}}:h=St,t&&r){const D=h,O=r===!0?1/0:r;h=()=>kt(D(),O)}const M=Yc(),$=()=>{f.stop(),M&&Co(M.effects,f)};if(o&&t){const D=t;t=(...O)=>{D(...O),$()}}let L=A?new Array(e.length).fill(_r):_r;const P=D=>{if(!(!(f.flags&1)||!f.dirty&&!D))if(t){const O=f.run();if(r||y||(A?O.some((F,Y)=>sn(F,L[Y])):sn(O,L))){p&&p();const F=Tn;Tn=f;try{const Y=[O,L===_r?void 0:A&&L[0]===_r?[]:L,E];c?c(t,3,Y):t(...Y),L=O}finally{Tn=F}}}else f.run()};return l&&l(P),f=new Gc(h),f.scheduler=a?()=>a(P,!1):P,E=D=>Zm(D,!1,f),p=f.onStop=()=>{const D=Rr.get(f);if(D){if(c)c(D,4);else for(const O of D)O();Rr.delete(f)}},t?s?P(!0):L=f.run():a?a(P.bind(null,!0),!0):f.run(),$.pause=f.pause.bind(f),$.resume=f.resume.bind(f),$.stop=$,$}function kt(e,t=1/0,n){if(t<=0||!ve(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Te(e))kt(e.value,t,n);else if(te(e))for(let s=0;s{kt(s,t,n)});else if(Mc(e)){for(const s in e)kt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&kt(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Gs(e,t,n,s){try{return s?e(...s):e()}catch(r){ds(r,t,n)}}function Et(e,t,n,s){if(ie(e)){const r=Gs(e,t,n,s);return r&&Ic(r)&&r.catch(o=>{ds(o,t,n)}),r}if(te(e)){const r=[];for(let o=0;o>>1,r=Ge[s],o=Vs(r);o=Vs(n)?Ge.push(e):Ge.splice(n_(t),0,e),e.flags|=1,pu()}}function pu(){Ir||(Ir=hu.then(mu))}function Ui(e){te(e)?zn.push(...e):Xt&&e.id===-1?Xt.splice(Un+1,0,e):e.flags&1||(zn.push(e),e.flags|=1),pu()}function nl(e,t,n=Tt+1){for(;nVs(n)-Vs(s));if(zn.length=0,Xt){Xt.push(...t);return}for(Xt=t,Un=0;Une.id==null?e.flags&2?-1:1/0:e.id;function mu(e){try{for(Tt=0;Tt{s._d&&ml(-1);const o=Pr(t);let a;try{a=e(...r)}finally{Pr(o),s._d&&ml(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function Yb(e,t){if(xe===null)return e;const n=si(xe),s=e.dirs||(e.dirs=[]);for(let r=0;re.__isTeleport,$s=e=>e&&(e.disabled||e.disabled===""),s_=e=>e&&(e.defer||e.defer===""),sl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,rl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Yi=(e,t)=>{const n=e&&e.to;return be(n)?t?t(n):null:n},r_={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,a,l,c,d){const{mc:f,pc:h,pbc:p,o:{insert:E,querySelector:y,createText:A,createComment:M}}=d,$=$s(t.props);let{shapeFlag:L,children:P,dynamicChildren:D}=t;if(e==null){const O=t.el=A(""),F=t.anchor=A("");E(O,n,s),E(F,n,s);const Y=(w,k)=>{L&16&&(r&&r.isCE&&(r.ce._teleportTarget=w),f(P,w,k,r,o,a,l,c))},K=()=>{const w=t.target=Yi(t.props,y),k=bu(w,t,A,E);w&&(a!=="svg"&&sl(w)?a="svg":a!=="mathml"&&rl(w)&&(a="mathml"),$||(Y(w,k),wr(t)))};$&&(Y(n,F),wr(t)),s_(t.props)?Je(K,o):K()}else{t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,F=t.target=e.target,Y=t.targetAnchor=e.targetAnchor,K=$s(e.props),w=K?n:F,k=K?O:Y;if(a==="svg"||sl(F)?a="svg":(a==="mathml"||rl(F))&&(a="mathml"),D?(p(e.dynamicChildren,D,w,r,o,a,l),Ko(e,t,!0)):c||h(e,t,w,k,r,o,a,l,!1),$)K?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):vr(t,n,O,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const z=t.target=Yi(t.props,y);z&&vr(t,z,null,d,0)}else K&&vr(t,F,Y,d,1);wr(t)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:a,children:l,anchor:c,targetStart:d,targetAnchor:f,target:h,props:p}=e;if(h&&(r(d),r(f)),o&&r(c),a&16){const E=o||!$s(p);for(let y=0;y{e.isMounted=!0}),xu(()=>{e.isUnmounting=!0}),e}const lt=[Function,Array],Au={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lt,onEnter:lt,onAfterEnter:lt,onEnterCancelled:lt,onBeforeLeave:lt,onLeave:lt,onAfterLeave:lt,onLeaveCancelled:lt,onBeforeAppear:lt,onAppear:lt,onAfterAppear:lt,onAppearCancelled:lt},Tu=e=>{const t=e.subTree;return t.component?Tu(t.component):t},o_={name:"BaseTransition",props:Au,setup(e,{slots:t}){const n=zs(),s=yu();return()=>{const r=t.default&&ko(t.default(),!0);if(!r||!r.length)return;const o=Cu(r),a=fe(e),{mode:l}=a;if(s.isLeaving)return Ni(o);const c=il(o);if(!c)return Ni(o);let d=Fs(c,a,s,n,p=>d=p);c.type!==Ie&&Ln(c,d);const f=n.subTree,h=f&&il(f);if(h&&h.type!==Ie&&!Ct(c,h)&&Tu(n).type!==Ie){const p=Fs(h,a,s,n);if(Ln(h,p),l==="out-in"&&c.type!==Ie)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},Ni(o);l==="in-out"&&c.type!==Ie&&(p.delayLeave=(E,y,A)=>{const M=wu(s,h);M[String(h.key)]=h,E[Qt]=()=>{y(),E[Qt]=void 0,delete d.delayedLeave},d.delayedLeave=A})}return o}}};function Cu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ie){t=n;break}}return t}const a_=o_;function wu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Fs(e,t,n,s,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:p,onLeave:E,onAfterLeave:y,onLeaveCancelled:A,onBeforeAppear:M,onAppear:$,onAfterAppear:L,onAppearCancelled:P}=t,D=String(e.key),O=wu(n,e),F=(w,k)=>{w&&Et(w,s,9,k)},Y=(w,k)=>{const z=k[1];F(w,k),te(w)?w.every(H=>H.length<=1)&&z():w.length<=1&&z()},K={mode:a,persisted:l,beforeEnter(w){let k=c;if(!n.isMounted)if(o)k=M||c;else return;w[Qt]&&w[Qt](!0);const z=O[D];z&&Ct(e,z)&&z.el[Qt]&&z.el[Qt](),F(k,[w])},enter(w){let k=d,z=f,H=h;if(!n.isMounted)if(o)k=$||d,z=L||f,H=P||h;else return;let Q=!1;const ce=w[Er]=me=>{Q||(Q=!0,me?F(H,[w]):F(z,[w]),K.delayedLeave&&K.delayedLeave(),w[Er]=void 0)};k?Y(k,[w,ce]):ce()},leave(w,k){const z=String(e.key);if(w[Er]&&w[Er](!0),n.isUnmounting)return k();F(p,[w]);let H=!1;const Q=w[Qt]=ce=>{H||(H=!0,k(),ce?F(A,[w]):F(y,[w]),w[Qt]=void 0,O[z]===e&&delete O[z])};O[z]=e,E?Y(E,[w,Q]):Q()},clone(w){const k=Fs(w,t,n,s,r);return r&&r(k),k}};return K}function Ni(e){if(qs(e))return e=rn(e),e.children=null,e}function il(e){if(!qs(e))return Eu(e.type)&&e.children?Cu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ie(n.default))return n.default()}}function Ln(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ln(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ko(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;on.value,set:o=>n.value=o})}return n}function Gi(e,t,n,s,r=!1){if(te(e)){e.forEach((y,A)=>Gi(y,t&&(te(t)?t[A]:t),n,s,r));return}if(Xn(s)&&!r)return;const o=s.shapeFlag&4?si(s.component):s.el,a=r?null:o,{i:l,r:c}=e,d=t&&t.r,f=l.refs===_e?l.refs={}:l.refs,h=l.setupState,p=fe(h),E=h===_e?()=>!1:y=>he(p,y);if(d!=null&&d!==c&&(be(d)?(f[d]=null,E(d)&&(h[d]=null)):Te(d)&&(d.value=null)),ie(c))Gs(c,l,12,[a,f]);else{const y=be(c),A=Te(c);if(y||A){const M=()=>{if(e.f){const $=y?E(c)?h[c]:f[c]:c.value;r?te($)&&Co($,o):te($)?$.includes(o)||$.push(o):y?(f[c]=[o],E(c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else y?(f[c]=a,E(c)&&(h[c]=a)):A&&(c.value=a,e.k&&(f[e.k]=a))};a?(M.id=-1,Je(M,n)):M()}}}const ol=e=>e.nodeType===8;function l_(e,t){if(ol(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(ol(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Xn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function zb(e){ie(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:o,timeout:a,suspensible:l=!0,onError:c}=e;let d=null,f,h=0;const p=()=>(h++,d=null,E()),E=()=>{let y;return d||(y=d=t().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),c)return new Promise((M,$)=>{c(A,()=>M(p()),()=>$(A),h+1)});throw A}).then(A=>y!==d&&d?d:(A&&(A.__esModule||A[Symbol.toStringTag]==="Module")&&(A=A.default),f=A,A)))};return Vo({name:"AsyncComponentWrapper",__asyncLoader:E,__asyncHydrate(y,A,M){const $=o?()=>{const L=o(M,P=>l_(y,P));L&&(A.bum||(A.bum=[])).push(L)}:M;f?$():E().then(()=>!A.isUnmounted&&$())},get __asyncResolved(){return f},setup(){const y=Ne;if(Fo(y),f)return()=>xi(f,y);const A=P=>{d=null,ds(P,y,13,!s)};if(l&&y.suspense||Qs)return E().then(P=>()=>xi(P,y)).catch(P=>(A(P),()=>s?Ae(s,{error:P}):null));const M=Sn(!1),$=Sn(),L=Sn(!!r);return r&&setTimeout(()=>{L.value=!1},r),a!=null&&setTimeout(()=>{if(!M.value&&!$.value){const P=new Error(`Async component timed out after ${a}ms.`);A(P),$.value=P}},a),E().then(()=>{M.value=!0,y.parent&&qs(y.parent.vnode)&&y.parent.update()}).catch(P=>{A(P),$.value=P}),()=>{if(M.value&&f)return xi(f,y);if($.value&&s)return Ae(s,{error:$.value});if(n&&!L.value)return Ae(n)}}})}function xi(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,a=Ae(e,s,r);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const qs=e=>e.type.__isKeepAlive;function c_(e,t){Su(e,"a",t)}function u_(e,t){Su(e,"da",t)}function Su(e,t,n=Ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ei(t,s,n),n){let r=n.parent;for(;r&&r.parent;)qs(r.parent.vnode)&&f_(s,t,n,r),r=r.parent}}function f_(e,t,n,s){const r=ei(t,e,s,!0);Bo(()=>{Co(s[t],r)},n)}function ei(e,t,n=Ne,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{cn();const l=Xs(n),c=Et(t,n,e,a);return l(),un(),c});return s?r.unshift(o):r.push(o),o}}const jt=e=>(t,n=Ne)=>{(!Qs||e==="sp")&&ei(e,(...s)=>t(...s),n)},Ou=jt("bm"),Ho=jt("m"),d_=jt("bu"),Nu=jt("u"),xu=jt("bum"),Bo=jt("um"),h_=jt("sp"),p_=jt("rtg"),g_=jt("rtc");function m_(e,t=Ne){ei("ec",e,t)}const $u="components";function Xb(e,t){return Lu($u,e,!0,t)||e}const Du=Symbol.for("v-ndc");function __(e){return be(e)?Lu($u,e,!1)||e:e||Du}function Lu(e,t,n=!0,s=!1){const r=xe||Ne;if(r){const o=r.type;{const l=fv(o,!1);if(l&&(l===t||l===ht(t)||l===Gr(ht(t))))return o}const a=al(r[e]||o[e],t)||al(r.appContext[e],t);return!a&&s?o:a}}function al(e,t){return e&&(e[t]||e[ht(t)]||e[Gr(ht(t))])}function Qb(e,t,n,s){let r;const o=n,a=te(e);if(a||be(e)){const l=a&&nn(e);let c=!1;l&&(c=!ut(e),e=Xr(e)),r=new Array(e.length);for(let d=0,f=e.length;dt(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;c{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function Zb(e,t,n={},s,r){if(xe.ce||xe.parent&&Xn(xe.parent)&&xe.parent.ce)return t!=="default"&&(n.name=t),en(),Bs(Ve,null,[Ae("slot",n,s)],64);let o=e[t];o&&o._c&&(o._d=!1),en();const a=o&&Ru(o(n)),l=Bs(Ve,{key:(n.key||a&&a.key||`_${t}`)+(!a&&s?"_fb":"")},a||[],a&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Ru(e){return e.some(t=>is(t)?!(t.type===Ie||t.type===Ve&&!Ru(t.children)):!0)?e:null}const qi=e=>e?tf(e)?si(e):qi(e.parent):null,Ds=Oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>qi(e.parent),$root:e=>qi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>jo(e),$forceUpdate:e=>e.f||(e.f=()=>{Mo(e.update)}),$nextTick:e=>e.n||(e.n=Zr.bind(e.proxy)),$watch:e=>H_.bind(e)}),$i=(e,t)=>e!==_e&&!e.__isScriptSetup&&he(e,t),v_={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const E=a[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if($i(s,t))return a[t]=1,s[t];if(r!==_e&&he(r,t))return a[t]=2,r[t];if((d=e.propsOptions[0])&&he(d,t))return a[t]=3,o[t];if(n!==_e&&he(n,t))return a[t]=4,n[t];zi&&(a[t]=0)}}const f=Ds[t];let h,p;if(f)return t==="$attrs"&&Fe(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==_e&&he(n,t))return a[t]=4,n[t];if(p=c.config.globalProperties,he(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return $i(r,t)?(r[t]=n,!0):s!==_e&&he(s,t)?(s[t]=n,!0):he(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let l;return!!n[a]||e!==_e&&he(e,a)||$i(t,a)||(l=o[0])&&he(l,a)||he(s,a)||he(Ds,a)||he(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:he(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ey(){return Iu().slots}function ty(){return Iu().attrs}function Iu(){const e=zs();return e.setupContext||(e.setupContext=sf(e))}function ll(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let zi=!0;function E_(e){const t=jo(e),n=e.proxy,s=e.ctx;zi=!1,t.beforeCreate&&cl(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:p,beforeUpdate:E,updated:y,activated:A,deactivated:M,beforeDestroy:$,beforeUnmount:L,destroyed:P,unmounted:D,render:O,renderTracked:F,renderTriggered:Y,errorCaptured:K,serverPrefetch:w,expose:k,inheritAttrs:z,components:H,directives:Q,filters:ce}=t;if(d&&b_(d,s,null),a)for(const Z in a){const le=a[Z];ie(le)&&(s[Z]=le.bind(n))}if(r){const Z=r.call(n,n);ve(Z)&&(e.data=Ys(Z))}if(zi=!0,o)for(const Z in o){const le=o[Z],we=ie(le)?le.bind(n,n):ie(le.get)?le.get.bind(n,n):St,He=!ie(le)&&ie(le.set)?le.set.bind(n):St,De=nt({get:we,set:He});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>De.value,set:ye=>De.value=ye})}if(l)for(const Z in l)Pu(l[Z],s,n,Z);if(c){const Z=ie(c)?c.call(n):c;Reflect.ownKeys(Z).forEach(le=>{Sr(le,Z[le])})}f&&cl(f,e,"c");function re(Z,le){te(le)?le.forEach(we=>Z(we.bind(n))):le&&Z(le.bind(n))}if(re(Ou,h),re(Ho,p),re(d_,E),re(Nu,y),re(c_,A),re(u_,M),re(m_,K),re(g_,F),re(p_,Y),re(xu,L),re(Bo,D),re(h_,w),te(k))if(k.length){const Z=e.exposed||(e.exposed={});k.forEach(le=>{Object.defineProperty(Z,le,{get:()=>n[le],set:we=>n[le]=we})})}else e.exposed||(e.exposed={});O&&e.render===St&&(e.render=O),z!=null&&(e.inheritAttrs=z),H&&(e.components=H),Q&&(e.directives=Q),w&&Fo(e)}function b_(e,t,n=St){te(e)&&(e=Xi(e));for(const s in e){const r=e[s];let o;ve(r)?"default"in r?o=ft(r.from||s,r.default,!0):o=ft(r.from||s):o=ft(r),Te(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function cl(e,t,n){Et(te(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Pu(e,t,n,s){let r=s.includes(".")?Gu(n,s):()=>n[s];if(be(e)){const o=t[e];ie(o)&&Qn(r,o)}else if(ie(e))Qn(r,e.bind(n));else if(ve(e))if(te(e))e.forEach(o=>Pu(o,t,n,s));else{const o=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(o)&&Qn(r,o,e)}}function jo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>Mr(c,d,a,!0)),Mr(c,t,a)),ve(t)&&o.set(t,c),c}function Mr(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Mr(e,o,n,!0),r&&r.forEach(a=>Mr(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const l=y_[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const y_={data:ul,props:fl,emits:fl,methods:Cs,computed:Cs,beforeCreate:Ue,created:Ue,beforeMount:Ue,mounted:Ue,beforeUpdate:Ue,updated:Ue,beforeDestroy:Ue,beforeUnmount:Ue,destroyed:Ue,unmounted:Ue,activated:Ue,deactivated:Ue,errorCaptured:Ue,serverPrefetch:Ue,components:Cs,directives:Cs,watch:T_,provide:ul,inject:A_};function ul(e,t){return t?e?function(){return Oe(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function A_(e,t){return Cs(Xi(e),Xi(t))}function Xi(e){if(te(e)){const t={};for(let n=0;n1)return n&&ie(t)?t.call(s&&s.proxy):t}}function S_(){return!!(Ne||xe||On)}const ku={},Vu=()=>Object.create(ku),Fu=e=>Object.getPrototypeOf(e)===ku;function O_(e,t,n,s=!1){const r={},o=Vu();e.propsDefaults=Object.create(null),Hu(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=s?r:au(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function N_(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,l=fe(r),[c]=e.propsOptions;let d=!1;if((s||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,E]=Bu(h,t,!0);Oe(a,p),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return ve(e)&&s.set(e,Gn),Gn;if(te(o))for(let f=0;fe[0]==="_"||e==="$stable",Wo=e=>te(e)?e.map(_t):[_t(e)],$_=(e,t,n)=>{if(t._n)return t;const s=Cr((...r)=>Wo(t(...r)),n);return s._c=!1,s},Wu=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ju(r))continue;const o=e[r];if(ie(o))t[r]=$_(r,o,s);else if(o!=null){const a=Wo(o);t[r]=()=>a}}},Ku=(e,t)=>{const n=Wo(t);e.slots.default=()=>n},Uu=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},D_=(e,t,n)=>{const s=e.slots=Vu();if(e.vnode.shapeFlag&32){const r=t._;r?(Uu(s,t,n),n&&kc(s,"_",r,!0)):Wu(t,s)}else t&&Ku(e,t)},L_=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,a=_e;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Uu(r,t,n):(o=!t.$stable,Wu(t,r)),a=t}else t&&(Ku(e,t),a={default:1});if(o)for(const l in r)!ju(l)&&a[l]==null&&delete r[l]},Je=Z_;function R_(e){return I_(e)}function I_(e,t){const n=Fc();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:p,setScopeId:E=St,insertStaticContent:y}=e,A=(g,_,b,I=null,S=null,R=null,U=void 0,T=null,B=!!_.dynamicChildren)=>{if(g===_)return;g&&!Ct(g,_)&&(I=N(g),ye(g,S,R,!0),g=null),_.patchFlag===-2&&(B=!1,_.dynamicChildren=null);const{type:V,ref:ne,shapeFlag:X}=_;switch(V){case ni:M(g,_,b,I);break;case Ie:$(g,_,b,I);break;case Or:g==null&&L(_,b,I,U);break;case Ve:H(g,_,b,I,S,R,U,T,B);break;default:X&1?O(g,_,b,I,S,R,U,T,B):X&6?Q(g,_,b,I,S,R,U,T,B):(X&64||X&128)&&V.process(g,_,b,I,S,R,U,T,B,J)}ne!=null&&S&&Gi(ne,g&&g.ref,R,_||g,!_)},M=(g,_,b,I)=>{if(g==null)s(_.el=l(_.children),b,I);else{const S=_.el=g.el;_.children!==g.children&&d(S,_.children)}},$=(g,_,b,I)=>{g==null?s(_.el=c(_.children||""),b,I):_.el=g.el},L=(g,_,b,I)=>{[g.el,g.anchor]=y(g.children,_,b,I,g.el,g.anchor)},P=({el:g,anchor:_},b,I)=>{let S;for(;g&&g!==_;)S=p(g),s(g,b,I),g=S;s(_,b,I)},D=({el:g,anchor:_})=>{let b;for(;g&&g!==_;)b=p(g),r(g),g=b;r(_)},O=(g,_,b,I,S,R,U,T,B)=>{_.type==="svg"?U="svg":_.type==="math"&&(U="mathml"),g==null?F(_,b,I,S,R,U,T,B):w(g,_,S,R,U,T,B)},F=(g,_,b,I,S,R,U,T)=>{let B,V;const{props:ne,shapeFlag:X,transition:ee,dirs:se}=g;if(B=g.el=a(g.type,R,ne&&ne.is,ne),X&8?f(B,g.children):X&16&&K(g.children,B,null,I,S,Di(g,R),U,T),se&&bn(g,null,I,"created"),Y(B,g,g.scopeId,U,I),ne){for(const de in ne)de!=="value"&&!Os(de)&&o(B,de,null,ne[de],R,I);"value"in ne&&o(B,"value",null,ne.value,R),(V=ne.onVnodeBeforeMount)&&At(V,I,g)}se&&bn(g,null,I,"beforeMount");const oe=P_(S,ee);oe&&ee.beforeEnter(B),s(B,_,b),((V=ne&&ne.onVnodeMounted)||oe||se)&&Je(()=>{V&&At(V,I,g),oe&&ee.enter(B),se&&bn(g,null,I,"mounted")},S)},Y=(g,_,b,I,S)=>{if(b&&E(g,b),I)for(let R=0;R{for(let V=B;V{const T=_.el=g.el;let{patchFlag:B,dynamicChildren:V,dirs:ne}=_;B|=g.patchFlag&16;const X=g.props||_e,ee=_.props||_e;let se;if(b&&yn(b,!1),(se=ee.onVnodeBeforeUpdate)&&At(se,b,_,g),ne&&bn(_,g,b,"beforeUpdate"),b&&yn(b,!0),(X.innerHTML&&ee.innerHTML==null||X.textContent&&ee.textContent==null)&&f(T,""),V?k(g.dynamicChildren,V,T,b,I,Di(_,S),R):U||le(g,_,T,null,b,I,Di(_,S),R,!1),B>0){if(B&16)z(T,X,ee,b,S);else if(B&2&&X.class!==ee.class&&o(T,"class",null,ee.class,S),B&4&&o(T,"style",X.style,ee.style,S),B&8){const oe=_.dynamicProps;for(let de=0;de{se&&At(se,b,_,g),ne&&bn(_,g,b,"updated")},I)},k=(g,_,b,I,S,R,U)=>{for(let T=0;T<_.length;T++){const B=g[T],V=_[T],ne=B.el&&(B.type===Ve||!Ct(B,V)||B.shapeFlag&70)?h(B.el):b;A(B,V,ne,null,I,S,R,U,!0)}},z=(g,_,b,I,S)=>{if(_!==b){if(_!==_e)for(const R in _)!Os(R)&&!(R in b)&&o(g,R,_[R],null,S,I);for(const R in b){if(Os(R))continue;const U=b[R],T=_[R];U!==T&&R!=="value"&&o(g,R,T,U,S,I)}"value"in b&&o(g,"value",_.value,b.value,S)}},H=(g,_,b,I,S,R,U,T,B)=>{const V=_.el=g?g.el:l(""),ne=_.anchor=g?g.anchor:l("");let{patchFlag:X,dynamicChildren:ee,slotScopeIds:se}=_;se&&(T=T?T.concat(se):se),g==null?(s(V,b,I),s(ne,b,I),K(_.children||[],b,ne,S,R,U,T,B)):X>0&&X&64&&ee&&g.dynamicChildren?(k(g.dynamicChildren,ee,b,S,R,U,T),(_.key!=null||S&&_===S.subTree)&&Ko(g,_,!0)):le(g,_,b,ne,S,R,U,T,B)},Q=(g,_,b,I,S,R,U,T,B)=>{_.slotScopeIds=T,g==null?_.shapeFlag&512?S.ctx.activate(_,b,I,U,B):ce(_,b,I,S,R,U,B):me(g,_,B)},ce=(g,_,b,I,S,R,U)=>{const T=g.component=av(g,I,S);if(qs(g)&&(T.ctx.renderer=J),lv(T,!1,U),T.asyncDep){if(S&&S.registerDep(T,re,U),!g.el){const B=T.subTree=Ae(Ie);$(null,B,_,b)}}else re(T,g,_,b,S,R,U)},me=(g,_,b)=>{const I=_.component=g.component;if(Y_(g,_,b))if(I.asyncDep&&!I.asyncResolved){Z(I,_,b);return}else I.next=_,I.update();else _.el=g.el,I.vnode=_},re=(g,_,b,I,S,R,U)=>{const T=()=>{if(g.isMounted){let{next:X,bu:ee,u:se,parent:oe,vnode:de}=g;{const We=Yu(g);if(We){X&&(X.el=de.el,Z(g,X,U)),We.asyncDep.then(()=>{g.isUnmounted||T()});return}}let ue=X,je;yn(g,!1),X?(X.el=de.el,Z(g,X,U)):X=de,ee&&Tr(ee),(je=X.props&&X.props.onVnodeBeforeUpdate)&&At(je,oe,X,de),yn(g,!0);const Le=Li(g),tt=g.subTree;g.subTree=Le,A(tt,Le,h(tt.el),N(tt),g,S,R),X.el=Le.el,ue===null&&Yo(g,Le.el),se&&Je(se,S),(je=X.props&&X.props.onVnodeUpdated)&&Je(()=>At(je,oe,X,de),S)}else{let X;const{el:ee,props:se}=_,{bm:oe,m:de,parent:ue,root:je,type:Le}=g,tt=Xn(_);if(yn(g,!1),oe&&Tr(oe),!tt&&(X=se&&se.onVnodeBeforeMount)&&At(X,ue,_),yn(g,!0),ee&&pe){const We=()=>{g.subTree=Li(g),pe(ee,g.subTree,g,S,null)};tt&&Le.__asyncHydrate?Le.__asyncHydrate(ee,g,We):We()}else{je.ce&&je.ce._injectChildStyle(Le);const We=g.subTree=Li(g);A(null,We,b,I,g,S,R),_.el=We.el}if(de&&Je(de,S),!tt&&(X=se&&se.onVnodeMounted)){const We=_;Je(()=>At(X,ue,We),S)}(_.shapeFlag&256||ue&&Xn(ue.vnode)&&ue.vnode.shapeFlag&256)&&g.a&&Je(g.a,S),g.isMounted=!0,_=b=I=null}};g.scope.on();const B=g.effect=new Gc(T);g.scope.off();const V=g.update=B.run.bind(B),ne=g.job=B.runIfDirty.bind(B);ne.i=g,ne.id=g.uid,B.scheduler=()=>Mo(ne),yn(g,!0),V()},Z=(g,_,b)=>{_.component=g;const I=g.vnode.props;g.vnode=_,g.next=null,N_(g,_.props,I,b),L_(g,_.children,b),cn(),nl(g),un()},le=(g,_,b,I,S,R,U,T,B=!1)=>{const V=g&&g.children,ne=g?g.shapeFlag:0,X=_.children,{patchFlag:ee,shapeFlag:se}=_;if(ee>0){if(ee&128){He(V,X,b,I,S,R,U,T,B);return}else if(ee&256){we(V,X,b,I,S,R,U,T,B);return}}se&8?(ne&16&&Ce(V,S,R),X!==V&&f(b,X)):ne&16?se&16?He(V,X,b,I,S,R,U,T,B):Ce(V,S,R,!0):(ne&8&&f(b,""),se&16&&K(X,b,I,S,R,U,T,B))},we=(g,_,b,I,S,R,U,T,B)=>{g=g||Gn,_=_||Gn;const V=g.length,ne=_.length,X=Math.min(V,ne);let ee;for(ee=0;eene?Ce(g,S,R,!0,!1,X):K(_,b,I,S,R,U,T,B,X)},He=(g,_,b,I,S,R,U,T,B)=>{let V=0;const ne=_.length;let X=g.length-1,ee=ne-1;for(;V<=X&&V<=ee;){const se=g[V],oe=_[V]=B?Jt(_[V]):_t(_[V]);if(Ct(se,oe))A(se,oe,b,null,S,R,U,T,B);else break;V++}for(;V<=X&&V<=ee;){const se=g[X],oe=_[ee]=B?Jt(_[ee]):_t(_[ee]);if(Ct(se,oe))A(se,oe,b,null,S,R,U,T,B);else break;X--,ee--}if(V>X){if(V<=ee){const se=ee+1,oe=seee)for(;V<=X;)ye(g[V],S,R,!0),V++;else{const se=V,oe=V,de=new Map;for(V=oe;V<=ee;V++){const Ke=_[V]=B?Jt(_[V]):_t(_[V]);Ke.key!=null&&de.set(Ke.key,V)}let ue,je=0;const Le=ee-oe+1;let tt=!1,We=0;const dn=new Array(Le);for(V=0;V=Le){ye(Ke,S,R,!0);continue}let Me;if(Ke.key!=null)Me=de.get(Ke.key);else for(ue=oe;ue<=ee;ue++)if(dn[ue-oe]===0&&Ct(Ke,_[ue])){Me=ue;break}Me===void 0?ye(Ke,S,R,!0):(dn[Me-oe]=V+1,Me>=We?We=Me:tt=!0,A(Ke,_[Me],b,null,S,R,U,T,B),je++)}const ps=tt?M_(dn):Gn;for(ue=ps.length-1,V=Le-1;V>=0;V--){const Ke=oe+V,Me=_[Ke],Js=Ke+1{const{el:R,type:U,transition:T,children:B,shapeFlag:V}=g;if(V&6){De(g.component.subTree,_,b,I);return}if(V&128){g.suspense.move(_,b,I);return}if(V&64){U.move(g,_,b,J);return}if(U===Ve){s(R,_,b);for(let X=0;XT.enter(R),S);else{const{leave:X,delayLeave:ee,afterLeave:se}=T,oe=()=>s(R,_,b),de=()=>{X(R,()=>{oe(),se&&se()})};ee?ee(R,oe,de):de()}else s(R,_,b)},ye=(g,_,b,I=!1,S=!1)=>{const{type:R,props:U,ref:T,children:B,dynamicChildren:V,shapeFlag:ne,patchFlag:X,dirs:ee,cacheIndex:se}=g;if(X===-2&&(S=!1),T!=null&&Gi(T,null,b,g,!0),se!=null&&(_.renderCache[se]=void 0),ne&256){_.ctx.deactivate(g);return}const oe=ne&1&&ee,de=!Xn(g);let ue;if(de&&(ue=U&&U.onVnodeBeforeUnmount)&&At(ue,_,g),ne&6)Pe(g.component,b,I);else{if(ne&128){g.suspense.unmount(b,I);return}oe&&bn(g,null,_,"beforeUnmount"),ne&64?g.type.remove(g,_,b,J,I):V&&!V.hasOnce&&(R!==Ve||X>0&&X&64)?Ce(V,_,b,!1,!0):(R===Ve&&X&384||!S&&ne&16)&&Ce(B,_,b),I&&et(g)}(de&&(ue=U&&U.onVnodeUnmounted)||oe)&&Je(()=>{ue&&At(ue,_,g),oe&&bn(g,null,_,"unmounted")},b)},et=g=>{const{type:_,el:b,anchor:I,transition:S}=g;if(_===Ve){Be(b,I);return}if(_===Or){D(g);return}const R=()=>{r(b),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(g.shapeFlag&1&&S&&!S.persisted){const{leave:U,delayLeave:T}=S,B=()=>U(b,R);T?T(g.el,R,B):B()}else R()},Be=(g,_)=>{let b;for(;g!==_;)b=p(g),r(g),g=b;r(_)},Pe=(g,_,b)=>{const{bum:I,scope:S,job:R,subTree:U,um:T,m:B,a:V}=g;hl(B),hl(V),I&&Tr(I),S.stop(),R&&(R.flags|=8,ye(U,g,_,b)),T&&Je(T,_),Je(()=>{g.isUnmounted=!0},_),_&&_.pendingBranch&&!_.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===_.pendingId&&(_.deps--,_.deps===0&&_.resolve())},Ce=(g,_,b,I=!1,S=!1,R=0)=>{for(let U=R;U{if(g.shapeFlag&6)return N(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const _=p(g.anchor||g.el),b=_&&_[vu];return b?p(b):_};let G=!1;const q=(g,_,b)=>{g==null?_._vnode&&ye(_._vnode,null,null,!0):A(_._vnode||null,g,_,null,null,null,b),_._vnode=g,G||(G=!0,nl(),gu(),G=!1)},J={p:A,um:ye,m:De,r:et,mt:ce,mc:K,pc:le,pbc:k,n:N,o:e};let C,pe;return{render:q,hydrate:C,createApp:w_(q,C)}}function Di({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function P_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ko(e,t,n=!1){const s=e.children,r=t.children;if(te(s)&&te(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function Yu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yu(t)}function hl(e){if(e)for(let t=0;tft(k_);function F_(e,t){return Uo(e,null,{flush:"post"})}function Qn(e,t,n){return Uo(e,t,n)}function Uo(e,t,n=_e){const{immediate:s,deep:r,flush:o,once:a}=n,l=Oe({},n);let c;if(Qs)if(o==="sync"){const p=V_();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!t||s)l.once=!0;else{const p=()=>{};return p.stop=St,p.resume=St,p.pause=St,p}const d=Ne;l.call=(p,E,y)=>Et(p,d,E,y);let f=!1;o==="post"?l.scheduler=p=>{Je(p,d&&d.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(p,E)=>{E?p():Mo(p)}),l.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,d&&(p.id=d.uid,p.i=d))};const h=e_(e,t,l);return c&&c.push(h),h}function H_(e,t,n){const s=this.proxy,r=be(e)?e.includes(".")?Gu(s,e):()=>s[e]:e.bind(s,s);let o;ie(t)?o=t:(o=t.handler,n=t);const a=Xs(this),l=Uo(r,o.bind(s),n);return a(),l}function Gu(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${ln(t)}Modifiers`];function j_(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||_e;let r=n;const o=t.startsWith("update:"),a=o&&B_(s,t.slice(7));a&&(a.trim&&(r=n.map(f=>be(f)?f.trim():f)),a.number&&(r=n.map(Dr)));let l,c=s[l=Ti(t)]||s[l=Ti(ht(t))];!c&&o&&(c=s[l=Ti(ln(t))]),c&&Et(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Et(d,e,6,r)}}function qu(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let a={},l=!1;if(!ie(e)){const c=d=>{const f=qu(d,t,!0);f&&(l=!0,Oe(a,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ve(e)&&s.set(e,null),null):(te(o)?o.forEach(c=>a[c]=null):Oe(a,o),ve(e)&&s.set(e,a),a)}function ti(e,t){return!e||!Ur(t)?!1:(t=t.slice(2).replace(/Once$/,""),he(e,t[0].toLowerCase()+t.slice(1))||he(e,ln(t))||he(e,t))}function Li(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:a,attrs:l,emit:c,render:d,renderCache:f,props:h,data:p,setupState:E,ctx:y,inheritAttrs:A}=e,M=Pr(e);let $,L;try{if(n.shapeFlag&4){const D=r||s,O=D;$=_t(d.call(O,D,f,h,E,p,y)),L=l}else{const D=t;$=_t(D.length>1?D(h,{attrs:l,slots:a,emit:c}):D(h,null)),L=t.props?l:K_(l)}}catch(D){Ls.length=0,ds(D,e,1),$=Ae(Ie)}let P=$;if(L&&A!==!1){const D=Object.keys(L),{shapeFlag:O}=P;D.length&&O&7&&(o&&D.some(To)&&(L=U_(L,o)),P=rn(P,L,!1,!0))}return n.dirs&&(P=rn(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&Ln(P,n.transition),$=P,Pr(M),$}function W_(e,t=!0){let n;for(let s=0;s{let t;for(const n in e)(n==="class"||n==="style"||Ur(n))&&((t||(t={}))[n]=e[n]);return t},U_=(e,t)=>{const n={};for(const s in e)(!To(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Y_(e,t,n){const{props:s,children:r,component:o}=e,{props:a,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?pl(s,a,d):!!a;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;let Ji=0;const G_={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,a,l,c,d){if(e==null)z_(t,n,s,r,o,a,l,c,d);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}X_(e,t,n,s,r,a,l,c,d)}},hydrate:Q_,normalize:J_},q_=G_;function Hs(e,t){const n=e.props&&e.props[t];ie(n)&&n()}function z_(e,t,n,s,r,o,a,l,c){const{p:d,o:{createElement:f}}=c,h=f("div"),p=e.suspense=Xu(e,r,s,t,h,n,o,a,l,c);d(null,p.pendingBranch=e.ssContent,h,null,s,p,o,a),p.deps>0?(Hs(e,"onPending"),Hs(e,"onFallback"),d(null,e.ssFallback,t,n,s,null,o,a),Jn(p,e.ssFallback)):p.resolve(!1,!0)}function X_(e,t,n,s,r,o,a,l,{p:c,um:d,o:{createElement:f}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const p=t.ssContent,E=t.ssFallback,{activeBranch:y,pendingBranch:A,isInFallback:M,isHydrating:$}=h;if(A)h.pendingBranch=p,Ct(p,A)?(c(A,p,h.hiddenContainer,null,r,h,o,a,l),h.deps<=0?h.resolve():M&&($||(c(y,E,n,s,r,null,o,a,l),Jn(h,E)))):(h.pendingId=Ji++,$?(h.isHydrating=!1,h.activeBranch=A):d(A,r,h),h.deps=0,h.effects.length=0,h.hiddenContainer=f("div"),M?(c(null,p,h.hiddenContainer,null,r,h,o,a,l),h.deps<=0?h.resolve():(c(y,E,n,s,r,null,o,a,l),Jn(h,E))):y&&Ct(p,y)?(c(y,p,n,s,r,h,o,a,l),h.resolve(!0)):(c(null,p,h.hiddenContainer,null,r,h,o,a,l),h.deps<=0&&h.resolve()));else if(y&&Ct(p,y))c(y,p,n,s,r,h,o,a,l),Jn(h,p);else if(Hs(t,"onPending"),h.pendingBranch=p,p.shapeFlag&512?h.pendingId=p.component.suspenseId:h.pendingId=Ji++,c(null,p,h.hiddenContainer,null,r,h,o,a,l),h.deps<=0)h.resolve();else{const{timeout:L,pendingId:P}=h;L>0?setTimeout(()=>{h.pendingId===P&&h.fallback(E)},L):L===0&&h.fallback(E)}}function Xu(e,t,n,s,r,o,a,l,c,d,f=!1){const{p:h,m:p,um:E,n:y,o:{parentNode:A,remove:M}}=d;let $;const L=ev(e);L&&t&&t.pendingBranch&&($=t.pendingId,t.deps++);const P=e.props?Vc(e.props.timeout):void 0,D=o,O={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:r,deps:0,pendingId:Ji++,timeout:typeof P=="number"?P:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(F=!1,Y=!1){const{vnode:K,activeBranch:w,pendingBranch:k,pendingId:z,effects:H,parentComponent:Q,container:ce}=O;let me=!1;O.isHydrating?O.isHydrating=!1:F||(me=w&&k.transition&&k.transition.mode==="out-in",me&&(w.transition.afterLeave=()=>{z===O.pendingId&&(p(k,ce,o===D?y(w):o,0),Ui(H))}),w&&(A(w.el)===ce&&(o=y(w)),E(w,Q,O,!0)),me||p(k,ce,o,0)),Jn(O,k),O.pendingBranch=null,O.isInFallback=!1;let re=O.parent,Z=!1;for(;re;){if(re.pendingBranch){re.effects.push(...H),Z=!0;break}re=re.parent}!Z&&!me&&Ui(H),O.effects=[],L&&t&&t.pendingBranch&&$===t.pendingId&&(t.deps--,t.deps===0&&!Y&&t.resolve()),Hs(K,"onResolve")},fallback(F){if(!O.pendingBranch)return;const{vnode:Y,activeBranch:K,parentComponent:w,container:k,namespace:z}=O;Hs(Y,"onFallback");const H=y(K),Q=()=>{O.isInFallback&&(h(null,F,k,H,w,null,z,l,c),Jn(O,F))},ce=F.transition&&F.transition.mode==="out-in";ce&&(K.transition.afterLeave=Q),O.isInFallback=!0,E(K,w,null,!0),ce||Q()},move(F,Y,K){O.activeBranch&&p(O.activeBranch,F,Y,K),O.container=F},next(){return O.activeBranch&&y(O.activeBranch)},registerDep(F,Y,K){const w=!!O.pendingBranch;w&&O.deps++;const k=F.vnode.el;F.asyncDep.catch(z=>{ds(z,F,0)}).then(z=>{if(F.isUnmounted||O.isUnmounted||O.pendingId!==F.suspenseId)return;F.asyncResolved=!0;const{vnode:H}=F;eo(F,z,!1),k&&(H.el=k);const Q=!k&&F.subTree.el;Y(F,H,A(k||F.subTree.el),k?null:y(F.subTree),O,a,K),Q&&M(Q),Yo(F,H.el),w&&--O.deps===0&&O.resolve()})},unmount(F,Y){O.isUnmounted=!0,O.activeBranch&&E(O.activeBranch,n,F,Y),O.pendingBranch&&E(O.pendingBranch,n,F,Y)}};return O}function Q_(e,t,n,s,r,o,a,l,c){const d=t.suspense=Xu(t,s,n,e.parentNode,document.createElement("div"),null,r,o,a,l,!0),f=c(e,d.pendingBranch=t.ssContent,n,d,o,a);return d.deps===0&&d.resolve(!1,!0),f}function J_(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=gl(s?n.default:n),e.ssFallback=s?gl(n.fallback):Ae(Ie)}function gl(e){let t;if(ie(e)){const n=rs&&e._c;n&&(e._d=!1,en()),e=e(),n&&(e._d=!0,t=Ze,Qu())}return te(e)&&(e=W_(e)),e=_t(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Z_(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Ui(e)}function Jn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Yo(s,r))}function ev(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ve=Symbol.for("v-fgt"),ni=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),Or=Symbol.for("v-stc"),Ls=[];let Ze=null;function en(e=!1){Ls.push(Ze=e?null:[])}function Qu(){Ls.pop(),Ze=Ls[Ls.length-1]||null}let rs=1;function ml(e){rs+=e,e<0&&Ze&&(Ze.hasOnce=!0)}function Ju(e){return e.dynamicChildren=rs>0?Ze||Gn:null,Qu(),rs>0&&Ze&&Ze.push(e),e}function _l(e,t,n,s,r,o){return Ju(It(e,t,n,s,r,o,!0))}function Bs(e,t,n,s,r){return Ju(Ae(e,t,n,s,r,!0))}function is(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const Zu=({key:e})=>e??null,Nr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Te(e)||ie(e)?{i:xe,r:e,k:t,f:!!n}:e:null);function It(e,t=null,n=null,s=0,r=null,o=e===Ve?0:1,a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zu(t),ref:t&&Nr(t),scopeId:_u,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xe};return l?(Go(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=be(n)?8:16),rs>0&&!a&&Ze&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ze.push(c),c}const Ae=tv;function tv(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Du)&&(e=Ie),is(e)){const l=rn(e,t,!0);return n&&Go(l,n),rs>0&&!o&&Ze&&(l.shapeFlag&6?Ze[Ze.indexOf(e)]=l:Ze.push(l)),l.patchFlag=-2,l}if(dv(e)&&(e=e.__vccOpts),t){t=nv(t);let{class:l,style:c}=t;l&&!be(l)&&(t.class=zr(l)),ve(c)&&(Io(c)&&!te(c)&&(c=Oe({},c)),t.style=qr(c))}const a=be(e)?1:zu(e)?128:Eu(e)?64:ve(e)?4:ie(e)?2:0;return It(e,t,n,s,r,a,o,!0)}function nv(e){return e?Io(e)||Fu(e)?Oe({},e):e:null}function rn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:c}=e,d=t?rv(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Zu(d),ref:t&&t.ref?n&&o?te(o)?o.concat(Nr(t)):[o,Nr(t)]:Nr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ve?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Ln(f,c.clone(f)),f}function ef(e=" ",t=0){return Ae(ni,null,e,t)}function sv(e="",t=!1){return t?(en(),Bs(Ie,null,e)):Ae(Ie,null,e)}function _t(e){return e==null||typeof e=="boolean"?Ae(Ie):te(e)?Ae(Ve,null,e.slice()):is(e)?Jt(e):Ae(ni,null,String(e))}function Jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rn(e)}function Go(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Go(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Fu(t)?t._ctx=xe:r===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),s&64?(n=16,t=[ef(t)]):n=8);e.children=t,e.shapeFlag|=n}function rv(...e){const t={};for(let n=0;nNe||xe;let kr,Zi;{const e=Fc(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};kr=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),Zi=t("__VUE_SSR_SETTERS__",n=>Qs=n)}const Xs=e=>{const t=Ne;return kr(e),e.scope.on(),()=>{e.scope.off(),kr(t)}},vl=()=>{Ne&&Ne.scope.off(),kr(null)};function tf(e){return e.vnode.shapeFlag&4}let Qs=!1;function lv(e,t=!1,n=!1){t&&Zi(t);const{props:s,children:r}=e.vnode,o=tf(e);O_(e,s,o,t),D_(e,r,n);const a=o?cv(e,t):void 0;return t&&Zi(!1),a}function cv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,v_);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?sf(e):null,o=Xs(e);cn();const a=Gs(s,e,0,[e.props,r]);if(un(),o(),Ic(a)){if(Xn(e)||Fo(e),a.then(vl,vl),t)return a.then(l=>{eo(e,l,t)}).catch(l=>{ds(l,e,0)});e.asyncDep=a}else eo(e,a,t)}else nf(e,t)}function eo(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=fu(t)),nf(e,n)}let El;function nf(e,t,n){const s=e.type;if(!e.render){if(!t&&El&&!s.render){const r=s.template||jo(e).template;if(r){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,d=Oe(Oe({isCustomElement:o,delimiters:l},a),c);s.render=El(r,d)}}e.render=s.render||St}{const r=Xs(e);cn();try{E_(e)}finally{un(),r()}}}const uv={get(e,t){return Fe(e,"get",""),e[t]}};function sf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,uv),slots:e.slots,emit:e.emit,expose:t}}function si(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fu(Jr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ds)return Ds[n](e)},has(t,n){return n in t||n in Ds}})):e.proxy}function fv(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function dv(e){return ie(e)&&"__vccOpts"in e}const nt=(e,t)=>Jm(e,t,Qs);function qo(e,t,n){const s=arguments.length;return s===2?ve(t)&&!te(t)?is(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&is(n)&&(n=[n]),Ae(e,t,n))}const hv="3.5.11";/** * @vue/runtime-dom v3.5.11 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let to;const bl=typeof window<"u"&&window.trustedTypes;if(bl)try{to=bl.createPolicy("vue",{createHTML:e=>e})}catch{}const rf=to?e=>to.createHTML(e):e=>e,pv="http://www.w3.org/2000/svg",gv="http://www.w3.org/1998/Math/MathML",Pt=typeof document<"u"?document:null,yl=Pt&&Pt.createElement("template"),mv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Pt.createElementNS(pv,e):t==="mathml"?Pt.createElementNS(gv,e):n?Pt.createElement(e,{is:n}):Pt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Pt.createTextNode(e),createComment:e=>Pt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Pt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{yl.innerHTML=rf(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=yl.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yt="transition",ys="animation",os=Symbol("_vtc"),of={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},af=Oe({},Au,of),_v=e=>(e.displayName="Transition",e.props=af,e),vv=_v((e,{slots:t})=>qo(a_,lf(e),t)),An=(e,t=[])=>{te(e)?e.forEach(n=>n(...t)):e&&e(...t)},Al=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function lf(e){const t={};for(const H in e)H in of||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:d=a,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,y=Ev(r),A=y&&y[0],M=y&&y[1],{onBeforeEnter:$,onEnter:L,onEnterCancelled:P,onLeave:D,onLeaveCancelled:O,onBeforeAppear:F=$,onAppear:Y=L,onAppearCancelled:K=P}=t,w=(H,Q,ce)=>{qt(H,Q?f:l),qt(H,Q?d:a),ce&&ce()},k=(H,Q)=>{H._isLeaving=!1,qt(H,h),qt(H,E),qt(H,p),Q&&Q()},z=H=>(Q,ce)=>{const me=H?Y:L,re=()=>w(Q,H,ce);An(me,[Q,re]),Tl(()=>{qt(Q,H?c:o),Rt(Q,H?f:l),Al(me)||Cl(Q,s,A,re)})};return Oe(t,{onBeforeEnter(H){An($,[H]),Rt(H,o),Rt(H,a)},onBeforeAppear(H){An(F,[H]),Rt(H,c),Rt(H,d)},onEnter:z(!1),onAppear:z(!0),onLeave(H,Q){H._isLeaving=!0;const ce=()=>k(H,Q);Rt(H,h),Rt(H,p),uf(),Tl(()=>{H._isLeaving&&(qt(H,h),Rt(H,E),Al(D)||Cl(H,s,M,ce))}),An(D,[H,ce])},onEnterCancelled(H){w(H,!1),An(P,[H])},onAppearCancelled(H){w(H,!0),An(K,[H])},onLeaveCancelled(H){k(H),An(O,[H])}})}function Ev(e){if(e==null)return null;if(ve(e))return[Ri(e.enter),Ri(e.leave)];{const t=Ri(e);return[t,t]}}function Ri(e){return Vc(e)}function Rt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[os]||(e[os]=new Set)).add(t)}function qt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[os];n&&(n.delete(t),n.size||(e[os]=void 0))}function Tl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let bv=0;function Cl(e,t,n,s){const r=e._endId=++bv,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:c}=cf(e,t);if(!a)return s();const d=a+"end";let f=0;const h=()=>{e.removeEventListener(d,p),o()},p=E=>{E.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[y]||"").split(", "),r=s(`${Yt}Delay`),o=s(`${Yt}Duration`),a=wl(r,o),l=s(`${ys}Delay`),c=s(`${ys}Duration`),d=wl(l,c);let f=null,h=0,p=0;t===Yt?a>0&&(f=Yt,h=a,p=o.length):t===ys?d>0&&(f=ys,h=d,p=c.length):(h=Math.max(a,d),f=h>0?a>d?Yt:ys:null,p=f?f===Yt?o.length:c.length:0);const E=f===Yt&&/\b(transform|all)(,|$)/.test(s(`${Yt}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:E}}function wl(e,t){for(;e.lengthSl(n)+Sl(e[s])))}function Sl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function uf(){return document.body.offsetHeight}function yv(e,t,n){const s=e[os];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Vr=Symbol("_vod"),ff=Symbol("_vsh"),ny={beforeMount(e,{value:t},{transition:n}){e[Vr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):As(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),As(e,!0),s.enter(e)):s.leave(e,()=>{As(e,!1)}):As(e,t))},beforeUnmount(e,{value:t}){As(e,t)}};function As(e,t){e.style.display=t?e[Vr]:"none",e[ff]=!t}const df=Symbol("");function sy(e){const t=zs();if(!t)return;const n=t.ut=(r=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Fr(o,r))},s=()=>{const r=e(t.proxy);t.ce?Fr(t.ce,r):no(t.subTree,r),n(r)};Ou(()=>{F_(s)}),Ho(()=>{const r=new MutationObserver(s);r.observe(t.subTree.el.parentNode,{childList:!0}),Bo(()=>r.disconnect())})}function no(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{no(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Fr(e.el,t);else if(e.type===Ve)e.children.forEach(n=>no(n,t));else if(e.type===Or){let{el:n,anchor:s}=e;for(;n&&(Fr(n,t),n!==s);)n=n.nextSibling}}function Fr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const r in t)n.setProperty(`--${r}`,t[r]),s+=`--${r}: ${t[r]};`;n[df]=s}}const Av=/(^|;)\s*display\s*:/;function Tv(e,t,n){const s=e.style,r=be(n);let o=!1;if(n&&!r){if(t)if(be(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&xr(s,l,"")}else for(const a in t)n[a]==null&&xr(s,a,"");for(const a in n)a==="display"&&(o=!0),xr(s,a,n[a])}else if(r){if(t!==n){const a=s[df];a&&(n+=";"+a),s.cssText=n,o=Av.test(n)}}else t&&e.removeAttribute("style");Vr in e&&(e[Vr]=o?s.display:"",e[ff]&&(s.display="none"))}const Ol=/\s*!important$/;function xr(e,t,n){if(te(n))n.forEach(s=>xr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Cv(e,t);Ol.test(n)?e.setProperty(ln(s),n.replace(Ol,""),"important"):e[s]=n}}const Nl=["Webkit","Moz","ms"],Ii={};function Cv(e,t){const n=Ii[t];if(n)return n;let s=ht(t);if(s!=="filter"&&s in e)return Ii[t]=s;s=Gr(s);for(let r=0;rPi||(Nv.then(()=>Pi=0),Pi=Date.now());function $v(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Et(Dv(s,n.value),t,5,[s])};return n.value=e,n.attached=xv(),n}function Dv(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Il=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lv=(e,t,n,s,r,o)=>{const a=r==="svg";t==="class"?yv(e,s,a):t==="style"?Tv(e,n,s):Ur(t)?To(t)||Sv(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Rv(e,t,s,a))?(Dl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&$l(e,t,s,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!be(s))?Dl(e,ht(t),s):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),$l(e,t,s,a))};function Rv(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Il(t)&&ie(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Il(t)&&be(n)?!1:t in e}const hf=new WeakMap,pf=new WeakMap,Hr=Symbol("_moveCb"),Pl=Symbol("_enterCb"),Iv=e=>(delete e.props.mode,e),Pv=Iv({name:"TransitionGroup",props:Oe({},af,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=zs(),s=yu();let r,o;return Nu(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Fv(r[0].el,n.vnode.el,a))return;r.forEach(Mv),r.forEach(kv);const l=r.filter(Vv);uf(),l.forEach(c=>{const d=c.el,f=d.style;Rt(d,a),f.transform=f.webkitTransform=f.transitionDuration="";const h=d[Hr]=p=>{p&&p.target!==d||(!p||/transform$/.test(p.propertyName))&&(d.removeEventListener("transitionend",h),d[Hr]=null,qt(d,a))};d.addEventListener("transitionend",h)})}),()=>{const a=fe(e),l=lf(a);let c=a.tag||Ve;if(r=[],o)for(let d=0;d{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=cf(s);return o.removeChild(s),a}const on=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>Tr(t,n):t};function Hv(e){e.target.composing=!0}function Ml(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dt=Symbol("_assign"),kl={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[dt]=on(r);const o=s||r.props&&r.props.type==="number";Vt(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Dr(l)),e[dt](l)}),n&&Vt(e,"change",()=>{e.value=e.value.trim()}),t||(Vt(e,"compositionstart",Hv),Vt(e,"compositionend",Ml),Vt(e,"change",Ml))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},a){if(e[dt]=on(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Dr(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c))}},Bv={deep:!0,created(e,t,n){e[dt]=on(n),Vt(e,"change",()=>{const s=e._modelValue,r=as(e),o=e.checked,a=e[dt];if(te(s)){const l=So(s,r),c=l!==-1;if(o&&!c)a(s.concat(r));else if(!o&&c){const d=[...s];d.splice(l,1),a(d)}}else if(fs(s)){const l=new Set(s);o?l.add(r):l.delete(r),a(l)}else a(gf(e,o))})},mounted:Vl,beforeUpdate(e,t,n){e[dt]=on(n),Vl(e,t,n)}};function Vl(e,{value:t},n){e._modelValue=t;let s;te(t)?s=So(t,n.props.value)>-1:fs(t)?s=t.has(n.props.value):s=$n(t,gf(e,!0)),e.checked!==s&&(e.checked=s)}const jv={created(e,{value:t},n){e.checked=$n(t,n.props.value),e[dt]=on(n),Vt(e,"change",()=>{e[dt](as(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[dt]=on(s),t!==n&&(e.checked=$n(t,s.props.value))}},Wv={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=fs(t);Vt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Dr(as(a)):as(a));e[dt](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Zr(()=>{e._assigning=!1})}),e[dt]=on(s)},mounted(e,{value:t}){Fl(e,t)},beforeUpdate(e,t,n){e[dt]=on(n)},updated(e,{value:t}){e._assigning||Fl(e,t)}};function Fl(e,t){const n=e.multiple,s=te(t);if(!(n&&!s&&!fs(t))){for(let r=0,o=e.options.length;rString(d)===String(l)):a.selected=So(t,l)>-1}else a.selected=t.has(l);else if($n(as(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function as(e){return"_value"in e?e._value:e.value}function gf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const iy={created(e,t,n){br(e,t,n,null,"created")},mounted(e,t,n){br(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){br(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){br(e,t,n,s,"updated")}};function Kv(e,t){switch(e){case"SELECT":return Wv;case"TEXTAREA":return kl;default:switch(t){case"checkbox":return Bv;case"radio":return jv;default:return kl}}}function br(e,t,n,s,r){const a=Kv(e.tagName,n.props&&n.props.type)[r];a&&a(e,t,n,s)}const Uv=["ctrl","shift","alt","meta"],Yv={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Uv.some(n=>e[`${n}Key`]&&!t.includes(n))},oy=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=ln(r.key);if(t.some(a=>a===o||Gv[a]===o))return e(r)})},qv=Oe({patchProp:Lv},mv);let Hl;function mf(){return Hl||(Hl=R_(qv))}const ly=(...e)=>{mf().render(...e)},zv=(...e)=>{const t=mf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Qv(s);if(!r)return;const o=t._component;!ie(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=n(r,!1,Xv(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function Xv(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qv(e){return be(e)?document.querySelector(e):e}var Jv=!1;/*! * pinia v2.2.4 * (c) 2024 Eduardo San Martin Morote * @license MIT */let _f;const ri=e=>_f=e,vf=Symbol();function so(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Rs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Rs||(Rs={}));function Zv(){const e=Uc(!0),t=e.run(()=>Sn({}));let n=[],s=[];const r=Jr({install(o){ri(r),r._a=o,o.provide(vf,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return!this._a&&!Jv?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Ef=()=>{};function Bl(e,t,n,s=Ef){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Yc()&&Tm(r),r}function Wn(e,...t){e.slice().forEach(n=>{n(...t)})}const eE=e=>e(),jl=Symbol(),Mi=Symbol();function ro(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];so(r)&&so(s)&&e.hasOwnProperty(n)&&!Te(s)&&!nn(s)?e[n]=ro(r,s):e[n]=s}return e}const tE=Symbol();function nE(e){return!so(e)||!e.hasOwnProperty(tE)}const{assign:zt}=Object;function sE(e){return!!(Te(e)&&e.effect)}function rE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let c;function d(){l||(n.state.value[e]=r?r():{});const f=qm(n.state.value[e]);return zt(f,o,Object.keys(a||{}).reduce((h,p)=>(h[p]=Jr(nt(()=>{ri(n);const E=n._s.get(e);return a[p].call(E,E)})),h),{}))}return c=bf(e,d,t,n,s,!0),c}function bf(e,t,n={},s,r,o){let a;const l=zt({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],E;const y=s.state.value[e];!o&&!y&&(s.state.value[e]={}),Sn({});let A;function M(K){let w;d=f=!1,typeof K=="function"?(K(s.state.value[e]),w={type:Rs.patchFunction,storeId:e,events:E}):(ro(s.state.value[e],K),w={type:Rs.patchObject,payload:K,storeId:e,events:E});const k=A=Symbol();Zr().then(()=>{A===k&&(d=!0)}),f=!0,Wn(h,w,s.state.value[e])}const $=o?function(){const{state:w}=n,k=w?w():{};this.$patch(z=>{zt(z,k)})}:Ef;function L(){a.stop(),h=[],p=[],s._s.delete(e)}const P=(K,w="")=>{if(jl in K)return K[Mi]=w,K;const k=function(){ri(s);const z=Array.from(arguments),H=[],Q=[];function ce(Z){H.push(Z)}function me(Z){Q.push(Z)}Wn(p,{args:z,name:k[Mi],store:O,after:ce,onError:me});let re;try{re=K.apply(this&&this.$id===e?this:O,z)}catch(Z){throw Wn(Q,Z),Z}return re instanceof Promise?re.then(Z=>(Wn(H,Z),Z)).catch(Z=>(Wn(Q,Z),Promise.reject(Z))):(Wn(H,re),re)};return k[jl]=!0,k[Mi]=w,k},D={_p:s,$id:e,$onAction:Bl.bind(null,p),$patch:M,$reset:$,$subscribe(K,w={}){const k=Bl(h,K,w.detached,()=>z()),z=a.run(()=>Qn(()=>s.state.value[e],H=>{(w.flush==="sync"?f:d)&&K({storeId:e,type:Rs.direct,events:E},H)},zt({},c,w)));return k},$dispose:L},O=Ys(D);s._s.set(e,O);const Y=(s._a&&s._a.runWithContext||eE)(()=>s._e.run(()=>(a=Uc()).run(()=>t({action:P}))));for(const K in Y){const w=Y[K];if(Te(w)&&!sE(w)||nn(w))o||(y&&nE(w)&&(Te(w)?w.value=y[K]:ro(w,y[K])),s.state.value[e][K]=w);else if(typeof w=="function"){const k=P(w,K);Y[K]=k,l.actions[K]=w}}return zt(O,Y),zt(fe(O),Y),Object.defineProperty(O,"$state",{get:()=>s.state.value[e],set:K=>{M(w=>{zt(w,K)})}}),s._p.forEach(K=>{zt(O,a.run(()=>K({store:O,app:s._a,pinia:s,options:l})))}),y&&o&&n.hydrate&&n.hydrate(O.$state,y),d=!0,f=!0,O}function yf(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function a(l,c){const d=S_();return l=l||(d?ft(vf,null):null),l&&ri(l),l=_f,l._s.has(s)||(o?bf(s,t,r,l):rE(s,r,l)),l._s.get(s)}return a.$id=s,a}/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT */const Yn=typeof document<"u";function Af(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function iE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Af(e.default)}const ge=Object.assign;function ki(e,t){const n={};for(const s in t){const r=t[s];n[s]=bt(r)?r.map(e):e(r)}return n}const Is=()=>{},bt=Array.isArray,Tf=/#/g,oE=/&/g,aE=/\//g,lE=/=/g,cE=/\?/g,Cf=/\+/g,uE=/%5B/g,fE=/%5D/g,wf=/%5E/g,dE=/%60/g,Sf=/%7B/g,hE=/%7C/g,Of=/%7D/g,pE=/%20/g;function zo(e){return encodeURI(""+e).replace(hE,"|").replace(uE,"[").replace(fE,"]")}function gE(e){return zo(e).replace(Sf,"{").replace(Of,"}").replace(wf,"^")}function io(e){return zo(e).replace(Cf,"%2B").replace(pE,"+").replace(Tf,"%23").replace(oE,"%26").replace(dE,"`").replace(Sf,"{").replace(Of,"}").replace(wf,"^")}function mE(e){return io(e).replace(lE,"%3D")}function _E(e){return zo(e).replace(Tf,"%23").replace(cE,"%3F")}function vE(e){return e==null?"":_E(e).replace(aE,"%2F")}function js(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const EE=/\/$/,bE=e=>e.replace(EE,"");function Vi(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=CE(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:js(a)}}function yE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function AE(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&ls(t.matched[s],n.matched[r])&&Nf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ls(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!TE(e[n],t[n]))return!1;return!0}function TE(e,t){return bt(e)?Kl(e,t):bt(t)?Kl(t,e):e===t}function Kl(e,t){return bt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function CE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ws;(function(e){e.pop="pop",e.push="push"})(Ws||(Ws={}));var Ps;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ps||(Ps={}));function wE(e){if(!e)if(Yn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),bE(e)}const SE=/^[^#]+#/;function OE(e,t){return e.replace(SE,"#")+t}function NE(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ii=()=>({left:window.scrollX,top:window.scrollY});function xE(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=NE(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ul(e,t){return(history.state?history.state.position-t:-1)+e}const oo=new Map;function $E(e,t){oo.set(e,t)}function DE(e){const t=oo.get(e);return oo.delete(e),t}let LE=()=>location.protocol+"//"+location.host;function xf(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Wl(c,"")}return Wl(n,e)+s+r}function RE(e,t,n,s){let r=[],o=[],a=null;const l=({state:p})=>{const E=xf(e,location),y=n.value,A=t.value;let M=0;if(p){if(n.value=E,t.value=p,a&&a===y){a=null;return}M=A?p.position-A.position:0}else s(E);r.forEach($=>{$(n.value,y,{delta:M,type:Ws.pop,direction:M?M>0?Ps.forward:Ps.back:Ps.unknown})})};function c(){a=n.value}function d(p){r.push(p);const E=()=>{const y=r.indexOf(p);y>-1&&r.splice(y,1)};return o.push(E),E}function f(){const{history:p}=window;p.state&&p.replaceState(ge({},p.state,{scroll:ii()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function Yl(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ii():null}}function IE(e){const{history:t,location:n}=window,s={value:xf(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:LE()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),r.value=d}catch(E){console.error(E),n[f?"replace":"assign"](p)}}function a(c,d){const f=ge({},t.state,Yl(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,d){const f=ge({},r.value,t.state,{forward:c,scroll:ii()});o(f.current,f,!0);const h=ge({},Yl(s.value,c,null),{position:f.position+1},d);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:a}}function PE(e){e=wE(e);const t=IE(e),n=RE(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=ge({location:"",base:e,go:s,createHref:OE.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ME(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),PE(e)}function kE(e){return typeof e=="string"||e&&typeof e=="object"}function $f(e){return typeof e=="string"||typeof e=="symbol"}const Df=Symbol("");var Gl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Gl||(Gl={}));function cs(e,t){return ge(new Error,{type:e,[Df]:!0},t)}function Lt(e,t){return e instanceof Error&&Df in e&&(t==null||!!(e.type&t))}const ql="[^/]+?",VE={sensitive:!1,strict:!1,start:!0,end:!0},FE=/[.+*?^${}()[\]/\\]/g;function HE(e,t){const n=ge({},VE,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function Lf(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const jE={type:0,value:""},WE=/[a-zA-Z0-9_]/;function KE(e){if(!e)return[[]];if(e==="/")return[[jE]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(E){throw new Error(`ERR (${n})/"${d}": ${E}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;l{a(P)}:Is}function a(h){if($f(h)){const p=s.get(h);p&&(s.delete(h),n.splice(n.indexOf(p),1),p.children.forEach(a),p.alias.forEach(a))}else{const p=n.indexOf(h);p>-1&&(n.splice(p,1),h.record.name&&s.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function l(){return n}function c(h){const p=zE(h,n);n.splice(p,0,h),h.record.name&&!Jl(h)&&s.set(h.record.name,h)}function d(h,p){let E,y={},A,M;if("name"in h&&h.name){if(E=s.get(h.name),!E)throw cs(1,{location:h});M=E.record.name,y=ge(Xl(p.params,E.keys.filter(P=>!P.optional).concat(E.parent?E.parent.keys.filter(P=>P.optional):[]).map(P=>P.name)),h.params&&Xl(h.params,E.keys.map(P=>P.name))),A=E.stringify(y)}else if(h.path!=null)A=h.path,E=n.find(P=>P.re.test(A)),E&&(y=E.parse(A),M=E.record.name);else{if(E=p.name?s.get(p.name):n.find(P=>P.re.test(p.path)),!E)throw cs(1,{location:h,currentLocation:p});M=E.record.name,y=ge({},p.params,h.params),A=E.stringify(y)}const $=[];let L=E;for(;L;)$.unshift(L.record),L=L.parent;return{name:M,path:A,params:y,matched:$,meta:qE($)}}e.forEach(h=>o(h));function f(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:a,clearRoutes:f,getRoutes:l,getRecordMatcher:r}}function Xl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ql(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:GE(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function GE(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Jl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qE(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function Zl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function zE(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Lf(e,t[o])<0?s=o:n=o+1}const r=XE(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function XE(e){let t=e;for(;t=t.parent;)if(Rf(t)&&Lf(e,t)===0)return t}function Rf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function QE(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&io(o)):[s&&io(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function JE(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=bt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const ZE=Symbol(""),tc=Symbol(""),oi=Symbol(""),Xo=Symbol(""),ao=Symbol("");function Ts(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Zt(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(cs(4,{from:n,to:t})):p instanceof Error?c(p):kE(p)?c(cs(2,{from:t,to:p})):(a&&s.enterCallbacks[r]===a&&typeof p=="function"&&a.push(p),l())},f=o(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(p=>c(p))})}function Fi(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let c=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(Af(c)){const f=(c.__vccOpts||c)[t];f&&o.push(Zt(f,n,s,a,l,r))}else{let d=c();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const h=iE(f)?f.default:f;a.mods[l]=f,a.components[l]=h;const E=(h.__vccOpts||h)[t];return E&&Zt(E,n,s,a,l,r)()}))}}return o}function nc(e){const t=ft(oi),n=ft(Xo),s=nt(()=>{const c=Ht(e.to);return t.resolve(c)}),r=nt(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(ls.bind(null,f));if(p>-1)return p;const E=sc(c[d-2]);return d>1&&sc(f)===E&&h[h.length-1].path!==E?h.findIndex(ls.bind(null,c[d-2])):p}),o=nt(()=>r.value>-1&&sb(n.params,s.value.params)),a=nt(()=>r.value>-1&&r.value===n.matched.length-1&&Nf(n.params,s.value.params));function l(c={}){return nb(c)?t[Ht(e.replace)?"replace":"push"](Ht(e.to)).catch(Is):Promise.resolve()}return{route:s,href:nt(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}const eb=Vo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:nc,setup(e,{slots:t}){const n=Ys(nc(e)),{options:s}=ft(oi),r=nt(()=>({[rc(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[rc(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:qo("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),tb=eb;function nb(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function sb(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!bt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function sc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rc=(e,t,n)=>e??t??n,rb=Vo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ft(ao),r=nt(()=>e.route||s.value),o=ft(tc,0),a=nt(()=>{let d=Ht(o);const{matched:f}=r.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=nt(()=>r.value.matched[a.value]);Sr(tc,nt(()=>a.value+1)),Sr(ZE,l),Sr(ao,r);const c=Sn();return Qn(()=>[c.value,l.value,e.name],([d,f,h],[p,E,y])=>{f&&(f.instances[h]=d,E&&E!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=E.leaveGuards),f.updateGuards.size||(f.updateGuards=E.updateGuards))),d&&f&&(!E||!ls(f,E)||!p)&&(f.enterCallbacks[h]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return ic(n.default,{Component:p,route:d});const E=h.props[f],y=E?E===!0?d.params:typeof E=="function"?E(d):E:null,M=qo(p,ge({},y,t,{onVnodeUnmounted:$=>{$.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return ic(n.default,{Component:M,route:d})||M}}});function ic(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const If=rb;function ib(e){const t=YE(e.routes,e),n=e.parseQuery||QE,s=e.stringifyQuery||ec,r=e.history,o=Ts(),a=Ts(),l=Ts(),c=cu(Gt);let d=Gt;Yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ki.bind(null,N=>""+N),h=ki.bind(null,vE),p=ki.bind(null,js);function E(N,G){let q,J;return $f(N)?(q=t.getRecordMatcher(N),J=G):J=N,t.addRoute(J,q)}function y(N){const G=t.getRecordMatcher(N);G&&t.removeRoute(G)}function A(){return t.getRoutes().map(N=>N.record)}function M(N){return!!t.getRecordMatcher(N)}function $(N,G){if(G=ge({},G||c.value),typeof N=="string"){const _=Vi(n,N,G.path),b=t.resolve({path:_.path},G),I=r.createHref(_.fullPath);return ge(_,b,{params:p(b.params),hash:js(_.hash),redirectedFrom:void 0,href:I})}let q;if(N.path!=null)q=ge({},N,{path:Vi(n,N.path,G.path).path});else{const _=ge({},N.params);for(const b in _)_[b]==null&&delete _[b];q=ge({},N,{params:h(_)}),G.params=h(G.params)}const J=t.resolve(q,G),C=N.hash||"";J.params=f(p(J.params));const pe=yE(s,ge({},N,{hash:gE(C),path:J.path})),g=r.createHref(pe);return ge({fullPath:pe,hash:C,query:s===ec?JE(N.query):N.query||{}},J,{redirectedFrom:void 0,href:g})}function L(N){return typeof N=="string"?Vi(n,N,c.value.path):ge({},N)}function P(N,G){if(d!==N)return cs(8,{from:G,to:N})}function D(N){return Y(N)}function O(N){return D(ge(L(N),{replace:!0}))}function F(N){const G=N.matched[N.matched.length-1];if(G&&G.redirect){const{redirect:q}=G;let J=typeof q=="function"?q(N):q;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=L(J):{path:J},J.params={}),ge({query:N.query,hash:N.hash,params:J.path!=null?{}:N.params},J)}}function Y(N,G){const q=d=$(N),J=c.value,C=N.state,pe=N.force,g=N.replace===!0,_=F(q);if(_)return Y(ge(L(_),{state:typeof _=="object"?ge({},C,_.state):C,force:pe,replace:g}),G||q);const b=q;b.redirectedFrom=G;let I;return!pe&&AE(s,J,q)&&(I=cs(16,{to:b,from:J}),De(J,J,!0,!1)),(I?Promise.resolve(I):k(b,J)).catch(S=>Lt(S)?Lt(S,2)?S:He(S):le(S,b,J)).then(S=>{if(S){if(Lt(S,2))return Y(ge({replace:g},L(S.to),{state:typeof S.to=="object"?ge({},C,S.to.state):C,force:pe}),G||b)}else S=H(b,J,!0,g,C);return z(b,J,S),S})}function K(N,G){const q=P(N,G);return q?Promise.reject(q):Promise.resolve()}function w(N){const G=Be.values().next().value;return G&&typeof G.runWithContext=="function"?G.runWithContext(N):N()}function k(N,G){let q;const[J,C,pe]=ob(N,G);q=Fi(J.reverse(),"beforeRouteLeave",N,G);for(const _ of J)_.leaveGuards.forEach(b=>{q.push(Zt(b,N,G))});const g=K.bind(null,N,G);return q.push(g),Ce(q).then(()=>{q=[];for(const _ of o.list())q.push(Zt(_,N,G));return q.push(g),Ce(q)}).then(()=>{q=Fi(C,"beforeRouteUpdate",N,G);for(const _ of C)_.updateGuards.forEach(b=>{q.push(Zt(b,N,G))});return q.push(g),Ce(q)}).then(()=>{q=[];for(const _ of pe)if(_.beforeEnter)if(bt(_.beforeEnter))for(const b of _.beforeEnter)q.push(Zt(b,N,G));else q.push(Zt(_.beforeEnter,N,G));return q.push(g),Ce(q)}).then(()=>(N.matched.forEach(_=>_.enterCallbacks={}),q=Fi(pe,"beforeRouteEnter",N,G,w),q.push(g),Ce(q))).then(()=>{q=[];for(const _ of a.list())q.push(Zt(_,N,G));return q.push(g),Ce(q)}).catch(_=>Lt(_,8)?_:Promise.reject(_))}function z(N,G,q){l.list().forEach(J=>w(()=>J(N,G,q)))}function H(N,G,q,J,C){const pe=P(N,G);if(pe)return pe;const g=G===Gt,_=Yn?history.state:{};q&&(J||g?r.replace(N.fullPath,ge({scroll:g&&_&&_.scroll},C)):r.push(N.fullPath,C)),c.value=N,De(N,G,q,g),He()}let Q;function ce(){Q||(Q=r.listen((N,G,q)=>{if(!Pe.listening)return;const J=$(N),C=F(J);if(C){Y(ge(C,{replace:!0}),J).catch(Is);return}d=J;const pe=c.value;Yn&&$E(Ul(pe.fullPath,q.delta),ii()),k(J,pe).catch(g=>Lt(g,12)?g:Lt(g,2)?(Y(g.to,J).then(_=>{Lt(_,20)&&!q.delta&&q.type===Ws.pop&&r.go(-1,!1)}).catch(Is),Promise.reject()):(q.delta&&r.go(-q.delta,!1),le(g,J,pe))).then(g=>{g=g||H(J,pe,!1),g&&(q.delta&&!Lt(g,8)?r.go(-q.delta,!1):q.type===Ws.pop&&Lt(g,20)&&r.go(-1,!1)),z(J,pe,g)}).catch(Is)}))}let me=Ts(),re=Ts(),Z;function le(N,G,q){He(N);const J=re.list();return J.length?J.forEach(C=>C(N,G,q)):console.error(N),Promise.reject(N)}function we(){return Z&&c.value!==Gt?Promise.resolve():new Promise((N,G)=>{me.add([N,G])})}function He(N){return Z||(Z=!N,ce(),me.list().forEach(([G,q])=>N?q(N):G()),me.reset()),N}function De(N,G,q,J){const{scrollBehavior:C}=e;if(!Yn||!C)return Promise.resolve();const pe=!q&&DE(Ul(N.fullPath,0))||(J||!q)&&history.state&&history.state.scroll||null;return Zr().then(()=>C(N,G,pe)).then(g=>g&&xE(g)).catch(g=>le(g,N,G))}const ye=N=>r.go(N);let et;const Be=new Set,Pe={currentRoute:c,listening:!0,addRoute:E,removeRoute:y,clearRoutes:t.clearRoutes,hasRoute:M,getRoutes:A,resolve:$,options:e,push:D,replace:O,go:ye,back:()=>ye(-1),forward:()=>ye(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:re.add,isReady:we,install(N){const G=this;N.component("RouterLink",tb),N.component("RouterView",If),N.config.globalProperties.$router=G,Object.defineProperty(N.config.globalProperties,"$route",{enumerable:!0,get:()=>Ht(c)}),Yn&&!et&&c.value===Gt&&(et=!0,D(r.location).catch(C=>{}));const q={};for(const C in Gt)Object.defineProperty(q,C,{get:()=>c.value[C],enumerable:!0});N.provide(oi,G),N.provide(Xo,au(q)),N.provide(ao,c);const J=N.unmount;Be.add(N),N.unmount=function(){Be.delete(N),Be.size<1&&(d=Gt,Q&&Q(),Q=null,c.value=Gt,et=!1,Z=!1),J()}}};function Ce(N){return N.reduce((G,q)=>G.then(()=>w(q)),Promise.resolve())}return Pe}function ob(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;als(d,l))?s.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(d=>ls(d,c))||r.push(c))}return[n,s,r]}function cy(){return ft(oi)}function uy(e){return ft(Xo)}const ab="modulepreload",lb=function(e){return"/static/app/dist/"+e},oc={},Qe=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=a?.nonce||a?.getAttribute("nonce");r=Promise.allSettled(n.map(c=>{if(c=lb(c),c in oc)return;oc[c]=!0;const d=c.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${f}`))return;const h=document.createElement("link");if(h.rel=d?"stylesheet":ab,d||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),d)return new Promise((p,E)=>{h.addEventListener("load",p),h.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return r.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},cb={getCookie(e){const n=`; ${document.cookie}`.split(`; ${e}=`);if(n.length===2)return n.pop().split(";").shift()}},ac="[a-fA-F\\d:]",tn=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${ac})|(?<=${ac})(?=\\s|$))`:"",mt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Se="[a-fA-F\\d]{1,4}",ai=` (?: (?:${Se}:){7}(?:${Se}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8 (?:${Se}:){6}(?:${mt}|:${Se}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4 (?:${Se}:){5}(?::${mt}|(?::${Se}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4 (?:${Se}:){4}(?:(?::${Se}){0,1}:${mt}|(?::${Se}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4 (?:${Se}:){3}(?:(?::${Se}){0,2}:${mt}|(?::${Se}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4 (?:${Se}:){2}(?:(?::${Se}){0,3}:${mt}|(?::${Se}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4 (?:${Se}:){1}(?:(?::${Se}){0,4}:${mt}|(?::${Se}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 (?::(?:(?::${Se}){0,5}:${mt}|(?::${Se}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 `.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),ub=new RegExp(`(?:^${mt}$)|(?:^${ai}$)`),fb=new RegExp(`^${mt}$`),db=new RegExp(`^${ai}$`),li=e=>e&&e.exact?ub:new RegExp(`(?:${tn(e)}${mt}${tn(e)})|(?:${tn(e)}${ai}${tn(e)})`,"g");li.v4=e=>e&&e.exact?fb:new RegExp(`${tn(e)}${mt}${tn(e)}`,"g");li.v6=e=>e&&e.exact?db:new RegExp(`${tn(e)}${ai}${tn(e)}`,"g");const Pf={exact:!1},Mf=`${li.v4().source}\\/(3[0-2]|[12]?[0-9])`,kf=`${li.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,hb=new RegExp(`^${Mf}$`),pb=new RegExp(`^${kf}$`),gb=({exact:e}=Pf)=>e?hb:new RegExp(Mf,"g"),mb=({exact:e}=Pf)=>e?pb:new RegExp(kf,"g"),Vf=gb({exact:!0}),Ff=mb({exact:!0}),Qo=e=>Vf.test(e)?4:Ff.test(e)?6:0;Qo.v4=e=>Vf.test(e);Qo.v6=e=>Ff.test(e);const Mt=e=>{const t=fn();if(t.Locale===null)return e;const s=Object.keys(t.Locale).filter(r=>e.match(new RegExp("^"+r+"$","gi"))!==null);return s.length===0||s.length>1||t.Locale[s[0]].length===0?e:e.replace(new RegExp(s[0],"gi"),t.Locale[s[0]])},_b=yf("WireguardConfigurationsStore",{state:()=>({Configurations:void 0,searchString:"",ConfigurationListInterval:void 0,PeerScheduleJobs:{dropdowns:{Field:[{display:Mt("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:Mt("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:Mt("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:Mt("Date"),value:"date",type:"date"}],Operator:[{display:Mt("larger than"),value:"lgt"}],Action:[{display:Mt("Restrict Peer"),value:"restrict"},{display:Mt("Delete Peer"),value:"delete"}]}}}),actions:{async getConfigurations(){await Br("/api/getWireguardConfigurations",{},e=>{e.status&&(this.Configurations=e.data)})},regexCheckIP(e){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(e)},checkCIDR(e){return Qo(e)!==0},checkWGKeyLength(e){return console.log(e),/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}}}),vb=async()=>{let e=!1;return await Br("/api/validateAuthentication",{},t=>{e=t.status}),e},hs=ib({history:ME(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>Qe(()=>import("./index2.js"),__vite__mapDeps([0,1,2,3,4,5])),meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:()=>Qe(()=>import("./configurationList.js"),__vite__mapDeps([6,1,7])),meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"/settings",component:()=>Qe(()=>import("./settings.js"),__vite__mapDeps([8,1,3,9,10])),meta:{title:"Settings"}},{path:"/ping",name:"Ping",component:()=>Qe(()=>import("./ping.js"),__vite__mapDeps([11,1,12,13,14]))},{path:"/traceroute",name:"Traceroute",component:()=>Qe(()=>import("./traceroute.js"),__vite__mapDeps([15,12,13,1,16]))},{name:"New Configuration",path:"/new_configuration",component:()=>Qe(()=>import("./newConfiguration.js"),__vite__mapDeps([17,18,19,1])),meta:{title:"New Configuration"}},{name:"Restore Configuration",path:"/restore_configuration",component:()=>Qe(()=>import("./restoreConfiguration.js"),__vite__mapDeps([20,1,3,18,21])),meta:{title:"Restore Configuration"}},{name:"Configuration",path:"/configuration/:id",component:()=>Qe(()=>import("./configuration.js"),[]),meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:()=>Qe(()=>import("./peerList.js"),__vite__mapDeps([22,1,3,23]))},{name:"Peers Create",path:"create",component:()=>Qe(()=>import("./peerCreate.js"),__vite__mapDeps([24,1,19,25]))}]}]},{path:"/signin",component:()=>Qe(()=>import("./signin.js"),__vite__mapDeps([26,2,1,3,4,27])),meta:{title:"Sign In"}},{path:"/welcome",component:()=>Qe(()=>import("./setup.js"),__vite__mapDeps([28,1])),meta:{requiresAuth:!0,title:"Welcome to WGDashboard"}},{path:"/2FASetup",component:()=>Qe(()=>import("./totp.js"),__vite__mapDeps([29,30,1])),meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup"}},{path:"/share",component:()=>Qe(()=>import("./share.js"),__vite__mapDeps([31,30,1,32])),meta:{title:"Share"}}]});hs.beforeEach(async(e,t,n)=>{const s=_b(),r=fn();e.meta.title?e.params.id?document.title=e.params.id+" | WGDashboard":document.title=e.meta.title+" | WGDashboard":document.title="WGDashboard",r.ShowNavBar=!1,document.querySelector(".loadingBar").classList.remove("loadingDone"),document.querySelector(".loadingBar").classList.add("loading"),e.meta.requiresAuth?r.getActiveCrossServer()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),n()):cb.getCookie("authToken")&&await vb()?(await r.getConfiguration(),!s.Configurations&&e.name!=="Configuration List"&&await s.getConfigurations(),r.Redirect=void 0,n()):(r.Redirect=e,n("/signin"),r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});hs.afterEach(()=>{document.querySelector(".loadingBar").classList.remove("loading"),document.querySelector(".loadingBar").classList.add("loadingDone")});const Hf=()=>{let e={"content-type":"application/json"};const n=fn().getActiveCrossServer();return n&&(e["wg-dashboard-apikey"]=n.apiKey),e},Bf=e=>{const n=fn().getActiveCrossServer();return n?`${n.host}${e}`:`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`},Br=async(e,t=void 0,n=void 0)=>{const s=new URLSearchParams(t);await fetch(`${Bf(e)}?${s.toString()}`,{headers:Hf()}).then(r=>{const o=fn();if(r.ok)return r.json();if(r.status!==200)throw r.status===401&&o.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(r.statusText)}).then(r=>n?n(r):void 0).catch(r=>{console.log(r),hs.push({path:"/signin"})})},fy=async(e,t,n)=>{await fetch(`${Bf(e)}`,{headers:Hf(),method:"POST",body:JSON.stringify(t)}).then(s=>{const r=fn();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&r.newMessage("WGDashboard","Sign in session ended, please sign in again","warning"),new Error(s.statusText)}).then(s=>n?n(s):void 0).catch(s=>{console.log(s),hs.push({path:"/signin"})})};let yr;const Eb=new Uint8Array(16);function bb(){if(!yr&&(yr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!yr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return yr(Eb)}const Re=[];for(let e=0;e<256;++e)Re.push((e+256).toString(16).slice(1));function yb(e,t=0){return Re[e[t+0]]+Re[e[t+1]]+Re[e[t+2]]+Re[e[t+3]]+"-"+Re[e[t+4]]+Re[e[t+5]]+"-"+Re[e[t+6]]+Re[e[t+7]]+"-"+Re[e[t+8]]+Re[e[t+9]]+"-"+Re[e[t+10]]+Re[e[t+11]]+Re[e[t+12]]+Re[e[t+13]]+Re[e[t+14]]+Re[e[t+15]]}const Ab=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),lc={randomUUID:Ab};function cc(e,t,n){if(lc.randomUUID&&!t&&!e)return lc.randomUUID();e=e||{};const s=e.random||(e.rng||bb)();return s[6]=s[6]&15|64,s[8]=s[8]&63|128,yb(s)}const fn=yf("DashboardConfigurationStore",{state:()=>({Redirect:void 0,Configuration:void 0,Messages:[],Peers:{Selecting:!1,RefreshInterval:void 0},CrossServerConfiguration:{Enable:!1,ServerList:{}},ActiveServerConfiguration:void 0,IsElectronApp:!1,ShowNavBar:!1,Locale:void 0}),actions:{initCrossServerConfiguration(){const e=localStorage.getItem("CrossServerConfiguration");localStorage.getItem("ActiveCrossServerConfiguration")!==null&&(this.ActiveServerConfiguration=localStorage.getItem("ActiveCrossServerConfiguration")),e===null?window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration)):this.CrossServerConfiguration=JSON.parse(e)},syncCrossServerConfiguration(){window.localStorage.setItem("CrossServerConfiguration",JSON.stringify(this.CrossServerConfiguration))},addCrossServerConfiguration(){this.CrossServerConfiguration.ServerList[cc().toString()]={host:"",apiKey:"",active:!1}},deleteCrossServerConfiguration(e){delete this.CrossServerConfiguration.ServerList[e]},getActiveCrossServer(){const e=localStorage.getItem("ActiveCrossServerConfiguration");if(e!==null)return this.CrossServerConfiguration.ServerList[e]},setActiveCrossServer(e){this.ActiveServerConfiguration=e,localStorage.setItem("ActiveCrossServerConfiguration",e)},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await Br("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async signOut(){await Br("/api/signout",{},e=>{this.removeActiveCrossServer(),this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:cc(),from:Mt(e),content:Mt(t),type:n,show:!0})},applyLocale(e){if(this.Locale===null)return e;const n=Object.keys(this.Locale).filter(s=>e.match(new RegExp("^"+s+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?e:this.Locale[n[0]]}}}),Tb=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Cb={class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},wb={class:"container-fluid d-flex text-body align-items-center"},Sb={key:0,class:"ms-auto text-muted"},Ob={__name:"App",setup(e){const t=fn();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0),Qn(t.CrossServerConfiguration,()=>{t.syncCrossServerConfiguration()},{deep:!0});const n=nt(()=>{if(t.ActiveServerConfiguration)return t.CrossServerConfiguration.ServerList[t.ActiveServerConfiguration]});return(s,r)=>(en(),_l(Ve,null,[r[4]||(r[4]=It("div",{style:{"z-index":"9999",height:"5px"},class:"position-absolute loadingBar top-0 start-0"},null,-1)),It("nav",Cb,[It("div",wb,[r[3]||(r[3]=It("span",{class:"navbar-brand mb-0 h1"},"WGDashboard",-1)),n.value!==void 0?(en(),_l("small",Sb,[r[1]||(r[1]=It("i",{class:"bi bi-server me-2"},null,-1)),ef(jc(n.value.host),1)])):sv("",!0),It("a",{role:"button",class:"navbarBtn text-body",onClick:r[0]||(r[0]=o=>Ht(t).ShowNavBar=!Ht(t).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},r[2]||(r[2]=[It("i",{class:"bi bi-list"},null,-1)]))])]),(en(),Bs(q_,null,{default:Cr(()=>[Ae(Ht(If),null,{default:Cr(({Component:o})=>[Ae(vv,{name:"app",mode:"out-in",type:"transition",appear:""},{default:Cr(()=>[(en(),Bs(__(o)))]),_:2},1024)]),_:1})]),_:1}))],64))}},Nb=Tb(Ob,[["__scopeId","data-v-b4914970"]]);let lo;await fetch("/api/locale").then(e=>e.json()).then(e=>lo=e.data).catch(()=>{lo=null});const Jo=zv(Nb);Jo.use(hs);const jf=Zv();jf.use(({store:e})=>{e.$router=Jr(hs)});Jo.use(jf);const xb=fn();xb.Locale=lo;Jo.mount("#app");export{uy as $,Ho as A,Ht as B,Ys as C,fn as D,Qn as E,Ve as F,Mt as G,cy as H,Yc as I,Tm as J,Vo as K,cu as L,qo as M,hv as N,Bo as O,fe as P,Zr as Q,Io as R,q_ as S,ry as T,zb as U,Qe as V,_b as W,iy as X,Eg as Y,Wb as Z,Tb as _,It as a,qb as a0,ey as a1,Ub as a2,Jb as a3,Zb as a4,Kb as a5,nv as a6,rv as a7,Te as a8,Gb as a9,oy as aa,ly as ab,ty as ac,d_ as ad,ny as ae,Ae as b,_l as c,ef as d,Xb as e,Br as f,Bs as g,vv as h,__ as i,sv as j,Yb as k,cc as l,fy as m,zr as n,en as o,kl as p,Sn as q,Qb as r,nt as s,jc as t,sy as u,Bv as v,Cr as w,Wv as x,qr as y,ay as z};