8 lines
240 KiB
JavaScript
8 lines
240 KiB
JavaScript
|
function ti(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const Ce={},kn=[],ct=()=>{},qf=()=>!1,jf=/^on[^a-z]/,gs=e=>jf.test(e),ni=e=>e.startsWith("onUpdate:"),Le=Object.assign,si=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qf=Object.prototype.hasOwnProperty,he=(e,t)=>Qf.call(e,t),ne=Array.isArray,xn=e=>mo(e)==="[object Map]",Ea=e=>mo(e)==="[object Set]",re=e=>typeof e=="function",xe=e=>typeof e=="string",po=e=>typeof e=="symbol",be=e=>e!==null&&typeof e=="object",ka=e=>(be(e)||re(e))&&re(e.then)&&re(e.catch),xa=Object.prototype.toString,mo=e=>xa.call(e),Kf=e=>mo(e).slice(8,-1),Sa=e=>mo(e)==="[object Object]",oi=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ss=ti(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),go=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Wf=/-(\w)/g,yt=go(e=>e.replace(Wf,(t,n)=>n?n.toUpperCase():"")),Vf=/\B([A-Z])/g,hn=go(e=>e.replace(Vf,"-$1").toLowerCase()),yo=go(e=>e.charAt(0).toUpperCase()+e.slice(1)),lr=go(e=>e?`on${yo(e)}`:""),dn=(e,t)=>!Object.is(e,t),js=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Xs=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},kr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ta=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let sl;const xr=()=>sl||(sl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nt(e){if(ne(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=xe(s)?zf(s):nt(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(xe(e)||be(e))return e}const Yf=/;(?![^(]*\))/g,Jf=/:([^]+)/,Gf=/\/\*[^]*?\*\//g;function zf(e){const t={};return e.replace(Gf,"").split(Yf).forEach(n=>{if(n){const s=n.split(Jf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ke(e){let t="";if(xe(e))t=e;else if(ne(e))for(let n=0;n<e.length;n++){const s=ke(e[n]);s&&(t+=s+" ")}else if(be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Xf(e){if(!e)return null;let{class:t,style:n}=e;return t&&!xe(t)&&(e.class=ke(t)),n&&(e.style=nt(n)),e}const Zf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$f=ti(Zf);function Ra(e){return!!e||e===""}const G=e=>xe(e)?e:e==null?"":ne(e)||be(e)&&(e.toString===xa||!re(e.toString))?JSON.stringify(e,La,2):String(e),La=(e,t)=>t&&t.__v_isRef?La(e,t.value):xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ea(t)?{[`Set(${t.size})`]:[...t.values()]}:be(t)&&!ne(t)&&!Sa(t)?String(t):t;let lt;class Ba{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=lt,!t&<&&(this.index=(lt.scopes||(lt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=lt;try{return lt=this,t()}finally{lt=n}}}on(){lt=this}off(){lt=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function ed(e){return new Ba(e)}function td(e,t=lt){t&&t.active&&t.effects.push(e)}function nd(){return lt}const ri=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ia=e=>(e.w&Vt)>0,Oa=e=>(e.n&Vt)>0,sd=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Vt},od=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];Ia(o)&&!Oa(o)?o.delete(e):t[n++]=o,o.w&=~Vt,o.n&=~Vt}t.length=n}},Zs=new WeakMap;let ts=0,Vt=1;const Sr=30;let at;const un=Symbol(""),Tr=Symbol("");class ii{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,td(this,s)}run(){if(!this.active)return this.fn();let t=at,n=jt;for(;t;){if(t===this)return;t=t.parent}try{return
|
||
|
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||t[n]&&$g[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Aa=Symbol("internals");function es(e){return e&&String(e).trim().toLowerCase()}function Gs(e){return e===!1||e==null?e:S.isArray(e)?e.map(Gs):String(e)}function ty(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const ny=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _r(e,t,n,s,o){if(S.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!S.isString(t)){if(S.isString(s))return t.indexOf(s)!==-1;if(S.isRegExp(s))return s.test(t)}}function sy(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function oy(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(o,r,i){return this[s].call(this,t,o,r,i)},configurable:!0})})}class Po{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function r(a,f,l){const c=es(f);if(!c)throw new Error("header name must be a non-empty string");const u=S.findKey(o,c);(!u||o[u]===void 0||l===!0||l===void 0&&o[u]!==!1)&&(o[u||f]=Gs(a))}const i=(a,f)=>S.forEach(a,(l,c)=>r(l,c,f));return S.isPlainObject(t)||t instanceof this.constructor?i(t,n):S.isString(t)&&(t=t.trim())&&!ny(t)?i(ey(t),n):t!=null&&r(n,t,s),this}get(t,n){if(t=es(t),t){const s=S.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return ty(o);if(S.isFunction(n))return n.call(this,o,s);if(S.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=es(t),t){const s=S.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||_r(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function r(i){if(i=es(i),i){const a=S.findKey(s,i);a&&(!n||_r(s,s[a],a,n))&&(delete s[a],o=!0)}}return S.isArray(t)?t.forEach(r):r(t),o}clear(t){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!t||_r(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,s={};return S.forEach(this,(o,r)=>{const i=S.findKey(s,r);if(i){n[i]=Gs(o),delete n[r];return}const a=t?sy(r):String(r).trim();a!==r&&delete n[r],n[a]=Gs(o),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&S.isArray(s)?s.join(", "):s)}),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 s=new this(t);return n.forEach(o=>s.set(o)),s}static accessor(t){const s=(this[Aa]=this[Aa]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=es(i);s[a]||(oy(o,i),s[a]=!0)}return S.isArray(t)?t.forEach(r):r(t),this}}Po.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);S.reduceDescriptors(Po.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});S.freezeMethods(Po);const St=Po;function Cr(e,t){const n=this||Pi,s=t||n,o=St.from(s.headers);let r=s.data;return S.forEach(e,function(a){r=a.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function Lu(e){return!!(e&&e.__CANCEL__)}function bs(e,t,n){Ae.call(this,e??"canceled",Ae.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(bs,Ae,{__CANCEL__:!0});function ry(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new Ae("Request failed with status code "+n.status,[Ae.ERR_BAD_REQUEST,Ae.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const iy=gt.hasStandardBrowserEnv?{write(e,t,n,s,o,r){const i=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),S.isString(s)&&i.push("path="+s),S.isString(o)&&i.push("domain="+o),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 ly(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ay(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Bu(e,t){return e&&!ly(t)?ay(e,t):t}const cy=gt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(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 s=o(window.location.href),function(i){const a=S.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function uy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function fy(e,t){e=e||10;const n=new Array(e),s=new Array(e);let o=0,r=0,i;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),c=s[r];i||(i=l),n[o]=f,s[o]=l;let u=r,m=0;for(;u!==o;)m+=n[u++],u=u%e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),l-i<t)return;const g=c&&l-c;return g?Math.round(m*1e3/g):void 0}}function ha(e,t){let n=0;const s=fy(50,250);return o=>{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,f=s(a),l=r<=i;n=r;const c={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:f||void 0,estimated:f&&i&&l?(i-r)/f:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const dy=typeof XMLHttpRequest<"u",Ay=dy&&function(e){return new Promise(function(n,s){let o=e.data;const r=St.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,f;function l(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let c;if(S.isFormData(o)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((c=r.getContentType())!==!1){const[b,...W]=c?c.split(";").map(X=>X.trim()).filter(Boolean):[];r.setContentType([b||"multipart/form-data",...W].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",W=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(b+":"+W))}const m=Bu(e.baseURL,e.url);u.open(e.method.toUpperCase(),xu(m,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function g(){if(!u)return;const b=St.from("getAllResponseHeaders"in u&&u.getAllResponseHea
|
||
|
`+r.map(pa).join(`
|
||
|
`):" "+pa(r[0]):"as no adapter specified";throw new Ae("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return s},adapters:Zr};function Er(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new bs(null,e)}function ma(e){return Er(e),e.headers=St.from(e.headers),e.data=Cr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Iu.getAdapter(e.adapter||Pi.adapter)(e).then(function(s){return Er(e),s.data=Cr.call(e,e.transformResponse,s),s.headers=St.from(s.headers),s},function(s){return Lu(s)||(Er(e),s&&s.response&&(s.response.data=Cr.call(e,e.transformResponse,s.response),s.response.headers=St.from(s.response.headers))),Promise.reject(s)})}const ga=e=>e instanceof St?e.toJSON():e;function Mn(e,t){t=t||{};const n={};function s(l,c,u){return S.isPlainObject(l)&&S.isPlainObject(c)?S.merge.call({caseless:u},l,c):S.isPlainObject(c)?S.merge({},c):S.isArray(c)?c.slice():c}function o(l,c,u){if(S.isUndefined(c)){if(!S.isUndefined(l))return s(void 0,l,u)}else return s(l,c,u)}function r(l,c){if(!S.isUndefined(c))return s(void 0,c)}function i(l,c){if(S.isUndefined(c)){if(!S.isUndefined(l))return s(void 0,l)}else return s(void 0,c)}function a(l,c,u){if(u in t)return s(l,c);if(u in e)return s(void 0,l)}const f={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:a,headers:(l,c)=>o(ga(l),ga(c),!0)};return S.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=f[c]||o,m=u(e[c],t[c],c);S.isUndefined(m)&&u!==a||(n[c]=m)}),n}const Ou="1.6.2",Mi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Mi[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ya={};Mi.transitional=function(t,n,s){function o(r,i){return"[Axios v"+Ou+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(t===!1)throw new Ae(o(i," has been removed"+(n?" in "+n:"")),Ae.ERR_DEPRECATED);return n&&!ya[i]&&(ya[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,i,a):!0}};function py(e,t,n){if(typeof e!="object")throw new Ae("options must be an object",Ae.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const r=s[o],i=t[r];if(i){const a=e[r],f=a===void 0||i(a,r,e);if(f!==!0)throw new Ae("option "+r+" must be "+f,Ae.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ae("Unknown option "+r,Ae.ERR_BAD_OPTION)}}const $r={assertOptions:py,validators:Mi},Nt=$r.validators;class ho{constructor(t){this.defaults=t,this.interceptors={request:new da,response:new da}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Mn(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&$r.assertOptions(s,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean)},!1),o!=null&&(S.isFunction(o)?n.paramsSerializer={serialize:o}:$r.assertOptions(o,{encode:Nt.function,serialize:Nt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=r&&S.merge(r.common,r[n.method]);r&&S.forEach(["delete","get","head","post","put","patch","common"],v=>{delete r[v]}),n.headers=St.concat(i,r);const a=[];let f=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(n)===!1||(f=f&&b.synchronous,a.unshift(b.fulfilled,b.rejected))});const l=[];this.interceptors.response.forEach(function(b){l.push(b.fulfilled,b.rejected)});let c,u=0,m;if(!f){const v=[ma.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,l),m=v.length,c=Promise.resolve(n);u<m;)c=c.then(v[u++],v[u++]);return c}m=a.length;let g=n;for(u=0;u<m;
|
||
|
`).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`<span class="stack${u.internal?" internal":""}">${u.text}</span>`).join(`
|
||
|
`);const s=Number(n.statusCode||500),o=s===404,r=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,c=o?gl(()=>Xl(()=>import("./error-404.232c554a.js"),["./error-404.232c554a.js","./error-404.7fc72018.css"],import.meta.url).then(u=>u.default||u)):gl(()=>Xl(()=>import("./error-500.e5de71fc.js"),["./error-500.e5de71fc.js","./error-500.c5df6088.css"],import.meta.url).then(u=>u.default||u));return(u,m)=>(_(),ln(Pe(c),Xf(Tc({statusCode:Pe(s),statusMessage:Pe(r),description:Pe(i),stack:Pe(a)})),null,16))}},sC=nC,oC={__name:"nuxt-root",setup(e){const t=()=>null,n=Be(),s=n.deferHydration(),o=!1;pc(iu,Li()),n.hooks.callHookWith(a=>a.map(f=>f()),"vue:setup");const r=Ri();dc((a,f,l)=>{if(n.hooks.callHook("vue:error",a,f,l).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),Sm(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>km(a)),!1});const i=!1;return(a,f)=>(_(),ln(Qd,{onResolve:Pe(s)},{default:os(()=>[Pe(r)?(_(),ln(Pe(sC),{key:0,error:Pe(r)},null,8,["error"])):Pe(i)?(_(),ln(Pe(t),{key:1,context:Pe(i)},null,8,["context"])):Pe(o)?(_(),ln(Fd(Pe(o)),{key:2})):(_(),ln(Pe(tC),{key:3}))]),_:1},8,["onResolve"]))}},_a=oC;let Ca;{let e;Ca=async function(){var i,a;if(e)return e;const s=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Ah(_a):dh(_a),o=mp({vueApp:s});async function r(f){await o.callHook("app:error",f),o.payload.error=o.payload.error||f}s.config.errorHandler=r;try{await yp(o,zm)}catch(f){r(f)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Om),await o.hooks.callHook("app:mounted",s),await qt()}catch(f){r(f)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=Ca().catch(t=>{console.error("Error while mounting app:",t)})}export{we as A,os as B,ue as C,rC as D,iC as E,My as _,du as a,la as b,MA as c,Co as d,mi as e,cC as f,Ic as g,So as h,lC as i,Dn as j,Hc as k,Dc as l,uo as m,aC as n,no as o,vs as p,Be as q,Y as r,Rm as s,Am as t,To as u,_ as v,jr as w,k as x,d as y,G as z};
|