|
|
|
@@ -0,0 +1,87 @@
|
|
|
|
|
var M1=Object.defineProperty,D1=Object.defineProperties;var $1=Object.getOwnPropertyDescriptors;var Hl=Object.getOwnPropertySymbols;var A1=Object.prototype.hasOwnProperty,F1=Object.prototype.propertyIsEnumerable;var lr=Math.pow,Yl=(e,t,n)=>t in e?M1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$t=(e,t)=>{for(var n in t||(t={}))A1.call(t,n)&&Yl(e,n,t[n]);if(Hl)for(var n of Hl(t))F1.call(t,n)&&Yl(e,n,t[n]);return e},Ul=(e,t)=>D1(e,$1(t));var K=(e,t,n)=>new Promise((s,r)=>{var o=l=>{try{a(n.next(l))}catch(c){r(c)}},i=l=>{try{a(n.throw(l))}catch(c){r(c)}},a=l=>l.done?s(l.value):Promise.resolve(l.value).then(o,i);a((n=n.apply(e,t)).next())});const I1=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}};I1();/**
|
|
|
|
|
* @vue/shared v3.4.35
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**//*! #__NO_SIDE_EFFECTS__ */function xn(e,t){const n=new Set(e.split(","));return t?s=>n.has(s.toLowerCase()):s=>n.has(s)}const De=Object.freeze({}),js=Object.freeze([]),nt=()=>{},R1=()=>!1,Vr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Do=e=>e.startsWith("onUpdate:"),Be=Object.assign,La=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},L1=Object.prototype.hasOwnProperty,me=(e,t)=>L1.call(e,t),Z=Array.isArray,ms=e=>Br(e)==="[object Map]",Qs=e=>Br(e)==="[object Set]",Vl=e=>Br(e)==="[object Date]",ne=e=>typeof e=="function",Re=e=>typeof e=="string",Jt=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",ei=e=>(we(e)||ne(e))&&ne(e.then)&&ne(e.catch),Eu=Object.prototype.toString,Br=e=>Eu.call(e),Na=e=>Br(e).slice(8,-1),xu=e=>Br(e)==="[object Object]",ja=e=>Re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,vr=xn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),N1=xn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ti=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},j1=/-(\w)/g,Rt=ti(e=>e.replace(j1,(t,n)=>n?n.toUpperCase():"")),H1=/\B([A-Z])/g,kn=ti(e=>e.replace(H1,"-$1").toLowerCase()),Ss=ti(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=ti(e=>e?`on${Ss(e)}`:""),Qn=(e,t)=>!Object.is(e,t),Fs=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},$o=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ao=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ou=e=>{const t=Re(e)?Number(e):NaN;return isNaN(t)?e:t};let Bl;const ni=()=>Bl||(Bl=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function si(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Re(s)?B1(s):si(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Re(e)||we(e))return e}const Y1=/;(?![^(]*\))/g,U1=/:([^]+)/,V1=/\/\*[^]*?\*\//g;function B1(e){const t={};return e.replace(V1,"").split(Y1).forEach(n=>{if(n){const s=n.split(U1);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Pr(e){let t="";if(Re(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const s=Pr(e[n]);s&&(t+=s+" ")}else if(we(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const G1="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",W1="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",z1="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",q1=xn(G1),K1=xn(W1),J1=xn(z1),Z1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Q1=xn(Z1);function Cu(e){return!!e||e===""}function X1(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ks(e[s],t[s]);return n}function ks(e,t){if(e===t)return!0;let n=Vl(e),s=Vl(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Jt(e),s=Jt(t),n||s)return e===t;if(n=Z(e),s=Z(t),n||s)return n&&s?X1(e,t):!1;if(n=we(e),s=we(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!ks(e[i],t[i]))return!1}}return String(e)===String(t)}function Ha(e,t){return e.findIndex(n=>ks(n,t))}const Pu=e=>!!(e&&e.__v_isRef===!0),We=e=>Re(e)?e:e==null?"":Z(e)||we(e)&&(e.toString===Eu||!ne(e.toString))?Pu(e)?We(e.value):JSON.stringify(e,Mu,2):String(e),Mu=(e,t)=>Pu(t)?Mu(e,t.value):ms(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Mi(s,o)+" =>"]=r,n),{})}:Qs
Line truncated
|
|
|
|
|
* @vue/reactivity v3.4.35
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/function Zt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let _t;class Du{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_t,!t&&_t&&(this.index=(_t.scopes||(_t.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_t;try{return _t=this,t()}finally{_t=n}}else Zt("cannot run an inactive effect scope.")}on(){_t=this}off(){_t=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function $u(e){return new Du(e)}function eh(e,t=_t){t&&t.active&&t.effects.push(e)}function Au(){return _t}function th(e){_t?_t.cleanups.push(e):Zt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let gs;class Ya{constructor(t,n,s,r){this.fn=t,this.trigger=n,this.scheduler=s,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,eh(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,On();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(nh(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Cn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Kn,n=gs;try{return Kn=!0,gs=this,this._runnings++,Gl(this),this.fn()}finally{Wl(this),this._runnings--,gs=n,Kn=t}}stop(){this.active&&(Gl(this),Wl(this),this.onStop&&this.onStop(),this.active=!1)}}function nh(e){return e.value}function Gl(e){e._trackId++,e._depsLength=0}function Wl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Fu(e.deps[t],e);e.deps.length=e._depsLength}}function Fu(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Kn=!0,Qi=0;const Iu=[];function On(){Iu.push(Kn),Kn=!1}function Cn(){const e=Iu.pop();Kn=e===void 0?!0:e}function Ua(){Qi++}function Va(){for(Qi--;!Qi&&Xi.length;)Xi.shift()()}function Ru(e,t,n){var s;if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Fu(r,e),e.deps[e._depsLength++]=t):e._depsLength++,(s=e.onTrack)==null||s.call(e,Be({effect:e},n))}}const Xi=[];function Lu(e,t,n){var s;Ua();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o!=null?o:o=e.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o!=null?o:o=e.get(r)===r._trackId)&&((s=r.onTrigger)==null||s.call(r,Be({effect:r},n)),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Xi.push(r.scheduler)))}Va()}const Nu=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Fo=new WeakMap,_s=Symbol("iterate"),ea=Symbol("Map key iterate");function lt(e,t,n){if(Kn&&gs){let s=Fo.get(e);s||Fo.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Nu(()=>s.delete(n))),Ru(gs,r,{target:e,type:t,key:n})}}function qt(e,t,n,s,r,o){const i=Fo.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&Z(e)){const l=Number(s);i.forEach((c,d)=>{(d==="length"||!Jt(d)&&d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":Z(e)?ja(n)&&a.push(i.get("length")):(a.push(i.get(_s)),ms(e)&&a.push(i.get(ea)));break;case"delete":Z(e)||(a.push(i.get(_s)),ms(e)&&a.push(i.get(ea)));break;case"set":ms(e)&&a.push(i.get(_s));break}Ua();for(const l of a)l&&Lu(l,4,{target:e,type:t,key:n,newValue:s,oldValue:r,oldTarget:o});Va()}function sh(e,t){const n=Fo.get(e);return n&&n.get(t)}const rh=xn("__proto__,__v_isRef,__isVue"),ju=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jt)),zl=oh();function oh(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=re(this);for(let o=0,i=this.length;o<i;o++)lt(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(re)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){On(),Ua();const s=re(this)[t].apply(this,n);return Va(),Cn(),s}}),e}function ih(e){Jt(e)||(e=String(e));const t=re(this);return lt(t,"has",e),t.hasOwnProperty(e)}class Hu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?zu:Wu:o?Gu:Bu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=Z(t);if(!r){if(i&&me(zl,n))return Reflect.get(zl,n,s);if(n==="hasOwnProperty")return ih}const a=Reflect.get(t,n,s);return(Jt(n)?ju.has(n):rh(n))Line truncated
|
|
|
|
|
|
|
|
|
|
getter: `,this.getter),vo(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function kh(e,t,n=!1){let s,r;const o=ne(e);o?(s=e,r=()=>{Zt("Write operation failed: computed value is readonly")}):(s=e.get,r=e.set);const i=new Ju(s,r,o||!r,n);return t&&!n&&(i.effect.onTrack=t.onTrack,i.effect.onTrigger=t.onTrigger),i}function Zu(e){var t;Kn&&gs&&(e=re(e),Ru(gs,(t=e.dep)!=null?t:e.dep=Nu(()=>e.dep=void 0,e instanceof Ju?e:void 0),{target:e,type:"get",key:"value"}))}function vo(e,t=4,n,s){e=re(e);const r=e.dep;r&&Lu(r,t,{target:e,type:"set",key:"value",newValue:n,oldValue:s})}function Ye(e){return!!(e&&e.__v_isRef===!0)}function Ke(e){return Qu(e,!1)}function Th(e){return Qu(e,!0)}function Qu(e,t){return Ye(e)?e:new Eh(e,t)}class Eh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:re(t),this._value=n?t:Mr(t)}get value(){return Zu(this),this._value}set value(t){const n=this.__v_isShallow||_n(t)||Tn(t);if(t=n?t:re(t),Qn(t,this._rawValue)){const s=this._rawValue;this._rawValue=t,this._value=n?t:Mr(t),vo(this,4,t,s)}}}function pt(e){return Ye(e)?e.value:e}const xh={get:(e,t,n)=>pt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ye(r)&&!Ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Xu(e){return gn(e)?e:new Proxy(e,xh)}function Ql(e){Io(e)||Zt("toRefs() expects a reactive object but received a plain one.");const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=ed(e,n);return t}class Oh{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return sh(re(this._object),this._key)}}class Ch{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Di(e,t,n){return Ye(e)?e:ne(e)?new Ch(e):we(e)&&arguments.length>1?ed(e,t,n):Ke(e)}function ed(e,t,n){const s=e[t];return Ye(s)?s:new Oh(e,t,n)}/**
|
|
|
|
|
* @vue/runtime-core v3.4.35
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/const vs=[];function yr(e){vs.push(e)}function wr(){vs.pop()}let $i=!1;function M(e,...t){if($i)return;$i=!0,On();const n=vs.length?vs[vs.length-1].component:null,s=n&&n.appContext.config.warnHandler,r=Ph();if(s)vn(s,n,11,[e+t.map(o=>{var i,a;return(a=(i=o.toString)==null?void 0:i.call(o))!=null?a:JSON.stringify(o)}).join(""),n&&n.proxy,r.map(({vnode:o})=>`at <${pi(n,o.type)}>`).join(`
|
|
|
|
|
`),r]);else{const o=[`[Vue warn]: ${e}`,...t];r.length&&o.push(`
|
|
|
|
|
`,...Mh(r)),console.warn(...o)}Cn(),$i=!1}function Ph(){let e=vs[vs.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 s=e.component&&e.component.parent;e=s&&s.vnode}return t}function Mh(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
|
|
|
|
|
`],...Dh(n))}),t}function Dh({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,r=` at <${pi(e.component,e.type,s)}`,o=">"+n;return e.props?[r,...$h(e.props),o]:[r+o]}function $h(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...td(s,e[s]))}),n.length>3&&t.push(" ..."),t}function td(e,t,n){return Re(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ye(t)?(t=td(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ne(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function nd(e,t){e!==void 0&&(typeof e!="number"?M(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&M(`${t} is NaN - the duration expression might be incorrect.`))}const Wa={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"};function vn(e,t,n,s){try{return s?e(...s):e()}catch(r){Xs(r,t,n)}}function Ot(e,t,n,s){if(ne(e)){const r=vn(e,t,n,s);return r&&ei(r)&&r.catch(o=>{Xs(o,t,n)}),r}if(Z(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ot(e[o],t,n,s));return r}else M(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function Xs(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=Wa[n];for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){On(),vn(l,null,10,[e,i,a]),Cn();return}}Ah(e,n,r,s)}function Ah(e,t,n,s=!0){{const r=Wa[t];if(n&&yr(n),M(`Unhandled error${r?` during execution of ${r}`:""}`),n&&wr(),s)throw e;console.error(e)}}let Dr=!1,ta=!1;const ot=[];let Vt=0;const Hs=[];let jn=null,fs=0;const sd=Promise.resolve();let za=null;const Fh=100;function $r(e){const t=za||sd;return e?t.then(this?e.bind(this):e):t}function Ih(e){let t=Vt+1,n=ot.length;for(;t<n;){const s=t+n>>>1,r=ot[s],o=Ar(r);o<e||o===e&&r.pre?t=s+1:n=s}return t}function ai(e){(!ot.length||!ot.includes(e,Dr&&e.allowRecurse?Vt+1:Vt))&&(e.id==null?ot.push(e):ot.splice(Ih(e.id),0,e),rd())}function rd(){!Dr&&!ta&&(ta=!0,za=sd.then(id))}function Rh(e){const t=ot.indexOf(e);t>Vt&&ot.splice(t,1)}function Ro(e){Z(e)?Hs.push(...e):(!jn||!jn.includes(e,e.allowRecurse?fs+1:fs))&&Hs.push(e),rd()}function Xl(e,t,n=Dr?Vt+1:0){for(t=t||new Map;n<ot.length;n++){const s=ot[n];if(s&&s.pre){if(e&&s.id!==e.uid||qa(t,s))continue;ot.splice(n,1),n--,s()}}}function od(e){if(Hs.length){const t=[...new Set(Hs)].sort((n,s)=>Ar(n)-Ar(s));if(Hs.length=0,jn){jn.push(...t);return}for(jn=t,e=e||new Map,fs=0;fs<jn.length;fs++){const n=jn[fs];qa(e,n)||n.active!==!1&&n()}jn=null,fs=0}}const Ar=e=>e.id==null?1/0:e.id,Lh=(e,t)=>{const n=Ar(e)-Ar(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function id(e){ta=!1,Dr=!0,e=e||new Map,ot.sort(Lh);const t=n=>qa(e,n);try{for(Vt=0;Vt<ot.length;Vt++){const n=ot[Vt];if(n&&n.active!==!1){if(t(n))continue;vn(n,n.i,n.i?15:14)}}}finally{Vt=0,ot.length=0,od(e),Dr=!1,za=null,(ot.length||Hs.length)&&id(e)}}function qa(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>Fh){const s=t.i,r=s&&sl(s.type);return Xs(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. 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}else e.set(t,n+1)}}let Jn=!1;const yo=new Map;ni().__VUE_HMR_RUNTIME__={createRecord:Ai(ad),rerender:Ai(Hh),reload:Ai(Yh)};const Ts=new Map;function Nh(e){const t=e.type.__hmrId;let n=Ts.get(t);n||(ad(t,e.type),n=Ts.get(t)),n.instances.add(e)}function jh(e){Ts.get(e.type.__hmrId).instances.delete(e)}function ad(e,t){return Ts.has(e)?!1:(Ts.set(e,{initialDef:Lo(t),instances:new Set}),!0)}function Lo(e){return qd(e)?e.__vccOpts:e}function Hh(e,t){const n=Ts.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Lo(s.type).render=t),s.renderCache=[],Jn=!0,s.effect.dirty=!0,s.update(),Jn=!1}))}function Yh(e,t){const n=Ts.get(e);if(!n)return;t=Lo(t),ec(n.initialDef,t);const s=[...n.instances];for(let r=0;r<s.length;r++){const o=s[r],i=Lo(o.type);let a=yo.get(i);a||(i!==n.initialDef&&ec(i,t),yo.set(i,a=new Set)),a.add(o),o.appContext.propsCache.delete(o.type),o.appContext.emitsCache.delete(o.type),o.appContext.optionsCache
Line truncated
|
|
|
|
|
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";M(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return i}else M(`resolve${Ss(e.slice(0,-1))} can only be used in render() or setup().`)}function nc(e,t){return e&&(e[t]||e[Rt(t)]||e[Ss(Rt(t))])}function Yo(e,t,n,s){let r;const o=n&&n[s];if(Z(e)||Re(e)){r=new Array(e.length);for(let i=0,a=e.length;i<a;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){Number.isInteger(e)||M(`The v-for range expect an integer value but got ${e}.`),r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(we(e))if(e[Symbol.iterator])r=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];r[a]=t(e[c],c,a,o&&o[a])}}else r=[];return n&&(n[s]=r),r}function hs(e,t,n={},s,r){if(qe.isCE||qe.parent&&br(qe.parent)&&qe.parent.isCE)return t!=="default"&&(n.name=t),Pe("slot",n,s&&s());let o=e[t];o&&o.length>1&&(M("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."),o=()=>[]),o&&o._c&&(o._d=!1),A();const i=o&&wd(o(n)),a=Ze(Ee,{key:(n.key||i&&i.key||`_${t}`)+(!i&&s?"_fb":"")},i||(s?s():[]),i&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function wd(e){return e.some(t=>qs(t)?!(t.type===ze||t.type===Ee&&!wd(t.children)):!0)?e:null}const ra=e=>e?Wd(e)?hi(e):ra(e.parent):null,ys=Be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>zt(e.props),$attrs:e=>zt(e.attrs),$slots:e=>zt(e.slots),$refs:e=>zt(e.refs),$parent:e=>ra(e.parent),$root:e=>ra(e.root),$emit:e=>e.emit,$options:e=>Qa(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ai(e.update)}),$nextTick:e=>e.n||(e.n=$r.bind(e.proxy)),$watch:e=>W0.bind(e)}),Za=e=>e==="_"||e==="$",Ii=(e,t)=>e!==De&&!e.__isScriptSetup&&me(e,t),bd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:l}=e;if(t==="__isVue")return!0;let c;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Ii(s,t))return i[t]=1,s[t];if(r!==De&&me(r,t))return i[t]=2,r[t];if((c=e.propsOptions[0])&&me(c,t))return i[t]=3,o[t];if(n!==De&&me(n,t))return i[t]=4,n[t];oa&&(i[t]=0)}}const d=ys[t];let u,f;if(d)return t==="$attrs"?(lt(e.attrs,"get",""),Go()):t==="$slots"&<(e,"get",t),d(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==De&&me(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,me(f,t))return f[t];qe&&(!Re(t)||t.indexOf("__v")!==0)&&(r!==De&&Za(t[0])&&me(r,t)?M(`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===qe&&M(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Ii(r,t)?(r[t]=n,!0):r.__isScriptSetup&&me(r,t)?(M(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==De&&me(s,t)?(s[t]=n,!0):me(e.props,t)?(M(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(M(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(o,t,{enumerable:!0,configurable:!0,value:n}):o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let a;return!!n[i]||e!==De&&me(e,i)||Ii(t,i)||(a=o[0])&&me(a,i)||me(s,i)||me(ys,i)||me(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:me(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};bd.ownKeys=e=>(M("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));function c0(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(ys).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>ys[n](e),set:nt})}),t}function u0(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:nt})})}function d0(e){const{ctx:t,setupState:n}=e;Object.keys(re(n)).forEach(s=>{if(!n.__isScriptSetup){if(Za(s[0])){M(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:nt})}})}function sc(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function cy(e){const t=tn();t||M("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return pa(),ei(n)&&(n=n.catch(s=>{throw E
Line truncated
|
|
|
|
|
|
|
|
|
|
For more details, see https://link.vuejs.org/feature-flags.`)}}const ft=rp;function j0(e){return H0(e)}function H0(e,t){N0();const n=ni();n.__VUE__=!0,ld(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:u,nextSibling:f,setScopeId:m=nt,insertStaticContent:_}=e,b=(h,p,v,S=null,x=null,P=null,j=void 0,F=null,R=Jn?!1:!!p.dynamicChildren)=>{if(h===p)return;h&&!Gt(h,p)&&(S=U(h),St(h,x,P,!0),h=null),p.patchFlag===-2&&(R=!1,p.dynamicChildren=null);const{type:C,ref:G,shapeFlag:ee}=p;switch(C){case qr:B(h,p,v,S);break;case ze:L(h,p,v,S);break;case Sr:h==null?I(p,v,S,j):D(h,p,v,j);break;case Ee:se(h,p,v,S,x,P,j,F,R);break;default:ee&1?V(h,p,v,S,x,P,j,F,R):ee&6?xe(h,p,v,S,x,P,j,F,R):ee&64||ee&128?C.process(h,p,v,S,x,P,j,F,R,he):M("Invalid VNode type:",C,`(${typeof C})`)}G!=null&&x&&ca(G,h&&h.ref,P,p||h,!p)},B=(h,p,v,S)=>{if(h==null)s(p.el=a(p.children),v,S);else{const x=p.el=h.el;p.children!==h.children&&c(x,p.children)}},L=(h,p,v,S)=>{h==null?s(p.el=l(p.children||""),v,S):p.el=h.el},I=(h,p,v,S)=>{[h.el,h.anchor]=_(h.children,p,v,S,h.el,h.anchor)},D=(h,p,v,S)=>{if(p.children!==h.children){const x=f(h.anchor);O(h),[p.el,p.anchor]=_(p.children,v,x,S)}else p.el=h.el,p.anchor=h.anchor},W=({el:h,anchor:p},v,S)=>{let x;for(;h&&h!==p;)x=f(h),s(h,v,S),h=x;s(p,v,S)},O=({el:h,anchor:p})=>{let v;for(;h&&h!==p;)v=f(h),r(h),h=v;r(p)},V=(h,p,v,S,x,P,j,F,R)=>{p.type==="svg"?j="svg":p.type==="math"&&(j="mathml"),h==null?w(p,v,S,x,P,j,F,R):k(h,p,x,P,j,F,R)},w=(h,p,v,S,x,P,j,F)=>{let R,C;const{props:G,shapeFlag:ee,transition:X,dirs:le}=h;if(R=h.el=i(h.type,P,G&&G.is,G),ee&8?d(R,h.children):ee&16&&N(h.children,R,null,S,x,Ri(h,P),j,F),le&&os(h,null,S,"created"),ce(R,h,h.scopeId,j,S),G){for(const Ae in G)Ae!=="value"&&!vr(Ae)&&o(R,Ae,null,G[Ae],P,S);"value"in G&&o(R,"value",null,G.value,P),(C=G.onVnodeBeforeMount)&&Ut(C,S,h)}$o(R,"__vnode",h,!0),$o(R,"__vueParentComponent",S,!0),le&&os(h,null,S,"beforeMount");const pe=Y0(x,X);pe&&X.beforeEnter(R),s(R,p,v),((C=G&&G.onVnodeMounted)||pe||le)&&ft(()=>{C&&Ut(C,S,h),pe&&X.enter(R),le&&os(h,null,S,"mounted")},x)},ce=(h,p,v,S,x)=>{if(v&&m(h,v),S)for(let P=0;P<S.length;P++)m(h,S[P]);if(x){let P=x.subTree;if(P.patchFlag>0&&P.patchFlag&2048&&(P=di(P.children)||P),p===P){const j=x.vnode;ce(h,j,j.scopeId,j.slotScopeIds,x.parent)}}},N=(h,p,v,S,x,P,j,F,R=0)=>{for(let C=R;C<h.length;C++){const G=h[C]=F?Yn(h[C]):Et(h[C]);b(null,G,p,v,S,x,P,j,F)}},k=(h,p,v,S,x,P,j)=>{const F=p.el=h.el;F.__vnode=p;let{patchFlag:R,dynamicChildren:C,dirs:G}=p;R|=h.patchFlag&16;const ee=h.props||De,X=p.props||De;let le;if(v&&is(v,!1),(le=X.onVnodeBeforeUpdate)&&Ut(le,v,p,h),G&&os(p,h,v,"beforeUpdate"),v&&is(v,!0),Jn&&(R=0,j=!1,C=null),(ee.innerHTML&&X.innerHTML==null||ee.textContent&&X.textContent==null)&&d(F,""),C?(T(h.dynamicChildren,C,F,v,S,Ri(p,x),P),Bo(h,p)):j||Fe(h,p,F,null,v,S,Ri(p,x),P,!1),R>0){if(R&16)E(F,ee,X,v,x);else if(R&2&&ee.class!==X.class&&o(F,"class",null,X.class,x),R&4&&o(F,"style",ee.style,X.style,x),R&8){const pe=p.dynamicProps;for(let Ae=0;Ae<pe.length;Ae++){const ke=pe[Ae],et=ee[ke],Dt=X[ke];(Dt!==et||ke==="value")&&o(F,ke,et,Dt,x,v)}}R&1&&h.children!==p.children&&d(F,p.children)}else!j&&C==null&&E(F,ee,X,v,x);((le=X.onVnodeUpdated)||G)&&ft(()=>{le&&Ut(le,v,p,h),G&&os(p,h,v,"updated")},S)},T=(h,p,v,S,x,P,j)=>{for(let F=0;F<p.length;F++){const R=h[F],C=p[F],G=R.el&&(R.type===Ee||!Gt(R,C)||R.shapeFlag&70)?u(R.el):v;b(R,C,G,null,S,x,P,j,!0)}},E=(h,p,v,S,x)=>{if(p!==v){if(p!==De)for(const P in p)!vr(P)&&!(P in v)&&o(h,P,p[P],null,x,S);for(const P in v){if(vr(P))continue;const j=v[P],F=p[P];j!==F&&P!=="value"&&o(h,P,F,j,x,S)}"value"in v&&o(h,"value",p.value,v.value,x)}},se=(h,p,v,S,x,P,j,F,R)=>{const C=p.el=h?h.el:a(""),G=p.anchor=h?h.anchor:a("");let{patchFlag:ee,dynamicChildren:X,slotScopeIds:le}=p;(Jn||ee&2048)&&(ee=0,R=!1,X=null),le&&(F=F?F.concat(le):le),h==null?(s(C,v,S),s(G,v,S),N(p.children||[],v,G,x,P,j,F,R)):ee>0&&ee&64&&X&&h.dynamicChildren?(T(h.dynamicChildren,X,v,x,P,j,F),Bo(h,p)):Fe(h,p,v,G,x,P,j,F,R)},xe=(h,p,v,S,x,P,j,F,R)=>{p.slotScopeIds=F,h==null?p.shapeFlag&512?x.ctx.activate(p,v,S,j,R):$e(p,v,S,x,P,j,R):Ce(h,p,R)},$e=(h,p,v,S,x,P,j)=>{const F=h.component=hp(h,S,x);if(F.type.__hmrId&&Nh(F),yr(h),ln(F,"mount"),Wr(h)&&(F.ctx.renderer=he),ln(F,"init"),mp(F,!1,j),cn(F,"init"),F.asyncDep){if(x&&x.registerDep(F,ae,j),!h.el){const R=F.subTree=Pe(ze);L(null,R,p,v)}}else ae(F,h,p,v,x,P,j);wr(),cn(F,"mount")},Ce=(h,p,v)=>{const S=p.component=h.component;if(Z0(h,p,v))if(S.asyncDep&&!S.asyncResolved){yr(p),oe(S,p,v),wr();return}else S.next=p,Rh(S.update),S.effect.dirty=!0,S.update();else p.el=h.el,S.vnode=p},ae=(h,p,v,S,x,P,j)=>{const F=()=>{if(h.isMounted){let{next:G,bu:ee,u:X,parent:le,vnode:pe}=h;{const Ps=Rd(h);if(Ps){G&&(G.el=pe.el,oe(h,G,j)),Ps.asyncDep.then(()=>{h.isUnmounted||F()});return}}let Ae=G,ke;yr(G||h.vnode),is(h,!1),G?(G.el=pe.el,oe(h,G,j)):G=pe,ee&&Fs(ee),(ke=G.props&&G.props.onVnod
Line truncated
|
|
|
|
|
Component that was made reactive: `,e)),g(e,t,n,s,r,i,o,!0)}function lp(e){return e?Io(e)||xd(e)?Be({},e):e:null}function Qt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?up(r||{},t):r,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Bd(c),ref:t&&t.ref?n&&o?Z(o)?o.concat(bo(t)):[o,bo(t)]:bo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i===-1&&Z(a)?a.map(Gd):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ee?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&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&jo(d,l.clone(d)),d}function Gd(e){const t=Qt(e);return Z(e.children)&&(t.children=e.children.map(Gd)),t}function Rs(e=" ",t=0){return Pe(qr,null,e,t)}function cp(e,t){const n=Pe(Sr,null,e);return n.staticCount=t,n}function ge(e="",t=!1){return t?(A(),Ze(ze,null,e)):Pe(ze,null,e)}function Et(e){return e==null||typeof e=="boolean"?Pe(ze):Z(e)?Pe(Ee,null,e.slice()):typeof e=="object"?Yn(e):Pe(qr,null,String(e))}function Yn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qt(e)}function nl(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),nl(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!xd(t)?t._ctx=qe:r===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),s&64?(n=16,t=[Rs(t)]):n=8);e.children=t,e.shapeFlag|=n}function up(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Pr([t.class,s.class]));else if(r==="style")t.style=si([t.style,s.style]);else if(Vr(r)){const o=t[r],i=s[r];i&&o!==i&&!(Z(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function Ut(e,t,n,s=null){Ot(e,t,7,[n,s])}const dp=kd();let fp=0;function hp(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||dp,o={uid:fp++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Du(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Cd(s,r),emitsOptions:Nd(s,r),emit:null,emitted:null,propsDefaults:De,inheritAttrs:s.inheritAttrs,ctx:De,data:De,props:De,attrs:De,slots:De,refs:De,setupState:De,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 o.ctx=c0(o),o.root=t?t.root:o,o.emit=q0.bind(null,o),e.ce&&e.ce(o),o}let Je=null;const tn=()=>Je||qe;let Wo,ha;{const e=ni(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Wo=t("__VUE_INSTANCE_SETTERS__",n=>Je=n),ha=t("__VUE_SSR_SETTERS__",n=>fi=n)}const Es=e=>{const t=Je;return Wo(e),e.scope.on(),()=>{e.scope.off(),Wo(t)}},pa=()=>{Je&&Je.scope.off(),Wo(null)},pp=xn("slot,component");function ma(e,{isNativeTag:t}){(pp(e)||t(e))&&M("Do not use built-in or reserved HTML elements as component id: "+e)}function Wd(e){return e.vnode.shapeFlag&4}let fi=!1;function mp(e,t=!1,n=!1){t&&ha(t);const{props:s,children:r}=e.vnode,o=Wd(e);b0(e,s,o,t),$0(e,r,n);const i=o?gp(e,t):void 0;return t&&ha(!1),i}function gp(e,t){var n;const s=e.type;{if(s.name&&ma(s.name,e.appContext.config),s.components){const o=Object.keys(s.components);for(let i=0;i<o.length;i++)ma(o[i],e.appContext.config)}if(s.directives){const o=Object.keys(s.directives);for(let i=0;i<o.length;i++)dd(o[i])}s.compilerOptions&&_p()&&M('"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,bd),u0(e);const{setup:r}=s;if(r){const o=e.setupContext=r.length>1?wp(e):null,i=Es(e);On();const a=vn(r,e,0,[zt(e.props),o]);if(Cn(),i(),ei(a)){if(a.then(pa,pa),t)return a.then(l=>{ga(e,l,t)}).catch(l=>{Xs(l,e,0)});if(e.asyncDep=a,!e.suspense){const l=(n=s.name)!=null?n:"Anonymous";M(`Component <${l}>: 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 ga(e,a,t)}else zd(e,t)}function ga(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)?(qs(t)&&M("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=Xu(t),d
Line truncated
|
|
|
|
|
* @vue/runtime-dom v3.4.35
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/const Tp="http://www.w3.org/2000/svg",Ep="http://www.w3.org/1998/Math/MathML",un=typeof document!="undefined"?document:null,yc=un&&un.createElement("template"),xp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?un.createElementNS(Tp,e):t==="mathml"?un.createElementNS(Ep,e):n?un.createElement(e,{is:n}):un.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>un.createTextNode(e),createComment:e=>un.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>un.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{yc.innerHTML=s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e;const a=yc.content;if(s==="svg"||s==="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]}},Rn="transition",ur="animation",Rr=Symbol("_vtc"),Kd=(e,{slots:t})=>Ir(Qh,Op(e),t);Kd.displayName="Transition";const Jd={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};Kd.props=Be({},fd,Jd);const as=(e,t=[])=>{Z(e)?e.forEach(n=>n(...t)):e&&e(...t)},wc=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function Op(e){const t={};for(const E in e)E in Jd||(t[E]=e[E]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,_=Cp(r),b=_&&_[0],B=_&&_[1],{onBeforeEnter:L,onEnter:I,onEnterCancelled:D,onLeave:W,onLeaveCancelled:O,onBeforeAppear:V=L,onAppear:w=I,onAppearCancelled:ce=D}=t,N=(E,se,xe)=>{ls(E,se?d:a),ls(E,se?c:i),xe&&xe()},k=(E,se)=>{E._isLeaving=!1,ls(E,u),ls(E,m),ls(E,f),se&&se()},T=E=>(se,xe)=>{const $e=E?w:I,Ce=()=>N(se,E,xe);as($e,[se,Ce]),bc(()=>{ls(se,E?l:o),Ln(se,E?d:a),wc($e)||Sc(se,s,b,Ce)})};return Be(t,{onBeforeEnter(E){as(L,[E]),Ln(E,o),Ln(E,i)},onBeforeAppear(E){as(V,[E]),Ln(E,l),Ln(E,c)},onEnter:T(!1),onAppear:T(!0),onLeave(E,se){E._isLeaving=!0;const xe=()=>k(E,se);Ln(E,u),Ln(E,f),Dp(),bc(()=>{!E._isLeaving||(ls(E,u),Ln(E,m),wc(W)||Sc(E,s,B,xe))}),as(W,[E,xe])},onEnterCancelled(E){N(E,!1),as(D,[E])},onAppearCancelled(E){N(E,!0),as(ce,[E])},onLeaveCancelled(E){k(E),as(O,[E])}})}function Cp(e){if(e==null)return null;if(we(e))return[Ni(e.enter),Ni(e.leave)];{const t=Ni(e);return[t,t]}}function Ni(e){const t=Ou(e);return nd(t,"<transition> explicit duration"),t}function Ln(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Rr]||(e[Rr]=new Set)).add(t)}function ls(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Rr];n&&(n.delete(t),n.size||(e[Rr]=void 0))}function bc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Pp=0;function Sc(e,t,n,s){const r=e._endId=++Pp,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Mp(e,t);if(!i)return s();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,f),o()},f=m=>{m.target===e&&++d>=l&&u()};setTimeout(()=>{d<l&&u()},a+1),e.addEventListener(c,f)}function Mp(e,t){const n=window.getComputedStyle(e),s=_=>(n[_]||"").split(", "),r=s(`${Rn}Delay`),o=s(`${Rn}Duration`),i=kc(r,o),a=s(`${ur}Delay`),l=s(`${ur}Duration`),c=kc(a,l);let d=null,u=0,f=0;t===Rn?i>0&&(d=Rn,u=i,f=o.length):t===ur?c>0&&(d=ur,u=c,f=l.length):(u=Math.max(i,c),d=u>0?i>c?Rn:ur:null,f=d?d===Rn?o.length:l.length:0);const m=d===Rn&&/\b(transform|all)(,|$)/.test(s(`${Rn}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:m}}function kc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Tc(n)+Tc(e[s])))}function Tc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Dp(){return document.body.offsetHeight}function $p(e,t,n){const s=e[Rr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ec=Symbol("_vod"),Ap=Symbol("_vsh"),Fp=Symbol("CSS_VAR_TEXT"),Ip=/(^|;)\s*display\s*:/;function Rp(e,t,n){const s=e.style,r=Re(n);let o=!1;if(n&&!r){if(t)if(Re(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&So(s,a,"")}else for(const i in t)n[i]==null&&So(s,i,"");for(const i in n)i==="display"&&(o=!0),So(s,i,n[i])}else if(r){if(t!==n){co
Line truncated
|
|
|
|
|
Expected function or array of functions, received type ${typeof e}.`),nt)}function Wp(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ac=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,zp=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?$p(e,s,i):t==="style"?Rp(e,n,s):Vr(t)?Do(t)||Yp(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qp(e,t,s,i))?(jp(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pc(e,t,s,i,o,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Pc(e,t,s,i))};function qp(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ac(t)&&ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Ac(t)&&Re(n)?!1:t in e}const Xn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>Fs(t,n):t};function Kp(e){e.target.composing=!0}function Fc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ct=Symbol("_assign"),Tr={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ct]=Xn(r);const o=s||r.props&&r.props.type==="number";hn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Ao(a)),e[Ct](a)}),n&&hn(e,"change",()=>{e.value=e.value.trim()}),t||(hn(e,"compositionstart",Kp),hn(e,"compositionend",Fc),hn(e,"change",Fc))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Ct]=Xn(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ao(e.value):e.value,l=t==null?"":t;a!==l&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===l)||(e.value=l))}},Jp={deep:!0,created(e,t,n){e[Ct]=Xn(n),hn(e,"change",()=>{const s=e._modelValue,r=Ks(e),o=e.checked,i=e[Ct];if(Z(s)){const a=Ha(s,r),l=a!==-1;if(o&&!l)i(s.concat(r));else if(!o&&l){const c=[...s];c.splice(a,1),i(c)}}else if(Qs(s)){const a=new Set(s);o?a.add(r):a.delete(r),i(a)}else i(Zd(e,o))})},mounted:Ic,beforeUpdate(e,t,n){e[Ct]=Xn(n),Ic(e,t,n)}};function Ic(e,{value:t,oldValue:n},s){e._modelValue=t,Z(t)?e.checked=Ha(t,s.props.value)>-1:Qs(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=ks(t,Zd(e,!0)))}const ko={created(e,{value:t},n){e.checked=ks(t,n.props.value),e[Ct]=Xn(n),hn(e,"change",()=>{e[Ct](Ks(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ct]=Xn(s),t!==n&&(e.checked=ks(t,s.props.value))}},Zp={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=Qs(t);hn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ao(Ks(i)):Ks(i));e[Ct](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,$r(()=>{e._assigning=!1})}),e[Ct]=Xn(s)},mounted(e,{value:t,modifiers:{number:n}}){Rc(e,t)},beforeUpdate(e,t,n){e[Ct]=Xn(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Rc(e,t)}};function Rc(e,t,n){const s=e.multiple,r=Z(t);if(s&&!r&&!Qs(t)){wn(`<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,i=e.options.length;o<i;o++){const a=e.options[o],l=Ks(a);if(s)if(r){const c=typeof l;c==="string"||c==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=Ha(t,l)>-1}else a.selected=t.has(l);else if(ks(Ks(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function Ks(e){return"_value"in e?e._value:e.value}function Zd(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const uy={created(e,t,n){co(e,t,n,null,"created")},mounted(e,t,n){co(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){co(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){co(e,t,n,s,"updated")}};function Qp(e,t){switch(e){case"SELECT":return Zp;case"TEXTAREA":return Tr;default:switch(t){case"checkbox":return Jp;case"radio":return ko;default:return Tr}}}function co(e,t,n,s,r){const i=Qp(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,s)}const Xp=["ctrl","shift","alt","meta"],e2={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)=>Xp.some(n=>e[`${n}Key`]&&!t.includes(n))},tr=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const a=e2[t[i]];if(a&&a(r,t))return}return e(r,...o)})},t2=Be({patchProp:zp},xp);let Lc;function Qd(){return Lc||(Lc=j0(t2))}const dy=(...e)=>{Qd().render(...e)},rl=(...e)=>{const t=Qd().createApp(...e);s2(t),r2(t);const{mount:n}=t;return t.
Line truncated
|
|
|
|
|
* vue v3.4.35
|
|
|
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
|
|
|
* @license MIT
|
|
|
|
|
**/function i2(){kp()}i2();function a2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l2(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function c2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},s=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),s.forEach(function(r){a2(e,r,n[r])})}return e}var u2=/[[\].]{1,2}/g,Xd=/%\{((?:.|\n)+?)\}/g,d2=/\{\{((?:.|\n)+?)\}\}/g,ol=function(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=arguments.length>3?arguments[3]:void 0,o=e.silent;!o&&d2.test(t)&&console.warn('Mustache syntax cannot be used with vue-gettext. Please use "%{}" instead of "{{}}" in: '.concat(t));var i=t.replace(Xd,function(a,l){var c=function(b,B){for(var L=B.split(u2).filter(function(I){return I});L.length;)b=b[L.shift()];return b},d=l.trim(),u,f={"&":"&","<":"<",">":">",'"':""","'":"'"};function m(_,b,B){try{u=c(_,b)}catch(I){}if(u==null){if(B)return m(B.ctx,b,B.parent);console.warn("Cannot evaluate expression: ".concat(b)),u=b}var L=u.toString();return s?L:L.replace(/[&<>"']/g,function(I){return f[I]})}return m(n,d,r)});return i}};ol.INTERPOLATION_RE=Xd;ol.INTERPOLATION_PREFIX="%{";var il=ol,Nc={getTranslationIndex:function(t,n){switch(n=Number(n),n=typeof n=="number"&&isNaN(n)?1:n,t.length>2&&t!=="pt_BR"&&(t=t.split("_")[0]),t){case"ay":case"bo":case"cgg":case"dz":case"fa":case"id":case"ja":case"jbo":case"ka":case"kk":case"km":case"ko":case"ky":case"lo":case"ms":case"my":case"sah":case"su":case"th":case"tt":case"ug":case"vi":case"wo":case"zh":return 0;case"is":return n%10!==1||n%100===11?1:0;case"jv":return n!==0?1:0;case"mk":return n===1||n%10===1?0:1;case"ach":case"ak":case"am":case"arn":case"br":case"fil":case"fr":case"gun":case"ln":case"mfe":case"mg":case"mi":case"oc":case"pt_BR":case"tg":case"ti":case"tr":case"uz":case"wa":return n>1?1:0;case"lv":return n%10===1&&n%100!==11?0:n!==0?1:2;case"lt":return n%10===1&&n%100!==11?0:n%10>=2&&(n%100<10||n%100>=20)?1:2;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return n%10===1&&n%100!==11?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2;case"mnk":return n===0?0:n===1?1:2;case"ro":return n===1?0:n===0||n%100>0&&n%100<20?1:2;case"pl":return n===1?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2;case"cs":case"sk":return n===1?0:n>=2&&n<=4?1:2;case"csb":return n===1?0:n%10>=2&&n%10<=4&&(n%100<10||n%100>=20)?1:2;case"sl":return n%100===1?0:n%100===2?1:n%100===3||n%100===4?2:3;case"mt":return n===1?0:n===0||n%100>1&&n%100<11?1:n%100>10&&n%100<20?2:3;case"gd":return n===1||n===11?0:n===2||n===12?1:n>2&&n<20?2:3;case"cy":return n===1?0:n===2?1:n!==8&&n!==11?2:3;case"kw":return n===1?0:n===2?1:n===3?2:3;case"ga":return n===1?0:n===2?1:n>2&&n<7?2:n>6&&n<11?3:4;case"ar":return n===0?0:n===1?1:n===2?2:n%100>=3&&n%100<=10?3:n%100>=11?4:5;default:return n!==1?1:0}}},f2=function(e){return{getTranslation:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0,l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1;i===void 0&&(i=e.current);var c=function(D,W){return W?e.interpolate(D,W,l):D};if(n=n.trim(),!n)return"";var d=i?e.silent||e.muted.indexOf(i)!==-1:!1,u=i;e.sourceCodeLanguage&&(u=e.sourceCodeLanguage);var f=o&&Nc.getTranslationIndex(u,s)>0?o:n,m=e.translations,_=m[i]||m[i.split("_")[0]];if(!_)return d||console.warn("No translations found for ".concat(i)),c(f,a);var b=function(D){var W=Nc.getTranslationIndex(i,s);D.length===1&&s===1&&(W=0);var O=D[W];if(!O){if(O==="")return c(f,a);throw new Error(n+" "+W+" "+e.current+" "+s)}return c(O,a)},B=function(){if(!d){var D="Untranslated ".concat(i," key found: ").concat(n);r&&(D+=" (with context: ".concat(r,")")),console.warn(D)}return c(f,a)},L=function(D){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(l2(D,Object)){if(Array.isArray(D))return b(D);var O=W!=null?W:"",V=D[O];return L(V)}return W||!D?B():c(D,a)},I=_[n];return L(I,r)},gettext:function(n,s){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return this.getTranslation(n,void 0,void 0,void 0,void 0,s,r)},pgettext:function(n,s,r){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return this.getTranslation(s,1,n,void 0,void 0,r,o)},ngettext:function(n,s,r,o){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;return this.getTranslation(n,r,null,s,void 0,o,i)},npgettext:function(n,s,r,o,i){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1;rLine truncated
|
|
|
|
|
//! version : 2.30.1
|
|
|
|
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
|
|
|
//! license : MIT
|
|
|
|
|
//! momentjs.com
|
|
|
|
|
var ef;function H(){return ef.apply(null,arguments)}function D2(e){ef=e}function Lt(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function bs(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function be(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ll(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(be(e,t))return!1;return!0}function ht(e){return e===void 0}function En(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Kr(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function tf(e,t){var n=[],s,r=e.length;for(s=0;s<r;++s)n.push(t(e[s],s));return n}function Wn(e,t){for(var n in t)be(t,n)&&(e[n]=t[n]);return be(t,"toString")&&(e.toString=t.toString),be(t,"valueOf")&&(e.valueOf=t.valueOf),e}function nn(e,t,n,s){return Ef(e,t,n,s,!0).utc()}function $2(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function ue(e){return e._pf==null&&(e._pf=$2()),e._pf}var ya;Array.prototype.some?ya=Array.prototype.some:ya=function(e){var t=Object(this),n=t.length>>>0,s;for(s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function cl(e){var t=null,n=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=ue(e),n=ya.call(t.parsedDateParts,function(r){return r!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function mi(e){var t=nn(NaN);return e!=null?Wn(ue(t),e):ue(t).userInvalidated=!0,t}var Bc=H.momentProperties=[],Ui=!1;function ul(e,t){var n,s,r,o=Bc.length;if(ht(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ht(t._i)||(e._i=t._i),ht(t._f)||(e._f=t._f),ht(t._l)||(e._l=t._l),ht(t._strict)||(e._strict=t._strict),ht(t._tzm)||(e._tzm=t._tzm),ht(t._isUTC)||(e._isUTC=t._isUTC),ht(t._offset)||(e._offset=t._offset),ht(t._pf)||(e._pf=ue(t)),ht(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)s=Bc[n],r=t[s],ht(r)||(e[s]=r);return e}function Jr(e){ul(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ui===!1&&(Ui=!0,H.updateOffset(this),Ui=!1)}function Nt(e){return e instanceof Jr||e!=null&&e._isAMomentObject!=null}function nf(e){H.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function Pt(e,t){var n=!0;return Wn(function(){if(H.deprecationHandler!=null&&H.deprecationHandler(null,e),n){var s=[],r,o,i,a=arguments.length;for(o=0;o<a;o++){if(r="",typeof arguments[o]=="object"){r+=`
|
|
|
|
|
[`+o+"] ";for(i in arguments[0])be(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[o];s.push(r)}nf(e+`
|
|
|
|
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
|
|
|
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Gc={};function sf(e,t){H.deprecationHandler!=null&&H.deprecationHandler(e,t),Gc[e]||(nf(t),Gc[e]=!0)}H.suppressDeprecationWarnings=!1;H.deprecationHandler=null;function sn(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function A2(e){var t,n;for(n in e)be(e,n)&&(t=e[n],sn(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function wa(e,t){var n=Wn({},e),s;for(s in t)be(t,s)&&(bs(e[s])&&bs(t[s])?(n[s]={},Wn(n[s],e[s]),Wn(n[s],t[s])):t[s]!=null?n[s]=t[s]:delete n[s]);for(s in e)be(e,s)&&!be(t,s)&&bs(e[s])&&(n[s]=Wn({},n[s]));return n}function dl(e){e!=null&&this.set(e)}var ba;Object.keys?ba=Object.keys:ba=function(e){var t,n=[];for(t in e)be(e,t)&&n.push(t);return n};var F2={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function I2(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return sn(s)?s.call(t,n):s}function Xt(e,t,n){var s=""+Math.abs(e),r=t-s.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+s}var fl=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,uo=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Vi={},Vs={};function te(e,t,n,s){var r=s;typeof s=="string"&&(r=function(){return this[s]()}),e&&(Vs[e]=r),t&&(Vs[t[0]]=function(){return Xt(r.apply(this,arguments),t[1],t[2])}),n&&(Vs[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function R2(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function L2(e){var t=e.match(fl),n,s;for(n=0,s=t.length;n<s;n++)Vs[t[n]]?t[n]=Vs[t[n]]:t[n]=R2(t[n]);return function(r){var o="",i;for(i=0;i<s;i++)o+=sn(t[i])?t[i].call(r,e):t[i];return o}}function To(e,t){return e.isValid()?(t=rf(t,e.localeData()),Vi[t]=Vi[t]||L2(t),Vi[t](e)):e.localeData().invalidDate()}function rf(e,t){var n=5;function s(r){return t.longDateFormat(r)||r}for(uo.lastIndex=0;n>=0&&uo.test(e);)e=e.replace(uo,s),uo.lastIndex=0,n-=1;return e}var N2={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function j2(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(fl).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var H2="Invalid date";function Y2(){return this._invalidDate}var U2="%d",V2=/\d{1,2}/;function B2(e){return this._ordinal.replace("%d",e)}var G2={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function W2(e,t,n,s){var r=this._relativeTime[n];return sn(r)?r(e,t,n,s):r.replace(/%d/i,e)}function z2(e,t){var n=this._relativeTime[e>0?"future":"past"];return sn(n)?n(t):n.replace(/%s/i,t)}var Wc={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Mt(e){return typeof e=="string"?Wc[e]||Wc[e.toLowerCase()]:void 0}function hl(e){var t={},n,s;for(s in e)be(e,s)&&(n=Mt(s),n&&(t[n]=e[s]));return t}var q2={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function K2(e){var t=[],n;for(n in e)be(e,n)&&t.push({unit:n,priority:q2[n]});return t.sort(function(s,r){return s.priority-r.priority}),t}var of=/\d/,bt=/\d\d/,af=/\d{3}/,pl=/\d{4}/,gi=/[+-]?\d{6}/,Ne=/\d\d?/,lf=/\d\d\d\d?/,cf=/\d\d\d\d\d\d?/,_i=/\d{1,3}/,ml=/\d{1,4}/,vi=/[+-]?\d{1,6}/,nr=/\d+/,yi=/[+-]?\d+/,J2=/Z|[+-]\d\d:?\d\d/gi,wi=/Z|[+-]\d\d(?::?\d\d)?/gi,Z2=/[+-]?\d+(\.\d{1,3})?/,Zr=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,sr=/^[1-9]\d?/,gl=/^([1-9]\d|\d)/,zo
Line truncated
|
|
|
|
|
H.version="2.30.1";D2(Le);H.fn=$;H.min=y6;H.max=w6;H.now=b6;H.utc=nn;H.unix=K4;H.months=Z4;H.isDate=Kr;H.locale=Zn;H.invalid=mi;H.duration=jt;H.isMoment=Nt;H.weekdays=X4;H.parseZone=J4;H.localeData=Mn;H.isDuration=Eo;H.monthsShort=Q4;H.weekdaysMin=tm;H.defineLocale=bl;H.updateLocale=J3;H.locales=Z3;H.weekdaysShort=em;H.normalizeUnits=Mt;H.relativeTimeRounding=Cm;H.relativeTimeThreshold=Pm;H.calendarFormat=W6;H.prototype=$;H.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};H.locale("zh-cn",{});const Dm=e=>{if(e)return H(e).utc().format("YYYY-MM-DD HH:mm:ss")},$m=e=>{if(e)return H(e).utc().format("YYYY\u5E74MM\u6708DD\u65E5")},Am=e=>{if(e)return H(e).utc().format("HH:mm:ss")},Fm=()=>new Date().getTime(),Im=e=>{if(e<1e3)return`${e} B`;let n=1e3,s=0;for(let i=e/1e3;i>=1e3;i/=1e3)n*=1e3,s++;let r=[" KB"," MB"," GB"," TB"," PB"," EB"];return(e/100/(n/100)).toFixed(1)+r[s]},Rm=e=>{if(e<1024)return""+e+"KB";let n=1024,s=0;for(let o=e/1024;o>=1024;o/=1024)n*=1024,s++;let r=["M","G","T","P","E"];return(e/100/(n/100)).toFixed(2)+r[s]},Lm=e=>{if(e==null)return 0;if(e<1e4)return e;let n=parseInt(`${e/1e4}`),s=e%1e4;return`${n}\u4E07${s}`},Nm=e=>{if(e)try{var t=new Date(e),n=t.getHours(),s=t.getMinutes(),r=t.getSeconds();return n<10&&(n=`0${n}`),s<10&&(s=`0${s}`),r<10&&(r=`0${r}`),`${n}:${s}:${r}`}catch(o){}return""},jm=e=>{if(e)try{var t=new Date(Number(e)*1e3),n=t.getFullYear(),s=t.getMonth()+1,r=t.getDate();return n+"\u5E74"+s+"\u6708"+r+"\u65E5 "}catch(o){}return""},Hm=e=>{if(e){let t=Math.floor(e/86400),n=Math.floor(e%86400/3600),s=Math.floor(e%86400%3600/60),r=Math.floor(e%86400%3600%60);return t+"\u5929"+n+"\u5C0F\u65F6"+(s>=10?s:"0"+s)+"\u5206"+(r>=10?r:"0"+r)+"\u79D2"}},Ym=e=>/^\d+\.\d+\.\d+\.\d+$/.test(e),Um=e=>e.length<3?"\u7528\u6237\u540D\u592A\u77ED":e.toLowerCase()!=e?"\u7528\u6237\u540D\u53EA\u80FD\u4E3A\u5C0F\u5199":new RegExp("^\\d").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5\u6570\u5B57\u5F00\u5934":new RegExp("^_").exec(e)?"\u7528\u6237\u540D\u4E0D\u80FD\u4EE5_\u5F00\u5934":new RegExp("^[a-z0-9_]+$").exec(e)?!0:"\u975E\u6CD5\u7684\u7528\u6237\u540D",Vm=()=>window.token||"",Bm=new Intl.NumberFormat("zh-CN",{notation:"compact"}),Gm=e=>Bm.format(e),Wm=()=>{var e;return((e=window==null?void 0:window.device_id)==null?void 0:e.uid)||""},zm=()=>(window==null?void 0:window.model)||"wizard",qm=()=>(window==null?void 0:window.istoreRouterVer)||"";var Km=Object.freeze(Object.defineProperty({__proto__:null,formatDate:Dm,formatDateYMD:$m,formatDateHMS:Am,UnixDate:Fm,byteToSize:Im,numberToSize:Rm,numberToSum:Lm,dateForm:Nm,dateYearDayForm:jm,stampForm:Hm,checkIsIP:Ym,checkSmabaUserName:Um,getToken:Vm,numberFormat:Gm,getDeviceId:Wm,getModel:zm,getVersion:qm},Symbol.toStringTag,{value:"Module"}));const Jm=()=>!!(navigator.userAgent||"").match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);var Zm=Object.freeze(Object.defineProperty({__proto__:null,isMobile:Jm},Symbol.toStringTag,{value:"Module"})),Oe=$t($t({},Zm),Km);const st=(e,t)=>(e=`/cgi-bin/luci${e}`,vt(e,t)),Qm=(n,...s)=>K(void 0,[n,...s],function*(e,t={}){const r=yield fetch(`/cgi-bin/luci${e}`,t);if(r.status===204||r.status===205)return"";if(!r.ok)throw r;return r.text()}),Xm={installed:{GET(){return st("/admin/store/installed",{method:"GET"})}},installedList:{GET(){return st("/istore/app/install-list/",{method:"GET"})}},blockDevices:{GET(){return st("/admin/store/get_block_devices",{method:"GET"})}},configured:{GET(e){return st("/admin/store/configured?"+new URLSearchParams({uci:e,_t:`${Oe.UnixDate()}`}),{method:"GET"})}},install:{POST(e,t={}){const n=new URLSearchParams({package:e,token:Oe.getToken(),_t:`${Oe.UnixDate()}`});return t.autoconf&&n.set("autoconf","1"),t.path&&n.set("path",t.path),typeof t.enable=="boolean"&&n.set("enable",t.enable?"1":"0"),st("/admin/store/install?"+n,{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},remove:{POST(e){return st("/admin/store/remove?"+new URLSearchParams({package:e,token:Oe.getToken(),_t:`${Oe.UnixDate()}`}),{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},upgrade:{POST(e){return st("/admin/store/upgrade?"+new URLSearchParams({package:e,token:Oe.getToken(),_t:`${Oe.UnixDate()}`}),{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},update:{POST(){return st("/admin/store/update?"+new URLSearchParams({token:Oe.getToken(),_t:`${Oe.UnixDate()}`}),{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}},upload:{POST(e){return st("/admin/store/upload?"+new URLSearchParams({token:Oe.getToken(),_t:`${Oe.UnixDate()}`}),{method:"POST",body:e})}},backupFeatures:{GET(){return st("/admin/store/get_support_backup_features",{method:"GETLine truncated
|
|
|
|
|
* pinia v2.2.0
|
|
|
|
|
* (c) 2024 Eduardo San Martin Morote
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/let Ca;const Yr=e=>Ca=e,qf=Symbol("pinia");function xs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Kt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Kt||(Kt={}));const Ws=typeof window!="undefined",Jc=(()=>typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null})();function _7(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}function Dl(e,t,n){const s=new XMLHttpRequest;s.open("GET",e),s.responseType="blob",s.onload=function(){Zf(s.response,t,n)},s.onerror=function(){console.error("could not download file")},s.send()}function Kf(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function Oo(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}const Co=typeof navigator=="object"?navigator:{userAgent:""},Jf=(()=>/Macintosh/.test(Co.userAgent)&&/AppleWebKit/.test(Co.userAgent)&&!/Safari/.test(Co.userAgent))(),Zf=Ws?typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype&&!Jf?v7:"msSaveOrOpenBlob"in Co?y7:w7:()=>{};function v7(e,t="download",n){const s=document.createElement("a");s.download=t,s.rel="noopener",typeof e=="string"?(s.href=e,s.origin!==location.origin?Kf(s.href)?Dl(e,t,n):(s.target="_blank",Oo(s)):Oo(s)):(s.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(s.href)},4e4),setTimeout(function(){Oo(s)},0))}function y7(e,t="download",n){if(typeof e=="string")if(Kf(e))Dl(e,t,n);else{const s=document.createElement("a");s.href=e,s.target="_blank",setTimeout(function(){Oo(s)})}else navigator.msSaveOrOpenBlob(_7(e,n),t)}function w7(e,t,n,s){if(s=s||open("","_blank"),s&&(s.document.title=s.document.body.innerText="downloading..."),typeof e=="string")return Dl(e,t,n);const r=e.type==="application/octet-stream",o=/constructor/i.test(String(Jc.HTMLElement))||"safari"in Jc,i=/CriOS\/[\d]+/.test(navigator.userAgent);if((i||r&&o||Jf)&&typeof FileReader!="undefined"){const a=new FileReader;a.onloadend=function(){let l=a.result;if(typeof l!="string")throw s=null,new Error("Wrong reader.result type");l=i?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),s?s.location.href=l:location.assign(l),s=null},a.readAsDataURL(e)}else{const a=URL.createObjectURL(e);s?s.location.assign(a):location.href=a,s=null,setTimeout(function(){URL.revokeObjectURL(a)},4e4)}}function tt(e,t){const n="\u{1F34D} "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function $l(e){return"_a"in e&&"install"in e}function Qf(){if(!("clipboard"in navigator))return tt("Your browser doesn't support the Clipboard API","error"),!0}function Xf(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(tt('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}function b7(e){return K(this,null,function*(){if(!Qf())try{yield navigator.clipboard.writeText(JSON.stringify(e.state.value)),tt("Global state copied to clipboard.")}catch(t){if(Xf(t))return;tt("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}})}function S7(e){return K(this,null,function*(){if(!Qf())try{e1(e,JSON.parse(yield navigator.clipboard.readText())),tt("Global state pasted from clipboard.")}catch(t){if(Xf(t))return;tt("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}})}function k7(e){return K(this,null,function*(){try{Zf(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){tt("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}})}let on;function T7(){on||(on=document.createElement("input"),on.type="file",on.accept=".json");function e(){return new Promise((t,n)=>{on.onchange=()=>K(this,null,function*(){const s=on.files;if(!s)return t(null);const r=s.item(0);return t(r?{text:yield r.text(),file:r}:null)}),on.oncancel=()=>t(null),on.onerror=n,on.click()})}return e}function E7(e){return K(this,null,function*(){try{const n=yield T7()();if(!n)return;const{text:s,file:r}=n;e1(e,JSON.parse(s)),tt(`Global state imported from "${r.name}".`)}catch(t){tt("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}})}function e1(e,t){for(const n in t){const s=e.state.value[n];s?Object.assign(s,t[n]):e.state.value[n]=t[n]}}function Ft(e){retLine truncated
|
|
|
|
|
${i}
|
|
|
|
|
Only state can be modified.`);i[0]="$state",Ns=!1,s.set(o,i,s.state.value),Ns=!0}})})}function $7(e,t){Mo.includes(Qo(t.$id))||Mo.push(Qo(t.$id)),Ml({id:"dev.esm.pinia",label:"Pinia \u{1F34D}",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Mo,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const s=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:i,onError:a,name:l,args:c})=>{const d=n1++;n.addTimelineEvent({layerId:ds,event:{time:s(),title:"\u{1F6EB} "+l,subtitle:"start",data:{store:Ft(t.$id),action:Ft(l),args:c},groupId:d}}),i(u=>{qn=void 0,n.addTimelineEvent({layerId:ds,event:{time:s(),title:"\u{1F6EC} "+l,subtitle:"end",data:{store:Ft(t.$id),action:Ft(l),args:c,result:u},groupId:d}})}),a(u=>{qn=void 0,n.addTimelineEvent({layerId:ds,event:{time:s(),logType:"error",title:"\u{1F4A5} "+l,subtitle:"end",data:{store:Ft(t.$id),action:Ft(l),args:c,error:u},groupId:d}})})},!0),t._customProperties.forEach(i=>{yn(()=>pt(t[i]),(a,l)=>{n.notifyComponentUpdate(),n.sendInspectorState(rt),Ns&&n.addTimelineEvent({layerId:ds,event:{time:s(),title:"Change",subtitle:i,data:{newValue:a,oldValue:l},groupId:qn}})},{deep:!0})}),t.$subscribe(({events:i,type:a},l)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(rt),!Ns)return;const c={time:s(),title:P7(a),data:M7({store:Ft(t.$id)},C7(i)),groupId:qn};a===Kt.patchFunction?c.subtitle="\u2935\uFE0F":a===Kt.patchObject?c.subtitle="\u{1F9E9}":i&&!Array.isArray(i)&&(c.subtitle=i.type),i&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:i}}),n.addTimelineEvent({layerId:ds,event:c})},{detached:!0,flush:"sync"});const r=t._hotUpdate;t._hotUpdate=Gn(i=>{r(i),n.addTimelineEvent({layerId:ds,event:{time:s(),title:"\u{1F525} "+t.$id,subtitle:"HMR update",data:{store:Ft(t.$id),info:Ft("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(rt),n.sendInspectorState(rt)});const{$dispose:o}=t;t.$dispose=()=>{o(),n.notifyComponentUpdate(),n.sendInspectorTree(rt),n.sendInspectorState(rt),n.getSettings().logStoreChanges&&tt(`Disposed "${t.$id}" store \u{1F5D1}`)},n.notifyComponentUpdate(),n.sendInspectorTree(rt),n.sendInspectorState(rt),n.getSettings().logStoreChanges&&tt(`"${t.$id}" store installed \u{1F195}`)})}let n1=0,qn;function Zc(e,t,n){const s=t.reduce((r,o)=>(r[o]=re(e)[o],r),{});for(const r in s)e[r]=function(){const o=n1,i=n?new Proxy(e,{get(...l){return qn=o,Reflect.get(...l)},set(...l){return qn=o,Reflect.set(...l)}}):e;qn=o;const a=s[r].apply(i,arguments);return qn=void 0,a}}function A7({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){Zc(t,Object.keys(n.actions),t._isOptionsAPI);const s=t._hotUpdate;re(t)._hotUpdate=function(r){s.apply(this,arguments),Zc(t,Object.keys(r._hmrPayload.actions),!!t._isOptionsAPI)}}$7(e,t)}}function s1(){const e=$u(!0),t=e.run(()=>Ke({}));let n=[],s=[];const r=Gn({install(o){Yr(r),r._a=o,o.provide(qf,r),o.config.globalProperties.$pinia=r,Ws&&D7(o,r),s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!c7?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return typeof Proxy!="undefined"&&r.use(A7),r}function r1(e,t){for(const n in t){const s=t[n];if(!(n in e))continue;const r=e[n];xs(r)&&xs(s)&&!Ye(s)&&!gn(s)?e[n]=r1(r,s):e[n]=s}return e}const F7=()=>{};function Qc(e,t,n,s=F7){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Au()&&th(r),r}function As(e,...t){e.slice().forEach(n=>{n(...t)})}const I7=e=>e(),Xc=Symbol(),zi=Symbol();function Pa(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];xs(r)&&xs(s)&&e.hasOwnProperty(n)&&!Ye(s)&&!gn(s)?e[n]=Pa(r,s):e[n]=s}return e}const R7=Symbol("pinia:skipHydration");function L7(e){return!xs(e)||!e.hasOwnProperty(R7)}const{assign:Tt}=Object;function eu(e){return!!(Ye(e)&&e.effect)}function tu(e,t,n,s){const{state:r,actions:o,getters:i}=t,a=n.state.value[e];let l;function c(){!a&&!s&&(n.state.value[e]=r?r():{});const d=Ql(s?Ke(r?r():{}).value:n.state.value[e]);return Tt(d,o,Object.keys(i||{}).reduce((u,f)=>(f in d&&console.warn(`[\u{1F34D}]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`),u[f]=Gn(Ue(()=>{Yr(n);const m=n._s.get(e);return i[f].call(m,m)})),u),{}))}return l=Ma(e,c,t,n,s,!0),l}function Ma(e,t,n={},s,r,o){let i;const a=Tt({actions:{}},n);if(!s._e.active)throw new Error("Pinia destroyed");const l={deep:!0};l.onTrigger=k=>{c?m=k:c==!1&&!w._hotUpdating&&(Array.isArray(m)?m.push(k):console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."))};let c,d,u=[],f=[],m;const _=s.state.value[e];!o&&!_&&!r&&(s.state.value[e]={});const b=Ke({});let B;
Line truncated
|
|
|
|
|
state: () => new MyClass()
|
|
|
|
|
Found in store "${w.$id}".`),_&&o&&n.hydrate&&n.hydrate(w.$state,_),c=!0,d=!0,w}function or(e,t,n){let s,r;const o=typeof t=="function";if(typeof e=="string")s=e,r=o?n:t;else if(r=e,s=e.id,typeof s!="string")throw new Error('[\u{1F34D}]: "defineStore()" must be passed a store id as its first argument.');function i(a,l){const c=w0();if(a=a||(c?yt(qf,null):null),a&&Yr(a),!Ca)throw new Error(`[\u{1F34D}]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
|
|
|
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
|
|
|
This will fail in production.`);a=Ca,a._s.has(s)||(o?Ma(s,t,r,a):tu(s,r,a),i._pinia=a);const d=a._s.get(s);if(l){const u="__hot:"+s,f=o?Ma(u,t,r,a,!0):tu(u,Tt({},r),a,!0);l._hotUpdate(f),delete a.state.value[u],a._s.delete(u)}if(Ws){const u=tn();if(u&&u.proxy&&!l){const f=u.proxy,m="_pStores"in f?f._pStores:f._pStores={};m[s]=d}}return d}return i.$id=s,i}const N7=s1,o1=or("popups",{state:()=>({index:0,values:new Map}),actions:{addValue(e){const t=this.values.get(e);return t?(this.index=t.config.globalProperties.key,!0):!1},setValue(e,t){this.values.set(e,t)},delValue(e){}}});const i1=e=>(ts("data-v-7d6f75a4"),e=e(),ns(),e),j7={key:0,class:"bg"},H7={class:"title"},Y7=i1(()=>g("div",{class:"auto"},null,-1)),U7={class:"btns"},V7=i1(()=>g("svg",{class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"128",height:"128"},[g("path",{d:"M557.312 513.248l265.28-263.904c12.544-12.48 12.608-32.704 0.128-45.248-12.512-12.576-32.704-12.608-45.248-0.128l-265.344 263.936-263.04-263.84C236.64 191.584 216.384 191.52 203.84 204 191.328 216.48 191.296 236.736 203.776 249.28l262.976 263.776L201.6 776.8c-12.544 12.48-12.608 32.704-0.128 45.248 6.24 6.272 14.464 9.44 22.688 9.44 8.16 0 16.32-3.104 22.56-9.312l265.216-263.808 265.44 266.24c6.24 6.272 14.432 9.408 22.656 9.408 8.192 0 16.352-3.136 22.592-9.344 12.512-12.48 12.544-32.704 0.064-45.248L557.312 513.248z"})],-1)),B7=[V7],G7=Ve({__name:"app",props:{title:{type:String},transparent:{type:Boolean,default:!0},bg:{type:Boolean,default:!1},full:{type:Boolean,default:!1}},setup(e){const t=e,n=Ke(null),s=()=>{c&&c.appContext.config.globalProperties.$close()},r=en({left:"",top:""}),o=m=>{const _=n.value;if(_==null||i.value)return;let b=m.clientX-_.offsetLeft,B=m.clientY-_.offsetTop,L=document.body.clientWidth-_.offsetWidth,I=document.body.clientHeight-_.offsetHeight;document.onmousemove=D=>{let W=D.clientX-b,O=D.clientY-B;O<0&&(O=0),W<0&&(W=0),W>L&&(W=L),O>I&&(O=I),r.left=W+"px",r.top=O+"px"},document.onmouseup=()=>{document.onmousemove=null,document.onmouseup=null}},i=Ke(t.full),a=()=>{i.value=!i.value},l=o1(),c=tn(),d=Ue(()=>(c==null?void 0:c.appContext.config.globalProperties.key)||0),u=Ue(()=>l.index==d.value),f=()=>{l.index=d.value};return(m,_)=>(A(),z(Ee,null,[e.bg?(A(),z("div",j7)):ge("v-if",!0),g("div",{class:Pr(["themedog-popups",{full:i.value,index:u.value}]),style:si(i.value?{}:r),ref_key:"popus",ref:n},[g("div",{class:"themedog-popups_header",onMousedown:o,onClick:f,onDblclick:a},[g("span",H7,We(e.title),1),Y7,g("div",U7,[g("button",{class:"btn-close",onClick:_[0]||(_[0]=b=>s())},[...B7])])],32),g("div",{class:Pr(["themedog-popups_body",{transparent:e.transparent}])},[hs(m.$slots,"default",{},void 0,!0)],2)],6)],64))}});var W7=ve(G7,[["__scopeId","data-v-7d6f75a4"]]);const z7={key:0,class:"popups-container setup0"},q7={class:"popups-container_f"},K7={class:"popups-container_r"},J7={class:"popups-container setup1"},Z7={class:"popups-container setup2"},Q7=Ve({__name:"app-container",props:{title:String,bg:Boolean,transparent:Boolean,full:Boolean,type:{type:Number,default:0}},setup(e){return(t,n)=>{const s=dt("popups");return A(),Ze(s,{title:e.title,bg:e.bg,transparent:e.transparent,full:e.full},{default:it(()=>[ge(" \u4FA7\u8FB9\u83DC\u5355 "),e.type==0?(A(),z("div",z7,[g("div",q7,[hs(t.$slots,"left",{},void 0,!0)]),g("div",K7,[hs(t.$slots,"right",{},void 0,!0)])])):e.type==1?(A(),z(Ee,{key:1},[ge(" \u5360\u6EE1\u5F39\u7A97 "),g("div",J7,[hs(t.$slots,"default",{},void 0,!0)])],2112)):e.type==2?(A(),z(Ee,{key:2},[ge(" \u65E0padding "),g("div",Z7,[hs(t.$slots,"default",{},void 0,!0)])],2112)):ge("v-if",!0)]),_:3},8,["title","bg","transparent","full"])}}});var X7=ve(Q7,[["__scopeId","data-v-0761ab98"]]);const e8={id:"action"},t8={key:0,class:"bg"},n8=Ve({__name:"app-action",props:{bg:{type:Boolean,default:!0}},setup(e){return(t,n)=>(A(),z("div",e8,[e.bg?(A(),z("div",t8)):ge("v-if",!0),hs(t.$slots,"default",{},void 0,!0)]))}});var nu=ve(n8,[["__scopeId","data-v-4de7892f"]]),s8={install(e){e.component("popups",W7),e.component("popups-container",X7),e.component("app-action",nu),e.component("action-component",nu)}};const r8=["src"],o8=Ve({__name:"index",props:{src:{type:String,required:!0}},setup(e){const t=Ke(),n=s=>{if(t.value){const r=t.value;if(r.contentWindow){let o=document.createElement("style");o.setAttribute("rel","stylesheet"),o.innerHTML=".main-left{display: none;}.main-right{width: 100%!important;transition:none;}",r.contentWindow.document.head.appendChild(o)}}};return(s,r)=>(A(),z("iframe",{class:"themedog-iframe_container",allowfullscreen:"true",mozallowfullscreen:"mozallowfullscreen",msallowfullscreen:"msallowfullscreen",oallowfullscreen:"oallowfullscreen",webkitallowfullscreen:"webkitallowfullscreen",src:e.src,onLoad:n,ref_key:"el",ref:t},null,40,r8))}});var i8=ve(o8,[["__scopeId","data-v-7ecd0a37"]]);const a8=Ve({__name:"index",props:{title:{type:String,default:""},src:{type:String,required:!0},full:{type:Boolean,default:!
Line truncated
|
|
|
|
|
* vue-router v4.4.2
|
|
|
|
|
* (c) 2024 Eduardo San Martin Morote
|
|
|
|
|
* @license MIT
|
|
|
|
|
*/const fn=typeof document!="undefined";function O5(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Te=Object.assign;function Ki(e,t){const n={};for(const s in t){const r=t[s];n[s]=wt(r)?r.map(e):e(r)}return n}const Or=()=>{},wt=Array.isArray;function fe(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const c1=/#/g,C5=/&/g,P5=/\//g,M5=/=/g,D5=/\?/g,u1=/\+/g,$5=/%5B/g,A5=/%5D/g,d1=/%5E/g,F5=/%60/g,f1=/%7B/g,I5=/%7C/g,h1=/%7D/g,R5=/%20/g;function Il(e){return encodeURI(""+e).replace(I5,"|").replace($5,"[").replace(A5,"]")}function L5(e){return Il(e).replace(f1,"{").replace(h1,"}").replace(d1,"^")}function Da(e){return Il(e).replace(u1,"%2B").replace(R5,"+").replace(c1,"%23").replace(C5,"%26").replace(F5,"`").replace(f1,"{").replace(h1,"}").replace(d1,"^")}function N5(e){return Da(e).replace(M5,"%3D")}function j5(e){return Il(e).replace(c1,"%23").replace(D5,"%3F")}function H5(e){return e==null?"":j5(e).replace(P5,"%2F")}function Js(e){try{return decodeURIComponent(""+e)}catch(t){fe(`Error decoding "${e}". Using original value`)}return""+e}const Y5=/\/$/,U5=e=>e.replace(Y5,"");function Ji(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(s=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),r=e(o)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=G5(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:Js(i)}}function V5(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function au(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function lu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&es(t.matched[s],n.matched[r])&&p1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function p1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!B5(e[n],t[n]))return!1;return!0}function B5(e,t){return wt(e)?cu(e,t):wt(t)?cu(t,e):e===t}function cu(e,t){return wt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function G5(e,t){if(e.startsWith("/"))return e;if(!t.startsWith("/"))return fe(`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("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Nn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ur;(function(e){e.pop="pop",e.push="push"})(Ur||(Ur={}));var Cr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Cr||(Cr={}));function W5(e){if(!e)if(fn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),U5(e)}const z5=/^[^#]+#/;function q5(e,t){return e.replace(z5,"#")+t}function K5(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Oi=()=>({left:window.scrollX,top:window.scrollY});function J5(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#");if(typeof e.el=="string"&&(!s||!document.getElementById(e.el.slice(1))))try{const o=document.querySelector(e.el);if(s&&o){fe(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch(o){fe(`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 r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r){fe(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=K5(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function uu(e,t){return(history.state?history.state.position-t:-1)+e}const $a=new Map;function Z5(e,t){$a.set(e,t)}function Q5(e){const t=$a.get(e);return $a.delete(e),t}let X5=()=>location.protocol+"//"+location.host;function m1(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(a);return l[0]!=="/"&&(l="/"+l),au(l,"")}return au(n,e)+s+r}function eg(e,t,n,s){let r=[],o=[],i=null;const a=({state:f})=>{const m=m1(e,location),_=n.value,b=t.value;let B=0;if(f){if(n.value=m,t.value=f,i&&i===_){i=null;return}B=b?f.position-b.position:0}elseLine truncated
|
|
|
|
|
|
|
|
|
|
history.replaceState(history.state, '', url)
|
|
|
|
|
|
|
|
|
|
You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`),o(d.current,d,!0);const u=Te({},du(s.value,l,null),{position:d.position+1},c);o(l,u,!1),s.value=l}return{location:s,state:r,push:a,replace:i}}function g1(e){e=W5(e);const t=tg(e),n=eg(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=Te({location:"",base:e,go:s,createHref:q5.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ng(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),!e.endsWith("#/")&&!e.endsWith("#")&&fe(`A hash base must end with a "#":
|
|
|
|
|
"${e}" should be "${e.replace(/#.*$/,"#")}".`),g1(e)}function Xo(e){return typeof e=="string"||e&&typeof e=="object"}function _1(e){return typeof e=="string"||typeof e=="symbol"}const v1=Symbol("navigation failure");var fu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fu||(fu={}));const sg={[1]({location:e,currentLocation:t}){return`No match for
|
|
|
|
|
${JSON.stringify(e)}${t?`
|
|
|
|
|
while being at
|
|
|
|
|
`+JSON.stringify(t):""}`},[2]({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${og(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 Zs(e,t){return Te(new Error(sg[e](t)),{type:e,[v1]:!0},t)}function an(e,t){return e instanceof Error&&v1 in e&&(t==null||!!(e.type&t))}const rg=["params","query","hash"];function og(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of rg)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const hu="[^/]+?",ig={sensitive:!1,strict:!1,start:!0,end:!0},ag=/[.+*?^${}()[\]/\\]/g;function lg(e,t){const n=Te({},ig,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let u=0;u<c.length;u++){const f=c[u];let m=40+(n.sensitive?.25:0);if(f.type===0)u||(r+="/"),r+=f.value.replace(ag,"\\$&"),m+=40;else if(f.type===1){const{value:_,repeatable:b,optional:B,regexp:L}=f;o.push({name:_,repeatable:b,optional:B});const I=L||hu;if(I!==hu){m+=10;try{new RegExp(`(${I})`)}catch(W){throw new Error(`Invalid custom RegExp for param "${_}" (${I}): `+W.message)}}let D=b?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;u||(D=B&&c.length<2?`(?:/${D})`:"/"+D),B&&(D+="?"),r+=D,m+=20,B&&(m+=-8),b&&(m+=-20),I===".*"&&(m+=-50)}d.push(m)}s.push(d)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(c){const d=c.match(i),u={};if(!d)return null;for(let f=1;f<d.length;f++){const m=d[f]||"",_=o[f-1];u[_.name]=m&&_.repeatable?m.split("/"):m}return u}function l(c){let d="",u=!1;for(const f of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const m of f)if(m.type===0)d+=m.value;else if(m.type===1){const{value:_,repeatable:b,optional:B}=m,L=_ in c?c[_]:"";if(wt(L)&&!b)throw new Error(`Provided param "${_}" is an array but it is not repeatable (* or + modifiers)`);const I=wt(L)?L.join("/"):L;if(!I)if(B)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${_}"`);d+=I}}return d||"/"}return{re:i,score:s,keys:o,parse:a,stringify:l}}function cg(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function y1(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=cg(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(pu(s))return 1;if(pu(r))return-1}return r.length-s.length}function pu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ug={type:0,value:""},dg=/[a-zA-Z0-9_]/;function fg(e){if(!e)return[[]];if(e==="/")return[[ug]];if(!e.startsWith("/"))throw new Error(`Route paths should start with a "/": "${e}" should be "/${e}".`);function t(m){throw new Error(`ERR (${n})/"${c}": ${m}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,l,c="",d="";function u(){!c||(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(c&&u(),i()):l===":"?(u(),n=1):f();break;case 4:f(),n=s;break;case 1:l==="("?n=2:dg.test(l)?f():(u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),i(),r}function hg(e,t,n){const s=lg(fg(e.path),n);{const o=new Set;for(const i of s.keys)o.has(i.name)&&fe(`Found duplicated params with name "${i.name}" for path "${e.path}". Only the last one will be available on "$route.params".`),o.add(i.name)}const r=Te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function pg(e,t){const n=[],s=new Map;t=_u({strict:!1,end:!0,sensitive:!1},t);function r(u){return s.get(u)}function o(u,f,m){const _=!m,b=mg(u);yg(b,f),b.aliasOf=m&&m.record;const B=_u(t,u),L=[b];if("alias"in u){const W=typeof u.alias=="string"?[u.alias]:u.alias;for(const O of W)L.push(Te({},b,{components:m?m.record.components:b.components,path:O,aliasOf:m?m.record:b}))}let I,D;for(const W of L){const{path:O}=W;if(f&&O[0]!=="/"){const V=f.record.path,w=V[V.length-1]==="/"?"":"/";W.path=f.record.path+(O&&w+O)}if(W.path==="*")throw new Error(`Catch all routes ("*") must now be
Line truncated
|
|
|
|
|
See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);if(I=hg(W,f,B),f&&O[0]==="/"&&wg(I,f),m?(m.alias.push(I),vg(m,I)):(D=D||I,D!==I&&D.alias.push(I),_&&u.name&&!gu(I)&&i(u.name)),w1(I)&&l(I),b.children){const V=b.children;for(let w=0;w<V.length;w++)o(V[w],I,m&&m.children[w])}m=m||I}return D?()=>{i(D)}:Or}function i(u){if(_1(u)){const f=s.get(u);f&&(s.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){const f=bg(u,n);n.splice(f,0,u),u.record.name&&!gu(u)&&s.set(u.record.name,u)}function c(u,f){let m,_={},b,B;if("name"in u&&u.name){if(m=s.get(u.name),!m)throw Zs(1,{location:u});{const D=Object.keys(u.params||{}).filter(W=>!m.keys.find(O=>O.name===W));D.length&&fe(`Discarded invalid param(s) "${D.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`)}B=m.record.name,_=Te(mu(f.params,m.keys.filter(D=>!D.optional).concat(m.parent?m.parent.keys.filter(D=>D.optional):[]).map(D=>D.name)),u.params&&mu(u.params,m.keys.map(D=>D.name))),b=m.stringify(_)}else if(u.path!=null)b=u.path,b.startsWith("/")||fe(`The Matcher cannot resolve relative paths but received "${b}". Unless you directly called \`matcher.resolve("${b}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`),m=n.find(D=>D.re.test(b)),m&&(_=m.parse(b),B=m.record.name);else{if(m=f.name?s.get(f.name):n.find(D=>D.re.test(f.path)),!m)throw Zs(1,{location:u,currentLocation:f});B=m.record.name,_=Te({},f.params,u.params),b=m.stringify(_)}const L=[];let I=m;for(;I;)L.unshift(I.record),I=I.parent;return{name:B,path:b,params:_,matched:L,meta:_g(L)}}e.forEach(u=>o(u));function d(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:d,getRoutes:a,getRecordMatcher:r}}function mu(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function mg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:gg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function gg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function gu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _g(e){return e.reduce((t,n)=>Te(t,n.meta),{})}function _u(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Aa(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function vg(e,t){for(const n of e.keys)if(!n.optional&&!t.keys.find(Aa.bind(null,n)))return fe(`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(Aa.bind(null,n)))return fe(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`)}function yg(e,t){t&&t.record.name&&!e.name&&!e.path&&fe(`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 wg(e,t){for(const n of t.keys)if(!e.keys.find(Aa.bind(null,n)))return fe(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`)}function bg(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;y1(e,t[o])<0?s=o:n=o+1}const r=Sg(e);return r&&(s=t.lastIndexOf(r,s-1),s<0&&fe(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)),s}function Sg(e){let t=e;for(;t=t.parent;)if(w1(t)&&y1(e,t)===0)return t}function w1({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function kg(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(u1," "),i=o.indexOf("="),a=Js(i<0?o:o.slice(0,i)),l=i<0?null:Js(o.slice(i+1));if(a in t){let c=t[a];wt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function vu(e){let t="";for(let n in e){const s=e[n];if(n=N5(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(wt(s)?s.map(o=>o&&Da(o)):[s&&Da(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Tg(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=wt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Eg=Symbol("router view location matched"),yu=Symbol("router view depth"),Ci=Symbol("router"),Rl=Symbol("route loc
Line truncated
|
|
|
|
|
${e.toString()}
|
|
|
|
|
. 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)u=u.then(m=>c._called?m:(fe(f),Promise.reject(new Error("Invalid navigation guard"))));else if(d!==void 0&&!c._called){fe(f),l(new Error("Invalid navigation guard"));return}}u.catch(f=>l(f))})}function xg(e,t,n){let s=0;return function(){s++===1&&fe(`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,s===1&&e.apply(null,arguments)}}function Zi(e,t,n,s,r=o=>o()){const o=[];for(const i of e){!i.components&&!i.children.length&&fe(`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 fe(`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){fe(`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 c=l;l=()=>c}else l.__asyncLoader&&!l.__warnedDefineAsync&&(l.__warnedDefineAsync=!0,fe(`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(Og(l)){const d=(l.__vccOpts||l)[t];d&&o.push(Un(d,n,s,i,a,r))}else{let c=l();"catch"in c||(fe(`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.`),c=Promise.resolve(c)),o.push(()=>c.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const u=O5(d)?d.default:d;i.components[a]=u;const m=(u.__vccOpts||u)[t];return m&&Un(m,n,s,i,a,r)()}))}}}return o}function Og(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wu(e){const t=yt(Ci),n=yt(Rl);let s=!1,r=null;const o=Ue(()=>{const d=pt(e.to);return(!s||d!==r)&&(Xo(d)||(s?fe(`Invalid value for prop "to" in useLink()
|
|
|
|
|
- to:`,d,`
|
|
|
|
|
- previous to:`,r,`
|
|
|
|
|
- props:`,e):fe(`Invalid value for prop "to" in useLink()
|
|
|
|
|
- to:`,d,`
|
|
|
|
|
- props:`,e)),r=d,s=!0),t.resolve(d)}),i=Ue(()=>{const{matched:d}=o.value,{length:u}=d,f=d[u-1],m=n.matched;if(!f||!m.length)return-1;const _=m.findIndex(es.bind(null,f));if(_>-1)return _;const b=bu(d[u-2]);return u>1&&bu(f)===b&&m[m.length-1].path!==b?m.findIndex(es.bind(null,d[u-2])):_}),a=Ue(()=>i.value>-1&&Dg(n.params,o.value.params)),l=Ue(()=>i.value>-1&&i.value===n.matched.length-1&&p1(n.params,o.value.params));function c(d={}){return Mg(d)?t[pt(e.replace)?"replace":"push"](pt(e.to)).catch(Or):Promise.resolve()}if(fn){const d=tn();if(d){const u={route:o.value,isActive:a.value,isExactActive:l.value,error:null};d.__vrl_devtools=d.__vrl_devtools||[],d.__vrl_devtools.push(u),G0(()=>{u.route=o.value,u.isActive=a.value,u.isExactActive=l.value,u.error=Xo(pt(e.to))?null:'Invalid "to" value'},{flush:"post"})}}return{route:o,href:Ue(()=>o.value.href),isActive:a,isExactActive:l,navigate:c}}const Cg=Ve({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:wu,setup(e,{slots:t}){const n=en(wu(e)),{options:s}=yt(Ci),r=Ue(()=>({[Su(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Su(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ir("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Pg=Cg;function Mg(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 Dg(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!wt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function bu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Su=(e,t,n)=>e!=null?e:t!=null?t:n,$g=Ve({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){Fg();const s=yt(Fa),r=Ue(()=>e.route||s.value),o=yt(yu,0),i=Ue(()=>{let c=pt(o);const{matched:d}=r.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=Ue(()=>r.value.matched[i.value]);wo(yu,Ue(()=>i.value+1)),wo(Eg,a),wo(Fa,r);const l=Ke();return yn(()=>[l.value,a.value,e.name],([c,d,u],[f,m,_])=>{d&&(d.instances[u]=c,m&&m!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=m.leaveGuards),d.updateGuards.size||(d.updateGuards=m.updateGuards))),c&&d&&(!m||!es(d,m)||!f)&&(d.enterCallbacks[u]||[]).forEach(b=>b(c))},{flush:"post"}),()=>{const c=r.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return ku(n.default,{Component:f,route:c});const m=u.props[d],_=m?m===!0?c.params:typeof m=="function"?m(c):m:null,B=Ir(f,Te({},_,t,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(u.instances[d]=null)},ref:l}));if(fn&&B.ref){const L={depth:i.value,name:u.name,path:u.path,meta:u.meta};(wt(B.ref)?B.ref.map(D=>D.i):[B.ref.i]).forEach(D=>{D.__vrv_devtools=L})}return ku(n.default,{Component:B,route:c})||B}}});function ku(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ag=$g;function Fg(){const e=tn(),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 s=t==="KeepAlive"?"keep-alive":"transition";fe(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
|
|
|
Use slot props instead:
|
|
|
|
|
|
|
|
|
|
<router-view v-slot="{ Component }">
|
|
|
|
|
<${s}>
|
|
|
|
|
<component :is="Component" />
|
|
|
|
|
</${s}>
|
|
|
|
|
</router-view>`)}}function mr(e,t){const n=Te({},e,{matched:e.matched.map(s=>Gg(s,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function _o(e){return{_custom:{display:e}}}let Ig=0;function Rg(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const s=Ig++;Ml({id:"org.vuejs.router"+(s?"."+s:""),label:"Vue Router",packageName:"vue-router",homepage:"https://router.vuejs.org",logo:"https://router.vuejs.org/logo.png",componentStateTypes:["Routing"],app:e},r=>{typeof r.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."),r.on.inspectComponent((d,u)=>{d.instanceData&&d.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:mr(t.currentRoute.value,"Current Route")})}),r.on.visitComponentTree(({treeNode:d,componentInstance:u})=>{if(u.__vrv_devtools){const f=u.__vrv_devtools;d.tags.push({label:(f.name?`${f.name.toString()}: `:"")+f.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:b1})}wt(u.__vrl_devtools)&&(u.__devtoolsApi=r,u.__vrl_devtools.forEach(f=>{let m=f.route.path,_=T1,b="",B=0;f.error?(m=f.error,_=Yg,B=Ug):f.isExactActive?(_=k1,b="This is exactly active"):f.isActive&&(_=S1,b="This link is active"),d.tags.push({label:m,textColor:B,tooltip:b,backgroundColor:_})}))}),yn(t.currentRoute,()=>{l(),r.notifyComponentUpdate(),r.sendInspectorTree(a),r.sendInspectorState(a)});const o="router:navigations:"+s;r.addTimelineLayer({id:o,label:`Router${s?" "+s:""} Navigations`,color:4237508}),t.onError((d,u)=>{r.addTimelineEvent({layerId:o,event:{title:"Error during Navigation",subtitle:u.fullPath,logType:"error",time:r.now(),data:{error:d},groupId:u.meta.__navigationId}})});let i=0;t.beforeEach((d,u)=>{const f={guard:_o("beforeEach"),from:mr(u,"Current Location during this navigation"),to:mr(d,"Target location")};Object.defineProperty(d.meta,"__navigationId",{value:i++}),r.addTimelineEvent({layerId:o,event:{time:r.now(),title:"Start of navigation",subtitle:d.fullPath,data:f,groupId:d.meta.__navigationId}})}),t.afterEach((d,u,f)=>{const m={guard:_o("afterEach")};f?(m.failure={_custom:{type:Error,readOnly:!0,display:f?f.message:"",tooltip:"Navigation Failure",value:f}},m.status=_o("\u274C")):m.status=_o("\u2705"),m.from=mr(u,"Current Location during this navigation"),m.to=mr(d,"Target location"),r.addTimelineEvent({layerId:o,event:{title:"End of navigation",subtitle:d.fullPath,time:r.now(),data:m,logType:f?"warning":"default",groupId:d.meta.__navigationId}})});const a="router-inspector:"+s;r.addInspector({id:a,label:"Routes"+(s?" "+s:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const d=c;let u=n.getRoutes().filter(f=>!f.parent||!f.parent.record.components);u.forEach(O1),d.filter&&(u=u.filter(f=>Ia(f,d.filter.toLowerCase()))),u.forEach(f=>x1(f,t.currentRoute.value)),d.rootNodes=u.map(E1)}let c;r.on.getInspectorTree(d=>{c=d,d.app===e&&d.inspectorId===a&&l()}),r.on.getInspectorState(d=>{if(d.app===e&&d.inspectorId===a){const f=n.getRoutes().find(m=>m.record.__vd_id===d.nodeId);f&&(d.state={options:Ng(f)})}}),r.sendInspectorTree(a),r.sendInspectorState(a)})}function Lg(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function Ng(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(s=>`${s.name}${Lg(s)}`).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(s=>s.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(s=>s.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const b1=15485081,S1=2450411,k1=8702998,jg=2282478,T1=16486972,Hg=6710886,Yg=16704226,Ug=12131356;function E1(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:jg}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:T1}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:b1}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:k1}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:S1}),n.redirect&&t.push({label:typeof n.redirect=="string"?`redirect: ${n.redirect}`:"redirects",textColor:16777215,backgroundColor:Hg});let s=n.__vd_id;return s==null&&(s=String(Vg++),n.__vd_id=s),{id:s,label:n.path,tags:t,children:e.children.map(E1)}}let Vg=0;const Bg=/^\/(.*)\/([a-z]*)$/;functi
Line truncated
|
|
|
|
|
- Location:`,y),L({});let Y;if(y.path!=null)"params"in y&&!("name"in y)&&Object.keys(y.params).length&&fe(`Path "${y.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),Y=Te({},y,{path:Ji(n,y.path,U.path).path});else{const h=Te({},y.params);for(const p in h)h[p]==null&&delete h[p];Y=Te({},y,{params:u(h)}),U.params=u(U.params)}const Q=t.resolve(Y,U),he=y.hash||"";he&&!he.startsWith("#")&&fe(`A \`hash\` should always start with the character "#". Replace "${he}" with "#${he}".`),Q.params=d(f(Q.params));const je=V5(s,Te({},y,{hash:L5(he),path:Q.path})),de=r.createHref(je);return de.startsWith("//")?fe(`Location "${y}" resolved to "${de}". A resolved location cannot start with multiple slashes.`):Q.matched.length||fe(`No match found for location with path "${y.path!=null?y.path:y}"`),Te({fullPath:je,hash:he,query:s===vu?Tg(y.query):y.query||{}},Q,{redirectedFrom:void 0,href:de})}function I(y){return typeof y=="string"?Ji(n,y,l.value.path):Te({},y)}function D(y,U){if(c!==y)return Zs(8,{from:U,to:y})}function W(y){return w(y)}function O(y){return W(Te(I(y),{replace:!0}))}function V(y){const U=y.matched[y.matched.length-1];if(U&&U.redirect){const{redirect:Y}=U;let Q=typeof Y=="function"?Y(y):Y;if(typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=I(Q):{path:Q},Q.params={}),Q.path==null&&!("name"in Q))throw fe(`Invalid redirect found:
|
|
|
|
|
${JSON.stringify(Q,null,2)}
|
|
|
|
|
when navigating to "${y.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return Te({query:y.query,hash:y.hash,params:Q.path!=null?{}:y.params},Q)}}function w(y,U){const Y=c=L(y),Q=l.value,he=y.state,je=y.force,de=y.replace===!0,h=V(Y);if(h)return w(Te(I(h),{state:typeof h=="object"?Te({},he,h.state):he,force:je,replace:de}),U||Y);const p=Y;p.redirectedFrom=U;let v;return!je&&lu(s,Q,Y)&&(v=Zs(16,{to:p,from:Q}),$n(Q,Q,!0,!1)),(v?Promise.resolve(v):k(p,Q)).catch(S=>an(S)?an(S,2)?S:rs(S):oe(S,p,Q)).then(S=>{if(S){if(an(S,2))return lu(s,L(S.to),p)&&U&&(U._count=U._count?U._count+1:1)>30?(fe(`Detected a possibly infinite redirection in a navigation guard when going from "${Q.fullPath}" to "${p.fullPath}". Aborting to avoid a Stack Overflow.
|
|
|
|
|
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"))):w(Te({replace:de},I(S.to),{state:typeof S.to=="object"?Te({},he,S.to.state):he,force:je}),U||p)}else S=E(p,Q,!0,de,he);return T(p,Q,S),S})}function ce(y,U){const Y=D(y,U);return Y?Promise.reject(Y):Promise.resolve()}function N(y){const U=An.values().next().value;return U&&typeof U.runWithContext=="function"?U.runWithContext(y):y()}function k(y,U){let Y;const[Q,he,je]=zg(y,U);Y=Zi(Q.reverse(),"beforeRouteLeave",y,U);for(const h of Q)h.leaveGuards.forEach(p=>{Y.push(Un(p,y,U))});const de=ce.bind(null,y,U);return Y.push(de),Fn(Y).then(()=>{Y=[];for(const h of o.list())Y.push(Un(h,y,U));return Y.push(de),Fn(Y)}).then(()=>{Y=Zi(he,"beforeRouteUpdate",y,U);for(const h of he)h.updateGuards.forEach(p=>{Y.push(Un(p,y,U))});return Y.push(de),Fn(Y)}).then(()=>{Y=[];for(const h of je)if(h.beforeEnter)if(wt(h.beforeEnter))for(const p of h.beforeEnter)Y.push(Un(p,y,U));else Y.push(Un(h.beforeEnter,y,U));return Y.push(de),Fn(Y)}).then(()=>(y.matched.forEach(h=>h.enterCallbacks={}),Y=Zi(je,"beforeRouteEnter",y,U,N),Y.push(de),Fn(Y))).then(()=>{Y=[];for(const h of i.list())Y.push(Un(h,y,U));return Y.push(de),Fn(Y)}).catch(h=>an(h,8)?h:Promise.reject(h))}function T(y,U,Y){a.list().forEach(Q=>N(()=>Q(y,U,Y)))}function E(y,U,Y,Q,he){const je=D(y,U);if(je)return je;const de=U===Nn,h=fn?history.state:{};Y&&(Q||de?r.replace(y.fullPath,Te({scroll:de&&h&&h.scroll},he)):r.push(y.fullPath,he)),l.value=y,$n(y,U,Y,de),rs()}let se;function xe(){se||(se=r.listen((y,U,Y)=>{if(!eo.listening)return;const Q=L(y),he=V(Q);if(he){w(Te(he,{replace:!0}),Q).catch(Or);return}c=Q;const je=l.value;fn&&Z5(uu(je.fullPath,Y.delta),Oi()),k(Q,je).catch(de=>an(de,12)?de:an(de,2)?(w(de.to,Q).then(h=>{an(h,20)&&!Y.delta&&Y.type===Ur.pop&&r.go(-1,!1)}).catch(Or),Promise.reject()):(Y.delta&&r.go(-Y.delta,!1),oe(de,Q,je))).then(de=>{de=de||E(Q,je,!1),de&&(Y.delta&&!an(de,8)?r.go(-Y.delta,!1):Y.type===Ur.pop&&an(de,20)&&r.go(-1,!1)),T(Q,je,de)}).catch(Or)}))}let $e=pr(),Ce=pr(),ae;function oe(y,U,Y){rs(y);const Q=Ce.list();return Q.length?Q.forEach(he=>he(y,U,Y)):(fe("uncaught error during route navigation:"),console.error(y)),Promise.reject(y)}function Fe(){return ae&&l.value!==Nn?Promise.resolve():new Promise((y,U)=>{$e.add([y,U])})}function rs(y){return ae||(ae=!y,xe(),$e.list().forEach(([U,Y])=>y?Y(y):U()),$e.reset()),y}function $n(y,U,Y,Q){const{scrollBehavior:he}=e;if(!fn||!he)return Promise.resolve();const je=!Y&&Q5(uu(y.fullPath,0))||(Q||!Y)&&history.state&&history.state.scroll||null;return $r().then(()=>he(y,U,je)).then(de=>de&&J5(de)).catch(de=>oe(de,y,U))}const Ht=y=>r.go(y);let St;const An=new Set,eo={currentRoute:l,listening:!0,addRoute:m,removeRoute:_,clearRoutes:t.clearRoutes,hasRoute:B,getRoutes:b,resolve:L,options:e,push:W,replace:O,go:Ht,back:()=>Ht(-1),forward:()=>Ht(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:Ce.add,isReady:Fe,install(y){const U=this;y.component("RouterLink",Pg),y.component("RouterView",Ag),y.config.globalProperties.$router=U,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>pt(l)}),fn&&!St&&l.value===Nn&&(St=!0,W(r.location).catch(he=>{fe("Unexpected error when starting the router:",he)}));const Y={};for(const he in Nn)Object.defineProperty(Y,he,{get:()=>l.value[he],enumerable:!0});y.provide(Ci,U),y.provide(Rl,qu(Y)),y.provide(Fa,l);const Q=y.unmount;An.add(y),y.unmount=function(){An.delete(y),An.size<1&&(c=Nn,se&&se(),se=null,l.value=Nn,St=!1,ae=!1),Q()},fn&&Rg(y,U,t)}};function Fn(y){return y.reduce((U,Y)=>U.then(()=>N(Y)),Promise.resolve())}return eo}function zg(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>es(c,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>es(c,l))||r.push(l))}return[n,s,r]}function qg(){return yt(Ci)}function vy(e){return yt(Rl)}const Kg={};function Jg(e,t){const n=dt("router-view");return A(),Ze(n)}var Zg=ve(Kg,[["render",Jg]]);const Qg="modulepreload",Tu={},Xg="/",Ie=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${Xg}${s}`,s in Tu)return;Tu[s]=!0;const r=s.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${o}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":Qg,r||(i.as="script",i.crossOrigin=""),i.href=s,document.head.appendChild(i),r)return new Promise((a,l)=>{i.addEventListener("load",a),i.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())};var e_={name:"PageRouter",path:"/router",component:()=>Ie(()=>import("./chunk.3e98a44f.js"),["luci-static/istorerouter/chunk.3e98a44f.js","luci-static/istorerouter/chunk.555488a0.js"]),children:[{path:
Line truncated
|
|
|
|
|
<icon-outlogin />
|
|
|
|
|
</a> `)])}}});var wv=ve(yv,[["__scopeId","data-v-03fbaefc"]]);const gt=e=>(ts("data-v-0d7842c9"),e=e(),ns(),e),bv={class:"tool"},Sv=gt(()=>g("div",{class:"tool-item_icon"},[g("svg",{t:"1654872227326",class:"icon",viewBox:"0 0 1070 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"18915",width:"128",height:"128"},[g("path",{d:"M616.56114032 913.71326004h-10.78499707c-0.00697165 0 4.88008933 1.06316208 10.78499706 0z m194.47155643-0.01045789c-28.60778047 0.01045706-31.10708332-23.73117654-31.28137207-29.83825964v-36.61809823h-142.70078101v35.18544369c0 23.05842188-11.4333522 29.67094253-20.48591711 31.27091418",fill:"#F0F0FF","p-id":"18916"}),g("path",{d:"M610.47497217 928.2489541c-5.85959326 0-12.22462327-1.32110979-15.86029011-6.17679877l-16.69339104-22.29852201h37.23508135c2.98731171-0.70412751 7.94757376-3.1650867 7.94757377-17.33825994v-49.12855499h170.58700443v50.34160629c0.54378122 15.96137778 12.92875076 16.11126617 17.20928649 16.11126617h0.12548804l0.00697165 27.88622343h-0.01742871c-21.89068588 0-44.35303958-13.4132742-45.20357007-43.38399272l-0.00697165-0.39389282v-22.67498611h-114.81455594v21.24233075c0 35.45036225-22.30549365 43.2724488-31.95412756 44.99093766v0.01045705c-2.35638611 0.42177942-5.38552688 0.81218601-8.56107065 0.81218602z",fill:"#6E6E96","p-id":"18917"}),g("path",{d:"M458.17784421 794.47525079V479.73040964c0-21.50027847 17.58923602-39.09300073 39.09648614-39.09299991h422.25320764c21.50725013 0 39.09997238 17.59272143 39.09997156 39.09299991v314.74135574",fill:"#9F9FBD","p-id":"18918"}),g("path",{d:"M958.63099579 763.19387873v44.95259398c0 21.51073636-17.59969309 39.10694403-39.09997238 39.10694321H497.27433035c-21.50376471 0-39.09648614-17.60666473-39.09648614-39.10694321V763.19387873h500.45315158z",fill:"#F0F0FF","p-id":"18919"}),g("path",{d:"M919.53102341 861.19304263H497.27433035c-29.2456777 0-53.03959826-23.79740679-53.03959826-53.05005615V749.2507666h528.33937582v58.89570612c0 29.24916311-23.79392056 53.04656992-53.0430845 53.04656991zM472.12095633 777.13699084v31.00948187c0 13.87339645 11.2834638 25.16383191 25.15337402 25.1638311H919.53102341c13.86991103 0 25.15686025-11.28694922 25.15686026-25.1638311v-31.00948187h-472.56692734z",fill:"#6E6E96","p-id":"18920"}),g("path",{d:"M472.12095633 794.47525079h-27.88622424V479.73040964c0-29.2456777 23.79392056-53.03611286 53.03959826-53.03611203h422.25320764c29.24916311 0 53.0430845 23.79043515 53.04308369 53.03611203v314.74135574h-27.88622425V479.73040964c0-13.86991103-11.2834638-25.14988861-25.15685944-25.14988779H497.27433035c-13.86991103 0-25.15337403 11.27997757-25.15337402 25.14988779v314.74484115z",fill:"#6E6E96","p-id":"18921"}),g("path",{d:"M458.17784421 744.17198816h500.44617993v11.03945938H458.17784421zM637.0540299 847.24644427h142.70078019v24.94771326h-142.70078019z",fill:"#6E6E96","p-id":"18922"}),g("path",{d:"M821.84906582 927.65637216h-241.2576686a13.94311212 13.94311212 0 0 1 0-27.88622423h241.2576686a13.94311212 13.94311212 0 0 1 0 27.88622424z",fill:"#6E6E96","p-id":"18923"}),g("path",{d:"M919.53102341 817.88922183H497.27433035c-21.50376471 0-39.09648614-17.59969309-39.09648614-39.10345779v26.0945343c0 21.50027847 17.58574978 39.09997238 39.09648614 39.09997238H919.53102341c21.50027847 0 39.10345779-17.59272143 39.10345779-39.09997238v-26.0945343c-0.00348542 21.517708-17.61015097 39.10345779-39.10345779 39.10345779z",fill:"#6E6E96","p-id":"18924"}),g("path",{d:"M512.22134677 487.62221103h396.47936426v229.11670432H512.22134677z",fill:"#A2C8F2","p-id":"18925"}),g("path",{d:"M653.79970709 714.00257971l250.40435038-226.38036868v73.11070843l-166.0798938 153.26966025z",fill:"#DEEFFF","p-id":"18926"}),g("path",{d:"M904.20405747 560.73291946l-166.0798938 153.26966025h166.0798938z",fill:"#FFFFFF","p-id":"18927"}),g("path",{d:"M908.70071103 730.68551288H512.22134677a13.94311212 13.94311212 0 0 1-13.94311212-13.94311212v-229.11670349a13.94311212 13.94311212 0 0 1 13.94311212-13.94311212h396.47936426a13.94311212 13.94311212 0 0 1 13.94311212 13.94311212v229.11670349a13.94311212 13.94311212 0 0 1-13.94311212 13.94311212z m-382.53625214-27.88622425h368.59314002v-201.23047924H526.16445889v201.23047924z",fill:"#6E6E96","p-id":"18928"}),g("path",{d:"M427.31825156 436.74379516c0 17.12911295-14.01282779 31.15588403-31.14194074 31.15588404H258.11858637c-17.1221413 0-31.14194074-14.0163132-31.14194074-31.15588404v-296.04712774c0-17.12911295 14.0163132-31.14542697 31.14194073-31.14542615H396.17631082c17.12911295 0 31.14194074 14.0163132 31.14194074 31.14542615v296.04712774z",fill:"#F0F0FF","p-id":"18929"}),g("path",{d:"M427.31825156 436.74379516c0 17.12911295-14.01282779 31.15588403-31.14194074 31.15588404H258.11858637c-17.1221413 0-31.14194074-14.0163132-31.14194074-31.15588404v-296.04712774c0-17.12911295 14.0163132-31.14542697 31.14194073-31.14542615H396.17631082c17.12911295 0 31.14194074 14.0163132 31.14194074 31.14542615v296.04712774z",fill:"#FFFFFF","p-id":"18930"}),g("path",{d:"M226.97315939 172.01289774h200Line truncated
|
|
|
|
|
loading...
|
|
|
|
|
</div> `),ge(` <div class="skeleton">
|
|
|
|
|
<li class="skeleton-item" v-for="item in 6"></li>
|
|
|
|
|
</div> `)]),_:2},1024))]),_:1})}var iy=ve(ry,[["render",oy],["__scopeId","data-v-e1c03446"]]),ay={install(e){e.component("layout-main",z9),e.component("layout-page",ev),e.component("layout-header",sy),e.component("router-loading",iy)}};document.title=Ra.HostName;const Xr=rl(b2);Xr.use(T5());x5();Xr.use(H9).use(ay);Xr.use(C1);Xr.use(v2);C1.isReady().then(()=>{const e=document.querySelector("#app");if(!e)return;const t=e.__vue_app__;t&&(t.unmount(),e.innerHTML=""),Xr.mount(e)});export{_y as $,Ze as A,it as B,vd as C,ir as D,dt as E,Ee as F,Pe as G,Kd as H,$9 as I,hs as J,si as K,Oe as L,_d as M,Ra as N,Yi as O,cy as P,ko as Q,cp as R,Hd as S,Qe as T,vy as U,qg as V,Pr as W,yn as X,su as Y,dy as Z,ve as _,Ue as a,py as a0,my as a1,_5 as a2,gy as a3,hy as a4,fy as a5,C1 as b,z as c,Ve as d,Yo as e,g as f,tr as g,ge as h,ie as i,Tr as j,uy as k,yt as l,er as m,zr as n,A as o,ts as p,ns as q,Ke as r,Rs as s,We as t,pt as u,Jp as v,Ms as w,en as x,Zp as y,wo as z};
|