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