8 lines
316 KiB
JavaScript
Raw Normal View History

2025-01-03 18:15:58 +08:00
function Dl(e,t){const n=Object.create(null),o=e.split(",");for(let s=0;s<o.length;s++)n[o[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Oe={},fo=[],it=()=>{},PA=()=>!1,LA=/^on[^a-z]/,gs=e=>LA.test(e),Fl=e=>e.startsWith("onUpdate:"),Ke=Object.assign,Ul=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},BA=Object.prototype.hasOwnProperty,ve=(e,t)=>BA.call(e,t),fe=Array.isArray,po=e=>Pr(e)==="[object Map]",Ef=e=>Pr(e)==="[object Set]",de=e=>typeof e=="function",Se=e=>typeof e=="string",Ir=e=>typeof e=="symbol",Te=e=>e!==null&&typeof e=="object",kf=e=>(Te(e)||de(e))&&de(e.then)&&de(e.catch),xf=Object.prototype.toString,Pr=e=>xf.call(e),NA=e=>Pr(e).slice(8,-1),Tf=e=>Pr(e)==="[object Object]",jl=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Go=Dl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Lr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},MA=/-(\w)/g,Vt=Lr(e=>e.replace(MA,(t,n)=>n?n.toUpperCase():"")),HA=/\B([A-Z])/g,to=Lr(e=>e.replace(HA,"-$1").toLowerCase()),Br=Lr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Li=Lr(e=>e?`on${Br(e)}`:""),Xn=(e,t)=>!Object.is(e,t),nr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},fr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},nl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Sf=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let vc;const ol=()=>vc||(vc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rt(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=Se(o)?jA(o):rt(o);if(s)for(const r in s)t[r]=s[r]}return t}else if(Se(e)||Te(e))return e}const DA=/;(?![^(]*\))/g,FA=/:([^]+)/,UA=/\/\*[^]*?\*\//g;function jA(e){const t={};return e.replace(UA,"").split(DA).forEach(n=>{if(n){const o=n.split(FA);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function we(e){let t="";if(Se(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const o=we(e[n]);o&&(t+=o+" ")}else if(Te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function qA(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Se(t)&&(e.class=we(t)),n&&(e.style=rt(n)),e}const KA="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",QA=Dl(KA);function Of(e){return!!e||e===""}const G=e=>Se(e)?e:e==null?"":fe(e)||Te(e)&&(e.toString===xf||!de(e.toString))?JSON.stringify(e,Rf,2):String(e),Rf=(e,t)=>t&&t.__v_isRef?Rf(e,t.value):po(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s])=>(n[`${o} =>`]=s,n),{})}:Ef(t)?{[`Set(${t.size})`]:[...t.values()]}:Te(t)&&!fe(t)&&!Tf(t)?String(t):t;let At;class If{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=At,!t&&At&&(this.index=(At.scopes||(At.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=At;try{return At=this,t()}finally{At=n}}}on(){At=this}off(){At=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!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,this._active=!1}}}function WA(e){return new If(e)}function VA(e,t=At){t&&t.active&&t.effects.push(e)}function Pf(){return At}function YA(e){At&&At.cleanups.push(e)}const ql=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Lf=e=>(e.w&Cn)>0,Bf=e=>(e.n&Cn)>0,JA=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Cn},zA=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const s=t[o];Lf(s)&&!Bf(s)?s.delete(e):t[n++]=s,s.w&=~Cn,s.n&=~Cn}t.length=n}},dr=new WeakMap;let Jo=0,Cn=1;const sl=30;let Mt;const Vn=Symbol(""),rl=Symbol("");class Kl{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,VA(this,o)}run(){if(!this.active)return this.fn();let t=Mt,n=_n;for(;t;){if
2024-07-30 12:28:12 +08:00
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),o=i.substring(s+1).trim(),!(!n||t[n]&&Sk[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},pf=Symbol("internals");function Yo(e){return e&&String(e).trim().toLowerCase()}function cr(e){return e===!1||e==null?e:F.isArray(e)?e.map(cr):String(e)}function Rk(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 Ik=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $i(e,t,n,o,s){if(F.isFunction(o))return o.call(this,t,n);if(s&&(t=n),!!F.isString(t)){if(F.isString(o))return t.indexOf(o)!==-1;if(F.isRegExp(o))return o.test(t)}}function Pk(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function Lk(e,t){const n=F.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(s,r,i){return this[o].call(this,t,s,r,i)},configurable:!0})})}class ti{constructor(t){t&&this.set(t)}set(t,n,o){const s=this;function r(l,c,f){const u=Yo(c);if(!u)throw new Error("header name must be a non-empty string");const d=F.findKey(s,u);(!d||s[d]===void 0||f===!0||f===void 0&&s[d]!==!1)&&(s[d||c]=cr(l))}const i=(l,c)=>F.forEach(l,(f,u)=>r(f,u,c));return F.isPlainObject(t)||t instanceof this.constructor?i(t,n):F.isString(t)&&(t=t.trim())&&!Ik(t)?i(Ok(t),n):t!=null&&r(n,t,o),this}get(t,n){if(t=Yo(t),t){const o=F.findKey(this,t);if(o){const s=this[o];if(!n)return s;if(n===!0)return Rk(s);if(F.isFunction(n))return n.call(this,s,o);if(F.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Yo(t),t){const o=F.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||$i(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let s=!1;function r(i){if(i=Yo(i),i){const l=F.findKey(o,i);l&&(!n||$i(o,o[l],l,n))&&(delete o[l],s=!0)}}return F.isArray(t)?t.forEach(r):r(t),s}clear(t){const n=Object.keys(this);let o=n.length,s=!1;for(;o--;){const r=n[o];(!t||$i(this,this[r],r,t,!0))&&(delete this[r],s=!0)}return s}normalize(t){const n=this,o={};return F.forEach(this,(s,r)=>{const i=F.findKey(o,r);if(i){n[i]=cr(s),delete n[r];return}const l=t?Pk(r):String(r).trim();l!==r&&delete n[r],n[l]=cr(s),o[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return F.forEach(this,(o,s)=>{o!=null&&o!==!1&&(n[s]=t&&F.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(s=>o.set(s)),o}static accessor(t){const o=(this[pf]=this[pf]={accessors:{}}).accessors,s=this.prototype;function r(i){const l=Yo(i);o[l]||(Lk(s,i),o[l]=!0)}return F.isArray(t)?t.forEach(r):r(t),this}}ti.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);F.reduceDescriptors(ti.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});F.freezeMethods(ti);const rn=ti;function el(e,t){const n=this||qa,o=t||n,s=rn.from(o.headers);let r=o.data;return F.forEach(e,function(l){r=l.call(n,r,s.normalize(),t?t.status:void 0)}),s.normalize(),r}function dh(e){return!!(e&&e.__CANCEL__)}function ks(e,t,n){be.call(this,e??"canceled",be.ERR_CANCELED,t,n),this.name="CanceledError"}F.inherits(ks,be,{__CANCEL__:!0});function Bk(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new be("Request failed with status code "+n.status,[be.ERR_BAD_REQUEST,be.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Nk=Kt.hasStandardBrowserEnv?{write(e,t,n,o,s,r){const i=[e+"="+encodeURIComponent(t)];F.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),F.isString(o)&&i.push("path="+o),F.isString(s)&&i.push("domain="+s),r===!0&&i.push("secure"),document.cookie=i.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 Mk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Hk(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ph(e,t){return e&&!Mk(t)?Hk(e,t):t}const Dk=Kt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function s(r){let i=r;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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=s(window.location.href),function(i){const l=F.isString(i)?s(i):i;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}();function Fk(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Uk(e,t){e=e||10;const n=new Array(e),o=new Array(e);let s=0,r=0,i;return t=t!==void 0?t:1e3,function(c){const f=Date.now(),u=o[r];i||(i=f),n[s]=c,o[s]=f;let d=r,a=0;for(;d!==s;)a+=n[d++],d=d%e;if(s=(s+1)%e,s===r&&(r=(r+1)%e),f-i<t)return;const A=u&&f-u;return A?Math.round(a*1e3/A):void 0}}function hf(e,t){let n=0;const o=Uk(50,250);return s=>{const r=s.loaded,i=s.lengthComputable?s.total:void 0,l=r-n,c=o(l),f=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:l,rate:c||void 0,estimated:c&&i&&f?(i-r)/c:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const jk=typeof XMLHttpRequest<"u",qk=jk&&function(e){return new Promise(function(n,o){let s=e.data;const r=rn.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,c;function f(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}let u;if(F.isFormData(s)){if(Kt.hasStandardBrowserEnv||Kt.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((u=r.getContentType())!==!1){const[v,..._]=u?u.split(";").map(C=>C.trim()).filter(Boolean):[];r.setContentType([v||"multipart/form-data",..._].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",_=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(v+":"+_))}const a=ph(e.baseURL,e.url);d.open(e.method.toUpperCase(),ah(a,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function A(){if(!d)return;const v=rn.from("getAllResponseHeaders"in d&&d.getAllResponseHea
`+r.map(Af).join(`
2024-08-13 17:41:51 +08:00
`):" "+Af(r[0]):"as no adapter specified";throw new be("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return o},adapters:Nl};function tl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ks(null,e)}function mf(e){return tl(e),e.headers=rn.from(e.headers),e.data=el.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),hh.getAdapter(e.adapter||qa.adapter)(e).then(function(o){return tl(e),o.data=el.call(e,e.transformResponse,o),o.headers=rn.from(o.headers),o},function(o){return dh(o)||(tl(e),o&&o.response&&(o.response.data=el.call(e,e.transformResponse,o.response),o.response.headers=rn.from(o.response.headers))),Promise.reject(o)})}const gf=e=>e instanceof rn?e.toJSON():e;function xo(e,t){t=t||{};const n={};function o(f,u,d){return F.isPlainObject(f)&&F.isPlainObject(u)?F.merge.call({caseless:d},f,u):F.isPlainObject(u)?F.merge({},u):F.isArray(u)?u.slice():u}function s(f,u,d){if(F.isUndefined(u)){if(!F.isUndefined(f))return o(void 0,f,d)}else return o(f,u,d)}function r(f,u){if(!F.isUndefined(u))return o(void 0,u)}function i(f,u){if(F.isUndefined(u)){if(!F.isUndefined(f))return o(void 0,f)}else return o(void 0,u)}function l(f,u,d){if(d in t)return o(f,u);if(d in e)return o(void 0,f)}const c={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(f,u)=>s(gf(f),gf(u),!0)};return F.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||s,a=d(e[u],t[u],u);F.isUndefined(a)&&d!==l||(n[u]=a)}),n}const Ah="1.6.2",Ka={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ka[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const vf={};Ka.transitional=function(t,n,o){function s(r,i){return"[Axios v"+Ah+"] Transitional option '"+r+"'"+i+(o?". "+o:"")}return(r,i,l)=>{if(t===!1)throw new be(s(i," has been removed"+(n?" in "+n:"")),be.ERR_DEPRECATED);return n&&!vf[i]&&(vf[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,i,l):!0}};function Qk(e,t,n){if(typeof e!="object")throw new be("options must be an object",be.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let s=o.length;for(;s-- >0;){const r=o[s],i=t[r];if(i){const l=e[r],c=l===void 0||i(l,r,e);if(c!==!0)throw new be("option "+r+" must be "+c,be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new be("Unknown option "+r,be.ERR_BAD_OPTION)}}const Ml={assertOptions:Qk,validators:Ka},gn=Ml.validators;class Rr{constructor(t){this.defaults=t,this.interceptors={request:new df,response:new df}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=xo(this.defaults,n);const{transitional:o,paramsSerializer:s,headers:r}=n;o!==void 0&&Ml.assertOptions(o,{silentJSONParsing:gn.transitional(gn.boolean),forcedJSONParsing:gn.transitional(gn.boolean),clarifyTimeoutError:gn.transitional(gn.boolean)},!1),s!=null&&(F.isFunction(s)?n.paramsSerializer={serialize:s}:Ml.assertOptions(s,{encode:gn.function,serialize:gn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=r&&F.merge(r.common,r[n.method]);r&&F.forEach(["delete","get","head","post","put","patch","common"],m=>{delete r[m]}),n.headers=rn.concat(i,r);const l=[];let c=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(c=c&&v.synchronous,l.unshift(v.fulfilled,v.rejected))});const f=[];this.interceptors.response.forEach(function(v){f.push(v.fulfilled,v.rejected)});let u,d=0,a;if(!c){const m=[mf.bind(this),void 0];for(m.unshift.apply(m,l),m.push.apply(m,f),a=m.length,u=Promise.resolve(n);d<a;)u=u.then(m[d++],m[d++]);return u}a=l.length;let A=n;for(d=0;d<a;
2024-07-30 12:28:12 +08:00
`).splice(1).map(d=>({text:d.replace("webpack:/","").replace(".vue",".js").trim(),internal:d.includes("node_modules")&&!d.includes(".cache")||d.includes("internal")||d.includes("new Promise")})).map(d=>`<span class="stack${d.internal?" internal":""}">${d.text}</span>`).join(`
2025-01-03 18:15:58 +08:00
`);const o=Number(n.statusCode||500),s=o===404,r=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,u=s?Ic(()=>fu(()=>import("./error-404.37cdab0c.js"),["./error-404.37cdab0c.js","./error-404.7fc72018.css"],import.meta.url).then(d=>d.default||d)):Ic(()=>fu(()=>import("./error-500.e5a13f49.js"),["./error-500.e5a13f49.js","./error-500.c5df6088.css"],import.meta.url).then(d=>d.default||d));return(d,a)=>(k(),Ve(N(u),qA(Td({statusCode:N(o),statusMessage:N(r),description:N(i),stack:N(l)})),null,16))}},CI=wI,EI={__name:"nuxt-root",setup(e){const t=()=>null,n=Qe(),o=n.deferHydration(),s=!1;Yt(ip,pa()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const r=da();fd((l,c,f)=>{if(n.hooks.callHook("vue:error",l,c,f).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),b0(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>v0(l)),!1});const i=!1;return(l,c)=>(k(),Ve(Nm,{onResolve:N(o)},{default:Je(()=>[N(r)?(k(),Ve(N(CI),{key:0,error:N(r)},null,8,["error"])):N(i)?(k(),Ve(N(t),{key:1,context:N(i)},null,8,["context"])):N(s)?(k(),Ve(Pm(N(s)),{key:2})):(k(),Ve(N(_I),{key:3}))]),_:1},8,["onResolve"]))}},wf=EI;let Cf;{let e;Cf=async function(){var i,l;if(e)return e;const o=!!((i=window.__NUXT__)!=null&&i.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?rv(wf):sv(wf),s=cy({vueApp:o});async function r(c){await s.callHook("app:error",c),s.payload.error=s.payload.error||c}o.config.errorHandler=r;try{await fy(s,eE)}catch(c){r(c)}try{await s.hooks.callHook("app:created",o),await s.hooks.callHook("app:beforeMount",o),o.mount(x0),await s.hooks.callHook("app:mounted",o),await mt()}catch(c){r(c)}return o.config.errorHandler===r&&(o.config.errorHandler=void 0),o},e=Cf().catch(t=>{console.error("Error while mounting app:",t)})}export{_e as A,Je as B,le as C,kI as D,xI as E,fx as _,dp as a,_u as b,Ae as c,Ie as d,Lt as e,OI as f,Id as g,Kr as h,TI as i,Ro as j,Md as k,Dd as l,wr as m,SI as n,gt as o,bs as p,Qe as q,q as r,w0 as s,i0 as t,Qr as u,k as v,wl as w,S as x,p as y,G as z};