create-jwn-js 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template-vite-vue3-mts/src/scripts/vitest.global.setup.mts +3 -3
- package/template-vite-vue3-pinia-mts/dist/client/.vite/ssr-manifest.json +1169 -69
- package/template-vite-vue3-pinia-mts/dist/client/assets/index-B40M1W6I.css +1 -0
- package/template-vite-vue3-pinia-mts/dist/client/assets/index-CrrygVvU.js +249 -0
- package/template-vite-vue3-pinia-mts/dist/client/assets/primeicons-C6QP2o4f.woff2 +0 -0
- package/template-vite-vue3-pinia-mts/dist/client/assets/primeicons-DMOk5skT.eot +0 -0
- package/template-vite-vue3-pinia-mts/dist/client/assets/primeicons-Dr5RGzOO.svg +345 -0
- package/template-vite-vue3-pinia-mts/dist/client/assets/primeicons-MpK4pl85.ttf +0 -0
- package/template-vite-vue3-pinia-mts/dist/client/assets/primeicons-WjwUDZjB.woff +0 -0
- package/template-vite-vue3-pinia-mts/dist/client/robots.txt +2 -0
- package/template-vite-vue3-pinia-mts/dist/server/entry-server.mjs +239 -354
- package/template-vite-vue3-pinia-mts/dist/server/package.json +2 -1
- package/template-vite-vue3-pinia-mts/dist/server/robots.txt +2 -0
- package/template-vite-vue3-pinia-mts/package.json +4 -4
- package/template-vite-vue3-pinia-mts/yarn.lock +260 -323
- package/template-vite-vue3-pinia-mts/dist/client/assets/index-B8XEaJMM.css +0 -1
- package/template-vite-vue3-pinia-mts/dist/client/assets/index-DJNddzdM.js +0 -224
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();/**
|
|
2
|
-
* @vue/shared v3.5.12
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function rt(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae=Object.freeze({}),Jn=Object.freeze([]),He=()=>{},Md=()=>!1,fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Eo=e=>e.startsWith("onUpdate:"),fe=Object.assign,ki=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nd=Object.prototype.hasOwnProperty,ue=(e,t)=>Nd.call(e,t),Y=Array.isArray,Sn=e=>dr(e)==="[object Map]",Nn=e=>dr(e)==="[object Set]",Oa=e=>dr(e)==="[object Date]",Id=e=>dr(e)==="[object RegExp]",Z=e=>typeof e=="function",de=e=>typeof e=="string",bt=e=>typeof e=="symbol",le=e=>e!==null&&typeof e=="object",Xo=e=>(le(e)||Z(e))&&Z(e.then)&&Z(e.catch),yc=Object.prototype.toString,dr=e=>yc.call(e),Mi=e=>dr(e).slice(8,-1),Zo=e=>dr(e)==="[object Object]",Ni=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yn=rt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ld=rt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),es=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jd=/-(\w)/g,Pe=es(e=>e.replace(jd,(t,n)=>n?n.toUpperCase():"")),Dd=/\B([A-Z])/g,De=es(e=>e.replace(Dd,"-$1").toLowerCase()),ln=es(e=>e.charAt(0).toUpperCase()+e.slice(1)),Dt=es(e=>e?`on${ln(e)}`:""),Ge=(e,t)=>!Object.is(e,t),nn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},tr=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},To=e=>{const t=parseFloat(e);return isNaN(t)?e:t},xo=e=>{const t=de(e)?Number(e):NaN;return isNaN(t)?e:t};let Aa;const Qr=()=>Aa||(Aa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Hd="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Fd=rt(Hd);function hr(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=de(r)?Kd(r):hr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(de(e)||le(e))return e}const Vd=/;(?![^(]*\))/g,Ud=/:([^]+)/,Bd=/\/\*[^]*?\*\//g;function Kd(e){const t={};return e.replace(Bd,"").split(Vd).forEach(n=>{if(n){const r=n.split(Ud);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Wd(e){let t="";if(!e||de(e))return t;for(const n in e){const r=e[n];if(de(r)||typeof r=="number"){const o=n.startsWith("--")?n:De(n);t+=`${o}:${r};`}}return t}function pr(e){let t="";if(de(e))t=e;else if(Y(e))for(let n=0;n<e.length;n++){const r=pr(e[n]);r&&(t+=r+" ")}else if(le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Gd(e){if(!e)return null;let{class:t,style:n}=e;return t&&!de(t)&&(e.class=pr(t)),n&&(e.style=hr(n)),e}const qd="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",zd="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Jd="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",Yd=rt(qd),Qd=rt(zd),Xd=rt(Jd),vc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zd=rt(vc),Pa=rt(vc+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Ii(e){return!!e||e===""}const eh=rt("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),th=rt("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function nh(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const rh=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function oh(e,t){return e.replace(rh,n=>`\\${n}`)}function sh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=cn(e[r],t[r]);return n}function cn(e,t){if(e===t)return!0;let n=Oa(e),r=Oa(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=bt(e),r=bt(t),n||r)return e===t;if(n=Y(e),r=Y(t),n||r)return n&&r?sh(e,t):!1;if(n=le(e),r=le(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!cn(e[i],t[i]))return!1}}return String(e)===String(t)}function ts(e,t){return e.findIndex(n=>cn(n,t))}const _c=e=>!!(e&&e.__v_isRef===!0),ns=e=>de(e)?e:e==null?"":Y(e)||le(e)&&(e.toString===yc||!Z(e.toString))?_c(e)?ns(e.value):JSON.stringify(e,bc,2):String(e),bc=(e,t)=>_c(t)?bc(e,t.value):Sn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Ts(r,s)+" =>"]=o,n),{})}:Nn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ts(n))}:bt(t)?Ts(t):le(t)&&!Y(t)&&!Zo(t)?String(t):t,Ts=(e,t="")=>{var n;return bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.12
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/function lt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let We;class Li{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=We;try{return We=this,t()}finally{We=n}}else lt("cannot run an inactive effect scope.")}on(){We=this}off(){We=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function wc(e){return new Li(e)}function Sc(){return We}function ih(e,t=!1){We?We.cleanups.push(e):t||lt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let he;const xs=new WeakSet;class Dr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,We&&We.active&&We.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xs.has(this)&&(xs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Tc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$a(this),xc(this);const t=he,n=_t;he=this,_t=!0;try{return this.fn()}finally{he!==this&<("Active effect was not restored correctly - this is likely a Vue internal bug."),Cc(this),he=t,_t=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hi(t);this.deps=this.depsTail=void 0,$a(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Js(this)&&this.run()}get dirty(){return Js(this)}}let Ec=0,Ar,Pr;function Tc(e,t=!1){if(e.flags|=8,t){e.next=Pr,Pr=e;return}e.next=Ar,Ar=e}function ji(){Ec++}function Di(){if(--Ec>0)return;if(Pr){let t=Pr;for(Pr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ar;){let t=Ar;for(Ar=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function xc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Cc(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Hi(r),ah(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Js(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Hr))return;e.globalVersion=Hr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Js(e)){e.flags&=-3;return}const n=he,r=_t;he=e,_t=!0;try{xc(e);const o=e.fn(e._value);(t.version===0||Ge(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{he=n,_t=r,Cc(e),e.flags&=-3}}function Hi(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Hi(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ah(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function lh(e,t){e.effect instanceof Dr&&(e=e.effect.fn);const n=new Dr(e);t&&fe(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function ch(e){e.effect.stop()}let _t=!0;const Ac=[];function Kt(){Ac.push(_t),_t=!1}function Wt(){const e=Ac.pop();_t=e===void 0?!0:e}function $a(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let Hr=0;class uh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class rs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.subsHead=void 0}track(t){if(!he||!_t||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new uh(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Pc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=r)}return he.onTrack&&he.onTrack(fe({effect:he},t)),n}trigger(t){this.version++,Hr++,this.notify(t)}notify(t){ji();try{for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(fe({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Di()}}}function Pc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Pc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Co=new WeakMap,En=Symbol("Object iterate"),Ys=Symbol("Map keys iterate"),Fr=Symbol("Array iterate");function Re(e,t,n){if(_t&&he){let r=Co.get(e);r||Co.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new rs),o.map=r,o.key=n),o.track({target:e,type:t,key:n})}}function Ct(e,t,n,r,o,s){const i=Co.get(e);if(!i){Hr++;return}const a=l=>{l&&l.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s})};if(ji(),t==="clear")i.forEach(a);else{const l=Y(e),f=l&&Ni(n);if(l&&n==="length"){const u=Number(r);i.forEach((c,d)=>{(d==="length"||d===Fr||!bt(d)&&d>=u)&&a(c)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(Fr)),t){case"add":l?f&&a(i.get("length")):(a(i.get(En)),Sn(e)&&a(i.get(Ys)));break;case"delete":l||(a(i.get(En)),Sn(e)&&a(i.get(Ys)));break;case"set":Sn(e)&&a(i.get(En));break}}Di()}function fh(e,t){const n=Co.get(e);return n&&n.get(t)}function Vn(e){const t=re(e);return t===e?t:(Re(t,"iterate",Fr),Ve(e)?t:t.map(je))}function os(e){return Re(e=re(e),"iterate",Fr),e}const dh={__proto__:null,[Symbol.iterator](){return Cs(this,Symbol.iterator,je)},concat(...e){return Vn(this).concat(...e.map(t=>Y(t)?Vn(t):t))},entries(){return Cs(this,"entries",e=>(e[1]=je(e[1]),e))},every(e,t){return $t(this,"every",e,t,void 0,arguments)},filter(e,t){return $t(this,"filter",e,t,n=>n.map(je),arguments)},find(e,t){return $t(this,"find",e,t,je,arguments)},findIndex(e,t){return $t(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $t(this,"findLast",e,t,je,arguments)},findLastIndex(e,t){return $t(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $t(this,"forEach",e,t,void 0,arguments)},includes(...e){return Os(this,"includes",e)},indexOf(...e){return Os(this,"indexOf",e)},join(e){return Vn(this).join(e)},lastIndexOf(...e){return Os(this,"lastIndexOf",e)},map(e,t){return $t(this,"map",e,t,void 0,arguments)},pop(){return vr(this,"pop")},push(...e){return vr(this,"push",e)},reduce(e,...t){return Ra(this,"reduce",e,t)},reduceRight(e,...t){return Ra(this,"reduceRight",e,t)},shift(){return vr(this,"shift")},some(e,t){return $t(this,"some",e,t,void 0,arguments)},splice(...e){return vr(this,"splice",e)},toReversed(){return Vn(this).toReversed()},toSorted(e){return Vn(this).toSorted(e)},toSpliced(...e){return Vn(this).toSpliced(...e)},unshift(...e){return vr(this,"unshift",e)},values(){return Cs(this,"values",je)}};function Cs(e,t,n){const r=os(e),o=r[t]();return r!==e&&!Ve(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.value&&(s.value=n(s.value)),s}),o}const hh=Array.prototype;function $t(e,t,n,r,o,s){const i=os(e),a=i!==e&&!Ve(e),l=i[t];if(l!==hh[t]){const c=l.apply(e,s);return a?je(c):c}let f=n;i!==e&&(a?f=function(c,d){return n.call(this,je(c),d,e)}:n.length>2&&(f=function(c,d){return n.call(this,c,d,e)}));const u=l.call(i,f,r);return a&&o?o(u):u}function Ra(e,t,n,r){const o=os(e);let s=n;return o!==e&&(Ve(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,je(a),l,e)}),o[t](s,...r)}function Os(e,t,n){const r=re(e);Re(r,"iterate",Fr);const o=r[t](...n);return(o===-1||o===!1)&&nr(n[0])?(n[0]=re(n[0]),r[t](...n)):o}function vr(e,t,n=[]){Kt(),ji();const r=re(e)[t].apply(e,n);return Di(),Wt(),r}const ph=rt("__proto__,__v_isRef,__isVue"),$c=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bt));function mh(e){bt(e)||(e=String(e));const t=re(this);return Re(t,"has",e),t.hasOwnProperty(e)}class Rc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?jc:Lc:s?Ic:Nc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=Y(t);if(!o){let l;if(i&&(l=dh[n]))return l;if(n==="hasOwnProperty")return mh}const a=Reflect.get(t,n,Se(t)?t:r);return(bt(n)?$c.has(n):ph(n))||(o||Re(t,"get",n),s)?a:Se(a)?i&&Ni(n)?a:a.value:le(a)?o?Xr(a):In(a):a}}class kc extends Rc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=At(s);if(!Ve(r)&&!At(r)&&(s=re(s),r=re(r)),!Y(t)&&Se(s)&&!Se(r))return l?!1:(s.value=r,!0)}const i=Y(t)&&Ni(n)?Number(n)<t.length:ue(t,n),a=Reflect.set(t,n,r,Se(t)?t:o);return t===re(o)&&(i?Ge(r,s)&&Ct(t,"set",n,r,s):Ct(t,"add",n,r)),a}deleteProperty(t,n){const r=ue(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&Ct(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!bt(n)||!$c.has(n))&&Re(t,"has",n),r}ownKeys(t){return Re(t,"iterate",Y(t)?"length":En),Reflect.ownKeys(t)}}class Mc extends Rc{constructor(t=!1){super(!0,t)}set(t,n){return lt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return lt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const gh=new kc,yh=new Mc,vh=new kc(!0),_h=new Mc(!0),Qs=e=>e,oo=e=>Reflect.getPrototypeOf(e);function bh(e,t,n){return function(...r){const o=this.__v_raw,s=re(o),i=Sn(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=o[e](...r),u=n?Qs:t?Xs:je;return!t&&Re(s,"iterate",l?Ys:En),{next(){const{value:c,done:d}=f.next();return d?{value:c,done:d}:{value:a?[u(c[0]),u(c[1])]:u(c),done:d}},[Symbol.iterator](){return this}}}}function so(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";lt(`${ln(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function wh(e,t){const n={get(o){const s=this.__v_raw,i=re(s),a=re(o);e||(Ge(o,a)&&Re(i,"get",o),Re(i,"get",a));const{has:l}=oo(i),f=t?Qs:e?Xs:je;if(l.call(i,o))return f(s.get(o));if(l.call(i,a))return f(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Re(re(o),"iterate",En),Reflect.get(o,"size",o)},has(o){const s=this.__v_raw,i=re(s),a=re(o);return e||(Ge(o,a)&&Re(i,"has",o),Re(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=re(a),f=t?Qs:e?Xs:je;return!e&&Re(l,"iterate",En),a.forEach((u,c)=>o.call(s,f(u),f(c),i))}};return fe(n,e?{add:so("add"),set:so("set"),delete:so("delete"),clear:so("clear")}:{add(o){!t&&!Ve(o)&&!At(o)&&(o=re(o));const s=re(this);return oo(s).has.call(s,o)||(s.add(o),Ct(s,"add",o,o)),this},set(o,s){!t&&!Ve(s)&&!At(s)&&(s=re(s));const i=re(this),{has:a,get:l}=oo(i);let f=a.call(i,o);f?ka(i,a,o):(o=re(o),f=a.call(i,o));const u=l.call(i,o);return i.set(o,s),f?Ge(s,u)&&Ct(i,"set",o,s,u):Ct(i,"add",o,s),this},delete(o){const s=re(this),{has:i,get:a}=oo(s);let l=i.call(s,o);l?ka(s,i,o):(o=re(o),l=i.call(s,o));const f=a?a.call(s,o):void 0,u=s.delete(o);return l&&Ct(s,"delete",o,void 0,f),u},clear(){const o=re(this),s=o.size!==0,i=Sn(o)?new Map(o):new Set(o),a=o.clear();return s&&Ct(o,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=bh(o,e,t)}),n}function ss(e,t){const n=wh(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ue(n,o)&&o in r?n:r,o,s)}const Sh={get:ss(!1,!1)},Eh={get:ss(!1,!0)},Th={get:ss(!0,!1)},xh={get:ss(!0,!0)};function ka(e,t,n){const r=re(n);if(r!==n&&t.call(e,r)){const o=Mi(e);lt(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Nc=new WeakMap,Ic=new WeakMap,Lc=new WeakMap,jc=new WeakMap;function Ch(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Oh(e){return e.__v_skip||!Object.isExtensible(e)?0:Ch(Mi(e))}function In(e){return At(e)?e:is(e,!1,gh,Sh,Nc)}function Fi(e){return is(e,!1,vh,Eh,Ic)}function Xr(e){return is(e,!0,yh,Th,Lc)}function yt(e){return is(e,!0,_h,xh,jc)}function is(e,t,n,r,o){if(!le(e))return lt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Oh(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function on(e){return At(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function Ve(e){return!!(e&&e.__v_isShallow)}function nr(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function Dc(e){return!ue(e,"__v_skip")&&Object.isExtensible(e)&&tr(e,"__v_skip",!0),e}const je=e=>le(e)?In(e):e,Xs=e=>le(e)?Xr(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function Xe(e){return Hc(e,!1)}function Vi(e){return Hc(e,!0)}function Hc(e,t){return Se(e)?e:new Ah(e,t)}class Ah{constructor(t,n){this.dep=new rs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:je(t),this.__v_isShallow=n}get value(){return this.dep.track({target:this,type:"get",key:"value"}),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ve(t)||At(t);t=r?t:re(t),Ge(t,n)&&(this._rawValue=t,this._value=r?t:je(t),this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}))}}function Ph(e){e.dep&&e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value})}function st(e){return Se(e)?e.value:e}function $h(e){return Z(e)?e():st(e)}const Rh={get:(e,t,n)=>t==="__v_raw"?e:st(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Ui(e){return on(e)?e:new Proxy(e,Rh)}class kh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new rs,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Fc(e){return new kh(e)}function Mh(e){nr(e)||lt("toRefs() expects a reactive object but received a plain one.");const t=Y(e)?new Array(e.length):{};for(const n in e)t[n]=Vc(e,n);return t}class Nh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return fh(re(this._object),this._key)}}class Ih{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Lh(e,t,n){return Se(e)?e:Z(e)?new Ih(e):le(e)&&arguments.length>1?Vc(e,t,n):Xe(e)}function Vc(e,t,n){const r=e[t];return Se(r)?r:new Nh(e,t,n)}class jh{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new rs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Hr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return Tc(this,!0),!0}get value(){const t=this.dep.track({target:this,type:"get",key:"value"});return Oc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):lt("Write operation failed: computed value is readonly")}}function Dh(e,t,n=!1){let r,o;Z(e)?r=e:(r=e.get,o=e.set);const s=new jh(r,o,n);return t&&!n&&(s.onTrack=t.onTrack,s.onTrigger=t.onTrigger),s}const Hh={GET:"get",HAS:"has",ITERATE:"iterate"},Fh={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},io={},Oo=new WeakMap;let Qt;function Vh(){return Qt}function Uc(e,t=!1,n=Qt){if(n){let r=Oo.get(n);r||Oo.set(n,r=[]),r.push(e)}else t||lt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function Uh(e,t,n=ae){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,f=b=>{(n.onWarn||lt)("Invalid watch source: ",b,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=b=>o?b:Ve(b)||o===!1||o===0?Ft(b,1):Ft(b);let c,d,h,g,v=!1,T=!1;if(Se(e)?(d=()=>e.value,v=Ve(e)):on(e)?(d=()=>u(e),v=!0):Y(e)?(T=!0,v=e.some(b=>on(b)||Ve(b)),d=()=>e.map(b=>{if(Se(b))return b.value;if(on(b))return u(b);if(Z(b))return l?l(b,2):b();f(b)})):Z(e)?t?d=l?()=>l(e,2):e:d=()=>{if(h){Kt();try{h()}finally{Wt()}}const b=Qt;Qt=c;try{return l?l(e,3,[g]):e(g)}finally{Qt=b}}:(d=He,f(e)),t&&o){const b=d,A=o===!0?1/0:o;d=()=>Ft(b(),A)}const C=Sc(),S=()=>{c.stop(),C&&ki(C.effects,c)};if(s&&t){const b=t;t=(...A)=>{b(...A),S()}}let m=T?new Array(e.length).fill(io):io;const w=b=>{if(!(!(c.flags&1)||!c.dirty&&!b))if(t){const A=c.run();if(o||v||(T?A.some((D,U)=>Ge(D,m[U])):Ge(A,m))){h&&h();const D=Qt;Qt=c;try{const U=[A,m===io?void 0:T&&m[0]===io?[]:m,g];l?l(t,3,U):t(...U),m=A}finally{Qt=D}}}else c.run()};return a&&a(w),c=new Dr(d),c.scheduler=i?()=>i(w,!1):w,g=b=>Uc(b,!1,c),h=c.onStop=()=>{const b=Oo.get(c);if(b){if(l)l(b,4);else for(const A of b)A();Oo.delete(c)}},c.onTrack=n.onTrack,c.onTrigger=n.onTrigger,t?r?w(!0):m=c.run():i?i(w.bind(null,!0),!0):c.run(),S.pause=c.pause.bind(c),S.resume=c.resume.bind(c),S.stop=S,S}function Ft(e,t=1/0,n){if(t<=0||!le(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Se(e))Ft(e.value,t,n);else if(Y(e))for(let r=0;r<e.length;r++)Ft(e[r],t,n);else if(Nn(e)||Sn(e))e.forEach(r=>{Ft(r,t,n)});else if(Zo(e)){for(const r in e)Ft(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ft(e[r],t,n)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.12
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/const Tn=[];function Qn(e){Tn.push(e)}function Xn(){Tn.pop()}let As=!1;function $(e,...t){if(As)return;As=!0,Kt();const n=Tn.length?Tn[Tn.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Bh();if(r)Ln(r,n,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${_s(n,s.type)}>`).join(`
|
|
14
|
-
`),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(`
|
|
15
|
-
`,...Kh(o)),console.warn(...s)}Wt(),As=!1}function Bh(){let e=Tn[Tn.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Kh(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
16
|
-
`],...Wh(n))}),t}function Wh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${_s(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Gh(e.props),s]:[o+s]}function Gh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Bc(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Bc(e,t,n){return de(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Se(t)?(t=Bc(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function Bi(e,t){e!==void 0&&(typeof e!="number"?$(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&$(`${t} is NaN - the duration expression might be incorrect.`))}const qh={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},as={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Ln(e,t,n,r){try{return r?e(...r):e()}catch(o){hn(o,t,n)}}function ct(e,t,n,r){if(Z(e)){const o=Ln(e,t,n,r);return o&&Xo(o)&&o.catch(s=>{hn(s,t,n)}),o}if(Y(e)){const o=[];for(let s=0;s<e.length;s++)o.push(ct(e[s],t,n,r));return o}else $(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function hn(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ae;if(t){let a=t.parent;const l=t.proxy,f=as[n];for(;a;){const u=a.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,l,f)===!1)return}a=a.parent}if(s){Kt(),Ln(s,null,10,[e,l,f]),Wt();return}}zh(e,n,o,r,i)}function zh(e,t,n,r=!0,o=!1){{const s=as[t];if(n&&Qn(n),$(`Unhandled error${s?` during execution of ${s}`:""}`),n&&Xn(),r)throw e;console.error(e)}}const qe=[];let Tt=-1;const Zn=[];let Xt=null,Gn=0;const Kc=Promise.resolve();let Ao=null;const Jh=100;function jn(e){const t=Ao||Kc;return e?t.then(this?e.bind(this):e):t}function Yh(e){let t=Tt+1,n=qe.length;for(;t<n;){const r=t+n>>>1,o=qe[r],s=Ur(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function ls(e){if(!(e.flags&1)){const t=Ur(e),n=qe[qe.length-1];!n||!(e.flags&2)&&t>=Ur(n)?qe.push(e):qe.splice(Yh(t),0,e),e.flags|=1,Wc()}}function Wc(){Ao||(Ao=Kc.then(Gc))}function Vr(e){Y(e)?Zn.push(...e):Xt&&e.id===-1?Xt.splice(Gn+1,0,e):e.flags&1||(Zn.push(e),e.flags|=1),Wc()}function Ma(e,t,n=Tt+1){for(t=t||new Map;n<qe.length;n++){const r=qe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid||Ki(t,r))continue;qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Po(e){if(Zn.length){const t=[...new Set(Zn)].sort((n,r)=>Ur(n)-Ur(r));if(Zn.length=0,Xt){Xt.push(...t);return}for(Xt=t,e=e||new Map,Gn=0;Gn<Xt.length;Gn++){const n=Xt[Gn];Ki(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Xt=null,Gn=0}}const Ur=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Gc(e){e=e||new Map;const t=n=>Ki(e,n);try{for(Tt=0;Tt<qe.length;Tt++){const n=qe[Tt];if(n&&!(n.flags&8)){if(t(n))continue;n.flags&4&&(n.flags&=-2),Ln(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Tt<qe.length;Tt++){const n=qe[Tt];n&&(n.flags&=-2)}Tt=-1,qe.length=0,Po(e),Ao=null,(qe.length||Zn.length)&&Gc(e)}}function Ki(e,t){const n=e.get(t)||0;if(n>Jh){const r=t.i,o=r&&qr(r.type);return hn(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let vt=!1;const go=new Map;Qr().__VUE_HMR_RUNTIME__={createRecord:Ps(qc),rerender:Ps(Zh),reload:Ps(ep)};const Pn=new Map;function Qh(e){const t=e.type.__hmrId;let n=Pn.get(t);n||(qc(t,e.type),n=Pn.get(t)),n.instances.add(e)}function Xh(e){Pn.get(e.type.__hmrId).instances.delete(e)}function qc(e,t){return Pn.has(e)?!1:(Pn.set(e,{initialDef:$o(t),instances:new Set}),!0)}function $o(e){return Qu(e)?e.__vccOpts:e}function Zh(e,t){const n=Pn.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,$o(r.type).render=t),r.renderCache=[],vt=!0,r.update(),vt=!1}))}function ep(e,t){const n=Pn.get(e);if(!n)return;t=$o(t),Na(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const s=r[o],i=$o(s.type);let a=go.get(i);a||(i!==n.initialDef&&Na(i,t),go.set(i,a=new Set)),a.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(a.add(s),s.ceReload(t.styles),a.delete(s)):s.parent?ls(()=>{vt=!0,s.parent.update(),vt=!1,a.delete(s)}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(i)}Vr(()=>{go.clear()})}function Na(e,t){fe(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ps(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let mt,Tr=[],Zs=!1;function Zr(e,...t){mt?mt.emit(e,...t):Zs||Tr.push({event:e,args:t})}function Wi(e,t){var n,r;mt=e,mt?(mt.enabled=!0,Tr.forEach(({event:o,args:s})=>mt.emit(o,...s)),Tr=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Wi(s,t)}),setTimeout(()=>{mt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Zs=!0,Tr=[])},3e3)):(Zs=!0,Tr=[])}function tp(e,t){Zr("app:init",e,t,{Fragment:Ae,Text:Ot,Comment:we,Static:an})}function np(e){Zr("app:unmount",e)}const ei=Gi("component:added"),zc=Gi("component:updated"),rp=Gi("component:removed"),op=e=>{mt&&typeof mt.cleanupBuffer=="function"&&!mt.cleanupBuffer(e)&&rp(e)};/*! #__NO_SIDE_EFFECTS__ */function Gi(e){return t=>{Zr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const sp=Jc("perf:start"),ip=Jc("perf:end");function Jc(e){return(t,n,r)=>{Zr(e,t.appContext.app,t.uid,t,n,r)}}function ap(e,t,n){Zr("component:emit",e.appContext.app,e,t,n)}let xe=null,cs=null;function Br(e){const t=xe;return xe=e,cs=e&&e.type.__scopeId||null,t}function lp(e){cs=e}function cp(){cs=null}const up=e=>us;function us(e,t=xe,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ci(-1);const s=Br(t);let i;try{i=e(...o)}finally{Br(s),r._d&&ci(1)}return zc(t),i};return r._n=!0,r._c=!0,r._d=!0,r}function Yc(e){Ld(e)&&$("Do not use built-in directive ids as custom directive id: "+e)}function fp(e,t){if(xe===null)return $("withDirectives can only be used inside render functions."),e;const n=no(xe),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=ae]=t[o];s&&(Z(s)&&(s={mounted:s,updated:s}),s.deep&&Ft(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function xt(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Kt(),ct(l,n,8,[e.el,a,e,t]),Wt())}}const Qc=Symbol("_vte"),Xc=e=>e.__isTeleport,xn=e=>e&&(e.disabled||e.disabled===""),dp=e=>e&&(e.defer||e.defer===""),Ia=e=>typeof SVGElement<"u"&&e instanceof SVGElement,La=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ti=(e,t)=>{const n=e&&e.to;if(de(n))if(t){const r=t(n);return!r&&!xn(e)&&$(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),r}else return $("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return!n&&!xn(e)&&$(`Invalid Teleport target: ${n}`),n},hp={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,f){const{mc:u,pc:c,pbc:d,o:{insert:h,querySelector:g,createText:v,createComment:T}}=f,C=xn(t.props);let{shapeFlag:S,children:m,dynamicChildren:w}=t;if(vt&&(l=!1,w=null),e==null){const b=t.el=T("teleport start"),A=t.anchor=T("teleport end");h(b,n,r),h(A,n,r);const D=(P,I)=>{S&16&&(o&&o.isCE&&(o.ce._teleportTarget=P),u(m,P,I,o,s,i,a,l))},U=()=>{const P=t.target=ti(t.props,g),I=Zc(P,t,v,h);P?(i!=="svg"&&Ia(P)?i="svg":i!=="mathml"&&La(P)&&(i="mathml"),C||(D(P,I),yo(t,!1))):C||$("Invalid Teleport target on mount:",P,`(${typeof P})`)};C&&(D(n,A),yo(t,!0)),dp(t.props)?$e(U,s):U()}else{t.el=e.el,t.targetStart=e.targetStart;const b=t.anchor=e.anchor,A=t.target=e.target,D=t.targetAnchor=e.targetAnchor,U=xn(e.props),P=U?n:A,I=U?b:D;if(i==="svg"||Ia(A)?i="svg":(i==="mathml"||La(A))&&(i="mathml"),w?(d(e.dynamicChildren,w,P,o,s,i,a),Io(e,t,!0)):l||c(e,t,P,I,o,s,i,a,!1),C)U?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ao(t,n,b,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const B=t.target=ti(t.props,g);B?ao(t,B,null,f,0):$("Invalid Teleport target on update:",A,`(${typeof A})`)}else U&&ao(t,A,D,f,1);yo(t,C)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:f,targetAnchor:u,target:c,props:d}=e;if(c&&(o(f),o(u)),s&&o(l),i&16){const h=s||!xn(d);for(let g=0;g<a.length;g++){const v=a[g];r(v,t,n,h,!!v.dynamicChildren)}}},move:ao,hydrate:pp};function ao(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:f,props:u}=e,c=s===2;if(c&&r(i,t,n),(!c||xn(u))&&l&16)for(let d=0;d<f.length;d++)o(f[d],t,n,2);c&&r(a,t,n)}function pp(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:f,createText:u}},c){const d=t.target=ti(t.props,l);if(d){const h=xn(t.props),g=d._lpa||d.firstChild;if(t.shapeFlag&16)if(h)t.anchor=c(i(e),t,a(e),n,r,o,s),t.targetStart=g,t.targetAnchor=g&&i(g);else{t.anchor=i(e);let v=g;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}v=i(v)}t.targetAnchor||Zc(d,t,u,f),c(g&&i(g),t,d,n,r,o,s)}yo(t,h)}return t.anchor&&i(t.anchor)}const mp=hp;function yo(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function Zc(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[Qc]=s,e&&(r(o,e),r(s,e)),s}const Zt=Symbol("_leaveCb"),lo=Symbol("_enterCb");function qi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return gr(()=>{e.isMounted=!0}),eo(()=>{e.isUnmounting=!0}),e}const ot=[Function,Array],zi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ot,onEnter:ot,onAfterEnter:ot,onEnterCancelled:ot,onBeforeLeave:ot,onLeave:ot,onAfterLeave:ot,onLeaveCancelled:ot,onBeforeAppear:ot,onAppear:ot,onAfterAppear:ot,onAppearCancelled:ot},eu=e=>{const t=e.subTree;return t.component?eu(t.component):t},gp={name:"BaseTransition",props:zi,setup(e,{slots:t}){const n=Me(),r=qi();return()=>{const o=t.default&&fs(t.default(),!0);if(!o||!o.length)return;const s=tu(o),i=re(e),{mode:a}=i;if(a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&$(`invalid <transition> mode: ${a}`),r.isLeaving)return $s(s);const l=ja(s);if(!l)return $s(s);let f=rr(l,i,r,n,d=>f=d);l.type!==we&&Bt(l,f);const u=n.subTree,c=u&&ja(u);if(c&&c.type!==we&&!gt(l,c)&&eu(n).type!==we){const d=rr(c,i,r,n);if(Bt(c,d),a==="out-in"&&l.type!==we)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave},$s(s);a==="in-out"&&l.type!==we&&(d.delayLeave=(h,g,v)=>{const T=ru(r,c);T[String(c.key)]=c,h[Zt]=()=>{g(),h[Zt]=void 0,delete f.delayedLeave},f.delayedLeave=v})}return s}}};function tu(e){let t=e[0];if(e.length>1){let n=!1;for(const r of e)if(r.type!==we){if(n){$("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}t=r,n=!0}}return t}const nu=gp;function ru(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function rr(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:f,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:h,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:T,onAppear:C,onAfterAppear:S,onAppearCancelled:m}=t,w=String(e.key),b=ru(n,e),A=(P,I)=>{P&&ct(P,r,9,I)},D=(P,I)=>{const B=I[1];A(P,I),Y(P)?P.every(L=>L.length<=1)&&B():P.length<=1&&B()},U={mode:i,persisted:a,beforeEnter(P){let I=l;if(!n.isMounted)if(s)I=T||l;else return;P[Zt]&&P[Zt](!0);const B=b[w];B&>(e,B)&&B.el[Zt]&&B.el[Zt](),A(I,[P])},enter(P){let I=f,B=u,L=c;if(!n.isMounted)if(s)I=C||f,B=S||u,L=m||c;else return;let J=!1;const _=P[lo]=O=>{J||(J=!0,O?A(L,[P]):A(B,[P]),U.delayedLeave&&U.delayedLeave(),P[lo]=void 0)};I?D(I,[P,_]):_()},leave(P,I){const B=String(e.key);if(P[lo]&&P[lo](!0),n.isUnmounting)return I();A(d,[P]);let L=!1;const J=P[Zt]=_=>{L||(L=!0,I(),_?A(v,[P]):A(g,[P]),P[Zt]=void 0,b[B]===e&&delete b[B])};b[B]=e,h?D(h,[P,J]):J()},clone(P){const I=rr(P,t,n,r,o);return o&&o(I),I}};return U}function $s(e){if(mr(e))return e=ut(e),e.children=null,e}function ja(e){if(!mr(e))return Xc(e.type)&&e.children?tu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Z(n.default))return n.default()}}function Bt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function fs(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ae?(i.patchFlag&128&&o++,r=r.concat(fs(i.children,t,a))):(t||i.type!==we)&&r.push(a!=null?ut(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function pn(e,t){return Z(e)?fe({name:e.name},t,{setup:e}):e}function yp(){const e=Me();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:($("useId() is called when there is no active component instance to be associated with."),"")}function Ji(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const ou=new WeakSet;function vp(e){const t=Me(),n=Vi(null);if(t){const o=t.refs===ae?t.refs={}:t.refs;let s;(s=Object.getOwnPropertyDescriptor(o,e))&&!s.configurable?$(`useTemplateRef('${e}') already exists.`):Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}else $("useTemplateRef() is called when there is no active component instance to be associated with.");const r=Xr(n);return ou.add(r),r}function Ro(e,t,n,r,o=!1){if(Y(e)){e.forEach((g,v)=>Ro(g,t&&(Y(t)?t[v]:t),n,r,o));return}if(sn(r)&&!o)return;const s=r.shapeFlag&4?no(r.component):r.el,i=o?null:s,{i:a,r:l}=e;if(!a){$("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const f=t&&t.r,u=a.refs===ae?a.refs={}:a.refs,c=a.setupState,d=re(c),h=c===ae?()=>!1:g=>(ue(d,g)&&!Se(d[g])&&$(`Template ref "${g}" used on a non-ref value. It will not work in the production build.`),ou.has(d[g])?!1:ue(d,g));if(f!=null&&f!==l&&(de(f)?(u[f]=null,h(f)&&(c[f]=null)):Se(f)&&(f.value=null)),Z(l))Ln(l,a,12,[i,u]);else{const g=de(l),v=Se(l);if(g||v){const T=()=>{if(e.f){const C=g?h(l)?c[l]:u[l]:l.value;o?Y(C)&&ki(C,s):Y(C)?C.includes(s)||C.push(s):g?(u[l]=[s],h(l)&&(c[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else g?(u[l]=i,h(l)&&(c[l]=i)):v?(l.value=i,e.k&&(u[e.k]=i)):$("Invalid template ref type:",l,`(${typeof l})`)};i?(T.id=-1,$e(T,n)):T()}else $("Invalid template ref type:",l,`(${typeof l})`)}}let Da=!1;const gn=()=>{Da||(console.error("Hydration completed but contains mismatches."),Da=!0)},_p=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",bp=e=>e.namespaceURI.includes("MathML"),co=e=>{if(e.nodeType===1){if(_p(e))return"svg";if(bp(e))return"mathml"}},_n=e=>e.nodeType===8;function wp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:f}}=e,u=(m,w)=>{if(!w.hasChildNodes()){$("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,m,w),Po(),w._vnode=m;return}c(w.firstChild,m,null,null,null),Po(),w._vnode=m},c=(m,w,b,A,D,U=!1)=>{U=U||!!w.dynamicChildren;const P=_n(m)&&m.data==="[",I=()=>v(m,w,b,A,D,P),{type:B,ref:L,shapeFlag:J,patchFlag:_}=w;let O=m.nodeType;w.el=m,tr(m,"__vnode",w,!0),tr(m,"__vueParentComponent",b,!0),_===-2&&(U=!1,w.dynamicChildren=null);let k=null;switch(B){case Ot:O!==3?w.children===""?(l(w.el=o(""),i(m),m),k=m):k=I():(m.data!==w.children&&($("Hydration text mismatch in",m.parentNode,`
|
|
17
|
-
- rendered on server: ${JSON.stringify(m.data)}
|
|
18
|
-
- expected on client: ${JSON.stringify(w.children)}`),gn(),m.data=w.children),k=s(m));break;case we:S(m)?(k=s(m),C(w.el=m.content.firstChild,m,b)):O!==8||P?k=I():k=s(m);break;case an:if(P&&(m=s(m),O=m.nodeType),O===1||O===3){k=m;const W=!w.children.length;for(let H=0;H<w.staticCount;H++)W&&(w.children+=k.nodeType===1?k.outerHTML:k.data),H===w.staticCount-1&&(w.anchor=k),k=s(k);return P?s(k):k}else I();break;case Ae:P?k=g(m,w,b,A,D,U):k=I();break;default:if(J&1)(O!==1||w.type.toLowerCase()!==m.tagName.toLowerCase())&&!S(m)?k=I():k=d(m,w,b,A,D,U);else if(J&6){w.slotScopeIds=D;const W=i(m);if(P?k=T(m):_n(m)&&m.data==="teleport start"?k=T(m,m.data,"teleport end"):k=s(m),t(w,W,null,b,A,co(W),U),sn(w)){let H;P?(H=ye(Ae),H.anchor=k?k.previousSibling:W.lastChild):H=m.nodeType===3?vs(""):ye("div"),H.el=m,w.component.subTree=H}}else J&64?O!==8?k=I():k=w.type.hydrate(m,w,b,A,D,U,e,h):J&128?k=w.type.hydrate(m,w,b,A,co(i(m)),D,U,e,c):$("Invalid HostVNode type:",B,`(${typeof B})`)}return L!=null&&Ro(L,null,A,w),k},d=(m,w,b,A,D,U)=>{U=U||!!w.dynamicChildren;const{type:P,props:I,patchFlag:B,shapeFlag:L,dirs:J,transition:_}=w,O=P==="input"||P==="option";{J&&xt(w,null,b,"created");let k=!1;if(S(m)){k=Au(null,_)&&b&&b.vnode.props&&b.vnode.props.appear;const H=m.content.firstChild;k&&_.beforeEnter(H),C(H,m,b),w.el=m=H}if(L&16&&!(I&&(I.innerHTML||I.textContent))){let H=h(m.firstChild,w,m,b,A,D,U),X=!1;for(;H;){xr(m,1)||(X||($("Hydration children mismatch on",m,`
|
|
19
|
-
Server rendered element contains more child nodes than client vdom.`),X=!0),gn());const ve=H;H=H.nextSibling,a(ve)}}else if(L&8){let H=w.children;H[0]===`
|
|
20
|
-
`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(H=H.slice(1)),m.textContent!==H&&(xr(m,0)||($("Hydration text content mismatch on",m,`
|
|
21
|
-
- rendered on server: ${m.textContent}
|
|
22
|
-
- expected on client: ${w.children}`),gn()),m.textContent=w.children)}if(I){const H=m.tagName.includes("-");for(const X in I)!(J&&J.some(ve=>ve.dir.created))&&Sp(m,X,I[X],w,b)&&gn(),(O&&(X.endsWith("value")||X==="indeterminate")||fr(X)&&!Yn(X)||X[0]==="."||H)&&r(m,X,null,I[X],void 0,b)}let W;(W=I&&I.onVnodeBeforeMount)&&Ye(W,b,w),J&&xt(w,null,b,"beforeMount"),((W=I&&I.onVnodeMounted)||J||k)&&Hu(()=>{W&&Ye(W,b,w),k&&_.enter(m),J&&xt(w,null,b,"mounted")},A)}return m.nextSibling},h=(m,w,b,A,D,U,P)=>{P=P||!!w.dynamicChildren;const I=w.children,B=I.length;let L=!1;for(let J=0;J<B;J++){const _=P?I[J]:I[J]=ze(I[J]),O=_.type===Ot;m?(O&&!P&&J+1<B&&ze(I[J+1]).type===Ot&&(l(o(m.data.slice(_.children.length)),b,s(m)),m.data=_.children),m=c(m,_,A,D,U,P)):O&&!_.children?l(_.el=o(""),b):(xr(b,1)||(L||($("Hydration children mismatch on",b,`
|
|
23
|
-
Server rendered element contains fewer child nodes than client vdom.`),L=!0),gn()),n(null,_,b,null,A,D,co(b),U))}return m},g=(m,w,b,A,D,U)=>{const{slotScopeIds:P}=w;P&&(D=D?D.concat(P):P);const I=i(m),B=h(s(m),w,I,b,A,D,U);return B&&_n(B)&&B.data==="]"?s(w.anchor=B):(gn(),l(w.anchor=f("]"),I,B),B)},v=(m,w,b,A,D,U)=>{if(xr(m.parentElement,1)||($(`Hydration node mismatch:
|
|
24
|
-
- rendered on server:`,m,m.nodeType===3?"(text)":_n(m)&&m.data==="["?"(start of fragment)":"",`
|
|
25
|
-
- expected on client:`,w.type),gn()),w.el=null,U){const B=T(m);for(;;){const L=s(m);if(L&&L!==B)a(L);else break}}const P=s(m),I=i(m);return a(m),n(null,w,I,P,b,A,co(I),D),P},T=(m,w="[",b="]")=>{let A=0;for(;m;)if(m=s(m),m&&_n(m)&&(m.data===w&&A++,m.data===b)){if(A===0)return s(m);A--}return m},C=(m,w,b)=>{const A=w.parentNode;A&&A.replaceChild(m,w);let D=b;for(;D;)D.vnode.el===w&&(D.vnode.el=D.subTree.el=m),D=D.parent},S=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[u,c]}function Sp(e,t,n,r,o){let s,i,a,l;if(t==="class")a=e.getAttribute("class"),l=pr(n),Ep(Ha(a||""),Ha(l))||(s=2,i="class");else if(t==="style"){a=e.getAttribute("style")||"",l=de(n)?n:Wd(hr(n));const f=Fa(a),u=Fa(l);if(r.dirs)for(const{dir:c,value:d}of r.dirs)c.name==="show"&&!d&&u.set("display","none");o&&su(o,r,u),Tp(f,u)||(s=3,i="style")}else(e instanceof SVGElement&&th(t)||e instanceof HTMLElement&&(Pa(t)||eh(t)))&&(Pa(t)?(a=e.hasAttribute(t),l=Ii(n)):n==null?(a=e.hasAttribute(t),l=!1):(e.hasAttribute(t)?a=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?a=e.value:a=!1,l=nh(n)?String(n):!1),a!==l&&(s=4,i=t));if(s!=null&&!xr(e,s)){const f=d=>d===!1?"(not rendered)":`${i}="${d}"`,u=`Hydration ${iu[s]} mismatch on`,c=`
|
|
26
|
-
- rendered on server: ${f(a)}
|
|
27
|
-
- expected on client: ${f(l)}
|
|
28
|
-
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
|
|
29
|
-
You should fix the source of the mismatch.`;return $(u,e,c),!0}return!1}function Ha(e){return new Set(e.trim().split(/\s+/))}function Ep(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function Fa(e){const t=new Map;for(const n of e.split(";")){let[r,o]=n.split(":");r=r.trim(),o=o&&o.trim(),r&&o&&t.set(r,o)}return t}function Tp(e,t){if(e.size!==t.size)return!1;for(const[n,r]of e)if(r!==t.get(n))return!1;return!0}function su(e,t,n){const r=e.subTree;if(e.getCssVars&&(t===r||r&&r.type===Ae&&r.children.includes(t))){const o=e.getCssVars();for(const s in o)n.set(`--${oh(s)}`,String(o[s]))}t===r&&e.parent&&su(e.parent,e.vnode,n)}const Va="data-allow-mismatch",iu={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function xr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Va);)e=e.parentElement;const n=e&&e.getAttribute(Va);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(iu[t])}}const xp=Qr().requestIdleCallback||(e=>setTimeout(e,1)),Cp=Qr().cancelIdleCallback||(e=>clearTimeout(e)),Op=(e=1e4)=>t=>{const n=xp(t,{timeout:e});return()=>Cp(n)};function Ap(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:i}=window;return(t>0&&t<s||r>0&&r<s)&&(n>0&&n<i||o>0&&o<i)}const Pp=e=>(t,n)=>{const r=new IntersectionObserver(o=>{for(const s of o)if(s.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(Ap(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},$p=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},Rp=(e=[])=>(t,n)=>{de(e)&&(e=[e]);let r=!1;const o=i=>{r||(r=!0,s(),t(),i.target.dispatchEvent(new i.constructor(i.type,i)))},s=()=>{n(i=>{for(const a of e)i.removeEventListener(a,o)})};return n(i=>{for(const a of e)i.addEventListener(a,o,{once:!0})}),s};function kp(e,t){if(_n(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(_n(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const sn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Mp(e){Z(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let f=null,u,c=0;const d=()=>(c++,f=null,h()),h=()=>{let g;return f||(g=f=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),l)return new Promise((T,C)=>{l(v,()=>T(d()),()=>C(v),c+1)});throw v}).then(v=>{if(g!==f&&f)return f;if(v||$("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),v&&!le(v)&&!Z(v))throw new Error(`Invalid async component load result: ${v}`);return u=v,v}))};return pn({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(g,v,T){const C=s?()=>{const S=s(T,m=>kp(g,m));S&&(v.bum||(v.bum=[])).push(S)}:T;u?C():h().then(()=>!v.isUnmounted&&C())},get __asyncResolved(){return u},setup(){const g=Oe;if(Ji(g),u)return()=>Rs(u,g);const v=m=>{f=null,hn(m,g,13,!r)};if(a&&g.suspense||or)return h().then(m=>()=>Rs(m,g)).catch(m=>(v(m),()=>r?ye(r,{error:m}):null));const T=Xe(!1),C=Xe(),S=Xe(!!o);return o&&setTimeout(()=>{S.value=!1},o),i!=null&&setTimeout(()=>{if(!T.value&&!C.value){const m=new Error(`Async component timed out after ${i}ms.`);v(m),C.value=m}},i),h().then(()=>{T.value=!0,g.parent&&mr(g.parent.vnode)&&g.parent.update()}).catch(m=>{v(m),C.value=m}),()=>{if(T.value&&u)return Rs(u,g);if(C.value&&r)return ye(r,{error:C.value});if(n&&!S.value)return ye(n)}}})}function Rs(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=ye(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const mr=e=>e.type.__isKeepAlive,Np={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Me(),r=n.ctx;if(!r.renderer)return()=>{const S=t.default&&t.default();return S&&S.length===1?S[0]:S};const o=new Map,s=new Set;let i=null;n.__v_cache=o;const a=n.suspense,{renderer:{p:l,m:f,um:u,o:{createElement:c}}}=r,d=c("div");r.activate=(S,m,w,b,A)=>{const D=S.component;f(S,m,w,0,a),l(D.vnode,S,m,w,D,a,b,S.slotScopeIds,A),$e(()=>{D.isDeactivated=!1,D.a&&nn(D.a);const U=S.props&&S.props.onVnodeMounted;U&&Ye(U,D.parent,S)},a),ei(D)},r.deactivate=S=>{const m=S.component;Lo(m.m),Lo(m.a),f(S,d,null,1,a),$e(()=>{m.da&&nn(m.da);const w=S.props&&S.props.onVnodeUnmounted;w&&Ye(w,m.parent,S),m.isDeactivated=!0},a),ei(m)};function h(S){ks(S),u(S,n,a,!0)}function g(S){o.forEach((m,w)=>{const b=qr(m.type);b&&!S(b)&&v(w)})}function v(S){const m=o.get(S);m&&(!i||!gt(m,i))?h(m):i&&ks(i),o.delete(S),s.delete(S)}Je(()=>[e.include,e.exclude],([S,m])=>{S&&g(w=>Cr(S,w)),m&&g(w=>!Cr(m,w))},{flush:"post",deep:!0});let T=null;const C=()=>{T!=null&&(Do(n.subTree.type)?$e(()=>{o.set(T,uo(n.subTree))},n.subTree.suspense):o.set(T,uo(n.subTree)))};return gr(C),hs(C),eo(()=>{o.forEach(S=>{const{subTree:m,suspense:w}=n,b=uo(m);if(S.type===b.type&&S.key===b.key){ks(b);const A=b.component.da;A&&$e(A,w);return}h(S)})}),()=>{if(T=null,!t.default)return i=null;const S=t.default(),m=S[0];if(S.length>1)return $("KeepAlive should contain exactly one component child."),i=null,S;if(!Pt(m)||!(m.shapeFlag&4)&&!(m.shapeFlag&128))return i=null,m;let w=uo(m);if(w.type===we)return i=null,w;const b=w.type,A=qr(sn(w)?w.type.__asyncResolved||{}:b),{include:D,exclude:U,max:P}=e;if(D&&(!A||!Cr(D,A))||U&&A&&Cr(U,A))return w.shapeFlag&=-257,i=w,m;const I=w.key==null?b:w.key,B=o.get(I);return w.el&&(w=ut(w),m.shapeFlag&128&&(m.ssContent=w)),T=I,B?(w.el=B.el,w.component=B.component,w.transition&&Bt(w,w.transition),w.shapeFlag|=512,s.delete(I),s.add(I)):(s.add(I),P&&s.size>parseInt(P,10)&&v(s.values().next().value)),w.shapeFlag|=256,i=w,Do(m.type)?m:w}}},Ip=Np;function Cr(e,t){return Y(e)?e.some(n=>Cr(n,t)):de(e)?e.split(",").includes(t):Id(e)?(e.lastIndex=0,e.test(t)):!1}function Yi(e,t){au(e,"a",t)}function Qi(e,t){au(e,"da",t)}function au(e,t,n=Oe){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ds(t,r,n),n){let o=n.parent;for(;o&&o.parent;)mr(o.parent.vnode)&&Lp(r,t,n,o),o=o.parent}}function Lp(e,t,n,r){const o=ds(t,e,r,!0);ps(()=>{ki(r[t],o)},n)}function ks(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function uo(e){return e.shapeFlag&128?e.ssContent:e}function ds(e,t,n=Oe,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{Kt();const a=Rn(n),l=ct(t,n,e,i);return a(),Wt(),l});return r?o.unshift(s):o.push(s),s}else{const o=Dt(as[e].replace(/ hook$/,""));$(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Gt=e=>(t,n=Oe)=>{(!or||e==="sp")&&ds(e,(...r)=>t(...r),n)},Xi=Gt("bm"),gr=Gt("m"),lu=Gt("bu"),hs=Gt("u"),eo=Gt("bum"),ps=Gt("um"),cu=Gt("sp"),uu=Gt("rtg"),fu=Gt("rtc");function du(e,t=Oe){ds("ec",e,t)}const ko="components",jp="directives";function Zi(e,t){return ta(ko,e,!0,t)||e}const ea=Symbol.for("v-ndc");function Dp(e){return de(e)?ta(ko,e,!1)||e:e||ea}function Hp(e){return ta(jp,e)}function ta(e,t,n=!0,r=!1){const o=xe||Oe;if(o){const s=o.type;if(e===ko){const a=qr(s,!1);if(a&&(a===t||a===Pe(t)||a===ln(Pe(t))))return s}const i=Ua(o[e]||s[e],t)||Ua(o.appContext[e],t);if(!i&&r)return s;if(n&&!i){const a=e===ko?`
|
|
30
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";$(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return i}else $(`resolve${ln(e.slice(0,-1))} can only be used in render() or setup().`)}function Ua(e,t){return e&&(e[t]||e[Pe(t)]||e[ln(Pe(t))])}function Fp(e,t,n,r){let o;const s=n&&n[r],i=Y(e);if(i||de(e)){const a=i&&on(e);let l=!1;a&&(l=!Ve(e),e=os(e)),o=new Array(e.length);for(let f=0,u=e.length;f<u;f++)o[f]=t(l?je(e[f]):e[f],f,void 0,s&&s[f])}else if(typeof e=="number"){Number.isInteger(e)||$(`The v-for range expect an integer value but got ${e}.`),o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(le(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,f=a.length;l<f;l++){const u=a[l];o[l]=t(e[u],u,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function Vp(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Y(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function Up(e,t,n={},r,o){if(xe.ce||xe.parent&&sn(xe.parent)&&xe.parent.ce)return t!=="default"&&(n.name=t),un(),Ho(Ae,null,[ye("slot",n,r&&r())],64);let s=e[t];s&&s.length>1&&($("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),s=()=>[]),s&&s._c&&(s._d=!1),un();const i=s&&na(s(n)),a=n.key||i&&i.key,l=Ho(Ae,{key:(a&&!bt(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function na(e){return e.some(t=>Pt(t)?!(t.type===we||t.type===Ae&&!na(t.children)):!0)?e:null}function Bp(e,t){const n={};if(!le(e))return $("v-on with no argument expects an object value."),n;for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Dt(r)]=e[r];return n}const ni=e=>e?qu(e)?no(e):ni(e.parent):null,Cn=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>yt(e.props),$attrs:e=>yt(e.attrs),$slots:e=>yt(e.slots),$refs:e=>yt(e.refs),$parent:e=>ni(e.parent),$root:e=>ni(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>oa(e),$forceUpdate:e=>e.f||(e.f=()=>{ls(e.update)}),$nextTick:e=>e.n||(e.n=jn.bind(e.proxy)),$watch:e=>Rm.bind(e)}),ra=e=>e==="_"||e==="$",Ms=(e,t)=>e!==ae&&!e.__isScriptSetup&&ue(e,t),$r={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;if(t==="__isVue")return!0;let f;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Ms(r,t))return i[t]=1,r[t];if(o!==ae&&ue(o,t))return i[t]=2,o[t];if((f=e.propsOptions[0])&&ue(f,t))return i[t]=3,s[t];if(n!==ae&&ue(n,t))return i[t]=4,n[t];ri&&(i[t]=0)}}const u=Cn[t];let c,d;if(u)return t==="$attrs"?(Re(e.attrs,"get",""),jo()):t==="$slots"&&Re(e,"get",t),u(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==ae&&ue(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,ue(d,t))return d[t];xe&&(!de(t)||t.indexOf("__v")!==0)&&(o!==ae&&ra(t[0])&&ue(o,t)?$(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===xe&&$(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Ms(o,t)?(o[t]=n,!0):o.__isScriptSetup&&ue(o,t)?($(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):r!==ae&&ue(r,t)?(r[t]=n,!0):ue(e.props,t)?($(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?($(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(s,t,{enumerable:!0,configurable:!0,value:n}):s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==ae&&ue(e,i)||Ms(t,i)||(a=s[0])&&ue(a,i)||ue(r,i)||ue(Cn,i)||ue(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};$r.ownKeys=e=>($("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e));const Kp=fe({},$r,{get(e,t){if(t!==Symbol.unscopables)return $r.get(e,t,e)},has(e,t){const n=t[0]!=="_"&&!Fd(t);return!n&&$r.has(e,t)&&$(`Property ${JSON.stringify(t)} should not start with _ which is a reserved prefix for Vue internals.`),n}});function Wp(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(Cn).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>Cn[n](e),set:He})}),t}function Gp(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(r=>{Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e.props[r],set:He})})}function qp(e){const{ctx:t,setupState:n}=e;Object.keys(re(n)).forEach(r=>{if(!n.__isScriptSetup){if(ra(r[0])){$(`setup() return property ${JSON.stringify(r)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n[r],set:He})}})}const Dn=e=>$(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function zp(){return Dn("defineProps"),null}function Jp(){return Dn("defineEmits"),null}function Yp(e){Dn("defineExpose")}function Qp(e){Dn("defineOptions")}function Xp(){return Dn("defineSlots"),null}function Zp(){Dn("defineModel")}function em(e,t){return Dn("withDefaults"),null}function tm(){return hu().slots}function nm(){return hu().attrs}function hu(){const e=Me();return e||$("useContext() called without active instance."),e.setupContext||(e.setupContext=Yu(e))}function Kr(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function rm(e,t){const n=Kr(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Y(o)||Z(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null?o=n[r]={default:t[r]}:$(`props default key "${r}" has no corresponding declaration.`),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function om(e,t){return!e||!t?e||t:Y(e)&&Y(t)?e.concat(t):fe({},Kr(e),Kr(t))}function sm(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function im(e){const t=Me();t||$("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return di(),Xo(n)&&(n=n.catch(r=>{throw Rn(t),r})),[n,()=>Rn(t)]}function am(){const e=Object.create(null);return(t,n)=>{e[n]?$(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let ri=!0;function lm(e){const t=oa(e),n=e.proxy,r=e.ctx;ri=!1,t.beforeCreate&&Ba(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:f,created:u,beforeMount:c,mounted:d,beforeUpdate:h,updated:g,activated:v,deactivated:T,beforeDestroy:C,beforeUnmount:S,destroyed:m,unmounted:w,render:b,renderTracked:A,renderTriggered:D,errorCaptured:U,serverPrefetch:P,expose:I,inheritAttrs:B,components:L,directives:J,filters:_}=t,O=am();{const[W]=e.propsOptions;if(W)for(const H in W)O("Props",H)}if(f&&cm(f,r,O),i)for(const W in i){const H=i[W];Z(H)?(Object.defineProperty(r,W,{value:H.bind(n),configurable:!0,enumerable:!0,writable:!0}),O("Methods",W)):$(`Method "${W}" has type "${typeof H}" in the component definition. Did you reference the function correctly?`)}if(o){Z(o)||$("The data option must be a function. Plain object usage is no longer supported.");const W=o.call(n,n);if(Xo(W)&&$("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!le(W))$("data() should return an object.");else{e.data=In(W);for(const H in W)O("Data",H),ra(H[0])||Object.defineProperty(r,H,{configurable:!0,enumerable:!0,get:()=>W[H],set:He})}}if(ri=!0,s)for(const W in s){const H=s[W],X=Z(H)?H.bind(n,n):Z(H.get)?H.get.bind(n,n):He;X===He&&$(`Computed property "${W}" has no getter.`);const ve=!Z(H)&&Z(H.set)?H.set.bind(n):()=>{$(`Write operation failed: computed property "${W}" is readonly.`)},be=Qe({get:X,set:ve});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>be.value,set:Ee=>be.value=Ee}),O("Computed",W)}if(a)for(const W in a)pu(a[W],r,n,W);if(l){const W=Z(l)?l.call(n):l;Reflect.ownKeys(W).forEach(H=>{Rr(H,W[H])})}u&&Ba(u,e,"c");function k(W,H){Y(H)?H.forEach(X=>W(X.bind(n))):H&&W(H.bind(n))}if(k(Xi,c),k(gr,d),k(lu,h),k(hs,g),k(Yi,v),k(Qi,T),k(du,U),k(fu,A),k(uu,D),k(eo,S),k(ps,w),k(cu,P),Y(I))if(I.length){const W=e.exposed||(e.exposed={});I.forEach(H=>{Object.defineProperty(W,H,{get:()=>n[H],set:X=>n[H]=X})})}else e.exposed||(e.exposed={});b&&e.render===He&&(e.render=b),B!=null&&(e.inheritAttrs=B),L&&(e.components=L),J&&(e.directives=J),P&&Ji(e)}function cm(e,t,n=He){Y(e)&&(e=oi(e));for(const r in e){const o=e[r];let s;le(o)?"default"in o?s=it(o.from||r,o.default,!0):s=it(o.from||r):s=it(o),Se(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s,n("Inject",r)}}function Ba(e,t,n){ct(Y(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function pu(e,t,n,r){let o=r.includes(".")?Nu(n,r):()=>n[r];if(de(e)){const s=t[e];Z(s)?Je(o,s):$(`Invalid watch handler specified by key "${e}"`,s)}else if(Z(e))Je(o,e.bind(n));else if(le(e))if(Y(e))e.forEach(s=>pu(s,t,n,r));else{const s=Z(e.handler)?e.handler.bind(n):t[e.handler];Z(s)?Je(o,s,e):$(`Invalid watch handler specified by key "${e.handler}"`,s)}else $(`Invalid watch option: "${r}"`,e)}function oa(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(f=>Mo(l,f,i,!0)),Mo(l,t,i)),le(t)&&s.set(t,l),l}function Mo(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Mo(e,s,n,!0),o&&o.forEach(i=>Mo(e,i,n,!0));for(const i in t)if(r&&i==="expose")$('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=um[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const um={data:Ka,props:Wa,emits:Wa,methods:Or,computed:Or,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:Or,directives:Or,watch:dm,provide:Ka,inject:fm};function Ka(e,t){return t?e?function(){return fe(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function fm(e,t){return Or(oi(e),oi(t))}function oi(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ke(e,t){return e?[...new Set([].concat(e,t))]:t}function Or(e,t){return e?fe(Object.create(null),e,t):t}function Wa(e,t){return e?Y(e)&&Y(t)?[...new Set([...e,...t])]:fe(Object.create(null),Kr(e),Kr(t??{})):t}function dm(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const r in t)n[r]=Ke(e[r],t[r]);return n}function mu(){return{app:null,config:{isNativeTag:Md,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let hm=0;function pm(e,t){return function(r,o=null){Z(r)||(r=fe({},r)),o!=null&&!le(o)&&($("root props passed to app.mount() must be an object."),o=null);const s=mu(),i=new WeakSet,a=[];let l=!1;const f=s.app={_uid:hm++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Vo,get config(){return s.config},set config(u){$("app.config cannot be replaced. Modify individual options instead.")},use(u,...c){return i.has(u)?$("Plugin has already been applied to target app."):u&&Z(u.install)?(i.add(u),u.install(f,...c)):Z(u)?(i.add(u),u(f,...c)):$('A plugin must either be a function or an object with an "install" function.'),f},mixin(u){return s.mixins.includes(u)?$("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):s.mixins.push(u),f},component(u,c){return hi(u,s.config),c?(s.components[u]&&$(`Component "${u}" has already been registered in target app.`),s.components[u]=c,f):s.components[u]},directive(u,c){return Yc(u),c?(s.directives[u]&&$(`Directive "${u}" has already been registered in target app.`),s.directives[u]=c,f):s.directives[u]},mount(u,c,d){if(l)$("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{u.__vue_app__&&$("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=f._ceVNode||ye(r,o);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),s.reload=()=>{e(ut(h),u,d)},c&&t?t(h,u):e(h,u,d),l=!0,f._container=u,u.__vue_app__=f,f._instance=h.component,tp(f,Vo),no(h.component)}},onUnmount(u){typeof u!="function"&&$(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),a.push(u)},unmount(){l?(ct(a,f._instance,16),e(null,f._container),f._instance=null,np(f),delete f._container.__vue_app__):$("Cannot unmount an app that is not mounted.")},provide(u,c){return u in s.provides&&$(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),s.provides[u]=c,f},runWithContext(u){const c=On;On=f;try{return u()}finally{On=c}}};return f}}let On=null;function Rr(e,t){if(!Oe)$("provide() can only be used inside setup().");else{let n=Oe.provides;const r=Oe.parent&&Oe.parent.provides;r===n&&(n=Oe.provides=Object.create(r)),n[e]=t}}function it(e,t,n=!1){const r=Oe||xe;if(r||On){const o=On?On._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Z(t)?t.call(r&&r.proxy):t;$(`injection "${String(e)}" not found.`)}else $("inject() can only be used inside setup() or functional components.")}function mm(){return!!(Oe||xe||On)}const gu={},yu=()=>Object.create(gu),vu=e=>Object.getPrototypeOf(e)===gu;function gm(e,t,n,r=!1){const o={},s=yu();e.propsDefaults=Object.create(null),_u(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);wu(t||{},o,e),n?e.props=r?o:Fi(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ym(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function vm(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=re(o),[l]=e.propsOptions;let f=!1;if(!ym(e)&&(r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let c=0;c<u.length;c++){let d=u[c];if(ms(e.emitsOptions,d))continue;const h=t[d];if(l)if(ue(s,d))h!==s[d]&&(s[d]=h,f=!0);else{const g=Pe(d);o[g]=si(l,a,g,h,e,!1)}else h!==s[d]&&(s[d]=h,f=!0)}}}else{_u(e,t,o,s)&&(f=!0);let u;for(const c in a)(!t||!ue(t,c)&&((u=De(c))===c||!ue(t,u)))&&(l?n&&(n[c]!==void 0||n[u]!==void 0)&&(o[c]=si(l,a,c,void 0,e,!0)):delete o[c]);if(s!==a)for(const c in s)(!t||!ue(t,c))&&(delete s[c],f=!0)}f&&Ct(e.attrs,"set",""),wu(t||{},o,e)}function _u(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Yn(l))continue;const f=t[l];let u;o&&ue(o,u=Pe(l))?!s||!s.includes(u)?n[u]=f:(a||(a={}))[u]=f:ms(e.emitsOptions,l)||(!(l in r)||f!==r[l])&&(r[l]=f,i=!0)}if(s){const l=re(n),f=a||ae;for(let u=0;u<s.length;u++){const c=s[u];n[c]=si(o,l,c,f[c],e,!ue(f,c))}}return i}function si(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=ue(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Z(l)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const u=Rn(o);r=f[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===De(n))&&(r=!0))}return r}const _m=new WeakMap;function bu(e,t,n=!1){const r=n?_m:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!Z(e)){const u=c=>{l=!0;const[d,h]=bu(c,t,!0);fe(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return le(e)&&r.set(e,Jn),Jn;if(Y(s))for(let u=0;u<s.length;u++){de(s[u])||$("props must be strings when using array syntax.",s[u]);const c=Pe(s[u]);Ga(c)&&(i[c]=ae)}else if(s){le(s)||$("invalid props options",s);for(const u in s){const c=Pe(u);if(Ga(c)){const d=s[u],h=i[c]=Y(d)||Z(d)?{type:d}:fe({},d),g=h.type;let v=!1,T=!0;if(Y(g))for(let C=0;C<g.length;++C){const S=g[C],m=Z(S)&&S.name;if(m==="Boolean"){v=!0;break}else m==="String"&&(T=!1)}else v=Z(g)&&g.name==="Boolean";h[0]=v,h[1]=T,(v||ue(h,"default"))&&a.push(c)}}}const f=[i,a];return le(e)&&r.set(e,f),f}function Ga(e){return e[0]!=="$"&&!Yn(e)?!0:($(`Invalid prop name: "${e}" is a reserved property.`),!1)}function bm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function wu(e,t,n){const r=re(t),o=n.propsOptions[0],s=Object.keys(e).map(i=>Pe(i));for(const i in o){let a=o[i];a!=null&&wm(i,r[i],a,yt(r),!s.includes(i))}}function wm(e,t,n,r,o){const{type:s,required:i,validator:a,skipCheck:l}=n;if(i&&o){$('Missing required prop: "'+e+'"');return}if(!(t==null&&!i)){if(s!=null&&s!==!0&&!l){let f=!1;const u=Y(s)?s:[s],c=[];for(let d=0;d<u.length&&!f;d++){const{valid:h,expectedType:g}=Em(t,u[d]);c.push(g||""),f=h}if(!f){$(Tm(e,t,c));return}}a&&!a(t,r)&&$('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Sm=rt("String,Number,Boolean,Function,Symbol,BigInt");function Em(e,t){let n;const r=bm(t);if(r==="null")n=e===null;else if(Sm(r)){const o=typeof e;n=o===r.toLowerCase(),!n&&o==="object"&&(n=e instanceof t)}else r==="Object"?n=le(e):r==="Array"?n=Y(e):n=e instanceof t;return{valid:n,expectedType:r}}function Tm(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let r=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(ln).join(" | ")}`;const o=n[0],s=Mi(t),i=qa(t,o),a=qa(t,s);return n.length===1&&za(o)&&!xm(o,s)&&(r+=` with value ${i}`),r+=`, got ${s} `,za(s)&&(r+=`with value ${a}.`),r}function qa(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function za(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function xm(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Su=e=>e[0]==="_"||e==="$stable",sa=e=>Y(e)?e.map(ze):[ze(e)],Cm=(e,t,n)=>{if(t._n)return t;const r=us((...o)=>(Oe&&(!n||n.root===Oe.root)&&$(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),sa(t(...o))),n);return r._c=!1,r},Eu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Su(o))continue;const s=e[o];if(Z(s))t[o]=Cm(o,s,r);else if(s!=null){$(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const i=sa(s);t[o]=()=>i}}},Tu=(e,t)=>{mr(e.vnode)||$("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=sa(t);e.slots.default=()=>n},ii=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Om=(e,t,n)=>{const r=e.slots=yu();if(e.vnode.shapeFlag&32){const o=t._;o?(ii(r,t,n),n&&tr(r,"_",o,!0)):Eu(t,r)}else t&&Tu(e,t)},Am=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ae;if(r.shapeFlag&32){const a=t._;a?vt?(ii(o,t,n),Ct(e,"set","$slots")):n&&a===1?s=!1:ii(o,t,n):(s=!t.$stable,Eu(t,o)),i=t}else t&&(Tu(e,t),i={default:1});if(s)for(const a in o)!Su(a)&&i[a]==null&&delete o[a]};let _r,rn;function Mt(e,t){e.appContext.config.performance&&No()&&rn.mark(`vue-${t}-${e.uid}`),sp(e,t,No()?rn.now():Date.now())}function Nt(e,t){if(e.appContext.config.performance&&No()){const n=`vue-${t}-${e.uid}`,r=n+":end";rn.mark(r),rn.measure(`<${_s(e,e.type)}> ${t}`,n,r),rn.clearMarks(n),rn.clearMarks(r)}ip(e,t,No()?rn.now():Date.now())}function No(){return _r!==void 0||(typeof window<"u"&&window.performance?(_r=!0,rn=window.performance):_r=!1),_r}function Pm(){const e=[];if(e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
31
|
-
|
|
32
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const $e=Hu;function xu(e){return Ou(e)}function Cu(e){return Ou(e,wp)}function Ou(e,t){Pm();const n=Qr();n.__VUE__=!0,Wi(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:f,setElementText:u,parentNode:c,nextSibling:d,setScopeId:h=He,insertStaticContent:g}=e,v=(p,y,E,R=null,M=null,N=null,K=void 0,V=null,F=vt?!1:!!y.dynamicChildren)=>{if(p===y)return;p&&!gt(p,y)&&(R=z(p),ke(p,M,N,!0),p=null),y.patchFlag===-2&&(F=!1,y.dynamicChildren=null);const{type:j,ref:te,shapeFlag:q}=y;switch(j){case Ot:T(p,y,E,R);break;case we:C(p,y,E,R);break;case an:p==null?S(y,E,R,K):m(p,y,E,K);break;case Ae:J(p,y,E,R,M,N,K,V,F);break;default:q&1?A(p,y,E,R,M,N,K,V,F):q&6?_(p,y,E,R,M,N,K,V,F):q&64||q&128?j.process(p,y,E,R,M,N,K,V,F,se):$("Invalid VNode type:",j,`(${typeof j})`)}te!=null&&M&&Ro(te,p&&p.ref,N,y||p,!y)},T=(p,y,E,R)=>{if(p==null)r(y.el=a(y.children),E,R);else{const M=y.el=p.el;y.children!==p.children&&f(M,y.children)}},C=(p,y,E,R)=>{p==null?r(y.el=l(y.children||""),E,R):y.el=p.el},S=(p,y,E,R)=>{[p.el,p.anchor]=g(p.children,y,E,R,p.el,p.anchor)},m=(p,y,E,R)=>{if(y.children!==p.children){const M=d(p.anchor);b(p),[y.el,y.anchor]=g(y.children,E,M,R)}else y.el=p.el,y.anchor=p.anchor},w=({el:p,anchor:y},E,R)=>{let M;for(;p&&p!==y;)M=d(p),r(p,E,R),p=M;r(y,E,R)},b=({el:p,anchor:y})=>{let E;for(;p&&p!==y;)E=d(p),o(p),p=E;o(y)},A=(p,y,E,R,M,N,K,V,F)=>{y.type==="svg"?K="svg":y.type==="math"&&(K="mathml"),p==null?D(y,E,R,M,N,K,V,F):I(p,y,M,N,K,V,F)},D=(p,y,E,R,M,N,K,V)=>{let F,j;const{props:te,shapeFlag:q,transition:ee,dirs:ne}=p;if(F=p.el=i(p.type,N,te&&te.is,te),q&8?u(F,p.children):q&16&&P(p.children,F,null,R,M,Ns(p,N),K,V),ne&&xt(p,null,R,"created"),U(F,p,p.scopeId,K,R),te){for(const ge in te)ge!=="value"&&!Yn(ge)&&s(F,ge,null,te[ge],N,R);"value"in te&&s(F,"value",null,te.value,N),(j=te.onVnodeBeforeMount)&&Ye(j,R,p)}tr(F,"__vnode",p,!0),tr(F,"__vueParentComponent",R,!0),ne&&xt(p,null,R,"beforeMount");const ce=Au(M,ee);ce&&ee.beforeEnter(F),r(F,y,E),((j=te&&te.onVnodeMounted)||ce||ne)&&$e(()=>{j&&Ye(j,R,p),ce&&ee.enter(F),ne&&xt(p,null,R,"mounted")},M)},U=(p,y,E,R,M)=>{if(E&&h(p,E),R)for(let N=0;N<R.length;N++)h(p,R[N]);if(M){let N=M.subTree;if(N.patchFlag>0&&N.patchFlag&2048&&(N=gs(N.children)||N),y===N||Do(N.type)&&(N.ssContent===y||N.ssFallback===y)){const K=M.vnode;U(p,K,K.scopeId,K.slotScopeIds,M.parent)}}},P=(p,y,E,R,M,N,K,V,F=0)=>{for(let j=F;j<p.length;j++){const te=p[j]=V?en(p[j]):ze(p[j]);v(null,te,y,E,R,M,N,K,V)}},I=(p,y,E,R,M,N,K)=>{const V=y.el=p.el;V.__vnode=y;let{patchFlag:F,dynamicChildren:j,dirs:te}=y;F|=p.patchFlag&16;const q=p.props||ae,ee=y.props||ae;let ne;if(E&&yn(E,!1),(ne=ee.onVnodeBeforeUpdate)&&Ye(ne,E,y,p),te&&xt(y,p,E,"beforeUpdate"),E&&yn(E,!0),vt&&(F=0,K=!1,j=null),(q.innerHTML&&ee.innerHTML==null||q.textContent&&ee.textContent==null)&&u(V,""),j?(B(p.dynamicChildren,j,V,E,R,Ns(y,M),N),Io(p,y)):K||X(p,y,V,null,E,R,Ns(y,M),N,!1),F>0){if(F&16)L(V,q,ee,E,M);else if(F&2&&q.class!==ee.class&&s(V,"class",null,ee.class,M),F&4&&s(V,"style",q.style,ee.style,M),F&8){const ce=y.dynamicProps;for(let ge=0;ge<ce.length;ge++){const me=ce[ge],et=q[me],Ne=ee[me];(Ne!==et||me==="value")&&s(V,me,et,Ne,M,E)}}F&1&&p.children!==y.children&&u(V,y.children)}else!K&&j==null&&L(V,q,ee,E,M);((ne=ee.onVnodeUpdated)||te)&&$e(()=>{ne&&Ye(ne,E,y,p),te&&xt(y,p,E,"updated")},R)},B=(p,y,E,R,M,N,K)=>{for(let V=0;V<y.length;V++){const F=p[V],j=y[V],te=F.el&&(F.type===Ae||!gt(F,j)||F.shapeFlag&70)?c(F.el):E;v(F,j,te,null,R,M,N,K,!0)}},L=(p,y,E,R,M)=>{if(y!==E){if(y!==ae)for(const N in y)!Yn(N)&&!(N in E)&&s(p,N,y[N],null,M,R);for(const N in E){if(Yn(N))continue;const K=E[N],V=y[N];K!==V&&N!=="value"&&s(p,N,V,K,M,R)}"value"in E&&s(p,"value",y.value,E.value,M)}},J=(p,y,E,R,M,N,K,V,F)=>{const j=y.el=p?p.el:a(""),te=y.anchor=p?p.anchor:a("");let{patchFlag:q,dynamicChildren:ee,slotScopeIds:ne}=y;(vt||q&2048)&&(q=0,F=!1,ee=null),ne&&(V=V?V.concat(ne):ne),p==null?(r(j,E,R),r(te,E,R),P(y.children||[],E,te,M,N,K,V,F)):q>0&&q&64&&ee&&p.dynamicChildren?(B(p.dynamicChildren,ee,E,M,N,K,V),Io(p,y)):X(p,y,E,te,M,N,K,V,F)},_=(p,y,E,R,M,N,K,V,F)=>{y.slotScopeIds=V,p==null?y.shapeFlag&512?M.ctx.activate(y,E,R,K,F):O(y,E,R,M,N,K,F):k(p,y,F)},O=(p,y,E,R,M,N,K)=>{const V=p.component=Gu(p,R,M);if(V.type.__hmrId&&Qh(V),Qn(p),Mt(V,"mount"),mr(p)&&(V.ctx.renderer=se),Mt(V,"init"),zu(V,!1,K),Nt(V,"init"),V.asyncDep){if(vt&&(p.el=null),M&&M.registerDep(V,W,K),!p.el){const F=V.subTree=ye(we);C(null,F,y,E)}}else W(V,p,y,E,M,N,K);Xn(),Nt(V,"mount")},k=(p,y,E)=>{const R=y.component=p.component;if(Lm(p,y,E))if(R.asyncDep&&!R.asyncResolved){Qn(y),H(R,y,E),Xn();return}else R.next=y,R.update();else y.el=p.el,R.vnode=y},W=(p,y,E,R,M,N,K)=>{const V=()=>{if(p.isMounted){let{next:q,bu:ee,u:ne,parent:ce,vnode:ge}=p;{const tt=Pu(p);if(tt){q&&(q.el=ge.el,H(p,q,K)),tt.asyncDep.then(()=>{p.isUnmounted||V()});return}}let me=q,et;Qn(q||p.vnode),yn(p,!1),q?(q.el=ge.el,H(p,q,K)):q=ge,ee&&nn(ee),(et=q.props&&q.props.onVnodeBeforeUpdate)&&Ye(et,ce,q,ge),yn(p,!0),Mt(p,"render");const Ne=vo(p);Nt(p,"render");const dt=p.subTree;p.subTree=Ne,Mt(p,"patch"),v(dt,Ne,c(dt.el),z(dt),p,M,N),Nt(p,"patch"),q.el=Ne.el,me===null&&aa(p,Ne.el),ne&&$e(ne,M),(et=q.props&&q.props.onVnodeUpdated)&&$e(()=>Ye(et,ce,q,ge),M),zc(p),Xn()}else{let q;const{el:ee,props:ne}=y,{bm:ce,m:ge,parent:me,root:et,type:Ne}=p,dt=sn(y);if(yn(p,!1),ce&&nn(ce),!dt&&(q=ne&&ne.onVnodeBeforeMount)&&Ye(q,me,y),yn(p,!0),ee&&oe){const tt=()=>{Mt(p,"render"),p.subTree=vo(p),Nt(p,"render"),Mt(p,"hydrate"),oe(ee,p.subTree,p,M,null),Nt(p,"hydrate")};dt&&Ne.__asyncHydrate?Ne.__asyncHydrate(ee,p,tt):tt()}else{et.ce&&et.ce._injectChildStyle(Ne),Mt(p,"render");const tt=p.subTree=vo(p);Nt(p,"render"),Mt(p,"patch"),v(null,tt,E,R,p,M,N),Nt(p,"patch"),y.el=tt.el}if(ge&&$e(ge,M),!dt&&(q=ne&&ne.onVnodeMounted)){const tt=y;$e(()=>Ye(q,me,tt),M)}(y.shapeFlag&256||me&&sn(me.vnode)&&me.vnode.shapeFlag&256)&&p.a&&$e(p.a,M),p.isMounted=!0,ei(p),y=E=R=null}};p.scope.on();const F=p.effect=new Dr(V);p.scope.off();const j=p.update=F.run.bind(F),te=p.job=F.runIfDirty.bind(F);te.i=p,te.id=p.uid,F.scheduler=()=>ls(te),yn(p,!0),F.onTrack=p.rtc?q=>nn(p.rtc,q):void 0,F.onTrigger=p.rtg?q=>nn(p.rtg,q):void 0,j()},H=(p,y,E)=>{y.component=p;const R=p.vnode.props;p.vnode=y,p.next=null,vm(p,y.props,R,E),Am(p,y.children,E),Kt(),Ma(p),Wt()},X=(p,y,E,R,M,N,K,V,F=!1)=>{const j=p&&p.children,te=p?p.shapeFlag:0,q=y.children,{patchFlag:ee,shapeFlag:ne}=y;if(ee>0){if(ee&128){be(j,q,E,R,M,N,K,V,F);return}else if(ee&256){ve(j,q,E,R,M,N,K,V,F);return}}ne&8?(te&16&&x(j,M,N),q!==j&&u(E,q)):te&16?ne&16?be(j,q,E,R,M,N,K,V,F):x(j,M,N,!0):(te&8&&u(E,""),ne&16&&P(q,E,R,M,N,K,V,F))},ve=(p,y,E,R,M,N,K,V,F)=>{p=p||Jn,y=y||Jn;const j=p.length,te=y.length,q=Math.min(j,te);let ee;for(ee=0;ee<q;ee++){const ne=y[ee]=F?en(y[ee]):ze(y[ee]);v(p[ee],ne,E,null,M,N,K,V,F)}j>te?x(p,M,N,!0,!1,q):P(y,E,R,M,N,K,V,F,q)},be=(p,y,E,R,M,N,K,V,F)=>{let j=0;const te=y.length;let q=p.length-1,ee=te-1;for(;j<=q&&j<=ee;){const ne=p[j],ce=y[j]=F?en(y[j]):ze(y[j]);if(gt(ne,ce))v(ne,ce,E,null,M,N,K,V,F);else break;j++}for(;j<=q&&j<=ee;){const ne=p[q],ce=y[ee]=F?en(y[ee]):ze(y[ee]);if(gt(ne,ce))v(ne,ce,E,null,M,N,K,V,F);else break;q--,ee--}if(j>q){if(j<=ee){const ne=ee+1,ce=ne<te?y[ne].el:R;for(;j<=ee;)v(null,y[j]=F?en(y[j]):ze(y[j]),E,ce,M,N,K,V,F),j++}}else if(j>ee)for(;j<=q;)ke(p[j],M,N,!0),j++;else{const ne=j,ce=j,ge=new Map;for(j=ce;j<=ee;j++){const Be=y[j]=F?en(y[j]):ze(y[j]);Be.key!=null&&(ge.has(Be.key)&&$("Duplicate keys found during update:",JSON.stringify(Be.key),"Make sure keys are unique."),ge.set(Be.key,j))}let me,et=0;const Ne=ee-ce+1;let dt=!1,tt=0;const yr=new Array(Ne);for(j=0;j<Ne;j++)yr[j]=0;for(j=ne;j<=q;j++){const Be=p[j];if(et>=Ne){ke(Be,M,N,!0);continue}let Et;if(Be.key!=null)Et=ge.get(Be.key);else for(me=ce;me<=ee;me++)if(yr[me-ce]===0&>(Be,y[me])){Et=me;break}Et===void 0?ke(Be,M,N,!0):(yr[Et-ce]=j+1,Et>=tt?tt=Et:dt=!0,v(Be,y[Et],E,null,M,N,K,V,F),et++)}const xa=dt?$m(yr):Jn;for(me=xa.length-1,j=Ne-1;j>=0;j--){const Be=ce+j,Et=y[Be],Ca=Be+1<te?y[Be+1].el:R;yr[j]===0?v(null,Et,E,Ca,M,N,K,V,F):dt&&(me<0||j!==xa[me]?Ee(Et,E,Ca,2):me--)}}},Ee=(p,y,E,R,M=null)=>{const{el:N,type:K,transition:V,children:F,shapeFlag:j}=p;if(j&6){Ee(p.component.subTree,y,E,R);return}if(j&128){p.suspense.move(y,E,R);return}if(j&64){K.move(p,y,E,se);return}if(K===Ae){r(N,y,E);for(let q=0;q<F.length;q++)Ee(F[q],y,E,R);r(p.anchor,y,E);return}if(K===an){w(p,y,E);return}if(R!==2&&j&1&&V)if(R===0)V.beforeEnter(N),r(N,y,E),$e(()=>V.enter(N),M);else{const{leave:q,delayLeave:ee,afterLeave:ne}=V,ce=()=>r(N,y,E),ge=()=>{q(N,()=>{ce(),ne&&ne()})};ee?ee(N,ce,ge):ge()}else r(N,y,E)},ke=(p,y,E,R=!1,M=!1)=>{const{type:N,props:K,ref:V,children:F,dynamicChildren:j,shapeFlag:te,patchFlag:q,dirs:ee,cacheIndex:ne}=p;if(q===-2&&(M=!1),V!=null&&Ro(V,null,E,p,!0),ne!=null&&(y.renderCache[ne]=void 0),te&256){y.ctx.deactivate(p);return}const ce=te&1&&ee,ge=!sn(p);let me;if(ge&&(me=K&&K.onVnodeBeforeUnmount)&&Ye(me,y,p),te&6)ft(p.component,E,R);else{if(te&128){p.suspense.unmount(E,R);return}ce&&xt(p,null,y,"beforeUnmount"),te&64?p.type.remove(p,y,E,se,R):j&&!j.hasOnce&&(N!==Ae||q>0&&q&64)?x(j,y,E,!1,!0):(N===Ae&&q&384||!M&&te&16)&&x(F,y,E),R&&Ue(p)}(ge&&(me=K&&K.onVnodeUnmounted)||ce)&&$e(()=>{me&&Ye(me,y,p),ce&&xt(p,null,y,"unmounted")},E)},Ue=p=>{const{type:y,el:E,anchor:R,transition:M}=p;if(y===Ae){p.patchFlag>0&&p.patchFlag&2048&&M&&!M.persisted?p.children.forEach(K=>{K.type===we?o(K.el):Ue(K)}):mn(E,R);return}if(y===an){b(p);return}const N=()=>{o(E),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(p.shapeFlag&1&&M&&!M.persisted){const{leave:K,delayLeave:V}=M,F=()=>K(E,N);V?V(p.el,N,F):F()}else N()},mn=(p,y)=>{let E;for(;p!==y;)E=d(p),o(p),p=E;o(y)},ft=(p,y,E)=>{p.type.__hmrId&&Xh(p);const{bum:R,scope:M,job:N,subTree:K,um:V,m:F,a:j}=p;Lo(F),Lo(j),R&&nn(R),M.stop(),N&&(N.flags|=8,ke(K,p,y,E)),V&&$e(V,y),$e(()=>{p.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve()),op(p)},x=(p,y,E,R=!1,M=!1,N=0)=>{for(let K=N;K<p.length;K++)ke(p[K],y,E,R,M)},z=p=>{if(p.shapeFlag&6)return z(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const y=d(p.anchor||p.el),E=y&&y[Qc];return E?d(E):y};let G=!1;const Q=(p,y,E)=>{p==null?y._vnode&&ke(y._vnode,null,null,!0):v(y._vnode||null,p,y,null,null,null,E),y._vnode=p,G||(G=!0,Ma(),Po(),G=!1)},se={p:v,um:ke,m:Ee,r:Ue,mt:O,mc:P,pc:X,pbc:B,n:z,o:e};let _e,oe;return t&&([_e,oe]=t(se)),{render:Q,hydrate:_e,createApp:pm(Q,_e)}}function Ns({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 yn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Au(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Io(e,t,n=!1){const r=e.children,o=t.children;if(Y(r)&&Y(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=en(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Io(i,a)),a.type===Ot&&(a.el=i.el),a.type===we&&!a.el&&(a.el=i.el)}}function $m(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<f?s=a+1:i=a;f<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Pu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pu(t)}function Lo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const $u=Symbol.for("v-scx"),Ru=()=>{{const e=it($u);return e||$("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function ia(e,t){return to(e,null,t)}function ku(e,t){return to(e,null,fe({},t,{flush:"post"}))}function Mu(e,t){return to(e,null,fe({},t,{flush:"sync"}))}function Je(e,t,n){return Z(t)||$("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),to(e,t,n)}function to(e,t,n=ae){const{immediate:r,deep:o,flush:s,once:i}=n;t||(r!==void 0&&$('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&$('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&$('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=fe({},n);a.onWarn=$;const l=t&&r||!t&&s!=="post";let f;if(or){if(s==="sync"){const h=Ru();f=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=He,h.resume=He,h.pause=He,h}}const u=Oe;a.call=(h,g,v)=>ct(h,u,g,v);let c=!1;s==="post"?a.scheduler=h=>{$e(h,u&&u.suspense)}:s!=="sync"&&(c=!0,a.scheduler=(h,g)=>{g?h():ls(h)}),a.augmentJob=h=>{t&&(h.flags|=4),c&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=Uh(e,t,a);return or&&(f?f.push(d):l&&d()),d}function Rm(e,t,n){const r=this.proxy,o=de(e)?e.includes(".")?Nu(r,e):()=>r[e]:e.bind(r,r);let s;Z(t)?s=t:(s=t.handler,n=t);const i=Rn(this),a=to(o,s.bind(r),n);return i(),a}function Nu(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function km(e,t,n=ae){const r=Me();if(!r)return $("useModel() called without active instance."),Xe();const o=Pe(t);if(!r.propsOptions[0][o])return $(`useModel() called with prop "${t}" which is not declared.`),Xe();const s=De(t),i=Iu(e,o),a=Fc((l,f)=>{let u,c=ae,d;return Mu(()=>{const h=e[o];Ge(u,h)&&(u=h,f())}),{get(){return l(),n.get?n.get(u):u},set(h){const g=n.set?n.set(h):h;if(!Ge(g,u)&&!(c!==ae&&Ge(h,c)))return;const v=r.vnode.props;v&&(t in v||o in v||s in v)&&(`onUpdate:${t}`in v||`onUpdate:${o}`in v||`onUpdate:${s}`in v)||(u=h,f()),r.emit(`update:${t}`,g),Ge(h,g)&&Ge(h,c)&&!Ge(g,d)&&f(),c=h,d=g}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||ae:a,done:!1}:{done:!0}}}},a}const Iu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pe(t)}Modifiers`]||e[`${De(t)}Modifiers`];function Mm(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;{const{emitsOptions:u,propsOptions:[c]}=e;if(u)if(!(t in u))(!c||!(Dt(Pe(t))in c))&&$(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Dt(Pe(t))}" prop.`);else{const d=u[t];Z(d)&&(d(...n)||$(`Invalid event arguments: event validation failed for event "${t}".`))}}let o=n;const s=t.startsWith("update:"),i=s&&Iu(r,t.slice(7));i&&(i.trim&&(o=n.map(u=>de(u)?u.trim():u)),i.number&&(o=n.map(To))),ap(e,t,o);{const u=t.toLowerCase();u!==t&&r[Dt(u)]&&$(`Event "${u}" is emitted in component ${_s(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${De(t)}" instead of "${t}".`)}let a,l=r[a=Dt(t)]||r[a=Dt(Pe(t))];!l&&s&&(l=r[a=Dt(De(t))]),l&&ct(l,e,6,o);const f=r[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ct(f,e,6,o)}}function Lu(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!Z(e)){const l=f=>{const u=Lu(f,t,!0);u&&(a=!0,fe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(le(e)&&r.set(e,null),null):(Y(s)?s.forEach(l=>i[l]=null):fe(i,s),le(e)&&r.set(e,i),i)}function ms(e,t){return!e||!fr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,De(t))||ue(e,t))}let ai=!1;function jo(){ai=!0}function vo(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:f,renderCache:u,props:c,data:d,setupState:h,ctx:g,inheritAttrs:v}=e,T=Br(e);let C,S;ai=!1;try{if(n.shapeFlag&4){const b=o||r,A=h.__isScriptSetup?new Proxy(b,{get(D,U,P){return $(`Property '${String(U)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(D,U,P)}}):b;C=ze(f.call(A,b,u,yt(c),h,d,g)),S=a}else{const b=t;a===c&&jo(),C=ze(b.length>1?b(yt(c),{get attrs(){return jo(),yt(a)},slots:i,emit:l}):b(yt(c),null)),S=t.props?a:Nm(a)}}catch(b){kr.length=0,hn(b,e,1),C=ye(we)}let m=C,w;if(C.patchFlag>0&&C.patchFlag&2048&&([m,w]=ju(C)),S&&v!==!1){const b=Object.keys(S),{shapeFlag:A}=m;if(b.length){if(A&7)s&&b.some(Eo)&&(S=Im(S,s)),m=ut(m,S,!1,!0);else if(!ai&&m.type!==we){const D=Object.keys(a),U=[],P=[];for(let I=0,B=D.length;I<B;I++){const L=D[I];fr(L)?Eo(L)||U.push(L[2].toLowerCase()+L.slice(3)):P.push(L)}P.length&&$(`Extraneous non-props attributes (${P.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),U.length&&$(`Extraneous non-emits event listeners (${U.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(Ja(m)||$("Runtime directive used on component with non-element root node. The directives will not function as intended."),m=ut(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(Ja(m)||$("Component inside <Transition> renders non-element root node that cannot be animated."),Bt(m,n.transition)),w?w(m):C=m,Br(T),C}const ju=e=>{const t=e.children,n=e.dynamicChildren,r=gs(t,!1);if(r){if(r.patchFlag>0&&r.patchFlag&2048)return ju(r)}else return[e,void 0];const o=t.indexOf(r),s=n?n.indexOf(r):-1,i=a=>{t[o]=a,n&&(s>-1?n[s]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[ze(r),i]};function gs(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Pt(o)){if(o.type!==we||o.children==="v-if"){if(n)return;if(n=o,t&&n.patchFlag>0&&n.patchFlag&2048)return gs(n.children)}}else return}return n}const Nm=e=>{let t;for(const n in e)(n==="class"||n==="style"||fr(n))&&((t||(t={}))[n]=e[n]);return t},Im=(e,t)=>{const n={};for(const r in e)(!Eo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n},Ja=e=>e.shapeFlag&7||e.type===we;function Lm(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,f=s.emitsOptions;if((o||a)&&vt||t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Ya(r,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let c=0;c<u.length;c++){const d=u[c];if(i[d]!==r[d]&&!ms(f,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Ya(r,i,f):!0:!!i;return!1}function Ya(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!ms(n,s))return!0}return!1}function aa({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Do=e=>e.__isSuspense;let li=0;const jm={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,f){if(e==null)Hm(t,n,r,o,s,i,a,l,f);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Fm(e,t,n,r,o,i,a,l,f)}},hydrate:Vm,normalize:Um},Dm=jm;function Wr(e,t){const n=e.props&&e.props[t];Z(n)&&n()}function Hm(e,t,n,r,o,s,i,a,l){const{p:f,o:{createElement:u}}=l,c=u("div"),d=e.suspense=Du(e,o,r,t,c,n,s,i,a,l);f(null,d.pendingBranch=e.ssContent,c,null,r,d,s,i),d.deps>0?(Wr(e,"onPending"),Wr(e,"onFallback"),f(null,e.ssFallback,t,n,r,null,s,i),er(d,e.ssFallback)):d.resolve(!1,!0)}function Fm(e,t,n,r,o,s,i,a,{p:l,um:f,o:{createElement:u}}){const c=t.suspense=e.suspense;c.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:g,pendingBranch:v,isInFallback:T,isHydrating:C}=c;if(v)c.pendingBranch=d,gt(d,v)?(l(v,d,c.hiddenContainer,null,o,c,s,i,a),c.deps<=0?c.resolve():T&&(C||(l(g,h,n,r,o,null,s,i,a),er(c,h)))):(c.pendingId=li++,C?(c.isHydrating=!1,c.activeBranch=v):f(v,o,c),c.deps=0,c.effects.length=0,c.hiddenContainer=u("div"),T?(l(null,d,c.hiddenContainer,null,o,c,s,i,a),c.deps<=0?c.resolve():(l(g,h,n,r,o,null,s,i,a),er(c,h))):g&>(d,g)?(l(g,d,n,r,o,c,s,i,a),c.resolve(!0)):(l(null,d,c.hiddenContainer,null,o,c,s,i,a),c.deps<=0&&c.resolve()));else if(g&>(d,g))l(g,d,n,r,o,c,s,i,a),er(c,d);else if(Wr(t,"onPending"),c.pendingBranch=d,d.shapeFlag&512?c.pendingId=d.component.suspenseId:c.pendingId=li++,l(null,d,c.hiddenContainer,null,o,c,s,i,a),c.deps<=0)c.resolve();else{const{timeout:S,pendingId:m}=c;S>0?setTimeout(()=>{c.pendingId===m&&c.fallback(h)},S):S===0&&c.fallback(h)}}let Qa=!1;function Du(e,t,n,r,o,s,i,a,l,f,u=!1){Qa||(Qa=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:c,m:d,um:h,n:g,o:{parentNode:v,remove:T}}=f;let C;const S=Bm(e);S&&t&&t.pendingBranch&&(C=t.pendingId,t.deps++);const m=e.props?xo(e.props.timeout):void 0;Bi(m,"Suspense timeout");const w=s,b={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:li++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,D=!1){{if(!A&&!b.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(b.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:U,activeBranch:P,pendingBranch:I,pendingId:B,effects:L,parentComponent:J,container:_}=b;let O=!1;b.isHydrating?b.isHydrating=!1:A||(O=P&&I.transition&&I.transition.mode==="out-in",O&&(P.transition.afterLeave=()=>{B===b.pendingId&&(d(I,_,s===w?g(P):s,0),Vr(L))}),P&&(v(P.el)===_&&(s=g(P)),h(P,J,b,!0)),O||d(I,_,s,0)),er(b,I),b.pendingBranch=null,b.isInFallback=!1;let k=b.parent,W=!1;for(;k;){if(k.pendingBranch){k.effects.push(...L),W=!0;break}k=k.parent}!W&&!O&&Vr(L),b.effects=[],S&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!D&&t.resolve()),Wr(U,"onResolve")},fallback(A){if(!b.pendingBranch)return;const{vnode:D,activeBranch:U,parentComponent:P,container:I,namespace:B}=b;Wr(D,"onFallback");const L=g(U),J=()=>{b.isInFallback&&(c(null,A,I,L,P,null,B,a,l),er(b,A))},_=A.transition&&A.transition.mode==="out-in";_&&(U.transition.afterLeave=J),b.isInFallback=!0,h(U,P,null,!0),_||J()},move(A,D,U){b.activeBranch&&d(b.activeBranch,A,D,U),b.container=A},next(){return b.activeBranch&&g(b.activeBranch)},registerDep(A,D,U){const P=!!b.pendingBranch;P&&b.deps++;const I=A.vnode.el;A.asyncDep.catch(B=>{hn(B,A,0)}).then(B=>{if(A.isUnmounted||b.isUnmounted||b.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:L}=A;Qn(L),pi(A,B,!1),I&&(L.el=I);const J=!I&&A.subTree.el;D(A,L,v(I||A.subTree.el),I?null:g(A.subTree),b,i,U),J&&T(J),aa(A,L.el),Xn(),P&&--b.deps===0&&b.resolve()})},unmount(A,D){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,A,D),b.pendingBranch&&h(b.pendingBranch,n,A,D)}};return b}function Vm(e,t,n,r,o,s,i,a,l){const f=t.suspense=Du(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=l(e,f.pendingBranch=t.ssContent,n,f,s,i);return f.deps===0&&f.resolve(!1,!0),u}function Um(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Xa(r?n.default:n),e.ssFallback=r?Xa(n.fallback):ye(we)}function Xa(e){let t;if(Z(e)){const n=$n&&e._c;n&&(e._d=!1,un()),e=e(),n&&(e._d=!0,t=Fe,Fu())}if(Y(e)){const n=gs(e);!n&&e.filter(r=>r!==ea).length>0&&$("<Suspense> slots expect a single root node."),e=n}return e=ze(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Hu(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Vr(e)}function er(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,aa(r,o))}function Bm(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ae=Symbol.for("v-fgt"),Ot=Symbol.for("v-txt"),we=Symbol.for("v-cmt"),an=Symbol.for("v-stc"),kr=[];let Fe=null;function un(e=!1){kr.push(Fe=e?null:[])}function Fu(){kr.pop(),Fe=kr[kr.length-1]||null}let $n=1;function ci(e){$n+=e,e<0&&Fe&&(Fe.hasOnce=!0)}function Vu(e){return e.dynamicChildren=$n>0?Fe||Jn:null,Fu(),$n>0&&Fe&&Fe.push(e),e}function ys(e,t,n,r,o,s){return Vu(Gr(e,t,n,r,o,s,!0))}function Ho(e,t,n,r,o){return Vu(ye(e,t,n,r,o,!0))}function Pt(e){return e?e.__v_isVNode===!0:!1}function gt(e,t){if(t.shapeFlag&6&&e.component){const n=go.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}let ui;function Km(e){ui=e}const Wm=(...e)=>Gm(...ui?ui(e,xe):e),Uu=({key:e})=>e??null,_o=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||Se(e)||Z(e)?{i:xe,r:e,k:t,f:!!n}:e:null);function Gr(e,t=null,n=null,r=0,o=null,s=e===Ae?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Uu(t),ref:t&&_o(t),scopeId:cs,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:xe};return a?(la(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=de(n)?8:16),l.key!==l.key&&$("VNode created with invalid key (NaN). VNode type:",l.type),$n>0&&!i&&Fe&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Fe.push(l),l}const ye=Wm;function Gm(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===ea)&&(e||$(`Invalid vnode type when creating vnode: ${e}.`),e=we),Pt(e)){const a=ut(e,t,!0);return n&&la(a,n),$n>0&&!s&&Fe&&(a.shapeFlag&6?Fe[Fe.indexOf(e)]=a:Fe.push(a)),a.patchFlag=-2,a}if(Qu(e)&&(e=e.__vccOpts),t){t=Bu(t);let{class:a,style:l}=t;a&&!de(a)&&(t.class=pr(a)),le(l)&&(nr(l)&&!Y(l)&&(l=fe({},l)),t.style=hr(l))}const i=de(e)?1:Do(e)?128:Xc(e)?64:le(e)?4:Z(e)?2:0;return i&4&&nr(e)&&(e=re(e),$("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
33
|
-
Component that was made reactive: `,e)),Gr(e,t,n,r,o,i,s,!0)}function Bu(e){return e?nr(e)||vu(e)?fe({},e):e:null}function ut(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,f=t?Wu(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Uu(f),ref:t&&t.ref?n&&s?Y(s)?s.concat(_o(t)):[s,_o(t)]:_o(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i===-1&&Y(a)?a.map(Ku):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ae?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Bt(u,l.clone(u)),u}function Ku(e){const t=ut(e);return Y(e.children)&&(t.children=e.children.map(Ku)),t}function vs(e=" ",t=0){return ye(Ot,null,e,t)}function qm(e,t){const n=ye(an,null,e);return n.staticCount=t,n}function zm(e="",t=!1){return t?(un(),Ho(we,null,e)):ye(we,null,e)}function ze(e){return e==null||typeof e=="boolean"?ye(we):Y(e)?ye(Ae,null,e.slice()):Pt(e)?en(e):ye(Ot,null,String(e))}function en(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ut(e)}function la(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),la(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!vu(t)?t._ctx=xe:o===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Z(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),r&64?(n=16,t=[vs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wu(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=pr([t.class,r.class]));else if(o==="style")t.style=hr([t.style,r.style]);else if(fr(o)){const s=t[o],i=r[o];i&&s!==i&&!(Y(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function Ye(e,t,n,r=null){ct(e,t,7,[n,r])}const Jm=mu();let Ym=0;function Gu(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Jm,s={uid:Ym++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Li(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bu(r,o),emitsOptions:Lu(r,o),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx=Wp(s),s.root=t?t.root:s,s.emit=Mm.bind(null,s),e.ce&&e.ce(s),s}let Oe=null;const Me=()=>Oe||xe;let Fo,fi;{const e=Qr(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Fo=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),fi=t("__VUE_SSR_SETTERS__",n=>or=n)}const Rn=e=>{const t=Oe;return Fo(e),e.scope.on(),()=>{e.scope.off(),Fo(t)}},di=()=>{Oe&&Oe.scope.off(),Fo(null)},Qm=rt("slot,component");function hi(e,{isNativeTag:t}){(Qm(e)||t(e))&&$("Do not use built-in or reserved HTML elements as component id: "+e)}function qu(e){return e.vnode.shapeFlag&4}let or=!1;function zu(e,t=!1,n=!1){t&&fi(t);const{props:r,children:o}=e.vnode,s=qu(e);gm(e,r,s,t),Om(e,o,n);const i=s?Xm(e,t):void 0;return t&&fi(!1),i}function Xm(e,t){var n;const r=e.type;{if(r.name&&hi(r.name,e.appContext.config),r.components){const s=Object.keys(r.components);for(let i=0;i<s.length;i++)hi(s[i],e.appContext.config)}if(r.directives){const s=Object.keys(r.directives);for(let i=0;i<s.length;i++)Yc(s[i])}r.compilerOptions&&ca()&&$('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,$r),Gp(e);const{setup:o}=r;if(o){Kt();const s=e.setupContext=o.length>1?Yu(e):null,i=Rn(e),a=Ln(o,e,0,[yt(e.props),s]),l=Xo(a);if(Wt(),i(),(l||e.sp)&&!sn(e)&&Ji(e),l){if(a.then(di,di),t)return a.then(f=>{pi(e,f,t)}).catch(f=>{hn(f,e,0)});if(e.asyncDep=a,!e.suspense){const f=(n=r.name)!=null?n:"Anonymous";$(`Component <${f}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else pi(e,a,t)}else Ju(e,t)}function pi(e,t,n){Z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:le(t)?(Pt(t)&&$("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=Ui(t),qp(e)):t!==void 0&&$(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ju(e,n)}let Mr,mi;function Zm(e){Mr=e,mi=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Kp))}}const ca=()=>!Mr;function Ju(e,t,n){const r=e.type;if(!e.render){if(!t&&Mr&&!r.render){const o=r.template||oa(e).template;if(o){Mt(e,"compile");const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,f=fe(fe({isCustomElement:s,delimiters:a},i),l);r.render=Mr(o,f),Nt(e,"compile")}}e.render=r.render||He,mi&&mi(e)}{const o=Rn(e);Kt();try{lm(e)}finally{Wt(),o()}}!r.render&&e.render===He&&!t&&(!Mr&&r.template?$('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):$("Component is missing template or render function: ",r))}const eg={get(e,t){return jo(),Re(e,"get",""),e[t]},set(){return $("setupContext.attrs is readonly."),!1},deleteProperty(){return $("setupContext.attrs is readonly."),!1}};function tg(e){return new Proxy(e.slots,{get(t,n){return Re(e,"get","$slots"),t[n]}})}function Yu(e){const t=n=>{if(e.exposed&&$("expose() should be called only once per setup()."),n!=null){let r=typeof n;r==="object"&&(Y(n)?r="array":Se(n)&&(r="ref")),r!=="object"&&$(`expose() should be passed a plain object, received ${r}.`)}e.exposed=n||{}};{let n,r;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,eg))},get slots(){return r||(r=tg(e))},get emit(){return(o,...s)=>e.emit(o,...s)},expose:t})}}function no(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ui(Dc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cn)return Cn[n](e)},has(t,n){return n in t||n in Cn}})):e.proxy}const ng=/(?:^|[-_])(\w)/g,rg=e=>e.replace(ng,t=>t.toUpperCase()).replace(/[-_]/g,"");function qr(e,t=!0){return Z(e)?e.displayName||e.name:e.name||t&&e.__name}function _s(e,t,n=!1){let r=qr(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?rg(r):n?"App":"Anonymous"}function Qu(e){return Z(e)&&"__vccOpts"in e}const Qe=(e,t)=>{const n=Dh(e,t,or);{const r=Me();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function bs(e,t,n){const r=arguments.length;return r===2?le(t)&&!Y(t)?Pt(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pt(n)&&(n=[n]),ye(e,t,n))}function Xu(){if(typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},o={__vue_custom_formatter:!0,header(c){return le(c)?c.__isVue?["div",e,"VueInstance"]:Se(c)?["div",{},["span",e,u(c)],"<",a("_value"in c?c._value:c),">"]:on(c)?["div",{},["span",e,Ve(c)?"ShallowReactive":"Reactive"],"<",a(c),`>${At(c)?" (readonly)":""}`]:At(c)?["div",{},["span",e,Ve(c)?"ShallowReadonly":"Readonly"],"<",a(c),">"]:null:null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...s(c.$)]}};function s(c){const d=[];c.type.props&&c.props&&d.push(i("props",re(c.props))),c.setupState!==ae&&d.push(i("setup",c.setupState)),c.data!==ae&&d.push(i("data",re(c.data)));const h=l(c,"computed");h&&d.push(i("computed",h));const g=l(c,"inject");return g&&d.push(i("injected",g)),d.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),d}function i(c,d){return d=fe({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",r,h+": "],a(d[h],!1)])]]:["span",{}]}function a(c,d=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:le(c)?["object",{object:d?re(c):c}]:["span",n,String(c)]}function l(c,d){const h=c.type;if(Z(h))return;const g={};for(const v in c.ctx)f(h,v,d)&&(g[v]=c.ctx[v]);return g}function f(c,d,h){const g=c[h];if(Y(g)&&g.includes(d)||le(g)&&d in g||c.extends&&f(c.extends,d,h)||c.mixins&&c.mixins.some(v=>f(v,d,h)))return!0}function u(c){return Ve(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}function og(e,t,n,r){const o=n[r];if(o&&Zu(o,e))return o;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function Zu(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Ge(n[r],t[r]))return!1;return $n>0&&Fe&&Fe.push(e),!0}const Vo="3.5.12",Ce=$,sg=as,ig=mt,ag=Wi,lg={createComponentInstance:Gu,setupComponent:zu,renderComponentRoot:vo,setCurrentRenderingInstance:Br,isVNode:Pt,normalizeVNode:ze,getComponentPublicInstance:no,ensureValidVNode:na,pushWarningContext:Qn,popWarningContext:Xn},cg=lg,ug=null,fg=null,dg=null;/**
|
|
34
|
-
* @vue/runtime-dom v3.5.12
|
|
35
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
36
|
-
* @license MIT
|
|
37
|
-
**/let gi;const Za=typeof window<"u"&&window.trustedTypes;if(Za)try{gi=Za.createPolicy("vue",{createHTML:e=>e})}catch(e){Ce(`Error creating trusted types policy: ${e}`)}const ef=gi?e=>gi.createHTML(e):e=>e,hg="http://www.w3.org/2000/svg",pg="http://www.w3.org/1998/Math/MathML",Lt=typeof document<"u"?document:null,el=Lt&&Lt.createElement("template"),mg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Lt.createElementNS(hg,e):t==="mathml"?Lt.createElementNS(pg,e):n?Lt.createElement(e,{is:n}):Lt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Lt.createTextNode(e),createComment:e=>Lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{el.innerHTML=ef(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=el.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qt="transition",br="animation",sr=Symbol("_vtc"),tf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},nf=fe({},zi,tf),gg=e=>(e.displayName="Transition",e.props=nf,e),yg=gg((e,{slots:t})=>bs(nu,rf(e),t)),vn=(e,t=[])=>{Y(e)?e.forEach(n=>n(...t)):e&&e(...t)},tl=e=>e?Y(e)?e.some(t=>t.length>1):e.length>1:!1;function rf(e){const t={};for(const L in e)L in tf||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:f=i,appearToClass:u=a,leaveFromClass:c=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=vg(o),v=g&&g[0],T=g&&g[1],{onBeforeEnter:C,onEnter:S,onEnterCancelled:m,onLeave:w,onLeaveCancelled:b,onBeforeAppear:A=C,onAppear:D=S,onAppearCancelled:U=m}=t,P=(L,J,_)=>{Yt(L,J?u:a),Yt(L,J?f:i),_&&_()},I=(L,J)=>{L._isLeaving=!1,Yt(L,c),Yt(L,h),Yt(L,d),J&&J()},B=L=>(J,_)=>{const O=L?D:S,k=()=>P(J,L,_);vn(O,[J,k]),nl(()=>{Yt(J,L?l:s),It(J,L?u:a),tl(O)||rl(J,r,v,k)})};return fe(t,{onBeforeEnter(L){vn(C,[L]),It(L,s),It(L,i)},onBeforeAppear(L){vn(A,[L]),It(L,l),It(L,f)},onEnter:B(!1),onAppear:B(!0),onLeave(L,J){L._isLeaving=!0;const _=()=>I(L,J);It(L,c),It(L,d),sf(),nl(()=>{L._isLeaving&&(Yt(L,c),It(L,h),tl(w)||rl(L,r,T,_))}),vn(w,[L,_])},onEnterCancelled(L){P(L,!1),vn(m,[L])},onAppearCancelled(L){P(L,!0),vn(U,[L])},onLeaveCancelled(L){I(L),vn(b,[L])}})}function vg(e){if(e==null)return null;if(le(e))return[Is(e.enter),Is(e.leave)];{const t=Is(e);return[t,t]}}function Is(e){const t=xo(e);return Bi(t,"<transition> explicit duration"),t}function It(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[sr]||(e[sr]=new Set)).add(t)}function Yt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[sr];n&&(n.delete(t),n.size||(e[sr]=void 0))}function nl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let _g=0;function rl(e,t,n,r){const o=e._endId=++_g,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=of(e,t);if(!i)return r();const f=i+"end";let u=0;const c=()=>{e.removeEventListener(f,d),s()},d=h=>{h.target===e&&++u>=l&&c()};setTimeout(()=>{u<l&&c()},a+1),e.addEventListener(f,d)}function of(e,t){const n=window.getComputedStyle(e),r=g=>(n[g]||"").split(", "),o=r(`${qt}Delay`),s=r(`${qt}Duration`),i=ol(o,s),a=r(`${br}Delay`),l=r(`${br}Duration`),f=ol(a,l);let u=null,c=0,d=0;t===qt?i>0&&(u=qt,c=i,d=s.length):t===br?f>0&&(u=br,c=f,d=l.length):(c=Math.max(i,f),u=c>0?i>f?qt:br:null,d=u?u===qt?s.length:l.length:0);const h=u===qt&&/\b(transform|all)(,|$)/.test(r(`${qt}Property`).toString());return{type:u,timeout:c,propCount:d,hasTransform:h}}function ol(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>sl(n)+sl(e[r])))}function sl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sf(){return document.body.offsetHeight}function bg(e,t,n){const r=e[sr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Uo=Symbol("_vod"),af=Symbol("_vsh"),ua={beforeMount(e,{value:t},{transition:n}){e[Uo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):wr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),wr(e,!0),r.enter(e)):r.leave(e,()=>{wr(e,!1)}):wr(e,t))},beforeUnmount(e,{value:t}){wr(e,t)}};ua.name="show";function wr(e,t){e.style.display=t?e[Uo]:"none",e[af]=!t}function wg(){ua.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const lf=Symbol("CSS_VAR_TEXT");function Sg(e){const t=Me();if(!t){Ce("useCssVars is called without current active component instance.");return}const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Bo(s,o))};t.getCssVars=()=>e(t.proxy);const r=()=>{const o=e(t.proxy);t.ce?Bo(t.ce,o):yi(t.subTree,o),n(o)};Xi(()=>{ku(r)}),gr(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),ps(()=>o.disconnect())})}function yi(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{yi(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Bo(e.el,t);else if(e.type===Ae)e.children.forEach(n=>yi(n,t));else if(e.type===an){let{el:n,anchor:r}=e;for(;n&&(Bo(n,t),n!==r);)n=n.nextSibling}}function Bo(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[lf]=r}}const Eg=/(^|;)\s*display\s*:/;function Tg(e,t,n){const r=e.style,o=de(n);let s=!1;if(n&&!o){if(t)if(de(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&bo(r,a,"")}else for(const i in t)n[i]==null&&bo(r,i,"");for(const i in n)i==="display"&&(s=!0),bo(r,i,n[i])}else if(o){if(t!==n){const i=r[lf];i&&(n+=";"+i),r.cssText=n,s=Eg.test(n)}}else t&&e.removeAttribute("style");Uo in e&&(e[Uo]=s?r.display:"",e[af]&&(r.display="none"))}const xg=/[^\\];\s*$/,il=/\s*!important$/;function bo(e,t,n){if(Y(n))n.forEach(r=>bo(e,t,r));else if(n==null&&(n=""),xg.test(n)&&Ce(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const r=Cg(e,t);il.test(n)?e.setProperty(De(r),n.replace(il,""),"important"):e[r]=n}}const al=["Webkit","Moz","ms"],Ls={};function Cg(e,t){const n=Ls[t];if(n)return n;let r=Pe(t);if(r!=="filter"&&r in e)return Ls[t]=r;r=ln(r);for(let o=0;o<al.length;o++){const s=al[o]+r;if(s in e)return Ls[t]=s}return t}const ll="http://www.w3.org/1999/xlink";function cl(e,t,n,r,o,s=Zd(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ll,t.slice(6,t.length)):e.setAttributeNS(ll,t,n):n==null||s&&!Ii(n)?e.removeAttribute(t):e.setAttribute(t,s?"":bt(n)?String(n):n)}function ul(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ef(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Ii(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch(a){i||Ce(`Failed setting prop "${t}" on <${s.toLowerCase()}>: value ${n} is invalid.`,a)}i&&e.removeAttribute(o||t)}function Vt(e,t,n,r){e.addEventListener(t,n,r)}function Og(e,t,n,r){e.removeEventListener(t,n,r)}const fl=Symbol("_vei");function Ag(e,t,n,r,o=null){const s=e[fl]||(e[fl]={}),i=s[t];if(r&&i)i.value=hl(r,t);else{const[a,l]=Pg(t);if(r){const f=s[t]=kg(hl(r,t),o);Vt(e,a,f,l)}else i&&(Og(e,a,i,l),s[t]=void 0)}}const dl=/(?:Once|Passive|Capture)$/;function Pg(e){let t;if(dl.test(e)){t={};let r;for(;r=e.match(dl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):De(e.slice(2)),t]}let js=0;const $g=Promise.resolve(),Rg=()=>js||($g.then(()=>js=0),js=Date.now());function kg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;ct(Mg(r,n.value),t,5,[r])};return n.value=e,n.attached=Rg(),n}function hl(e,t){return Z(e)||Y(e)?e:(Ce(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
38
|
-
Expected function or array of functions, received type ${typeof e}.`),He)}function Mg(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const pl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ng=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?bg(e,r,i):t==="style"?Tg(e,n,r):fr(t)?Eo(t)||Ag(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ig(e,t,r,i))?(ul(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&cl(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!de(r))?ul(e,Pe(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cl(e,t,r,i))};function Ig(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&pl(t)&&Z(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return pl(t)&&de(n)?!1:t in e}const ml={};/*! #__NO_SIDE_EFFECTS__ */function cf(e,t,n){const r=pn(e,t);Zo(r)&&fe(r,t);class o extends ws{constructor(i){super(r,i,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const Lg=(e,t)=>cf(e,t,ha),jg=typeof HTMLElement<"u"?HTMLElement:class{};class ws extends jg{constructor(t,n={},r=vi){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==vi?this._root=this.shadowRoot:(this.shadowRoot&&Ce("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this),this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof ws){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,jn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);this._ob=new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:i}=r;let a;if(s&&!Y(s))for(const l in s){const f=s[l];(f===Number||f&&f.type===Number)&&(l in this._props&&(this._props[l]=xo(this._props[l])),(a||(a=Object.create(null)))[Pe(l)]=!0)}this._numberProps=a,o&&this._resolveProps(r),this.shadowRoot?this._applyStyles(i):i&&Ce("Custom element style injection is not supported when using shadowRoot: false"),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){t.name||(t.name="VueElement"),this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)ue(this,r)?Ce(`Exposed property "${r}" already exists on custom element.`):Object.defineProperty(this,r,{get:()=>st(n[r])})}_resolveProps(t){const{props:n}=t,r=Y(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(Pe))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):ml;const o=Pe(t);n&&this._numberProps&&this._numberProps[o]&&(r=xo(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){n!==this._props[t]&&(n===ml?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(De(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(De(t),n+""):n||this.removeAttribute(De(t))))}_update(){bf(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=ye(this._def,fe(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0,r.ceReload=s=>{this._styles&&(this._styles.forEach(i=>this._root.removeChild(i)),this._styles.length=0),this._applyStyles(s),this._instance=null,this._update()};const o=(s,i)=>{this.dispatchEvent(new CustomEvent(s,Zo(i[0])?fe({detail:i},i[0]):{detail:i}))};r.emit=(s,...i)=>{o(s,i),De(s)!==s&&o(De(s),i)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const s=document.createElement("style");if(r&&s.setAttribute("nonce",r),s.textContent=t[o],this.shadowRoot.prepend(s),n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let i=this._childStyles.get(n.__hmrId);i||this._childStyles.set(n.__hmrId,i=[]),i.push(s)}}else(this._styles||(this._styles=[])).push(s)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],s=o.getAttribute("name")||"default",i=this._slots[s],a=o.parentNode;if(i)for(const l of i){if(n&&l.nodeType===1){const f=n+"-s",u=document.createTreeWalker(l,1);l.setAttribute(f,"");let c;for(;c=u.nextNode();)c.setAttribute(f,"")}a.insertBefore(l,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){if(this._styleChildren.delete(t),this._childStyles&&t.__hmrId){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(r=>this._root.removeChild(r)),n.length=0)}}}function uf(e){const t=Me(),n=t&&t.ce;return n||(Ce(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function Dg(){const e=uf("useShadowRoot");return e&&e.shadowRoot}function Hg(e="$style"){{const t=Me();if(!t)return Ce("useCssModule must be called inside setup()"),ae;const n=t.type.__cssModules;if(!n)return Ce("Current instance does not have CSS modules injected."),ae;const r=n[e];return r||(Ce(`Current instance does not have CSS module named "${e}".`),ae)}}const ff=new WeakMap,df=new WeakMap,Ko=Symbol("_moveCb"),gl=Symbol("_enterCb"),Fg=e=>(delete e.props.mode,e),Vg=Fg({name:"TransitionGroup",props:fe({},nf,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Me(),r=qi();let o,s;return hs(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Gg(o[0].el,n.vnode.el,i))return;o.forEach(Bg),o.forEach(Kg);const a=o.filter(Wg);sf(),a.forEach(l=>{const f=l.el,u=f.style;It(f,i),u.transform=u.webkitTransform=u.transitionDuration="";const c=f[Ko]=d=>{d&&d.target!==f||(!d||/transform$/.test(d.propertyName))&&(f.removeEventListener("transitionend",c),f[Ko]=null,Yt(f,i))};f.addEventListener("transitionend",c)})}),()=>{const i=re(e),a=rf(i);let l=i.tag||Ae;if(o=[],s)for(let f=0;f<s.length;f++){const u=s[f];u.el&&u.el instanceof Element&&(o.push(u),Bt(u,rr(u,a,r,n)),ff.set(u,u.el.getBoundingClientRect()))}s=t.default?fs(t.default()):[];for(let f=0;f<s.length;f++){const u=s[f];u.key!=null?Bt(u,rr(u,a,r,n)):u.type!==Ot&&Ce("<TransitionGroup> children must be keyed.")}return ye(l,null,s)}}}),Ug=Vg;function Bg(e){const t=e.el;t[Ko]&&t[Ko](),t[gl]&&t[gl]()}function Kg(e){df.set(e,e.el.getBoundingClientRect())}function Wg(e){const t=ff.get(e),n=df.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function Gg(e,t,n){const r=e.cloneNode(),o=e[sr];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=of(r);return s.removeChild(r),i}const fn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>nn(t,n):t};function qg(e){e.target.composing=!0}function yl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const at=Symbol("_assign"),Wo={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[at]=fn(o);const s=r||o.props&&o.props.type==="number";Vt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=To(a)),e[at](a)}),n&&Vt(e,"change",()=>{e.value=e.value.trim()}),t||(Vt(e,"compositionstart",qg),Vt(e,"compositionend",yl),Vt(e,"change",yl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[at]=fn(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?To(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},fa={deep:!0,created(e,t,n){e[at]=fn(n),Vt(e,"change",()=>{const r=e._modelValue,o=ir(e),s=e.checked,i=e[at];if(Y(r)){const a=ts(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const f=[...r];f.splice(a,1),i(f)}}else if(Nn(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(pf(e,s))})},mounted:vl,beforeUpdate(e,t,n){e[at]=fn(n),vl(e,t,n)}};function vl(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Y(t))o=ts(t,r.props.value)>-1;else if(Nn(t))o=t.has(r.props.value);else{if(t===n)return;o=cn(t,pf(e,!0))}e.checked!==o&&(e.checked=o)}const da={created(e,{value:t},n){e.checked=cn(t,n.props.value),e[at]=fn(n),Vt(e,"change",()=>{e[at](ir(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[at]=fn(r),t!==n&&(e.checked=cn(t,r.props.value))}},hf={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Nn(t);Vt(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?To(ir(i)):ir(i));e[at](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,jn(()=>{e._assigning=!1})}),e[at]=fn(r)},mounted(e,{value:t}){_l(e,t)},beforeUpdate(e,t,n){e[at]=fn(n)},updated(e,{value:t}){e._assigning||_l(e,t)}};function _l(e,t){const n=e.multiple,r=Y(t);if(n&&!r&&!Nn(t)){Ce(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let o=0,s=e.options.length;o<s;o++){const i=e.options[o],a=ir(i);if(n)if(r){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(f=>String(f)===String(a)):i.selected=ts(t,a)>-1}else i.selected=t.has(a);else if(cn(ir(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function ir(e){return"_value"in e?e._value:e.value}function pf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const mf={created(e,t,n){fo(e,t,n,null,"created")},mounted(e,t,n){fo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){fo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){fo(e,t,n,r,"updated")}};function gf(e,t){switch(e){case"SELECT":return hf;case"TEXTAREA":return Wo;default:switch(t){case"checkbox":return fa;case"radio":return da;default:return Wo}}}function fo(e,t,n,r,o){const i=gf(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function zg(){Wo.getSSRProps=({value:e})=>({value:e}),da.getSSRProps=({value:e},t)=>{if(t.props&&cn(t.props.value,e))return{checked:!0}},fa.getSSRProps=({value:e},t)=>{if(Y(e)){if(t.props&&ts(e,t.props.value)>-1)return{checked:!0}}else if(Nn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},mf.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=gf(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Jg=["ctrl","shift","alt","meta"],Yg={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Jg.some(n=>e[`${n}Key`]&&!t.includes(n))},Qg=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=Yg[t[i]];if(a&&a(o,t))return}return e(o,...s)})},Xg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Zg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=De(o.key);if(t.some(i=>i===s||Xg[i]===s))return e(o)})},yf=fe({patchProp:Ng},mg);let Nr,bl=!1;function vf(){return Nr||(Nr=xu(yf))}function _f(){return Nr=bl?Nr:Cu(yf),bl=!0,Nr}const bf=(...e)=>{vf().render(...e)},ey=(...e)=>{_f().hydrate(...e)},vi=(...e)=>{const t=vf().createApp(...e);Sf(t),Ef(t);const{mount:n}=t;return t.mount=r=>{const o=Tf(r);if(!o)return;const s=t._component;!Z(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,wf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},ha=(...e)=>{const t=_f().createApp(...e);Sf(t),Ef(t);const{mount:n}=t;return t.mount=r=>{const o=Tf(r);if(o)return n(o,!0,wf(o))},t};function wf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Sf(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Yd(t)||Qd(t)||Xd(t),writable:!1})}function Ef(e){if(ca()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){Ce("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,r='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return Ce(r),n},set(){Ce(r)}})}}function Tf(e){if(de(e)){const t=document.querySelector(e);return t||Ce(`Failed to mount app: mount target selector "${e}" returned null.`),t}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&Ce('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let wl=!1;const ty=()=>{wl||(wl=!0,zg(),wg())};/**
|
|
39
|
-
* vue v3.5.12
|
|
40
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
41
|
-
* @license MIT
|
|
42
|
-
**/function ny(){Xu()}ny();const ry=()=>{Ce('Runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".')},oy=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:nu,BaseTransitionPropsValidators:zi,Comment:we,DeprecationTypes:dg,EffectScope:Li,ErrorCodes:qh,ErrorTypeStrings:sg,Fragment:Ae,KeepAlive:Ip,ReactiveEffect:Dr,Static:an,Suspense:Dm,Teleport:mp,Text:Ot,TrackOpTypes:Hh,Transition:yg,TransitionGroup:Ug,TriggerOpTypes:Fh,VueElement:ws,assertNumber:Bi,callWithAsyncErrorHandling:ct,callWithErrorHandling:Ln,camelize:Pe,capitalize:ln,cloneVNode:ut,compatUtils:fg,compile:ry,computed:Qe,createApp:vi,createBlock:Ho,createCommentVNode:zm,createElementBlock:ys,createElementVNode:Gr,createHydrationRenderer:Cu,createPropsRestProxy:sm,createRenderer:xu,createSSRApp:ha,createSlots:Vp,createStaticVNode:qm,createTextVNode:vs,createVNode:ye,customRef:Fc,defineAsyncComponent:Mp,defineComponent:pn,defineCustomElement:cf,defineEmits:Jp,defineExpose:Yp,defineModel:Zp,defineOptions:Qp,defineProps:zp,defineSSRCustomElement:Lg,defineSlots:Xp,devtools:ig,effect:lh,effectScope:wc,getCurrentInstance:Me,getCurrentScope:Sc,getCurrentWatcher:Vh,getTransitionRawChildren:fs,guardReactiveProps:Bu,h:bs,handleError:hn,hasInjectionContext:mm,hydrate:ey,hydrateOnIdle:Op,hydrateOnInteraction:Rp,hydrateOnMediaQuery:$p,hydrateOnVisible:Pp,initCustomFormatter:Xu,initDirectivesForSSR:ty,inject:it,isMemoSame:Zu,isProxy:nr,isReactive:on,isReadonly:At,isRef:Se,isRuntimeOnly:ca,isShallow:Ve,isVNode:Pt,markRaw:Dc,mergeDefaults:rm,mergeModels:om,mergeProps:Wu,nextTick:jn,normalizeClass:pr,normalizeProps:Gd,normalizeStyle:hr,onActivated:Yi,onBeforeMount:Xi,onBeforeUnmount:eo,onBeforeUpdate:lu,onDeactivated:Qi,onErrorCaptured:du,onMounted:gr,onRenderTracked:fu,onRenderTriggered:uu,onScopeDispose:ih,onServerPrefetch:cu,onUnmounted:ps,onUpdated:hs,onWatcherCleanup:Uc,openBlock:un,popScopeId:cp,provide:Rr,proxyRefs:Ui,pushScopeId:lp,queuePostFlushCb:Vr,reactive:In,readonly:Xr,ref:Xe,registerRuntimeCompiler:Zm,render:bf,renderList:Fp,renderSlot:Up,resolveComponent:Zi,resolveDirective:Hp,resolveDynamicComponent:Dp,resolveFilter:ug,resolveTransitionHooks:rr,setBlockTracking:ci,setDevtoolsHook:ag,setTransitionHooks:Bt,shallowReactive:Fi,shallowReadonly:yt,shallowRef:Vi,ssrContextKey:$u,ssrUtils:cg,stop:ch,toDisplayString:ns,toHandlerKey:Dt,toHandlers:Bp,toRaw:re,toRef:Lh,toRefs:Mh,toValue:$h,transformVNodeArgs:Km,triggerRef:Ph,unref:st,useAttrs:nm,useCssModule:Hg,useCssVars:Sg,useHost:uf,useId:yp,useModel:km,useSSRContext:Ru,useShadowRoot:Dg,useSlots:tm,useTemplateRef:vp,useTransitionState:qi,vModelCheckbox:fa,vModelDynamic:mf,vModelRadio:da,vModelSelect:hf,vModelText:Wo,vShow:ua,version:Vo,warn:Ce,watch:Je,watchEffect:ia,watchPostEffect:ku,watchSyncEffect:Mu,withAsyncContext:im,withCtx:us,withDefaults:em,withDirectives:fp,withKeys:Zg,withMemo:og,withModifiers:Qg,withScopeId:up},Symbol.toStringTag,{value:"Module"})),sy=e=>{try{return JSON.parse(e||"{}")}catch(t){throw new Error(`[SSR] On state unserialization - ${t.message}`)}},iy=async(e,t={})=>{var l,f,u;const n=ha(e,t.rootProps),o=await(t.serializer||sy)(window.__INITIAL_STATE__),s=window.location;let i,a;t.created&&({store:i,router:a}=await t.created({url:s,app:n,isClient:!0,initialState:o})||{}),a&&await a.isReady(),t.mounted&&await t.mounted({url:s,app:n,isClient:!0,initialState:o,store:i,router:a}),i&&o.state&&i.replaceState(o.state),t.rendered&&await t.rendered({url:s,app:n,isClient:!0,initialState:o,store:i,router:a}),n.mount(((l=t==null?void 0:t.mount)==null?void 0:l.rootContainer)||"#app",((f=t==null?void 0:t.mount)==null?void 0:f.isHydrate)||!0,((u=t==null?void 0:t.mount)==null?void 0:u.isSVG)||!0)};function ay(){return xf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function xf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const ly=typeof Proxy=="function",cy="devtools-plugin:setup",uy="plugin:settings:set";let Un,_i;function fy(){var e;return Un!==void 0||(typeof window<"u"&&window.performance?(Un=!0,_i=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Un=!0,_i=globalThis.perf_hooks.performance):Un=!1),Un}function dy(){return fy()?_i.now():Date.now()}let hy=class{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return dy()}},n&&n.on(uy,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(f=>{this.targetQueue.push({method:a,args:l,resolve:f})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}};function py(e,t){const n=e,r=xf(),o=ay(),s=ly&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(cy,e,t);else{const i=s?new hy(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
|
43
|
-
* vue-router v4.4.5
|
|
44
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
45
|
-
* @license MIT
|
|
46
|
-
*/const Ht=typeof document<"u";function Cf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function my(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Cf(e.default)}const pe=Object.assign;function Ds(e,t){const n={};for(const r in t){const o=t[r];n[r]=nt(o)?o.map(e):e(o)}return n}const Ir=()=>{},nt=Array.isArray;function ie(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const Of=/#/g,gy=/&/g,yy=/\//g,vy=/=/g,_y=/\?/g,Af=/\+/g,by=/%5B/g,wy=/%5D/g,Pf=/%5E/g,Sy=/%60/g,$f=/%7B/g,Ey=/%7C/g,Rf=/%7D/g,Ty=/%20/g;function pa(e){return encodeURI(""+e).replace(Ey,"|").replace(by,"[").replace(wy,"]")}function xy(e){return pa(e).replace($f,"{").replace(Rf,"}").replace(Pf,"^")}function bi(e){return pa(e).replace(Af,"%2B").replace(Ty,"+").replace(Of,"%23").replace(gy,"%26").replace(Sy,"`").replace($f,"{").replace(Rf,"}").replace(Pf,"^")}function Cy(e){return bi(e).replace(vy,"%3D")}function Oy(e){return pa(e).replace(Of,"%23").replace(_y,"%3F")}function Ay(e){return e==null?"":Oy(e).replace(yy,"%2F")}function ar(e){try{return decodeURIComponent(""+e)}catch{ie(`Error decoding "${e}". Using original value`)}return""+e}const Py=/\/$/,$y=e=>e.replace(Py,"");function Hs(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=My(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:ar(i)}}function Ry(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Sl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function El(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&dn(t.matched[r],n.matched[o])&&kf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function dn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function kf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ky(e[n],t[n]))return!1;return!0}function ky(e,t){return nt(e)?Tl(e,t):nt(t)?Tl(t,e):e===t}function Tl(e,t){return nt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function My(e,t){if(e.startsWith("/"))return e;if(!t.startsWith("/"))return ie(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`),e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}const zt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var lr;(function(e){e.pop="pop",e.push="push"})(lr||(lr={}));var An;(function(e){e.back="back",e.forward="forward",e.unknown=""})(An||(An={}));const Fs="";function Mf(e){if(!e)if(Ht){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),$y(e)}const Ny=/^[^#]+#/;function Nf(e,t){return e.replace(Ny,"#")+t}function Iy(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ss=()=>({left:window.scrollX,top:window.scrollY});function Ly(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#");if(typeof e.el=="string"&&(!r||!document.getElementById(e.el.slice(1))))try{const s=document.querySelector(e.el);if(r&&s){ie(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch{ie(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o){ie(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=Iy(o,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 xl(e,t){return(history.state?history.state.position-t:-1)+e}const wi=new Map;function jy(e,t){wi.set(e,t)}function Dy(e){const t=wi.get(e);return wi.delete(e),t}let Hy=()=>location.protocol+"//"+location.host;function If(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Sl(l,"")}return Sl(n,e)+r+o}function Fy(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=If(e,location),g=n.value,v=t.value;let T=0;if(d){if(n.value=h,t.value=d,i&&i===g){i=null;return}T=v?d.position-v.position:0}else r(h);o.forEach(C=>{C(n.value,g,{delta:T,type:lr.pop,direction:T?T>0?An.forward:An.back:An.unknown})})};function l(){i=n.value}function f(d){o.push(d);const h=()=>{const g=o.indexOf(d);g>-1&&o.splice(g,1)};return s.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(pe({},d.state,{scroll:Ss()}),"")}function c(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:c}}function Cl(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Ss():null}}function Vy(e){const{history:t,location:n}=window,r={value:If(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,f,u){const c=e.indexOf("#"),d=c>-1?(n.host&&document.querySelector("base")?e:e.slice(c))+l:Hy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(h){ie("Error with push/replace State",h),n[u?"replace":"assign"](d)}}function i(l,f){const u=pe({},t.state,Cl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});s(l,u,!0),r.value=l}function a(l,f){const u=pe({},o.value,t.state,{forward:l,scroll:Ss()});t.state||ie(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
|
|
47
|
-
|
|
48
|
-
history.replaceState(history.state, '', url)
|
|
49
|
-
|
|
50
|
-
You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),s(u.current,u,!0);const c=pe({},Cl(r.value,l,null),{position:u.position+1},f);s(l,c,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Uy(e){e=Mf(e);const t=Vy(e),n=Fy(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=pe({location:"",base:e,go:r,createHref:Nf.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function By(e=""){let t=[],n=[Fs],r=0;e=Mf(e);function o(a){r++,r!==n.length&&n.splice(r),n.push(a)}function s(a,l,{direction:f,delta:u}){const c={direction:f,delta:u,type:lr.pop};for(const d of t)d(a,l,c)}const i={location:Fs,state:{},base:e,createHref:Nf.bind(null,e),replace(a){n.splice(r--,1),o(a)},push(a,l){o(a)},listen(a){return t.push(a),()=>{const l=t.indexOf(a);l>-1&&t.splice(l,1)}},destroy(){t=[],n=[Fs],r=0},go(a,l=!0){const f=this.location,u=a<0?An.back:An.forward;r=Math.max(0,Math.min(r+a,n.length-1)),l&&s(this.location,f,{direction:u,delta:a})}};return Object.defineProperty(i,"location",{enumerable:!0,get:()=>n[r]}),i}function Go(e){return typeof e=="string"||e&&typeof e=="object"}function Lf(e){return typeof e=="string"||typeof e=="symbol"}const jf=Symbol("navigation failure");var Ol;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ol||(Ol={}));const Ky={1({location:e,currentLocation:t}){return`No match for
|
|
51
|
-
${JSON.stringify(e)}${t?`
|
|
52
|
-
while being at
|
|
53
|
-
`+JSON.stringify(t):""}`},2({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${Gy(t)}" via a navigation guard.`},4({from:e,to:t}){return`Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`},8({from:e,to:t}){return`Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`},16({from:e,to:t}){return`Avoided redundant navigation to current location: "${e.fullPath}".`}};function cr(e,t){return pe(new Error(Ky[e](t)),{type:e,[jf]:!0},t)}function Rt(e,t){return e instanceof Error&&jf in e&&(t==null||!!(e.type&t))}const Wy=["params","query","hash"];function Gy(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Wy)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const Al="[^/]+?",qy={sensitive:!1,strict:!1,start:!0,end:!0},zy=/[.+*?^${}()[\]/\\]/g;function Jy(e,t){const n=pe({},qy,t),r=[];let o=n.start?"^":"";const s=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let c=0;c<f.length;c++){const d=f[c];let h=40+(n.sensitive?.25:0);if(d.type===0)c||(o+="/"),o+=d.value.replace(zy,"\\$&"),h+=40;else if(d.type===1){const{value:g,repeatable:v,optional:T,regexp:C}=d;s.push({name:g,repeatable:v,optional:T});const S=C||Al;if(S!==Al){h+=10;try{new RegExp(`(${S})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${g}" (${S}): `+w.message)}}let m=v?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;c||(m=T&&f.length<2?`(?:/${m})`:"/"+m),T&&(m+="?"),o+=m,h+=20,T&&(h+=-8),v&&(h+=-20),S===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(f){const u=f.match(i),c={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",g=s[d-1];c[g.name]=h&&g.repeatable?h.split("/"):h}return c}function l(f){let u="",c=!1;for(const d of e){(!c||!u.endsWith("/"))&&(u+="/"),c=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:g,repeatable:v,optional:T}=h,C=g in f?f[g]:"";if(nt(C)&&!v)throw new Error(`Provided param "${g}" is an array but it is not repeatable (* or + modifiers)`);const S=nt(C)?C.join("/"):C;if(!S)if(T)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):c=!0);else throw new Error(`Missing required param "${g}"`);u+=S}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function Yy(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Df(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Yy(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Pl(r))return 1;if(Pl(o))return-1}return o.length-r.length}function Pl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Qy={type:0,value:""},Xy=/[a-zA-Z0-9_]/;function Zy(e){if(!e)return[[]];if(e==="/")return[[Qy]];if(!e.startsWith("/"))throw new Error(`Route paths should start with a "/": "${e}" should be "/${e}".`);function t(h){throw new Error(`ERR (${n})/"${f}": ${h}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,f="",u="";function c(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(f&&c(),i()):l===":"?(c(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:Xy.test(l)?d():(c(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:c(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),c(),i(),o}function ev(e,t,n){const r=Jy(Zy(e.path),n);{const s=new Set;for(const i of r.keys)s.has(i.name)&&ie(`Found duplicated params with name "${i.name}" for path "${e.path}". Only the last one will be available on "$route.params".`),s.add(i.name)}const o=pe(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function tv(e,t){const n=[],r=new Map;t=Ml({strict:!1,end:!0,sensitive:!1},t);function o(c){return r.get(c)}function s(c,d,h){const g=!h,v=Rl(c);sv(v,d),v.aliasOf=h&&h.record;const T=Ml(t,c),C=[v];if("alias"in c){const w=typeof c.alias=="string"?[c.alias]:c.alias;for(const b of w)C.push(Rl(pe({},v,{components:h?h.record.components:v.components,path:b,aliasOf:h?h.record:v})))}let S,m;for(const w of C){const{path:b}=w;if(d&&b[0]!=="/"){const A=d.record.path,D=A[A.length-1]==="/"?"":"/";w.path=d.record.path+(b&&D+b)}if(w.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
54
|
-
See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(S=ev(w,d,T),d&&b[0]==="/"&&iv(S,d),h?(h.alias.push(S),ov(h,S)):(m=m||S,m!==S&&m.alias.push(S),g&&c.name&&!kl(S)&&i(c.name)),Hf(S)&&l(S),v.children){const A=v.children;for(let D=0;D<A.length;D++)s(A[D],S,h&&h.children[D])}h=h||S}return m?()=>{i(m)}:Ir}function i(c){if(Lf(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(i),c.alias.forEach(i))}}function a(){return n}function l(c){const d=av(c,n);n.splice(d,0,c),c.record.name&&!kl(c)&&r.set(c.record.name,c)}function f(c,d){let h,g={},v,T;if("name"in c&&c.name){if(h=r.get(c.name),!h)throw cr(1,{location:c});{const m=Object.keys(c.params||{}).filter(w=>!h.keys.find(b=>b.name===w));m.length&&ie(`Discarded invalid param(s) "${m.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}T=h.record.name,g=pe($l(d.params,h.keys.filter(m=>!m.optional).concat(h.parent?h.parent.keys.filter(m=>m.optional):[]).map(m=>m.name)),c.params&&$l(c.params,h.keys.map(m=>m.name))),v=h.stringify(g)}else if(c.path!=null)v=c.path,v.startsWith("/")||ie(`The Matcher cannot resolve relative paths but received "${v}". Unless you directly called \`matcher.resolve("${v}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),h=n.find(m=>m.re.test(v)),h&&(g=h.parse(v),T=h.record.name);else{if(h=d.name?r.get(d.name):n.find(m=>m.re.test(d.path)),!h)throw cr(1,{location:c,currentLocation:d});T=h.record.name,g=pe({},d.params,c.params),v=h.stringify(g)}const C=[];let S=h;for(;S;)C.unshift(S.record),S=S.parent;return{name:T,path:v,params:g,matched:C,meta:rv(C)}}e.forEach(c=>s(c));function u(){n.length=0,r.clear()}return{addRoute:s,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function $l(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Rl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:nv(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function nv(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function kl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function rv(e){return e.reduce((t,n)=>pe(t,n.meta),{})}function Ml(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Si(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function ov(e,t){for(const n of e.keys)if(!n.optional&&!t.keys.find(Si.bind(null,n)))return ie(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);for(const n of t.keys)if(!n.optional&&!e.keys.find(Si.bind(null,n)))return ie(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`)}function sv(e,t){t&&t.record.name&&!e.name&&!e.path&&ie(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`)}function iv(e,t){for(const n of t.keys)if(!e.keys.find(Si.bind(null,n)))return ie(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`)}function av(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Df(e,t[s])<0?r=s:n=s+1}const o=lv(e);return o&&(r=t.lastIndexOf(o,r-1),r<0&&ie(`Finding ancestor route "${o.record.path}" failed for "${e.record.path}"`)),r}function lv(e){let t=e;for(;t=t.parent;)if(Hf(t)&&Df(e,t)===0)return t}function Hf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function cv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(Af," "),i=s.indexOf("="),a=ar(i<0?s:s.slice(0,i)),l=i<0?null:ar(s.slice(i+1));if(a in t){let f=t[a];nt(f)||(f=t[a]=[f]),f.push(l)}else t[a]=l}return t}function Nl(e){let t="";for(let n in e){const r=e[n];if(n=Cy(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(nt(r)?r.map(s=>s&&bi(s)):[r&&bi(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function uv(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=nt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const fv=Symbol("router view location matched"),Il=Symbol("router view depth"),ma=Symbol("router"),Ff=Symbol("route location"),Ei=Symbol("router view location");function Sr(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function tn(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(cr(4,{from:n,to:t})):d instanceof Error?l(d):Go(d)?l(cr(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,dv(f,t,n)));let c=Promise.resolve(u);if(e.length<3&&(c=c.then(f)),e.length>2){const d=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
|
|
55
|
-
${e.toString()}
|
|
56
|
-
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof u=="object"&&"then"in u)c=c.then(h=>f._called?h:(ie(d),Promise.reject(new Error("Invalid navigation guard"))));else if(u!==void 0&&!f._called){ie(d),l(new Error("Invalid navigation guard"));return}}c.catch(d=>l(d))})}function dv(e,t,n){let r=0;return function(){r++===1&&ie(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),e._called=!0,r===1&&e.apply(null,arguments)}}function Vs(e,t,n,r,o=s=>s()){const s=[];for(const i of e){!i.components&&!i.children.length&&ie(`Record with path "${i.path}" is either missing a "component(s)" or "children" property.`);for(const a in i.components){let l=i.components[a];{if(!l||typeof l!="object"&&typeof l!="function")throw ie(`Component "${a}" in record with path "${i.path}" is not a valid component. Received "${String(l)}".`),new Error("Invalid route component");if("then"in l){ie(`Component "${a}" in record with path "${i.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const f=l;l=()=>f}else l.__asyncLoader&&!l.__warnedDefineAsync&&(l.__warnedDefineAsync=!0,ie(`Component "${a}" in record with path "${i.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Cf(l)){const u=(l.__vccOpts||l)[t];u&&s.push(tn(u,n,r,i,a,o))}else{let f=l();"catch"in f||(ie(`Component "${a}" in record with path "${i.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),f=Promise.resolve(f)),s.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const c=my(u)?u.default:u;i.mods[a]=u,i.components[a]=c;const h=(c.__vccOpts||c)[t];return h&&tn(h,n,r,i,a,o)()}))}}}return s}function Ll(e){const t=it(ma),n=it(Ff);let r=!1,o=null;const s=Qe(()=>{const u=st(e.to);return(!r||u!==o)&&(Go(u)||(r?ie(`Invalid value for prop "to" in useLink()
|
|
57
|
-
- to:`,u,`
|
|
58
|
-
- previous to:`,o,`
|
|
59
|
-
- props:`,e):ie(`Invalid value for prop "to" in useLink()
|
|
60
|
-
- to:`,u,`
|
|
61
|
-
- props:`,e)),o=u,r=!0),t.resolve(u)}),i=Qe(()=>{const{matched:u}=s.value,{length:c}=u,d=u[c-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(dn.bind(null,d));if(g>-1)return g;const v=jl(u[c-2]);return c>1&&jl(d)===v&&h[h.length-1].path!==v?h.findIndex(dn.bind(null,u[c-2])):g}),a=Qe(()=>i.value>-1&&gv(n.params,s.value.params)),l=Qe(()=>i.value>-1&&i.value===n.matched.length-1&&kf(n.params,s.value.params));function f(u={}){return mv(u)?t[st(e.replace)?"replace":"push"](st(e.to)).catch(Ir):Promise.resolve()}if(Ht){const u=Me();if(u){const c={route:s.value,isActive:a.value,isExactActive:l.value,error:null};u.__vrl_devtools=u.__vrl_devtools||[],u.__vrl_devtools.push(c),ia(()=>{c.route=s.value,c.isActive=a.value,c.isExactActive=l.value,c.error=Go(st(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:s,href:Qe(()=>s.value.href),isActive:a,isExactActive:l,navigate:f}}const hv=pn({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:Ll,setup(e,{slots:t}){const n=In(Ll(e)),{options:r}=it(ma),o=Qe(()=>({[Dl(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Dl(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:bs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),pv=hv;function mv(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 gv(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!nt(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function jl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Dl=(e,t,n)=>e??t??n,yv=pn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){_v();const r=it(Ei),o=Qe(()=>e.route||r.value),s=it(Il,0),i=Qe(()=>{let f=st(s);const{matched:u}=o.value;let c;for(;(c=u[f])&&!c.components;)f++;return f}),a=Qe(()=>o.value.matched[i.value]);Rr(Il,Qe(()=>i.value+1)),Rr(fv,a),Rr(Ei,o);const l=Xe();return Je(()=>[l.value,a.value,e.name],([f,u,c],[d,h,g])=>{u&&(u.instances[c]=f,h&&h!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),f&&u&&(!h||!dn(u,h)||!d)&&(u.enterCallbacks[c]||[]).forEach(v=>v(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,c=a.value,d=c&&c.components[u];if(!d)return Hl(n.default,{Component:d,route:f});const h=c.props[u],g=h?h===!0?f.params:typeof h=="function"?h(f):h:null,T=bs(d,pe({},g,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(c.instances[u]=null)},ref:l}));if(Ht&&T.ref){const C={depth:i.value,name:c.name,path:c.path,meta:c.meta};(nt(T.ref)?T.ref.map(m=>m.i):[T.ref.i]).forEach(m=>{m.__vrv_devtools=C})}return Hl(n.default,{Component:T,route:f})||T}}});function Hl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vv=yv;function _v(){const e=Me(),t=e.parent&&e.parent.type.name,n=e.parent&&e.parent.subTree&&e.parent.subTree.type;if(t&&(t==="KeepAlive"||t.includes("Transition"))&&typeof n=="object"&&n.name==="RouterView"){const r=t==="KeepAlive"?"keep-alive":"transition";ie(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
62
|
-
Use slot props instead:
|
|
63
|
-
|
|
64
|
-
<router-view v-slot="{ Component }">
|
|
65
|
-
<${r}>
|
|
66
|
-
<component :is="Component" />
|
|
67
|
-
</${r}>
|
|
68
|
-
</router-view>`)}}function Er(e,t){const n=pe({},e,{matched:e.matched.map(r=>$v(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function ho(e){return{_custom:{display:e}}}let bv=0;function wv(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=bv++;py({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},o=>{typeof o.now!="function"&&console.warn("[Vue Router]: You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),o.on.inspectComponent((u,c)=>{u.instanceData&&u.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:Er(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:u,componentInstance:c})=>{if(c.__vrv_devtools){const d=c.__vrv_devtools;u.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:Vf})}nt(c.__vrl_devtools)&&(c.__devtoolsApi=o,c.__vrl_devtools.forEach(d=>{let h=d.route.path,g=Kf,v="",T=0;d.error?(h=d.error,g=Cv,T=Ov):d.isExactActive?(g=Bf,v="This is exactly active"):d.isActive&&(g=Uf,v="This link is active"),u.tags.push({label:h,textColor:T,tooltip:v,backgroundColor:g})}))}),Je(t.currentRoute,()=>{l(),o.notifyComponentUpdate(),o.sendInspectorTree(a),o.sendInspectorState(a)});const s="router:navigations:"+r;o.addTimelineLayer({id:s,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((u,c)=>{o.addTimelineEvent({layerId:s,event:{title:"Error during Navigation",subtitle:c.fullPath,logType:"error",time:o.now(),data:{error:u},groupId:c.meta.__navigationId}})});let i=0;t.beforeEach((u,c)=>{const d={guard:ho("beforeEach"),from:Er(c,"Current Location during this navigation"),to:Er(u,"Target location")};Object.defineProperty(u.meta,"__navigationId",{value:i++}),o.addTimelineEvent({layerId:s,event:{time:o.now(),title:"Start of navigation",subtitle:u.fullPath,data:d,groupId:u.meta.__navigationId}})}),t.afterEach((u,c,d)=>{const h={guard:ho("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=ho("❌")):h.status=ho("✅"),h.from=Er(c,"Current Location during this navigation"),h.to=Er(u,"Target location"),o.addTimelineEvent({layerId:s,event:{title:"End of navigation",subtitle:u.fullPath,time:o.now(),data:h,logType:d?"warning":"default",groupId:u.meta.__navigationId}})});const a="router-inspector:"+r;o.addInspector({id:a,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!f)return;const u=f;let c=n.getRoutes().filter(d=>!d.parent||!d.parent.record.components);c.forEach(qf),u.filter&&(c=c.filter(d=>Ti(d,u.filter.toLowerCase()))),c.forEach(d=>Gf(d,t.currentRoute.value)),u.rootNodes=c.map(Wf)}let f;o.on.getInspectorTree(u=>{f=u,u.app===e&&u.inspectorId===a&&l()}),o.on.getInspectorState(u=>{if(u.app===e&&u.inspectorId===a){const d=n.getRoutes().find(h=>h.record.__vd_id===u.nodeId);d&&(u.state={options:Ev(d)})}}),o.sendInspectorTree(a),o.sendInspectorState(a)})}function Sv(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function Ev(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${Sv(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),Object.keys(e.record.meta).length&&n.push({editable:!1,key:"meta",value:e.record.meta}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const Vf=15485081,Uf=2450411,Bf=8702998,Tv=2282478,Kf=16486972,xv=6710886,Cv=16704226,Ov=12131356;function Wf(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:Tv}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Kf}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:Vf}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Bf}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:Uf}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:xv});let r=n.__vd_id;return r==null&&(r=String(Av++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(Wf)}}let Av=0;const Pv=/^\/(.*)\/([a-z]*)$/;function Gf(e,t){const n=t.matched.length&&dn(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>dn(r,e.record))),e.children.forEach(r=>Gf(r,t))}function qf(e){e.__vd_match=!1,e.children.forEach(qf)}function Ti(e,t){const n=String(e.re).match(Pv);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(i=>Ti(i,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const o=e.record.path.toLowerCase(),s=ar(o);return!t.startsWith("/")&&(s.includes(t)||o.includes(t))||s.startsWith(t)||o.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(i=>Ti(i,t))}function $v(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function Rv(e){const t=tv(e.routes,e),n=e.parseQuery||cv,r=e.stringifyQuery||Nl,o=e.history;if(!o)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const s=Sr(),i=Sr(),a=Sr(),l=Vi(zt);let f=zt;Ht&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ds.bind(null,x=>""+x),c=Ds.bind(null,Ay),d=Ds.bind(null,ar);function h(x,z){let G,Q;return Lf(x)?(G=t.getRecordMatcher(x),G||ie(`Parent route "${String(x)}" not found when adding child route`,z),Q=z):Q=x,t.addRoute(Q,G)}function g(x){const z=t.getRecordMatcher(x);z?t.removeRoute(z):ie(`Cannot remove non-existent route "${String(x)}"`)}function v(){return t.getRoutes().map(x=>x.record)}function T(x){return!!t.getRecordMatcher(x)}function C(x,z){if(z=pe({},z||l.value),typeof x=="string"){const p=Hs(n,x,z.path),y=t.resolve({path:p.path},z),E=o.createHref(p.fullPath);return E.startsWith("//")?ie(`Location "${x}" resolved to "${E}". A resolved location cannot start with multiple slashes.`):y.matched.length||ie(`No match found for location with path "${x}"`),pe(p,y,{params:d(y.params),hash:ar(p.hash),redirectedFrom:void 0,href:E})}if(!Go(x))return ie(`router.resolve() was passed an invalid location. This will fail in production.
|
|
69
|
-
- Location:`,x),C({});let G;if(x.path!=null)"params"in x&&!("name"in x)&&Object.keys(x.params).length&&ie(`Path "${x.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),G=pe({},x,{path:Hs(n,x.path,z.path).path});else{const p=pe({},x.params);for(const y in p)p[y]==null&&delete p[y];G=pe({},x,{params:c(p)}),z.params=c(z.params)}const Q=t.resolve(G,z),se=x.hash||"";se&&!se.startsWith("#")&&ie(`A \`hash\` should always start with the character "#". Replace "${se}" with "#${se}".`),Q.params=u(d(Q.params));const _e=Ry(r,pe({},x,{hash:xy(se),path:Q.path})),oe=o.createHref(_e);return oe.startsWith("//")?ie(`Location "${x}" resolved to "${oe}". A resolved location cannot start with multiple slashes.`):Q.matched.length||ie(`No match found for location with path "${x.path!=null?x.path:x}"`),pe({fullPath:_e,hash:se,query:r===Nl?uv(x.query):x.query||{}},Q,{redirectedFrom:void 0,href:oe})}function S(x){return typeof x=="string"?Hs(n,x,l.value.path):pe({},x)}function m(x,z){if(f!==x)return cr(8,{from:z,to:x})}function w(x){return D(x)}function b(x){return w(pe(S(x),{replace:!0}))}function A(x){const z=x.matched[x.matched.length-1];if(z&&z.redirect){const{redirect:G}=z;let Q=typeof G=="function"?G(x):G;if(typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=S(Q):{path:Q},Q.params={}),Q.path==null&&!("name"in Q))throw ie(`Invalid redirect found:
|
|
70
|
-
${JSON.stringify(Q,null,2)}
|
|
71
|
-
when navigating to "${x.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return pe({query:x.query,hash:x.hash,params:Q.path!=null?{}:x.params},Q)}}function D(x,z){const G=f=C(x),Q=l.value,se=x.state,_e=x.force,oe=x.replace===!0,p=A(G);if(p)return D(pe(S(p),{state:typeof p=="object"?pe({},se,p.state):se,force:_e,replace:oe}),z||G);const y=G;y.redirectedFrom=z;let E;return!_e&&El(r,Q,G)&&(E=cr(16,{to:y,from:Q}),be(Q,Q,!0,!1)),(E?Promise.resolve(E):I(y,Q)).catch(R=>Rt(R)?Rt(R,2)?R:ve(R):H(R,y,Q)).then(R=>{if(R){if(Rt(R,2))return El(r,C(R.to),y)&&z&&(z._count=z._count?z._count+1:1)>30?(ie(`Detected a possibly infinite redirection in a navigation guard when going from "${Q.fullPath}" to "${y.fullPath}". Aborting to avoid a Stack Overflow.
|
|
72
|
-
Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):D(pe({replace:oe},S(R.to),{state:typeof R.to=="object"?pe({},se,R.to.state):se,force:_e}),z||y)}else R=L(y,Q,!0,oe,se);return B(y,Q,R),R})}function U(x,z){const G=m(x,z);return G?Promise.reject(G):Promise.resolve()}function P(x){const z=Ue.values().next().value;return z&&typeof z.runWithContext=="function"?z.runWithContext(x):x()}function I(x,z){let G;const[Q,se,_e]=kv(x,z);G=Vs(Q.reverse(),"beforeRouteLeave",x,z);for(const p of Q)p.leaveGuards.forEach(y=>{G.push(tn(y,x,z))});const oe=U.bind(null,x,z);return G.push(oe),ft(G).then(()=>{G=[];for(const p of s.list())G.push(tn(p,x,z));return G.push(oe),ft(G)}).then(()=>{G=Vs(se,"beforeRouteUpdate",x,z);for(const p of se)p.updateGuards.forEach(y=>{G.push(tn(y,x,z))});return G.push(oe),ft(G)}).then(()=>{G=[];for(const p of _e)if(p.beforeEnter)if(nt(p.beforeEnter))for(const y of p.beforeEnter)G.push(tn(y,x,z));else G.push(tn(p.beforeEnter,x,z));return G.push(oe),ft(G)}).then(()=>(x.matched.forEach(p=>p.enterCallbacks={}),G=Vs(_e,"beforeRouteEnter",x,z,P),G.push(oe),ft(G))).then(()=>{G=[];for(const p of i.list())G.push(tn(p,x,z));return G.push(oe),ft(G)}).catch(p=>Rt(p,8)?p:Promise.reject(p))}function B(x,z,G){a.list().forEach(Q=>P(()=>Q(x,z,G)))}function L(x,z,G,Q,se){const _e=m(x,z);if(_e)return _e;const oe=z===zt,p=Ht?history.state:{};G&&(Q||oe?o.replace(x.fullPath,pe({scroll:oe&&p&&p.scroll},se)):o.push(x.fullPath,se)),l.value=x,be(x,z,G,oe),ve()}let J;function _(){J||(J=o.listen((x,z,G)=>{if(!mn.listening)return;const Q=C(x),se=A(Q);if(se){D(pe(se,{replace:!0}),Q).catch(Ir);return}f=Q;const _e=l.value;Ht&&jy(xl(_e.fullPath,G.delta),Ss()),I(Q,_e).catch(oe=>Rt(oe,12)?oe:Rt(oe,2)?(D(oe.to,Q).then(p=>{Rt(p,20)&&!G.delta&&G.type===lr.pop&&o.go(-1,!1)}).catch(Ir),Promise.reject()):(G.delta&&o.go(-G.delta,!1),H(oe,Q,_e))).then(oe=>{oe=oe||L(Q,_e,!1),oe&&(G.delta&&!Rt(oe,8)?o.go(-G.delta,!1):G.type===lr.pop&&Rt(oe,20)&&o.go(-1,!1)),B(Q,_e,oe)}).catch(Ir)}))}let O=Sr(),k=Sr(),W;function H(x,z,G){ve(x);const Q=k.list();return Q.length?Q.forEach(se=>se(x,z,G)):(ie("uncaught error during route navigation:"),console.error(x)),Promise.reject(x)}function X(){return W&&l.value!==zt?Promise.resolve():new Promise((x,z)=>{O.add([x,z])})}function ve(x){return W||(W=!x,_(),O.list().forEach(([z,G])=>x?G(x):z()),O.reset()),x}function be(x,z,G,Q){const{scrollBehavior:se}=e;if(!Ht||!se)return Promise.resolve();const _e=!G&&Dy(xl(x.fullPath,0))||(Q||!G)&&history.state&&history.state.scroll||null;return jn().then(()=>se(x,z,_e)).then(oe=>oe&&Ly(oe)).catch(oe=>H(oe,x,z))}const Ee=x=>o.go(x);let ke;const Ue=new Set,mn={currentRoute:l,listening:!0,addRoute:h,removeRoute:g,clearRoutes:t.clearRoutes,hasRoute:T,getRoutes:v,resolve:C,options:e,push:w,replace:b,go:Ee,back:()=>Ee(-1),forward:()=>Ee(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:k.add,isReady:X,install(x){const z=this;x.component("RouterLink",pv),x.component("RouterView",vv),x.config.globalProperties.$router=z,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>st(l)}),Ht&&!ke&&l.value===zt&&(ke=!0,w(o.location).catch(se=>{ie("Unexpected error when starting the router:",se)}));const G={};for(const se in zt)Object.defineProperty(G,se,{get:()=>l.value[se],enumerable:!0});x.provide(ma,z),x.provide(Ff,Fi(G)),x.provide(Ei,l);const Q=x.unmount;Ue.add(x),x.unmount=function(){Ue.delete(x),Ue.size<1&&(f=zt,J&&J(),J=null,l.value=zt,ke=!1,W=!1),Q()},Ht&&wv(x,z,t)}};function ft(x){return x.reduce((z,G)=>z.then(()=>P(G)),Promise.resolve())}return mn}function kv(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(f=>dn(f,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>dn(f,l))||o.push(l))}return[n,r,o]}function Mv(){return zf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function zf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Nv=typeof Proxy=="function",Iv="devtools-plugin:setup",Lv="plugin:settings:set";let Bn,xi;function jv(){var e;return Bn!==void 0||(typeof window<"u"&&window.performance?(Bn=!0,xi=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Bn=!0,xi=globalThis.perf_hooks.performance):Bn=!1),Bn}function Dv(){return jv()?xi.now():Date.now()}class Hv{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Dv()}},n&&n.on(Lv,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(f=>{this.targetQueue.push({method:a,args:l,resolve:f})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Fv(e,t){const n=e,r=zf(),o=Mv(),s=Nv&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Iv,e,t);else{const i=s?new Hv(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
|
73
|
-
* vuex v4.1.0
|
|
74
|
-
* (c) 2022 Evan You
|
|
75
|
-
* @license MIT
|
|
76
|
-
*/var Jf="store";function Vv(e){return e===void 0&&(e=null),it(e!==null?e:Jf)}function Hn(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Yf(e){return e!==null&&typeof e=="object"}function Uv(e){return e&&typeof e.then=="function"}function wt(e,t){if(!e)throw new Error("[vuex] "+t)}function Bv(e,t){return function(){return e(t)}}function Qf(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Xf(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;Es(e,n,[],e._modules.root,!0),ga(e,n,t)}function ga(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=wc(!0);l.run(function(){Hn(s,function(f,u){i[u]=Bv(f,e),a[u]=Qe(function(){return i[u]()}),Object.defineProperty(e.getters,u,{get:function(){return a[u].value},enumerable:!0})})}),e._state=In({data:t}),e._scope=l,e.strict&&zv(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function Es(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i]&&console.error("[vuex] duplicate namespace "+i+" for the namespaced module "+n.join("/")),e._modulesNamespaceMap[i]=r),!s&&!o){var a=ya(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){l in a&&console.warn('[vuex] state field "'+l+'" was overridden by a module with the same name at "'+n.join(".")+'"'),a[l]=r.state})}var f=r.context=Kv(e,i,n);r.forEachMutation(function(u,c){var d=i+c;Wv(e,d,u,f)}),r.forEachAction(function(u,c){var d=u.root?c:i+c,h=u.handler||u;Gv(e,d,h,f)}),r.forEachGetter(function(u,c){var d=i+c;qv(e,d,u,f)}),r.forEachChild(function(u,c){Es(e,t,n.concat(c),u,o)})}function Kv(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=qo(s,i,a),f=l.payload,u=l.options,c=l.type;if((!u||!u.root)&&(c=t+c,!e._actions[c])){console.error("[vuex] unknown local action type: "+l.type+", global type: "+c);return}return e.dispatch(c,f)},commit:r?e.commit:function(s,i,a){var l=qo(s,i,a),f=l.payload,u=l.options,c=l.type;if((!u||!u.root)&&(c=t+c,!e._mutations[c])){console.error("[vuex] unknown local mutation type: "+l.type+", global type: "+c);return}e.commit(c,f,u)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Zf(e,t)}},state:{get:function(){return ya(e.state,n)}}}),o}function Zf(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Wv(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function Gv(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return Uv(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function qv(e,t,n,r){if(e._wrappedGetters[t]){console.error("[vuex] duplicate getter key: "+t);return}e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)}}function zv(e){Je(function(){return e._state.data},function(){wt(e._committing,"do not mutate vuex store state outside mutation handlers.")},{deep:!0,flush:"sync"})}function ya(e,t){return t.reduce(function(n,r){return n[r]},e)}function qo(e,t,n){return Yf(e)&&e.type&&(n=t,t=e,e=e.type),wt(typeof e=="string","expects string as the type, but found "+typeof e+"."),{type:e,payload:t,options:n}}var Jv="vuex bindings",Fl="vuex:mutations",Us="vuex:actions",Kn="vuex",Yv=0;function Qv(e,t){Fv({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Jv]},function(n){n.addTimelineLayer({id:Fl,label:"Vuex Mutations",color:Vl}),n.addTimelineLayer({id:Us,label:"Vuex Actions",color:Vl}),n.addInspector({id:Kn,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Kn)if(r.filter){var o=[];rd(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[nd(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Kn){var o=r.nodeId;Zf(t,o),r.state=e_(n_(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Kn){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,o){var s={};r.payload&&(s.payload=r.payload),s.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(Kn),n.sendInspectorState(Kn),n.addTimelineEvent({layerId:Fl,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,o){var s={};r.payload&&(s.payload=r.payload),r._id=Yv++,r._time=Date.now(),s.state=o,n.addTimelineEvent({layerId:Us,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,o){var s={},i=Date.now()-r._time;s.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(s.payload=r.payload),s.state=o,n.addTimelineEvent({layerId:Us,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var Vl=8702998,Xv=6710886,Zv=16777215,ed={label:"namespaced",textColor:Zv,backgroundColor:Xv};function td(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function nd(e,t){return{id:t||"root",label:td(t),tags:e.namespaced?[ed]:[],children:Object.keys(e._children).map(function(n){return nd(e._children[n],t+n+"/")})}}function rd(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[ed]:[]}),Object.keys(t._children).forEach(function(o){rd(e,t._children[o],n,r+o+"/")})}function e_(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var s=t_(t);o.getters=Object.keys(s).map(function(i){return{key:i.endsWith("/")?td(i):i,editable:!1,value:Ci(function(){return s[i]})}})}return o}function t_(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var o=t,s=r.pop();r.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[s]=Ci(function(){return e[n]})}else t[n]=Ci(function(){return e[n]})}),t}function n_(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,o,s){var i=r[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+t+'".');return s===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Ci(e){try{return e()}catch(t){return t}}var St=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},od={namespaced:{configurable:!0}};od.namespaced.get=function(){return!!this._rawModule.namespaced};St.prototype.addChild=function(t,n){this._children[t]=n};St.prototype.removeChild=function(t){delete this._children[t]};St.prototype.getChild=function(t){return this._children[t]};St.prototype.hasChild=function(t){return t in this._children};St.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};St.prototype.forEachChild=function(t){Hn(this._children,t)};St.prototype.forEachGetter=function(t){this._rawModule.getters&&Hn(this._rawModule.getters,t)};St.prototype.forEachAction=function(t){this._rawModule.actions&&Hn(this._rawModule.actions,t)};St.prototype.forEachMutation=function(t){this._rawModule.mutations&&Hn(this._rawModule.mutations,t)};Object.defineProperties(St.prototype,od);var Fn=function(t){this.register([],t,!1)};Fn.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Fn.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};Fn.prototype.update=function(t){sd([],this.root,t)};Fn.prototype.register=function(t,n,r){var o=this;r===void 0&&(r=!0),id(t,n);var s=new St(n,r);if(t.length===0)this.root=s;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],s)}n.modules&&Hn(n.modules,function(a,l){o.register(t.concat(l),a,r)})};Fn.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],o=n.getChild(r);if(!o){console.warn("[vuex] trying to unregister module '"+r+"', which is not registered");return}o.runtime&&n.removeChild(r)};Fn.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function sd(e,t,n){if(id(e,n),t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r)){console.warn("[vuex] trying to add a new module '"+r+"' on hot reloading, manual reload is needed");return}sd(e.concat(r),t.getChild(r),n.modules[r])}}var Ul={assert:function(e){return typeof e=="function"},expected:"function"},r_={assert:function(e){return typeof e=="function"||typeof e=="object"&&typeof e.handler=="function"},expected:'function or object with "handler" function'},Bl={getters:Ul,mutations:Ul,actions:r_};function id(e,t){Object.keys(Bl).forEach(function(n){if(t[n]){var r=Bl[n];Hn(t[n],function(o,s){wt(r.assert(o),o_(e,n,s,o,r.expected))})}})}function o_(e,t,n,r,o){var s=t+" should be "+o+' but "'+t+"."+n+'"';return e.length>0&&(s+=' in module "'+e.join(".")+'"'),s+=" is "+JSON.stringify(r)+".",s}function s_(e){return new Ze(e)}var Ze=function e(t){var n=this;t===void 0&&(t={}),wt(typeof Promise<"u","vuex requires a Promise polyfill in this browser."),wt(this instanceof e,"store must be called with the new operator.");var r=t.plugins;r===void 0&&(r=[]);var o=t.strict;o===void 0&&(o=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Fn(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var i=this,a=this,l=a.dispatch,f=a.commit;this.dispatch=function(d,h){return l.call(i,d,h)},this.commit=function(d,h,g){return f.call(i,d,h,g)},this.strict=o;var u=this._modules.root.state;Es(this,u,[],this._modules.root),ga(this,u),r.forEach(function(c){return c(n)})},va={state:{configurable:!0}};Ze.prototype.install=function(t,n){t.provide(n||Jf,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!0;r&&Qv(t,this)};va.state.get=function(){return this._state.data};va.state.set=function(e){wt(!1,"use store.replaceState() to explicit replace store state.")};Ze.prototype.commit=function(t,n,r){var o=this,s=qo(t,n,r),i=s.type,a=s.payload,l=s.options,f={type:i,payload:a},u=this._mutations[i];if(!u){console.error("[vuex] unknown mutation type: "+i);return}this._withCommit(function(){u.forEach(function(d){d(a)})}),this._subscribers.slice().forEach(function(c){return c(f,o.state)}),l&&l.silent&&console.warn("[vuex] mutation type: "+i+". Silent option has been removed. Use the filter functionality in the vue-devtools")};Ze.prototype.dispatch=function(t,n){var r=this,o=qo(t,n),s=o.type,i=o.payload,a={type:s,payload:i},l=this._actions[s];if(!l){console.error("[vuex] unknown action type: "+s);return}try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,r.state)})}catch(u){console.warn("[vuex] error in before action subscribers: "),console.error(u)}var f=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,c){f.then(function(d){try{r._actionSubscribers.filter(function(h){return h.after}).forEach(function(h){return h.after(a,r.state)})}catch(h){console.warn("[vuex] error in after action subscribers: "),console.error(h)}u(d)},function(d){try{r._actionSubscribers.filter(function(h){return h.error}).forEach(function(h){return h.error(a,r.state,d)})}catch(h){console.warn("[vuex] error in error action subscribers: "),console.error(h)}c(d)})})};Ze.prototype.subscribe=function(t,n){return Qf(t,this._subscribers,n)};Ze.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Qf(r,this._actionSubscribers,n)};Ze.prototype.watch=function(t,n,r){var o=this;return wt(typeof t=="function","store.watch only accepts a function."),Je(function(){return t(o.state,o.getters)},n,Object.assign({},r))};Ze.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};Ze.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),wt(Array.isArray(t),"module path must be a string or an Array."),wt(t.length>0,"cannot register the root module by using registerModule."),this._modules.register(t,n),Es(this,this.state,t,this._modules.get(t),r.preserveState),ga(this,this.state)};Ze.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),wt(Array.isArray(t),"module path must be a string or an Array."),this._modules.unregister(t),this._withCommit(function(){var r=ya(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),Xf(this)};Ze.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),wt(Array.isArray(t),"module path must be a string or an Array."),this._modules.isRegistered(t)};Ze.prototype.hotUpdate=function(t){this._modules.update(t),Xf(this,!0)};Ze.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(Ze.prototype,va);var i_=ld(function(e,t){var n={};return _a(t)||console.error("[vuex] mapState: mapper parameter must be either an Array or an Object"),ad(t).forEach(function(r){var o=r.key,s=r.val;n[o]=function(){var a=this.$store.state,l=this.$store.getters;if(e){var f=cd(this.$store,"mapState",e);if(!f)return;a=f.context.state,l=f.context.getters}return typeof s=="function"?s.call(this,a,l):a[s]},n[o].vuex=!0}),n}),a_=ld(function(e,t){var n={};return _a(t)||console.error("[vuex] mapMutations: mapper parameter must be either an Array or an Object"),ad(t).forEach(function(r){var o=r.key,s=r.val;n[o]=function(){for(var a=[],l=arguments.length;l--;)a[l]=arguments[l];var f=this.$store.commit;if(e){var u=cd(this.$store,"mapMutations",e);if(!u)return;f=u.context.commit}return typeof s=="function"?s.apply(this,[f].concat(a)):f.apply(this.$store,[s].concat(a))}}),n});function ad(e){return _a(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function _a(e){return Array.isArray(e)||Yf(e)}function ld(e){return function(t,n){return typeof t!="string"?(n=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,n)}}function cd(e,t,n){var r=e._modulesNamespaceMap[n];return r||console.error("[vuex] module namespace not found in "+t+"(): "+n),r}const ba=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},l_=pn({name:"Error",async prefetch({store:e,isClient:t},n,r){e.commit("SET_PAGE",{title:"Error page. Something went wrong",htmlAttrs:{lang:"en"}}),e.commit("MERGE_CONTEXT",{statusCode:404})},props:{code:{type:String,default:()=>"404"}},created(){this.mergeContext({statusCode:this.code})},methods:{...a_({mergeContext:"MERGE_CONTEXT"})}}),c_={class:"error-page"},u_={class:"code"};function f_(e,t,n,r,o,s){const i=Zi("RouterLink");return un(),ys("div",c_,[Gr("div",u_,ns(e.code),1),t[1]||(t[1]=Gr("div",{class:"content"},"Oops. Something went wrong",-1)),ye(i,{class:"go-home",to:"/",underline:""},{default:us(()=>t[0]||(t[0]=[vs("Go home")])),_:1})])}const d_=ba(l_,[["render",f_],["__file","/Volumes/MacMiniAPFS/projects/packages/vite-node-template/template-vite-vue3-mts/src/frontend/views/Error/Error.vue"]]),h_=(e,t)=>async({store:n,isFetch:r},o,s)=>{var i,a,l;if(r){const{body:f}=await n.dispatch("fetch",[{lang:n.state.toLang,route:o.fullPath,...o.query||{},...e||{}},{...(a=(i=n.state)==null?void 0:i.Customer)!=null&&a.jwt?{mergeHeaders:{authorization:`Bearer ${n.state.Customer.jwt}`}}:{}}]);n.commit("SET_PAGE",((l=f.data)==null?void 0:l.page)||{}),n.commit("MERGE_CONTEXT",{memcache:e.memcache})}},p_=pn({name:"Index",components:{},prefetch:h_({controller:"Index"}),computed:{...i_(["page","context"])}}),m_={class:"index"};function g_(e,t,n,r,o,s){return un(),ys("h1",m_,ns(e.page.h1),1)}const y_=ba(p_,[["render",g_],["__file","/Volumes/MacMiniAPFS/projects/packages/vite-node-template/template-vite-vue3-mts/src/frontend/views/Index/Index.vue"]]),v_=e=>Rv({history:e.isClient?Uy():By(),routes:[{path:"/:lang(ua|ru|en)?",component:y_,name:"Index"},{path:"/:code(400|401|402|403|404)",name:"Error",component:d_,props:!0},{path:"/:path(.*)",redirect:"/404"}],async scrollBehavior(t,n,r){var o;if((o=t.query)!=null&&o.el)return{el:t.query.el};if(t.meta.scrollToTop)return{left:0,top:0}}}),Kl=(e,t="ru",n="ru")=>{e=(e||"").replace(/\/(ru|ua|en)(\/|$)/,"/");const r=(t===n?"":"/"+t)+e;return r==="/"?r:r.replace(/\/$/,"")};var __=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ud(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function b_(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var wa=Object.defineProperty,w_=Object.getOwnPropertyDescriptor,S_=Object.getOwnPropertyNames,E_=Object.prototype.hasOwnProperty,T_=(e,t)=>{for(var n in t)wa(e,n,{get:t[n],enumerable:!0})},x_=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of S_(t))!E_.call(e,o)&&o!==n&&wa(e,o,{get:()=>t[o],enumerable:!(r=w_(t,o))||r.enumerable});return e},C_=e=>x_(wa({},"__esModule",{value:!0}),e),fd={};T_(fd,{chunks:()=>O_,clean:()=>ro,cloneClass:()=>A_,cloneDeep:()=>zo,cookieParse:()=>B_,cookieStringify:()=>K_,debounce:()=>$_,diff:()=>hd,difference:()=>dd,groupBy:()=>R_,intersection:()=>k_,isBrowser:()=>M_,isClass:()=>N_,isEmpty:()=>I_,isFunction:()=>L_,isObject:()=>kn,merge:()=>pd,omit:()=>j_,pick:()=>D_,pickBy:()=>H_,pull:()=>F_,pullAll:()=>md,rand:()=>V_,replace:()=>gd,throttle:()=>U_});var Bs=C_(fd),O_=(e,t)=>{const n=e.length,r=[];for(let o=0;o<n;o+=t)r.push(e.slice(o,o+t));return r};function ro(e,t=[void 0,null,""]){return Array.isArray(e)?e.filter(n=>!t.includes(n)):(e=Object.assign({},e),Object.keys(e).map(n=>{typeof e[n]=="object"&&e[n]!==null&&!(e[n]instanceof Date)?e[n]=ro(e[n],t):t.includes(e[n])&&delete e[n]}),e)}var A_=e=>{class t extends e{constructor(...r){super(...r)}}return Object.defineProperty(t,"name",{value:e.name}),t},P_=(e,t)=>{const n=Object.keys(e),r=new Array(n.length);for(let o=0;o<n.length;o++){const s=n[o],i=e[s];typeof i!="object"||i===null?r[s]=i:i instanceof Date?r[s]=new Date(i):r[s]=t(i)}return r};function zo(e){if(typeof e!="object"||e===null)return e;if(e instanceof Date)return new Date(e);if(Array.isArray(e))return P_(e,zo);const t={};for(const n in e){if(Object.hasOwnProperty.call(e,n)===!1)continue;const r=e[n];typeof r!="object"||r===null?t[n]=r:r instanceof Date?t[n]=new Date(r):t[n]=zo(r)}return t}var $_=(e,t=0,n=!1)=>{let r;const o=function(){const s=this,i=arguments;if(r&&clearTimeout(r),r=setTimeout(function(){if(r=null,!n)return e.apply(s,i)},t),n&&!r)return e.apply(s,i)};return o.cancel=()=>{r&&clearTimeout(r)},o},kn=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),dd=(e,t)=>e.filter(n=>!t.includes(n));function hd(...e){return e=e.map(t=>Object.assign({},t)),ro(e.reduce((t,n)=>(Object.keys(n).forEach(r=>{if(t&&t.hasOwnProperty(r)){const o=t[r],s=n[r];Array.isArray(o)&&Array.isArray(s)?(t[r]=dd(o,s),t[r]=t[r].length?t[r]:void 0):kn(o)&&kn(s)&&(t[r]=hd(o,s))}}),t),e.shift()),[void 0])}var R_=(e,t)=>e.reduce((n,r)=>{const o=typeof t=="function"?t(r):r[t];return n.hasOwnProperty(o)||(n[o]=[]),n[o].push(r),n},{}),k_=(...e)=>e.reduce((t,n)=>t.filter(r=>n.includes(r))),M_=()=>new Function("try {return this===window;}catch(e){ return false;}")(),N_=e=>{if(typeof e=="function"){const t=Reflect.ownKeys(e);if(!t.includes("arguments")&&!t.includes("caller")&&t.includes("prototype"))return!0}return!1},I_=e=>[Object,Array].includes((e||{}).constructor)&&!Object.entries(e||{}).length,L_=e=>typeof e=="function"||!1;function pd(...e){return e=e.map(t=>Object.assign({},t)),ro(e.reduce((t,n)=>(Object.keys(n).forEach(r=>{if(t){const o=t[r],s=n[r];Array.isArray(o)&&Array.isArray(s)?t[r]=[...new Set(o.concat(...s))]:kn(o)&&kn(s)?t[r]=pd(o,s):t[r]=s}}),t),e.shift()),[void 0])}var j_=(e,t)=>Object.keys(e).filter(n=>t.indexOf(n)<0).reduce((n,r)=>Object.assign(n,{[r]:e[r]}),{}),D_=(e,t)=>Object.assign({},...t.map(n=>({[n]:e[n]}))),H_=(e,t=n=>!!n)=>{if(e===null)return e;const n=Object.entries(e).filter(([r,o])=>t(o,r)).map(([r,o])=>({[r]:o}));return n.length?Object.assign({},...n):{}},md=(e,t)=>{const n=new Set(t);return e.filter(r=>!n.has(r))},F_=(e,...t)=>md(e,t),V_=(e,t)=>Math.floor(Math.random()*(Math.floor(t)-Math.ceil(e)+1))+Math.ceil(e);function gd(...e){return e=e.map(t=>Object.assign({},t)),ro(e.reduce((t,n)=>(Object.keys(n).forEach(r=>{if(t){const o=t[r],s=n[r];Array.isArray(o)&&Array.isArray(s)?t[r]=zo(s):kn(o)&&kn(s)?t[r]=gd(o,s):t[r]=s}}),t),e.shift()),[void 0])}var U_=(e,t=0,n=!1)=>{let r=null,o=!0;return function(){const s=arguments,i=n&&o,a=()=>{e.apply(this,s),r=null};i&&(o=!1,a()),r||(r=setTimeout(a,t))}},B_=e=>e?e.split(/; */).reduce((t,n)=>{if(n==="")return t;const r=n.indexOf("="),o=r>0?n.slice(0,r):n;let s=r>0?n.slice(r+1):null;if(s!=null)try{s=decodeURIComponent(s)}catch{}return t[o]=s,t},{}):{},K_=e=>Object.entries(e).map(([t,n])=>`${t}=${encodeURIComponent(n)}`).join("; "),Oi={exports:{}};(function(e,t){var n=typeof self<"u"?self:__,r=function(){function s(){this.fetch=!1,this.DOMException=n.DOMException}return s.prototype=n,new s}();(function(s){(function(i){var a={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function l(_){return _&&DataView.prototype.isPrototypeOf(_)}if(a.arrayBuffer)var f=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(_){return _&&f.indexOf(Object.prototype.toString.call(_))>-1};function c(_){if(typeof _!="string"&&(_=String(_)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(_))throw new TypeError("Invalid character in header field name");return _.toLowerCase()}function d(_){return typeof _!="string"&&(_=String(_)),_}function h(_){var O={next:function(){var k=_.shift();return{done:k===void 0,value:k}}};return a.iterable&&(O[Symbol.iterator]=function(){return O}),O}function g(_){this.map={},_ instanceof g?_.forEach(function(O,k){this.append(k,O)},this):Array.isArray(_)?_.forEach(function(O){this.append(O[0],O[1])},this):_&&Object.getOwnPropertyNames(_).forEach(function(O){this.append(O,_[O])},this)}g.prototype.append=function(_,O){_=c(_),O=d(O);var k=this.map[_];this.map[_]=k?k+", "+O:O},g.prototype.delete=function(_){delete this.map[c(_)]},g.prototype.get=function(_){return _=c(_),this.has(_)?this.map[_]:null},g.prototype.has=function(_){return this.map.hasOwnProperty(c(_))},g.prototype.set=function(_,O){this.map[c(_)]=d(O)},g.prototype.forEach=function(_,O){for(var k in this.map)this.map.hasOwnProperty(k)&&_.call(O,this.map[k],k,this)},g.prototype.keys=function(){var _=[];return this.forEach(function(O,k){_.push(k)}),h(_)},g.prototype.values=function(){var _=[];return this.forEach(function(O){_.push(O)}),h(_)},g.prototype.entries=function(){var _=[];return this.forEach(function(O,k){_.push([k,O])}),h(_)},a.iterable&&(g.prototype[Symbol.iterator]=g.prototype.entries);function v(_){if(_.bodyUsed)return Promise.reject(new TypeError("Already read"));_.bodyUsed=!0}function T(_){return new Promise(function(O,k){_.onload=function(){O(_.result)},_.onerror=function(){k(_.error)}})}function C(_){var O=new FileReader,k=T(O);return O.readAsArrayBuffer(_),k}function S(_){var O=new FileReader,k=T(O);return O.readAsText(_),k}function m(_){for(var O=new Uint8Array(_),k=new Array(O.length),W=0;W<O.length;W++)k[W]=String.fromCharCode(O[W]);return k.join("")}function w(_){if(_.slice)return _.slice(0);var O=new Uint8Array(_.byteLength);return O.set(new Uint8Array(_)),O.buffer}function b(){return this.bodyUsed=!1,this._initBody=function(_){this._bodyInit=_,_?typeof _=="string"?this._bodyText=_:a.blob&&Blob.prototype.isPrototypeOf(_)?this._bodyBlob=_:a.formData&&FormData.prototype.isPrototypeOf(_)?this._bodyFormData=_:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(_)?this._bodyText=_.toString():a.arrayBuffer&&a.blob&&l(_)?(this._bodyArrayBuffer=w(_.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(_)||u(_))?this._bodyArrayBuffer=w(_):this._bodyText=_=Object.prototype.toString.call(_):this._bodyText="",this.headers.get("content-type")||(typeof _=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(_)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var _=v(this);if(_)return _;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?v(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(C)}),this.text=function(){var _=v(this);if(_)return _;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(m(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(P)}),this.json=function(){return this.text().then(JSON.parse)},this}var A=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function D(_){var O=_.toUpperCase();return A.indexOf(O)>-1?O:_}function U(_,O){O=O||{};var k=O.body;if(_ instanceof U){if(_.bodyUsed)throw new TypeError("Already read");this.url=_.url,this.credentials=_.credentials,O.headers||(this.headers=new g(_.headers)),this.method=_.method,this.mode=_.mode,this.signal=_.signal,!k&&_._bodyInit!=null&&(k=_._bodyInit,_.bodyUsed=!0)}else this.url=String(_);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new g(O.headers)),this.method=D(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(k)}U.prototype.clone=function(){return new U(this,{body:this._bodyInit})};function P(_){var O=new FormData;return _.trim().split("&").forEach(function(k){if(k){var W=k.split("="),H=W.shift().replace(/\+/g," "),X=W.join("=").replace(/\+/g," ");O.append(decodeURIComponent(H),decodeURIComponent(X))}}),O}function I(_){var O=new g,k=_.replace(/\r?\n[\t ]+/g," ");return k.split(/\r?\n/).forEach(function(W){var H=W.split(":"),X=H.shift().trim();if(X){var ve=H.join(":").trim();O.append(X,ve)}}),O}b.call(U.prototype);function B(_,O){O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in O?O.statusText:"OK",this.headers=new g(O.headers),this.url=O.url||"",this._initBody(_)}b.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new g(this.headers),url:this.url})},B.error=function(){var _=new B(null,{status:0,statusText:""});return _.type="error",_};var L=[301,302,303,307,308];B.redirect=function(_,O){if(L.indexOf(O)===-1)throw new RangeError("Invalid status code");return new B(null,{status:O,headers:{location:_}})},i.DOMException=s.DOMException;try{new i.DOMException}catch{i.DOMException=function(O,k){this.message=O,this.name=k;var W=Error(O);this.stack=W.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function J(_,O){return new Promise(function(k,W){var H=new U(_,O);if(H.signal&&H.signal.aborted)return W(new i.DOMException("Aborted","AbortError"));var X=new XMLHttpRequest;function ve(){X.abort()}X.onload=function(){var be={status:X.status,statusText:X.statusText,headers:I(X.getAllResponseHeaders()||"")};be.url="responseURL"in X?X.responseURL:be.headers.get("X-Request-URL");var Ee="response"in X?X.response:X.responseText;k(new B(Ee,be))},X.onerror=function(){W(new TypeError("Network request failed"))},X.ontimeout=function(){W(new TypeError("Network request failed"))},X.onabort=function(){W(new i.DOMException("Aborted","AbortError"))},X.open(H.method,H.url,!0),H.credentials==="include"?X.withCredentials=!0:H.credentials==="omit"&&(X.withCredentials=!1),"responseType"in X&&a.blob&&(X.responseType="blob"),H.headers.forEach(function(be,Ee){X.setRequestHeader(Ee,be)}),H.signal&&(H.signal.addEventListener("abort",ve),X.onreadystatechange=function(){X.readyState===4&&H.signal.removeEventListener("abort",ve)}),X.send(typeof H._bodyInit>"u"?null:H._bodyInit)})}return J.polyfill=!0,s.fetch||(s.fetch=J,s.Headers=g,s.Request=U,s.Response=B),i.Headers=g,i.Request=U,i.Response=B,i.fetch=J,Object.defineProperty(i,"__esModule",{value:!0}),i})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;t=o.fetch,t.default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t})(Oi,Oi.exports);var W_=Oi.exports;const G_=ud(W_);class Wl extends Error{constructor(t="",n=0,r=404){super();let o={};typeof t=="string"?(o.message=t,o.code=n,o.statusCode=r):o=t,this.statusCode=o.statusCode??404,this.code=o.code??0,this.message=o.message??"",this.data=o.data??{},this.headers=o.headers??{}}getMessage(){return this.message}getStatusCode(){return this.statusCode}getCode(){return this.code}getData(){return this.data}getHeaders(){return this.headers}}const q_=async({state:e,commit:t,getters:n,dispatch:r},[o={},s])=>{var a,l,f;const i={};try{const u=typeof FormData<"u"&&o instanceof FormData,c=e.context.headers||{};u?o.has("lang")||o.append("lang",e.lang):o.lang||(o.lang=e.lang),Bs.isBrowser()?["host","connection","user-agent","referer","accept-encoding","cookie","sec-ch-ua","sec-ch-ua-mobile","sec-fetch-site","sec-fetch-mode","sec-fetch-dest","sec-fetch-user","sec-ch-ua-platform"].map(T=>delete c[T]):c["x-forwarded-for"]=e.context.ip;const d={url:`${n.getBaseUrl}/web`,method:"get",preloader:!0,error:!0,compress:!0,headers:{...c,...u?{}:{"content-type":"application/json"}}};s=Object.assign({},d,s||{}),s!=null&&s.preloader&&t("SET_LOADING",!0),s.mergeHeaders&&(s.headers=Object.assign(s.headers||{},s.mergeHeaders),delete s.mergeHeaders);const h=new URL(s.url);["get","head"].includes((a=s==null?void 0:s.method)==null?void 0:a.toLowerCase())?h.search=new URLSearchParams(o).toString():u?s.body=o:s.body=JSON.stringify(o);const g=await G_(h.toString(),s);g.headers.forEach((T,C)=>i[C]=T);const v=await g.json();if(!g.ok)throw new Wl({code:v.code||0,statusCode:g.status,message:"Api request error",headers:i,data:v});return{body:v,response:g}}catch(u){if(u instanceof TypeError&&Bs.isBrowser()&&t("SET_NOTIFICATION",{type:"danger",text:"Check your internet connection. No contact)"}),u instanceof Wl){const c=u.getStatusCode();if(c===400&&(s!=null&&s.error)&&t("SET_NOTIFICATION",{type:"danger",text:u.getData().error}),c===404&&(s!=null&&s.error)&&(Bs.isBrowser()?t("SET_NOTIFICATION",{type:"danger",text:"Something went wrong. We are working hard to fix this)"}):await r("redirect",{url:"/404",code:307})),((l=s==null?void 0:s.method)==null?void 0:l.toLowerCase())==="get"&&c===410){const d=(f=u.getHeaders())==null?void 0:f.location;d&&await r("redirect",{url:d,code:307})}}throw u}finally{s!=null&&s.preloader&&t("SET_LOADING",!1)}},z_=e=>s_({state:()=>({context:{},page:{},way:[],toLang:"ru",lang:"ru",loading:!1}),mutations:{MERGE_CONTEXT(t,n){Object.assign(t.context,n)},MERGE_CONTEXT_HEADERS(t,n){t.context.responseHeaders=Object.assign(t.context.responseHeaders||{},n)},SET_PAGE(t,n){t.page=n||{}},SET_WAY(t,n){t.way=n||[]},SET_LANG(t,n){t.lang=n},SET_TO_LANG(t,n){t.toLang=n},SET_LOADING(t,n){t.loading=n}},getters:{getToLang(t){return t.toLang},getLang(t){return t.lang},urlFromLang:t=>(n="/",r=t.toLang)=>Kl(n,r),getBaseUrl(t){return`${t.context.protocol}://${t.context.hostname}`}},actions:{async fetch(t,n){return q_(t,n)},async redirect({state:t,getters:n},{url:r,code:o,query:s}){s&&(r=r+new URLSearchParams(s).toString()),await e.redirect(Kl(r,t.toLang),o||307)}}});function Ai(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Ai(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const J_={run:e=>e()},Y_=()=>J_,yd=typeof console.createTask<"u"?console.createTask:Y_;function Q_(e,t){const n=t.shift(),r=yd(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function X_(e,t){const n=t.shift(),r=yd(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Ks(e,t){for(const n of[...e])n(t)}class Z_{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ai(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Ai(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Q_,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(X_,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ks(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Ks(this._after,o)}):(this._after&&o&&Ks(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function eb(){return new Z_}function tb(e){return Array.isArray(e)?e:[e]}const nb=["title","titleTemplate","script","style","noscript"],wo=["base","meta","link","style","script","noscript"],rb=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],ob=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],vd=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],sb=typeof window<"u";function Sa(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function Gl(e){return e._h||Sa(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function _d(e,t){const{props:n,tag:r}=e;if(ob.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return`${r}:${s}:${i}`}return!1}function ql(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function ib(e,t,n){const r={tag:e,props:await bd(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return vd.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||nb.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function ab(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,s])=>e==="style"?`${o}:${s}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function bd(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=ab(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!vd.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const lb=10;async function cb(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&rb.includes(n)).forEach(([n,r])=>{const o=tb(r);t.push(...o.map(s=>ib(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<lb)+r,n))}const zl={base:-10,title:10},Jl={critical:-80,high:-10,low:20};function Jo(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in zl&&(t=zl[e.tag]),typeof n=="string"&&n in Jl?t+Jl[n]:t)}const ub=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Yl=["onload","onerror","onabort","onprogress","onloadstart"],Jt="%separator";function So(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,f)=>l&&l[f]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,f)=>`${a}${f}`).trim())}),e.includes(Jt)&&(e.endsWith(Jt)&&(e=e.slice(0,-Jt.length).trim()),e.startsWith(Jt)&&(e=e.slice(Jt.length).trim()),e=e.replace(new RegExp(`\\${Jt}\\s*\\${Jt}`,"g"),Jt),e=So(e,{separator:n},n)),e}async function fb(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(c=>({tag:c,id:wo.includes(c.tag)?Gl(c):c.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const c of["body","head"]){const d=(u=n[c])==null?void 0:u.children,h=[];for(const g of[...d].filter(v=>wo.includes(v.tagName.toLowerCase()))){const v={tag:g.tagName.toLowerCase(),props:await bd(g.getAttributeNames().reduce((S,m)=>({...S,[m]:g.getAttribute(m)}),{})),innerHTML:g.innerHTML};let T=1,C=_d(v);for(;C&&h.find(S=>S._d===C);)C=`${C}:${T++}`;v._d=C||void 0,h.push(v),s.elMap[g.getAttribute("data-hid")||Gl(v)]=g}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(c,d,h){const g=`${c}:${d}`;s.sideEffects[g]=h,delete s.pendingSideEffects[g]}function a({id:c,$el:d,tag:h}){const g=h.tag.endsWith("Attrs");s.elMap[c]=d,g||(["textContent","innerHTML"].forEach(v=>{h[v]&&h[v]!==d[v]&&(d[v]=h[v])}),i(c,"el",()=>{var v;(v=s.elMap[c])==null||v.remove(),delete s.elMap[c]}));for(const[v,T]of Object.entries(h._eventHandlers||{}))d.getAttribute(`data-${v}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.replace("on",""),T.bind(d)),d.setAttribute(`data-${v}`,""));Object.entries(h.props).forEach(([v,T])=>{const C=`attr:${v}`;if(v==="class")for(const S of(T||"").split(" ").filter(Boolean))g&&i(c,`${C}:${S}`,()=>d.classList.remove(S)),!d.classList.contains(S)&&d.classList.add(S);else if(v==="style")for(const S of(T||"").split(";").filter(Boolean)){const[m,...w]=S.split(":").map(b=>b.trim());i(c,`${C}:${m}`,()=>{d.style.removeProperty(m)}),d.style.setProperty(m,w.join(":"))}else d.getAttribute(v)!==T&&d.setAttribute(v,T===!0?"":String(T)),g&&i(c,C,()=>d.removeAttribute(v))})}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const c of o){const{tag:d,shouldRender:h,id:g}=c;if(h){if(d.tag==="title"){n.title=d.textContent;continue}c.$el=c.$el||s.elMap[g],c.$el?a(c):wo.includes(d.tag)&&l.push(c)}}for(const c of l){const d=c.tag.tagPosition||"head";c.$el=n.createElement(c.tag.tag),a(c),f[d]=f[d]||n.createDocumentFragment(),f[d].appendChild(c.$el)}for(const c of o)await e.hooks.callHook("dom:renderTag",c,n,i);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose),Object.values(s.pendingSideEffects).forEach(c=>c()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function db(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await fb(e,t),delete e._domUpdatePromise,r()}))}function hb(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(s){db(s,e)}}}}}const pb=["templateParams","htmlAttrs","bodyAttrs"],mb={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=_d(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&pb.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(f=>{l[f]&&(r.props[f]?(f==="style"&&!l[f].endsWith(";")&&(l[f]+=";"),r.props[f]=`${l[f]} ${r.props[f]}`):r.props[f]=l[f])}),t[o].props={...l,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(Jo(r)>Jo(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(wo.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},gb={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},yb=["script","link","bodyAttrs"],vb=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>yb.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Yl.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Sa(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const s of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>Yl.some(a=>`${a}fired`===i))){const i=s.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[i])==null||o.call(t,new Event(i.replace("on","")))}}}}),_b=["link","style","script","noscript"],bb={hooks:{"tag:normalise":({tag:e})=>{e.key&&_b.includes(e.tag)&&(e.props["data-hid"]=e._h=Sa(e.key))}}},wb={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of ub)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>Jo(n)-Jo(r))}}},Sb={meta:"content",link:"href",htmlAttrs:"lang"},Eb=e=>({hooks:{"tags:resolve":t=>{var a;const{tags:n}=t,r=(a=n.find(l=>l.tag==="title"))==null?void 0:a.textContent,o=n.findIndex(l=>l.tag==="templateParams"),s=o!==-1?n[o].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=So(s.pageTitle||r||"",s,i);for(const l of n.filter(f=>f.processTemplateParams!==!1)){const f=Sb[l.tag];f&&typeof l.props[f]=="string"?l.props[f]=So(l.props[f],s,i):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=So(l[u],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),Tb={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=ql(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=ql(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},xb={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let wd;function Cb(e={}){const t=Ob(e);return t.use(hb()),wd=t}function Ql(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Ob(e={}){const t=eb();t.addHooks(e.hooks||{}),e.document=e.document||(sb?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,s=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(l){const f=typeof l=="function"?l(a):l;(!f.key||!i.some(u=>u.key===f.key))&&(i.push(f),Ql(f.mode,n)&&t.addHooks(f.hooks||{}))},push(l,f){f==null||delete f.head;const u={_i:o++,input:l,...f};return Ql(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(c=>c._i!==u._i),t.callHook("entries:updated",a),r()},patch(c){s=s.map(d=>(d._i===u._i&&(d.input=u.input=c),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const f of l.entries){const u=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(u):u),f.resolvedInput)for(const c of await cb(f)){const d={tag:c,entry:f,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[mb,gb,vb,bb,wb,Eb,Tb,xb,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Ab(){return wd}const Pb=Vo.startsWith("3");function $b(e){return typeof e=="function"?e():st(e)}function Yo(e,t=""){if(e instanceof Promise)return e;const n=$b(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Yo(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,st(o)]:[r,Yo(o,r)])):n}const Rb={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Yo(t.input)}}},Sd="usehead";function kb(e){return{install(n){Pb&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Sd,e))}}.install}function Mb(e={}){e.domDelayFn=e.domDelayFn||(n=>jn(()=>setTimeout(()=>n(),0)));const t=Cb(e);return t.use(Rb),t.install=kb(t),t}const Xl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zl="__unhead_injection_handler__";function Nb(){if(Zl in Xl)return Xl[Zl]();const e=it(Sd);return e||console.warn("Unhead is missing Vue context, falling back to shared context. This may have unexpected results."),e||Ab()}function Ed(e,t={}){const n=t.head||Nb();if(n)return n.ssr?n.push(e,t):Ib(n,e,t)}function Ib(e,t,n={}){const r=Xe(!1),o=Xe({});ia(()=>{o.value=r.value?{}:Yo(t)});const s=e.push(o.value,n);return Je(o,a=>{s.patch(a)}),Me()&&(eo(()=>{s.dispose()}),Qi(()=>{r.value=!0}),Yi(()=>{r.value=!1})),s}function Lb(e){const t=e;return t.headTags=e.resolveTags,t.addEntry=e.push,t.addHeadObjs=e.push,t.addReactiveEntry=(n,r)=>{const o=Ed(n,r);return typeof o<"u"?o.dispose:()=>{}},t.removeHeadObjs=()=>{},t.updateDOM=()=>{e.hooks.callHook("entries:updated",e)},t.unhead=e,t}function jb(e,t){const n=Mb({});return Lb(n)}var Td={};Object.defineProperty(Td,"__esModule",{value:!0});const Ws=new Function("try {return this===window;}catch(e){ return false;}");function Db(e){return typeof e=="string"||e&&typeof e=="object"}function Hb(e){return e.__esModule||Fb&&e[Symbol.toStringTag]==="Module"}const Fb=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function Vb(e){const t=["params","query","hash"];if(typeof e=="string")return e;if("path"in e)return e.path;const n={};for(const r of t)r in e&&(n[r]=e[r]);return JSON.stringify(n,null,2)}function bn(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Fetcher warn]: "+e].concat(t))}function Ub(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}const ec=(e,t,n,r,o,s,i,a)=>()=>new Promise((l,f)=>{var g,v;const u=r&&(r.enterCallbacks[o]=((g=r.enterCallbacks)==null?void 0:g[o])||[]),c=T=>{var C;T===!1?f(new Error(`Navigation aborted from "${n.fullPath}" to "${t.fullPath}" via a navigation guard.`)):T instanceof Error?f(T):Db(T)?f(new Error(`Redirected from "${n.fullPath}" to "${Vb(t)}" via a navigation guard`)):(u&&((C=r==null?void 0:r.enterCallbacks)==null?void 0:C[o])===u&&typeof T=="function"&&u.push(T),l())},d=e.call(r&&((v=r.instances)==null?void 0:v[o]),{app:s,store:i,router:a,isClient:Ws(),isInitial:!n.name,isFetch:Ws()&&!!n.name||!Ws()},t,n,Bb(c,t,n));let h=Promise.resolve(d);if(e.length<4&&(h=h.then(c)),e.length>3){const T=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
|
|
77
|
-
${e.toString()}
|
|
78
|
-
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof d=="object"&&"then"in d)h=h.then(C=>c._called?C:(bn(T),Promise.reject(new Error("Invalid navigation guard"))));else if(d!==void 0&&!c._called){bn(T),f(new Error("Invalid navigation guard"));return}}h.catch(T=>f(T))});function Bb(e,t,n){let r=0;return function(){r++===1&&bn(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),e._called=!0,r===1&&e.apply(null,arguments)}}function Kb(e,t,n,r,o,s,i){const a=[],l=[...n._context.mixins];for(const f of e)for(const u in f.components){let c=function(h,g=!1,v=[]){const T=h.__vccOpts||h;if(T.mixins&&T.mixins.length)for(const S of T.mixins)c(S,g,v);T.extends&&c(T.extends,g,v);const C=T[t];if(C&&v.push(g?ec(C,r,o,f,u,n,s,i)():ec(C,r,o,f,u,n,s,i)),h._context&&h._context.mixins&&h._context.mixins.length)for(const S of h._context.mixins)c(S,g,v);return v},d=f.components[u];{if(!d||typeof d!="object"&&typeof d!="function")throw bn(`Component "${u}" in record with path "${f.path}" is not a valid component. Received "${String(d)}".`),new Error("Invalid route component");if("then"in d){bn(`Component "${u}" in record with path "${f.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const h=d;d=()=>h}else d.__asyncLoader&&!d.__warnedDefineAsync&&(d.__warnedDefineAsync=!0,bn(`Component "${u}" in record with path "${f.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(Ub(d))d._context={mixins:l},a.push(...c(d));else{let h=d();"catch"in h||(bn(`Component "${u}" in record with path "${f.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),h=Promise.resolve(h)),a.push(()=>h.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${u}" at "${f.path}"`));const v=Hb(g)?g.default:g;return f.components[u]=v,v._context={mixins:l},c(v,!0)}))}}return a}const Wb=()=>{function e(t){return t.reduce((n,r)=>{const o=Array.isArray(n)?n:[n];return Promise.all(o).then(()=>r())},Promise.resolve())}return{install:(t,n,r,o="prefetch")=>{n.beforeResolve(async(s,i)=>{const a=Kb(s.matched,o,t,s,i,r,n);await e(a)})}}};var Gb=Td.createPrefetch=Wb;class qb{constructor(){this.onceEvents=new Map,this.events=new Map}once(t,n){return this.addHandler(this.onceEvents,t,n)}on(t,n){return this.addHandler(this.events,t,n)}off(t,n){for(const r of[this.events,this.onceEvents]){const o=r.get(t);if(o)if(n){const s=o.delete(n);return o.size===0?r.delete(t):r.set(t,o),s}else return r.delete(t)}return!1}emit(t,...n){const r=[];for(const o of[this.events,this.onceEvents]){const s=o===this.onceEvents,i=new Map;if(t instanceof RegExp)for(const a of o.keys())t.test(a)&&i.set(a,o.get(a));else i.set(t,o.get(t));for(const a of i.keys()){const l=i.get(a);if(!(!l||!l.size)){for(const f of l){const u={type:a,once:s};r.push(f(...n,u)),s&&l.delete(f)}s&&(l.size?o.set(a,l):o.delete(a))}}}return r}addHandler(t,n,r){const o=t.get(n)||new Set,s=o.size;return o.add(r),t.set(n,o),s!==o.size}}const zb=()=>new qb;/*!
|
|
79
|
-
/**
|
|
80
|
-
* vuex-router-sync v6.0.0-rc.1
|
|
81
|
-
* (c) 2021 Evan You
|
|
82
|
-
* @license MIT
|
|
83
|
-
*/function Jb(e,t,n){const r={}.moduleName||"route";e.registerModule(r,{namespaced:!0,state:Pi(t.currentRoute.value),mutations:{ROUTE_CHANGED(l,f){e.state[r]=Pi(f.to,f.from)}}});let o=!1,s;const i=e.watch(l=>l[r],l=>{const{fullPath:f}=l;f!==s&&(s!=null&&(o=!0,t.push(l)),s=f)},{flush:"sync"}),a=t.afterEach((l,f)=>{if(o){o=!1;return}s=l.fullPath,e.commit(r+"/ROUTE_CHANGED",{to:l,from:f})});return function(){a(),i(),e.unregisterModule(r)}}function Pi(e,t){const n={name:e.name,path:e.path,hash:e.hash,query:e.query,params:e.params,fullPath:e.fullPath,meta:e.meta};return t&&(n.from=Pi(t)),Object.freeze(n)}const Yb=b_(oy);var Qb=Yb;const Xb={langs:["ru","ua","en"],getLang:function(){return this.default},default:"ru"};var Zb={install(e,t={}){const n=Object.assign(Xb,t);e.config.globalProperties.$getLang=()=>n.getLang(),e.config.globalProperties.$l=r=>r[n.getLang()]||r[n.default]||"",e.component("Multilang",{name:"Multilang",props:{tag:{type:String,default:()=>null}},render(){const r=this.$slots.default(),o=r.filter(i=>{var a,l;return((l=(a=i==null?void 0:i.type)==null?void 0:a.name)==null?void 0:l.toLowerCase())===n.getLang()})[0]||null;return o||r.filter(i=>{var a,l;return((l=(a=i==null?void 0:i.type)==null?void 0:a.name)==null?void 0:l.toLowerCase())===n.default})[0]||null?o:null}}),n.langs.map(r=>{r=r.charAt(0).toUpperCase()+r.slice(1),e.component(r,{name:r,render(){return this.$parent.tag?Qb.h(this.$parent.tag,this.$slots.default()||null):this.$slots.default()||null}})})}},ew=Zb;const tw=ud(ew),tc=(e,t="ru")=>{const n=e.match(/^\/(ru|ua|en)\/?/i);return n&&n.length>0?n[1]:t};var nw=Object.defineProperty,nc=Object.getOwnPropertySymbols,rw=Object.prototype.hasOwnProperty,ow=Object.prototype.propertyIsEnumerable,rc=(e,t,n)=>t in e?nw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,sw=(e,t)=>{for(var n in t||(t={}))rw.call(t,n)&&rc(e,n,t[n]);if(nc)for(var n of nc(t))ow.call(t,n)&&rc(e,n,t[n]);return e};function Ea(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function iw(e){return!!(e&&e.constructor&&e.call&&e.apply)}function Te(e){return!Ea(e)}function Mn(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function wn(e,...t){return iw(e)?e(...t):e}function ur(e,t=!0){return typeof e=="string"&&(t||e!=="")}function xd(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function Cd(e){return Te(e)&&!isNaN(e)}function Ut(e,t){if(t){const n=t.test(e);return t.lastIndex=0,n}return!1}function aw(...e){const t=(n={},r={})=>{const o=sw({},n);return Object.keys(r).forEach(s=>{Mn(r[s])&&s in n&&Mn(n[s])?o[s]=t(n[s],r[s]):o[s]=r[s]}),o};return e.reduce((n,r,o)=>o===0?r:t(n,r),{})}function Lr(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function Od(e){return ur(e)?e.replace(/(_)/g,"-").replace(/[A-Z]/g,(t,n)=>n===0?t:"-"+t.toLowerCase()).toLowerCase():e}function oc(e){return ur(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function Ta(){const e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){let r=e.get(t);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(t,n){let r=e.get(t);r&&r.slice().map(o=>{o(n)})},clear(){e.clear()}}}var lw=Object.defineProperty,cw=Object.defineProperties,uw=Object.getOwnPropertyDescriptors,Qo=Object.getOwnPropertySymbols,Ad=Object.prototype.hasOwnProperty,Pd=Object.prototype.propertyIsEnumerable,sc=(e,t,n)=>t in e?lw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,pt=(e,t)=>{for(var n in t||(t={}))Ad.call(t,n)&&sc(e,n,t[n]);if(Qo)for(var n of Qo(t))Pd.call(t,n)&&sc(e,n,t[n]);return e},Gs=(e,t)=>cw(e,uw(t)),kt=(e,t)=>{var n={};for(var r in e)Ad.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Qo)for(var r of Qo(e))t.indexOf(r)<0&&Pd.call(e,r)&&(n[r]=e[r]);return n},fw=Ta(),jt=fw;function ic(e,t){xd(e)?e.push(...t||[]):Mn(e)&&Object.assign(e,t)}function dw(e){return Mn(e)&&e.hasOwnProperty("value")&&e.hasOwnProperty("type")?e.value:e}function ac(e,t=""){return["opacity","z-index","line-height","font-weight","flex","flex-grow","flex-shrink","order"].some(r=>t.endsWith(r))?e:`${e}`.trim().split(" ").map(s=>Cd(s)?`${s}px`:s).join(" ")}function hw(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function $i(e="",t=""){return hw(`${ur(e,!1)&&ur(t,!1)?`${e}-`:e}${t}`)}function $d(e="",t=""){return`--${$i(e,t)}`}function Rd(e,t="",n="",r=[],o){if(ur(e)){const s=/{([^}]*)}/g,i=e.trim();if(Ut(i,s)){const a=i.replaceAll(s,u=>{const d=u.replace(/{|}/g,"").split(".").filter(h=>!r.some(g=>Ut(h,g)));return`var(${$d(n,Od(d.join("-")))}${Te(o)?`, ${o}`:""})`}),l=/(\d+\s+[\+\-\*\/]\s+\d+)/g,f=/var\([^)]+\)/g;return Ut(a.replace(f,"0"),l)?`calc(${a})`:a}return ac(i,t)}else if(Cd(e))return ac(e,t)}function pw(e,t,n){ur(t,!1)&&e.push(`${t}:${n};`)}function qn(e,t){return e?`${e}{${t}}`:""}var jr=(...e)=>mw(Le.getTheme(),...e),mw=(e={},t,n,r)=>{if(t){const{variable:o,options:s}=Le.defaults||{},{prefix:i,transform:a}=(e==null?void 0:e.options)||s||{},f=Ut(t,/{([^}]*)}/g)?t:`{${t}}`;return r==="value"||Ea(r)&&a==="strict"?Le.getTokenValue(t):Rd(f,void 0,i,[o.excludedKeyRegex],n)}return""};function gw(e,t={}){const n=Le.defaults.variable,{prefix:r=n.prefix,selector:o=n.selector,excludedKeyRegex:s=n.excludedKeyRegex}=t,i=(f,u="")=>Object.entries(f).reduce((c,[d,h])=>{const g=Ut(d,s)?$i(u):$i(u,Od(d)),v=dw(h);if(Mn(v)){const{variables:T,tokens:C}=i(v,g);ic(c.tokens,C),ic(c.variables,T)}else c.tokens.push((r?g.replace(`${r}-`,""):g).replaceAll("-",".")),pw(c.variables,$d(g),Rd(v,g,r,[s]));return c},{variables:[],tokens:[]}),{variables:a,tokens:l}=i(e,r);return{value:a,tokens:l,declarations:a.join(""),css:qn(o,a.join(""))}}var ht={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:`${e}{:root{[CSS]}}`,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark){:root{[CSS]}}",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){const t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var r;return(r=t.map(o=>o.resolve(n)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(n)})}},_toVariables(e,t){return gw(e,{prefix:t==null?void 0:t.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:o}){var s,i,a,l,f,u,c;const{preset:d,options:h}=t;let g,v,T,C,S,m,w;if(Te(d)&&h.transform!=="strict"){const{primitive:b,semantic:A,extend:D}=d,U=A||{},{colorScheme:P}=U,I=kt(U,["colorScheme"]),B=D||{},{colorScheme:L}=B,J=kt(B,["colorScheme"]),_=P||{},{dark:O}=_,k=kt(_,["dark"]),W=L||{},{dark:H}=W,X=kt(W,["dark"]),ve=Te(b)?this._toVariables({primitive:b},h):{},be=Te(I)?this._toVariables({semantic:I},h):{},Ee=Te(k)?this._toVariables({light:k},h):{},ke=Te(O)?this._toVariables({dark:O},h):{},Ue=Te(J)?this._toVariables({semantic:J},h):{},mn=Te(X)?this._toVariables({light:X},h):{},ft=Te(H)?this._toVariables({dark:H},h):{},[x,z]=[(s=ve.declarations)!=null?s:"",ve.tokens],[G,Q]=[(i=be.declarations)!=null?i:"",be.tokens||[]],[se,_e]=[(a=Ee.declarations)!=null?a:"",Ee.tokens||[]],[oe,p]=[(l=ke.declarations)!=null?l:"",ke.tokens||[]],[y,E]=[(f=Ue.declarations)!=null?f:"",Ue.tokens||[]],[R,M]=[(u=mn.declarations)!=null?u:"",mn.tokens||[]],[N,K]=[(c=ft.declarations)!=null?c:"",ft.tokens||[]];g=this.transformCSS(e,x,"light","variable",h,r,o),v=z;const V=this.transformCSS(e,`${G}${se}`,"light","variable",h,r,o),F=this.transformCSS(e,`${oe}`,"dark","variable",h,r,o);T=`${V}${F}`,C=[...new Set([...Q,..._e,...p])];const j=this.transformCSS(e,`${y}${R}color-scheme:light`,"light","variable",h,r,o),te=this.transformCSS(e,`${N}color-scheme:dark`,"dark","variable",h,r,o);S=`${j}${te}`,m=[...new Set([...E,...M,...K])],w=wn(d.css,{dt:jr})}return{primitive:{css:g,tokens:v},semantic:{css:T,tokens:C},global:{css:S,tokens:m},style:w}},getPreset({name:e="",preset:t={},options:n,params:r,set:o,defaults:s,selector:i}){var a,l,f;let u,c,d;if(Te(t)&&n.transform!=="strict"){const h=e.replace("-directive",""),g=t,{colorScheme:v,extend:T,css:C}=g,S=kt(g,["colorScheme","extend","css"]),m=T||{},{colorScheme:w}=m,b=kt(m,["colorScheme"]),A=v||{},{dark:D}=A,U=kt(A,["dark"]),P=w||{},{dark:I}=P,B=kt(P,["dark"]),L=Te(S)?this._toVariables({[h]:pt(pt({},S),b)},n):{},J=Te(U)?this._toVariables({[h]:pt(pt({},U),B)},n):{},_=Te(D)?this._toVariables({[h]:pt(pt({},D),I)},n):{},[O,k]=[(a=L.declarations)!=null?a:"",L.tokens||[]],[W,H]=[(l=J.declarations)!=null?l:"",J.tokens||[]],[X,ve]=[(f=_.declarations)!=null?f:"",_.tokens||[]],be=this.transformCSS(h,`${O}${W}`,"light","variable",n,o,s,i),Ee=this.transformCSS(h,X,"dark","variable",n,o,s,i);u=`${be}${Ee}`,c=[...new Set([...k,...H,...ve])],d=wn(C,{dt:jr})}return{css:u,tokens:c,style:d}},getPresetC({name:e="",theme:t={},params:n,set:r,defaults:o}){var s;const{preset:i,options:a}=t,l=(s=i==null?void 0:i.components)==null?void 0:s[e];return this.getPreset({name:e,preset:l,options:a,params:n,set:r,defaults:o})},getPresetD({name:e="",theme:t={},params:n,set:r,defaults:o}){var s;const i=e.replace("-directive",""),{preset:a,options:l}=t,f=(s=a==null?void 0:a.directives)==null?void 0:s[i];return this.getPreset({name:i,preset:f,options:l,params:n,set:r,defaults:o})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){const{cssLayer:o}=t;return o?`@layer ${wn(o.order||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:s}){const i=this.getCommon({name:e,theme:t,params:n,set:o,defaults:s}),a=Object.entries(r).reduce((l,[f,u])=>l.push(`${f}="${u}"`)&&l,[]).join(" ");return Object.entries(i||{}).reduce((l,[f,u])=>{if(u!=null&&u.css){const c=Lr(u==null?void 0:u.css),d=`${f}-variables`;l.push(`<style type="text/css" data-primevue-style-id="${d}" ${a}>${c}</style>`)}return l},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:s}){var i;const a={name:e,theme:t,params:n,set:o,defaults:s},l=(i=e.includes("-directive")?this.getPresetD(a):this.getPresetC(a))==null?void 0:i.css,f=Object.entries(r).reduce((u,[c,d])=>u.push(`${c}="${d}"`)&&u,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${e}-variables" ${f}>${Lr(l)}</style>`:""},createTokens(e={},t,n="",r="",o={}){return Object.entries(e).forEach(([s,i])=>{const a=Ut(s,t.variable.excludedKeyRegex)?n:n?`${n}.${oc(s)}`:oc(s),l=r?`${r}.${s}`:s;Mn(i)?this.createTokens(i,t,a,l,o):(o[a]||(o[a]={paths:[],computed(f,u={}){var c,d;return this.paths.length===1?(c=this.paths[0])==null?void 0:c.computed(this.paths[0].scheme,u.binding):f&&f!=="none"?(d=this.paths.find(h=>h.scheme===f))==null?void 0:d.computed(f,u.binding):this.paths.map(h=>h.computed(h.scheme,u[h.scheme]))}}),o[a].paths.push({path:l,value:i,scheme:l.includes("colorScheme.light")?"light":l.includes("colorScheme.dark")?"dark":"none",computed(f,u={}){const c=/{([^}]*)}/g;let d=i;if(u.name=this.path,u.binding||(u.binding={}),Ut(i,c)){const g=i.trim().replaceAll(c,C=>{var S;const m=C.replace(/{|}/g,""),w=(S=o[m])==null?void 0:S.computed(f,u);return xd(w)&&w.length===2?`light-dark(${w[0].value},${w[1].value})`:w==null?void 0:w.value}),v=/(\d+\w*\s+[\+\-\*\/]\s+\d+\w*)/g,T=/var\([^)]+\)/g;d=Ut(g.replace(T,"0"),v)?`calc(${g})`:g}return Ea(u.binding)&&delete u.binding,{colorScheme:f,path:this.path,paths:u,value:d.includes("undefined")?void 0:d}}}))}),o},getTokenValue(e,t,n){var r;const s=(l=>l.split(".").filter(u=>!Ut(u.toLowerCase(),n.variable.excludedKeyRegex)).join("."))(t),i=t.includes("colorScheme.light")?"light":t.includes("colorScheme.dark")?"dark":void 0,a=[(r=e[s])==null?void 0:r.computed(i)].flat().filter(l=>l);return a.length===1?a[0].value:a.reduce((l={},f)=>{const u=f,{colorScheme:c}=u,d=kt(u,["colorScheme"]);return l[c]=d,l},void 0)},getSelectorRule(e,t,n,r){return n==="class"||n==="attr"?qn(Te(t)?`${e}${t},${e} ${t}`:e,r):qn(e,Te(t)?qn(t,r):r)},transformCSS(e,t,n,r,o={},s,i,a){if(Te(t)){const{cssLayer:l}=o;if(r!=="style"){const f=this.getColorSchemeOption(o,i);t=n==="dark"?f.reduce((u,{type:c,selector:d})=>(Te(d)&&(u+=d.includes("[CSS]")?d.replace("[CSS]",t):this.getSelectorRule(d,a,c,t)),u),""):qn(a??":root",t)}if(l){const f={name:"primeui",order:"primeui"};Mn(l)&&(f.name=wn(l.name,{name:e,type:r})),Te(f.name)&&(t=qn(`@layer ${f.name}`,t),s==null||s.layerNames(f.name))}return t}return""}},Le={defaults:{variable:{prefix:"p",selector:":root",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){const{theme:t}=e;t&&(this._theme=Gs(pt({},t),{options:pt(pt({},this.defaults.options),t.options)}),this._tokens=ht.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),jt.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Gs(pt({},this.theme),{preset:e}),this._tokens=ht.createTokens(e,this.defaults),this.clearLoadedStyleNames(),jt.emit("preset:change",e),jt.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Gs(pt({},this.theme),{options:e}),this.clearLoadedStyleNames(),jt.emit("options:change",e),jt.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return ht.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return ht.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){const n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ht.getPresetC(n)},getDirective(e="",t){const n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ht.getPresetD(n)},getCustomPreset(e="",t,n,r){const o={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return ht.getPreset(o)},getLayerOrderCSS(e=""){return ht.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return ht.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return ht.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return ht.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),jt.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&jt.emit("theme:load"))}};function kd(e){return typeof HTMLElement=="object"?e instanceof HTMLElement:e&&typeof e=="object"&&e!==null&&e.nodeType===1&&typeof e.nodeName=="string"}function Ri(e,t={}){if(kd(e)){const n=(r,o)=>{var s,i;const a=(s=e==null?void 0:e.$attrs)!=null&&s[r]?[(i=e==null?void 0:e.$attrs)==null?void 0:i[r]]:[];return[o].flat().reduce((l,f)=>{if(f!=null){const u=typeof f;if(u==="string"||u==="number")l.push(f);else if(u==="object"){const c=Array.isArray(f)?n(r,f):Object.entries(f).map(([d,h])=>r==="style"&&(h||h===0)?`${d.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${h}`:h?d:void 0);l=c.length?l.concat(c.filter(d=>!!d)):l}}return l},a)};Object.entries(t).forEach(([r,o])=>{if(o!=null){const s=r.match(/^on(.+)/);s?e.addEventListener(s[1].toLowerCase(),o):r==="p-bind"?Ri(e,o):(o=r==="class"?[...new Set(n("class",o))].join(" ").trim():r==="style"?n("style",o).join(";").trim():o,(e.$attrs=e.$attrs||{})&&(e.$attrs[r]=o),e.setAttribute(r,o))}})}}function yw(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function vw(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&yw(e))}function _w(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function bw(e,t="",n){kd(e)&&n!==null&&n!==void 0&&e.setAttribute(t,n)}var Ie={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"};function zr(e){"@babel/helpers - typeof";return zr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zr(e)}function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function cc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?lc(Object(n),!0).forEach(function(r){ww(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ww(e,t,n){return(t=Sw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sw(e){var t=Ew(e,"string");return zr(t)=="symbol"?t:t+""}function Ew(e,t){if(zr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(zr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Tw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;Me()?gr(e):t?e():jn(e)}var xw=0;function Cw(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Xe(!1),r=Xe(e),o=Xe(null),s=_w()?window.document:void 0,i=t.document,a=i===void 0?s:i,l=t.immediate,f=l===void 0?!0:l,u=t.manual,c=u===void 0?!1:u,d=t.name,h=d===void 0?"style_".concat(++xw):d,g=t.id,v=g===void 0?void 0:g,T=t.media,C=T===void 0?void 0:T,S=t.nonce,m=S===void 0?void 0:S,w=t.first,b=w===void 0?!1:w,A=t.onMounted,D=A===void 0?void 0:A,U=t.onUpdated,P=U===void 0?void 0:U,I=t.onLoad,B=I===void 0?void 0:I,L=t.props,J=L===void 0?{}:L,_=function(){},O=function(H){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(a){var ve=cc(cc({},J),X),be=ve.name||h,Ee=ve.id||v,ke=ve.nonce||m;o.value=a.querySelector('style[data-primevue-style-id="'.concat(be,'"]'))||a.getElementById(Ee)||a.createElement("style"),o.value.isConnected||(r.value=H||e,Ri(o.value,{type:"text/css",id:Ee,media:C,nonce:ke}),b?a.head.prepend(o.value):a.head.appendChild(o.value),bw(o.value,"data-primevue-style-id",be),Ri(o.value,ve),o.value.onload=function(Ue){return B==null?void 0:B(Ue,{name:be})},D==null||D(be)),!n.value&&(_=Je(r,function(Ue){o.value.textContent=Ue,P==null||P(be)},{immediate:!0}),n.value=!0)}},k=function(){!a||!n.value||(_(),vw(o.value)&&a.head.removeChild(o.value),n.value=!1)};return f&&!c&&Tw(O),{id:v,name:h,el:o,css:r,unload:k,load:O,isLoaded:Xr(n)}}function Jr(e){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(e)}function uc(e,t){return $w(e)||Pw(e,t)||Aw(e,t)||Ow()}function Ow(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
84
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Aw(e,t){if(e){if(typeof e=="string")return fc(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fc(e,t):void 0}}function fc(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Pw(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,s,i,a=[],l=!0,f=!1;try{if(s=(n=n.call(e)).next,t!==0)for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(u){f=!0,o=u}finally{try{if(!l&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(f)throw o}}return a}}function $w(e){if(Array.isArray(e))return e}function dc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function qs(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dc(Object(n),!0).forEach(function(r){Rw(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Rw(e,t,n){return(t=kw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kw(e){var t=Mw(e,"string");return Jr(t)=="symbol"?t:t+""}function Mw(e,t){if(Jr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Jr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Nw=function(t){var n=t.dt;return`
|
|
85
|
-
* {
|
|
86
|
-
box-sizing: border-box;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Non vue overlay animations */
|
|
90
|
-
.p-connected-overlay {
|
|
91
|
-
opacity: 0;
|
|
92
|
-
transform: scaleY(0.8);
|
|
93
|
-
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
|
|
94
|
-
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.p-connected-overlay-visible {
|
|
98
|
-
opacity: 1;
|
|
99
|
-
transform: scaleY(1);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.p-connected-overlay-hidden {
|
|
103
|
-
opacity: 0;
|
|
104
|
-
transform: scaleY(1);
|
|
105
|
-
transition: opacity 0.1s linear;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* Vue based overlay animations */
|
|
109
|
-
.p-connected-overlay-enter-from {
|
|
110
|
-
opacity: 0;
|
|
111
|
-
transform: scaleY(0.8);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.p-connected-overlay-leave-to {
|
|
115
|
-
opacity: 0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.p-connected-overlay-enter-active {
|
|
119
|
-
transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1),
|
|
120
|
-
opacity 0.12s cubic-bezier(0, 0, 0.2, 1);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.p-connected-overlay-leave-active {
|
|
124
|
-
transition: opacity 0.1s linear;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/* Toggleable Content */
|
|
128
|
-
.p-toggleable-content-enter-from,
|
|
129
|
-
.p-toggleable-content-leave-to {
|
|
130
|
-
max-height: 0;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.p-toggleable-content-enter-to,
|
|
134
|
-
.p-toggleable-content-leave-from {
|
|
135
|
-
max-height: 1000px;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.p-toggleable-content-leave-active {
|
|
139
|
-
overflow: hidden;
|
|
140
|
-
transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.p-toggleable-content-enter-active {
|
|
144
|
-
overflow: hidden;
|
|
145
|
-
transition: max-height 1s ease-in-out;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.p-disabled,
|
|
149
|
-
.p-disabled * {
|
|
150
|
-
cursor: default;
|
|
151
|
-
pointer-events: none;
|
|
152
|
-
user-select: none;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.p-disabled,
|
|
156
|
-
.p-component:disabled {
|
|
157
|
-
opacity: `.concat(n("disabled.opacity"),`;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.pi {
|
|
161
|
-
font-size: `).concat(n("icon.size"),`;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.p-icon {
|
|
165
|
-
width: `).concat(n("icon.size"),`;
|
|
166
|
-
height: `).concat(n("icon.size"),`;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.p-overlay-mask {
|
|
170
|
-
background: `).concat(n("mask.background"),`;
|
|
171
|
-
color: `).concat(n("mask.color"),`;
|
|
172
|
-
position: fixed;
|
|
173
|
-
top: 0;
|
|
174
|
-
left: 0;
|
|
175
|
-
width: 100%;
|
|
176
|
-
height: 100%;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.p-overlay-mask-enter {
|
|
180
|
-
animation: p-overlay-mask-enter-animation `).concat(n("mask.transition.duration"),` forwards;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.p-overlay-mask-leave {
|
|
184
|
-
animation: p-overlay-mask-leave-animation `).concat(n("mask.transition.duration"),` forwards;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
@keyframes p-overlay-mask-enter-animation {
|
|
188
|
-
from {
|
|
189
|
-
background: transparent;
|
|
190
|
-
}
|
|
191
|
-
to {
|
|
192
|
-
background: `).concat(n("mask.background"),`;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
@keyframes p-overlay-mask-leave-animation {
|
|
196
|
-
from {
|
|
197
|
-
background: `).concat(n("mask.background"),`;
|
|
198
|
-
}
|
|
199
|
-
to {
|
|
200
|
-
background: transparent;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
`)},Iw=function(t){var n=t.dt;return`
|
|
204
|
-
.p-hidden-accessible {
|
|
205
|
-
border: 0;
|
|
206
|
-
clip: rect(0 0 0 0);
|
|
207
|
-
height: 1px;
|
|
208
|
-
margin: -1px;
|
|
209
|
-
overflow: hidden;
|
|
210
|
-
padding: 0;
|
|
211
|
-
position: absolute;
|
|
212
|
-
width: 1px;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.p-hidden-accessible input,
|
|
216
|
-
.p-hidden-accessible select {
|
|
217
|
-
transform: scale(0);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.p-overflow-hidden {
|
|
221
|
-
overflow: hidden;
|
|
222
|
-
padding-right: `.concat(n("scrollbar.width"),`;
|
|
223
|
-
}
|
|
224
|
-
`)},Lw={},jw={},Wn={name:"base",css:Iw,theme:Nw,classes:Lw,inlineStyles:jw,load:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(s){return s},o=r(wn(t,{dt:jr}));return Te(o)?Cw(Lr(o),qs({name:this.name},n)):{}},loadCSS:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.load(this.css,t)},loadTheme:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.load(this.theme,n,function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Le.transformCSS(n.name||t.name,"".concat(o).concat(r))})},getCommonTheme:function(t){return Le.getCommon(this.name,t)},getComponentTheme:function(t){return Le.getComponent(this.name,t)},getDirectiveTheme:function(t){return Le.getDirective(this.name,t)},getPresetTheme:function(t,n,r){return Le.getCustomPreset(this.name,t,n,r)},getLayerOrderThemeCSS:function(){return Le.getLayerOrderCSS(this.name)},getStyleSheet:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.css){var r=wn(this.css,{dt:jr})||"",o=Lr("".concat(r).concat(t)),s=Object.entries(n).reduce(function(i,a){var l=uc(a,2),f=l[0],u=l[1];return i.push("".concat(f,'="').concat(u,'"'))&&i},[]).join(" ");return Te(o)?'<style type="text/css" data-primevue-style-id="'.concat(this.name,'" ').concat(s,">").concat(o,"</style>"):""}return""},getCommonThemeStyleSheet:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Le.getCommonStyleSheet(this.name,t,n)},getThemeStyleSheet:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[Le.getStyleSheet(this.name,t,n)];if(this.theme){var o=this.name==="base"?"global-style":"".concat(this.name,"-style"),s=wn(this.theme,{dt:jr}),i=Lr(Le.transformCSS(o,s)),a=Object.entries(n).reduce(function(l,f){var u=uc(f,2),c=u[0],d=u[1];return l.push("".concat(c,'="').concat(d,'"'))&&l},[]).join(" ");Te(i)&&r.push('<style type="text/css" data-primevue-style-id="'.concat(o,'" ').concat(a,">").concat(i,"</style>"))}return r.join("")},extend:function(t){return qs(qs({},this),{},{css:void 0,theme:void 0},t)}},po=Ta();function Yr(e){"@babel/helpers - typeof";return Yr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yr(e)}function hc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function mo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hc(Object(n),!0).forEach(function(r){Dw(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hc(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Dw(e,t,n){return(t=Hw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hw(e){var t=Fw(e,"string");return Yr(t)=="symbol"?t:t+""}function Fw(e,t){if(Yr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Yr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Vw={ripple:!1,inputStyle:null,inputVariant:null,locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",fileChosenMessage:"{0} files",noFileChosenMessage:"No file chosen",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"Page {page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List"}},filterMatchModeOptions:{text:[Ie.STARTS_WITH,Ie.CONTAINS,Ie.NOT_CONTAINS,Ie.ENDS_WITH,Ie.EQUALS,Ie.NOT_EQUALS],numeric:[Ie.EQUALS,Ie.NOT_EQUALS,Ie.LESS_THAN,Ie.LESS_THAN_OR_EQUAL_TO,Ie.GREATER_THAN,Ie.GREATER_THAN_OR_EQUAL_TO],date:[Ie.DATE_IS,Ie.DATE_IS_NOT,Ie.DATE_BEFORE,Ie.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},theme:void 0,unstyled:!1,pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},csp:{nonce:void 0}},Uw=Symbol();function Bw(e,t){var n={config:In(t)};return e.config.globalProperties.$primevue=n,e.provide(Uw,n),Kw(),Ww(e,n),n}var zn=[];function Kw(){jt.clear(),zn.forEach(function(e){return e==null?void 0:e()}),zn=[]}function Ww(e,t){var n=Xe(!1),r=function(){var f;if(((f=t.config)===null||f===void 0?void 0:f.theme)!=="none"&&!Le.isStyleNameLoaded("common")){var u,c,d=((u=Wn.getCommonTheme)===null||u===void 0?void 0:u.call(Wn))||{},h=d.primitive,g=d.semantic,v=d.global,T=d.style,C={nonce:(c=t.config)===null||c===void 0||(c=c.csp)===null||c===void 0?void 0:c.nonce};Wn.load(h==null?void 0:h.css,mo({name:"primitive-variables"},C)),Wn.load(g==null?void 0:g.css,mo({name:"semantic-variables"},C)),Wn.load(v==null?void 0:v.css,mo({name:"global-variables"},C)),Wn.loadTheme(mo({name:"global-style"},C),T),Le.setLoadedStyleName("common")}};jt.on("theme:change",function(l){n.value||(e.config.globalProperties.$primevue.config.theme=l,n.value=!0)});var o=Je(t.config,function(l,f){po.emit("config:change",{newValue:l,oldValue:f})},{immediate:!0,deep:!0}),s=Je(function(){return t.config.ripple},function(l,f){po.emit("config:ripple:change",{newValue:l,oldValue:f})},{immediate:!0,deep:!0}),i=Je(function(){return t.config.theme},function(l,f){n.value||Le.setTheme(l),t.config.unstyled||r(),n.value=!1,po.emit("config:theme:change",{newValue:l,oldValue:f})},{immediate:!0,deep:!0}),a=Je(function(){return t.config.unstyled},function(l,f){!l&&t.config.theme&&r(),po.emit("config:unstyled:change",{newValue:l,oldValue:f})},{immediate:!0,deep:!0});zn.push(o),zn.push(s),zn.push(i),zn.push(a)}var pc={install:function(t,n){var r=aw(Vw,n);Bw(t,r)}},mc=Ta(),Gw=Symbol(),gc={install:function(t){var n={require:function(o){mc.emit("confirm",o)},close:function(){mc.emit("close")}};t.config.globalProperties.$confirm=n,t.provide(Gw,n)}};const zs="ru",qw={created({app:e,context:t,req:n,res:r,isClient:o}){const s=zb(),i=jb(),a=v_({isClient:o}),l=z_({redirect:async function(u,c=307){console.log("Redirecting: "+u),o?await a.push(u):r.redirect(u,c)}});e.use(a),e.use(l),e.use(i),e.use(tw,{default:zs,getLang(){return l.state.lang}}),Jb(l,a);const f=Gb();return e.use(f,a,l),e.use(pc.default||pc),e.use(gc.default||gc),e.config.globalProperties.$emitter=s,o||(l.state.context=t),a.beforeEach(async u=>{l.commit("SET_TO_LANG",tc(u.fullPath,zs))}),a.afterEach(async(u,c)=>{l.commit("SET_LANG",tc(u.fullPath,zs))}),{head:i,router:a,store:l}}},zw=pn({name:"App",setup(){const e=Vv();Ed(Qe(()=>e.state.page))}}),Jw={class:"app"};function Yw(e,t,n,r,o,s){const i=Zi("RouterView");return un(),ys("div",Jw,[ye(i)])}const Qw=ba(zw,[["render",Yw],["__file","/Volumes/MacMiniAPFS/projects/packages/vite-node-template/template-vite-vue3-mts/src/frontend/App.vue"]]);iy(Qw,qw);
|