2025-08-17 16:11:03 +08:00
|
|
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DNNYGJNG.js","assets/localeText-IWgb3jjT.js","assets/dayjs.min-DfzgISij.js","assets/message-BbMgwdPm.js","assets/message-Bh5W0B3y.css","assets/index-n06B7r3o.css","assets/configurationList-CJIe6SIO.js","assets/protocolBadge-CIPV5pRM.js","assets/storageMount.vue_vue_type_style_index_0_scoped_9509d7a0_lang-W5WxuFyn.js","assets/storageMount-Bw-_Mzzo.css","assets/configurationList-D6DHKux3.css","assets/settings-DaewGhaX.js","assets/vue-datepicker-COurIrvQ.js","assets/settings-CfX7xCKW.css","assets/ping-D2r67TEy.js","assets/osmap-C5d_TZww.js","assets/osmap-DZ_3lbim.css","assets/ping-DgbK5UF9.css","assets/traceroute-CfGjFLHs.js","assets/traceroute-cPX-1ydq.css","assets/newConfiguration-Bm1RdKiG.js","assets/index-6o26Ihmr.js","assets/newConfiguration-oPMsqryI.css","assets/restoreConfiguration-Cc45Wpop.js","assets/restoreConfiguration-Go8Q_2zy.css","assets/systemStatus-CDJI7TSf.js","assets/index-CaZlhoCi.js","assets/systemStatus-CPnafN3D.css","assets/clients-V1xPJ10c.js","assets/DashboardClientAssignmentStore-hnc4wS2g.js","assets/clients-ElMsFHgd.css","assets/clientViewer-BO3xJCwx.js","assets/clientViewer-C3dxR3US.css","assets/peerList-CoKpGl0t.js","assets/peerList-BH1nrHD0.css","assets/signin-Dv_WT7fq.js","assets/signin-CC0REHXm.css","assets/setup-Bd36RYKX.js","assets/totp-DxDD7Jz9.js","assets/browser-CwJzqt71.js","assets/share-DiWC7XJA.js","assets/share-e5E8P3Ro.css"])))=>i.map(i=>d[i]);
|
|
|
|
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function Jy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function vg(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function s(){var r=!1;try{r=this instanceof s}catch{}return r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var Er={exports:{}},Ge="top",Je="bottom",Ze="right",qe="left",Br="auto",ds=[Ge,Je,Ze,qe],Nn="start",es="end",hc="clippingParents",fo="viewport",Wn="popper",pc="reference",Hi=ds.reduce(function(e,t){return e.concat([t+"-"+Nn,t+"-"+es])},[]),ho=[].concat(ds,[Br]).reduce(function(e,t){return e.concat([t,t+"-"+Nn,t+"-"+es])},[]),gc="beforeRead",mc="read",_c="afterRead",vc="beforeMain",Ec="main",yc="afterMain",bc="beforeWrite",Ac="write",Tc="afterWrite",wc=[gc,mc,_c,vc,Ec,yc,bc,Ac,Tc];function Dt(e){return e?(e.nodeName||"").toLowerCase():null}function et(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function xn(e){var t=et(e).Element;return e instanceof t||e instanceof Element}function ct(e){var t=et(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function po(e){if(typeof ShadowRoot>"u")return!1;var t=et(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Eg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},o=t.elements[n];!ct(o)||!Dt(o)||(Object.assign(o.style,s),Object.keys(r).forEach(function(a){var l=r[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function yg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],o=t.attributes[s]||{},a=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=a.reduce(function(c,d){return c[d]="",c},{});!ct(r)||!Dt(r)||(Object.assign(r.style,l),Object.keys(o).forEach(function(c){r.removeAttribute(c)}))})}}const go={name:"applyStyles",enabled:!0,phase:"write",fn:Eg,effect:yg,requires:["computeStyles"]};function $t(e){return e.split("-")[0]}var Tn=Math.max,Or=Math.min,ts=Math.round;function Bi(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Cc(){return!/^((?!chrome|android).)*safari/i.test(Bi())}function ns(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,o=1;t&&ct(e)&&(r=e.offsetWidth>0&&ts(s.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ts(s.height)/e.offsetHeight||1);var a=xn(e)?et(e):window,l=a.visualViewport,c=!Cc()&&n,d=(s.left+(c&&l?l.offsetLeft:0))/r,f=(s.top+(c&&l?l.offsetTop:0))/o,h=s.width/r,p=s.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}function mo(e){var t=ns(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t
|
2025-08-15 21:45:09 +08:00
|
|
|
* Bootstrap v5.3.7 (https://getbootstrap.com/)
|
|
|
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
2025-08-17 16:11:03 +08:00
|
|
|
*/var lm=Er.exports,Ja;function cm(){return Ja||(Ja=1,function(e,t){(function(n,s){e.exports=s(am)})(lm,function(n){function s(m){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(m){for(const u in m)if(u!=="default"){const E=Object.getOwnPropertyDescriptor(m,u);Object.defineProperty(i,u,E.get?E:{enumerable:!0,get:()=>m[u]})}}return i.default=m,Object.freeze(i)}const r=s(n),o=new Map,a={set(m,i,u){o.has(m)||o.set(m,new Map);const E=o.get(m);if(!E.has(i)&&E.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(E.keys())[0]}.`);return}E.set(i,u)},get(m,i){return o.has(m)&&o.get(m).get(i)||null},remove(m,i){if(!o.has(m))return;const u=o.get(m);u.delete(i),u.size===0&&o.delete(m)}},l=1e6,c=1e3,d="transitionend",f=m=>(m&&window.CSS&&window.CSS.escape&&(m=m.replace(/#([^\s"#']+)/g,(i,u)=>`#${CSS.escape(u)}`)),m),h=m=>m==null?`${m}`:Object.prototype.toString.call(m).match(/\s([a-z]+)/i)[1].toLowerCase(),p=m=>{do m+=Math.floor(Math.random()*l);while(document.getElementById(m));return m},_=m=>{if(!m)return 0;let{transitionDuration:i,transitionDelay:u}=window.getComputedStyle(m);const E=Number.parseFloat(i),R=Number.parseFloat(u);return!E&&!R?0:(i=i.split(",")[0],u=u.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(u))*c)},O=m=>{m.dispatchEvent(new Event(d))},A=m=>!m||typeof m!="object"?!1:(typeof m.jquery<"u"&&(m=m[0]),typeof m.nodeType<"u"),D=m=>A(m)?m.jquery?m[0]:m:typeof m=="string"&&m.length>0?document.querySelector(f(m)):null,P=m=>{if(!A(m)||m.getClientRects().length===0)return!1;const i=getComputedStyle(m).getPropertyValue("visibility")==="visible",u=m.closest("details:not([open])");if(!u)return i;if(u!==m){const E=m.closest("summary");if(E&&E.parentNode!==u||E===null)return!1}return i},H=m=>!m||m.nodeType!==Node.ELEMENT_NODE||m.classList.contains("disabled")?!0:typeof m.disabled<"u"?m.disabled:m.hasAttribute("disabled")&&m.getAttribute("disabled")!=="false",F=m=>{if(!document.documentElement.attachShadow)return null;if(typeof m.getRootNode=="function"){const i=m.getRootNode();return i instanceof ShadowRoot?i:null}return m instanceof ShadowRoot?m:m.parentNode?F(m.parentNode):null},k=()=>{},b=m=>{m.offsetHeight},y=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,N=[],w=m=>{document.readyState==="loading"?(N.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of N)i()}),N.push(m)):m()},T=()=>document.documentElement.dir==="rtl",S=m=>{w(()=>{const i=y();if(i){const u=m.NAME,E=i.fn[u];i.fn[u]=m.jQueryInterface,i.fn[u].Constructor=m,i.fn[u].noConflict=()=>(i.fn[u]=E,m.jQueryInterface)}})},K=(m,i=[],u=m)=>typeof m=="function"?m.call(...i):u,B=(m,i,u=!0)=>{if(!u){K(m);return}const R=_(i)+5;let G=!1;const U=({target:le})=>{le===i&&(G=!0,i.removeEventListener(d,U),K(m))};i.addEventListener(d,U),setTimeout(()=>{G||O(i)},R)},Q=(m,i,u,E)=>{const R=m.length;let G=m.indexOf(i);return G===-1?!u&&E?m[R-1]:m[0]:(G+=u?1:-1,E&&(G=(G+R)%R),m[Math.max(0,Math.min(G,R-1))])},oe=/[^.]*(?=\..*)\.|.*/,de=/\..*/,te=/::\d+$/,ee={};let ce=1;const we={mouseenter:"mouseover",mouseleave:"mouseout"},Be=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Le(m,i){return i&&`${i}::${ce++}`||m.uidEvent||ce++}function be(m){const i=Le(m);return m.uidEvent=i,ee[i]=ee[i]||{},ee[i]}function Qe(m,i){return function u(E){return g(E,{delegateTarget:m}),u.oneOff&&$.off(m,E.type,i),i.apply(m,[E])}}function je(m,i,u){return function E(R){const G=m.querySelectorAll(i);for(let{target:U}=R;U&&U!==this;U=U.parentNode)for(const le of
|
2025-08-15 21:45:09 +08:00
|
|
|
* @vue/shared v3.5.17
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
|
|
|
**//*! #__NO_SIDE_EFFECTS__ */function wo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const me={},zn=[],Et=()=>{},um=()=>!1,Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Co=e=>e.startsWith("onUpdate:"),xe=Object.assign,So=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fm=Object.prototype.hasOwnProperty,ge=(e,t)=>fm.call(e,t),se=Array.isArray,Xn=e=>qs(e)==="[object Map]",hs=e=>qs(e)==="[object Set]",Za=e=>qs(e)==="[object Date]",ie=e=>typeof e=="function",ye=e=>typeof e=="string",bt=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",Oo=e=>(_e(e)||ie(e))&&ie(e.then)&&ie(e.catch),kc=Object.prototype.toString,qs=e=>kc.call(e),dm=e=>qs(e).slice(8,-1),Vc=e=>qs(e)==="[object Object]",No=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xs=wo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ur=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hm=/-(\w)/g,ht=Ur(e=>e.replace(hm,(t,n)=>n?n.toUpperCase():"")),pm=/\B([A-Z])/g,cn=Ur(e=>e.replace(pm,"-$1").toLowerCase()),Yr=Ur(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ti=Ur(e=>e?`on${Yr(e)}`:""),nn=(e,t)=>!Object.is(e,t),br=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ki=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Fc=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let el;const Gr=()=>el||(el=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qr(e){if(se(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ye(s)?vm(s):qr(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(ye(e)||_e(e))return e}const gm=/;(?![^(]*\))/g,mm=/:([^]+)/,_m=/\/\*[^]*?\*\//g;function vm(e){const t={};return e.replace(_m,"").split(gm).forEach(n=>{if(n){const s=n.split(mm);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function zr(e){let t="";if(ye(e))t=e;else if(se(e))for(let n=0;n<e.length;n++){const s=zr(e[n]);s&&(t+=s+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Zy(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ye(t)&&(e.class=zr(t)),n&&(e.style=qr(n)),e}const Em="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ym=wo(Em);function Hc(e){return!!e||e===""}function bm(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=$n(e[s],t[s]);return n}function $n(e,t){if(e===t)return!0;let n=Za(e),s=Za(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=bt(e),s=bt(t),n||s)return e===t;if(n=se(e),s=se(t),n||s)return n&&s?bm(e,t):!1;if(n=_e(e),s=_e(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const a in e){const l=e.hasOwnProperty(a),c=t.hasOwnProperty(a);if(l&&!c||!l&&c||!$n(e[a],t[a]))return!1}}return String(e)===String(t)}function xo(e,t){return e.findIndex(n=>$n(n,t))}const Bc=e=>!!(e&&e.__v_isRef===!0),Am=e=>ye(e)?e:e==null?"":se(e)||_e(e)&&(e.toString===kc||!ie(e.toString))?Bc(e)?Am(e.value):JSON.stringify(e,jc,2):String(e),jc=(e,t)=>Bc(t)?jc(e,t.value):Xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[wi(s,o)+" =>"]=r,n),{})}:hs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>wi(n))}:bt(t)?wi(t):_e(t)&&!se(t)&&!Vc(t)?String(t):t,wi=(e,t="")=>{var n;return bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
|
|
* @vue/reactivity v3.5.17
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
2025-08-17 16:11:03 +08:00
|
|
|
**/let Fe;class Kc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){++this._on===1&&(this.prevScope=Fe,Fe=this)}off(){this._on>0&&--this._on===0&&(Fe=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Wc(e){return new Kc(e)}function Uc(){return Fe}function Tm(e,t=!1){Fe&&Fe.cleanups.push(e)}let ve;const Ci=new WeakSet;class Yc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Fe&&Fe.active&&Fe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ci.has(this)&&(Ci.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||qc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tl(this),zc(this);const t=ve,n=yt;ve=this,yt=!0;try{return this.fn()}finally{Xc(this),ve=t,yt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Lo(t);this.deps=this.depsTail=void 0,tl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ci.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Wi(this)&&this.run()}get dirty(){return Wi(this)}}let Gc=0,$s,Ds;function qc(e,t=!1){if(e.flags|=8,t){e.next=Ds,Ds=e;return}e.next=$s,$s=e}function $o(){Gc++}function Do(){if(--Gc>0)return;if(Ds){let t=Ds;for(Ds=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$s;){let t=$s;for($s=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function zc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xc(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Lo(s),wm(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Wi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Qc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Qc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Fs)||(e.globalVersion=Fs,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Wi(e))))return;e.flags|=2;const t=e.dep,n=ve,s=yt;ve=e,yt=!0;try{zc(e);const r=e.fn(e._value);(t.version===0||nn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ve=n,yt=s,Xc(e),e.flags&=-3}}function Lo(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Lo(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wm(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let yt=!0;const Jc=[];function Bt(){Jc.push(yt),yt=!1}function jt(){const e=Jc.pop();yt=e===void 0?!0:e}function tl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ve;ve=void 0;try{t()}finally{ve=n}}}let Fs=0;class Cm{constructor(t
|
2025-08-15 21:45:09 +08:00
|
|
|
* @vue/runtime-core v3.5.17
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
2025-08-17 16:11:03 +08:00
|
|
|
**/function Xs(e,t,n,s){try{return s?e(...s):e()}catch(r){ps(r,t,n)}}function At(e,t,n,s){if(ie(e)){const r=Xs(e,t,n,s);return r&&Oo(r)&&r.catch(o=>{ps(o,t,n)}),r}if(se(e)){const r=[];for(let o=0;o<e.length;o++)r.push(At(e[o],t,n,s));return r}}function ps(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||me;if(t){let l=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,d)===!1)return}l=l.parent}if(o){Bt(),Xs(o,null,10,[e,c,d]),jt();return}}Jm(e,n,r,s,a)}function Jm(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Ue=[];let Ot=-1;const Qn=[];let Qt=null,Un=0;const du=Promise.resolve();let Lr=null;function Jr(e){const t=Lr||du;return e?t.then(this?e.bind(this):e):t}function Zm(e){let t=Ot+1,n=Ue.length;for(;t<n;){const s=t+n>>>1,r=Ue[s],o=Bs(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function ko(e){if(!(e.flags&1)){const t=Bs(e),n=Ue[Ue.length-1];!n||!(e.flags&2)&&t>=Bs(n)?Ue.push(e):Ue.splice(Zm(t),0,e),e.flags|=1,hu()}}function hu(){Lr||(Lr=du.then(gu))}function Rr(e){se(e)?Qn.push(...e):Qt&&e.id===-1?Qt.splice(Un+1,0,e):e.flags&1||(Qn.push(e),e.flags|=1),hu()}function sl(e,t,n=Ot+1){for(;n<Ue.length;n++){const s=Ue[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ue.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function pu(e){if(Qn.length){const t=[...new Set(Qn)].sort((n,s)=>Bs(n)-Bs(s));if(Qn.length=0,Qt){Qt.push(...t);return}for(Qt=t,Un=0;Un<Qt.length;Un++){const n=Qt[Un];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Qt=null,Un=0}}const Bs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function gu(e){try{for(Ot=0;Ot<Ue.length;Ot++){const t=Ue[Ot];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Xs(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ot<Ue.length;Ot++){const t=Ue[Ot];t&&(t.flags&=-2)}Ot=-1,Ue.length=0,pu(),Lr=null,(Ue.length||Qn.length)&&gu()}}let Ne=null,mu=null;function Ir(e){const t=Ne;return Ne=e,mu=e&&e.type.__scopeId||null,t}function Yn(e,t=Ne,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&El(-1);const o=Ir(t);let a;try{a=e(...r)}finally{Ir(o),s._d&&El(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function nb(e,t){if(Ne===null)return e;const n=ni(Ne),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,a,l,c=me]=t[r];o&&(ie(o)&&(o={mounted:o,updated:o}),o.deep&&Vt(a),s.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function En(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];o&&(l.oldValue=o[a].value);let c=l.dir[s];c&&(Bt(),At(c,n,8,[e.el,l,e,t]),jt())}}const _u=Symbol("_vte"),vu=e=>e.__isTeleport,Ls=e=>e&&(e.disabled||e.disabled===""),rl=e=>e&&(e.defer||e.defer===""),il=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ol=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Gi=(e,t)=>{const n=e&&e.to;return ye(n)?t?t(n):null:n},Eu={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,a,l,c,d){const{mc:f,pc:h,pbc:p,o:{insert:_,querySelector:O,createText:A,createComment:D}}=d,P=Ls(t.props);let{shapeFlag:H,children:F,dynamicChildren:k}=t;if(e==null){const b=t.el=A(""),y=t.anchor=A("");_(b,n,s),_(y,n,s);const N=(T,S)=>{H&16&&(r&&r.isCE&&(r.ce._teleportTarget=T),f(F,T,S,r,o,a,l,c))},w=()=>{const T=t.target=Gi(t.props,O),S=yu(T,t,A,_);T&&(a!=="svg"&&il(T)?a="svg":a!=="mathml"&&ol(T)&&(a="mathml"),P||(N(T,S),Ar(t,!1)))};P&&(N(n,y),Ar(t,!0)),rl(t.props)?(t.el.__isMounted=!1,We(()=>{w(),delete t.el.__isMounted},o)):w()}else{if(rl(t.props)&&e.el.__isMounted===!1){We(()=>{Eu.process(e,t,n,s,r,o,a,l,c,d)},o);return}t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,y=t.target=e.target,N=t.targetAnchor=e.targetAnchor,w=Ls(e.props),T=w?n:y,S=w?b:N;if(a==="svg"||il(y)?a="svg":(a==="mathml"||ol(y))&&(a="mathml"),k?(p(e.dynamicChildren,k,T,r,o,a,l),Go(e,t,!0)):c||h(e,t,T,S,r,o,a,l,!1),P)w?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gr(t,n,b,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=Gi(t.props,O);K
|
2025-08-15 21:45:09 +08:00
|
|
|
* @vue/runtime-dom v3.5.17
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
* @license MIT
|
2025-08-17 16:11:03 +08:00
|
|
|
**/let no;const yl=typeof window<"u"&&window.trustedTypes;if(yl)try{no=yl.createPolicy("vue",{createHTML:e=>e})}catch{}const nf=no?e=>no.createHTML(e):e=>e,fv="http://www.w3.org/2000/svg",dv="http://www.w3.org/1998/Math/MathML",Mt=typeof document<"u"?document:null,bl=Mt&&Mt.createElement("template"),hv={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Mt.createElementNS(fv,e):t==="mathml"?Mt.createElementNS(dv,e):n?Mt.createElement(e,{is:n}):Mt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{bl.innerHTML=nf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=bl.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gt="transition",Ts="animation",ls=Symbol("_vtc"),sf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},rf=xe({},Au,sf),pv=e=>(e.displayName="Transition",e.props=rf,e),Al=pv((e,{slots:t})=>Xo(n_,of(e),t)),bn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tl=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function of(e){const t={};for(const B in e)B in sf||(t[B]=e[B]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:d=a,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,O=gv(r),A=O&&O[0],D=O&&O[1],{onBeforeEnter:P,onEnter:H,onEnterCancelled:F,onLeave:k,onLeaveCancelled:b,onBeforeAppear:y=P,onAppear:N=H,onAppearCancelled:w=F}=t,T=(B,Q,oe,de)=>{B._enterCancelled=de,zt(B,Q?f:l),zt(B,Q?d:a),oe&&oe()},S=(B,Q)=>{B._isLeaving=!1,zt(B,h),zt(B,_),zt(B,p),Q&&Q()},K=B=>(Q,oe)=>{const de=B?N:H,te=()=>T(Q,B,oe);bn(de,[Q,te]),wl(()=>{zt(Q,B?c:o),St(Q,B?f:l),Tl(de)||Cl(Q,s,A,te)})};return xe(t,{onBeforeEnter(B){bn(P,[B]),St(B,o),St(B,a)},onBeforeAppear(B){bn(y,[B]),St(B,c),St(B,d)},onEnter:K(!1),onAppear:K(!0),onLeave(B,Q){B._isLeaving=!0;const oe=()=>S(B,Q);St(B,h),B._enterCancelled?(St(B,p),so()):(so(),St(B,p)),wl(()=>{B._isLeaving&&(zt(B,h),St(B,_),Tl(k)||Cl(B,s,D,oe))}),bn(k,[B,oe])},onEnterCancelled(B){T(B,!1,void 0,!0),bn(F,[B])},onAppearCancelled(B){T(B,!0,void 0,!0),bn(w,[B])},onLeaveCancelled(B){S(B),bn(b,[B])}})}function gv(e){if(e==null)return null;if(_e(e))return[Li(e.enter),Li(e.leave)];{const t=Li(e);return[t,t]}}function Li(e){return Fc(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ls]||(e[ls]=new Set)).add(t)}function zt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ls];n&&(n.delete(t),n.size||(e[ls]=void 0))}function wl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mv=0;function Cl(e,t,n,s){const r=e._endId=++mv,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:c}=af(e,t);if(!a)return s();const d=a+"end";let f=0;const h=()=>{e.removeEventListener(d,p),o()},p=_=>{_.target===e&&++f>=c&&h()};setTimeout(()=>{f<c&&h()},l+1),e.addEventListener(d,p)}function af(e,t){const n=window.getComputedStyle(e),s=O=>(n[O]||"").split(", "),r=s(`${Gt}Delay`),o=s(`${Gt}Duration`),a=Sl(r,o),l=s(`${Ts}Delay`),c=s
|
2025-08-15 21:45:09 +08:00
|
|
|
* pinia v3.0.3
|
|
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
|
|
* @license MIT
|
2025-08-17 16:11:03 +08:00
|
|
|
*/let pf;const si=e=>pf=e,gf=Symbol();function io(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ms;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ms||(Ms={}));function qv(){const e=Wc(!0),t=e.run(()=>Cn({}));let n=[],s=[];const r=Qr({install(o){si(r),r._a=o,o.provide(gf,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const mf=()=>{};function jl(e,t,n,s=mf){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Uc()&&Tm(r),r}function Kn(e,...t){e.slice().forEach(n=>{n(...t)})}const zv=e=>e(),Kl=Symbol(),Pi=Symbol();function oo(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];io(r)&&io(s)&&e.hasOwnProperty(n)&&!Ae(s)&&!sn(s)?e[n]=oo(r,s):e[n]=s}return e}const Xv=Symbol();function Qv(e){return!io(e)||!Object.prototype.hasOwnProperty.call(e,Xv)}const{assign:Xt}=Object;function Jv(e){return!!(Ae(e)&&e.effect)}function Zv(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let c;function d(){l||(n.state.value[e]=r?r():{});const f=Um(n.state.value[e]);return Xt(f,o,Object.keys(a||{}).reduce((h,p)=>(h[p]=Qr(lt(()=>{si(n);const _=n._s.get(e);return a[p].call(_,_)})),h),{}))}return c=_f(e,d,t,n,s,!0),c}function _f(e,t,n={},s,r,o){let a;const l=Xt({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],_;const O=s.state.value[e];!o&&!O&&(s.state.value[e]={}),Cn({});let A;function D(w){let T;d=f=!1,typeof w=="function"?(w(s.state.value[e]),T={type:Ms.patchFunction,storeId:e,events:_}):(oo(s.state.value[e],w),T={type:Ms.patchObject,payload:w,storeId:e,events:_});const S=A=Symbol();Jr().then(()=>{A===S&&(d=!0)}),f=!0,Kn(h,T,s.state.value[e])}const P=o?function(){const{state:T}=n,S=T?T():{};this.$patch(K=>{Xt(K,S)})}:mf;function H(){a.stop(),h=[],p=[],s._s.delete(e)}const F=(w,T="")=>{if(Kl in w)return w[Pi]=T,w;const S=function(){si(s);const K=Array.from(arguments),B=[],Q=[];function oe(ee){B.push(ee)}function de(ee){Q.push(ee)}Kn(p,{args:K,name:S[Pi],store:b,after:oe,onError:de});let te;try{te=w.apply(this&&this.$id===e?this:b,K)}catch(ee){throw Kn(Q,ee),ee}return te instanceof Promise?te.then(ee=>(Kn(B,ee),ee)).catch(ee=>(Kn(Q,ee),Promise.reject(ee))):(Kn(B,te),te)};return S[Kl]=!0,S[Pi]=T,S},k={_p:s,$id:e,$onAction:jl.bind(null,p),$patch:D,$reset:P,$subscribe(w,T={}){const S=jl(h,w,T.detached,()=>K()),K=a.run(()=>On(()=>s.state.value[e],B=>{(T.flush==="sync"?f:d)&&w({storeId:e,type:Ms.direct,events:_},B)},Xt({},c,T)));return S},$dispose:H},b=zs(k);s._s.set(e,b);const N=(s._a&&s._a.runWithContext||zv)(()=>s._e.run(()=>(a=Wc()).run(()=>t({action:F}))));for(const w in N){const T=N[w];if(Ae(T)&&!Jv(T)||sn(T))o||(O&&Qv(T)&&(Ae(T)?T.value=O[w]:oo(T,O[w])),s.state.value[e][w]=T);else if(typeof T=="function"){const S=F(T,w);N[w]=S,l.actions[w]=T}}return Xt(b,N),Xt(fe(b),N),Object.defineProperty(b,"$state",{get:()=>s.state.value[e],set:w=>{D(T=>{Xt(T,w)})}}),s._p.forEach(w=>{Xt(b,a.run(()=>w({store:b,app:s._a,pinia:s,options:l})))}),O&&o&&n.hydrate&&n.hydrate(b.$state,O),d=!0,f=!0,b}/*! #__NO_SIDE_EFFECTS__ */function vf(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const c=T_();return a=a||(c?ft(gf,null):null),a&&si(a),a=pf,a._s.has(e)||(r?_f(e,t,s,a):Zv(e,s,a)),a._s.get(e)}return o.$id=e,o}const eE="/static/app/dist/img/Logo-2-Rounded-512x512.png";/*!
|
2025-08-15 21:45:09 +08:00
|
|
|
* vue-router v4.5.1
|
|
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
|
|
* @license MIT
|
2025-08-17 16:11:03 +08:00
|
|
|
*/const Gn=typeof document<"u";function Ef(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tE(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ef(e.default)}const pe=Object.assign;function Mi(e,t){const n={};for(const s in t){const r=t[s];n[s]=Tt(r)?r.map(e):e(r)}return n}const ks=()=>{},Tt=Array.isArray,yf=/#/g,nE=/&/g,sE=/\//g,rE=/=/g,iE=/\?/g,bf=/\+/g,oE=/%5B/g,aE=/%5D/g,Af=/%5E/g,lE=/%60/g,Tf=/%7B/g,cE=/%7C/g,wf=/%7D/g,uE=/%20/g;function Qo(e){return encodeURI(""+e).replace(cE,"|").replace(oE,"[").replace(aE,"]")}function fE(e){return Qo(e).replace(Tf,"{").replace(wf,"}").replace(Af,"^")}function ao(e){return Qo(e).replace(bf,"%2B").replace(uE,"+").replace(yf,"%23").replace(nE,"%26").replace(lE,"`").replace(Tf,"{").replace(wf,"}").replace(Af,"^")}function dE(e){return ao(e).replace(rE,"%3D")}function hE(e){return Qo(e).replace(yf,"%23").replace(iE,"%3F")}function pE(e){return e==null?"":hE(e).replace(sE,"%2F")}function Us(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const gE=/\/$/,mE=e=>e.replace(gE,"");function ki(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let c=t.indexOf("?");return l<c&&l>=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=yE(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Us(a)}}function _E(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function vE(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&us(t.matched[s],n.matched[r])&&Cf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function us(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Cf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!EE(e[n],t[n]))return!1;return!0}function EE(e,t){return Tt(e)?Ul(e,t):Tt(t)?Ul(t,e):e===t}function Ul(e,t){return Tt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function yE(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a<s.length;a++)if(l=s[a],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ys;(function(e){e.pop="pop",e.push="push"})(Ys||(Ys={}));var Vs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Vs||(Vs={}));function bE(e){if(!e)if(Gn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),mE(e)}const AE=/^[^#]+#/;function TE(e,t){return e.replace(AE,"#")+t}function wE(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ri=()=>({left:window.scrollX,top:window.scrollY});function CE(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=wE(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Yl(e,t){return(history.state?history.state.position-t:-1)+e}const lo=new Map;function SE(e,t){lo.set(e,t)}function OE(e){const t=lo.get(e);return lo.delete(e),t}let NE=()=>location.protocol+"//"+location.host;function Sf(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(l);return c[0]!=="/"&&(c="/"+c),Wl(c,"")}return Wl(n,e)+s+r}function xE(e,t,n,s){let r=[],o=[],a=null;const l=({state:p})=>{const _=Sf(e,location),O=n.value,A=t.value;let D=0;if(p){if(n.value=_,t.value=p,a&&a===O){a=null;return}D=A?p.position
|
2025-08-15 21:45:09 +08:00
|
|
|
(?:
|
|
|
|
(?:${Se}:){7}(?:${Se}|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
|
(?:${Se}:){6}(?:${_t}|:${Se}|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
|
|
(?:${Se}:){5}(?::${_t}|(?::${Se}){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
|
|
(?:${Se}:){4}(?:(?::${Se}){0,1}:${_t}|(?::${Se}){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
|
|
(?:${Se}:){3}(?:(?::${Se}){0,2}:${_t}|(?::${Se}){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
|
|
(?:${Se}:){2}(?:(?::${Se}){0,3}:${_t}|(?::${Se}){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
|
(?:${Se}:){1}(?:(?::${Se}){0,4}:${_t}|(?::${Se}){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
|
(?::(?:(?::${Se}){0,5}:${_t}|(?::${Se}){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
|
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
2025-08-17 16:11:03 +08:00
|
|
|
`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),ay=new RegExp(`(?:^${_t}$)|(?:^${oi}$)`),ly=new RegExp(`^${_t}$`),cy=new RegExp(`^${oi}$`),ai=e=>e&&e.exact?ay:new RegExp(`(?:${tn(e)}${_t}${tn(e)})|(?:${tn(e)}${oi}${tn(e)})`,"g");ai.v4=e=>e&&e.exact?ly:new RegExp(`${tn(e)}${_t}${tn(e)}`,"g");ai.v6=e=>e&&e.exact?cy:new RegExp(`${tn(e)}${oi}${tn(e)}`,"g");const Lf={exact:!1},Rf=`${ai.v4().source}\\/(3[0-2]|[12]?[0-9])`,If=`${ai.v6().source}\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])`,uy=new RegExp(`^${Rf}$`),fy=new RegExp(`^${If}$`),dy=({exact:e}=Lf)=>e?uy:new RegExp(Rf,"g"),hy=({exact:e}=Lf)=>e?fy:new RegExp(If,"g"),Pf=dy({exact:!0}),Mf=hy({exact:!0}),Zo=e=>Pf.test(e)?4:Mf.test(e)?6:0;Zo.v4=e=>Pf.test(e);Zo.v6=e=>Mf.test(e);const ot=e=>{const t=un();if(t.Locale===null)return e;const s=Object.keys(t.Locale).filter(r=>e.match(new RegExp("^"+r+"$","gi"))!==null);return s.length===0||s.length>1||t.Locale[s[0]].length===0?e:e.replace(new RegExp(s[0],"gi"),t.Locale[s[0]])},py=vf("WireguardConfigurationsStore",{state:()=>({Configurations:[],ConfigurationLoaded:!1,searchString:"",ConfigurationListInterval:void 0,SortOptions:{Name:ot("Name"),Status:ot("Status"),"DataUsage.Total":ot("Total Usage")},CurrentSort:{key:"Name",order:"asc"},CurrentDisplay:"List",PeerScheduleJobs:{dropdowns:{Field:[{display:ot("Total Received"),value:"total_receive",unit:"GB",type:"number"},{display:ot("Total Sent"),value:"total_sent",unit:"GB",type:"number"},{display:ot("Total Usage"),value:"total_data",unit:"GB",type:"number"},{display:ot("Date"),value:"date",type:"date"}],Operator:[{display:ot("larger than"),value:"lgt"}],Action:[{display:ot("Restrict Peer"),value:"restrict"},{display:ot("Delete Peer"),value:"delete"}]}}}),getters:{sortConfigurations(){return[...this.Configurations].sort((e,t)=>this.CurrentSort.order==="desc"?this.dotNotation(e,this.CurrentSort.key)<this.dotNotation(t,this.CurrentSort.key)?1:this.dotNotation(e,this.CurrentSort.key)>this.dotNotation(t,this.CurrentSort.key)?-1:0:this.dotNotation(e,this.CurrentSort.key)>this.dotNotation(t,this.CurrentSort.key)?1:this.dotNotation(e,this.CurrentSort.key)<this.dotNotation(t,this.CurrentSort.key)?-1:0)}},actions:{async getConfigurations(){await Hr("/api/getWireguardConfigurations",{},e=>{e.status&&(this.Configurations=e.data),this.ConfigurationLoaded=!0})},dotNotation(e,t){let n=t.split(".").reduce((s,r)=>s&&s[r],e);return typeof n=="string"?n.toLowerCase():n},regexCheckIP(e){return/((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))/.test(e)},checkCIDR(e){return Zo(e)!==0},checkWGKeyLength(e){return/^[A-Za-z0-9+/]{43}=?=?$/.test(e)}},persist:{pick:["CurrentSort","CurrentDisplay"]}}),gy=async()=>{let e=!1;return await Hr("/api/validateAuthentication",{},t=>{e=t.status}),e},ms=ny({history:LE(),scrollBehavior(){document.querySelector("main")!==null&&document.querySelector("main").scrollTo({top:0})},routes:[{name:"Index",path:"/",component:()=>Ve(()=>import("./index-DNNYG
|
2025-08-15 21:45:09 +08:00
|
|
|
*
|
|
|
|
* Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
|
2025-08-17 16:11:03 +08:00
|
|
|
*/(function(){function e(b){var y=new Float64Array(16);if(b)for(var N=0;N<b.length;++N)y[N]=b[N];return y}function t(b,y){for(var N,w=e(),T=e(),S=0;S<16;++S)T[S]=y[S];n(T),n(T),n(T);for(var K=0;K<2;++K){w[0]=T[0]-65517;for(var S=1;S<15;++S)w[S]=T[S]-65535-(w[S-1]>>16&1),w[S-1]&=65535;w[15]=T[15]-32767-(w[14]>>16&1),N=w[15]>>16&1,w[14]&=65535,s(T,w,1-N)}for(var S=0;S<16;++S)b[2*S]=T[S]&255,b[2*S+1]=T[S]>>8}function n(b){for(var y=0;y<16;++y)b[(y+1)%16]+=(y<15?1:38)*Math.floor(b[y]/65536),b[y]&=65535}function s(b,y,N){for(var w,T=~(N-1),S=0;S<16;++S)w=T&(b[S]^y[S]),b[S]^=w,y[S]^=w}function r(b,y,N){for(var w=0;w<16;++w)b[w]=y[w]+N[w]|0}function o(b,y,N){for(var w=0;w<16;++w)b[w]=y[w]-N[w]|0}function a(b,y,N){for(var w=new Float64Array(31),T=0;T<16;++T)for(var S=0;S<16;++S)w[T+S]+=y[T]*N[S];for(var T=0;T<15;++T)w[T]+=38*w[T+16];for(var T=0;T<16;++T)b[T]=w[T];n(b),n(b)}function l(b,y){for(var N=e(),w=0;w<16;++w)N[w]=y[w];for(var w=253;w>=0;--w)a(N,N,N),w!==2&&w!==4&&a(N,N,y);for(var w=0;w<16;++w)b[w]=N[w]}function c(b){b[31]=b[31]&127|64,b[0]&=248}function d(b){for(var y,N=new Uint8Array(32),w=e([1]),T=e([9]),S=e(),K=e([1]),B=e(),Q=e(),oe=e([56129,1]),de=e([9]),te=0;te<32;++te)N[te]=b[te];c(N);for(var te=254;te>=0;--te)y=N[te>>>3]>>>(te&7)&1,s(w,T,y),s(S,K,y),r(B,w,S),o(w,w,S),r(S,T,K),o(T,T,K),a(K,B,B),a(Q,w,w),a(w,S,w),a(S,T,B),r(B,w,S),o(w,w,S),a(T,w,w),o(S,K,Q),a(w,S,oe),r(w,w,K),a(S,S,w),a(w,K,Q),a(K,T,de),a(T,B,B),s(w,T,y),s(S,K,y);return l(S,S),a(w,w,S),t(N,w),N}function f(){var b=new Uint8Array(32);return window.crypto.getRandomValues(b),b}function h(){var b=f();return c(b),b}function p(b,y){for(var N=Uint8Array.from([y[0]>>2&63,(y[0]<<4|y[1]>>4)&63,(y[1]<<2|y[2]>>6)&63,y[2]&63]),w=0;w<4;++w)b[w]=N[w]+65+(25-N[w]>>8&6)-(51-N[w]>>8&75)-(61-N[w]>>8&15)+(62-N[w]>>8&3)}function _(b){var y,N=new Uint8Array(44);for(y=0;y<32/3;++y)p(N.subarray(y*4),b.subarray(y*3));return p(N.subarray(y*4),Uint8Array.from([b[y*3+0],b[y*3+1],0])),N[43]=61,String.fromCharCode.apply(null,N)}function O(b){let y=window.atob(b),N=y.length,w=new Uint8Array(N);for(let S=0;S<N;S++)w[S]=y.charCodeAt(S);return new Uint8Array(w.buffer)}function A(b,y){b.push(y&255,y>>>8&255,y>>>16&255,y>>>24&255)}function D(b,y){b.push(y&255,y>>>8&255)}function P(b,y){for(var N=0;N<y.length;++N)b.push(y[N]&255)}function H(b){for(var y=unescape(encodeURIComponent(b)),N=new Uint8Array(y.length),w=0;w<y.length;++w)N[w]=y.charCodeAt(w);return N}function F(b){if(!F.table){F.table=[];for(var y=0,N=0;N<256;y=++N){for(var w=0;w<8;++w)y=y&1?3988292384^y>>>1:y>>>1;F.table[N]=y}}for(var T=-1,S=0;S<b.length;++S)T=T>>>8^F.table[(T^b[S])&255];return(T^-1)>>>0}function k(b){for(var y=[],N=[],w=0,T=0;T<b.length;++T){var S=H(b[T].fileName),K=H(b[T].file),B=F(K);A(y,67324752),D(y,20),D(y,0),D(y,0),D(y,0),D(y,0),A(y,B),A(y,K.length),A(y,K.length),D(y,S.length),D(y,0),P(y,S),P(y,K),A(N,33639248),D(N,0),D(N,20),D(N,0),D(N,0),D(N,0),D(N,0),A(N,B),A(N,K.length),A(N,K.length),D(N,S.length),D(N,0),D(N,0),D(N,0),D(N,0),A(N,32),A(N,w),P(N,S),w+=30+K.length+S.length}return P(y,N),A(y,101010256),D(y,0),D(y,0),D(y,b.length),D(y,b.length),A(y,N.length),A(y,w),D(y,0),Uint8Array.from(y)}window.wireguard={generateKeypair:function(){var b=h(),y=d(b),N=f();return{publicKey:_(y),privateKey:_(b),presharedKey:_(N)}},generatePublicKey:function(b){return b=O(b),_(d(b))},generateZipFiles:function(b,y){var N=b.data,w=k(N),T=new Blob([w],{type:"application/zip"}),S=document.createElement("a");S.download=y,S.href=URL.createObjectURL(T),S.style.display="none",document.body.appendChild(S),S.click(),document.body.removeChild(S)}}})();const yy=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},by={class:"h-100"},Ay={key:0,class:"navbar bg-dark sticky-top","data-bs-theme":"dark"},Ty={class:"container-fluid d-flex text-body align-items-center"},wy={key:0,class:"bi bi-list"},Cy={key:1,class:"bi bi-x-lg"},Sy={__name:"App",setup(e){const t=un();t.initCrossServerConfiguration(),window.IS_WGDASHBOARD_DESKTOP&&(t.IsElectronApp=!0,t.CrossServerConfiguration.Enable=!0),On(t.CrossServerConfiguration,()=>{t.syn
|