diff --git a/app/src/main/assets/web/source/assets/index-196e7354.js b/app/src/main/assets/web/source/assets/index-196e7354.js new file mode 100644 index 000000000000..20509801b801 --- /dev/null +++ b/app/src/main/assets/web/source/assets/index-196e7354.js @@ -0,0 +1,31 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function Or(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Ir(e){if(D(e)){const t={};for(let n=0;n{if(n){const r=n.split(Pi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qe(e){let t="";if(fe(e))t=e;else if(D(e))for(let n=0;nFn(n,t))}const et=e=>fe(e)?e:e==null?"":D(e)||se(e)&&(e.toString===us||!V(e.toString))?JSON.stringify(e,ls,2):String(e),ls=(e,t)=>t&&t.__v_isRef?ls(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:jn(t)?{[`Set(${t.size})`]:[...t.values()]}:se(t)&&!D(t)&&!as(t)?String(t):t,ie={},Nt=[],Ke=()=>{},Mi=()=>!1,$i=/^on[^a-z]/,Hn=e=>$i.test(e),Nr=e=>e.startsWith("onUpdate:"),ve=Object.assign,Ur=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Li=Object.prototype.hasOwnProperty,Z=(e,t)=>Li.call(e,t),D=Array.isArray,Ut=e=>zt(e)==="[object Map]",jn=e=>zt(e)==="[object Set]",co=e=>zt(e)==="[object Date]",Bi=e=>zt(e)==="[object RegExp]",V=e=>typeof e=="function",fe=e=>typeof e=="string",on=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",cs=e=>se(e)&&V(e.then)&&V(e.catch),us=Object.prototype.toString,zt=e=>us.call(e),Fi=e=>zt(e).slice(8,-1),as=e=>zt(e)==="[object Object]",Mr=e=>fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,En=Or(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hi=/-(\w)/g,Xe=Dn(e=>e.replace(Hi,(t,n)=>n?n.toUpperCase():"")),ji=/\B([A-Z])/g,kt=Dn(e=>e.replace(ji,"-$1").toLowerCase()),Kn=Dn(e=>e.charAt(0).toUpperCase()+e.slice(1)),nr=Dn(e=>e?`on${Kn(e)}`:""),sn=(e,t)=>!Object.is(e,t),Mt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},hr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let uo;const Di=()=>uo||(uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Pe;class fs{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Pe,!t&&Pe&&(this.index=(Pe.scopes||(Pe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Pe;try{return Pe=this,t()}finally{Pe=n}}}on(){Pe=this}off(){Pe=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},ps=e=>(e.w&ht)>0,gs=e=>(e.n&ht)>0,zi=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(f==="length"||f>=c)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":D(e)?Mr(n)&&l.push(i.get("length")):(l.push(i.get(xt)),Ut(e)&&l.push(i.get(gr)));break;case"delete":D(e)||(l.push(i.get(xt)),Ut(e)&&l.push(i.get(gr)));break;case"set":Ut(e)&&l.push(i.get(xt));break}if(l.length===1)l[0]&&mr(l[0]);else{const c=[];for(const a of l)a&&c.push(...a);mr($r(c))}}function mr(e,t){const n=D(e)?e:[...e];for(const r of n)r.computed&&fo(r);for(const r of n)r.computed||fo(r)}function fo(e,t){(e!==He||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Wi(e,t){var n;return(n=An.get(e))===null||n===void 0?void 0:n.get(t)}const qi=Or("__proto__,__v_isRef,__isVue"),ys=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(on)),Qi=Br(),Yi=Br(!1,!0),Xi=Br(!0),ho=Zi();function Zi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Y(this);for(let s=0,i=this.length;s{e[t]=function(...n){Jt();const r=Y(this)[t].apply(this,n);return Wt(),r}}),e}function Gi(e){const t=Y(this);return ke(t,"has",e),t.hasOwnProperty(e)}function Br(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?gl:Cs:t?ws:vs).get(r))return r;const i=D(r);if(!e){if(i&&Z(ho,o))return Reflect.get(ho,o,s);if(o==="hasOwnProperty")return Gi}const l=Reflect.get(r,o,s);return(on(o)?ys.has(o):qi(o))||(e||ke(r,"get",o),t)?l:ae(l)?i&&Mr(o)?l:l.value:se(l)?e?xs(l):Oe(l):l}}const el=bs(),tl=bs(!0);function bs(e=!1){return function(n,r,o,s){let i=n[r];if(Ft(i)&&ae(i)&&!ae(o))return!1;if(!e&&(!On(o)&&!Ft(o)&&(i=Y(i),o=Y(o)),!D(n)&&ae(i)&&!ae(o)))return i.value=o,!0;const l=D(n)&&Mr(r)?Number(r)e,Vn=e=>Reflect.getPrototypeOf(e);function bn(e,t,n=!1,r=!1){e=e.__v_raw;const o=Y(e),s=Y(t);n||(t!==s&&ke(o,"get",t),ke(o,"get",s));const{has:i}=Vn(o),l=r?Fr:n?Dr:ln;if(i.call(o,t))return l(e.get(t));if(i.call(o,s))return l(e.get(s));e!==o&&e.get(t)}function Sn(e,t=!1){const n=this.__v_raw,r=Y(n),o=Y(e);return t||(e!==o&&ke(r,"has",e),ke(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function vn(e,t=!1){return e=e.__v_raw,!t&&ke(Y(e),"iterate",xt),Reflect.get(e,"size",e)}function po(e){e=Y(e);const t=Y(this);return Vn(t).has.call(t,e)||(t.add(e),tt(t,"add",e,e)),this}function go(e,t){t=Y(t);const n=Y(this),{has:r,get:o}=Vn(n);let s=r.call(n,e);s||(e=Y(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?sn(t,i)&&tt(n,"set",e,t):tt(n,"add",e,t),this}function mo(e){const t=Y(this),{has:n,get:r}=Vn(t);let o=n.call(t,e);o||(e=Y(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&tt(t,"delete",e,void 0),s}function _o(){const e=Y(this),t=e.size!==0,n=e.clear();return t&&tt(e,"clear",void 0,void 0),n}function wn(e,t){return function(r,o){const s=this,i=s.__v_raw,l=Y(i),c=t?Fr:e?Dr:ln;return!e&&ke(l,"iterate",xt),i.forEach((a,f)=>r.call(o,c(a),c(f),s))}}function Cn(e,t,n){return function(...r){const o=this.__v_raw,s=Y(o),i=Ut(s),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=o[e](...r),f=n?Fr:t?Dr:ln;return!t&&ke(s,"iterate",c?gr:xt),{next(){const{value:p,done:h}=a.next();return h?{value:p,done:h}:{value:l?[f(p[0]),f(p[1])]:f(p),done:h}},[Symbol.iterator](){return this}}}}function ot(e){return function(...t){return e==="delete"?!1:this}}function ll(){const e={get(s){return bn(this,s)},get size(){return vn(this)},has:Sn,add:po,set:go,delete:mo,clear:_o,forEach:wn(!1,!1)},t={get(s){return bn(this,s,!1,!0)},get size(){return vn(this)},has:Sn,add:po,set:go,delete:mo,clear:_o,forEach:wn(!1,!0)},n={get(s){return bn(this,s,!0)},get size(){return vn(this,!0)},has(s){return Sn.call(this,s,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:wn(!0,!1)},r={get(s){return bn(this,s,!0,!0)},get size(){return vn(this,!0)},has(s){return Sn.call(this,s,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:wn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Cn(s,!1,!1),n[s]=Cn(s,!0,!1),t[s]=Cn(s,!1,!0),r[s]=Cn(s,!0,!0)}),[e,n,t,r]}const[cl,ul,al,fl]=ll();function Hr(e,t){const n=t?e?fl:al:e?ul:cl;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Z(n,o)&&o in r?n:r,o,s)}const dl={get:Hr(!1,!1)},hl={get:Hr(!1,!0)},pl={get:Hr(!0,!1)},vs=new WeakMap,ws=new WeakMap,Cs=new WeakMap,gl=new WeakMap;function ml(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _l(e){return e.__v_skip||!Object.isExtensible(e)?0:ml(Fi(e))}function Oe(e){return Ft(e)?e:jr(e,!1,Ss,dl,vs)}function yl(e){return jr(e,!1,il,hl,ws)}function xs(e){return jr(e,!0,sl,pl,Cs)}function jr(e,t,n,r,o){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=_l(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return o.set(e,l),l}function ft(e){return Ft(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function Ft(e){return!!(e&&e.__v_isReadonly)}function On(e){return!!(e&&e.__v_isShallow)}function Es(e){return ft(e)||Ft(e)}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function Ht(e){return Pn(e,"__v_skip",!0),e}const ln=e=>se(e)?Oe(e):e,Dr=e=>se(e)?xs(e):e;function ks(e){at&&He&&(e=Y(e),_s(e.dep||(e.dep=$r())))}function Rs(e,t){e=Y(e);const n=e.dep;n&&mr(n)}function ae(e){return!!(e&&e.__v_isRef===!0)}function je(e){return Ts(e,!1)}function bl(e){return Ts(e,!0)}function Ts(e,t){return ae(e)?e:new Sl(e,t)}class Sl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Y(t),this._value=n?t:ln(t)}get value(){return ks(this),this._value}set value(t){const n=this.__v_isShallow||On(t)||Ft(t);t=n?t:Y(t),sn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ln(t),Rs(this))}}function $t(e){return ae(e)?e.value:e}const vl={get:(e,t,n)=>$t(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ae(o)&&!ae(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Ps(e){return ft(e)?e:new Proxy(e,vl)}function pt(e){const t=D(e)?new Array(e.length):{};for(const n in e)t[n]=Cl(e,n);return t}class wl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,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 Wi(Y(this._object),this._key)}}function Cl(e,t,n){const r=e[t];return ae(r)?r:new wl(e,t,n)}var As;class xl{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[As]=!1,this._dirty=!0,this.effect=new Lr(t,()=>{this._dirty||(this._dirty=!0,Rs(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Y(this);return ks(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}As="__v_isReadonly";function El(e,t,n=!1){let r,o;const s=V(e);return s?(r=e,o=Ke):(r=e.get,o=e.set),new xl(r,o,s||!o,n)}function dt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){zn(s,t,n)}return o}function $e(e,t,n,r){if(V(e)){const s=dt(e,t,n,r);return s&&cs(s)&&s.catch(i=>{zn(i,t,n)}),s}const o=[];for(let s=0;s>>1;un(Se[r])qe&&Se.splice(t,1)}function Pl(e){D(e)?Lt.push(...e):(!Ge||!Ge.includes(e,e.allowRecurse?bt+1:bt))&&Lt.push(e),Is()}function yo(e,t=cn?qe+1:0){for(;tun(n)-un(r)),bt=0;bte.id==null?1/0:e.id,Al=(e,t)=>{const n=un(e)-un(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Us(e){_r=!1,cn=!0,Se.sort(Al);const t=Ke;try{for(qe=0;qefe(m)?m.trim():m)),p&&(o=n.map(hr))}let l,c=r[l=nr(t)]||r[l=nr(Xe(t))];!c&&s&&(c=r[l=nr(kt(t))]),c&&$e(c,e,6,o);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,$e(a,e,6,o)}}function Ms(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},l=!1;if(!V(e)){const c=a=>{const f=Ms(a,t,!0);f&&(l=!0,ve(i,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!l?(se(e)&&r.set(e,null),null):(D(s)?s.forEach(c=>i[c]=null):ve(i,s),se(e)&&r.set(e,i),i)}function Jn(e,t){return!e||!Hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,kt(t))||Z(e,t))}let Ae=null,Wn=null;function In(e){const t=Ae;return Ae=e,Wn=e&&e.type.__scopeId||null,t}function Jr(e){Wn=e}function Wr(){Wn=null}function Il(e,t=Ae,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&To(-1);const s=In(t);let i;try{i=e(...o)}finally{In(s),r._d&&To(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function rr(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:l,attrs:c,emit:a,render:f,renderCache:p,data:h,setupState:m,ctx:C,inheritAttrs:x}=e;let U,P;const g=In(e);try{if(n.shapeFlag&4){const k=o||r;U=We(f.call(k,k,p,s,m,h,C)),P=c}else{const k=t;U=We(k.length>1?k(s,{attrs:c,slots:l,emit:a}):k(s,null)),P=t.props?c:Nl(c)}}catch(k){en.length=0,zn(k,e,1),U=ge(Ve)}let b=U;if(P&&x!==!1){const k=Object.keys(P),{shapeFlag:L}=b;k.length&&L&7&&(i&&k.some(Nr)&&(P=Ul(P,i)),b=nt(b,P))}return n.dirs&&(b=nt(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),U=b,In(g),U}const Nl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Hn(n))&&((t||(t={}))[n]=e[n]);return t},Ul=(e,t)=>{const n={};for(const r in e)(!Nr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ml(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:c}=t,a=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?bo(r,i,a):!!i;if(c&8){const f=t.dynamicProps;for(let p=0;pe.__isSuspense;function Ll(e,t){t&&t.pendingBranch?D(e)?t.effects.push(...e):t.effects.push(e):Pl(e)}function kn(e,t){if(ue){let n=ue.provides;const r=ue.parent&&ue.parent.provides;r===n&&(n=ue.provides=Object.create(r)),n[e]=t}}function Ye(e,t,n=!1){const r=ue||Ae;if(r){const o=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&V(t)?t.call(r.proxy):t}}function gn(e,t){return qr(e,null,t)}const xn={};function Bt(e,t,n){return qr(e,t,n)}function qr(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=ie){const l=hs()===(ue==null?void 0:ue.scope)?ue:null;let c,a=!1,f=!1;if(ae(e)?(c=()=>e.value,a=On(e)):ft(e)?(c=()=>e,r=!0):D(e)?(f=!0,a=e.some(b=>ft(b)||On(b)),c=()=>e.map(b=>{if(ae(b))return b.value;if(ft(b))return Ct(b);if(V(b))return dt(b,l,2)})):V(e)?t?c=()=>dt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return p&&p(),$e(e,l,3,[h])}:c=Ke,t&&r){const b=c;c=()=>Ct(b())}let p,h=b=>{p=P.onStop=()=>{dt(b,l,4)}},m;if(hn)if(h=Ke,t?n&&$e(t,l,3,[c(),f?[]:void 0,h]):c(),o==="sync"){const b=Ic();m=b.__watcherHandles||(b.__watcherHandles=[])}else return Ke;let C=f?new Array(e.length).fill(xn):xn;const x=()=>{if(P.active)if(t){const b=P.run();(r||a||(f?b.some((k,L)=>sn(k,C[L])):sn(b,C)))&&(p&&p(),$e(t,l,3,[b,C===xn?void 0:f&&C[0]===xn?[]:C,h]),C=b)}else P.run()};x.allowRecurse=!!t;let U;o==="sync"?U=x:o==="post"?U=()=>ye(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),U=()=>zr(x));const P=new Lr(c,U);t?n?x():C=P.run():o==="post"?ye(P.run.bind(P),l&&l.suspense):P.run();const g=()=>{P.stop(),l&&l.scope&&Ur(l.scope.effects,P)};return m&&m.push(g),g}function Bl(e,t,n){const r=this.proxy,o=fe(e)?e.includes(".")?Ls(r,e):()=>r[e]:e.bind(r,r);let s;V(t)?s=t:(s=t.handler,n=t);const i=ue;Dt(this);const l=qr(o,s.bind(r),n);return i?Dt(i):Et(),l}function Ls(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{Ct(n,t)});else if(as(e))for(const n in e)Ct(e[n],t);return e}function Fl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return mn(()=>{e.isMounted=!0}),Qr(()=>{e.isUnmounting=!0}),e}const Ne=[Function,Array],Hl={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ne,onEnter:Ne,onAfterEnter:Ne,onEnterCancelled:Ne,onBeforeLeave:Ne,onLeave:Ne,onAfterLeave:Ne,onLeaveCancelled:Ne,onBeforeAppear:Ne,onAppear:Ne,onAfterAppear:Ne,onAppearCancelled:Ne},setup(e,{slots:t}){const n=to(),r=Fl();let o;return()=>{const s=t.default&&Fs(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const x of s)if(x.type!==Ve){i=x;break}}const l=Y(e),{mode:c}=l;if(r.isLeaving)return or(i);const a=So(i);if(!a)return or(i);const f=yr(a,l,r,n);Nn(a,f);const p=n.subTree,h=p&&So(p);let m=!1;const{getTransitionKey:C}=a.type;if(C){const x=C();o===void 0?o=x:x!==o&&(o=x,m=!0)}if(h&&h.type!==Ve&&(!ut(a,h)||m)){const x=yr(h,l,r,n);if(Nn(h,x),c==="out-in")return r.isLeaving=!0,x.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},or(i);c==="in-out"&&a.type!==Ve&&(x.delayLeave=(U,P,g)=>{const b=Bs(r,h);b[String(h.key)]=h,U._leaveCb=()=>{P(),U._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=g})}return i}}},jl=Hl;function Bs(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function yr(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:p,onLeave:h,onAfterLeave:m,onLeaveCancelled:C,onBeforeAppear:x,onAppear:U,onAfterAppear:P,onAppearCancelled:g}=t,b=String(e.key),k=Bs(n,e),L=(A,z)=>{A&&$e(A,r,9,z)},q=(A,z)=>{const J=z[1];L(A,z),D(A)?A.every(ne=>ne.length<=1)&&J():A.length<=1&&J()},H={mode:s,persisted:i,beforeEnter(A){let z=l;if(!n.isMounted)if(o)z=x||l;else return;A._leaveCb&&A._leaveCb(!0);const J=k[b];J&&ut(e,J)&&J.el._leaveCb&&J.el._leaveCb(),L(z,[A])},enter(A){let z=c,J=a,ne=f;if(!n.isMounted)if(o)z=U||c,J=P||a,ne=g||f;else return;let me=!1;const Re=A._enterCb=we=>{me||(me=!0,we?L(ne,[A]):L(J,[A]),H.delayedLeave&&H.delayedLeave(),A._enterCb=void 0)};z?q(z,[A,Re]):Re()},leave(A,z){const J=String(e.key);if(A._enterCb&&A._enterCb(!0),n.isUnmounting)return z();L(p,[A]);let ne=!1;const me=A._leaveCb=Re=>{ne||(ne=!0,z(),Re?L(C,[A]):L(m,[A]),A._leaveCb=void 0,k[J]===e&&delete k[J])};k[J]=e,h?q(h,[A,me]):me()},clone(A){return yr(A,t,n,r)}};return H}function or(e){if(qn(e))return e=nt(e),e.children=null,e}function So(e){return qn(e)?e.children?e.children[0]:void 0:e}function Nn(e,t){e.shapeFlag&6&&e.component?Nn(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Fs(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;s!!e.type.__asyncLoader,qn=e=>e.type.__isKeepAlive,Dl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=to(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const o=new Map,s=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:f,o:{createElement:p}}}=r,h=p("div");r.activate=(g,b,k,L,q)=>{const H=g.component;a(g,b,k,0,l),c(H.vnode,g,b,k,H,l,L,g.slotScopeIds,q),ye(()=>{H.isDeactivated=!1,H.a&&Mt(H.a);const A=g.props&&g.props.onVnodeMounted;A&&Me(A,H.parent,g)},l)},r.deactivate=g=>{const b=g.component;a(g,h,null,1,l),ye(()=>{b.da&&Mt(b.da);const k=g.props&&g.props.onVnodeUnmounted;k&&Me(k,b.parent,g),b.isDeactivated=!0},l)};function m(g){sr(g),f(g,n,l,!0)}function C(g){o.forEach((b,k)=>{const L=xr(b.type);L&&(!g||!g(L))&&x(k)})}function x(g){const b=o.get(g);!i||!ut(b,i)?m(b):i&&sr(i),o.delete(g),s.delete(g)}Bt(()=>[e.include,e.exclude],([g,b])=>{g&&C(k=>Xt(g,k)),b&&C(k=>!Xt(b,k))},{flush:"post",deep:!0});let U=null;const P=()=>{U!=null&&o.set(U,ir(n.subTree))};return mn(P),Ds(P),Qr(()=>{o.forEach(g=>{const{subTree:b,suspense:k}=n,L=ir(b);if(g.type===L.type&&g.key===L.key){sr(L);const q=L.component.da;q&&ye(q,k);return}m(g)})}),()=>{if(U=null,!t.default)return null;const g=t.default(),b=g[0];if(g.length>1)return i=null,g;if(!Mn(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let k=ir(b);const L=k.type,q=xr(Zt(k)?k.type.__asyncResolved||{}:L),{include:H,exclude:A,max:z}=e;if(H&&(!q||!Xt(H,q))||A&&q&&Xt(A,q))return i=k,b;const J=k.key==null?L:k.key,ne=o.get(J);return k.el&&(k=nt(k),b.shapeFlag&128&&(b.ssContent=k)),U=J,ne?(k.el=ne.el,k.component=ne.component,k.transition&&Nn(k,k.transition),k.shapeFlag|=512,s.delete(J),s.add(J)):(s.add(J),z&&s.size>parseInt(z,10)&&x(s.values().next().value)),k.shapeFlag|=256,i=k,$s(b.type)?b:k}}},Kl=Dl;function Xt(e,t){return D(e)?e.some(n=>Xt(n,t)):fe(e)?e.split(",").includes(t):Bi(e)?e.test(t):!1}function Vl(e,t){js(e,"a",t)}function zl(e,t){js(e,"da",t)}function js(e,t,n=ue){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Qn(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qn(o.parent.vnode)&&Jl(r,t,n,o),o=o.parent}}function Jl(e,t,n,r){const o=Qn(t,e,r,!0);Ks(()=>{Ur(r[t],o)},n)}function sr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ir(e){return e.shapeFlag&128?e.ssContent:e}function Qn(e,t,n=ue,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Jt(),Dt(n);const l=$e(t,n,e,i);return Et(),Wt(),l});return r?o.unshift(s):o.push(s),s}}const rt=e=>(t,n=ue)=>(!hn||e==="sp")&&Qn(e,(...r)=>t(...r),n),Wl=rt("bm"),mn=rt("m"),ql=rt("bu"),Ds=rt("u"),Qr=rt("bum"),Ks=rt("um"),Ql=rt("sp"),Yl=rt("rtg"),Xl=rt("rtc");function Zl(e,t=ue){Qn("ec",e,t)}function an(e,t){const n=Ae;if(n===null)return e;const r=Zn(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;st(i,l,void 0,s&&s[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,c=i.length;le?ni(e)?Zn(e)||e.proxy:br(e.parent):null,Gt=ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>br(e.parent),$root:e=>br(e.root),$emit:e=>e.emit,$options:e=>Zr(e),$forceUpdate:e=>e.f||(e.f=()=>zr(e.update)),$nextTick:e=>e.n||(e.n=Vr.bind(e.proxy)),$watch:e=>Bl.bind(e)}),lr=(e,t)=>e!==ie&&!e.__isScriptSetup&&Z(e,t),tc={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:c}=e;let a;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(lr(r,t))return i[t]=1,r[t];if(o!==ie&&Z(o,t))return i[t]=2,o[t];if((a=e.propsOptions[0])&&Z(a,t))return i[t]=3,s[t];if(n!==ie&&Z(n,t))return i[t]=4,n[t];Sr&&(i[t]=0)}}const f=Gt[t];let p,h;if(f)return t==="$attrs"&&ke(e,"get",t),f(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==ie&&Z(n,t))return i[t]=4,n[t];if(h=c.config.globalProperties,Z(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return lr(o,t)?(o[t]=n,!0):r!==ie&&Z(r,t)?(r[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let l;return!!n[i]||e!==ie&&Z(e,i)||lr(t,i)||(l=s[0])&&Z(l,i)||Z(r,i)||Z(Gt,i)||Z(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Sr=!0;function nc(e){const t=Zr(e),n=e.proxy,r=e.ctx;Sr=!1,t.beforeCreate&&wo(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:c,inject:a,created:f,beforeMount:p,mounted:h,beforeUpdate:m,updated:C,activated:x,deactivated:U,beforeDestroy:P,beforeUnmount:g,destroyed:b,unmounted:k,render:L,renderTracked:q,renderTriggered:H,errorCaptured:A,serverPrefetch:z,expose:J,inheritAttrs:ne,components:me,directives:Re,filters:we}=t;if(a&&rc(a,r,null,e.appContext.config.unwrapInjectedRef),i)for(const re in i){const ee=i[re];V(ee)&&(r[re]=ee.bind(n))}if(o){const re=o.call(n,n);se(re)&&(e.data=Oe(re))}if(Sr=!0,s)for(const re in s){const ee=s[re],Le=V(ee)?ee.bind(n,n):V(ee.get)?ee.get.bind(n,n):Ke,gt=!V(ee)&&V(ee.set)?ee.set.bind(n):Ke,Be=be({get:Le,set:gt});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Be.value,set:Ee=>Be.value=Ee})}if(l)for(const re in l)Js(l[re],r,n,re);if(c){const re=V(c)?c.call(n):c;Reflect.ownKeys(re).forEach(ee=>{kn(ee,re[ee])})}f&&wo(f,e,"c");function de(re,ee){D(ee)?ee.forEach(Le=>re(Le.bind(n))):ee&&re(ee.bind(n))}if(de(Wl,p),de(mn,h),de(ql,m),de(Ds,C),de(Vl,x),de(zl,U),de(Zl,A),de(Xl,q),de(Yl,H),de(Qr,g),de(Ks,k),de(Ql,z),D(J))if(J.length){const re=e.exposed||(e.exposed={});J.forEach(ee=>{Object.defineProperty(re,ee,{get:()=>n[ee],set:Le=>n[ee]=Le})})}else e.exposed||(e.exposed={});L&&e.render===Ke&&(e.render=L),ne!=null&&(e.inheritAttrs=ne),me&&(e.components=me),Re&&(e.directives=Re)}function rc(e,t,n=Ke,r=!1){D(e)&&(e=vr(e));for(const o in e){const s=e[o];let i;se(s)?"default"in s?i=Ye(s.from||o,s.default,!0):i=Ye(s.from||o):i=Ye(s),ae(i)&&r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[o]=i}}function wo(e,t,n){$e(D(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Js(e,t,n,r){const o=r.includes(".")?Ls(n,r):()=>n[r];if(fe(e)){const s=t[e];V(s)&&Bt(o,s)}else if(V(e))Bt(o,e.bind(n));else if(se(e))if(D(e))e.forEach(s=>Js(s,t,n,r));else{const s=V(e.handler)?e.handler.bind(n):t[e.handler];V(s)&&Bt(o,s,e)}}function Zr(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let c;return l?c=l:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(a=>Un(c,a,i,!0)),Un(c,t,i)),se(t)&&s.set(t,c),c}function Un(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Un(e,s,n,!0),o&&o.forEach(i=>Un(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=oc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const oc={data:Co,props:yt,emits:yt,methods:yt,computed:yt,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:yt,directives:yt,watch:ic,provide:Co,inject:sc};function Co(e,t){return t?e?function(){return ve(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function sc(e,t){return yt(vr(e),vr(t))}function vr(e){if(D(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let p=0;p{c=!0;const[h,m]=qs(p,t,!0);ve(i,h),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!s&&!c)return se(e)&&r.set(e,Nt),Nt;if(D(s))for(let f=0;f-1,m[1]=x<0||C-1||Z(m,"default"))&&l.push(p)}}}const a=[i,l];return se(e)&&r.set(e,a),a}function xo(e){return e[0]!=="$"}function Eo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ko(e,t){return Eo(e)===Eo(t)}function Ro(e,t){return D(t)?t.findIndex(n=>ko(n,e)):V(t)&&ko(t,e)?0:-1}const Qs=e=>e[0]==="_"||e==="$stable",Gr=e=>D(e)?e.map(We):[We(e)],uc=(e,t,n)=>{if(t._n)return t;const r=Il((...o)=>Gr(t(...o)),n);return r._c=!1,r},Ys=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Qs(o))continue;const s=e[o];if(V(s))t[o]=uc(o,s,r);else if(s!=null){const i=Gr(s);t[o]=()=>i}}},Xs=(e,t)=>{const n=Gr(t);e.slots.default=()=>n},ac=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Y(t),Pn(t,"_",n)):Ys(t,e.slots={})}else e.slots={},t&&Xs(e,t);Pn(e.slots,Xn,1)},fc=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ie;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(ve(o,t),!n&&l===1&&delete o._):(s=!t.$stable,Ys(t,o)),i=t}else t&&(Xs(e,t),i={default:1});if(s)for(const l in o)!Qs(l)&&!(l in i)&&delete o[l]};function Zs(){return{app:null,config:{isNativeTag:Mi,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 dc=0;function hc(e,t){return function(r,o=null){V(r)||(r=Object.assign({},r)),o!=null&&!se(o)&&(o=null);const s=Zs(),i=new Set;let l=!1;const c=s.app={_uid:dc++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Nc,get config(){return s.config},set config(a){},use(a,...f){return i.has(a)||(a&&V(a.install)?(i.add(a),a.install(c,...f)):V(a)&&(i.add(a),a(c,...f))),c},mixin(a){return s.mixins.includes(a)||s.mixins.push(a),c},component(a,f){return f?(s.components[a]=f,c):s.components[a]},directive(a,f){return f?(s.directives[a]=f,c):s.directives[a]},mount(a,f,p){if(!l){const h=ge(r,o);return h.appContext=s,f&&t?t(h,a):e(h,a,p),l=!0,c._container=a,a.__vue_app__=c,Zn(h.component)||h.component.proxy}},unmount(){l&&(e(null,c._container),delete c._container.__vue_app__)},provide(a,f){return s.provides[a]=f,c}};return c}}function Cr(e,t,n,r,o=!1){if(D(e)){e.forEach((h,m)=>Cr(h,t&&(D(t)?t[m]:t),n,r,o));return}if(Zt(r)&&!o)return;const s=r.shapeFlag&4?Zn(r.component)||r.component.proxy:r.el,i=o?null:s,{i:l,r:c}=e,a=t&&t.r,f=l.refs===ie?l.refs={}:l.refs,p=l.setupState;if(a!=null&&a!==c&&(fe(a)?(f[a]=null,Z(p,a)&&(p[a]=null)):ae(a)&&(a.value=null)),V(c))dt(c,l,12,[i,f]);else{const h=fe(c),m=ae(c);if(h||m){const C=()=>{if(e.f){const x=h?Z(p,c)?p[c]:f[c]:c.value;o?D(x)&&Ur(x,s):D(x)?x.includes(s)||x.push(s):h?(f[c]=[s],Z(p,c)&&(p[c]=f[c])):(c.value=[s],e.k&&(f[e.k]=c.value))}else h?(f[c]=i,Z(p,c)&&(p[c]=i)):m&&(c.value=i,e.k&&(f[e.k]=i))};i?(C.id=-1,ye(C,n)):C()}}}const ye=Ll;function pc(e){return gc(e)}function gc(e,t){const n=Di();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:c,setText:a,setElementText:f,parentNode:p,nextSibling:h,setScopeId:m=Ke,insertStaticContent:C}=e,x=(u,d,_,y=null,v=null,R=null,I=!1,E=null,T=!!d.dynamicChildren)=>{if(u===d)return;u&&!ut(u,d)&&(y=O(u),Ee(u,v,R,!0),u=null),d.patchFlag===-2&&(T=!1,d.dynamicChildren=null);const{type:w,ref:B,shapeFlag:M}=d;switch(w){case Yn:U(u,d,_,y);break;case Ve:P(u,d,_,y);break;case Rn:u==null&&g(d,_,y,I);break;case xe:me(u,d,_,y,v,R,I,E,T);break;default:M&1?L(u,d,_,y,v,R,I,E,T):M&6?Re(u,d,_,y,v,R,I,E,T):(M&64||M&128)&&w.process(u,d,_,y,v,R,I,E,T,X)}B!=null&&v&&Cr(B,u&&u.ref,R,d||u,!d)},U=(u,d,_,y)=>{if(u==null)r(d.el=l(d.children),_,y);else{const v=d.el=u.el;d.children!==u.children&&a(v,d.children)}},P=(u,d,_,y)=>{u==null?r(d.el=c(d.children||""),_,y):d.el=u.el},g=(u,d,_,y)=>{[u.el,u.anchor]=C(u.children,d,_,y,u.el,u.anchor)},b=({el:u,anchor:d},_,y)=>{let v;for(;u&&u!==d;)v=h(u),r(u,_,y),u=v;r(d,_,y)},k=({el:u,anchor:d})=>{let _;for(;u&&u!==d;)_=h(u),o(u),u=_;o(d)},L=(u,d,_,y,v,R,I,E,T)=>{I=I||d.type==="svg",u==null?q(d,_,y,v,R,I,E,T):z(u,d,v,R,I,E,T)},q=(u,d,_,y,v,R,I,E)=>{let T,w;const{type:B,props:M,shapeFlag:F,transition:K,dirs:Q}=u;if(T=u.el=i(u.type,R,M&&M.is,M),F&8?f(T,u.children):F&16&&A(u.children,T,null,y,v,R&&B!=="foreignObject",I,E),Q&&mt(u,null,y,"created"),H(T,u,u.scopeId,I,y),M){for(const te in M)te!=="value"&&!En(te)&&s(T,te,null,M[te],R,u.children,y,v,N);"value"in M&&s(T,"value",null,M.value),(w=M.onVnodeBeforeMount)&&Me(w,y,u)}Q&&mt(u,null,y,"beforeMount");const oe=(!v||v&&!v.pendingBranch)&&K&&!K.persisted;oe&&K.beforeEnter(T),r(T,d,_),((w=M&&M.onVnodeMounted)||oe||Q)&&ye(()=>{w&&Me(w,y,u),oe&&K.enter(T),Q&&mt(u,null,y,"mounted")},v)},H=(u,d,_,y,v)=>{if(_&&m(u,_),y)for(let R=0;R{for(let w=T;w{const E=d.el=u.el;let{patchFlag:T,dynamicChildren:w,dirs:B}=d;T|=u.patchFlag&16;const M=u.props||ie,F=d.props||ie;let K;_&&_t(_,!1),(K=F.onVnodeBeforeUpdate)&&Me(K,_,d,u),B&&mt(d,u,_,"beforeUpdate"),_&&_t(_,!0);const Q=v&&d.type!=="foreignObject";if(w?J(u.dynamicChildren,w,E,_,y,Q,R):I||ee(u,d,E,null,_,y,Q,R,!1),T>0){if(T&16)ne(E,d,M,F,_,y,v);else if(T&2&&M.class!==F.class&&s(E,"class",null,F.class,v),T&4&&s(E,"style",M.style,F.style,v),T&8){const oe=d.dynamicProps;for(let te=0;te{K&&Me(K,_,d,u),B&&mt(d,u,_,"updated")},y)},J=(u,d,_,y,v,R,I)=>{for(let E=0;E{if(_!==y){if(_!==ie)for(const E in _)!En(E)&&!(E in y)&&s(u,E,_[E],null,I,d.children,v,R,N);for(const E in y){if(En(E))continue;const T=y[E],w=_[E];T!==w&&E!=="value"&&s(u,E,w,T,I,d.children,v,R,N)}"value"in y&&s(u,"value",_.value,y.value)}},me=(u,d,_,y,v,R,I,E,T)=>{const w=d.el=u?u.el:l(""),B=d.anchor=u?u.anchor:l("");let{patchFlag:M,dynamicChildren:F,slotScopeIds:K}=d;K&&(E=E?E.concat(K):K),u==null?(r(w,_,y),r(B,_,y),A(d.children,_,B,v,R,I,E,T)):M>0&&M&64&&F&&u.dynamicChildren?(J(u.dynamicChildren,F,_,v,R,I,E),(d.key!=null||v&&d===v.subTree)&&Gs(u,d,!0)):ee(u,d,_,B,v,R,I,E,T)},Re=(u,d,_,y,v,R,I,E,T)=>{d.slotScopeIds=E,u==null?d.shapeFlag&512?v.ctx.activate(d,_,y,I,T):we(d,_,y,v,R,I,T):_e(u,d,T)},we=(u,d,_,y,v,R,I)=>{const E=u.component=Ec(u,y,v);if(qn(u)&&(E.ctx.renderer=X),kc(E),E.asyncDep){if(v&&v.registerDep(E,de),!u.el){const T=E.subTree=ge(Ve);P(null,T,d,_)}return}de(E,u,d,_,v,R,I)},_e=(u,d,_)=>{const y=d.component=u.component;if(Ml(u,d,_))if(y.asyncDep&&!y.asyncResolved){re(y,d,_);return}else y.next=d,Tl(y.update),y.update();else d.el=u.el,y.vnode=d},de=(u,d,_,y,v,R,I)=>{const E=()=>{if(u.isMounted){let{next:B,bu:M,u:F,parent:K,vnode:Q}=u,oe=B,te;_t(u,!1),B?(B.el=Q.el,re(u,B,I)):B=Q,M&&Mt(M),(te=B.props&&B.props.onVnodeBeforeUpdate)&&Me(te,K,B,Q),_t(u,!0);const he=rr(u),Fe=u.subTree;u.subTree=he,x(Fe,he,p(Fe.el),O(Fe),u,v,R),B.el=he.el,oe===null&&$l(u,he.el),F&&ye(F,v),(te=B.props&&B.props.onVnodeUpdated)&&ye(()=>Me(te,K,B,Q),v)}else{let B;const{el:M,props:F}=d,{bm:K,m:Q,parent:oe}=u,te=Zt(d);if(_t(u,!1),K&&Mt(K),!te&&(B=F&&F.onVnodeBeforeMount)&&Me(B,oe,d),_t(u,!0),M&&W){const he=()=>{u.subTree=rr(u),W(M,u.subTree,u,v,null)};te?d.type.__asyncLoader().then(()=>!u.isUnmounted&&he()):he()}else{const he=u.subTree=rr(u);x(null,he,_,y,u,v,R),d.el=he.el}if(Q&&ye(Q,v),!te&&(B=F&&F.onVnodeMounted)){const he=d;ye(()=>Me(B,oe,he),v)}(d.shapeFlag&256||oe&&Zt(oe.vnode)&&oe.vnode.shapeFlag&256)&&u.a&&ye(u.a,v),u.isMounted=!0,d=_=y=null}},T=u.effect=new Lr(E,()=>zr(w),u.scope),w=u.update=()=>T.run();w.id=u.uid,_t(u,!0),w()},re=(u,d,_)=>{d.component=u;const y=u.vnode.props;u.vnode=d,u.next=null,cc(u,d.props,y,_),fc(u,d.children,_),Jt(),yo(),Wt()},ee=(u,d,_,y,v,R,I,E,T=!1)=>{const w=u&&u.children,B=u?u.shapeFlag:0,M=d.children,{patchFlag:F,shapeFlag:K}=d;if(F>0){if(F&128){gt(w,M,_,y,v,R,I,E,T);return}else if(F&256){Le(w,M,_,y,v,R,I,E,T);return}}K&8?(B&16&&N(w,v,R),M!==w&&f(_,M)):B&16?K&16?gt(w,M,_,y,v,R,I,E,T):N(w,v,R,!0):(B&8&&f(_,""),K&16&&A(M,_,y,v,R,I,E,T))},Le=(u,d,_,y,v,R,I,E,T)=>{u=u||Nt,d=d||Nt;const w=u.length,B=d.length,M=Math.min(w,B);let F;for(F=0;FB?N(u,v,R,!0,!1,M):A(d,_,y,v,R,I,E,T,M)},gt=(u,d,_,y,v,R,I,E,T)=>{let w=0;const B=d.length;let M=u.length-1,F=B-1;for(;w<=M&&w<=F;){const K=u[w],Q=d[w]=T?lt(d[w]):We(d[w]);if(ut(K,Q))x(K,Q,_,null,v,R,I,E,T);else break;w++}for(;w<=M&&w<=F;){const K=u[M],Q=d[F]=T?lt(d[F]):We(d[F]);if(ut(K,Q))x(K,Q,_,null,v,R,I,E,T);else break;M--,F--}if(w>M){if(w<=F){const K=F+1,Q=KF)for(;w<=M;)Ee(u[w],v,R,!0),w++;else{const K=w,Q=w,oe=new Map;for(w=Q;w<=F;w++){const Te=d[w]=T?lt(d[w]):We(d[w]);Te.key!=null&&oe.set(Te.key,w)}let te,he=0;const Fe=F-Q+1;let Pt=!1,so=0;const qt=new Array(Fe);for(w=0;w=Fe){Ee(Te,v,R,!0);continue}let Je;if(Te.key!=null)Je=oe.get(Te.key);else for(te=Q;te<=F;te++)if(qt[te-Q]===0&&ut(Te,d[te])){Je=te;break}Je===void 0?Ee(Te,v,R,!0):(qt[Je-Q]=w+1,Je>=so?so=Je:Pt=!0,x(Te,d[Je],_,null,v,R,I,E,T),he++)}const io=Pt?mc(qt):Nt;for(te=io.length-1,w=Fe-1;w>=0;w--){const Te=Q+w,Je=d[Te],lo=Te+1{const{el:R,type:I,transition:E,children:T,shapeFlag:w}=u;if(w&6){Be(u.component.subTree,d,_,y);return}if(w&128){u.suspense.move(d,_,y);return}if(w&64){I.move(u,d,_,X);return}if(I===xe){r(R,d,_);for(let M=0;ME.enter(R),v);else{const{leave:M,delayLeave:F,afterLeave:K}=E,Q=()=>r(R,d,_),oe=()=>{M(R,()=>{Q(),K&&K()})};F?F(R,Q,oe):oe()}else r(R,d,_)},Ee=(u,d,_,y=!1,v=!1)=>{const{type:R,props:I,ref:E,children:T,dynamicChildren:w,shapeFlag:B,patchFlag:M,dirs:F}=u;if(E!=null&&Cr(E,null,_,u,!0),B&256){d.ctx.deactivate(u);return}const K=B&1&&F,Q=!Zt(u);let oe;if(Q&&(oe=I&&I.onVnodeBeforeUnmount)&&Me(oe,d,u),B&6)S(u.component,_,y);else{if(B&128){u.suspense.unmount(_,y);return}K&&mt(u,null,d,"beforeUnmount"),B&64?u.type.remove(u,d,_,v,X,y):w&&(R!==xe||M>0&&M&64)?N(w,d,_,!1,!0):(R===xe&&M&384||!v&&B&16)&&N(T,d,_),y&&Tt(u)}(Q&&(oe=I&&I.onVnodeUnmounted)||K)&&ye(()=>{oe&&Me(oe,d,u),K&&mt(u,null,d,"unmounted")},_)},Tt=u=>{const{type:d,el:_,anchor:y,transition:v}=u;if(d===xe){yn(_,y);return}if(d===Rn){k(u);return}const R=()=>{o(_),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(u.shapeFlag&1&&v&&!v.persisted){const{leave:I,delayLeave:E}=v,T=()=>I(_,R);E?E(u.el,R,T):T()}else R()},yn=(u,d)=>{let _;for(;u!==d;)_=h(u),o(u),u=_;o(d)},S=(u,d,_)=>{const{bum:y,scope:v,update:R,subTree:I,um:E}=u;y&&Mt(y),v.stop(),R&&(R.active=!1,Ee(I,u,d,_)),E&&ye(E,d),ye(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},N=(u,d,_,y=!1,v=!1,R=0)=>{for(let I=R;Iu.shapeFlag&6?O(u.component.subTree):u.shapeFlag&128?u.suspense.next():h(u.anchor||u.el),$=(u,d,_)=>{u==null?d._vnode&&Ee(d._vnode,null,null,!0):x(d._vnode||null,u,d,null,null,null,_),yo(),Ns(),d._vnode=u},X={p:x,um:Ee,m:Be,r:Tt,mt:we,mc:A,pc:ee,pbc:J,n:O,o:e};let ce,W;return t&&([ce,W]=t(X)),{render:$,hydrate:ce,createApp:hc($,ce)}}function _t({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Gs(e,t,n=!1){const r=e.children,o=t.children;if(D(r)&&D(o))for(let s=0;s>1,e[n[l]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const _c=e=>e.__isTeleport,xe=Symbol(void 0),Yn=Symbol(void 0),Ve=Symbol(void 0),Rn=Symbol(void 0),en=[];let De=null;function le(e=!1){en.push(De=e?null:[])}function yc(){en.pop(),De=en[en.length-1]||null}let fn=1;function To(e){fn+=e}function ei(e){return e.dynamicChildren=fn>0?De||Nt:null,yc(),fn>0&&De&&De.push(e),e}function pe(e,t,n,r,o,s){return ei(j(e,t,n,r,o,s,!0))}function jt(e,t,n,r,o){return ei(ge(e,t,n,r,o,!0))}function Mn(e){return e?e.__v_isVNode===!0:!1}function ut(e,t){return e.type===t.type&&e.key===t.key}const Xn="__vInternal",ti=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>e!=null?fe(e)||ae(e)||V(e)?{i:Ae,r:e,k:t,f:!!n}:e:null;function j(e,t=null,n=null,r=0,o=null,s=e===xe?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ti(t),ref:t&&Tn(t),scopeId:Wn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ae};return l?(eo(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=fe(n)?8:16),fn>0&&!i&&De&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&De.push(c),c}const ge=bc;function bc(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Vs)&&(e=Ve),Mn(e)){const l=nt(e,t,!0);return n&&eo(l,n),fn>0&&!s&&De&&(l.shapeFlag&6?De[De.indexOf(e)]=l:De.push(l)),l.patchFlag|=-2,l}if(Ac(e)&&(e=e.__vccOpts),t){t=Sc(t);let{class:l,style:c}=t;l&&!fe(l)&&(t.class=Qe(l)),se(c)&&(Es(c)&&!D(c)&&(c=ve({},c)),t.style=Ir(c))}const i=fe(e)?1:$s(e)?128:_c(e)?64:se(e)?4:V(e)?2:0;return j(e,t,n,r,o,i,s,!0)}function Sc(e){return e?Es(e)||Xn in e?ve({},e):e:null}function nt(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,l=t?wc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ti(l),ref:t&&t.ref?n&&o?D(o)?o.concat(Tn(t)):[o,Tn(t)]:Tn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function St(e=" ",t=0){return ge(Yn,null,e,t)}function vc(e,t){const n=ge(Rn,null,e);return n.staticCount=t,n}function dn(e="",t=!1){return t?(le(),jt(Ve,null,e)):ge(Ve,null,e)}function We(e){return e==null||typeof e=="boolean"?ge(Ve):D(e)?ge(xe,null,e.slice()):typeof e=="object"?lt(e):ge(Yn,null,String(e))}function lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function eo(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(D(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),eo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Xn in t)?t._ctx=Ae:o===3&&Ae&&(Ae.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:Ae},n=32):(t=String(t),r&64?(n=16,t=[St(t)]):n=8);e.children=t,e.shapeFlag|=n}function wc(...e){const t={};for(let n=0;nue||Ae,Dt=e=>{ue=e,e.scope.on()},Et=()=>{ue&&ue.scope.off(),ue=null};function ni(e){return e.vnode.shapeFlag&4}let hn=!1;function kc(e,t=!1){hn=t;const{props:n,children:r}=e.vnode,o=ni(e);lc(e,n,o,t),ac(e,r);const s=o?Rc(e,t):void 0;return hn=!1,s}function Rc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ht(new Proxy(e.ctx,tc));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Pc(e):null;Dt(e),Jt();const s=dt(r,e,0,[e.props,o]);if(Wt(),Et(),cs(s)){if(s.then(Et,Et),t)return s.then(i=>{Po(e,i,t)}).catch(i=>{zn(i,e,0)});e.asyncDep=s}else Po(e,s,t)}else ri(e,t)}function Po(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=Ps(t)),ri(e,n)}let Ao;function ri(e,t,n){const r=e.type;if(!e.render){if(!t&&Ao&&!r.render){const o=r.template||Zr(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:c}=r,a=ve(ve({isCustomElement:s,delimiters:l},i),c);r.render=Ao(o,a)}}e.render=r.render||Ke}Dt(e),Jt(),nc(e),Wt(),Et()}function Tc(e){return new Proxy(e.attrs,{get(t,n){return ke(e,"get","$attrs"),t[n]}})}function Pc(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Tc(e))},slots:e.slots,emit:e.emit,expose:t}}function Zn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ps(Ht(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Gt)return Gt[n](e)},has(t,n){return n in t||n in Gt}}))}function xr(e,t=!0){return V(e)?e.displayName||e.name:e.name||t&&e.__name}function Ac(e){return V(e)&&"__vccOpts"in e}const be=(e,t)=>El(e,t,hn);function oi(e,t,n){const r=arguments.length;return r===2?se(t)&&!D(t)?Mn(t)?ge(e,null,[t]):ge(e,t):ge(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Mn(n)&&(n=[n]),ge(e,t,n))}const Oc=Symbol(""),Ic=()=>Ye(Oc),Nc="3.2.47",Uc="http://www.w3.org/2000/svg",vt=typeof document<"u"?document:null,Oo=vt&&vt.createElement("template"),Mc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?vt.createElementNS(Uc,e):vt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>vt.createTextNode(e),createComment:e=>vt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Oo.innerHTML=r?`${e}`:e;const l=Oo.content;if(r){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function $c(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Lc(e,t,n){const r=e.style,o=fe(n);if(n&&!o){if(t&&!fe(t))for(const s in t)n[s]==null&&Er(r,s,"");for(const s in n)Er(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Io=/\s*!important$/;function Er(e,t,n){if(D(n))n.forEach(r=>Er(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Bc(e,t);Io.test(n)?e.setProperty(kt(r),n.replace(Io,""),"important"):e[r]=n}}const No=["Webkit","Moz","ms"],cr={};function Bc(e,t){const n=cr[t];if(n)return n;let r=Xe(t);if(r!=="filter"&&r in e)return cr[t]=r;r=Kn(r);for(let o=0;our||(Vc.then(()=>ur=0),ur=Date.now());function Jc(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$e(Wc(r,n.value),t,5,[r])};return n.value=e,n.attached=zc(),n}function Wc(e,t){if(D(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const $o=/^on[a-z]/,qc=(e,t,n,r,o=!1,s,i,l,c)=>{t==="class"?$c(e,r,o):t==="style"?Lc(e,n,r):Hn(t)?Nr(t)||Dc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qc(e,t,r,o))?Hc(e,t,r,s,i,l,c):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Fc(e,t,r,o))};function Qc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&$o.test(t)&&V(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||$o.test(t)&&fe(n)?!1:t in e}const Yc={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};jl.props;const $n=e=>{const t=e.props["onUpdate:modelValue"]||!1;return D(t)?n=>Mt(t,n):t};function Xc(e){e.target.composing=!0}function Lo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ln={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=$n(o);const s=r||o.props&&o.props.type==="number";wt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),s&&(l=hr(l)),e._assign(l)}),n&&wt(e,"change",()=>{e.value=e.value.trim()}),t||(wt(e,"compositionstart",Xc),wt(e,"compositionend",Lo),wt(e,"change",Lo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e._assign=$n(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&hr(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Zc={deep:!0,created(e,t,n){e._assign=$n(n),wt(e,"change",()=>{const r=e._modelValue,o=Gc(e),s=e.checked,i=e._assign;if(D(r)){const l=is(r,o),c=l!==-1;if(s&&!c)i(r.concat(o));else if(!s&&c){const a=[...r];a.splice(l,1),i(a)}}else if(jn(r)){const l=new Set(r);s?l.add(o):l.delete(o),i(l)}else i(si(e,s))})},mounted:Bo,beforeUpdate(e,t,n){e._assign=$n(n),Bo(e,t,n)}};function Bo(e,{value:t,oldValue:n},r){e._modelValue=t,D(t)?e.checked=is(t,r.props.value)>-1:jn(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Fn(t,si(e,!0)))}function Gc(e){return"_value"in e?e._value:e.value}function si(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const eu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},tu=(e,t)=>n=>{if(!("key"in n))return;const r=kt(n.key);if(t.some(o=>o===r||eu[o]===r))return e(n)},nu=ve({patchProp:qc},Mc);let Fo;function ru(){return Fo||(Fo=pc(nu))}const ou=(...e)=>{const t=ru().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=su(r);if(!o)return;const s=t._component;!V(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};function su(e){return fe(e)?document.querySelector(e):e}const Ie=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},iu={setup(){}},lu={class:"editor"};function cu(e,t,n,r,o,s){const i=Gl("router-view");return le(),pe("div",lu,[ge(i)])}const uu=Ie(iu,[["render",cu]]);/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const It=typeof window<"u";function au(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const G=Object.assign;function ar(e,t){const n={};for(const r in t){const o=t[r];n[r]=ze(o)?o.map(e):e(o)}return n}const tn=()=>{},ze=Array.isArray,fu=/\/$/,du=e=>e.replace(fu,"");function fr(e,t,n="/"){let r,o={},s="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return l=0&&(c=-1),c>-1&&(r=t.slice(0,c),s=t.slice(c+1,l>-1?l:t.length),o=e(s)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=mu(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function hu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ho(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function pu(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Kt(t.matched[r],n.matched[o])&&ii(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ii(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!gu(e[n],t[n]))return!1;return!0}function gu(e,t){return ze(e)?jo(e,t):ze(t)?jo(t,e):e===t}function jo(e,t){return ze(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function mu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,i;for(s=0;s1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var pn;(function(e){e.pop="pop",e.push="push"})(pn||(pn={}));var nn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(nn||(nn={}));function _u(e){if(!e)if(It){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),du(e)}const yu=/^[^#]+#/;function bu(e,t){return e.replace(yu,"#")+t}function Su(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Gn=()=>({left:window.pageXOffset,top:window.pageYOffset});function vu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Su(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Do(e,t){return(history.state?history.state.position-t:-1)+e}const kr=new Map;function wu(e,t){kr.set(e,t)}function Cu(e){const t=kr.get(e);return kr.delete(e),t}let xu=()=>location.protocol+"//"+location.host;function li(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let l=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(l);return c[0]!=="/"&&(c="/"+c),Ho(c,"")}return Ho(n,e)+r+o}function Eu(e,t,n,r){let o=[],s=[],i=null;const l=({state:h})=>{const m=li(e,location),C=n.value,x=t.value;let U=0;if(h){if(n.value=m,t.value=h,i&&i===C){i=null;return}U=x?h.position-x.position:0}else r(m);o.forEach(P=>{P(n.value,C,{delta:U,type:pn.pop,direction:U?U>0?nn.forward:nn.back:nn.unknown})})};function c(){i=n.value}function a(h){o.push(h);const m=()=>{const C=o.indexOf(h);C>-1&&o.splice(C,1)};return s.push(m),m}function f(){const{history:h}=window;h.state&&h.replaceState(G({},h.state,{scroll:Gn()}),"")}function p(){for(const h of s)h();s=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",f),{pauseListeners:c,listen:a,destroy:p}}function Ko(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Gn():null}}function ku(e){const{history:t,location:n}=window,r={value:li(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(c,a,f){const p=e.indexOf("#"),h=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+c:xu()+e+c;try{t[f?"replaceState":"pushState"](a,"",h),o.value=a}catch(m){console.error(m),n[f?"replace":"assign"](h)}}function i(c,a){const f=G({},t.state,Ko(o.value.back,c,o.value.forward,!0),a,{position:o.value.position});s(c,f,!0),r.value=c}function l(c,a){const f=G({},o.value,t.state,{forward:c,scroll:Gn()});s(f.current,f,!0);const p=G({},Ko(r.value,c,null),{position:f.position+1},a);s(c,p,!1),r.value=c}return{location:r,state:o,push:l,replace:i}}function Ru(e){e=_u(e);const t=ku(e),n=Eu(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=G({location:"",base:e,go:r,createHref:bu.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Tu(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Ru(e)}function Pu(e){return typeof e=="string"||e&&typeof e=="object"}function ci(e){return typeof e=="string"||typeof e=="symbol"}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ui=Symbol("");var Vo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Vo||(Vo={}));function Vt(e,t){return G(new Error,{type:e,[ui]:!0},t)}function Ze(e,t){return e instanceof Error&&ui in e&&(t==null||!!(e.type&t))}const zo="[^/]+?",Au={sensitive:!1,strict:!1,start:!0,end:!0},Ou=/[.+*?^${}()[\]/\\]/g;function Iu(e,t){const n=G({},Au,t),r=[];let o=n.start?"^":"";const s=[];for(const a of e){const f=a.length?[]:[90];n.strict&&!a.length&&(o+="/");for(let p=0;pt.length?t.length===1&&t[0]===40+40?1:-1:0}function Uu(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Mu={type:0,value:""},$u=/[a-zA-Z0-9_]/;function Lu(e){if(!e)return[[]];if(e==="/")return[[Mu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${a}": ${m}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let l=0,c,a="",f="";function p(){a&&(n===0?s.push({type:0,value:a}):n===1||n===2||n===3?(s.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:a,regexp:f,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function h(){a+=c}for(;l{i(g)}:tn}function i(f){if(ci(f)){const p=r.get(f);p&&(r.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&r.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function c(f){let p=0;for(;p=0&&(f.record.path!==n[p].record.path||!ai(f,n[p]));)p++;n.splice(p,0,f),f.record.name&&!qo(f)&&r.set(f.record.name,f)}function a(f,p){let h,m={},C,x;if("name"in f&&f.name){if(h=r.get(f.name),!h)throw Vt(1,{location:f});x=h.record.name,m=G(Wo(p.params,h.keys.filter(g=>!g.optional).map(g=>g.name)),f.params&&Wo(f.params,h.keys.map(g=>g.name))),C=h.stringify(m)}else if("path"in f)C=f.path,h=n.find(g=>g.re.test(C)),h&&(m=h.parse(C),x=h.record.name);else{if(h=p.name?r.get(p.name):n.find(g=>g.re.test(p.path)),!h)throw Vt(1,{location:f,currentLocation:p});x=h.record.name,m=G({},p.params,f.params),C=h.stringify(m)}const U=[];let P=h;for(;P;)U.unshift(P.record),P=P.parent;return{name:x,path:C,params:m,matched:U,meta:Du(U)}}return e.forEach(f=>s(f)),{addRoute:s,resolve:a,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Wo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Hu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:ju(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 ju(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function qo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Du(e){return e.reduce((t,n)=>G(t,n.meta),{})}function Qo(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ai(e,t){return t.children.some(n=>n===e||ai(e,n))}const fi=/#/g,Ku=/&/g,Vu=/\//g,zu=/=/g,Ju=/\?/g,di=/\+/g,Wu=/%5B/g,qu=/%5D/g,hi=/%5E/g,Qu=/%60/g,pi=/%7B/g,Yu=/%7C/g,gi=/%7D/g,Xu=/%20/g;function no(e){return encodeURI(""+e).replace(Yu,"|").replace(Wu,"[").replace(qu,"]")}function Zu(e){return no(e).replace(pi,"{").replace(gi,"}").replace(hi,"^")}function Rr(e){return no(e).replace(di,"%2B").replace(Xu,"+").replace(fi,"%23").replace(Ku,"%26").replace(Qu,"`").replace(pi,"{").replace(gi,"}").replace(hi,"^")}function Gu(e){return Rr(e).replace(zu,"%3D")}function ea(e){return no(e).replace(fi,"%23").replace(Ju,"%3F")}function ta(e){return e==null?"":ea(e).replace(Vu,"%2F")}function Bn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function na(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;os&&Rr(s)):[r&&Rr(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function ra(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ze(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const oa=Symbol(""),Xo=Symbol(""),ro=Symbol(""),mi=Symbol(""),Tr=Symbol("");function Qt(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function ct(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,l)=>{const c=p=>{p===!1?l(Vt(4,{from:n,to:t})):p instanceof Error?l(p):Pu(p)?l(Vt(2,{from:t,to:p})):(s&&r.enterCallbacks[o]===s&&typeof p=="function"&&s.push(p),i())},a=e.call(r&&r.instances[o],t,n,c);let f=Promise.resolve(a);e.length<3&&(f=f.then(c)),f.catch(p=>l(p))})}function dr(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let l=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(sa(l)){const a=(l.__vccOpts||l)[t];a&&o.push(ct(a,n,r,s,i))}else{let c=l();o.push(()=>c.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const f=au(a)?a.default:a;s.components[i]=f;const h=(f.__vccOpts||f)[t];return h&&ct(h,n,r,s,i)()}))}}return o}function sa(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Zo(e){const t=Ye(ro),n=Ye(mi),r=be(()=>t.resolve($t(e.to))),o=be(()=>{const{matched:c}=r.value,{length:a}=c,f=c[a-1],p=n.matched;if(!f||!p.length)return-1;const h=p.findIndex(Kt.bind(null,f));if(h>-1)return h;const m=Go(c[a-2]);return a>1&&Go(f)===m&&p[p.length-1].path!==m?p.findIndex(Kt.bind(null,c[a-2])):h}),s=be(()=>o.value>-1&&ua(n.params,r.value.params)),i=be(()=>o.value>-1&&o.value===n.matched.length-1&&ii(n.params,r.value.params));function l(c={}){return ca(c)?t[$t(e.replace)?"replace":"push"]($t(e.to)).catch(tn):Promise.resolve()}return{route:r,href:be(()=>r.value.href),isActive:s,isExactActive:i,navigate:l}}const ia=Hs({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:Zo,setup(e,{slots:t}){const n=Oe(Zo(e)),{options:r}=Ye(ro),o=be(()=>({[es(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[es(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:oi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),la=ia;function ca(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 ua(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!ze(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Go(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const es=(e,t,n)=>e??t??n,aa=Hs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ye(Tr),o=be(()=>e.route||r.value),s=Ye(Xo,0),i=be(()=>{let a=$t(s);const{matched:f}=o.value;let p;for(;(p=f[a])&&!p.components;)a++;return a}),l=be(()=>o.value.matched[i.value]);kn(Xo,be(()=>i.value+1)),kn(oa,l),kn(Tr,o);const c=je();return Bt(()=>[c.value,l.value,e.name],([a,f,p],[h,m,C])=>{f&&(f.instances[p]=a,m&&m!==f&&a&&a===h&&(f.leaveGuards.size||(f.leaveGuards=m.leaveGuards),f.updateGuards.size||(f.updateGuards=m.updateGuards))),a&&f&&(!m||!Kt(f,m)||!h)&&(f.enterCallbacks[p]||[]).forEach(x=>x(a))},{flush:"post"}),()=>{const a=o.value,f=e.name,p=l.value,h=p&&p.components[f];if(!h)return ts(n.default,{Component:h,route:a});const m=p.props[f],C=m?m===!0?a.params:typeof m=="function"?m(a):m:null,U=oi(h,G({},C,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(p.instances[f]=null)},ref:c}));return ts(n.default,{Component:U,route:a})||U}}});function ts(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const fa=aa;function da(e){const t=Fu(e.routes,e),n=e.parseQuery||na,r=e.stringifyQuery||Yo,o=e.history,s=Qt(),i=Qt(),l=Qt(),c=bl(st);let a=st;It&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=ar.bind(null,S=>""+S),p=ar.bind(null,ta),h=ar.bind(null,Bn);function m(S,N){let O,$;return ci(S)?(O=t.getRecordMatcher(S),$=N):$=S,t.addRoute($,O)}function C(S){const N=t.getRecordMatcher(S);N&&t.removeRoute(N)}function x(){return t.getRoutes().map(S=>S.record)}function U(S){return!!t.getRecordMatcher(S)}function P(S,N){if(N=G({},N||c.value),typeof S=="string"){const u=fr(n,S,N.path),d=t.resolve({path:u.path},N),_=o.createHref(u.fullPath);return G(u,d,{params:h(d.params),hash:Bn(u.hash),redirectedFrom:void 0,href:_})}let O;if("path"in S)O=G({},S,{path:fr(n,S.path,N.path).path});else{const u=G({},S.params);for(const d in u)u[d]==null&&delete u[d];O=G({},S,{params:p(S.params)}),N.params=p(N.params)}const $=t.resolve(O,N),X=S.hash||"";$.params=f(h($.params));const ce=hu(r,G({},S,{hash:Zu(X),path:$.path})),W=o.createHref(ce);return G({fullPath:ce,hash:X,query:r===Yo?ra(S.query):S.query||{}},$,{redirectedFrom:void 0,href:W})}function g(S){return typeof S=="string"?fr(n,S,c.value.path):G({},S)}function b(S,N){if(a!==S)return Vt(8,{from:N,to:S})}function k(S){return H(S)}function L(S){return k(G(g(S),{replace:!0}))}function q(S){const N=S.matched[S.matched.length-1];if(N&&N.redirect){const{redirect:O}=N;let $=typeof O=="function"?O(S):O;return typeof $=="string"&&($=$.includes("?")||$.includes("#")?$=g($):{path:$},$.params={}),G({query:S.query,hash:S.hash,params:"path"in $?{}:S.params},$)}}function H(S,N){const O=a=P(S),$=c.value,X=S.state,ce=S.force,W=S.replace===!0,u=q(O);if(u)return H(G(g(u),{state:typeof u=="object"?G({},X,u.state):X,force:ce,replace:W}),N||O);const d=O;d.redirectedFrom=N;let _;return!ce&&pu(r,$,O)&&(_=Vt(16,{to:d,from:$}),gt($,$,!0,!1)),(_?Promise.resolve(_):z(d,$)).catch(y=>Ze(y)?Ze(y,2)?y:Le(y):re(y,d,$)).then(y=>{if(y){if(Ze(y,2))return H(G({replace:W},g(y.to),{state:typeof y.to=="object"?G({},X,y.to.state):X,force:ce}),N||d)}else y=ne(d,$,!0,W,X);return J(d,$,y),y})}function A(S,N){const O=b(S,N);return O?Promise.reject(O):Promise.resolve()}function z(S,N){let O;const[$,X,ce]=ha(S,N);O=dr($.reverse(),"beforeRouteLeave",S,N);for(const u of $)u.leaveGuards.forEach(d=>{O.push(ct(d,S,N))});const W=A.bind(null,S,N);return O.push(W),At(O).then(()=>{O=[];for(const u of s.list())O.push(ct(u,S,N));return O.push(W),At(O)}).then(()=>{O=dr(X,"beforeRouteUpdate",S,N);for(const u of X)u.updateGuards.forEach(d=>{O.push(ct(d,S,N))});return O.push(W),At(O)}).then(()=>{O=[];for(const u of S.matched)if(u.beforeEnter&&!N.matched.includes(u))if(ze(u.beforeEnter))for(const d of u.beforeEnter)O.push(ct(d,S,N));else O.push(ct(u.beforeEnter,S,N));return O.push(W),At(O)}).then(()=>(S.matched.forEach(u=>u.enterCallbacks={}),O=dr(ce,"beforeRouteEnter",S,N),O.push(W),At(O))).then(()=>{O=[];for(const u of i.list())O.push(ct(u,S,N));return O.push(W),At(O)}).catch(u=>Ze(u,8)?u:Promise.reject(u))}function J(S,N,O){for(const $ of l.list())$(S,N,O)}function ne(S,N,O,$,X){const ce=b(S,N);if(ce)return ce;const W=N===st,u=It?history.state:{};O&&($||W?o.replace(S.fullPath,G({scroll:W&&u&&u.scroll},X)):o.push(S.fullPath,X)),c.value=S,gt(S,N,O,W),Le()}let me;function Re(){me||(me=o.listen((S,N,O)=>{if(!yn.listening)return;const $=P(S),X=q($);if(X){H(G(X,{replace:!0}),$).catch(tn);return}a=$;const ce=c.value;It&&wu(Do(ce.fullPath,O.delta),Gn()),z($,ce).catch(W=>Ze(W,12)?W:Ze(W,2)?(H(W.to,$).then(u=>{Ze(u,20)&&!O.delta&&O.type===pn.pop&&o.go(-1,!1)}).catch(tn),Promise.reject()):(O.delta&&o.go(-O.delta,!1),re(W,$,ce))).then(W=>{W=W||ne($,ce,!1),W&&(O.delta&&!Ze(W,8)?o.go(-O.delta,!1):O.type===pn.pop&&Ze(W,20)&&o.go(-1,!1)),J($,ce,W)}).catch(tn)}))}let we=Qt(),_e=Qt(),de;function re(S,N,O){Le(S);const $=_e.list();return $.length?$.forEach(X=>X(S,N,O)):console.error(S),Promise.reject(S)}function ee(){return de&&c.value!==st?Promise.resolve():new Promise((S,N)=>{we.add([S,N])})}function Le(S){return de||(de=!S,Re(),we.list().forEach(([N,O])=>S?O(S):N()),we.reset()),S}function gt(S,N,O,$){const{scrollBehavior:X}=e;if(!It||!X)return Promise.resolve();const ce=!O&&Cu(Do(S.fullPath,0))||($||!O)&&history.state&&history.state.scroll||null;return Vr().then(()=>X(S,N,ce)).then(W=>W&&vu(W)).catch(W=>re(W,S,N))}const Be=S=>o.go(S);let Ee;const Tt=new Set,yn={currentRoute:c,listening:!0,addRoute:m,removeRoute:C,hasRoute:U,getRoutes:x,resolve:P,options:e,push:k,replace:L,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:s.add,beforeResolve:i.add,afterEach:l.add,onError:_e.add,isReady:ee,install(S){const N=this;S.component("RouterLink",la),S.component("RouterView",fa),S.config.globalProperties.$router=N,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>$t(c)}),It&&!Ee&&c.value===st&&(Ee=!0,k(o.location).catch(X=>{}));const O={};for(const X in st)O[X]=be(()=>c.value[X]);S.provide(ro,N),S.provide(mi,Oe(O)),S.provide(Tr,c);const $=S.unmount;Tt.add(S),S.unmount=function(){Tt.delete(S),Tt.size<1&&(a=st,me&&me(),me=null,c.value=st,Ee=!1,de=!1),$()}}};return yn}function At(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function ha(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;iKt(a,l))?r.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>Kt(a,c))||o.push(c))}return[n,r,o]}var pa=!1;/*! + * pinia v2.0.33 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let _i;const er=e=>_i=e,yi=Symbol();function Pr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var rn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rn||(rn={}));function ga(){const e=ds(!0),t=e.run(()=>je({}));let n=[],r=[];const o=Ht({install(s){er(o),o._a=s,s.provide(yi,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!pa?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const bi=()=>{};function ns(e,t,n,r=bi){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&hs()&&Vi(o),o}function Ot(e,...t){e.slice().forEach(n=>{n(...t)})}function Ar(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Pr(o)&&Pr(r)&&e.hasOwnProperty(n)&&!ae(r)&&!ft(r)?e[n]=Ar(o,r):e[n]=r}return e}const ma=Symbol();function _a(e){return!Pr(e)||!e.hasOwnProperty(ma)}const{assign:it}=Object;function ya(e){return!!(ae(e)&&e.effect)}function ba(e,t,n,r){const{state:o,actions:s,getters:i}=t,l=n.state.value[e];let c;function a(){l||(n.state.value[e]=o?o():{});const f=pt(n.state.value[e]);return it(f,s,Object.keys(i||{}).reduce((p,h)=>(p[h]=Ht(be(()=>{er(n);const m=n._s.get(e);return i[h].call(m,m)})),p),{}))}return c=Si(e,a,t,n,r,!0),c}function Si(e,t,n={},r,o,s){let i;const l=it({actions:{}},n),c={deep:!0};let a,f,p=Ht([]),h=Ht([]),m;const C=r.state.value[e];!s&&!C&&(r.state.value[e]={}),je({});let x;function U(H){let A;a=f=!1,typeof H=="function"?(H(r.state.value[e]),A={type:rn.patchFunction,storeId:e,events:m}):(Ar(r.state.value[e],H),A={type:rn.patchObject,payload:H,storeId:e,events:m});const z=x=Symbol();Vr().then(()=>{x===z&&(a=!0)}),f=!0,Ot(p,A,r.state.value[e])}const P=s?function(){const{state:A}=n,z=A?A():{};this.$patch(J=>{it(J,z)})}:bi;function g(){i.stop(),p=[],h=[],r._s.delete(e)}function b(H,A){return function(){er(r);const z=Array.from(arguments),J=[],ne=[];function me(_e){J.push(_e)}function Re(_e){ne.push(_e)}Ot(h,{args:z,name:H,store:L,after:me,onError:Re});let we;try{we=A.apply(this&&this.$id===e?this:L,z)}catch(_e){throw Ot(ne,_e),_e}return we instanceof Promise?we.then(_e=>(Ot(J,_e),_e)).catch(_e=>(Ot(ne,_e),Promise.reject(_e))):(Ot(J,we),we)}}const k={_p:r,$id:e,$onAction:ns.bind(null,h),$patch:U,$reset:P,$subscribe(H,A={}){const z=ns(p,H,A.detached,()=>J()),J=i.run(()=>Bt(()=>r.state.value[e],ne=>{(A.flush==="sync"?f:a)&&H({storeId:e,type:rn.direct,events:m},ne)},it({},c,A)));return z},$dispose:g},L=Oe(k);r._s.set(e,L);const q=r._e.run(()=>(i=ds(),i.run(()=>t())));for(const H in q){const A=q[H];if(ae(A)&&!ya(A)||ft(A))s||(C&&_a(A)&&(ae(A)?A.value=C[H]:Ar(A,C[H])),r.state.value[e][H]=A);else if(typeof A=="function"){const z=b(H,A);q[H]=z,l.actions[H]=A}}return it(L,q),it(Y(L),q),Object.defineProperty(L,"$state",{get:()=>r.state.value[e],set:H=>{U(A=>{it(A,H)})}}),r._p.forEach(H=>{it(L,i.run(()=>H({store:L,app:r._a,pinia:r,options:l})))}),C&&s&&n.hydrate&&n.hydrate(L.$state,C),a=!0,f=!0,L}function Sa(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function i(l,c){const a=to();return l=l||a&&Ye(yi,null),l&&er(l),l=_i,l._s.has(r)||(s?Si(r,t,o,l):ba(r,o,l)),l._s.get(r)}return i.$id=r,i}const va=ga(),Rt=Sa("source",{state:()=>({url:localStorage.getItem("url")||"",bookSources:[],rssSources:[],currentSource:{},currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},deBugMsg:"",searchKey:""}),getters:{sources:e=>/bookSource/.test(location.href)?e.bookSources:e.rssSources},actions:{saveSources(e){/bookSource/.test(location.href)?this.bookSources=e:this.rssSources=e},deleteSources(e){let t=/bookSource/.test(location.href)?this.bookSources:this.rssSources;e.forEach(n=>{let r=t.indexOf(n);r>-1&&t.splice(r,1)})},saveCurrentSource(){let e=this.currentSource,t,n;/bookSource/.test(location.href)?(t=this.bookSources,n="bookSourceUrl"):(t=this.rssSources,n="sourceUrl");let r=t.findIndex(o=>o[n]===e[n]);e=JSON.parse(JSON.stringify(e)),r>-1?t.splice(r,1,e):t.push(e)},changeCurrentSource(e){const t=JSON.stringify(e);this.currentSource=JSON.parse(t)},changeCurrentSourceValue(e){let t=e.value,n={true:!0,false:!1};if(e.type==="Boolean"&&(t=n[t]),e.type==="Number"&&(t=Number(t)),e.key.includes("_")){let r=e.key.split("_")[0],o=e.key.split("_")[1],s={};s[o]=t,this.currentSource[r]=Object.assign(this.currentSource[r]||{},s)}else this.currentSource[e.key]=t;this.currentSource.lastUpdateTime=new Date().getTime(),/bookSource/.test(location.href)&&(this.currentSource.ruleToc=this.currentSource.ruleToc||{})},changeTabName(e){this.currentTab=e,localStorage.setItem("tabName",e)},changeEditTabSource(e){const t=JSON.stringify(e);this.editTabSource=JSON.parse(t)},editHistory(e){let t;if(localStorage.getItem("history"))t=JSON.parse(localStorage.getItem("history")),t.new.push(e),t.new.length>50&&t.new.shift(),t.old.length>50&&t.old.shift(),localStorage.setItem("history",JSON.stringify(t));else{const n={new:[e],old:[]};localStorage.setItem("history",JSON.stringify(n))}},editHistoryUndo(){if(localStorage.getItem("history")){let e=JSON.parse(localStorage.getItem("history"));e.old.push(this.currentSource),e.new.length&&(this.currentSource=e.new.pop()),localStorage.setItem("history",JSON.stringify(e))}},clearAllHistory(){localStorage.setItem("history",JSON.stringify({new:[],old:[]}))},clearEdit(){this.editTabSource={},this.currentSource={}},appendDeBugMsg(e){let t=document.querySelector("#debug_text");t.scrollTop=t.scrollHeight,this.deBugMsg+=e+` +`},clearDeBugMsg(){this.deBugMsg=""},clearAllSource(){this.bookSources=[],this.rssSources=[]}}});const wa={name:"editTab",setup(){const e=Rt(),t=Oe({source:""}),n=()=>{e.changeEditTabSource(JSON.parse(t.source))};return gn(()=>{let r=e.editTabSource;Object.keys(r).length>0?(r.lastUpdateTime=new Date().getTime(),t.source=JSON.stringify(r,null,4)):t.source=""}),{...pt(t),updateEditSource:n}}};function Ca(e,t,n,r,o,s){return an((le(),pe("textarea",{placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP","onUpdate:modelValue":t[0]||(t[0]=i=>e.source=i),onInput:t[1]||(t[1]=(...i)=>r.updateEditSource&&r.updateEditSource(...i))},null,544)),[[Ln,e.source]])}const xa=Ie(wa,[["render",Ca],["__scopeId","data-v-d8aca153"]]);const Ea={name:"editDebug",setup(){const e=Rt(),t=je(""),n=Oe({printDebug:e.deBugMsg,searchKey:""}),r=i=>{e.searchKey=i};gn(()=>{n.printDebug=e.deBugMsg});const o=()=>{document.querySelectorAll(".menu>button")[7].click()},s=be(()=>/bookSource/.test(window.location.href));return{...pt(n),textareaDom:t,changeSearch:r,startSearch:o,isBookSource:s}}};function ka(e,t,n,r,o,s){return le(),pe(xe,null,[r.isBookSource?an((le(),pe("input",{key:0,type:"text",style:{"text-align":"center",border:"1px solid #dddddd","border-radius":"4px"},placeholder:"输入搜索关键字,默认搜「我的」","onUpdate:modelValue":t[0]||(t[0]=i=>e.searchKey=i),onInput:t[1]||(t[1]=i=>r.changeSearch(e.searchKey)),onKeydown:t[2]||(t[2]=tu((...i)=>r.startSearch&&r.startSearch(...i),["enter"])),title:"输入关键词 enter(回车键)快捷搜索"},null,544)),[[Ln,e.searchKey]]):dn("",!0),an(j("textarea",{placeholder:"这里用于输出调试信息","onUpdate:modelValue":t[3]||(t[3]=i=>e.printDebug=i),ref:"textareaDom",id:"debug_text"},null,512),[[Ln,e.printDebug]])],64)}const Ra=Ie(Ea,[["render",ka],["__scopeId","data-v-d61c2689"]]);function oo(e,t){return fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then(n=>n.json())}function Ta(e){return fetch(e).then(t=>t.json())}function tr(e,t=!0){let n=/bookSource/.test(location.href);return`${`http://${localStorage.getItem("url")||location.host}/`}${e}${n?"BookSource":"RssSource"}${t?"s":""}`}function Pa(){return Ta(tr("get"))}function Aa(e){return oo(tr("save"),e)}function rs(e){return oo(tr("save",!1),e)}function Oa(e){return oo(tr("delete"),e)}const Ia={name:"editList",setup(){const e=Rt();let t=Oe({searchKey:"",delArr:[],sources:[]});const n=be(()=>c(t.sources,t.searchKey)),r=be(()=>/bookSource/.test(window.location.href));gn(()=>{t.sources=e.sources});let o=je(null);const s=h=>{o.value=h,e.clearEdit(),e.changeCurrentSource(n.value[h])},i=()=>{e.clearAllSource()},l=h=>{if(!h)return null;const m=new Date(h),C=m.getFullYear();let x=m.getMonth()+1;x=x<10?"0"+x:x;let U=m.getDate();U=U<10?"0"+U:U;let P=m.getHours();P=P<10?"0"+P:P;let g=m.getMinutes();g=g<10?"0"+g:g;let b=m.getSeconds();return b=b<10?"0"+b:b,C+"-"+x+"-"+U+" "+P+":"+g+":"+b},c=(h,m)=>m===""?t.sources:r.value?h.filter(C=>C.bookSourceName.toUpperCase().includes(m.toUpperCase())||(C.bookSourceGroup||"").toUpperCase().includes(m.toUpperCase())||C.bookSourceUrl.toUpperCase().includes(m.toUpperCase())):h.filter(C=>C.sourceName.toUpperCase().includes(m.toUpperCase())||(C.sourceGroup||"").toUpperCase().includes(m.toUpperCase())||C.sourceUrl.toUpperCase().includes(m.toUpperCase())),a=()=>{if(t.delArr.length===0)return!1;const h=[];t.delArr.forEach(m=>{h.push(n.value[m])}),Oa(h).then(m=>{m.isSuccess&&(e.deleteSources(h),t.delArr=[])})},f=()=>{const h=document.createElement("input");h.type="file",h.accept=".json",h.addEventListener("change",m=>{const C=m.target.files[0];var x=new FileReader;x.readAsText(C),x.onload=()=>{const U=JSON.parse(x.result);e.saveSources(U)}}),h.click()},p=()=>{const h=document.createElement("a");let m=e.sources,C=r.value?"BookSource":"RssSource";h.download=`${C}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let x=new Blob([JSON.stringify(m,null,4)],{type:"application/json"});h.href=window.URL.createObjectURL(x),h.click()};return{currentActive:o,isBookSource:r,filtedSources:n,deleteActiveSource:a,handleItemClick:s,...pt(t),formatTime:l,clearAllSources:i,upFile:f,outExport:p}}},Na={style:{display:"flex","flex-flow":"column"}},Ua={class:"tool"},Ma={class:"source_list"},$a=["value"],La={class:"book_index"},Ba=["onClick"],Fa={class:"book_info"},Ha={key:0};function ja(e,t,n,r,o,s){return le(),pe("div",Na,[an(j("input",{class:"search",type:"text",placeholder:"输入筛选关键词(源名称、源URL或源分组)输入自动筛选源","onUpdate:modelValue":t[0]||(t[0]=i=>e.searchKey=i),onFocus:t[1]||(t[1]=i=>e.delArr=[])},null,544),[[Ln,e.searchKey]]),j("div",null,[j("div",Ua,[j("button",{onClick:t[2]||(t[2]=(...i)=>r.upFile&&r.upFile(...i))},"导入书源文件"),j("button",{onClick:t[3]||(t[3]=(...i)=>r.outExport&&r.outExport(...i))},"导出书源文件"),j("button",{onClick:t[4]||(t[4]=(...i)=>r.deleteActiveSource&&r.deleteActiveSource(...i))},"删除选中源"),j("button",{onClick:t[5]||(t[5]=(...i)=>r.clearAllSources&&r.clearAllSources(...i))},"清空列表")]),j("div",Ma,[(le(!0),pe(xe,null,Xr(r.filtedSources,(i,l)=>(le(),pe("div",{key:i.bookSourceUrl||i.sourceUrl,class:Qe(["book_item",l===r.currentActive?"book_active":""])},[an(j("input",{type:"checkbox",value:l,"onUpdate:modelValue":t[6]||(t[6]=c=>e.delArr=c)},null,8,$a),[[Zc,e.delArr]]),j("div",La,et(l+1),1),j("div",{style:{"margin-left":"10px",flex:"1"},onClick:c=>r.handleItemClick(l)},[j("div",Fa,[j("span",null,et(i.bookSourceName||i.sourceName),1),r.isBookSource?(le(),pe("span",Ha,"最后修改:"+et(r.formatTime(i.lastUpdateTime)),1)):dn("",!0),j("span",null,"分组:"+et(i.bookSourceGroup||i.sourceGroup||"无分组"),1)]),j("div",null,et(i.bookSourceUrl||i.sourceUrl),1)],8,Ba)],2))),128))])])])}const Da=Ie(Ia,[["render",ja],["__scopeId","data-v-cf831c84"]]);const Ka={name:"editHelp"},Va=vc('书源制作教程xpath基础教程xpath高级教程正则表达式教程正则表达式在线验证工具
^$()[]{}.?+*| 这些是Java正则特殊符号,匹配需转义
(?s) 前缀表示跨行解析
(?m) 前缀表示逐行匹配
(?i) 前缀表示忽略大小写
',6);function za(e,t,n,r,o,s){return Va}const Ja=Ie(Ka,[["render",za],["__scopeId","data-v-0b73ba44"]]);const Wa={name:"editOut",components:{editDebug:Ra,editTab:xa,editList:Da,editHelp:Ja},setup(){const e=Rt(),t=Oe({url:localStorage.getItem("url")||"",current_tab:e.currentTab||"editTab"}),n=o=>{e.changeTabName(o)};gn(()=>{t.current_tab=e.currentTab});const r=()=>{document.querySelectorAll(".menu>button")[1].click()};return{...pt(t),handleSetActive:n,pullSource:r}}},qa={class:"out"};function Qa(e,t,n,r,o,s){return le(),pe("div",qa,[j("ul",null,[j("li",{class:Qe(e.current_tab==="editTab"?"active":""),onClick:t[0]||(t[0]=i=>r.handleSetActive("editTab"))}," 编辑源 ",2),j("li",{class:Qe(e.current_tab==="editDebug"?"active":""),onClick:t[1]||(t[1]=i=>r.handleSetActive("editDebug"))}," 调试源 ",2),j("li",{class:Qe(e.current_tab==="editList"?"active":""),onClick:t[2]||(t[2]=i=>r.handleSetActive("editList"))}," 源列表 ",2),j("li",{class:Qe(e.current_tab==="editHelp"?"active":""),onClick:t[3]||(t[3]=i=>r.handleSetActive("editHelp"))}," 帮助信息 ",2)]),(le(),jt(Kl,null,[(le(),jt(ec(e.current_tab)))],1024))])}const vi=Ie(Wa,[["render",Qa]]);const Ya={props:{text:{type:String,default:""},isShow:{type:Boolean,default:!1}},emits:["changeShow"],setup(e,{emit:t}){return setTimeout(()=>{t("changeShow",!e.isShow)},3e3),{}}},Xa={class:"success"};function Za(e,t,n,r,o,s){return le(),pe("div",Xa,[j("p",null,et(n.text),1)])}const wi=Ie(Ya,[["render",Za],["__scopeId","data-v-162bb8f8"]]);const Ga={name:"editWarm",props:{isShow:{default:!1,type:Boolean},text:{type:String,default:""}},setup(e,{emit:t}){return{changeShow:()=>{t("changeShow",!e.isShow)}}}},ef={key:0,class:"warm"};function tf(e,t,n,r,o,s){return n.isShow?(le(),pe("div",ef,[j("p",null,et(n.text),1),j("div",null,[j("button",{onClick:t[0]||(t[0]=(...i)=>r.changeShow&&r.changeShow(...i))},"关闭")])])):dn("",!0)}const Ci=Ie(Ga,[["render",tf],["__scopeId","data-v-cfdb9dd5"]]);const nf={name:"editLoading"},rf=e=>(Jr("data-v-ef02950c"),e=e(),Wr(),e),of={class:"fixed"},sf=rf(()=>j("div",{class:"half-circle-spinner"},[j("div",{class:"circle circle-1"}),j("div",{class:"circle circle-2"})],-1)),lf=[sf];function cf(e,t,n,r,o,s){return le(),pe("div",of,lf)}const xi=Ie(nf,[["render",cf],["__scopeId","data-v-ef02950c"]]);const uf={components:{editLoading:xi,editWarn:Ci,editSuccess:wi},setup(){const e=Rt(),t=je(!1),n=je(!1),r=je(""),o=je(!1),s=je(""),i=g=>{n.value=g},l=g=>{o.value=g},c=g=>{throw t.value=!1,n.value=!0,s.value=`请求发生了错误,请检查你的后端地址,填写是否正确,或者 阅读APP +确认开启web服务`,g},a=()=>{t.value=!0,Pa().then(g=>{t.value=!1,g.isSuccess?(e.changeTabName("editList"),e.saveSources(g.data),r.value=`成功拉取${g.data.length}条源`,o.value=!0):(s.value=g.errorMsg,n.value=!0)}).catch(g=>{c(g)})},f=()=>{r.value="正在推送中",o.value=!0,t.value=!0;let g=e.sources;Aa(g).then(b=>{if(b.isSuccess){let k=b.data;if(Array.isArray(k)){let L="";g.length>k.length&&(L=` +推送失败的源将用红色字体标注!`),r.value=`批量推送源到「阅读3.0APP」 +共计: ${g.length} 条 +成功: ${k.length} 条 +失败: ${g.length-k.length} 条${L}`,o.value=!0}else r.value=`批量推送源到「阅读3.0APP」成功! +共计: ${g.length} 条`,o.value=!0}else s.value=`批量推送源失败! +ErrorMsg: ${b.errorMsg}`,n.value=!0;t.value=!1}).catch(b=>{c(b)})},p=()=>{e.changeEditTabSource(e.currentSource),e.changeTabName("editTab")},h=()=>{e.changeCurrentSource(e.editTabSource)},m=()=>{e.editHistoryUndo()},C=()=>{e.clearEdit(),r.value="已清除",o.value=!0},x=()=>{e.clearEdit(),e.clearAllHistory(),r.value="已清除所有历史记录",o.value=!0},U=()=>{let g=/bookSource/.test(location.href),b=e.currentSource;g&&b.bookSourceUrl!==""&&b.bookSourceType!==""&&b.bookSourceName!==""||!g&&b.sourceUrl!==""&&b.sourceName!==""?rs(b).then(k=>{k.isSuccess?(r.value=`源《${g?b.bookSourceName:b.sourceName}》已成功保存到「阅读3.0APP」`,o.value=!0,e.saveCurrentSource()):(s.value=`源《${g?b.bookSourceName:b.sourceName}》保存失败! +ErrorMsg: ${k.errorMsg}`,n.value=!0)}).catch(k=>{c(k)}):(s.value="请检查<必填>项是否全部填写",n.value=!0)},P=()=>{t.value=!0,e.clearDeBugMsg(),e.changeTabName("editDebug");let g=/bookSource/.test(location.href),b=e.currentSource;rs(b).then(k=>{let L="ws://"+(localStorage.getItem("url")||location.host).replace(/\d+$/,z=>parseInt(z)+1)+"/"+(g?"bookSourceDebug":"rssSourceDebug");const q=new WebSocket(L);let H="",A=g?b.bookSourceUrl:b.sourceUrl;g&&(b.ruleSearch.checkKeyWord?H=b.ruleSearch.checkKeyWord:e.searchKey?H=e.searchKey:H="我的"),q.onopen=()=>{q.send(`{"tag":"${A}", "key":"${H}"}`)},q.onmessage=z=>{e.appendDeBugMsg(z.data)},q.onclose=()=>{t.value=!1,r.value="调试已关闭!",o.value=!0,e.appendDeBugMsg("调试已关闭!")}}).catch(k=>{c(k)})};return mn(()=>{document.onkeydown=g=>{(g.ctrlKey||g.metaKey)&&g.key==="Enter"&&P(),(g.ctrlKey||g.metaKey)&&g.key==="s"&&(U(),g.preventDefault()),g.ctrlKey&&g.key==="e"&&(p(),g.preventDefault()),g.ctrlKey&&g.key==="p"&&(f(),g.preventDefault())}}),{debug:P,push:f,pull:a,clearEdit:C,showLoading:t,changeShow:i,warnShow:n,successText:r,changeSuccessShow:l,successShow:o,undo:m,redo:x,conver2Tab:p,conver2Source:h,warnText:s,saveSource:U}}},_n=e=>(Jr("data-v-138678d8"),e=e(),Wr(),e),af={class:"menu"},ff=_n(()=>j("span",null,"Ctrl+P",-1)),df=_n(()=>j("span",null,"Ctrl+E",-1)),hf=_n(()=>j("span",null,"Ctrl+Z",-1)),pf=_n(()=>j("span",null,"Ctrl+Enter",-1)),gf=_n(()=>j("span",null,"Ctrl+S",-1));function mf(e,t,n,r,o,s){const i=xi,l=Ci,c=wi;return le(),pe("div",af,[j("div",null,[r.showLoading?(le(),jt(i,{key:0})):dn("",!0),ge(l,{text:r.warnText,"is-show":r.warnShow,onChangeShow:r.changeShow},null,8,["text","is-show","onChangeShow"]),r.successShow?(le(),jt(c,{key:1,isShow:r.successShow,onChangeShow:r.changeSuccessShow,text:r.successText},null,8,["isShow","onChangeShow","text"])):dn("",!0)]),j("button",{onClick:t[0]||(t[0]=(...a)=>r.push&&r.push(...a)),title:"Ctrl+P"},[St("⇈推送源 "),ff]),j("button",{onClick:t[1]||(t[1]=(...a)=>r.pull&&r.pull(...a))},"⇊拉取源"),j("button",{onClick:t[2]||(t[2]=(...a)=>r.conver2Tab&&r.conver2Tab(...a)),title:"Ctrl+E"},[St(" ⋙生成源"),df]),j("button",{onClick:t[3]||(t[3]=(...a)=>r.conver2Source&&r.conver2Source(...a))},"⋘编辑源"),j("button",{onClick:t[4]||(t[4]=(...a)=>r.clearEdit&&r.clearEdit(...a))},"✗清空表单"),j("button",{onClick:t[5]||(t[5]=(...a)=>r.undo&&r.undo(...a)),title:"Ctrl+Z"},[St("↶撤销操作"),hf]),j("button",{onClick:t[6]||(t[6]=(...a)=>r.redo&&r.redo(...a))},"↷重做操作"),j("button",{onClick:t[7]||(t[7]=(...a)=>r.debug&&r.debug(...a)),title:"Ctrl+Enter"},[St(" ⇏调试源 "),pf]),j("button",{onClick:t[8]||(t[8]=(...a)=>r.saveSource&&r.saveSource(...a)),title:"Ctrl+S"},[St(" ✓保存源"),gf])])}const Ei=Ie(uf,[["render",mf],["__scopeId","data-v-138678d8"]]);let Ue;const _f=` + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important +`,yf=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function bf(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),o=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:yf.map(i=>`${i}:${t.getPropertyValue(i)}`).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}function Sf(e,t=1,n=null){Ue||(Ue=document.createElement("textarea"),document.body.appendChild(Ue));let{paddingSize:r,borderSize:o,boxSizing:s,contextStyle:i}=bf(e);Ue.setAttribute("style",`${i};${_f}`),Ue.value=e.value||e.placeholder||"";let l=Ue.scrollHeight;const c={};s==="border-box"?l=l+o:s==="content-box"&&(l=l-r),Ue.value="";let a=Ue.scrollHeight-r;if(t!==null){let f=a*t;s==="border-box"&&(f=f+r+o),l=Math.max(f,l),c.minHeight=`${f}px`}if(n!==null){let f=a*n;s==="border-box"&&(f=f+r+o),l=Math.min(f,l)}return c.height=`${l}px`,Ue.parentNode&&Ue.parentNode.removeChild(Ue),Ue=null,c}const vf={props:{title:{type:String,default:""},rows:{type:Number,default:1},hint:{type:String,default:""},id:{type:String,default:""},type:{type:String,default:"String"},content:{type:[String,Number,Boolean],default:""}},emits:["changeContent"],setup(e,{emit:t}){const n=Rt(),r=je(""),o=()=>{t("changeContent",{value:r.value.value,key:r.value.getAttribute("id"),type:r.value.getAttribute("class")}),l()},s=()=>{localStorage.getItem("history")||localStorage.setItem("history",JSON.stringify({new:[],old:[]}));const a=JSON.parse(localStorage.getItem("history")).new;if(a.length){const f=r.value.getAttribute("id");if(!f.includes("_")&&a[a.length-1][f]!==n.currentSource[f])n.editHistory(n.currentSource);else if(f.includes("_")){let p=f.split("_")[0],h=f.split("_")[1];a[a.length-1][p][h]!==n.currentSource[p][h]&&n.editHistory(n.currentSource)}}else n.editHistory(n.currentSource)},i=()=>r.value.style="",l=()=>{r.value.style.height=Sf(r.value).height};return{changeHistory:s,change:o,attr:r,adjustHeight:l,restoreHeight:i}}},wf=e=>(Jr("data-v-d16eba09"),e=e(),Wr(),e),Cf={class:"edit_input"},xf=wf(()=>j("i",null,":",-1)),Ef=["id","placeholder","rows","value"];function kf(e,t,n,r,o,s){return le(),pe("div",Cf,[j("span",null,[St(et(n.title),1),xf]),j("textarea",{id:n.id,class:Qe(n.type),placeholder:n.hint,rows:n.rows,value:n.content,ref:"attr",onInput:t[0]||(t[0]=(...i)=>r.change&&r.change(...i)),onBlur:t[1]||(t[1]=i=>{r.changeHistory(),r.restoreHeight()}),onFocus:t[2]||(t[2]=(...i)=>r.adjustHeight&&r.adjustHeight(...i))},null,42,Ef)])}const ki=Ie(vf,[["render",kf],["__scopeId","data-v-d16eba09"]]);function Rf(){const e=Rt(),t=Oe({currentSource:e.currentSource}),n=o=>{e.changeCurrentSourceValue(o)},r=o=>{try{if(o.includes("_")){let s=o.split("_")[0],i=o.split("_")[1],l=t.currentSource[s];return l?l[i]:null}else return t.currentSource[o]}catch{e.commit("clearEdit")}};return gn(()=>{t.currentSource=e.currentSource}),{...pt(t),upData:n,getContent:r}}const Tf={name:"editInputList",props:{data:{type:Array,required:!0}},components:{editInput:ki},setup(e){const{upData:t,getContent:n}=Rf(),r=Oe({data:e.data});return{...pt(r),upData:t,getContent:n}}},Pf={class:"main"};function Af(e,t,n,r,o,s){const i=ki;return le(),pe("div",Pf,[(le(!0),pe(xe,null,Xr(n.data,(l,c)=>(le(),jt(i,{key:c,id:l.id,type:l.type,hint:l.hint,title:l.title,rows:l.rows,content:r.getContent(l.id),onChangeContent:r.upData},null,8,["id","type","hint","title","rows","content","onChangeContent"]))),128))])}const Ri=Ie(Tf,[["render",Af]]),Of={base:{name:"基础",children:[{title:"源域名",rows:1,id:"bookSourceUrl",type:"String",hint:"<必填>通常填写网站主页,例: https://www.qidian.com"},{title:"源类型",rows:1,id:"bookSourceType",type:"Number",hint:"<必填>0:文本 1:音频 2:图片 3:文件(只提供下载的网站)"},{title:"源名称",rows:1,id:"bookSourceName",type:"String",hint:"<必填>会显示在源列表"},{title:"源分组",rows:1,id:"bookSourceGroup",type:"String",hint:"<选填>描述源的特征信息"},{title:"源注释",rows:1,id:"bookSourceComment",type:"String",hint:"<选填>描述源作者和状态"},{title:"书源变量",rows:1,id:"variableComment",type:"String",hint:"<选填>书源变量说明"},{title:"登录地址",rows:1,id:"loginUrl",type:"String",hint:"<选填>填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",rows:3,id:"loginUi",type:"String",hint:"<选填>自定义登录界面"},{title:"登录检测",rows:3,id:"loginCheckJs",type:"String",hint:"<选填>登录检测js"},{title:"封面解密",rows:3,id:"coverDecodeJs",type:"String",hint:"<选填>封面解密js"},{title:"并发率",rows:1,id:"concurrentRate",type:"String",hint:"<选填>并发率"},{title:"请求头",rows:3,id:"header",type:"String",hint:"<选填>客户端标识"},{title:"链接验证",rows:1,id:"bookUrlPattern",type:"String",hint:"<选填>当详情页URL与源URL的域名不一致时有效,用于添加网址"}]},search:{name:"搜索",children:[{title:"搜索地址",rows:1,id:"searchUrl",type:"String",hint:"[域名可省略]/search.php@kw={{key}}"},{title:"校验文字",rows:1,id:"ruleSearch_checkKeyWord",type:"String",hint:"校验关键字"},{title:"列表规则",rows:1,id:"ruleSearch_bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",rows:1,id:"ruleSearch_name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",rows:1,id:"ruleSearch_author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",rows:1,id:"ruleSearch_kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",rows:1,id:"ruleSearch_wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",rows:1,id:"ruleSearch_lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",rows:1,id:"ruleSearch_intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",rows:1,id:"ruleSearch_coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",rows:1,id:"ruleSearch_bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},find:{name:"发现",children:[{title:"发现地址",rows:6,id:"exploreUrl",type:"String",hint:`内容能显示在发现菜单 +每行一条发现分类(网址域名可省略),例: +名称1::网址(Url)1 +名称2::网址(Url)2 +...`},{title:"列表规则",rows:1,id:"ruleExplore_bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",rows:1,id:"ruleExplore_name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",rows:1,id:"ruleExplore_author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",rows:1,id:"ruleExplore_kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",rows:1,id:"ruleExplore_wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",rows:1,id:"ruleExplore_lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",rows:1,id:"ruleExplore_intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",rows:1,id:"ruleExplore_coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",rows:1,id:"ruleExplore_bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},detail:{name:"详情",children:[{title:"预处理",rows:3,id:"ruleBookInfo_init",type:"String",hint:"用于加速详情信息检索,只支持AllInOne规则"},{title:"书名规则",rows:1,id:"ruleBookInfo_name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",rows:1,id:"ruleBookInfo_author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",rows:1,id:"ruleBookInfo_kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",rows:1,id:"ruleBookInfo_wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",rows:1,id:"ruleBookInfo_lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",rows:1,id:"ruleBookInfo_intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",rows:1,id:"ruleBookInfo_coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"目录地址",rows:1,id:"ruleBookInfo_tocUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url, 与详情页相同时可省略)"},{title:"下载URL",rows:1,id:"ruleBookInfo_downloadUrls",type:"String",hint:"文件类书源下载地址 (规则结果为String类型的url, 多个链接返回数组)"},{title:"修改书籍",rows:1,id:"ruleBookInfo_canReName",type:"String",hint:"允许修改书名作者(规则结果为String类型, 默认不允许)"}]},directory:{name:"目录",children:[{title:"更新前JS",rows:3,id:"ruleToc_preUpdateJs",type:"String",hint:"更新前JS 动态更新书籍目录链接"},{title:"列表规则",rows:3,id:"ruleToc_chapterList",type:"String",hint:"选择目录列表的章节节点 (规则结果为List)"},{title:"章节名称",rows:1,id:"ruleToc_chapterName",type:"String",hint:"选择章节名称 (规则结果为String)"},{title:"章节地址",rows:1,id:"ruleToc_chapterUrl",type:"String",hint:"选择章节链接 (规则结果为String类型的Url)"},{title:"卷名标识",rows:1,id:"ruleToc_isVolume",type:"String",hint:"章节名称是否是卷名 (规则结果为Bool)"},{title:"收费标识",rows:1,id:"ruleToc_isVip",type:"String",hint:"章节是否为VIP章节 (规则结果为Bool)"},{title:"购买标识",rows:1,id:"ruleToc_isPay",type:"String",hint:"章节是否为已购买 (规则结果为Bool)"},{title:"章节信息",rows:1,id:"ruleToc_updateTime",type:"String",hint:"选择章节信息 (规则结果为String)"},{title:"翻页规则",rows:1,id:"ruleToc_nextTocUrl",type:"String",hint:"选择目录下一页链接 (规则结果为List或String)"}]},content:{name:"正文",children:[{title:"脚本注入",rows:3,id:"ruleContent_webJs",type:"String",hint:"注入javascript,用于模拟鼠标点击等,必须有返回值,一般为String类型"},{title:"正文规则",rows:1,id:"ruleContent_content",type:"String",hint:"选择正文内容 (规则结果为String)"},{title:"翻页规则",rows:1,id:"ruleContent_nextContentUrl",type:"String",hint:"选择下一分页(不是下一章)链接 (规则结果为String类型的Url)"},{title:"资源正则",rows:1,id:"ruleContent_sourceRegex",type:"String",hint:"匹配资源的url特征,用于嗅探"},{title:"替换规则",rows:1,id:"ruleContent_replaceRegex",type:"String",hint:"多页内容合并后替换,用于正文净化"},{title:"图片样式",rows:1,id:"ruleContent_imageStyle",type:"String",hint:"FULL:铺满 不填:默认样式"},{title:"购买操作",rows:1,id:"ruleContent_payAction",type:"String",hint:"填写JavaScript 返回购买链接或者调用购买接口"},{title:"图片解密",rows:1,id:"ruleContent_imageDecode",type:"String",hint:"填写JavaScript 返回解密图片的bytes "}]},review:{name:"段评",children:[{title:"段评URL",rows:1,id:"ruleReview_reviewUrl",type:"String",hint:"段评URL"},{title:"发布头像",rows:1,id:"ruleReview_avatarRule",type:"String",hint:"段评发布者头像"},{title:"段评内容",rows:1,id:"ruleReview_contentRule",type:"String",hint:"段评内容"},{title:"发布时间",rows:1,id:"ruleReview_postTimeRule",type:"String",hint:"段评发布时间"},{title:"回复URL",rows:1,id:"ruleReview_reviewQuoteUrl",type:"String",hint:"获取段评回复URL"},{title:"点赞URL",rows:1,id:"ruleReview_voteUpUrl",type:"String",hint:"点赞URL"},{title:"点踩URL",rows:1,id:"ruleReview_voteDownUrl",type:"String",hint:"点踩URL"},{title:"发送回复",rows:1,id:"ruleReview_postReviewUrl",type:"String",hint:"发送回复URL"},{title:"回复段评",rows:1,id:"ruleReview_postQuoteUrl",type:"String",hint:"发送回复段评URL"},{title:"删除段评",rows:1,id:"ruleReview_deleteUrl",type:"String",hint:"删除段评URL"}]},other:{name:"其他",children:[{title:"启用搜索",rows:1,id:"enabled",type:"Boolean",hint:"启用: true 关闭: false (可选,默认true)"},{title:"启用发现",rows:1,id:"enabledExplore",type:"Boolean",hint:"启用: true 关闭: false (可选,默认true)"},{title:"启用段评",rows:1,id:"enabledReview",type:"Boolean",hint:"启用: true 关闭: false (可选,默认false)"},{title:"Cookie",rows:1,id:"enabledCookieJar",type:"Boolean",hint:"保存返回头的Cookie 启用: true 关闭: false (可选,默认false)"},{title:"搜索权重",rows:1,id:"weight",type:"Number",hint:"整数: 0~N (可选,默认0) | 数字越大越靠前"},{title:"排序编号",rows:1,id:"customOrder",type:"Number",hint:"整数: 0~N (可选,默认0) | 数字越小越靠前"}]}},If={base:{name:"基础",children:[{title:"源域名",rows:1,id:"sourceUrl",type:"String",hint:"<必填>通常填写网站主页,例: https://www.qidian.com"},{title:"图标",rows:1,id:"sourceIcon",type:"String",hint:"<选填>填写图片网络链接"},{title:"源名称",rows:1,id:"sourceName",type:"String",hint:"<必填>会显示在源列表"},{title:"源分组",rows:1,id:"sourceGroup",type:"String",hint:"<选填>描述源的特征信息"},{title:"源注释",rows:1,id:"sourceComment",type:"String",hint:"<选填>描述源作者和状态"},{title:"分类地址",rows:3,id:"sortUrl",type:"String",hint:`<选填>名称1::链接1 +名称2::链接2`},{title:"登录地址",rows:1,id:"loginUrl",type:"String",hint:"<选填>填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",rows:3,id:"loginUi",type:"String",hint:"<选填>自定义登录界面"},{title:"登录检测",rows:3,id:"loginCheckJs",type:"String",hint:"<选填>登录检测js"},{title:"封面解密",rows:3,id:"coverDecodeJs",type:"String",hint:"<选填>封面解密js"},{title:"请求头",rows:3,id:"header",type:"String",hint:"<选填>客户端标识"},{title:"变量说明",rows:1,id:"variableComment",type:"String",hint:"<选填>源变量说明"},{title:"并发率",rows:1,id:"concurrentRate",type:"String",hint:"<选填>并发率"}]},list:{name:"列表",children:[{title:"列表样式",rows:1,id:"articleStyle",type:"Number",hint:"<选填>0,1,2 (默认0)"},{title:"列表规则",rows:1,id:"ruleArticles",type:"String",hint:"规则结果为List"},{title:"翻页规则",rows:1,id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List或String"},{title:"标题规则",rows:1,id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",rows:1,id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",rows:1,id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",rows:1,id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",rows:1,id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"启用JS",rows:1,id:"enableJs",type:"Number",hint:"启用: true 关闭: false (可选,默认true)"},{title:"加载地址",rows:1,id:"loadWithBaseUrl",type:"Number",hint:"启用: true 关闭: false (可选,默认true)"},{title:"内容规则",rows:1,id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",rows:3,id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",rows:3,id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",rows:1,id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",rows:1,id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"}]},other:{name:"其他",children:[{title:"启用",rows:1,id:"enabled",type:"Boolean",hint:"启用: true 关闭: false (可选,默认true)"},{title:"Cookie",rows:1,id:"enabledCookieJar",type:"Boolean",hint:"保存返回头的Cookie 启用: true 关闭: false (可选,默认false)"},{title:"单URL",rows:1,id:"singleUrl",type:"Boolean",hint:"启用: true 关闭: false (可选,默认false)"},{title:"排序编号",rows:1,id:"customOrder",type:"Number",hint:"整数: 0~N (可选,默认0) | 数字越小越靠前"}]}};const Nf={components:{editMenu:Ei,editOut:vi,editInputList:Ri},setup(){const e=Oe({config:{},selectTabKey:"base"});/bookSource/.test(location.href)?(e.config=Of,document.title="书源编辑"):(e.config=If,document.title="订阅源编辑");const t=r=>e.selectTabKey=r,n=be(()=>e.config[e.selectTabKey].children);return mn(()=>{}),{...pt(e),changeSelectTabKey:t,currentTabData:n}}},Uf={class:"left"},Mf=["onClick"];function $f(e,t,n,r,o,s){const i=Ri,l=Ei,c=vi;return le(),pe(xe,null,[j("div",Uf,[j("div",null,[j("ul",null,[(le(!0),pe(xe,null,Xr(Object.entries(e.config),([a,f])=>(le(),pe("li",{onClick:p=>r.changeSelectTabKey(a),key:a,class:Qe(a===e.selectTabKey?"active":"")},et(f.name),11,Mf))),128))])]),ge(i,{data:r.currentTabData},null,8,["data"])]),ge(l),ge(c)],64)}const os=Ie(Nf,[["render",$f],["__scopeId","data-v-e9dfd270"]]),Lf=[{path:"/bookSource",name:"book-home",component:os},{path:"/rssSource",name:"rss-home",component:os}],Bf=da({history:Tu(),routes:Lf});ou(uu).use(va).use(Bf).mount("#app"); diff --git a/app/src/main/assets/web/source/assets/index-ed8d6ebc.css b/app/src/main/assets/web/source/assets/index-ed8d6ebc.css new file mode 100644 index 000000000000..3adc1167766e --- /dev/null +++ b/app/src/main/assets/web/source/assets/index-ed8d6ebc.css @@ -0,0 +1 @@ +.editor{display:flex;align-items:stretch;height:100vh}.left{width:calc(50% - 55px);min-width:500px;display:inline-block}.main{width:100%;height:calc(100vh - 64px);overflow-y:auto}textarea{min-height:20px;flex:1;outline:none;border-radius:4px;border:#ccc 1px solid;font-size:14px;font-family:Cascadia,Microsoft YaHei UI,Arial,serif;line-height:20px;padding:10px}textarea[data-v-d8aca153]{font-size:14px}input[data-v-d61c2689]{outline:none;height:25px;font-size:16px}textarea[data-v-d61c2689]{font-size:14px}.search[data-v-cf831c84]{border:1px solid #dddddd;border-radius:4px}input[data-v-cf831c84]{text-align:center;font-size:16px;height:25px;outline:none}.tool[data-v-cf831c84]{display:flex;justify-content:space-around;padding:4px 0}.tool button[data-v-cf831c84]{border-radius:4px;padding:5px;outline:none;border:none;flex:1;margin:0 2px}.tool button[data-v-cf831c84]:hover{background-color:#ddd}input[type=checkbox][data-v-cf831c84]{transform:scale(2);margin:0 15px}.book_item[data-v-cf831c84]{overflow:hidden;display:flex;align-items:center;margin-top:10px;padding:10px;cursor:pointer;background-color:#eee}.book_active[data-v-cf831c84]{background-color:#32cd32}.book_index[data-v-cf831c84]{width:auto;height:30px;text-align:center;line-height:30px;border-radius:8px;padding:0 10px;background-color:#ffb6c1}.book_info[data-v-cf831c84]{display:flex;justify-content:space-between}.source_list[data-v-cf831c84]{height:calc(100vh - 125px);overflow-y:auto}a[data-v-0b73ba44]{display:block;height:25px;transition:margin-left .3s ease}a[data-v-0b73ba44]:hover{color:red;margin-left:10px}code[data-v-0b73ba44]{display:inline-block;font-size:16px;font-family:Cascadia Mono,JetBrains Mono,Microsoft YaHei UI,serif;background-color:#f3f4f4;border-radius:4px}.author[data-v-0b73ba44]{position:fixed;right:20px;bottom:20px}.author a[data-v-0b73ba44]{padding:5px 10px;border-radius:4px}.author a[data-v-0b73ba44]:hover{box-shadow:0 0 3px 3px #ccc;background-color:#ddd}.out{min-width:620px;flex:1;display:flex;flex-flow:column}.out .box{display:flex;flex:1;flex-flow:column}.success[data-v-162bb8f8]{z-index:3;position:fixed;top:100px;left:50%;transform:translate(-50%);background-color:#7fffd4;padding:10px;border-radius:8px;color:#333}p[data-v-162bb8f8]{margin:0}.warm[data-v-cfdb9dd5]{position:fixed;top:100px;left:50%;transform:translate(-50%);color:#eee;background-color:#ff1d5e;padding:20px;border-radius:8px;font-size:18px;z-index:100}button[data-v-cfdb9dd5]{float:right;width:70px;height:35px;outline:none;border:unset;border-radius:8px;font-size:14px;transition:background-color .3s ease}button[data-v-cfdb9dd5]:hover{color:#333;background-color:#7fffd4}.fixed[data-v-ef02950c]{position:fixed;top:100px;left:50%;transform:translate(-50%)}.half-circle-spinner[data-v-ef02950c],.half-circle-spinner *[data-v-ef02950c]{box-sizing:border-box}.half-circle-spinner[data-v-ef02950c]{width:60px;height:60px;border-radius:100%;position:relative}.half-circle-spinner .circle[data-v-ef02950c]{content:"";position:absolute;width:100%;height:100%;border-radius:100%;border:6px solid transparent}.half-circle-spinner .circle.circle-1[data-v-ef02950c]{border-top-color:#ff1d5e;animation:half-circle-spinner-animation-ef02950c 1s infinite}.half-circle-spinner .circle.circle-2[data-v-ef02950c]{border-bottom-color:#ff1d5e;animation:half-circle-spinner-animation-ef02950c 1s infinite alternate}@keyframes half-circle-spinner-animation-ef02950c{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.menu{display:flex;flex-direction:column;justify-content:center}button[data-v-138678d8]{width:100px;height:50px;margin:5px;outline:none;padding:10px;font-size:16px;border-radius:4px;box-sizing:border-box;border:#333333 solid 1px;background-color:transparent;transition:all .3s ease;overflow:hidden}button span[data-v-138678d8]{display:inline-block;transform:translateY(20px);opacity:0;font-size:12px;transition:all .3s ease}button[data-v-138678d8]:hover{color:#fff;background-color:gray}button:hover span[data-v-138678d8]{transform:translateY(0);opacity:1}span[data-v-d16eba09]{display:flex;justify-content:space-around;width:70px;white-space:nowrap}span i[data-v-d16eba09]{font-style:normal}.edit_input[data-v-d16eba09]{display:flex;justify-content:space-between;align-items:center;margin:10px 5px}a{text-decoration:none;color:#333}ul,body{margin:0;padding:0}ul{width:100%;height:40px;display:flex}ul li{display:block;text-align:center;line-height:40px;width:16%;list-style:none;cursor:pointer}ul li:hover{color:red}.active{color:#fff!important;background-color:#80808075;border-bottom:unset!important}ul li[data-v-e9dfd270]{border-bottom:#333333 2px solid}a[data-v-e9dfd270]{font-size:18px;color:#00f} diff --git a/app/src/main/assets/web/source/css/app.b57b5dad.css b/app/src/main/assets/web/source/css/app.b57b5dad.css deleted file mode 100644 index 4aa127c17a8b..000000000000 --- a/app/src/main/assets/web/source/css/app.b57b5dad.css +++ /dev/null @@ -1 +0,0 @@ -.editor{display:flex;align-items:stretch;height:100vh}.left{width:calc(50% - 55px);min-width:500px;display:inline-block}.main{width:100%;height:calc(100vh - 64px);overflow-y:auto}textarea{min-height:20px;flex:1;outline:none;border-radius:4px;border:1px solid #ccc;font-size:14px;font-family:Cascadia,Microsoft YaHei UI,Arial,serif;line-height:20px;padding:10px 10px 10px}.fixed[data-v-ab8a8a34]{position:fixed;top:100px;left:50%;transform:translateX(-50%)}.half-circle-spinner [data-v-ab8a8a34],.half-circle-spinner[data-v-ab8a8a34]{box-sizing:border-box}.half-circle-spinner[data-v-ab8a8a34]{width:60px;height:60px;border-radius:100%;position:relative}.half-circle-spinner .circle[data-v-ab8a8a34]{content:"";position:absolute;width:100%;height:100%;border-radius:100%;border:6px solid transparent}.half-circle-spinner .circle.circle-1[data-v-ab8a8a34]{border-top-color:#ff1d5e;animation:half-circle-spinner-animation-ab8a8a34 1s infinite}.half-circle-spinner .circle.circle-2[data-v-ab8a8a34]{border-bottom-color:#ff1d5e;animation:half-circle-spinner-animation-ab8a8a34 1s infinite alternate}@keyframes half-circle-spinner-animation-ab8a8a34{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.warm[data-v-de5a7c30]{position:fixed;top:100px;left:50%;transform:translateX(-50%);color:#eee;background-color:#ff1d5e;padding:20px;border-radius:8px;font-size:18px;z-index:100}button[data-v-de5a7c30]{float:right;width:70px;height:35px;outline:none;border:unset;border-radius:8px;font-size:14px;transition:background-color .3s ease}.success[data-v-bef92f74],button[data-v-de5a7c30]:hover{color:#333;background-color:#7fffd4}.success[data-v-bef92f74]{z-index:3;position:fixed;top:100px;left:50%;transform:translateX(-50%);padding:10px;border-radius:8px}p[data-v-bef92f74]{margin:0}.menu{display:flex;flex-direction:column;justify-content:center}button[data-v-c9cf95ee]{width:100px;height:50px;margin:5px;outline:none;padding:10px;font-size:16px;border-radius:4px;box-sizing:border-box;border:1px solid #333;background-color:transparent;transition:all .3s ease;overflow:hidden}button span[data-v-c9cf95ee]{display:inline-block;transform:translateY(20px);opacity:0;font-size:12px;transition:all .3s ease}button[data-v-c9cf95ee]:hover{color:#fff;background-color:gray}button:hover span[data-v-c9cf95ee]{transform:translateY(0);opacity:1}textarea[data-v-554d8227]{font-size:14px}input[data-v-6969c1de]{outline:none;height:25px;font-size:16px}textarea[data-v-6969c1de]{font-size:14px}.search[data-v-79a26999]{border:1px solid #ddd;border-radius:4px}input[data-v-79a26999]{text-align:center;font-size:16px;height:25px;outline:none}.tool[data-v-79a26999]{display:flex;justify-content:space-around;padding:4px 0}.tool button[data-v-79a26999]{border-radius:4px;padding:5px;outline:none;border:none;flex:1;margin:0 2px}.tool button[data-v-79a26999]:hover{background-color:#ddd}input[type=checkbox][data-v-79a26999]{transform:scale(2);margin:0 15px 0}.book_item[data-v-79a26999]{overflow:hidden;display:flex;align-items:center;margin-top:10px;padding:10px;cursor:pointer;background-color:#eee}.book_active[data-v-79a26999]{background-color:#32cd32}.book_index[data-v-79a26999]{width:auto;height:30px;text-align:center;line-height:30px;border-radius:8px;padding:0 10px;background-color:#ffb6c1}.book_info[data-v-79a26999]{display:flex;justify-content:space-between}.source_list[data-v-79a26999]{height:calc(100vh - 125px);overflow-y:auto}a[data-v-7ac1e65e]{display:block;height:25px;transition:margin-left .3s ease}a[data-v-7ac1e65e]:hover{color:red;margin-left:10px}code[data-v-7ac1e65e]{display:inline-block;font-size:16px;font-family:Cascadia Mono,JetBrains Mono,Microsoft YaHei UI,serif;background-color:#f3f4f4;border-radius:4px}.author[data-v-7ac1e65e]{position:fixed;right:20px;bottom:20px}.author a[data-v-7ac1e65e]{padding:5px 10px;border-radius:4px}.author a[data-v-7ac1e65e]:hover{box-shadow:0 0 3px 3px #ccc;background-color:#ddd}.out{min-width:620px}.out,.out .box{flex:1;display:flex;flex-flow:column}span[data-v-915519b0]{display:flex;justify-content:space-around;width:70px;white-space:nowrap}span i[data-v-915519b0]{font-style:normal}.edit_input[data-v-915519b0]{display:flex;justify-content:space-between;align-items:center;margin:10px 5px}a{text-decoration:none;color:#333}body,ul{margin:0;padding:0}ul{width:100%;height:40px;display:flex}ul li{display:block;text-align:center;line-height:40px;width:16%;list-style:none;cursor:pointer}ul li:hover{color:red}.active{color:#fff!important;background-color:hsla(0,0%,50%,.459);border-bottom:unset!important}ul li[data-v-ac6d92b6]{border-bottom:2px solid #333}a[data-v-ac6d92b6]{font-size:18px;color:blue} \ No newline at end of file diff --git a/app/src/main/assets/web/source/index.html b/app/src/main/assets/web/source/index.html index b50be9936c2d..d804cb08aed8 100644 --- a/app/src/main/assets/web/source/index.html +++ b/app/src/main/assets/web/source/index.html @@ -1 +1 @@ -legado_web_source_editor
\ No newline at end of file +legado_web_vue
\ No newline at end of file diff --git a/app/src/main/assets/web/source/js/app.e79f5fd2.js b/app/src/main/assets/web/source/js/app.e79f5fd2.js deleted file mode 100644 index 2e7ea4962393..000000000000 --- a/app/src/main/assets/web/source/js/app.e79f5fd2.js +++ /dev/null @@ -1 +0,0 @@ -(function(){"use strict";var e={9700:function(e,t,r){var n=r(9963),o=r(6252);const i={class:"editor"};function l(e,t,r,n,l,a){const c=(0,o.up)("router-view");return(0,o.wg)(),(0,o.iD)("div",i,[(0,o.Wm)(c)])}var a={setup(){}},c=r(3744);const s=(0,c.Z)(a,[["render",l]]);var u=s,d=r(2201),p=r(3577);const h={class:"left"},g=["onClick"];function S(e,t,r,n,i,l){const a=(0,o.up)("edit-input-list"),c=(0,o.up)("edit-menu"),s=(0,o.up)("edit-out");return(0,o.wg)(),(0,o.iD)(o.HY,null,[(0,o._)("div",h,[(0,o._)("div",null,[(0,o._)("ul",null,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(Object.entries(e.config),(([t,r])=>((0,o.wg)(),(0,o.iD)("li",{onClick:e=>n.changeSelectTabKey(t),key:t,class:(0,p.C_)(t===e.selectTabKey?"active":"")},(0,p.zw)(r.name),11,g)))),128))])]),(0,o.Wm)(a,{data:n.currentTabData},null,8,["data"])]),(0,o.Wm)(c),(0,o.Wm)(s)],64)}var w=r(2262);r(7658);const y=e=>((0,o.dD)("data-v-c9cf95ee"),e=e(),(0,o.Cn)(),e),m={class:"menu"},v=y((()=>(0,o._)("span",null,"Ctrl+P",-1))),b=y((()=>(0,o._)("span",null,"Ctrl+E",-1))),f=y((()=>(0,o._)("span",null,"Ctrl+Z",-1))),_=y((()=>(0,o._)("span",null,"Ctrl+Enter",-1))),k=y((()=>(0,o._)("span",null,"Ctrl+S",-1)));function C(e,t,r,n,i,l){const a=(0,o.up)("edit-loading"),c=(0,o.up)("edit-warn"),s=(0,o.up)("edit-success");return(0,o.wg)(),(0,o.iD)("div",m,[(0,o._)("div",null,[n.showLoading?((0,o.wg)(),(0,o.j4)(a,{key:0})):(0,o.kq)("",!0),(0,o.Wm)(c,{text:n.warnText,"is-show":n.warnShow,onChangeShow:n.changeShow},null,8,["text","is-show","onChangeShow"]),n.successShow?((0,o.wg)(),(0,o.j4)(s,{key:1,isShow:n.successShow,onChangeShow:n.changeSuccessShow,text:n.successText},null,8,["isShow","onChangeShow","text"])):(0,o.kq)("",!0)]),(0,o._)("button",{onClick:t[0]||(t[0]=(...e)=>n.push&&n.push(...e)),title:"Ctrl+P"},[(0,o.Uk)("⇈推送源 "),v]),(0,o._)("button",{onClick:t[1]||(t[1]=(...e)=>n.pull&&n.pull(...e))},"⇊拉取源"),(0,o._)("button",{onClick:t[2]||(t[2]=(...e)=>n.conver2Tab&&n.conver2Tab(...e)),title:"Ctrl+E"},[(0,o.Uk)(" ⋙生成源"),b]),(0,o._)("button",{onClick:t[3]||(t[3]=(...e)=>n.conver2Source&&n.conver2Source(...e))},"⋘编辑源"),(0,o._)("button",{onClick:t[4]||(t[4]=(...e)=>n.clearEdit&&n.clearEdit(...e))},"✗清空表单"),(0,o._)("button",{onClick:t[5]||(t[5]=(...e)=>n.undo&&n.undo(...e)),title:"Ctrl+Z"},[(0,o.Uk)("↶撤销操作"),f]),(0,o._)("button",{onClick:t[6]||(t[6]=(...e)=>n.redo&&n.redo(...e))},"↷重做操作"),(0,o._)("button",{onClick:t[7]||(t[7]=(...e)=>n.debug&&n.debug(...e)),title:"Ctrl+Enter"},[(0,o.Uk)(" ⇏调试源 "),_]),(0,o._)("button",{onClick:t[8]||(t[8]=(...e)=>n.saveSource&&n.saveSource(...e)),title:"Ctrl+S"},[(0,o.Uk)(" ✓保存源"),k])])}function U(e,t){return fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((e=>e.json()))}function x(e){return fetch(e).then((e=>e.json()))}function T(e,t=!0){let r=/bookSource/.test(location.href),n=`http://${localStorage.getItem("url")||location.host}/`,o=r?"BookSource":"RssSource";return`${n}${e}${o}${t?"s":""}`}function D(){return x(T("get"))}function N(e){return U(T("save"),e)}function I(e){return U(T("save",!1),e)}function B(e){return U(T("delete"),e)}var E=r(3907),L=(0,E.MT)({state:{url:localStorage.getItem("url")||"",bookSources:[],rssSources:[],currentSource:{},currentTab:localStorage.getItem("tabName")||"editTab",editTabSource:{},deBugMsg:"",searchKey:""},getters:{sources(e){return/bookSource/.test(location.href)?e.bookSources:e.rssSources}},mutations:{changeSearchKey(e,t){e.searchKey=t},saveSources(e,t){/bookSource/.test(location.href)?e.bookSources=t:e.rssSources=t},deleteSources(e,t){let r=/bookSource/.test(location.href)?e.bookSources:e.rssSources;t.forEach((e=>{let t=r.indexOf(e);t>-1&&r.splice(t,1)}))},saveCurrentSource(e){let t,r,n=e.currentSource;/bookSource/.test(location.href)?(t=e.bookSources,r="bookSourceUrl"):(t=e.rssSources,r="sourceUrl");let o=t.findIndex((e=>e[r]===n[r]));n=JSON.parse(JSON.stringify(n)),o>-1?t.splice(o,1,n):t.push(n)},changeCurrentSource(e,t){const r=JSON.stringify(t);e.currentSource=JSON.parse(r)},changeCurrentSourceValue(e,t){let r=t.value,n={true:!0,false:!1};if("Boolean"===t.type&&(r=n[r]),"Number"===t.type&&(r=Number(r)),t.key.includes("_")){let n=t.key.split("_")[0],o=t.key.split("_")[1],i={};i[o]=r,e.currentSource[n]=Object.assign(e.currentSource[n]||{},i)}else e.currentSource[t.key]=r;e.currentSource.lastUpdateTime=(new Date).getTime(),/bookSource/.test(location.href)&&(e.currentSource["ruleToc"]=e.currentSource["ruleToc"]||{})},changeTabName(e,t){e.currentTab=t,localStorage.setItem("tabName",t)},changeEditTabSource(e,t){const r=JSON.stringify(t);e.editTabSource=JSON.parse(r)},editHistory(e,t){let r;if(localStorage.getItem("history"))r=JSON.parse(localStorage.getItem("history")),r.new.push(t),r.new.length>50&&r.new.shift(),r.old.length>50&&r.old.shift(),localStorage.setItem("history",JSON.stringify(r));else{const e={new:[t],old:[]};localStorage.setItem("history",JSON.stringify(e))}},editHistoryUndo(e){if(localStorage.getItem("history")){let t=JSON.parse(localStorage.getItem("history"));t.old.push(e.currentSource),t.new.length&&(e.currentSource=t.new.pop()),localStorage.setItem("history",JSON.stringify(t))}},clearAllHistory(){localStorage.setItem("history",JSON.stringify({new:[],old:[]}))},clearEdit(e){e.editTabSource={},e.currentSource={}},appendDeBugMsg(e,t){let r=document.querySelector("#debug_text");r.scrollTop=r.scrollHeight,e.deBugMsg+=t+"\n"},clearDeBugMsg(e){e.deBugMsg=""},clearAllSource(e){e.bookSources=[],e.rssSources=[]}},actions:{},modules:{}});const O=e=>((0,o.dD)("data-v-ab8a8a34"),e=e(),(0,o.Cn)(),e),A={class:"fixed"},R=O((()=>(0,o._)("div",{class:"half-circle-spinner"},[(0,o._)("div",{class:"circle circle-1"}),(0,o._)("div",{class:"circle circle-2"})],-1))),K=[R];function j(e,t,r,n,i,l){return(0,o.wg)(),(0,o.iD)("div",A,K)}var H={name:"editLoading"};const J=(0,c.Z)(H,[["render",j],["__scopeId","data-v-ab8a8a34"]]);var $=J;const P={key:0,class:"warm"};function z(e,t,r,n,i,l){return r.isShow?((0,o.wg)(),(0,o.iD)("div",P,[(0,o._)("p",null,(0,p.zw)(r.text),1),(0,o._)("div",null,[(0,o._)("button",{onClick:t[0]||(t[0]=(...e)=>n.changeShow&&n.changeShow(...e))},"关闭")])])):(0,o.kq)("",!0)}var M={name:"editWarm",props:{isShow:{default:!1,type:Boolean},text:{type:String,default:""}},setup(e,{emit:t}){const r=()=>{t("changeShow",!e.isShow)};return{changeShow:r}}};const V=(0,c.Z)(M,[["render",z],["__scopeId","data-v-de5a7c30"]]);var q=V;const F={class:"success"};function Z(e,t,r,n,i,l){return(0,o.wg)(),(0,o.iD)("div",F,[(0,o._)("p",null,(0,p.zw)(r.text),1)])}var W={props:{text:{type:String,default:""},isShow:{type:Boolean,default:!1}},emits:["changeShow"],setup(e,{emit:t}){return setTimeout((()=>{t("changeShow",!e.isShow)}),3e3),{}}};const G=(0,c.Z)(W,[["render",Z],["__scopeId","data-v-bef92f74"]]);var Y=G,Q={components:{editLoading:$,editWarn:q,editSuccess:Y},setup(){const e=(0,w.iH)(!1),t=(0,w.iH)(!1),r=(0,w.iH)(""),n=(0,w.iH)(!1),i=(0,w.iH)(""),l=e=>{t.value=e},a=e=>{n.value=e},c=r=>{throw e.value=!1,t.value=!0,i.value="请求发生了错误,请检查你的后端地址,填写是否正确,或者 阅读APP\n确认开启web服务",r},s=()=>{e.value=!0,D().then((o=>{e.value=!1,o.isSuccess?(L.commit("changeTabName","editList"),L.commit("saveSources",o.data),r.value=`成功拉取${o.data.length}条源`,n.value=!0):(i.value=o.errorMsg,t.value=!0)})).catch((e=>{c(e)}))},u=()=>{r.value="正在推送中",n.value=!0,e.value=!0;let o=L.getters.sources;N(o).then((l=>{if(l.isSuccess){let e=l.data;if(Array.isArray(e)){let t="";o.length>e.length&&(t="\n推送失败的源将用红色字体标注!"),r.value=`批量推送源到「阅读3.0APP」\n共计: ${o.length} 条\n成功: ${e.length} 条\n失败: ${o.length-e.length} 条${t}`,n.value=!0}else r.value=`批量推送源到「阅读3.0APP」成功!\n共计: ${o.length} 条`,n.value=!0}else i.value=`批量推送源失败!\nErrorMsg: ${l.errorMsg}`,t.value=!0;e.value=!1})).catch((e=>{c(e)}))},d=()=>{L.commit("changeEditTabSource",L.state.currentSource),L.commit("changeTabName","editTab")},p=()=>{L.commit("changeCurrentSource",L.state.editTabSource)},h=()=>{L.commit("editHistoryUndo")},g=()=>{L.commit("clearEdit"),r.value="已清除",n.value=!0},S=()=>{L.commit("clearEdit"),L.commit("clearAllHistory"),r.value="已清除所有历史记录",n.value=!0},y=()=>{let e=/bookSource/.test(location.href),o=L.state.currentSource;e&&""!==o.bookSourceUrl&&""!==o.bookSourceType&&""!==o.bookSourceName||!e&&""!==o.sourceUrl&&""!==o.sourceName?I(o).then((l=>{l.isSuccess?(r.value=`源《${e?o.bookSourceName:o.sourceName}》已成功保存到「阅读3.0APP」`,n.value=!0,L.commit("saveCurrentSource")):(i.value=`源《${e?o.bookSourceName:o.sourceName}》保存失败!\nErrorMsg: ${l.errorMsg}`,t.value=!0)})).catch((e=>{c(e)})):(i.value="请检查<必填>项是否全部填写",t.value=!0)},m=()=>{e.value=!0,L.commit("clearDeBugMsg"),L.commit("changeTabName","editDebug");let t=/bookSource/.test(location.href),o=L.state.currentSource;I(o).then((i=>{let l="ws://"+(localStorage.getItem("url")||location.host).replace(/\d+$/,(e=>parseInt(e)+1))+"/"+(t?"bookSourceDebug":"rssSourceDebug");const a=new WebSocket(l);let c="",s=t?o.bookSourceUrl:o.sourceUrl;t&&(c=o.ruleSearch.checkKeyWord?o.ruleSearch.checkKeyWord:L.state.searchKey?L.state.searchKey:"我的"),a.onopen=()=>{a.send(`{"tag":"${s}", "key":"${c}"}`)},a.onmessage=e=>{L.commit("appendDeBugMsg",e.data)},a.onclose=()=>{e.value=!1,r.value="调试已关闭!",n.value=!0,L.commit("appendDeBugMsg","调试已关闭!")}})).catch((e=>{c(e)}))};return(0,o.bv)((()=>{document.onkeydown=e=>{(e.ctrlKey||e.metaKey)&&"Enter"===e.key&&m(),(e.ctrlKey||e.metaKey)&&"s"===e.key&&(y(),e.preventDefault()),e.ctrlKey&&"e"===e.key&&(d(),e.preventDefault()),e.ctrlKey&&"p"===e.key&&(u(),e.preventDefault())}})),{debug:m,push:u,pull:s,clearEdit:g,showLoading:e,changeShow:l,warnShow:t,successText:r,changeSuccessShow:a,successShow:n,undo:h,redo:S,conver2Tab:d,conver2Source:p,warnText:i,saveSource:y}}};const X=(0,c.Z)(Q,[["render",C],["__scopeId","data-v-c9cf95ee"]]);var ee=X;const te={class:"out"};function re(e,t,r,n,i,l){return(0,o.wg)(),(0,o.iD)("div",te,[(0,o._)("ul",null,[(0,o._)("li",{class:(0,p.C_)("editTab"===e.current_tab?"active":""),onClick:t[0]||(t[0]=e=>n.handleSetActive("editTab"))}," 编辑源 ",2),(0,o._)("li",{class:(0,p.C_)("editDebug"===e.current_tab?"active":""),onClick:t[1]||(t[1]=e=>n.handleSetActive("editDebug"))}," 调试源 ",2),(0,o._)("li",{class:(0,p.C_)("editList"===e.current_tab?"active":""),onClick:t[2]||(t[2]=e=>n.handleSetActive("editList"))}," 源列表 ",2),(0,o._)("li",{class:(0,p.C_)("editHelp"===e.current_tab?"active":""),onClick:t[3]||(t[3]=e=>n.handleSetActive("editHelp"))}," 帮助信息 ",2)]),((0,o.wg)(),(0,o.j4)(o.Ob,null,[((0,o.wg)(),(0,o.j4)((0,o.LL)(e.current_tab)))],1024))])}function ne(e,t,r,i,l,a){return(0,o.wy)(((0,o.wg)(),(0,o.iD)("textarea",{placeholder:"这里输出序列化的JSON数据,可直接导入'阅读'APP","onUpdate:modelValue":t[0]||(t[0]=t=>e.source=t),onInput:t[1]||(t[1]=(...e)=>i.updateEditSource&&i.updateEditSource(...e))},null,544)),[[n.nr,e.source]])}var oe={name:"editTab",setup(){const e=(0,w.qj)({source:""}),t=()=>{L.commit("changeEditTabSource",JSON.parse(e.source))};return(0,o.m0)((()=>{let t=L.state.editTabSource;Object.keys(t).length>0?(t.lastUpdateTime=(new Date).getTime(),e.source=JSON.stringify(t,null,4)):e.source=""})),{...(0,w.BK)(e),updateEditSource:t}}};const ie=(0,c.Z)(oe,[["render",ne],["__scopeId","data-v-554d8227"]]);var le=ie;function ae(e,t,r,i,l,a){return(0,o.wg)(),(0,o.iD)(o.HY,null,[i.isBookSource?(0,o.wy)(((0,o.wg)(),(0,o.iD)("input",{key:0,type:"text",style:{"text-align":"center",border:"1px solid #dddddd","border-radius":"4px"},placeholder:"输入搜索关键字,默认搜「我的」","onUpdate:modelValue":t[0]||(t[0]=t=>e.searchKey=t),onInput:t[1]||(t[1]=t=>i.changeSearch(e.searchKey)),onKeydown:t[2]||(t[2]=(0,n.D2)(((...e)=>i.startSearch&&i.startSearch(...e)),["enter"])),title:"输入关键词 enter(回车键)快捷搜索"},null,544)),[[n.nr,e.searchKey]]):(0,o.kq)("",!0),(0,o.wy)((0,o._)("textarea",{placeholder:"这里用于输出调试信息","onUpdate:modelValue":t[3]||(t[3]=t=>e.printDebug=t),ref:"textareaDom",id:"debug_text"},null,512),[[n.nr,e.printDebug]])],64)}var ce={name:"editDebug",setup(){const e=(0,w.iH)(""),t=(0,w.qj)({printDebug:L.state.deBugMsg,searchKey:""}),r=e=>{L.commit("changeSearchKey",e)};(0,o.m0)((()=>{t.printDebug=L.state.deBugMsg}));const n=()=>{document.querySelectorAll(".menu>button")[7].click()},i=(0,o.Fl)((()=>/bookSource/.test(window.location.href)));return{...(0,w.BK)(t),textareaDom:e,changeSearch:r,startSearch:n,isBookSource:i}}};const se=(0,c.Z)(ce,[["render",ae],["__scopeId","data-v-6969c1de"]]);var ue=se;const de={style:{display:"flex","flex-flow":"column"}},pe={class:"tool"},he={class:"source_list"},ge=["value"],Se={class:"book_index"},we=["onClick"],ye={class:"book_info"},me={key:0};function ve(e,t,r,i,l,a){return(0,o.wg)(),(0,o.iD)("div",de,[(0,o.wy)((0,o._)("input",{class:"search",type:"text",placeholder:"输入筛选关键词(源名称、源URL或源分组)输入自动筛选源","onUpdate:modelValue":t[0]||(t[0]=t=>e.searchKey=t),onFocus:t[1]||(t[1]=t=>e.delArr=[])},null,544),[[n.nr,e.searchKey]]),(0,o._)("div",null,[(0,o._)("div",pe,[(0,o._)("button",{onClick:t[2]||(t[2]=(...e)=>i.upFile&&i.upFile(...e))},"导入书源文件"),(0,o._)("button",{onClick:t[3]||(t[3]=(...e)=>i.outExport&&i.outExport(...e))},"导出书源文件"),(0,o._)("button",{onClick:t[4]||(t[4]=(...e)=>i.deleteActiveSource&&i.deleteActiveSource(...e))},"删除选中源"),(0,o._)("button",{onClick:t[5]||(t[5]=(...e)=>i.clearAllSources&&i.clearAllSources(...e))},"清空列表")]),(0,o._)("div",he,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(i.filtedSources,((r,l)=>((0,o.wg)(),(0,o.iD)("div",{key:r.bookSourceUrl||r.sourceUrl,class:(0,p.C_)(["book_item",l===i.currentActive?"book_active":""])},[(0,o.wy)((0,o._)("input",{type:"checkbox",value:l,"onUpdate:modelValue":t[6]||(t[6]=t=>e.delArr=t)},null,8,ge),[[n.e8,e.delArr]]),(0,o._)("div",Se,(0,p.zw)(l+1),1),(0,o._)("div",{style:{"margin-left":"10px",flex:"1"},onClick:e=>i.handleItemClick(l)},[(0,o._)("div",ye,[(0,o._)("span",null,(0,p.zw)(r.bookSourceName||r.sourceName),1),i.isBookSource?((0,o.wg)(),(0,o.iD)("span",me,"最后修改:"+(0,p.zw)(i.formatTime(r.lastUpdateTime)),1)):(0,o.kq)("",!0),(0,o._)("span",null,"分组:"+(0,p.zw)(r.bookSourceGroup||r.sourceGroup||"无分组"),1)]),(0,o._)("div",null,(0,p.zw)(r.bookSourceUrl||r.sourceUrl),1)],8,we)],2)))),128))])])])}var be={name:"editList",setup(){let e=(0,w.qj)({searchKey:"",delArr:[],sources:[]});const t=(0,o.Fl)((()=>c(e.sources,e.searchKey))),r=(0,o.Fl)((()=>/bookSource/.test(window.location.href)));(0,o.m0)((()=>{e.sources=L.getters.sources}));let n=(0,w.iH)(null);const i=e=>{n.value=e,L.commit("clearEdit"),L.commit("changeCurrentSource",t.value[e])},l=()=>{L.commit("clearAllSource")},a=e=>{if(!e)return null;const t=new Date(e),r=t.getFullYear();let n=t.getMonth()+1;n=n<10?"0"+n:n;let o=t.getDate();o=o<10?"0"+o:o;let i=t.getHours();i=i<10?"0"+i:i;let l=t.getMinutes();l=l<10?"0"+l:l;let a=t.getSeconds();return a=a<10?"0"+a:a,r+"-"+n+"-"+o+" "+i+":"+l+":"+a},c=(t,n)=>""===n?e.sources:r.value?t.filter((e=>e.bookSourceName.toUpperCase().includes(n.toUpperCase())||(e.bookSourceGroup||"").toUpperCase().includes(n.toUpperCase())||e.bookSourceUrl.toUpperCase().includes(n.toUpperCase()))):t.filter((e=>e.sourceName.toUpperCase().includes(n.toUpperCase())||(e.sourceGroup||"").toUpperCase().includes(n.toUpperCase())||e.sourceUrl.toUpperCase().includes(n.toUpperCase()))),s=()=>{if(0===e.delArr.length)return!1;const r=[];e.delArr.forEach((e=>{r.push(t.value[e])})),B(r).then((t=>{t.isSuccess&&(L.commit("deleteSources",r),e.delArr=[])}))},u=()=>{const e=document.createElement("input");e.type="file",e.accept=".json",e.addEventListener("change",(e=>{const t=e.target.files[0];var r=new FileReader;r.readAsText(t),r.onload=()=>{const e=JSON.parse(r.result);L.commit("saveSources",e)}})),e.click()},d=()=>{const e=document.createElement("a");let t=L.getters.sources,n=r.value?"BookSource":"RssSource";e.download=`${n}_${Date().replace(/.*?\s(\d+)\s(\d+)\s(\d+:\d+:\d+).*/,"$2$1$3").replace(/:/g,"")}.json`;let o=new Blob([JSON.stringify(t,null,4)],{type:"application/json"});e.href=window.URL.createObjectURL(o),e.click()};return{currentActive:n,isBookSource:r,filtedSources:t,deleteActiveSource:s,handleItemClick:i,...(0,w.BK)(e),formatTime:a,clearAllSources:l,upFile:u,outExport:d}}};const fe=(0,c.Z)(be,[["render",ve],["__scopeId","data-v-79a26999"]]);var _e=fe;const ke=(0,o.uE)('书源制作教程xpath基础教程xpath高级教程正则表达式教程正则表达式在线验证工具
^$()[]{}.?+*| 这些是Java正则特殊符号,匹配需转义
(?s) 前缀表示跨行解析
(?m) 前缀表示逐行匹配
(?i) 前缀表示忽略大小写
',6);function Ce(e,t,r,n,o,i){return ke}var Ue={name:"editHelp"};const xe=(0,c.Z)(Ue,[["render",Ce],["__scopeId","data-v-7ac1e65e"]]);var Te=xe,De={name:"editOut",components:{editDebug:ue,editTab:le,editList:_e,editHelp:Te},setup(){const e=(0,w.qj)({url:localStorage.getItem("url")||"",current_tab:L.state.currentTab||"editTab"}),t=e=>{L.commit("changeTabName",e)},r=e=>{L.commit("changeUrl",e)};(0,o.m0)((()=>{e.current_tab=L.state.currentTab}));const n=()=>{document.querySelectorAll(".menu>button")[1].click()};return{...(0,w.BK)(e),handleSetActive:t,changInput:r,pullSource:n}}};const Ne=(0,c.Z)(De,[["render",re]]);var Ie=Ne;const Be={class:"main"};function Ee(e,t,r,n,i,l){const a=(0,o.up)("edit-input");return(0,o.wg)(),(0,o.iD)("div",Be,[((0,o.wg)(!0),(0,o.iD)(o.HY,null,(0,o.Ko)(r.data,((e,t)=>((0,o.wg)(),(0,o.j4)(a,{key:t,id:e.id,type:e.type,hint:e.hint,title:e.title,rows:e.rows,content:n.getContent(e.id),onChangeContent:n.upData},null,8,["id","type","hint","title","rows","content","onChangeContent"])))),128))])}const Le=e=>((0,o.dD)("data-v-915519b0"),e=e(),(0,o.Cn)(),e),Oe={class:"edit_input"},Ae=Le((()=>(0,o._)("i",null,":",-1))),Re=["id","placeholder","rows","value"];function Ke(e,t,r,n,i,l){return(0,o.wg)(),(0,o.iD)("div",Oe,[(0,o._)("span",null,[(0,o.Uk)((0,p.zw)(r.title),1),Ae]),(0,o._)("textarea",{id:r.id,class:(0,p.C_)(r.type),placeholder:r.hint,rows:r.rows,value:r.content,ref:"attr",onInput:t[0]||(t[0]=(...e)=>n.change&&n.change(...e)),onBlur:t[1]||(t[1]=e=>{n.changeHistory(),n.restoreHeight()}),onFocus:t[2]||(t[2]=(...e)=>n.adjustHeight&&n.adjustHeight(...e))},null,42,Re)])}let je;const He="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",Je=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function $e(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("box-sizing"),n=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),o=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),i=Je.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";");return{contextStyle:i,paddingSize:n,borderSize:o,boxSizing:r}}function Pe(e,t=1,r=null){je||(je=document.createElement("textarea"),document.body.appendChild(je));let{paddingSize:n,borderSize:o,boxSizing:i,contextStyle:l}=$e(e);je.setAttribute("style",`${l};${He}`),je.value=e.value||e.placeholder||"";let a=je.scrollHeight;const c={};"border-box"===i?a+=o:"content-box"===i&&(a-=n),je.value="";let s=je.scrollHeight-n;if(null!==t){let e=s*t;"border-box"===i&&(e=e+n+o),a=Math.max(e,a),c.minHeight=`${e}px`}if(null!==r){let e=s*r;"border-box"===i&&(e=e+n+o),a=Math.min(e,a)}return c.height=`${a}px`,je.parentNode&&je.parentNode.removeChild(je),je=null,c}var ze={props:{title:{type:String,default:""},rows:{type:Number,default:1},hint:{type:String,default:""},id:{type:String,default:""},type:{type:String,default:"String"},content:{type:[String,Number,Boolean],default:""}},emits:["changeContent"],setup(e,{emit:t}){const r=(0,w.iH)(""),n=()=>{t("changeContent",{value:r.value.value,key:r.value.getAttribute("id"),type:r.value.getAttribute("class")}),l()},o=()=>{localStorage.getItem("history")||localStorage.setItem("history",JSON.stringify({new:[],old:[]}));const e=JSON.parse(localStorage.getItem("history")),t=e.new;if(t.length){const e=r.value.getAttribute("id");if(e.includes("_")||t[t.length-1][e]===L.state.currentSource[e]){if(e.includes("_")){let r=e.split("_")[0],n=e.split("_")[1];t[t.length-1][r][n]!==L.state.currentSource[r][n]&&L.commit("editHistory",L.state.currentSource)}}else L.commit("editHistory",L.state.currentSource)}else L.commit("editHistory",L.state.currentSource)},i=()=>r.value.style="",l=()=>{r.value.style.height=Pe(r.value).height};return{changeHistory:o,change:n,attr:r,adjustHeight:l,restoreHeight:i}}};const Me=(0,c.Z)(ze,[["render",Ke],["__scopeId","data-v-915519b0"]]);var Ve=Me;function qe(){const e=(0,w.qj)({currentSource:L.state.currentSource}),t=e=>{L.commit("changeCurrentSourceValue",e)},r=t=>{try{if(t.includes("_")){let r=t.split("_")[0],n=t.split("_")[1],o=e.currentSource[r];return o?o[n]:null}return e.currentSource[t]}catch(r){L.commit("clearEdit")}};return(0,o.m0)((()=>{e.currentSource=L.state.currentSource})),{...(0,w.BK)(e),upData:t,getContent:r}}var Fe={name:"editInputList",props:{data:{type:Array,required:!0}},components:{editInput:Ve},setup(e){const{upData:t,getContent:r}=qe(),n=(0,w.qj)({data:e.data});return{...(0,w.BK)(n),upData:t,getContent:r}}};const Ze=(0,c.Z)(Fe,[["render",Ee]]);var We=Ze,Ge={base:{name:"基础",children:[{title:"源域名",rows:1,id:"bookSourceUrl",type:"String",hint:"<必填>通常填写网站主页,例: https://www.qidian.com"},{title:"源类型",rows:1,id:"bookSourceType",type:"Number",hint:"<必填>0:文本 1:音频 2:图片 3:文件(只提供下载的网站)"},{title:"源名称",rows:1,id:"bookSourceName",type:"String",hint:"<必填>会显示在源列表"},{title:"源分组",rows:1,id:"bookSourceGroup",type:"String",hint:"<选填>描述源的特征信息"},{title:"源注释",rows:1,id:"bookSourceComment",type:"String",hint:"<选填>描述源作者和状态"},{title:"书源变量",rows:1,id:"variableComment",type:"String",hint:"<选填>书源变量说明"},{title:"登录地址",rows:1,id:"loginUrl",type:"String",hint:"<选填>填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",rows:3,id:"loginUi",type:"String",hint:"<选填>自定义登录界面"},{title:"登录检测",rows:3,id:"loginCheckJs",type:"String",hint:"<选填>登录检测js"},{title:"封面解密",rows:3,id:"coverDecodeJs",type:"String",hint:"<选填>封面解密js"},{title:"并发率",rows:1,id:"concurrentRate",type:"String",hint:"<选填>并发率"},{title:"请求头",rows:3,id:"header",type:"String",hint:"<选填>客户端标识"},{title:"链接验证",rows:1,id:"bookUrlPattern",type:"String",hint:"<选填>当详情页URL与源URL的域名不一致时有效,用于添加网址"}]},search:{name:"搜索",children:[{title:"搜索地址",rows:1,id:"searchUrl",type:"String",hint:"[域名可省略]/search.php@kw={{key}}"},{title:"校验文字",rows:1,id:"ruleSearch_checkKeyWord",type:"String",hint:"校验关键字"},{title:"列表规则",rows:1,id:"ruleSearch_bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",rows:1,id:"ruleSearch_name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",rows:1,id:"ruleSearch_author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",rows:1,id:"ruleSearch_kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",rows:1,id:"ruleSearch_wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",rows:1,id:"ruleSearch_lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",rows:1,id:"ruleSearch_intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",rows:1,id:"ruleSearch_coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",rows:1,id:"ruleSearch_bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},find:{name:"发现",children:[{title:"发现地址",rows:6,id:"exploreUrl",type:"String",hint:"内容能显示在发现菜单\n每行一条发现分类(网址域名可省略),例:\n名称1::网址(Url)1\n名称2::网址(Url)2\n..."},{title:"列表规则",rows:1,id:"ruleExplore_bookList",type:"String",hint:"选择书籍节点 (规则结果为List)"},{title:"书名规则",rows:1,id:"ruleExplore_name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",rows:1,id:"ruleExplore_author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",rows:1,id:"ruleExplore_kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",rows:1,id:"ruleExplore_wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",rows:1,id:"ruleExplore_lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",rows:1,id:"ruleExplore_intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",rows:1,id:"ruleExplore_coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"详情地址",rows:1,id:"ruleExplore_bookUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url)"}]},detail:{name:"详情",children:[{title:"预处理",rows:3,id:"ruleBookInfo_init",type:"String",hint:"用于加速详情信息检索,只支持AllInOne规则"},{title:"书名规则",rows:1,id:"ruleBookInfo_name",type:"String",hint:"选择节点书名 (规则结果为String)"},{title:"作者规则",rows:1,id:"ruleBookInfo_author",type:"String",hint:"选择节点作者 (规则结果为String)"},{title:"分类规则",rows:1,id:"ruleBookInfo_kind",type:"String",hint:"选择节点分类信息 (规则结果为String)"},{title:"字数规则",rows:1,id:"ruleBookInfo_wordCount",type:"String",hint:"选择节点字数信息 (规则结果为String)"},{title:"最新章节",rows:1,id:"ruleBookInfo_lastChapter",type:"String",hint:"选择节点最新章节 (规则结果为String)"},{title:"简介规则",rows:1,id:"ruleBookInfo_intro",type:"String",hint:"选择节点书籍简介 (规则结果为String)"},{title:"封面规则",rows:1,id:"ruleBookInfo_coverUrl",type:"String",hint:"选择节点书籍封面 (规则结果为String类型的url)"},{title:"目录地址",rows:1,id:"ruleBookInfo_tocUrl",type:"String",hint:"选择书籍详情页网址 (规则结果为String类型的url, 与详情页相同时可省略)"},{title:"下载URL",rows:1,id:"ruleBookInfo_downloadUrls",type:"String",hint:"文件类书源下载地址 (规则结果为String类型的url, 多个链接返回数组)"},{title:"修改书籍",rows:1,id:"ruleBookInfo_canReName",type:"String",hint:"允许修改书名作者(规则结果为String类型, 默认不允许)"}]},directory:{name:"目录",children:[{title:"更新前JS",rows:3,id:"ruleToc_preUpdateJs",type:"String",hint:"更新前JS 动态更新书籍目录链接"},{title:"列表规则",rows:3,id:"ruleToc_chapterList",type:"String",hint:"选择目录列表的章节节点 (规则结果为List)"},{title:"章节名称",rows:1,id:"ruleToc_chapterName",type:"String",hint:"选择章节名称 (规则结果为String)"},{title:"章节地址",rows:1,id:"ruleToc_chapterUrl",type:"String",hint:"选择章节链接 (规则结果为String类型的Url)"},{title:"卷名标识",rows:1,id:"ruleToc_isVolume",type:"String",hint:"章节名称是否是卷名 (规则结果为Bool)"},{title:"收费标识",rows:1,id:"ruleToc_isVip",type:"String",hint:"章节是否为VIP章节 (规则结果为Bool)"},{title:"购买标识",rows:1,id:"ruleToc_isPay",type:"String",hint:"章节是否为已购买 (规则结果为Bool)"},{title:"章节信息",rows:1,id:"ruleToc_updateTime",type:"String",hint:"选择章节信息 (规则结果为String)"},{title:"翻页规则",rows:1,id:"ruleToc_nextTocUrl",type:"String",hint:"选择目录下一页链接 (规则结果为List或String)"}]},content:{name:"正文",children:[{title:"脚本注入",rows:3,id:"ruleContent_webJs",type:"String",hint:"注入javascript,用于模拟鼠标点击等,必须有返回值,一般为String类型"},{title:"正文规则",rows:1,id:"ruleContent_content",type:"String",hint:"选择正文内容 (规则结果为String)"},{title:"翻页规则",rows:1,id:"ruleContent_nextContentUrl",type:"String",hint:"选择下一分页(不是下一章)链接 (规则结果为String类型的Url)"},{title:"资源正则",rows:1,id:"ruleContent_sourceRegex",type:"String",hint:"匹配资源的url特征,用于嗅探"},{title:"替换规则",rows:1,id:"ruleContent_replaceRegex",type:"String",hint:"多页内容合并后替换,用于正文净化"},{title:"图片样式",rows:1,id:"ruleContent_imageStyle",type:"String",hint:"FULL:铺满 不填:默认样式"},{title:"购买操作",rows:1,id:"ruleContent_payAction",type:"String",hint:"填写JavaScript 返回购买链接或者调用购买接口"},{title:"图片解密",rows:1,id:"ruleContent_imageDecode",type:"String",hint:"填写JavaScript 返回解密图片的bytes "}]},review:{name:"段评",children:[{title:"段评URL",rows:1,id:"ruleReview_reviewUrl",type:"String",hint:"段评URL"},{title:"发布头像",rows:1,id:"ruleReview_avatarRule",type:"String",hint:"段评发布者头像"},{title:"段评内容",rows:1,id:"ruleReview_contentRule",type:"String",hint:"段评内容"},{title:"发布时间",rows:1,id:"ruleReview_postTimeRule",type:"String",hint:"段评发布时间"},{title:"回复URL",rows:1,id:"ruleReview_reviewQuoteUrl",type:"String",hint:"获取段评回复URL"},{title:"点赞URL",rows:1,id:"ruleReview_voteUpUrl",type:"String",hint:"点赞URL"},{title:"点踩URL",rows:1,id:"ruleReview_voteDownUrl",type:"String",hint:"点踩URL"},{title:"发送回复",rows:1,id:"ruleReview_postReviewUrl",type:"String",hint:"发送回复URL"},{title:"回复段评",rows:1,id:"ruleReview_postQuoteUrl",type:"String",hint:"发送回复段评URL"},{title:"删除段评",rows:1,id:"ruleReview_deleteUrl",type:"String",hint:"删除段评URL"}]},other:{name:"其他",children:[{title:"启用搜索",rows:1,id:"enabled",type:"Boolean",hint:"启用: true 关闭: false (可选,默认true)"},{title:"启用发现",rows:1,id:"enabledExplore",type:"Boolean",hint:"启用: true 关闭: false (可选,默认true)"},{title:"启用段评",rows:1,id:"enabledReview",type:"Boolean",hint:"启用: true 关闭: false (可选,默认false)"},{title:"Cookie",rows:1,id:"enabledCookieJar",type:"Boolean",hint:"保存返回头的Cookie 启用: true 关闭: false (可选,默认false)"},{title:"搜索权重",rows:1,id:"weight",type:"Number",hint:"整数: 0~N (可选,默认0) | 数字越大越靠前"},{title:"排序编号",rows:1,id:"customOrder",type:"Number",hint:"整数: 0~N (可选,默认0) | 数字越小越靠前"}]}},Ye={base:{name:"基础",children:[{title:"源域名",rows:1,id:"sourceUrl",type:"String",hint:"<必填>通常填写网站主页,例: https://www.qidian.com"},{title:"图标",rows:1,id:"sourceIcon",type:"String",hint:"<选填>填写图片网络链接"},{title:"源名称",rows:1,id:"sourceName",type:"String",hint:"<必填>会显示在源列表"},{title:"源分组",rows:1,id:"sourceGroup",type:"String",hint:"<选填>描述源的特征信息"},{title:"源注释",rows:1,id:"sourceComment",type:"String",hint:"<选填>描述源作者和状态"},{title:"分类地址",rows:3,id:"sortUrl",type:"String",hint:"<选填>名称1::链接1\n名称2::链接2"},{title:"登录地址",rows:1,id:"loginUrl",type:"String",hint:"<选填>填写网站登录网址,仅在需要登录的源有用"},{title:"登录界面",rows:3,id:"loginUi",type:"String",hint:"<选填>自定义登录界面"},{title:"登录检测",rows:3,id:"loginCheckJs",type:"String",hint:"<选填>登录检测js"},{title:"封面解密",rows:3,id:"coverDecodeJs",type:"String",hint:"<选填>封面解密js"},{title:"请求头",rows:3,id:"header",type:"String",hint:"<选填>客户端标识"},{title:"变量说明",rows:1,id:"variableComment",type:"String",hint:"<选填>源变量说明"},{title:"并发率",rows:1,id:"concurrentRate",type:"String",hint:"<选填>并发率"}]},list:{name:"列表",children:[{title:"列表样式",rows:1,id:"articleStyle",type:"Number",hint:"<选填>0,1,2 (默认0)"},{title:"列表规则",rows:1,id:"ruleArticles",type:"String",hint:"规则结果为List"},{title:"翻页规则",rows:1,id:"ruleNextPage",type:"String",hint:"下一页链接 规则结果为List或String"},{title:"标题规则",rows:1,id:"ruleTitle",type:"String",hint:"文章标题 规则结果为String"},{title:"时间规则",rows:1,id:"rulePubDate",type:"String",hint:"文章发布时间 规则结果为String"},{title:"描述规则",rows:1,id:"ruleDescription",type:"String",hint:"文章简要描述 规则结果为String"},{title:"图片规则",rows:1,id:"ruleImage",type:"String",hint:"文章图片链接 规则结果为String"},{title:"链接规则",rows:1,id:"ruleLink",type:"String",hint:"文章链接 规则结果为String"}]},webView:{name:"WebView",children:[{title:"启用JS",rows:1,id:"enableJs",type:"Number",hint:"启用: true 关闭: false (可选,默认true)"},{title:"加载地址",rows:1,id:"loadWithBaseUrl",type:"Number",hint:"启用: true 关闭: false (可选,默认true)"},{title:"内容规则",rows:1,id:"ruleContent",type:"String",hint:"文章正文"},{title:"样式规则",rows:3,id:"style",type:"String",hint:"文章正文样式 填写css"},{title:"注入规则",rows:3,id:"injectJs",type:"String",hint:"注入网页的JavaScript"},{title:"黑名单",rows:1,id:"contentBlacklist",type:"String",hint:"webView链接加载黑名单,英文逗号隔开"},{title:"白名单",rows:1,id:"contentWhitelist",type:"String",hint:"webView链接加载白名单,英文逗号隔开"}]},other:{name:"其他",children:[{title:"启用",rows:1,id:"enabled",type:"Boolean",hint:"启用: true 关闭: false (可选,默认true)"},{title:"Cookie",rows:1,id:"enabledCookieJar",type:"Boolean",hint:"保存返回头的Cookie 启用: true 关闭: false (可选,默认false)"},{title:"单URL",rows:1,id:"singleUrl",type:"Boolean",hint:"启用: true 关闭: false (可选,默认false)"},{title:"排序编号",rows:1,id:"customOrder",type:"Number",hint:"整数: 0~N (可选,默认0) | 数字越小越靠前"}]}},Qe={components:{editMenu:ee,editOut:Ie,editInputList:We},setup(){const e=(0,w.qj)({config:{},selectTabKey:"base"});/bookSource/.test(location.href)?(e.config=Ge,document.title="书源编辑"):(e.config=Ye,document.title="订阅源编辑");const t=t=>e.selectTabKey=t,r=(0,o.Fl)((()=>e.config[e.selectTabKey].children));return(0,o.bv)((()=>{})),{...(0,w.BK)(e),changeSelectTabKey:t,currentTabData:r}}};const Xe=(0,c.Z)(Qe,[["render",S],["__scopeId","data-v-ac6d92b6"]]);var et=Xe;const tt=[{path:"/bookSource",name:"book-home",component:et},{path:"/rssSource",name:"rss-home",component:et}],rt=(0,d.p7)({history:(0,d.r5)(),routes:tt});var nt=rt;(0,n.ri)(u).use(L).use(nt).mount("#app")}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.m=e,function(){var e=[];r.O=function(t,n,o,i){if(!n){var l=1/0;for(u=0;u=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[c])}))?n.splice(c--,1):(a=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,o,i]}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={143:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,i,l=n[0],a=n[1],c=n[2],s=0;if(l.some((function(t){return 0!==e[t]}))){for(o in a)r.o(a,o)&&(r.m[o]=a[o]);if(c)var u=c(r)}for(t&&t(n);s{const e=new Set(t);return e.w=0,e.n=0,e},a=t=>(t.w&m)>0,f=t=>(t.n&m)>0,p=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r{("length"===n||n>=t)&&u.push(e)}))}else switch(void 0!==n&&u.push(c.get(n)),e){case"add":(0,r.kJ)(t)?(0,r.S0)(n)&&u.push(c.get("length")):(u.push(c.get(b)),(0,r._N)(t)&&u.push(c.get(_)));break;case"delete":(0,r.kJ)(t)||(u.push(c.get(b)),(0,r._N)(t)&&u.push(c.get(_)));break;case"set":(0,r._N)(t)&&u.push(c.get(b));break}if(1===u.length)u[0]&&P(u[0]);else{const t=[];for(const e of u)e&&t.push(...e);P(l(t))}}function P(t,e){const n=(0,r.kJ)(t)?t:[...t];for(const r of n)r.computed&&A(r,e);for(const r of n)r.computed||A(r,e)}function A(t,e){(t!==y||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}function T(t,e){var n;return null===(n=h.get(t))||void 0===n?void 0:n.get(e)}const I=(0,r.fY)("__proto__,__v_isRef,__isVue"),F=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(r.yk)),M=J(),L=J(!1,!0),$=J(!0),N=U();function U(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Tt(this);for(let e=0,o=this.length;e{t[e]=function(...t){S();const n=Tt(this)[e].apply(this,t);return O(),n}})),t}function D(t){const e=Tt(this);return E(e,"has",t),e.hasOwnProperty(t)}function J(t=!1,e=!1){return function(n,o,i){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_isShallow"===o)return e;if("__v_raw"===o&&i===(t?e?wt:_t:e?bt:yt).get(n))return n;const s=(0,r.kJ)(n);if(!t){if(s&&(0,r.RI)(N,o))return Reflect.get(N,o,i);if("hasOwnProperty"===o)return D}const c=Reflect.get(n,o,i);return((0,r.yk)(o)?F.has(o):I(o))?c:(t||E(n,"get",o),e?c:Nt(c)?s&&(0,r.S0)(o)?c:c.value:(0,r.Kn)(c)?t?Ot(c):Ct(c):c)}}const V=B(),G=B(!0);function B(t=!1){return function(e,n,o,i){let s=e[n];if(Rt(s)&&Nt(s)&&!Nt(o))return!1;if(!t&&(Pt(o)||Rt(o)||(s=Tt(s),o=Tt(o)),!(0,r.kJ)(e)&&Nt(s)&&!Nt(o)))return s.value=o,!0;const c=(0,r.kJ)(e)&&(0,r.S0)(n)?Number(n)t,X=t=>Reflect.getPrototypeOf(t);function Q(t,e,n=!1,r=!1){t=t["__v_raw"];const o=Tt(t),i=Tt(e);n||(e!==i&&E(o,"get",e),E(o,"get",i));const{has:s}=X(o),c=r?Z:n?Mt:Ft;return s.call(o,e)?c(t.get(e)):s.call(o,i)?c(t.get(i)):void(t!==o&&t.get(e))}function tt(t,e=!1){const n=this["__v_raw"],r=Tt(n),o=Tt(t);return e||(t!==o&&E(r,"has",t),E(r,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function et(t,e=!1){return t=t["__v_raw"],!e&&E(Tt(t),"iterate",b),Reflect.get(t,"size",t)}function nt(t){t=Tt(t);const e=Tt(this),n=X(e),r=n.has.call(e,t);return r||(e.add(t),R(e,"add",t,t)),this}function rt(t,e){e=Tt(e);const n=Tt(this),{has:o,get:i}=X(n);let s=o.call(n,t);s||(t=Tt(t),s=o.call(n,t));const c=i.call(n,t);return n.set(t,e),s?(0,r.aU)(e,c)&&R(n,"set",t,e,c):R(n,"add",t,e),this}function ot(t){const e=Tt(this),{has:n,get:r}=X(e);let o=n.call(e,t);o||(t=Tt(t),o=n.call(e,t));const i=r?r.call(e,t):void 0,s=e.delete(t);return o&&R(e,"delete",t,void 0,i),s}function it(){const t=Tt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&R(t,"clear",void 0,void 0,n),r}function st(t,e){return function(n,r){const o=this,i=o["__v_raw"],s=Tt(i),c=e?Z:t?Mt:Ft;return!t&&E(s,"iterate",b),i.forEach(((t,e)=>n.call(r,c(t),c(e),o)))}}function ct(t,e,n){return function(...o){const i=this["__v_raw"],s=Tt(i),c=(0,r._N)(s),u="entries"===t||t===Symbol.iterator&&c,l="keys"===t&&c,a=i[t](...o),f=n?Z:e?Mt:Ft;return!e&&E(s,"iterate",l?_:b),{next(){const{value:t,done:e}=a.next();return e?{value:t,done:e}:{value:u?[f(t[0]),f(t[1])]:f(t),done:e}},[Symbol.iterator](){return this}}}}function ut(t){return function(...e){return"delete"!==t&&this}}function lt(){const t={get(t){return Q(this,t)},get size(){return et(this)},has:tt,add:nt,set:rt,delete:ot,clear:it,forEach:st(!1,!1)},e={get(t){return Q(this,t,!1,!0)},get size(){return et(this)},has:tt,add:nt,set:rt,delete:ot,clear:it,forEach:st(!1,!0)},n={get(t){return Q(this,t,!0)},get size(){return et(this,!0)},has(t){return tt.call(this,t,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:st(!0,!1)},r={get(t){return Q(this,t,!0,!0)},get size(){return et(this,!0)},has(t){return tt.call(this,t,!0)},add:ut("add"),set:ut("set"),delete:ut("delete"),clear:ut("clear"),forEach:st(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{t[o]=ct(o,!1,!1),n[o]=ct(o,!0,!1),e[o]=ct(o,!1,!0),r[o]=ct(o,!0,!0)})),[t,n,e,r]}const[at,ft,pt,dt]=lt();function ht(t,e){const n=e?t?dt:pt:t?ft:at;return(e,o,i)=>"__v_isReactive"===o?!t:"__v_isReadonly"===o?t:"__v_raw"===o?e:Reflect.get((0,r.RI)(n,o)&&o in e?n:e,o,i)}const vt={get:ht(!1,!1)},mt={get:ht(!1,!0)},gt={get:ht(!0,!1)};const yt=new WeakMap,bt=new WeakMap,_t=new WeakMap,wt=new WeakMap;function xt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:xt((0,r.W7)(t))}function Ct(t){return Rt(t)?t:Et(t,!1,W,vt,yt)}function St(t){return Et(t,!1,Y,mt,bt)}function Ot(t){return Et(t,!0,z,gt,_t)}function Et(t,e,n,o,i){if(!(0,r.Kn)(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const s=i.get(t);if(s)return s;const c=kt(t);if(0===c)return t;const u=new Proxy(t,2===c?o:n);return i.set(t,u),u}function jt(t){return Rt(t)?jt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function Rt(t){return!(!t||!t["__v_isReadonly"])}function Pt(t){return!(!t||!t["__v_isShallow"])}function At(t){return jt(t)||Rt(t)}function Tt(t){const e=t&&t["__v_raw"];return e?Tt(e):t}function It(t){return(0,r.Nj)(t,"__v_skip",!0),t}const Ft=t=>(0,r.Kn)(t)?Ct(t):t,Mt=t=>(0,r.Kn)(t)?Ot(t):t;function Lt(t){k&&y&&(t=Tt(t),j(t.dep||(t.dep=l())))}function $t(t,e){t=Tt(t);const n=t.dep;n&&P(n)}function Nt(t){return!(!t||!0!==t.__v_isRef)}function Ut(t){return Jt(t,!1)}function Dt(t){return Jt(t,!0)}function Jt(t,e){return Nt(t)?t:new Vt(t,e)}class Vt{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Tt(t),this._value=e?t:Ft(t)}get value(){return Lt(this),this._value}set value(t){const e=this.__v_isShallow||Pt(t)||Rt(t);t=e?t:Tt(t),(0,r.aU)(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Ft(t),$t(this,t))}}function Gt(t){return Nt(t)?t.value:t}const Bt={get:(t,e,n)=>Gt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return Nt(o)&&!Nt(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function qt(t){return jt(t)?t:new Proxy(t,Bt)}function Ht(t){const e=(0,r.kJ)(t)?new Array(t.length):{};for(const n in t)e[n]=Wt(t,n);return e}class Kt{constructor(t,e,n){this._object=t,this._key=e,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return void 0===t?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return T(Tt(this._object),this._key)}}function Wt(t,e,n){const r=t[e];return Nt(r)?r:new Kt(t,e,n)}var zt;class Yt{constructor(t,e,n,r){this._setter=e,this.dep=void 0,this.__v_isRef=!0,this[zt]=!1,this._dirty=!0,this.effect=new w(t,(()=>{this._dirty||(this._dirty=!0,$t(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const t=Tt(this);return Lt(t),!t._dirty&&t._cacheable||(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Zt(t,e,n=!1){let o,i;const s=(0,r.mf)(t);s?(o=t,i=r.dG):(o=t.get,i=t.set);const c=new Yt(o,i,s||!i,n);return c}zt="__v_isReadonly"},6252:function(t,e,n){"use strict";n.d(e,{$d:function(){return s},Cn:function(){return L},FN:function(){return yn},Fl:function(){return Fn},HY:function(){return Le},JJ:function(){return H},Ko:function(){return Gt},LL:function(){return Dt},Ob:function(){return vt},P$:function(){return ot},Q6:function(){return at},U2:function(){return st},Uk:function(){return sn},Us:function(){return Pe},Wm:function(){return en},Y3:function(){return y},Y8:function(){return et},YP:function(){return Y},_:function(){return tn},aZ:function(){return ft},bv:function(){return Ot},dD:function(){return M},f3:function(){return K},h:function(){return Mn},iD:function(){return Ke},ic:function(){return jt},j4:function(){return We},kq:function(){return un},m0:function(){return W},nK:function(){return lt},uE:function(){return cn},up:function(){return Nt},wg:function(){return Ve},wy:function(){return Mt}});var r=n(2262),o=n(3577);function i(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){c(i,e,n)}return o}function s(t,e,n,r){if((0,o.mf)(t)){const s=i(t,e,n,r);return s&&(0,o.tI)(s)&&s.catch((t=>{c(t,e,n)})),s}const u=[];for(let o=0;o>>1,o=O(f[r]);op&&f.splice(e,1)}function k(t){(0,o.kJ)(t)?d.push(...t):h&&h.includes(t,t.allowRecurse?v+1:v)||d.push(t),w()}function C(t,e=(l?p+1:0)){for(0;eO(t)-O(e))),v=0;vnull==t.id?1/0:t.id,E=(t,e)=>{const n=O(t)-O(e);if(0===n){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function j(t){a=!1,l=!0,f.sort(E);o.dG;try{for(p=0;p(0,o.HD)(t)?t.trim():t))),e&&(i=n.map(o.h5))}let l;let a=r[l=(0,o.hR)(e)]||r[l=(0,o.hR)((0,o._A)(e))];!a&&c&&(a=r[l=(0,o.hR)((0,o.rs)(e))]),a&&s(a,t,6,i);const f=r[l+"Once"];if(f){if(t.emitted){if(t.emitted[l])return}else t.emitted={};t.emitted[l]=!0,s(f,t,6,i)}}function P(t,e,n=!1){const r=e.emitsCache,i=r.get(t);if(void 0!==i)return i;const s=t.emits;let c={},u=!1;if(!(0,o.mf)(t)){const r=t=>{const n=P(t,e,!0);n&&(u=!0,(0,o.l7)(c,n))};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}return s||u?((0,o.kJ)(s)?s.forEach((t=>c[t]=null)):(0,o.l7)(c,s),(0,o.Kn)(t)&&r.set(t,c),c):((0,o.Kn)(t)&&r.set(t,null),null)}function A(t,e){return!(!t||!(0,o.F7)(e))&&(e=e.slice(2).replace(/Once$/,""),(0,o.RI)(t,e[0].toLowerCase()+e.slice(1))||(0,o.RI)(t,(0,o.rs)(e))||(0,o.RI)(t,e))}let T=null,I=null;function F(t){const e=T;return T=t,I=t&&t.type.__scopeId||null,e}function M(t){I=t}function L(){I=null}function $(t,e=T,n){if(!e)return t;if(t._n)return t;const r=(...n)=>{r._d&&qe(-1);const o=F(e);let i;try{i=t(...n)}finally{F(o),r._d&&qe(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function N(t){const{type:e,vnode:n,proxy:r,withProxy:i,props:s,propsOptions:[u],slots:l,attrs:a,emit:f,render:p,renderCache:d,data:h,setupState:v,ctx:m,inheritAttrs:g}=t;let y,b;const _=F(t);try{if(4&n.shapeFlag){const t=i||r;y=ln(p.call(t,t,d,s,v,h,m)),b=a}else{const t=e;0,y=ln(t.length>1?t(s,{attrs:a,slots:l,emit:f}):t(s,null)),b=e.props?a:U(a)}}catch(x){De.length=0,c(x,t,1),y=en(Ne)}let w=y;if(b&&!1!==g){const t=Object.keys(b),{shapeFlag:e}=w;t.length&&7&e&&(u&&t.some(o.tR)&&(b=D(b,u)),w=on(w,b))}return n.dirs&&(w=on(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),y=w,F(_),y}const U=t=>{let e;for(const n in t)("class"===n||"style"===n||(0,o.F7)(n))&&((e||(e={}))[n]=t[n]);return e},D=(t,e)=>{const n={};for(const r in t)(0,o.tR)(r)&&r.slice(9)in e||(n[r]=t[r]);return n};function J(t,e,n){const{props:r,children:o,component:i}=t,{props:s,children:c,patchFlag:u}=e,l=i.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&u>=0))return!(!o&&!c||c&&c.$stable)||r!==s&&(r?!s||V(r,s,l):!!s);if(1024&u)return!0;if(16&u)return r?V(r,s,l):!!s;if(8&u){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function q(t,e){e&&e.pendingBranch?(0,o.kJ)(t)?e.effects.push(...t):e.effects.push(t):k(t)}function H(t,e){if(gn){let n=gn.provides;const r=gn.parent&&gn.parent.provides;r===n&&(n=gn.provides=Object.create(r)),n[t]=e}else 0}function K(t,e,n=!1){const r=gn||T;if(r){const i=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(i&&t in i)return i[t];if(arguments.length>1)return n&&(0,o.mf)(e)?e.call(r.proxy):e}else 0}function W(t,e){return Z(t,null,e)}const z={};function Y(t,e,n){return Z(t,e,n)}function Z(t,e,{immediate:n,deep:c,flush:u,onTrack:l,onTrigger:a}=o.kT){const f=(0,r.nZ)()===(null===gn||void 0===gn?void 0:gn.scope)?gn:null;let p,d,h=!1,v=!1;if((0,r.dq)(t)?(p=()=>t.value,h=(0,r.yT)(t)):(0,r.PG)(t)?(p=()=>t,c=!0):(0,o.kJ)(t)?(v=!0,h=t.some((t=>(0,r.PG)(t)||(0,r.yT)(t))),p=()=>t.map((t=>(0,r.dq)(t)?t.value:(0,r.PG)(t)?tt(t):(0,o.mf)(t)?i(t,f,2):void 0))):p=(0,o.mf)(t)?e?()=>i(t,f,2):()=>{if(!f||!f.isUnmounted)return d&&d(),s(t,f,3,[g])}:o.dG,e&&c){const t=p;p=()=>tt(t())}let m,g=t=>{d=x.onStop=()=>{i(t,f,4)}};if(Cn){if(g=o.dG,e?n&&s(e,f,3,[p(),v?[]:void 0,g]):p(),"sync"!==u)return o.dG;{const t=$n();m=t.__watcherHandles||(t.__watcherHandles=[])}}let y=v?new Array(t.length).fill(z):z;const b=()=>{if(x.active)if(e){const t=x.run();(c||h||(v?t.some(((t,e)=>(0,o.aU)(t,y[e]))):(0,o.aU)(t,y)))&&(d&&d(),s(e,f,3,[t,y===z?void 0:v&&y[0]===z?[]:y,g]),y=t)}else x.run()};let w;b.allowRecurse=!!e,"sync"===u?w=b:"post"===u?w=()=>Re(b,f&&f.suspense):(b.pre=!0,f&&(b.id=f.uid),w=()=>_(b));const x=new r.qq(p,w);e?n?b():y=x.run():"post"===u?Re(x.run.bind(x),f&&f.suspense):x.run();const k=()=>{x.stop(),f&&f.scope&&(0,o.Od)(f.scope.effects,x)};return m&&m.push(k),k}function X(t,e,n){const r=this.proxy,i=(0,o.HD)(t)?t.includes(".")?Q(r,t):()=>r[t]:t.bind(r,r);let s;(0,o.mf)(e)?s=e:(s=e.handler,n=e);const c=gn;bn(this);const u=Z(i,s.bind(r),n);return c?bn(c):_n(),u}function Q(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;t{tt(t,e)}));else if((0,o.PO)(t))for(const n in t)tt(t[n],e);return t}function et(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ot((()=>{t.isMounted=!0})),Rt((()=>{t.isUnmounting=!0})),t}const nt=[Function,Array],rt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:nt,onEnter:nt,onAfterEnter:nt,onEnterCancelled:nt,onBeforeLeave:nt,onLeave:nt,onAfterLeave:nt,onLeaveCancelled:nt,onBeforeAppear:nt,onAppear:nt,onAfterAppear:nt,onAppearCancelled:nt},setup(t,{slots:e}){const n=yn(),o=et();let i;return()=>{const s=e.default&&at(e.default(),!0);if(!s||!s.length)return;let c=s[0];if(s.length>1){let t=!1;for(const e of s)if(e.type!==Ne){0,c=e,t=!0;break}}const u=(0,r.IU)(t),{mode:l}=u;if(o.isLeaving)return ct(c);const a=ut(c);if(!a)return ct(c);const f=st(a,u,o,n);lt(a,f);const p=n.subTree,d=p&&ut(p);let h=!1;const{getTransitionKey:v}=a.type;if(v){const t=v();void 0===i?i=t:t!==i&&(i=t,h=!0)}if(d&&d.type!==Ne&&(!Ye(a,d)||h)){const t=st(d,u,o,n);if(lt(d,t),"out-in"===l)return o.isLeaving=!0,t.afterLeave=()=>{o.isLeaving=!1,!1!==n.update.active&&n.update()},ct(c);"in-out"===l&&a.type!==Ne&&(t.delayLeave=(t,e,n)=>{const r=it(o,d);r[String(d.key)]=d,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=n})}return c}}},ot=rt;function it(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function st(t,e,n,r){const{appear:i,mode:c,persisted:u=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:f,onEnterCancelled:p,onBeforeLeave:d,onLeave:h,onAfterLeave:v,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:b,onAppearCancelled:_}=e,w=String(t.key),x=it(n,t),k=(t,e)=>{t&&s(t,r,9,e)},C=(t,e)=>{const n=e[1];k(t,e),(0,o.kJ)(t)?t.every((t=>t.length<=1))&&n():t.length<=1&&n()},S={mode:c,persisted:u,beforeEnter(e){let r=l;if(!n.isMounted){if(!i)return;r=g||l}e._leaveCb&&e._leaveCb(!0);const o=x[w];o&&Ye(t,o)&&o.el._leaveCb&&o.el._leaveCb(),k(r,[e])},enter(t){let e=a,r=f,o=p;if(!n.isMounted){if(!i)return;e=y||a,r=b||f,o=_||p}let s=!1;const c=t._enterCb=e=>{s||(s=!0,k(e?o:r,[t]),S.delayedLeave&&S.delayedLeave(),t._enterCb=void 0)};e?C(e,[t,c]):c()},leave(e,r){const o=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();k(d,[e]);let i=!1;const s=e._leaveCb=n=>{i||(i=!0,r(),k(n?m:v,[e]),e._leaveCb=void 0,x[o]===t&&delete x[o])};x[o]=t,h?C(h,[e,s]):s()},clone(t){return st(t,e,n,r)}};return S}function ct(t){if(dt(t))return t=on(t),t.children=null,t}function ut(t){return dt(t)?t.children?t.children[0]:void 0:t}function lt(t,e){6&t.shapeFlag&&t.component?lt(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function at(t,e=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!t.type.__asyncLoader;const dt=t=>t.type.__isKeepAlive,ht={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=yn(),r=n.ctx;if(!r.renderer)return()=>{const t=e.default&&e.default();return t&&1===t.length?t[0]:t};const i=new Map,s=new Set;let c=null;const u=n.suspense,{renderer:{p:l,m:a,um:f,o:{createElement:p}}}=r,d=p("div");function h(t){wt(t),f(t,n,u,!0)}function v(t){i.forEach(((e,n)=>{const r=Tn(e.type);!r||t&&t(r)||m(n)}))}function m(t){const e=i.get(t);c&&Ye(e,c)?c&&wt(c):h(e),i.delete(t),s.delete(t)}r.activate=(t,e,n,r,i)=>{const s=t.component;a(t,e,n,0,u),l(s.vnode,t,e,n,s,u,r,t.slotScopeIds,i),Re((()=>{s.isDeactivated=!1,s.a&&(0,o.ir)(s.a);const e=t.props&&t.props.onVnodeMounted;e&&dn(e,s.parent,t)}),u)},r.deactivate=t=>{const e=t.component;a(t,d,null,1,u),Re((()=>{e.da&&(0,o.ir)(e.da);const n=t.props&&t.props.onVnodeUnmounted;n&&dn(n,e.parent,t),e.isDeactivated=!0}),u)},Y((()=>[t.include,t.exclude]),(([t,e])=>{t&&v((e=>mt(t,e))),e&&v((t=>!mt(e,t)))}),{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&i.set(g,xt(n.subTree))};return Ot(y),jt(y),Rt((()=>{i.forEach((t=>{const{subTree:e,suspense:r}=n,o=xt(e);if(t.type!==o.type||t.key!==o.key)h(t);else{wt(o);const t=o.component.da;t&&Re(t,r)}}))})),()=>{if(g=null,!e.default)return null;const n=e.default(),r=n[0];if(n.length>1)return c=null,n;if(!ze(r)||!(4&r.shapeFlag)&&!(128&r.shapeFlag))return c=null,r;let o=xt(r);const u=o.type,l=Tn(pt(o)?o.type.__asyncResolved||{}:u),{include:a,exclude:f,max:p}=t;if(a&&(!l||!mt(a,l))||f&&l&&mt(f,l))return c=o,r;const d=null==o.key?u:o.key,h=i.get(d);return o.el&&(o=on(o),128&r.shapeFlag&&(r.ssContent=o)),g=d,h?(o.el=h.el,o.component=h.component,o.transition&<(o,o.transition),o.shapeFlag|=512,s.delete(d),s.add(d)):(s.add(d),p&&s.size>parseInt(p,10)&&m(s.values().next().value)),o.shapeFlag|=256,c=o,B(r.type)?r:o}}},vt=ht;function mt(t,e){return(0,o.kJ)(t)?t.some((t=>mt(t,e))):(0,o.HD)(t)?t.split(",").includes(e):!!(0,o.Kj)(t)&&t.test(e)}function gt(t,e){bt(t,"a",e)}function yt(t,e){bt(t,"da",e)}function bt(t,e,n=gn){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}return t()});if(kt(e,r,n),n){let t=n.parent;while(t&&t.parent)dt(t.parent.vnode)&&_t(r,e,n,t),t=t.parent}}function _t(t,e,n,r){const i=kt(e,t,r,!0);Pt((()=>{(0,o.Od)(r[e],i)}),n)}function wt(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function xt(t){return 128&t.shapeFlag?t.ssContent:t}function kt(t,e,n=gn,o=!1){if(n){const i=n[t]||(n[t]=[]),c=e.__weh||(e.__weh=(...o)=>{if(n.isUnmounted)return;(0,r.Jd)(),bn(n);const i=s(e,n,t,o);return _n(),(0,r.lk)(),i});return o?i.unshift(c):i.push(c),c}}const Ct=t=>(e,n=gn)=>(!Cn||"sp"===t)&&kt(t,((...t)=>e(...t)),n),St=Ct("bm"),Ot=Ct("m"),Et=Ct("bu"),jt=Ct("u"),Rt=Ct("bum"),Pt=Ct("um"),At=Ct("sp"),Tt=Ct("rtg"),It=Ct("rtc");function Ft(t,e=gn){kt("ec",t,e)}function Mt(t,e){const n=T;if(null===n)return t;const r=An(n)||n.proxy,i=t.dirs||(t.dirs=[]);for(let s=0;se(t,n,void 0,s&&s[n])));else{const n=Object.keys(t);i=new Array(n.length);for(let r=0,o=n.length;rt?wn(t)?An(t)||t.proxy:Bt(t.parent):null,qt=(0,o.l7)(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Bt(t.parent),$root:t=>Bt(t.root),$emit:t=>t.emit,$options:t=>Qt(t),$forceUpdate:t=>t.f||(t.f=()=>_(t.update)),$nextTick:t=>t.n||(t.n=y.bind(t.proxy)),$watch:t=>X.bind(t)}),Ht=(t,e)=>t!==o.kT&&!t.__isScriptSetup&&(0,o.RI)(t,e),Kt={get({_:t},e){const{ctx:n,setupState:i,data:s,props:c,accessCache:u,type:l,appContext:a}=t;let f;if("$"!==e[0]){const r=u[e];if(void 0!==r)switch(r){case 1:return i[e];case 2:return s[e];case 4:return n[e];case 3:return c[e]}else{if(Ht(i,e))return u[e]=1,i[e];if(s!==o.kT&&(0,o.RI)(s,e))return u[e]=2,s[e];if((f=t.propsOptions[0])&&(0,o.RI)(f,e))return u[e]=3,c[e];if(n!==o.kT&&(0,o.RI)(n,e))return u[e]=4,n[e];Wt&&(u[e]=0)}}const p=qt[e];let d,h;return p?("$attrs"===e&&(0,r.j)(t,"get",e),p(t)):(d=l.__cssModules)&&(d=d[e])?d:n!==o.kT&&(0,o.RI)(n,e)?(u[e]=4,n[e]):(h=a.config.globalProperties,(0,o.RI)(h,e)?h[e]:void 0)},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return Ht(i,e)?(i[e]=n,!0):r!==o.kT&&(0,o.RI)(r,e)?(r[e]=n,!0):!(0,o.RI)(t.props,e)&&(("$"!==e[0]||!(e.slice(1)in t))&&(s[e]=n,!0))},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,propsOptions:s}},c){let u;return!!n[c]||t!==o.kT&&(0,o.RI)(t,c)||Ht(e,c)||(u=s[0])&&(0,o.RI)(u,c)||(0,o.RI)(r,c)||(0,o.RI)(qt,c)||(0,o.RI)(i.config.globalProperties,c)},defineProperty(t,e,n){return null!=n.get?t._.accessCache[e]=0:(0,o.RI)(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Wt=!0;function zt(t){const e=Qt(t),n=t.proxy,i=t.ctx;Wt=!1,e.beforeCreate&&Zt(e.beforeCreate,t,"bc");const{data:s,computed:c,methods:u,watch:l,provide:a,inject:f,created:p,beforeMount:d,mounted:h,beforeUpdate:v,updated:m,activated:g,deactivated:y,beforeDestroy:b,beforeUnmount:_,destroyed:w,unmounted:x,render:k,renderTracked:C,renderTriggered:S,errorCaptured:O,serverPrefetch:E,expose:j,inheritAttrs:R,components:P,directives:A,filters:T}=e,I=null;if(f&&Yt(f,i,I,t.appContext.config.unwrapInjectedRef),u)for(const r in u){const t=u[r];(0,o.mf)(t)&&(i[r]=t.bind(n))}if(s){0;const e=s.call(n,n);0,(0,o.Kn)(e)&&(t.data=(0,r.qj)(e))}if(Wt=!0,c)for(const r in c){const t=c[r],e=(0,o.mf)(t)?t.bind(n,n):(0,o.mf)(t.get)?t.get.bind(n,n):o.dG;0;const s=!(0,o.mf)(t)&&(0,o.mf)(t.set)?t.set.bind(n):o.dG,u=Fn({get:e,set:s});Object.defineProperty(i,r,{enumerable:!0,configurable:!0,get:()=>u.value,set:t=>u.value=t})}if(l)for(const r in l)Xt(l[r],i,n,r);if(a){const t=(0,o.mf)(a)?a.call(n):a;Reflect.ownKeys(t).forEach((e=>{H(e,t[e])}))}function F(t,e){(0,o.kJ)(e)?e.forEach((e=>t(e.bind(n)))):e&&t(e.bind(n))}if(p&&Zt(p,t,"c"),F(St,d),F(Ot,h),F(Et,v),F(jt,m),F(gt,g),F(yt,y),F(Ft,O),F(It,C),F(Tt,S),F(Rt,_),F(Pt,x),F(At,E),(0,o.kJ)(j))if(j.length){const e=t.exposed||(t.exposed={});j.forEach((t=>{Object.defineProperty(e,t,{get:()=>n[t],set:e=>n[t]=e})}))}else t.exposed||(t.exposed={});k&&t.render===o.dG&&(t.render=k),null!=R&&(t.inheritAttrs=R),P&&(t.components=P),A&&(t.directives=A)}function Yt(t,e,n=o.dG,i=!1){(0,o.kJ)(t)&&(t=oe(t));for(const s in t){const n=t[s];let c;c=(0,o.Kn)(n)?"default"in n?K(n.from||s,n.default,!0):K(n.from||s):K(n),(0,r.dq)(c)&&i?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>c.value,set:t=>c.value=t}):e[s]=c}}function Zt(t,e,n){s((0,o.kJ)(t)?t.map((t=>t.bind(e.proxy))):t.bind(e.proxy),e,n)}function Xt(t,e,n,r){const i=r.includes(".")?Q(n,r):()=>n[r];if((0,o.HD)(t)){const n=e[t];(0,o.mf)(n)&&Y(i,n)}else if((0,o.mf)(t))Y(i,t.bind(n));else if((0,o.Kn)(t))if((0,o.kJ)(t))t.forEach((t=>Xt(t,e,n,r)));else{const r=(0,o.mf)(t.handler)?t.handler.bind(n):e[t.handler];(0,o.mf)(r)&&Y(i,r,t)}else 0}function Qt(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:c}}=t.appContext,u=s.get(e);let l;return u?l=u:i.length||n||r?(l={},i.length&&i.forEach((t=>te(l,t,c,!0))),te(l,e,c)):l=e,(0,o.Kn)(e)&&s.set(e,l),l}function te(t,e,n,r=!1){const{mixins:o,extends:i}=e;i&&te(t,i,n,!0),o&&o.forEach((e=>te(t,e,n,!0)));for(const s in e)if(r&&"expose"===s);else{const r=ee[s]||n&&n[s];t[s]=r?r(t[s],e[s]):e[s]}return t}const ee={data:ne,props:se,emits:se,methods:se,computed:se,beforeCreate:ie,created:ie,beforeMount:ie,mounted:ie,beforeUpdate:ie,updated:ie,beforeDestroy:ie,beforeUnmount:ie,destroyed:ie,unmounted:ie,activated:ie,deactivated:ie,errorCaptured:ie,serverPrefetch:ie,components:se,directives:se,watch:ce,provide:ne,inject:re};function ne(t,e){return e?t?function(){return(0,o.l7)((0,o.mf)(t)?t.call(this,this):t,(0,o.mf)(e)?e.call(this,this):e)}:e:t}function re(t,e){return se(oe(t),oe(e))}function oe(t){if((0,o.kJ)(t)){const e={};for(let n=0;n0)||16&u){let r;ae(t,e,s,c)&&(f=!0);for(const i in l)e&&((0,o.RI)(e,i)||(r=(0,o.rs)(i))!==i&&(0,o.RI)(e,r))||(a?!n||void 0===n[i]&&void 0===n[r]||(s[i]=fe(a,l,i,void 0,t,!0)):delete s[i]);if(c!==l)for(const t in c)e&&(0,o.RI)(e,t)||(delete c[t],f=!0)}else if(8&u){const n=t.vnode.dynamicProps;for(let r=0;r{l=!0;const[n,r]=pe(t,e,!0);(0,o.l7)(c,n),r&&u.push(...r)};!n&&e.mixins.length&&e.mixins.forEach(r),t.extends&&r(t.extends),t.mixins&&t.mixins.forEach(r)}if(!s&&!l)return(0,o.Kn)(t)&&r.set(t,o.Z6),o.Z6;if((0,o.kJ)(s))for(let f=0;f-1,r[1]=n<0||t-1||(0,o.RI)(r,"default"))&&u.push(e)}}}}const a=[c,u];return(0,o.Kn)(t)&&r.set(t,a),a}function de(t){return"$"!==t[0]}function he(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:null===t?"null":""}function ve(t,e){return he(t)===he(e)}function me(t,e){return(0,o.kJ)(e)?e.findIndex((e=>ve(e,t))):(0,o.mf)(e)&&ve(e,t)?0:-1}const ge=t=>"_"===t[0]||"$stable"===t,ye=t=>(0,o.kJ)(t)?t.map(ln):[ln(t)],be=(t,e,n)=>{if(e._n)return e;const r=$(((...t)=>ye(e(...t))),n);return r._c=!1,r},_e=(t,e,n)=>{const r=t._ctx;for(const i in t){if(ge(i))continue;const n=t[i];if((0,o.mf)(n))e[i]=be(i,n,r);else if(null!=n){0;const t=ye(n);e[i]=()=>t}}},we=(t,e)=>{const n=ye(e);t.slots.default=()=>n},xe=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=(0,r.IU)(e),(0,o.Nj)(e,"_",n)):_e(e,t.slots={})}else t.slots={},e&&we(t,e);(0,o.Nj)(t.slots,Ze,1)},ke=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,c=o.kT;if(32&r.shapeFlag){const t=e._;t?n&&1===t?s=!1:((0,o.l7)(i,e),n||1!==t||delete i._):(s=!e.$stable,_e(e,i)),c=e}else e&&(we(t,e),c={default:1});if(s)for(const o in i)ge(o)||o in c||delete i[o]};function Ce(){return{app:null,config:{isNativeTag:o.NO,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 Se=0;function Oe(t,e){return function(n,r=null){(0,o.mf)(n)||(n=Object.assign({},n)),null==r||(0,o.Kn)(r)||(r=null);const i=Ce(),s=new Set;let c=!1;const u=i.app={_uid:Se++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Nn,get config(){return i.config},set config(t){0},use(t,...e){return s.has(t)||(t&&(0,o.mf)(t.install)?(s.add(t),t.install(u,...e)):(0,o.mf)(t)&&(s.add(t),t(u,...e))),u},mixin(t){return i.mixins.includes(t)||i.mixins.push(t),u},component(t,e){return e?(i.components[t]=e,u):i.components[t]},directive(t,e){return e?(i.directives[t]=e,u):i.directives[t]},mount(o,s,l){if(!c){0;const a=en(n,r);return a.appContext=i,s&&e?e(a,o):t(a,o,l),c=!0,u._container=o,o.__vue_app__=u,An(a.component)||a.component.proxy}},unmount(){c&&(t(null,u._container),delete u._container.__vue_app__)},provide(t,e){return i.provides[t]=e,u}};return u}}function Ee(t,e,n,s,c=!1){if((0,o.kJ)(t))return void t.forEach(((t,r)=>Ee(t,e&&((0,o.kJ)(e)?e[r]:e),n,s,c)));if(pt(s)&&!c)return;const u=4&s.shapeFlag?An(s.component)||s.component.proxy:s.el,l=c?null:u,{i:a,r:f}=t;const p=e&&e.r,d=a.refs===o.kT?a.refs={}:a.refs,h=a.setupState;if(null!=p&&p!==f&&((0,o.HD)(p)?(d[p]=null,(0,o.RI)(h,p)&&(h[p]=null)):(0,r.dq)(p)&&(p.value=null)),(0,o.mf)(f))i(f,a,12,[l,d]);else{const e=(0,o.HD)(f),i=(0,r.dq)(f);if(e||i){const r=()=>{if(t.f){const n=e?(0,o.RI)(h,f)?h[f]:d[f]:f.value;c?(0,o.kJ)(n)&&(0,o.Od)(n,u):(0,o.kJ)(n)?n.includes(u)||n.push(u):e?(d[f]=[u],(0,o.RI)(h,f)&&(h[f]=d[f])):(f.value=[u],t.k&&(d[t.k]=f.value))}else e?(d[f]=l,(0,o.RI)(h,f)&&(h[f]=l)):i&&(f.value=l,t.k&&(d[t.k]=l))};l?(r.id=-1,Re(r,n)):r()}else 0}}function je(){}const Re=q;function Pe(t){return Ae(t)}function Ae(t,e){je();const n=(0,o.E9)();n.__VUE__=!0;const{insert:i,remove:s,patchProp:c,createElement:u,createText:l,createComment:a,setText:f,setElementText:p,parentNode:d,nextSibling:h,setScopeId:v=o.dG,insertStaticContent:m}=t,g=(t,e,n,r=null,o=null,i=null,s=!1,c=null,u=!!e.dynamicChildren)=>{if(t===e)return;t&&!Ye(t,e)&&(r=X(t),K(t,o,i,!0),t=null),-2===e.patchFlag&&(u=!1,e.dynamicChildren=null);const{type:l,ref:a,shapeFlag:f}=e;switch(l){case $e:y(t,e,n,r);break;case Ne:b(t,e,n,r);break;case Ue:null==t&&w(e,n,r,s);break;case Le:F(t,e,n,r,o,i,s,c,u);break;default:1&f?E(t,e,n,r,o,i,s,c,u):6&f?M(t,e,n,r,o,i,s,c,u):(64&f||128&f)&&l.process(t,e,n,r,o,i,s,c,u,tt)}null!=a&&o&&Ee(a,t&&t.ref,i,e||t,!e)},y=(t,e,n,r)=>{if(null==t)i(e.el=l(e.children),n,r);else{const n=e.el=t.el;e.children!==t.children&&f(n,e.children)}},b=(t,e,n,r)=>{null==t?i(e.el=a(e.children||""),n,r):e.el=t.el},w=(t,e,n,r)=>{[t.el,t.anchor]=m(t.children,e,n,r,t.el,t.anchor)},k=({el:t,anchor:e},n,r)=>{let o;while(t&&t!==e)o=h(t),i(t,n,r),t=o;i(e,n,r)},O=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=h(t),s(t),t=n;s(e)},E=(t,e,n,r,o,i,s,c,u)=>{s=s||"svg"===e.type,null==t?j(e,n,r,o,i,s,c,u):A(t,e,o,i,s,c,u)},j=(t,e,n,r,s,l,a,f)=>{let d,h;const{type:v,props:m,shapeFlag:g,transition:y,dirs:b}=t;if(d=t.el=u(t.type,l,m&&m.is,m),8&g?p(d,t.children):16&g&&P(t.children,d,null,r,s,l&&"foreignObject"!==v,a,f),b&&Lt(t,null,r,"created"),R(d,t,t.scopeId,a,r),m){for(const e in m)"value"===e||(0,o.Gg)(e)||c(d,e,null,m[e],l,t.children,r,s,Z);"value"in m&&c(d,"value",null,m.value),(h=m.onVnodeBeforeMount)&&dn(h,r,t)}b&&Lt(t,null,r,"beforeMount");const _=(!s||s&&!s.pendingBranch)&&y&&!y.persisted;_&&y.beforeEnter(d),i(d,e,n),((h=m&&m.onVnodeMounted)||_||b)&&Re((()=>{h&&dn(h,r,t),_&&y.enter(d),b&&Lt(t,null,r,"mounted")}),s)},R=(t,e,n,r,o)=>{if(n&&v(t,n),r)for(let i=0;i{for(let l=u;l{const l=e.el=t.el;let{patchFlag:a,dynamicChildren:f,dirs:d}=e;a|=16&t.patchFlag;const h=t.props||o.kT,v=e.props||o.kT;let m;n&&Te(n,!1),(m=v.onVnodeBeforeUpdate)&&dn(m,n,e,t),d&&Lt(e,t,n,"beforeUpdate"),n&&Te(n,!0);const g=i&&"foreignObject"!==e.type;if(f?T(t.dynamicChildren,f,l,n,r,g,s):u||V(t,e,l,null,n,r,g,s,!1),a>0){if(16&a)I(l,e,h,v,n,r,i);else if(2&a&&h.class!==v.class&&c(l,"class",null,v.class,i),4&a&&c(l,"style",h.style,v.style,i),8&a){const o=e.dynamicProps;for(let e=0;e{m&&dn(m,n,e,t),d&&Lt(e,t,n,"updated")}),r)},T=(t,e,n,r,o,i,s)=>{for(let c=0;c{if(n!==r){if(n!==o.kT)for(const l in n)(0,o.Gg)(l)||l in r||c(t,l,n[l],null,u,e.children,i,s,Z);for(const l in r){if((0,o.Gg)(l))continue;const a=r[l],f=n[l];a!==f&&"value"!==l&&c(t,l,f,a,u,e.children,i,s,Z)}"value"in r&&c(t,"value",n.value,r.value)}},F=(t,e,n,r,o,s,c,u,a)=>{const f=e.el=t?t.el:l(""),p=e.anchor=t?t.anchor:l("");let{patchFlag:d,dynamicChildren:h,slotScopeIds:v}=e;v&&(u=u?u.concat(v):v),null==t?(i(f,n,r),i(p,n,r),P(e.children,n,p,o,s,c,u,a)):d>0&&64&d&&h&&t.dynamicChildren?(T(t.dynamicChildren,h,n,o,s,c,u),(null!=e.key||o&&e===o.subTree)&&Ie(t,e,!0)):V(t,e,n,p,o,s,c,u,a)},M=(t,e,n,r,o,i,s,c,u)=>{e.slotScopeIds=c,null==t?512&e.shapeFlag?o.ctx.activate(e,n,r,s,u):L(e,n,r,o,i,s,u):$(t,e,u)},L=(t,e,n,r,o,i,s)=>{const c=t.component=mn(t,r,o);if(dt(t)&&(c.ctx.renderer=tt),Sn(c),c.asyncDep){if(o&&o.registerDep(c,U),!t.el){const t=c.subTree=en(Ne);b(null,t,e,n)}}else U(c,t,e,n,o,i,s)},$=(t,e,n)=>{const r=e.component=t.component;if(J(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void D(r,e,n);r.next=e,x(r.update),r.update()}else e.el=t.el,r.vnode=e},U=(t,e,n,i,s,c,u)=>{const l=()=>{if(t.isMounted){let e,{next:n,bu:r,u:i,parent:l,vnode:a}=t,f=n;0,Te(t,!1),n?(n.el=a.el,D(t,n,u)):n=a,r&&(0,o.ir)(r),(e=n.props&&n.props.onVnodeBeforeUpdate)&&dn(e,l,n,a),Te(t,!0);const p=N(t);0;const h=t.subTree;t.subTree=p,g(h,p,d(h.el),X(h),t,s,c),n.el=p.el,null===f&&G(t,p.el),i&&Re(i,s),(e=n.props&&n.props.onVnodeUpdated)&&Re((()=>dn(e,l,n,a)),s)}else{let r;const{el:u,props:l}=e,{bm:a,m:f,parent:p}=t,d=pt(e);if(Te(t,!1),a&&(0,o.ir)(a),!d&&(r=l&&l.onVnodeBeforeMount)&&dn(r,p,e),Te(t,!0),u&&nt){const n=()=>{t.subTree=N(t),nt(u,t.subTree,t,s,null)};d?e.type.__asyncLoader().then((()=>!t.isUnmounted&&n())):n()}else{0;const r=t.subTree=N(t);0,g(null,r,n,i,t,s,c),e.el=r.el}if(f&&Re(f,s),!d&&(r=l&&l.onVnodeMounted)){const t=e;Re((()=>dn(r,p,t)),s)}(256&e.shapeFlag||p&&pt(p.vnode)&&256&p.vnode.shapeFlag)&&t.a&&Re(t.a,s),t.isMounted=!0,e=n=i=null}},a=t.effect=new r.qq(l,(()=>_(f)),t.scope),f=t.update=()=>a.run();f.id=t.uid,Te(t,!0),f()},D=(t,e,n)=>{e.component=t;const o=t.vnode.props;t.vnode=e,t.next=null,le(t,e.props,o,n),ke(t,e.children,n),(0,r.Jd)(),C(),(0,r.lk)()},V=(t,e,n,r,o,i,s,c,u=!1)=>{const l=t&&t.children,a=t?t.shapeFlag:0,f=e.children,{patchFlag:d,shapeFlag:h}=e;if(d>0){if(128&d)return void q(l,f,n,r,o,i,s,c,u);if(256&d)return void B(l,f,n,r,o,i,s,c,u)}8&h?(16&a&&Z(l,o,i),f!==l&&p(n,f)):16&a?16&h?q(l,f,n,r,o,i,s,c,u):Z(l,o,i,!0):(8&a&&p(n,""),16&h&&P(f,n,r,o,i,s,c,u))},B=(t,e,n,r,i,s,c,u,l)=>{t=t||o.Z6,e=e||o.Z6;const a=t.length,f=e.length,p=Math.min(a,f);let d;for(d=0;df?Z(t,i,s,!0,!1,p):P(e,n,r,i,s,c,u,l,p)},q=(t,e,n,r,i,s,c,u,l)=>{let a=0;const f=e.length;let p=t.length-1,d=f-1;while(a<=p&&a<=d){const r=t[a],o=e[a]=l?an(e[a]):ln(e[a]);if(!Ye(r,o))break;g(r,o,n,null,i,s,c,u,l),a++}while(a<=p&&a<=d){const r=t[p],o=e[d]=l?an(e[d]):ln(e[d]);if(!Ye(r,o))break;g(r,o,n,null,i,s,c,u,l),p--,d--}if(a>p){if(a<=d){const t=d+1,o=td)while(a<=p)K(t[a],i,s,!0),a++;else{const h=a,v=a,m=new Map;for(a=v;a<=d;a++){const t=e[a]=l?an(e[a]):ln(e[a]);null!=t.key&&m.set(t.key,a)}let y,b=0;const _=d-v+1;let w=!1,x=0;const k=new Array(_);for(a=0;a<_;a++)k[a]=0;for(a=h;a<=p;a++){const r=t[a];if(b>=_){K(r,i,s,!0);continue}let o;if(null!=r.key)o=m.get(r.key);else for(y=v;y<=d;y++)if(0===k[y-v]&&Ye(r,e[y])){o=y;break}void 0===o?K(r,i,s,!0):(k[o-v]=a+1,o>=x?x=o:w=!0,g(r,e[o],n,null,i,s,c,u,l),b++)}const C=w?Fe(k):o.Z6;for(y=C.length-1,a=_-1;a>=0;a--){const t=v+a,o=e[t],p=t+1{const{el:s,type:c,transition:u,children:l,shapeFlag:a}=t;if(6&a)return void H(t.component.subTree,e,n,r);if(128&a)return void t.suspense.move(e,n,r);if(64&a)return void c.move(t,e,n,tt);if(c===Le){i(s,e,n);for(let t=0;tu.enter(s)),o);else{const{leave:t,delayLeave:r,afterLeave:o}=u,c=()=>i(s,e,n),l=()=>{t(s,(()=>{c(),o&&o()}))};r?r(s,c,l):l()}else i(s,e,n)},K=(t,e,n,r=!1,o=!1)=>{const{type:i,props:s,ref:c,children:u,dynamicChildren:l,shapeFlag:a,patchFlag:f,dirs:p}=t;if(null!=c&&Ee(c,null,n,t,!0),256&a)return void e.ctx.deactivate(t);const d=1&a&&p,h=!pt(t);let v;if(h&&(v=s&&s.onVnodeBeforeUnmount)&&dn(v,e,t),6&a)Y(t.component,n,r);else{if(128&a)return void t.suspense.unmount(n,r);d&&Lt(t,null,e,"beforeUnmount"),64&a?t.type.remove(t,e,n,o,tt,r):l&&(i!==Le||f>0&&64&f)?Z(l,e,n,!1,!0):(i===Le&&384&f||!o&&16&a)&&Z(u,e,n),r&&W(t)}(h&&(v=s&&s.onVnodeUnmounted)||d)&&Re((()=>{v&&dn(v,e,t),d&&Lt(t,null,e,"unmounted")}),n)},W=t=>{const{type:e,el:n,anchor:r,transition:o}=t;if(e===Le)return void z(n,r);if(e===Ue)return void O(t);const i=()=>{s(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&t.shapeFlag&&o&&!o.persisted){const{leave:e,delayLeave:r}=o,s=()=>e(n,i);r?r(t.el,i,s):s()}else i()},z=(t,e)=>{let n;while(t!==e)n=h(t),s(t),t=n;s(e)},Y=(t,e,n)=>{const{bum:r,scope:i,update:s,subTree:c,um:u}=t;r&&(0,o.ir)(r),i.stop(),s&&(s.active=!1,K(c,t,e,n)),u&&Re(u,e),Re((()=>{t.isUnmounted=!0}),e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},Z=(t,e,n,r=!1,o=!1,i=0)=>{for(let s=i;s6&t.shapeFlag?X(t.component.subTree):128&t.shapeFlag?t.suspense.next():h(t.anchor||t.el),Q=(t,e,n)=>{null==t?e._vnode&&K(e._vnode,null,null,!0):g(e._vnode||null,t,e,null,null,null,n),C(),S(),e._vnode=t},tt={p:g,um:K,m:H,r:W,mt:L,mc:P,pc:V,pbc:T,n:X,o:t};let et,nt;return e&&([et,nt]=e(tt)),{render:Q,hydrate:et,createApp:Oe(Q,et)}}function Te({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Ie(t,e,n=!1){const r=t.children,i=e.children;if((0,o.kJ)(r)&&(0,o.kJ)(i))for(let o=0;o>1,t[n[c]]0&&(e[r]=n[i-1]),n[i]=r)}}i=n.length,s=n[i-1];while(i-- >0)n[i]=s,s=e[s];return n}const Me=t=>t.__isTeleport;const Le=Symbol(void 0),$e=Symbol(void 0),Ne=Symbol(void 0),Ue=Symbol(void 0),De=[];let Je=null;function Ve(t=!1){De.push(Je=t?null:[])}function Ge(){De.pop(),Je=De[De.length-1]||null}let Be=1;function qe(t){Be+=t}function He(t){return t.dynamicChildren=Be>0?Je||o.Z6:null,Ge(),Be>0&&Je&&Je.push(t),t}function Ke(t,e,n,r,o,i){return He(tn(t,e,n,r,o,i,!0))}function We(t,e,n,r,o){return He(en(t,e,n,r,o,!0))}function ze(t){return!!t&&!0===t.__v_isVNode}function Ye(t,e){return t.type===e.type&&t.key===e.key}const Ze="__vInternal",Xe=({key:t})=>null!=t?t:null,Qe=({ref:t,ref_key:e,ref_for:n})=>null!=t?(0,o.HD)(t)||(0,r.dq)(t)||(0,o.mf)(t)?{i:T,r:t,k:e,f:!!n}:t:null;function tn(t,e=null,n=null,r=0,i=null,s=(t===Le?0:1),c=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Xe(e),ref:e&&Qe(e),scopeId:I,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:T};return u?(fn(l,n),128&s&&t.normalize(l)):n&&(l.shapeFlag|=(0,o.HD)(n)?8:16),Be>0&&!c&&Je&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&Je.push(l),l}const en=nn;function nn(t,e=null,n=null,i=0,s=null,c=!1){if(t&&t!==Ut||(t=Ne),ze(t)){const r=on(t,e,!0);return n&&fn(r,n),Be>0&&!c&&Je&&(6&r.shapeFlag?Je[Je.indexOf(t)]=r:Je.push(r)),r.patchFlag|=-2,r}if(In(t)&&(t=t.__vccOpts),e){e=rn(e);let{class:t,style:n}=e;t&&!(0,o.HD)(t)&&(e.class=(0,o.C_)(t)),(0,o.Kn)(n)&&((0,r.X3)(n)&&!(0,o.kJ)(n)&&(n=(0,o.l7)({},n)),e.style=(0,o.j5)(n))}const u=(0,o.HD)(t)?1:B(t)?128:Me(t)?64:(0,o.Kn)(t)?4:(0,o.mf)(t)?2:0;return tn(t,e,n,i,s,u,c,!0)}function rn(t){return t?(0,r.X3)(t)||Ze in t?(0,o.l7)({},t):t:null}function on(t,e,n=!1){const{props:r,ref:i,patchFlag:s,children:c}=t,u=e?pn(r||{},e):r,l={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Xe(u),ref:e&&e.ref?n&&i?(0,o.kJ)(i)?i.concat(Qe(e)):[i,Qe(e)]:Qe(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Le?-1===s?16:16|s:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&on(t.ssContent),ssFallback:t.ssFallback&&on(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l}function sn(t=" ",e=0){return en($e,null,t,e)}function cn(t,e){const n=en(Ue,null,t);return n.staticCount=e,n}function un(t="",e=!1){return e?(Ve(),We(Ne,null,t)):en(Ne,null,t)}function ln(t){return null==t||"boolean"===typeof t?en(Ne):(0,o.kJ)(t)?en(Le,null,t.slice()):"object"===typeof t?an(t):en($e,null,String(t))}function an(t){return null===t.el&&-1!==t.patchFlag||t.memo?t:on(t)}function fn(t,e){let n=0;const{shapeFlag:r}=t;if(null==e)e=null;else if((0,o.kJ)(e))n=16;else if("object"===typeof e){if(65&r){const n=e.default;return void(n&&(n._c&&(n._d=!1),fn(t,n()),n._c&&(n._d=!0)))}{n=32;const r=e._;r||Ze in e?3===r&&T&&(1===T.slots._?e._=1:(e._=2,t.patchFlag|=1024)):e._ctx=T}}else(0,o.mf)(e)?(e={default:e,_ctx:T},n=32):(e=String(e),64&r?(n=16,e=[sn(e)]):n=8);t.children=e,t.shapeFlag|=n}function pn(...t){const e={};for(let n=0;ngn||T,bn=t=>{gn=t,t.scope.on()},_n=()=>{gn&&gn.scope.off(),gn=null};function wn(t){return 4&t.vnode.shapeFlag}let xn,kn,Cn=!1;function Sn(t,e=!1){Cn=e;const{props:n,children:r}=t.vnode,o=wn(t);ue(t,n,o,e),xe(t,r);const i=o?On(t,e):void 0;return Cn=!1,i}function On(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=(0,r.Xl)(new Proxy(t.ctx,Kt));const{setup:s}=n;if(s){const n=t.setupContext=s.length>1?Pn(t):null;bn(t),(0,r.Jd)();const u=i(s,t,0,[t.props,n]);if((0,r.lk)(),_n(),(0,o.tI)(u)){if(u.then(_n,_n),e)return u.then((n=>{En(t,n,e)})).catch((e=>{c(e,t,0)}));t.asyncDep=u}else En(t,u,e)}else jn(t,e)}function En(t,e,n){(0,o.mf)(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:(0,o.Kn)(e)&&(t.setupState=(0,r.WL)(e)),jn(t,n)}function jn(t,e,n){const i=t.type;if(!t.render){if(!e&&xn&&!i.render){const e=i.template||Qt(t).template;if(e){0;const{isCustomElement:n,compilerOptions:r}=t.appContext.config,{delimiters:s,compilerOptions:c}=i,u=(0,o.l7)((0,o.l7)({isCustomElement:n,delimiters:s},r),c);i.render=xn(e,u)}}t.render=i.render||o.dG,kn&&kn(t)}bn(t),(0,r.Jd)(),zt(t),(0,r.lk)(),_n()}function Rn(t){return new Proxy(t.attrs,{get(e,n){return(0,r.j)(t,"get","$attrs"),e[n]}})}function Pn(t){const e=e=>{t.exposed=e||{}};let n;return{get attrs(){return n||(n=Rn(t))},slots:t.slots,emit:t.emit,expose:e}}function An(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy((0,r.WL)((0,r.Xl)(t.exposed)),{get(e,n){return n in e?e[n]:n in qt?qt[n](t):void 0},has(t,e){return e in t||e in qt}}))}function Tn(t,e=!0){return(0,o.mf)(t)?t.displayName||t.name:t.name||e&&t.__name}function In(t){return(0,o.mf)(t)&&"__vccOpts"in t}const Fn=(t,e)=>(0,r.Fl)(t,e,Cn);function Mn(t,e,n){const r=arguments.length;return 2===r?(0,o.Kn)(e)&&!(0,o.kJ)(e)?ze(e)?en(t,null,[e]):en(t,e):en(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ze(n)&&(n=[n]),en(t,e,n))}const Ln=Symbol(""),$n=()=>{{const t=K(Ln);return t}};const Nn="3.2.47"},9963:function(t,e,n){"use strict";n.d(e,{D2:function(){return ht},e8:function(){return lt},nr:function(){return ut},ri:function(){return yt}});var r=n(3577),o=n(6252),i=n(2262);const s="http://www.w3.org/2000/svg",c="undefined"!==typeof document?document:null,u=c&&c.createElement("template"),l={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e?c.createElementNS(s,t):c.createElement(t,n?{is:n}:void 0);return"select"===t&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:t=>c.createTextNode(t),createComment:t=>c.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>c.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,i){const s=n?n.previousSibling:e.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(e.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{u.innerHTML=r?`${t}`:t;const o=u.content;if(r){const t=o.firstChild;while(t.firstChild)o.appendChild(t.firstChild);o.removeChild(t)}e.insertBefore(o,n)}return[s?s.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function a(t,e,n){const r=t._vtc;r&&(e=(e?[e,...r]:[...r]).join(" ")),null==e?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function f(t,e,n){const o=t.style,i=(0,r.HD)(n);if(n&&!i){if(e&&!(0,r.HD)(e))for(const t in e)null==n[t]&&d(o,t,"");for(const t in n)d(o,t,n[t])}else{const r=o.display;i?e!==n&&(o.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(o.display=r)}}const p=/\s*!important$/;function d(t,e,n){if((0,r.kJ)(n))n.forEach((n=>d(t,e,n)));else if(null==n&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const o=m(t,e);p.test(n)?t.setProperty((0,r.rs)(o),n.replace(p,""),"important"):t[o]=n}}const h=["Webkit","Moz","ms"],v={};function m(t,e){const n=v[e];if(n)return n;let o=(0,r._A)(e);if("filter"!==o&&o in t)return v[e]=o;o=(0,r.kC)(o);for(let r=0;rS||(O.then((()=>S=0)),S=Date.now());function j(t,e){const n=t=>{if(t._vts){if(t._vts<=n.attached)return}else t._vts=Date.now();(0,o.$d)(R(t,n.value),e,5,[t])};return n.value=t,n.attached=E(),n}function R(t,e){if((0,r.kJ)(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map((t=>e=>!e._stopped&&t&&t(e)))}return e}const P=/^on[a-z]/,A=(t,e,n,o,i=!1,s,c,u,l)=>{"class"===e?a(t,o,i):"style"===e?f(t,n,o):(0,r.F7)(e)?(0,r.tR)(e)||x(t,e,n,o,c):("."===e[0]?(e=e.slice(1),1):"^"===e[0]?(e=e.slice(1),0):T(t,e,o,i))?b(t,e,o,s,c,u,l):("true-value"===e?t._trueValue=o:"false-value"===e&&(t._falseValue=o),y(t,e,o,i))};function T(t,e,n,o){return o?"innerHTML"===e||"textContent"===e||!!(e in t&&P.test(e)&&(0,r.mf)(n)):"spellcheck"!==e&&"draggable"!==e&&"translate"!==e&&("form"!==e&&(("list"!==e||"INPUT"!==t.tagName)&&(("type"!==e||"TEXTAREA"!==t.tagName)&&((!P.test(e)||!(0,r.HD)(n))&&e in t))))}"undefined"!==typeof HTMLElement&&HTMLElement;const I="transition",F="animation",M=(t,{slots:e})=>(0,o.h)(o.P$,D(t),e);M.displayName="Transition";const L={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},$=M.props=(0,r.l7)({},o.P$.props,L),N=(t,e=[])=>{(0,r.kJ)(t)?t.forEach((t=>t(...e))):t&&t(...e)},U=t=>!!t&&((0,r.kJ)(t)?t.some((t=>t.length>1)):t.length>1);function D(t){const e={};for(const r in t)r in L||(e[r]=t[r]);if(!1===t.css)return e;const{name:n="v",type:o,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:a=c,appearToClass:f=u,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,v=J(i),m=v&&v[0],g=v&&v[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:x,onBeforeAppear:k=y,onAppear:C=b,onAppearCancelled:S=_}=e,O=(t,e,n)=>{B(t,e?f:u),B(t,e?a:c),n&&n()},E=(t,e)=>{t._isLeaving=!1,B(t,p),B(t,h),B(t,d),e&&e()},j=t=>(e,n)=>{const r=t?C:b,i=()=>O(e,t,n);N(r,[e,i]),q((()=>{B(e,t?l:s),G(e,t?f:u),U(r)||K(e,o,m,i)}))};return(0,r.l7)(e,{onBeforeEnter(t){N(y,[t]),G(t,s),G(t,c)},onBeforeAppear(t){N(k,[t]),G(t,l),G(t,a)},onEnter:j(!1),onAppear:j(!0),onLeave(t,e){t._isLeaving=!0;const n=()=>E(t,e);G(t,p),Z(),G(t,d),q((()=>{t._isLeaving&&(B(t,p),G(t,h),U(w)||K(t,o,g,n))})),N(w,[t,n])},onEnterCancelled(t){O(t,!1),N(_,[t])},onAppearCancelled(t){O(t,!0),N(S,[t])},onLeaveCancelled(t){E(t),N(x,[t])}})}function J(t){if(null==t)return null;if((0,r.Kn)(t))return[V(t.enter),V(t.leave)];{const e=V(t);return[e,e]}}function V(t){const e=(0,r.He)(t);return e}function G(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.add(e))),(t._vtc||(t._vtc=new Set)).add(e)}function B(t,e){e.split(/\s+/).forEach((e=>e&&t.classList.remove(e)));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function q(t){requestAnimationFrame((()=>{requestAnimationFrame(t)}))}let H=0;function K(t,e,n,r){const o=t._endId=++H,i=()=>{o===t._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:c,propCount:u}=W(t,e);if(!s)return r();const l=s+"end";let a=0;const f=()=>{t.removeEventListener(l,p),i()},p=e=>{e.target===t&&++a>=u&&f()};setTimeout((()=>{a(n[t]||"").split(", "),o=r(`${I}Delay`),i=r(`${I}Duration`),s=z(o,i),c=r(`${F}Delay`),u=r(`${F}Duration`),l=z(c,u);let a=null,f=0,p=0;e===I?s>0&&(a=I,f=s,p=i.length):e===F?l>0&&(a=F,f=l,p=u.length):(f=Math.max(s,l),a=f>0?s>l?I:F:null,p=a?a===I?i.length:u.length:0);const d=a===I&&/\b(transform|all)(,|$)/.test(r(`${I}Property`).toString());return{type:a,timeout:f,propCount:p,hasTransform:d}}function z(t,e){while(t.lengthY(e)+Y(t[n]))))}function Y(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Z(){return document.body.offsetHeight}const X=new WeakMap,Q=new WeakMap,tt={name:"TransitionGroup",props:(0,r.l7)({},$,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=(0,o.FN)(),r=(0,o.Y8)();let s,c;return(0,o.ic)((()=>{if(!s.length)return;const e=t.moveClass||`${t.name||"v"}-move`;if(!ot(s[0].el,n.vnode.el,e))return;s.forEach(et),s.forEach(nt);const r=s.filter(rt);Z(),r.forEach((t=>{const n=t.el,r=n.style;G(n,e),r.transform=r.webkitTransform=r.transitionDuration="";const o=n._moveCb=t=>{t&&t.target!==n||t&&!/transform$/.test(t.propertyName)||(n.removeEventListener("transitionend",o),n._moveCb=null,B(n,e))};n.addEventListener("transitionend",o)}))})),()=>{const u=(0,i.IU)(t),l=D(u);let a=u.tag||o.HY;s=c,c=e.default?(0,o.Q6)(e.default()):[];for(let t=0;t{t.split(/\s+/).forEach((t=>t&&r.classList.remove(t)))})),n.split(/\s+/).forEach((t=>t&&r.classList.add(t))),r.style.display="none";const o=1===e.nodeType?e:e.parentNode;o.appendChild(r);const{hasTransform:i}=W(r);return o.removeChild(r),i}const it=t=>{const e=t.props["onUpdate:modelValue"]||!1;return(0,r.kJ)(e)?t=>(0,r.ir)(e,t):e};function st(t){t.target.composing=!0}function ct(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ut={created(t,{modifiers:{lazy:e,trim:n,number:o}},i){t._assign=it(i);const s=o||i.props&&"number"===i.props.type;_(t,e?"change":"input",(e=>{if(e.target.composing)return;let o=t.value;n&&(o=o.trim()),s&&(o=(0,r.h5)(o)),t._assign(o)})),n&&_(t,"change",(()=>{t.value=t.value.trim()})),e||(_(t,"compositionstart",st),_(t,"compositionend",ct),_(t,"change",ct))},mounted(t,{value:e}){t.value=null==e?"":e},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:o,number:i}},s){if(t._assign=it(s),t.composing)return;if(document.activeElement===t&&"range"!==t.type){if(n)return;if(o&&t.value.trim()===e)return;if((i||"number"===t.type)&&(0,r.h5)(t.value)===e)return}const c=null==e?"":e;t.value!==c&&(t.value=c)}},lt={deep:!0,created(t,e,n){t._assign=it(n),_(t,"change",(()=>{const e=t._modelValue,n=ft(t),o=t.checked,i=t._assign;if((0,r.kJ)(e)){const t=(0,r.hq)(e,n),s=-1!==t;if(o&&!s)i(e.concat(n));else if(!o&&s){const n=[...e];n.splice(t,1),i(n)}}else if((0,r.DM)(e)){const t=new Set(e);o?t.add(n):t.delete(n),i(t)}else i(pt(t,o))}))},mounted:at,beforeUpdate(t,e,n){t._assign=it(n),at(t,e,n)}};function at(t,{value:e,oldValue:n},o){t._modelValue=e,(0,r.kJ)(e)?t.checked=(0,r.hq)(e,o.props.value)>-1:(0,r.DM)(e)?t.checked=e.has(o.props.value):e!==n&&(t.checked=(0,r.WV)(e,pt(t,!0)))}function ft(t){return"_value"in t?t._value:t.value}function pt(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const dt={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ht=(t,e)=>n=>{if(!("key"in n))return;const o=(0,r.rs)(n.key);return e.some((t=>t===o||dt[t]===o))?t(n):void 0};const vt=(0,r.l7)({patchProp:A},l);let mt;function gt(){return mt||(mt=(0,o.Us)(vt))}const yt=(...t)=>{const e=gt().createApp(...t);const{mount:n}=e;return e.mount=t=>{const o=bt(t);if(!o)return;const i=e._component;(0,r.mf)(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},e};function bt(t){if((0,r.HD)(t)){const e=document.querySelector(t);return e}return t}},3577:function(t,e,n){"use strict";function r(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,{C_:function(){return f},DM:function(){return I},E9:function(){return st},F7:function(){return S},Gg:function(){return H},HD:function(){return $},He:function(){return ot},Kj:function(){return M},Kn:function(){return U},NO:function(){return k},Nj:function(){return nt},Od:function(){return j},PO:function(){return B},Pq:function(){return d},RI:function(){return P},S0:function(){return q},W7:function(){return G},WV:function(){return m},Z6:function(){return w},_A:function(){return z},_N:function(){return T},aU:function(){return tt},dG:function(){return x},e1:function(){return i},fY:function(){return r},h5:function(){return rt},hR:function(){return Q},hq:function(){return g},ir:function(){return et},j5:function(){return s},kC:function(){return X},kJ:function(){return A},kT:function(){return _},l7:function(){return E},mf:function(){return L},rs:function(){return Z},tI:function(){return D},tR:function(){return O},yA:function(){return h},yk:function(){return N},zw:function(){return y}});const o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",i=r(o);function s(t){if(A(t)){const e={};for(let n=0;n{if(t){const n=t.split(u);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}function f(t){let e="";if($(t))e=t;else if(A(t))for(let n=0;nm(t,e)))}const y=t=>$(t)?t:null==t?"":A(t)||U(t)&&(t.toString===J||!L(t.toString))?JSON.stringify(t,b,2):String(t),b=(t,e)=>e&&e.__v_isRef?b(t,e.value):T(e)?{[`Map(${e.size})`]:[...e.entries()].reduce(((t,[e,n])=>(t[`${e} =>`]=n,t)),{})}:I(e)?{[`Set(${e.size})`]:[...e.values()]}:!U(e)||A(e)||B(e)?e:String(e),_={},w=[],x=()=>{},k=()=>!1,C=/^on[^a-z]/,S=t=>C.test(t),O=t=>t.startsWith("onUpdate:"),E=Object.assign,j=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},R=Object.prototype.hasOwnProperty,P=(t,e)=>R.call(t,e),A=Array.isArray,T=t=>"[object Map]"===V(t),I=t=>"[object Set]"===V(t),F=t=>"[object Date]"===V(t),M=t=>"[object RegExp]"===V(t),L=t=>"function"===typeof t,$=t=>"string"===typeof t,N=t=>"symbol"===typeof t,U=t=>null!==t&&"object"===typeof t,D=t=>U(t)&&L(t.then)&&L(t.catch),J=Object.prototype.toString,V=t=>J.call(t),G=t=>V(t).slice(8,-1),B=t=>"[object Object]"===V(t),q=t=>$(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,H=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},W=/-(\w)/g,z=K((t=>t.replace(W,((t,e)=>e?e.toUpperCase():"")))),Y=/\B([A-Z])/g,Z=K((t=>t.replace(Y,"-$1").toLowerCase())),X=K((t=>t.charAt(0).toUpperCase()+t.slice(1))),Q=K((t=>t?`on${X(t)}`:"")),tt=(t,e)=>!Object.is(t,e),et=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},rt=t=>{const e=parseFloat(t);return isNaN(e)?t:e},ot=t=>{const e=$(t)?Number(t):NaN;return isNaN(e)?t:e};let it;const st=()=>it||(it="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{})},9662:function(t,e,n){var r=n(614),o=n(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},9670:function(t,e,n){var r=n(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),s=function(t){return function(e,n,s){var c,u=r(e),l=i(u),a=o(s,l);if(t&&n!=n){while(l>a)if(c=u[a++],c!=c)return!0}else for(;l>a;a++)if((t||a in u)&&u[a]===n)return t||a||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},3658:function(t,e,n){"use strict";var r=n(9781),o=n(3157),i=TypeError,s=Object.getOwnPropertyDescriptor,c=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=c?function(t,e){if(o(t)&&!s(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},9920:function(t,e,n){var r=n(2597),o=n(3887),i=n(1236),s=n(3070);t.exports=function(t,e,n){for(var c=o(e),u=s.f,l=i.f,a=0;an)throw e("Maximum allowed index exceeded");return t}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),s=n(8113),c=i.process,u=i.Deno,l=c&&c.versions||u&&u.version,a=l&&l.v8;a&&(r=a.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(r=s.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),s=n(8052),c=n(3072),u=n(9920),l=n(4705);t.exports=function(t,e){var n,a,f,p,d,h,v=t.target,m=t.global,g=t.stat;if(a=m?r:g?r[v]||c(v,{}):(r[v]||{}).prototype,a)for(f in e){if(d=e[f],t.dontCallGetSet?(h=o(a,f),p=h&&h.value):p=a[f],n=l(m?f:v+(g?".":"#")+f,t.forced),!n&&void 0!==p){if(typeof d==typeof p)continue;u(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),s(a,f,d,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(t,e,n){var r=n(9781),o=n(2597),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,l=c&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:l}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);t.exports=r?s:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t]):r[t]&&r[t][e]}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),s=Object,c=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?c(t,""):s(t)}:s},2788:function(t,e,n){var r=n(1702),o=n(614),i=n(5465),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},9909:function(t,e,n){var r,o,i,s=n(4811),c=n(7854),u=n(111),l=n(8880),a=n(2597),f=n(5465),p=n(6200),d=n(3501),h="Object already initialized",v=c.TypeError,m=c.WeakMap,g=function(t){return i(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw v("Incompatible receiver, "+t+" required");return n}};if(s||f.state){var b=f.state||(f.state=new m);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw v(h);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var _=p("state");d[_]=!0,r=function(t,e){if(a(t,_))throw v(h);return e.facade=t,l(t,_,e),e},o=function(t){return a(t,_)?t[_]:{}},i=function(t){return a(t,_)}}t.exports={set:r,get:o,has:i,enforce:g,getterFor:y}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},4705:function(t,e,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,s=function(t,e){var n=u[c(t)];return n==a||n!=l&&(o(e)?r(e):!!e)},c=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=s.data={},l=s.NATIVE="N",a=s.POLYFILL="P";t.exports=s},8554:function(t){t.exports=function(t){return null===t||void 0===t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),s=n(3307),c=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,c(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},6339:function(t,e,n){var r=n(1702),o=n(7293),i=n(614),s=n(2597),c=n(9781),u=n(6530).CONFIGURABLE,l=n(2788),a=n(9909),f=a.enforce,p=a.get,d=String,h=Object.defineProperty,v=r("".slice),m=r("".replace),g=r([].join),y=c&&!o((function(){return 8!==h((function(){}),"length",{value:8}).length})),b=String(String).split("String"),_=t.exports=function(t,e,n){"Symbol("===v(d(e),0,7)&&(e="["+m(d(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(c?h(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&s(n,"arity")&&t.length!==n.arity&&h(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?c&&h(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=f(t);return s(r,"source")||(r.source=g(b,"string"==typeof e?e:"")),t};Function.prototype.toString=_((function(){return i(this)&&p(this).source||l(this)}),"toString")},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),s=n(9670),c=n(4948),u=TypeError,l=Object.defineProperty,a=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";e.f=r?i?function(t,e,n){if(s(t),e=c(e),s(n),"function"===typeof t&&"prototype"===e&&"value"in n&&d in n&&!n[d]){var r=a(t,e);r&&r[d]&&(t[e]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:f in n?n[f]:r[f],writable:!1})}return l(t,e,n)}:l:function(t,e,n){if(s(t),e=c(e),s(n),o)try{return l(t,e,n)}catch(r){}if("get"in n||"set"in n)throw u("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(6916),i=n(5296),s=n(9114),c=n(5656),u=n(4948),l=n(2597),a=n(4664),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=c(t),e=u(e),a)try{return f(t,e)}catch(n){}if(l(t,e))return s(!o(i.f,t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),s=n(1318).indexOf,c=n(3501),u=r([].push);t.exports=function(t,e){var n,r=i(t),l=0,a=[];for(n in r)!o(c,n)&&o(r,n)&&u(a,n);while(e.length>l)o(r,n=e[l++])&&(~s(a,n)||u(a,n));return a}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),s=TypeError;t.exports=function(t,e){var n,c;if("string"===e&&o(n=t.toString)&&!i(c=r(n,t)))return c;if(o(n=t.valueOf)&&!i(c=r(n,t)))return c;if("string"!==e&&o(n=t.toString)&&!i(c=r(n,t)))return c;throw s("Can't convert object to primitive value")}},3887:function(t,e,n){var r=n(5005),o=n(1702),i=n(8006),s=n(5181),c=n(9670),u=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=s.f;return n?u(e,n(t)):e}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",s=r[i]||o(i,{});t.exports=s},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.29.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!==e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),s=n(8173),c=n(2140),u=n(5112),l=TypeError,a=u("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,u=s(t,a);if(u){if(void 0===e&&(e="default"),n=r(u,t,e),!o(n)||i(n))return n;throw l("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},4811:function(t,e,n){var r=n(7854),o=n(614),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),s=n(9711),c=n(6293),u=n(3307),l=r.Symbol,a=o("wks"),f=u?l["for"]||l:l&&l.withoutSetter||s;t.exports=function(t){return i(a,t)||(a[t]=c&&i(l,t)?l[t]:f("Symbol."+t)),a[t]}},7658:function(t,e,n){"use strict";var r=n(2109),o=n(7908),i=n(6244),s=n(3658),c=n(7207),u=n(7293),l=u((function(){return 4294967297!==[].push.call({length:4294967296},1)})),a=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},f=l||!a();r({target:"Array",proto:!0,arity:1,forced:f},{push:function(t){var e=o(this),n=i(e),r=arguments.length;c(n+r);for(var u=0;u{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n}},3907:function(t,e,n){"use strict";n.d(e,{MT:function(){return tt}});var r=n(6252),o=n(2262);function i(){return s().__VUE_DEVTOOLS_GLOBAL_HOOK__}function s(){return"undefined"!==typeof navigator&&"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{}}const c="function"===typeof Proxy,u="devtools-plugin:setup",l="plugin:settings:set";let a,f;function p(){var t;return void 0!==a||("undefined"!==typeof window&&window.performance?(a=!0,f=window.performance):"undefined"!==typeof n.g&&(null===(t=n.g.perf_hooks)||void 0===t?void 0:t.performance)?(a=!0,f=n.g.perf_hooks.performance):a=!1),a}function d(){return p()?f.now():Date.now()}class h{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const s in t.settings){const e=t.settings[s];n[s]=e.defaultValue}const r=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},n);try{const t=localStorage.getItem(r),e=JSON.parse(t);Object.assign(o,e)}catch(i){}this.fallbacks={getSettings(){return o},setSettings(t){try{localStorage.setItem(r,JSON.stringify(t))}catch(i){}o=t},now(){return d()}},e&&e.on(l,((t,e)=>{t===this.plugin.id&&this.fallbacks.setSettings(e)})),this.proxiedOn=new Proxy({},{get:(t,e)=>this.target?this.target.on[e]:(...t)=>{this.onQueue.push({method:e,args:t})}}),this.proxiedTarget=new Proxy({},{get:(t,e)=>this.target?this.target[e]:"on"===e?this.proxiedOn:Object.keys(this.fallbacks).includes(e)?(...t)=>(this.targetQueue.push({method:e,args:t,resolve:()=>{}}),this.fallbacks[e](...t)):(...t)=>new Promise((n=>{this.targetQueue.push({method:e,args:t,resolve:n})}))})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function v(t,e){const n=t,r=s(),o=i(),l=c&&n.enableEarlyProxy;if(!o||!r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&l){const t=l?new h(n,o):null,i=r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[];i.push({pluginDescriptor:n,setupFn:e,proxy:t}),t&&e(t.proxiedTarget)}else o.emit(u,t,e)} -/*! - * vuex v4.1.0 - * (c) 2022 Evan You - * @license MIT - */ -var m="store";function g(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function y(t){return null!==t&&"object"===typeof t}function b(t){return t&&"function"===typeof t.then}function _(t,e){return function(){return t(e)}}function w(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function x(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;C(t,n,[],t._modules.root,!0),k(t,n,e)}function k(t,e,n){var i=t._state,s=t._scope;t.getters={},t._makeLocalGettersCache=Object.create(null);var c=t._wrappedGetters,u={},l={},a=(0,o.B)(!0);a.run((function(){g(c,(function(e,n){u[n]=_(e,t),l[n]=(0,r.Fl)((function(){return u[n]()})),Object.defineProperty(t.getters,n,{get:function(){return l[n].value},enumerable:!0})}))})),t._state=(0,o.qj)({data:e}),t._scope=a,t.strict&&P(t),i&&n&&t._withCommit((function(){i.data=null})),s&&s.stop()}function C(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var c=A(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit((function(){c[u]=r.state}))}var l=r.context=S(t,s,n);r.forEachMutation((function(e,n){var r=s+n;E(t,r,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,o=e.handler||e;j(t,r,o,l)})),r.forEachGetter((function(e,n){var r=s+n;R(t,r,e,l)})),r.forEachChild((function(r,i){C(t,e,n.concat(i),r,o)}))}function S(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=T(n,r,o),s=i.payload,c=i.options,u=i.type;return c&&c.root||(u=e+u),t.dispatch(u,s)},commit:r?t.commit:function(n,r,o){var i=T(n,r,o),s=i.payload,c=i.options,u=i.type;c&&c.root||(u=e+u),t.commit(u,s,c)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return O(t,e)}},state:{get:function(){return A(t.state,n)}}}),o}function O(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function E(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){n.call(t,r.state,e)}))}function j(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return b(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function R(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function P(t){(0,r.YP)((function(){return t._state.data}),(function(){0}),{deep:!0,flush:"sync"})}function A(t,e){return e.reduce((function(t,e){return t[e]}),t)}function T(t,e,n){return y(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var I="vuex bindings",F="vuex:mutations",M="vuex:actions",L="vuex",$=0;function N(t,e){v({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[I]},(function(n){n.addTimelineLayer({id:F,label:"Vuex Mutations",color:U}),n.addTimelineLayer({id:M,label:"Vuex Actions",color:U}),n.addInspector({id:L,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree((function(n){if(n.app===t&&n.inspectorId===L)if(n.filter){var r=[];q(r,e._modules.root,n.filter,""),n.rootNodes=r}else n.rootNodes=[B(e._modules.root,"")]})),n.on.getInspectorState((function(n){if(n.app===t&&n.inspectorId===L){var r=n.nodeId;O(e,r),n.state=H(W(e._modules,r),"root"===r?e.getters:e._makeLocalGettersCache,r)}})),n.on.editInspectorState((function(n){if(n.app===t&&n.inspectorId===L){var r=n.nodeId,o=n.path;"root"!==r&&(o=r.split("/").filter(Boolean).concat(o)),e._withCommit((function(){n.set(e._state.data,o,n.state.value)}))}})),e.subscribe((function(t,e){var r={};t.payload&&(r.payload=t.payload),r.state=e,n.notifyComponentUpdate(),n.sendInspectorTree(L),n.sendInspectorState(L),n.addTimelineEvent({layerId:F,event:{time:Date.now(),title:t.type,data:r}})})),e.subscribeAction({before:function(t,e){var r={};t.payload&&(r.payload=t.payload),t._id=$++,t._time=Date.now(),r.state=e,n.addTimelineEvent({layerId:M,event:{time:t._time,title:t.type,groupId:t._id,subtitle:"start",data:r}})},after:function(t,e){var r={},o=Date.now()-t._time;r.duration={_custom:{type:"duration",display:o+"ms",tooltip:"Action duration",value:o}},t.payload&&(r.payload=t.payload),r.state=e,n.addTimelineEvent({layerId:M,event:{time:Date.now(),title:t.type,groupId:t._id,subtitle:"end",data:r}})}})}))}var U=8702998,D=6710886,J=16777215,V={label:"namespaced",textColor:J,backgroundColor:D};function G(t){return t&&"root"!==t?t.split("/").slice(-2,-1)[0]:"Root"}function B(t,e){return{id:e||"root",label:G(e),tags:t.namespaced?[V]:[],children:Object.keys(t._children).map((function(n){return B(t._children[n],e+n+"/")}))}}function q(t,e,n,r){r.includes(n)&&t.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:e.namespaced?[V]:[]}),Object.keys(e._children).forEach((function(o){q(t,e._children[o],n,r+o+"/")}))}function H(t,e,n){e="root"===n?e:e[n];var r=Object.keys(e),o={state:Object.keys(t.state).map((function(e){return{key:e,editable:!0,value:t.state[e]}}))};if(r.length){var i=K(e);o.getters=Object.keys(i).map((function(t){return{key:t.endsWith("/")?G(t):t,editable:!1,value:z((function(){return i[t]}))}}))}return o}function K(t){var e={};return Object.keys(t).forEach((function(n){var r=n.split("/");if(r.length>1){var o=e,i=r.pop();r.forEach((function(t){o[t]||(o[t]={_custom:{value:{},display:t,tooltip:"Module",abstract:!0}}),o=o[t]._custom.value})),o[i]=z((function(){return t[n]}))}else e[n]=z((function(){return t[n]}))})),e}function W(t,e){var n=e.split("/").filter((function(t){return t}));return n.reduce((function(t,r,o){var i=t[r];if(!i)throw new Error('Missing module "'+r+'" for path "'+e+'".');return o===n.length-1?i:i._children}),"root"===e?t:t.root._children)}function z(t){try{return t()}catch(e){return e}}var Y=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},Z={namespaced:{configurable:!0}};Z.namespaced.get=function(){return!!this._rawModule.namespaced},Y.prototype.addChild=function(t,e){this._children[t]=e},Y.prototype.removeChild=function(t){delete this._children[t]},Y.prototype.getChild=function(t){return this._children[t]},Y.prototype.hasChild=function(t){return t in this._children},Y.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},Y.prototype.forEachChild=function(t){g(this._children,t)},Y.prototype.forEachGetter=function(t){this._rawModule.getters&&g(this._rawModule.getters,t)},Y.prototype.forEachAction=function(t){this._rawModule.actions&&g(this._rawModule.actions,t)},Y.prototype.forEachMutation=function(t){this._rawModule.mutations&&g(this._rawModule.mutations,t)},Object.defineProperties(Y.prototype,Z);var X=function(t){this.register([],t,!1)};function Q(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;Q(t.concat(r),e.getChild(r),n.modules[r])}}X.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},X.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},X.prototype.update=function(t){Q([],this.root,t)},X.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new Y(e,n);if(0===t.length)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}e.modules&&g(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},X.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},X.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};function tt(t){return new et(t)}var et=function(t){var e=this;void 0===t&&(t={});var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new X(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var i=this,s=this,c=s.dispatch,u=s.commit;this.dispatch=function(t,e){return c.call(i,t,e)},this.commit=function(t,e,n){return u.call(i,t,e,n)},this.strict=r;var l=this._modules.root.state;C(this,l,[],this._modules.root),k(this,l),n.forEach((function(t){return t(e)}))},nt={state:{configurable:!0}};et.prototype.install=function(t,e){t.provide(e||m,this),t.config.globalProperties.$store=this;var n=void 0!==this._devtools&&this._devtools;n&&N(t,this)},nt.state.get=function(){return this._state.data},nt.state.set=function(t){0},et.prototype.commit=function(t,e,n){var r=this,o=T(t,e,n),i=o.type,s=o.payload,c=(o.options,{type:i,payload:s}),u=this._mutations[i];u&&(this._withCommit((function(){u.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(c,r.state)})))},et.prototype.dispatch=function(t,e){var n=this,r=T(t,e),o=r.type,i=r.payload,s={type:o,payload:i},c=this._actions[o];if(c){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(l){0}var u=c.length>1?Promise.all(c.map((function(t){return t(i)}))):c[0](i);return new Promise((function(t,e){u.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(l){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(l){0}e(t)}))}))}},et.prototype.subscribe=function(t,e){return w(t,this._subscribers,e)},et.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return w(n,this._actionSubscribers,e)},et.prototype.watch=function(t,e,n){var o=this;return(0,r.YP)((function(){return t(o.state,o.getters)}),e,Object.assign({},n))},et.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._state.data=t}))},et.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),C(this,this.state,t,this._modules.get(t),n.preserveState),k(this,this.state)},et.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=A(e.state,t.slice(0,-1));delete n[t[t.length-1]]})),x(this)},et.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},et.prototype.hotUpdate=function(t){this._modules.update(t),x(this,!0)},et.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(et.prototype,nt);it((function(t,e){var n={};return rt(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=st(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0})),n})),it((function(t,e){var n={};return rt(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=st(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),it((function(t,e){var n={};return rt(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||st(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0})),n})),it((function(t,e){var n={};return rt(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=st(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n}));function rt(t){return ot(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function ot(t){return Array.isArray(t)||y(t)}function it(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function st(t,e,n){var r=t._modulesNamespaceMap[n];return r}},2201:function(t,e,n){"use strict";n.d(e,{p7:function(){return ne},r5:function(){return D}});var r=n(6252),o=n(2262); -/*! - * vue-router v4.1.6 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */ -const i="undefined"!==typeof window;function s(t){return t.__esModule||"Module"===t[Symbol.toStringTag]}const c=Object.assign;function u(t,e){const n={};for(const r in e){const o=e[r];n[r]=a(o)?o.map(t):t(o)}return n}const l=()=>{},a=Array.isArray;const f=/\/$/,p=t=>t.replace(f,"");function d(t,e,n="/"){let r,o={},i="",s="";const c=e.indexOf("#");let u=e.indexOf("?");return c=0&&(u=-1),u>-1&&(r=e.slice(0,u),i=e.slice(u+1,c>-1?c:e.length),o=t(i)),c>-1&&(r=r||e.slice(0,c),s=e.slice(c,e.length)),r=w(null!=r?r:e,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function h(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function v(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function m(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&g(e.matched[r],n.matched[o])&&y(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function g(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function y(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!b(t[n],e[n]))return!1;return!0}function b(t,e){return a(t)?_(t,e):a(e)?_(e,t):t===e}function _(t,e){return a(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}function w(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let o,i,s=n.length-1;for(o=0;o1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var x,k;(function(t){t["pop"]="pop",t["push"]="push"})(x||(x={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(k||(k={}));function C(t){if(!t)if(i){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),p(t)}const S=/^[^#]+#/;function O(t,e){return t.replace(S,"#")+e}function E(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const j=()=>({left:window.pageXOffset,top:window.pageYOffset});function R(t){let e;if("el"in t){const n=t.el,r="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=E(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function P(t,e){const n=history.state?history.state.position-e:-1;return n+t}const A=new Map;function T(t,e){A.set(t,e)}function I(t){const e=A.get(t);return A.delete(t),e}let F=()=>location.protocol+"//"+location.host;function M(t,e){const{pathname:n,search:r,hash:o}=e,i=t.indexOf("#");if(i>-1){let e=o.includes(t.slice(i))?t.slice(i).length:1,n=o.slice(e);return"/"!==n[0]&&(n="/"+n),v(n,"")}const s=v(n,t);return s+r+o}function L(t,e,n,r){let o=[],i=[],s=null;const u=({state:i})=>{const c=M(t,location),u=n.value,l=e.value;let a=0;if(i){if(n.value=c,e.value=i,s&&s===u)return void(s=null);a=l?i.position-l.position:0}else r(c);o.forEach((t=>{t(n.value,u,{delta:a,type:x.pop,direction:a?a>0?k.forward:k.back:k.unknown})}))};function l(){s=n.value}function a(t){o.push(t);const e=()=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)};return i.push(e),e}function f(){const{history:t}=window;t.state&&t.replaceState(c({},t.state,{scroll:j()}),"")}function p(){for(const t of i)t();i=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",f),{pauseListeners:l,listen:a,destroy:p}}function $(t,e,n,r=!1,o=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?j():null}}function N(t){const{history:e,location:n}=window,r={value:M(t,n)},o={value:e.state};function i(r,i,s){const c=t.indexOf("#"),u=c>-1?(n.host&&document.querySelector("base")?t:t.slice(c))+r:F()+t+r;try{e[s?"replaceState":"pushState"](i,"",u),o.value=i}catch(l){console.error(l),n[s?"replace":"assign"](u)}}function s(t,n){const s=c({},e.state,$(o.value.back,t,o.value.forward,!0),n,{position:o.value.position});i(t,s,!0),r.value=t}function u(t,n){const s=c({},o.value,e.state,{forward:t,scroll:j()});i(s.current,s,!0);const u=c({},$(r.value,t,null),{position:s.position+1},n);i(t,u,!1),r.value=t}return o.value||i(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:r,state:o,push:u,replace:s}}function U(t){t=C(t);const e=N(t),n=L(t,e.state,e.location,e.replace);function r(t,e=!0){e||n.pauseListeners(),history.go(t)}const o=c({location:"",base:t,go:r,createHref:O.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function D(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),U(t)}function J(t){return"string"===typeof t||t&&"object"===typeof t}function V(t){return"string"===typeof t||"symbol"===typeof t}const G={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},B=Symbol("");var q;(function(t){t[t["aborted"]=4]="aborted",t[t["cancelled"]=8]="cancelled",t[t["duplicated"]=16]="duplicated"})(q||(q={}));function H(t,e){return c(new Error,{type:t,[B]:!0},e)}function K(t,e){return t instanceof Error&&B in t&&(null==e||!!(t.type&e))}const W="[^/]+?",z={sensitive:!1,strict:!1,start:!0,end:!0},Y=/[.+*?^${}()[\]/\\]/g;function Z(t,e){const n=c({},z,e),r=[];let o=n.start?"^":"";const i=[];for(const c of t){const t=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let e=0;ee.length?1===e.length&&80===e[0]?1:-1:0}function Q(t,e){let n=0;const r=t.score,o=e.score;while(n0&&e[e.length-1]<0}const et={type:0,value:""},nt=/[a-zA-Z0-9_]/;function rt(t){if(!t)return[[]];if("/"===t)return[[et]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${l}": ${t}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let c,u=0,l="",a="";function f(){l&&(0===n?i.push({type:0,value:l}):1===n||2===n||3===n?(i.length>1&&("*"===c||"+"===c)&&e(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:l,regexp:a,repeatable:"*"===c||"+"===c,optional:"*"===c||"?"===c})):e("Invalid state to consume buffer"),l="")}function p(){l+=c}while(u{s(h)}:l}function s(t){if(V(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(s),e.alias.forEach(s))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(s),t.alias.forEach(s))}}function u(){return n}function a(t){let e=0;while(e=0&&(t.record.path!==n[e].record.path||!pt(t,n[e])))e++;n.splice(e,0,t),t.record.name&&!lt(t)&&r.set(t.record.name,t)}function f(t,e){let o,i,s,u={};if("name"in t&&t.name){if(o=r.get(t.name),!o)throw H(1,{location:t});0,s=o.record.name,u=c(st(e.params,o.keys.filter((t=>!t.optional)).map((t=>t.name))),t.params&&st(t.params,o.keys.map((t=>t.name)))),i=o.stringify(u)}else if("path"in t)i=t.path,o=n.find((t=>t.re.test(i))),o&&(u=o.parse(i),s=o.record.name);else{if(o=e.name?r.get(e.name):n.find((t=>t.re.test(e.path))),!o)throw H(1,{location:t,currentLocation:e});s=o.record.name,u=c({},e.params,t.params),i=o.stringify(u)}const l=[];let a=o;while(a)l.unshift(a.record),a=a.parent;return{name:s,path:i,params:u,matched:l,meta:at(l)}}return e=ft({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>i(t))),{addRoute:i,resolve:f,removeRoute:s,getRoutes:u,getRecordMatcher:o}}function st(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function ct(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:ut(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function ut(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]="boolean"===typeof n?n:n[r];return e}function lt(t){while(t){if(t.record.aliasOf)return!0;t=t.parent}return!1}function at(t){return t.reduce(((t,e)=>c(t,e.meta)),{})}function ft(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function pt(t,e){return e.children.some((e=>e===t||pt(t,e)))}const dt=/#/g,ht=/&/g,vt=/\//g,mt=/=/g,gt=/\?/g,yt=/\+/g,bt=/%5B/g,_t=/%5D/g,wt=/%5E/g,xt=/%60/g,kt=/%7B/g,Ct=/%7C/g,St=/%7D/g,Ot=/%20/g;function Et(t){return encodeURI(""+t).replace(Ct,"|").replace(bt,"[").replace(_t,"]")}function jt(t){return Et(t).replace(kt,"{").replace(St,"}").replace(wt,"^")}function Rt(t){return Et(t).replace(yt,"%2B").replace(Ot,"+").replace(dt,"%23").replace(ht,"%26").replace(xt,"`").replace(kt,"{").replace(St,"}").replace(wt,"^")}function Pt(t){return Rt(t).replace(mt,"%3D")}function At(t){return Et(t).replace(dt,"%23").replace(gt,"%3F")}function Tt(t){return null==t?"":At(t).replace(vt,"%2F")}function It(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function Ft(t){const e={};if(""===t||"?"===t)return e;const n="?"===t[0],r=(n?t.slice(1):t).split("&");for(let o=0;ot&&Rt(t))):[r&&Rt(r)];o.forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function Lt(t){const e={};for(const n in t){const r=t[n];void 0!==r&&(e[n]=a(r)?r.map((t=>null==t?null:""+t)):null==r?r:""+r)}return e}const $t=Symbol(""),Nt=Symbol(""),Ut=Symbol(""),Dt=Symbol(""),Jt=Symbol("");function Vt(){let t=[];function e(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function Gt(t,e,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise(((s,c)=>{const u=t=>{!1===t?c(H(4,{from:n,to:e})):t instanceof Error?c(t):J(t)?c(H(2,{from:e,to:t})):(i&&r.enterCallbacks[o]===i&&"function"===typeof t&&i.push(t),s())},l=t.call(r&&r.instances[o],e,n,u);let a=Promise.resolve(l);t.length<3&&(a=a.then(u)),a.catch((t=>c(t)))}))}function Bt(t,e,n,r){const o=[];for(const i of t){0;for(const t in i.components){let c=i.components[t];if("beforeRouteEnter"===e||i.instances[t])if(qt(c)){const s=c.__vccOpts||c,u=s[e];u&&o.push(Gt(u,n,r,i,t))}else{let u=c();0,o.push((()=>u.then((o=>{if(!o)return Promise.reject(new Error(`Couldn't resolve component "${t}" at "${i.path}"`));const c=s(o)?o.default:o;i.components[t]=c;const u=c.__vccOpts||c,l=u[e];return l&&Gt(l,n,r,i,t)()}))))}}}return o}function qt(t){return"object"===typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function Ht(t){const e=(0,r.f3)(Ut),n=(0,r.f3)(Dt),i=(0,r.Fl)((()=>e.resolve((0,o.SU)(t.to)))),s=(0,r.Fl)((()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const s=o.findIndex(g.bind(null,r));if(s>-1)return s;const c=Zt(t[e-2]);return e>1&&Zt(r)===c&&o[o.length-1].path!==c?o.findIndex(g.bind(null,t[e-2])):s})),c=(0,r.Fl)((()=>s.value>-1&&Yt(n.params,i.value.params))),u=(0,r.Fl)((()=>s.value>-1&&s.value===n.matched.length-1&&y(n.params,i.value.params)));function a(n={}){return zt(n)?e[(0,o.SU)(t.replace)?"replace":"push"]((0,o.SU)(t.to)).catch(l):Promise.resolve()}return{route:i,href:(0,r.Fl)((()=>i.value.href)),isActive:c,isExactActive:u,navigate:a}}const Kt=(0,r.aZ)({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:Ht,setup(t,{slots:e}){const n=(0,o.qj)(Ht(t)),{options:i}=(0,r.f3)(Ut),s=(0,r.Fl)((()=>({[Xt(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Xt(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const o=e.default&&e.default(n);return t.custom?o:(0,r.h)("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Wt=Kt;function zt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Yt(t,e){for(const n in e){const r=e[n],o=t[n];if("string"===typeof r){if(r!==o)return!1}else if(!a(o)||o.length!==r.length||r.some(((t,e)=>t!==o[e])))return!1}return!0}function Zt(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Xt=(t,e,n)=>null!=t?t:null!=e?e:n,Qt=(0,r.aZ)({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=(0,r.f3)(Jt),s=(0,r.Fl)((()=>t.route||i.value)),u=(0,r.f3)(Nt,0),l=(0,r.Fl)((()=>{let t=(0,o.SU)(u);const{matched:e}=s.value;let n;while((n=e[t])&&!n.components)t++;return t})),a=(0,r.Fl)((()=>s.value.matched[l.value]));(0,r.JJ)(Nt,(0,r.Fl)((()=>l.value+1))),(0,r.JJ)($t,a),(0,r.JJ)(Jt,s);const f=(0,o.iH)();return(0,r.YP)((()=>[f.value,a.value,t.name]),(([t,e,n],[r,o,i])=>{e&&(e.instances[n]=t,o&&o!==e&&t&&t===r&&(e.leaveGuards.size||(e.leaveGuards=o.leaveGuards),e.updateGuards.size||(e.updateGuards=o.updateGuards))),!t||!e||o&&g(e,o)&&r||(e.enterCallbacks[n]||[]).forEach((e=>e(t)))}),{flush:"post"}),()=>{const o=s.value,i=t.name,u=a.value,l=u&&u.components[i];if(!l)return te(n.default,{Component:l,route:o});const p=u.props[i],d=p?!0===p?o.params:"function"===typeof p?p(o):p:null,h=t=>{t.component.isUnmounted&&(u.instances[i]=null)},v=(0,r.h)(l,c({},d,e,{onVnodeUnmounted:h,ref:f}));return te(n.default,{Component:v,route:o})||v}}});function te(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const ee=Qt;function ne(t){const e=it(t.routes,t),n=t.parseQuery||Ft,s=t.stringifyQuery||Mt,f=t.history;const p=Vt(),v=Vt(),g=Vt(),y=(0,o.XI)(G);let b=G;i&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const _=u.bind(null,(t=>""+t)),w=u.bind(null,Tt),k=u.bind(null,It);function C(t,n){let r,o;return V(t)?(r=e.getRecordMatcher(t),o=n):o=t,e.addRoute(o,r)}function S(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)}function O(){return e.getRoutes().map((t=>t.record))}function E(t){return!!e.getRecordMatcher(t)}function A(t,r){if(r=c({},r||y.value),"string"===typeof t){const o=d(n,t,r.path),i=e.resolve({path:o.path},r),s=f.createHref(o.fullPath);return c(o,i,{params:k(i.params),hash:It(o.hash),redirectedFrom:void 0,href:s})}let o;if("path"in t)o=c({},t,{path:d(n,t.path,r.path).path});else{const e=c({},t.params);for(const t in e)null==e[t]&&delete e[t];o=c({},t,{params:w(t.params)}),r.params=w(r.params)}const i=e.resolve(o,r),u=t.hash||"";i.params=_(k(i.params));const l=h(s,c({},t,{hash:jt(u),path:i.path})),a=f.createHref(l);return c({fullPath:l,hash:u,query:s===Mt?Lt(t.query):t.query||{}},i,{redirectedFrom:void 0,href:a})}function F(t){return"string"===typeof t?d(n,t,y.value.path):c({},t)}function M(t,e){if(b!==t)return H(8,{from:e,to:t})}function L(t){return U(t)}function $(t){return L(c(F(t),{replace:!0}))}function N(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let r="function"===typeof n?n(t):n;return"string"===typeof r&&(r=r.includes("?")||r.includes("#")?r=F(r):{path:r},r.params={}),c({query:t.query,hash:t.hash,params:"path"in r?{}:t.params},r)}}function U(t,e){const n=b=A(t),r=y.value,o=t.state,i=t.force,u=!0===t.replace,l=N(n);if(l)return U(c(F(l),{state:"object"===typeof l?c({},o,l.state):o,force:i,replace:u}),e||n);const a=n;let f;return a.redirectedFrom=e,!i&&m(s,r,n)&&(f=H(16,{to:a,from:r}),nt(r,r,!0,!1)),(f?Promise.resolve(f):J(a,r)).catch((t=>K(t)?K(t,2)?t:et(t):Q(t,a,r))).then((t=>{if(t){if(K(t,2))return U(c({replace:u},F(t.to),{state:"object"===typeof t.to?c({},o,t.to.state):o,force:i}),e||a)}else t=q(a,r,!0,u,o);return B(a,r,t),t}))}function D(t,e){const n=M(t,e);return n?Promise.reject(n):Promise.resolve()}function J(t,e){let n;const[r,o,i]=oe(t,e);n=Bt(r.reverse(),"beforeRouteLeave",t,e);for(const c of r)c.leaveGuards.forEach((r=>{n.push(Gt(r,t,e))}));const s=D.bind(null,t,e);return n.push(s),re(n).then((()=>{n=[];for(const r of p.list())n.push(Gt(r,t,e));return n.push(s),re(n)})).then((()=>{n=Bt(o,"beforeRouteUpdate",t,e);for(const r of o)r.updateGuards.forEach((r=>{n.push(Gt(r,t,e))}));return n.push(s),re(n)})).then((()=>{n=[];for(const r of t.matched)if(r.beforeEnter&&!e.matched.includes(r))if(a(r.beforeEnter))for(const o of r.beforeEnter)n.push(Gt(o,t,e));else n.push(Gt(r.beforeEnter,t,e));return n.push(s),re(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Bt(i,"beforeRouteEnter",t,e),n.push(s),re(n)))).then((()=>{n=[];for(const r of v.list())n.push(Gt(r,t,e));return n.push(s),re(n)})).catch((t=>K(t,8)?t:Promise.reject(t)))}function B(t,e,n){for(const r of g.list())r(t,e,n)}function q(t,e,n,r,o){const s=M(t,e);if(s)return s;const u=e===G,l=i?history.state:{};n&&(r||u?f.replace(t.fullPath,c({scroll:u&&l&&l.scroll},o)):f.push(t.fullPath,o)),y.value=t,nt(t,e,n,u),et()}let W;function z(){W||(W=f.listen(((t,e,n)=>{if(!ct.listening)return;const r=A(t),o=N(r);if(o)return void U(c(o,{replace:!0}),r).catch(l);b=r;const s=y.value;i&&T(P(s.fullPath,n.delta),j()),J(r,s).catch((t=>K(t,12)?t:K(t,2)?(U(t.to,r).then((t=>{K(t,20)&&!n.delta&&n.type===x.pop&&f.go(-1,!1)})).catch(l),Promise.reject()):(n.delta&&f.go(-n.delta,!1),Q(t,r,s)))).then((t=>{t=t||q(r,s,!1),t&&(n.delta&&!K(t,8)?f.go(-n.delta,!1):n.type===x.pop&&K(t,20)&&f.go(-1,!1)),B(r,s,t)})).catch(l)})))}let Y,Z=Vt(),X=Vt();function Q(t,e,n){et(t);const r=X.list();return r.length?r.forEach((r=>r(t,e,n))):console.error(t),Promise.reject(t)}function tt(){return Y&&y.value!==G?Promise.resolve():new Promise(((t,e)=>{Z.add([t,e])}))}function et(t){return Y||(Y=!t,z(),Z.list().forEach((([e,n])=>t?n(t):e())),Z.reset()),t}function nt(e,n,o,s){const{scrollBehavior:c}=t;if(!i||!c)return Promise.resolve();const u=!o&&I(P(e.fullPath,0))||(s||!o)&&history.state&&history.state.scroll||null;return(0,r.Y3)().then((()=>c(e,n,u))).then((t=>t&&R(t))).catch((t=>Q(t,e,n)))}const rt=t=>f.go(t);let ot;const st=new Set,ct={currentRoute:y,listening:!0,addRoute:C,removeRoute:S,hasRoute:E,getRoutes:O,resolve:A,options:t,push:L,replace:$,go:rt,back:()=>rt(-1),forward:()=>rt(1),beforeEach:p.add,beforeResolve:v.add,afterEach:g.add,onError:X.add,isReady:tt,install(t){const e=this;t.component("RouterLink",Wt),t.component("RouterView",ee),t.config.globalProperties.$router=e,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>(0,o.SU)(y)}),i&&!ot&&y.value===G&&(ot=!0,L(f.location).catch((t=>{0})));const n={};for(const o in G)n[o]=(0,r.Fl)((()=>y.value[o]));t.provide(Ut,e),t.provide(Dt,(0,o.qj)(n)),t.provide(Jt,y);const s=t.unmount;st.add(t),t.unmount=function(){st.delete(t),st.size<1&&(b=G,W&&W(),W=null,y.value=G,ot=!1,Y=!1),s()}}};return ct}function re(t){return t.reduce(((t,e)=>t.then((()=>e()))),Promise.resolve())}function oe(t,e){const n=[],r=[],o=[],i=Math.max(e.matched.length,t.matched.length);for(let s=0;sg(t,i)))?r.push(i):n.push(i));const c=t.matched[s];c&&(e.matched.find((t=>g(t,c)))||o.push(c))}return[n,r,o]}}}]); \ No newline at end of file