mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-09-10 18:34:09 +08:00
88 lines
338 KiB
JavaScript
88 lines
338 KiB
JavaScript
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(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Mi(n))}:Jt(t)?Mi(t):we(t)&&!Z(t)&&!xu(t)?String(t):t,Mi=(e,t="")=>{var n;return Jt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @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))||(r||lt(t,"get",n),o)?a:Ye(a)?i&&ja(n)?a:a.value:we(a)?r?Ku(a):en(a):a}}class Yu extends Hu{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const l=Tn(o);if(!_n(s)&&!Tn(s)&&(o=re(o),s=re(s)),!Z(t)&&Ye(o)&&!Ye(s))return l?!1:(o.value=s,!0)}const i=Z(t)&&ja(n)?Number(n)<t.length:me(t,n),a=Reflect.set(t,n,s,r);return t===re(r)&&(i?Qn(s,o)&&qt(t,"set",n,s,o):qt(t,"add",n,s)),a}deleteProperty(t,n){const s=me(t,n),r=t[n],o=Reflect.deleteProperty(t,n);return o&&s&&qt(t,"delete",n,void 0,r),o}has(t,n){const s=Reflect.has(t,n);return(!Jt(n)||!ju.has(n))&<(t,"has",n),s}ownKeys(t){return lt(t,"iterate",Z(t)?"length":_s),Reflect.ownKeys(t)}}class Uu extends Hu{constructor(t=!1){super(!0,t)}set(t,n){return Zt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return Zt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const ah=new Yu,lh=new Uu,ch=new Yu(!0),uh=new Uu(!0),Ba=e=>e,ri=e=>Reflect.getPrototypeOf(e);function to(e,t,n=!1,s=!1){e=e.__v_raw;const r=re(e),o=re(t);n||(Qn(t,o)&<(r,"get",t),lt(r,"get",o));const{has:i}=ri(r),a=s?Ba:n?Ga:Mr;if(i.call(r,t))return a(e.get(t));if(i.call(r,o))return a(e.get(o));e!==r&&e.get(t)}function no(e,t=!1){const n=this.__v_raw,s=re(n),r=re(e);return t||(Qn(e,r)&<(s,"has",e),lt(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function so(e,t=!1){return e=e.__v_raw,!t&<(re(e),"iterate",_s),Reflect.get(e,"size",e)}function ql(e,t=!1){!t&&!_n(e)&&!Tn(e)&&(e=re(e));const n=re(this);return ri(n).has.call(n,e)||(n.add(e),qt(n,"add",e,e)),this}function Kl(e,t,n=!1){!n&&!_n(t)&&!Tn(t)&&(t=re(t));const s=re(this),{has:r,get:o}=ri(s);let i=r.call(s,e);i?Vu(s,r,e):(e=re(e),i=r.call(s,e));const a=o.call(s,e);return s.set(e,t),i?Qn(t,a)&&qt(s,"set",e,t,a):qt(s,"add",e,t),this}function Jl(e){const t=re(this),{has:n,get:s}=ri(t);let r=n.call(t,e);r?Vu(t,n,e):(e=re(e),r=n.call(t,e));const o=s?s.call(t,e):void 0,i=t.delete(e);return r&&qt(t,"delete",e,void 0,o),i}function Zl(){const e=re(this),t=e.size!==0,n=ms(e)?new Map(e):new Set(e),s=e.clear();return t&&qt(e,"clear",void 0,void 0,n),s}function ro(e,t){return function(s,r){const o=this,i=o.__v_raw,a=re(i),l=t?Ba:e?Ga:Mr;return!e&<(a,"iterate",_s),i.forEach((c,d)=>s.call(r,l(c),l(d),o))}}function oo(e,t,n){return function(...s){const r=this.__v_raw,o=re(r),i=ms(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=r[e](...s),d=n?Ba:t?Ga:Mr;return!t&<(o,"iterate",l?ea:_s),{next(){const{value:u,done:f}=c.next();return f?{value:u,done:f}:{value:a?[d(u[0]),d(u[1])]:d(u),done:f}},[Symbol.iterator](){return this}}}}function In(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";Zt(`${Ss(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function dh(){const e={get(o){return to(this,o)},get size(){return so(this)},has:no,add:ql,set:Kl,delete:Jl,clear:Zl,forEach:ro(!1,!1)},t={get(o){return to(this,o,!1,!0)},get size(){return so(this)},has:no,add(o){return ql.call(this,o,!0)},set(o,i){return Kl.call(this,o,i,!0)},delete:Jl,clear:Zl,forEach:ro(!1,!0)},n={get(o){return to(this,o,!0)},get size(){return so(this,!0)},has(o){return no.call(this,o,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:ro(!0,!1)},s={get(o){return to(this,o,!0,!0)},get size(){return so(this,!0)},has(o){return no.call(this,o,!0)},add:In("add"),set:In("set"),delete:In("delete"),clear:In("clear"),forEach:ro(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=oo(o,!1,!1),n[o]=oo(o,!0,!1),t[o]=oo(o,!1,!0),s[o]=oo(o,!0,!0)}),[e,n,t,s]}const[fh,hh,ph,mh]=dh();function oi(e,t){const n=t?e?mh:ph:e?hh:fh;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(me(n,r)&&r in s?n:s,r,o)}const gh={get:oi(!1,!1)},_h={get:oi(!1,!0)},vh={get:oi(!0,!1)},yh={get:oi(!0,!0)};function Vu(e,t,n){const s=re(n);if(s!==n&&t.call(e,s)){const r=Na(e);Zt(`Reactive ${r} contains both the raw and reactive versions of the same object${r==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Bu=new WeakMap,Gu=new WeakMap,Wu=new WeakMap,zu=new WeakMap;function wh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bh(e){return e.__v_skip||!Object.isExtensible(e)?0:wh(Na(e))}function en(e){return Tn(e)?e:ii(e,!1,ah,gh,Bu)}function qu(e){return ii(e,!1,ch,_h,Gu)}function Ku(e){return ii(e,!0,lh,vh,Wu)}function zt(e){return ii(e,!0,uh,yh,zu)}function ii(e,t,n,s,r){if(!we(e))return Zt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=bh(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function gn(e){return Tn(e)?gn(e.__v_raw):!!(e&&e.__v_isReactive)}function Tn(e){return!!(e&&e.__v_isReadonly)}function _n(e){return!!(e&&e.__v_isShallow)}function Io(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function Gn(e){return Object.isExtensible(e)&&$o(e,"__v_skip",!0),e}const Mr=e=>we(e)?en(e):e,Ga=e=>we(e)?Ku(e):e,Sh="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Ju{constructor(t,n,s,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ya(()=>t(this._value),()=>vo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=re(this);return(!t._cacheable||t.effect.dirty)&&Qn(t._value,t._value=t.effect.run())&&vo(t,4),Zu(t),t.effect._dirtyLevel>=2&&(this._warnRecursive&&Zt(Sh,`
|
|
|
|
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.delete(o.type),o.ceReload?(a.add(o),o.ceReload(t.styles),a.delete(o)):o.parent?(o.parent.effect.dirty=!0,ai(()=>{o.parent.update(),a.delete(o)})):o.appContext.reload?o.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Ro(()=>{yo.clear()})}function ec(e,t){Be(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ai(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Bt,gr=[],na=!1;function Gr(e,...t){Bt?Bt.emit(e,...t):na||gr.push({event:e,args:t})}function ld(e,t){var n,s;Bt=e,Bt?(Bt.enabled=!0,gr.forEach(({event:r,args:o})=>Bt.emit(r,...o)),gr=[]):typeof window!="undefined"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{ld(o,t)}),setTimeout(()=>{Bt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,na=!0,gr=[])},3e3)):(na=!0,gr=[])}function Uh(e,t){Gr("app:init",e,t,{Fragment:Ee,Text:qr,Comment:ze,Static:Sr})}function Vh(e){Gr("app:unmount",e)}const Bh=Ka("component:added"),cd=Ka("component:updated"),Gh=Ka("component:removed"),Wh=e=>{Bt&&typeof Bt.cleanupBuffer=="function"&&!Bt.cleanupBuffer(e)&&Gh(e)};/*! #__NO_SIDE_EFFECTS__ */function Ka(e){return t=>{Gr(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const zh=ud("perf:start"),qh=ud("perf:end");function ud(e){return(t,n,s)=>{Gr(e,t.appContext.app,t.uid,t,n,s)}}function Kh(e,t,n){Gr("component:emit",e.appContext.app,e,t,n)}let qe=null,li=null;function No(e){const t=qe;return qe=e,li=e&&e.type.__scopeId||null,t}function ts(e){li=e}function ns(){li=null}function it(e,t=qe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&_c(-1);const o=No(t);let i;try{i=e(...r)}finally{No(o),s._d&&_c(1)}return cd(t),i};return s._n=!0,s._c=!0,s._d=!0,s}function dd(e){N1(e)&&M("Do not use built-in directive ids as custom directive id: "+e)}function Ms(e,t){if(qe===null)return M("withDirectives can only be used inside render functions."),e;const n=hi(qe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,a,l=De]=t[r];o&&(ne(o)&&(o={mounted:o,updated:o}),o.deep&&Bn(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function os(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let l=a.dir[s];l&&(On(),Ot(l,n,8,[e.el,a,e,t]),Cn())}}const Hn=Symbol("_leaveCb"),io=Symbol("_enterCb");function Jh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return er(()=>{e.isMounted=!0}),_d(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],fd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},hd=e=>{const t=e.subTree;return t.component?hd(t.component):t},Zh={name:"BaseTransition",props:fd,setup(e,{slots:t}){const n=tn(),s=Jh();return()=>{const r=t.default&&md(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){let f=!1;for(const m of r)if(m.type!==ze){if(f){M("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}o=m,f=!0}}const i=re(e),{mode:a}=i;if(a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&M(`invalid <transition> mode: ${a}`),s.isLeaving)return Fi(o);const l=tc(o);if(!l)return Fi(o);let c=sa(l,i,s,n,f=>c=f);jo(l,c);const d=n.subTree,u=d&&tc(d);if(u&&u.type!==ze&&!Gt(l,u)&&hd(n).type!==ze){const f=sa(u,i,s,n);if(jo(u,f),a==="out-in"&&l.type!==ze)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Fi(o);a==="in-out"&&l.type!==ze&&(f.delayLeave=(m,_,b)=>{const B=pd(s,u);B[String(u.key)]=u,m[Hn]=()=>{_(),m[Hn]=void 0,delete c.delayedLeave},c.delayedLeave=b})}return o}}},Qh=Zh;function pd(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function sa(e,t,n,s,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:f,onLeave:m,onAfterLeave:_,onLeaveCancelled:b,onBeforeAppear:B,onAppear:L,onAfterAppear:I,onAppearCancelled:D}=t,W=String(e.key),O=pd(n,e),V=(N,k)=>{N&&Ot(N,s,9,k)},w=(N,k)=>{const T=k[1];V(N,k),Z(N)?N.every(E=>E.length<=1)&&T():N.length<=1&&T()},ce={mode:i,persisted:a,beforeEnter(N){let k=l;if(!n.isMounted)if(o)k=B||l;else return;N[Hn]&&N[Hn](!0);const T=O[W];T&&Gt(e,T)&&T.el[Hn]&&T.el[Hn](),V(k,[N])},enter(N){let k=c,T=d,E=u;if(!n.isMounted)if(o)k=L||c,T=I||d,E=D||u;else return;let se=!1;const xe=N[io]=$e=>{se||(se=!0,$e?V(E,[N]):V(T,[N]),ce.delayedLeave&&ce.delayedLeave(),N[io]=void 0)};k?w(k,[N,xe]):xe()},leave(N,k){const T=String(e.key);if(N[io]&&N[io](!0),n.isUnmounting)return k();V(f,[N]);let E=!1;const se=N[Hn]=xe=>{E||(E=!0,k(),xe?V(b,[N]):V(_,[N]),N[Hn]=void 0,O[T]===e&&delete O[T])};O[T]=e,m?w(m,[N,se]):se()},clone(N){const k=sa(N,t,n,s,r);return r&&r(k),k}};return ce}function Fi(e){if(Wr(e))return e=Qt(e),e.children=null,e}function tc(e){if(!Wr(e))return e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ne(n.default))return n.default()}}function jo(e,t){e.shapeFlag&6&&e.component?jo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function md(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Ee?(i.patchFlag&128&&r++,s=s.concat(md(i.children,t,a))):(t||i.type!==ze)&&s.push(a!=null?Qt(i,{key:a}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function Ve(e,t){return ne(e)?(()=>Be({name:e.name},t,{setup:e}))():e}const br=e=>!!e.type.__asyncLoader,Wr=e=>e.type.__isKeepAlive;function Xh(e,t){gd(e,"a",t)}function e0(e,t){gd(e,"da",t)}function gd(e,t,n=Je){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ci(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Wr(r.parent.vnode)&&t0(s,t,n,r),r=r.parent}}function t0(e,t,n,s){const r=ci(t,e,s,!0);zr(()=>{La(s[t],r)},n)}function ci(e,t,n=Je,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{On();const a=Es(n),l=Ot(t,n,e,i);return a(),Cn(),l});return s?r.unshift(o):r.push(o),o}else{const r=us(Wa[e].replace(/ hook$/,""));M(`${r} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Pn=e=>(t,n=Je)=>{(!fi||e==="sp")&&ci(e,(...s)=>t(...s),n)},n0=Pn("bm"),er=Pn("m"),s0=Pn("bu"),r0=Pn("u"),_d=Pn("bum"),zr=Pn("um"),o0=Pn("sp"),i0=Pn("rtg"),a0=Pn("rtc");function l0(e,t=Je){ci("ec",e,t)}const Ho="components";function dt(e,t){return yd(Ho,e,!0,t)||e}const Ja=Symbol.for("v-ndc");function vd(e){return Re(e)?yd(Ho,e,!1)||e:e||Ja}function yd(e,t,n=!0,s=!1){const r=qe||Je;if(r){const o=r.type;if(e===Ho){const a=sl(o,!1);if(a&&(a===t||a===Rt(t)||a===Ss(Rt(t))))return o}const i=nc(r[e]||o[e],t)||nc(r.appContext[e],t);if(!i&&s)return o;if(n&&!i){const a=e===Ho?`
|
|
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 Es(t),s})),[n,()=>Es(t)]}function f0(){const e=Object.create(null);return(t,n)=>{e[n]?M(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let oa=!0;function h0(e){const t=Qa(e),n=e.proxy,s=e.ctx;oa=!1,t.beforeCreate&&rc(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:u,mounted:f,beforeUpdate:m,updated:_,activated:b,deactivated:B,beforeDestroy:L,beforeUnmount:I,destroyed:D,unmounted:W,render:O,renderTracked:V,renderTriggered:w,errorCaptured:ce,serverPrefetch:N,expose:k,inheritAttrs:T,components:E,directives:se,filters:xe}=t,$e=f0();{const[ae]=e.propsOptions;if(ae)for(const oe in ae)$e("Props",oe)}if(c&&p0(c,s,$e),i)for(const ae in i){const oe=i[ae];ne(oe)?(Object.defineProperty(s,ae,{value:oe.bind(n),configurable:!0,enumerable:!0,writable:!0}),$e("Methods",ae)):M(`Method "${ae}" has type "${typeof oe}" in the component definition. Did you reference the function correctly?`)}if(r){ne(r)||M("The data option must be a function. Plain object usage is no longer supported.");const ae=r.call(n,n);if(ei(ae)&&M("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!we(ae))M("data() should return an object.");else{e.data=en(ae);for(const oe in ae)$e("Data",oe),Za(oe[0])||Object.defineProperty(s,oe,{configurable:!0,enumerable:!0,get:()=>ae[oe],set:nt})}}if(oa=!0,o)for(const ae in o){const oe=o[ae],Fe=ne(oe)?oe.bind(n,n):ne(oe.get)?oe.get.bind(n,n):nt;Fe===nt&&M(`Computed property "${ae}" has no getter.`);const rs=!ne(oe)&&ne(oe.set)?oe.set.bind(n):()=>{M(`Write operation failed: computed property "${ae}" is readonly.`)},$n=Ue({get:Fe,set:rs});Object.defineProperty(s,ae,{enumerable:!0,configurable:!0,get:()=>$n.value,set:Ht=>$n.value=Ht}),$e("Computed",ae)}if(a)for(const ae in a)Sd(a[ae],s,n,ae);if(l){const ae=ne(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(oe=>{wo(oe,ae[oe])})}d&&rc(d,e,"c");function Ce(ae,oe){Z(oe)?oe.forEach(Fe=>ae(Fe.bind(n))):oe&&ae(oe.bind(n))}if(Ce(n0,u),Ce(er,f),Ce(s0,m),Ce(r0,_),Ce(Xh,b),Ce(e0,B),Ce(l0,ce),Ce(a0,V),Ce(i0,w),Ce(_d,I),Ce(zr,W),Ce(o0,N),Z(k))if(k.length){const ae=e.exposed||(e.exposed={});k.forEach(oe=>{Object.defineProperty(ae,oe,{get:()=>n[oe],set:Fe=>n[oe]=Fe})})}else e.exposed||(e.exposed={});O&&e.render===nt&&(e.render=O),T!=null&&(e.inheritAttrs=T),E&&(e.components=E),se&&(e.directives=se)}function p0(e,t,n=nt){Z(e)&&(e=ia(e));for(const s in e){const r=e[s];let o;we(r)?"default"in r?o=yt(r.from||s,r.default,!0):o=yt(r.from||s):o=yt(r),Ye(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o,n("Inject",s)}}function rc(e,t,n){Ot(Z(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Sd(e,t,n,s){const r=s.includes(".")?Ld(n,s):()=>n[s];if(Re(e)){const o=t[e];ne(o)?yn(r,o):M(`Invalid watch handler specified by key "${e}"`,o)}else if(ne(e))yn(r,e.bind(n));else if(we(e))if(Z(e))e.forEach(o=>Sd(o,t,n,s));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)?yn(r,o,e):M(`Invalid watch handler specified by key "${e.handler}"`,o)}else M(`Invalid watch option: "${s}"`,e)}function Qa(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(c=>Uo(l,c,i,!0)),Uo(l,t,i)),we(t)&&o.set(t,l),l}function Uo(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Uo(e,o,n,!0),r&&r.forEach(i=>Uo(e,i,n,!0));for(const i in t)if(s&&i==="expose")M('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=m0[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const m0={data:oc,props:ic,emits:ic,methods:_r,computed:_r,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:_r,directives:_r,watch:_0,provide:oc,inject:g0};function oc(e,t){return t?e?function(){return Be(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function g0(e,t){return _r(ia(e),ia(t))}function ia(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function _r(e,t){return e?Be(Object.create(null),e,t):t}function ic(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Be(Object.create(null),sc(e),sc(t!=null?t:{})):t}function _0(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const s in t)n[s]=ut(e[s],t[s]);return n}function kd(){return{app:null,config:{isNativeTag:R1,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let v0=0;function y0(e,t){return function(s,r=null){ne(s)||(s=Be({},s)),r!=null&&!we(r)&&(M("root props passed to app.mount() must be an object."),r=null);const o=kd(),i=new WeakSet;let a=!1;const l=o.app={_uid:v0++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:vc,get config(){return o.config},set config(c){M("app.config cannot be replaced. Modify individual options instead.")},use(c,...d){return i.has(c)?M("Plugin has already been applied to target app."):c&&ne(c.install)?(i.add(c),c.install(l,...d)):ne(c)?(i.add(c),c(l,...d)):M('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return o.mixins.includes(c)?M("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):o.mixins.push(c),l},component(c,d){return ma(c,o.config),d?(o.components[c]&&M(`Component "${c}" has already been registered in target app.`),o.components[c]=d,l):o.components[c]},directive(c,d){return dd(c),d?(o.directives[c]&&M(`Directive "${c}" has already been registered in target app.`),o.directives[c]=d,l):o.directives[c]},mount(c,d,u){if(a)M("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{c.__vue_app__&&M("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const f=Pe(s,r);return f.appContext=o,u===!0?u="svg":u===!1&&(u=void 0),o.reload=()=>{e(Qt(f),c,u)},d&&t?t(f,c):e(f,c,u),a=!0,l._container=c,c.__vue_app__=l,l._instance=f.component,Uh(l,vc),hi(f.component)}},unmount(){a?(e(null,l._container),l._instance=null,Vh(l),delete l._container.__vue_app__):M("Cannot unmount an app that is not mounted.")},provide(c,d){return c in o.provides&&M(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),o.provides[c]=d,l},runWithContext(c){const d=Ys;Ys=l;try{return c()}finally{Ys=d}}};return l}}let Ys=null;function wo(e,t){if(!Je)M("provide() can only be used inside setup().");else{let n=Je.provides;const s=Je.parent&&Je.parent.provides;s===n&&(n=Je.provides=Object.create(s)),n[e]=t}}function yt(e,t,n=!1){const s=Je||qe;if(s||Ys){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Ys._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ne(t)?t.call(s&&s.proxy):t;M(`injection "${String(e)}" not found.`)}else M("inject() can only be used inside setup() or functional components.")}function w0(){return!!(Je||qe||Ys)}const Td={},Ed=()=>Object.create(Td),xd=e=>Object.getPrototypeOf(e)===Td;function b0(e,t,n,s=!1){const r={},o=Ed();e.propsDefaults=Object.create(null),Od(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);Pd(t||{},r,e),n?e.props=s?r:qu(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function S0(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function k0(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=re(r),[l]=e.propsOptions;let c=!1;if(!S0(e)&&(s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let f=d[u];if(ui(e.emitsOptions,f))continue;const m=t[f];if(l)if(me(o,f))m!==o[f]&&(o[f]=m,c=!0);else{const _=Rt(f);r[_]=aa(l,a,_,m,e,!1)}else m!==o[f]&&(o[f]=m,c=!0)}}}else{Od(e,t,r,o)&&(c=!0);let d;for(const u in a)(!t||!me(t,u)&&((d=kn(u))===u||!me(t,d)))&&(l?n&&(n[u]!==void 0||n[d]!==void 0)&&(r[u]=aa(l,a,u,void 0,e,!0)):delete r[u]);if(o!==a)for(const u in o)(!t||!me(t,u)&&!0)&&(delete o[u],c=!0)}c&&qt(e.attrs,"set",""),Pd(t||{},r,e)}function Od(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(vr(l))continue;const c=t[l];let d;r&&me(r,d=Rt(l))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:ui(e.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,i=!0)}if(o){const l=re(n),c=a||De;for(let d=0;d<o.length;d++){const u=o[d];n[u]=aa(r,l,u,c[u],e,!me(c,u))}}return i}function aa(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=me(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ne(l)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const d=Es(r);s=c[n]=l.call(null,t),d()}}else s=l}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===kn(n))&&(s=!0))}return s}const T0=new WeakMap;function Cd(e,t,n=!1){const s=n?T0:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},a=[];let l=!1;if(!ne(e)){const d=u=>{l=!0;const[f,m]=Cd(u,t,!0);Be(i,f),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return we(e)&&s.set(e,js),js;if(Z(o))for(let d=0;d<o.length;d++){Re(o[d])||M("props must be strings when using array syntax.",o[d]);const u=Rt(o[d]);ac(u)&&(i[u]=De)}else if(o){we(o)||M("invalid props options",o);for(const d in o){const u=Rt(d);if(ac(u)){const f=o[d],m=i[u]=Z(f)||ne(f)?{type:f}:Be({},f),_=m.type;let b=!1,B=!0;if(Z(_))for(let L=0;L<_.length;++L){const I=_[L],D=ne(I)&&I.name;if(D==="Boolean"){b=!0;break}else D==="String"&&(B=!1)}else b=ne(_)&&_.name==="Boolean";m[0]=b,m[1]=B,(b||me(m,"default"))&&a.push(u)}}}const c=[i,a];return we(e)&&s.set(e,c),c}function ac(e){return e[0]!=="$"&&!vr(e)?!0:(M(`Invalid prop name: "${e}" is a reserved property.`),!1)}function E0(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Pd(e,t,n){const s=re(t),r=n.propsOptions[0];for(const o in r){let i=r[o];i!=null&&x0(o,s[o],i,zt(s),!me(e,o)&&!me(e,kn(o)))}}function x0(e,t,n,s,r){const{type:o,required:i,validator:a,skipCheck:l}=n;if(i&&r){M('Missing required prop: "'+e+'"');return}if(!(t==null&&!i)){if(o!=null&&o!==!0&&!l){let c=!1;const d=Z(o)?o:[o],u=[];for(let f=0;f<d.length&&!c;f++){const{valid:m,expectedType:_}=C0(t,d[f]);u.push(_||""),c=m}if(!c){M(P0(e,t,u));return}}a&&!a(t,s)&&M('Invalid prop: custom validator check failed for prop "'+e+'".')}}const O0=xn("String,Number,Boolean,Function,Symbol,BigInt");function C0(e,t){let n;const s=E0(t);if(O0(s)){const r=typeof e;n=r===s.toLowerCase(),!n&&r==="object"&&(n=e instanceof t)}else s==="Object"?n=we(e):s==="Array"?n=Z(e):s==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:s}}function P0(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Ss).join(" | ")}`;const r=n[0],o=Na(t),i=lc(t,r),a=lc(t,o);return n.length===1&&cc(r)&&!M0(r,o)&&(s+=` with value ${i}`),s+=`, got ${o} `,cc(o)&&(s+=`with value ${a}.`),s}function lc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function cc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function M0(...e){return e.some(t=>t.toLowerCase()==="boolean")}const Md=e=>e[0]==="_"||e==="$stable",Xa=e=>Z(e)?e.map(Et):[Et(e)],D0=(e,t,n)=>{if(t._n)return t;const s=it((...r)=>(Je&&(!n||n.root===Je.root)&&M(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Xa(t(...r))),n);return s._c=!1,s},Dd=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Md(r))continue;const o=e[r];if(ne(o))t[r]=D0(r,o,s);else if(o!=null){M(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const i=Xa(o);t[r]=()=>i}}},$d=(e,t)=>{Wr(e.vnode)||M("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Xa(t);e.slots.default=()=>n},la=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},$0=(e,t,n)=>{const s=e.slots=Ed();if(e.vnode.shapeFlag&32){const r=t._;r?(la(s,t,n),n&&$o(s,"_",r,!0)):Dd(t,s)}else t&&$d(e,t)},A0=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=De;if(s.shapeFlag&32){const a=t._;a?Jn?(la(r,t,n),qt(e,"set","$slots")):n&&a===1?o=!1:la(r,t,n):(o=!t.$stable,Dd(t,r)),i=t}else t&&($d(e,t),i={default:1});if(o)for(const a in r)!Md(a)&&i[a]==null&&delete r[a]};function ca(e,t,n,s,r=!1){if(Z(e)){e.forEach((f,m)=>ca(f,t&&(Z(t)?t[m]:t),n,s,r));return}if(br(s)&&!r)return;const o=s.shapeFlag&4?hi(s.component):s.el,i=r?null:o,{i:a,r:l}=e;if(!a){M("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,d=a.refs===De?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(Re(c)?(d[c]=null,me(u,c)&&(u[c]=null)):Ye(c)&&(c.value=null)),ne(l))vn(l,a,12,[i,d]);else{const f=Re(l),m=Ye(l);if(f||m){const _=()=>{if(e.f){const b=f?me(u,l)?u[l]:d[l]:l.value;r?Z(b)&&La(b,o):Z(b)?b.includes(o)||b.push(o):f?(d[l]=[o],me(u,l)&&(u[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,me(u,l)&&(u[l]=i)):m?(l.value=i,e.k&&(d[e.k]=i)):M("Invalid template ref type:",l,`(${typeof l})`)};i?(_.id=-1,ft(_,n)):_()}else M("Invalid template ref type:",l,`(${typeof l})`)}}const Ad=Symbol("_vte"),F0=e=>e.__isTeleport,ws=e=>e&&(e.disabled||e.disabled===""),uc=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,dc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ua=(e,t)=>{const n=e&&e.to;if(Re(n))if(t){const s=t(n);return!s&&!ws(e)&&M(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),s}else return M("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return!n&&!ws(e)&&M(`Invalid Teleport target: ${n}`),n},I0={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,a,l,c){const{mc:d,pc:u,pbc:f,o:{insert:m,querySelector:_,createText:b,createComment:B}}=c,L=ws(t.props);let{shapeFlag:I,children:D,dynamicChildren:W}=t;if(Jn&&(l=!1,W=null),e==null){const O=t.el=B("teleport start"),V=t.anchor=B("teleport end");m(O,n,s),m(V,n,s);const w=t.target=ua(t.props,_),ce=Id(w,t,b,m);w?i==="svg"||uc(w)?i="svg":(i==="mathml"||dc(w))&&(i="mathml"):L||M("Invalid Teleport target on mount:",w,`(${typeof w})`);const N=(k,T)=>{I&16&&d(D,k,T,r,o,i,a,l)};L?N(n,V):w&&N(w,ce)}else{t.el=e.el,t.targetStart=e.targetStart;const O=t.anchor=e.anchor,V=t.target=e.target,w=t.targetAnchor=e.targetAnchor,ce=ws(e.props),N=ce?n:V,k=ce?O:w;if(i==="svg"||uc(V)?i="svg":(i==="mathml"||dc(V))&&(i="mathml"),W?(f(e.dynamicChildren,W,N,r,o,i,a),Bo(e,t,!0)):l||u(e,t,N,k,r,o,i,a,!1),L)ce?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ao(t,n,O,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const T=t.target=ua(t.props,_);T?ao(t,T,null,c,0):M("Invalid Teleport target on update:",V,`(${typeof V})`)}else ce&&ao(t,V,w,c,1)}Fd(t)},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:a,anchor:l,targetStart:c,targetAnchor:d,target:u,props:f}=e;if(u&&(r(c),r(d)),o&&r(l),i&16){const m=o||!ws(f);for(let _=0;_<a.length;_++){const b=a[_];s(b,t,n,m,!!b.dynamicChildren)}}},move:ao,hydrate:R0};function ao(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:d}=e,u=o===2;if(u&&s(i,t,n),(!u||ws(d))&&l&16)for(let f=0;f<c.length;f++)r(c[f],t,n,2);u&&s(a,t,n)}function R0(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:c,createText:d}},u){const f=t.target=ua(t.props,l);if(f){const m=f._lpa||f.firstChild;if(t.shapeFlag&16)if(ws(t.props))t.anchor=u(i(e),t,a(e),n,s,r,o),t.targetStart=m,t.targetAnchor=m&&i(m);else{t.anchor=i(e);let _=m;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,f._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}t.targetAnchor||Id(f,t,d,c),u(m&&i(m),t,f,n,s,r,o)}Fd(t)}return t.anchor&&i(t.anchor)}const L0=I0;function Fd(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function Id(e,t,n,s){const r=t.targetStart=n(""),o=t.targetAnchor=n("");return r[Ad]=o,e&&(s(r,e),s(o,e)),o}let cr,Vn;function ln(e,t){e.appContext.config.performance&&Vo()&&Vn.mark(`vue-${t}-${e.uid}`),zh(e,t,Vo()?Vn.now():Date.now())}function cn(e,t){if(e.appContext.config.performance&&Vo()){const n=`vue-${t}-${e.uid}`,s=n+":end";Vn.mark(s),Vn.measure(`<${pi(e,e.type)}> ${t}`,n,s),Vn.clearMarks(n),Vn.clearMarks(s)}qh(e,t,Vo()?Vn.now():Date.now())}function Vo(){return cr!==void 0||(typeof window!="undefined"&&window.performance?(cr=!0,Vn=window.performance):cr=!1),cr}function N0(){const e=[];if(typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__!="boolean"&&(e.push("__VUE_PROD_HYDRATION_MISMATCH_DETAILS__"),ni().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1),e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
|
|
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.onVnodeBeforeUpdate)&&Ut(ke,le,G,pe),is(h,!0),ln(h,"render");const et=Li(h);cn(h,"render");const Dt=h.subTree;h.subTree=et,ln(h,"patch"),b(Dt,et,u(Dt.el),U(Dt),h,x,P),cn(h,"patch"),G.el=et.el,Ae===null&&tl(h,et.el),X&&ft(X,x),(ke=G.props&&G.props.onVnodeUpdated)&&ft(()=>Ut(ke,le,G,pe),x),cd(h),wr()}else{let G;const{el:ee,props:X}=p,{bm:le,m:pe,parent:Ae}=h,ke=br(p);if(is(h,!1),le&&Fs(le),!ke&&(G=X&&X.onVnodeBeforeMount)&&Ut(G,Ae,p),is(h,!0),ee&&de){const et=()=>{ln(h,"render"),h.subTree=Li(h),cn(h,"render"),ln(h,"hydrate"),de(ee,h.subTree,h,x,null),cn(h,"hydrate")};ke?p.type.__asyncLoader().then(()=>!h.isUnmounted&&et()):et()}else{ln(h,"render");const et=h.subTree=Li(h);cn(h,"render"),ln(h,"patch"),b(null,et,v,S,h,x,P),cn(h,"patch"),p.el=et.el}if(pe&&ft(pe,x),!ke&&(G=X&&X.onVnodeMounted)){const et=p;ft(()=>Ut(G,Ae,et),x)}(p.shapeFlag&256||Ae&&br(Ae.vnode)&&Ae.vnode.shapeFlag&256)&&h.a&&ft(h.a,x),h.isMounted=!0,Bh(h),p=v=S=null}},R=h.effect=new Ya(F,nt,()=>ai(C),h.scope),C=h.update=()=>{R.dirty&&R.run()};C.i=h,C.id=h.uid,is(h,!0),R.onTrack=h.rtc?G=>Fs(h.rtc,G):void 0,R.onTrigger=h.rtg?G=>Fs(h.rtg,G):void 0,C()},oe=(h,p,v)=>{p.component=h;const S=h.vnode.props;h.vnode=p,h.next=null,k0(h,p.props,S,v),A0(h,p.children,v),On(),Xl(h),Cn()},Fe=(h,p,v,S,x,P,j,F,R=!1)=>{const C=h&&h.children,G=h?h.shapeFlag:0,ee=p.children,{patchFlag:X,shapeFlag:le}=p;if(X>0){if(X&128){$n(C,ee,v,S,x,P,j,F,R);return}else if(X&256){rs(C,ee,v,S,x,P,j,F,R);return}}le&8?(G&16&&y(C,x,P),ee!==C&&d(v,ee)):G&16?le&16?$n(C,ee,v,S,x,P,j,F,R):y(C,x,P,!0):(G&8&&d(v,""),le&16&&N(ee,v,S,x,P,j,F,R))},rs=(h,p,v,S,x,P,j,F,R)=>{h=h||js,p=p||js;const C=h.length,G=p.length,ee=Math.min(C,G);let X;for(X=0;X<ee;X++){const le=p[X]=R?Yn(p[X]):Et(p[X]);b(h[X],le,v,null,x,P,j,F,R)}C>G?y(h,x,P,!0,!1,ee):N(p,v,S,x,P,j,F,R,ee)},$n=(h,p,v,S,x,P,j,F,R)=>{let C=0;const G=p.length;let ee=h.length-1,X=G-1;for(;C<=ee&&C<=X;){const le=h[C],pe=p[C]=R?Yn(p[C]):Et(p[C]);if(Gt(le,pe))b(le,pe,v,null,x,P,j,F,R);else break;C++}for(;C<=ee&&C<=X;){const le=h[ee],pe=p[X]=R?Yn(p[X]):Et(p[X]);if(Gt(le,pe))b(le,pe,v,null,x,P,j,F,R);else break;ee--,X--}if(C>ee){if(C<=X){const le=X+1,pe=le<G?p[le].el:S;for(;C<=X;)b(null,p[C]=R?Yn(p[C]):Et(p[C]),v,pe,x,P,j,F,R),C++}}else if(C>X)for(;C<=ee;)St(h[C],x,P,!0),C++;else{const le=C,pe=C,Ae=new Map;for(C=pe;C<=X;C++){const ct=p[C]=R?Yn(p[C]):Et(p[C]);ct.key!=null&&(Ae.has(ct.key)&&M("Duplicate keys found during update:",JSON.stringify(ct.key),"Make sure keys are unique."),Ae.set(ct.key,C))}let ke,et=0;const Dt=X-pe+1;let Ps=!1,Ll=0;const ar=new Array(Dt);for(C=0;C<Dt;C++)ar[C]=0;for(C=le;C<=ee;C++){const ct=h[C];if(et>=Dt){St(ct,x,P,!0);continue}let Yt;if(ct.key!=null)Yt=Ae.get(ct.key);else for(ke=pe;ke<=X;ke++)if(ar[ke-pe]===0&&Gt(ct,p[ke])){Yt=ke;break}Yt===void 0?St(ct,x,P,!0):(ar[Yt-pe]=C+1,Yt>=Ll?Ll=Yt:Ps=!0,b(ct,p[Yt],v,null,x,P,j,F,R),et++)}const Nl=Ps?U0(ar):js;for(ke=Nl.length-1,C=Dt-1;C>=0;C--){const ct=pe+C,Yt=p[ct],jl=ct+1<G?p[ct+1].el:S;ar[C]===0?b(null,Yt,v,jl,x,P,j,F,R):Ps&&(ke<0||C!==Nl[ke]?Ht(Yt,v,jl,2):ke--)}}},Ht=(h,p,v,S,x=null)=>{const{el:P,type:j,transition:F,children:R,shapeFlag:C}=h;if(C&6){Ht(h.component.subTree,p,v,S);return}if(C&128){h.suspense.move(p,v,S);return}if(C&64){j.move(h,p,v,he);return}if(j===Ee){s(P,p,v);for(let ee=0;ee<R.length;ee++)Ht(R[ee],p,v,S);s(h.anchor,p,v);return}if(j===Sr){W(h,p,v);return}if(S!==2&&C&1&&F)if(S===0)F.beforeEnter(P),s(P,p,v),ft(()=>F.enter(P),x);else{const{leave:ee,delayLeave:X,afterLeave:le}=F,pe=()=>s(P,p,v),Ae=()=>{ee(P,()=>{pe(),le&&le()})};X?X(P,pe,Ae):Ae()}else s(P,p,v)},St=(h,p,v,S=!1,x=!1)=>{const{type:P,props:j,ref:F,children:R,dynamicChildren:C,shapeFlag:G,patchFlag:ee,dirs:X,cacheIndex:le}=h;if(ee===-2&&(x=!1),F!=null&&ca(F,null,v,h,!0),le!=null&&(p.renderCache[le]=void 0),G&256){p.ctx.deactivate(h);return}const pe=G&1&&X,Ae=!br(h);let ke;if(Ae&&(ke=j&&j.onVnodeBeforeUnmount)&&Ut(ke,p,h),G&6)Fn(h.component,v,S);else{if(G&128){h.suspense.unmount(v,S);return}pe&&os(h,null,p,"beforeUnmount"),G&64?h.type.remove(h,p,v,he,S):C&&!C.hasOnce&&(P!==Ee||ee>0&&ee&64)?y(C,p,v,!1,!0):(P===Ee&&ee&384||!x&&G&16)&&y(R,p,v),S&&An(h)}(Ae&&(ke=j&&j.onVnodeUnmounted)||pe)&&ft(()=>{ke&&Ut(ke,p,h),pe&&os(h,null,p,"unmounted")},v)},An=h=>{const{type:p,el:v,anchor:S,transition:x}=h;if(p===Ee){h.patchFlag>0&&h.patchFlag&2048&&x&&!x.persisted?h.children.forEach(j=>{j.type===ze?r(j.el):An(j)}):eo(v,S);return}if(p===Sr){O(h);return}const P=()=>{r(v),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(h.shapeFlag&1&&x&&!x.persisted){const{leave:j,delayLeave:F}=x,R=()=>j(v,P);F?F(h.el,P,R):R()}else P()},eo=(h,p)=>{let v;for(;h!==p;)v=f(h),r(h),h=v;r(p)},Fn=(h,p,v)=>{h.type.__hmrId&&jh(h);const{bum:S,scope:x,update:P,subTree:j,um:F,m:R,a:C}=h;fc(R),fc(C),S&&Fs(S),x.stop(),P&&(P.active=!1,St(j,h,p,v)),F&&ft(F,p),ft(()=>{h.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve()),Wh(h)},y=(h,p,v,S=!1,x=!1,P=0)=>{for(let j=P;j<h.length;j++)St(h[j],p,v,S,x)},U=h=>{if(h.shapeFlag&6)return U(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const p=f(h.anchor||h.el),v=p&&p[Ad];return v?f(v):p};let Y=!1;const Q=(h,p,v)=>{h==null?p._vnode&&St(p._vnode,null,null,!0):b(p._vnode||null,h,p,null,null,null,v),Y||(Y=!0,Xl(),od(),Y=!1),p._vnode=h},he={p:b,um:St,m:Ht,r:An,mt:$e,mc:N,pc:Fe,pbc:T,n:U,o:e};let je,de;return t&&([je,de]=t(he)),{render:Q,hydrate:je,createApp:y0(Q,je)}}function Ri({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function is({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Y0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bo(e,t,n=!1){const s=e.children,r=t.children;if(Z(s)&&Z(r))for(let o=0;o<s.length;o++){const i=s[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=Yn(r[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Bo(i,a)),a.type===qr&&(a.el=i.el),a.type===ze&&!a.el&&(a.el=i.el)}}function U0(e){const t=e.slice(),n=[0];let s,r,o,i,a;const l=e.length;for(s=0;s<l;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Rd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Rd(t)}function fc(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const V0=Symbol.for("v-scx"),B0=()=>{{const e=yt(V0);return e||M("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function G0(e,t){return el(e,null,t)}const lo={};function yn(e,t,n){return ne(t)||M("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),el(e,t,n)}function el(e,t,{immediate:n,deep:s,flush:r,once:o,onTrack:i,onTrigger:a}=De){if(t&&o){const w=t;t=(...ce)=>{w(...ce),V()}}s!==void 0&&typeof s=="number"&&M('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),t||(n!==void 0&&M('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),s!==void 0&&M('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&M('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=w=>{M("Invalid watch source: ",w,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=Je,d=w=>s===!0?w:Bn(w,s===!1?1:void 0);let u,f=!1,m=!1;if(Ye(e)?(u=()=>e.value,f=_n(e)):gn(e)?(u=()=>d(e),f=!0):Z(e)?(m=!0,f=e.some(w=>gn(w)||_n(w)),u=()=>e.map(w=>{if(Ye(w))return w.value;if(gn(w))return d(w);if(ne(w))return vn(w,c,2);l(w)})):ne(e)?t?u=()=>vn(e,c,2):u=()=>(_&&_(),Ot(e,c,3,[b])):(u=nt,l(e)),t&&s){const w=u;u=()=>Bn(w())}let _,b=w=>{_=W.onStop=()=>{vn(w,c,4),_=W.onStop=void 0}},B;if(fi)if(b=nt,t?n&&Ot(t,c,3,[u(),m?[]:void 0,b]):u(),r==="sync"){const w=B0();B=w.__watcherHandles||(w.__watcherHandles=[])}else return nt;let L=m?new Array(e.length).fill(lo):lo;const I=()=>{if(!(!W.active||!W.dirty))if(t){const w=W.run();(s||f||(m?w.some((ce,N)=>Qn(ce,L[N])):Qn(w,L)))&&(_&&_(),Ot(t,c,3,[w,L===lo?void 0:m&&L[0]===lo?[]:L,b]),L=w)}else W.run()};I.allowRecurse=!!t;let D;r==="sync"?D=I:r==="post"?D=()=>ft(I,c&&c.suspense):(I.pre=!0,c&&(I.id=c.uid),D=()=>ai(I));const W=new Ya(u,nt,D),O=Au(),V=()=>{W.stop(),O&&La(O.effects,W)};return W.onTrack=i,W.onTrigger=a,t?n?I():L=W.run():r==="post"?ft(W.run.bind(W),c&&c.suspense):W.run(),B&&B.push(V),V}function W0(e,t,n){const s=this.proxy,r=Re(e)?e.includes(".")?Ld(s,e):()=>s[e]:e.bind(s,s);let o;ne(t)?o=t:(o=t.handler,n=t);const i=Es(this),a=el(r,o.bind(s),n);return i(),a}function Ld(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Bn(e,t=1/0,n){if(t<=0||!we(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ye(e))Bn(e.value,t,n);else if(Z(e))for(let s=0;s<e.length;s++)Bn(e[s],t,n);else if(Qs(e)||ms(e))e.forEach(s=>{Bn(s,t,n)});else if(xu(e)){for(const s in e)Bn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Bn(e[s],t,n)}return e}const z0=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Rt(t)}Modifiers`]||e[`${kn(t)}Modifiers`];function q0(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||De;{const{emitsOptions:d,propsOptions:[u]}=e;if(d)if(!(t in d))(!u||!(us(t)in u))&&M(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${us(t)}" prop.`);else{const f=d[t];ne(f)&&(f(...n)||M(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=n;const o=t.startsWith("update:"),i=o&&z0(s,t.slice(7));i&&(i.trim&&(r=n.map(d=>Re(d)?d.trim():d)),i.number&&(r=n.map(Ao))),Kh(e,t,r);{const d=t.toLowerCase();d!==t&&s[us(d)]&&M(`Event "${d}" is emitted in component ${pi(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${kn(t)}" instead of "${t}".`)}let a,l=s[a=us(t)]||s[a=us(Rt(t))];!l&&o&&(l=s[a=us(kn(t))]),l&&Ot(l,e,6,r);const c=s[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ot(c,e,6,r)}}function Nd(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!ne(e)){const l=c=>{const d=Nd(c,t,!0);d&&(a=!0,Be(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(we(e)&&s.set(e,null),null):(Z(o)?o.forEach(l=>i[l]=null):Be(i,o),we(e)&&s.set(e,i),i)}function ui(e,t){return!e||!Vr(t)?!1:(t=t.slice(2).replace(/Once$/,""),me(e,t[0].toLowerCase()+t.slice(1))||me(e,kn(t))||me(e,t))}let da=!1;function Go(){da=!0}function Li(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:d,props:u,data:f,setupState:m,ctx:_,inheritAttrs:b}=e,B=No(e);let L,I;da=!1;try{if(n.shapeFlag&4){const O=r||s,V=m.__isScriptSetup?new Proxy(O,{get(w,ce,N){return M(`Property '${String(ce)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(w,ce,N)}}):O;L=Et(c.call(V,O,d,zt(u),m,f,_)),I=a}else{const O=t;a===u&&Go(),L=Et(O.length>1?O(zt(u),{get attrs(){return Go(),zt(a)},slots:i,emit:l}):O(zt(u),null)),I=t.props?a:K0(a)}}catch(O){kr.length=0,Xs(O,e,1),L=Pe(ze)}let D=L,W;if(L.patchFlag>0&&L.patchFlag&2048&&([D,W]=jd(L)),I&&b!==!1){const O=Object.keys(I),{shapeFlag:V}=D;if(O.length){if(V&7)o&&O.some(Do)&&(I=J0(I,o)),D=Qt(D,I,!1,!0);else if(!da&&D.type!==ze){const w=Object.keys(a),ce=[],N=[];for(let k=0,T=w.length;k<T;k++){const E=w[k];Vr(E)?Do(E)||ce.push(E[2].toLowerCase()+E.slice(3)):N.push(E)}N.length&&M(`Extraneous non-props attributes (${N.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),ce.length&&M(`Extraneous non-emits event listeners (${ce.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(hc(D)||M("Runtime directive used on component with non-element root node. The directives will not function as intended."),D=Qt(D,null,!1,!0),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(hc(D)||M("Component inside <Transition> renders non-element root node that cannot be animated."),D.transition=n.transition),W?W(D):L=D,No(B),L}const jd=e=>{const t=e.children,n=e.dynamicChildren,s=di(t,!1);if(s){if(s.patchFlag>0&&s.patchFlag&2048)return jd(s)}else return[e,void 0];const r=t.indexOf(s),o=n?n.indexOf(s):-1,i=a=>{t[r]=a,n&&(o>-1?n[o]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[Et(s),i]};function di(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(qs(r)){if(r.type!==ze||r.children==="v-if"){if(n)return;if(n=r,t&&n.patchFlag>0&&n.patchFlag&2048)return di(n.children)}}else return}return n}const K0=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vr(n))&&((t||(t={}))[n]=e[n]);return t},J0=(e,t)=>{const n={};for(const s in e)(!Do(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},hc=e=>e.shapeFlag&7||e.type===ze;function Z0(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if((r||a)&&Jn||t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?pc(s,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const f=d[u];if(i[f]!==s[f]&&!ui(c,f))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?pc(s,i,c):!0:!!i;return!1}function pc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!ui(n,o))return!0}return!1}function tl({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Q0=e=>e.__isSuspense;let fa=0;const X0={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,a,l,c){if(e==null)ep(t,n,s,r,o,i,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}tp(e,t,n,s,r,i,a,l,c)}},hydrate:np,normalize:sp},Hd=X0;function Fr(e,t){const n=e.props&&e.props[t];ne(n)&&n()}function ep(e,t,n,s,r,o,i,a,l){const{p:c,o:{createElement:d}}=l,u=d("div"),f=e.suspense=Yd(e,r,s,t,u,n,o,i,a,l);c(null,f.pendingBranch=e.ssContent,u,null,s,f,o,i),f.deps>0?(Fr(e,"onPending"),Fr(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,o,i),Us(f,e.ssFallback)):f.resolve(!1,!0)}function tp(e,t,n,s,r,o,i,a,{p:l,um:c,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const f=t.ssContent,m=t.ssFallback,{activeBranch:_,pendingBranch:b,isInFallback:B,isHydrating:L}=u;if(b)u.pendingBranch=f,Gt(f,b)?(l(b,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0?u.resolve():B&&(L||(l(_,m,n,s,r,null,o,i,a),Us(u,m)))):(u.pendingId=fa++,L?(u.isHydrating=!1,u.activeBranch=b):c(b,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),B?(l(null,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0?u.resolve():(l(_,m,n,s,r,null,o,i,a),Us(u,m))):_&&Gt(f,_)?(l(_,f,n,s,r,u,o,i,a),u.resolve(!0)):(l(null,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0&&u.resolve()));else if(_&&Gt(f,_))l(_,f,n,s,r,u,o,i,a),Us(u,f);else if(Fr(t,"onPending"),u.pendingBranch=f,f.shapeFlag&512?u.pendingId=f.component.suspenseId:u.pendingId=fa++,l(null,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0)u.resolve();else{const{timeout:I,pendingId:D}=u;I>0?setTimeout(()=>{u.pendingId===D&&u.fallback(m)},I):I===0&&u.fallback(m)}}let mc=!1;function Yd(e,t,n,s,r,o,i,a,l,c,d=!1){mc||(mc=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:u,m:f,um:m,n:_,o:{parentNode:b,remove:B}}=c;let L;const I=op(e);I&&t&&t.pendingBranch&&(L=t.pendingId,t.deps++);const D=e.props?Ou(e.props.timeout):void 0;nd(D,"Suspense timeout");const W=o,O={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:r,deps:0,pendingId:fa++,timeout:typeof D=="number"?D:-1,activeBranch:null,pendingBranch:null,isInFallback:!d,isHydrating:d,isUnmounted:!1,effects:[],resolve(V=!1,w=!1){{if(!V&&!O.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(O.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:ce,activeBranch:N,pendingBranch:k,pendingId:T,effects:E,parentComponent:se,container:xe}=O;let $e=!1;O.isHydrating?O.isHydrating=!1:V||($e=N&&k.transition&&k.transition.mode==="out-in",$e&&(N.transition.afterLeave=()=>{T===O.pendingId&&(f(k,xe,o===W?_(N):o,0),Ro(E))}),N&&(b(N.el)!==O.hiddenContainer&&(o=_(N)),m(N,se,O,!0)),$e||f(k,xe,o,0)),Us(O,k),O.pendingBranch=null,O.isInFallback=!1;let Ce=O.parent,ae=!1;for(;Ce;){if(Ce.pendingBranch){Ce.effects.push(...E),ae=!0;break}Ce=Ce.parent}!ae&&!$e&&Ro(E),O.effects=[],I&&t&&t.pendingBranch&&L===t.pendingId&&(t.deps--,t.deps===0&&!w&&t.resolve()),Fr(ce,"onResolve")},fallback(V){if(!O.pendingBranch)return;const{vnode:w,activeBranch:ce,parentComponent:N,container:k,namespace:T}=O;Fr(w,"onFallback");const E=_(ce),se=()=>{!O.isInFallback||(u(null,V,k,E,N,null,T,a,l),Us(O,V))},xe=V.transition&&V.transition.mode==="out-in";xe&&(ce.transition.afterLeave=se),O.isInFallback=!0,m(ce,N,null,!0),xe||se()},move(V,w,ce){O.activeBranch&&f(O.activeBranch,V,w,ce),O.container=V},next(){return O.activeBranch&&_(O.activeBranch)},registerDep(V,w,ce){const N=!!O.pendingBranch;N&&O.deps++;const k=V.vnode.el;V.asyncDep.catch(T=>{Xs(T,V,0)}).then(T=>{if(V.isUnmounted||O.isUnmounted||O.pendingId!==V.suspenseId)return;V.asyncResolved=!0;const{vnode:E}=V;yr(E),ga(V,T,!1),k&&(E.el=k);const se=!k&&V.subTree.el;w(V,E,b(k||V.subTree.el),k?null:_(V.subTree),O,i,ce),se&&B(se),tl(V,E.el),wr(),N&&--O.deps===0&&O.resolve()})},unmount(V,w){O.isUnmounted=!0,O.activeBranch&&m(O.activeBranch,n,V,w),O.pendingBranch&&m(O.pendingBranch,n,V,w)}};return O}function np(e,t,n,s,r,o,i,a,l){const c=t.suspense=Yd(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),d}function sp(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=gc(s?n.default:n),e.ssFallback=s?gc(n.fallback):Pe(ze)}function gc(e){let t;if(ne(e)){const n=zs&&e._c;n&&(e._d=!1,A()),e=e(),n&&(e._d=!0,t=mt,Ud())}if(Z(e)){const n=di(e);!n&&e.filter(s=>s!==Ja).length>0&&M("<Suspense> slots expect a single root node."),e=n}return e=Et(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function rp(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}function Us(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,tl(s,r))}function op(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ee=Symbol.for("v-fgt"),qr=Symbol.for("v-txt"),ze=Symbol.for("v-cmt"),Sr=Symbol.for("v-stc"),kr=[];let mt=null;function A(e=!1){kr.push(mt=e?null:[])}function Ud(){kr.pop(),mt=kr[kr.length-1]||null}let zs=1;function _c(e){zs+=e,e<0&&mt&&(mt.hasOnce=!0)}function Vd(e){return e.dynamicChildren=zs>0?mt||js:null,Ud(),zs>0&&mt&&mt.push(e),e}function z(e,t,n,s,r,o){return Vd(g(e,t,n,s,r,o,!0))}function Ze(e,t,n,s,r){return Vd(Pe(e,t,n,s,r,!0))}function qs(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){if(t.shapeFlag&6&&e.component){const n=yo.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const ip=(...e)=>ap(...e),Bd=({key:e})=>e!=null?e:null,bo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Re(e)||Ye(e)||ne(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function g(e,t=null,n=null,s=0,r=null,o=e===Ee?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bd(t),ref:t&&bo(t),scopeId:li,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:qe};return a?(nl(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Re(n)?8:16),l.key!==l.key&&M("VNode created with invalid key (NaN). VNode type:",l.type),zs>0&&!i&&mt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&mt.push(l),l}const Pe=ip;function ap(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ja)&&(e||M(`Invalid vnode type when creating vnode: ${e}.`),e=ze),qs(e)){const a=Qt(e,t,!0);return n&&nl(a,n),zs>0&&!o&&mt&&(a.shapeFlag&6?mt[mt.indexOf(e)]=a:mt.push(a)),a.patchFlag=-2,a}if(qd(e)&&(e=e.__vccOpts),t){t=lp(t);let{class:a,style:l}=t;a&&!Re(a)&&(t.class=Pr(a)),we(l)&&(Io(l)&&!Z(l)&&(l=Be({},l)),t.style=si(l))}const i=Re(e)?1:Q0(e)?128:F0(e)?64:we(e)?4:ne(e)?2:0;return i&4&&Io(e)&&(e=re(e),M("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
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),d0(e)):t!==void 0&&M(`setup() should return an object. Received: ${t===null?"null":typeof t}`),zd(e,n)}let _a;const _p=()=>!_a;function zd(e,t,n){const s=e.type;if(!e.render){if(!t&&_a&&!s.render){const r=s.template||Qa(e).template;if(r){ln(e,"compile");const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Be(Be({isCustomElement:o,delimiters:a},i),l);s.render=_a(r,c),cn(e,"compile")}}e.render=s.render||nt}{const r=Es(e);On();try{h0(e)}finally{Cn(),r()}}!s.render&&e.render===nt&&!t&&(s.template?M('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):M("Component is missing template or render function: ",s))}const vp={get(e,t){return Go(),lt(e,"get",""),e[t]},set(){return M("setupContext.attrs is readonly."),!1},deleteProperty(){return M("setupContext.attrs is readonly."),!1}};function yp(e){return new Proxy(e.slots,{get(t,n){return lt(e,"get","$slots"),t[n]}})}function wp(e){const t=n=>{if(e.exposed&&M("expose() should be called only once per setup()."),n!=null){let s=typeof n;s==="object"&&(Z(n)?s="array":Ye(n)&&(s="ref")),s!=="object"&&M(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};{let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,vp))},get slots(){return s||(s=yp(e))},get emit(){return(r,...o)=>e.emit(r,...o)},expose:t})}}function hi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xu(Gn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ys)return ys[n](e)},has(t,n){return n in t||n in ys}})):e.proxy}const bp=/(?:^|[-_])(\w)/g,Sp=e=>e.replace(bp,t=>t.toUpperCase()).replace(/[-_]/g,"");function sl(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function pi(e,t,n=!1){let s=sl(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&e&&e.parent){const r=o=>{for(const i in o)if(o[i]===t)return i};s=r(e.components||e.parent.type.components)||r(e.appContext.components)}return s?Sp(s):n?"App":"Anonymous"}function qd(e){return ne(e)&&"__vccOpts"in e}const Ue=(e,t)=>{const n=kh(e,t,fi);{const s=tn();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Ir(e,t,n){const s=arguments.length;return s===2?we(t)&&!Z(t)?qs(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&qs(n)&&(n=[n]),Pe(e,t,n))}function kp(){if(typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(u){return we(u)?u.__isVue?["div",e,"VueInstance"]:Ye(u)?["div",{},["span",e,d(u)],"<",a(u.value),">"]:gn(u)?["div",{},["span",e,_n(u)?"ShallowReactive":"Reactive"],"<",a(u),`>${Tn(u)?" (readonly)":""}`]:Tn(u)?["div",{},["span",e,_n(u)?"ShallowReadonly":"Readonly"],"<",a(u),">"]:null:null},hasBody(u){return u&&u.__isVue},body(u){if(u&&u.__isVue)return["div",{},...o(u.$)]}};function o(u){const f=[];u.type.props&&u.props&&f.push(i("props",re(u.props))),u.setupState!==De&&f.push(i("setup",u.setupState)),u.data!==De&&f.push(i("data",re(u.data)));const m=l(u,"computed");m&&f.push(i("computed",m));const _=l(u,"inject");return _&&f.push(i("injected",_)),f.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:u}]]),f}function i(u,f){return f=Be({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},u],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(m=>["div",{},["span",s,m+": "],a(f[m],!1)])]]:["span",{}]}function a(u,f=!0){return typeof u=="number"?["span",t,u]:typeof u=="string"?["span",n,JSON.stringify(u)]:typeof u=="boolean"?["span",s,u]:we(u)?["object",{object:f?re(u):u}]:["span",n,String(u)]}function l(u,f){const m=u.type;if(ne(m))return;const _={};for(const b in u.ctx)c(m,b,f)&&(_[b]=u.ctx[b]);return _}function c(u,f,m){const _=u[m];if(Z(_)&&_.includes(f)||we(_)&&f in _||u.extends&&c(u.extends,f,m)||u.mixins&&u.mixins.some(b=>c(b,f,m)))return!0}function d(u){return _n(u)?"ShallowRef":u.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const vc="3.4.35",wn=M;/**
|
|
* @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){const i=s[Fp];i&&(n+=";"+i),s.cssText=n,o=Ip.test(n)}}else t&&e.removeAttribute("style");Ec in e&&(e[Ec]=o?s.display:"",e[Ap]&&(s.display="none"))}const Lp=/[^\\];\s*$/,xc=/\s*!important$/;function So(e,t,n){if(Z(n))n.forEach(s=>So(e,t,s));else if(n==null&&(n=""),Lp.test(n)&&wn(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Np(e,t);xc.test(n)?e.setProperty(kn(s),n.replace(xc,""),"important"):e[s]=n}}const Oc=["Webkit","Moz","ms"],ji={};function Np(e,t){const n=ji[t];if(n)return n;let s=Rt(t);if(s!=="filter"&&s in e)return ji[t]=s;s=Ss(s);for(let r=0;r<Oc.length;r++){const o=Oc[r]+s;if(o in e)return ji[t]=o}return t}const Cc="http://www.w3.org/1999/xlink";function Pc(e,t,n,s,r,o=Q1(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Cc,t.slice(6,t.length)):e.setAttributeNS(Cc,t,n):n==null||o&&!Cu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Jt(n)?String(n):n)}function jp(e,t,n,s){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const i=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Cu(n):n==null&&i==="string"?(n="",o=!0):i==="number"&&(n=0,o=!0)}try{e[t]=n}catch(i){o||wn(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,i)}o&&e.removeAttribute(t)}function hn(e,t,n,s){e.addEventListener(t,n,s)}function Hp(e,t,n,s){e.removeEventListener(t,n,s)}const Mc=Symbol("_vei");function Yp(e,t,n,s,r=null){const o=e[Mc]||(e[Mc]={}),i=o[t];if(s&&i)i.value=$c(s,t);else{const[a,l]=Up(t);if(s){const c=o[t]=Gp($c(s,t),r);hn(e,a,c,l)}else i&&(Hp(e,a,i,l),o[t]=void 0)}}const Dc=/(?:Once|Passive|Capture)$/;function Up(e){let t;if(Dc.test(e)){t={};let s;for(;s=e.match(Dc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):kn(e.slice(2)),t]}let Hi=0;const Vp=Promise.resolve(),Bp=()=>Hi||(Vp.then(()=>Hi=0),Hi=Date.now());function Gp(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ot(Wp(s,n.value),t,5,[s])};return n.value=e,n.attached=Bp(),n}function $c(e,t){return ne(e)||Z(e)?e:(wn(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
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.mount=s=>{const r=o2(s);if(!r)return;const o=t._component;!ne(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,n2(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function n2(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function s2(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>q1(t)||K1(t)||J1(t),writable:!1})}function r2(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){wn("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return wn(s),n},set(){wn(s)}})}}function o2(e){if(Re(e)){const t=document.querySelector(e);return t||wn(`Failed to mount app: mount target selector "${e}" returned null.`),t}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&wn('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}/**
|
|
* 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;return this.getTranslation(s,o,n,r,void 0,i,a)}}},al=f2,va=Symbol("GETTEXT");function h2(e){return e.replace(/\r?\n|\r/,"").replace(/\s\s+/g," ").trim()}function jc(e){var t={};return Object.keys(e).forEach(function(n){var s=e[n],r={};Object.keys(s).forEach(function(o){r[h2(o)]=s[o]}),t[n]=r}),t}var p2=function(){var e=yt(va,null);if(!e)throw new Error("Failed to inject gettext. Make sure vue3-gettext is set up properly.");return e},m2=Ve({name:"translate",props:{tag:{type:String,default:"span"},translateN:{type:Number,default:null},translatePlural:{type:String,default:null},translateContext:{type:String,default:null},translateParams:{type:Object,default:null},translateComment:{type:String,default:null}},setup:function(t,n){var s=t.translateN!==void 0&&t.translatePlural!==void 0;if(!s&&(t.translateN||t.translatePlural)){var r,o,i;throw new Error("`translate-n` and `translate-plural` attributes must be used together: ".concat((o=(i=n.slots).default)===null||o===void 0||(r=o.call(i)[0])===null||r===void 0?void 0:r.children,"."))}var a=Ke(),l=p2(),c=Ke(null);er(function(){!c.value&&a.value&&(c.value=a.value.innerHTML.trim())});var d=Ue(function(){var u,f=al(l).getTranslation(c.value,t.translateN,t.translateContext,s?t.translatePlural:null,l.current);return il(l)(f,t.translateParams,void 0,(u=tn())===null||u===void 0?void 0:u.parent)});return function(){return c.value?Ir(t.tag,{ref:a,innerHTML:d.value}):Ir(t.tag,{ref:a},n.slots.default?n.slots.default():"")}}}),Hc=m2,g2=function(e,t,n,s){var r=s.props||{},o=t.dataset.msgid,i=r["translate-context"],a=r["translate-n"],l=r["translate-plural"],c=a!==void 0&&l!==void 0,d=r["render-html"]==="true";if(!c&&(a||l))throw new Error("`translate-n` and `translate-plural` attributes must be used together:"+o+".");!e.silent&&r["translate-params"]&&console.warn("`translate-params` is required as an expression for v-translate directive. Please change to `v-translate='params'`: ".concat(o));var u=al(e).getTranslation(o,a,i,c?l:null,e.current),f,m=Object.assign((f=n.instance)!==null&&f!==void 0?f:{},n.value),_=il(e)(u,m,d,null);t.innerHTML=_};function Yc(e){var t=function(n,s,r){n.dataset.currentLanguage=e.current,g2(e,n,s,r)};return{beforeMount:function(s,r,o){s.dataset.msgid||(s.dataset.msgid=s.innerHTML),yn(e,function(){t(s,r,o)}),t(s,r,o)},updated:function(s,r,o){t(s,r,o)}}}var Uc={availableLanguages:{en:"English"},defaultLanguage:"en",sourceCodeLanguage:void 0,mutedLanguages:[],silent:!1,translations:{},setGlobalProperties:!0,globalProperties:{language:["$language"],gettext:["$gettext"],pgettext:["$pgettext"],ngettext:["$ngettext"],npgettext:["$npgettext"],interpolate:["$gettextInterpolate"]},provideDirective:!0,provideComponent:!0};function _2(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Object.keys(e).forEach(function(i){if(Object.keys(Uc).indexOf(i)===-1)throw new Error("".concat(i," is an invalid option for the translate plugin."))});var t=c2({},Uc,e),n=Ke(jc(t.translations)),s=en({available:t.availableLanguages,muted:t.mutedLanguages,silent:t.silent,translations:Ue({get:function(){return n.value},set:function(i){n.value=jc(i)}}),current:t.defaultLanguage,sourceCodeLanguage:t.sourceCodeLanguage,install:function(a){if(a[va]=s,a.provide(va,s),t.setGlobalProperties){var l=a.config.globalProperties,c=t.globalProperties.gettext||["$gettext"];c.forEach(function(d){l[d]=s.$gettext}),c=t.globalProperties.pgettext||["$pgettext"],c.forEach(function(d){l[d]=s.$pgettext}),c=t.globalProperties.ngettext||["$ngettext"],c.forEach(function(d){l[d]=s.$ngettext}),c=t.globalProperties.npgettext||["$npgettext"],c.forEach(function(d){l[d]=s.$npgettext}),c=t.globalProperties.interpolate||["$gettextInterpolate"],c.forEach(function(d){l[d]=s.interpolate}),c=t.globalProperties.language||["$language"],c.forEach(function(d){l[d]=s})}t.provideDirective&&a.directive("translate",Yc(s)),t.provideComponent&&a.component("translate",Hc)}}),r=al(s),o=il(s);return s.$gettext=r.gettext.bind(r),s.$pgettext=r.pgettext.bind(r),s.$ngettext=r.ngettext.bind(r),s.$npgettext=r.npgettext.bind(r),s.interpolate=o.bind(o),s.directive=Yc(s),s.component=Hc,s}const Yi={$gettext:(e,t,n)=>e,tagMap:{},defaultLanguage:""},v2=e=>K(void 0,null,function*(){const t=y2(),n=new Date().getTime();let s={};try{const i=`/luci-static/istorerouter/i18n/${t.toLocaleLowerCase()}.json?t=${n}`;s=yield(yield fetch(window.vue_lang_data||i,{method:"GET"})).json()}catch(i){console.log(i)}const r=_2({defaultLanguage:t,mutedLanguages:["zh-CN"],translations:s,setGlobalProperties:!1,provideDirective:!1,provideComponent:!1});e.use(r);const{$gettext:o}=r;Yi.$gettext=o,Yi.tagMap={net:o("net"),tool:o("tool"),download:o("download"),service:o("service"),multimedia:o("multimedia"),nas:o("nas"),monitor:o("monitor"),system:o("system"),networking:o("networking")},Yi.defaultLanguage=t}),y2=()=>window.vue_lang||navigator.language||"zh-CN";var ve=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const w2=Ve({__name:"App",setup(e){return(t,n)=>{const s=dt("router-view");return A(),z(Ee,null,[Pe(s),ge(" <tooltip /> ")],2112)}}});var b2=ve(w2,[]);const vt=(e,t)=>K(void 0,null,function*(){return new Promise((s,r)=>K(void 0,null,function*(){try{const o=yield fetch(e,$t({},t)),i=o;i.status===0||i.status===200?(i.data=yield o.json(),s(i)):r(i)}catch(o){r(o)}}))}),J=(e,t)=>(e=`/cgi-bin/luci/istore${e}`,vt(e,t)),S2={Status:{GET(){return J("/system/status/",{method:"GET"})}},CPU:{Status:{GET(){return J("/system/cpu/status/",{method:"GET"})}},Temperature:{GET(){return J("/system/cpu/temperature/",{method:"GET"})}}},Memery:{Status:{GET(){return J("/system/memery/status/",{method:"GET"})}}},Version:{GET(){return J("/system/version/",{method:"GET"})}},Time:{GET(){return J("/system/time/",{method:"GET"})}},CheckUpdate:{GET(){return J("/system/check-update/",{method:"GET"})}}},k2={Statistics:{GET(){return J("/network/statistics/",{method:"GET"})}},Status:{GET(){return J("/network/status/",{method:"GET"})},SetupFinish(){return J("/network/setup/finish/",{method:"POST"})}},Device:{List:{GET(){return J("/network/device/list/",{method:"GET"})}}},PortList:{GET(){return J("/network/port/list/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})}},CheckPublickNet:{POST(e){return J("/network/checkPublicNet/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},T2={Pppoe:{GET(){return J("/guide/pppoe/",{method:"GET"})},POST(e){return J("/guide/pppoe/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},ClientModel:{GET(){return J("/guide/client-mode/",{method:"GET"})},POST(e){return J("/guide/client-mode/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GatewayRouter:{POST(e){return J("/guide/gateway-router/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetLan:{GET(){return J("/guide/lan/",{method:"GET"})}},LanIp:{POST(e){return J("/guide/lan/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DnsConfig:{GET(){return J("/guide/dns-config/",{method:"GET"})},POST(e){return J("/guide/dns-config/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},SoftSourceList:{GET(){return J("/guide/soft-source/list/",{method:"GET"})}},GetSoftSource:{GET(){return J("/guide/soft-source/",{method:"GET"})}},SoftSource:{POST(e){return J("/guide/soft-source/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return J("/guide/docker/status/",{method:"GET"})}},DockerPartitionList:{GET(){return J("/guide/docker/partition/list/",{method:"GET"})}},DockerTransfer:{POST(e){return J("/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerSwitch:{POST(e){return J("/guide/docker/switch/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Ddns:{GET(){return J("/guide/ddns/",{method:"GET"})},POST(e){return J("/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Ddnsto:{POST(e){return J("/guide/ddnsto/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Config:{GET(){return J("/guide/ddnsto/config/",{method:"GET"})}},Address:{POST(e){return J("/guide/ddnsto/address/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},DdntoConfig:{GET(){return J("/guide/ddnsto/config/",{method:"GET"})}},PostDdns:{POST(e){return J("/guide/ddns/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Setup:{GET(){return J("/guide/need/setup/",{method:"GET"})}}},E2={Disk:{Status:{GET(){return J("/nas/disk/status/",{method:"GET"})}},Erase:{POST(e){return J("/nas/disk/erase",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Init:{POST:e=>J("/nas/disk/init/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},InitRest:{POST:e=>J("/nas/disk/initrest/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Partition:{Format:{POST:e=>J("/nas/disk/partition/format",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})},Mount:{POST:e=>J("/nas/disk/partition/mount",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},Sandbox:{POST(e){return J("/nas/sandbox/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},GetSandbox:{GET(){return J("/nas/sandbox/",{method:"GET"})}},SandboxDisks:{GET(){return J("/nas/sandbox/disks/",{method:"GET"})}},SandboxCommit:{POST(){return J("/nas/sandbox/commit/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify({})})}},SandboxReset:{POST(){return J("/nas/sandbox/reset/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"}})}}},x2={Create:{POST(e){return J("/raid/create/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Delete:{POST(e){return J("/raid/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Add:{POST(e){return J("/raid/add/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Remove:{POST(e){return J("/raid/remove/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Recover:{POST(e){return J("/raid/recover/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Detail:{POST(e){return J("/raid/detail/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},List:{GET(){return J("/raid/list/",{method:"GET"})}},CreateList:{GET(){return J("/raid/create/list/",{method:"GET"})}}},O2={Check:{POST(e){return J("/app/check/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Install:{POST(e){return J("/app/install/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}},C2={List:{GET(){return J("/wireless/list-iface/",{method:"GET"})}},Switch:{POST(e){return J("/wireless/enable-iface/",{body:JSON.stringify(e),method:"POST"})}},Power:{POST(e){return J("/wireless/set-device-power/",{body:JSON.stringify(e),method:"POST"})}},Edit:{POST(e){return J("/wireless/edit-iface/",{body:JSON.stringify(e),method:"POST"})}},Setup:{POST(e){return J("/wireless/setup/",{body:JSON.stringify(e),method:"POST"})}}};var P2=Object.freeze(Object.defineProperty({__proto__:null,System:S2,Network:k2,Guide:T2,Nas:E2,Raid:x2,App:O2,Wireless:C2},Symbol.toStringTag,{value:"Module"}));const M2=window.L,Vc=()=>new Promise((e,t)=>{try{M2.require("network").then(n=>{n&&(n.getNetwork("wan").then(s=>{if(s){const r=s.getDevice();if(r)return e({up:r.getTXBytes(),down:r.getRXBytes()})}}),n.flushCache())})}catch(n){t(n)}});//! moment.js
|
|
//! 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;zo={};function q(e,t,n){zo[e]=sn(t)?t:function(s,r){return s&&n?n:t}}function Q2(e,t){return be(zo,e)?zo[e](t._strict,t._locale):new RegExp(X2(e))}function X2(e){return bn(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,s,r,o){return n||s||r||o}))}function bn(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function xt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _e(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=xt(t)),n}var Sa={};function Me(e,t){var n,s=t,r;for(typeof e=="string"&&(e=[e]),En(t)&&(s=function(o,i){i[t]=_e(o)}),r=e.length,n=0;n<r;n++)Sa[e[n]]=s}function Qr(e,t){Me(e,function(n,s,r,o){r._w=r._w||{},t(n,r._w,r,o)})}function e3(e,t,n){t!=null&&be(Sa,e)&&Sa[e](t,n._a,n,e)}function bi(e){return e%4===0&&e%100!==0||e%400===0}var at=0,pn=1,Wt=2,Xe=3,It=4,mn=5,ps=6,t3=7,n3=8;te("Y",0,0,function(){var e=this.year();return e<=9999?Xt(e,4):"+"+e});te(0,["YY",2],0,function(){return this.year()%100});te(0,["YYYY",4],0,"year");te(0,["YYYYY",5],0,"year");te(0,["YYYYYY",6,!0],0,"year");q("Y",yi);q("YY",Ne,bt);q("YYYY",ml,pl);q("YYYYY",vi,gi);q("YYYYYY",vi,gi);Me(["YYYYY","YYYYYY"],at);Me("YYYY",function(e,t){t[at]=e.length===2?H.parseTwoDigitYear(e):_e(e)});Me("YY",function(e,t){t[at]=H.parseTwoDigitYear(e)});Me("Y",function(e,t){t[at]=parseInt(e,10)});function Er(e){return bi(e)?366:365}H.parseTwoDigitYear=function(e){return _e(e)+(_e(e)>68?1900:2e3)};var uf=rr("FullYear",!0);function s3(){return bi(this.year())}function rr(e,t){return function(n){return n!=null?(df(this,e,n),H.updateOffset(this,t),this):Lr(this,e)}}function Lr(e,t){if(!e.isValid())return NaN;var n=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function df(e,t,n){var s,r,o,i,a;if(!(!e.isValid()||isNaN(n))){switch(s=e._d,r=e._isUTC,t){case"Milliseconds":return void(r?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(r?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(r?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(r?s.setUTCHours(n):s.setHours(n));case"Date":return void(r?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}o=n,i=e.month(),a=e.date(),a=a===29&&i===1&&!bi(o)?28:a,r?s.setUTCFullYear(o,i,a):s.setFullYear(o,i,a)}}function r3(e){return e=Mt(e),sn(this[e])?this[e]():this}function o3(e,t){if(typeof e=="object"){e=hl(e);var n=K2(e),s,r=n.length;for(s=0;s<r;s++)this[n[s].unit](e[n[s].unit])}else if(e=Mt(e),sn(this[e]))return this[e](t);return this}function i3(e,t){return(e%t+t)%t}var Ge;Array.prototype.indexOf?Ge=Array.prototype.indexOf:Ge=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function _l(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=i3(t,12);return e+=(t-n)/12,n===1?bi(e)?29:28:31-n%7%2}te("M",["MM",2],"Mo",function(){return this.month()+1});te("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});te("MMMM",0,0,function(e){return this.localeData().months(this,e)});q("M",Ne,sr);q("MM",Ne,bt);q("MMM",function(e,t){return t.monthsShortRegex(e)});q("MMMM",function(e,t){return t.monthsRegex(e)});Me(["M","MM"],function(e,t){t[pn]=_e(e)-1});Me(["MMM","MMMM"],function(e,t,n,s){var r=n._locale.monthsParse(e,s,n._strict);r!=null?t[pn]=r:ue(n).invalidMonth=e});var a3="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ff="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hf=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,l3=Zr,c3=Zr;function u3(e,t){return e?Lt(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||hf).test(t)?"format":"standalone"][e.month()]:Lt(this._months)?this._months:this._months.standalone}function d3(e,t){return e?Lt(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[hf.test(t)?"format":"standalone"][e.month()]:Lt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function f3(e,t,n){var s,r,o,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)o=nn([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(o,"").toLocaleLowerCase();return n?t==="MMM"?(r=Ge.call(this._shortMonthsParse,i),r!==-1?r:null):(r=Ge.call(this._longMonthsParse,i),r!==-1?r:null):t==="MMM"?(r=Ge.call(this._shortMonthsParse,i),r!==-1?r:(r=Ge.call(this._longMonthsParse,i),r!==-1?r:null)):(r=Ge.call(this._longMonthsParse,i),r!==-1?r:(r=Ge.call(this._shortMonthsParse,i),r!==-1?r:null))}function h3(e,t,n){var s,r,o;if(this._monthsParseExact)return f3.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(r=nn([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),!n&&!this._monthsParse[s]&&(o="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[s]=new RegExp(o.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(n&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}}function pf(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=_e(t);else if(t=e.localeData().monthsParse(t),!En(t))return e}var n=t,s=e.date();return s=s<29?s:Math.min(s,_l(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,s):e._d.setMonth(n,s),e}function mf(e){return e!=null?(pf(this,e),H.updateOffset(this,!0),this):Lr(this,"Month")}function p3(){return _l(this.year(),this.month())}function m3(e){return this._monthsParseExact?(be(this,"_monthsRegex")||gf.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(be(this,"_monthsShortRegex")||(this._monthsShortRegex=l3),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function g3(e){return this._monthsParseExact?(be(this,"_monthsRegex")||gf.call(this),e?this._monthsStrictRegex:this._monthsRegex):(be(this,"_monthsRegex")||(this._monthsRegex=c3),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function gf(){function e(l,c){return c.length-l.length}var t=[],n=[],s=[],r,o,i,a;for(r=0;r<12;r++)o=nn([2e3,r]),i=bn(this.monthsShort(o,"")),a=bn(this.months(o,"")),t.push(i),n.push(a),s.push(a),s.push(i);t.sort(e),n.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function _3(e,t,n,s,r,o,i){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,s,r,o,i),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,s,r,o,i),a}function Nr(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qo(e,t,n){var s=7+t-n,r=(7+Nr(e,0,s).getUTCDay()-t)%7;return-r+s-1}function _f(e,t,n,s,r){var o=(7+n-s)%7,i=qo(e,s,r),a=1+7*(t-1)+o+i,l,c;return a<=0?(l=e-1,c=Er(l)+a):a>Er(e)?(l=e+1,c=a-Er(e)):(l=e,c=a),{year:l,dayOfYear:c}}function jr(e,t,n){var s=qo(e.year(),t,n),r=Math.floor((e.dayOfYear()-s-1)/7)+1,o,i;return r<1?(i=e.year()-1,o=r+Sn(i,t,n)):r>Sn(e.year(),t,n)?(o=r-Sn(e.year(),t,n),i=e.year()+1):(i=e.year(),o=r),{week:o,year:i}}function Sn(e,t,n){var s=qo(e,t,n),r=qo(e+1,t,n);return(Er(e)-s+r)/7}te("w",["ww",2],"wo","week");te("W",["WW",2],"Wo","isoWeek");q("w",Ne,sr);q("ww",Ne,bt);q("W",Ne,sr);q("WW",Ne,bt);Qr(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=_e(e)});function v3(e){return jr(e,this._week.dow,this._week.doy).week}var y3={dow:0,doy:6};function w3(){return this._week.dow}function b3(){return this._week.doy}function S3(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function k3(e){var t=jr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}te("d",0,"do","day");te("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});te("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});te("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});te("e",0,0,"weekday");te("E",0,0,"isoWeekday");q("d",Ne);q("e",Ne);q("E",Ne);q("dd",function(e,t){return t.weekdaysMinRegex(e)});q("ddd",function(e,t){return t.weekdaysShortRegex(e)});q("dddd",function(e,t){return t.weekdaysRegex(e)});Qr(["dd","ddd","dddd"],function(e,t,n,s){var r=n._locale.weekdaysParse(e,s,n._strict);r!=null?t.d=r:ue(n).invalidWeekday=e});Qr(["d","e","E"],function(e,t,n,s){t[s]=_e(e)});function T3(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function E3(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function vl(e,t){return e.slice(t,7).concat(e.slice(0,t))}var x3="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),vf="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),O3="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),C3=Zr,P3=Zr,M3=Zr;function D3(e,t){var n=Lt(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?vl(n,this._week.dow):e?n[e.day()]:n}function $3(e){return e===!0?vl(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function A3(e){return e===!0?vl(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function F3(e,t,n){var s,r,o,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)o=nn([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(o,"").toLocaleLowerCase();return n?t==="dddd"?(r=Ge.call(this._weekdaysParse,i),r!==-1?r:null):t==="ddd"?(r=Ge.call(this._shortWeekdaysParse,i),r!==-1?r:null):(r=Ge.call(this._minWeekdaysParse,i),r!==-1?r:null):t==="dddd"?(r=Ge.call(this._weekdaysParse,i),r!==-1||(r=Ge.call(this._shortWeekdaysParse,i),r!==-1)?r:(r=Ge.call(this._minWeekdaysParse,i),r!==-1?r:null)):t==="ddd"?(r=Ge.call(this._shortWeekdaysParse,i),r!==-1||(r=Ge.call(this._weekdaysParse,i),r!==-1)?r:(r=Ge.call(this._minWeekdaysParse,i),r!==-1?r:null)):(r=Ge.call(this._minWeekdaysParse,i),r!==-1||(r=Ge.call(this._weekdaysParse,i),r!==-1)?r:(r=Ge.call(this._shortWeekdaysParse,i),r!==-1?r:null))}function I3(e,t,n){var s,r,o;if(this._weekdaysParseExact)return F3.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(r=nn([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(o="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[s]=new RegExp(o.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(n&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(n&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}}function R3(e){if(!this.isValid())return e!=null?this:NaN;var t=Lr(this,"Day");return e!=null?(e=T3(e,this.localeData()),this.add(e-t,"d")):t}function L3(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function N3(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=E3(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function j3(e){return this._weekdaysParseExact?(be(this,"_weekdaysRegex")||yl.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(be(this,"_weekdaysRegex")||(this._weekdaysRegex=C3),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function H3(e){return this._weekdaysParseExact?(be(this,"_weekdaysRegex")||yl.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(be(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=P3),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Y3(e){return this._weekdaysParseExact?(be(this,"_weekdaysRegex")||yl.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(be(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=M3),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function yl(){function e(d,u){return u.length-d.length}var t=[],n=[],s=[],r=[],o,i,a,l,c;for(o=0;o<7;o++)i=nn([2e3,1]).day(o),a=bn(this.weekdaysMin(i,"")),l=bn(this.weekdaysShort(i,"")),c=bn(this.weekdays(i,"")),t.push(a),n.push(l),s.push(c),r.push(a),r.push(l),r.push(c);t.sort(e),n.sort(e),s.sort(e),r.sort(e),this._weekdaysRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function wl(){return this.hours()%12||12}function U3(){return this.hours()||24}te("H",["HH",2],0,"hour");te("h",["hh",2],0,wl);te("k",["kk",2],0,U3);te("hmm",0,0,function(){return""+wl.apply(this)+Xt(this.minutes(),2)});te("hmmss",0,0,function(){return""+wl.apply(this)+Xt(this.minutes(),2)+Xt(this.seconds(),2)});te("Hmm",0,0,function(){return""+this.hours()+Xt(this.minutes(),2)});te("Hmmss",0,0,function(){return""+this.hours()+Xt(this.minutes(),2)+Xt(this.seconds(),2)});function yf(e,t){te(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}yf("a",!0);yf("A",!1);function wf(e,t){return t._meridiemParse}q("a",wf);q("A",wf);q("H",Ne,gl);q("h",Ne,sr);q("k",Ne,sr);q("HH",Ne,bt);q("hh",Ne,bt);q("kk",Ne,bt);q("hmm",lf);q("hmmss",cf);q("Hmm",lf);q("Hmmss",cf);Me(["H","HH"],Xe);Me(["k","kk"],function(e,t,n){var s=_e(e);t[Xe]=s===24?0:s});Me(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Me(["h","hh"],function(e,t,n){t[Xe]=_e(e),ue(n).bigHour=!0});Me("hmm",function(e,t,n){var s=e.length-2;t[Xe]=_e(e.substr(0,s)),t[It]=_e(e.substr(s)),ue(n).bigHour=!0});Me("hmmss",function(e,t,n){var s=e.length-4,r=e.length-2;t[Xe]=_e(e.substr(0,s)),t[It]=_e(e.substr(s,2)),t[mn]=_e(e.substr(r)),ue(n).bigHour=!0});Me("Hmm",function(e,t,n){var s=e.length-2;t[Xe]=_e(e.substr(0,s)),t[It]=_e(e.substr(s))});Me("Hmmss",function(e,t,n){var s=e.length-4,r=e.length-2;t[Xe]=_e(e.substr(0,s)),t[It]=_e(e.substr(s,2)),t[mn]=_e(e.substr(r))});function V3(e){return(e+"").toLowerCase().charAt(0)==="p"}var B3=/[ap]\.?m?\.?/i,G3=rr("Hours",!0);function W3(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var bf={calendar:F2,longDateFormat:N2,invalidDate:H2,ordinal:U2,dayOfMonthOrdinalParse:V2,relativeTime:G2,months:a3,monthsShort:ff,week:y3,weekdays:x3,weekdaysMin:O3,weekdaysShort:vf,meridiemParse:B3},He={},dr={},Hr;function z3(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n<s;n+=1)if(e[n]!==t[n])return n;return s}function zc(e){return e&&e.toLowerCase().replace("_","-")}function q3(e){for(var t=0,n,s,r,o;t<e.length;){for(o=zc(e[t]).split("-"),n=o.length,s=zc(e[t+1]),s=s?s.split("-"):null;n>0;){if(r=Si(o.slice(0,n).join("-")),r)return r;if(s&&s.length>=n&&z3(o,s)>=n-1)break;n--}t++}return Hr}function K3(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Si(e){var t=null,n;if(He[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&K3(e))try{t=Hr._abbr,n=require,n("./locale/"+e),Zn(t)}catch(s){He[e]=null}return He[e]}function Zn(e,t){var n;return e&&(ht(t)?n=Mn(e):n=bl(e,t),n?Hr=n:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Hr._abbr}function bl(e,t){if(t!==null){var n,s=bf;if(t.abbr=e,He[e]!=null)sf("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=He[e]._config;else if(t.parentLocale!=null)if(He[t.parentLocale]!=null)s=He[t.parentLocale]._config;else if(n=Si(t.parentLocale),n!=null)s=n._config;else return dr[t.parentLocale]||(dr[t.parentLocale]=[]),dr[t.parentLocale].push({name:e,config:t}),null;return He[e]=new dl(wa(s,t)),dr[e]&&dr[e].forEach(function(r){bl(r.name,r.config)}),Zn(e),He[e]}else return delete He[e],null}function J3(e,t){if(t!=null){var n,s,r=bf;He[e]!=null&&He[e].parentLocale!=null?He[e].set(wa(He[e]._config,t)):(s=Si(e),s!=null&&(r=s._config),t=wa(r,t),s==null&&(t.abbr=e),n=new dl(t),n.parentLocale=He[e],He[e]=n),Zn(e)}else He[e]!=null&&(He[e].parentLocale!=null?(He[e]=He[e].parentLocale,e===Zn()&&Zn(e)):He[e]!=null&&delete He[e]);return He[e]}function Mn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Hr;if(!Lt(e)){if(t=Si(e),t)return t;e=[e]}return q3(e)}function Z3(){return ba(He)}function Sl(e){var t,n=e._a;return n&&ue(e).overflow===-2&&(t=n[pn]<0||n[pn]>11?pn:n[Wt]<1||n[Wt]>_l(n[at],n[pn])?Wt:n[Xe]<0||n[Xe]>24||n[Xe]===24&&(n[It]!==0||n[mn]!==0||n[ps]!==0)?Xe:n[It]<0||n[It]>59?It:n[mn]<0||n[mn]>59?mn:n[ps]<0||n[ps]>999?ps:-1,ue(e)._overflowDayOfYear&&(t<at||t>Wt)&&(t=Wt),ue(e)._overflowWeeks&&t===-1&&(t=t3),ue(e)._overflowWeekday&&t===-1&&(t=n3),ue(e).overflow=t),e}var Q3=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,X3=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,e6=/Z|[+-]\d\d(?::?\d\d)?/,fo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Bi=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],t6=/^\/?Date\((-?\d+)/i,n6=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,s6={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Sf(e){var t,n,s=e._i,r=Q3.exec(s)||X3.exec(s),o,i,a,l,c=fo.length,d=Bi.length;if(r){for(ue(e).iso=!0,t=0,n=c;t<n;t++)if(fo[t][1].exec(r[1])){i=fo[t][0],o=fo[t][2]!==!1;break}if(i==null){e._isValid=!1;return}if(r[3]){for(t=0,n=d;t<n;t++)if(Bi[t][1].exec(r[3])){a=(r[2]||" ")+Bi[t][0];break}if(a==null){e._isValid=!1;return}}if(!o&&a!=null){e._isValid=!1;return}if(r[4])if(e6.exec(r[4]))l="Z";else{e._isValid=!1;return}e._f=i+(a||"")+(l||""),Tl(e)}else e._isValid=!1}function r6(e,t,n,s,r,o){var i=[o6(e),ff.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(r,10)];return o&&i.push(parseInt(o,10)),i}function o6(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function i6(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function a6(e,t,n){if(e){var s=vf.indexOf(e),r=new Date(t[0],t[1],t[2]).getDay();if(s!==r)return ue(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function l6(e,t,n){if(e)return s6[e];if(t)return 0;var s=parseInt(n,10),r=s%100,o=(s-r)/100;return o*60+r}function kf(e){var t=n6.exec(i6(e._i)),n;if(t){if(n=r6(t[4],t[3],t[2],t[5],t[6],t[7]),!a6(t[1],n,e))return;e._a=n,e._tzm=l6(t[8],t[9],t[10]),e._d=Nr.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),ue(e).rfc2822=!0}else e._isValid=!1}function c6(e){var t=t6.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(Sf(e),e._isValid===!1)delete e._isValid;else return;if(kf(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:H.createFromInputFallback(e)}H.createFromInputFallback=Pt("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Is(e,t,n){return e!=null?e:t!=null?t:n}function u6(e){var t=new Date(H.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function kl(e){var t,n,s=[],r,o,i;if(!e._d){for(r=u6(e),e._w&&e._a[Wt]==null&&e._a[pn]==null&&d6(e),e._dayOfYear!=null&&(i=Is(e._a[at],r[at]),(e._dayOfYear>Er(i)||e._dayOfYear===0)&&(ue(e)._overflowDayOfYear=!0),n=Nr(i,0,e._dayOfYear),e._a[pn]=n.getUTCMonth(),e._a[Wt]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=r[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Xe]===24&&e._a[It]===0&&e._a[mn]===0&&e._a[ps]===0&&(e._nextDay=!0,e._a[Xe]=0),e._d=(e._useUTC?Nr:_3).apply(null,s),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Xe]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==o&&(ue(e).weekdayMismatch=!0)}}function d6(e){var t,n,s,r,o,i,a,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,i=4,n=Is(t.GG,e._a[at],jr(Le(),1,4).year),s=Is(t.W,1),r=Is(t.E,1),(r<1||r>7)&&(l=!0)):(o=e._locale._week.dow,i=e._locale._week.doy,c=jr(Le(),o,i),n=Is(t.gg,e._a[at],c.year),s=Is(t.w,c.week),t.d!=null?(r=t.d,(r<0||r>6)&&(l=!0)):t.e!=null?(r=t.e+o,(t.e<0||t.e>6)&&(l=!0)):r=o),s<1||s>Sn(n,o,i)?ue(e)._overflowWeeks=!0:l!=null?ue(e)._overflowWeekday=!0:(a=_f(n,s,r,o,i),e._a[at]=a.year,e._dayOfYear=a.dayOfYear)}H.ISO_8601=function(){};H.RFC_2822=function(){};function Tl(e){if(e._f===H.ISO_8601){Sf(e);return}if(e._f===H.RFC_2822){kf(e);return}e._a=[],ue(e).empty=!0;var t=""+e._i,n,s,r,o,i,a=t.length,l=0,c,d;for(r=rf(e._f,e._locale).match(fl)||[],d=r.length,n=0;n<d;n++)o=r[n],s=(t.match(Q2(o,e))||[])[0],s&&(i=t.substr(0,t.indexOf(s)),i.length>0&&ue(e).unusedInput.push(i),t=t.slice(t.indexOf(s)+s.length),l+=s.length),Vs[o]?(s?ue(e).empty=!1:ue(e).unusedTokens.push(o),e3(o,s,e)):e._strict&&!s&&ue(e).unusedTokens.push(o);ue(e).charsLeftOver=a-l,t.length>0&&ue(e).unusedInput.push(t),e._a[Xe]<=12&&ue(e).bigHour===!0&&e._a[Xe]>0&&(ue(e).bigHour=void 0),ue(e).parsedDateParts=e._a.slice(0),ue(e).meridiem=e._meridiem,e._a[Xe]=f6(e._locale,e._a[Xe],e._meridiem),c=ue(e).era,c!==null&&(e._a[at]=e._locale.erasConvertYear(c,e._a[at])),kl(e),Sl(e)}function f6(e,t,n){var s;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(s=e.isPM(n),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function h6(e){var t,n,s,r,o,i,a=!1,l=e._f.length;if(l===0){ue(e).invalidFormat=!0,e._d=new Date(NaN);return}for(r=0;r<l;r++)o=0,i=!1,t=ul({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[r],Tl(t),cl(t)&&(i=!0),o+=ue(t).charsLeftOver,o+=ue(t).unusedTokens.length*10,ue(t).score=o,a?o<s&&(s=o,n=t):(s==null||o<s||i)&&(s=o,n=t,i&&(a=!0));Wn(e,n||t)}function p6(e){if(!e._d){var t=hl(e._i),n=t.day===void 0?t.date:t.day;e._a=tf([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),kl(e)}}function m6(e){var t=new Jr(Sl(Tf(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Tf(e){var t=e._i,n=e._f;return e._locale=e._locale||Mn(e._l),t===null||n===void 0&&t===""?mi({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Nt(t)?new Jr(Sl(t)):(Kr(t)?e._d=t:Lt(n)?h6(e):n?Tl(e):g6(e),cl(e)||(e._d=null),e))}function g6(e){var t=e._i;ht(t)?e._d=new Date(H.now()):Kr(t)?e._d=new Date(t.valueOf()):typeof t=="string"?c6(e):Lt(t)?(e._a=tf(t.slice(0),function(n){return parseInt(n,10)}),kl(e)):bs(t)?p6(e):En(t)?e._d=new Date(t):H.createFromInputFallback(e)}function Ef(e,t,n,s,r){var o={};return(t===!0||t===!1)&&(s=t,t=void 0),(n===!0||n===!1)&&(s=n,n=void 0),(bs(e)&&ll(e)||Lt(e)&&e.length===0)&&(e=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=n,o._i=e,o._f=t,o._strict=s,m6(o)}function Le(e,t,n,s){return Ef(e,t,n,s,!1)}var _6=Pt("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:mi()}),v6=Pt("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:mi()});function xf(e,t){var n,s;if(t.length===1&&Lt(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](n))&&(n=t[s]);return n}function y6(){var e=[].slice.call(arguments,0);return xf("isBefore",e)}function w6(){var e=[].slice.call(arguments,0);return xf("isAfter",e)}var b6=function(){return Date.now?Date.now():+new Date},fr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function S6(e){var t,n=!1,s,r=fr.length;for(t in e)if(be(e,t)&&!(Ge.call(fr,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<r;++s)if(e[fr[s]]){if(n)return!1;parseFloat(e[fr[s]])!==_e(e[fr[s]])&&(n=!0)}return!0}function k6(){return this._isValid}function T6(){return jt(NaN)}function ki(e){var t=hl(e),n=t.year||0,s=t.quarter||0,r=t.month||0,o=t.week||t.isoWeek||0,i=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=S6(t),this._milliseconds=+d+c*1e3+l*6e4+a*1e3*60*60,this._days=+i+o*7,this._months=+r+s*3+n*12,this._data={},this._locale=Mn(),this._bubble()}function Eo(e){return e instanceof ki}function ka(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function E6(e,t,n){var s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),o=0,i;for(i=0;i<s;i++)(n&&e[i]!==t[i]||!n&&_e(e[i])!==_e(t[i]))&&o++;return o+r}function Of(e,t){te(e,0,0,function(){var n=this.utcOffset(),s="+";return n<0&&(n=-n,s="-"),s+Xt(~~(n/60),2)+t+Xt(~~n%60,2)})}Of("Z",":");Of("ZZ","");q("Z",wi);q("ZZ",wi);Me(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=El(wi,e)});var x6=/([\+\-]|\d\d)/gi;function El(e,t){var n=(t||"").match(e),s,r,o;return n===null?null:(s=n[n.length-1]||[],r=(s+"").match(x6)||["-",0,0],o=+(r[1]*60)+_e(r[2]),o===0?0:r[0]==="+"?o:-o)}function xl(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(Nt(e)||Kr(e)?e.valueOf():Le(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),H.updateOffset(n,!1),n):Le(e).local()}function Ta(e){return-Math.round(e._d.getTimezoneOffset())}H.updateOffset=function(){};function O6(e,t,n){var s=this._offset||0,r;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=El(wi,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(r=Ta(this)),this._offset=e,this._isUTC=!0,r!=null&&this.add(r,"m"),s!==e&&(!t||this._changeInProgress?Mf(this,jt(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,H.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Ta(this)}function C6(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function P6(e){return this.utcOffset(0,e)}function M6(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ta(this),"m")),this}function D6(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=El(J2,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function $6(e){return this.isValid()?(e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function A6(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function F6(){if(!ht(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ul(e,this),e=Tf(e),e._a?(t=e._isUTC?nn(e._a):Le(e._a),this._isDSTShifted=this.isValid()&&E6(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function I6(){return this.isValid()?!this._isUTC:!1}function R6(){return this.isValid()?this._isUTC:!1}function Cf(){return this.isValid()?this._isUTC&&this._offset===0:!1}var L6=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,N6=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function jt(e,t){var n=e,s=null,r,o,i;return Eo(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:En(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(s=L6.exec(e))?(r=s[1]==="-"?-1:1,n={y:0,d:_e(s[Wt])*r,h:_e(s[Xe])*r,m:_e(s[It])*r,s:_e(s[mn])*r,ms:_e(ka(s[ps]*1e3))*r}):(s=N6.exec(e))?(r=s[1]==="-"?-1:1,n={y:cs(s[2],r),M:cs(s[3],r),w:cs(s[4],r),d:cs(s[5],r),h:cs(s[6],r),m:cs(s[7],r),s:cs(s[8],r)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(i=j6(Le(n.from),Le(n.to)),n={},n.ms=i.milliseconds,n.M=i.months),o=new ki(n),Eo(e)&&be(e,"_locale")&&(o._locale=e._locale),Eo(e)&&be(e,"_isValid")&&(o._isValid=e._isValid),o}jt.fn=ki.prototype;jt.invalid=T6;function cs(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function qc(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function j6(e,t){var n;return e.isValid()&&t.isValid()?(t=xl(t,e),e.isBefore(t)?n=qc(e,t):(n=qc(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pf(e,t){return function(n,s){var r,o;return s!==null&&!isNaN(+s)&&(sf(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=s,s=o),r=jt(n,s),Mf(this,r,e),this}}function Mf(e,t,n,s){var r=t._milliseconds,o=ka(t._days),i=ka(t._months);!e.isValid()||(s=s==null?!0:s,i&&pf(e,Lr(e,"Month")+i*n),o&&df(e,"Date",Lr(e,"Date")+o*n),r&&e._d.setTime(e._d.valueOf()+r*n),s&&H.updateOffset(e,o||i))}var H6=Pf(1,"add"),Y6=Pf(-1,"subtract");function Df(e){return typeof e=="string"||e instanceof String}function U6(e){return Nt(e)||Kr(e)||Df(e)||En(e)||B6(e)||V6(e)||e===null||e===void 0}function V6(e){var t=bs(e)&&!ll(e),n=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r,o,i=s.length;for(r=0;r<i;r+=1)o=s[r],n=n||be(e,o);return t&&n}function B6(e){var t=Lt(e),n=!1;return t&&(n=e.filter(function(s){return!En(s)&&Df(e)}).length===0),t&&n}function G6(e){var t=bs(e)&&!ll(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],r,o;for(r=0;r<s.length;r+=1)o=s[r],n=n||be(e,o);return t&&n}function W6(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function z6(e,t){arguments.length===1&&(arguments[0]?U6(arguments[0])?(e=arguments[0],t=void 0):G6(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||Le(),s=xl(n,this).startOf("day"),r=H.calendarFormat(this,s)||"sameElse",o=t&&(sn(t[r])?t[r].call(this,n):t[r]);return this.format(o||this.localeData().calendar(r,this,Le(n)))}function q6(){return new Jr(this)}function K6(e,t){var n=Nt(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=Mt(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function J6(e,t){var n=Nt(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=Mt(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Z6(e,t,n,s){var r=Nt(e)?e:Le(e),o=Nt(t)?t:Le(t);return this.isValid()&&r.isValid()&&o.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(r,n):!this.isBefore(r,n))&&(s[1]===")"?this.isBefore(o,n):!this.isAfter(o,n))):!1}function Q6(e,t){var n=Nt(e)?e:Le(e),s;return this.isValid()&&n.isValid()?(t=Mt(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function X6(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function e4(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function t4(e,t,n){var s,r,o;if(!this.isValid())return NaN;if(s=xl(e,this),!s.isValid())return NaN;switch(r=(s.utcOffset()-this.utcOffset())*6e4,t=Mt(t),t){case"year":o=xo(this,s)/12;break;case"month":o=xo(this,s);break;case"quarter":o=xo(this,s)/3;break;case"second":o=(this-s)/1e3;break;case"minute":o=(this-s)/6e4;break;case"hour":o=(this-s)/36e5;break;case"day":o=(this-s-r)/864e5;break;case"week":o=(this-s-r)/6048e5;break;default:o=this-s}return n?o:xt(o)}function xo(e,t){if(e.date()<t.date())return-xo(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(n,"months"),r,o;return t-s<0?(r=e.clone().add(n-1,"months"),o=(t-s)/(s-r)):(r=e.clone().add(n+1,"months"),o=(t-s)/(r-s)),-(n+o)||0}H.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";H.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function n4(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function s4(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?To(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):sn(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",To(n,"Z")):To(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function r4(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,s,r,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(n+s+r+o)}function o4(e){e||(e=this.isUtc()?H.defaultFormatUtc:H.defaultFormat);var t=To(this,e);return this.localeData().postformat(t)}function i4(e,t){return this.isValid()&&(Nt(e)&&e.isValid()||Le(e).isValid())?jt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function a4(e){return this.from(Le(),e)}function l4(e,t){return this.isValid()&&(Nt(e)&&e.isValid()||Le(e).isValid())?jt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function c4(e){return this.to(Le(),e)}function $f(e){var t;return e===void 0?this._locale._abbr:(t=Mn(e),t!=null&&(this._locale=t),this)}var Af=Pt("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ff(){return this._locale}var Ko=1e3,Bs=60*Ko,Jo=60*Bs,If=(365*400+97)*24*Jo;function Gs(e,t){return(e%t+t)%t}function Rf(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-If:new Date(e,t,n).valueOf()}function Lf(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-If:Date.UTC(e,t,n)}function u4(e){var t,n;if(e=Mt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Lf:Rf,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Gs(t+(this._isUTC?0:this.utcOffset()*Bs),Jo);break;case"minute":t=this._d.valueOf(),t-=Gs(t,Bs);break;case"second":t=this._d.valueOf(),t-=Gs(t,Ko);break}return this._d.setTime(t),H.updateOffset(this,!0),this}function d4(e){var t,n;if(e=Mt(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Lf:Rf,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Jo-Gs(t+(this._isUTC?0:this.utcOffset()*Bs),Jo)-1;break;case"minute":t=this._d.valueOf(),t+=Bs-Gs(t,Bs)-1;break;case"second":t=this._d.valueOf(),t+=Ko-Gs(t,Ko)-1;break}return this._d.setTime(t),H.updateOffset(this,!0),this}function f4(){return this._d.valueOf()-(this._offset||0)*6e4}function h4(){return Math.floor(this.valueOf()/1e3)}function p4(){return new Date(this.valueOf())}function m4(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function g4(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function _4(){return this.isValid()?this.toISOString():null}function v4(){return cl(this)}function y4(){return Wn({},ue(this))}function w4(){return ue(this).overflow}function b4(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}te("N",0,0,"eraAbbr");te("NN",0,0,"eraAbbr");te("NNN",0,0,"eraAbbr");te("NNNN",0,0,"eraName");te("NNNNN",0,0,"eraNarrow");te("y",["y",1],"yo","eraYear");te("y",["yy",2],0,"eraYear");te("y",["yyy",3],0,"eraYear");te("y",["yyyy",4],0,"eraYear");q("N",Ol);q("NN",Ol);q("NNN",Ol);q("NNNN",$4);q("NNNNN",A4);Me(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var r=n._locale.erasParse(e,s,n._strict);r?ue(n).era=r:ue(n).invalidEra=e});q("y",nr);q("yy",nr);q("yyy",nr);q("yyyy",nr);q("yo",F4);Me(["y","yy","yyy","yyyy"],at);Me(["yo"],function(e,t,n,s){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[at]=n._locale.eraYearOrdinalParse(e,r):t[at]=parseInt(e,10)});function S4(e,t){var n,s,r,o=this._eras||Mn("en")._eras;for(n=0,s=o.length;n<s;++n){switch(typeof o[n].since){case"string":r=H(o[n].since).startOf("day"),o[n].since=r.valueOf();break}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":r=H(o[n].until).startOf("day").valueOf(),o[n].until=r.valueOf();break}}return o}function k4(e,t,n){var s,r,o=this.eras(),i,a,l;for(e=e.toUpperCase(),s=0,r=o.length;s<r;++s)if(i=o[s].name.toUpperCase(),a=o[s].abbr.toUpperCase(),l=o[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return o[s];break;case"NNNN":if(i===e)return o[s];break;case"NNNNN":if(l===e)return o[s];break}else if([i,a,l].indexOf(e)>=0)return o[s]}function T4(e,t){var n=e.since<=e.until?1:-1;return t===void 0?H(e.since).year():H(e.since).year()+(t-e.offset)*n}function E4(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return s[e].name;return""}function x4(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return s[e].narrow;return""}function O4(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return s[e].abbr;return""}function C4(){var e,t,n,s,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=r[e].since<=r[e].until?1:-1,s=this.clone().startOf("day").valueOf(),r[e].since<=s&&s<=r[e].until||r[e].until<=s&&s<=r[e].since)return(this.year()-H(r[e].since).year())*n+r[e].offset;return this.year()}function P4(e){return be(this,"_erasNameRegex")||Cl.call(this),e?this._erasNameRegex:this._erasRegex}function M4(e){return be(this,"_erasAbbrRegex")||Cl.call(this),e?this._erasAbbrRegex:this._erasRegex}function D4(e){return be(this,"_erasNarrowRegex")||Cl.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ol(e,t){return t.erasAbbrRegex(e)}function $4(e,t){return t.erasNameRegex(e)}function A4(e,t){return t.erasNarrowRegex(e)}function F4(e,t){return t._eraYearOrdinalRegex||nr}function Cl(){var e=[],t=[],n=[],s=[],r,o,i,a,l,c=this.eras();for(r=0,o=c.length;r<o;++r)i=bn(c[r].name),a=bn(c[r].abbr),l=bn(c[r].narrow),t.push(i),e.push(a),n.push(l),s.push(i),s.push(a),s.push(l);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}te(0,["gg",2],0,function(){return this.weekYear()%100});te(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ti(e,t){te(0,[e,e.length],0,t)}Ti("gggg","weekYear");Ti("ggggg","weekYear");Ti("GGGG","isoWeekYear");Ti("GGGGG","isoWeekYear");q("G",yi);q("g",yi);q("GG",Ne,bt);q("gg",Ne,bt);q("GGGG",ml,pl);q("gggg",ml,pl);q("GGGGG",vi,gi);q("ggggg",vi,gi);Qr(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=_e(e)});Qr(["gg","GG"],function(e,t,n,s){t[s]=H.parseTwoDigitYear(e)});function I4(e){return Nf.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function R4(e){return Nf.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function L4(){return Sn(this.year(),1,4)}function N4(){return Sn(this.isoWeekYear(),1,4)}function j4(){var e=this.localeData()._week;return Sn(this.year(),e.dow,e.doy)}function H4(){var e=this.localeData()._week;return Sn(this.weekYear(),e.dow,e.doy)}function Nf(e,t,n,s,r){var o;return e==null?jr(this,s,r).year:(o=Sn(e,s,r),t>o&&(t=o),Y4.call(this,e,t,n,s,r))}function Y4(e,t,n,s,r){var o=_f(e,t,n,s,r),i=Nr(o.year,0,o.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}te("Q",0,"Qo","quarter");q("Q",of);Me("Q",function(e,t){t[pn]=(_e(e)-1)*3});function U4(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}te("D",["DD",2],"Do","date");q("D",Ne,sr);q("DD",Ne,bt);q("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Me(["D","DD"],Wt);Me("Do",function(e,t){t[Wt]=_e(e.match(Ne)[0])});var jf=rr("Date",!0);te("DDD",["DDDD",3],"DDDo","dayOfYear");q("DDD",_i);q("DDDD",af);Me(["DDD","DDDD"],function(e,t,n){n._dayOfYear=_e(e)});function V4(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}te("m",["mm",2],0,"minute");q("m",Ne,gl);q("mm",Ne,bt);Me(["m","mm"],It);var B4=rr("Minutes",!1);te("s",["ss",2],0,"second");q("s",Ne,gl);q("ss",Ne,bt);Me(["s","ss"],mn);var G4=rr("Seconds",!1);te("S",0,0,function(){return~~(this.millisecond()/100)});te(0,["SS",2],0,function(){return~~(this.millisecond()/10)});te(0,["SSS",3],0,"millisecond");te(0,["SSSS",4],0,function(){return this.millisecond()*10});te(0,["SSSSS",5],0,function(){return this.millisecond()*100});te(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});te(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});te(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});te(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});q("S",_i,of);q("SS",_i,bt);q("SSS",_i,af);var zn,Hf;for(zn="SSSS";zn.length<=9;zn+="S")q(zn,nr);function W4(e,t){t[ps]=_e(("0."+e)*1e3)}for(zn="S";zn.length<=9;zn+="S")Me(zn,W4);Hf=rr("Milliseconds",!1);te("z",0,0,"zoneAbbr");te("zz",0,0,"zoneName");function z4(){return this._isUTC?"UTC":""}function q4(){return this._isUTC?"Coordinated Universal Time":""}var $=Jr.prototype;$.add=H6;$.calendar=z6;$.clone=q6;$.diff=t4;$.endOf=d4;$.format=o4;$.from=i4;$.fromNow=a4;$.to=l4;$.toNow=c4;$.get=r3;$.invalidAt=w4;$.isAfter=K6;$.isBefore=J6;$.isBetween=Z6;$.isSame=Q6;$.isSameOrAfter=X6;$.isSameOrBefore=e4;$.isValid=v4;$.lang=Af;$.locale=$f;$.localeData=Ff;$.max=v6;$.min=_6;$.parsingFlags=y4;$.set=o3;$.startOf=u4;$.subtract=Y6;$.toArray=m4;$.toObject=g4;$.toDate=p4;$.toISOString=s4;$.inspect=r4;typeof Symbol!="undefined"&&Symbol.for!=null&&($[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});$.toJSON=_4;$.toString=n4;$.unix=h4;$.valueOf=f4;$.creationData=b4;$.eraName=E4;$.eraNarrow=x4;$.eraAbbr=O4;$.eraYear=C4;$.year=uf;$.isLeapYear=s3;$.weekYear=I4;$.isoWeekYear=R4;$.quarter=$.quarters=U4;$.month=mf;$.daysInMonth=p3;$.week=$.weeks=S3;$.isoWeek=$.isoWeeks=k3;$.weeksInYear=j4;$.weeksInWeekYear=H4;$.isoWeeksInYear=L4;$.isoWeeksInISOWeekYear=N4;$.date=jf;$.day=$.days=R3;$.weekday=L3;$.isoWeekday=N3;$.dayOfYear=V4;$.hour=$.hours=G3;$.minute=$.minutes=B4;$.second=$.seconds=G4;$.millisecond=$.milliseconds=Hf;$.utcOffset=O6;$.utc=P6;$.local=M6;$.parseZone=D6;$.hasAlignedHourOffset=$6;$.isDST=A6;$.isLocal=I6;$.isUtcOffset=R6;$.isUtc=Cf;$.isUTC=Cf;$.zoneAbbr=z4;$.zoneName=q4;$.dates=Pt("dates accessor is deprecated. Use date instead.",jf);$.months=Pt("months accessor is deprecated. Use month instead",mf);$.years=Pt("years accessor is deprecated. Use year instead",uf);$.zone=Pt("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",C6);$.isDSTShifted=Pt("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",F6);function K4(e){return Le(e*1e3)}function J4(){return Le.apply(null,arguments).parseZone()}function Yf(e){return e}var Se=dl.prototype;Se.calendar=I2;Se.longDateFormat=j2;Se.invalidDate=Y2;Se.ordinal=B2;Se.preparse=Yf;Se.postformat=Yf;Se.relativeTime=W2;Se.pastFuture=z2;Se.set=A2;Se.eras=S4;Se.erasParse=k4;Se.erasConvertYear=T4;Se.erasAbbrRegex=M4;Se.erasNameRegex=P4;Se.erasNarrowRegex=D4;Se.months=u3;Se.monthsShort=d3;Se.monthsParse=h3;Se.monthsRegex=g3;Se.monthsShortRegex=m3;Se.week=v3;Se.firstDayOfYear=b3;Se.firstDayOfWeek=w3;Se.weekdays=D3;Se.weekdaysMin=A3;Se.weekdaysShort=$3;Se.weekdaysParse=I3;Se.weekdaysRegex=j3;Se.weekdaysShortRegex=H3;Se.weekdaysMinRegex=Y3;Se.isPM=V3;Se.meridiem=W3;function Zo(e,t,n,s){var r=Mn(),o=nn().set(s,t);return r[n](o,e)}function Uf(e,t,n){if(En(e)&&(t=e,e=void 0),e=e||"",t!=null)return Zo(e,t,n,"month");var s,r=[];for(s=0;s<12;s++)r[s]=Zo(e,s,n,"month");return r}function Pl(e,t,n,s){typeof e=="boolean"?(En(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,En(t)&&(n=t,t=void 0),t=t||"");var r=Mn(),o=e?r._week.dow:0,i,a=[];if(n!=null)return Zo(t,(n+o)%7,s,"day");for(i=0;i<7;i++)a[i]=Zo(t,(i+o)%7,s,"day");return a}function Z4(e,t){return Uf(e,t,"months")}function Q4(e,t){return Uf(e,t,"monthsShort")}function X4(e,t,n){return Pl(e,t,n,"weekdays")}function em(e,t,n){return Pl(e,t,n,"weekdaysShort")}function tm(e,t,n){return Pl(e,t,n,"weekdaysMin")}Zn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=_e(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});H.lang=Pt("moment.lang is deprecated. Use moment.locale instead.",Zn);H.langData=Pt("moment.langData is deprecated. Use moment.localeData instead.",Mn);var rn=Math.abs;function nm(){var e=this._data;return this._milliseconds=rn(this._milliseconds),this._days=rn(this._days),this._months=rn(this._months),e.milliseconds=rn(e.milliseconds),e.seconds=rn(e.seconds),e.minutes=rn(e.minutes),e.hours=rn(e.hours),e.months=rn(e.months),e.years=rn(e.years),this}function Vf(e,t,n,s){var r=jt(t,n);return e._milliseconds+=s*r._milliseconds,e._days+=s*r._days,e._months+=s*r._months,e._bubble()}function sm(e,t){return Vf(this,e,t,1)}function rm(e,t){return Vf(this,e,t,-1)}function Kc(e){return e<0?Math.floor(e):Math.ceil(e)}function om(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data,r,o,i,a,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Kc(Ea(n)+t)*864e5,t=0,n=0),s.milliseconds=e%1e3,r=xt(e/1e3),s.seconds=r%60,o=xt(r/60),s.minutes=o%60,i=xt(o/60),s.hours=i%24,t+=xt(i/24),l=xt(Bf(t)),n+=l,t-=Kc(Ea(l)),a=xt(n/12),n%=12,s.days=t,s.months=n,s.years=a,this}function Bf(e){return e*4800/146097}function Ea(e){return e*146097/4800}function im(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if(e=Mt(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,n=this._months+Bf(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ea(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Dn(e){return function(){return this.as(e)}}var Gf=Dn("ms"),am=Dn("s"),lm=Dn("m"),cm=Dn("h"),um=Dn("d"),dm=Dn("w"),fm=Dn("M"),hm=Dn("Q"),pm=Dn("y"),mm=Gf;function gm(){return jt(this)}function _m(e){return e=Mt(e),this.isValid()?this[e+"s"]():NaN}function Os(e){return function(){return this.isValid()?this._data[e]:NaN}}var vm=Os("milliseconds"),ym=Os("seconds"),wm=Os("minutes"),bm=Os("hours"),Sm=Os("days"),km=Os("months"),Tm=Os("years");function Em(){return xt(this.days()/7)}var dn=Math.round,Ls={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function xm(e,t,n,s,r){return r.relativeTime(t||1,!!n,e,s)}function Om(e,t,n,s){var r=jt(e).abs(),o=dn(r.as("s")),i=dn(r.as("m")),a=dn(r.as("h")),l=dn(r.as("d")),c=dn(r.as("M")),d=dn(r.as("w")),u=dn(r.as("y")),f=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||i<=1&&["m"]||i<n.m&&["mm",i]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return n.w!=null&&(f=f||d<=1&&["w"]||d<n.w&&["ww",d]),f=f||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u],f[2]=t,f[3]=+e>0,f[4]=s,xm.apply(null,f)}function Cm(e){return e===void 0?dn:typeof e=="function"?(dn=e,!0):!1}function Pm(e,t){return Ls[e]===void 0?!1:t===void 0?Ls[e]:(Ls[e]=t,e==="s"&&(Ls.ss=t-1),!0)}function Mm(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=Ls,r,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(s=Object.assign({},Ls,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),r=this.localeData(),o=Om(this,!n,s,r),n&&(o=r.pastFuture(+this,o)),r.postformat(o)}var Gi=Math.abs;function Ds(e){return(e>0)-(e<0)||+e}function Ei(){if(!this.isValid())return this.localeData().invalidDate();var e=Gi(this._milliseconds)/1e3,t=Gi(this._days),n=Gi(this._months),s,r,o,i,a=this.asSeconds(),l,c,d,u;return a?(s=xt(e/60),r=xt(s/60),e%=60,s%=60,o=xt(n/12),n%=12,i=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=a<0?"-":"",c=Ds(this._months)!==Ds(a)?"-":"",d=Ds(this._days)!==Ds(a)?"-":"",u=Ds(this._milliseconds)!==Ds(a)?"-":"",l+"P"+(o?c+o+"Y":"")+(n?c+n+"M":"")+(t?d+t+"D":"")+(r||s||e?"T":"")+(r?u+r+"H":"")+(s?u+s+"M":"")+(e?u+i+"S":"")):"P0D"}var ye=ki.prototype;ye.isValid=k6;ye.abs=nm;ye.add=sm;ye.subtract=rm;ye.as=im;ye.asMilliseconds=Gf;ye.asSeconds=am;ye.asMinutes=lm;ye.asHours=cm;ye.asDays=um;ye.asWeeks=dm;ye.asMonths=fm;ye.asQuarters=hm;ye.asYears=pm;ye.valueOf=mm;ye._bubble=om;ye.clone=gm;ye.get=_m;ye.milliseconds=vm;ye.seconds=ym;ye.minutes=wm;ye.hours=bm;ye.days=Sm;ye.weeks=Em;ye.months=km;ye.years=Tm;ye.humanize=Mm;ye.toISOString=Ei;ye.toString=Ei;ye.toJSON=Ei;ye.locale=$f;ye.localeData=Ff;ye.toIsoString=Pt("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ei);ye.lang=Af;te("X",0,0,"unix");te("x",0,0,"valueOf");q("x",yi);q("X",Z2);Me("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Me("x",function(e,t,n){n._d=new Date(_e(e))});//! moment.js
|
|
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:"GET"})}},localBackupPath:{GET(){return st("/admin/store/get_local_backup_dir_path",{method:"GET"})},POST(e){return st("/admin/store/set_local_backup_dir_path?"+new URLSearchParams({path:e,token:Oe.getToken(),_t:`${Oe.UnixDate()}`}),{method:"POST"})}},backupFiles:{GET(e,t="istore"){return st("/admin/store/get_available_backup_file_list?"+new URLSearchParams({path:e,type:t,_t:`${Oe.UnixDate()}`}),{method:"GET"})}},localBackup:{POST(e,t="istore"){return st("/admin/store/local_backup?"+new URLSearchParams({path:e,type:t,token:Oe.getToken(),_t:`${Oe.UnixDate()}`}),{method:"POST"})}},localRestore:{POST(e,t="istore"){return st("/admin/store/local_restore?"+new URLSearchParams({path:e,type:t,token:Oe.getToken(),_t:`${Oe.UnixDate()}`}),{method:"POST"})}}},e7={status:{GET(e){return st("/admin/system/tasks/status?"+new URLSearchParams({task_id:e,_t:`${Oe.UnixDate()}`}),{method:"GET"})}},log:{GET(e,t=0){return Qm("/admin/system/tasks/log?"+new URLSearchParams({task_id:e,offset:`${t}`,_t:`${Oe.UnixDate()}`}),{method:"GET"})}}},Wf="https://istore.linkease.com",hr=(e,t)=>(e=`${Wf}/api${e}`,vt(e,t)),t7={getStoreAppIcon(e){return`${Wf}${e}`},list:{GET(){return hr("/store/list",{method:"GET"})}},tags:{GET(){return hr("/store/tags",{method:"GET"})}},expand:{POST(e){return hr("/store/expand",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},star:{POST(e){return hr("/store/star",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},download:{POST(e){return hr("/store/download",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}};var n7=Object.freeze(Object.defineProperty({__proto__:null,Store:Xm,Taskd:e7,ApiStore:t7},Symbol.toStringTag,{value:"Module"}));const xa=(e,t)=>(e=`/cgi-bin/luci/admin/istorerouter_api${e}`,vt(e,t)),s7={Status:{Get:()=>xa("/status",{method:"GET"})},Updata:{POST:e=>xa("/update",{method:"POST",body:JSON.stringify(e)})}},r7={BG:{POST(e){return xa("/upload-bg",{method:"POST",body:e})}}};var o7=Object.freeze(Object.defineProperty({__proto__:null,IstoreRouter:s7,Upload:r7},Symbol.toStringTag,{value:"Module"}));const i7={AutoSetup:{POST(e){const t=new URLSearchParams;return t.set("token",Oe.getToken()),e.packages.forEach(n=>{t.append("packages",n)}),vt("/cgi-bin/luci/admin/nas/quickstart/auto_setup",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t})}},SetupResult:{GET(){return vt("/cgi-bin/luci/admin/nas/quickstart/setup_result",{method:"GET"})}},Guide:{GlobalFolders:{GET(){return vt("/cgi-bin/luci/istore/guide/global-folders/",{method:"GET",headers:{"Content-Type":"application/json;charset=utf-8"}})},POST(e){return vt("/cgi-bin/luci/istore/guide/global-folders/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},DockerStatus:{GET(){return vt("/cgi-bin/luci/istore/guide/docker/status/",{method:"GET"})}},DockerTransfer:{POST(e){return vt("/cgi-bin/luci/istore/guide/docker/transfer/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}}},a7={Get:{POST(e){return vt("/cgi-bin/luci/istore/quickstart/get/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Set:{POST(e){return vt("/cgi-bin/luci/istore/quickstart/set/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}},Delete:{POST(e){return vt("/cgi-bin/luci/istore/quickstart/delete/",{method:"POST",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)})}}};var l7=Object.freeze(Object.defineProperty({__proto__:null,Quickstart:i7,Storage:a7},Symbol.toStringTag,{value:"Module"}));const ie=$t($t($t($t({},P2),n7),o7),l7);var c7=!1;function ho(e,t,n){return Array.isArray(e)?(e.length=Math.max(e.length,t),e.splice(t,1,n),n):(e[t]=n,n)}function Wi(e,t){if(Array.isArray(e)){e.splice(t,1);return}delete e[t]}function u7(){return zf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function zf(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const d7=typeof Proxy=="function",f7="devtools-plugin:setup",h7="plugin:settings:set";let $s,Oa;function p7(){var e;return $s!==void 0||(typeof window!="undefined"&&window.performance?($s=!0,Oa=window.performance):typeof globalThis!="undefined"&&((e=globalThis.perf_hooks)===null||e===void 0?void 0:e.performance)?($s=!0,Oa=globalThis.perf_hooks.performance):$s=!1),$s}function m7(){return p7()?Oa.now():Date.now()}class g7{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const s={};if(t.settings)for(const i in t.settings){const a=t.settings[i];s[i]=a.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},s);try{const i=localStorage.getItem(r),a=JSON.parse(i);Object.assign(o,a)}catch(i){}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(r,JSON.stringify(i))}catch(a){}o=i},now(){return m7()}},n&&n.on(h7,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}setRealTarget(t){return K(this,null,function*(){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function Ml(e,t){const n=e,s=zf(),r=u7(),o=d7&&n.enableEarlyProxy;if(r&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))r.emit(f7,e,t);else{const i=o?new g7(n,r):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
|
* 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){return{_custom:{display:e}}}const t1="\u{1F34D} Pinia (root)",Po="_root";function x7(e){return $l(e)?{id:Po,label:t1}:{id:e.$id,label:e.$id}}function O7(e){if($l(e)){const n=Array.from(e._s.keys()),s=e._s;return{state:n.map(o=>({editable:!0,key:o,value:e.state.value[o]})),getters:n.filter(o=>s.get(o)._getters).map(o=>{const i=s.get(o);return{editable:!1,key:o,value:i._getters.reduce((a,l)=>(a[l]=i[l],a),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function C7(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:Ft(e.type),key:Ft(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function P7(e){switch(e){case Kt.direct:return"mutation";case Kt.patchFunction:return"$patch";case Kt.patchObject:return"$patch";default:return"unknown"}}let Ns=!0;const Mo=[],ds="pinia:mutations",rt="pinia",{assign:M7}=Object,Qo=e=>"\u{1F34D} "+e;function D7(e,t){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},n=>{typeof n.now!="function"&&tt("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."),n.addTimelineLayer({id:ds,label:"Pinia \u{1F34D}",color:15064968}),n.addInspector({id:rt,label:"Pinia \u{1F34D}",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{b7(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:()=>K(this,null,function*(){yield S7(t),n.sendInspectorTree(rt),n.sendInspectorState(rt)}),tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{k7(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:()=>K(this,null,function*(){yield E7(t),n.sendInspectorTree(rt),n.sendInspectorState(rt)}),tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:s=>{const r=t._s.get(s);r?typeof r.$reset!="function"?tt(`Cannot reset "${s}" store because it doesn't have a "$reset" method implemented.`,"warn"):(r.$reset(),tt(`Store "${s}" reset.`)):tt(`Cannot reset "${s}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent((s,r)=>{const o=s.componentInstance&&s.componentInstance.proxy;if(o&&o._pStores){const i=s.componentInstance.proxy._pStores;Object.values(i).forEach(a=>{s.instanceData.state.push({type:Qo(a.$id),key:"state",editable:!0,value:a._isOptionsAPI?{_custom:{value:re(a.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>a.$reset()}]}}:Object.keys(a.$state).reduce((l,c)=>(l[c]=a.$state[c],l),{})}),a._getters&&a._getters.length&&s.instanceData.state.push({type:Qo(a.$id),key:"getters",editable:!1,value:a._getters.reduce((l,c)=>{try{l[c]=a[c]}catch(d){l[c]=d}return l},{})})})}}),n.on.getInspectorTree(s=>{if(s.app===e&&s.inspectorId===rt){let r=[t];r=r.concat(Array.from(t._s.values())),s.rootNodes=(s.filter?r.filter(o=>"$id"in o?o.$id.toLowerCase().includes(s.filter.toLowerCase()):t1.toLowerCase().includes(s.filter.toLowerCase())):r).map(x7)}}),globalThis.$pinia=t,n.on.getInspectorState(s=>{if(s.app===e&&s.inspectorId===rt){const r=s.nodeId===Po?t:t._s.get(s.nodeId);if(!r)return;r&&(s.nodeId!==Po&&(globalThis.$store=re(r)),s.state=O7(r))}}),n.on.editInspectorState((s,r)=>{if(s.app===e&&s.inspectorId===rt){const o=s.nodeId===Po?t:t._s.get(s.nodeId);if(!o)return tt(`store "${s.nodeId}" not found`,"error");const{path:i}=s;$l(o)?i.unshift("state"):(i.length!==1||!o._customProperties.has(i[0])||i[0]in o.$state)&&i.unshift("$state"),Ns=!1,s.set(o,i,s.state.value),Ns=!0}}),n.on.editComponentState(s=>{if(s.type.startsWith("\u{1F34D}")){const r=s.type.replace(/^🍍\s*/,""),o=t._s.get(r);if(!o)return tt(`store "${r}" not found`,"error");const{path:i}=s;if(i[0]!=="state")return tt(`Invalid path for store "${r}":
|
|
${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;function L(k){let T;c=d=!1,m=[],typeof k=="function"?(k(s.state.value[e]),T={type:Kt.patchFunction,storeId:e,events:m}):(Pa(s.state.value[e],k),T={type:Kt.patchObject,payload:k,storeId:e,events:m});const E=B=Symbol();$r().then(()=>{B===E&&(c=!0)}),d=!0,As(u,T,s.state.value[e])}const I=o?function(){const{state:T}=n,E=T?T():{};this.$patch(se=>{Tt(se,E)})}:()=>{throw new Error(`\u{1F34D}: Store "${e}" is built using the setup syntax and does not implement $reset().`)};function D(){i.stop(),u=[],f=[],s._s.delete(e)}const W=(k,T="")=>{if(Xc in k)return k[zi]=T,k;const E=function(){Yr(s);const se=Array.from(arguments),xe=[],$e=[];function Ce(Fe){xe.push(Fe)}function ae(Fe){$e.push(Fe)}As(f,{args:se,name:E[zi],store:w,after:Ce,onError:ae});let oe;try{oe=k.apply(this&&this.$id===e?this:w,se)}catch(Fe){throw As($e,Fe),Fe}return oe instanceof Promise?oe.then(Fe=>(As(xe,Fe),Fe)).catch(Fe=>(As($e,Fe),Promise.reject(Fe))):(As(xe,oe),oe)};return E[Xc]=!0,E[zi]=T,E},O=Gn({actions:{},getters:{},state:[],hotState:b}),V={_p:s,$id:e,$onAction:Qc.bind(null,f),$patch:L,$reset:I,$subscribe(k,T={}){const E=Qc(u,k,T.detached,()=>se()),se=i.run(()=>yn(()=>s.state.value[e],xe=>{(T.flush==="sync"?d:c)&&k({storeId:e,type:Kt.direct,events:m},xe)},Tt({},l,T)));return E},$dispose:D},w=en(Tt({_hmrPayload:O,_customProperties:Gn(new Set)},V));s._s.set(e,w);const N=(s._a&&s._a.runWithContext||I7)(()=>s._e.run(()=>(i=$u()).run(()=>t({action:W}))));for(const k in N){const T=N[k];if(Ye(T)&&!eu(T)||gn(T))r?ho(b.value,k,Di(N,k)):o||(_&&L7(T)&&(Ye(T)?T.value=_[k]:Pa(T,_[k])),s.state.value[e][k]=T),O.state.push(k);else if(typeof T=="function"){const E=r?T:W(T,k);N[k]=E,O.actions[k]=T,a.actions[k]=T}else eu(T)&&(O.getters[k]=o?n.getters[k]:T,Ws&&(N._getters||(N._getters=Gn([]))).push(k))}if(Tt(w,N),Tt(re(w),N),Object.defineProperty(w,"$state",{get:()=>r?b.value:s.state.value[e],set:k=>{if(r)throw new Error("cannot set hotState");L(T=>{Tt(T,k)})}}),w._hotUpdate=Gn(k=>{w._hotUpdating=!0,k._hmrPayload.state.forEach(T=>{if(T in w.$state){const E=k.$state[T],se=w.$state[T];typeof E=="object"&&xs(E)&&xs(se)?r1(E,se):k.$state[T]=se}ho(w,T,Di(k.$state,T))}),Object.keys(w.$state).forEach(T=>{T in k.$state||Wi(w,T)}),c=!1,d=!1,s.state.value[e]=Di(k._hmrPayload,"hotState"),d=!0,$r().then(()=>{c=!0});for(const T in k._hmrPayload.actions){const E=k[T];ho(w,T,W(E,T))}for(const T in k._hmrPayload.getters){const E=k._hmrPayload.getters[T],se=o?Ue(()=>(Yr(s),E.call(w,w))):E;ho(w,T,se)}Object.keys(w._hmrPayload.getters).forEach(T=>{T in k._hmrPayload.getters||Wi(w,T)}),Object.keys(w._hmrPayload.actions).forEach(T=>{T in k._hmrPayload.actions||Wi(w,T)}),w._hmrPayload=k._hmrPayload,w._getters=k._getters,w._hotUpdating=!1}),Ws){const k={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(T=>{Object.defineProperty(w,T,Tt({value:w[T]},k))})}return s._p.forEach(k=>{if(Ws){const T=i.run(()=>k({store:w,app:s._a,pinia:s,options:a}));Object.keys(T||{}).forEach(E=>w._customProperties.add(E)),Tt(w,T)}else Tt(w,i.run(()=>k({store:w,app:s._a,pinia:s,options:a})))}),w.$state&&typeof w.$state=="object"&&typeof w.$state.constructor=="function"&&!w.$state.constructor.toString().includes("[native code]")&&console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
|
|
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:!1}},setup(e){return(t,n)=>{const s=dt("popups-container");return A(),Ze(s,{transparent:!0,title:e.title,type:2,full:e.full},{default:it(()=>[Pe(i8,{src:e.src},null,8,["src"])]),_:1},8,["title","full"])}}});var l8=ve(a8,[]);const xi=e=>(ts("data-v-47ae05d9"),e=e(),ns(),e),c8={key:0,class:"locking"},u8={key:0,class:"loading icon"},d8=xi(()=>g("svg",{t:"1631799919469",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},[g("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"})],-1)),f8=[d8],h8=xi(()=>g("div",{class:"success icon"},[g("svg",{t:"1632451272305",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[g("path",{d:"M1001.305115 275.874141 431.461709 845.718571c-28.221762 28.221762-73.977875 28.221762-102.20066 0L22.661116 539.116591c-28.222785-28.221762-28.222785-73.979922 0-102.20066 28.221762-28.221762 73.977875-28.221762 102.20066 0l255.500115 255.502162 518.743588-518.743588c28.221762-28.221762 73.977875-28.221762 102.199637 0C1029.5279 201.89422 1029.5279 247.65238 1001.305115 275.874141z","p-id":"2205"})])],-1)),p8=xi(()=>g("div",{class:"error icon"},[g("svg",{t:"1632451325789",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2204",width:"128",height:"128"},[g("path",{d:"M823.04 840.32 524.16 540.16l296.32-294.4c12.8-12.8 12.8-33.28 0-45.44-12.8-12.8-33.28-12.8-46.08 0L478.08 494.08 184.96 200.32c-12.8-12.8-33.28-12.8-45.44 0s-12.8 33.28 0 45.44l292.48 293.76-302.72 300.8c-12.8 12.8-12.8 33.28 0 45.44 12.8 12.8 33.28 12.8 46.08 0l302.72-300.16 299.52 300.16c12.8 12.8 33.28 12.8 45.44 0C835.2 873.6 835.2 853.12 823.04 840.32z","p-id":"2205"})])],-1)),m8=xi(()=>g("div",{class:"warning icon"},[g("svg",{t:"1632451401172",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1638",width:"128",height:"128"},[g("path",{d:"M512 1021.45211835a60.32985613 60.32985613 0 1 1 60.32985613-60.32985611 60.32985613 60.32985613 0 0 1-60.32985613 60.32985611z m86.85823451-924.97400238L572.32985613 719.80283775a60.32985613 60.32985613 0 0 1-120.65971226 0l-26.52837838-623.32472178c-0.16758294-2.22885301-0.28489098-4.49122263-0.284891-6.78710881a87.14312551 87.14312551 0 0 1 174.28625102 0c0 2.2958862-0.11730806 4.5582558-0.284891 6.78710881z","p-id":"1639"})])],-1)),g8=Ve({__name:"app",props:{type:String,message:String,Close:Function,locking:Boolean},setup(e){const t=e,n=Ke(!1);er(()=>{n.value=!0});const s=()=>{(t==null?void 0:t.type)!="loading"&&(n.value=!1,t.Close&&t.Close())};return(r,o)=>(A(),z(Ee,null,[e.locking?(A(),z("div",c8)):ge("v-if",!0),n.value?(A(),z("div",{key:1,class:"toast",onClick:o[0]||(o[0]=i=>s())},[ge(" \u52A0\u8F7D\u4E2D "),e.type=="loading"?(A(),z("div",u8,[...f8])):e.type=="success"?(A(),z(Ee,{key:1},[ge(" \u6210\u529F "),h8],2112)):e.type=="error"?(A(),z(Ee,{key:2},[ge(" \u9519\u8BEF "),p8],2112)):e.type=="warning"?(A(),z(Ee,{key:3},[ge(" \u8B66\u544A "),m8],2112)):ge("v-if",!0),g("div",{class:"message",onClick:tr(()=>{},["stop"])},We(e.message),1)])):ge("v-if",!0)],64))}});var _8=ve(g8,[["__scopeId","data-v-47ae05d9"]]);const xr=new Map,Cs=e=>{const t=rl(_8,Ul($t({},e),{Close:()=>{s()}})),n=document.createElement("div");document.body.append(n),t.mount(n);const s=()=>{n.remove(),t.unmount(),xr.get(t._uid)&&xr.delete(t._uid)};return e.type=="loading"&&xr.set(t._uid,{Close:s}),(e==null?void 0:e.duration)==0||((e==null?void 0:e.duration)>0?setTimeout(()=>{s()},e==null?void 0:e.duration):setTimeout(()=>{s()},3e3)),{Close:s}},Qe=e=>Cs(e);Qe.Loading=(e,t)=>Cs({type:"loading",message:e||"\u52A0\u8F7D\u4E2D...",duration:0,locking:t||!1});Qe.Success=e=>Cs({type:"success",message:e});Qe.Error=e=>Cs({type:"error",message:e});Qe.Warning=e=>Cs({type:"warning",message:e});Qe.Message=e=>Cs({message:e});Qe.Message=e=>Cs({message:e});Qe.Clear=()=>{xr.forEach((e,t)=>{e.Close(),xr.delete(t)})};const ss=e=>(ts("data-v-2abd6270"),e=e(),ns(),e),v8=ss(()=>g("div",{class:"action-container_header"},[g("span",{class:"title"},"\u52A8\u6001DDNS\u914D\u7F6E")],-1)),y8={class:"action-container_body"},w8=ss(()=>g("div",{style:{padding:"15px"}},null,-1)),b8=ss(()=>g("div",{class:"label-name"},[g("span",null,"\u4F9B\u5E94\u5546")],-1)),S8={class:"label-value"},k8={class:"label-flex"},T8={class:"label-radio"},E8={class:"label-radio"},x8={class:"label-radio"},O8={class:"label-name"},C8={key:0,href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E9%98%BF%E9%87%8C%E4%BA%91",target:"_blank"},P8={key:1,href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#dnspod",target:"_blank"},M8={key:2,href:"https://doc.linkease.com/zh/guide/istoreos/basic/domain.html#%E8%8A%B1%E7%94%9F%E5%A3%B3",target:"_blank"},D8=ss(()=>g("div",{class:"label-value"},null,-1)),$8=ss(()=>g("div",{class:"label-name"},[g("span",null,"\u57DF\u540D")],-1)),A8={class:"label-value"},F8=ss(()=>g("div",{class:"label-name"},[g("span",null,"\u7528\u6237\u540D")],-1)),I8={class:"label-value"},R8=ss(()=>g("div",{class:"label-name"},[g("span",null,"\u5BC6\u7801")],-1)),L8={class:"label-value"},N8={class:"action-container_footer"},j8=ss(()=>g("div",{class:"auto"},null,-1)),H8=["disabled"],Y8=["disabled"],U8=Ve({__name:"index",props:{setupe:{type:String,default:"ipv4"},callback:{type:Function}},setup(e){const t=e,n=tn(),s=()=>{n&&n.appContext.config.globalProperties.$close()},r=en({ipVersion:t.setupe,serviceName:"ali",domain:"",userName:"",password:""}),o=Ke(!1),i=()=>K(this,null,function*(){o.value=!0;const a=Qe.Loading("\u914D\u7F6E\u4E2D...");try{const l=yield ie.Guide.PostDdns.POST({ipVersion:r.ipVersion,serviceName:r.serviceName,domain:r.domain,userName:r.userName,password:r.password});if(l!=null&&l.data){const{error:c,scope:d,success:u}=l.data;if(c=="-100"&&d=="guide.ddns")throw"\u68C0\u6D4B\u5230\u4F60\u6709\u672A\u4FDD\u5B58\u7684\u914D\u7F6E\uFF0C\u53EF\u524D\u5F80\u9875\u9762\u53F3\u4E0A\u89D2\u70B9\u51FB\u67E5\u770B\uFF0C\u4FDD\u5B58\u5E76\u5E94\u7528\u6216\u8005\u6062\u590D\u914D\u7F6E\u540E\u7EE7\u7EED";if(c)throw c;if((u||0)==0){Qe.Success("\u914D\u7F6E\u6210\u529F"),t.callback&&t.callback(r),s();return}}}catch(l){Qe.Error(`${l}`)}finally{a.Close(),o.value=!1}});return(a,l)=>{const c=dt("app-action");return A(),Ze(c,null,{default:it(()=>[g("form",{class:"action-container form-container1",onSubmit:tr(i,["prevent"])},[v8,g("div",y8,[w8,b8,g("div",S8,[g("div",k8,[g("label",T8,[Ms(g("input",{type:"radio",value:"ali","onUpdate:modelValue":l[0]||(l[0]=d=>r.serviceName=d)},null,512),[[ko,r.serviceName,void 0,{trim:!0}]]),Rs("\u963F\u91CC\u4E91 ")]),g("label",E8,[Ms(g("input",{type:"radio",value:"dnspod","onUpdate:modelValue":l[1]||(l[1]=d=>r.serviceName=d)},null,512),[[ko,r.serviceName,void 0,{trim:!0}]]),Rs("Dnspod ")]),g("label",x8,[Ms(g("input",{type:"radio",value:"oray","onUpdate:modelValue":l[2]||(l[2]=d=>r.serviceName=d)},null,512),[[ko,r.serviceName,void 0,{trim:!0}]]),Rs("\u82B1\u751F\u58F3 ")])])]),g("div",O8,[g("p",null,[Rs(" \u4E3A\u62E5\u6709\u52A8\u6001IP\u7684\u4E3B\u673A\u914D\u7F6E\u4E00\u4E2A\u56FA\u5B9A\u7684\u53EF\u8BBF\u95EE\u57DF\u540D "),r.serviceName=="ali"?(A(),z("a",C8,"\u67E5\u770B\u6559\u7A0B")):ge("v-if",!0),r.serviceName=="dnspod"?(A(),z("a",P8,"\u67E5\u770B\u6559\u7A0B")):ge("v-if",!0),r.serviceName=="oray"?(A(),z("a",M8,"\u67E5\u770B\u6559\u7A0B")):ge("v-if",!0)])]),D8,$8,g("div",A8,[Ms(g("input",{type:"text",placeholder:"myhost.example.com",required:"","onUpdate:modelValue":l[3]||(l[3]=d=>r.domain=d)},null,512),[[Tr,r.domain,void 0,{trim:!0}]])]),F8,g("div",I8,[Ms(g("input",{type:"text",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u540D",required:"","onUpdate:modelValue":l[4]||(l[4]=d=>r.userName=d)},null,512),[[Tr,r.userName,void 0,{trim:!0}]])]),R8,g("div",L8,[Ms(g("input",{type:"password",placeholder:"\u8BF7\u8F93\u5165\u5BC6\u7801",required:"","onUpdate:modelValue":l[5]||(l[5]=d=>r.password=d)},null,512),[[Tr,r.password,void 0,{trim:!0}]])])]),g("div",N8,[j8,g("button",{class:"app-close",type:"button",onClick:l[6]||(l[6]=d=>s()),disabled:o.value}," \u5173\u95ED",8,H8),g("button",{class:"app-next",disabled:o.value},"\u4FDD\u5B58",8,Y8)])],32)]),_:1})}}});var V8=ve(U8,[["__scopeId","data-v-2abd6270"]]);const B8=g("div",{class:"action-container_header"},[g("span",{class:"title"},"DDNSTO\u914D\u7F6E")],-1),G8={class:"action-container_body setup-install message"},W8={class:"action-container_footer"},z8=g("div",{class:"auto"},null,-1),q8=["disabled"],K8=["disabled"],J8=Ve({__name:"install",props:{onSetup:{type:Function,required:!0}},setup(e){const t=e,n=en({ok:!1,name:"app-meta-ddnsto",message:"\u68C0\u6D4B\u4E2D...",clear:()=>{t.onSetup("close")},next:()=>K(this,null,function*(){(yield o())?t.onSetup("login"):Qe.Error("\u5B89\u88C5\u5931\u8D25")})}),s=Ke(!1),r=()=>K(this,null,function*(){s.value=!0;try{const i=yield ie.App.Check.POST({name:n.name});if(i!=null&&i.data){const{result:a,error:l}=i.data;if(l)throw l;a&&(a.status=="installed"&&t.onSetup("login"),a.status=="uninstalled"&&(n.message='\u9700\u8981\u5B89\u88C5DDNSTO\u63D2\u4EF6\uFF0C\u70B9\u51FB "\u5B89\u88C5" \u5F00\u59CB\u5B89\u88C5'))}}catch(i){n.message=`${i}`}finally{s.value=!1,n.ok=!0}}),o=()=>K(this,null,function*(){const i=n.name;try{yield ie.App.Install.POST({name:i})}catch(a){console.log(a)}return new Promise((a,l)=>K(this,null,function*(){let c=0;const d=setInterval(()=>K(this,null,function*(){if(c>10){clearInterval(d),l(!1);return}const u=yield ie.App.Check.POST({name:i});if(u!=null&&u.data){const{result:f}=u.data;if((f==null?void 0:f.status)=="installed"){clearInterval(d),a(!0);return}}c++}),3e3)}))});return r(),(i,a)=>(A(),z("form",{class:"action-container form-container1",onSubmit:a[1]||(a[1]=tr((...l)=>n.next&&n.next(...l),["prevent"]))},[B8,g("div",G8,We(n.message),1),g("div",W8,[z8,g("button",{class:"app-close",type:"button",onClick:a[0]||(a[0]=(...l)=>n.clear&&n.clear(...l)),disabled:s.value}," \u5173\u95ED",8,q8),n.ok?(A(),z("button",{key:0,class:"app-next",disabled:s.value},"\u5B89\u88C5",8,K8)):ge("v-if",!0)])],32))}});var Z8=ve(J8,[]);const Al=e=>(ts("data-v-74dbf502"),e=e(),ns(),e),Q8=Al(()=>g("div",{class:"action-container_header"},[g("span",{class:"title"},"DDNSTO\u767B\u5F55")],-1)),X8=Al(()=>g("div",{class:"action-container_body"},[g("iframe",{src:"https://www.kooldns.cn/bind/#/auth?send=1&source=openwrt&callback=*"})],-1)),e5=Al(()=>g("div",{class:"auto"},null,-1)),t5=Ve({__name:"login",props:{onSetup:{type:Function,required:!0},updateLoginConfig:{type:Function,required:!0}},setup(e){const t=e,n=()=>{t.onSetup("close")},s=()=>{t.onSetup("run")},r=o=>{if(o.data.auth=="ddnsto"){const{sign:i,token:a}=o.data;if(i&&a){removeEventListener("message",r),t.updateLoginConfig(i,a),s();return}}Qe.Error("\u8BA4\u8BC1\u5931\u8D25")};return er(()=>{window.addEventListener("message",r)}),zr(()=>{removeEventListener("message",r)}),(o,i)=>(A(),z("form",{class:"action-container form-container1",onSubmit:tr(()=>{},["prevent"])},[Q8,X8,g("div",{class:"action-container_footer"},[e5,g("button",{class:"app-close",type:"button",onClick:n}," \u5173\u95ED")])],32))}});var n5=ve(t5,[["__scopeId","data-v-74dbf502"]]);const s5=g("div",{class:"action-container_header"},[g("span",{class:"title"},"\u68C0\u67E5\u8FD0\u884C")],-1),r5={class:"action-container_body setup-install message"},o5=Ve({__name:"run",props:{onSetup:{type:Function,required:!0},token:{type:String,required:!0},updateLocalConfig:{type:Function,required:!0}},setup(e){const t=e,n=Ke("\u6B63\u5728\u68C0\u6D4B\u63D2\u4EF6\u662F\u5426\u5DF2\u542F\u52A8...");(()=>K(this,null,function*(){var l;try{const c=yield ie.Guide.Ddnsto.POST({token:t.token});c!=null&&c.data&&(c.data.error&&(n.value=c.data.error),(((l=c==null?void 0:c.data)==null?void 0:l.success)||0)==0&&o())}catch(c){n.value=c}}))();const r=Ke(),o=()=>K(this,null,function*(){if((yield i())===!0){a();return}r.value=setInterval(()=>K(this,null,function*(){(yield i())===!0&&(clearInterval(r.value),a())}),2e3)}),i=()=>K(this,null,function*(){return new Promise(l=>K(this,null,function*(){try{const c=yield ie.App.Check.POST({name:"ddnsto",checkRunning:!0});if(c!=null&&c.data){c.data.error&&(n.value=c.data.error);const d=c.data.result;if((d==null?void 0:d.status)=="running"){l(!0);return}}l(!1)}catch(c){n.value=c,l(!1)}}))}),a=()=>K(this,null,function*(){try{const l=yield ie.Guide.Ddnsto.Config.GET();if(l!=null&&l.data){const{success:c,error:d,result:u}=l.data;d&&(n.value=d),(c||0)==0&&u&&(t.updateLocalConfig(u.netAddr,u.deviceId),t.onSetup("bind"))}}catch(l){n.value=l}});return zr(()=>{r.value&&clearInterval(r.value)}),(l,c)=>(A(),z("form",{class:"action-container form-container1",onSubmit:tr(()=>{},["prevent"])},[s5,g("div",r5,We(n.value),1)],32))}});var i5=ve(o5,[]);const a5=e=>(ts("data-v-fdda6698"),e=e(),ns(),e),l5=a5(()=>g("div",{class:"action-container_header"},[g("span",{class:"title"},"DDNSTO\u57DF\u540D\u914D\u7F6E\u5411\u5BFC")],-1)),c5={class:"action-container_body"},u5=["src"],d5=Ve({__name:"bind",props:{onSetup:{type:Function,required:!0},config:{type:Object,required:!0}},setup(e){const t=e,n=Ue(()=>{const{domain:o,token:i,sign:a,routerId:l,netaddr:c}=t.config,d=encodeURIComponent(o),u=encodeURIComponent(c);return`https://www.kooldns.cn/bind/#/domain?domain=${d}&sign=${a}&token=${i}&routerId=${l}&netaddr=${u}`}),s=o=>{if(o.data){const{auth:i,url:a}=o.data;i==="ddnsto"&&a&&(r(a),removeEventListener("message",s))}},r=o=>K(this,null,function*(){try{const i=yield ie.Guide.Ddnsto.Address.POST({address:o});if(i!=null&&i.data){const{success:a,error:l}=i.data;if(l)throw l;(a||0)==0&&(Qe.Success("\u914D\u7F6E\u5B8C\u6210"),t.onSetup("close"))}}catch(i){Qe.Error(`${i}`)}});return er(()=>{window.addEventListener("message",s)}),zr(()=>{removeEventListener("message",s)}),(o,i)=>(A(),z("form",{class:"action-container form-container1",onSubmit:tr(()=>{},["prevent"])},[l5,g("div",c5,[g("iframe",{src:n.value},null,8,u5)])],32))}});var f5=ve(d5,[["__scopeId","data-v-fdda6698"]]);const h5=Ve({__name:"index",props:{domain:{type:String,required:!0},callback:{type:Function}},setup(e){const t=e,n=tn(),s=()=>{n&&n.appContext.config.globalProperties.$close()},r=en({sign:"",token:"",netAddr:"",routerId:"",domain:t.domain}),o=(c,d)=>{r.sign=c,r.token=d},i=(c,d)=>{r.netAddr=c,r.routerId=d},a=Ke("install"),l=c=>{switch(c){case"install":case"login":case"bind":case"run":a.value=c;break;case"close":s();break}};return(c,d)=>{const u=dt("app-action");return A(),Ze(u,null,{default:it(()=>[ge(" \u5B89\u88C5 "),a.value=="install"?(A(),Ze(Z8,{key:0,onSetup:l})):a.value=="login"?(A(),z(Ee,{key:1},[ge(" \u767B\u5F55 "),Pe(n5,{onSetup:l,updateLoginConfig:o})],2112)):a.value=="run"?(A(),z(Ee,{key:2},[ge(" \u5B89\u88C5\u6210\u529F "),Pe(i5,{onSetup:l,token:r.token,updateLocalConfig:i},null,8,["token"])],2112)):a.value=="bind"?(A(),Ze(f5,{key:3,onSetup:l,config:{token:r.token,sign:r.sign,domain:r.domain,netaddr:r.netAddr,routerId:r.routerId}},null,8,["config"])):ge("v-if",!0)]),_:1})}}});var p5=ve(h5,[["__scopeId","data-v-a9975c2a"]]);let m5=0;const Fl=(e,t)=>{const n=m5++,s=o1();if(s.addValue(n))return;const r=document.createElement("div");document.body.appendChild(r);const o=rl(e,t);o.use(N7),s.index=n,o.config.globalProperties.key=n,o.config.globalProperties.$close=()=>{i()};const i=()=>{o.unmount(),r.remove(),s.delValue(n)};return o.use(s8),o.mount(r),s.setValue(n,o),{Close:i}},su=e=>Fl(l8,e),fy=e=>Fl(V8,e),hy=e=>Fl(p5,e);function py(e,t,n={},s={tab:"all"}){const r=a1(e,t),o={installed:e.length,all:r.length,upgradable:e.filter(l=>l1(l,t)).length},i=g5(r);return{apps:b5(w5(y5(e,t,s.tab),s),n,s.sort),counts:o,tags:i}}function g5(e){const t=new Set;for(const n of e)for(const s of n.tags||[]){const r=String(s).trim();r&&t.add(r)}return Array.from(t).sort((n,s)=>ru(n).localeCompare(ru(s),"zh-CN"))}function my(e){return e===0?"downloads":e===1?"stars":e===2?"latest":"default"}function _5(e){return(typeof e.isInstall=="function"?e.isInstall():!1)?!1:Boolean(e.autoconf&&e.autoconf.length>0||e.uci)}function gy(e){return _5(e)?"quick-setup":"install-only"}function v5(e,t=""){return(Array.isArray(e)?e:Object.values(e||{})).filter(S5).map(s=>{const o=`${`${s.mount||""}`.replace(/\/+$/,"")}${t}`,i=k5(s.size);return{value:o,label:s.size?`${o}\uFF08${s.size}\uFF09`:o,sizeBytes:i}}).sort((s,r)=>r.sizeBytes-s.sizeBytes||s.value.localeCompare(r.value,"zh-CN"))}function y5(e,t,n){return n==="installed"?e:n==="upgradable"?e.filter(s=>l1(s,t)):n==="upload"||n==="backup"?[]:a1(e,t)}function a1(e,t){const n=new Set(t.map(s=>s.name));return[...t,...e.filter(s=>!n.has(s.name))]}function w5(e,t){const n=(t.keyword||"").trim().toLowerCase(),s=(t.tag||"").trim().toLowerCase();return e.filter(r=>s&&!(r.tags||[]).some(o=>String(o).toLowerCase()===s)?!1:n?[r.name,r.title,r.title_en,r.description,r.description_en,r.author,...r.tags||[]].filter(Boolean).some(o=>String(o).toLowerCase().includes(n)):!0)}function b5(e,t,n="default"){const s=[...e];return n==="default"||s.sort((r,o)=>n==="downloads"?qi(po(t,o.name,"downloadCount"),po(t,r.name,"downloadCount"))||mo(r,o):n==="stars"?qi(po(t,o.name,"starCount"),po(t,r.name,"starCount"))||mo(r,o):n==="latest"?qi(o.time,r.time)||mo(r,o):n==="name"?mo(r,o):0),s}function l1(e,t){if(typeof e.isUpdate=="function")return e.isUpdate();const n=t.find(s=>s.name===e.name);return n?n.version!==e.version||n.release!==e.release:!1}function po(e,t,n){var s;return((s=e[t])==null?void 0:s[n])||0}function qi(e,t){return(e||0)-(t||0)}function mo(e,t){return(e.title||e.name).localeCompare(t.title||t.name,"zh-CN")}function ru(e){return{service:"\u670D\u52A1",tool:"\u5DE5\u5177",nas:"NAS",docker:"Docker",ai:"AI",networking:"\u7EC4\u7F51",net:"\u7F51\u7EDC",multimedia:"\u591A\u5A92\u4F53",download:"\u4E0B\u8F7D",system:"\u7CFB\u7EDF",monitor:"\u76D1\u63A7"}[e.toLowerCase()]||e}function S5(e){const t=`${e.mount||""}`.replace(/\/+$/,"")||"/";if(new Set(["/","/rom","/overlay","/ext_overlay","/tmp","/boot"]).has(t)||t.startsWith("/rom/")||t.startsWith("/boot/"))return!1;const s=`${e.type||""}`.toLowerCase();return s==="squashfs"||s==="romfs"||s==="tmpfs"?!1:Boolean(e.mount)}function k5(e){if(!e)return 0;const t=e.trim().match(/^([\d.]+)\s*([kmgtp]?i?b)?$/i);if(!t)return 0;const n=Number(t[1]);if(!Number.isFinite(n))return 0;const s=(t[2]||"B").toUpperCase();return s.startsWith("P")?n*lr(1024,5):s.startsWith("T")?n*lr(1024,4):s.startsWith("G")?n*lr(1024,3):s.startsWith("M")?n*lr(1024,2):s.startsWith("K")?n*1024:n}const At=`${location.protocol}//${location.hostname}`,ou=new Map([["aria2",()=>{window.open("/ariang/","_blank")}],["transmission",()=>{const e=`${At}:9091/transmission/web/`;window.open(e,"_blank")}],["jellyfin",()=>{const e=`${At}:8096/web/index.html`;window.open(e,"_blank")}],["linkease",()=>{const e=`${At}:8897/web/index.html`;window.open(e,"_blank")}],["wxedge",()=>{const e=`${At}:18888`;window.open(e,"_blank")}],["kodexplorer",()=>{const e=`${At}:8081`;window.open(e,"_blank")}],["homeassistant",()=>{const e=`${At}:8123`;window.open(e,"_blank")}],["gowebdav",()=>{const e=`${At}:6086`;window.open(e,"_blank")}],["heimdall",()=>{const e=`${At}:8088`;window.open(e,"_blank")}],["alist",()=>{const e=`${At}:5244`;window.open(e,"_blank")}],["nastools",()=>{const e=`${At}:3003`;window.open(e,"_blank")}],["qbittorrent",()=>{const e=`${At}:8080`;window.open(e,"_blank")}]]),iu=e=>{if(!e)return[];try{const t=JSON.parse(e);if(Array.isArray(t))return t.map(n=>`${n}`.trim()).filter(Boolean)}catch(t){console.log(t)}return e.split(/\r?\n/).map(t=>t.trim()).filter(Boolean)},_y=or("app",{state:()=>({ok:!1,localApps:[],remoteApps:[],installAppList:{},removeAppList:{},tags:[],appsExpand:{},installPaths:[],installPathOptions:[],backupFeatures:[],backupPath:"",backupFiles:[]}),actions:{resetAppCache(){this.ok=!1,this.localApps=[],this.remoteApps=[],this.installAppList={},this.removeAppList={},this.appsExpand={}},getInstallPaths(){return K(this,null,function*(){var e;try{const t=yield ie.Store.blockDevices.GET(),n=v5(((e=t.data)==null?void 0:e.data)||{});this.installPathOptions=n,this.installPaths=n.map(s=>s.value)}catch(t){console.log(t),this.installPathOptions=[],this.installPaths=[]}return this.installPaths})},getBackupState(e){return K(this,null,function*(){var t,n;try{const[s,r]=yield Promise.all([ie.Store.backupFeatures.GET().catch(()=>null),ie.Store.localBackupPath.GET().catch(()=>null)]);this.backupFeatures=iu((t=s==null?void 0:s.data)==null?void 0:t.msg),this.backupPath=e||((n=r==null?void 0:r.data)==null?void 0:n.msg)||this.backupPath,this.backupPath&&(yield this.getBackupFiles(this.backupPath))}catch(s){console.log(s)}return{features:this.backupFeatures,path:this.backupPath,files:this.backupFiles}})},getBackupFiles(e){return K(this,null,function*(){var n;if(this.backupPath=e,!e)return this.backupFiles=[],this.backupFiles;const t=yield ie.Store.backupFiles.GET(e);return this.backupFiles=iu((n=t.data)==null?void 0:n.msg),this.backupFiles})},runBackupAction(e,t){return K(this,null,function*(){if(!t)throw"\u8BF7\u9009\u62E9\u5907\u4EFD\u8DEF\u5F84";const n=e==="backup"?yield ie.Store.localBackup.POST(t):yield ie.Store.localRestore.POST(t),s=n==null?void 0:n.data;if(!s)throw"\u8F6F\u4EF6\u4E2D\u5FC3\u6CA1\u6709\u8FD4\u56DE\u7ED3\u679C";if(s.stderr)throw s.stderr;if(s.code!==0)throw s.stderr||s.stdout||"\u5907\u4EFD\u6062\u590D\u4EFB\u52A1\u5931\u8D25";return yield this.getBackupState(e==="backup"?t:this.backupPath),s})},reloadApp(){return K(this,null,function*(){this.resetAppCache(),yield this.getApp()})},runStoreAction(s,r){return K(this,arguments,function*(e,t,n={}){let o;if(e==="install")o=yield ie.Store.install.POST(t,n.install);else if(e==="remove")o=yield ie.Store.remove.POST(t);else if(e==="upgrade")o=yield ie.Store.upgrade.POST(t);else if(e==="update")o=yield ie.Store.update.POST();else{if(!n.file)throw"\u8BF7\u9009\u62E9\u5B89\u88C5\u5305";const a=new FormData;a.append(n.file.name,n.file),o=yield ie.Store.upload.POST(a)}const i=o==null?void 0:o.data;if(!i)throw"\u8F6F\u4EF6\u4E2D\u5FC3\u6CA1\u6709\u8FD4\u56DE\u7ED3\u679C";if(i.stderr)throw i.stderr;if(i.code!==0)throw i.stderr||i.stdout||"\u8F6F\u4EF6\u4E2D\u5FC3\u4EFB\u52A1\u5931\u8D25";return e!=="update"&&!n.deferReload&&(yield this.reloadApp()),i})},getStoreTaskStatus(e="istore"){return K(this,null,function*(){return(yield ie.Taskd.status.GET(e)).data})},getStoreTaskLog(e="istore"){return K(this,null,function*(){return ie.Taskd.log.GET(e,0)})},getApp(){return K(this,null,function*(){if(!this.ok){try{yield Promise.all([this.getLocalApp(),this.getRemoteApp(),this.getAppTags()])}catch(e){console.log(e)}finally{this.ok=!0}this.getAppData()}})},getAppTags(){return K(this,null,function*(){var t;const e=yield ie.ApiStore.tags.GET();(t=e.data.result)!=null&&t.tags&&(this.tags=e.data.result.tags)})},getLocalApp(){return K(this,null,function*(){var e,t;try{let n;const s=yield ie.System.Version.GET(),r=((e=s.data.result)==null?void 0:e.quickstart)&&((t=s.data.result)==null?void 0:t.quickstart.split("."));if(r&&Number(r[0])===0&&Number(r[1])<7&&Number(r[2])<21?n=yield ie.Store.installed.GET():n=yield ie.Store.installedList.GET(),n&&n.data){const o=n.data||[];for(let i=0;i<o.length;i++)this.installAppList[o[i].name]=o[i],o[i].getFormatDate=()=>Oe.formatDate(o[i].time*1e3)||"",o[i].getIcon=()=>`/luci-static/resources/app-icons/${o[i].name}.png`,o[i].openApp=()=>{su({title:o[i].name,src:o[i].entry})},o[i].isInstall=()=>!0,o[i].uninstall=()=>K(this,null,function*(){const a=o[i].name;if(confirm(`are you sure you want to uninstall ${a}?`))try{yield this.runStoreAction("remove",o[i].name)}catch(c){Qe.Error(`${c}`)}}),o[i].update=()=>K(this,null,function*(){const a=o[i].name;try{yield this.runStoreAction("upgrade",a)}catch(l){Qe.Error(`${l}`)}}),o[i].isUpdate=()=>{if(o[i].isInstall()){const a=this.removeAppList[o[i].name],l=this.installAppList[o[i].name];return(a==null?void 0:a.version)!=(l==null?void 0:l.version)}return!1},o[i].isWebUrl=()=>ou.has(o[i].name),o[i].openWebUrl=()=>{const a=ou.get(o[i].name);a&&a()};this.localApps=o}}catch(n){console.log(n)}})},getRemoteApp(){return K(this,null,function*(){try{const e=yield ie.ApiStore.list.GET();if(e.data){const{result:t}=e.data;if(t){const{apps:n}=t;for(let s=0;s<n.length;s++)n[s].getFormatDate=()=>Oe.formatDate(n[s].time*1e3)||"",n[s].getIcon=()=>ie.ApiStore.getStoreAppIcon(n[s].icon),n[s].openApp=()=>{su({title:n[s].name,src:n[s].entry})},n[s].isInstall=()=>!!this.installAppList[n[s].name],n[s].install=()=>K(this,null,function*(){try{yield this.runStoreAction("install",n[s].name)}catch(r){Qe.Error(`${r}`)}}),n[s].uninstall=()=>K(this,null,function*(){const r=n[s].name,o=n[s].title;if(confirm(`are you sure you want to uninstall ${o}?`))try{yield this.runStoreAction("remove",r)}catch(a){Qe.Error(`${a}`)}}),n[s].update=()=>K(this,null,function*(){const r=n[s].name;try{yield this.runStoreAction("upgrade",r)}catch(o){Qe.Error(`${o}`)}}),n[s].isUpdate=()=>{if(n[s].isInstall()){const r=this.removeAppList[n[s].name],o=this.installAppList[n[s].name];return(r==null?void 0:r.version)!=(o==null?void 0:o.version)}return!1},this.removeAppList[n[s].name]=n[s];this.remoteApps=n}}}catch(e){console.log(e)}})},getAppData(){return K(this,null,function*(){const e=[];for(const t in this.removeAppList)e.push(t);try{const t=yield ie.ApiStore.expand.POST({appsId:e,deviceId:Oe.getDeviceId()});if(t.data){const{result:n}=t.data;if(n){this.appsExpand=n;const s=[];for(const r of this.remoteApps)n[r.name]&&s.push($t($t({},n[r.name]),r)),this.remoteApps=s}}}catch(t){console.log(t)}})}}}),T5=s1,ir=or("system",{state:()=>({keys:Math.round(Math.random()*100),reloadCount:0,cpu:{usage:0,temperature:0},memery:{total:"",available:"",availablePercentage:0},network:{defaultInterface:"",internetConnected:!1,networkInfo:"",proto:"",ipv4addr:"",ipv6addr:"",gateway:"",dnsList:[],dnsProto:"",uptime:"",uptimeStamp:0,dnsReady:!1},device:{devices:[]},version:{kernelVersion:"",firmwareVersion:""},time:{uptime:0,uptimeHuman:"",localtime:""},updown:{up:0,download:0},disk:{count:-1,disks:[],rootDisks:[],mountedDisks:[],errorDisks:[]},raid:{disks:[]},capabilities:{wireless:!1},toips:[],localtime:0}),getters:{getAsyncNetworkProto(){return K(this,null,function*(){return new Promise((e,t)=>{if(this.network.proto&&this.network.proto!=""){e(this.network.proto);return}const n=setInterval(()=>{if(this.network.proto&&this.network.proto!=""){clearInterval(n),e(this.network.proto);return}},100)})})}},actions:{getSystemData(){return K(this,null,function*(){const e={cpu:{usage:0,temperature:0},memery:{total:"",available:"",availablePercentage:0}};try{const t=yield ie.System.CPU.Status.GET();if(t.data){const{success:n,error:s,scope:r,detail:o,result:i}=t.data;i&&i.usage!=null&&(e.cpu.usage=i.usage)}}catch(t){console.error(t)}try{const t=yield ie.System.CPU.Temperature.GET();if(t.data){const{success:n,error:s,scope:r,detail:o,result:i}=t.data;i&&i.temperature!=null&&(e.cpu.temperature=i.temperature)}}catch(t){console.error(t)}try{const t=yield ie.System.Memery.Status.GET();if(t.data){const{success:n,error:s,scope:r,detail:o,result:i}=t.data;if(i){const{available:a,availablePercentage:l,total:c}=i;a!=null&&(e.memery.available=a),l!=null&&(e.memery.availablePercentage=l),c!=null&&(e.memery.total=c)}}}catch(t){console.error(t)}return e})},getUpDown(){return K(this,null,function*(){try{let e=0,t=0,n=0,s=0;const r=yield Vc();r&&(e=r.up||0,t=r.down||0);const o=yield new Promise((l,c)=>{setTimeout(()=>{const d=Vc();l(d)},1e3)});o&&(n=o.up||0,s=o.down||0);const i=n-e,a=s-t;i>=0&&a>=0?(this.updown.up=i,this.updown.download=a):(this.updown.up=0,this.updown.download=0)}catch(e){}})},getDevice(){return K(this,null,function*(){ie.Network.Device.List.GET().then(e=>{if(e!=null&&e.data){const{result:t}=e==null?void 0:e.data;this.device.devices=(t==null?void 0:t.devices)||[]}})})},getNetwork(){return K(this,null,function*(){ie.Network.Status.GET().then(e=>{if(e!=null&&e.data){const{result:t}=e==null?void 0:e.data;t&&(this.network.internetConnected=t.internetConnected,this.network.defaultInterface=t.defaultInterface,this.network.networkInfo=t.networkInfo,this.network.proto=t.proto,this.network.ipv4addr=t.ipv4addr,this.network.ipv6addr=t.ipv6addr,this.network.gateway=t.gateway,this.network.dnsList=t.dnsList,this.network.dnsProto=t.dnsProto,this.network.uptime=t.uptime,this.network.uptimeStamp=t.uptimeStamp,this.network.dnsReady=t.dnsReady,this.network.internetConnected=t.internetConnected)}})})},getVersion(){return K(this,null,function*(){ie.System.Version.GET().then(e=>{const{result:t}=e.data;t&&(this.version.firmwareVersion=t.firmwareVersion||"",this.version.kernelVersion=t.kernelVersion||"")})})},getTime(){return K(this,null,function*(){ie.System.Time.GET().then(e=>{const{result:t}=e.data;t&&(this.time.localtime=t.localtime||"",this.time.uptime=t.uptime||0,this.time.uptimeHuman=t.uptimeHuman||"",this.localtime=Date.parse(this.time.localtime+" GMT +0"),setInterval(()=>{this.localtime+=1e3},1e3))})})},getDisks(){return K(this,null,function*(){try{const e=yield ie.Nas.Disk.Status.GET();if(e.data){const{result:t}=e.data,n=(t==null?void 0:t.disks)||[];this.disk.disks=n,this.disk.rootDisks=[],this.disk.errorDisks=[],this.disk.mountedDisks=[];const s=n.length,r=this.disk.count;r>=0&&s>0&&s>r&&this.addToips({info:"\u68C0\u6D4B\u5230\u65B0\u78C1\u76D8\u63D2\u5165",path:"/router/disk"}),this.disk.count=s,n.forEach(o=>{o.isSystemRoot?this.disk.rootDisks.push(o):o.errorInfo?this.disk.errorDisks.push(o):this.disk.mountedDisks.push(o)})}}catch(e){console.log(e)}})},getRaid(){return K(this,null,function*(){try{const e=yield ie.Raid.List.GET();if(e!=null&&e.data){const{error:t,result:n}=e.data;if(n&&(this.raid.disks=n.disks||[]),t)throw t}}catch(e){console.log(e)}})},getCapabilities(){return K(this,null,function*(){var e,t,n,s;try{const r=yield ie.Guide.Setup.GET(),o=(t=(e=r==null?void 0:r.data)==null?void 0:e.result)==null?void 0:t.wifi;if(typeof o=="boolean")return this.capabilities.wireless=o,this.capabilities;const i=yield ie.Wireless.List.GET(),a=((s=(n=i==null?void 0:i.data)==null?void 0:n.result)==null?void 0:s.ifaces)||[];this.capabilities.wireless=a.length>0}catch(r){console.log(r)}return this.capabilities})},initData(){return K(this,null,function*(){this.getCapabilities(),this.getDevice(),this.getNetwork(),this.getVersion(),this.getTime(),this.getUpDown(),this.getDisks(),this.getRaid(),setInterval(()=>{this.network.uptimeStamp&&this.network.uptimeStamp++,this.time.uptime&&this.time.uptime++},1e3)})},addToips(e){return K(this,null,function*(){const t=r=>{this.toips.forEach((o,i)=>{if(o.key==r){this.toips.splice(i,1);return}})},n=this.toips.length,s={key:n,info:e.info,path:e.path,f:()=>{e.f&&e.f(),t(n)}};this.toips.push(s),setTimeout(()=>{t(n)},5e3)})},reload(){return K(this,null,function*(){this.reloadCount++})},incr(){return K(this,null,function*(){this.keys++})}}});or("network",{state:()=>({status:{},statistics:{},deviceList:{}}),getters:{},actions:{updateNetworkStatus(e){this.status=e},requestNetworkStatistics(){return K(this,null,function*(){try{const e=yield ie.Network.Statistics.GET();e!=null&&e.data&&e.data.result&&(this.statistics=e.data.result)}catch(e){console.log(e)}})},requestDeviceList(){ie.Network.Device.List.GET().then(e=>{if(e!=null&&e.data){const{result:t}=e==null?void 0:e.data;t&&(this.deviceList=t)}})},incrTime(){this.status.uptimeStamp&&this.status.uptimeStamp++}}});const E5=or("system",{state:()=>({version:{},checkUpdate:null,systemStatus:{}}),getters:{},actions:{incrTime(){var e;(e=this.systemStatus)!=null&&e.uptime&&this.systemStatus.uptime++},requestVersion(){ie.System.Version.GET().then(e=>{var t;(t=e==null?void 0:e.data)!=null&&t.result&&(this.version=e.data.result)})},requestCheckUpdate(){ie.System.CheckUpdate.GET().then(e=>{var t;(t=e==null?void 0:e.data)!=null&&t.result&&(this.checkUpdate=e.data.result)})},updateSystemStatus(e){this.systemStatus=e}}});or("interfacer",{state:()=>({portitemStyle:{show:!1,left:0,top:0,portitem:{name:"",macAddress:"",linkSpeed:"",linkState:"",rx_packets:"",tx_packets:"",interfaceNames:[],master:"",duplex:""}}})});const go=[],x5=()=>K(void 0,null,function*(){go.length>0&&(go.forEach(t=>{clearInterval(t)}),go.splice(0,go.length));const e=ir();E5(),e.getDevice(),e.getCapabilities(),e.getNetwork(),e.getVersion(),e.getTime(),e.getUpDown(),e.getDisks(),e.getRaid()});/*!
|
|
* 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}else s(m);r.forEach(L=>{L(n.value,_,{delta:B,type:Ur.pop,direction:B?B>0?Cr.forward:Cr.back:Cr.unknown})})};function l(){i=n.value}function c(f){r.push(f);const m=()=>{const _=r.indexOf(f);_>-1&&r.splice(_,1)};return o.push(m),m}function d(){const{history:f}=window;!f.state||f.replaceState(Te({},f.state,{scroll:Oi()}),"")}function u(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:u}}function du(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Oi():null}}function tg(e){const{history:t,location:n}=window,s={value:m1(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:X5()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),r.value=c}catch(m){fe("Error with push/replace State",m),n[d?"replace":"assign"](f)}}function i(l,c){const d=Te({},t.state,du(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});o(l,d,!0),s.value=l}function a(l,c){const d=Te({},r.value,t.state,{forward:l,scroll:Oi()});t.state||fe(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
|
|
|
|
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 defined using a param with a custom regexp.
|
|
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 location"),Fa=Symbol("router view location");function pr(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Un(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(Zs(4,{from:n,to:t})):f instanceof Error?l(f):Xo(f)?l(Zs(2,{from:t,to:f})):(i&&s.enterCallbacks[r]===i&&typeof f=="function"&&i.push(f),a())},d=o(()=>e.call(s&&s.instances[r],t,n,xg(c,t,n)));let u=Promise.resolve(d);if(e.length<3&&(u=u.then(c)),e.length>2){const f=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
|
|
${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]*)$/;function x1(e,t){const n=t.matched.length&&es(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(s=>es(s,e.record))),e.children.forEach(s=>x1(s,t))}function O1(e){e.__vd_match=!1,e.children.forEach(O1)}function Ia(e,t){const n=String(e.re).match(Bg);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(i=>Ia(i,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const r=e.record.path.toLowerCase(),o=Js(r);return!t.startsWith("/")&&(o.includes(t)||r.includes(t))||o.startsWith(t)||r.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(i=>Ia(i,t))}function Gg(e,t){const n={};for(const s in e)t.includes(s)||(n[s]=e[s]);return n}function Wg(e){const t=pg(e.routes,e),n=e.parseQuery||kg,s=e.stringifyQuery||vu,r=e.history;if(!r)throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');const o=pr(),i=pr(),a=pr(),l=Th(Nn);let c=Nn;fn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ki.bind(null,y=>""+y),u=Ki.bind(null,H5),f=Ki.bind(null,Js);function m(y,U){let Y,Q;return _1(y)?(Y=t.getRecordMatcher(y),Y||fe(`Parent route "${String(y)}" not found when adding child route`,U),Q=U):Q=y,t.addRoute(Q,Y)}function _(y){const U=t.getRecordMatcher(y);U?t.removeRoute(U):fe(`Cannot remove non-existent route "${String(y)}"`)}function b(){return t.getRoutes().map(y=>y.record)}function B(y){return!!t.getRecordMatcher(y)}function L(y,U){if(U=Te({},U||l.value),typeof y=="string"){const h=Ji(n,y,U.path),p=t.resolve({path:h.path},U),v=r.createHref(h.fullPath);return v.startsWith("//")?fe(`Location "${y}" resolved to "${v}". A resolved location cannot start with multiple slashes.`):p.matched.length||fe(`No match found for location with path "${y}"`),Te(h,p,{params:f(p.params),hash:Js(h.hash),redirectedFrom:void 0,href:v})}if(!Xo(y))return fe(`router.resolve() was passed an invalid location. This will fail in production.
|
|
- 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:"",name:"PageRouterHome",redirect:"/router/index"},{path:"index",name:"PageRouterIndex",component:()=>Ie(()=>import("./chunk.8c3e8b04.js"),[])},{path:"network",name:"PageNetwork",component:()=>Ie(()=>import("./chunk.b8f510b1.js"),[]),children:[{path:"",name:"PageNetworkIndex",component:()=>Ie(()=>import("./chunk.834d14a5.js"),[])},{path:"pppoe",component:()=>Ie(()=>import("./chunk.bc26a9cf.js"),[])},{path:"dhcp",component:()=>Ie(()=>import("./chunk.38ed27cd.js"),[])},{path:"gateway",component:()=>Ie(()=>import("./chunk.ec358d08.js"),[])},{path:"intranet",component:()=>Ie(()=>import("./chunk.32940e8d.js"),[])},{path:"dns",component:()=>Ie(()=>import("./chunk.22ce9eb9.js"),[])}]},{path:"wireless",name:"PageWireless",beforeEnter(e,t,n){return K(this,null,function*(){if((yield ir().getCapabilities()).wireless){n();return}n("/router/index")})},component:()=>Ie(()=>import("./chunk.43b6cc91.js"),[]),children:[{path:"wirelessIndex",name:"PageWirelessIndex",component:()=>Ie(()=>import("./chunk.79084d43.js"),[])},{path:"visitor",component:()=>Ie(()=>import("./chunk.a904a705.js"),[])}]},{path:"setting",name:"PageSetting",redirect:"/router/index",children:[{path:"",redirect:"/router/index"},{path:"opkg",name:"SettingOpkg",redirect:"/router/istore/source"},{path:"sandbox",redirect:"/router/index"},{path:"remotely",redirect:"/router/ddns"}]},{path:"disk",name:"PageDisk",component:()=>Ie(()=>import("./chunk.35e51c75.js"),[]),children:[{path:"",name:"PageDiskIndex",component:()=>Ie(()=>import("./chunk.d9cbfa88.js"),["luci-static/istorerouter/chunk.d9cbfa88.js","luci-static/istorerouter/chunk.555488a0.js"])}]},{path:"istore",name:"PageIstore",component:()=>Ie(()=>import("./chunk.bf7d9ca8.js"),[]),children:[{path:"",name:"PageIstoreList",component:()=>Ie(()=>import("./chunk.1c430a75.js"),[])},{path:"installed",name:"PageIstoreInstalled",component:()=>Ie(()=>import("./chunk.1c430a75.js"),[])},{path:"upgradable",name:"PageIstoreUpgradable",component:()=>Ie(()=>import("./chunk.1c430a75.js"),[])},{path:"upload",name:"PageIstoreUpload",component:()=>Ie(()=>import("./chunk.1c430a75.js"),[])},{path:"backup",name:"PageIstoreBackup",component:()=>Ie(()=>import("./chunk.1c430a75.js"),[])},{path:"source",name:"PageIstoreSource",component:()=>Ie(()=>import("./chunk.0779cf20.js"),[])}]},{path:"device",component:()=>Ie(()=>import("./chunk.e13fda41.js"),[]),children:[{path:"list",component:()=>Ie(()=>import("./chunk.b945217b.js"),[])},{path:"interface",component:()=>Ie(()=>import("./chunk.f5c13beb.js"),[])}]},{name:"DDNSPage",path:"ddns",component:()=>Ie(()=>import("./chunk.4f7de52c.js"),[])},{path:":pathMatch(.*)*",name:"notfound",redirect:"/router/index"}]};const t_={Home:"PageRouterHome"},n_={Home:"/router/index"},s_=e=>({name:t_.Home}),r_=e=>n_.Home,C1=Wg({history:window.path_base?g1(window.path_base):ng(),routes:[{path:"/",name:"PageIndex",component:Zg,beforeEnter(e,t,n){return K(this,null,function*(){Oe.getModel(),n(s_())})}},e_,{path:"/:pathMatch(.*)*",name:"notfound",redirect:e=>(console.log("redirec:",e),Oe.getModel(),r_())}]});const o_={},i_={t:"1655777339433",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2673",width:"128",height:"128"},a_=g("path",{d:"M59.733333 614.4h930.133334a8.533333 8.533333 0 0 1 8.533333 8.533333v238.933334a8.533333 8.533333 0 0 1-8.533333 8.533333H59.733333a8.533333 8.533333 0 0 1-8.533333-8.533333V622.933333a8.533333 8.533333 0 0 1 8.533333-8.533333z",fill:"#96CAFF","p-id":"2674"},null,-1),l_=g("path",{d:"M76.8 588.8l176.128-377.941333A76.8 76.8 0 0 1 315.050667 179.2H759.466667a76.8 76.8 0 0 1 62.122666 31.658667L996.266667 588.8",fill:"#B3D9FF","p-id":"2675"},null,-1),c_=g("path",{d:"M742.4 204.8l175.274667 362.752h57.941333L805.290667 204.8H742.4z",fill:"#96CAFF","p-id":"2676"},null,-1),u_=g("path",{d:"M51.2 588.8a25.6 25.6 0 0 0-25.6 25.6v204.8a25.6 25.6 0 0 0 25.6 25.6h921.6a25.6 25.6 0 0 0 25.6-25.6V614.4a25.6 25.6 0 0 0-25.6-25.6z m0-25.6h921.6a51.2 51.2 0 0 1 51.2 51.2v204.8a51.2 51.2 0 0 1-51.2 51.2H51.2a51.2 51.2 0 0 1-51.2-51.2V614.4a51.2 51.2 0 0 1 51.2-51.2z",fill:"#175AA7","p-id":"2677"},null,-1),d_=g("path",{d:"M204.8 221.866667l-23.210667-10.837334 20.736 15.018667 1.365334-1.792z m616.533333 4.266666l20.736-15.018666L818.432 221.866667l1.194667 2.474666zM243.370667 204.8h536.149333A51.2 51.2 0 0 1 819.2 224.085333L988.501333 588.8h28.245334L841.642667 210.858667A76.8 76.8 0 0 0 779.52 179.2H243.370667a76.8 76.8 0 0 0-62.122667 31.658667L5.12 588.8h28.245333l169.898667-364.714667a51.2 51.2 0 0 1 40.106667-19.285333z m577.536 21.077333l20.736-15.018666L818.432 221.866667l1.194667 2.474666z m-619.008 0l-20.736-15.018666L204.8 221.866667l-1.109333 2.474666zM988.501333 588.8h28.245334L841.642667 210.858667A76.8 76.8 0 0 0 779.52 179.2H243.370667a76.8 76.8 0 0 0-62.122667 31.658667L5.12 588.8h28.245333l169.898667-364.714667a51.2 51.2 0 0 1 40.106667-19.285333h536.149333A51.2 51.2 0 0 1 819.2 224.085333zM883.2 768a38.4 38.4 0 1 0-38.4-38.4 38.4 38.4 0 0 0 38.4 38.4z m0 25.6a64 64 0 1 1 64-64 64 64 0 0 1-64 64z",fill:"#175AA7","p-id":"2678"},null,-1),f_=g("path",{d:"M512 492.458667c125.696 0 200.789333-67.413333 174.165333-129.877334C666.794667 316.672 592.725333 281.6 512 281.6s-154.538667 35.072-174.165333 80.981333C311.552 425.045333 386.56 492.458667 512 492.458667z m-197.376-139.946667C339.712 293.717333 425.898667 256 512 256s172.885333 37.717333 197.973333 96.512c33.621333 78.848-49.493333 165.546667-197.717333 165.546667s-231.253333-86.698667-197.632-165.546667zM842.922667 479.829333c-13.226667 0-20.309333 11.52-15.616 26.112a40.533333 40.533333 0 0 0 34.133333 27.818667c14.165333 0 20.821333-12.714667 15.018667-27.818667a40.618667 40.618667 0 0 0-34.133334-26.112M155.648 505.941333c-5.717333 15.189333 0.853333 27.818667 15.018667 27.818667a40.533333 40.533333 0 0 0 34.56-27.818667c4.693333-14.677333-2.389333-26.112-15.616-26.112a40.618667 40.618667 0 0 0-33.962667 26.112zM264.533333 260.608c-3.157333 8.533333 2.645333 15.104 13.056 15.104a25.6 25.6 0 0 0 23.722667-15.104c2.56-8.106667-3.413333-14.421333-13.312-14.421333A26.026667 26.026667 0 0 0 264.533333 260.608zM754.688 275.797333c10.410667 0 16.213333-6.912 13.056-15.104a26.026667 26.026667 0 0 0-23.381333-14.421333c-9.898667 0-15.872 6.4-13.312 14.421333a25.6 25.6 0 0 0 23.722666 15.104",fill:"#175AA7","p-id":"2679"},null,-1),h_=[a_,l_,c_,u_,d_,f_];function p_(e,t){return A(),z("svg",i_,[...h_])}var m_=ve(o_,[["render",p_]]);const g_={},__={t:"1657017066197",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7436",width:"128",height:"128"},v_=g("path",{d:"M25.6 54.84032v152.79104h967.68V54.84032H25.6z m0 534.76864h967.68V436.81792H25.6v152.79104z m0 381.98272h967.68v-152.79104H25.6v152.79104z","p-id":"7437"},null,-1),y_=[v_];function w_(e,t){return A(),z("svg",__,[...y_])}var b_=ve(g_,[["render",w_]]);const S_={key:0,t:"1657180381358",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3686",width:"128",height:"128"},k_=g("path",{d:"M512 958.016C266.08 958.016 65.984 757.952 65.984 512 65.984 266.08 266.08 65.984 512 65.984c245.952 0 446.016 200.064 446.016 446.016C958.016 757.952 757.952 958.016 512 958.016zM512 129.984C301.344 129.984 129.984 301.344 129.984 512c0 210.624 171.36 382.016 382.016 382.016 210.624 0 382.016-171.36 382.016-382.016C894.016 301.344 722.624 129.984 512 129.984z","p-id":"3687"},null,-1),T_=g("path",{d:"M512 304m-48 0a1.5 1.5 0 1 0 96 0 1.5 1.5 0 1 0-96 0Z","p-id":"3688"},null,-1),E_=g("path",{d:"M512 768c-17.664 0-32-14.304-32-32l0-288c0-17.664 14.336-32 32-32s32 14.336 32 32l0 288C544 753.696 529.664 768 512 768z","p-id":"3689"},null,-1),x_=[k_,T_,E_],O_={key:1,t:"1657180370515",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3532",width:"128",height:"128"},C_=g("path",{d:"M512 65.984C266.048 65.984 65.984 266.048 65.984 512S266.048 958.016 512 958.016 958.016 757.952 958.016 512 757.952 65.984 512 65.984zM544 736c0 17.696-14.304 32-32 32s-32-14.304-32-32l0-288c0-17.696 14.304-32 32-32s32 14.304 32 32L544 736zM512 352c-26.496 0-48-21.536-48-48C464 277.472 485.504 256 512 256s48 21.472 48 48C560 330.464 538.496 352 512 352z","p-id":"3533"},null,-1),P_=[C_],M_=Ve({__name:"info",props:{type:{type:Number,default:0}},setup(e){return(t,n)=>e.type==0?(A(),z("svg",S_,[...x_])):e.type==1?(A(),z("svg",O_,[...P_])):ge("v-if",!0)}});var D_=ve(M_,[]);const $_={},A_={width:"16px",height:"16px",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},F_=g("path",{d:"M14.9234958,14.5525054 L10.84453,10.4679606 C11.8849284,9.46327833 12.5294813,8.07823887 12.5294813,6.55073066 C12.5294813,3.48989918 9.94358337,1 6.76474066,1 C3.58589795,1 1,3.48989918 1,6.55073066 C1,9.61156213 3.58589795,12.1014613 6.76474066,12.1014613 C8.16008242,12.1014613 9.44067838,11.621191 10.438802,10.8242646 L14.5276502,14.9188536 C14.5814545,14.9730393 14.6533765,15 14.725573,15 C14.7942009,15 14.8625542,14.9754182 14.9158095,14.9262546 C15.025065,14.8250198 15.0283592,14.6577049 14.9234958,14.5525054 Z M6.76474066,11.5728203 C3.8886841,11.5728203 1.54902292,9.32001661 1.54902292,6.55073066 C1.54902292,3.7814447 3.8886841,1.52864101 6.76474066,1.52864101 C9.64079723,1.52864101 11.9804584,3.7814447 11.9804584,6.55073066 C11.9804584,9.32001661 9.64052272,11.5728203 6.76474066,11.5728203 Z",id:"Shape",stroke:"#FFFFFF","stroke-width":"1.3"},null,-1),I_=[F_];function R_(e,t){return A(),z("svg",A_,[...I_])}var L_=ve($_,[["render",R_]]);const N_={},j_={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},H_=g("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.81814832,10.9090654 L9.43153778,10.9090654 C9.70352269,10.9121048 9.93620458,10.7143252 9.97712277,10.4445109 L10.7297188,5.53628009 C10.7537339,5.3780602 10.7070546,5.2172762 10.602045,5.09651513 C10.4970353,4.97575406 10.3442908,4.9072007 10.1780925,4.90904784 L7.09084687,4.90904784 C6.78960329,4.90904784 6.54539711,4.66484166 6.54539711,4.36359808 L6.54539711,2.18179904 C6.54539711,1.69494967 6.22647822,1.2825878 5.78615711,1.14223013 L3.81814832,5.57024992 L3.81814832,10.9090654 Z M2.7272488,5.99994736 L1.63634928,5.99994736 C1.33510569,5.99994736 1.09089952,6.24415353 1.09089952,6.54539711 L1.09089952,10.3635454 C1.09089952,10.664789 1.33510569,10.9089952 1.63634928,10.9089952 L2.7272488,10.9089952 L2.7272488,5.99994736 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 -1.03028697e-13,11.2672762 -1.03028697e-13,10.3635454 L-1.03028697e-13,6.54539711 C-1.03028697e-13,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFFFFF","fill-rule":"nonzero"},null,-1),Y_=[H_];function U_(e,t){return A(),z("svg",j_,[...Y_])}var V_=ve(N_,[["render",U_]]);const B_={},G_={width:"12px",height:"12px",viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},W_=g("path",{d:"M10.171916,3.81818329 C10.6519813,3.81274681 11.1102149,4.01840688 11.4252438,4.38069009 C11.7402726,4.74297329 11.8803105,5.2253253 11.8081406,5.70080197 L11.0555552,10.608963 C10.9332063,11.4157454 10.2351606,12.0090843 9.42537185,12 L3.27269856,12 C2.97145497,12 2.7272488,11.7556885 2.7272488,11.454445 L2.7272488,5.4544976 C2.7272488,5.37817917 2.74326442,5.30271013 2.77426027,5.23296947 L4.95605931,0.323921631 C5.04360472,0.126944443 5.23894201,0 5.4544976,0 C6.65947193,0 7.63629663,0.976824702 7.63629663,2.18179904 L7.63629663,3.81815451 L10.171916,3.81818329 Z M3.27269856,11.9998947 L1.63634928,11.9998947 C0.732618527,11.9998947 0,11.2672762 0,10.3635454 L0,6.54539711 C0,5.64166636 0.732618527,4.90904784 1.63634928,4.90904784 L3.27269856,4.90904784 C3.57394214,4.90904784 3.81814832,5.15325401 3.81814832,5.4544976 L3.81814832,11.454445 C3.81814832,11.7556885 3.57394214,11.9998947 3.27269856,11.9998947 Z",id:"Shape",fill:"#FFE45A","fill-rule":"nonzero"},null,-1),z_=[W_];function q_(e,t){return A(),z("svg",G_,[...z_])}var K_=ve(B_,[["render",q_]]);const J_={},Z_={t:"1660284166208",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1616",width:"128",height:"128"},Q_=g("path",{d:"M347.008 574.378667a85.546667 85.546667 0 0 1 0-124.757334L632.490667 182.144a42.389333 42.389333 0 0 1 60.074666 2.069333c16.021333 17.237333 15.104 44.224-2.069333 60.309334L405.013333 512l285.482667 267.477333c17.173333 16.085333 18.090667 43.093333 2.069333 60.309334a42.389333 42.389333 0 0 1-60.074666 2.069333L347.008 574.378667z","p-id":"1617"},null,-1),X_=[Q_];function e9(e,t){return A(),z("svg",Z_,[...X_])}var t9=ve(J_,[["render",e9]]);const n9={},s9={t:"1660284150684",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1462",width:"128",height:"128"},r9=g("path",{d:"M676.992 449.621333a85.546667 85.546667 0 0 1 0 124.757334L391.509333 841.856a42.389333 42.389333 0 0 1-60.074666-2.069333 42.773333 42.773333 0 0 1 2.069333-60.309334L618.986667 512 333.504 244.522667a42.773333 42.773333 0 0 1-2.069333-60.309334 42.389333 42.389333 0 0 1 60.074666-2.069333l285.482667 267.477333z","p-id":"1463"},null,-1),o9=[r9];function i9(e,t){return A(),z("svg",s9,[...o9])}var a9=ve(n9,[["render",i9]]);const l9={},c9={t:"1660284192070",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1770",width:"128",height:"128"},u9=g("path",{d:"M449.621333 347.008a85.546667 85.546667 0 0 1 124.757334 0l267.477333 285.482667c16.085333 17.173333 15.146667 44.053333-2.069333 60.074666a42.773333 42.773333 0 0 1-60.309334-2.069333L512 405.013333 244.522667 690.496a42.773333 42.773333 0 0 1-60.309334 2.069333 42.389333 42.389333 0 0 1-2.069333-60.074666l267.477333-285.482667z","p-id":"1771"},null,-1),d9=[u9];function f9(e,t){return A(),z("svg",c9,[...d9])}var h9=ve(l9,[["render",f9]]);const p9={},m9={t:"1660284208062",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1924",width:"128",height:"128"},g9=g("path",{d:"M574.378667 676.992a85.546667 85.546667 0 0 1-124.757334 0L182.144 391.509333a42.389333 42.389333 0 0 1 2.069333-60.074666 42.773333 42.773333 0 0 1 60.309334 2.069333L512 618.986667l267.477333-285.482667a42.773333 42.773333 0 0 1 60.309334-2.069333c17.216 16 18.133333 42.901333 2.069333 60.074666L574.378667 676.992z","p-id":"1925"},null,-1),_9=[g9];function v9(e,t){return A(),z("svg",m9,[..._9])}var y9=ve(p9,[["render",v9]]);const w9={},b9={t:"1660287979761",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1495",width:"128",height:"128"},S9=g("path",{d:"M773.214133 167.117045c-4.330056 0.2048-5.441827 0.146286-9.713368 0.760685a74.693464 74.693464 0 0 0-54.008671 36.86399 72.762493 72.762493 0 0 0-6.436569 55.64707c2.662399 9.215997 7.197255 17.876109 13.253482 25.365935 2.720914 3.335313 3.510856 4.037485 6.524341 7.109484l3.627884 3.218285c16.091424 13.37051 30.954048 27.999078 44.295302 44.061244a327.504364 327.504364 0 0 1 67.057352 134.495048 327.094764 327.094764 0 0 1-37.858732 241.429873 330.839677 330.839677 0 0 1-63.107639 76.185579 336.457047 336.457047 0 0 1-80.45712 53.365013 335.930418 335.930418 0 0 1-100.995628 29.374163 341.928131 341.928131 0 0 1-119.807966-5.997713 336.310761 336.310761 0 0 1-114.24911-49.971185 334.321276 334.321276 0 0 1-92.803631-96.051173 324.403107 324.403107 0 0 1-47.396557-127.795163 326.304821 326.304821 0 0 1 106.144884-290.201517c4.59337-4.008227 9.215997-7.899426 13.750853-11.907654 3.013485-3.071999 3.803427-3.744913 6.495084-7.080227a72.206608 72.206608 0 0 0-4.944456-96.343744 75.395636 75.395636 0 0 0-93.622831-10.503311c-6.085484 3.891199-11.468797 8.718626-16.852109 13.429025a475.633236 475.633236 0 0 0-98.8306 119.281337 470.07438 470.07438 0 0 0-31.012563 409.83394 474.521464 474.521464 0 0 0 76.214835 128.058478 481.455405 481.455405 0 0 0 257.638327 160.387611 493.86043 493.86043 0 0 0 189.849546 8.338284c58.485012-8.835655 115.185339-28.37942 166.473095-57.431755a484.498147 484.498147 0 0 0 126.800421-103.599514 473.263408 473.263408 0 0 0 72.99655-113.312882 473.087865 473.087865 0 0 0 38.590161-256.906898c-6.787655-51.785128-22.323194-102.399971-45.816673-149.211386a475.925807 475.925807 0 0 0-110.88454-143.65253c-3.832685-3.335313-7.753141-6.64137-11.644339-9.918169-3.36457-2.633142-4.154513-3.393828-7.811655-5.705141a75.775978 75.775978 0 0 0-22.206165-9.450054 91.808888 91.808888 0 0 0-14.39451-2.106514c-1.6384 0-3.218285 0-4.856685-0.058514m-186.836061 418.084452c0 19.39748-7.840912 38.005018-21.767308 51.726614a74.898264 74.898264 0 0 1-52.516556 21.416222 74.810493 74.810493 0 0 1-52.516556-21.416222 72.616208 72.616208 0 0 1-21.767309-51.726614V73.143129c0-19.426737 7.840912-38.005018 21.767309-51.755871A74.781236 74.781236 0 0 1 512.094208 0.000293c19.690052 0 38.59016 7.694626 52.516556 21.386965 13.926396 13.750853 21.767308 32.329134 21.767308 51.785128v512.029111z","p-id":"1496"},null,-1),k9=[S9];function T9(e,t){return A(),z("svg",b9,[...k9])}var E9=ve(w9,[["render",T9]]);const x9={},O9={t:"1661742094849",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2478",width:"128",height:"128"},C9=g("path",{d:"M210.304 813.696a42.666667 42.666667 0 0 1 0-60.330667L753.365333 210.304a42.666667 42.666667 0 1 1 60.330667 60.330667L270.634667 813.696a42.666667 42.666667 0 0 1-60.330667 0z","p-id":"2479"},null,-1),P9=g("path",{d:"M210.304 210.304a42.666667 42.666667 0 0 1 60.330667 0l543.061333 543.061333a42.666667 42.666667 0 1 1-60.330667 60.330667L210.304 270.634667a42.666667 42.666667 0 0 1 0-60.330667z","p-id":"2480"},null,-1),M9=[C9,P9];function D9(e,t){return A(),z("svg",O9,[...M9])}var $9=ve(x9,[["render",D9]]);const A9={},F9=e=>(ts("data-v-ea9d0032"),e=e(),ns(),e),I9={t:"1631799919469",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3453",width:"128",height:"128"},R9=F9(()=>g("path",{d:"M522.695111 1.991111c-26.339556 0.170667-47.416889 21.475556-47.672889 48.753778-0.284444 26.453333-0.056889 52.963556-0.056889 79.445333 0 27.249778-0.369778 54.528 0.113778 81.777778 0.483556 27.050667 22.016 47.132444 49.351111 46.904889a47.786667 47.786667 0 0 0 47.729778-47.445333c0.284444-53.76 0.284444-107.52-0.028444-161.251556-0.170667-27.676444-21.902222-48.355556-49.436445-48.184889m-195.896889 88.092445c-8.334222-14.222222-21.646222-21.276444-38.314666-21.333334-35.128889 0-56.576 36.949333-38.968889 68.152889a11616.995556 11616.995556 0 0 0 78.961777 137.614222 44.942222 44.942222 0 0 0 61.838223 16.896c21.304889-12.202667 29.667556-38.968889 17.379555-60.871111-26.453333-47.104-53.560889-93.866667-80.896-140.458666m-228.693333 234.524444c44.316444 25.799111 88.746667 51.342222 133.176889 76.970667 6.712889 3.896889 13.681778 6.912 21.703111 6.428444 20.138667 0.142222 35.953778-11.946667 41.301333-31.573333 5.006222-18.261333-2.673778-36.721778-20.224-46.990222-44.629333-26.026667-89.372444-51.882667-134.115555-77.710223-22.528-12.999111-47.815111-7.025778-59.818667 13.909334-12.231111 21.248-4.977778 45.624889 17.948444 58.965333m34.161778 235.975111c26.396444 0 52.821333 0.199111 79.217778-0.085333 23.409778-0.256 39.139556-16.412444 38.798222-39.139556-0.341333-21.617778-16.924444-37.347556-39.594666-37.376-51.655111-0.056889-103.310222-0.056889-154.965334 0.028445-24.177778 0.056889-40.704 15.985778-40.561778 38.684444 0.142222 22.186667 16.583111 37.745778 40.192 37.859556 25.656889 0.142222 51.285333 0.028444 76.913778 0m151.722667 100.238222a34.247111 34.247111 0 0 0-46.876445-12.942222 13764.778667 13764.778667 0 0 0-139.008 80.583111c-11.093333 6.485333-16.327111 16.867556-16.497777 25.372444 0.085333 30.549333 27.249778 47.957333 50.403555 35.072 47.160889-26.197333 93.724444-53.475556 140.145778-80.924444 17.180444-10.154667 21.504-30.378667 11.832889-47.160889m91.875555 101.660444c-14.250667-4.067556-27.619556 1.422222-35.84 15.644445a24375.466667 24375.466667 0 0 0-77.312 134.485333c-10.012444 17.550222-5.859556 35.669333 9.784889 45.027556 16.014222 9.557333 34.247111 4.039111 44.714667-13.994667 25.543111-44.088889 50.915556-88.263111 76.373333-132.352 3.299556-5.745778 5.688889-11.690667 5.745778-14.933333 0-17.834667-9.272889-29.866667-23.466667-33.877334m147.456 44.288c-16.384 0.085333-27.306667 11.918222-27.448888 30.151111-0.142222 25.372444-0.028444 50.716444-0.028445 76.060445h-0.085333c0 26.112-0.113778 52.252444 0.056889 78.364444 0.113778 18.261333 11.064889 30.065778 27.448889 30.208 16.952889 0.142222 28.046222-11.832889 28.103111-30.748444 0.113778-51.086222 0.142222-102.172444 0.056889-153.258667 0-18.773333-11.207111-30.862222-28.103112-30.776889m177.208889-26.112c-7.509333-12.8-21.902222-16.014222-33.792-8.874666a23.722667 23.722667 0 0 0-8.533333 32.995555c26.282667 46.279111 52.906667 92.330667 79.644444 138.353778 4.494222 7.765333 11.633778 11.946667 20.906667 11.804444 18.545778-0.142222 30.520889-19.342222 21.219556-35.868444-26.026667-46.392889-52.650667-92.444444-79.473778-138.410667m239.957333-41.187555c-45.283556-26.254222-90.595556-52.48-135.964444-78.648889-4.693333-2.702222-9.728-4.323556-15.36-2.958222-9.102222 2.247111-14.933333 8.049778-16.497778 17.095111-1.877333 10.894222 3.84 18.204444 12.885333 23.438222 29.809778 17.180444 59.562667 34.417778 89.344 51.598222 15.217778 8.789333 30.236444 17.976889 45.738667 26.225778 14.677333 7.793778 31.061333-2.048 31.061333-18.033778-0.056889-8.448-4.096-14.592-11.207111-18.716444m48.867556-234.638222c-24.888889-0.085333-49.749333 0-74.609778 0v-0.085334c-25.258667 0-50.517333-0.056889-75.776 0.028445-13.425778 0.056889-20.963556 6.343111-21.162667 17.294222-0.199111 11.150222 7.082667 17.521778 20.679111 17.550222 50.488889 0.113778 100.977778 0.142222 151.495112 0.085333 13.368889 0 21.191111-6.485333 21.390222-17.152 0.227556-10.808889-8.106667-17.664-22.016-17.720888m-187.960889-127.146667c45.084444-26.026667 90.140444-52.110222 135.168-78.222222 4.864-2.844444 8.248889-6.855111 8.135111-12.942223-0.142222-11.036444-11.207111-17.436444-21.504-11.548444-45.511111 26.055111-90.851556 52.394667-136.135111 78.819556-7.68 4.494222-10.524444 11.52-5.575111 19.569777 4.835556 7.850667 12.088889 8.817778 19.911111 4.323556m-122.311111-115.114667c5.205333-0.256 8.220444-3.413333 10.609778-7.651555 4.920889-8.647111 10.040889-17.208889 14.990222-25.827556 20.48-35.555556 40.931556-71.025778 61.297778-106.609778 5.091556-8.874667 3.015111-16.668444-4.778667-18.517333-7.68-1.848889-10.894222 3.697778-14.051556 9.159111l-68.778666 119.495111c-2.844444 4.977778-6.030222 9.870222-8.305778 15.104-3.128889 7.196444 1.678222 14.648889 9.045333 14.848","p-id":"3454"},null,-1)),L9=[R9];function N9(e,t){return A(),z("svg",I9,[...L9])}var j9=ve(A9,[["render",N9],["__scopeId","data-v-ea9d0032"]]),H9={install(e){e.component("icon-disk",m_),e.component("icon-nav",b_),e.component("icon-info",D_),e.component("icon-search",L_),e.component("icon-star-off",K_),e.component("icon-star-on",V_),e.component("icon-left",t9),e.component("icon-right",a9),e.component("icon-top",h9),e.component("icon-bottom",y9),e.component("icon-outlogin",E9),e.component("icon-close",$9),e.component("icon-loading",j9)}};const Y9={class:"toips-container"},U9=["onClick"],V9={key:1},B9=Ve({__name:"index",setup(e){const t=ir(),n=Ue(()=>t.toips);return(s,r)=>{const o=dt("router-link");return A(),z("div",Y9,[(A(!0),z(Ee,null,Yo(n.value,i=>(A(),z("li",{class:"toips-item",onClick:a=>i.f()},[i.path?(A(),Ze(o,{key:0,to:i.path},{default:it(()=>[Rs(We(i.info),1)]),_:2},1032,["to"])):(A(),z("span",V9,We(i.info),1))],8,U9))),256))])}}});var G9=ve(B9,[["__scopeId","data-v-dc60c598"]]);const W9=Ve({__name:"main",setup(e){const t=ir();return(n,s)=>{const r=dt("layout-header"),o=dt("router-view");return A(),z("div",{id:"main",key:pt(t).reloadCount},[Pe(r),Pe(o,null,{default:it(i=>[(A(),Ze(Hd,null,{default:it(()=>[i&&i.Component?(A(),Ze(vd(i.Component),{key:i.route.path})):ge("v-if",!0)]),_:2},1024))]),_:1}),Pe(G9)])}}});var z9=ve(W9,[]);const q9={id:"page",class:"page-container"},K9={class:"page-flex"},J9={class:"page-sidebar"},Z9=["onClick"],Q9={class:"page-main"},X9=Ve({__name:"page",props:{menus:{type:Array,required:!0}},setup(e){return(t,n)=>{const s=dt("router-link");return A(),z("div",q9,[g("div",K9,[g("div",J9,[(A(!0),z(Ee,null,Yo(e.menus,r=>(A(),z(Ee,null,[r.path?(A(),Ze(s,{key:0,to:r.path},{default:it(()=>[g("span",null,We(r.title),1)]),_:2},1032,["to"])):ge("v-if",!0),r.fn?(A(),z("a",{key:1,onClick:r.fn},[g("span",null,We(r.title),1)],8,Z9)):ge("v-if",!0)],64))),256))]),g("div",Q9,[hs(t.$slots,"default")])])])}}});var ev=ve(X9,[]);const P1=window.HostName||"iStoreRouter",tv=(window==null?void 0:window.istoreRouterVer)||"";var Ra={HostName:P1};console.log("".concat(`%c OpenWrt-${P1}_iStoreRouter v${tv}`),"color: #fadfa3; background: #030307; padding:5px 0;");const nv=[{name:"\u8DEF\u7531\u72B6\u6001",path:"/router/index"},{name:"\u7F51\u7EDC\u914D\u7F6E",path:"/router/network"},{name:"\u65E0\u7EBF\u8BBE\u7F6E",path:"/router/wireless",requires:"wireless"},{name:"\u5B58\u50A8\u7BA1\u7406",path:"/router/disk"},{name:"\u5E94\u7528\u5546\u5E97",path:"/router/istore"},{name:"\u8FDC\u7A0B\u8BBF\u95EE",path:"/router/ddns"},{name:"\u9AD8\u7EA7\u914D\u7F6E",href:"/cgi-bin/luci/admin/quickstart/",external:!0},{name:"\u9000\u51FA",href:"/cgi-bin/luci/admin/logout",external:!1}],sv=e=>nv.filter(t=>t.requires?e[t.requires]:!0);const Pi=e=>(ts("data-v-03fbaefc"),e=e(),ns(),e),rv={class:"logo"},ov={class:"nav-box desktop-nav"},iv=["href","target","rel"],av={key:0,class:"nav-item ota-upgrade",target:"_blank",href:"/cgi-bin/luci/admin/system/ota"},lv=Pi(()=>g("span",null,"\u56FA\u4EF6\u66F4\u65B0",-1)),cv=Pi(()=>g("em",null,null,-1)),uv=[lv,cv],dv={key:0,class:"mobile-nav-layer"},fv={class:"mobile-nav-drawer"},hv={class:"mobile-nav-header"},pv={class:"mobile-nav-list"},mv=["href","target","rel"],gv=Pi(()=>g("span",null,"\u56FA\u4EF6\u66F4\u65B0",-1)),_v=Pi(()=>g("em",null,null,-1)),vv=[gv,_v],yv=Ve({__name:"nav",setup(e){const t=ir(),n=Ke(!1),s=Ke(!1),r=Ue(()=>sv(t.capabilities)),o=()=>{s.value=!1};return(()=>K(this,null,function*(){try{const a=yield ie.System.CheckUpdate.GET(),{result:l}=a.data;l&&(n.value=l.needUpdate)}catch(a){console.log(a)}}))(),(a,l)=>{const c=dt("router-link"),d=dt("icon-nav"),u=dt("icon-close");return A(),z("nav",null,[g("div",rv,We(pt(Ra).HostName),1),g("div",ov,[(A(!0),z(Ee,null,Yo(r.value,f=>(A(),z(Ee,null,[f.path?(A(),Ze(c,{class:"nav-item",to:f.path,key:f.path},{default:it(()=>[g("span",null,We(f.name),1)]),_:2},1032,["to"])):ge("v-if",!0),f.href?(A(),z("a",{class:"nav-item",href:f.href,target:f.external?"_blank":void 0,rel:f.external?"noopener noreferrer":void 0,key:f.href},[g("span",null,We(f.name),1)],8,iv)):ge("v-if",!0)],64))),256)),n.value?(A(),z("a",av,[...uv])):ge("v-if",!0)]),g("button",{class:"nav-toggle",type:"button",title:"\u6253\u5F00\u83DC\u5355",onClick:l[0]||(l[0]=f=>s.value=!0)},[Pe(d)]),(A(),Ze(L0,{to:"body"},[s.value?(A(),z("div",dv,[g("div",{class:"mobile-nav-backdrop",onClick:o}),g("aside",fv,[g("div",hv,[g("span",null,We(pt(Ra).HostName),1),g("button",{type:"button",title:"\u5173\u95ED\u83DC\u5355",onClick:o},[Pe(u)])]),g("div",pv,[(A(!0),z(Ee,null,Yo(r.value,f=>(A(),z(Ee,null,[f.path?(A(),Ze(c,{class:"mobile-nav-item",to:f.path,key:f.path,onClick:o},{default:it(()=>[g("span",null,We(f.name),1)]),_:2},1032,["to"])):ge("v-if",!0),f.href?(A(),z("a",{class:"mobile-nav-item",href:f.href,target:f.external?"_blank":void 0,rel:f.external?"noopener noreferrer":void 0,key:f.href,onClick:o},[g("span",null,We(f.name),1)],8,mv)):ge("v-if",!0)],64))),256)),n.value?(A(),z("a",{key:0,class:"mobile-nav-item ota-upgrade",target:"_blank",href:"/cgi-bin/luci/admin/system/ota",onClick:o},[...vv])):ge("v-if",!0)])])])):ge("v-if",!0)])),ge(` <a class="outlogin" href="/cgi-bin/luci/admin/logout" title="\u6CE8\u9500\u767B\u5F55">
|
|
<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.01289774h200.35206382v257.6896257H226.97315939z",fill:"#B4D1F2","p-id":"18931"}),g("path",{d:"M236.25578625 429.70252344l191.06246531-191.07640779v64.35791951L300.59976327 429.70252344z",fill:"#DEEFFF","p-id":"18932"}),g("path",{d:"M427.31825156 302.98403516L300.59976327 429.70252344h126.71848829z",fill:"#FFFFFF","p-id":"18933"}),g("path",{d:"M226.97315939 397.73793882h200.34509217v27.88622424H226.97315939z",fill:"#6E6E96","p-id":"18934"}),g("path",{d:"M229.07508402 216.7528585l47.87716085-57.25041835H362.81741532L230.36830723 301.32131867z",fill:"#FFFFFF","p-id":"18935"}),g("path",{d:"M404.10994128 159.50244015L233.14995816 330.45545163l-0.20217535 24.4597044 195.40923047-195.41271588z",fill:"#FFFFFF","p-id":"18936"}),g("path",{d:"M396.17631082 481.83930591H258.11858637c-30.33672637 0-45.08505286-14.75181272-45.08505286-45.09899616v-296.04712774c0-30.34021179 14.74832648-45.08853909 45.08505285-45.0885391H396.17631082c30.33672637 0 45.08505286 14.74832648 45.08505286 45.0885391v296.04712774c0 30.34718345-14.74832648 45.09899615-45.08505286 45.09899616zM258.11858637 123.49435339c-14.95050183 0-17.19882862 2.25181219-17.19882862 17.20231403v296.04712774c0 14.96095889 2.25181219 17.21277191 17.19882861 17.21277192H396.17631082c14.95050183 0 17.19882862-2.25181219 17.19882861-17.21277192v-296.04712774c0-14.95050183-2.25181219-17.20231485-17.19882861-17.20231403H258.11858637z",fill:"#6E6E96","p-id":"18937"}),g("path",{d:"M226.97315939 150.84725349h200.34509217v27.88622423H226.97315939z",fill:"#6E6E96","p-id":"18938"}),g("path",{d:"M185.52028714 757.89549622H149.7422615a13.94311212 13.94311212 0 0 1 0-27.88622425h35.77802564a13.94311212 13.94311212 0 0 1 0 27.88622425z",fill:"#6E6E96","p-id":"18939"}),g("path",{d:"M125.32787241 876.34920522v-292.89249892c0-21.09244317 10.49916357-23.86712246 23.33379831-23.86712164h378.63915215c12.83463473 0 23.33728372 2.78513635 23.33728373 23.86712164v292.89249892",fill:"#B9BCC9","p-id":"18940"}),g("path",{d:"M527.30430828 566.06964563H148.66515613c-12.83463473 0-23.33728372 2.77467929-23.33728372 23.86712246v19.04629093c0-21.09592859 10.50264898-23.87060788 23.33728371-23.87060788h378.63915216c12.83114933 0 23.34076996 2.78862259 23.34076997 23.87060788v-19.04629093c0-21.08198529-10.50962063-23.86712246-23.34076996-23.86712246z",fill:"#FFFFFF","p-id":"18941"}),g("path",{d:"M561.66710809 873.83595908h-27.88622424v-290.39319526c0-9.92401035-0.52983792-9.92401035-9.39765702-9.92401034H151.58972382c-9.39765784 0-9.39765784 0.56120993-9.39765784 9.92401034v290.39319526h-27.88622342v-290.39319526c0-25.08714458 12.545315-37.81023459 37.28388126-37.81023459H524.38322683c24.74205249 0 37.28388208 12.71960376 37.28388127 37.81023459v290.39319526z",fill:"#6E6E96","p-id":"18942"}),g("path",{d:"M559.90679016 867.71841892H393.74672363v15.99274978H276.45377896v-15.99274978H117.39772735a13.37144431 13.37144431 0 0 0-13.32961523 13.32264358v34.65211954h469.16829327v-34.64863412a13.36795889 13.36795889 0 0 0-13.32961523-13.326129z",fill:"#B9BCC9","p-id":"18943"}),g("path",{d:"M559.90679016 862.00522864H393.74672363v15.9962352H276.45377896v-15.9962352H117.39772735a13.36795889 13.36795889 0 0 0-13.32961523 13.32612983v20.953011a13.37144431 13.37144431 0 0 1 13.32961524-13.33310064h159.0560516v16.00669309h117.29294467v-16.00669309h166.15658111a13.37144431 13.37144431 0 0 1 13.326129 13.33310064v-20.953011a13.35053018 13.35053018 0 0 0-13.32264358-13.32612983z",fill:"#FFFFFF","p-id":"18944"}),g("path",{d:"M173.14577548 601.65595379h329.98814813v222.86670365H173.14577548z",fill:"#8CBDF2","p-id":"18945"}),g("path",{d:"M279.39228913 814.06183752l217.77049649-204.02607348v59.87172381l-144.43321235 144.15434967z",fill:"#DEEFFF","p-id":"18946"}),g("path",{d:"M497.16278562 669.90748785l-144.43321235 144.15434967h144.43321235z",fill:"#FFFFFF","p-id":"18947"}),g("path",{d:"M503.13392361 838.46576956H173.14577548a13.94311212 13.94311212 0 0 1-13.94311212-13.94311212v-222.86670365a13.94311212 13.94311212 0 0 1 13.94311212-13.94311212h329.98814813a13.94311212 13.94311212 0 0 1 13.94311213 13.94311212v222.86670365a13.94311212 13.94311212 0 0 1-13.94311213 13.94311212z m-316.045036-27.88622424h302.10192389v-194.9804794H187.0888876v194.9804794z",fill:"#6E6E96","p-id":"18948"}),g("path",{d:"M173.14577548 601.65595379h324.02049637v23.37562739H173.14577548zM104.07159753 899.06602042h469.17177952v16.63761867H104.07159753z",fill:"#6E6E96","p-id":"18949"}),g("path",{d:"M573.23640539 929.63977957H104.06811212a13.94311212 13.94311212 0 0 1-13.94311212-13.94311211v-34.65211955c0-15.03416079 12.23508115-27.26575571 27.27272736-27.2657557h159.0560516a13.94311212 13.94311212 0 0 1 13.94311212 13.94311212v2.04963767h89.40672044v-2.04963767a13.94311212 13.94311212 0 0 1 13.94311211-13.94311212h166.15658112c15.03764621 0 27.27272736 12.23508115 27.27272736 27.26924194v34.64863331c0.00348542 7.70008392-6.23954278 13.94311212-13.93962672 13.94311211z m-455.22518115-27.88622424h441.28206904v-20.0920243H407.68983575v2.04963767a13.94311212 13.94311212 0 0 1-13.94311212 13.94311212H276.45377896a13.94311212 13.94311212 0 0 1-13.94311212-13.94311212v-2.04963767H118.01122424v20.0920243z",fill:"#6E6E96","p-id":"18950"}),g("path",{d:"M699.94792285 373.26429193c-45.72992175-77.71193509-122.75515887-130.53541552-211.32180752-144.92470743l4.4722532-27.52370342c96.78262719 15.724345 180.93279419 73.42094228 230.88050766 158.30660879l-24.03095334 14.14180205zM138.3646825 505.03018664h-27.88622425c0-62.44422775 17.55437778-123.22573901 50.76687113-175.76338513l23.5743165 14.89821488c-30.39249875 48.0758508-46.45496338 103.7018963-46.45496338 160.86517025z",fill:"#6E6E96","p-id":"18951"})])],-1)),kv={class:"tool-item_name"},Tv=gt(()=>g("span",{class:"t"},null,-1)),Ev={class:"b"},xv={class:"tool-item_icon"},Ov={t:"1654871923674",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1414",width:"128",height:"128",style:{padding:"5px"}},Cv=gt(()=>g("path",{d:"M247.466667 76.8h25.6l51.2 307.2h-25.6L247.466667 76.8zM762.453333 76.8h25.6L742.4 385.706667h-25.6L762.453333 76.8z",fill:"#96CAFF","p-id":"1415"},null,-1)),Pv=gt(()=>g("path",{d:"M275.2 409.6H324.266667L256.938667 51.2H230.4zM230.4 25.6h26.538667a25.6 25.6 0 0 1 25.173333 20.906667l67.242667 358.4A25.6 25.6 0 0 1 324.266667 435.2h-49.066667a25.6 25.6 0 0 1-25.6-22.442667L204.8 54.357333A25.6 25.6 0 0 1 227.242667 25.6zM785.066667 51.2l-44.885334 358.4H691.2l67.242667-358.4z m0-25.6h-26.624a25.6 25.6 0 0 0-25.173334 20.906667l-67.157333 358.4A25.6 25.6 0 0 0 691.2 435.2h48.981333a25.6 25.6 0 0 0 25.6-22.442667l44.885334-358.4A25.6 25.6 0 0 0 788.138667 25.6z",fill:"#175AA7","p-id":"1416"},null,-1)),Mv=gt(()=>g("path",{d:"M59.733333 665.6h930.133334a8.533333 8.533333 0 0 1 8.533333 8.533333v162.133334a8.533333 8.533333 0 0 1-8.533333 8.533333H59.733333a8.533333 8.533333 0 0 1-8.533333-8.533333V674.133333a8.533333 8.533333 0 0 1 8.533333-8.533333z",fill:"#96CAFF","p-id":"1417"},null,-1)),Dv=gt(()=>g("path",{d:"M460.8 768h25.6v-25.6h-25.6z m-25.6-51.2h76.8v76.8h-76.8zM716.8 768h25.6v-25.6h-25.6z m-25.6-51.2h76.8v76.8h-76.8zM588.8 768h25.6v-25.6h-25.6z m-25.6-51.2h76.8v76.8h-76.8zM844.8 768h25.6v-25.6h-25.6z m-25.6-51.2h76.8v76.8h-76.8z",fill:"#175AA7","p-id":"1418"},null,-1)),$v=gt(()=>g("path",{d:"M153.6 844.8h68.693333l-25.6 76.8H179.2l-25.6-76.8z",fill:"#96CAFF","p-id":"1419"},null,-1)),Av=gt(()=>g("path",{d:"M203.434667 844.8h8.533333l12.629333 17.493333-2.730666 8.106667h-26.965334z m-74.069334 0h-8.533333l-12.629333 17.493333 2.730666 8.106667h26.965334z m17.066667 51.2h39.936l8.533333-25.6h-57.002666zM102.4 844.8h128l-25.6 76.8h-76.8z",fill:"#175AA7","p-id":"1420"},null,-1)),Fv=gt(()=>g("path",{d:"M844.8 844.8h68.693333l-25.6 76.8H870.4l-25.6-76.8z",fill:"#96CAFF","p-id":"1421"},null,-1)),Iv=gt(()=>g("path",{d:"M913.066667 870.4l2.730666-8.106667-12.629333-17.493333h-8.533333l-8.533334 25.6z m-92.501334-25.6h-8.533333l-12.629333 17.493333 2.730666 8.106667h26.965334z m17.066667 51.2h39.936l8.533333-25.6h-57.002666zM793.6 844.8h128l-25.6 76.8h-76.8zM204.8 768h25.6v25.6h-25.6zM281.6 768h25.6v25.6h-25.6zM128 768h25.6v25.6h-25.6zM358.4 768h25.6v25.6h-25.6zM204.8 716.8h25.6v25.6h-25.6zM281.6 716.8h25.6v25.6h-25.6zM128 716.8h25.6v25.6h-25.6zM358.4 716.8h25.6v25.6h-25.6z",fill:"#175AA7","p-id":"1422"},null,-1)),Rv=gt(()=>g("path",{d:"M69.12 640l176.128-249.941333A76.8 76.8 0 0 1 307.2 358.4h441.6A76.8 76.8 0 0 1 810.666667 390.058667L986.026667 640",fill:"#B3D9FF","p-id":"1423"},null,-1)),Lv=gt(()=>g("path",{d:"M742.4 358.4l187.050667 256.597333h57.941333L805.290667 358.4H742.4z",fill:"#96CAFF","p-id":"1424"},null,-1)),Nv=gt(()=>g("path",{d:"M51.2 640a25.6 25.6 0 0 0-25.6 25.6v153.6a25.6 25.6 0 0 0 25.6 25.6h921.6a25.6 25.6 0 0 0 25.6-25.6V665.6a25.6 25.6 0 0 0-25.6-25.6z m0-25.6h921.6a51.2 51.2 0 0 1 51.2 51.2v153.6a51.2 51.2 0 0 1-51.2 51.2H51.2a51.2 51.2 0 0 1-51.2-51.2V665.6a51.2 51.2 0 0 1 51.2-51.2z",fill:"#175AA7","p-id":"1425"},null,-1)),jv=gt(()=>g("path",{d:"M167.936 451.84L186.197333 426.666667l15.786667-21.674667A51.2 51.2 0 0 1 243.370667 384h536.149333a51.2 51.2 0 0 1 41.386667 21.077333L985.429333 640h31.232L841.642667 390.058667A76.8 76.8 0 0 0 779.52 358.4H243.370667a76.8 76.8 0 0 0-62.122667 31.658667l-34.133333 47.104L5.12 640h31.232z",fill:"#175AA7","p-id":"1426"},null,-1)),Hv=[Cv,Pv,Mv,Dv,$v,Av,Fv,Iv,Rv,Lv,Nv,jv],Yv={class:"tool-item_name"},Uv={class:"t"},Vv={key:0},Bv={key:1},Gv={key:2},Wv={key:4},zv={class:"b"},qv={class:"tool-item"},Kv=cp('<div class="tool-item_icon" data-v-0d7842c9><svg class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="128" height="128" data-v-0d7842c9><path d="M122 512a390 390 0 1 0 780 0 390 390 0 1 0-780 0z" fill="#37BBEF" data-v-0d7842c9></path><path d="M645.3 225.6c53.2 0 104.5 7.6 153.1 21.8C727.2 170.3 625.2 122 512 122c-215.4 0-390 174.6-390 390 0 27 2.7 53.3 8 78.8 74.6-212.7 277.1-365.2 515.3-365.2z" fill="#3ED6FF" data-v-0d7842c9></path><path d="M632.4 141c104.4 71.7 170.2 176.7 170.2 293.6 0 216.2-225.1 391.5-502.8 391.5-6.5 0-13.1-0.1-19.5-0.3C345.1 873.7 425.2 902 512 902c215.4 0 390-174.6 390-390 0-173.4-113.1-320.3-269.6-371z" fill="#3495C6" data-v-0d7842c9></path><path d="M638.5 523.6s-14.4-8.6-23.9-11.5c-9.6-2.9-4.8-17.2-4.8-17.2s5.7 8.6 22 11.5 43.1 6.7 50.7 16.3c7.7 9.6 8.6 15.3 12.4 19.1 3.8 3.8 6.7 13.4 6.7 13.4s-15.8-2.5-19.1-9.6c-3.3-7.1-6.7-18.2-9.6-15.3-2.9 2.9-1 13.4-11.5 13.4s-13.4-9.6-21-11.5-1.9-8.6-1.9-8.6z m-43-199l26.8-4.8 13.4-14.4-3.8-13.4 5.7-21-7.7-11.5s0-22-8.6-25.8-5.7-27.7-5.7-27.7l1-4.8-9.6 8.6 5.7 24.9 8.6 24.9 1 43.1-20.1 12.3-15.3 20.1 8.6-10.5z m20.1-48.8l-5.7-7.7-6.7 1-1.9 12.4 6.7 1 7.6-6.7z m75.5 330s-1-17.2-8.6-17.2-10.5-19.1-10.5-19.1l-15.3-16.3s0 23.9 1 27.7c1 3.8-10.5 9.6-13.4 7.7-2.9-1.9-13.4-18.2-13.4-18.2s4.3-9.1-1.9-8.6c-0.6 0-1 0.1-1.2 0.2-1.5-0.2-4.1-0.6-8.3-1.1l-19.8-2.4-2.2 8.1s-11.5 9.6-18.2 12.4c-6.7 2.9-14.4 30.6-23 30.6s-21 1-21 1-15.3 25.8-10.5 35.4c4.8 9.6 6.7 19.1 5.7 30.6s1 9.6 17.2 6.7c16.3-2.9 29.7-24.9 47.8-21 18.2 3.8 23.9 22 23.9 22l15.3-13.4s-1.9 9.6-4.8 10.5 2.9 1.9 6.7 8.6c3.8 6.7 24.8 16.2 51.7-9.6 26.9-25.7 17.2-47.8 17.2-47.8l-14.4-26.8z m-420-22.9c1.9-18.2-8.6-13.4-7.7-39.2 1-25.8 36.4-86.1 33.5-86.1-2.9 0-19.1 12.4-24.9 11.5-5.7-1-30.6-57.4-30.6-66 0-8.6-6.7-41.1-6.7-41.1s7.7 22 13.4 23 7.7 24.9 12.4 36.4 20.1 30.6 29.7 29.7c9.6-1 39.2-54.5 39.2-54.5l-16.3-9.6-17.1 10.3s-4.8-11.5-10.5-18.2c-5.7-6.7-4.8-23-1-23s8.1 11.1 27.7 23.9c19.6 12.8 37.3 0 41.1 2.9 3.8 2.9 19.1 15.3 20.1 23 1 7.7 20.1 60.3 23 64.1 2.9 3.8 14.4-13.4 19.1-35.4 4.8-22 27.7-32.5 35.4-38.3 7.7-5.7 6.7 6.7 11.5 18.2s17.2 18.2 23 23c5.7 4.8 1 20.1 10.5 20.1 9.6 0 17.2-16.3 17.2-16.3l-6.7-18.2c-6.7-18.2 2.9-20.1 11.5-23.9 8.6-3.8 23.9-18.2 34.4-34.4 10.5-16.3-8.6-31.6-14.4-45.9-5.7-14.4 6.7-13.4 13.4-14.4s13.4 37.3 13.4 37.3l12.4-6.7s-2.9-12.4-8.6-23.9 7.7-11.5 23.9-28.7c16.3-17.2 7-25.4 7.7-46.9S580 216.5 580 216.5s-4.8 7.7 1-19.1c5.7-26.8 45-11.5 54.5-12.4 7.5-0.8 16.9-19.3 20.5-27.2-44.7-18.3-93.7-28.4-145-28.4-204.4 0-371.4 160.2-382.1 362 4.7 2.5 10.8 5.2 17.7 6.5 15.3 2.9 8.6 26.8 9.6 39.2 1 12.4 3.8 25.8 9.6 38.3 5.7 12.4-1.9 20.1-4.8 28.7-2.9 8.6 3.8 22 9.6 22s-10.5 29.7 7.7 60.3 45-2.9 57.4-46.9c12.5-44.2 33.5-38.4 35.4-56.6zM518 499.6l7.7 15.3 16.3 7.7s5.7-23 15.3-34.4c9.6-11.5-5.7-22-12.4-23.9L518 499.6z m159.2-262.2c0.6 1.9 1.5 2.9 1.5 2.9s-0.6-1.1-1.5-2.9zM562.3 547.1c-5-1.5-13.1-3.8-25.2-7.2-30.6-8.6-23-5.7-33.5-12.4s-1-9.6 1-18.2c1.9-8.6-9.6-36.4-9.6-36.4l-11.5-9.6-2.9 17.2-12.4 3.8 15.3 36.4s25.8 22 42.1 29.7c9.7 4.5 25.5 0.6 36.7-3.3zM285.5 649.9s15.3-27.7 18.2-41.1c2.9-13.4-1.9-34.4-1.9-34.4s-20.1 15.3-16.3 17.2c3.8 1.9-5.7 10.5-7.7 25.8-1.9 15.2 7.7 32.5 7.7 32.5zM670.6 164c-8.4 10.3-19.7 25.1-19.7 30.5 0 8.6 13.4 8.6 14.4 15.3 0.7 5.2 8.6 21.1 11.9 27.7-0.8-2.5-1.2-6.5 1.5-11.4 4.8-8.6 5.7-28.7 1-37.3-2.3-4.1 0.6-11.5 4.2-18.3-4.4-2.3-8.8-4.5-13.3-6.5z m-99.5 379.7c2.7-1.1 4.3-1.9 4.3-1.9s-2.2 0.8-4.3 1.9z m-3.4 4.7c-2.8-1.1 0.3-3.2 3.4-4.8-2.3 1-5.3 2.2-8.8 3.4 7.7 2.4 8.3 2.6 5.4 1.4z" fill="#E8EEEF" data-v-0d7842c9></path></svg></div>',1),Jv={class:"tool-item_name"},Zv=["href"],Qv=Ve({__name:"tool",setup(e){const t=Oe.stampForm;Oe.stampForm;const n=Oe.byteToSize,s=ir(),r=Ue(()=>s.network),o=Ue(()=>s.device),i=Ue(()=>s.updown);return(a,l)=>{const c=dt("router-link");return A(),z("div",bv,[Pe(c,{class:"tool-item",to:"/router/device/list",title:"\u67E5\u770B\u5F53\u524D\u8FDE\u63A5\u8BBE\u5907"},{default:it(()=>[Sv,g("div",kv,[g("span",null,We(o.value.devices.length),1)])]),_:1}),g("em",null,[Tv,g("span",Ev,We(pt(t)(r.value.uptimeStamp)),1)]),Pe(c,{class:"tool-item",to:"/router/device/interface",title:"\u67E5\u770B\u5F53\u524D\u63A5\u53E3"},{default:it(()=>{var d;return[g("div",xv,[(A(),z("svg",Ov,[...Hv]))]),g("div",Yv,[g("span",null,We(((d=r.value.defaultInterface)==null?void 0:d.toLocaleUpperCase())||"--"),1)])]}),_:1}),g("em",null,[g("span",Uv,[r.value.networkInfo=="netSuccess"?(A(),z("span",Vv," \u5DF2\u8054\u7F51 ")):r.value.networkInfo=="dnsFailed"?(A(),z("span",Bv," DNS\u9519\u8BEF ")):r.value.networkInfo=="softSourceFailed"?(A(),z("span",Gv," \u8F6F\u4EF6\u6E90\u89E3\u6790\u9519\u8BEF ")):(A(),z("span",Wv," \u68C0\u6D4B\u4E2D "))]),g("span",zv," \u4E0A\u4F20: "+We(pt(n)(i.value.up))+" \uFF5C \u4E0B\u8F7D: "+We(pt(n)(i.value.download)),1)]),g("div",qv,[Kv,g("div",Jv,[g("a",{href:r.value.ipv4addr},[g("span",null,We(r.value.ipv4addr||"--"),1)],8,Zv)])])])}}});var Xv=ve(Qv,[["__scopeId","data-v-0d7842c9"]]);const ey={class:"header-desktop"},ty={key:1,class:"kong-tool"},ny=Ve({__name:"header",setup(e){const t=Ke(!1),n=qg(),s=Ke(!0);return n.afterEach(()=>{t.value=!1}),yn(()=>n.currentRoute.value,r=>{r.path==="/router/index"?s.value=!0:s.value=!1},{immediate:!0}),(r,o)=>(A(),z("header",ey,[Pe(wv),s.value?(A(),Ze(Xv,{key:0})):(A(),z("div",ty))]))}});var sy=ve(ny,[["__scopeId","data-v-5a54f6fe"]]);const ry={};function oy(e,t){const n=dt("router-view");return A(),Ze(n,{name:"default"},{default:it(s=>[(A(),Ze(Hd,null,{default:it(()=>[s&&s.Component?(A(),Ze(vd(s.Component),{key:s.route.path})):ge("v-if",!0)]),fallback:it(()=>[ge(` <div class="router-loading">
|
|
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};
|