mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-04-10 14:56:18 +00:00
15 lines
231 KiB
JavaScript
15 lines
231 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-FJBKYE9o.js","./localeText-slIlNmvW.js","./message-BCpGvXyZ.js","./dayjs.min-CDcSqwgf.js","./message-CGSzI01q.css","./index-C4wYuzDW.css","./configurationList-DyQdKNSn.js","./protocolBadge-DuF9r437.js","./storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-DyIHT8Z6.js","./storageMount-CiBujS1C.css","./configurationList-CG9tP7oL.css","./settings-Dq4CIGj-.js","./peersDefaultSettingsInput-CdPQfK5d.js","./dashboardEmailSettings-ChBz-NGE.js","./vue-datepicker-vYVOdkpZ.js","./index-p8W6lPzW.js","./dashboardEmailSettings-CDozOzQ3.css","./dashboardSettingsWireguardConfigurationAutostart-CDuYV_YE.js","./dashboardSettingsWireguardConfigurationAutostart-D5UlSscq.css","./wgdashboardSettings-DcOVnVX4.js","./peerDefaultSettings-BXqDdwA7.js","./wireguardConfigurationSettings-CBlmmPH5.js","./ping-DEGrvraX.js","./osmap-BDnmDR8p.js","./Vector-5IlHN0Py.js","./Vector-BtPuoxOl.css","./osmap-CsoM1fIq.css","./ping-DgbK5UF9.css","./traceroute-7nQq-B8l.js","./traceroute-D9mlT_ah.css","./newConfiguration-YU34DWO4.js","./index-D5AZF9CB.js","./galois-field-I2lBzzs-.js","./newConfiguration-DKjGLwK7.css","./restoreConfiguration-BZxfViAG.js","./restoreConfiguration-Go8Q_2zy.css","./systemStatus-BX0luAHi.js","./index-HUe35Pyu.js","./systemStatus-Dve-9tnj.css","./clients-B4F-hTZ7.js","./DashboardClientAssignmentStore-NnvBQTas.js","./clients-cOyFX4sh.css","./clientViewer-DDCtCjaZ.js","./clientViewer-BYW0BPeu.css","./dashboardWebHooks-CJRXn0Tq.js","./dashboardWebHooks-Dl-enc0Z.css","./peerList-w_vobCBV.js","./peerList-CLhB8X-O.css","./signin-CXnKEaHi.js","./signin-BINnMVzu.css","./setup-CWf87_Nl.js","./totp-DslWxGxU.js","./browser-D1LqIfJr.js","./share-CF94rGU4.js","./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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function bb(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 r(){var s=!1;try{s=this instanceof r}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var ws={exports:{}},Xe="top",st="bottom",it="right",Qe="left",qs="auto",yr=[Xe,st,it,Qe],Ln="start",ar="end",Nc="clippingParents",xo="viewport",Xn="popper",xc="reference",to=yr.reduce(function(e,t){return e.concat([t+"-"+Ln,t+"-"+ar])},[]),Ro=[].concat(yr,[qs]).reduce(function(e,t){return e.concat([t,t+"-"+Ln,t+"-"+ar])},[]),Rc="beforeRead",Ic="read",Dc="afterRead",$c="beforeMain",Lc="main",Pc="afterMain",Mc="beforeWrite",kc="write",Vc="afterWrite",Fc=[Rc,Ic,Dc,$c,Lc,Pc,Mc,kc,Vc];function Pt(e){return e?(e.nodeName||"").toLowerCase():null}function ot(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pn(e){var t=ot(e).Element;return e instanceof t||e instanceof Element}function ht(e){var t=ot(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Io(e){if(typeof ShadowRoot>"u")return!1;var t=ot(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Fg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},s=t.attributes[n]||{},o=t.elements[n];!ht(o)||!Pt(o)||(Object.assign(o.style,r),Object.keys(s).forEach(function(a){var l=s[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function Hg(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(r){var s=t.elements[r],o=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=a.reduce(function(c,d){return c[d]="",c},{});!ht(s)||!Pt(s)||(Object.assign(s.style,l),Object.keys(o).forEach(function(c){s.removeAttribute(c)}))})}}const Do={name:"applyStyles",enabled:!0,phase:"write",fn:Fg,effect:Hg,requires:["computeStyles"]};function Lt(e){return e.split("-")[0]}var xn=Math.max,Ls=Math.min,lr=Math.round;function no(){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 Hc(){return!/^((?!chrome|android).)*safari/i.test(no())}function cr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,o=1;t&&ht(e)&&(s=e.offsetWidth>0&&lr(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&lr(r.height)/e.offsetHeight||1);var a=Pn(e)?ot(e):window,l=a.visualViewport,c=!Hc()&&n,d=(r.left+(c&&l?l.offsetLeft:0))/s,f=(r.top+(c&&l?l.offsetTop:0))/o,h=r.width/s,p=r.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}function $o(e){var t=cr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Bc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Io(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Gt(e){return ot(e).getComputedStyle(e)}function Bg(e){return["table","td","th"].indexOf(Pt(e))>=0}function hn(e){return((Pn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ys(e){return Pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Io(e)?e.host:null)||hn(e)}function nl(e){return!ht(e)||Gt(e).position==="fixed"?null:e.offsetParent}function jg(e){var t=/firefox/i.test(no()),n=/Trident/i.test(no());if(n&&ht(e)){var r=Gt(e);if(r.position==="fixed")return null}var s=Ys(e);for(Io(s)&&(s=s.host);ht(s)&&["html","body"].indexOf(Pt(s))<0;){var o=Gt(s);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 s;s=s.parentNode}return null}function Zr(e){for(var t=ot(e),n=nl(e);n&&Bg(n)&&Gt(n).position==="static";)n=nl(n);return n&&(Pt(n)==="html"||Pt(n)==="body"&&Gt(n).position==="static")?t:n||jg(e)||t}function Lo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Pr(e,t,n){return xn(e,Ls(t,n))}function Wg(e,t,n){var r=Pr(e,t,n);return r>n?n:r}function jc(){return{top:0,right:0,bottom:0,left:0}}function Wc(e){return Object.assign({},jc(),e)}function Kc(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Kg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Wc(typeof t!="number"?t:Kc(t,yr))};function Ug(e){var t,n=e.state,r=e.name,s=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,l=Lt(n.placement),c=Lo(l),d=[Qe,it].indexOf(l)>=0,f=d?"height":"width";if(!(!o||!a)){var h=Kg(s.padding,n),p=$o(o),m=c==="y"?Xe:Qe,O=c==="y"?st:it,A=n.rects.reference[f]+n.rects.reference[c]-a[c]-n.rects.popper[f],x=a[c]-n.rects.reference[c],M=Zr(o),$=M?c==="y"?M.clientHeight||0:M.clientWidth||0:0,F=A/2-x/2,k=h[m],b=$-p[f]-h[O],y=$/2-p[f]/2+F,N=Pr(k,y,b),T=c;n.modifiersData[r]=(t={},t[T]=N,t.centerOffset=N-y,t)}}function Gg(e){var t=e.state,n=e.options,r=n.element,s=r===void 0?"[data-popper-arrow]":r;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||Bc(t.elements.popper,s)&&(t.elements.arrow=s))}const Uc={name:"arrow",enabled:!0,phase:"main",fn:Ug,effect:Gg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ur(e){return e.split("-")[1]}var qg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Yg(e,t){var n=e.x,r=e.y,s=t.devicePixelRatio||1;return{x:lr(n*s)/s||0,y:lr(r*s)/s||0}}function rl(e){var t,n=e.popper,r=e.popperRect,s=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,m=p===void 0?0:p,O=a.y,A=O===void 0?0:O,x=typeof f=="function"?f({x:m,y:A}):{x:m,y:A};m=x.x,A=x.y;var M=a.hasOwnProperty("x"),$=a.hasOwnProperty("y"),F=Qe,k=Xe,b=window;if(d){var y=Zr(n),N="clientHeight",T="clientWidth";if(y===ot(n)&&(y=hn(n),Gt(y).position!=="static"&&l==="absolute"&&(N="scrollHeight",T="scrollWidth")),y=y,s===Xe||(s===Qe||s===it)&&o===ar){k=st;var C=h&&y===b&&b.visualViewport?b.visualViewport.height:y[N];A-=C-r.height,A*=c?1:-1}if(s===Qe||(s===Xe||s===st)&&o===ar){F=it;var S=h&&y===b&&b.visualViewport?b.visualViewport.width:y[T];m-=S-r.width,m*=c?1:-1}}var U=Object.assign({position:l},d&&qg),j=f===!0?Yg({x:m,y:A},ot(n)):{x:m,y:A};if(m=j.x,A=j.y,c){var te;return Object.assign({},U,(te={},te[k]=$?"0":"",te[F]=M?"0":"",te.transform=(b.devicePixelRatio||1)<=1?"translate("+m+"px, "+A+"px)":"translate3d("+m+"px, "+A+"px, 0)",te))}return Object.assign({},U,(t={},t[k]=$?A+"px":"",t[F]=M?m+"px":"",t.transform="",t))}function zg(e){var t=e.state,n=e.options,r=n.gpuAcceleration,s=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,l=n.roundOffsets,c=l===void 0?!0:l,d={placement:Lt(t.placement),variation:ur(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,rl(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,rl(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 Po={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:zg,data:{}};var vs={passive:!0};function Xg(e){var t=e.state,n=e.instance,r=e.options,s=r.scroll,o=s===void 0?!0:s,a=r.resize,l=a===void 0?!0:a,c=ot(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",n.update,vs)}),l&&c.addEventListener("resize",n.update,vs),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",n.update,vs)}),l&&c.removeEventListener("resize",n.update,vs)}}const Mo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Xg,data:{}};var Qg={left:"right",right:"left",bottom:"top",top:"bottom"};function Os(e){return e.replace(/left|right|bottom|top/g,function(t){return Qg[t]})}var Jg={start:"end",end:"start"};function sl(e){return e.replace(/start|end/g,function(t){return Jg[t]})}function ko(e){var t=ot(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Vo(e){return cr(hn(e)).left+ko(e).scrollLeft}function Zg(e,t){var n=ot(e),r=hn(e),s=n.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){o=s.width,a=s.height;var d=Hc();(d||!d&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}return{width:o,height:a,x:l+Vo(e),y:c}}function em(e){var t,n=hn(e),r=ko(e),s=(t=e.ownerDocument)==null?void 0:t.body,o=xn(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),a=xn(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),l=-r.scrollLeft+Vo(e),c=-r.scrollTop;return Gt(s||n).direction==="rtl"&&(l+=xn(n.clientWidth,s?s.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function Fo(e){var t=Gt(e),n=t.overflow,r=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+r)}function Gc(e){return["html","body","#document"].indexOf(Pt(e))>=0?e.ownerDocument.body:ht(e)&&Fo(e)?e:Gc(Ys(e))}function Mr(e,t){var n;t===void 0&&(t=[]);var r=Gc(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=ot(r),a=s?[o].concat(o.visualViewport||[],Fo(r)?r:[]):r,l=t.concat(a);return s?l:l.concat(Mr(Ys(a)))}function ro(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tm(e,t){var n=cr(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 il(e,t,n){return t===xo?ro(Zg(e,n)):Pn(t)?tm(t,n):ro(em(hn(e)))}function nm(e){var t=Mr(Ys(e)),n=["absolute","fixed"].indexOf(Gt(e).position)>=0,r=n&&ht(e)?Zr(e):e;return Pn(r)?t.filter(function(s){return Pn(s)&&Bc(s,r)&&Pt(s)!=="body"}):[]}function rm(e,t,n,r){var s=t==="clippingParents"?nm(e):[].concat(t),o=[].concat(s,[n]),a=o[0],l=o.reduce(function(c,d){var f=il(e,d,r);return c.top=xn(f.top,c.top),c.right=Ls(f.right,c.right),c.bottom=Ls(f.bottom,c.bottom),c.left=xn(f.left,c.left),c},il(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function qc(e){var t=e.reference,n=e.element,r=e.placement,s=r?Lt(r):null,o=r?ur(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(s){case Xe:c={x:a,y:t.y-n.height};break;case st:c={x:a,y:t.y+t.height};break;case it: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=s?Lo(s):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case Ln:c[d]=c[d]-(t[f]/2-n[f]/2);break;case ar:c[d]=c[d]+(t[f]/2-n[f]/2);break}}return c}function fr(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=r===void 0?e.placement:r,o=n.strategy,a=o===void 0?e.strategy:o,l=n.boundary,c=l===void 0?Nc:l,d=n.rootBoundary,f=d===void 0?xo:d,h=n.elementContext,p=h===void 0?Xn:h,m=n.altBoundary,O=m===void 0?!1:m,A=n.padding,x=A===void 0?0:A,M=Wc(typeof x!="number"?x:Kc(x,yr)),$=p===Xn?xc:Xn,F=e.rects.popper,k=e.elements[O?$:p],b=rm(Pn(k)?k:k.contextElement||hn(e.elements.popper),c,f,a),y=cr(e.elements.reference),N=qc({reference:y,element:F,placement:s}),T=ro(Object.assign({},F,N)),C=p===Xn?T:y,S={top:b.top-C.top+M.top,bottom:C.bottom-b.bottom+M.bottom,left:b.left-C.left+M.left,right:C.right-b.right+M.right},U=e.modifiersData.offset;if(p===Xn&&U){var j=U[s];Object.keys(S).forEach(function(te){var he=[it,st].indexOf(te)>=0?1:-1,Ee=[Xe,st].indexOf(te)>=0?"y":"x";S[te]+=j[Ee]*he})}return S}function sm(e,t){t===void 0&&(t={});var n=t,r=n.placement,s=n.boundary,o=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,d=c===void 0?Ro:c,f=ur(r),h=f?l?to:to.filter(function(O){return ur(O)===f}):yr,p=h.filter(function(O){return d.indexOf(O)>=0});p.length===0&&(p=h);var m=p.reduce(function(O,A){return O[A]=fr(e,{placement:A,boundary:s,rootBoundary:o,padding:a})[Lt(A)],O},{});return Object.keys(m).sort(function(O,A){return m[O]-m[A]})}function im(e){if(Lt(e)===qs)return[];var t=Os(e);return[sl(e),t,sl(t)]}function om(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,d=n.padding,f=n.boundary,h=n.rootBoundary,p=n.altBoundary,m=n.flipVariations,O=m===void 0?!0:m,A=n.allowedAutoPlacements,x=t.options.placement,M=Lt(x),$=M===x,F=c||($||!O?[Os(x)]:im(x)),k=[x].concat(F).reduce(function(de,me){return de.concat(Lt(me)===qs?sm(t,{placement:me,boundary:f,rootBoundary:h,padding:d,flipVariations:O,allowedAutoPlacements:A}):me)},[]),b=t.rects.reference,y=t.rects.popper,N=new Map,T=!0,C=k[0],S=0;S<k.length;S++){var U=k[S],j=Lt(U),te=ur(U)===Ln,he=[Xe,st].indexOf(j)>=0,Ee=he?"width":"height",ie=fr(t,{placement:U,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),I=he?te?it:Qe:te?st:Xe;b[Ee]>y[Ee]&&(I=Os(I));var K=Os(I),G=[];if(o&&G.push(ie[j]<=0),l&&G.push(ie[I]<=0,ie[K]<=0),G.every(function(de){return de})){C=U,T=!1;break}N.set(U,G)}if(T)for(var z=O?3:1,re=function(me){var ye=k.find(function(L){var Q=N.get(L);if(Q)return Q.slice(0,me).every(function(Z){return Z})});if(ye)return C=ye,"break"},ne=z;ne>0;ne--){var se=re(ne);if(se==="break")break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}}const Yc={name:"flip",enabled:!0,phase:"main",fn:om,requiresIfExists:["offset"],data:{_skip:!1}};function ol(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 al(e){return[Xe,it,st,Qe].some(function(t){return e[t]>=0})}function am(e){var t=e.state,n=e.name,r=t.rects.reference,s=t.rects.popper,o=t.modifiersData.preventOverflow,a=fr(t,{elementContext:"reference"}),l=fr(t,{altBoundary:!0}),c=ol(a,r),d=ol(l,s,o),f=al(c),h=al(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 zc={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:am};function lm(e,t,n){var r=Lt(e),s=[Qe,Xe].indexOf(r)>=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)*s,[Qe,it].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function cm(e){var t=e.state,n=e.options,r=e.name,s=n.offset,o=s===void 0?[0,0]:s,a=Ro.reduce(function(f,h){return f[h]=lm(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[r]=a}const Xc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cm};function um(e){var t=e.state,n=e.name;t.modifiersData[n]=qc({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Ho={name:"popperOffsets",enabled:!0,phase:"read",fn:um,data:{}};function fm(e){return e==="x"?"y":"x"}function dm(e){var t=e.state,n=e.options,r=e.name,s=n.mainAxis,o=s===void 0?!0:s,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.padding,p=n.tether,m=p===void 0?!0:p,O=n.tetherOffset,A=O===void 0?0:O,x=fr(t,{boundary:c,rootBoundary:d,padding:h,altBoundary:f}),M=Lt(t.placement),$=ur(t.placement),F=!$,k=Lo(M),b=fm(k),y=t.modifiersData.popperOffsets,N=t.rects.reference,T=t.rects.popper,C=typeof A=="function"?A(Object.assign({},t.rects,{placement:t.placement})):A,S=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(y){if(o){var te,he=k==="y"?Xe:Qe,Ee=k==="y"?st:it,ie=k==="y"?"height":"width",I=y[k],K=I+x[he],G=I-x[Ee],z=m?-T[ie]/2:0,re=$===Ln?N[ie]:T[ie],ne=$===Ln?-T[ie]:-N[ie],se=t.elements.arrow,de=m&&se?$o(se):{width:0,height:0},me=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jc(),ye=me[he],L=me[Ee],Q=Pr(0,N[ie],de[ie]),Z=F?N[ie]/2-z-Q-ye-S.mainAxis:re-Q-ye-S.mainAxis,oe=F?-N[ie]/2+z+Q+L+S.mainAxis:ne+Q+L+S.mainAxis,D=t.elements.arrow&&Zr(t.elements.arrow),g=D?k==="y"?D.clientTop||0:D.clientLeft||0:0,E=(te=U?.[k])!=null?te:0,w=I+Z-E-g,P=I+oe-E,B=Pr(m?Ls(K,w):K,I,m?xn(G,P):G);y[k]=B,j[k]=B-I}if(l){var H,q=k==="x"?Xe:Qe,X=k==="x"?st:it,R=y[b],W=b==="y"?"height":"width",ce=R+x[q],ee=R-x[X],ae=[Xe,Qe].indexOf(M)!==-1,ue=(H=U?.[b])!=null?H:0,pe=ae?ce:R-N[W]-T[W]-ue+S.altAxis,be=ae?R+N[W]+T[W]-ue-S.altAxis:ee,_e=m&&ae?Wg(pe,R,be):Pr(m?pe:ce,R,m?be:ee);y[b]=_e,j[b]=_e-R}t.modifiersData[r]=j}}const Qc={name:"preventOverflow",enabled:!0,phase:"main",fn:dm,requiresIfExists:["offset"]};function hm(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function pm(e){return e===ot(e)||!ht(e)?ko(e):hm(e)}function gm(e){var t=e.getBoundingClientRect(),n=lr(t.width)/e.offsetWidth||1,r=lr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function mm(e,t,n){n===void 0&&(n=!1);var r=ht(t),s=ht(t)&&gm(t),o=hn(t),a=cr(e,s,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((Pt(t)!=="body"||Fo(o))&&(l=pm(t)),ht(t)?(c=cr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Vo(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function _m(e){var t=new Map,n=new Set,r=[];e.forEach(function(o){t.set(o.name,o)});function s(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&&s(c)}}),r.push(o)}return e.forEach(function(o){n.has(o.name)||s(o)}),r}function vm(e){var t=_m(e);return Fc.reduce(function(n,r){return n.concat(t.filter(function(s){return s.phase===r}))},[])}function Em(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function ym(e){var t=e.reduce(function(n,r){var s=n[r.name];return n[r.name]=s?Object.assign({},s,r,{options:Object.assign({},s.options,r.options),data:Object.assign({},s.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var ll={placement:"bottom",modifiers:[],strategy:"absolute"};function cl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function zs(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,s=t.defaultOptions,o=s===void 0?ll:s;return function(l,c,d){d===void 0&&(d=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},ll,o),modifiersData:{},elements:{reference:l,popper:c},attributes:{},styles:{}},h=[],p=!1,m={state:f,setOptions:function(M){var $=typeof M=="function"?M(f.options):M;A(),f.options=Object.assign({},o,f.options,$),f.scrollParents={reference:Pn(l)?Mr(l):l.contextElement?Mr(l.contextElement):[],popper:Mr(c)};var F=vm(ym([].concat(r,f.options.modifiers)));return f.orderedModifiers=F.filter(function(k){return k.enabled}),O(),m.update()},forceUpdate:function(){if(!p){var M=f.elements,$=M.reference,F=M.popper;if(cl($,F)){f.rects={reference:mm($,Zr(F),f.options.strategy==="fixed"),popper:$o(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,T=N===void 0?{}:N,C=b.name;typeof y=="function"&&(f=y({state:f,options:T,name:C,instance:m})||f)}}}},update:Em(function(){return new Promise(function(x){m.forceUpdate(),x(f)})}),destroy:function(){A(),p=!0}};if(!cl(l,c))return m;m.setOptions(d).then(function(x){!p&&d.onFirstUpdate&&d.onFirstUpdate(x)});function O(){f.orderedModifiers.forEach(function(x){var M=x.name,$=x.options,F=$===void 0?{}:$,k=x.effect;if(typeof k=="function"){var b=k({state:f,name:M,instance:m,options:F}),y=function(){};h.push(b||y)}})}function A(){h.forEach(function(x){return x()}),h=[]}return m}}var bm=zs(),Am=[Mo,Ho,Po,Do],Tm=zs({defaultModifiers:Am}),Cm=[Mo,Ho,Po,Do,Xc,Yc,Qc,Uc,zc],Sm=zs({defaultModifiers:Cm});const wm=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Pc,afterRead:Dc,afterWrite:Vc,applyStyles:Do,arrow:Uc,auto:qs,basePlacements:yr,beforeMain:$c,beforeRead:Rc,beforeWrite:Mc,bottom:st,clippingParents:Nc,computeStyles:Po,createPopper:Sm,createPopperBase:bm,createPopperLite:Tm,detectOverflow:fr,end:ar,eventListeners:Mo,flip:Yc,hide:zc,left:Qe,main:Lc,modifierPhases:Fc,offset:Xc,placements:Ro,popper:Xn,popperGenerator:zs,popperOffsets:Ho,preventOverflow:Qc,read:Ic,reference:xc,right:it,start:Ln,top:Xe,variationPlacements:to,viewport:xo,write:kc},Symbol.toStringTag,{value:"Module"})),Om=Vg(wm);var Nm=ws.exports,ul;function xm(){return ul||(ul=1,(function(e,t){(function(n,r){e.exports=r(Om)})(Nm,(function(n){function r(_){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(_){for(const u in _)if(u!=="default"){const v=Object.getOwnPropertyDescriptor(_,u);Object.defineProperty(i,u,v.get?v:{enumerable:!0,get:()=>_[u]})}}return i.default=_,Object.freeze(i)}const s=r(n),o=new Map,a={set(_,i,u){o.has(_)||o.set(_,new Map);const v=o.get(_);if(!v.has(i)&&v.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(v.keys())[0]}.`);return}v.set(i,u)},get(_,i){return o.has(_)&&o.get(_).get(i)||null},remove(_,i){if(!o.has(_))return;const u=o.get(_);u.delete(i),u.size===0&&o.delete(_)}},l=1e6,c=1e3,d="transitionend",f=_=>(_&&window.CSS&&window.CSS.escape&&(_=_.replace(/#([^\s"#']+)/g,(i,u)=>`#${CSS.escape(u)}`)),_),h=_=>_==null?`${_}`:Object.prototype.toString.call(_).match(/\s([a-z]+)/i)[1].toLowerCase(),p=_=>{do _+=Math.floor(Math.random()*l);while(document.getElementById(_));return _},m=_=>{if(!_)return 0;let{transitionDuration:i,transitionDelay:u}=window.getComputedStyle(_);const v=Number.parseFloat(i),V=Number.parseFloat(u);return!v&&!V?0:(i=i.split(",")[0],u=u.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(u))*c)},O=_=>{_.dispatchEvent(new Event(d))},A=_=>!_||typeof _!="object"?!1:(typeof _.jquery<"u"&&(_=_[0]),typeof _.nodeType<"u"),x=_=>A(_)?_.jquery?_[0]:_:typeof _=="string"&&_.length>0?document.querySelector(f(_)):null,M=_=>{if(!A(_)||_.getClientRects().length===0)return!1;const i=getComputedStyle(_).getPropertyValue("visibility")==="visible",u=_.closest("details:not([open])");if(!u)return i;if(u!==_){const v=_.closest("summary");if(v&&v.parentNode!==u||v===null)return!1}return i},$=_=>!_||_.nodeType!==Node.ELEMENT_NODE||_.classList.contains("disabled")?!0:typeof _.disabled<"u"?_.disabled:_.hasAttribute("disabled")&&_.getAttribute("disabled")!=="false",F=_=>{if(!document.documentElement.attachShadow)return null;if(typeof _.getRootNode=="function"){const i=_.getRootNode();return i instanceof ShadowRoot?i:null}return _ instanceof ShadowRoot?_:_.parentNode?F(_.parentNode):null},k=()=>{},b=_=>{_.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,N=[],T=_=>{document.readyState==="loading"?(N.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of N)i()}),N.push(_)):_()},C=()=>document.documentElement.dir==="rtl",S=_=>{T(()=>{const i=y();if(i){const u=_.NAME,v=i.fn[u];i.fn[u]=_.jQueryInterface,i.fn[u].Constructor=_,i.fn[u].noConflict=()=>(i.fn[u]=v,_.jQueryInterface)}})},U=(_,i=[],u=_)=>typeof _=="function"?_.call(...i):u,j=(_,i,u=!0)=>{if(!u){U(_);return}const V=m(i)+5;let J=!1;const Y=({target:ge})=>{ge===i&&(J=!0,i.removeEventListener(d,Y),U(_))};i.addEventListener(d,Y),setTimeout(()=>{J||O(i)},V)},te=(_,i,u,v)=>{const V=_.length;let J=_.indexOf(i);return J===-1?!u&&v?_[V-1]:_[0]:(J+=u?1:-1,v&&(J=(J+V)%V),_[Math.max(0,Math.min(J,V-1))])},he=/[^.]*(?=\..*)\.|.*/,Ee=/\..*/,ie=/::\d+$/,I={};let K=1;const G={mouseenter:"mouseover",mouseleave:"mouseout"},z=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 re(_,i){return i&&`${i}::${K++}`||_.uidEvent||K++}function ne(_){const i=re(_);return _.uidEvent=i,I[i]=I[i]||{},I[i]}function se(_,i){return function u(v){return g(v,{delegateTarget:_}),u.oneOff&&D.off(_,v.type,i),i.apply(_,[v])}}function de(_,i,u){return function v(V){const J=_.querySelectorAll(i);for(let{target:Y}=V;Y&&Y!==this;Y=Y.parentNode)for(const ge of J)if(ge===Y)return g(V,{delegateTarget:Y}),v.oneOff&&D.off(_,V.type,i,u),u.apply(Y,[V])}}function me(_,i,u=null){return Object.values(_).find(v=>v.callable===i&&v.delegationSelector===u)}function ye(_,i,u){const v=typeof i=="string",V=v?u:i||u;let J=oe(_);return z.has(J)||(J=_),[v,V,J]}function L(_,i,u,v,V){if(typeof i!="string"||!_)return;let[J,Y,ge]=ye(i,u,v);i in G&&(Y=(kg=>function(qn){if(!qn.relatedTarget||qn.relatedTarget!==qn.delegateTarget&&!qn.delegateTarget.contains(qn.relatedTarget))return kg.call(this,qn)})(Y));const Je=ne(_),ut=Je[ge]||(Je[ge]={}),Me=me(ut,Y,J?u:null);if(Me){Me.oneOff=Me.oneOff&&V;return}const Ot=re(Y,i.replace(he,"")),vt=J?de(_,u,Y):se(_,Y);vt.delegationSelector=J?u:null,vt.callable=Y,vt.oneOff=V,vt.uidEvent=Ot,ut[Ot]=vt,_.addEventListener(ge,vt,J)}function Q(_,i,u,v,V){const J=me(i[u],v,V);J&&(_.removeEventListener(u,J,!!V),delete i[u][J.uidEvent])}function Z(_,i,u,v){const V=i[u]||{};for(const[J,Y]of Object.entries(V))J.includes(v)&&Q(_,i,u,Y.callable,Y.delegationSelector)}function oe(_){return _=_.replace(Ee,""),G[_]||_}const D={on(_,i,u,v){L(_,i,u,v,!1)},one(_,i,u,v){L(_,i,u,v,!0)},off(_,i,u,v){if(typeof i!="string"||!_)return;const[V,J,Y]=ye(i,u,v),ge=Y!==i,Je=ne(_),ut=Je[Y]||{},Me=i.startsWith(".");if(typeof J<"u"){if(!Object.keys(ut).length)return;Q(_,Je,Y,J,V?u:null);return}if(Me)for(const Ot of Object.keys(Je))Z(_,Je,Ot,i.slice(1));for(const[Ot,vt]of Object.entries(ut)){const _s=Ot.replace(ie,"");(!ge||i.includes(_s))&&Q(_,Je,Y,vt.callable,vt.delegationSelector)}},trigger(_,i,u){if(typeof i!="string"||!_)return null;const v=y(),V=oe(i),J=i!==V;let Y=null,ge=!0,Je=!0,ut=!1;J&&v&&(Y=v.Event(i,u),v(_).trigger(Y),ge=!Y.isPropagationStopped(),Je=!Y.isImmediatePropagationStopped(),ut=Y.isDefaultPrevented());const Me=g(new Event(i,{bubbles:ge,cancelable:!0}),u);return ut&&Me.preventDefault(),Je&&_.dispatchEvent(Me),Me.defaultPrevented&&Y&&Y.preventDefault(),Me}};function g(_,i={}){for(const[u,v]of Object.entries(i))try{_[u]=v}catch{Object.defineProperty(_,u,{configurable:!0,get(){return v}})}return _}function E(_){if(_==="true")return!0;if(_==="false")return!1;if(_===Number(_).toString())return Number(_);if(_===""||_==="null")return null;if(typeof _!="string")return _;try{return JSON.parse(decodeURIComponent(_))}catch{return _}}function w(_){return _.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const P={setDataAttribute(_,i,u){_.setAttribute(`data-bs-${w(i)}`,u)},removeDataAttribute(_,i){_.removeAttribute(`data-bs-${w(i)}`)},getDataAttributes(_){if(!_)return{};const i={},u=Object.keys(_.dataset).filter(v=>v.startsWith("bs")&&!v.startsWith("bsConfig"));for(const v of u){let V=v.replace(/^bs/,"");V=V.charAt(0).toLowerCase()+V.slice(1),i[V]=E(_.dataset[v])}return i},getDataAttribute(_,i){return E(_.getAttribute(`data-bs-${w(i)}`))}};class B{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,u){const v=A(u)?P.getDataAttribute(u,"config"):{};return{...this.constructor.Default,...typeof v=="object"?v:{},...A(u)?P.getDataAttributes(u):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,u=this.constructor.DefaultType){for(const[v,V]of Object.entries(u)){const J=i[v],Y=A(J)?"element":h(J);if(!new RegExp(V).test(Y))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${v}" provided type "${Y}" but expected type "${V}".`)}}}const H="5.3.8";class q extends B{constructor(i,u){super(),i=x(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),D.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,u,v=!0){j(i,u,v)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return a.get(x(i),this.DATA_KEY)}static getOrCreateInstance(i,u={}){return this.getInstance(i)||new this(i,typeof u=="object"?u:null)}static get VERSION(){return H}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 X=_=>{let i=_.getAttribute("data-bs-target");if(!i||i==="#"){let u=_.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},R={find(_,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,_))},findOne(_,i=document.documentElement){return Element.prototype.querySelector.call(i,_)},children(_,i){return[].concat(..._.children).filter(u=>u.matches(i))},parents(_,i){const u=[];let v=_.parentNode.closest(i);for(;v;)u.push(v),v=v.parentNode.closest(i);return u},prev(_,i){let u=_.previousElementSibling;for(;u;){if(u.matches(i))return[u];u=u.previousElementSibling}return[]},next(_,i){let u=_.nextElementSibling;for(;u;){if(u.matches(i))return[u];u=u.nextElementSibling}return[]},focusableChildren(_){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(u=>`${u}:not([tabindex^="-"])`).join(",");return this.find(i,_).filter(u=>!$(u)&&M(u))},getSelectorFromElement(_){const i=X(_);return i&&R.findOne(i)?i:null},getElementFromSelector(_){const i=X(_);return i?R.findOne(i):null},getMultipleElementsFromSelector(_){const i=X(_);return i?R.find(i):[]}},W=(_,i="hide")=>{const u=`click.dismiss${_.EVENT_KEY}`,v=_.NAME;D.on(document,u,`[data-bs-dismiss="${v}"]`,function(V){if(["A","AREA"].includes(this.tagName)&&V.preventDefault(),$(this))return;const J=R.getElementFromSelector(this)||this.closest(`.${v}`);_.getOrCreateInstance(J)[i]()})},ce="alert",ae=".bs.alert",ue=`close${ae}`,pe=`closed${ae}`,be="fade",_e="show";class Ie extends q{static get NAME(){return ce}close(){if(D.trigger(this._element,ue).defaultPrevented)return;this._element.classList.remove(_e);const u=this._element.classList.contains(be);this._queueCallback(()=>this._destroyElement(),this._element,u)}_destroyElement(){this._element.remove(),D.trigger(this._element,pe),this.dispose()}static jQueryInterface(i){return this.each(function(){const u=Ie.getOrCreateInstance(this);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}W(Ie,"close"),S(Ie);const je="button",at=".bs.button",mn=".data-api",ss="active",We='[data-bs-toggle="button"]',lt=`click${at}${mn}`;class Qt extends q{static get NAME(){return je}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(ss))}static jQueryInterface(i){return this.each(function(){const u=Qt.getOrCreateInstance(this);i==="toggle"&&u[i]()})}}D.on(document,lt,We,_=>{_.preventDefault();const i=_.target.closest(We);Qt.getOrCreateInstance(i).toggle()}),S(Qt);const is="swipe",Fn=".bs.swipe",cd=`touchstart${Fn}`,ud=`touchmove${Fn}`,fd=`touchend${Fn}`,dd=`pointerdown${Fn}`,hd=`pointerup${Fn}`,pd="touch",gd="pen",md="pointer-event",_d=40,vd={endCallback:null,leftCallback:null,rightCallback:null},Ed={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class os extends B{constructor(i,u){super(),this._element=i,!(!i||!os.isSupported())&&(this._config=this._getConfig(u),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return vd}static get DefaultType(){return Ed}static get NAME(){return is}dispose(){D.off(this._element,Fn)}_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(),U(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<=_d)return;const u=i/this._deltaX;this._deltaX=0,u&&U(u>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(D.on(this._element,dd,i=>this._start(i)),D.on(this._element,hd,i=>this._end(i)),this._element.classList.add(md)):(D.on(this._element,cd,i=>this._start(i)),D.on(this._element,ud,i=>this._move(i)),D.on(this._element,fd,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===gd||i.pointerType===pd)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const yd="carousel",Jt=".bs.carousel",ga=".data-api",bd="ArrowLeft",Ad="ArrowRight",Td=500,Cr="next",Hn="prev",Bn="left",as="right",Cd=`slide${Jt}`,yi=`slid${Jt}`,Sd=`keydown${Jt}`,wd=`mouseenter${Jt}`,Od=`mouseleave${Jt}`,Nd=`dragstart${Jt}`,xd=`load${Jt}${ga}`,Rd=`click${Jt}${ga}`,ma="carousel",ls="active",Id="slide",Dd="carousel-item-end",$d="carousel-item-start",Ld="carousel-item-next",Pd="carousel-item-prev",_a=".active",va=".carousel-item",Md=_a+va,kd=".carousel-item img",Vd=".carousel-indicators",Fd="[data-bs-slide], [data-bs-slide-to]",Hd='[data-bs-ride="carousel"]',Bd={[bd]:as,[Ad]:Bn},jd={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Wd={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class jn extends q{constructor(i,u){super(i,u),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=R.findOne(Vd,this._element),this._addEventListeners(),this._config.ride===ma&&this.cycle()}static get Default(){return jd}static get DefaultType(){return Wd}static get NAME(){return yd}next(){this._slide(Cr)}nextWhenVisible(){!document.hidden&&M(this._element)&&this.next()}prev(){this._slide(Hn)}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){D.one(this._element,yi,()=>this.cycle());return}this.cycle()}}to(i){const u=this._getItems();if(i>u.length-1||i<0)return;if(this._isSliding){D.one(this._element,yi,()=>this.to(i));return}const v=this._getItemIndex(this._getActive());if(v===i)return;const V=i>v?Cr:Hn;this._slide(V,u[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&D.on(this._element,Sd,i=>this._keydown(i)),this._config.pause==="hover"&&(D.on(this._element,wd,()=>this.pause()),D.on(this._element,Od,()=>this._maybeEnableCycle())),this._config.touch&&os.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const v of R.find(kd,this._element))D.on(v,Nd,V=>V.preventDefault());const u={leftCallback:()=>this._slide(this._directionToOrder(Bn)),rightCallback:()=>this._slide(this._directionToOrder(as)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Td+this._config.interval))}};this._swipeHelper=new os(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=R.findOne(_a,this._indicatorsElement);u.classList.remove(ls),u.removeAttribute("aria-current");const v=R.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);v&&(v.classList.add(ls),v.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const u=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=u||this._config.defaultInterval}_slide(i,u=null){if(this._isSliding)return;const v=this._getActive(),V=i===Cr,J=u||te(this._getItems(),v,V,this._config.wrap);if(J===v)return;const Y=this._getItemIndex(J),ge=_s=>D.trigger(this._element,_s,{relatedTarget:J,direction:this._orderToDirection(i),from:this._getItemIndex(v),to:Y});if(ge(Cd).defaultPrevented||!v||!J)return;const ut=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(Y),this._activeElement=J;const Me=V?$d:Dd,Ot=V?Ld:Pd;J.classList.add(Ot),b(J),v.classList.add(Me),J.classList.add(Me);const vt=()=>{J.classList.remove(Me,Ot),J.classList.add(ls),v.classList.remove(ls,Ot,Me),this._isSliding=!1,ge(yi)};this._queueCallback(vt,v,this._isAnimated()),ut&&this.cycle()}_isAnimated(){return this._element.classList.contains(Id)}_getActive(){return R.findOne(Md,this._element)}_getItems(){return R.find(va,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return C()?i===Bn?Hn:Cr:i===Bn?Cr:Hn}_orderToDirection(i){return C()?i===Hn?Bn:as:i===Hn?as:Bn}static jQueryInterface(i){return this.each(function(){const u=jn.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]()}})}}D.on(document,Rd,Fd,function(_){const i=R.getElementFromSelector(this);if(!i||!i.classList.contains(ma))return;_.preventDefault();const u=jn.getOrCreateInstance(i),v=this.getAttribute("data-bs-slide-to");if(v){u.to(v),u._maybeEnableCycle();return}if(P.getDataAttribute(this,"slide")==="next"){u.next(),u._maybeEnableCycle();return}u.prev(),u._maybeEnableCycle()}),D.on(window,xd,()=>{const _=R.find(Hd);for(const i of _)jn.getOrCreateInstance(i)}),S(jn);const Kd="collapse",Sr=".bs.collapse",Ud=".data-api",Gd=`show${Sr}`,qd=`shown${Sr}`,Yd=`hide${Sr}`,zd=`hidden${Sr}`,Xd=`click${Sr}${Ud}`,bi="show",Wn="collapse",cs="collapsing",Qd="collapsed",Jd=`:scope .${Wn} .${Wn}`,Zd="collapse-horizontal",eh="width",th="height",nh=".collapse.show, .collapse.collapsing",Ai='[data-bs-toggle="collapse"]',rh={parent:null,toggle:!0},sh={parent:"(null|element)",toggle:"boolean"};class Kn extends q{constructor(i,u){super(i,u),this._isTransitioning=!1,this._triggerArray=[];const v=R.find(Ai);for(const V of v){const J=R.getSelectorFromElement(V),Y=R.find(J).filter(ge=>ge===this._element);J!==null&&Y.length&&this._triggerArray.push(V)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return rh}static get DefaultType(){return sh}static get NAME(){return Kd}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(nh).filter(ge=>ge!==this._element).map(ge=>Kn.getOrCreateInstance(ge,{toggle:!1}))),i.length&&i[0]._isTransitioning||D.trigger(this._element,Gd).defaultPrevented)return;for(const ge of i)ge.hide();const v=this._getDimension();this._element.classList.remove(Wn),this._element.classList.add(cs),this._element.style[v]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const V=()=>{this._isTransitioning=!1,this._element.classList.remove(cs),this._element.classList.add(Wn,bi),this._element.style[v]="",D.trigger(this._element,qd)},Y=`scroll${v[0].toUpperCase()+v.slice(1)}`;this._queueCallback(V,this._element,!0),this._element.style[v]=`${this._element[Y]}px`}hide(){if(this._isTransitioning||!this._isShown()||D.trigger(this._element,Yd).defaultPrevented)return;const u=this._getDimension();this._element.style[u]=`${this._element.getBoundingClientRect()[u]}px`,b(this._element),this._element.classList.add(cs),this._element.classList.remove(Wn,bi);for(const V of this._triggerArray){const J=R.getElementFromSelector(V);J&&!this._isShown(J)&&this._addAriaAndCollapsedClass([V],!1)}this._isTransitioning=!0;const v=()=>{this._isTransitioning=!1,this._element.classList.remove(cs),this._element.classList.add(Wn),D.trigger(this._element,zd)};this._element.style[u]="",this._queueCallback(v,this._element,!0)}_isShown(i=this._element){return i.classList.contains(bi)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=x(i.parent),i}_getDimension(){return this._element.classList.contains(Zd)?eh:th}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(Ai);for(const u of i){const v=R.getElementFromSelector(u);v&&this._addAriaAndCollapsedClass([u],this._isShown(v))}}_getFirstLevelChildren(i){const u=R.find(Jd,this._config.parent);return R.find(i,this._config.parent).filter(v=>!u.includes(v))}_addAriaAndCollapsedClass(i,u){if(i.length)for(const v of i)v.classList.toggle(Qd,!u),v.setAttribute("aria-expanded",u)}static jQueryInterface(i){const u={};return typeof i=="string"&&/show|hide/.test(i)&&(u.toggle=!1),this.each(function(){const v=Kn.getOrCreateInstance(this,u);if(typeof i=="string"){if(typeof v[i]>"u")throw new TypeError(`No method named "${i}"`);v[i]()}})}}D.on(document,Xd,Ai,function(_){(_.target.tagName==="A"||_.delegateTarget&&_.delegateTarget.tagName==="A")&&_.preventDefault();for(const i of R.getMultipleElementsFromSelector(this))Kn.getOrCreateInstance(i,{toggle:!1}).toggle()}),S(Kn);const Ea="dropdown",_n=".bs.dropdown",Ti=".data-api",ih="Escape",ya="Tab",oh="ArrowUp",ba="ArrowDown",ah=2,lh=`hide${_n}`,ch=`hidden${_n}`,uh=`show${_n}`,fh=`shown${_n}`,Aa=`click${_n}${Ti}`,Ta=`keydown${_n}${Ti}`,dh=`keyup${_n}${Ti}`,Un="show",hh="dropup",ph="dropend",gh="dropstart",mh="dropup-center",_h="dropdown-center",vn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',vh=`${vn}.${Un}`,us=".dropdown-menu",Eh=".navbar",yh=".navbar-nav",bh=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ah=C()?"top-end":"top-start",Th=C()?"top-start":"top-end",Ch=C()?"bottom-end":"bottom-start",Sh=C()?"bottom-start":"bottom-end",wh=C()?"left-start":"right-start",Oh=C()?"right-start":"left-start",Nh="top",xh="bottom",Rh={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Ih={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class _t extends q{constructor(i,u){super(i,u),this._popper=null,this._parent=this._element.parentNode,this._menu=R.next(this._element,us)[0]||R.prev(this._element,us)[0]||R.findOne(us,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Rh}static get DefaultType(){return Ih}static get NAME(){return Ea}toggle(){return this._isShown()?this.hide():this.show()}show(){if($(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!D.trigger(this._element,uh,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(yh))for(const v of[].concat(...document.body.children))D.on(v,"mouseover",k);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Un),this._element.classList.add(Un),D.trigger(this._element,fh,i)}}hide(){if($(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(!D.trigger(this._element,lh,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const v of[].concat(...document.body.children))D.off(v,"mouseover",k);this._popper&&this._popper.destroy(),this._menu.classList.remove(Un),this._element.classList.remove(Un),this._element.setAttribute("aria-expanded","false"),P.removeDataAttribute(this._menu,"popper"),D.trigger(this._element,ch,i)}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!A(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${Ea.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof s>"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=x(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const u=this._getPopperConfig();this._popper=s.createPopper(i,this._menu,u)}_isShown(){return this._menu.classList.contains(Un)}_getPlacement(){const i=this._parent;if(i.classList.contains(ph))return wh;if(i.classList.contains(gh))return Oh;if(i.classList.contains(mh))return Nh;if(i.classList.contains(_h))return xh;const u=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(hh)?u?Th:Ah:u?Sh:Ch}_detectNavbar(){return this._element.closest(Eh)!==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")&&(P.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...U(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:u}){const v=R.find(bh,this._menu).filter(V=>M(V));v.length&&te(v,u,i===ba,!v.includes(u)).focus()}static jQueryInterface(i){return this.each(function(){const u=_t.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===ah||i.type==="keyup"&&i.key!==ya)return;const u=R.find(vh);for(const v of u){const V=_t.getInstance(v);if(!V||V._config.autoClose===!1)continue;const J=i.composedPath(),Y=J.includes(V._menu);if(J.includes(V._element)||V._config.autoClose==="inside"&&!Y||V._config.autoClose==="outside"&&Y||V._menu.contains(i.target)&&(i.type==="keyup"&&i.key===ya||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const ge={relatedTarget:V._element};i.type==="click"&&(ge.clickEvent=i),V._completeHide(ge)}}static dataApiKeydownHandler(i){const u=/input|textarea/i.test(i.target.tagName),v=i.key===ih,V=[oh,ba].includes(i.key);if(!V&&!v||u&&!v)return;i.preventDefault();const J=this.matches(vn)?this:R.prev(this,vn)[0]||R.next(this,vn)[0]||R.findOne(vn,i.delegateTarget.parentNode),Y=_t.getOrCreateInstance(J);if(V){i.stopPropagation(),Y.show(),Y._selectMenuItem(i);return}Y._isShown()&&(i.stopPropagation(),Y.hide(),J.focus())}}D.on(document,Ta,vn,_t.dataApiKeydownHandler),D.on(document,Ta,us,_t.dataApiKeydownHandler),D.on(document,Aa,_t.clearMenus),D.on(document,dh,_t.clearMenus),D.on(document,Aa,vn,function(_){_.preventDefault(),_t.getOrCreateInstance(this).toggle()}),S(_t);const Ca="backdrop",Dh="fade",Sa="show",wa=`mousedown.bs.${Ca}`,$h={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Lh={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Oa extends B{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return $h}static get DefaultType(){return Lh}static get NAME(){return Ca}show(i){if(!this._config.isVisible){U(i);return}this._append();const u=this._getElement();this._config.isAnimated&&b(u),u.classList.add(Sa),this._emulateAnimation(()=>{U(i)})}hide(i){if(!this._config.isVisible){U(i);return}this._getElement().classList.remove(Sa),this._emulateAnimation(()=>{this.dispose(),U(i)})}dispose(){this._isAppended&&(D.off(this._element,wa),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=x(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),D.on(i,wa,()=>{U(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){j(i,this._getElement(),this._config.isAnimated)}}const Ph="focustrap",fs=".bs.focustrap",Mh=`focusin${fs}`,kh=`keydown.tab${fs}`,Vh="Tab",Fh="forward",Na="backward",Hh={autofocus:!0,trapElement:null},Bh={autofocus:"boolean",trapElement:"element"};class xa extends B{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Hh}static get DefaultType(){return Bh}static get NAME(){return Ph}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),D.off(document,fs),D.on(document,Mh,i=>this._handleFocusin(i)),D.on(document,kh,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,D.off(document,fs))}_handleFocusin(i){const{trapElement:u}=this._config;if(i.target===document||i.target===u||u.contains(i.target))return;const v=R.focusableChildren(u);v.length===0?u.focus():this._lastTabNavDirection===Na?v[v.length-1].focus():v[0].focus()}_handleKeydown(i){i.key===Vh&&(this._lastTabNavDirection=i.shiftKey?Na:Fh)}}const Ra=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ia=".sticky-top",ds="padding-right",Da="margin-right";class Ci{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,ds,u=>u+i),this._setElementAttributes(Ra,ds,u=>u+i),this._setElementAttributes(Ia,Da,u=>u-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ds),this._resetElementAttributes(Ra,ds),this._resetElementAttributes(Ia,Da)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,u,v){const V=this.getWidth(),J=Y=>{if(Y!==this._element&&window.innerWidth>Y.clientWidth+V)return;this._saveInitialAttribute(Y,u);const ge=window.getComputedStyle(Y).getPropertyValue(u);Y.style.setProperty(u,`${v(Number.parseFloat(ge))}px`)};this._applyManipulationCallback(i,J)}_saveInitialAttribute(i,u){const v=i.style.getPropertyValue(u);v&&P.setDataAttribute(i,u,v)}_resetElementAttributes(i,u){const v=V=>{const J=P.getDataAttribute(V,u);if(J===null){V.style.removeProperty(u);return}P.removeDataAttribute(V,u),V.style.setProperty(u,J)};this._applyManipulationCallback(i,v)}_applyManipulationCallback(i,u){if(A(i)){u(i);return}for(const v of R.find(i,this._element))u(v)}}const jh="modal",ct=".bs.modal",Wh=".data-api",Kh="Escape",Uh=`hide${ct}`,Gh=`hidePrevented${ct}`,$a=`hidden${ct}`,La=`show${ct}`,qh=`shown${ct}`,Yh=`resize${ct}`,zh=`click.dismiss${ct}`,Xh=`mousedown.dismiss${ct}`,Qh=`keydown.dismiss${ct}`,Jh=`click${ct}${Wh}`,Pa="modal-open",Zh="fade",Ma="show",Si="modal-static",ep=".modal.show",tp=".modal-dialog",np=".modal-body",rp='[data-bs-toggle="modal"]',sp={backdrop:!0,focus:!0,keyboard:!0},ip={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class En extends q{constructor(i,u){super(i,u),this._dialog=R.findOne(tp,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ci,this._addEventListeners()}static get Default(){return sp}static get DefaultType(){return ip}static get NAME(){return jh}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||D.trigger(this._element,La,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Pa),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||D.trigger(this._element,Uh).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Ma),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){D.off(window,ct),D.off(this._dialog,ct),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Oa({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new xa({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=R.findOne(np,this._dialog);u&&(u.scrollTop=0),b(this._element),this._element.classList.add(Ma);const v=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,D.trigger(this._element,qh,{relatedTarget:i})};this._queueCallback(v,this._dialog,this._isAnimated())}_addEventListeners(){D.on(this._element,Qh,i=>{if(i.key===Kh){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),D.on(window,Yh,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),D.on(this._element,Xh,i=>{D.one(this._element,zh,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(Pa),this._resetAdjustments(),this._scrollBar.reset(),D.trigger(this._element,$a)})}_isAnimated(){return this._element.classList.contains(Zh)}_triggerBackdropTransition(){if(D.trigger(this._element,Gh).defaultPrevented)return;const u=this._element.scrollHeight>document.documentElement.clientHeight,v=this._element.style.overflowY;v==="hidden"||this._element.classList.contains(Si)||(u||(this._element.style.overflowY="hidden"),this._element.classList.add(Si),this._queueCallback(()=>{this._element.classList.remove(Si),this._queueCallback(()=>{this._element.style.overflowY=v},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,u=this._scrollBar.getWidth(),v=u>0;if(v&&!i){const V=C()?"paddingLeft":"paddingRight";this._element.style[V]=`${u}px`}if(!v&&i){const V=C()?"paddingRight":"paddingLeft";this._element.style[V]=`${u}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,u){return this.each(function(){const v=En.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof v[i]>"u")throw new TypeError(`No method named "${i}"`);v[i](u)}})}}D.on(document,Jh,rp,function(_){const i=R.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&_.preventDefault(),D.one(i,La,V=>{V.defaultPrevented||D.one(i,$a,()=>{M(this)&&this.focus()})});const u=R.findOne(ep);u&&En.getInstance(u).hide(),En.getOrCreateInstance(i).toggle(this)}),W(En),S(En);const op="offcanvas",Mt=".bs.offcanvas",ka=".data-api",ap=`load${Mt}${ka}`,lp="Escape",Va="show",Fa="showing",Ha="hiding",cp="offcanvas-backdrop",Ba=".offcanvas.show",up=`show${Mt}`,fp=`shown${Mt}`,dp=`hide${Mt}`,ja=`hidePrevented${Mt}`,Wa=`hidden${Mt}`,hp=`resize${Mt}`,pp=`click${Mt}${ka}`,gp=`keydown.dismiss${Mt}`,mp='[data-bs-toggle="offcanvas"]',_p={backdrop:!0,keyboard:!0,scroll:!1},vp={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class kt extends q{constructor(i,u){super(i,u),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return _p}static get DefaultType(){return vp}static get NAME(){return op}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||D.trigger(this._element,up,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ci().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Fa);const v=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Va),this._element.classList.remove(Fa),D.trigger(this._element,fp,{relatedTarget:i})};this._queueCallback(v,this._element,!0)}hide(){if(!this._isShown||D.trigger(this._element,dp).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ha),this._backdrop.hide();const u=()=>{this._element.classList.remove(Va,Ha),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ci().reset(),D.trigger(this._element,Wa)};this._queueCallback(u,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){D.trigger(this._element,ja);return}this.hide()},u=!!this._config.backdrop;return new Oa({className:cp,isVisible:u,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:u?i:null})}_initializeFocusTrap(){return new xa({trapElement:this._element})}_addEventListeners(){D.on(this._element,gp,i=>{if(i.key===lp){if(this._config.keyboard){this.hide();return}D.trigger(this._element,ja)}})}static jQueryInterface(i){return this.each(function(){const u=kt.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)}})}}D.on(document,pp,mp,function(_){const i=R.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&_.preventDefault(),$(this))return;D.one(i,Wa,()=>{M(this)&&this.focus()});const u=R.findOne(Ba);u&&u!==i&&kt.getInstance(u).hide(),kt.getOrCreateInstance(i).toggle(this)}),D.on(window,ap,()=>{for(const _ of R.find(Ba))kt.getOrCreateInstance(_).show()}),D.on(window,hp,()=>{for(const _ of R.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(_).position!=="fixed"&&kt.getOrCreateInstance(_).hide()}),W(kt),S(kt);const Ka={"*":["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:[]},Ep=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),yp=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,bp=(_,i)=>{const u=_.nodeName.toLowerCase();return i.includes(u)?Ep.has(u)?!!yp.test(_.nodeValue):!0:i.filter(v=>v instanceof RegExp).some(v=>v.test(u))};function Ap(_,i,u){if(!_.length)return _;if(u&&typeof u=="function")return u(_);const V=new window.DOMParser().parseFromString(_,"text/html"),J=[].concat(...V.body.querySelectorAll("*"));for(const Y of J){const ge=Y.nodeName.toLowerCase();if(!Object.keys(i).includes(ge)){Y.remove();continue}const Je=[].concat(...Y.attributes),ut=[].concat(i["*"]||[],i[ge]||[]);for(const Me of Je)bp(Me,ut)||Y.removeAttribute(Me.nodeName)}return V.body.innerHTML}const Tp="TemplateFactory",Cp={allowList:Ka,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Sp={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},wp={entry:"(string|element|function|null)",selector:"(string|element)"};class Op extends B{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return Cp}static get DefaultType(){return Sp}static get NAME(){return Tp}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[V,J]of Object.entries(this._config.content))this._setContent(i,J,V);const u=i.children[0],v=this._resolvePossibleFunction(this._config.extraClass);return v&&u.classList.add(...v.split(" ")),u}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[u,v]of Object.entries(i))super._typeCheckConfig({selector:u,entry:v},wp)}_setContent(i,u,v){const V=R.findOne(v,i);if(V){if(u=this._resolvePossibleFunction(u),!u){V.remove();return}if(A(u)){this._putElementInTemplate(x(u),V);return}if(this._config.html){V.innerHTML=this._maybeSanitize(u);return}V.textContent=u}}_maybeSanitize(i){return this._config.sanitize?Ap(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return U(i,[void 0,this])}_putElementInTemplate(i,u){if(this._config.html){u.innerHTML="",u.append(i);return}u.textContent=i.textContent}}const Np="tooltip",xp=new Set(["sanitize","allowList","sanitizeFn"]),wi="fade",Rp="modal",hs="show",Ip=".tooltip-inner",Ua=`.${Rp}`,Ga="hide.bs.modal",wr="hover",Oi="focus",Ni="click",Dp="manual",$p="hide",Lp="hidden",Pp="show",Mp="shown",kp="inserted",Vp="click",Fp="focusin",Hp="focusout",Bp="mouseenter",jp="mouseleave",Wp={AUTO:"auto",TOP:"top",RIGHT:C()?"left":"right",BOTTOM:"bottom",LEFT:C()?"right":"left"},Kp={allowList:Ka,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"},Up={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 yn extends q{constructor(i,u){if(typeof s>"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 Kp}static get DefaultType(){return Up}static get NAME(){return Np}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),D.off(this._element.closest(Ua),Ga,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=D.trigger(this._element,this.constructor.eventName(Pp)),v=(F(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!v)return;this._disposePopper();const V=this._getTipElement();this._element.setAttribute("aria-describedby",V.getAttribute("id"));const{container:J}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(J.append(V),D.trigger(this._element,this.constructor.eventName(kp))),this._popper=this._createPopper(V),V.classList.add(hs),"ontouchstart"in document.documentElement)for(const ge of[].concat(...document.body.children))D.on(ge,"mouseover",k);const Y=()=>{D.trigger(this._element,this.constructor.eventName(Mp)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(Y,this.tip,this._isAnimated())}hide(){if(!this._isShown()||D.trigger(this._element,this.constructor.eventName($p)).defaultPrevented)return;if(this._getTipElement().classList.remove(hs),"ontouchstart"in document.documentElement)for(const V of[].concat(...document.body.children))D.off(V,"mouseover",k);this._activeTrigger[Ni]=!1,this._activeTrigger[Oi]=!1,this._activeTrigger[wr]=!1,this._isHovered=null;const v=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),D.trigger(this._element,this.constructor.eventName(Lp)))};this._queueCallback(v,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(i){const u=this._getTemplateFactory(i).toHtml();if(!u)return null;u.classList.remove(wi,hs),u.classList.add(`bs-${this.constructor.NAME}-auto`);const v=p(this.constructor.NAME).toString();return u.setAttribute("id",v),this._isAnimated()&&u.classList.add(wi),u}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new Op({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Ip]: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(wi)}_isShown(){return this.tip&&this.tip.classList.contains(hs)}_createPopper(i){const u=U(this._config.placement,[this,i,this._element]),v=Wp[u.toUpperCase()];return s.createPopper(this._element,i,this._getPopperConfig(v))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(u=>Number.parseInt(u,10)):typeof i=="function"?u=>i(u,this._element):i}_resolvePossibleFunction(i){return U(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:v=>{this._getTipElement().setAttribute("data-popper-placement",v.state.placement)}}]};return{...u,...U(this._config.popperConfig,[void 0,u])}}_setListeners(){const i=this._config.trigger.split(" ");for(const u of i)if(u==="click")D.on(this._element,this.constructor.eventName(Vp),this._config.selector,v=>{const V=this._initializeOnDelegatedTarget(v);V._activeTrigger[Ni]=!(V._isShown()&&V._activeTrigger[Ni]),V.toggle()});else if(u!==Dp){const v=u===wr?this.constructor.eventName(Bp):this.constructor.eventName(Fp),V=u===wr?this.constructor.eventName(jp):this.constructor.eventName(Hp);D.on(this._element,v,this._config.selector,J=>{const Y=this._initializeOnDelegatedTarget(J);Y._activeTrigger[J.type==="focusin"?Oi:wr]=!0,Y._enter()}),D.on(this._element,V,this._config.selector,J=>{const Y=this._initializeOnDelegatedTarget(J);Y._activeTrigger[J.type==="focusout"?Oi:wr]=Y._element.contains(J.relatedTarget),Y._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},D.on(this._element.closest(Ua),Ga,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=P.getDataAttributes(this._element);for(const v of Object.keys(u))xp.has(v)&&delete u[v];return i={...u,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:x(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[u,v]of Object.entries(this._config))this.constructor.Default[u]!==v&&(i[u]=v);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const u=yn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}S(yn);const Gp="popover",qp=".popover-header",Yp=".popover-body",zp={...yn.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"},Xp={...yn.DefaultType,content:"(null|string|element|function)"};class ps extends yn{static get Default(){return zp}static get DefaultType(){return Xp}static get NAME(){return Gp}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[qp]:this._getTitle(),[Yp]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const u=ps.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i]()}})}}S(ps);const Qp="scrollspy",xi=".bs.scrollspy",Jp=".data-api",Zp=`activate${xi}`,qa=`click${xi}`,eg=`load${xi}${Jp}`,tg="dropdown-item",Gn="active",ng='[data-bs-spy="scroll"]',Ri="[href]",rg=".nav, .list-group",Ya=".nav-link",sg=`${Ya}, .nav-item > ${Ya}, .list-group-item`,ig=".dropdown",og=".dropdown-toggle",ag={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},lg={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Or extends q{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 ag}static get DefaultType(){return lg}static get NAME(){return Qp}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=x(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&&(D.off(this._config.target,qa),D.on(this._config.target,qa,Ri,i=>{const u=this._observableSections.get(i.target.hash);if(u){i.preventDefault();const v=this._rootElement||window,V=u.offsetTop-this._element.offsetTop;if(v.scrollTo){v.scrollTo({top:V,behavior:"smooth"});return}v.scrollTop=V}}))}_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=Y=>this._targetLinks.get(`#${Y.target.id}`),v=Y=>{this._previousScrollData.visibleEntryTop=Y.target.offsetTop,this._process(u(Y))},V=(this._rootElement||document.documentElement).scrollTop,J=V>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=V;for(const Y of i){if(!Y.isIntersecting){this._activeTarget=null,this._clearActiveClass(u(Y));continue}const ge=Y.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(J&&ge){if(v(Y),!V)return;continue}!J&&!ge&&v(Y)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=R.find(Ri,this._config.target);for(const u of i){if(!u.hash||$(u))continue;const v=R.findOne(decodeURI(u.hash),this._element);M(v)&&(this._targetLinks.set(decodeURI(u.hash),u),this._observableSections.set(u.hash,v))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(Gn),this._activateParents(i),D.trigger(this._element,Zp,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(tg)){R.findOne(og,i.closest(ig)).classList.add(Gn);return}for(const u of R.parents(i,rg))for(const v of R.prev(u,sg))v.classList.add(Gn)}_clearActiveClass(i){i.classList.remove(Gn);const u=R.find(`${Ri}.${Gn}`,i);for(const v of u)v.classList.remove(Gn)}static jQueryInterface(i){return this.each(function(){const u=Or.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]()}})}}D.on(window,eg,()=>{for(const _ of R.find(ng))Or.getOrCreateInstance(_)}),S(Or);const cg="tab",bn=".bs.tab",ug=`hide${bn}`,fg=`hidden${bn}`,dg=`show${bn}`,hg=`shown${bn}`,pg=`click${bn}`,gg=`keydown${bn}`,mg=`load${bn}`,_g="ArrowLeft",za="ArrowRight",vg="ArrowUp",Xa="ArrowDown",Ii="Home",Qa="End",An="active",Ja="fade",Di="show",Eg="dropdown",Za=".dropdown-toggle",yg=".dropdown-menu",$i=`:not(${Za})`,bg='.list-group, .nav, [role="tablist"]',Ag=".nav-item, .list-group-item",Tg=`.nav-link${$i}, .list-group-item${$i}, [role="tab"]${$i}`,el='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Li=`${Tg}, ${el}`,Cg=`.${An}[data-bs-toggle="tab"], .${An}[data-bs-toggle="pill"], .${An}[data-bs-toggle="list"]`;class Tn extends q{constructor(i){super(i),this._parent=this._element.closest(bg),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),D.on(this._element,gg,u=>this._keydown(u)))}static get NAME(){return cg}show(){const i=this._element;if(this._elemIsActive(i))return;const u=this._getActiveElem(),v=u?D.trigger(u,ug,{relatedTarget:i}):null;D.trigger(i,dg,{relatedTarget:u}).defaultPrevented||v&&v.defaultPrevented||(this._deactivate(u,i),this._activate(i,u))}_activate(i,u){if(!i)return;i.classList.add(An),this._activate(R.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(Di);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),D.trigger(i,hg,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ja))}_deactivate(i,u){if(!i)return;i.classList.remove(An),i.blur(),this._deactivate(R.getElementFromSelector(i));const v=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(Di);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),D.trigger(i,fg,{relatedTarget:u})};this._queueCallback(v,i,i.classList.contains(Ja))}_keydown(i){if(![_g,za,vg,Xa,Ii,Qa].includes(i.key))return;i.stopPropagation(),i.preventDefault();const u=this._getChildren().filter(V=>!$(V));let v;if([Ii,Qa].includes(i.key))v=u[i.key===Ii?0:u.length-1];else{const V=[za,Xa].includes(i.key);v=te(u,i.target,V,!0)}v&&(v.focus({preventScroll:!0}),Tn.getOrCreateInstance(v).show())}_getChildren(){return R.find(Li,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,u){this._setAttributeIfNotExists(i,"role","tablist");for(const v of u)this._setInitialAttributesOnChild(v)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const u=this._elemIsActive(i),v=this._getOuterElement(i);i.setAttribute("aria-selected",u),v!==i&&this._setAttributeIfNotExists(v,"role","presentation"),u||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const u=R.getElementFromSelector(i);u&&(this._setAttributeIfNotExists(u,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(u,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,u){const v=this._getOuterElement(i);if(!v.classList.contains(Eg))return;const V=(J,Y)=>{const ge=R.findOne(J,v);ge&&ge.classList.toggle(Y,u)};V(Za,An),V(yg,Di),v.setAttribute("aria-expanded",u)}_setAttributeIfNotExists(i,u,v){i.hasAttribute(u)||i.setAttribute(u,v)}_elemIsActive(i){return i.classList.contains(An)}_getInnerElement(i){return i.matches(Li)?i:R.findOne(Li,i)}_getOuterElement(i){return i.closest(Ag)||i}static jQueryInterface(i){return this.each(function(){const u=Tn.getOrCreateInstance(this);if(typeof i=="string"){if(u[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);u[i]()}})}}D.on(document,pg,el,function(_){["A","AREA"].includes(this.tagName)&&_.preventDefault(),!$(this)&&Tn.getOrCreateInstance(this).show()}),D.on(window,mg,()=>{for(const _ of R.find(Cg))Tn.getOrCreateInstance(_)}),S(Tn);const Sg="toast",Zt=".bs.toast",wg=`mouseover${Zt}`,Og=`mouseout${Zt}`,Ng=`focusin${Zt}`,xg=`focusout${Zt}`,Rg=`hide${Zt}`,Ig=`hidden${Zt}`,Dg=`show${Zt}`,$g=`shown${Zt}`,Lg="fade",tl="hide",gs="show",ms="showing",Pg={animation:"boolean",autohide:"boolean",delay:"number"},Mg={animation:!0,autohide:!0,delay:5e3};class Nr extends q{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 Pg}static get NAME(){return Sg}show(){if(D.trigger(this._element,Dg).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Lg);const u=()=>{this._element.classList.remove(ms),D.trigger(this._element,$g),this._maybeScheduleHide()};this._element.classList.remove(tl),b(this._element),this._element.classList.add(gs,ms),this._queueCallback(u,this._element,this._config.animation)}hide(){if(!this.isShown()||D.trigger(this._element,Rg).defaultPrevented)return;const u=()=>{this._element.classList.add(tl),this._element.classList.remove(ms,gs),D.trigger(this._element,Ig)};this._element.classList.add(ms),this._queueCallback(u,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(gs),super.dispose()}isShown(){return this._element.classList.contains(gs)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,u){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=u;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=u;break}}if(u){this._clearTimeout();return}const v=i.relatedTarget;this._element===v||this._element.contains(v)||this._maybeScheduleHide()}_setListeners(){D.on(this._element,wg,i=>this._onInteraction(i,!0)),D.on(this._element,Og,i=>this._onInteraction(i,!1)),D.on(this._element,Ng,i=>this._onInteraction(i,!0)),D.on(this._element,xg,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const u=Nr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof u[i]>"u")throw new TypeError(`No method named "${i}"`);u[i](this)}})}}return W(Nr),S(Nr),{Alert:Ie,Button:Qt,Carousel:jn,Collapse:Kn,Dropdown:_t,Modal:En,Offcanvas:kt,Popover:ps,ScrollSpy:Or,Tab:Tn,Toast:Nr,Tooltip:yn}}))})(ws)),ws.exports}xm();function Bo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Se={},tr=[],bt=()=>{},Jc=()=>!1,Xs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jo=e=>e.startsWith("onUpdate:"),Le=Object.assign,Wo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Rm=Object.prototype.hasOwnProperty,Ce=(e,t)=>Rm.call(e,t),le=Array.isArray,nr=e=>es(e)==="[object Map]",br=e=>es(e)==="[object Set]",fl=e=>es(e)==="[object Date]",fe=e=>typeof e=="function",Oe=e=>typeof e=="string",Tt=e=>typeof e=="symbol",Ae=e=>e!==null&&typeof e=="object",Ko=e=>(Ae(e)||fe(e))&&fe(e.then)&&fe(e.catch),Zc=Object.prototype.toString,es=e=>Zc.call(e),Im=e=>es(e).slice(8,-1),eu=e=>es(e)==="[object Object]",Qs=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,kr=Bo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Js=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Dm=/-\w/g,gt=Js(e=>e.replace(Dm,t=>t.slice(1).toUpperCase())),$m=/\B([A-Z])/g,pn=Js(e=>e.replace($m,"-$1").toLowerCase()),Zs=Js(e=>e.charAt(0).toUpperCase()+e.slice(1)),Pi=Js(e=>e?`on${Zs(e)}`:""),cn=(e,t)=>!Object.is(e,t),Ns=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},tu=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ei=e=>{const t=parseFloat(e);return isNaN(t)?e:t},nu=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let dl;const ti=()=>dl||(dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ni(e){if(le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Oe(r)?km(r):ni(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Oe(e)||Ae(e))return e}const Lm=/;(?![^(]*\))/g,Pm=/:([^]+)/,Mm=/\/\*[^]*?\*\//g;function km(e){const t={};return e.replace(Mm,"").split(Lm).forEach(n=>{if(n){const r=n.split(Pm);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ri(e){let t="";if(Oe(e))t=e;else if(le(e))for(let n=0;n<e.length;n++){const r=ri(e[n]);r&&(t+=r+" ")}else if(Ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ab(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Oe(t)&&(e.class=ri(t)),n&&(e.style=ni(n)),e}const Vm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fm=Bo(Vm);function ru(e){return!!e||e===""}function Hm(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=un(e[r],t[r]);return n}function un(e,t){if(e===t)return!0;let n=fl(e),r=fl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Tt(e),r=Tt(t),n||r)return e===t;if(n=le(e),r=le(t),n||r)return n&&r?Hm(e,t):!1;if(n=Ae(e),r=Ae(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const a in e){const l=e.hasOwnProperty(a),c=t.hasOwnProperty(a);if(l&&!c||!l&&c||!un(e[a],t[a]))return!1}}return String(e)===String(t)}function Uo(e,t){return e.findIndex(n=>un(n,t))}const su=e=>!!(e&&e.__v_isRef===!0),Bm=e=>Oe(e)?e:e==null?"":le(e)||Ae(e)&&(e.toString===Zc||!fe(e.toString))?su(e)?Bm(e.value):JSON.stringify(e,iu,2):String(e),iu=(e,t)=>su(t)?iu(e,t.value):nr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Mi(r,o)+" =>"]=s,n),{})}:br(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Mi(n))}:Tt(t)?Mi(t):Ae(t)&&!le(t)&&!eu(t)?String(t):t,Mi=(e,t="")=>{var n;return Tt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function jm(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}let Ke;class ou{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ke,!t&&Ke&&(this.index=(Ke.scopes||(Ke.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=Ke;try{return Ke=this,t()}finally{Ke=n}}}on(){++this._on===1&&(this.prevScope=Ke,Ke=this)}off(){this._on>0&&--this._on===0&&(Ke=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function au(e){return new ou(e)}function lu(){return Ke}function Wm(e,t=!1){Ke&&Ke.cleanups.push(e)}let we;const ki=new WeakSet;class cu{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,Ke&&Ke.active&&Ke.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ki.has(this)&&(ki.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||fu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,hl(this),du(this);const t=we,n=At;we=this,At=!0;try{return this.fn()}finally{hu(this),we=t,At=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Yo(t);this.deps=this.depsTail=void 0,hl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ki.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){so(this)&&this.run()}get dirty(){return so(this)}}let uu=0,Vr,Fr;function fu(e,t=!1){if(e.flags|=8,t){e.next=Fr,Fr=e;return}e.next=Vr,Vr=e}function Go(){uu++}function qo(){if(--uu>0)return;if(Fr){let t=Fr;for(Fr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Vr;){let t=Vr;for(Vr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function du(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function hu(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Yo(r),Km(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function so(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(pu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function pu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gr)||(e.globalVersion=Gr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!so(e))))return;e.flags|=2;const t=e.dep,n=we,r=At;we=e,At=!0;try{du(e);const s=e.fn(e._value);(t.version===0||cn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{we=n,At=r,hu(e),e.flags&=-3}}function Yo(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Yo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Km(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let At=!0;const gu=[];function qt(){gu.push(At),At=!1}function Yt(){const e=gu.pop();At=e===void 0?!0:e}function hl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=we;we=void 0;try{t()}finally{we=n}}}let Gr=0;class Um{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 zo{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(!we||!At||we===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==we)n=this.activeLink=new Um(we,this),we.deps?(n.prevDep=we.depsTail,we.depsTail.nextDep=n,we.depsTail=n):we.deps=we.depsTail=n,mu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=we.depsTail,n.nextDep=void 0,we.depsTail.nextDep=n,we.depsTail=n,we.deps===n&&(we.deps=r)}return n}trigger(t){this.version++,Gr++,this.notify(t)}notify(t){Go();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qo()}}}function mu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)mu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ps=new WeakMap,Rn=Symbol(""),io=Symbol(""),qr=Symbol("");function Ue(e,t,n){if(At&&we){let r=Ps.get(e);r||Ps.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new zo),s.map=r,s.key=n),s.track()}}function jt(e,t,n,r,s,o){const a=Ps.get(e);if(!a){Gr++;return}const l=c=>{c&&c.trigger()};if(Go(),t==="clear")a.forEach(l);else{const c=le(e),d=c&&Qs(n);if(c&&n==="length"){const f=Number(r);a.forEach((h,p)=>{(p==="length"||p===qr||!Tt(p)&&p>=f)&&l(h)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),d&&l(a.get(qr)),t){case"add":c?d&&l(a.get("length")):(l(a.get(Rn)),nr(e)&&l(a.get(io)));break;case"delete":c||(l(a.get(Rn)),nr(e)&&l(a.get(io)));break;case"set":nr(e)&&l(a.get(Rn));break}}qo()}function Gm(e,t){const n=Ps.get(e);return n&&n.get(t)}function Yn(e){const t=ve(e);return t===e?t:(Ue(t,"iterate",qr),nt(e)?t:t.map(Ct))}function si(e){return Ue(e=ve(e),"iterate",qr),e}function sn(e,t){return zt(e)?dr(Ut(e)?Ct(t):t):Ct(t)}const qm={__proto__:null,[Symbol.iterator](){return Vi(this,Symbol.iterator,e=>sn(this,e))},concat(...e){return Yn(this).concat(...e.map(t=>le(t)?Yn(t):t))},entries(){return Vi(this,"entries",e=>(e[1]=sn(this,e[1]),e))},every(e,t){return Vt(this,"every",e,t,void 0,arguments)},filter(e,t){return Vt(this,"filter",e,t,n=>n.map(r=>sn(this,r)),arguments)},find(e,t){return Vt(this,"find",e,t,n=>sn(this,n),arguments)},findIndex(e,t){return Vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Vt(this,"findLast",e,t,n=>sn(this,n),arguments)},findLastIndex(e,t){return Vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Fi(this,"includes",e)},indexOf(...e){return Fi(this,"indexOf",e)},join(e){return Yn(this).join(e)},lastIndexOf(...e){return Fi(this,"lastIndexOf",e)},map(e,t){return Vt(this,"map",e,t,void 0,arguments)},pop(){return xr(this,"pop")},push(...e){return xr(this,"push",e)},reduce(e,...t){return pl(this,"reduce",e,t)},reduceRight(e,...t){return pl(this,"reduceRight",e,t)},shift(){return xr(this,"shift")},some(e,t){return Vt(this,"some",e,t,void 0,arguments)},splice(...e){return xr(this,"splice",e)},toReversed(){return Yn(this).toReversed()},toSorted(e){return Yn(this).toSorted(e)},toSpliced(...e){return Yn(this).toSpliced(...e)},unshift(...e){return xr(this,"unshift",e)},values(){return Vi(this,"values",e=>sn(this,e))}};function Vi(e,t,n){const r=si(e),s=r[t]();return r!==e&&!nt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.done||(o.value=n(o.value)),o}),s}const Ym=Array.prototype;function Vt(e,t,n,r,s,o){const a=si(e),l=a!==e&&!nt(e),c=a[t];if(c!==Ym[t]){const h=c.apply(e,o);return l?Ct(h):h}let d=n;a!==e&&(l?d=function(h,p){return n.call(this,sn(e,h),p,e)}:n.length>2&&(d=function(h,p){return n.call(this,h,p,e)}));const f=c.call(a,d,r);return l&&s?s(f):f}function pl(e,t,n,r){const s=si(e);let o=n;return s!==e&&(nt(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,sn(e,l),c,e)}),s[t](o,...r)}function Fi(e,t,n){const r=ve(e);Ue(r,"iterate",qr);const s=r[t](...n);return(s===-1||s===!1)&&ai(n[0])?(n[0]=ve(n[0]),r[t](...n)):s}function xr(e,t,n=[]){qt(),Go();const r=ve(e)[t].apply(e,n);return qo(),Yt(),r}const zm=Bo("__proto__,__v_isRef,__isVue"),_u=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tt));function Xm(e){Tt(e)||(e=String(e));const t=ve(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class vu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Cu:Tu:o?Au:bu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=le(t);if(!s){let c;if(a&&(c=qm[n]))return c;if(n==="hasOwnProperty")return Xm}const l=Reflect.get(t,n,xe(t)?t:r);if((Tt(n)?_u.has(n):zm(n))||(s||Ue(t,"get",n),o))return l;if(xe(l)){const c=a&&Qs(n)?l:l.value;return s&&Ae(c)?ao(c):c}return Ae(l)?s?ao(l):ts(l):l}}class Eu extends vu{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];const a=le(t)&&Qs(n);if(!this._isShallow){const d=zt(o);if(!nt(r)&&!zt(r)&&(o=ve(o),r=ve(r)),!a&&xe(o)&&!xe(r))return d||(o.value=r),!0}const l=a?Number(n)<t.length:Ce(t,n),c=Reflect.set(t,n,r,xe(t)?t:s);return t===ve(s)&&(l?cn(r,o)&&jt(t,"set",n,r):jt(t,"add",n,r)),c}deleteProperty(t,n){const r=Ce(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&jt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Tt(n)||!_u.has(n))&&Ue(t,"has",n),r}ownKeys(t){return Ue(t,"iterate",le(t)?"length":Rn),Reflect.ownKeys(t)}}class yu extends vu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qm=new Eu,Jm=new yu,Zm=new Eu(!0),e_=new yu(!0),oo=e=>e,Es=e=>Reflect.getPrototypeOf(e);function t_(e,t,n){return function(...r){const s=this.__v_raw,o=ve(s),a=nr(o),l=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,d=s[e](...r),f=n?oo:t?dr:Ct;return!t&&Ue(o,"iterate",c?io:Rn),Le(Object.create(d),{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}}})}}function ys(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function n_(e,t){const n={get(s){const o=this.__v_raw,a=ve(o),l=ve(s);e||(cn(s,l)&&Ue(a,"get",s),Ue(a,"get",l));const{has:c}=Es(a),d=t?oo:e?dr:Ct;if(c.call(a,s))return d(o.get(s));if(c.call(a,l))return d(o.get(l));o!==a&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ue(ve(s),"iterate",Rn),s.size},has(s){const o=this.__v_raw,a=ve(o),l=ve(s);return e||(cn(s,l)&&Ue(a,"has",s),Ue(a,"has",l)),s===l?o.has(s):o.has(s)||o.has(l)},forEach(s,o){const a=this,l=a.__v_raw,c=ve(l),d=t?oo:e?dr:Ct;return!e&&Ue(c,"iterate",Rn),l.forEach((f,h)=>s.call(o,d(f),d(h),a))}};return Le(n,e?{add:ys("add"),set:ys("set"),delete:ys("delete"),clear:ys("clear")}:{add(s){!t&&!nt(s)&&!zt(s)&&(s=ve(s));const o=ve(this);return Es(o).has.call(o,s)||(o.add(s),jt(o,"add",s,s)),this},set(s,o){!t&&!nt(o)&&!zt(o)&&(o=ve(o));const a=ve(this),{has:l,get:c}=Es(a);let d=l.call(a,s);d||(s=ve(s),d=l.call(a,s));const f=c.call(a,s);return a.set(s,o),d?cn(o,f)&&jt(a,"set",s,o):jt(a,"add",s,o),this},delete(s){const o=ve(this),{has:a,get:l}=Es(o);let c=a.call(o,s);c||(s=ve(s),c=a.call(o,s)),l&&l.call(o,s);const d=o.delete(s);return c&&jt(o,"delete",s,void 0),d},clear(){const s=ve(this),o=s.size!==0,a=s.clear();return o&&jt(s,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=t_(s,e,t)}),n}function ii(e,t){const n=n_(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Ce(n,s)&&s in r?n:r,s,o)}const r_={get:ii(!1,!1)},s_={get:ii(!1,!0)},i_={get:ii(!0,!1)},o_={get:ii(!0,!0)},bu=new WeakMap,Au=new WeakMap,Tu=new WeakMap,Cu=new WeakMap;function a_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function l_(e){return e.__v_skip||!Object.isExtensible(e)?0:a_(Im(e))}function ts(e){return zt(e)?e:oi(e,!1,Qm,r_,bu)}function Su(e){return oi(e,!1,Zm,s_,Au)}function ao(e){return oi(e,!0,Jm,i_,Tu)}function Tb(e){return oi(e,!0,e_,o_,Cu)}function oi(e,t,n,r,s){if(!Ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=l_(e);if(o===0)return e;const a=s.get(e);if(a)return a;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function Ut(e){return zt(e)?Ut(e.__v_raw):!!(e&&e.__v_isReactive)}function zt(e){return!!(e&&e.__v_isReadonly)}function nt(e){return!!(e&&e.__v_isShallow)}function ai(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function li(e){return!Ce(e,"__v_skip")&&Object.isExtensible(e)&&tu(e,"__v_skip",!0),e}const Ct=e=>Ae(e)?ts(e):e,dr=e=>Ae(e)?ao(e):e;function xe(e){return e?e.__v_isRef===!0:!1}function rr(e){return Ou(e,!1)}function wu(e){return Ou(e,!0)}function Ou(e,t){return xe(e)?e:new c_(e,t)}class c_{constructor(t,n){this.dep=new zo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:Ct(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||nt(t)||zt(t);t=r?t:ve(t),cn(t,n)&&(this._rawValue=t,this._value=r?t:Ct(t),this.dep.trigger())}}function Ze(e){return xe(e)?e.value:e}function Cb(e){return fe(e)?e():Ze(e)}const u_={get:(e,t,n)=>t==="__v_raw"?e:Ze(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return xe(s)&&!xe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Nu(e){return Ut(e)?e:new Proxy(e,u_)}function f_(e){const t=le(e)?new Array(e.length):{};for(const n in e)t[n]=xu(e,n);return t}class d_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ve(t);let s=!0,o=t;if(!le(t)||!Qs(String(n)))do s=!ai(o)||nt(o);while(s&&(o=o.__v_raw));this._shallow=s}get value(){let t=this._object[this._key];return this._shallow&&(t=Ze(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&xe(this._raw[this._key])){const n=this._object[this._key];if(xe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Gm(this._raw,this._key)}}class h_{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 Sb(e,t,n){return xe(e)?e:fe(e)?new h_(e):Ae(e)&&arguments.length>1?xu(e,t,n):rr(e)}function xu(e,t,n){return new d_(e,t,n)}class p_{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&we!==this)return fu(this,!0),!0}get value(){const t=this.dep.track();return pu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function g_(e,t,n=!1){let r,s;return fe(e)?r=e:(r=e.get,s=e.set),new p_(r,s,n)}const bs={},Ms=new WeakMap;let On;function m_(e,t=!1,n=On){if(n){let r=Ms.get(n);r||Ms.set(n,r=[]),r.push(e)}}function __(e,t,n=Se){const{immediate:r,deep:s,once:o,scheduler:a,augmentJob:l,call:c}=n,d=k=>s?k:nt(k)||s===!1||s===0?Wt(k,1):Wt(k);let f,h,p,m,O=!1,A=!1;if(xe(e)?(h=()=>e.value,O=nt(e)):Ut(e)?(h=()=>d(e),O=!0):le(e)?(A=!0,O=e.some(k=>Ut(k)||nt(k)),h=()=>e.map(k=>{if(xe(k))return k.value;if(Ut(k))return d(k);if(fe(k))return c?c(k,2):k()})):fe(e)?t?h=c?()=>c(e,2):e:h=()=>{if(p){qt();try{p()}finally{Yt()}}const k=On;On=f;try{return c?c(e,3,[m]):e(m)}finally{On=k}}:h=bt,t&&s){const k=h,b=s===!0?1/0:s;h=()=>Wt(k(),b)}const x=lu(),M=()=>{f.stop(),x&&x.active&&Wo(x.effects,f)};if(o&&t){const k=t;t=(...b)=>{k(...b),M()}}let $=A?new Array(e.length).fill(bs):bs;const F=k=>{if(!(!(f.flags&1)||!f.dirty&&!k))if(t){const b=f.run();if(s||O||(A?b.some((y,N)=>cn(y,$[N])):cn(b,$))){p&&p();const y=On;On=f;try{const N=[b,$===bs?void 0:A&&$[0]===bs?[]:$,m];$=b,c?c(t,3,N):t(...N)}finally{On=y}}}else f.run()};return l&&l(F),f=new cu(h),f.scheduler=a?()=>a(F,!1):F,m=k=>m_(k,!1,f),p=f.onStop=()=>{const k=Ms.get(f);if(k){if(c)c(k,4);else for(const b of k)b();Ms.delete(f)}},t?r?F(!0):$=f.run():a?a(F.bind(null,!0),!0):f.run(),M.pause=f.pause.bind(f),M.resume=f.resume.bind(f),M.stop=M,M}function Wt(e,t=1/0,n){if(t<=0||!Ae(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,xe(e))Wt(e.value,t,n);else if(le(e))for(let r=0;r<e.length;r++)Wt(e[r],t,n);else if(br(e)||nr(e))e.forEach(r=>{Wt(r,t,n)});else if(eu(e)){for(const r in e)Wt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Wt(e[r],t,n)}return e}function ns(e,t,n,r){try{return r?e(...r):e()}catch(s){Ar(s,t,n)}}function St(e,t,n,r){if(fe(e)){const s=ns(e,t,n,r);return s&&Ko(s)&&s.catch(o=>{Ar(o,t,n)}),s}if(le(e)){const s=[];for(let o=0;o<e.length;o++)s.push(St(e[o],t,n,r));return s}}function Ar(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Se;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){qt(),ns(o,null,10,[e,c,d]),Yt();return}}v_(e,n,s,r,a)}function v_(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ye=[];let Rt=-1;const sr=[];let on=null,Qn=0;const Ru=Promise.resolve();let ks=null;function ci(e){const t=ks||Ru;return e?t.then(this?e.bind(this):e):t}function E_(e){let t=Rt+1,n=Ye.length;for(;t<n;){const r=t+n>>>1,s=Ye[r],o=Yr(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Xo(e){if(!(e.flags&1)){const t=Yr(e),n=Ye[Ye.length-1];!n||!(e.flags&2)&&t>=Yr(n)?Ye.push(e):Ye.splice(E_(t),0,e),e.flags|=1,Iu()}}function Iu(){ks||(ks=Ru.then($u))}function Vs(e){le(e)?sr.push(...e):on&&e.id===-1?on.splice(Qn+1,0,e):e.flags&1||(sr.push(e),e.flags|=1),Iu()}function gl(e,t,n=Rt+1){for(;n<Ye.length;n++){const r=Ye[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ye.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Du(e){if(sr.length){const t=[...new Set(sr)].sort((n,r)=>Yr(n)-Yr(r));if(sr.length=0,on){on.push(...t);return}for(on=t,Qn=0;Qn<on.length;Qn++){const n=on[Qn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}on=null,Qn=0}}const Yr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function $u(e){try{for(Rt=0;Rt<Ye.length;Rt++){const t=Ye[Rt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ns(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Rt<Ye.length;Rt++){const t=Ye[Rt];t&&(t.flags&=-2)}Rt=-1,Ye.length=0,Du(),ks=null,(Ye.length||sr.length)&&$u()}}let Be=null,Lu=null;function Fs(e){const t=Be;return Be=e,Lu=e&&e.type.__scopeId||null,t}function Jn(e,t=Be,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&js(-1);const o=Fs(t);let a;try{a=e(...s)}finally{Fs(o),r._d&&js(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function wb(e,t){if(Be===null)return e;const n=pi(Be),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,a,l,c=Se]=t[s];o&&(fe(o)&&(o={mounted:o,updated:o}),o.deep&&Wt(a),r.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Cn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let a=0;a<s.length;a++){const l=s[a];o&&(l.oldValue=o[a].value);let c=l.dir[r];c&&(qt(),St(c,n,8,[e.el,l,e,t]),Yt())}}function xs(e,t){if(He){let n=He.provides;const r=He.parent&&He.parent.provides;r===n&&(n=He.provides=Object.create(r)),n[e]=t}}function rt(e,t,n=!1){const r=gn();if(r||Dn){let s=Dn?Dn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&fe(t)?t.call(r&&r.proxy):t}}function y_(){return!!(gn()||Dn)}const b_=Symbol.for("v-scx"),A_=()=>rt(b_);function In(e,t,n){return Pu(e,t,n)}function Pu(e,t,n=Se){const{immediate:r,deep:s,flush:o,once:a}=n,l=Le({},n),c=t&&r||!t&&o!=="post";let d;if(gr){if(o==="sync"){const m=A_();d=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=bt,m.resume=bt,m.pause=bt,m}}const f=He;l.call=(m,O,A)=>St(m,f,O,A);let h=!1;o==="post"?l.scheduler=m=>{Fe(m,f&&f.suspense)}:o!=="sync"&&(h=!0,l.scheduler=(m,O)=>{O?m():Xo(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=__(e,t,l);return gr&&(d?d.push(p):c&&p()),p}function T_(e,t,n){const r=this.proxy,s=Oe(e)?e.includes(".")?Mu(r,e):()=>r[e]:e.bind(r,r);let o;fe(t)?o=t:(o=t.handler,n=t);const a=kn(this),l=Pu(s,o.bind(r),n);return a(),l}function Mu(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const ku=Symbol("_vte"),Vu=e=>e.__isTeleport,Hr=e=>e&&(e.disabled||e.disabled===""),ml=e=>e&&(e.defer||e.defer===""),_l=e=>typeof SVGElement<"u"&&e instanceof SVGElement,vl=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,lo=(e,t)=>{const n=e&&e.to;return Oe(n)?t?t(n):null:n},Fu={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,a,l,c,d){const{mc:f,pc:h,pbc:p,o:{insert:m,querySelector:O,createText:A,createComment:x}}=d,M=Hr(t.props);let{shapeFlag:$,children:F,dynamicChildren:k}=t;if(e==null){const b=t.el=A(""),y=t.anchor=A("");m(b,n,r),m(y,n,r);const N=(C,S)=>{$&16&&f(F,C,S,s,o,a,l,c)},T=()=>{const C=t.target=lo(t.props,O),S=co(C,t,A,m);C&&(a!=="svg"&&_l(C)?a="svg":a!=="mathml"&&vl(C)&&(a="mathml"),s&&s.isCE&&(s.ce._teleportTargets||(s.ce._teleportTargets=new Set)).add(C),M||(N(C,S),Rs(t,!1)))};M&&(N(n,y),Rs(t,!0)),ml(t.props)?(t.el.__isMounted=!1,Fe(()=>{T(),delete t.el.__isMounted},o)):T()}else{if(ml(t.props)&&e.el.__isMounted===!1){Fe(()=>{Fu.process(e,t,n,r,s,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,T=Hr(e.props),C=T?n:y,S=T?b:N;if(a==="svg"||_l(y)?a="svg":(a==="mathml"||vl(y))&&(a="mathml"),k?(p(e.dynamicChildren,k,C,s,o,a,l),oa(e,t,!0)):c||h(e,t,C,S,s,o,a,l,!1),M)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):As(t,n,b,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=lo(t.props,O);U&&As(t,U,null,d,0)}else T&&As(t,y,N,d,1);Rs(t,M)}},remove(e,t,n,{um:r,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetStart:d,targetAnchor:f,target:h,props:p}=e;if(h&&(s(d),s(f)),o&&s(c),a&16){const m=o||!Hr(p);for(let O=0;O<l.length;O++){const A=l[O];r(A,t,n,m,!!A.dynamicChildren)}}},move:As,hydrate:C_};function As(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:c,children:d,props:f}=e,h=o===2;if(h&&r(a,t,n),(!h||Hr(f))&&c&16)for(let p=0;p<d.length;p++)s(d[p],t,n,2);h&&r(l,t,n)}function C_(e,t,n,r,s,o,{o:{nextSibling:a,parentNode:l,querySelector:c,insert:d,createText:f}},h){function p(x,M){let $=M;for(;$;){if($&&$.nodeType===8){if($.data==="teleport start anchor")t.targetStart=$;else if($.data==="teleport anchor"){t.targetAnchor=$,x._lpa=t.targetAnchor&&a(t.targetAnchor);break}}$=a($)}}function m(x,M){M.anchor=h(a(x),M,l(x),n,r,s,o)}const O=t.target=lo(t.props,c),A=Hr(t.props);if(O){const x=O._lpa||O.firstChild;t.shapeFlag&16&&(A?(m(e,t),p(O,x),t.targetAnchor||co(O,t,f,d,l(e)===O?e:null)):(t.anchor=a(e),p(O,x),t.targetAnchor||co(O,t,f,d),h(x&&a(x),t,O,n,r,s,o))),Rs(t,A)}else A&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=a(e));return t.anchor&&a(t.anchor)}const Ob=Fu;function Rs(e,t){const n=e.ctx;if(n&&n.ut){let r,s;for(t?(r=e.el,s=e.anchor):(r=e.targetStart,s=e.targetAnchor);r&&r!==s;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function co(e,t,n,r,s=null){const o=t.targetStart=n(""),a=t.targetAnchor=n("");return o[ku]=a,e&&(r(o,e,s),r(a,e,s)),a}const It=Symbol("_leaveCb"),Rr=Symbol("_enterCb");function Hu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ea(()=>{e.isMounted=!0}),Xu(()=>{e.isUnmounting=!0}),e}const ft=[Function,Array],Bu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ft,onEnter:ft,onAfterEnter:ft,onEnterCancelled:ft,onBeforeLeave:ft,onLeave:ft,onAfterLeave:ft,onLeaveCancelled:ft,onBeforeAppear:ft,onAppear:ft,onAfterAppear:ft,onAppearCancelled:ft},ju=e=>{const t=e.subTree;return t.component?ju(t.component):t},S_={name:"BaseTransition",props:Bu,setup(e,{slots:t}){const n=gn(),r=Hu();return()=>{const s=t.default&&Qo(t.default(),!0);if(!s||!s.length)return;const o=Wu(s),a=ve(e),{mode:l}=a;if(r.isLeaving)return Hi(o);const c=El(o);if(!c)return Hi(o);let d=zr(c,a,r,n,h=>d=h);c.type!==ke&&Mn(c,d);let f=n.subTree&&El(n.subTree);if(f&&f.type!==ke&&!$t(f,c)&&ju(n).type!==ke){let h=zr(f,a,r,n);if(Mn(f,h),l==="out-in"&&c.type!==ke)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,f=void 0},Hi(o);l==="in-out"&&c.type!==ke?h.delayLeave=(p,m,O)=>{const A=Ku(r,f);A[String(f.key)]=f,p[It]=()=>{m(),p[It]=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!==ke){t=n;break}}return t}const w_=S_;function Ku(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function zr(e,t,n,r,s){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:p,onLeave:m,onAfterLeave:O,onLeaveCancelled:A,onBeforeAppear:x,onAppear:M,onAfterAppear:$,onAppearCancelled:F}=t,k=String(e.key),b=Ku(n,e),y=(C,S)=>{C&&St(C,r,9,S)},N=(C,S)=>{const U=S[1];y(C,S),le(C)?C.every(j=>j.length<=1)&&U():C.length<=1&&U()},T={mode:a,persisted:l,beforeEnter(C){let S=c;if(!n.isMounted)if(o)S=x||c;else return;C[It]&&C[It](!0);const U=b[k];U&&$t(e,U)&&U.el[It]&&U.el[It](),y(S,[C])},enter(C){let S=d,U=f,j=h;if(!n.isMounted)if(o)S=M||d,U=$||f,j=F||h;else return;let te=!1;C[Rr]=Ee=>{te||(te=!0,Ee?y(j,[C]):y(U,[C]),T.delayedLeave&&T.delayedLeave(),C[Rr]=void 0)};const he=C[Rr].bind(null,!1);S?N(S,[C,he]):he()},leave(C,S){const U=String(e.key);if(C[Rr]&&C[Rr](!0),n.isUnmounting)return S();y(p,[C]);let j=!1;C[It]=he=>{j||(j=!0,S(),he?y(A,[C]):y(O,[C]),C[It]=void 0,b[U]===e&&delete b[U])};const te=C[It].bind(null,!1);b[U]=e,m?N(m,[C,te]):te()},clone(C){const S=zr(C,t,n,r,s);return s&&s(S),S}};return T}function Hi(e){if(rs(e))return e=fn(e),e.children=null,e}function El(e){if(!rs(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&&fe(n.default))return n.default()}}function Mn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Mn(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 Qo(e,t=!1,n){let r=[],s=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===ze?(a.patchFlag&128&&s++,r=r.concat(Qo(a.children,t,l))):(t||a.type!==ke)&&r.push(l!=null?fn(a,{key:l}):a)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Jo(e,t){return fe(e)?Le({name:e.name},t,{setup:e}):e}function Zo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Nb(e){const t=gn(),n=wu(null);if(t){const s=t.refs===Se?t.refs={}:t.refs;Object.defineProperty(s,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}return n}function yl(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Hs=new WeakMap;function Br(e,t,n,r,s=!1){if(le(e)){e.forEach((A,x)=>Br(A,t&&(le(t)?t[x]:t),n,r,s));return}if(ir(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Br(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?pi(r.component):r.el,a=s?null:o,{i:l,r:c}=e,d=t&&t.r,f=l.refs===Se?l.refs={}:l.refs,h=l.setupState,p=ve(h),m=h===Se?Jc:A=>yl(f,A)?!1:Ce(p,A),O=(A,x)=>!(x&&yl(f,x));if(d!=null&&d!==c){if(bl(t),Oe(d))f[d]=null,m(d)&&(h[d]=null);else if(xe(d)){const A=t;O(d,A.k)&&(d.value=null),A.k&&(f[A.k]=null)}}if(fe(c))ns(c,l,12,[a,f]);else{const A=Oe(c),x=xe(c);if(A||x){const M=()=>{if(e.f){const $=A?m(c)?h[c]:f[c]:O()||!e.k?c.value:f[e.k];if(s)le($)&&Wo($,o);else if(le($))$.includes(o)||$.push(o);else if(A)f[c]=[o],m(c)&&(h[c]=f[c]);else{const F=[o];O(c,e.k)&&(c.value=F),e.k&&(f[e.k]=F)}}else A?(f[c]=a,m(c)&&(h[c]=a)):x&&(O(c,e.k)&&(c.value=a),e.k&&(f[e.k]=a))};if(a){const $=()=>{M(),Hs.delete(e)};$.id=-1,Hs.set(e,$),Fe($,n)}else bl(e),M()}}}function bl(e){const t=Hs.get(e);t&&(t.flags|=8,Hs.delete(e))}const Al=e=>e.nodeType===8;ti().requestIdleCallback;ti().cancelIdleCallback;function O_(e,t){if(Al(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Al(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const ir=e=>!!e.type.__asyncLoader;function xb(e){fe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:a,suspensible:l=!0,onError:c}=e;let d=null,f,h=0;const p=()=>(h++,d=null,m()),m=()=>{let O;return d||(O=d=t().catch(A=>{if(A=A instanceof Error?A:new Error(String(A)),c)return new Promise((x,M)=>{c(A,()=>x(p()),()=>M(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 Jo({name:"AsyncComponentWrapper",__asyncLoader:m,__asyncHydrate(O,A,x){let M=!1;(A.bu||(A.bu=[])).push(()=>M=!0);const $=()=>{M||x()},F=o?()=>{const k=o($,b=>O_(O,b));k&&(A.bum||(A.bum=[])).push(k)}:$;f?F():m().then(()=>!A.isUnmounted&&F())},get __asyncResolved(){return f},setup(){const O=He;if(Zo(O),f)return()=>Ts(f,O);const A=F=>{d=null,Ar(F,O,13,!r)};if(l&&O.suspense||gr)return m().then(F=>()=>Ts(F,O)).catch(F=>(A(F),()=>r?Ne(r,{error:F}):null));const x=rr(!1),M=rr(),$=rr(!!s);return s&&setTimeout(()=>{$.value=!1},s),a!=null&&setTimeout(()=>{if(!x.value&&!M.value){const F=new Error(`Async component timed out after ${a}ms.`);A(F),M.value=F}},a),m().then(()=>{x.value=!0,O.parent&&rs(O.parent.vnode)&&O.parent.update()}).catch(F=>{A(F),M.value=F}),()=>{if(x.value&&f)return Ts(f,O);if(M.value&&r)return Ne(r,{error:M.value});if(n&&!$.value)return Ts(n,O)}}})}function Ts(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,a=Ne(e,r,s);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const rs=e=>e.type.__isKeepAlive;function Uu(e,t){qu(e,"a",t)}function Gu(e,t){qu(e,"da",t)}function qu(e,t,n=He){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ui(t,r,n),n){let s=n.parent;for(;s&&s.parent;)rs(s.parent.vnode)&&N_(r,t,n,s),s=s.parent}}function N_(e,t,n,r){const s=ui(t,e,r,!0);fi(()=>{Wo(r[t],s)},n)}function ui(e,t,n=He,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{qt();const l=kn(n),c=St(t,n,e,a);return l(),Yt(),c});return r?s.unshift(o):s.push(o),o}}const Xt=e=>(t,n=He)=>{(!gr||e==="sp")&&ui(e,(...r)=>t(...r),n)},x_=Xt("bm"),ea=Xt("m"),Yu=Xt("bu"),zu=Xt("u"),Xu=Xt("bum"),fi=Xt("um"),R_=Xt("sp"),I_=Xt("rtg"),D_=Xt("rtc");function $_(e,t=He){ui("ec",e,t)}const ta="components",L_="directives";function P_(e,t){return na(ta,e,!0,t)||e}const Qu=Symbol.for("v-ndc");function M_(e){return Oe(e)?na(ta,e,!1)||e:e||Qu}function Rb(e){return na(L_,e)}function na(e,t,n=!0,r=!1){const s=Be||He;if(s){const o=s.type;if(e===ta){const l=Nv(o,!1);if(l&&(l===t||l===gt(t)||l===Zs(gt(t))))return o}const a=Tl(s[e]||o[e],t)||Tl(s.appContext[e],t);return!a&&r?o:a}}function Tl(e,t){return e&&(e[t]||e[gt(t)]||e[Zs(gt(t))])}function Ib(e,t,n,r){let s;const o=n,a=le(e);if(a||Oe(e)){const l=a&&Ut(e);let c=!1,d=!1;l&&(c=!nt(e),d=zt(e),e=si(e)),s=new Array(e.length);for(let f=0,h=e.length;f<h;f++)s[f]=t(c?d?dr(Ct(e[f])):Ct(e[f]):e[f],f,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,o)}else if(Ae(e))if(e[Symbol.iterator])s=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,d=l.length;c<d;c++){const f=l[c];s[c]=t(e[f],f,c,o)}}else s=[];return s}function Db(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(le(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function $b(e,t,n={},r,s){if(Be.ce||Be.parent&&ir(Be.parent)&&Be.parent.ce){const d=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Dt(),Qr(ze,null,[Ne("slot",n,r&&r())],d?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),Dt();const a=o&&Ju(o(n)),l=n.key||a&&a.key,c=Qr(ze,{key:(l&&!Tt(l)?l:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),o&&o._c&&(o._d=!0),c}function Ju(e){return e.some(t=>pr(t)?!(t.type===ke||t.type===ze&&!Ju(t.children)):!0)?e:null}const uo=e=>e?yf(e)?pi(e):uo(e.parent):null,jr=Le(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=>uo(e.parent),$root:e=>uo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ef(e),$forceUpdate:e=>e.f||(e.f=()=>{Xo(e.update)}),$nextTick:e=>e.n||(e.n=ci.bind(e.proxy)),$watch:e=>T_.bind(e)}),Bi=(e,t)=>e!==Se&&!e.__isScriptSetup&&Ce(e,t),k_={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:a,type:l,appContext:c}=e;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Bi(r,t))return a[t]=1,r[t];if(s!==Se&&Ce(s,t))return a[t]=2,s[t];if(Ce(o,t))return a[t]=3,o[t];if(n!==Se&&Ce(n,t))return a[t]=4,n[t];ho&&(a[t]=0)}}const d=jr[t];let f,h;if(d)return t==="$attrs"&&Ue(e.attrs,"get",""),d(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Se&&Ce(n,t))return a[t]=4,n[t];if(h=c.config.globalProperties,Ce(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Bi(s,t)?(s[t]=n,!0):r!==Se&&Ce(r,t)?(r[t]=n,!0):Ce(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:o,type:a}},l){let c;return!!(n[l]||e!==Se&&l[0]!=="$"&&Ce(e,l)||Bi(t,l)||Ce(o,l)||Ce(r,l)||Ce(jr,l)||Ce(s.config.globalProperties,l)||(c=a.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ce(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Lb(){return V_().slots}function V_(e){const t=gn();return t.setupContext||(t.setupContext=Af(t))}function fo(e){return le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Pb(e,t){const n=fo(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?le(s)||fe(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function Mb(e){const t=gn();let n=e();return vo(),Ko(n)&&(n=n.catch(r=>{throw kn(t),r})),[n,()=>kn(t)]}let ho=!0;function F_(e){const t=ef(e),n=e.proxy,r=e.ctx;ho=!1,t.beforeCreate&&Cl(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:a,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:O,activated:A,deactivated:x,beforeDestroy:M,beforeUnmount:$,destroyed:F,unmounted:k,render:b,renderTracked:y,renderTriggered:N,errorCaptured:T,serverPrefetch:C,expose:S,inheritAttrs:U,components:j,directives:te,filters:he}=t;if(d&&H_(d,r,null),a)for(const I in a){const K=a[I];fe(K)&&(r[I]=K.bind(n))}if(s){const I=s.call(n,n);Ae(I)&&(e.data=ts(I))}if(ho=!0,o)for(const I in o){const K=o[I],G=fe(K)?K.bind(n,n):fe(K.get)?K.get.bind(n,n):bt,z=!fe(K)&&fe(K.set)?K.set.bind(n):bt,re=dt({get:G,set:z});Object.defineProperty(r,I,{enumerable:!0,configurable:!0,get:()=>re.value,set:ne=>re.value=ne})}if(l)for(const I in l)Zu(l[I],r,n,I);if(c){const I=fe(c)?c.call(n):c;Reflect.ownKeys(I).forEach(K=>{xs(K,I[K])})}f&&Cl(f,e,"c");function ie(I,K){le(K)?K.forEach(G=>I(G.bind(n))):K&&I(K.bind(n))}if(ie(x_,h),ie(ea,p),ie(Yu,m),ie(zu,O),ie(Uu,A),ie(Gu,x),ie($_,T),ie(D_,y),ie(I_,N),ie(Xu,$),ie(fi,k),ie(R_,C),le(S))if(S.length){const I=e.exposed||(e.exposed={});S.forEach(K=>{Object.defineProperty(I,K,{get:()=>n[K],set:G=>n[K]=G,enumerable:!0})})}else e.exposed||(e.exposed={});b&&e.render===bt&&(e.render=b),U!=null&&(e.inheritAttrs=U),j&&(e.components=j),te&&(e.directives=te),C&&Zo(e)}function H_(e,t,n=bt){le(e)&&(e=po(e));for(const r in e){const s=e[r];let o;Ae(s)?"default"in s?o=rt(s.from||r,s.default,!0):o=rt(s.from||r):o=rt(s),xe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function Cl(e,t,n){St(le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Zu(e,t,n,r){let s=r.includes(".")?Mu(n,r):()=>n[r];if(Oe(e)){const o=t[e];fe(o)&&In(s,o)}else if(fe(e))In(s,e.bind(n));else if(Ae(e))if(le(e))e.forEach(o=>Zu(o,t,n,r));else{const o=fe(e.handler)?e.handler.bind(n):t[e.handler];fe(o)&&In(s,o,e)}}function ef(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(d=>Bs(c,d,a,!0)),Bs(c,t,a)),Ae(t)&&o.set(t,c),c}function Bs(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Bs(e,o,n,!0),s&&s.forEach(a=>Bs(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const l=B_[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const B_={data:Sl,props:wl,emits:wl,methods:Lr,computed:Lr,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:Lr,directives:Lr,watch:W_,provide:Sl,inject:j_};function Sl(e,t){return t?e?function(){return Le(fe(e)?e.call(this,this):e,fe(t)?t.call(this,this):t)}:t:e}function j_(e,t){return Lr(po(e),po(t))}function po(e){if(le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Lr(e,t){return e?Le(Object.create(null),e,t):t}function wl(e,t){return e?le(e)&&le(t)?[...new Set([...e,...t])]:Le(Object.create(null),fo(e),fo(t??{})):t}function W_(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=Ge(e[r],t[r]);return n}function tf(){return{app:null,config:{isNativeTag:Jc,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 K_=0;function U_(e,t){return function(r,s=null){fe(r)||(r=Le({},r)),s!=null&&!Ae(s)&&(s=null);const o=tf(),a=new WeakSet,l=[];let c=!1;const d=o.app={_uid:K_++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Rv,get config(){return o.config},set config(f){},use(f,...h){return a.has(f)||(f&&fe(f.install)?(a.add(f),f.install(d,...h)):fe(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 m=d._ceVNode||Ne(r,s);return m.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(m,f,p),c=!0,d._container=f,f.__vue_app__=d,pi(m.component)}},onUnmount(f){l.push(f)},unmount(){c&&(St(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=Dn;Dn=d;try{return f()}finally{Dn=h}}};return d}}let Dn=null;const G_=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gt(t)}Modifiers`]||e[`${pn(t)}Modifiers`];function q_(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Se;let s=n;const o=t.startsWith("update:"),a=o&&G_(r,t.slice(7));a&&(a.trim&&(s=n.map(f=>Oe(f)?f.trim():f)),a.number&&(s=n.map(ei)));let l,c=r[l=Pi(t)]||r[l=Pi(gt(t))];!c&&o&&(c=r[l=Pi(pn(t))]),c&&St(c,e,6,s);const d=r[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,St(d,e,6,s)}}const Y_=new WeakMap;function nf(e,t,n=!1){const r=n?Y_:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let a={},l=!1;if(!fe(e)){const c=d=>{const f=nf(d,t,!0);f&&(l=!0,Le(a,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(Ae(e)&&r.set(e,null),null):(le(o)?o.forEach(c=>a[c]=null):Le(a,o),Ae(e)&&r.set(e,a),a)}function di(e,t){return!e||!Xs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ce(e,t[0].toLowerCase()+t.slice(1))||Ce(e,pn(t))||Ce(e,t))}function Ol(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:a,attrs:l,emit:c,render:d,renderCache:f,props:h,data:p,setupState:m,ctx:O,inheritAttrs:A}=e,x=Fs(e);let M,$;try{if(n.shapeFlag&4){const k=s||r,b=k;M=yt(d.call(b,k,f,h,m,p,O)),$=l}else{const k=t;M=yt(k.length>1?k(h,{attrs:l,slots:a,emit:c}):k(h,null)),$=t.props?l:X_(l)}}catch(k){Wr.length=0,Ar(k,e,1),M=Ne(ke)}let F=M;if($&&A!==!1){const k=Object.keys($),{shapeFlag:b}=F;k.length&&b&7&&(o&&k.some(jo)&&($=Q_($,o)),F=fn(F,$,!1,!0))}return n.dirs&&(F=fn(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&Mn(F,n.transition),M=F,Fs(x),M}function z_(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(pr(s)){if(s.type!==ke||s.children==="v-if"){if(n)return;n=s}}else return}return n}const X_=e=>{let t;for(const n in e)(n==="class"||n==="style"||Xs(n))&&((t||(t={}))[n]=e[n]);return t},Q_=(e,t)=>{const n={};for(const r in e)(!jo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function J_(e,t,n){const{props:r,children:s,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 r?Nl(r,a,d):!!a;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const p=f[h];if(rf(a,r,p)&&!di(d,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===a?!1:r?a?Nl(r,a,d):!0:!!a;return!1}function Nl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(rf(t,e,o)&&!di(n,o))return!0}return!1}function rf(e,t,n){const r=e[n],s=t[n];return n==="style"&&Ae(r)&&Ae(s)?!un(r,s):r!==s}function ra({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const sf={},of=()=>Object.create(sf),af=e=>Object.getPrototypeOf(e)===sf;function Z_(e,t,n,r=!1){const s={},o=of();e.propsDefaults=Object.create(null),lf(e,t,s,o);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=r?s:Su(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function ev(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:a}}=e,l=ve(s),[c]=e.propsOptions;let d=!1;if((r||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(di(e.emitsOptions,p))continue;const m=t[p];if(c)if(Ce(o,p))m!==o[p]&&(o[p]=m,d=!0);else{const O=gt(p);s[O]=go(c,l,O,m,e,!1)}else m!==o[p]&&(o[p]=m,d=!0)}}}else{lf(e,t,s,o)&&(d=!0);let f;for(const h in l)(!t||!Ce(t,h)&&((f=pn(h))===h||!Ce(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(s[h]=go(c,l,h,void 0,e,!0)):delete s[h]);if(o!==l)for(const h in o)(!t||!Ce(t,h))&&(delete o[h],d=!0)}d&&jt(e.attrs,"set","")}function lf(e,t,n,r){const[s,o]=e.propsOptions;let a=!1,l;if(t)for(let c in t){if(kr(c))continue;const d=t[c];let f;s&&Ce(s,f=gt(c))?!o||!o.includes(f)?n[f]=d:(l||(l={}))[f]=d:di(e.emitsOptions,c)||(!(c in r)||d!==r[c])&&(r[c]=d,a=!0)}if(o){const c=ve(n),d=l||Se;for(let f=0;f<o.length;f++){const h=o[f];n[h]=go(s,c,h,d[h],e,!Ce(d,h))}}return a}function go(e,t,n,r,s,o){const a=e[n];if(a!=null){const l=Ce(a,"default");if(l&&r===void 0){const c=a.default;if(a.type!==Function&&!a.skipFactory&&fe(c)){const{propsDefaults:d}=s;if(n in d)r=d[n];else{const f=kn(s);r=d[n]=c.call(null,t),f()}}else r=c;s.ce&&s.ce._setProp(n,r)}a[0]&&(o&&!l?r=!1:a[1]&&(r===""||r===pn(n))&&(r=!0))}return r}const tv=new WeakMap;function cf(e,t,n=!1){const r=n?tv:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,a={},l=[];let c=!1;if(!fe(e)){const f=h=>{c=!0;const[p,m]=cf(h,t,!0);Le(a,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return Ae(e)&&r.set(e,tr),tr;if(le(o))for(let f=0;f<o.length;f++){const h=gt(o[f]);xl(h)&&(a[h]=Se)}else if(o)for(const f in o){const h=gt(f);if(xl(h)){const p=o[f],m=a[h]=le(p)||fe(p)?{type:p}:Le({},p),O=m.type;let A=!1,x=!0;if(le(O))for(let M=0;M<O.length;++M){const $=O[M],F=fe($)&&$.name;if(F==="Boolean"){A=!0;break}else F==="String"&&(x=!1)}else A=fe(O)&&O.name==="Boolean";m[0]=A,m[1]=x,(A||Ce(m,"default"))&&l.push(h)}}const d=[a,l];return Ae(e)&&r.set(e,d),d}function xl(e){return e[0]!=="$"&&!kr(e)}const sa=e=>e==="_"||e==="_ctx"||e==="$stable",ia=e=>le(e)?e.map(yt):[yt(e)],nv=(e,t,n)=>{if(t._n)return t;const r=Jn((...s)=>ia(t(...s)),n);return r._c=!1,r},uf=(e,t,n)=>{const r=e._ctx;for(const s in e){if(sa(s))continue;const o=e[s];if(fe(o))t[s]=nv(s,o,r);else if(o!=null){const a=ia(o);t[s]=()=>a}}},ff=(e,t)=>{const n=ia(t);e.slots.default=()=>n},df=(e,t,n)=>{for(const r in t)(n||!sa(r))&&(e[r]=t[r])},rv=(e,t,n)=>{const r=e.slots=of();if(e.vnode.shapeFlag&32){const s=t._;s?(df(r,t,n),n&&tu(r,"_",s,!0)):uf(t,r)}else t&&ff(e,t)},sv=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,a=Se;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:df(s,t,n):(o=!t.$stable,uf(t,s)),a=t}else t&&(ff(e,t),a={default:1});if(o)for(const l in s)!sa(l)&&a[l]==null&&delete s[l]},Fe=gv;function iv(e){return ov(e)}function ov(e,t){const n=ti();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:a,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=bt,insertStaticContent:O}=e,A=(g,E,w,P=null,B=null,H=null,q=void 0,X=null,R=!!E.dynamicChildren)=>{if(g===E)return;g&&!$t(g,E)&&(P=L(g),ne(g,B,H,!0),g=null),E.patchFlag===-2&&(R=!1,E.dynamicChildren=null);const{type:W,ref:ce,shapeFlag:ee}=E;switch(W){case hi:x(g,E,w,P);break;case ke:M(g,E,w,P);break;case Is:g==null&&$(E,w,P,q);break;case ze:j(g,E,w,P,B,H,q,X,R);break;default:ee&1?b(g,E,w,P,B,H,q,X,R):ee&6?te(g,E,w,P,B,H,q,X,R):(ee&64||ee&128)&&W.process(g,E,w,P,B,H,q,X,R,oe)}ce!=null&&B?Br(ce,g&&g.ref,H,E||g,!E):ce==null&&g&&g.ref!=null&&Br(g.ref,null,H,g,!0)},x=(g,E,w,P)=>{if(g==null)r(E.el=l(E.children),w,P);else{const B=E.el=g.el;E.children!==g.children&&d(B,E.children)}},M=(g,E,w,P)=>{g==null?r(E.el=c(E.children||""),w,P):E.el=g.el},$=(g,E,w,P)=>{[g.el,g.anchor]=O(g.children,E,w,P,g.el,g.anchor)},F=({el:g,anchor:E},w,P)=>{let B;for(;g&&g!==E;)B=p(g),r(g,w,P),g=B;r(E,w,P)},k=({el:g,anchor:E})=>{let w;for(;g&&g!==E;)w=p(g),s(g),g=w;s(E)},b=(g,E,w,P,B,H,q,X,R)=>{if(E.type==="svg"?q="svg":E.type==="math"&&(q="mathml"),g==null)y(E,w,P,B,H,q,X,R);else{const W=g.el&&g.el._isVueCE?g.el:null;try{W&&W._beginPatch(),C(g,E,B,H,q,X,R)}finally{W&&W._endPatch()}}},y=(g,E,w,P,B,H,q,X)=>{let R,W;const{props:ce,shapeFlag:ee,transition:ae,dirs:ue}=g;if(R=g.el=a(g.type,H,ce&&ce.is,ce),ee&8?f(R,g.children):ee&16&&T(g.children,R,null,P,B,ji(g,H),q,X),ue&&Cn(g,null,P,"created"),N(R,g,g.scopeId,q,P),ce){for(const be in ce)be!=="value"&&!kr(be)&&o(R,be,null,ce[be],H,P);"value"in ce&&o(R,"value",null,ce.value,H),(W=ce.onVnodeBeforeMount)&&Nt(W,P,g)}ue&&Cn(g,null,P,"beforeMount");const pe=av(B,ae);pe&&ae.beforeEnter(R),r(R,E,w),((W=ce&&ce.onVnodeMounted)||pe||ue)&&Fe(()=>{W&&Nt(W,P,g),pe&&ae.enter(R),ue&&Cn(g,null,P,"mounted")},B)},N=(g,E,w,P,B)=>{if(w&&m(g,w),P)for(let H=0;H<P.length;H++)m(g,P[H]);if(B){let H=B.subTree;if(E===H||gf(H.type)&&(H.ssContent===E||H.ssFallback===E)){const q=B.vnode;N(g,q,q.scopeId,q.slotScopeIds,B.parent)}}},T=(g,E,w,P,B,H,q,X,R=0)=>{for(let W=R;W<g.length;W++){const ce=g[W]=X?Bt(g[W]):yt(g[W]);A(null,ce,E,w,P,B,H,q,X)}},C=(g,E,w,P,B,H,q)=>{const X=E.el=g.el;let{patchFlag:R,dynamicChildren:W,dirs:ce}=E;R|=g.patchFlag&16;const ee=g.props||Se,ae=E.props||Se;let ue;if(w&&Sn(w,!1),(ue=ae.onVnodeBeforeUpdate)&&Nt(ue,w,E,g),ce&&Cn(E,g,w,"beforeUpdate"),w&&Sn(w,!0),(ee.innerHTML&&ae.innerHTML==null||ee.textContent&&ae.textContent==null)&&f(X,""),W?S(g.dynamicChildren,W,X,w,P,ji(E,B),H):q||K(g,E,X,null,w,P,ji(E,B),H,!1),R>0){if(R&16)U(X,ee,ae,w,B);else if(R&2&&ee.class!==ae.class&&o(X,"class",null,ae.class,B),R&4&&o(X,"style",ee.style,ae.style,B),R&8){const pe=E.dynamicProps;for(let be=0;be<pe.length;be++){const _e=pe[be],Ie=ee[_e],je=ae[_e];(je!==Ie||_e==="value")&&o(X,_e,Ie,je,B,w)}}R&1&&g.children!==E.children&&f(X,E.children)}else!q&&W==null&&U(X,ee,ae,w,B);((ue=ae.onVnodeUpdated)||ce)&&Fe(()=>{ue&&Nt(ue,w,E,g),ce&&Cn(E,g,w,"updated")},P)},S=(g,E,w,P,B,H,q)=>{for(let X=0;X<E.length;X++){const R=g[X],W=E[X],ce=R.el&&(R.type===ze||!$t(R,W)||R.shapeFlag&198)?h(R.el):w;A(R,W,ce,null,P,B,H,q,!0)}},U=(g,E,w,P,B)=>{if(E!==w){if(E!==Se)for(const H in E)!kr(H)&&!(H in w)&&o(g,H,E[H],null,B,P);for(const H in w){if(kr(H))continue;const q=w[H],X=E[H];q!==X&&H!=="value"&&o(g,H,X,q,B,P)}"value"in w&&o(g,"value",E.value,w.value,B)}},j=(g,E,w,P,B,H,q,X,R)=>{const W=E.el=g?g.el:l(""),ce=E.anchor=g?g.anchor:l("");let{patchFlag:ee,dynamicChildren:ae,slotScopeIds:ue}=E;ue&&(X=X?X.concat(ue):ue),g==null?(r(W,w,P),r(ce,w,P),T(E.children||[],w,ce,B,H,q,X,R)):ee>0&&ee&64&&ae&&g.dynamicChildren&&g.dynamicChildren.length===ae.length?(S(g.dynamicChildren,ae,w,B,H,q,X),(E.key!=null||B&&E===B.subTree)&&oa(g,E,!0)):K(g,E,w,ce,B,H,q,X,R)},te=(g,E,w,P,B,H,q,X,R)=>{E.slotScopeIds=X,g==null?E.shapeFlag&512?B.ctx.activate(E,w,P,q,R):he(E,w,P,B,H,q,R):Ee(g,E,R)},he=(g,E,w,P,B,H,q)=>{const X=g.component=Cv(g,P,B);if(rs(g)&&(X.ctx.renderer=oe),Sv(X,!1,q),X.asyncDep){if(B&&B.registerDep(X,ie,q),!g.el){const R=X.subTree=Ne(ke);M(null,R,E,w),g.placeholder=R.el}}else ie(X,g,E,w,B,H,q)},Ee=(g,E,w)=>{const P=E.component=g.component;if(J_(g,E,w))if(P.asyncDep&&!P.asyncResolved){I(P,E,w);return}else P.next=E,P.update();else E.el=g.el,P.vnode=E},ie=(g,E,w,P,B,H,q)=>{const X=()=>{if(g.isMounted){let{next:ee,bu:ae,u:ue,parent:pe,vnode:be}=g;{const at=hf(g);if(at){ee&&(ee.el=be.el,I(g,ee,q)),at.asyncDep.then(()=>{Fe(()=>{g.isUnmounted||W()},B)});return}}let _e=ee,Ie;Sn(g,!1),ee?(ee.el=be.el,I(g,ee,q)):ee=be,ae&&Ns(ae),(Ie=ee.props&&ee.props.onVnodeBeforeUpdate)&&Nt(Ie,pe,ee,be),Sn(g,!0);const je=Ol(g),mt=g.subTree;g.subTree=je,A(mt,je,h(mt.el),L(mt),g,B,H),ee.el=je.el,_e===null&&ra(g,je.el),ue&&Fe(ue,B),(Ie=ee.props&&ee.props.onVnodeUpdated)&&Fe(()=>Nt(Ie,pe,ee,be),B)}else{let ee;const{el:ae,props:ue}=E,{bm:pe,m:be,parent:_e,root:Ie,type:je}=g,mt=ir(E);Sn(g,!1),pe&&Ns(pe),!mt&&(ee=ue&&ue.onVnodeBeforeMount)&&Nt(ee,_e,E),Sn(g,!0);{Ie.ce&&Ie.ce._hasShadowRoot()&&Ie.ce._injectChildStyle(je);const at=g.subTree=Ol(g);A(null,at,w,P,g,B,H),E.el=at.el}if(be&&Fe(be,B),!mt&&(ee=ue&&ue.onVnodeMounted)){const at=E;Fe(()=>Nt(ee,_e,at),B)}(E.shapeFlag&256||_e&&ir(_e.vnode)&&_e.vnode.shapeFlag&256)&&g.a&&Fe(g.a,B),g.isMounted=!0,E=w=P=null}};g.scope.on();const R=g.effect=new cu(X);g.scope.off();const W=g.update=R.run.bind(R),ce=g.job=R.runIfDirty.bind(R);ce.i=g,ce.id=g.uid,R.scheduler=()=>Xo(ce),Sn(g,!0),W()},I=(g,E,w)=>{E.component=g;const P=g.vnode.props;g.vnode=E,g.next=null,ev(g,E.props,P,w),sv(g,E.children,w),qt(),gl(g),Yt()},K=(g,E,w,P,B,H,q,X,R=!1)=>{const W=g&&g.children,ce=g?g.shapeFlag:0,ee=E.children,{patchFlag:ae,shapeFlag:ue}=E;if(ae>0){if(ae&128){z(W,ee,w,P,B,H,q,X,R);return}else if(ae&256){G(W,ee,w,P,B,H,q,X,R);return}}ue&8?(ce&16&&ye(W,B,H),ee!==W&&f(w,ee)):ce&16?ue&16?z(W,ee,w,P,B,H,q,X,R):ye(W,B,H,!0):(ce&8&&f(w,""),ue&16&&T(ee,w,P,B,H,q,X,R))},G=(g,E,w,P,B,H,q,X,R)=>{g=g||tr,E=E||tr;const W=g.length,ce=E.length,ee=Math.min(W,ce);let ae;for(ae=0;ae<ee;ae++){const ue=E[ae]=R?Bt(E[ae]):yt(E[ae]);A(g[ae],ue,w,null,B,H,q,X,R)}W>ce?ye(g,B,H,!0,!1,ee):T(E,w,P,B,H,q,X,R,ee)},z=(g,E,w,P,B,H,q,X,R)=>{let W=0;const ce=E.length;let ee=g.length-1,ae=ce-1;for(;W<=ee&&W<=ae;){const ue=g[W],pe=E[W]=R?Bt(E[W]):yt(E[W]);if($t(ue,pe))A(ue,pe,w,null,B,H,q,X,R);else break;W++}for(;W<=ee&&W<=ae;){const ue=g[ee],pe=E[ae]=R?Bt(E[ae]):yt(E[ae]);if($t(ue,pe))A(ue,pe,w,null,B,H,q,X,R);else break;ee--,ae--}if(W>ee){if(W<=ae){const ue=ae+1,pe=ue<ce?E[ue].el:P;for(;W<=ae;)A(null,E[W]=R?Bt(E[W]):yt(E[W]),w,pe,B,H,q,X,R),W++}}else if(W>ae)for(;W<=ee;)ne(g[W],B,H,!0),W++;else{const ue=W,pe=W,be=new Map;for(W=pe;W<=ae;W++){const We=E[W]=R?Bt(E[W]):yt(E[W]);We.key!=null&&be.set(We.key,W)}let _e,Ie=0;const je=ae-pe+1;let mt=!1,at=0;const mn=new Array(je);for(W=0;W<je;W++)mn[W]=0;for(W=ue;W<=ee;W++){const We=g[W];if(Ie>=je){ne(We,B,H,!0);continue}let lt;if(We.key!=null)lt=be.get(We.key);else for(_e=pe;_e<=ae;_e++)if(mn[_e-pe]===0&&$t(We,E[_e])){lt=_e;break}lt===void 0?ne(We,B,H,!0):(mn[lt-pe]=W+1,lt>=at?at=lt:mt=!0,A(We,E[lt],w,null,B,H,q,X,R),Ie++)}const ss=mt?lv(mn):tr;for(_e=ss.length-1,W=je-1;W>=0;W--){const We=pe+W,lt=E[We],Qt=E[We+1],is=We+1<ce?Qt.el||pf(Qt):P;mn[W]===0?A(null,lt,w,is,B,H,q,X,R):mt&&(_e<0||W!==ss[_e]?re(lt,w,is,2):_e--)}}},re=(g,E,w,P,B=null)=>{const{el:H,type:q,transition:X,children:R,shapeFlag:W}=g;if(W&6){re(g.component.subTree,E,w,P);return}if(W&128){g.suspense.move(E,w,P);return}if(W&64){q.move(g,E,w,oe);return}if(q===ze){r(H,E,w);for(let ee=0;ee<R.length;ee++)re(R[ee],E,w,P);r(g.anchor,E,w);return}if(q===Is){F(g,E,w);return}if(P!==2&&W&1&&X)if(P===0)X.beforeEnter(H),r(H,E,w),Fe(()=>X.enter(H),B);else{const{leave:ee,delayLeave:ae,afterLeave:ue}=X,pe=()=>{g.ctx.isUnmounted?s(H):r(H,E,w)},be=()=>{H._isLeaving&&H[It](!0),ee(H,()=>{pe(),ue&&ue()})};ae?ae(H,pe,be):be()}else r(H,E,w)},ne=(g,E,w,P=!1,B=!1)=>{const{type:H,props:q,ref:X,children:R,dynamicChildren:W,shapeFlag:ce,patchFlag:ee,dirs:ae,cacheIndex:ue}=g;if(ee===-2&&(B=!1),X!=null&&(qt(),Br(X,null,w,g,!0),Yt()),ue!=null&&(E.renderCache[ue]=void 0),ce&256){E.ctx.deactivate(g);return}const pe=ce&1&&ae,be=!ir(g);let _e;if(be&&(_e=q&&q.onVnodeBeforeUnmount)&&Nt(_e,E,g),ce&6)me(g.component,w,P);else{if(ce&128){g.suspense.unmount(w,P);return}pe&&Cn(g,null,E,"beforeUnmount"),ce&64?g.type.remove(g,E,w,oe,P):W&&!W.hasOnce&&(H!==ze||ee>0&&ee&64)?ye(W,E,w,!1,!0):(H===ze&&ee&384||!B&&ce&16)&&ye(R,E,w),P&&se(g)}(be&&(_e=q&&q.onVnodeUnmounted)||pe)&&Fe(()=>{_e&&Nt(_e,E,g),pe&&Cn(g,null,E,"unmounted")},w)},se=g=>{const{type:E,el:w,anchor:P,transition:B}=g;if(E===ze){de(w,P);return}if(E===Is){k(g);return}const H=()=>{s(w),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(g.shapeFlag&1&&B&&!B.persisted){const{leave:q,delayLeave:X}=B,R=()=>q(w,H);X?X(g.el,H,R):R()}else H()},de=(g,E)=>{let w;for(;g!==E;)w=p(g),s(g),g=w;s(E)},me=(g,E,w)=>{const{bum:P,scope:B,job:H,subTree:q,um:X,m:R,a:W}=g;Rl(R),Rl(W),P&&Ns(P),B.stop(),H&&(H.flags|=8,ne(q,g,E,w)),X&&Fe(X,E),Fe(()=>{g.isUnmounted=!0},E)},ye=(g,E,w,P=!1,B=!1,H=0)=>{for(let q=H;q<g.length;q++)ne(g[q],E,w,P,B)},L=g=>{if(g.shapeFlag&6)return L(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const E=p(g.anchor||g.el),w=E&&E[ku];return w?p(w):E};let Q=!1;const Z=(g,E,w)=>{let P;g==null?E._vnode&&(ne(E._vnode,null,null,!0),P=E._vnode.component):A(E._vnode||null,g,E,null,null,null,w),E._vnode=g,Q||(Q=!0,gl(P),Du(),Q=!1)},oe={p:A,um:ne,m:re,r:se,mt:he,mc:T,pc:K,pbc:S,n:L,o:e};return{render:Z,hydrate:void 0,createApp:U_(Z)}}function ji({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 Sn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function av(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function oa(e,t,n=!1){const r=e.children,s=t.children;if(le(r)&&le(s))for(let o=0;o<r.length;o++){const a=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=Bt(s[o]),l.el=a.el),!n&&l.patchFlag!==-2&&oa(a,l)),l.type===hi&&(l.patchFlag===-1&&(l=s[o]=Bt(l)),l.el=a.el),l.type===ke&&!l.el&&(l.el=a.el)}}function lv(e){const t=e.slice(),n=[0];let r,s,o,a,l;const c=e.length;for(r=0;r<c;r++){const d=e[r];if(d!==0){if(s=n[n.length-1],e[s]<d){t[r]=s,n.push(r);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[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function hf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hf(t)}function Rl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function pf(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?pf(t.subTree):null}const gf=e=>e.__isSuspense;let mo=0;const cv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,a,l,c,d){if(e==null)fv(t,n,r,s,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}dv(e,t,n,r,s,a,l,c,d)}},hydrate:hv,normalize:pv},uv=cv;function Xr(e,t){const n=e.props&&e.props[t];fe(n)&&n()}function fv(e,t,n,r,s,o,a,l,c){const{p:d,o:{createElement:f}}=c,h=f("div"),p=e.suspense=mf(e,s,r,t,h,n,o,a,l,c);d(null,p.pendingBranch=e.ssContent,h,null,r,p,o,a),p.deps>0?(Xr(e,"onPending"),Xr(e,"onFallback"),d(null,e.ssFallback,t,n,r,null,o,a),or(p,e.ssFallback)):p.resolve(!1,!0)}function dv(e,t,n,r,s,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,m=t.ssFallback,{activeBranch:O,pendingBranch:A,isInFallback:x,isHydrating:M}=h;if(A)h.pendingBranch=p,$t(A,p)?(c(A,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0?h.resolve():x&&(M||(c(O,m,n,r,s,null,o,a,l),or(h,m)))):(h.pendingId=mo++,M?(h.isHydrating=!1,h.activeBranch=A):d(A,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=f("div"),x?(c(null,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0?h.resolve():(c(O,m,n,r,s,null,o,a,l),or(h,m))):O&&$t(O,p)?(c(O,p,n,r,s,h,o,a,l),h.resolve(!0)):(c(null,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0&&h.resolve()));else if(O&&$t(O,p))c(O,p,n,r,s,h,o,a,l),or(h,p);else if(Xr(t,"onPending"),h.pendingBranch=p,p.shapeFlag&512?h.pendingId=p.component.suspenseId:h.pendingId=mo++,c(null,p,h.hiddenContainer,null,s,h,o,a,l),h.deps<=0)h.resolve();else{const{timeout:$,pendingId:F}=h;$>0?setTimeout(()=>{h.pendingId===F&&h.fallback(m)},$):$===0&&h.fallback(m)}}function mf(e,t,n,r,s,o,a,l,c,d,f=!1){const{p:h,m:p,um:m,n:O,o:{parentNode:A,remove:x}}=d;let M;const $=mv(e);$&&t&&t.pendingBranch&&(M=t.pendingId,t.deps++);const F=e.props?nu(e.props.timeout):void 0,k=o,b={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:s,deps:0,pendingId:mo++,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!f,isHydrating:f,isUnmounted:!1,effects:[],resolve(y=!1,N=!1){const{vnode:T,activeBranch:C,pendingBranch:S,pendingId:U,effects:j,parentComponent:te,container:he,isInFallback:Ee}=b;let ie=!1;b.isHydrating?b.isHydrating=!1:y||(ie=C&&S.transition&&S.transition.mode==="out-in",ie&&(C.transition.afterLeave=()=>{U===b.pendingId&&(p(S,he,o===k?O(C):o,0),Vs(j),Ee&&T.ssFallback&&(T.ssFallback.el=null))}),C&&(A(C.el)===he&&(o=O(C)),m(C,te,b,!0),!ie&&Ee&&T.ssFallback&&Fe(()=>T.ssFallback.el=null,b)),ie||p(S,he,o,0)),or(b,S),b.pendingBranch=null,b.isInFallback=!1;let I=b.parent,K=!1;for(;I;){if(I.pendingBranch){I.effects.push(...j),K=!0;break}I=I.parent}!K&&!ie&&Vs(j),b.effects=[],$&&t&&t.pendingBranch&&M===t.pendingId&&(t.deps--,t.deps===0&&!N&&t.resolve()),Xr(T,"onResolve")},fallback(y){if(!b.pendingBranch)return;const{vnode:N,activeBranch:T,parentComponent:C,container:S,namespace:U}=b;Xr(N,"onFallback");const j=O(T),te=()=>{b.isInFallback&&(h(null,y,S,j,C,null,U,l,c),or(b,y))},he=y.transition&&y.transition.mode==="out-in";he&&(T.transition.afterLeave=te),b.isInFallback=!0,m(T,C,null,!0),he||te()},move(y,N,T){b.activeBranch&&p(b.activeBranch,y,N,T),b.container=y},next(){return b.activeBranch&&O(b.activeBranch)},registerDep(y,N,T){const C=!!b.pendingBranch;C&&b.deps++;const S=y.vnode.el;y.asyncDep.catch(U=>{Ar(U,y,0)}).then(U=>{if(y.isUnmounted||b.isUnmounted||b.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:j}=y;Eo(y,U),S&&(j.el=S);const te=!S&&y.subTree.el;N(y,j,A(S||y.subTree.el),S?null:O(y.subTree),b,a,T),te&&(j.placeholder=null,x(te)),ra(y,j.el),C&&--b.deps===0&&b.resolve()})},unmount(y,N){b.isUnmounted=!0,b.activeBranch&&m(b.activeBranch,n,y,N),b.pendingBranch&&m(b.pendingBranch,n,y,N)}};return b}function hv(e,t,n,r,s,o,a,l,c){const d=t.suspense=mf(t,r,n,e.parentNode,document.createElement("div"),null,s,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 pv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Il(r?n.default:n),e.ssFallback=r?Il(n.fallback):Ne(ke)}function Il(e){let t;if(fe(e)){const n=hr&&e._c;n&&(e._d=!1,Dt()),e=e(),n&&(e._d=!0,t=et,_f())}return le(e)&&(e=z_(e)),e=yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function gv(e,t){t&&t.pendingBranch?le(e)?t.effects.push(...e):t.effects.push(e):Vs(e)}function or(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,ra(r,s))}function mv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ze=Symbol.for("v-fgt"),hi=Symbol.for("v-txt"),ke=Symbol.for("v-cmt"),Is=Symbol.for("v-stc"),Wr=[];let et=null;function Dt(e=!1){Wr.push(et=e?null:[])}function _f(){Wr.pop(),et=Wr[Wr.length-1]||null}let hr=1;function js(e,t=!1){hr+=e,e<0&&et&&t&&(et.hasOnce=!0)}function vf(e){return e.dynamicChildren=hr>0?et||tr:null,_f(),hr>0&&et&&et.push(e),e}function Cs(e,t,n,r,s,o){return vf(er(e,t,n,r,s,o,!0))}function Qr(e,t,n,r,s){return vf(Ne(e,t,n,r,s,!0))}function pr(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}const Ef=({key:e})=>e??null,Ds=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||xe(e)||fe(e)?{i:Be,r:e,k:t,f:!!n}:e:null);function er(e,t=null,n=null,r=0,s=null,o=e===ze?0:1,a=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ef(t),ref:t&&Ds(t),scopeId:Lu,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:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Be};return l?(aa(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=Oe(n)?8:16),hr>0&&!a&&et&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&et.push(c),c}const Ne=_v;function _v(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Qu)&&(e=ke),pr(e)){const l=fn(e,t,!0);return n&&aa(l,n),hr>0&&!o&&et&&(l.shapeFlag&6?et[et.indexOf(e)]=l:et.push(l)),l.patchFlag=-2,l}if(xv(e)&&(e=e.__vccOpts),t){t=vv(t);let{class:l,style:c}=t;l&&!Oe(l)&&(t.class=ri(l)),Ae(c)&&(ai(c)&&!le(c)&&(c=Le({},c)),t.style=ni(c))}const a=Oe(e)?1:gf(e)?128:Vu(e)?64:Ae(e)?4:fe(e)?2:0;return er(e,t,n,r,s,a,o,!0)}function vv(e){return e?ai(e)||af(e)?Le({},e):e:null}function fn(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:a,children:l,transition:c}=e,d=t?bv(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ef(d),ref:t&&t.ref?n&&o?le(o)?o.concat(Ds(t)):[o,Ds(t)]:Ds(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!==ze?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&&fn(e.ssContent),ssFallback:e.ssFallback&&fn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Mn(f,c.clone(f)),f}function Ev(e=" ",t=0){return Ne(hi,null,e,t)}function yv(e="",t=!1){return t?(Dt(),Qr(ke,null,e)):Ne(ke,null,e)}function yt(e){return e==null||typeof e=="boolean"?Ne(ke):le(e)?Ne(ze,null,e.slice()):pr(e)?Bt(e):Ne(hi,null,String(e))}function Bt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fn(e)}function aa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(le(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),aa(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!af(t)?t._ctx=Be:s===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else fe(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),r&64?(n=16,t=[Ev(t)]):n=8);e.children=t,e.shapeFlag|=n}function bv(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=ri([t.class,r.class]));else if(s==="style")t.style=ni([t.style,r.style]);else if(Xs(s)){const o=t[s],a=r[s];a&&o!==a&&!(le(o)&&o.includes(a))&&(t[s]=o?[].concat(o,a):a)}else s!==""&&(t[s]=r[s])}return t}function Nt(e,t,n,r=null){St(e,t,7,[n,r])}const Av=tf();let Tv=0;function Cv(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Av,o={uid:Tv++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ou(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:cf(r,s),emitsOptions:nf(r,s),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:r.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,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=q_.bind(null,o),e.ce&&e.ce(o),o}let He=null;const gn=()=>He||Be;let Ws,_o;{const e=ti(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(a=>a(o)):s[0](o)}};Ws=t("__VUE_INSTANCE_SETTERS__",n=>He=n),_o=t("__VUE_SSR_SETTERS__",n=>gr=n)}const kn=e=>{const t=He;return Ws(e),e.scope.on(),()=>{e.scope.off(),Ws(t)}},vo=()=>{He&&He.scope.off(),Ws(null)};function yf(e){return e.vnode.shapeFlag&4}let gr=!1;function Sv(e,t=!1,n=!1){t&&_o(t);const{props:r,children:s}=e.vnode,o=yf(e);Z_(e,r,o,t),rv(e,s,n||t);const a=o?wv(e,t):void 0;return t&&_o(!1),a}function wv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,k_);const{setup:r}=n;if(r){qt();const s=e.setupContext=r.length>1?Af(e):null,o=kn(e),a=ns(r,e,0,[e.props,s]),l=Ko(a);if(Yt(),o(),(l||e.sp)&&!ir(e)&&Zo(e),l){if(a.then(vo,vo),t)return a.then(c=>{Eo(e,c)}).catch(c=>{Ar(c,e,0)});e.asyncDep=a}else Eo(e,a)}else bf(e)}function Eo(e,t,n){fe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ae(t)&&(e.setupState=Nu(t)),bf(e)}function bf(e,t,n){const r=e.type;e.render||(e.render=r.render||bt);{const s=kn(e);qt();try{F_(e)}finally{Yt(),s()}}}const Ov={get(e,t){return Ue(e,"get",""),e[t]}};function Af(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ov),slots:e.slots,emit:e.emit,expose:t}}function pi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Nu(li(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in jr)return jr[n](e)},has(t,n){return n in t||n in jr}})):e.proxy}function Nv(e,t=!0){return fe(e)?e.displayName||e.name:e.name||t&&e.__name}function xv(e){return fe(e)&&"__vccOpts"in e}const dt=(e,t)=>g_(e,t,gr);function la(e,t,n){try{js(-1);const r=arguments.length;return r===2?Ae(t)&&!le(t)?pr(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&pr(n)&&(n=[n]),Ne(e,t,n))}finally{js(1)}}const Rv="3.5.28";let yo;const Dl=typeof window<"u"&&window.trustedTypes;if(Dl)try{yo=Dl.createPolicy("vue",{createHTML:e=>e})}catch{}const Tf=yo?e=>yo.createHTML(e):e=>e,Iv="http://www.w3.org/2000/svg",Dv="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,$l=Ht&&Ht.createElement("template"),$v={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ht.createElementNS(Iv,e):t==="mathml"?Ht.createElementNS(Dv,e):n?Ht.createElement(e,{is:n}):Ht.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const a=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{$l.innerHTML=Tf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=$l.content;if(r==="svg"||r==="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]}},en="transition",Ir="animation",mr=Symbol("_vtc"),Cf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Sf=Le({},Bu,Cf),Lv=e=>(e.displayName="Transition",e.props=Sf,e),Ll=Lv((e,{slots:t})=>la(w_,wf(e),t)),wn=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pl=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function wf(e){const t={};for(const j in e)j in Cf||(t[j]=e[j]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,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:m=`${n}-leave-to`}=e,O=Pv(s),A=O&&O[0],x=O&&O[1],{onBeforeEnter:M,onEnter:$,onEnterCancelled:F,onLeave:k,onLeaveCancelled:b,onBeforeAppear:y=M,onAppear:N=$,onAppearCancelled:T=F}=t,C=(j,te,he,Ee)=>{j._enterCancelled=Ee,nn(j,te?f:l),nn(j,te?d:a),he&&he()},S=(j,te)=>{j._isLeaving=!1,nn(j,h),nn(j,m),nn(j,p),te&&te()},U=j=>(te,he)=>{const Ee=j?N:$,ie=()=>C(te,j,he);wn(Ee,[te,ie]),Ml(()=>{nn(te,j?c:o),xt(te,j?f:l),Pl(Ee)||kl(te,r,A,ie)})};return Le(t,{onBeforeEnter(j){wn(M,[j]),xt(j,o),xt(j,a)},onBeforeAppear(j){wn(y,[j]),xt(j,c),xt(j,d)},onEnter:U(!1),onAppear:U(!0),onLeave(j,te){j._isLeaving=!0;const he=()=>S(j,te);xt(j,h),j._enterCancelled?(xt(j,p),bo(j)):(bo(j),xt(j,p)),Ml(()=>{j._isLeaving&&(nn(j,h),xt(j,m),Pl(k)||kl(j,r,x,he))}),wn(k,[j,he])},onEnterCancelled(j){C(j,!1,void 0,!0),wn(F,[j])},onAppearCancelled(j){C(j,!0,void 0,!0),wn(T,[j])},onLeaveCancelled(j){S(j),wn(b,[j])}})}function Pv(e){if(e==null)return null;if(Ae(e))return[Wi(e.enter),Wi(e.leave)];{const t=Wi(e);return[t,t]}}function Wi(e){return nu(e)}function xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[mr]||(e[mr]=new Set)).add(t)}function nn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[mr];n&&(n.delete(t),n.size||(e[mr]=void 0))}function Ml(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mv=0;function kl(e,t,n,r){const s=e._endId=++Mv,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:c}=Of(e,t);if(!a)return r();const d=a+"end";let f=0;const h=()=>{e.removeEventListener(d,p),o()},p=m=>{m.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(d,p)}function Of(e,t){const n=window.getComputedStyle(e),r=O=>(n[O]||"").split(", "),s=r(`${en}Delay`),o=r(`${en}Duration`),a=Vl(s,o),l=r(`${Ir}Delay`),c=r(`${Ir}Duration`),d=Vl(l,c);let f=null,h=0,p=0;t===en?a>0&&(f=en,h=a,p=o.length):t===Ir?d>0&&(f=Ir,h=d,p=c.length):(h=Math.max(a,d),f=h>0?a>d?en:Ir:null,p=f?f===en?o.length:c.length:0);const m=f===en&&/\b(?:transform|all)(?:,|$)/.test(r(`${en}Property`).toString());return{type:f,timeout:h,propCount:p,hasTransform:m}}function Vl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Fl(n)+Fl(e[r])))}function Fl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function bo(e){return(e?e.ownerDocument:document).body.offsetHeight}function kv(e,t,n){const r=e[mr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ks=Symbol("_vod"),Nf=Symbol("_vsh"),kb={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ks]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Dr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Dr(e,!0),r.enter(e)):r.leave(e,()=>{Dr(e,!1)}):Dr(e,t))},beforeUnmount(e,{value:t}){Dr(e,t)}};function Dr(e,t){e.style.display=t?e[Ks]:"none",e[Nf]=!t}const xf=Symbol("");function Vb(e){const t=gn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Us(o,s))},r=()=>{const s=e(t.proxy);t.ce?Us(t.ce,s):Ao(t.subTree,s),n(s)};Yu(()=>{Vs(r)}),ea(()=>{In(r,bt,{flush:"post"});const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),fi(()=>s.disconnect())})}function Ao(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ao(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Us(e.el,t);else if(e.type===ze)e.children.forEach(n=>Ao(n,t));else if(e.type===Is){let{el:n,anchor:r}=e;for(;n&&(Us(n,t),n!==r);)n=n.nextSibling}}function Us(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t){const o=jm(t[s]);n.setProperty(`--${s}`,o),r+=`--${s}: ${o};`}n[xf]=r}}const Vv=/(?:^|;)\s*display\s*:/;function Fv(e,t,n){const r=e.style,s=Oe(n);let o=!1;if(n&&!s){if(t)if(Oe(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&$s(r,l,"")}else for(const a in t)n[a]==null&&$s(r,a,"");for(const a in n)a==="display"&&(o=!0),$s(r,a,n[a])}else if(s){if(t!==n){const a=r[xf];a&&(n+=";"+a),r.cssText=n,o=Vv.test(n)}}else t&&e.removeAttribute("style");Ks in e&&(e[Ks]=o?r.display:"",e[Nf]&&(r.display="none"))}const Hl=/\s*!important$/;function $s(e,t,n){if(le(n))n.forEach(r=>$s(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Hv(e,t);Hl.test(n)?e.setProperty(pn(r),n.replace(Hl,""),"important"):e[r]=n}}const Bl=["Webkit","Moz","ms"],Ki={};function Hv(e,t){const n=Ki[t];if(n)return n;let r=gt(t);if(r!=="filter"&&r in e)return Ki[t]=r;r=Zs(r);for(let s=0;s<Bl.length;s++){const o=Bl[s]+r;if(o in e)return Ki[t]=o}return t}const jl="http://www.w3.org/1999/xlink";function Wl(e,t,n,r,s,o=Fm(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(jl,t.slice(6,t.length)):e.setAttributeNS(jl,t,n):n==null||o&&!ru(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Tt(n)?String(n):n)}function Kl(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Tf(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=ru(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(s||t)}function Kt(e,t,n,r){e.addEventListener(t,n,r)}function Bv(e,t,n,r){e.removeEventListener(t,n,r)}const Ul=Symbol("_vei");function jv(e,t,n,r,s=null){const o=e[Ul]||(e[Ul]={}),a=o[t];if(r&&a)a.value=r;else{const[l,c]=Wv(t);if(r){const d=o[t]=Gv(r,s);Kt(e,l,d,c)}else a&&(Bv(e,l,a,c),o[t]=void 0)}}const Gl=/(?:Once|Passive|Capture)$/;function Wv(e){let t;if(Gl.test(e)){t={};let r;for(;r=e.match(Gl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pn(e.slice(2)),t]}let Ui=0;const Kv=Promise.resolve(),Uv=()=>Ui||(Kv.then(()=>Ui=0),Ui=Date.now());function Gv(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;St(qv(r,n.value),t,5,[r])};return n.value=e,n.attached=Uv(),n}function qv(e,t){if(le(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ql=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yv=(e,t,n,r,s,o)=>{const a=s==="svg";t==="class"?kv(e,r,a):t==="style"?Fv(e,n,r):Xs(t)?jo(t)||jv(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zv(e,t,r,a))?(Kl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Wl(e,t,r,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?Kl(e,gt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Wl(e,t,r,a))};function zv(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ql(t)&&fe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ql(t)&&Oe(n)?!1:t in e}const Rf=new WeakMap,If=new WeakMap,Gs=Symbol("_moveCb"),Yl=Symbol("_enterCb"),Xv=e=>(delete e.props.mode,e),Qv=Xv({name:"TransitionGroup",props:Le({},Sf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=gn(),r=Hu();let s,o;return zu(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!tE(s[0].el,n.vnode.el,a)){s=[];return}s.forEach(Jv),s.forEach(Zv);const l=s.filter(eE);bo(n.vnode.el),l.forEach(c=>{const d=c.el,f=d.style;xt(d,a),f.transform=f.webkitTransform=f.transitionDuration="";const h=d[Gs]=p=>{p&&p.target!==d||(!p||p.propertyName.endsWith("transform"))&&(d.removeEventListener("transitionend",h),d[Gs]=null,nn(d,a))};d.addEventListener("transitionend",h)}),s=[]}),()=>{const a=ve(e),l=wf(a);let c=a.tag||ze;if(s=[],o)for(let d=0;d<o.length;d++){const f=o[d];f.el&&f.el instanceof Element&&(s.push(f),Mn(f,zr(f,l,r,n)),Rf.set(f,Df(f.el)))}o=t.default?Qo(t.default()):[];for(let d=0;d<o.length;d++){const f=o[d];f.key!=null&&Mn(f,zr(f,l,r,n))}return Ne(c,null,o)}}}),Fb=Qv;function Jv(e){const t=e.el;t[Gs]&&t[Gs](),t[Yl]&&t[Yl]()}function Zv(e){If.set(e,Df(e.el))}function eE(e){const t=Rf.get(e),n=If.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el,a=o.style,l=o.getBoundingClientRect();let c=1,d=1;return o.offsetWidth&&(c=l.width/o.offsetWidth),o.offsetHeight&&(d=l.height/o.offsetHeight),(!Number.isFinite(c)||c===0)&&(c=1),(!Number.isFinite(d)||d===0)&&(d=1),Math.abs(c-1)<.01&&(c=1),Math.abs(d-1)<.01&&(d=1),a.transform=a.webkitTransform=`translate(${r/c}px,${s/d}px)`,a.transitionDuration="0s",e}}function Df(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function tE(e,t,n){const r=e.cloneNode(),s=e[mr];s&&s.forEach(l=>{l.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=Of(r);return o.removeChild(r),a}const dn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return le(t)?n=>Ns(t,n):t};function nE(e){e.target.composing=!0}function zl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pt=Symbol("_assign");function Xl(e,t,n){return t&&(e=e.trim()),n&&(e=ei(e)),e}const Ql={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[pt]=dn(s);const o=r||s.props&&s.props.type==="number";Kt(e,t?"change":"input",a=>{a.target.composing||e[pt](Xl(e.value,n,o))}),(n||o)&&Kt(e,"change",()=>{e.value=Xl(e.value,n,o)}),t||(Kt(e,"compositionstart",nE),Kt(e,"compositionend",zl),Kt(e,"change",zl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},a){if(e[pt]=dn(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?ei(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c))}},rE={deep:!0,created(e,t,n){e[pt]=dn(n),Kt(e,"change",()=>{const r=e._modelValue,s=_r(e),o=e.checked,a=e[pt];if(le(r)){const l=Uo(r,s),c=l!==-1;if(o&&!c)a(r.concat(s));else if(!o&&c){const d=[...r];d.splice(l,1),a(d)}}else if(br(r)){const l=new Set(r);o?l.add(s):l.delete(s),a(l)}else a($f(e,o))})},mounted:Jl,beforeUpdate(e,t,n){e[pt]=dn(n),Jl(e,t,n)}};function Jl(e,{value:t,oldValue:n},r){e._modelValue=t;let s;if(le(t))s=Uo(t,r.props.value)>-1;else if(br(t))s=t.has(r.props.value);else{if(t===n)return;s=un(t,$f(e,!0))}e.checked!==s&&(e.checked=s)}const sE={created(e,{value:t},n){e.checked=un(t,n.props.value),e[pt]=dn(n),Kt(e,"change",()=>{e[pt](_r(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[pt]=dn(r),t!==n&&(e.checked=un(t,r.props.value))}},iE={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=br(t);Kt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?ei(_r(a)):_r(a));e[pt](e.multiple?s?new Set(o):o:o[0]),e._assigning=!0,ci(()=>{e._assigning=!1})}),e[pt]=dn(r)},mounted(e,{value:t}){Zl(e,t)},beforeUpdate(e,t,n){e[pt]=dn(n)},updated(e,{value:t}){e._assigning||Zl(e,t)}};function Zl(e,t){const n=e.multiple,r=le(t);if(!(n&&!r&&!br(t))){for(let s=0,o=e.options.length;s<o;s++){const a=e.options[s],l=_r(a);if(n)if(r){const c=typeof l;c==="string"||c==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=Uo(t,l)>-1}else a.selected=t.has(l);else if(un(_r(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function _r(e){return"_value"in e?e._value:e.value}function $f(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Hb={created(e,t,n){Ss(e,t,n,null,"created")},mounted(e,t,n){Ss(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ss(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ss(e,t,n,r,"updated")}};function oE(e,t){switch(e){case"SELECT":return iE;case"TEXTAREA":return Ql;default:switch(t){case"checkbox":return rE;case"radio":return sE;default:return Ql}}}function Ss(e,t,n,r,s){const a=oE(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,r)}const aE=["ctrl","shift","alt","meta"],lE={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)=>aE.some(n=>e[`${n}Key`]&&!t.includes(n))},Bb=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((s,...o)=>{for(let a=0;a<t.length;a++){const l=lE[t[a]];if(l&&l(s,t))return}return e(s,...o)}))},cE={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},jb=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(s=>{if(!("key"in s))return;const o=pn(s.key);if(t.some(a=>a===o||cE[a]===o))return e(s)}))},uE=Le({patchProp:Yv},$v);let ec;function fE(){return ec||(ec=iv(uE))}const dE=((...e)=>{const t=fE().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=pE(r);if(!s)return;const o=t._component;!fe(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const a=n(s,!1,hE(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t});function hE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pE(e){return Oe(e)?document.querySelector(e):e}let Lf;const gi=e=>Lf=e,Pf=Symbol();function To(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Kr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Kr||(Kr={}));function gE(){const e=au(!0),t=e.run(()=>rr({}));let n=[],r=[];const s=li({install(o){gi(s),s._a=o,o.provide(Pf,s),o.config.globalProperties.$pinia=s,r.forEach(a=>n.push(a)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Mf=()=>{};function tc(e,t,n,r=Mf){e.add(t);const s=()=>{e.delete(t)&&r()};return!n&&lu()&&Wm(s),s}function zn(e,...t){e.forEach(n=>{n(...t)})}const mE=e=>e(),nc=Symbol(),Gi=Symbol();function Co(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];To(s)&&To(r)&&e.hasOwnProperty(n)&&!xe(r)&&!Ut(r)?e[n]=Co(s,r):e[n]=r}return e}const _E=Symbol();function vE(e){return!To(e)||!Object.prototype.hasOwnProperty.call(e,_E)}const{assign:rn}=Object;function EE(e){return!!(xe(e)&&e.effect)}function yE(e,t,n,r){const{state:s,actions:o,getters:a}=t,l=n.state.value[e];let c;function d(){l||(n.state.value[e]=s?s():{});const f=f_(n.state.value[e]);return rn(f,o,Object.keys(a||{}).reduce((h,p)=>(h[p]=li(dt(()=>{gi(n);const m=n._s.get(e);return a[p].call(m,m)})),h),{}))}return c=kf(e,d,t,n,r,!0),c}function kf(e,t,n={},r,s,o){let a;const l=rn({actions:{}},n),c={deep:!0};let d,f,h=new Set,p=new Set,m;const O=r.state.value[e];!o&&!O&&(r.state.value[e]={});let A;function x(T){let C;d=f=!1,typeof T=="function"?(T(r.state.value[e]),C={type:Kr.patchFunction,storeId:e,events:m}):(Co(r.state.value[e],T),C={type:Kr.patchObject,payload:T,storeId:e,events:m});const S=A=Symbol();ci().then(()=>{A===S&&(d=!0)}),f=!0,zn(h,C,r.state.value[e])}const M=o?function(){const{state:C}=n,S=C?C():{};this.$patch(U=>{rn(U,S)})}:Mf;function $(){a.stop(),h.clear(),p.clear(),r._s.delete(e)}const F=(T,C="")=>{if(nc in T)return T[Gi]=C,T;const S=function(){gi(r);const U=Array.from(arguments),j=new Set,te=new Set;function he(I){j.add(I)}function Ee(I){te.add(I)}zn(p,{args:U,name:S[Gi],store:b,after:he,onError:Ee});let ie;try{ie=T.apply(this&&this.$id===e?this:b,U)}catch(I){throw zn(te,I),I}return ie instanceof Promise?ie.then(I=>(zn(j,I),I)).catch(I=>(zn(te,I),Promise.reject(I))):(zn(j,ie),ie)};return S[nc]=!0,S[Gi]=C,S},k={_p:r,$id:e,$onAction:tc.bind(null,p),$patch:x,$reset:M,$subscribe(T,C={}){const S=tc(h,T,C.detached,()=>U()),U=a.run(()=>In(()=>r.state.value[e],j=>{(C.flush==="sync"?f:d)&&T({storeId:e,type:Kr.direct,events:m},j)},rn({},c,C)));return S},$dispose:$},b=ts(k);r._s.set(e,b);const N=(r._a&&r._a.runWithContext||mE)(()=>r._e.run(()=>(a=au()).run(()=>t({action:F}))));for(const T in N){const C=N[T];if(xe(C)&&!EE(C)||Ut(C))o||(O&&vE(C)&&(xe(C)?C.value=O[T]:Co(C,O[T])),r.state.value[e][T]=C);else if(typeof C=="function"){const S=F(C,T);N[T]=S,l.actions[T]=C}}return rn(b,N),rn(ve(b),N),Object.defineProperty(b,"$state",{get:()=>r.state.value[e],set:T=>{x(C=>{rn(C,T)})}}),r._p.forEach(T=>{rn(b,a.run(()=>T({store:b,app:r._a,pinia:r,options:l})))}),O&&o&&n.hydrate&&n.hydrate(b.$state,O),d=!0,f=!0,b}function Vf(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(a,l){const c=y_();return a=a||(c?rt(Pf,null):null),a&&gi(a),a=Lf,a._s.has(e)||(s?kf(e,t,r,a):yE(e,r,a)),a._s.get(e)}return o.$id=e,o}const bE=""+new URL("../img/Logo-2-Rounded-512x512.png",import.meta.url).href;const Zn=typeof document<"u";function Ff(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function AE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ff(e.default)}const Te=Object.assign;function qi(e,t){const n={};for(const r in t){const s=t[r];n[r]=wt(s)?s.map(e):e(s)}return n}const Ur=()=>{},wt=Array.isArray;function rc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let Re=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Hf=Symbol("");Re.MATCHER_NOT_FOUND+"",Re.NAVIGATION_GUARD_REDIRECT+"",Re.NAVIGATION_ABORTED+"",Re.NAVIGATION_CANCELLED+"",Re.NAVIGATION_DUPLICATED+"";function vr(e,t){return Te(new Error,{type:e,[Hf]:!0},t)}function Ft(e,t){return e instanceof Error&&Hf in e&&(t==null||!!(e.type&t))}const TE=["params","query","hash"];function CE(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of TE)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Bf=Symbol(""),sc=Symbol(""),mi=Symbol(""),ca=Symbol(""),So=Symbol("");function Wb(){return rt(mi)}function SE(e){return rt(ca)}const jf=/#/g,wE=/&/g,OE=/\//g,NE=/=/g,xE=/\?/g,Wf=/\+/g,RE=/%5B/g,IE=/%5D/g,Kf=/%5E/g,DE=/%60/g,Uf=/%7B/g,$E=/%7C/g,Gf=/%7D/g,LE=/%20/g;function ua(e){return e==null?"":encodeURI(""+e).replace($E,"|").replace(RE,"[").replace(IE,"]")}function PE(e){return ua(e).replace(Uf,"{").replace(Gf,"}").replace(Kf,"^")}function wo(e){return ua(e).replace(Wf,"%2B").replace(LE,"+").replace(jf,"%23").replace(wE,"%26").replace(DE,"`").replace(Uf,"{").replace(Gf,"}").replace(Kf,"^")}function ME(e){return wo(e).replace(NE,"%3D")}function kE(e){return ua(e).replace(jf,"%23").replace(xE,"%3F")}function VE(e){return kE(e).replace(OE,"%2F")}function Jr(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const FE=/\/$/,HE=e=>e.replace(FE,"");function Yi(e,t,n="/"){let r,s={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(r=t.slice(0,c),o=t.slice(c,l>0?l:t.length),s=e(o.slice(1))),l>=0&&(r=r||t.slice(0,l),a=t.slice(l,t.length)),r=KE(r??t,n),{fullPath:r+o+a,path:r,query:s,hash:Jr(a)}}function BE(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ic(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jE(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Er(t.matched[r],n.matched[s])&&qf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Er(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!WE(e[n],t[n]))return!1;return!0}function WE(e,t){return wt(e)?oc(e,t):wt(t)?oc(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function oc(e,t){return wt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function KE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,l;for(a=0;a<r.length;a++)if(l=r[a],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a).join("/")}const tn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Oo=(function(e){return e.pop="pop",e.push="push",e})({}),zi=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function UE(e){if(!e)if(Zn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),HE(e)}const GE=/^[^#]+#/;function qE(e,t){return e.replace(GE,"#")+t}function YE(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const _i=()=>({left:window.scrollX,top:window.scrollY});function zE(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=YE(s,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 ac(e,t){return(history.state?history.state.position-t:-1)+e}const No=new Map;function XE(e,t){No.set(e,t)}function QE(e){const t=No.get(e);return No.delete(e),t}function JE(e){return typeof e=="string"||e&&typeof e=="object"}function Yf(e){return typeof e=="string"||typeof e=="symbol"}function ZE(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Wf," "),o=s.indexOf("="),a=Jr(o<0?s:s.slice(0,o)),l=o<0?null:Jr(s.slice(o+1));if(a in t){let c=t[a];wt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function lc(e){let t="";for(let n in e){const r=e[n];if(n=ME(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(wt(r)?r.map(s=>s&&wo(s)):[r&&wo(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function ey(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=wt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function $r(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ty(e,t,n){const r=e.value;if(!r)return;let s=r;const o=()=>{s[t].delete(n)};fi(o),Gu(o),Uu(()=>{const a=e.value;a&&(s=a),s[t].add(n)}),s[t].add(n)}function Kb(e){ty(rt(Bf,{}),"updateGuards",e)}function an(e,t,n,r,s,o=a=>a()){const a=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(vr(Re.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):JE(p)?c(vr(Re.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(a&&r.enterCallbacks[s]===a&&typeof p=="function"&&a.push(p),l())},f=o(()=>e.call(r&&r.instances[s],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(p=>c(p))})}function Xi(e,t,n,r,s=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(Ff(c)){const d=(c.__vccOpts||c)[t];d&&o.push(an(d,n,r,a,l,s))}else{let d=c();o.push(()=>d.then(f=>{if(!f)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const h=AE(f)?f.default:f;a.mods[l]=f,a.components[l]=h;const p=(h.__vccOpts||h)[t];return p&&an(p,n,r,a,l,s)()}))}}return o}function ny(e,t){const n=[],r=[],s=[],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=>Er(d,l))?r.push(l):n.push(l));const c=e.matched[a];c&&(t.matched.find(d=>Er(d,c))||s.push(c))}return[n,r,s]}let ry=()=>location.protocol+"//"+location.host;function zf(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),ic(l,"")}return ic(n,e)+r+s}function sy(e,t,n,r){let s=[],o=[],a=null;const l=({state:p})=>{const m=zf(e,location),O=n.value,A=t.value;let x=0;if(p){if(n.value=m,t.value=p,a&&a===O){a=null;return}x=A?p.position-A.position:0}else r(m);s.forEach(M=>{M(n.value,O,{delta:x,type:Oo.pop,direction:x?x>0?zi.forward:zi.back:zi.unknown})})};function c(){a=n.value}function d(p){s.push(p);const m=()=>{const O=s.indexOf(p);O>-1&&s.splice(O,1)};return o.push(m),m}function f(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(Te({},p.state,{scroll:_i()}),"")}}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",f),document.removeEventListener("visibilitychange",f)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",f),document.addEventListener("visibilitychange",f),{pauseListeners:c,listen:d,destroy:h}}function cc(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?_i():null}}function iy(e){const{history:t,location:n}=window,r={value:zf(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.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:ry()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),s.value=d}catch(m){console.error(m),n[f?"replace":"assign"](p)}}function a(c,d){o(c,Te({},t.state,cc(s.value.back,c,s.value.forward,!0),d,{position:s.value.position}),!0),r.value=c}function l(c,d){const f=Te({},s.value,t.state,{forward:c,scroll:_i()});o(f.current,f,!0),o(c,Te({},cc(r.value,c,null),{position:f.position+1},d),!1),r.value=c}return{location:r,state:s,push:l,replace:a}}function oy(e){e=UE(e);const t=iy(e),n=sy(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=Te({location:"",base:e,go:r,createHref:qE.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function ay(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),oy(e)}let Nn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Pe=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Pe||{});const ly={type:Nn.Static,value:""},cy=/[a-zA-Z0-9_]/;function uy(e){if(!e)return[[]];if(e==="/")return[[ly]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${d}": ${m}`)}let n=Pe.Static,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===Pe.Static?o.push({type:Nn.Static,value:d}):n===Pe.Param||n===Pe.ParamRegExp||n===Pe.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Nn.Param,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!==Pe.ParamRegExp){r=n,n=Pe.EscapeNext;continue}switch(n){case Pe.Static:c==="/"?(d&&h(),a()):c===":"?(h(),n=Pe.Param):p();break;case Pe.EscapeNext:p(),n=r;break;case Pe.Param:c==="("?n=Pe.ParamRegExp:cy.test(c)?p():(h(),n=Pe.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case Pe.ParamRegExp:c===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+c:n=Pe.ParamRegExpEnd:f+=c;break;case Pe.ParamRegExpEnd:h(),n=Pe.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,f="";break;default:t("Unknown state");break}}return n===Pe.ParamRegExp&&t(`Unfinished custom RegExp for param "${d}"`),h(),a(),s}const uc="[^/]+?",fy={sensitive:!1,strict:!1,start:!0,end:!0};var qe=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(qe||{});const dy=/[.+*?^${}()[\]/\\]/g;function hy(e,t){const n=Te({},fy,t),r=[];let s=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[qe.Root];n.strict&&!d.length&&(s+="/");for(let h=0;h<d.length;h++){const p=d[h];let m=qe.Segment+(n.sensitive?qe.BonusCaseSensitive:0);if(p.type===Nn.Static)h||(s+="/"),s+=p.value.replace(dy,"\\$&"),m+=qe.Static;else if(p.type===Nn.Param){const{value:O,repeatable:A,optional:x,regexp:M}=p;o.push({name:O,repeatable:A,optional:x});const $=M||uc;if($!==uc){m+=qe.BonusCustomRegExp;try{new RegExp(`(${$})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${O}" (${$}): `+k.message)}}let F=A?`((?:${$})(?:/(?:${$}))*)`:`(${$})`;h||(F=x&&d.length<2?`(?:/${F})`:"/"+F),x&&(F+="?"),s+=F,m+=qe.Dynamic,x&&(m+=qe.BonusOptional),A&&(m+=qe.BonusRepeatable),$===".*"&&(m+=qe.BonusWildcard)}f.push(m)}r.push(f)}if(n.strict&&n.end){const d=r.length-1;r[d][r[d].length-1]+=qe.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const a=new RegExp(s,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 m=f[p]||"",O=o[p-1];h[O.name]=m&&O.repeatable?m.split("/"):m}return h}function c(d){let f="",h=!1;for(const p of e){(!h||!f.endsWith("/"))&&(f+="/"),h=!1;for(const m of p)if(m.type===Nn.Static)f+=m.value;else if(m.type===Nn.Param){const{value:O,repeatable:A,optional:x}=m,M=O in d?d[O]:"";if(wt(M)&&!A)throw new Error(`Provided param "${O}" is an array but it is not repeatable (* or + modifiers)`);const $=wt(M)?M.join("/"):M;if(!$)if(x)p.length<2&&(f.endsWith("/")?f=f.slice(0,-1):h=!0);else throw new Error(`Missing required param "${O}"`);f+=$}}return f||"/"}return{re:a,score:r,keys:o,parse:l,stringify:c}}function py(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===qe.Static+qe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===qe.Static+qe.Segment?1:-1:0}function Xf(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=py(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(fc(r))return 1;if(fc(s))return-1}return s.length-r.length}function fc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const gy={strict:!1,end:!0,sensitive:!1};function my(e,t,n){const r=hy(uy(e.path),n),s=Te(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function _y(e,t){const n=[],r=new Map;t=rc(gy,t);function s(h){return r.get(h)}function o(h,p,m){const O=!m,A=hc(h);A.aliasOf=m&&m.record;const x=rc(t,h),M=[A];if("alias"in h){const k=typeof h.alias=="string"?[h.alias]:h.alias;for(const b of k)M.push(hc(Te({},A,{components:m?m.record.components:A.components,path:b,aliasOf:m?m.record:A})))}let $,F;for(const k of M){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($=my(k,p,x),m?m.alias.push($):(F=F||$,F!==$&&F.alias.push($),O&&h.name&&!pc($)&&a(h.name)),Qf($)&&c($),A.children){const y=A.children;for(let N=0;N<y.length;N++)o(y[N],$,m&&m.children[N])}m=m||$}return F?()=>{a(F)}:Ur}function a(h){if(Yf(h)){const p=r.get(h);p&&(r.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&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function l(){return n}function c(h){const p=yy(h,n);n.splice(p,0,h),h.record.name&&!pc(h)&&r.set(h.record.name,h)}function d(h,p){let m,O={},A,x;if("name"in h&&h.name){if(m=r.get(h.name),!m)throw vr(Re.MATCHER_NOT_FOUND,{location:h});x=m.record.name,O=Te(dc(p.params,m.keys.filter(F=>!F.optional).concat(m.parent?m.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),h.params&&dc(h.params,m.keys.map(F=>F.name))),A=m.stringify(O)}else if(h.path!=null)A=h.path,m=n.find(F=>F.re.test(A)),m&&(O=m.parse(A),x=m.record.name);else{if(m=p.name?r.get(p.name):n.find(F=>F.re.test(p.path)),!m)throw vr(Re.MATCHER_NOT_FOUND,{location:h,currentLocation:p});x=m.record.name,O=Te({},p.params,h.params),A=m.stringify(O)}const M=[];let $=m;for(;$;)M.unshift($.record),$=$.parent;return{name:x,path:A,params:O,matched:M,meta:Ey(M)}}e.forEach(h=>o(h));function f(){n.length=0,r.clear()}return{addRoute:o,resolve:d,removeRoute:a,clearRoutes:f,getRoutes:l,getRecordMatcher:s}}function dc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function hc(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vy(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 vy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function pc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ey(e){return e.reduce((t,n)=>Te(t,n.meta),{})}function yy(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Xf(e,t[o])<0?r=o:n=o+1}const s=by(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function by(e){let t=e;for(;t=t.parent;)if(Qf(t)&&Xf(e,t)===0)return t}function Qf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function gc(e){const t=rt(mi),n=rt(ca),r=dt(()=>{const c=Ze(e.to);return t.resolve(c)}),s=dt(()=>{const{matched:c}=r.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(Er.bind(null,f));if(p>-1)return p;const m=mc(c[d-2]);return d>1&&mc(f)===m&&h[h.length-1].path!==m?h.findIndex(Er.bind(null,c[d-2])):p}),o=dt(()=>s.value>-1&&wy(n.params,r.value.params)),a=dt(()=>s.value>-1&&s.value===n.matched.length-1&&qf(n.params,r.value.params));function l(c={}){if(Sy(c)){const d=t[Ze(e.replace)?"replace":"push"](Ze(e.to)).catch(Ur);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:r,href:dt(()=>r.value.href),isActive:o,isExactActive:a,navigate:l}}function Ay(e){return e.length===1?e[0]:e}const Ty=Jo({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:gc,setup(e,{slots:t}){const n=ts(gc(e)),{options:r}=rt(mi),s=dt(()=>({[_c(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[_c(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Ay(t.default(n));return e.custom?o:la("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Cy=Ty;function Sy(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 wy(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!wt(s)||s.length!==r.length||r.some((o,a)=>o.valueOf()!==s[a].valueOf()))return!1}return!0}function mc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const _c=(e,t,n)=>e??t??n,Oy=Jo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=rt(So),s=dt(()=>e.route||r.value),o=rt(sc,0),a=dt(()=>{let d=Ze(o);const{matched:f}=s.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=dt(()=>s.value.matched[a.value]);xs(sc,dt(()=>a.value+1)),xs(Bf,l),xs(So,s);const c=rr();return In(()=>[c.value,l.value,e.name],([d,f,h],[p,m,O])=>{f&&(f.instances[h]=d,m&&m!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),d&&f&&(!m||!Er(f,m)||!p)&&(f.enterCallbacks[h]||[]).forEach(A=>A(d))},{flush:"post"}),()=>{const d=s.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return vc(n.default,{Component:p,route:d});const m=h.props[f],O=m?m===!0?d.params:typeof m=="function"?m(d):m:null,x=la(p,Te({},O,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return vc(n.default,{Component:x,route:d})||x}}});function vc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Jf=Oy;function Ny(e){const t=_y(e.routes,e),n=e.parseQuery||ZE,r=e.stringifyQuery||lc,s=e.history,o=$r(),a=$r(),l=$r(),c=wu(tn);let d=tn;Zn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=qi.bind(null,L=>""+L),h=qi.bind(null,VE),p=qi.bind(null,Jr);function m(L,Q){let Z,oe;return Yf(L)?(Z=t.getRecordMatcher(L),oe=Q):oe=L,t.addRoute(oe,Z)}function O(L){const Q=t.getRecordMatcher(L);Q&&t.removeRoute(Q)}function A(){return t.getRoutes().map(L=>L.record)}function x(L){return!!t.getRecordMatcher(L)}function M(L,Q){if(Q=Te({},Q||c.value),typeof L=="string"){const w=Yi(n,L,Q.path),P=t.resolve({path:w.path},Q),B=s.createHref(w.fullPath);return Te(w,P,{params:p(P.params),hash:Jr(w.hash),redirectedFrom:void 0,href:B})}let Z;if(L.path!=null)Z=Te({},L,{path:Yi(n,L.path,Q.path).path});else{const w=Te({},L.params);for(const P in w)w[P]==null&&delete w[P];Z=Te({},L,{params:h(w)}),Q.params=h(Q.params)}const oe=t.resolve(Z,Q),D=L.hash||"";oe.params=f(p(oe.params));const g=BE(r,Te({},L,{hash:PE(D),path:oe.path})),E=s.createHref(g);return Te({fullPath:g,hash:D,query:r===lc?ey(L.query):L.query||{}},oe,{redirectedFrom:void 0,href:E})}function $(L){return typeof L=="string"?Yi(n,L,c.value.path):Te({},L)}function F(L,Q){if(d!==L)return vr(Re.NAVIGATION_CANCELLED,{from:Q,to:L})}function k(L){return N(L)}function b(L){return k(Te($(L),{replace:!0}))}function y(L,Q){const Z=L.matched[L.matched.length-1];if(Z&&Z.redirect){const{redirect:oe}=Z;let D=typeof oe=="function"?oe(L,Q):oe;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=$(D):{path:D},D.params={}),Te({query:L.query,hash:L.hash,params:D.path!=null?{}:L.params},D)}}function N(L,Q){const Z=d=M(L),oe=c.value,D=L.state,g=L.force,E=L.replace===!0,w=y(Z,oe);if(w)return N(Te($(w),{state:typeof w=="object"?Te({},D,w.state):D,force:g,replace:E}),Q||Z);const P=Z;P.redirectedFrom=Q;let B;return!g&&jE(r,oe,Z)&&(B=vr(Re.NAVIGATION_DUPLICATED,{to:P,from:oe}),re(oe,oe,!0,!1)),(B?Promise.resolve(B):S(P,oe)).catch(H=>Ft(H)?Ft(H,Re.NAVIGATION_GUARD_REDIRECT)?H:z(H):K(H,P,oe)).then(H=>{if(H){if(Ft(H,Re.NAVIGATION_GUARD_REDIRECT))return N(Te({replace:E},$(H.to),{state:typeof H.to=="object"?Te({},D,H.to.state):D,force:g}),Q||P)}else H=j(P,oe,!0,E,D);return U(P,oe,H),H})}function T(L,Q){const Z=F(L,Q);return Z?Promise.reject(Z):Promise.resolve()}function C(L){const Q=de.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(L):L()}function S(L,Q){let Z;const[oe,D,g]=ny(L,Q);Z=Xi(oe.reverse(),"beforeRouteLeave",L,Q);for(const w of oe)w.leaveGuards.forEach(P=>{Z.push(an(P,L,Q))});const E=T.bind(null,L,Q);return Z.push(E),ye(Z).then(()=>{Z=[];for(const w of o.list())Z.push(an(w,L,Q));return Z.push(E),ye(Z)}).then(()=>{Z=Xi(D,"beforeRouteUpdate",L,Q);for(const w of D)w.updateGuards.forEach(P=>{Z.push(an(P,L,Q))});return Z.push(E),ye(Z)}).then(()=>{Z=[];for(const w of g)if(w.beforeEnter)if(wt(w.beforeEnter))for(const P of w.beforeEnter)Z.push(an(P,L,Q));else Z.push(an(w.beforeEnter,L,Q));return Z.push(E),ye(Z)}).then(()=>(L.matched.forEach(w=>w.enterCallbacks={}),Z=Xi(g,"beforeRouteEnter",L,Q,C),Z.push(E),ye(Z))).then(()=>{Z=[];for(const w of a.list())Z.push(an(w,L,Q));return Z.push(E),ye(Z)}).catch(w=>Ft(w,Re.NAVIGATION_CANCELLED)?w:Promise.reject(w))}function U(L,Q,Z){l.list().forEach(oe=>C(()=>oe(L,Q,Z)))}function j(L,Q,Z,oe,D){const g=F(L,Q);if(g)return g;const E=Q===tn,w=Zn?history.state:{};Z&&(oe||E?s.replace(L.fullPath,Te({scroll:E&&w&&w.scroll},D)):s.push(L.fullPath,D)),c.value=L,re(L,Q,Z,E),z()}let te;function he(){te||(te=s.listen((L,Q,Z)=>{if(!me.listening)return;const oe=M(L),D=y(oe,me.currentRoute.value);if(D){N(Te(D,{replace:!0,force:!0}),oe).catch(Ur);return}d=oe;const g=c.value;Zn&&XE(ac(g.fullPath,Z.delta),_i()),S(oe,g).catch(E=>Ft(E,Re.NAVIGATION_ABORTED|Re.NAVIGATION_CANCELLED)?E:Ft(E,Re.NAVIGATION_GUARD_REDIRECT)?(N(Te($(E.to),{force:!0}),oe).then(w=>{Ft(w,Re.NAVIGATION_ABORTED|Re.NAVIGATION_DUPLICATED)&&!Z.delta&&Z.type===Oo.pop&&s.go(-1,!1)}).catch(Ur),Promise.reject()):(Z.delta&&s.go(-Z.delta,!1),K(E,oe,g))).then(E=>{E=E||j(oe,g,!1),E&&(Z.delta&&!Ft(E,Re.NAVIGATION_CANCELLED)?s.go(-Z.delta,!1):Z.type===Oo.pop&&Ft(E,Re.NAVIGATION_ABORTED|Re.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),U(oe,g,E)}).catch(Ur)}))}let Ee=$r(),ie=$r(),I;function K(L,Q,Z){z(L);const oe=ie.list();return oe.length?oe.forEach(D=>D(L,Q,Z)):console.error(L),Promise.reject(L)}function G(){return I&&c.value!==tn?Promise.resolve():new Promise((L,Q)=>{Ee.add([L,Q])})}function z(L){return I||(I=!L,he(),Ee.list().forEach(([Q,Z])=>L?Z(L):Q()),Ee.reset()),L}function re(L,Q,Z,oe){const{scrollBehavior:D}=e;if(!Zn||!D)return Promise.resolve();const g=!Z&&QE(ac(L.fullPath,0))||(oe||!Z)&&history.state&&history.state.scroll||null;return ci().then(()=>D(L,Q,g)).then(E=>E&&zE(E)).catch(E=>K(E,L,Q))}const ne=L=>s.go(L);let se;const de=new Set,me={currentRoute:c,listening:!0,addRoute:m,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:x,getRoutes:A,resolve:M,options:e,push:k,replace:b,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:ie.add,isReady:G,install(L){L.component("RouterLink",Cy),L.component("RouterView",Jf),L.config.globalProperties.$router=me,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>Ze(c)}),Zn&&!se&&c.value===tn&&(se=!0,k(s.location).catch(oe=>{}));const Q={};for(const oe in tn)Object.defineProperty(Q,oe,{get:()=>c.value[oe],enumerable:!0});L.provide(mi,me),L.provide(ca,Su(Q)),L.provide(So,c);const Z=L.unmount;de.add(L),L.unmount=function(){de.delete(L),de.size<1&&(d=tn,te&&te(),te=null,c.value=tn,se=!1,I=!1),Z()}}};function ye(L){return L.reduce((Q,Z)=>Q.then(()=>C(Z)),Promise.resolve())}return me}const xy="modulepreload",Ry=function(e,t){return new URL(e,t).href},Ec={},De=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){let d=function(f){return Promise.all(f.map(h=>Promise.resolve(h).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=l?.nonce||l?.getAttribute("nonce");s=d(n.map(f=>{if(f=Ry(f,r),f in Ec)return;Ec[f]=!0;const h=f.endsWith(".css"),p=h?'[rel="stylesheet"]':"";if(r)for(let O=a.length-1;O>=0;O--){const A=a[O];if(A.href===f&&(!h||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${p}`))return;const m=document.createElement("link");if(m.rel=h?"stylesheet":xy,h||(m.as="script"),m.crossOrigin="",m.href=f,c&&m.setAttribute("nonce",c),document.head.appendChild(m),h)return new Promise((O,A)=>{m.addEventListener("load",O),m.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return s.then(a=>{for(const l of a||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},yc="[a-fA-F\\d:]",ln=e=>e&&e.includeBoundaries?`(?:(?<=\\s|^)(?=${yc})|(?<=${yc})(?=\\s|$))`:"",Et="(?: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}",$e="[a-fA-F\\d]{1,4}",vi=`
|
|
(?:
|
|
(?:${$e}:){7}(?:${$e}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
(?:${$e}:){6}(?:${Et}|:${$e}|:)| // 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
|
|
(?:${$e}:){5}(?::${Et}|(?::${$e}){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
|
|
(?:${$e}:){4}(?:(?::${$e}){0,1}:${Et}|(?::${$e}){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
|
|
(?:${$e}:){3}(?:(?::${$e}){0,2}:${Et}|(?::${$e}){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
|
|
(?:${$e}:){2}(?:(?::${$e}){0,3}:${Et}|(?::${$e}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
(?:${$e}:){1}(?:(?::${$e}){0,4}:${Et}|(?::${$e}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
(?::(?:(?::${$e}){0,5}:${Et}|(?::${$e}){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(),Iy=new RegExp(`(?:^${Et}$)|(?:^${vi}$)`),Dy=new RegExp(`^${Et}$`),$y=new RegExp(`^${vi}$`),Ei=e=>e&&e.exact?Iy:new RegExp(`(?:${ln(e)}${Et}${ln(e)})|(?:${ln(e)}${vi}${ln(e)})`,"g");Ei.v4=e=>e&&e.exact?Dy:new RegExp(`${ln(e)}${Et}${ln(e)}`,"g");Ei.v6=e=>e&&e.exact?$y:new RegExp(`${ln(e)}${vi}${ln(e)}`,"g");const Zf={exact:!1},ed=`${Ei.v4().source}\\/(3[0-2]|[12]?[0-9])`,td=`${Ei.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,Ly=new RegExp(`^${ed}$`),Py=new RegExp(`^${td}$`),My=({exact:e}=Zf)=>e?Ly:new RegExp(ed,"g"),ky=({exact:e}=Zf)=>e?Py:new RegExp(td,"g"),nd=My({exact:!0}),rd=ky({exact:!0}),fa=e=>nd.test(e)?4:rd.test(e)?6:0;fa.v4=e=>nd.test(e);fa.v6=e=>rd.test(e);const tt=e=>{const t=Vn();if(t.Locale===null)return e;const r=Object.keys(t.Locale).filter(s=>e.match(new RegExp("^"+s+"$","gi"))!==null);return r.length===0||r.length>1||t.Locale[r[0]].length===0?e:e.replace(new RegExp(r[0],"gi"),t.Locale[r[0]])};var Qi={},Ji,bc;function Vy(){return bc||(bc=1,Ji={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),Ji}var Zi,Ac;function Fy(){if(Ac)return Zi;Ac=1;var e={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:Math.PI*2},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:1/1e3},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:1/1e3,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};return Zi=function(t,n,r,s){if(!e.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!e[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);var o=e[r][n]*t;return s!==!1?(s=Math.pow(10,parseInt(s)||5),Math.round(o*s)/s):o},Zi}var Tc;function Hy(){return Tc||(Tc=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.fromRgba=T,e.fromRgb=C,e.fromHsla=S,e.fromHsl=U,e.fromString=Ee,e.default=void 0;var t=r(Vy()),n=r(Fy());function r(I){return I&&I.__esModule?I:{default:I}}function s(I,K){if(!(I instanceof K))throw new TypeError("Cannot call a class as a function")}function o(I,K){for(var G=0;G<K.length;G++){var z=K[G];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(I,z.key,z)}}function a(I,K,G){return K&&o(I.prototype,K),I}function l(I,K){return p(I)||h(I,K)||d(I,K)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(I,K){if(I){if(typeof I=="string")return f(I,K);var G=Object.prototype.toString.call(I).slice(8,-1);if(G==="Object"&&I.constructor&&(G=I.constructor.name),G==="Map"||G==="Set")return Array.from(I);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return f(I,K)}}function f(I,K){(K==null||K>I.length)&&(K=I.length);for(var G=0,z=new Array(K);G<K;G++)z[G]=I[G];return z}function h(I,K){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(I)))){var G=[],z=!0,re=!1,ne=void 0;try{for(var se=I[Symbol.iterator](),de;!(z=(de=se.next()).done)&&(G.push(de.value),!(K&&G.length===K));z=!0);}catch(me){re=!0,ne=me}finally{try{!z&&se.return!=null&&se.return()}finally{if(re)throw ne}}return G}}function p(I){if(Array.isArray(I))return I}var m=/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?$/,O=/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])?$/,A=/^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,x=/^rgba?\(\s*(\d+)\s+(\d+)\s+(\d+)(?:\s*\/\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,M=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,$=/^rgba?\(\s*(\d+%)\s+(\d+%)\s+(\d+%)(?:\s*\/\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,F=/^hsla?\(\s*(\d+)(deg|rad|grad|turn)?\s*,\s*(\d+)%\s*,\s*(\d+)%(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/;function k(I,K){return I.indexOf(K)>-1}function b(I,K,G){var z=I/255,re=K/255,ne=G/255,se=Math.max(z,re,ne),de=Math.min(z,re,ne),me=se-de,ye=(se+de)/2;if(me===0)return[0,0,ye*100];var L=me/(1-Math.abs(2*ye-1)),Q=(function(){switch(se){case z:return(re-ne)/me%6;case re:return(ne-z)/me+2;default:return(z-re)/me+4}})();return[Q*60,L*100,ye*100]}function y(I,K,G){var z=I/60,re=K/100,ne=G/100,se=(1-Math.abs(2*ne-1))*re,de=se*(1-Math.abs(z%2-1)),me=ne-se/2,ye=(function(){return z<1?[se,de,0]:z<2?[de,se,0]:z<3?[0,se,de]:z<4?[0,de,se]:z<5?[de,0,se]:[se,0,de]})(),L=l(ye,3),Q=L[0],Z=L[1],oe=L[2];return[(Q+me)*255,(Z+me)*255,(oe+me)*255]}var N=(function(){function I(K){var G=l(K,4),z=G[0],re=G[1],ne=G[2],se=G[3];s(this,I),this.values=[Math.max(Math.min(parseInt(z,10),255),0),Math.max(Math.min(parseInt(re,10),255),0),Math.max(Math.min(parseInt(ne,10),255),0),se==null?1:Math.max(Math.min(parseFloat(se),255),0)]}return a(I,[{key:"toRgbString",value:function(){var G=l(this.values,4),z=G[0],re=G[1],ne=G[2],se=G[3];return se===1?"rgb(".concat(z,", ").concat(re,", ").concat(ne,")"):"rgba(".concat(z,", ").concat(re,", ").concat(ne,", ").concat(se,")")}},{key:"toHslString",value:function(){var G=this.toHslaArray(),z=l(G,4),re=z[0],ne=z[1],se=z[2],de=z[3];return de===1?"hsl(".concat(re,", ").concat(ne,"%, ").concat(se,"%)"):"hsla(".concat(re,", ").concat(ne,"%, ").concat(se,"%, ").concat(de,")")}},{key:"toHexString",value:function(){var G=l(this.values,4),z=G[0],re=G[1],ne=G[2],se=G[3];return z=Number(z).toString(16).padStart(2,"0"),re=Number(re).toString(16).padStart(2,"0"),ne=Number(ne).toString(16).padStart(2,"0"),se=se<1?parseInt(se*255,10).toString(16).padStart(2,"0"):"","#".concat(z).concat(re).concat(ne).concat(se)}},{key:"toRgbaArray",value:function(){return this.values}},{key:"toHslaArray",value:function(){var G=l(this.values,4),z=G[0],re=G[1],ne=G[2],se=G[3],de=b(z,re,ne),me=l(de,3),ye=me[0],L=me[1],Q=me[2];return[ye,L,Q,se]}}]),I})();function T(I){var K=l(I,4),G=K[0],z=K[1],re=K[2],ne=K[3];return new N([G,z,re,ne])}function C(I){var K=l(I,3),G=K[0],z=K[1],re=K[2];return T([G,z,re,1])}function S(I){var K=l(I,4),G=K[0],z=K[1],re=K[2],ne=K[3],se=y(G,z,re),de=l(se,3),me=de[0],ye=de[1],L=de[2];return T([me,ye,L,ne])}function U(I){var K=l(I,3),G=K[0],z=K[1],re=K[2];return S([G,z,re,1])}function j(I){var K=m.exec(I)||O.exec(I),G=l(K,5),z=G[1],re=G[2],ne=G[3],se=G[4];return z=parseInt(z.length<2?z.repeat(2):z,16),re=parseInt(re.length<2?re.repeat(2):re,16),ne=parseInt(ne.length<2?ne.repeat(2):ne,16),se=se&&(parseInt(se.length<2?se.repeat(2):se,16)/255).toPrecision(1)||1,T([z,re,ne,se])}function te(I){var K=A.exec(I)||M.exec(I)||x.exec(I)||$.exec(I),G=l(K,5),z=G[1],re=G[2],ne=G[3],se=G[4];return z=k(z,"%")?parseInt(z,10)*255/100:parseInt(z,10),re=k(re,"%")?parseInt(re,10)*255/100:parseInt(re,10),ne=k(ne,"%")>0?parseInt(ne,10)*255/100:parseInt(ne,10),se=se===void 0?1:parseFloat(se)/(k(se,"%")?100:1),T([z,re,ne,se])}function he(I){var K=F.exec(I),G=l(K,6),z=G[1],re=G[2],ne=G[3],se=G[4],de=G[5];return re=re||"deg",z=(0,n.default)(parseFloat(z),re,"deg"),ne=parseFloat(ne),se=parseFloat(se),de=de===void 0?1:parseFloat(de)/(k(de,"%")?100:1),S([z,ne,se,de])}function Ee(I){return t.default[I]?C(t.default[I]):m.test(I)||O.test(I)?j(I):A.test(I)||M.test(I)||x.test(I)||$.test(I)?te(I):F.test(I)?he(I):null}var ie={fromString:Ee,fromRgb:C,fromRgba:T,fromHsl:U,fromHsla:S};e.default=ie})(Qi)),Qi}var By=Hy();const jy=Vf("WireguardConfigurationsStore",{state:()=>({Configurations:[],ConfigurationLoaded:!1,searchString:"",ConfigurationListInterval:void 0,Filter:{HiddenTags:[],ShowAllPeersWhenHiddenTags:!0},SortOptions:{Name:tt("Name"),Status:tt("Status"),"DataUsage.Total":tt("Total Usage")},CurrentSort:{key:"Name",order:"asc"},CurrentDisplay:"List",PeerScheduleJobs:{dropdowns:{Field:[{display:tt("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:tt("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:tt("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:tt("Date"),value:"date",type:"date"}],Operator:[{display:tt("larger than"),value:"lgt"}],Action:[{display:tt("Restrict Peer"),value:"restrict"},{display:tt("Delete Peer"),value:"delete"},{display:tt("Reset Total Data Usage"),value:"reset_total_data_usage"}]}}}),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 $n("/api/getWireguardConfigurations",{},e=>{e.status&&(this.Configurations=e.data),this.ConfigurationLoaded=!0})},colorText(e){if(e){const t=By.fromString(e);if(t){const n=t.toRgbaArray();return+((n[0]*299+n[1]*587+n[2]*114)/255e3).toFixed(2)>.5?"#000":"#fff"}}return"#ffffff"},dotNotation(e,t){let n=t.split(".").reduce((r,s)=>r&&r[s],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 fa(e)!==0},checkWGKeyLength(e){return/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}},persist:{pick:["CurrentSort","CurrentDisplay","Filter.ShowAllPeersWhenHiddenTags"]}}),Wy=async()=>{let e=!1;return await $n("/api/validateAuthentication",{},t=>{e=t.status}),e},Tr=Ny({history:ay(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>De(()=>import("./index-FJBKYE9o.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),meta:{requiresAuth:!0},children:[{name:"Configuration List",path:"",component:()=>De(()=>import("./configurationList-DyQdKNSn.js"),__vite__mapDeps([6,1,7,8,9,10]),import.meta.url),meta:{title:"WireGuard Configurations"}},{name:"Settings",path:"settings",component:()=>De(()=>import("./settings-Dq4CIGj-.js"),__vite__mapDeps([11,12,1,13,3,14,15,16,17,18]),import.meta.url),children:[{name:"WGDashboard Settings",path:"",component:()=>De(()=>import("./wgdashboardSettings-DcOVnVX4.js"),__vite__mapDeps([19,1,13,3,14,15,16]),import.meta.url),meta:{title:"WGDashboard Settings"}},{name:"Peers Settings",path:"peers_settings",component:()=>De(()=>import("./peerDefaultSettings-BXqDdwA7.js"),__vite__mapDeps([20,1,12]),import.meta.url),meta:{title:"Peers Default Settings"}},{name:"WireGuard Configuration Settings",path:"wireguard_settings",component:()=>De(()=>import("./wireguardConfigurationSettings-CBlmmPH5.js"),__vite__mapDeps([21,17,1,18]),import.meta.url),meta:{title:"WireGuard Configuration Settings"}}],meta:{title:"Settings"}},{path:"ping",name:"Ping",component:()=>De(()=>import("./ping-DEGrvraX.js"),__vite__mapDeps([22,1,23,24,25,26,27]),import.meta.url)},{path:"traceroute",name:"Traceroute",component:()=>De(()=>import("./traceroute-7nQq-B8l.js"),__vite__mapDeps([28,23,24,25,26,1,29]),import.meta.url)},{name:"New Configuration",path:"new_configuration",component:()=>De(()=>import("./newConfiguration-YU34DWO4.js"),__vite__mapDeps([30,31,1,32,33]),import.meta.url),meta:{title:"New Configuration"}},{name:"Restore Configuration",path:"restore_configuration",component:()=>De(()=>import("./restoreConfiguration-BZxfViAG.js"),__vite__mapDeps([34,1,3,7,31,35]),import.meta.url),meta:{title:"Restore Configuration"}},{name:"System Status",path:"system_status",component:()=>De(()=>import("./systemStatus-BX0luAHi.js"),__vite__mapDeps([36,1,8,9,37,3,38]),import.meta.url),meta:{title:"System Status"}},{name:"Clients",path:"clients",component:()=>De(()=>import("./clients-B4F-hTZ7.js"),__vite__mapDeps([39,40,1,41]),import.meta.url),meta:{title:"Clients"},children:[{name:"Client Viewer",path:":id",component:()=>De(()=>import("./clientViewer-DDCtCjaZ.js"),__vite__mapDeps([42,40,1,43]),import.meta.url),meta:{title:"Clients"}}]},{name:"Webhooks",path:"webhooks",component:()=>De(()=>import("./dashboardWebHooks-CJRXn0Tq.js"),__vite__mapDeps([44,1,45]),import.meta.url),meta:{title:"Webhooks"}},{name:"Configuration",path:"configuration/:id",component:()=>De(()=>import("./configuration-Dd6L2pZi.js"),[],import.meta.url),meta:{title:"Configuration"},children:[{name:"Peers List",path:"peers",component:()=>De(()=>import("./peerList-w_vobCBV.js"),__vite__mapDeps([46,7,1,37,3,15,24,25,31,47]),import.meta.url)}]}]},{path:"/signin",component:()=>De(()=>import("./signin-CXnKEaHi.js"),__vite__mapDeps([48,2,1,3,4,49]),import.meta.url),meta:{title:"Sign In",hideTopNav:!0}},{path:"/welcome",component:()=>De(()=>import("./setup-CWf87_Nl.js"),__vite__mapDeps([50,1]),import.meta.url),meta:{requiresAuth:!0,title:"Welcome to WGDashboard",hideTopNav:!0}},{path:"/2FASetup",component:()=>De(()=>import("./totp-DslWxGxU.js"),__vite__mapDeps([51,52,32,1]),import.meta.url),meta:{requiresAuth:!0,title:"Multi-Factor Authentication Setup",hideTopNav:!0}},{path:"/share",component:()=>De(()=>import("./share-CF94rGU4.js"),__vite__mapDeps([53,52,32,1,54]),import.meta.url),meta:{title:"Share",hideTopNav:!0}}]});Tr.beforeEach(async(e,t,n)=>{const r=jy(),s=Vn();e.meta.title?document.title=e.meta.title+" | WGDashboard":e.params.id?document.title=e.params.id+" | WGDashboard":document.title="WGDashboard",s.ShowNavBar=!1,document.querySelector(".loadingBar").classList.remove("loadingDone"),document.querySelector(".loadingBar").classList.add("loading"),e.meta.requiresAuth?s.getActiveCrossServer()?(await s.getConfiguration(),!r.Configurations&&e.name!=="Configuration List"&&await r.getConfigurations(),n()):await Wy()?(await s.getConfiguration(),!r.Configurations&&e.name!=="Configuration List"&&await r.getConfigurations(),s.Redirect=void 0,n()):(s.Redirect=e,n("/signin"),s.newMessage("WGDashboard","Sign in session ended, please sign in again","warning")):n()});Tr.afterEach(()=>{document.querySelector(".loadingBar").classList.remove("loading"),document.querySelector(".loadingBar").classList.add("loadingDone")});const sd=()=>{let e={"Content-Type":"application/json"};const n=Vn().getActiveCrossServer();if(n&&(e["wg-dashboard-apikey"]=n.apiKey,n.headers))for(let r of Object.values(n.headers))r.key&&r.value&&!Object.keys(e).includes(r.key)&&(e[r.key]=r.value);return e},id=e=>{const n=Vn().getActiveCrossServer();return n?`${n.host}${e}`:`./.${e}`},$n=async(e,t=void 0,n=void 0)=>{const r=new URLSearchParams(t);await fetch(`${id(e)}?${r.toString()}`,{headers:sd()}).then(s=>{const o=Vn();if(s.ok)return s.json();if(s.status!==200)throw s.status===401&&o.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),Tr.push({path:"/signin"})})},Ub=async(e,t,n)=>{await fetch(`${id(e)}`,{headers:sd(),method:"POST",body:JSON.stringify(t)}).then(r=>{const s=Vn();if(r.ok)return r.json();if(r.status!==200)throw r.status===401&&s.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),Tr.push({path:"/signin"})})},Ve=[];for(let e=0;e<256;++e)Ve.push((e+256).toString(16).slice(1));function Ky(e,t=0){return(Ve[e[t+0]]+Ve[e[t+1]]+Ve[e[t+2]]+Ve[e[t+3]]+"-"+Ve[e[t+4]]+Ve[e[t+5]]+"-"+Ve[e[t+6]]+Ve[e[t+7]]+"-"+Ve[e[t+8]]+Ve[e[t+9]]+"-"+Ve[e[t+10]]+Ve[e[t+11]]+Ve[e[t+12]]+Ve[e[t+13]]+Ve[e[t+14]]+Ve[e[t+15]]).toLowerCase()}let eo;const Uy=new Uint8Array(16);function Gy(){if(!eo){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");eo=crypto.getRandomValues.bind(crypto)}return eo(Uy)}const qy=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Cc={randomUUID:qy};function Yy(e,t,n){e=e||{};const r=e.random??e.rng?.()??Gy();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let s=0;s<16;++s)t[n+s]=r[s];return t}return Ky(r)}function Sc(e,t,n){return Cc.randomUUID&&!t&&!e?Cc.randomUUID():Yy(e,t,n)}const Vn=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:null,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[Sc().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]},async setActiveCrossServer(e){this.ActiveServerConfiguration=e,localStorage.setItem("ActiveCrossServerConfiguration",e),await $n("/api/locale",{},t=>{this.Locale=t.data})},removeActiveCrossServer(){this.ActiveServerConfiguration=void 0,localStorage.removeItem("ActiveCrossServerConfiguration")},async getConfiguration(){await $n("/api/getDashboardConfiguration",{},e=>{e.status&&(this.Configuration=e.data)})},async signOut(){await $n("/api/signout",{},()=>{this.removeActiveCrossServer(),document.cookie="",this.$router.go("/signin")})},newMessage(e,t,n){this.Messages.push({id:Sc(),from:tt(e),content:tt(t),type:n,show:!0})},applyLocale(e){if(this.Locale===null)return e;const n=Object.keys(this.Locale).filter(r=>e.match(new RegExp("^"+r+"$","g"))!==null);return console.log(n),n.length===0||n.length>1?e:this.Locale[n[0]]}},persist:{pick:["HelpAgent.Enable"]}});(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,T=e(),C=e(),S=0;S<16;++S)C[S]=y[S];n(C),n(C),n(C);for(var U=0;U<2;++U){T[0]=C[0]-65517;for(var S=1;S<15;++S)T[S]=C[S]-65535-(T[S-1]>>16&1),T[S-1]&=65535;T[15]=C[15]-32767-(T[14]>>16&1),N=T[15]>>16&1,T[14]&=65535,r(C,T,1-N)}for(var S=0;S<16;++S)b[2*S]=C[S]&255,b[2*S+1]=C[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 r(b,y,N){for(var T,C=~(N-1),S=0;S<16;++S)T=C&(b[S]^y[S]),b[S]^=T,y[S]^=T}function s(b,y,N){for(var T=0;T<16;++T)b[T]=y[T]+N[T]|0}function o(b,y,N){for(var T=0;T<16;++T)b[T]=y[T]-N[T]|0}function a(b,y,N){for(var T=new Float64Array(31),C=0;C<16;++C)for(var S=0;S<16;++S)T[C+S]+=y[C]*N[S];for(var C=0;C<15;++C)T[C]+=38*T[C+16];for(var C=0;C<16;++C)b[C]=T[C];n(b),n(b)}function l(b,y){for(var N=e(),T=0;T<16;++T)N[T]=y[T];for(var T=253;T>=0;--T)a(N,N,N),T!==2&&T!==4&&a(N,N,y);for(var T=0;T<16;++T)b[T]=N[T]}function c(b){b[31]=b[31]&127|64,b[0]&=248}function d(b){for(var y,N=new Uint8Array(32),T=e([1]),C=e([9]),S=e(),U=e([1]),j=e(),te=e(),he=e([56129,1]),Ee=e([9]),ie=0;ie<32;++ie)N[ie]=b[ie];c(N);for(var ie=254;ie>=0;--ie)y=N[ie>>>3]>>>(ie&7)&1,r(T,C,y),r(S,U,y),s(j,T,S),o(T,T,S),s(S,C,U),o(C,C,U),a(U,j,j),a(te,T,T),a(T,S,T),a(S,C,j),s(j,T,S),o(T,T,S),a(C,T,T),o(S,U,te),a(T,S,he),s(T,T,U),a(S,S,T),a(T,U,te),a(U,C,Ee),a(C,j,j),r(T,C,y),r(S,U,y);return l(S,S),a(T,T,S),t(N,T),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]),T=0;T<4;++T)b[T]=N[T]+65+(25-N[T]>>8&6)-(51-N[T]>>8&75)-(61-N[T]>>8&15)+(62-N[T]>>8&3)}function m(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,T=new Uint8Array(N);for(let S=0;S<N;S++)T[S]=y.charCodeAt(S);return new Uint8Array(T.buffer)}function A(b,y){b.push(y&255,y>>>8&255,y>>>16&255,y>>>24&255)}function x(b,y){b.push(y&255,y>>>8&255)}function M(b,y){for(var N=0;N<y.length;++N)b.push(y[N]&255)}function $(b){for(var y=unescape(encodeURIComponent(b)),N=new Uint8Array(y.length),T=0;T<y.length;++T)N[T]=y.charCodeAt(T);return N}function F(b){if(!F.table){F.table=[];for(var y=0,N=0;N<256;y=++N){for(var T=0;T<8;++T)y=y&1?3988292384^y>>>1:y>>>1;F.table[N]=y}}for(var C=-1,S=0;S<b.length;++S)C=C>>>8^F.table[(C^b[S])&255];return(C^-1)>>>0}function k(b){for(var y=[],N=[],T=0,C=0;C<b.length;++C){var S=$(b[C].fileName),U=$(b[C].file),j=F(U);A(y,67324752),x(y,20),x(y,0),x(y,0),x(y,0),x(y,0),A(y,j),A(y,U.length),A(y,U.length),x(y,S.length),x(y,0),M(y,S),M(y,U),A(N,33639248),x(N,0),x(N,20),x(N,0),x(N,0),x(N,0),x(N,0),A(N,j),A(N,U.length),A(N,U.length),x(N,S.length),x(N,0),x(N,0),x(N,0),x(N,0),A(N,32),A(N,T),M(N,S),T+=30+U.length+S.length}return M(y,N),A(y,101010256),x(y,0),x(y,0),x(y,b.length),x(y,b.length),A(y,N.length),A(y,T),x(y,0),Uint8Array.from(y)}window.wireguard={generateKeypair:function(){var b=h(),y=d(b),N=f();return{publicKey:m(y),privateKey:m(b),presharedKey:m(N)}},generatePublicKey:function(b){return b=O(b),m(d(b))},generateZipFiles:function(b,y){var N=b.data,T=k(N),C=new Blob([T],{type:"application/zip"}),S=document.createElement("a");S.download=y,S.href=URL.createObjectURL(C),S.style.display="none",document.body.appendChild(S),S.click(),document.body.removeChild(S)}}})();const zy=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Xy=["data-bs-theme"],Qy={key:0,class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Jy={class:"container-fluid d-flex text-body align-items-center"},Zy={key:0,class:"bi bi-list"},eb={key:1,class:"bi bi-x-lg"},tb={__name:"App",setup(e){const t=Vn();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP?(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0,t.ActiveServerConfiguration&&$n("/api/locale",{},r=>{t.Locale=r.data})):$n("/api/locale",{},r=>{t.Locale=r.data}),In(t.CrossServerConfiguration,()=>{t.syncCrossServerConfiguration()},{deep:!0});const n=SE();return(r,s)=>{const o=P_("RouterLink");return Dt(),Cs("div",{class:"h-100 bg-body","data-bs-theme":Ze(t).Configuration?.Server.dashboard_theme},[s[2]||(s[2]=er("div",{style:{"z-index":"9999",height:"5px"},class:"position-absolute loadingBar top-0 start-0"},null,-1)),Ze(n).meta.hideTopNav?yv("",!0):(Dt(),Cs("nav",Qy,[er("div",Jy,[Ne(o,{to:"/",class:"navbar-brand mb-0 h1"},{default:Jn(()=>[...s[1]||(s[1]=[er("img",{src:bE,alt:"WGDashboard Logo",style:{width:"32px"}},null,-1)])]),_:1}),er("a",{role:"button",class:"navbarBtn text-body",onClick:s[0]||(s[0]=a=>Ze(t).ShowNavBar=!Ze(t).ShowNavBar),style:{"line-height":"0","font-size":"2rem"}},[Ne(Ll,{name:"fade2",mode:"out-in"},{default:Jn(()=>[Ze(t).ShowNavBar?(Dt(),Cs("i",eb)):(Dt(),Cs("i",Zy))]),_:1})])])])),(Dt(),Qr(uv,null,{default:Jn(()=>[Ne(Ze(Jf),null,{default:Jn(({Component:a})=>[Ne(Ll,{name:"app",mode:"out-in",type:"transition",appear:""},{default:Jn(()=>[(Dt(),Qr(M_(a)))]),_:2},1024)]),_:1})]),_:1}))],8,Xy)}}},nb=zy(tb,[["__scopeId","data-v-ddb6150e"]]);function rb(e,t){if(e==null)return;let n=e;for(let r=0;r<t.length;r++){if(n===void 0||n[t[r]]===void 0)return;if(n===null||n[t[r]]===null)return null;n=n[t[r]]}return n}function da(e,t,n){if(n.length===0)return t;const r=n[0];return n.length>1&&(t=da(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function od(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 r in e)n[r]=e[r];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 r in e)n[r]=e[r];return n}return da(e,od(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function ad(e,t){return t.map(n=>n.split(".")).map(n=>[n,rb(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>da(n,r[1],r[0]),{})}function ld(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>od(n,r),e)}function wc(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a,beforeHydrate:l,afterHydrate:c},d,f=!0){try{f&&l?.(d);const h=t.getItem(r);if(h){const p=n.deserialize(h),m=o?ad(p,o):p,O=a?ld(m,a):m;e.$patch(O)}f&&c?.(d)}catch(h){s&&console.error("[pinia-plugin-persistedstate]",h)}}function Oc(e,{storage:t,serializer:n,key:r,debug:s,pick:o,omit:a}){try{const l=o?ad(e,o):e,c=a?ld(l,a):l,d=n.serialize(c);t.setItem(r,d)}catch(l){s&&console.error("[pinia-plugin-persistedstate]",l)}}function sb(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function ib(e,t,n){const{pinia:r,store:s,options:{persist:o=n}}=e;if(!o)return;if(!(s.$id in r.state.value)){const l=r._s.get(s.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const a=(Array.isArray(o)?o:o===!0?[{}]:[o]).map(t);s.$hydrate=({runHooks:l=!0}={})=>{a.forEach(c=>{wc(s,c,e,l)})},s.$persist=()=>{a.forEach(l=>{Oc(s.$state,l)})},a.forEach(l=>{wc(s,l,e),s.$subscribe((c,d)=>Oc(d,l),{detached:!0})})}function ob(e={}){return function(t){ib(t,n=>{const r=sb(n.key,t.store.$id);return{key:(e.key?e.key:s=>s)(r),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:s=>JSON.stringify(s),deserialize:s=>JSON.parse(s)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var ab=ob();const ha=dE(nb);ha.use(Tr);const pa=gE();pa.use(ab);pa.use(({store:e})=>{e.$router=li(Tr)});ha.use(pa);ha.mount("#app");export{Hb as $,Sc as A,Jo as B,iE as C,Vn as D,Mb as E,ze as F,tt as G,In as H,jb as I,ts as J,Wb as K,SE as L,xb as M,De as N,bb as O,Cb as P,wu as Q,la as R,uv as S,Fb as T,Rv as U,fi as V,jy as W,ve as X,ai as Y,ci as Z,zy as _,Dt as a,Nb as a0,Kb as a1,Rb as a2,Bb as a3,id as a4,Vf as a5,Tb as a6,lu as a7,Wm as a8,Lb as a9,Db as aa,Pb as ab,$b as ac,Ab as ad,vv as ae,Ob as af,Sb as ag,rt as ah,bv as ai,Yu as aj,kb as ak,xs as al,ao as am,er as b,Cs as c,Ne as d,yv as e,Ev as f,$n as g,Ib as h,Qr as i,Ll as j,P_ as k,M_ as l,wb as m,ri as n,ea as o,Vb as p,dt as q,rr as r,ni as s,Bm as t,Ze as u,rE as v,Jn as w,Xu as x,Ql as y,Ub as z};
|