diff --git a/docs/assets/CocktailMain-CwM1Iw82.js b/docs/assets/CocktailMain-CwM1Iw82.js new file mode 100644 index 0000000..e8ccf25 --- /dev/null +++ b/docs/assets/CocktailMain-CwM1Iw82.js @@ -0,0 +1 @@ +import{d as r,o as m,r as _,a as e,c as o,F as p,b as k,u as f,e as C,f as h,g as v,w as g,h as w,t as x,i as l,j as i,k as n}from"./index-CSOjfTz9.js";import{u as L}from"./index-BNt3EKxU.js";const $={class:"cocktail-list"},B=r({__name:"CocktailList",setup(u){const a=C(),c=h(),t=L();return m(async()=>{await t._fetchCocktailList(),a.params.slug||c.push(`/${t._getCocktailList[0].slug}`)}),(b,F)=>{const d=_("router-link");return e(),o("div",$,[(e(!0),o(p,null,k(f(t)._getCocktailList,s=>(e(),v(d,{key:s.slug,to:`/${s.slug}`,class:"cocktail-list__item"},{default:g(()=>[w(x(s.name),1)]),_:2},1032,["to"]))),128))])}}}),y=l(B,[["__scopeId","data-v-12d6e8c5"]]),M={class:"cocktail-main"},N={class:"cocktail-main__list"},S={class:"cocktail-main__view"},V=r({__name:"CocktailMain",setup(u){return(a,c)=>{const t=_("router-view");return e(),o("div",M,[i("div",N,[n(y)]),i("div",S,[n(t)])])}}}),j=l(V,[["__scopeId","data-v-4d2b3e65"]]);export{j as default}; diff --git a/docs/assets/CocktailMain-D4CqKBw5.css b/docs/assets/CocktailMain-D4CqKBw5.css new file mode 100644 index 0000000..2da6487 --- /dev/null +++ b/docs/assets/CocktailMain-D4CqKBw5.css @@ -0,0 +1 @@ +.cocktail-list__item[data-v-12d6e8c5]{display:block;font-size:1.8rem;font-weight:700;line-height:1.3;margin-bottom:15px;text-decoration:none;color:#000}@media (max-width: 767px),(min-width: 768px) and (max-width: 1024px){.cocktail-list__item[data-v-12d6e8c5]{display:inline-block;font-size:1.4rem;margin-right:15px}}.cocktail-list__item[data-v-12d6e8c5]:first-letter{text-transform:capitalize}.cocktail-list__item[data-v-12d6e8c5]:visited{color:#000}.cocktail-list__item[data-v-12d6e8c5]:active,.cocktail-list__item.router-link-exact-active[data-v-12d6e8c5]{color:green}.cocktail-main[data-v-4d2b3e65]{display:flex;justify-content:flex-start;align-items:stretch}@media (max-width: 767px),(min-width: 768px) and (max-width: 1024px){.cocktail-main[data-v-4d2b3e65]{flex-direction:column}}.cocktail-main__list[data-v-4d2b3e65]{padding:13px 15px;min-width:200px}.cocktail-main__view[data-v-4d2b3e65]{flex-grow:1;padding:15px} diff --git a/docs/assets/CocktailView-BkMgaJwH.js b/docs/assets/CocktailView-BkMgaJwH.js new file mode 100644 index 0000000..bfa8705 --- /dev/null +++ b/docs/assets/CocktailView-BkMgaJwH.js @@ -0,0 +1 @@ +import{d as k,l as m,m as g,n as f,a as e,c as a,j as s,F as d,b as u,p,e as y,t as c,h,u as C,q as w,s as I,v as S,i as D}from"./index-CSOjfTz9.js";import{u as V}from"./index-BNt3EKxU.js";const x=(i,n)=>Object.keys(i).filter(o=>o.startsWith(n)).reduce((o,r)=>(o[r]=i[r],o),{}),l=i=>(I("data-v-f57023c4"),i=i(),S(),i),T={class:"cocktail-view"},z={class:"cocktail"},B={key:0,class:"drinks"},F={class:"drink"},N={class:"drink__desc"},b={class:"drink__title"},A={key:0,class:"drink__tags"},G={class:"drink__category"},L=l(()=>s("span",null,"Category:",-1)),W={class:"drink__alcoholic-type"},j=l(()=>s("span",null,"Alcoholic:",-1)),q={class:"drink__glass"},E=l(()=>s("span",null,"Glass:",-1)),O=l(()=>s("div",{class:"head-3 drink__head-3"},"List of Ingridients",-1)),R={class:"drink__ingridients"},$={class:"drink__ingridient"},H={class:"drink__instructions"},J={class:"drink__img"},K=["alt"],M=k({__name:"CocktailView",setup(i){const n=y(),o=V(),r=m(()=>o._getCocktail(n.params.slug));return g(()=>n.params.slug,async()=>{n.params.slug&&await o._fetchCocktail(n.params.slug)},{immediate:!0}),(P,Q)=>{const v=f("lazy");return e(),a("div",T,[s("div",z,[r.value?(e(),a("div",B,[(e(!0),a(d,null,u(r.value.drinks,t=>(e(),a("div",F,[s("div",N,[s("div",b,c(t.strDrink),1),t.strTags?(e(),a("div",A,[(e(!0),a(d,null,u(t.strTags.split(","),_=>(e(),a("span",{key:_},c(_),1))),128))])):p("",!0),s("div",G,[L,h(),s("span",null,c(t.strCategory),1)]),s("div",W,[j,h(),s("span",null,c(t.strAlcoholic),1)]),s("div",q,[E,h(),s("span",null,c(t.strGlass),1)]),O,s("div",R,[(e(!0),a(d,null,u(C(x)(t,"strIngredien"),_=>(e(),a("div",$,c(_),1))),256))]),s("div",H,c(t.strInstructions),1)]),s("div",J,[w(s("img",{alt:t.strDrink,"lazy-load":""},null,8,K),[[v,t.strDrinkThumb]])])]))),256))])):p("",!0)])])}}}),Y=D(M,[["__scopeId","data-v-f57023c4"]]);export{Y as default}; diff --git a/docs/assets/CocktailView-CnjZClcz.css b/docs/assets/CocktailView-CnjZClcz.css new file mode 100644 index 0000000..b8cc5c4 --- /dev/null +++ b/docs/assets/CocktailView-CnjZClcz.css @@ -0,0 +1 @@ +.drink[data-v-f57023c4]{border:1px solid #020202;margin-bottom:15px;padding:13px 15px;display:flex;align-items:stretch;flex-wrap:wrap}.drink__desc[data-v-f57023c4]{max-width:70%;flex-grow:1}@media (max-width: 767px),(min-width: 768px) and (max-width: 1024px){.drink__desc[data-v-f57023c4]{max-width:100%;order:2}}.drink__title[data-v-f57023c4]{font-size:18px;font-weight:600;margin-bottom:18px}.drink__tags[data-v-f57023c4]{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.drink__tags span[data-v-f57023c4]{background:#e5e5e5;padding:3px 5px;display:inline-block;border-radius:8px;font-size:12px}.drink__category span[data-v-f57023c4]:first-child,.drink__alcoholic-type span[data-v-f57023c4]:first-child,.drink__glass span[data-v-f57023c4]:first-child{font-weight:700}.drink__head-3[data-v-f57023c4]{margin-top:16px;margin-bottom:10px}.drink__img[data-v-f57023c4]{max-width:28%}@media (max-width: 767px),(min-width: 768px) and (max-width: 1024px){.drink__img[data-v-f57023c4]{max-width:100%;margin-bottom:15px;order:1}}.drink__img img[data-v-f57023c4]{width:100%;max-width:380px;margin:0 auto} diff --git a/docs/assets/index-BNt3EKxU.js b/docs/assets/index-BNt3EKxU.js new file mode 100644 index 0000000..993df1b --- /dev/null +++ b/docs/assets/index-BNt3EKxU.js @@ -0,0 +1,6 @@ +var Me=Object.defineProperty;var ze=(e,t,n)=>t in e?Me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var J=(e,t,n)=>(ze(e,typeof t!="symbol"?t+"":t,n),n);import{x as $e,y as ie,l as ae}from"./index-CSOjfTz9.js";function Je(e,t){return{statusCode:Number(e),message:t.response.data.data.message}}class U{constructor(t){J(this,"_handleRequestError",t=>Promise.reject(t));J(this,"_handleResponse",t=>t);this.$http=t,this._initializeInterceptors()}_initializeInterceptors(){this.$http.interceptors.request.use(U._handleRequest,this._handleRequestError),this.$http.interceptors.response.use(this._handleResponse,U._handleResponseError.bind(this))}static _handleRequest(t){return t}static _handleResponseError(t){var r;const n=Number(((r=t.response)==null?void 0:r.status)||t.code);return Promise.reject(Je(n,t))}async get(t,n){try{return await this.$http.get(t,n==null?void 0:n.params)}catch(r){return Promise.reject(r)}}async post(t,n,r){try{return await this.$http.post(t,n==null?void 0:n.params,r)}catch(s){return Promise.reject(s)}}async put(t,n){try{return await this.$http.put(t,n==null?void 0:n.params)}catch(r){return Promise.reject(r)}}async patch(t,n,r){try{return await this.$http.patch(t,n==null?void 0:n.params,r)}catch(s){return Promise.reject(s)}}async delete(t,n){try{return await this.$http.delete(t,n==null?void 0:n.params)}catch(r){return Promise.reject(r)}}fakeGet(t){return new Promise(n=>{n(t)})}}function be(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ve}=Object.prototype,{getPrototypeOf:ee}=Object,H=(e=>t=>{const n=Ve.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),A=e=>(e=e.toLowerCase(),t=>H(t)===e),I=e=>t=>typeof t===e,{isArray:C}=Array,F=I("undefined");function We(e){return e!==null&&!F(e)&&e.constructor!==null&&!F(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Se=A("ArrayBuffer");function Ke(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Se(e.buffer),t}const ve=I("string"),R=I("function"),Re=I("number"),M=e=>e!==null&&typeof e=="object",Ge=e=>e===!0||e===!1,j=e=>{if(H(e)!=="object")return!1;const t=ee(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Xe=A("Date"),Qe=A("File"),Ze=A("Blob"),Ye=A("FileList"),et=e=>M(e)&&R(e.pipe),tt=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||R(e.append)&&((t=H(e))==="formdata"||t==="object"&&R(e.toString)&&e.toString()==="[object FormData]"))},nt=A("URLSearchParams"),rt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function k(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),C(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Ae=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Te=e=>!F(e)&&e!==Ae;function G(){const{caseless:e}=Te(this)&&this||{},t={},n=(r,s)=>{const i=e&&Oe(t,s)||s;j(t[i])&&j(r)?t[i]=G(t[i],r):j(r)?t[i]=G({},r):C(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r(k(t,(s,i)=>{n&&R(s)?e[i]=be(s,n):e[i]=s},{allOwnKeys:r}),e),ot=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),it=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},at=(e,t,n,r)=>{let s,i,o;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!c[o]&&(t[o]=e[o],c[o]=!0);e=n!==!1&&ee(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ct=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},ut=e=>{if(!e)return null;if(C(e))return e;let t=e.length;if(!Re(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},lt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ee(Uint8Array)),ft=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},dt=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},ht=A("HTMLFormElement"),pt=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),ce=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),mt=A("RegExp"),ge=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};k(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},yt=e=>{ge(e,(t,n)=>{if(R(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(R(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},wt=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return C(e)?r(e):r(String(e).split(t)),n},Et=()=>{},bt=(e,t)=>(e=+e,Number.isFinite(e)?e:t),V="abcdefghijklmnopqrstuvwxyz",ue="0123456789",Pe={DIGIT:ue,ALPHA:V,ALPHA_DIGIT:V+V.toUpperCase()+ue},St=(e=16,t=Pe.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Rt(e){return!!(e&&R(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ot=e=>{const t=new Array(10),n=(r,s)=>{if(M(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=C(r)?[]:{};return k(r,(o,c)=>{const h=n(o,s+1);!F(h)&&(i[c]=h)}),t[s]=void 0,i}}return r};return n(e,0)},At=A("AsyncFunction"),Tt=e=>e&&(M(e)||R(e))&&R(e.then)&&R(e.catch),a={isArray:C,isArrayBuffer:Se,isBuffer:We,isFormData:tt,isArrayBufferView:Ke,isString:ve,isNumber:Re,isBoolean:Ge,isObject:M,isPlainObject:j,isUndefined:F,isDate:Xe,isFile:Qe,isBlob:Ze,isRegExp:mt,isFunction:R,isStream:et,isURLSearchParams:nt,isTypedArray:lt,isFileList:Ye,forEach:k,merge:G,extend:st,trim:rt,stripBOM:ot,inherits:it,toFlatObject:at,kindOf:H,kindOfTest:A,endsWith:ct,toArray:ut,forEachEntry:ft,matchAll:dt,isHTMLForm:ht,hasOwnProperty:ce,hasOwnProp:ce,reduceDescriptors:ge,freezeMethods:yt,toObjectSet:wt,toCamelCase:pt,noop:Et,toFiniteNumber:bt,findKey:Oe,global:Ae,isContextDefined:Te,ALPHABET:Pe,generateString:St,isSpecCompliantForm:Rt,toJSONObject:Ot,isAsyncFn:At,isThenable:Tt};function m(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}a.inherits(m,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const xe=m.prototype,Ne={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ne[e]={value:e}});Object.defineProperties(m,Ne);Object.defineProperty(xe,"isAxiosError",{value:!0});m.from=(e,t,n,r,s,i)=>{const o=Object.create(xe);return a.toFlatObject(e,o,function(h){return h!==Error.prototype},c=>c!=="isAxiosError"),m.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const gt=null;function X(e){return a.isPlainObject(e)||a.isArray(e)}function Ce(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function le(e,t,n){return e?e.concat(t).map(function(s,i){return s=Ce(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function Pt(e){return a.isArray(e)&&!e.some(X)}const xt=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function z(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,E){return!a.isUndefined(E[d])});const r=n.metaTokens,s=n.visitor||l,i=n.dots,o=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function p(f){if(f===null)return"";if(a.isDate(f))return f.toISOString();if(!h&&a.isBlob(f))throw new m("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(f)||a.isTypedArray(f)?h&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,d,E){let b=f;if(f&&!E&&typeof f=="object"){if(a.endsWith(d,"{}"))d=r?d:d.slice(0,-2),f=JSON.stringify(f);else if(a.isArray(f)&&Pt(f)||(a.isFileList(f)||a.endsWith(d,"[]"))&&(b=a.toArray(f)))return d=Ce(d),b.forEach(function(P,Ie){!(a.isUndefined(P)||P===null)&&t.append(o===!0?le([d],Ie,i):o===null?d:d+"[]",p(P))}),!1}return X(f)?!0:(t.append(le(E,d,i),p(f)),!1)}const u=[],w=Object.assign(xt,{defaultVisitor:l,convertValue:p,isVisitable:X});function S(f,d){if(!a.isUndefined(f)){if(u.indexOf(f)!==-1)throw Error("Circular reference detected in "+d.join("."));u.push(f),a.forEach(f,function(b,g){(!(a.isUndefined(b)||b===null)&&s.call(t,b,a.isString(g)?g.trim():g,d,w))===!0&&S(b,d?d.concat(g):[g])}),u.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return S(e),t}function fe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function te(e,t){this._pairs=[],e&&z(e,this,t)}const _e=te.prototype;_e.append=function(t,n){this._pairs.push([t,n])};_e.toString=function(t){const n=t?function(r){return t.call(this,r,fe)}:fe;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Nt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Fe(e,t,n){if(!t)return e;const r=n&&n.encode||Nt,s=n&&n.serialize;let i;if(s?i=s(t,n):i=a.isURLSearchParams(t)?t.toString():new te(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class de{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const ke={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ct=typeof URLSearchParams<"u"?URLSearchParams:te,_t=typeof FormData<"u"?FormData:null,Ft=typeof Blob<"u"?Blob:null,kt={isBrowser:!0,classes:{URLSearchParams:Ct,FormData:_t,Blob:Ft},protocols:["http","https","file","blob","url","data"]},Le=typeof window<"u"&&typeof document<"u",Lt=(e=>Le&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),jt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Bt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Le,hasStandardBrowserEnv:Lt,hasStandardBrowserWebWorkerEnv:jt},Symbol.toStringTag,{value:"Module"})),O={...Bt,...kt};function Dt(e,t){return z(e,new O.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return O.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Ut(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function qt(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&a.isArray(s)?s.length:o,h?(a.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!c):((!s[o]||!a.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&a.isArray(s[o])&&(s[o]=qt(s[o])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(Ut(r),s,n,0)}),n}return null}function Ht(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ne={transitional:ke,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=a.isObject(t);if(i&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(je(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Dt(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return z(c?{"files[]":t}:t,h&&new h,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),Ht(t)):t}],transformResponse:[function(t){const n=this.transitional||ne.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&a.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(o)throw c.name==="SyntaxError"?m.from(c,m.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:O.classes.FormData,Blob:O.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{ne.headers[e]={}});const re=ne,It=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Mt=e=>{const t={};let n,r,s;return e&&e.split(` +`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&It[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},he=Symbol("internals");function _(e){return e&&String(e).trim().toLowerCase()}function B(e){return e===!1||e==null?e:a.isArray(e)?e.map(B):String(e)}function zt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const $t=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function W(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function Jt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Vt(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}class ${constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(c,h,p){const l=_(h);if(!l)throw new Error("header name must be a non-empty string");const u=a.findKey(s,l);(!u||s[u]===void 0||p===!0||p===void 0&&s[u]!==!1)&&(s[u||h]=B(c))}const o=(c,h)=>a.forEach(c,(p,l)=>i(p,l,h));return a.isPlainObject(t)||t instanceof this.constructor?o(t,n):a.isString(t)&&(t=t.trim())&&!$t(t)?o(Mt(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=_(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return zt(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||W(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=_(o),o){const c=a.findKey(r,o);c&&(!n||W(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||W(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,i)=>{const o=a.findKey(r,i);if(o){n[o]=B(s),delete n[i];return}const c=t?Jt(i):String(i).trim();c!==i&&delete n[i],n[c]=B(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.isArray(r)?r.join(", "):r)}),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 r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[he]=this[he]={accessors:{}}).accessors,s=this.prototype;function i(o){const c=_(o);r[c]||(Vt(s,o),r[c]=!0)}return a.isArray(t)?t.forEach(i):i(t),this}}$.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors($.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods($);const T=$;function K(e,t){const n=this||re,r=t||n,s=T.from(r.headers);let i=r.data;return a.forEach(e,function(c){i=c.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function Be(e){return!!(e&&e.__CANCEL__)}function L(e,t,n){m.call(this,e??"canceled",m.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(L,m,{__CANCEL__:!0});function Wt(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new m("Request failed with status code "+n.status,[m.ERR_BAD_REQUEST,m.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Kt=O.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),a.isString(r)&&o.push("path="+r),a.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.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 vt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Gt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function De(e,t){return e&&!vt(t)?Gt(e,t):t}const Xt=O.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 r=s(window.location.href),function(o){const c=a.isString(o)?s(o):o;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function Qt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Zt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(h){const p=Date.now(),l=r[i];o||(o=p),n[s]=h,r[s]=p;let u=i,w=0;for(;u!==s;)w+=n[u++],u=u%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),p-o{const i=s.loaded,o=s.lengthComputable?s.total:void 0,c=i-n,h=r(c),p=i<=o;n=i;const l={loaded:i,total:o,progress:o?i/o:void 0,bytes:c,rate:h||void 0,estimated:h&&o&&p?(o-i)/h:void 0,event:s};l[t?"download":"upload"]=!0,e(l)}}const Yt=typeof XMLHttpRequest<"u",en=Yt&&function(e){return new Promise(function(n,r){let s=e.data;const i=T.from(e.headers).normalize();let{responseType:o,withXSRFToken:c}=e,h;function p(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}let l;if(a.isFormData(s)){if(O.hasStandardBrowserEnv||O.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((l=i.getContentType())!==!1){const[d,...E]=l?l.split(";").map(b=>b.trim()).filter(Boolean):[];i.setContentType([d||"multipart/form-data",...E].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const d=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(d+":"+E))}const w=De(e.baseURL,e.url);u.open(e.method.toUpperCase(),Fe(w,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function S(){if(!u)return;const d=T.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),b={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:d,config:e,request:u};Wt(function(P){n(P),p()},function(P){r(P),p()},b),u=null}if("onloadend"in u?u.onloadend=S:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(S)},u.onabort=function(){u&&(r(new m("Request aborted",m.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new m("Network Error",m.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let E=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||ke;e.timeoutErrorMessage&&(E=e.timeoutErrorMessage),r(new m(E,b.clarifyTimeoutError?m.ETIMEDOUT:m.ECONNABORTED,e,u)),u=null},O.hasStandardBrowserEnv&&(c&&a.isFunction(c)&&(c=c(e)),c||c!==!1&&Xt(w))){const d=e.xsrfHeaderName&&e.xsrfCookieName&&Kt.read(e.xsrfCookieName);d&&i.set(e.xsrfHeaderName,d)}s===void 0&&i.setContentType(null),"setRequestHeader"in u&&a.forEach(i.toJSON(),function(E,b){u.setRequestHeader(b,E)}),a.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&o!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",pe(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",pe(e.onUploadProgress)),(e.cancelToken||e.signal)&&(h=d=>{u&&(r(!d||d.type?new L(null,e,u):d),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h)));const f=Qt(w);if(f&&O.protocols.indexOf(f)===-1){r(new m("Unsupported protocol "+f+":",m.ERR_BAD_REQUEST,e));return}u.send(s||null)})},Q={http:gt,xhr:en};a.forEach(Q,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const me=e=>`- ${e}`,tn=e=>a.isFunction(e)||e===null||e===!1,Ue={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i`adapter ${c} `+(h===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : +`+i.map(me).join(` +`):" "+me(i[0]):"as no adapter specified";throw new m("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:Q};function v(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new L(null,e)}function ye(e){return v(e),e.headers=T.from(e.headers),e.data=K.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ue.getAdapter(e.adapter||re.adapter)(e).then(function(r){return v(e),r.data=K.call(e,e.transformResponse,r),r.headers=T.from(r.headers),r},function(r){return Be(r)||(v(e),r&&r.response&&(r.response.data=K.call(e,e.transformResponse,r.response),r.response.headers=T.from(r.response.headers))),Promise.reject(r)})}const we=e=>e instanceof T?{...e}:e;function N(e,t){t=t||{};const n={};function r(p,l,u){return a.isPlainObject(p)&&a.isPlainObject(l)?a.merge.call({caseless:u},p,l):a.isPlainObject(l)?a.merge({},l):a.isArray(l)?l.slice():l}function s(p,l,u){if(a.isUndefined(l)){if(!a.isUndefined(p))return r(void 0,p,u)}else return r(p,l,u)}function i(p,l){if(!a.isUndefined(l))return r(void 0,l)}function o(p,l){if(a.isUndefined(l)){if(!a.isUndefined(p))return r(void 0,p)}else return r(void 0,l)}function c(p,l,u){if(u in t)return r(p,l);if(u in e)return r(void 0,p)}const h={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:c,headers:(p,l)=>s(we(p),we(l),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=h[l]||s,w=u(e[l],t[l],l);a.isUndefined(w)&&u!==c||(n[l]=w)}),n}const qe="1.6.8",se={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{se[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ee={};se.transitional=function(t,n,r){function s(i,o){return"[Axios v"+qe+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,c)=>{if(t===!1)throw new m(s(o," has been removed"+(n?" in "+n:"")),m.ERR_DEPRECATED);return n&&!Ee[o]&&(Ee[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,c):!0}};function nn(e,t,n){if(typeof e!="object")throw new m("options must be an object",m.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const c=e[i],h=c===void 0||o(c,i,e);if(h!==!0)throw new m("option "+i+" must be "+h,m.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new m("Unknown option "+i,m.ERR_BAD_OPTION)}}const Z={assertOptions:nn,validators:se},x=Z.validators;class q{constructor(t){this.defaults=t,this.interceptors={request:new de,response:new de}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+i):r.stack=i}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=N(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&Z.assertOptions(r,{silentJSONParsing:x.transitional(x.boolean),forcedJSONParsing:x.transitional(x.boolean),clarifyTimeoutError:x.transitional(x.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:Z.assertOptions(s,{encode:x.function,serialize:x.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&a.merge(i.common,i[n.method]);i&&a.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),n.headers=T.concat(o,i);const c=[];let h=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(h=h&&d.synchronous,c.unshift(d.fulfilled,d.rejected))});const p=[];this.interceptors.response.forEach(function(d){p.push(d.fulfilled,d.rejected)});let l,u=0,w;if(!h){const f=[ye.bind(this),void 0];for(f.unshift.apply(f,c),f.push.apply(f,p),w=f.length,l=Promise.resolve(n);u{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(c=>{r.subscribe(c),i=c}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,c){r.reason||(r.reason=new L(i,o,c),n(r.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 oe(function(s){t=s}),cancel:t}}}const rn=oe;function sn(e){return function(n){return e.apply(null,n)}}function on(e){return a.isObject(e)&&e.isAxiosError===!0}const Y={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(Y).forEach(([e,t])=>{Y[t]=e});const an=Y;function He(e){const t=new D(e),n=be(D.prototype.request,t);return a.extend(n,D.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return He(N(e,s))},n}const y=He(re);y.Axios=D;y.CanceledError=L;y.CancelToken=rn;y.isCancel=Be;y.VERSION=qe;y.toFormData=z;y.AxiosError=m;y.Cancel=y.CanceledError;y.all=function(t){return Promise.all(t)};y.spread=sn;y.isAxiosError=on;y.mergeConfig=N;y.AxiosHeaders=T;y.formToJSON=e=>je(a.isHTMLForm(e)?new FormData(e):e);y.getAdapter=Ue.getAdapter;y.HttpStatusCode=an;y.default=y;const cn=y.create({baseURL:"https://www.thecocktaildb.com/api/json/v1",headers:{"Content-type":"application/json"}}),un={common:{http:new U(cn)}},ln=[{id:0,slug:"margarita",name:"margarita"},{id:1,slug:"mojito",name:"mojito"},{id:2,slug:"a1",name:"a1"},{id:3,slug:"kir",name:"kir"}],fn=async()=>new Promise(e=>{e({data:ln})}),dn=async e=>await un.common.http.get(`/1/search.php?s=${e}`),mn=$e("CocktailStore",()=>{const e=ie(),t=ae(()=>e.value||[]);async function n(){var o;try{if((o=e.value)!=null&&o.length)return;const{data:c}=await fn();e.value=c}catch(c){throw c}}const r=ie({}),s=ae(()=>o=>r.value[o]);async function i(o){try{if(!r.value[o]){const{data:c}=await dn(o);r.value[o]=c}}catch(c){throw c}}return{cocktailList:e,cocktails:r,_getCocktailList:t,_fetchCocktailList:n,_getCocktail:s,_fetchCocktail:i}},{persist:!0});export{mn as u}; diff --git a/docs/assets/index-CSOjfTz9.js b/docs/assets/index-CSOjfTz9.js new file mode 100644 index 0000000..6ccdd86 --- /dev/null +++ b/docs/assets/index-CSOjfTz9.js @@ -0,0 +1,31 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[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 i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).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)}})();/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function os(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const ee={},yt=[],Ae=()=>{},Zo=()=>!1,pn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),is=e=>e.startsWith("onUpdate:"),fe=Object.assign,ls=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ei=Object.prototype.hasOwnProperty,K=(e,t)=>ei.call(e,t),j=Array.isArray,bt=e=>gn(e)==="[object Map]",Lr=e=>gn(e)==="[object Set]",D=e=>typeof e=="function",ie=e=>typeof e=="string",Ot=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Mr=e=>(se(e)||D(e))&&D(e.then)&&D(e.catch),$r=Object.prototype.toString,gn=e=>$r.call(e),ti=e=>gn(e).slice(8,-1),Nr=e=>gn(e)==="[object Object]",cs=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Mt=os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),mn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ni=/-(\w)/g,ke=mn(e=>e.replace(ni,(t,n)=>n?n.toUpperCase():"")),si=/\B([A-Z])/g,Pt=mn(e=>e.replace(si,"-$1").toLowerCase()),_n=mn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Tn=mn(e=>e?`on${_n(e)}`:""),tt=(e,t)=>!Object.is(e,t),Ln=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ri=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Is;const jr=()=>Is||(Is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(ii);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function fs(e){let t="";if(ie(e))t=e;else if(j(e))for(let n=0;nie(e)?e:e==null?"":j(e)||se(e)&&(e.toString===$r||!D(e.toString))?JSON.stringify(e,kr,2):String(e),kr=(e,t)=>t&&t.__v_isRef?kr(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Mn(s,o)+" =>"]=r,n),{})}:Lr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Mn(n))}:Ot(t)?Mn(t):se(t)&&!j(t)&&!Nr(t)?String(t):t,Mn=(e,t="")=>{var n;return Ot(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let we;class Hr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=we,!t&&we&&(this.index=(we.scopes||(we.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=we;try{return we=this,t()}finally{we=n}}}on(){we=this}off(){we=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),at()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Xe,n=lt;try{return Xe=!0,lt=this,this._runnings++,Ts(this),this.fn()}finally{Ls(this),this._runnings--,lt=n,Xe=t}}stop(){var t;this.active&&(Ts(this),Ls(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function hi(e){return e.value}function Ts(e){e._trackId++,e._depsLength=0}function Ls(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},un=new WeakMap,ct=Symbol(""),zn=Symbol("");function be(e,t,n){if(Xe&<){let s=un.get(e);s||un.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Wr(()=>s.delete(n))),Kr(lt,r)}}function Ue(e,t,n,s,r,o){const i=un.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&j(e)){const c=Number(s);i.forEach((d,f)=>{(f==="length"||!Ot(f)&&f>=c)&&l.push(d)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":j(e)?cs(n)&&l.push(i.get("length")):(l.push(i.get(ct)),bt(e)&&l.push(i.get(zn)));break;case"delete":j(e)||(l.push(i.get(ct)),bt(e)&&l.push(i.get(zn)));break;case"set":bt(e)&&l.push(i.get(ct));break}ds();for(const c of l)c&&zr(c,4);hs()}function pi(e,t){var n;return(n=un.get(e))==null?void 0:n.get(t)}const gi=os("__proto__,__v_isRef,__isVue"),qr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ot)),Ms=mi();function mi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=z(this);for(let o=0,i=this.length;o{e[t]=function(...n){ft(),ds();const s=z(this)[t].apply(this,n);return hs(),at(),s}}),e}function _i(e){const t=z(this);return be(t,"has",e),t.hasOwnProperty(e)}class Gr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Ii:Xr:o?Yr:Qr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=j(t);if(!r){if(i&&K(Ms,n))return Reflect.get(Ms,n,s);if(n==="hasOwnProperty")return _i}const l=Reflect.get(t,n,s);return(Ot(n)?qr.has(n):gi(n))||(r||be(t,"get",n),o)?l:le(l)?i&&cs(n)?l:l.value:se(l)?r?eo(l):qt(l):l}}class Jr extends Gr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const c=Rt(o);if(!fn(s)&&!Rt(s)&&(o=z(o),s=z(s)),!j(t)&&le(o)&&!le(s))return c?!1:(o.value=s,!0)}const i=j(t)&&cs(n)?Number(n)e,yn=e=>Reflect.getPrototypeOf(e);function Qt(e,t,n=!1,s=!1){e=e.__v_raw;const r=z(e),o=z(t);n||(tt(t,o)&&be(r,"get",t),be(r,"get",o));const{has:i}=yn(r),l=s?ps:n?_s:Bt;if(i.call(r,t))return l(e.get(t));if(i.call(r,o))return l(e.get(o));e!==r&&e.get(t)}function Yt(e,t=!1){const n=this.__v_raw,s=z(n),r=z(e);return t||(tt(e,r)&&be(s,"has",e),be(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Xt(e,t=!1){return e=e.__v_raw,!t&&be(z(e),"iterate",ct),Reflect.get(e,"size",e)}function $s(e){e=z(e);const t=z(this);return yn(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function Ns(e,t){t=z(t);const n=z(this),{has:s,get:r}=yn(n);let o=s.call(n,e);o||(e=z(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?tt(t,i)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function js(e){const t=z(this),{has:n,get:s}=yn(t);let r=n.call(t,e);r||(e=z(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ue(t,"delete",e,void 0),o}function Fs(){const e=z(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function Zt(e,t){return function(s,r){const o=this,i=o.__v_raw,l=z(i),c=t?ps:e?_s:Bt;return!e&&be(l,"iterate",ct),i.forEach((d,f)=>s.call(r,c(d),c(f),o))}}function en(e,t,n){return function(...s){const r=this.__v_raw,o=z(r),i=bt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,d=r[e](...s),f=n?ps:t?_s:Bt;return!t&&be(o,"iterate",c?zn:ct),{next(){const{value:h,done:p}=d.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}},[Symbol.iterator](){return this}}}}function ze(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wi(){const e={get(o){return Qt(this,o)},get size(){return Xt(this)},has:Yt,add:$s,set:Ns,delete:js,clear:Fs,forEach:Zt(!1,!1)},t={get(o){return Qt(this,o,!1,!0)},get size(){return Xt(this)},has:Yt,add:$s,set:Ns,delete:js,clear:Fs,forEach:Zt(!1,!0)},n={get(o){return Qt(this,o,!0)},get size(){return Xt(this,!0)},has(o){return Yt.call(this,o,!0)},add:ze("add"),set:ze("set"),delete:ze("delete"),clear:ze("clear"),forEach:Zt(!0,!1)},s={get(o){return Qt(this,o,!0,!0)},get size(){return Xt(this,!0)},has(o){return Yt.call(this,o,!0)},add:ze("add"),set:ze("set"),delete:ze("delete"),clear:ze("clear"),forEach:Zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=en(o,!1,!1),n[o]=en(o,!0,!1),t[o]=en(o,!1,!0),s[o]=en(o,!0,!0)}),[e,n,t,s]}const[Ri,Si,xi,Ai]=wi();function gs(e,t){const n=t?e?Ai:xi:e?Si:Ri;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(K(n,r)&&r in s?n:s,r,o)}const Oi={get:gs(!1,!1)},Pi={get:gs(!1,!0)},Ci={get:gs(!0,!1)},Qr=new WeakMap,Yr=new WeakMap,Xr=new WeakMap,Ii=new WeakMap;function Ti(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Li(e){return e.__v_skip||!Object.isExtensible(e)?0:Ti(ti(e))}function qt(e){return Rt(e)?e:ms(e,!1,bi,Oi,Qr)}function Zr(e){return ms(e,!1,Ei,Pi,Yr)}function eo(e){return ms(e,!0,vi,Ci,Xr)}function ms(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Li(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Ze(e){return Rt(e)?Ze(e.__v_raw):!!(e&&e.__v_isReactive)}function Rt(e){return!!(e&&e.__v_isReadonly)}function fn(e){return!!(e&&e.__v_isShallow)}function to(e){return Ze(e)||Rt(e)}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function bn(e){return Object.isExtensible(e)&&cn(e,"__v_skip",!0),e}const Bt=e=>se(e)?qt(e):e,_s=e=>se(e)?eo(e):e;class no{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new as(()=>t(this._value),()=>nn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=z(this);return(!t._cacheable||t.effect.dirty)&&tt(t._value,t._value=t.effect.run())&&nn(t,4),so(t),t.effect._dirtyLevel>=2&&nn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Mi(e,t,n=!1){let s,r;const o=D(e);return o?(s=e,r=Ae):(s=e.get,r=e.set),new no(s,r,o||!r,n)}function so(e){var t;Xe&<&&(e=z(e),Kr(lt,(t=e.dep)!=null?t:e.dep=Wr(()=>e.dep=void 0,e instanceof no?e:void 0)))}function nn(e,t=4,n){e=z(e);const s=e.dep;s&&zr(s,t)}function le(e){return!!(e&&e.__v_isRef===!0)}function ys(e){return ro(e,!1)}function $i(e){return ro(e,!0)}function ro(e,t){return le(e)?e:new Ni(e,t)}class Ni{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:z(t),this._value=n?t:Bt(t)}get value(){return so(this),this._value}set value(t){const n=this.__v_isShallow||fn(t)||Rt(t);t=n?t:z(t),tt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Bt(t),nn(this,4))}}function vt(e){return le(e)?e.value:e}const ji={get:(e,t,n)=>vt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function oo(e){return Ze(e)?e:new Proxy(e,ji)}function Fi(e){const t=j(e)?new Array(e.length):{};for(const n in e)t[n]=Hi(e,n);return t}class ki{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return pi(z(this._object),this._key)}}function Hi(e,t,n){const s=e[t];return le(s)?s:new ki(e,t,n)}/** +* @vue/runtime-core v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function et(e,t,n,s){try{return s?e(...s):e()}catch(r){vn(r,t,n)}}function Ie(e,t,n,s){if(D(e)){const o=et(e,t,n,s);return o&&Mr(o)&&o.catch(i=>{vn(i,t,n)}),o}const r=[];for(let o=0;o>>1,r=he[s],o=Vt(r);oFe&&he.splice(t,1)}function Vi(e){j(e)?Et.push(...e):(!Ge||!Ge.includes(e,e.allowRecurse?ot+1:ot))&&Et.push(e),lo()}function ks(e,t,n=Ut?Fe+1:0){for(;nVt(n)-Vt(s));if(Et.length=0,Ge){Ge.push(...t);return}for(Ge=t,ot=0;ote.id==null?1/0:e.id,Ki=(e,t)=>{const n=Vt(e)-Vt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function uo(e){Wn=!1,Ut=!0,he.sort(Ki);try{for(Fe=0;Feie(_)?_.trim():_)),h&&(r=n.map(ri))}let l,c=s[l=Tn(t)]||s[l=Tn(ke(t))];!c&&o&&(c=s[l=Tn(Pt(t))]),c&&Ie(c,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ie(d,e,6,r)}}function fo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!D(e)){const c=d=>{const f=fo(d,t,!0);f&&(l=!0,fe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(se(e)&&s.set(e,null),null):(j(o)?o.forEach(c=>i[c]=null):fe(i,o),se(e)&&s.set(e,i),i)}function En(e,t){return!e||!pn(t)?!1:(t=t.slice(2).replace(/Once$/,""),K(e,t[0].toLowerCase()+t.slice(1))||K(e,Pt(t))||K(e,t))}let ge=null,wn=null;function an(e){const t=ge;return ge=e,wn=e&&e.type.__scopeId||null,t}function pf(e){wn=e}function gf(){wn=null}function Wi(e,t=ge,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Js(-1);const o=an(t);let i;try{i=e(...r)}finally{an(o),s._d&&Js(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function $n(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:l,attrs:c,emit:d,render:f,renderCache:h,data:p,setupState:_,ctx:A,inheritAttrs:L}=e;let N,I;const $=an(e);try{if(n.shapeFlag&4){const W=r||s,q=W;N=je(f.call(q,W,h,o,_,p,A)),I=c}else{const W=t;N=je(W.length>1?W(o,{attrs:c,slots:l,emit:d}):W(o,null)),I=t.props?c:qi(c)}}catch(W){jt.length=0,vn(W,e,1),N=ye(ut)}let k=N;if(I&&L!==!1){const W=Object.keys(I),{shapeFlag:q}=k;W.length&&q&7&&(i&&W.some(is)&&(I=Gi(I,i)),k=St(k,I))}return n.dirs&&(k=St(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),N=k,an($),N}const qi=e=>{let t;for(const n in e)(n==="class"||n==="style"||pn(n))&&((t||(t={}))[n]=e[n]);return t},Gi=(e,t)=>{const n={};for(const s in e)(!is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ji(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Hs(s,i,d):!!i;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function tl(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Vi(e)}const nl=Symbol.for("v-scx"),sl=()=>Oe(nl),tn={};function $t(e,t,n){return po(e,t,n)}function po(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:l}=ee){if(t&&o){const H=t;t=(...re)=>{H(...re),q()}}const c=ue,d=H=>s===!0?H:it(H,s===!1?1:void 0);let f,h=!1,p=!1;if(le(e)?(f=()=>e.value,h=fn(e)):Ze(e)?(f=()=>d(e),h=!0):j(e)?(p=!0,h=e.some(H=>Ze(H)||fn(H)),f=()=>e.map(H=>{if(le(H))return H.value;if(Ze(H))return d(H);if(D(H))return et(H,c,2)})):D(e)?t?f=()=>et(e,c,2):f=()=>(_&&_(),Ie(e,c,3,[A])):f=Ae,t&&s){const H=f;f=()=>it(H())}let _,A=H=>{_=k.onStop=()=>{et(H,c,4),_=k.onStop=void 0}},L;if(An)if(A=Ae,t?n&&Ie(t,c,3,[f(),p?[]:void 0,A]):f(),r==="sync"){const H=sl();L=H.__watcherHandles||(H.__watcherHandles=[])}else return Ae;let N=p?new Array(e.length).fill(tn):tn;const I=()=>{if(!(!k.active||!k.dirty))if(t){const H=k.run();(s||h||(p?H.some((re,U)=>tt(re,N[U])):tt(H,N)))&&(_&&_(),Ie(t,c,3,[H,N===tn?void 0:p&&N[0]===tn?[]:N,A]),N=H)}else k.run()};I.allowRecurse=!!t;let $;r==="sync"?$=I:r==="post"?$=()=>_e(I,c&&c.suspense):(I.pre=!0,c&&(I.id=c.uid),$=()=>Es(I));const k=new as(f,Ae,$),W=Br(),q=()=>{k.stop(),W&&ls(W.effects,k)};return t?n?I():N=k.run():r==="post"?_e(k.run.bind(k),c&&c.suspense):k.run(),L&&L.push(q),q}function rl(e,t,n){const s=this.proxy,r=ie(e)?e.includes(".")?go(s,e):()=>s[e]:e.bind(s,s);let o;D(t)?o=t:(o=t.handler,n=t);const i=Gt(this),l=po(r,o.bind(s),n);return i(),l}function go(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r0){if(n>=t)return e;n++}if(s=s||new Set,s.has(e))return e;if(s.add(e),le(e))it(e.value,t,n,s);else if(j(e))for(let r=0;r{it(r,t,n,s)});else if(Nr(e))for(const r in e)it(e[r],t,n,s);return e}function _f(e,t){if(ge===null)return e;const n=On(ge)||ge.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r!!e.type.__asyncLoader,_o=e=>e.type.__isKeepAlive;function ol(e,t){yo(e,"a",t)}function il(e,t){yo(e,"da",t)}function yo(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)_o(r.parent.vnode)&&ll(s,t,n,r),r=r.parent}}function ll(e,t,n,s){const r=Rn(t,e,s,!0);bo(()=>{ls(s[t],r)},n)}function Rn(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;ft();const l=Gt(n),c=Ie(t,n,e,i);return l(),at(),c});return s?r.unshift(o):r.push(o),o}}const Ve=e=>(t,n=ue)=>(!An||e==="sp")&&Rn(e,(...s)=>t(...s),n),cl=Ve("bm"),ul=Ve("m"),fl=Ve("bu"),al=Ve("u"),dl=Ve("bum"),bo=Ve("um"),hl=Ve("sp"),pl=Ve("rtg"),gl=Ve("rtc");function ml(e,t=ue){Rn("ec",e,t)}function yf(e,t,n,s){let r;const o=n&&n[s];if(j(e)||ie(e)){r=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);r=new Array(i.length);for(let l=0,c=i.length;le?Mo(e)?On(e)||e.proxy:qn(e.parent):null,Nt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>qn(e.parent),$root:e=>qn(e.root),$emit:e=>e.emit,$options:e=>ws(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Es(e.update)}),$nextTick:e=>e.n||(e.n=vs.bind(e.proxy)),$watch:e=>rl.bind(e)}),Nn=(e,t)=>e!==ee&&!e.__isScriptSetup&&K(e,t),_l={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;let d;if(t[0]!=="$"){const _=i[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Nn(s,t))return i[t]=1,s[t];if(r!==ee&&K(r,t))return i[t]=2,r[t];if((d=e.propsOptions[0])&&K(d,t))return i[t]=3,o[t];if(n!==ee&&K(n,t))return i[t]=4,n[t];Gn&&(i[t]=0)}}const f=Nt[t];let h,p;if(f)return t==="$attrs"&&be(e,"get",t),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ee&&K(n,t))return i[t]=4,n[t];if(p=c.config.globalProperties,K(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Nn(r,t)?(r[t]=n,!0):s!==ee&&K(s,t)?(s[t]=n,!0):K(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let l;return!!n[i]||e!==ee&&K(e,i)||Nn(t,i)||(l=o[0])&&K(l,i)||K(s,i)||K(Nt,i)||K(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:K(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Bs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Gn=!0;function yl(e){const t=ws(e),n=e.proxy,s=e.ctx;Gn=!1,t.beforeCreate&&Us(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:d,created:f,beforeMount:h,mounted:p,beforeUpdate:_,updated:A,activated:L,deactivated:N,beforeDestroy:I,beforeUnmount:$,destroyed:k,unmounted:W,render:q,renderTracked:H,renderTriggered:re,errorCaptured:U,serverPrefetch:V,expose:oe,inheritAttrs:ae,components:ve,directives:Re,filters:nt}=t;if(d&&bl(d,s,null),i)for(const X in i){const J=i[X];D(J)&&(s[X]=J.bind(n))}if(r){const X=r.call(n,n);se(X)&&(e.data=qt(X))}if(Gn=!0,o)for(const X in o){const J=o[X],He=D(J)?J.bind(n,n):D(J.get)?J.get.bind(n,n):Ae,Ke=!D(J)&&D(J.set)?J.set.bind(n):Ae,Le=xe({get:He,set:Ke});Object.defineProperty(s,X,{enumerable:!0,configurable:!0,get:()=>Le.value,set:me=>Le.value=me})}if(l)for(const X in l)vo(l[X],s,n,X);if(c){const X=D(c)?c.call(n):c;Reflect.ownKeys(X).forEach(J=>{rn(J,X[J])})}f&&Us(f,e,"c");function G(X,J){j(J)?J.forEach(He=>X(He.bind(n))):J&&X(J.bind(n))}if(G(cl,h),G(ul,p),G(fl,_),G(al,A),G(ol,L),G(il,N),G(ml,U),G(gl,H),G(pl,re),G(dl,$),G(bo,W),G(hl,V),j(oe))if(oe.length){const X=e.exposed||(e.exposed={});oe.forEach(J=>{Object.defineProperty(X,J,{get:()=>n[J],set:He=>n[J]=He})})}else e.exposed||(e.exposed={});q&&e.render===Ae&&(e.render=q),ae!=null&&(e.inheritAttrs=ae),ve&&(e.components=ve),Re&&(e.directives=Re)}function bl(e,t,n=Ae){j(e)&&(e=Jn(e));for(const s in e){const r=e[s];let o;se(r)?"default"in r?o=Oe(r.from||s,r.default,!0):o=Oe(r.from||s):o=Oe(r),le(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Us(e,t,n){Ie(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function vo(e,t,n,s){const r=s.includes(".")?go(n,s):()=>n[s];if(ie(e)){const o=t[e];D(o)&&$t(r,o)}else if(D(e))$t(r,e.bind(n));else if(se(e))if(j(e))e.forEach(o=>vo(o,t,n,s));else{const o=D(e.handler)?e.handler.bind(n):t[e.handler];D(o)&&$t(r,o,e)}}function ws(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(d=>dn(c,d,i,!0)),dn(c,t,i)),se(t)&&o.set(t,c),c}function dn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&dn(e,o,n,!0),r&&r.forEach(i=>dn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=vl[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const vl={data:Vs,props:Ks,emits:Ks,methods:Lt,computed:Lt,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:Lt,directives:Lt,watch:wl,provide:Vs,inject:El};function Vs(e,t){return t?e?function(){return fe(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function El(e,t){return Lt(Jn(e),Jn(t))}function Jn(e){if(j(e)){const t={};for(let n=0;n1)return n&&D(t)?t.call(s&&s.proxy):t}}function xl(){return!!(ue||ge||wt)}function Al(e,t,n,s=!1){const r={},o={};cn(o,xn,1),e.propsDefaults=Object.create(null),wo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Zr(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Ol(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=z(r),[c]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[p,_]=Ro(h,t,!0);fe(i,p),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!c)return se(e)&&s.set(e,yt),yt;if(j(o))for(let f=0;f-1,_[1]=L<0||A-1||K(_,"default"))&&l.push(h)}}}const d=[i,l];return se(e)&&s.set(e,d),d}function zs(e){return e[0]!=="$"&&!Mt(e)}function Ws(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function qs(e,t){return Ws(e)===Ws(t)}function Gs(e,t){return j(t)?t.findIndex(n=>qs(n,e)):D(t)&&qs(t,e)?0:-1}const So=e=>e[0]==="_"||e==="$stable",Rs=e=>j(e)?e.map(je):[je(e)],Pl=(e,t,n)=>{if(t._n)return t;const s=Wi((...r)=>Rs(t(...r)),n);return s._c=!1,s},xo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(So(r))continue;const o=e[r];if(D(o))t[r]=Pl(r,o,s);else if(o!=null){const i=Rs(o);t[r]=()=>i}}},Ao=(e,t)=>{const n=Rs(t);e.slots.default=()=>n},Cl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=z(t),cn(t,"_",n)):xo(t,e.slots={})}else e.slots={},t&&Ao(e,t);cn(e.slots,xn,1)},Il=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ee;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(fe(r,t),!n&&l===1&&delete r._):(o=!t.$stable,xo(t,r)),i=t}else t&&(Ao(e,t),i={default:1});if(o)for(const l in r)!So(l)&&i[l]==null&&delete r[l]};function Yn(e,t,n,s,r=!1){if(j(e)){e.forEach((p,_)=>Yn(p,t&&(j(t)?t[_]:t),n,s,r));return}if(sn(s)&&!r)return;const o=s.shapeFlag&4?On(s.component)||s.component.proxy:s.el,i=r?null:o,{i:l,r:c}=e,d=t&&t.r,f=l.refs===ee?l.refs={}:l.refs,h=l.setupState;if(d!=null&&d!==c&&(ie(d)?(f[d]=null,K(h,d)&&(h[d]=null)):le(d)&&(d.value=null)),D(c))et(c,l,12,[i,f]);else{const p=ie(c),_=le(c);if(p||_){const A=()=>{if(e.f){const L=p?K(h,c)?h[c]:f[c]:c.value;r?j(L)&&ls(L,o):j(L)?L.includes(o)||L.push(o):p?(f[c]=[o],K(h,c)&&(h[c]=f[c])):(c.value=[o],e.k&&(f[e.k]=c.value))}else p?(f[c]=i,K(h,c)&&(h[c]=i)):_&&(c.value=i,e.k&&(f[e.k]=i))};i?(A.id=-1,_e(A,n)):A()}}}const _e=tl;function Tl(e){return Ll(e)}function Ll(e,t){const n=jr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:d,setElementText:f,parentNode:h,nextSibling:p,setScopeId:_=Ae,insertStaticContent:A}=e,L=(u,a,g,b=null,m=null,w=null,x=void 0,E=null,R=!!a.dynamicChildren)=>{if(u===a)return;u&&!It(u,a)&&(b=y(u),me(u,m,w,!0),u=null),a.patchFlag===-2&&(R=!1,a.dynamicChildren=null);const{type:v,ref:P,shapeFlag:M}=a;switch(v){case Sn:N(u,a,g,b);break;case ut:I(u,a,g,b);break;case Fn:u==null&&$(a,g,b,x);break;case Be:ve(u,a,g,b,m,w,x,E,R);break;default:M&1?q(u,a,g,b,m,w,x,E,R):M&6?Re(u,a,g,b,m,w,x,E,R):(M&64||M&128)&&v.process(u,a,g,b,m,w,x,E,R,C)}P!=null&&m&&Yn(P,u&&u.ref,w,a||u,!a)},N=(u,a,g,b)=>{if(u==null)s(a.el=l(a.children),g,b);else{const m=a.el=u.el;a.children!==u.children&&d(m,a.children)}},I=(u,a,g,b)=>{u==null?s(a.el=c(a.children||""),g,b):a.el=u.el},$=(u,a,g,b)=>{[u.el,u.anchor]=A(u.children,a,g,b,u.el,u.anchor)},k=({el:u,anchor:a},g,b)=>{let m;for(;u&&u!==a;)m=p(u),s(u,g,b),u=m;s(a,g,b)},W=({el:u,anchor:a})=>{let g;for(;u&&u!==a;)g=p(u),r(u),u=g;r(a)},q=(u,a,g,b,m,w,x,E,R)=>{a.type==="svg"?x="svg":a.type==="math"&&(x="mathml"),u==null?H(a,g,b,m,w,x,E,R):V(u,a,m,w,x,E,R)},H=(u,a,g,b,m,w,x,E)=>{let R,v;const{props:P,shapeFlag:M,transition:T,dirs:F}=u;if(R=u.el=i(u.type,w,P&&P.is,P),M&8?f(R,u.children):M&16&&U(u.children,R,null,b,m,jn(u,w),x,E),F&&st(u,null,b,"created"),re(R,u,u.scopeId,x,b),P){for(const Z in P)Z!=="value"&&!Mt(Z)&&o(R,Z,null,P[Z],w,u.children,b,m,de);"value"in P&&o(R,"value",null,P.value,w),(v=P.onVnodeBeforeMount)&&$e(v,b,u)}F&&st(u,null,b,"beforeMount");const B=Ml(m,T);B&&T.beforeEnter(R),s(R,a,g),((v=P&&P.onVnodeMounted)||B||F)&&_e(()=>{v&&$e(v,b,u),B&&T.enter(R),F&&st(u,null,b,"mounted")},m)},re=(u,a,g,b,m)=>{if(g&&_(u,g),b)for(let w=0;w{for(let v=R;v{const E=a.el=u.el;let{patchFlag:R,dynamicChildren:v,dirs:P}=a;R|=u.patchFlag&16;const M=u.props||ee,T=a.props||ee;let F;if(g&&rt(g,!1),(F=T.onVnodeBeforeUpdate)&&$e(F,g,a,u),P&&st(a,u,g,"beforeUpdate"),g&&rt(g,!0),v?oe(u.dynamicChildren,v,E,g,b,jn(a,m),w):x||J(u,a,E,null,g,b,jn(a,m),w,!1),R>0){if(R&16)ae(E,a,M,T,g,b,m);else if(R&2&&M.class!==T.class&&o(E,"class",null,T.class,m),R&4&&o(E,"style",M.style,T.style,m),R&8){const B=a.dynamicProps;for(let Z=0;Z{F&&$e(F,g,a,u),P&&st(a,u,g,"updated")},b)},oe=(u,a,g,b,m,w,x)=>{for(let E=0;E{if(g!==b){if(g!==ee)for(const E in g)!Mt(E)&&!(E in b)&&o(u,E,g[E],null,x,a.children,m,w,de);for(const E in b){if(Mt(E))continue;const R=b[E],v=g[E];R!==v&&E!=="value"&&o(u,E,v,R,x,a.children,m,w,de)}"value"in b&&o(u,"value",g.value,b.value,x)}},ve=(u,a,g,b,m,w,x,E,R)=>{const v=a.el=u?u.el:l(""),P=a.anchor=u?u.anchor:l("");let{patchFlag:M,dynamicChildren:T,slotScopeIds:F}=a;F&&(E=E?E.concat(F):F),u==null?(s(v,g,b),s(P,g,b),U(a.children||[],g,P,m,w,x,E,R)):M>0&&M&64&&T&&u.dynamicChildren?(oe(u.dynamicChildren,T,g,m,w,x,E),(a.key!=null||m&&a===m.subTree)&&Oo(u,a,!0)):J(u,a,g,P,m,w,x,E,R)},Re=(u,a,g,b,m,w,x,E,R)=>{a.slotScopeIds=E,u==null?a.shapeFlag&512?m.ctx.activate(a,g,b,x,R):nt(a,g,b,m,w,x,R):Se(u,a,R)},nt=(u,a,g,b,m,w,x)=>{const E=u.component=zl(u,b,m);if(_o(u)&&(E.ctx.renderer=C),Wl(E),E.asyncDep){if(m&&m.registerDep(E,G),!u.el){const R=E.subTree=ye(ut);I(null,R,a,g)}}else G(E,u,a,g,m,w,x)},Se=(u,a,g)=>{const b=a.component=u.component;if(Ji(u,a,g))if(b.asyncDep&&!b.asyncResolved){X(b,a,g);return}else b.next=a,Ui(b.update),b.effect.dirty=!0,b.update();else a.el=u.el,b.vnode=a},G=(u,a,g,b,m,w,x)=>{const E=()=>{if(u.isMounted){let{next:P,bu:M,u:T,parent:F,vnode:B}=u;{const pt=Po(u);if(pt){P&&(P.el=B.el,X(u,P,x)),pt.asyncDep.then(()=>{u.isUnmounted||E()});return}}let Z=P,ne;rt(u,!1),P?(P.el=B.el,X(u,P,x)):P=B,M&&Ln(M),(ne=P.props&&P.props.onVnodeBeforeUpdate)&&$e(ne,F,P,B),rt(u,!0);const ce=$n(u),Pe=u.subTree;u.subTree=ce,L(Pe,ce,h(Pe.el),y(Pe),u,m,w),P.el=ce.el,Z===null&&Qi(u,ce.el),T&&_e(T,m),(ne=P.props&&P.props.onVnodeUpdated)&&_e(()=>$e(ne,F,P,B),m)}else{let P;const{el:M,props:T}=a,{bm:F,m:B,parent:Z}=u,ne=sn(a);if(rt(u,!1),F&&Ln(F),!ne&&(P=T&&T.onVnodeBeforeMount)&&$e(P,Z,a),rt(u,!0),M&&te){const ce=()=>{u.subTree=$n(u),te(M,u.subTree,u,m,null)};ne?a.type.__asyncLoader().then(()=>!u.isUnmounted&&ce()):ce()}else{const ce=u.subTree=$n(u);L(null,ce,g,b,u,m,w),a.el=ce.el}if(B&&_e(B,m),!ne&&(P=T&&T.onVnodeMounted)){const ce=a;_e(()=>$e(P,Z,ce),m)}(a.shapeFlag&256||Z&&sn(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&_e(u.a,m),u.isMounted=!0,a=g=b=null}},R=u.effect=new as(E,Ae,()=>Es(v),u.scope),v=u.update=()=>{R.dirty&&R.run()};v.id=u.uid,rt(u,!0),v()},X=(u,a,g)=>{a.component=u;const b=u.vnode.props;u.vnode=a,u.next=null,Ol(u,a.props,b,g),Il(u,a.children,g),ft(),ks(u),at()},J=(u,a,g,b,m,w,x,E,R=!1)=>{const v=u&&u.children,P=u?u.shapeFlag:0,M=a.children,{patchFlag:T,shapeFlag:F}=a;if(T>0){if(T&128){Ke(v,M,g,b,m,w,x,E,R);return}else if(T&256){He(v,M,g,b,m,w,x,E,R);return}}F&8?(P&16&&de(v,m,w),M!==v&&f(g,M)):P&16?F&16?Ke(v,M,g,b,m,w,x,E,R):de(v,m,w,!0):(P&8&&f(g,""),F&16&&U(M,g,b,m,w,x,E,R))},He=(u,a,g,b,m,w,x,E,R)=>{u=u||yt,a=a||yt;const v=u.length,P=a.length,M=Math.min(v,P);let T;for(T=0;TP?de(u,m,w,!0,!1,M):U(a,g,b,m,w,x,E,R,M)},Ke=(u,a,g,b,m,w,x,E,R)=>{let v=0;const P=a.length;let M=u.length-1,T=P-1;for(;v<=M&&v<=T;){const F=u[v],B=a[v]=R?Je(a[v]):je(a[v]);if(It(F,B))L(F,B,g,null,m,w,x,E,R);else break;v++}for(;v<=M&&v<=T;){const F=u[M],B=a[T]=R?Je(a[T]):je(a[T]);if(It(F,B))L(F,B,g,null,m,w,x,E,R);else break;M--,T--}if(v>M){if(v<=T){const F=T+1,B=FT)for(;v<=M;)me(u[v],m,w,!0),v++;else{const F=v,B=v,Z=new Map;for(v=B;v<=T;v++){const Ee=a[v]=R?Je(a[v]):je(a[v]);Ee.key!=null&&Z.set(Ee.key,v)}let ne,ce=0;const Pe=T-B+1;let pt=!1,Os=0;const Ct=new Array(Pe);for(v=0;v=Pe){me(Ee,m,w,!0);continue}let Me;if(Ee.key!=null)Me=Z.get(Ee.key);else for(ne=B;ne<=T;ne++)if(Ct[ne-B]===0&&It(Ee,a[ne])){Me=ne;break}Me===void 0?me(Ee,m,w,!0):(Ct[Me-B]=v+1,Me>=Os?Os=Me:pt=!0,L(Ee,a[Me],g,null,m,w,x,E,R),ce++)}const Ps=pt?$l(Ct):yt;for(ne=Ps.length-1,v=Pe-1;v>=0;v--){const Ee=B+v,Me=a[Ee],Cs=Ee+1{const{el:w,type:x,transition:E,children:R,shapeFlag:v}=u;if(v&6){Le(u.component.subTree,a,g,b);return}if(v&128){u.suspense.move(a,g,b);return}if(v&64){x.move(u,a,g,C);return}if(x===Be){s(w,a,g);for(let M=0;ME.enter(w),m);else{const{leave:M,delayLeave:T,afterLeave:F}=E,B=()=>s(w,a,g),Z=()=>{M(w,()=>{B(),F&&F()})};T?T(w,B,Z):Z()}else s(w,a,g)},me=(u,a,g,b=!1,m=!1)=>{const{type:w,props:x,ref:E,children:R,dynamicChildren:v,shapeFlag:P,patchFlag:M,dirs:T}=u;if(E!=null&&Yn(E,null,g,u,!0),P&256){a.ctx.deactivate(u);return}const F=P&1&&T,B=!sn(u);let Z;if(B&&(Z=x&&x.onVnodeBeforeUnmount)&&$e(Z,a,u),P&6)Jt(u.component,g,b);else{if(P&128){u.suspense.unmount(g,b);return}F&&st(u,null,a,"beforeUnmount"),P&64?u.type.remove(u,a,g,m,C,b):v&&(w!==Be||M>0&&M&64)?de(v,a,g,!1,!0):(w===Be&&M&384||!m&&P&16)&&de(R,a,g),b&&dt(u)}(B&&(Z=x&&x.onVnodeUnmounted)||F)&&_e(()=>{Z&&$e(Z,a,u),F&&st(u,null,a,"unmounted")},g)},dt=u=>{const{type:a,el:g,anchor:b,transition:m}=u;if(a===Be){ht(g,b);return}if(a===Fn){W(u);return}const w=()=>{r(g),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(u.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:E}=m,R=()=>x(g,w);E?E(u.el,w,R):R()}else w()},ht=(u,a)=>{let g;for(;u!==a;)g=p(u),r(u),u=g;r(a)},Jt=(u,a,g)=>{const{bum:b,scope:m,update:w,subTree:x,um:E}=u;b&&Ln(b),m.stop(),w&&(w.active=!1,me(x,u,a,g)),E&&_e(E,a),_e(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},de=(u,a,g,b=!1,m=!1,w=0)=>{for(let x=w;xu.shapeFlag&6?y(u.component.subTree):u.shapeFlag&128?u.suspense.next():p(u.anchor||u.el);let O=!1;const S=(u,a,g)=>{u==null?a._vnode&&me(a._vnode,null,null,!0):L(a._vnode||null,u,a,null,null,null,g),O||(O=!0,ks(),co(),O=!1),a._vnode=u},C={p:L,um:me,m:Le,r:dt,mt:nt,mc:U,pc:J,pbc:oe,n:y,o:e};let Q,te;return t&&([Q,te]=t(C)),{render:S,hydrate:Q,createApp:Sl(S,Q)}}function jn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function rt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ml(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Oo(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Po(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Po(t)}const Nl=e=>e.__isTeleport,Be=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),Fn=Symbol.for("v-stc"),jt=[];let Ce=null;function Co(e=!1){jt.push(Ce=e?null:[])}function jl(){jt.pop(),Ce=jt[jt.length-1]||null}let Kt=1;function Js(e){Kt+=e}function Io(e){return e.dynamicChildren=Kt>0?Ce||yt:null,jl(),Kt>0&&Ce&&Ce.push(e),e}function Fl(e,t,n,s,r,o){return Io(Lo(e,t,n,s,r,o,!0))}function kl(e,t,n,s,r){return Io(ye(e,t,n,s,r,!0))}function Xn(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const xn="__vInternal",To=({key:e})=>e??null,on=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||le(e)||D(e)?{i:ge,r:e,k:t,f:!!n}:e:null);function Lo(e,t=null,n=null,s=0,r=null,o=e===Be?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&To(t),ref:t&&on(t),scopeId:wn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ge};return l?(Ss(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ie(n)?8:16),Kt>0&&!i&&Ce&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ce.push(c),c}const ye=Hl;function Hl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Zi)&&(e=ut),Xn(e)){const l=St(e,t,!0);return n&&Ss(l,n),Kt>0&&!o&&Ce&&(l.shapeFlag&6?Ce[Ce.indexOf(e)]=l:Ce.push(l)),l.patchFlag|=-2,l}if(Yl(e)&&(e=e.__vccOpts),t){t=Dl(t);let{class:l,style:c}=t;l&&!ie(l)&&(t.class=fs(l)),se(c)&&(to(c)&&!j(c)&&(c=fe({},c)),t.style=us(c))}const i=ie(e)?1:el(e)?128:Nl(e)?64:se(e)?4:D(e)?2:0;return Lo(e,t,n,s,r,i,o,!0)}function Dl(e){return e?to(e)||xn in e?fe({},e):e:null}function St(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,l=t?Ul(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&To(l),ref:t&&t.ref?n&&r?j(r)?r.concat(on(t)):[r,on(t)]:on(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Be?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&St(e.ssContent),ssFallback:e.ssFallback&&St(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bl(e=" ",t=0){return ye(Sn,null,e,t)}function bf(e="",t=!1){return t?(Co(),kl(ut,null,e)):ye(ut,null,e)}function je(e){return e==null||typeof e=="boolean"?ye(ut):j(e)?ye(Be,null,e.slice()):typeof e=="object"?Je(e):ye(Sn,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:St(e)}function Ss(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ss(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(xn in t)?t._ctx=ge:r===3&&ge&&(ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:ge},n=32):(t=String(t),s&64?(n=16,t=[Bl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ul(...e){const t={};for(let n=0;n{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};hn=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Zn=t("__VUE_SSR_SETTERS__",n=>An=n)}const Gt=e=>{const t=ue;return hn(e),e.scope.on(),()=>{e.scope.off(),hn(t)}},Qs=()=>{ue&&ue.scope.off(),hn(null)};function Mo(e){return e.vnode.shapeFlag&4}let An=!1;function Wl(e,t=!1){t&&Zn(t);const{props:n,children:s}=e.vnode,r=Mo(e);Al(e,n,r,t),Cl(e,s);const o=r?ql(e,t):void 0;return t&&Zn(!1),o}function ql(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=bn(new Proxy(e.ctx,_l));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Jl(e):null,o=Gt(e);ft();const i=et(s,e,0,[e.props,r]);if(at(),o(),Mr(i)){if(i.then(Qs,Qs),t)return i.then(l=>{Ys(e,l,t)}).catch(l=>{vn(l,e,0)});e.asyncDep=i}else Ys(e,i,t)}else $o(e,t)}function Ys(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=oo(t)),$o(e,n)}let Xs;function $o(e,t,n){const s=e.type;if(!e.render){if(!t&&Xs&&!s.render){const r=s.template||ws(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,d=fe(fe({isCustomElement:o,delimiters:l},i),c);s.render=Xs(r,d)}}e.render=s.render||Ae}{const r=Gt(e);ft();try{yl(e)}finally{at(),r()}}}function Gl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return be(e,"get","$attrs"),t[n]}}))}function Jl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Gl(e)},slots:e.slots,emit:e.emit,expose:t}}function On(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(oo(bn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nt)return Nt[n](e)},has(t,n){return n in t||n in Nt}}))}function Ql(e,t=!0){return D(e)?e.displayName||e.name:e.name||t&&e.__name}function Yl(e){return D(e)&&"__vccOpts"in e}const xe=(e,t)=>Mi(e,t,An);function No(e,t,n){const s=arguments.length;return s===2?se(t)&&!j(t)?Xn(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Xn(n)&&(n=[n]),ye(e,t,n))}const Xl="3.4.21";/** +* @vue/runtime-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const Zl="http://www.w3.org/2000/svg",ec="http://www.w3.org/1998/Math/MathML",Qe=typeof document<"u"?document:null,Zs=Qe&&Qe.createElement("template"),tc={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"?Qe.createElementNS(Zl,e):t==="mathml"?Qe.createElementNS(ec,e):Qe.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Zs.innerHTML=s==="svg"?`${e}`:s==="mathml"?`${e}`:e;const l=Zs.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[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},nc=Symbol("_vtc");function sc(e,t,n){const s=e[nc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const er=Symbol("_vod"),rc=Symbol("_vsh"),oc=Symbol(""),ic=/(^|;)\s*display\s*:/;function lc(e,t,n){const s=e.style,r=ie(n);let o=!1;if(n&&!r){if(t)if(ie(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&ln(s,l,"")}else for(const i in t)n[i]==null&&ln(s,i,"");for(const i in n)i==="display"&&(o=!0),ln(s,i,n[i])}else if(r){if(t!==n){const i=s[oc];i&&(n+=";"+i),s.cssText=n,o=ic.test(n)}}else t&&e.removeAttribute("style");er in e&&(e[er]=o?s.display:"",e[rc]&&(s.display="none"))}const tr=/\s*!important$/;function ln(e,t,n){if(j(n))n.forEach(s=>ln(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=cc(e,t);tr.test(n)?e.setProperty(Pt(s),n.replace(tr,""),"important"):e[s]=n}}const nr=["Webkit","Moz","ms"],kn={};function cc(e,t){const n=kn[t];if(n)return n;let s=ke(t);if(s!=="filter"&&s in e)return kn[t]=s;s=_n(s);for(let r=0;rHn||(gc.then(()=>Hn=0),Hn=Date.now());function _c(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ie(yc(s,n.value),t,5,[s])};return n.value=e,n.attached=mc(),n}function yc(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const ir=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bc=(e,t,n,s,r,o,i,l,c)=>{const d=r==="svg";t==="class"?sc(e,s,d):t==="style"?lc(e,n,s):pn(t)?is(t)||hc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vc(e,t,s,d))?fc(e,t,s,o,i,l,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),uc(e,t,s,d))};function vc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ir(t)&&D(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ir(t)&&ie(n)?!1:t in e}const Ec=fe({patchProp:bc},tc);let lr;function wc(){return lr||(lr=Tl(Ec))}const Rc=(...e)=>{const t=wc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=xc(s);if(!r)return;const o=t._component;!D(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,Sc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Sc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function xc(e){return ie(e)?document.querySelector(e):e}const Ac=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Oc={};function Pc(e,t){const n=Xi("router-view");return Co(),Fl("div",null,[ye(n)])}const Cc=Ac(Oc,[["render",Pc]]);/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const _t=typeof document<"u";function Ic(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Y=Object.assign;function Dn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Te(r)?r.map(e):e(r)}return n}const Ft=()=>{},Te=Array.isArray,jo=/#/g,Tc=/&/g,Lc=/\//g,Mc=/=/g,$c=/\?/g,Fo=/\+/g,Nc=/%5B/g,jc=/%5D/g,ko=/%5E/g,Fc=/%60/g,Ho=/%7B/g,kc=/%7C/g,Do=/%7D/g,Hc=/%20/g;function xs(e){return encodeURI(""+e).replace(kc,"|").replace(Nc,"[").replace(jc,"]")}function Dc(e){return xs(e).replace(Ho,"{").replace(Do,"}").replace(ko,"^")}function es(e){return xs(e).replace(Fo,"%2B").replace(Hc,"+").replace(jo,"%23").replace(Tc,"%26").replace(Fc,"`").replace(Ho,"{").replace(Do,"}").replace(ko,"^")}function Bc(e){return es(e).replace(Mc,"%3D")}function Uc(e){return xs(e).replace(jo,"%23").replace($c,"%3F")}function Vc(e){return e==null?"":Uc(e).replace(Lc,"%2F")}function zt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Kc=/\/$/,zc=e=>e.replace(Kc,"");function Bn(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return 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),i=t.slice(l,t.length)),s=Jc(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:zt(i)}}function Wc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function qc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&xt(t.matched[s],n.matched[r])&&Bo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Bo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Gc(e[n],t[n]))return!1;return!0}function Gc(e,t){return Te(e)?ur(e,t):Te(t)?ur(t,e):e===t}function ur(e,t){return Te(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Jc(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,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}var Wt;(function(e){e.pop="pop",e.push="push"})(Wt||(Wt={}));var kt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(kt||(kt={}));function Qc(e){if(!e)if(_t){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),zc(e)}const Yc=/^[^#]+#/;function Xc(e,t){return e.replace(Yc,"#")+t}function Zc(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 Pn=()=>({left:window.scrollX,top:window.scrollY});function eu(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=Zc(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 fr(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function tu(e,t){ts.set(e,t)}function nu(e){const t=ts.get(e);return ts.delete(e),t}let su=()=>location.protocol+"//"+location.host;function Uo(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),cr(c,"")}return cr(n,e)+s+r}function ru(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const _=Uo(e,location),A=n.value,L=t.value;let N=0;if(p){if(n.value=_,t.value=p,i&&i===A){i=null;return}N=L?p.position-L.position:0}else s(_);r.forEach(I=>{I(n.value,A,{delta:N,type:Wt.pop,direction:N?N>0?kt.forward:kt.back:kt.unknown})})};function c(){i=n.value}function d(p){r.push(p);const _=()=>{const A=r.indexOf(p);A>-1&&r.splice(A,1)};return o.push(_),_}function f(){const{history:p}=window;p.state&&p.replaceState(Y({},p.state,{scroll:Pn()}),"")}function h(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:c,listen:d,destroy:h}}function ar(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Pn():null}}function ou(e){const{history:t,location:n}=window,s={value:Uo(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,d,f){const h=e.indexOf("#"),p=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+c:su()+e+c;try{t[f?"replaceState":"pushState"](d,"",p),r.value=d}catch(_){console.error(_),n[f?"replace":"assign"](p)}}function i(c,d){const f=Y({},t.state,ar(r.value.back,c,r.value.forward,!0),d,{position:r.value.position});o(c,f,!0),s.value=c}function l(c,d){const f=Y({},r.value,t.state,{forward:c,scroll:Pn()});o(f.current,f,!0);const h=Y({},ar(s.value,c,null),{position:f.position+1},d);o(c,h,!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function iu(e){e=Qc(e);const t=ou(e),n=ru(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=Y({location:"",base:e,go:s,createHref:Xc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function lu(e){return typeof e=="string"||e&&typeof e=="object"}function Vo(e){return typeof e=="string"||typeof e=="symbol"}const We={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ko=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function At(e,t){return Y(new Error,{type:e,[Ko]:!0},t)}function De(e,t){return e instanceof Error&&Ko in e&&(t==null||!!(e.type&t))}const hr="[^/]+?",cu={sensitive:!1,strict:!1,start:!0,end:!0},uu=/[.+*?^${}()[\]/\\]/g;function fu(e,t){const n=Y({},cu,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const f=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;ht.length?t.length===1&&t[0]===80?1:-1:0}function du(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const hu={type:0,value:""},pu=/[a-zA-Z0-9_]/;function gu(e){if(!e)return[[]];if(e==="/")return[[hu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${d}": ${_}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,d="",f="";function h(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),d="")}function p(){d+=c}for(;l{i($)}:Ft}function i(f){if(Vo(f)){const h=s.get(f);h&&(s.delete(f),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(f);h>-1&&(n.splice(h,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){let h=0;for(;h=0&&(f.record.path!==n[h].record.path||!zo(f,n[h]));)h++;n.splice(h,0,f),f.record.name&&!mr(f)&&s.set(f.record.name,f)}function d(f,h){let p,_={},A,L;if("name"in f&&f.name){if(p=s.get(f.name),!p)throw At(1,{location:f});L=p.record.name,_=Y(gr(h.params,p.keys.filter($=>!$.optional).concat(p.parent?p.parent.keys.filter($=>$.optional):[]).map($=>$.name)),f.params&&gr(f.params,p.keys.map($=>$.name))),A=p.stringify(_)}else if(f.path!=null)A=f.path,p=n.find($=>$.re.test(A)),p&&(_=p.parse(A),L=p.record.name);else{if(p=h.name?s.get(h.name):n.find($=>$.re.test(h.path)),!p)throw At(1,{location:f,currentLocation:h});L=p.record.name,_=Y({},h.params,f.params),A=p.stringify(_)}const N=[];let I=p;for(;I;)N.unshift(I.record),I=I.parent;return{name:L,path:A,params:_,matched:N,meta:vu(N)}}return e.forEach(f=>o(f)),{addRoute:o,resolve:d,removeRoute:i,getRoutes:l,getRecordMatcher:r}}function gr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function yu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:bu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function bu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vu(e){return e.reduce((t,n)=>Y(t,n.meta),{})}function _r(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function zo(e,t){return t.children.some(n=>n===e||zo(e,n))}function Eu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&es(o)):[s&&es(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function wu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Te(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Ru=Symbol(""),br=Symbol(""),Cn=Symbol(""),As=Symbol(""),ns=Symbol("");function Tt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ye(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const d=p=>{p===!1?c(At(4,{from:n,to:t})):p instanceof Error?c(p):lu(p)?c(At(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},f=o(()=>e.call(s&&s.instances[r],t,n,d));let h=Promise.resolve(f);e.length<3&&(h=h.then(d)),h.catch(p=>c(p))})}function Un(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Su(c)){const f=(c.__vccOpts||c)[t];f&&o.push(Ye(f,n,s,i,l,r))}else{let d=c();o.push(()=>d.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=Ic(f)?f.default:f;i.components[l]=h;const _=(h.__vccOpts||h)[t];return _&&Ye(_,n,s,i,l,r)()}))}}return o}function Su(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vr(e){const t=Oe(Cn),n=Oe(As),s=xe(()=>t.resolve(vt(e.to))),r=xe(()=>{const{matched:c}=s.value,{length:d}=c,f=c[d-1],h=n.matched;if(!f||!h.length)return-1;const p=h.findIndex(xt.bind(null,f));if(p>-1)return p;const _=Er(c[d-2]);return d>1&&Er(f)===_&&h[h.length-1].path!==_?h.findIndex(xt.bind(null,c[d-2])):p}),o=xe(()=>r.value>-1&&Pu(n.params,s.value.params)),i=xe(()=>r.value>-1&&r.value===n.matched.length-1&&Bo(n.params,s.value.params));function l(c={}){return Ou(c)?t[vt(e.replace)?"replace":"push"](vt(e.to)).catch(Ft):Promise.resolve()}return{route:s,href:xe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}const xu=mo({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:vr,setup(e,{slots:t}){const n=qt(vr(e)),{options:s}=Oe(Cn),r=xe(()=>({[wr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[wr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:No("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Au=xu;function Ou(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Pu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Te(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Er(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wr=(e,t,n)=>e??t??n,Cu=mo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Oe(ns),r=xe(()=>e.route||s.value),o=Oe(br,0),i=xe(()=>{let d=vt(o);const{matched:f}=r.value;let h;for(;(h=f[d])&&!h.components;)d++;return d}),l=xe(()=>r.value.matched[i.value]);rn(br,xe(()=>i.value+1)),rn(Ru,l),rn(ns,r);const c=ys();return $t(()=>[c.value,l.value,e.name],([d,f,h],[p,_,A])=>{f&&(f.instances[h]=d,_&&_!==f&&d&&d===p&&(f.leaveGuards.size||(f.leaveGuards=_.leaveGuards),f.updateGuards.size||(f.updateGuards=_.updateGuards))),d&&f&&(!_||!xt(f,_)||!p)&&(f.enterCallbacks[h]||[]).forEach(L=>L(d))},{flush:"post"}),()=>{const d=r.value,f=e.name,h=l.value,p=h&&h.components[f];if(!p)return Rr(n.default,{Component:p,route:d});const _=h.props[f],A=_?_===!0?d.params:typeof _=="function"?_(d):_:null,N=No(p,Y({},A,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(h.instances[f]=null)},ref:c}));return Rr(n.default,{Component:N,route:d})||N}}});function Rr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Iu=Cu;function Tu(e){const t=_u(e.routes,e),n=e.parseQuery||Eu,s=e.stringifyQuery||yr,r=e.history,o=Tt(),i=Tt(),l=Tt(),c=$i(We);let d=We;_t&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Dn.bind(null,y=>""+y),h=Dn.bind(null,Vc),p=Dn.bind(null,zt);function _(y,O){let S,C;return Vo(y)?(S=t.getRecordMatcher(y),C=O):C=y,t.addRoute(C,S)}function A(y){const O=t.getRecordMatcher(y);O&&t.removeRoute(O)}function L(){return t.getRoutes().map(y=>y.record)}function N(y){return!!t.getRecordMatcher(y)}function I(y,O){if(O=Y({},O||c.value),typeof y=="string"){const a=Bn(n,y,O.path),g=t.resolve({path:a.path},O),b=r.createHref(a.fullPath);return Y(a,g,{params:p(g.params),hash:zt(a.hash),redirectedFrom:void 0,href:b})}let S;if(y.path!=null)S=Y({},y,{path:Bn(n,y.path,O.path).path});else{const a=Y({},y.params);for(const g in a)a[g]==null&&delete a[g];S=Y({},y,{params:h(a)}),O.params=h(O.params)}const C=t.resolve(S,O),Q=y.hash||"";C.params=f(p(C.params));const te=Wc(s,Y({},y,{hash:Dc(Q),path:C.path})),u=r.createHref(te);return Y({fullPath:te,hash:Q,query:s===yr?wu(y.query):y.query||{}},C,{redirectedFrom:void 0,href:u})}function $(y){return typeof y=="string"?Bn(n,y,c.value.path):Y({},y)}function k(y,O){if(d!==y)return At(8,{from:O,to:y})}function W(y){return re(y)}function q(y){return W(Y($(y),{replace:!0}))}function H(y){const O=y.matched[y.matched.length-1];if(O&&O.redirect){const{redirect:S}=O;let C=typeof S=="function"?S(y):S;return typeof C=="string"&&(C=C.includes("?")||C.includes("#")?C=$(C):{path:C},C.params={}),Y({query:y.query,hash:y.hash,params:C.path!=null?{}:y.params},C)}}function re(y,O){const S=d=I(y),C=c.value,Q=y.state,te=y.force,u=y.replace===!0,a=H(S);if(a)return re(Y($(a),{state:typeof a=="object"?Y({},Q,a.state):Q,force:te,replace:u}),O||S);const g=S;g.redirectedFrom=O;let b;return!te&&qc(s,C,S)&&(b=At(16,{to:g,from:C}),Le(C,C,!0,!1)),(b?Promise.resolve(b):oe(g,C)).catch(m=>De(m)?De(m,2)?m:Ke(m):J(m,g,C)).then(m=>{if(m){if(De(m,2))return re(Y({replace:u},$(m.to),{state:typeof m.to=="object"?Y({},Q,m.to.state):Q,force:te}),O||g)}else m=ve(g,C,!0,u,Q);return ae(g,C,m),m})}function U(y,O){const S=k(y,O);return S?Promise.reject(S):Promise.resolve()}function V(y){const O=ht.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(y):y()}function oe(y,O){let S;const[C,Q,te]=Lu(y,O);S=Un(C.reverse(),"beforeRouteLeave",y,O);for(const a of C)a.leaveGuards.forEach(g=>{S.push(Ye(g,y,O))});const u=U.bind(null,y,O);return S.push(u),de(S).then(()=>{S=[];for(const a of o.list())S.push(Ye(a,y,O));return S.push(u),de(S)}).then(()=>{S=Un(Q,"beforeRouteUpdate",y,O);for(const a of Q)a.updateGuards.forEach(g=>{S.push(Ye(g,y,O))});return S.push(u),de(S)}).then(()=>{S=[];for(const a of te)if(a.beforeEnter)if(Te(a.beforeEnter))for(const g of a.beforeEnter)S.push(Ye(g,y,O));else S.push(Ye(a.beforeEnter,y,O));return S.push(u),de(S)}).then(()=>(y.matched.forEach(a=>a.enterCallbacks={}),S=Un(te,"beforeRouteEnter",y,O,V),S.push(u),de(S))).then(()=>{S=[];for(const a of i.list())S.push(Ye(a,y,O));return S.push(u),de(S)}).catch(a=>De(a,8)?a:Promise.reject(a))}function ae(y,O,S){l.list().forEach(C=>V(()=>C(y,O,S)))}function ve(y,O,S,C,Q){const te=k(y,O);if(te)return te;const u=O===We,a=_t?history.state:{};S&&(C||u?r.replace(y.fullPath,Y({scroll:u&&a&&a.scroll},Q)):r.push(y.fullPath,Q)),c.value=y,Le(y,O,S,u),Ke()}let Re;function nt(){Re||(Re=r.listen((y,O,S)=>{if(!Jt.listening)return;const C=I(y),Q=H(C);if(Q){re(Y(Q,{replace:!0}),C).catch(Ft);return}d=C;const te=c.value;_t&&tu(fr(te.fullPath,S.delta),Pn()),oe(C,te).catch(u=>De(u,12)?u:De(u,2)?(re(u.to,C).then(a=>{De(a,20)&&!S.delta&&S.type===Wt.pop&&r.go(-1,!1)}).catch(Ft),Promise.reject()):(S.delta&&r.go(-S.delta,!1),J(u,C,te))).then(u=>{u=u||ve(C,te,!1),u&&(S.delta&&!De(u,8)?r.go(-S.delta,!1):S.type===Wt.pop&&De(u,20)&&r.go(-1,!1)),ae(C,te,u)}).catch(Ft)}))}let Se=Tt(),G=Tt(),X;function J(y,O,S){Ke(y);const C=G.list();return C.length?C.forEach(Q=>Q(y,O,S)):console.error(y),Promise.reject(y)}function He(){return X&&c.value!==We?Promise.resolve():new Promise((y,O)=>{Se.add([y,O])})}function Ke(y){return X||(X=!y,nt(),Se.list().forEach(([O,S])=>y?S(y):O()),Se.reset()),y}function Le(y,O,S,C){const{scrollBehavior:Q}=e;if(!_t||!Q)return Promise.resolve();const te=!S&&nu(fr(y.fullPath,0))||(C||!S)&&history.state&&history.state.scroll||null;return vs().then(()=>Q(y,O,te)).then(u=>u&&eu(u)).catch(u=>J(u,y,O))}const me=y=>r.go(y);let dt;const ht=new Set,Jt={currentRoute:c,listening:!0,addRoute:_,removeRoute:A,hasRoute:N,getRoutes:L,resolve:I,options:e,push:W,replace:q,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:G.add,isReady:He,install(y){const O=this;y.component("RouterLink",Au),y.component("RouterView",Iu),y.config.globalProperties.$router=O,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>vt(c)}),_t&&!dt&&c.value===We&&(dt=!0,W(r.location).catch(Q=>{}));const S={};for(const Q in We)Object.defineProperty(S,Q,{get:()=>c.value[Q],enumerable:!0});y.provide(Cn,O),y.provide(As,Zr(S)),y.provide(ns,c);const C=y.unmount;ht.add(y),y.unmount=function(){ht.delete(y),ht.size<1&&(d=We,Re&&Re(),Re=null,c.value=We,dt=!1,X=!1),C()}}};function de(y){return y.reduce((O,S)=>O.then(()=>V(S)),Promise.resolve())}return Jt}function Lu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;ixt(d,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(d=>xt(d,c))||r.push(c))}return[n,s,r]}function vf(){return Oe(Cn)}function Ef(){return Oe(As)}const Mu=[],Wo=Tu({history:iu(),routes:Mu,linkActiveClass:"active"});function $u(e){e.use(Wo)}var Nu=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let qo;const In=e=>qo=e,Go=Symbol();function ss(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ht;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ht||(Ht={}));function ju(){const e=Dr(!0),t=e.run(()=>ys({}));let n=[],s=[];const r=bn({install(o){In(r),r._a=o,o.provide(Go,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!Nu?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Jo=()=>{};function Sr(e,t,n,s=Jo){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Br()&&di(r),r}function gt(e,...t){e.slice().forEach(n=>{n(...t)})}const Fu=e=>e();function rs(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];ss(r)&&ss(s)&&e.hasOwnProperty(n)&&!le(s)&&!Ze(s)?e[n]=rs(r,s):e[n]=s}return e}const ku=Symbol();function Hu(e){return!ss(e)||!e.hasOwnProperty(ku)}const{assign:qe}=Object;function Du(e){return!!(le(e)&&e.effect)}function Bu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function d(){l||(n.state.value[e]=r?r():{});const f=Fi(n.state.value[e]);return qe(f,o,Object.keys(i||{}).reduce((h,p)=>(h[p]=bn(xe(()=>{In(n);const _=n._s.get(e);return i[p].call(_,_)})),h),{}))}return c=Qo(e,d,t,n,s,!0),c}function Qo(e,t,n={},s,r,o){let i;const l=qe({actions:{}},n),c={deep:!0};let d,f,h=[],p=[],_;const A=s.state.value[e];!o&&!A&&(s.state.value[e]={}),ys({});let L;function N(U){let V;d=f=!1,typeof U=="function"?(U(s.state.value[e]),V={type:Ht.patchFunction,storeId:e,events:_}):(rs(s.state.value[e],U),V={type:Ht.patchObject,payload:U,storeId:e,events:_});const oe=L=Symbol();vs().then(()=>{L===oe&&(d=!0)}),f=!0,gt(h,V,s.state.value[e])}const I=o?function(){const{state:V}=n,oe=V?V():{};this.$patch(ae=>{qe(ae,oe)})}:Jo;function $(){i.stop(),h=[],p=[],s._s.delete(e)}function k(U,V){return function(){In(s);const oe=Array.from(arguments),ae=[],ve=[];function Re(G){ae.push(G)}function nt(G){ve.push(G)}gt(p,{args:oe,name:U,store:q,after:Re,onError:nt});let Se;try{Se=V.apply(this&&this.$id===e?this:q,oe)}catch(G){throw gt(ve,G),G}return Se instanceof Promise?Se.then(G=>(gt(ae,G),G)).catch(G=>(gt(ve,G),Promise.reject(G))):(gt(ae,Se),Se)}}const W={_p:s,$id:e,$onAction:Sr.bind(null,p),$patch:N,$reset:I,$subscribe(U,V={}){const oe=Sr(h,U,V.detached,()=>ae()),ae=i.run(()=>$t(()=>s.state.value[e],ve=>{(V.flush==="sync"?f:d)&&U({storeId:e,type:Ht.direct,events:_},ve)},qe({},c,V)));return oe},$dispose:$},q=qt(W);s._s.set(e,q);const re=(s._a&&s._a.runWithContext||Fu)(()=>s._e.run(()=>(i=Dr()).run(t)));for(const U in re){const V=re[U];if(le(V)&&!Du(V)||Ze(V))o||(A&&Hu(V)&&(le(V)?V.value=A[U]:rs(V,A[U])),s.state.value[e][U]=V);else if(typeof V=="function"){const oe=k(U,V);re[U]=oe,l.actions[U]=V}}return qe(q,re),qe(z(q),re),Object.defineProperty(q,"$state",{get:()=>s.state.value[e],set:U=>{N(V=>{qe(V,U)})}}),s._p.forEach(U=>{qe(q,i.run(()=>U({store:q,app:s._a,pinia:s,options:l})))}),A&&o&&n.hydrate&&n.hydrate(q.$state,A),d=!0,f=!0,q}function wf(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,c){const d=xl();return l=l||(d?Oe(Go,null):null),l&&In(l),l=qo,l._s.has(s)||(o?Qo(s,t,r,l):Bu(s,r,l)),l._s.get(s)}return i.$id=s,i}function Uu(e){return typeof e=="object"&&e!==null}function xr(e,t){return e=Uu(e)?e:Object.create(null),new Proxy(e,{get(n,s,r){return s==="key"?Reflect.get(n,s,r):Reflect.get(n,s,r)||Reflect.get(t,s,r)}})}function Vu(e,t){return t.reduce((n,s)=>n==null?void 0:n[s],e)}function Ku(e,t,n){return t.slice(0,-1).reduce((s,r)=>/^(__proto__)$/.test(r)?{}:s[r]=s[r]||{},e)[t[t.length-1]]=n,e}function zu(e,t){return t.reduce((n,s)=>{const r=s.split(".");return Ku(n,r,Vu(e,r))},{})}function Wu(e,t){return n=>{var s;try{const{storage:r=localStorage,beforeRestore:o=void 0,afterRestore:i=void 0,serializer:l={serialize:JSON.stringify,deserialize:JSON.parse},key:c=t.$id,paths:d=null,debug:f=!1}=n;return{storage:r,beforeRestore:o,afterRestore:i,serializer:l,key:((s=e.key)!=null?s:h=>h)(typeof c=="string"?c:c(t.$id)),paths:d,debug:f}}catch(r){return n.debug&&console.error("[pinia-plugin-persistedstate]",r),null}}}function Ar(e,{storage:t,serializer:n,key:s,debug:r}){try{const o=t==null?void 0:t.getItem(s);o&&e.$patch(n==null?void 0:n.deserialize(o))}catch(o){r&&console.error("[pinia-plugin-persistedstate]",o)}}function Or(e,{storage:t,serializer:n,key:s,paths:r,debug:o}){try{const i=Array.isArray(r)?zu(e,r):e;t.setItem(s,n.serialize(i))}catch(i){o&&console.error("[pinia-plugin-persistedstate]",i)}}function qu(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:s=n},store:r,pinia:o}=t;if(!s)return;if(!(r.$id in o.state.value)){const l=o._s.get(r.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const i=(Array.isArray(s)?s.map(l=>xr(l,e)):[xr(s,e)]).map(Wu(e,r)).filter(Boolean);r.$persist=()=>{i.forEach(l=>{Or(r.$state,l)})},r.$hydrate=({runHooks:l=!0}={})=>{i.forEach(c=>{const{beforeRestore:d,afterRestore:f}=c;l&&(d==null||d(t)),Ar(r,c),l&&(f==null||f(t))})},i.forEach(l=>{const{beforeRestore:c,afterRestore:d}=l;c==null||c(t),Ar(r,l),d==null||d(t),r.$subscribe((f,h)=>{Or(h,l)},{detached:!0})})}}var Gu=qu();const Yo=ju();Yo.use(Gu);function Ju(e){e.use(Yo)}const Qu="modulepreload",Yu=function(e,t){return new URL(e,t).href},Pr={},Xu=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.all(n.map(c=>{if(c=Yu(c,s),c in Pr)return;Pr[c]=!0;const d=c.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(!!s)for(let _=o.length-1;_>=0;_--){const A=o[_];if(A.href===c&&(!d||A.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":Qu,d||(p.as="script",p.crossOrigin=""),p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),d)return new Promise((_,A)=>{p.addEventListener("load",_),p.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${c}`)))})}))}return r.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},Cr=Object.assign({"/src/modules/cocktails/index.ts":()=>Xu(()=>import("./index-DZdY5dfX.js"),__vite__mapDeps([]),import.meta.url)});function Zu(e){const t=n=>{n.router&&n.router(e)};Object.keys(Cr).forEach(async n=>{const s=await Cr[n]();t(s.default)})}var Ne=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Ne||{});const ef=typeof window<"u"&&window!==null,tf=of(),nf=Object.prototype.propertyIsEnumerable,Ir=Object.getOwnPropertySymbols;function Dt(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function sf(e){return typeof e=="object"?e===null:typeof e!="function"}function rf(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function of(){return ef&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function lf(e,...t){if(!Dt(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Ir!="function")return e;for(const n of t){const s=Ir(n);for(const r of s)nf.call(n,r)&&(e[r]=n[r])}return e}function Xo(e,...t){let n=0;for(sf(e)&&(e=t[n++]),e||(e={});n{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,s,o,i,l)}update(t,n){var l;if(!t)return;(l=this._realObserver(t))==null||l.unobserve(t);const{src:s,error:r,lifecycle:o,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,s,r,o,i)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,s,r){this._setImageSrc(t,n,s,r)}_setImageSrc(t,n,s,r){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Ne.LOADED,r,t)},()=>{var o;t.onload=null,this._lifecycle(Ne.ERROR,r,t),(o=this._realObserver(t))==null||o.disconnect(),s&&t.getAttribute("src")!==s&&t.setAttribute("src",s),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,s,r,o){var l;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(c=>{Array.prototype.forEach.call(c,d=>{o&&o>0?this._delayedIntersectionCallback(t,d,o,n,s,r):this._intersectionCallback(t,d,n,s,r)})},i)),(l=this._realObserver(t))==null||l.observe(t)}_intersectionCallback(t,n,s,r,o){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,s,r,o))}_delayedIntersectionCallback(t,n,s,r,o,i){if(n.isIntersecting){if(n.target.hasAttribute(mt))return;const l=setTimeout(()=>{this._intersectionCallback(t,n,r,o,i),n.target.removeAttribute(mt)},s);n.target.setAttribute(mt,String(l))}else n.target.hasAttribute(mt)&&(clearTimeout(Number(n.target.getAttribute(mt))),n.target.removeAttribute(mt))}_listenImageStatus(t,n,s){t.onload=n,t.onerror=s}_valueFormatter(t){let n=t,s=this.options.loading,r=this.options.error,o=this.options.lifecycle,i=this.options.delay;return Dt(t)&&(n=t.src,s=t.loading||this.options.loading,r=t.error||this.options.error,o=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:s,error:r,lifecycle:o,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,s){switch(t){case Ne.LOADING:s==null||s.setAttribute("lazy",Ne.LOADING),n!=null&&n.loading&&n.loading(s);break;case Ne.LOADED:s==null||s.setAttribute("lazy",Ne.LOADED),n!=null&&n.loaded&&n.loaded(s);break;case Ne.ERROR:s==null||s.setAttribute("lazy",Ne.ERROR),n!=null&&n.error&&n.error(s);break}}_realObserver(t){return this._images.get(t)}_logger(t,...n){let s=console.error;switch(this.options.logLevel){case"error":s=console.error;break;case"warn":s=console.warn;break;case"info":s=console.info;break;case"debug":s=console.debug;break}s(t,n)}}const af={install(e,t){const n=new ff(t);e.config.globalProperties.$Lazyload=n,e.provide("Lazyload",n),e.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};function df(){const e=Rc(Cc);e.use(af,{}),Ju(e),Zu(Wo),$u(e),e.mount("#app")}df();export{Be as F,Xu as _,Co as a,yf as b,Fl as c,mo as d,Ef as e,vf as f,kl as g,Bl as h,Ac as i,Lo as j,ye as k,xe as l,$t as m,mf as n,cl as o,bf as p,_f as q,Xi as r,pf as s,hf as t,vt as u,gf as v,Wi as w,wf as x,ys as y}; diff --git a/docs/assets/index-DZdY5dfX.js b/docs/assets/index-DZdY5dfX.js new file mode 100644 index 0000000..62e778d --- /dev/null +++ b/docs/assets/index-DZdY5dfX.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./CocktailMain-CwM1Iw82.js","./index-CSOjfTz9.js","./index-MF19Ex7s.css","./index-BNt3EKxU.js","./CocktailMain-D4CqKBw5.css","./CocktailView-BkMgaJwH.js","./CocktailView-CnjZClcz.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-CSOjfTz9.js";const o={path:"/",name:"CocktailMain",component:()=>e(()=>import("./CocktailMain-CwM1Iw82.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),children:[{path:"/:slug",name:"CocktailView",component:()=>e(()=>import("./CocktailView-BkMgaJwH.js"),__vite__mapDeps([5,1,2,3,6]),import.meta.url)}]},a=t=>{t.addRoute("Default",o),t.replace(t.currentRoute.value.fullPath)},l={router:a};export{l as default}; diff --git a/docs/assets/index-MF19Ex7s.css b/docs/assets/index-MF19Ex7s.css new file mode 100644 index 0000000..5c1bdfa --- /dev/null +++ b/docs/assets/index-MF19Ex7s.css @@ -0,0 +1 @@ +.head-3{font-weight:700;font-size:18px;line-height:1.4}html,body{height:100%;margin:0;padding:0;min-height:100%} diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..eb66972 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,14 @@ + + + + + + + Simurg Test + + + + +
+ + diff --git a/vite.config.ts b/vite.config.ts index 0acd568..3a726eb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -4,6 +4,10 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ + base: './', + build: { + outDir: './docs' + }, resolve: { alias: { '@': path.resolve(__dirname, 'src'),