8 lines
242 KiB
JavaScript
8 lines
242 KiB
JavaScript
|
function ti(e,t){const s=Object.create(null),n=e.split(",");for(let o=0;o<n.length;o++)s[n[o]]=!0;return t?o=>!!s[o.toLowerCase()]:o=>!!s[o]}const Ce={},xn=[],ut=()=>{},Df=()=>!1,Ff=/^on[^a-z]/,gs=e=>Ff.test(e),ni=e=>e.startsWith("onUpdate:"),Oe=Object.assign,si=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},qf=Object.prototype.hasOwnProperty,me=(e,t)=>qf.call(e,t),re=Array.isArray,Sn=e=>go(e)==="[object Map]",Ta=e=>go(e)==="[object Set]",ie=e=>typeof e=="function",xe=e=>typeof e=="string",mo=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",Ra=e=>(we(e)||ie(e))&&ie(e.then)&&ie(e.catch),La=Object.prototype.toString,go=e=>La.call(e),jf=e=>go(e).slice(8,-1),Ba=e=>go(e)==="[object Object]",oi=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ns=ti(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yo=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Qf=/-(\w)/g,yt=yo(e=>e.replace(Qf,(t,s)=>s?s.toUpperCase():"")),Kf=/\B([A-Z])/g,yn=yo(e=>e.replace(Kf,"-$1").toLowerCase()),vo=yo(e=>e.charAt(0).toUpperCase()+e.slice(1)),ar=yo(e=>e?`on${vo(e)}`:""),mn=(e,t)=>!Object.is(e,t),Ks=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},Zs=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},kr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Oa=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let ll;const xr=()=>ll||(ll=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function nt(e){if(re(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=xe(n)?Jf(n):nt(n);if(o)for(const r in o)t[r]=o[r]}return t}else if(xe(e)||we(e))return e}const Wf=/;(?![^(]*\))/g,Vf=/:([^]+)/,Yf=/\/\*[^]*?\*\//g;function Jf(e){const t={};return e.replace(Yf,"").split(Wf).forEach(s=>{if(s){const n=s.split(Vf);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function _e(e){let t="";if(xe(e))t=e;else if(re(e))for(let s=0;s<e.length;s++){const n=_e(e[s]);n&&(t+=n+" ")}else if(we(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}function Gf(e){if(!e)return null;let{class:t,style:s}=e;return t&&!xe(t)&&(e.class=_e(t)),s&&(e.style=nt(s)),e}const zf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xf=ti(zf);function Ia(e){return!!e||e===""}const V=e=>xe(e)?e:e==null?"":re(e)||we(e)&&(e.toString===La||!ie(e.toString))?JSON.stringify(e,Pa,2):String(e),Pa=(e,t)=>t&&t.__v_isRef?Pa(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o])=>(s[`${n} =>`]=o,s),{})}:Ta(t)?{[`Set(${t.size})`]:[...t.values()]}:we(t)&&!re(t)&&!Ba(t)?String(t):t;let at;class Na{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 s=at;try{return at=this,t()}finally{at=s}}}on(){at=this}off(){at=this.parent}stop(t){if(this._active){let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.scopes)for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].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 Zf(e){return new Na(e)}function $f(e,t=at){t&&t.active&&t.effects.push(e)}function ed(){return at}const ri=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ua=e=>(e.w&Qt)>0,Ma=e=>(e.n&Qt)>0,td=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Qt},nd=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const o=t[n];Ua(o)&&!Ma(o)?o.delete(e):t[s++]=o,o.w&=~Qt,o.n&=~Qt}t.length=s}},$s=new WeakMap;let es=0,Qt=1;const Sr=30;let ct;const dn=Symbol(""),Tr=Symbol("");class ii{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,$f(this,n)}run(){if(!this.active)return this.fn();let t=ct,s=qt;for(;t;){if(t===this)return;t=t.parent}try{return
|
||
|
`).forEach(function(i){o=i.indexOf(":"),s=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!s||t[s]&&Zg[s])&&(s==="set-cookie"?t[s]?t[s].push(n):t[s]=[n]:t[s]=t[s]?t[s]+", "+n:n)}),t},ga=Symbol("internals");function $n(e){return e&&String(e).trim().toLowerCase()}function zs(e){return e===!1||e==null?e:T.isArray(e)?e.map(zs):String(e)}function ey(e){const t=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=s.exec(e);)t[n[1]]=n[2];return t}const ty=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _r(e,t,s,n,o){if(T.isFunction(n))return n.call(this,t,s);if(o&&(t=s),!!T.isString(t)){if(T.isString(n))return t.indexOf(n)!==-1;if(T.isRegExp(n))return n.test(t)}}function ny(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,s,n)=>s.toUpperCase()+n)}function sy(e,t){const s=T.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+s,{value:function(o,r,i){return this[n].call(this,t,o,r,i)},configurable:!0})})}class No{constructor(t){t&&this.set(t)}set(t,s,n){const o=this;function r(a,f,l){const c=$n(f);if(!c)throw new Error("header name must be a non-empty string");const u=T.findKey(o,c);(!u||o[u]===void 0||l===!0||l===void 0&&o[u]!==!1)&&(o[u||f]=zs(a))}const i=(a,f)=>T.forEach(a,(l,c)=>r(l,c,f));return T.isPlainObject(t)||t instanceof this.constructor?i(t,s):T.isString(t)&&(t=t.trim())&&!ty(t)?i($g(t),s):t!=null&&r(s,t,n),this}get(t,s){if(t=$n(t),t){const n=T.findKey(this,t);if(n){const o=this[n];if(!s)return o;if(s===!0)return ey(o);if(T.isFunction(s))return s.call(this,o,n);if(T.isRegExp(s))return s.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,s){if(t=$n(t),t){const n=T.findKey(this,t);return!!(n&&this[n]!==void 0&&(!s||_r(this,this[n],n,s)))}return!1}delete(t,s){const n=this;let o=!1;function r(i){if(i=$n(i),i){const a=T.findKey(n,i);a&&(!s||_r(n,n[a],a,s))&&(delete n[a],o=!0)}}return T.isArray(t)?t.forEach(r):r(t),o}clear(t){const s=Object.keys(this);let n=s.length,o=!1;for(;n--;){const r=s[n];(!t||_r(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const s=this,n={};return T.forEach(this,(o,r)=>{const i=T.findKey(n,r);if(i){s[i]=zs(o),delete s[r];return}const a=t?ny(r):String(r).trim();a!==r&&delete s[r],s[a]=zs(o),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const s=Object.create(null);return T.forEach(this,(n,o)=>{n!=null&&n!==!1&&(s[o]=t&&T.isArray(n)?n.join(", "):n)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,s])=>t+": "+s).join(`
|
||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...s){const n=new this(t);return s.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[ga]=this[ga]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=$n(i);n[a]||(sy(o,i),n[a]=!0)}return T.isArray(t)?t.forEach(r):r(t),this}}No.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);T.reduceDescriptors(No.prototype,({value:e},t)=>{let s=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[s]=n}}});T.freezeMethods(No);const Tt=No;function Cr(e,t){const s=this||Pi,n=t||s,o=Tt.from(n.headers);let r=n.data;return T.forEach(e,function(a){r=a.call(s,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function Pu(e){return!!(e&&e.__CANCEL__)}function bs(e,t,s){pe.call(this,e??"canceled",pe.ERR_CANCELED,t,s),this.name="CanceledError"}T.inherits(bs,pe,{__CANCEL__:!0});function oy(e,t,s){const n=s.config.validateStatus;!s.status||!n||n(s.status)?e(s):t(new pe("Request failed with status code "+s.status,[pe.ERR_BAD_REQUEST,pe.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}const ry=gt.hasStandardBrowserEnv?{write(e,t,s,n,o,r){const i=[e+"="+encodeURIComponent(t)];T.isNumber(s)&&i.push("expires="+new Date(s).toGMTString()),T.isString(n)&&i.push("path="+n),T.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 iy(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ly(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Nu(e,t){return e&&!iy(t)?ly(e,t):t}const ay=gt.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a");let n;function o(r){let i=r;return t&&(s.setAttribute("href",i),i=s.href),s.setAttribute("href",i),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:s.pathname.charAt(0)==="/"?s.pathname:"/"+s.pathname}}return n=o(window.location.href),function(i){const a=T.isString(i)?o(i):i;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function cy(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function uy(e,t){e=e||10;const s=new Array(e),n=new Array(e);let o=0,r=0,i;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),c=n[r];i||(i=l),s[o]=f,n[o]=l;let u=r,p=0;for(;u!==o;)p+=s[u++],u=u%e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),l-i<t)return;const y=c&&l-c;return y?Math.round(p*1e3/y):void 0}}function ya(e,t){let s=0;const n=uy(50,250);return o=>{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-s,f=n(a),l=r<=i;s=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 fy=typeof XMLHttpRequest<"u",dy=fy&&function(e){return new Promise(function(s,n){let o=e.data;const r=Tt.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(T.isFormData(o)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((c=r.getContentType())!==!1){const[b,...D]=c?c.split(";").map(z=>z.trim()).filter(Boolean):[];r.setContentType([b||"multipart/form-data",...D].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const b=e.auth.username||"",D=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.set("Authorization","Basic "+btoa(b+":"+D))}const p=Nu(e.baseURL,e.url);u.open(e.method.toUpperCase(),Lu(p,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function y(){if(!u)return;const b=Tt.from("getAllResponseHeaders"in u&&u.getAllResponseHea
|
||
|
`+r.map(va).join(`
|
||
|
`):" "+va(r[0]):"as no adapter specified";throw new pe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:Zr};function Er(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new bs(null,e)}function wa(e){return Er(e),e.headers=Tt.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),Uu.getAdapter(e.adapter||Pi.adapter)(e).then(function(n){return Er(e),n.data=Cr.call(e,e.transformResponse,n),n.headers=Tt.from(n.headers),n},function(n){return Pu(n)||(Er(e),n&&n.response&&(n.response.data=Cr.call(e,e.transformResponse,n.response),n.response.headers=Tt.from(n.response.headers))),Promise.reject(n)})}const ba=e=>e instanceof Tt?e.toJSON():e;function Un(e,t){t=t||{};const s={};function n(l,c,u){return T.isPlainObject(l)&&T.isPlainObject(c)?T.merge.call({caseless:u},l,c):T.isPlainObject(c)?T.merge({},c):T.isArray(c)?c.slice():c}function o(l,c,u){if(T.isUndefined(c)){if(!T.isUndefined(l))return n(void 0,l,u)}else return n(l,c,u)}function r(l,c){if(!T.isUndefined(c))return n(void 0,c)}function i(l,c){if(T.isUndefined(c)){if(!T.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function a(l,c,u){if(u in t)return n(l,c);if(u in e)return n(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(ba(l),ba(c),!0)};return T.forEach(Object.keys(Object.assign({},e,t)),function(c){const u=f[c]||o,p=u(e[c],t[c],c);T.isUndefined(p)&&u!==a||(s[c]=p)}),s}const Mu="1.6.2",Ni={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ni[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const _a={};Ni.transitional=function(t,s,n){function o(r,i){return"[Axios v"+Mu+"] Transitional option '"+r+"'"+i+(n?". "+n:"")}return(r,i,a)=>{if(t===!1)throw new pe(o(i," has been removed"+(s?" in "+s:"")),pe.ERR_DEPRECATED);return s&&!_a[i]&&(_a[i]=!0,console.warn(o(i," has been deprecated since v"+s+" and will be removed in the near future"))),t?t(r,i,a):!0}};function hy(e,t,s){if(typeof e!="object")throw new pe("options must be an object",pe.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const r=n[o],i=t[r];if(i){const a=e[r],f=a===void 0||i(a,r,e);if(f!==!0)throw new pe("option "+r+" must be "+f,pe.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new pe("Unknown option "+r,pe.ERR_BAD_OPTION)}}const $r={assertOptions:hy,validators:Ni},Ht=$r.validators;class po{constructor(t){this.defaults=t,this.interceptors={request:new ma,response:new ma}}request(t,s){typeof t=="string"?(s=s||{},s.url=t):s=t||{},s=Un(this.defaults,s);const{transitional:n,paramsSerializer:o,headers:r}=s;n!==void 0&&$r.assertOptions(n,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),o!=null&&(T.isFunction(o)?s.paramsSerializer={serialize:o}:$r.assertOptions(o,{encode:Ht.function,serialize:Ht.function},!0)),s.method=(s.method||this.defaults.method||"get").toLowerCase();let i=r&&T.merge(r.common,r[s.method]);r&&T.forEach(["delete","get","head","post","put","patch","common"],v=>{delete r[v]}),s.headers=Tt.concat(i,r);const a=[];let f=!0;this.interceptors.request.forEach(function(b){typeof b.runWhen=="function"&&b.runWhen(s)===!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,p;if(!f){const v=[wa.bind(this),void 0];for(v.unshift.apply(v,a),v.push.apply(v,l),p=v.length,c=Promise.resolve(s);u<p;)c=c.then(v[u++],v[u++]);return c}p=a.length;let y=s;for(u=0;u<p;
|
||
|
`).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 n=Number(s.statusCode||500),o=n===404,r=s.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=s.message||s.toString(),a=void 0,c=o?bl(()=>ta(()=>import("./error-404.9cd28984.js"),["./error-404.9cd28984.js","./error-404.7fc72018.css"],import.meta.url).then(u=>u.default||u)):bl(()=>ta(()=>import("./error-500.b9cf47c2.js"),["./error-500.b9cf47c2.js","./error-500.c5df6088.css"],import.meta.url).then(u=>u.default||u));return(u,p)=>(E(),cn(Me(c),Gf(Oc({statusCode:Me(n),statusMessage:Me(r),description:Me(i),stack:Me(a)})),null,16))}},$_=Z_,eC={__name:"nuxt-root",setup(e){const t=()=>null,s=Ie(),n=s.deferHydration(),o=!1;vc(uu,Li()),s.hooks.callHookWith(a=>a.map(f=>f()),"vue:setup");const r=Ri();mc((a,f,l)=>{if(s.hooks.callHook("vue:error",a,f,l).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),km(a)&&(a.fatal||a.unhandled))return s.runWithContext(()=>Cm(a)),!1});const i=!1;return(a,f)=>(E(),cn(qd,{onResolve:Me(n)},{default:ss(()=>[Me(r)?(E(),cn(Me($_),{key:0,error:Me(r)},null,8,["error"])):Me(i)?(E(),cn(Me(t),{key:1,context:Me(i)},null,8,["context"])):Me(o)?(E(),cn(Hd(Me(o)),{key:2})):(E(),cn(Me(X_),{key:3}))]),_:1},8,["onResolve"]))}},xa=eC;let Sa;{let e;Sa=async function(){var i,a;if(e)return e;const n=!!((i=window.__NUXT__)!=null&&i.serverRendered||((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?fh(xa):uh(xa),o=hp({vueApp:n});async function r(f){await o.callHook("app:error",f),o.payload.error=o.payload.error||f}n.config.errorHandler=r;try{await mp(o,Jm)}catch(f){r(f)}try{await o.hooks.callHook("app:created",n),await o.hooks.callHook("app:beforeMount",n),n.mount(Bm),await o.hooks.callHook("app:mounted",n),await At()}catch(f){r(f)}return n.config.errorHandler===r&&(n.config.errorHandler=void 0),n},e=Sa().catch(t=>{console.error("Error while mounting app:",t)})}export{ve as A,ss as B,fe as C,sC as D,oC as E,Py as _,mu as a,fa as b,IA as c,Eo as d,mi as e,lC as f,Uc as g,To as h,rC as i,Fn as j,qc as k,Qc as l,fo as m,iC as n,so as o,vs as p,Ie as q,K as r,Sm as s,fm as t,Ro as u,E as v,jr as w,S as x,d as y,V as z};
|