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