2025-12-07 11:20:48 +08:00
|
|
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DvJRWWV_.js","assets/localeText-CzYZfO0n.js","assets/message-02SxvQMq.js","assets/dayjs.min-BzBvZaAI.js","assets/message-Bh5W0B3y.css","assets/index-CpoCtfuw.css","assets/configurationList-B_XdFVzH.js","assets/protocolBadge-Devm4nvO.js","assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-PBQas61J.js","assets/storageMount-DkOLkVxZ.css","assets/configurationList-DH6A10st.css","assets/settings-DDlnN3YR.js","assets/peersDefaultSettingsInput-BYUvwHVp.js","assets/dashboardEmailSettings-CPNkx_Qa.js","assets/vue-datepicker-B81xP9h3.js","assets/dashboardEmailSettings-BxtXuVtX.css","assets/dashboardSettingsWireguardConfigurationAutostart-Ci0ScLhC.js","assets/dashboardSettingsWireguardConfigurationAutostart-D5UlSscq.css","assets/wgdashboardSettings-DtwRz6pz.js","assets/peerDefaultSettings-BOJH25p1.js","assets/wireguardConfigurationSettings-FAn5QwY0.js","assets/ping-CXBkCnEO.js","assets/osmap-CcOlLXy3.js","assets/Vector-zgNB5xDX.js","assets/Vector-BtPuoxOl.css","assets/osmap-CsoM1fIq.css","assets/ping-DgbK5UF9.css","assets/traceroute-MYbOXMxu.js","assets/traceroute-D9mlT_ah.css","assets/newConfiguration-BHySHYUw.js","assets/index-Bno8fcdN.js","assets/galois-field-I2lBzzs-.js","assets/newConfiguration-CaR3VWG-.css","assets/restoreConfiguration-DtiUHTWS.js","assets/restoreConfiguration-Go8Q_2zy.css","assets/systemStatus-DfwuKSYz.js","assets/index-DITDixEW.js","assets/systemStatus-DdUpBwt2.css","assets/clients-z3DZFAPW.js","assets/DashboardClientAssignmentStore-CzviEuNq.js","assets/clients-CfS2KUuu.css","assets/clientViewer-7U41rXJo.js","assets/clientViewer-C5axh9P7.css","assets/dashboardWebHooks-DNskYzZ9.js","assets/dashboardWebHooks-Dl-enc0Z.css","assets/peerList-CGY-1qnb.js","assets/peerList-Ch1hvsh1.css","assets/signin-NfXEV_93.js","assets/signin-lFX8XtKM.css","assets/setup-DTWU0bMd.js","assets/totp-or--3Qm0.js","assets/browser-CdT-qU-v.js","assets/share-ByvGz5N4.js","assets/share-e5E8P3Ro.css"])))=>i.map(i=>d[i]);
|
2025-09-17 15:23:09 +08:00
|
|
|
(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 fE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xg(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 Es={exports:{}},qe="top",tt="bottom",nt="right",ze="left",Ks="auto",pr=[qe,tt,nt,ze],xn="start",nr="end",bc="clippingParents",_o="viewport",Gn="popper",Ec="reference",Yi=pr.reduce(function(e,t){return e.concat([t+"-"+xn,t+"-"+nr])},[]),vo=[].concat(pr,[Ks]).reduce(function(e,t){return e.concat([t,t+"-"+xn,t+"-"+nr])},[]),Ac="beforeRead",Tc="read",wc="afterRead",Sc="beforeMain",Cc="main",Oc="afterMain",Nc="beforeWrite",xc="write",$c="afterWrite",Rc=[Ac,Tc,wc,Sc,Cc,Oc,Nc,xc,$c];function Rt(e){return e?(e.nodeName||"").toLowerCase():null}function rt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function $n(e){var t=rt(e).Element;return e instanceof t||e instanceof Element}function ut(e){var t=rt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yo(e){if(typeof ShadowRoot>"u")return!1;var t=rt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function $g(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];!ut(o)||!Rt(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 Rg(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},{});!ut(s)||!Rt(s)||(Object.assign(s.style,l),Object.keys(o).forEach(function(c){s.removeAttribute(c)}))})}}const bo={name:"applyStyles",enabled:!0,phase:"write",fn:$g,effect:Rg,requires:["computeStyles"]};function $t(e){return e.split("-")[0]}var Tn=Math.max,xs=Math.min,rr=Math.round;function qi(){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 Ic(){return!/^((?!chrome|android).)*safari/i.test(qi())}function sr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),s=1,o=1;t&&ut(e)&&(s=e.offsetWidth>0&&rr(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&rr(r.height)/e.offsetHeight||1);var a=$n(e)?rt(e):window,l=a.visualViewport,c=!Ic()&&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 Eo(e){var t=sr(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t
|
|
|
|
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
|
|
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
|
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
|
|
|
*/var ym=Es.exports,nl;function bm(){return nl||(nl=1,(function(e,t){(function(n,r){e.exports=r(vm)})(ym,(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),k=Number.parseFloat(u);return!v&&!k?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,L=_=>{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},V=_=>!_||_.nodeType!==Node.ELEMENT_NODE||_.classList.contains("disabled")?!0:typeof _.disabled<"u"?_.disabled:_.hasAttribute("disabled")&&_.getAttribute("disabled")!=="false",H=_=>{if(!document.documentElement.attachShadow)return null;if(typeof _.getRootNode=="function"){const i=_.getRootNode();return i instanceof ShadowRoot?i:null}return _ instanceof ShadowRoot?_:_.parentNode?H(_.parentNode):null},M=()=>{},E=_=>{_.offsetHeight},b=()=>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(_)):_()},w=()=>document.documentElement.dir==="rtl",S=_=>{T(()=>{const i=b();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)}})},K=(_,i=[],u=_)=>typeof _=="function"?_.call(...i):u,j=(_,i,u=!0)=>{if(!u){K(_);return}const k=m(i)+5;let J=!1;const q=({target:ge})=>{ge===i&&(J=!0,i.removeEventListener(d,q),K(_))};i.addEventListener(d,q),setTimeout(()=>{J||O(i)},k)},te=(_,i,u,v)=>{const k=_.length;let J=_.indexOf(i);return J===-1?!u&&v?_[k-1]:_[0]:(J+=u?1:-1,v&&(J=(J+k)%k),_[Math.max(0,Math.min(J,k-1))])},he=/[^.]*(?=\..*)\.|.*/,me=/\..*/,oe=/::\d+$/,R={};let U=1;const G={mouseenter:"mouseover",mouseleave:"mouseout"},Q=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}::${U++}`||_.uidEvent||U++}function ne(_){const i=re(_);return _.uidEvent=i,R[i]=R[i]||{},R[i]}function se(_,i){return function u(v){return g(v,{delegateTarget:_}),u.oneOff&&I.off(_,v.type,i),i.apply(_,[v])}}function de(_,i,u){return function v(k){const J=_.querySelectorAll(i);for(let{target:q}=k;q&&q!==this;q=q.parentNode)for(const ge of J)if(
|
|
|
|
|
* @vue/shared v3.5.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/function xo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const we={},Qn=[],yt=()=>{},Kc=()=>!1,Ys=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$o=e=>e.startsWith("onUpdate:"),De=Object.assign,Ro=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Em=Object.prototype.hasOwnProperty,Te=(e,t)=>Em.call(e,t),le=Array.isArray,Jn=e=>zr(e)==="[object Map]",gr=e=>zr(e)==="[object Set]",rl=e=>zr(e)==="[object Date]",fe=e=>typeof e=="function",Oe=e=>typeof e=="string",Et=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",Io=e=>(Se(e)||fe(e))&&fe(e.then)&&fe(e.catch),Uc=Object.prototype.toString,zr=e=>Uc.call(e),Am=e=>zr(e).slice(8,-1),Gc=e=>zr(e)==="[object Object]",Do=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$r=xo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Tm=/-\w/g,ht=qs(e=>e.replace(Tm,t=>t.slice(1).toUpperCase())),wm=/\B([A-Z])/g,cn=qs(e=>e.replace(wm,"-$1").toLowerCase()),zs=qs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Oi=qs(e=>e?`on${zs(e)}`:""),nn=(e,t)=>!Object.is(e,t),Ts=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Yc=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},$s=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qc=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let sl;const Xs=()=>sl||(sl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qs(e){if(le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Oe(r)?Nm(r):Qs(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Oe(e)||Se(e))return e}const Sm=/;(?![^(]*\))/g,Cm=/:([^]+)/,Om=/\/\*[^]*?\*\//g;function Nm(e){const t={};return e.replace(Om,"").split(Sm).forEach(n=>{if(n){const r=n.split(Cm);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Js(e){let t="";if(Oe(e))t=e;else if(le(e))for(let n=0;n<e.length;n++){const r=Js(e[n]);r&&(t+=r+" ")}else if(Se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function dE(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Oe(t)&&(e.class=Js(t)),n&&(e.style=Qs(n)),e}const xm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$m=xo(xm);function zc(e){return!!e||e===""}function Rm(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Rn(e[r],t[r]);return n}function Rn(e,t){if(e===t)return!0;let n=rl(e),r=rl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Et(e),r=Et(t),n||r)return e===t;if(n=le(e),r=le(t),n||r)return n&&r?Rm(e,t):!1;if(n=Se(e),r=Se(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||!Rn(e[a],t[a]))return!1}}return String(e)===String(t)}function Lo(e,t){return e.findIndex(n=>Rn(n,t))}const Xc=e=>!!(e&&e.__v_isRef===!0),Im=e=>Oe(e)?e:e==null?"":le(e)||Se(e)&&(e.toString===Uc||!fe(e.toString))?Xc(e)?Im(e.value):JSON.stringify(e,Qc,2):String(e),Qc=(e,t)=>Xc(t)?Qc(e,t.value):Jn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[Ni(r,o)+" =>"]=s,n),{})}:gr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ni(n))}:Et(t)?Ni(t):Se(t)&&!le(t)&&!Gc(t)?String(t):t,Ni=(e,t="")=>{var n;return Et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Dm(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}/**
|
|
|
|
|
* @vue/reactivity v3.5.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/let je;class Jc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=je,!t&&je&&(this.index=(je.scopes||(je.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=je;try{return je=this,t()}finally{je=n}}}on(){++this._on===1&&(this.prevScope=je,je=this)}off(){this._on>0&&--this._on===0&&(je=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 Zc(e){return new Jc(e)}function eu(){return je}function Lm(e,t=!1){je&&je.cleanups.push(e)}let Ce;const xi=new WeakSet;class tu{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,je&&je.active&&je.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xi.has(this)&&(xi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ru(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,il(this),su(this);const t=Ce,n=bt;Ce=this,bt=!0;try{return this.fn()}finally{iu(this),Ce=t,bt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ko(t);this.deps=this.depsTail=void 0,il(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xi(this)&&this.run()}get dirty(){return Xi(this)}}let nu=0,Rr,Ir;function ru(e,t=!1){if(e.flags|=8,t){e.next=Ir,Ir=e;return}e.next=Rr,Rr=e}function Po(){nu++}function Mo(){if(--nu>0)return;if(Ir){let t=Ir;for(Ir=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Rr;){let t=Rr;for(Rr=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 su(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function iu(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),ko(r),Pm(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Xi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ou(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ou(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Hr)||(e.globalVersion=Hr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xi(e))))return;e.flags|=2;const t=e.dep,n=Ce,r=bt;Ce=e,bt=!0;try{su(e);const s=e.fn(e._value);(t.version===0||nn(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ce=n,bt=r,iu(e),e.flags&=-3}}function ko(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)ko(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Pm(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let bt=!0;const au=[];function jt(){au.push(bt),bt=!1}function Wt(){const e=au.pop();bt=e===void 0?!0:e}function il(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ce;Ce=void 0;try{t()}finally{Ce=n}}}let Hr=0;class Mm{constructor(t
|
|
|
|
|
* @vue/runtime-core v3.5.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/function Qr(e,t,n,r){try{return r?e(...r):e()}catch(s){mr(s,t,n)}}function At(e,t,n,r){if(fe(e)){const s=Qr(e,t,n,r);return s&&Io(s)&&s.catch(o=>{mr(o,t,n)}),s}if(le(e)){const s=[];for(let o=0;o<e.length;o++)s.push(At(e[o],t,n,r));return s}}function mr(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||we;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){jt(),Qr(o,null,10,[e,c,d]),Wt();return}}c_(e,n,s,r,a)}function c_(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Ge=[];let Ot=-1;const Zn=[];let Jt=null,Yn=0;const Eu=Promise.resolve();let Ls=null;function ti(e){const t=Ls||Eu;return e?t.then(this?e.bind(this):e):t}function u_(e){let t=Ot+1,n=Ge.length;for(;t<n;){const r=t+n>>>1,s=Ge[r],o=jr(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function jo(e){if(!(e.flags&1)){const t=jr(e),n=Ge[Ge.length-1];!n||!(e.flags&2)&&t>=jr(n)?Ge.push(e):Ge.splice(u_(t),0,e),e.flags|=1,Au()}}function Au(){Ls||(Ls=Eu.then(wu))}function Ps(e){le(e)?Zn.push(...e):Jt&&e.id===-1?Jt.splice(Yn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1),Au()}function al(e,t,n=Ot+1){for(;n<Ge.length;n++){const r=Ge[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ge.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Tu(e){if(Zn.length){const t=[...new Set(Zn)].sort((n,r)=>jr(n)-jr(r));if(Zn.length=0,Jt){Jt.push(...t);return}for(Jt=t,Yn=0;Yn<Jt.length;Yn++){const n=Jt[Yn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Jt=null,Yn=0}}const jr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function wu(e){try{for(Ot=0;Ot<Ge.length;Ot++){const t=Ge[Ot];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Qr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ot<Ge.length;Ot++){const t=Ge[Ot];t&&(t.flags&=-2)}Ot=-1,Ge.length=0,Tu(),Ls=null,(Ge.length||Zn.length)&&wu()}}let Fe=null,Su=null;function Ms(e){const t=Fe;return Fe=e,Su=e&&e.type.__scopeId||null,t}function qn(e,t=Fe,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Fs(-1);const o=Ms(t);let a;try{a=e(...s)}finally{Ms(o),r._d&&Fs(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function gE(e,t){if(Fe===null)return e;const n=oi(Fe),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,a,l,c=we]=t[s];o&&(fe(o)&&(o={mounted:o,updated:o}),o.deep&&Ft(a),r.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function yn(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&&(jt(),At(c,n,8,[e.el,l,e,t]),Wt())}}const Cu=Symbol("_vte"),Ou=e=>e.__isTeleport,Dr=e=>e&&(e.disabled||e.disabled===""),ll=e=>e&&(e.defer||e.defer===""),cl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ul=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Zi=(e,t)=>{const n=e&&e.to;return Oe(n)?t?t(n):null:n},Nu={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,L=Dr(t.props);let{shapeFlag:V,children:H,dynamicChildren:M}=t;if(e==null){const E=t.el=A(""),b=t.anchor=A("");m(E,n,r),m(b,n,r);const N=(w,S)=>{V&16&&(s&&s.isCE&&(s.ce._teleportTarget=w),f(H,w,S,s,o,a,l,c))},T=()=>{const w=t.target=Zi(t.props,O),S=xu(w,t,A,m);w&&(a!=="svg"&&cl(w)?a="svg":a!=="mathml"&&ul(w)&&(a="mathml"),L||(N(w,S),ws(t,!1)))};L&&(N(n,b),ws(t,!0)),ll(t.props)?(t.el.__isMounted=!1,Ue(()=>{T(),delete t.el.__isMounted},o)):T()}else{if(ll(t.props)&&e.el.__isMounted===!1){Ue(()=>{Nu.process(e,t,n,r,s,o,a,l,c,d)},o);return}t.el=e.el,t.targetStart=e.targetStart;const E=t.anchor=e.anchor,b=t.target=e.target,N=t.targetAnchor=e.targetAnchor,T=Dr(e.props),w=T?n:b,S=T?E:N;if(a==="svg"||cl(b)?a="svg":(a==="mathml"||ul(b))&&(a="mathml"),M?(p(e.dynamicChildren,M,w,s,o,a,l),Qo(e,t,!0)):c||h(e,t,w,S,s,o,a,l,!1),L)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):_s(t,n,E,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=Zi(t.props,O);K
|
|
|
|
|
* @vue/runtime-dom v3.5.21
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/let lo;const wl=typeof window<"u"&&window.trustedTypes;if(wl)try{lo=wl.createPolicy("vue",{createHTML:e=>e})}catch{}const pf=lo?e=>lo.createHTML(e):e=>e,Ev="http://www.w3.org/2000/svg",Av="http://www.w3.org/1998/Math/MathML",Mt=typeof document<"u"?document:null,Sl=Mt&&Mt.createElement("template"),Tv={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"?Mt.createElementNS(Ev,e):t==="mathml"?Mt.createElementNS(Av,e):n?Mt.createElement(e,{is:n}):Mt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,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{Sl.innerHTML=pf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=Sl.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]}},qt="transition",wr="animation",ur=Symbol("_vtc"),gf={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},mf=De({},Ru,gf),wv=e=>(e.displayName="Transition",e.props=mf,e),Cl=wv((e,{slots:t})=>ea(h_,_f(e),t)),En=(e,t=[])=>{le(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ol=e=>e?le(e)?e.some(t=>t.length>1):e.length>1:!1;function _f(e){const t={};for(const j in e)j in gf||(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=Sv(s),A=O&&O[0],x=O&&O[1],{onBeforeEnter:L,onEnter:V,onEnterCancelled:H,onLeave:M,onLeaveCancelled:E,onBeforeAppear:b=L,onAppear:N=V,onAppearCancelled:T=H}=t,w=(j,te,he,me)=>{j._enterCancelled=me,Xt(j,te?f:l),Xt(j,te?d:a),he&&he()},S=(j,te)=>{j._isLeaving=!1,Xt(j,h),Xt(j,m),Xt(j,p),te&&te()},K=j=>(te,he)=>{const me=j?N:V,oe=()=>w(te,j,he);En(me,[te,oe]),Nl(()=>{Xt(te,j?c:o),Ct(te,j?f:l),Ol(me)||xl(te,r,A,oe)})};return De(t,{onBeforeEnter(j){En(L,[j]),Ct(j,o),Ct(j,a)},onBeforeAppear(j){En(b,[j]),Ct(j,c),Ct(j,d)},onEnter:K(!1),onAppear:K(!0),onLeave(j,te){j._isLeaving=!0;const he=()=>S(j,te);Ct(j,h),j._enterCancelled?(Ct(j,p),co()):(co(),Ct(j,p)),Nl(()=>{j._isLeaving&&(Xt(j,h),Ct(j,m),Ol(M)||xl(j,r,x,he))}),En(M,[j,he])},onEnterCancelled(j){w(j,!1,void 0,!0),En(H,[j])},onAppearCancelled(j){w(j,!0,void 0,!0),En(T,[j])},onLeaveCancelled(j){S(j),En(E,[j])}})}function Sv(e){if(e==null)return null;if(Se(e))return[Mi(e.enter),Mi(e.leave)];{const t=Mi(e);return[t,t]}}function Mi(e){return qc(e)}function Ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ur]||(e[ur]=new Set)).add(t)}function Xt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[ur];n&&(n.delete(t),n.size||(e[ur]=void 0))}function Nl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Cv=0;function xl(e,t,n,r){const s=e._endId=++Cv,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:c}=vf(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 vf(e,t){const n=window.getComputedStyle(e),r=O=>(n[O]||"").split(", "),s=r(`${qt}Delay`),o=r(`${qt}Duration`),a=$l(s,o),l=r(`${
|
|
|
|
|
* pinia v3.0.3
|
|
|
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/let Sf;const ai=e=>Sf=e,Cf=Symbol();function fo(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 sy(){const e=Zc(!0),t=e.run(()=>Sn({}));let n=[],r=[];const s=ei({install(o){ai(s),s._a=o,o.provide(Cf,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 Of=()=>{};function Gl(e,t,n,r=Of){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&eu()&&Lm(s),s}function Un(e,...t){e.slice().forEach(n=>{n(...t)})}const iy=e=>e(),Yl=Symbol(),Fi=Symbol();function ho(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];fo(s)&&fo(r)&&e.hasOwnProperty(n)&&!Ne(r)&&!rn(r)?e[n]=ho(s,r):e[n]=r}return e}const oy=Symbol();function ay(e){return!fo(e)||!Object.prototype.hasOwnProperty.call(e,oy)}const{assign:Qt}=Object;function ly(e){return!!(Ne(e)&&e.effect)}function cy(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=n_(n.state.value[e]);return Qt(f,o,Object.keys(a||{}).reduce((h,p)=>(h[p]=ei(ct(()=>{ai(n);const m=n._s.get(e);return a[p].call(m,m)})),h),{}))}return c=Nf(e,d,t,n,r,!0),c}function Nf(e,t,n={},r,s,o){let a;const l=Qt({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],m;const O=r.state.value[e];!o&&!O&&(r.state.value[e]={}),Sn({});let A;function x(T){let w;d=f=!1,typeof T=="function"?(T(r.state.value[e]),w={type:kr.patchFunction,storeId:e,events:m}):(ho(r.state.value[e],T),w={type:kr.patchObject,payload:T,storeId:e,events:m});const S=A=Symbol();ti().then(()=>{A===S&&(d=!0)}),f=!0,Un(h,w,r.state.value[e])}const L=o?function(){const{state:w}=n,S=w?w():{};this.$patch(K=>{Qt(K,S)})}:Of;function V(){a.stop(),h=[],p=[],r._s.delete(e)}const H=(T,w="")=>{if(Yl in T)return T[Fi]=w,T;const S=function(){ai(r);const K=Array.from(arguments),j=[],te=[];function he(R){j.push(R)}function me(R){te.push(R)}Un(p,{args:K,name:S[Fi],store:E,after:he,onError:me});let oe;try{oe=T.apply(this&&this.$id===e?this:E,K)}catch(R){throw Un(te,R),R}return oe instanceof Promise?oe.then(R=>(Un(j,R),R)).catch(R=>(Un(te,R),Promise.reject(R))):(Un(j,oe),oe)};return S[Yl]=!0,S[Fi]=w,S},M={_p:r,$id:e,$onAction:Gl.bind(null,p),$patch:x,$reset:L,$subscribe(T,w={}){const S=Gl(h,T,w.detached,()=>K()),K=a.run(()=>On(()=>r.state.value[e],j=>{(w.flush==="sync"?f:d)&&T({storeId:e,type:kr.direct,events:m},j)},Qt({},c,w)));return S},$dispose:V},E=Xr(M);r._s.set(e,E);const N=(r._a&&r._a.runWithContext||iy)(()=>r._e.run(()=>(a=Zc()).run(()=>t({action:H}))));for(const T in N){const w=N[T];if(Ne(w)&&!ly(w)||rn(w))o||(O&&ay(w)&&(Ne(w)?w.value=O[T]:ho(w,O[T])),r.state.value[e][T]=w);else if(typeof w=="function"){const S=H(w,T);N[T]=S,l.actions[T]=w}}return Qt(E,N),Qt(ye(E),N),Object.defineProperty(E,"$state",{get:()=>r.state.value[e],set:T=>{x(w=>{Qt(w,T)})}}),r._p.forEach(T=>{Qt(E,a.run(()=>T({store:E,app:r._a,pinia:r,options:l})))}),O&&o&&n.hydrate&&n.hydrate(E.$state,O),d=!0,f=!0,E}/*! #__NO_SIDE_EFFECTS__ */function xf(e,t,n){let r;const s=typeof t=="function";r=s?n:t;function o(a,l){const c=I_();return a=a||(c?et(Cf,null):null),a&&ai(a),a=Sf,a._s.has(e)||(s?Nf(e,t,r,a):cy(e,r,a)),a._s.get(e)}return o.$id=e,o}const uy="/static/dist/WGDashboardAdmin/img/Logo-2-Rounded-512x512.png";/*!
|
|
|
|
|
* vue-router v4.5.1
|
|
|
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/const zn=typeof document<"u";function $f(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function fy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&$f(e.default)}const Ae=Object.assign;function Hi(e,t){const n={};for(const r in t){const s=t[r];n[r]=Tt(s)?s.map(e):e(s)}return n}const Vr=()=>{},Tt=Array.isArray,Rf=/#/g,dy=/&/g,hy=/\//g,py=/=/g,gy=/\?/g,If=/\+/g,my=/%5B/g,_y=/%5D/g,Df=/%5E/g,vy=/%60/g,Lf=/%7B/g,yy=/%7C/g,Pf=/%7D/g,by=/%20/g;function ta(e){return encodeURI(""+e).replace(yy,"|").replace(my,"[").replace(_y,"]")}function Ey(e){return ta(e).replace(Lf,"{").replace(Pf,"}").replace(Df,"^")}function po(e){return ta(e).replace(If,"%2B").replace(by,"+").replace(Rf,"%23").replace(dy,"%26").replace(vy,"`").replace(Lf,"{").replace(Pf,"}").replace(Df,"^")}function Ay(e){return po(e).replace(py,"%3D")}function Ty(e){return ta(e).replace(Rf,"%23").replace(gy,"%3F")}function wy(e){return e==null?"":Ty(e).replace(hy,"%2F")}function Gr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Sy=/\/$/,Cy=e=>e.replace(Sy,"");function Bi(e,t,n="/"){let r,s={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(r=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),a=t.slice(l,t.length)),r=$y(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:s,hash:Gr(a)}}function Oy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ql(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ny(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&dr(t.matched[r],n.matched[s])&&Mf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function dr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Mf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!xy(e[n],t[n]))return!1;return!0}function xy(e,t){return Tt(e)?zl(e,t):Tt(t)?zl(t,e):e===t}function zl(e,t){return Tt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function $y(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 zt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Yr;(function(e){e.pop="pop",e.push="push"})(Yr||(Yr={}));var Fr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Fr||(Fr={}));function Ry(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),Cy(e)}const Iy=/^[^#]+#/;function Dy(e,t){return e.replace(Iy,"#")+t}function Ly(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 li=()=>({left:window.scrollX,top:window.scrollY});function Py(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=Ly(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 Xl(e,t){return(history.state?history.state.position-t:-1)+e}const go=new Map;function My(e,t){go.set(e,t)}function ky(e){const t=go.get(e);return go.delete(e),t}let Vy=()=>location.protocol+"//"+location.host;function kf(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,c=s.slice(l);return c[0]!=="/"&&(c="/"+c),ql(c,"")}return ql(n,e)+r+s}function Fy(e,t,n,r){let s=[],o=[],a=null;const l=({state:p})=>{const m=kf(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
|
|
|
|
|
(?:
|
|
|
|
|
(?:${Ie}:){7}(?:${Ie}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
|
|
(?:${Ie}:){6}(?:${_t}|:${Ie}|:)| // 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
|
|
|
|
|
(?:${Ie}:){5}(?::${_t}|(?::${Ie}){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
|
|
|
|
|
(?:${Ie}:){4}(?:(?::${Ie}){0,1}:${_t}|(?::${Ie}){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
|
|
|
|
|
(?:${Ie}:){3}(?:(?::${Ie}){0,2}:${_t}|(?::${Ie}){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
|
|
|
|
|
(?:${Ie}:){2}(?:(?::${Ie}){0,3}:${_t}|(?::${Ie}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
|
|
(?:${Ie}:){1}(?:(?::${Ie}){0,4}:${_t}|(?::${Ie}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
|
|
(?::(?:(?::${Ie}){0,5}:${_t}|(?::${Ie}){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(),_b=new RegExp(`(?:^${_t}$)|(?:^${ui}$)`),vb=new RegExp(`^${_t}$`),yb=new RegExp(`^${ui}$`),fi=e=>e&&e.exact?_b:new RegExp(`(?:${tn(e)}${_t}${tn(e)})|(?:${tn(e)}${ui}${tn(e)})`,"g");fi.v4=e=>e&&e.exact?vb:new RegExp(`${tn(e)}${_t}${tn(e)}`,"g");fi.v6=e=>e&&e.exact?yb:new RegExp(`${tn(e)}${ui}${tn(e)}`,"g");const Kf={exact:!1},Uf=`${fi.v4().source}\\/(3[0-2]|[12]?[0-9])`,Gf=`${fi.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,bb=new RegExp(`^${Uf}$`),Eb=new RegExp(`^${Gf}$`),Ab=({exact:e}=Kf)=>e?bb:new RegExp(Uf,"g"),Tb=({exact:e}=Kf)=>e?Eb:new RegExp(Gf,"g"),Yf=Ab({exact:!0}),qf=Tb({exact:!0}),ra=e=>Yf.test(e)?4:qf.test(e)?6:0;ra.v4=e=>Yf.test(e);ra.v6=e=>qf.test(e);const Je=e=>{const t=Ln();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 Wi={},Ki,hc;function wb(){return hc||(hc=1,Ki={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,
|
2025-12-07 11:20:48 +08:00
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(R,U){if(R){if(typeof R=="string")return f(R,U);var G=Object.prototype.toString.call(R).slice(8,-1);if(G==="Object"&&R.constructor&&(G=R.constructor.name),G==="Map"||G==="Set")return Array.from(R);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return f(R,U)}}function f(R,U){(U==null||U>R.length)&&(U=R.length);for(var G=0,Q=new Array(U);G<U;G++)Q[G]=R[G];return Q}function h(R,U){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(R)))){var G=[],Q=!0,re=!1,ne=void 0;try{for(var se=R[Symbol.iterator](),de;!(Q=(de=se.next()).done)&&(G.push(de.value),!(U&&G.length===U));Q=!0);}catch(_e){re=!0,ne=_e}finally{try{!Q&&se.return!=null&&se.return()}finally{if(re)throw ne}}return G}}function p(R){if(Array.isArray(R))return R}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*\)$/,L=/^rgba?\(\s*(\d+%)\s*,\s*(\d+%)\s*,\s*(\d+%)(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,V=/^rgba?\(\s*(\d+%)\s+(\d+%)\s+(\d+%)(?:\s*\/\s*(0|1|0?\.\d+|\d+%))?\s*\)$/,H=/^hsla?\(\s*(\d+)(deg|rad|grad|turn)?\s*,\s*(\d+)%\s*,\s*(\d+)%(?:\s*,\s*(0|1|0?\.\d+|\d+%))?\s*\)$/;function M(R,U){return R.indexOf(U)>-1}function E(R,U,G){var Q=R/255,re=U/255,ne=G/255,se=Math.max(Q,re,ne),de=Math.min(Q,re,ne),_e=se-de,be=(se+de)/2;if(_e===0)return[0,0,be*100];var D=_e/(1-Math.abs(2*be-1)),z=(function(){switch(se){case Q:return(re-ne)/_e%6;case re:return(ne-Q)/_e+2;default:return(Q-re)/_e+4}})();return[z*60,D*100,be*100]}function b(R,U,G){var Q=R/60,re=U/100,ne=G/100,se=(1-Math.abs(2*ne-1))*re,de=se*(1-Math.abs(Q%2-1)),_e=ne-se/2,be=(function(){return Q<1?[se,de,0]:Q<2?[de,se,0]:Q<3?[0,se,de]:Q<4?[0,de,se]:Q<5?[de,0,se]:[se,0,de]})(),D=l(be,3),z=D[0],Z=D[1],ie=D[2];return[(z+_e)*255,(Z+_e)*255,(ie+_e)*255]}var N=(function(){function R(U){var G=l(U,4),Q=G[0],re=G[1],ne=G[2],se=G[3];s(this,R),this.values=[Math.max(Math.min(parseInt(Q,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(R,[{key:"toRgbString",value:function(){var G=l(this.values,4),Q=G[0],re=G[1],ne=G[2],se=G[3];return se===1?"rgb(".concat(Q,", ").concat(re,", ").concat(ne,")"):"rgba(".concat(Q,", ").concat(re,", ").concat(ne,", ").concat(se,")")}},{key:"toHslString",value:function(){var G=this.toHslaArray(),Q=l(G,4),re=Q[0],ne=Q[1],se=Q[2],de=Q[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),Q=G[0],re=G[1],ne=G[2],se=G[3];return Q=Number(Q).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(Q).concat(re).concat(ne).concat(se)}},{key:"toRgbaArray",value:function(){return this.values}},{key:"toHslaArray",value:function(){var G=l(this.values,4),Q=G[0],re=G[1],ne=G[2],se=G[3],de=E(Q,re,ne),_e=l(de,3),be=_e[0],D=_e[1],z=_e[2];return[be,D,z,se]}}]),R})();function T(R){var U=l(R,4),G=U[0],Q=U[1],re=U[2],ne=U[3];return new N([G,Q,re,ne])}function w(R){var U=l(R,3),G=U[0],Q=U[1],re=U[2];return T([G,Q,re,1])}function S(R){var U=l(R,4),G=U[0],Q=U[1],re=U[2],ne=U[3],se=b(G,Q,re),de=l(se,3),_e=de[0],be=de[1],D=de[2];return T([_e,be,D,ne])}function K(R){var U=l(R,3),G=U[0],Q=U[1],re=U[2];return S([G,Q,re,1])}function j(R){var U=m.exec(R)||O.exec(R),G=l(U,5),Q=G[1],re=G[2],ne=G[3],se=G[4];return Q=parseInt(Q.length<2?Q.repeat(2):Q,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([Q,re,ne,se])}function te(R){var U=A.exec(R)||L.exec(R)||x.exec(R)||V.exec(R),G=l(U,5),Q=G[1],r
|
2025-09-17 15:23:09 +08:00
|
|
|
*
|
|
|
|
|
* Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
|
2025-12-02 11:00:54 +08:00
|
|
|
*/(function(){function e(E){var b=new Float64Array(16);if(E)for(var N=0;N<E.length;++N)b[N]=E[N];return b}function t(E,b){for(var N,T=e(),w=e(),S=0;S<16;++S)w[S]=b[S];n(w),n(w),n(w);for(var K=0;K<2;++K){T[0]=w[0]-65517;for(var S=1;S<15;++S)T[S]=w[S]-65535-(T[S-1]>>16&1),T[S-1]&=65535;T[15]=w[15]-32767-(T[14]>>16&1),N=T[15]>>16&1,T[14]&=65535,r(w,T,1-N)}for(var S=0;S<16;++S)E[2*S]=w[S]&255,E[2*S+1]=w[S]>>8}function n(E){for(var b=0;b<16;++b)E[(b+1)%16]+=(b<15?1:38)*Math.floor(E[b]/65536),E[b]&=65535}function r(E,b,N){for(var T,w=~(N-1),S=0;S<16;++S)T=w&(E[S]^b[S]),E[S]^=T,b[S]^=T}function s(E,b,N){for(var T=0;T<16;++T)E[T]=b[T]+N[T]|0}function o(E,b,N){for(var T=0;T<16;++T)E[T]=b[T]-N[T]|0}function a(E,b,N){for(var T=new Float64Array(31),w=0;w<16;++w)for(var S=0;S<16;++S)T[w+S]+=b[w]*N[S];for(var w=0;w<15;++w)T[w]+=38*T[w+16];for(var w=0;w<16;++w)E[w]=T[w];n(E),n(E)}function l(E,b){for(var N=e(),T=0;T<16;++T)N[T]=b[T];for(var T=253;T>=0;--T)a(N,N,N),T!==2&&T!==4&&a(N,N,b);for(var T=0;T<16;++T)E[T]=N[T]}function c(E){E[31]=E[31]&127|64,E[0]&=248}function d(E){for(var b,N=new Uint8Array(32),T=e([1]),w=e([9]),S=e(),K=e([1]),j=e(),te=e(),he=e([56129,1]),me=e([9]),oe=0;oe<32;++oe)N[oe]=E[oe];c(N);for(var oe=254;oe>=0;--oe)b=N[oe>>>3]>>>(oe&7)&1,r(T,w,b),r(S,K,b),s(j,T,S),o(T,T,S),s(S,w,K),o(w,w,K),a(K,j,j),a(te,T,T),a(T,S,T),a(S,w,j),s(j,T,S),o(T,T,S),a(w,T,T),o(S,K,te),a(T,S,he),s(T,T,K),a(S,S,T),a(T,K,te),a(K,w,me),a(w,j,j),r(T,w,b),r(S,K,b);return l(S,S),a(T,T,S),t(N,T),N}function f(){var E=new Uint8Array(32);return window.crypto.getRandomValues(E),E}function h(){var E=f();return c(E),E}function p(E,b){for(var N=Uint8Array.from([b[0]>>2&63,(b[0]<<4|b[1]>>4)&63,(b[1]<<2|b[2]>>6)&63,b[2]&63]),T=0;T<4;++T)E[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(E){var b,N=new Uint8Array(44);for(b=0;b<32/3;++b)p(N.subarray(b*4),E.subarray(b*3));return p(N.subarray(b*4),Uint8Array.from([E[b*3+0],E[b*3+1],0])),N[43]=61,String.fromCharCode.apply(null,N)}function O(E){let b=window.atob(E),N=b.length,T=new Uint8Array(N);for(let S=0;S<N;S++)T[S]=b.charCodeAt(S);return new Uint8Array(T.buffer)}function A(E,b){E.push(b&255,b>>>8&255,b>>>16&255,b>>>24&255)}function x(E,b){E.push(b&255,b>>>8&255)}function L(E,b){for(var N=0;N<b.length;++N)E.push(b[N]&255)}function V(E){for(var b=unescape(encodeURIComponent(E)),N=new Uint8Array(b.length),T=0;T<b.length;++T)N[T]=b.charCodeAt(T);return N}function H(E){if(!H.table){H.table=[];for(var b=0,N=0;N<256;b=++N){for(var T=0;T<8;++T)b=b&1?3988292384^b>>>1:b>>>1;H.table[N]=b}}for(var w=-1,S=0;S<E.length;++S)w=w>>>8^H.table[(w^E[S])&255];return(w^-1)>>>0}function M(E){for(var b=[],N=[],T=0,w=0;w<E.length;++w){var S=V(E[w].fileName),K=V(E[w].file),j=H(K);A(b,67324752),x(b,20),x(b,0),x(b,0),x(b,0),x(b,0),A(b,j),A(b,K.length),A(b,K.length),x(b,S.length),x(b,0),L(b,S),L(b,K),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,K.length),A(N,K.length),x(N,S.length),x(N,0),x(N,0),x(N,0),x(N,0),A(N,32),A(N,T),L(N,S),T+=30+K.length+S.length}return L(b,N),A(b,101010256),x(b,0),x(b,0),x(b,E.length),x(b,E.length),A(b,N.length),A(b,T),x(b,0),Uint8Array.from(b)}window.wireguard={generateKeypair:function(){var E=h(),b=d(E),N=f();return{publicKey:m(b),privateKey:m(E),presharedKey:m(N)}},generatePublicKey:function(E){return E=O(E),m(d(E))},generateZipFiles:function(E,b){var N=E.data,T=M(N),w=new Blob([T],{type:"application/zip"}),S=document.createElement("a");S.download=b,S.href=URL.createObjectURL(w),S.style.display="none",document.body.appendChild(S),S.click(),document.body.removeChild(S)}}})();const Lb=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Pb=["data-bs-theme"],Mb={key:0,class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},kb={class:"container-fluid d-flex text-body align-items-center"},Vb={key:0,class:"bi bi-list"},Fb={key:1,class:"bi bi-x-lg"},Hb={__name:"App",setup(e){const t=Ln();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP?(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0,t.ActiveServerConfiguration&&Nn("/ap
|