diff --git a/public/theme/Xboard/assets/umi.js b/public/theme/Xboard/assets/umi.js index 585627d..a6d7a93 100644 --- a/public/theme/Xboard/assets/umi.js +++ b/public/theme/Xboard/assets/umi.js @@ -11,7 +11,7 @@ var Sk=Object.defineProperty;var kk=(e,t,n)=>t in e?Sk(e,t,{enumerable:!0,config `).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&HP[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Ug=Symbol("internals");function Ga(e){return e&&String(e).trim().toLowerCase()}function Zl(e){return e===!1||e==null?e:$e.isArray(e)?e.map(Zl):String(e)}function UP(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const VP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fd(e,t,n,o,r){if($e.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!$e.isString(t)){if($e.isString(o))return t.indexOf(o)!==-1;if($e.isRegExp(o))return o.test(t)}}function WP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function qP(e,t){const n=$e.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class ru{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=Ga(l);if(!u)throw new Error("header name must be a non-empty string");const d=$e.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=Zl(s))}const a=(s,l)=>$e.forEach(s,(c,u)=>i(c,u,l));return $e.isPlainObject(t)||t instanceof this.constructor?a(t,n):$e.isString(t)&&(t=t.trim())&&!VP(t)?a(jP(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=Ga(t),t){const o=$e.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return UP(r);if($e.isFunction(n))return n.call(this,r,o);if($e.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ga(t),t){const o=$e.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||fd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=Ga(a),a){const s=$e.findKey(o,a);s&&(!n||fd(o,o[s],s,n))&&(delete o[s],r=!0)}}return $e.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||fd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return $e.forEach(this,(r,i)=>{const a=$e.findKey(o,i);if(a){n[a]=Zl(r),delete n[i];return}const s=t?WP(i):String(i).trim();s!==i&&delete n[i],n[s]=Zl(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return $e.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&$e.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[Ug]=this[Ug]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=Ga(a);o[s]||(qP(r,a),o[s]=!0)}return $e.isArray(t)?t.forEach(i):i(t),this}}ru.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);$e.reduceDescriptors(ru.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});$e.freezeMethods(ru);const er=ru;function hd(e,t){const n=this||Jh,o=t||n,r=er.from(o.headers);let i=o.data;return $e.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Cx(e){return!!(e&&e.__CANCEL__)}function Gs(e,t,n){$t.call(this,e??"canceled",$t.ERR_CANCELED,t,n),this.name="CanceledError"}$e.inherits(Gs,$t,{__CANCEL__:!0});function KP(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new $t("Request failed with status code "+n.status,[$t.ERR_BAD_REQUEST,$t.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const GP=Io.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];$e.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),$e.isString(o)&&a.push("path="+o),$e.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function YP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function XP(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function wx(e,t){return e&&!YP(t)?XP(e,t):t}const QP=Io.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(a){const s=$e.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function ZP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function JP(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[i];a||(a=c),n[r]=l,o[r]=c;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s),c=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-i)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const eR=typeof XMLHttpRequest<"u",tR=eR&&function(e){return new Promise(function(n,o){let r=e.data;const i=er.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if($e.isFormData(r)){if(Io.hasStandardBrowserEnv||Io.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[m,...v]=u?u.split(";").map(g=>g.trim()).filter(Boolean):[];i.setContentType([m||"multipart/form-data",...v].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(m+":"+v))}const f=wx(e.baseURL,e.url);d.open(e.method.toUpperCase(),vx(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=er.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};KP(function(S){n(S),c()},function(S){o(S),c()},g),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(o(new $t("Request aborted",$t.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new $t("Network Error",$t.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||bx;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),o(new $t(v,g.clarifyTimeoutError?$t.ETIMEDOUT:$t.ECONNABORTED,e,d)),d=null},Io.hasStandardBrowserEnv&&(s&&$e.isFunction(s)&&(s=s(e)),s||s!==!1&&QP(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&GP.read(e.xsrfCookieName);m&&i.set(e.xsrfHeaderName,m)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&$e.forEach(i.toJSON(),function(v,g){d.setRequestHeader(g,v)}),$e.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Vg(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Vg(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(o(!m||m.type?new Gs(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=ZP(f);if(h&&Io.protocols.indexOf(h)===-1){o(new $t("Unsupported protocol "+h+":",$t.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Tf={http:kP,xhr:tR};$e.forEach(Tf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Wg=e=>`- ${e}`,nR=e=>$e.isFunction(e)||e===null||e===!1,_x={getAdapter:e=>{e=$e.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : `+i.map(Wg).join(` -`):" "+Wg(i[0]):"as no adapter specified";throw new $t("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Tf};function pd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Gs(null,e)}function qg(e){return pd(e),e.headers=er.from(e.headers),e.data=hd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_x.getAdapter(e.adapter||Jh.adapter)(e).then(function(o){return pd(e),o.data=hd.call(e,e.transformResponse,o),o.headers=er.from(o.headers),o},function(o){return Cx(o)||(pd(e),o&&o.response&&(o.response.data=hd.call(e,e.transformResponse,o.response),o.response.headers=er.from(o.response.headers))),Promise.reject(o)})}const Kg=e=>e instanceof er?e.toJSON():e;function pa(e,t){t=t||{};const n={};function o(c,u,d){return $e.isPlainObject(c)&&$e.isPlainObject(u)?$e.merge.call({caseless:d},c,u):$e.isPlainObject(u)?$e.merge({},u):$e.isArray(u)?u.slice():u}function r(c,u,d){if($e.isUndefined(u)){if(!$e.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!$e.isUndefined(u))return o(void 0,u)}function a(c,u){if($e.isUndefined(u)){if(!$e.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(Kg(c),Kg(u),!0)};return $e.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);$e.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Sx="1.6.2",ep={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ep[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Gg={};ep.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Sx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new $t(r(a," has been removed"+(n?" in "+n:"")),$t.ERR_DEPRECATED);return n&&!Gg[a]&&(Gg[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function oR(e,t,n){if(typeof e!="object")throw new $t("options must be an object",$t.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new $t("option "+i+" must be "+l,$t.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new $t("Unknown option "+i,$t.ERR_BAD_OPTION)}}const Pf={assertOptions:oR,validators:ep},mr=Pf.validators;class pc{constructor(t){this.defaults=t,this.interceptors={request:new jg,response:new jg}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=pa(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Pf.assertOptions(o,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1),r!=null&&($e.isFunction(r)?n.paramsSerializer={serialize:r}:Pf.assertOptions(r,{encode:mr.function,serialize:mr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&$e.merge(i.common,i[n.method]);i&&$e.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=er.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const h=[qg.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new Gs(i,a,s),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new tp(function(r){t=r}),cancel:t}}}const rR=tp;function iR(e){return function(n){return e.apply(null,n)}}function aR(e){return $e.isObject(e)&&e.isAxiosError===!0}const Rf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Rf).forEach(([e,t])=>{Rf[t]=e});const sR=Rf;function kx(e){const t=new Jl(e),n=ix(Jl.prototype.request,t);return $e.extend(n,Jl.prototype,t,{allOwnKeys:!0}),$e.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return kx(pa(e,r))},n}const hn=kx(Jh);hn.Axios=Jl;hn.CanceledError=Gs;hn.CancelToken=rR;hn.isCancel=Cx;hn.VERSION=Sx;hn.toFormData=ou;hn.AxiosError=$t;hn.Cancel=hn.CanceledError;hn.all=function(t){return Promise.all(t)};hn.spread=iR;hn.isAxiosError=aR;hn.mergeConfig=pa;hn.AxiosHeaders=er;hn.formToJSON=e=>xx($e.isHTMLForm(e)?new FormData(e):e);hn.getAdapter=_x.getAdapter;hn.HttpStatusCode=sR;hn.default=hn;const lR=hn,cR=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function uR({url:e,method:t=""}){return cR.some(n=>n.url===e&&n.method===t.toUpperCase())}function dR(e){return typeof e>"u"}function fR(e){return e===null}function hR(e){return fR(e)||dR(e)}function Tx(e){try{return JSON.parse(e),!0}catch{return!1}}class pR{constructor(t){Ju(this,"storage");Ju(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return hR(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function Px({prefixKey:e="",storage:t=sessionStorage}){return new pR({prefixKey:e,storage:t})}const Rx="Vue_Naive_",mR=function(e={}){return Px({prefixKey:e.prefixKey||"",storage:localStorage})},gR=function(e={}){return Px({prefixKey:e.prefixKey||"",storage:sessionStorage})},_i=mR({prefixKey:Rx}),mc=gR({prefixKey:Rx}),np="access_token",vR=72*60*60;function Ex(){return _i.get(np)}function bR(e){_i.set(np,e,vR)}function $x(){_i.remove(np)}function op(){const e=pe(Jt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Jt.currentRoute.value.path);Jt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var Ax=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yR(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?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(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var Ix={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ax,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",p="year",h="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var z=["th","st","nd","rd"],$=B%100;return"["+B+(z[($-20)%10]||z[$]||z[0])+"]"}},S=function(B,z,$){var j=String(B);return!j||j.length>=z?B:""+Array(z+1-j.length).join($)+B},C={s:S,z:function(B){var z=-B.utcOffset(),$=Math.abs(z),j=Math.floor($/60),X=$%60;return(z<=0?"+":"-")+S(j,2,"0")+":"+S(X,2,"0")},m:function B(z,$){if(z.date()<$.date())return-B($,z);var j=12*($.year()-z.year())+($.month()-z.month()),X=z.clone().add(j,d),L=$-X<0,M=z.clone().add(j+(L?-1:1),d);return+(-(j+($-X)/(L?X-M:M-X))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:d,y:p,w:u,d:c,D:h,h:l,m:s,s:a,ms:i,Q:f}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},_="en",x={};x[_]=y;var w="$isDayjsObject",T=function(B){return B instanceof I||!(!B||!B[w])},R=function B(z,$,j){var X;if(!z)return _;if(typeof z=="string"){var L=z.toLowerCase();x[L]&&(X=L),$&&(x[L]=$,X=L);var M=z.split("-");if(!X&&M.length>1)return B(M[0])}else{var le=z.name;x[le]=z,X=le}return!j&&X&&(_=X),X||!j&&_},k=function(B,z){if(T(B))return B.clone();var $=typeof z=="object"?z:{};return $.date=B,$.args=arguments,new I($)},A=C;A.l=R,A.i=T,A.w=function(B,z){return k(B,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var I=function(){function B($){this.$L=R($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[w]=!0}var z=B.prototype;return z.parse=function($){this.$d=function(j){var X=j.date,L=j.utc;if(X===null)return new Date(NaN);if(A.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var M=X.match(v);if(M){var le=M[2]-1||0,Q=(M[7]||"0").substring(0,3);return L?new Date(Date.UTC(M[1],le,M[3]||1,M[4]||0,M[5]||0,M[6]||0,Q)):new Date(M[1],le,M[3]||1,M[4]||0,M[5]||0,M[6]||0,Q)}}return new Date(X)}($),this.init()},z.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},z.$utils=function(){return A},z.isValid=function(){return this.$d.toString()!==m},z.isSame=function($,j){var X=k($);return this.startOf(j)<=X&&X<=this.endOf(j)},z.isAfter=function($,j){return k($)e instanceof er?e.toJSON():e;function pa(e,t){t=t||{};const n={};function o(c,u,d){return $e.isPlainObject(c)&&$e.isPlainObject(u)?$e.merge.call({caseless:d},c,u):$e.isPlainObject(u)?$e.merge({},u):$e.isArray(u)?u.slice():u}function r(c,u,d){if($e.isUndefined(u)){if(!$e.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!$e.isUndefined(u))return o(void 0,u)}function a(c,u){if($e.isUndefined(u)){if(!$e.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(Kg(c),Kg(u),!0)};return $e.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);$e.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Sx="1.6.2",ep={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ep[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Gg={};ep.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Sx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new $t(r(a," has been removed"+(n?" in "+n:"")),$t.ERR_DEPRECATED);return n&&!Gg[a]&&(Gg[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function oR(e,t,n){if(typeof e!="object")throw new $t("options must be an object",$t.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new $t("option "+i+" must be "+l,$t.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new $t("Unknown option "+i,$t.ERR_BAD_OPTION)}}const Pf={assertOptions:oR,validators:ep},mr=Pf.validators;class pc{constructor(t){this.defaults=t,this.interceptors={request:new jg,response:new jg}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=pa(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Pf.assertOptions(o,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1),r!=null&&($e.isFunction(r)?n.paramsSerializer={serialize:r}:Pf.assertOptions(r,{encode:mr.function,serialize:mr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&$e.merge(i.common,i[n.method]);i&&$e.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=er.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const h=[qg.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new Gs(i,a,s),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new tp(function(r){t=r}),cancel:t}}}const rR=tp;function iR(e){return function(n){return e.apply(null,n)}}function aR(e){return $e.isObject(e)&&e.isAxiosError===!0}const Rf={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Rf).forEach(([e,t])=>{Rf[t]=e});const sR=Rf;function kx(e){const t=new Jl(e),n=ix(Jl.prototype.request,t);return $e.extend(n,Jl.prototype,t,{allOwnKeys:!0}),$e.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return kx(pa(e,r))},n}const hn=kx(Jh);hn.Axios=Jl;hn.CanceledError=Gs;hn.CancelToken=rR;hn.isCancel=Cx;hn.VERSION=Sx;hn.toFormData=ou;hn.AxiosError=$t;hn.Cancel=hn.CanceledError;hn.all=function(t){return Promise.all(t)};hn.spread=iR;hn.isAxiosError=aR;hn.mergeConfig=pa;hn.AxiosHeaders=er;hn.formToJSON=e=>xx($e.isHTMLForm(e)?new FormData(e):e);hn.getAdapter=_x.getAdapter;hn.HttpStatusCode=sR;hn.default=hn;const lR=hn,cR=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function uR({url:e,method:t=""}){return cR.some(n=>n.url===e&&n.method===t.toUpperCase())}function dR(e){return typeof e>"u"}function fR(e){return e===null}function hR(e){return fR(e)||dR(e)}function Tx(e){if(typeof e!="string")return!1;try{return JSON.parse(e),!0}catch{return!1}}class pR{constructor(t){Ju(this,"storage");Ju(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return hR(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function Px({prefixKey:e="",storage:t=sessionStorage}){return new pR({prefixKey:e,storage:t})}const Rx="Vue_Naive_",mR=function(e={}){return Px({prefixKey:e.prefixKey||"",storage:localStorage})},gR=function(e={}){return Px({prefixKey:e.prefixKey||"",storage:sessionStorage})},_i=mR({prefixKey:Rx}),mc=gR({prefixKey:Rx}),np="access_token",vR=72*60*60;function Ex(){return _i.get(np)}function bR(e){_i.set(np,e,vR)}function $x(){_i.remove(np)}function op(){const e=pe(Jt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Jt.currentRoute.value.path);Jt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var Ax=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yR(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?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(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var Ix={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Ax,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",p="year",h="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var z=["th","st","nd","rd"],$=B%100;return"["+B+(z[($-20)%10]||z[$]||z[0])+"]"}},S=function(B,z,$){var j=String(B);return!j||j.length>=z?B:""+Array(z+1-j.length).join($)+B},C={s:S,z:function(B){var z=-B.utcOffset(),$=Math.abs(z),j=Math.floor($/60),X=$%60;return(z<=0?"+":"-")+S(j,2,"0")+":"+S(X,2,"0")},m:function B(z,$){if(z.date()<$.date())return-B($,z);var j=12*($.year()-z.year())+($.month()-z.month()),X=z.clone().add(j,d),L=$-X<0,M=z.clone().add(j+(L?-1:1),d);return+(-(j+($-X)/(L?X-M:M-X))||0)},a:function(B){return B<0?Math.ceil(B)||0:Math.floor(B)},p:function(B){return{M:d,y:p,w:u,d:c,D:h,h:l,m:s,s:a,ms:i,Q:f}[B]||String(B||"").toLowerCase().replace(/s$/,"")},u:function(B){return B===void 0}},_="en",x={};x[_]=y;var w="$isDayjsObject",T=function(B){return B instanceof I||!(!B||!B[w])},R=function B(z,$,j){var X;if(!z)return _;if(typeof z=="string"){var L=z.toLowerCase();x[L]&&(X=L),$&&(x[L]=$,X=L);var M=z.split("-");if(!X&&M.length>1)return B(M[0])}else{var le=z.name;x[le]=z,X=le}return!j&&X&&(_=X),X||!j&&_},k=function(B,z){if(T(B))return B.clone();var $=typeof z=="object"?z:{};return $.date=B,$.args=arguments,new I($)},A=C;A.l=R,A.i=T,A.w=function(B,z){return k(B,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var I=function(){function B($){this.$L=R($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[w]=!0}var z=B.prototype;return z.parse=function($){this.$d=function(j){var X=j.date,L=j.utc;if(X===null)return new Date(NaN);if(A.u(X))return new Date;if(X instanceof Date)return new Date(X);if(typeof X=="string"&&!/Z$/i.test(X)){var M=X.match(v);if(M){var le=M[2]-1||0,Q=(M[7]||"0").substring(0,3);return L?new Date(Date.UTC(M[1],le,M[3]||1,M[4]||0,M[5]||0,M[6]||0,Q)):new Date(M[1],le,M[3]||1,M[4]||0,M[5]||0,M[6]||0,Q)}}return new Date(X)}($),this.init()},z.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},z.$utils=function(){return A},z.isValid=function(){return this.$d.toString()!==m},z.isSame=function($,j){var X=k($);return this.startOf(j)<=X&&X<=this.endOf(j)},z.isAfter=function($,j){return k($)