@qian-kun/qk-app-base64 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index-Cen-LDXz.js +17 -0
- package/dist/assets/mock-V-LrjEey.js +1 -0
- package/dist/icon.svg +4 -0
- package/dist/index.html +12 -0
- package/icon.svg +4 -0
- package/package.json +36 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/**
|
|
2
|
+
* @vue/shared v3.5.34
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function Os(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const N={},Qe=[],we=()=>{},Ln=()=>!1,Gt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jt=e=>e.startsWith("onUpdate:"),k=Object.assign,Ps=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Nr=Object.prototype.hasOwnProperty,H=(e,t)=>Nr.call(e,t),R=Array.isArray,dt=e=>Ot(e)==="[object Map]",$r=e=>Ot(e)==="[object Set]",ks=e=>Ot(e)==="[object Date]",I=e=>typeof e=="function",J=e=>typeof e=="string",Ne=e=>typeof e=="symbol",W=e=>e!==null&&typeof e=="object",Nn=e=>(W(e)||I(e))&&I(e.then)&&I(e.catch),Ur=Object.prototype.toString,Ot=e=>Ur.call(e),Vr=e=>Ot(e).slice(8,-1),Kr=e=>Ot(e)==="[object Object]",As=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ht=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yt=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Wr=/-\w/g,ue=Yt(e=>e.replace(Wr,t=>t.slice(1).toUpperCase())),Br=/\B([A-Z])/g,Je=Yt(e=>e.replace(Br,"-$1").toLowerCase()),$n=Yt(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=Yt(e=>e?`on${$n(e)}`:""),Se=(e,t)=>!Object.is(e,t),Nt=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Un=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Rs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let en;const Xt=()=>en||(en=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function yt(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=J(n)?Jr(n):yt(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(J(e)||W(e))return e}const qr=/;(?![^(]*\))/g,zr=/:([^]+)/,Gr=/\/\*[^]*?\*\//g;function Jr(e){const t={};return e.replace(Gr,"").split(qr).forEach(s=>{if(s){const n=s.split(zr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Is(e){let t="";if(J(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=Is(e[s]);n&&(t+=n+" ")}else if(W(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Yr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xr=Os(Yr);function Vn(e){return!!e||e===""}function Zr(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Ms(e[n],t[n]);return s}function Ms(e,t){if(e===t)return!0;let s=ks(e),n=ks(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Ne(e),n=Ne(t),s||n)return e===t;if(s=R(e),n=R(t),s||n)return s&&n?Zr(e,t):!1;if(s=W(e),n=W(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Ms(e[o],t[o]))return!1}}return String(e)===String(t)}/**
|
|
6
|
+
* @vue/reactivity v3.5.34
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let Q;class Qr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Q&&(Q.active?(this.parent=Q,this.index=(Q.scopes||(Q.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Q;try{return Q=this,t()}finally{Q=s}}}on(){++this._on===1&&(this.prevScope=Q,Q=this)}off(){if(this._on>0&&--this._on===0){if(Q===this)Q=this.prevScope;else{let t=Q;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function kr(){return Q}let V;const is=new WeakSet;class Kn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Q&&(Q.active?Q.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,is.has(this)&&(is.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tn(this),qn(this);const t=V,s=ae;V=this,ae=!0;try{return this.fn()}finally{zn(this),V=t,ae=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)js(t);this.deps=this.depsTail=void 0,tn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?is.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ms(this)&&this.run()}get dirty(){return ms(this)}}let Wn=0,pt,gt;function Bn(e,t=!1){if(e.flags|=8,t){e.next=gt,gt=e;return}e.next=pt,pt=e}function Fs(){Wn++}function Ds(){if(--Wn>0)return;if(gt){let t=gt;for(gt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;pt;){let t=pt;for(pt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function qn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),js(n),ei(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function ms(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Gn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Gn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===vt)||(e.globalVersion=vt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ms(e))))return;e.flags|=2;const t=e.dep,s=V,n=ae;V=e,ae=!0;try{qn(e);const r=e.fn(e._value);(t.version===0||Se(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{V=s,ae=n,zn(e),e.flags&=-3}}function js(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)js(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function ei(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ae=!0;const Jn=[];function Ie(){Jn.push(ae),ae=!1}function Me(){const e=Jn.pop();ae=e===void 0?!0:e}function tn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=V;V=void 0;try{t()}finally{V=s}}}let vt=0;class ti{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!V||!ae||V===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==V)s=this.activeLink=new ti(V,this),V.deps?(s.prevDep=V.depsTail,V.depsTail.nextDep=s,V.depsTail=s):V.deps=V.depsTail=s,Yn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=V.depsTail,s.nextDep=void 0,V.depsTail.nextDep=s,V.depsTail=s,V.deps===s&&(V.deps=n)}return s}trigger(t){this.version++,vt++,this.notify(t)}notify(t){Fs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ds()}}}function Yn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Yn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const _s=new WeakMap,ze=Symbol(""),bs=Symbol(""),St=Symbol("");function ee(e,t,s){if(ae&&V){let n=_s.get(e);n||_s.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Hs),r.map=n,r.key=s),r.track()}}function Ae(e,t,s,n,r,i){const o=_s.get(e);if(!o){vt++;return}const l=f=>{f&&f.trigger()};if(Fs(),t==="clear")o.forEach(l);else{const f=R(e),d=f&&As(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,S)=>{(S==="length"||S===St||!Ne(S)&&S>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(St)),t){case"add":f?d&&l(o.get("length")):(l(o.get(ze)),dt(e)&&l(o.get(bs)));break;case"delete":f||(l(o.get(ze)),dt(e)&&l(o.get(bs)));break;case"set":dt(e)&&l(o.get(ze));break}}Ds()}function Ye(e){const t=j(e);return t===e?t:(ee(t,"iterate",St),de(e)?t:t.map(Fe))}function Ls(e){return ee(e=j(e),"iterate",St),e}function ye(e,t){return $e(e)?wt(ke(e)?Fe(t):t):Fe(t)}const si={__proto__:null,[Symbol.iterator](){return os(this,Symbol.iterator,e=>ye(this,e))},concat(...e){return Ye(this).concat(...e.map(t=>R(t)?Ye(t):t))},entries(){return os(this,"entries",e=>(e[1]=ye(this,e[1]),e))},every(e,t){return Te(this,"every",e,t,void 0,arguments)},filter(e,t){return Te(this,"filter",e,t,s=>s.map(n=>ye(this,n)),arguments)},find(e,t){return Te(this,"find",e,t,s=>ye(this,s),arguments)},findIndex(e,t){return Te(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Te(this,"findLast",e,t,s=>ye(this,s),arguments)},findLastIndex(e,t){return Te(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Te(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return Ye(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return Te(this,"map",e,t,void 0,arguments)},pop(){return ct(this,"pop")},push(...e){return ct(this,"push",e)},reduce(e,...t){return sn(this,"reduce",e,t)},reduceRight(e,...t){return sn(this,"reduceRight",e,t)},shift(){return ct(this,"shift")},some(e,t){return Te(this,"some",e,t,void 0,arguments)},splice(...e){return ct(this,"splice",e)},toReversed(){return Ye(this).toReversed()},toSorted(e){return Ye(this).toSorted(e)},toSpliced(...e){return Ye(this).toSpliced(...e)},unshift(...e){return ct(this,"unshift",e)},values(){return os(this,"values",e=>ye(this,e))}};function os(e,t,s){const n=Ls(e),r=n[t]();return n!==e&&!de(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const ni=Array.prototype;function Te(e,t,s,n,r,i){const o=Ls(e),l=o!==e&&!de(e),f=o[t];if(f!==ni[t]){const p=f.apply(e,i);return l?Fe(p):p}let d=s;o!==e&&(l?d=function(p,S){return s.call(this,ye(e,p),S,e)}:s.length>2&&(d=function(p,S){return s.call(this,p,S,e)}));const a=f.call(o,d,n);return l&&r?r(a):a}function sn(e,t,s,n){const r=Ls(e),i=r!==e&&!de(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=ye(e,d)),s.call(this,d,ye(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=r[t](o,...n);return l?ye(e,f):f}function ls(e,t,s){const n=j(e);ee(n,"iterate",St);const r=n[t](...s);return(r===-1||r===!1)&&Vs(s[0])?(s[0]=j(s[0]),n[t](...s)):r}function ct(e,t,s=[]){Ie(),Fs();const n=j(e)[t].apply(e,s);return Ds(),Me(),n}const ri=Os("__proto__,__v_isRef,__isVue"),Xn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ne));function ii(e){Ne(e)||(e=String(e));const t=j(this);return ee(t,"has",e),t.hasOwnProperty(e)}class Zn{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?gi:tr:i?er:kn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=R(t);if(!r){let f;if(o&&(f=si[s]))return f;if(s==="hasOwnProperty")return ii}const l=Reflect.get(t,s,te(t)?t:n);if((Ne(s)?Xn.has(s):ri(s))||(r||ee(t,"get",s),i))return l;if(te(l)){const f=o&&As(s)?l:l.value;return r&&W(f)?ys(f):f}return W(l)?r?ys(l):$s(l):l}}class Qn extends Zn{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=R(t)&&As(s);if(!this._isShallow){const d=$e(i);if(!de(n)&&!$e(n)&&(i=j(i),n=j(n)),!o&&te(i)&&!te(n))return d||(i.value=n),!0}const l=o?Number(s)<t.length:H(t,s),f=Reflect.set(t,s,n,te(t)?t:r);return t===j(r)&&(l?Se(n,i)&&Ae(t,"set",s,n):Ae(t,"add",s,n)),f}deleteProperty(t,s){const n=H(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&Ae(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!Ne(s)||!Xn.has(s))&&ee(t,"has",s),n}ownKeys(t){return ee(t,"iterate",R(t)?"length":ze),Reflect.ownKeys(t)}}class oi extends Zn{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const li=new Qn,ci=new oi,fi=new Qn(!0);const xs=e=>e,jt=e=>Reflect.getPrototypeOf(e);function ui(e,t,s){return function(...n){const r=this.__v_raw,i=j(r),o=dt(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=r[e](...n),a=s?xs:t?wt:Fe;return!t&&ee(i,"iterate",f?bs:ze),k(Object.create(d),{next(){const{value:p,done:S}=d.next();return S?{value:p,done:S}:{value:l?[a(p[0]),a(p[1])]:a(p),done:S}}})}}function Ht(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ai(e,t){const s={get(r){const i=this.__v_raw,o=j(i),l=j(r);e||(Se(r,l)&&ee(o,"get",r),ee(o,"get",l));const{has:f}=jt(o),d=t?xs:e?wt:Fe;if(f.call(o,r))return d(i.get(r));if(f.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ee(j(r),"iterate",ze),r.size},has(r){const i=this.__v_raw,o=j(i),l=j(r);return e||(Se(r,l)&&ee(o,"has",r),ee(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=j(l),d=t?xs:e?wt:Fe;return!e&&ee(f,"iterate",ze),l.forEach((a,p)=>r.call(i,d(a),d(p),o))}};return k(s,e?{add:Ht("add"),set:Ht("set"),delete:Ht("delete"),clear:Ht("clear")}:{add(r){const i=j(this),o=jt(i),l=j(r),f=!t&&!de(r)&&!$e(r)?l:r;return o.has.call(i,f)||Se(r,f)&&o.has.call(i,r)||Se(l,f)&&o.has.call(i,l)||(i.add(f),Ae(i,"add",f,f)),this},set(r,i){!t&&!de(i)&&!$e(i)&&(i=j(i));const o=j(this),{has:l,get:f}=jt(o);let d=l.call(o,r);d||(r=j(r),d=l.call(o,r));const a=f.call(o,r);return o.set(r,i),d?Se(i,a)&&Ae(o,"set",r,i):Ae(o,"add",r,i),this},delete(r){const i=j(this),{has:o,get:l}=jt(i);let f=o.call(i,r);f||(r=j(r),f=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return f&&Ae(i,"delete",r,void 0),d},clear(){const r=j(this),i=r.size!==0,o=r.clear();return i&&Ae(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=ui(r,e,t)}),s}function Ns(e,t){const s=ai(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(H(s,r)&&r in n?s:n,r,i)}const di={get:Ns(!1,!1)},hi={get:Ns(!1,!0)},pi={get:Ns(!0,!1)};const kn=new WeakMap,er=new WeakMap,tr=new WeakMap,gi=new WeakMap;function mi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _i(e){return e.__v_skip||!Object.isExtensible(e)?0:mi(Vr(e))}function $s(e){return $e(e)?e:Us(e,!1,li,di,kn)}function bi(e){return Us(e,!1,fi,hi,er)}function ys(e){return Us(e,!0,ci,pi,tr)}function Us(e,t,s,n,r){if(!W(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=_i(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?n:s);return r.set(e,l),l}function ke(e){return $e(e)?ke(e.__v_raw):!!(e&&e.__v_isReactive)}function $e(e){return!!(e&&e.__v_isReadonly)}function de(e){return!!(e&&e.__v_isShallow)}function Vs(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function xi(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&Un(e,"__v_skip",!0),e}const Fe=e=>W(e)?$s(e):e,wt=e=>W(e)?ys(e):e;function te(e){return e?e.__v_isRef===!0:!1}function cs(e){return yi(e,!1)}function yi(e,t){return te(e)?e:new vi(e,t)}class vi{constructor(t,s){this.dep=new Hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:j(t),this._value=s?t:Fe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||de(t)||$e(t);t=n?t:j(t),Se(t,s)&&(this._rawValue=t,this._value=n?t:Fe(t),this.dep.trigger())}}function Si(e){return te(e)?e.value:e}const wi={get:(e,t,s)=>t==="__v_raw"?e:Si(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return te(r)&&!te(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function sr(e){return ke(e)?e:new Proxy(e,wi)}class Ci{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&V!==this)return Bn(this,!0),!0}get value(){const t=this.dep.track();return Gn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ti(e,t,s=!1){let n,r;return I(e)?n=e:(n=e.get,r=e.set),new Ci(n,r,s)}const Lt={},Vt=new WeakMap;let qe;function Ei(e,t=!1,s=qe){if(s){let n=Vt.get(s);n||Vt.set(s,n=[]),n.push(e)}}function Oi(e,t,s=N){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,d=P=>r?P:de(P)||r===!1||r===0?Re(P,1):Re(P);let a,p,S,C,D=!1,A=!1;if(te(e)?(p=()=>e.value,D=de(e)):ke(e)?(p=()=>d(e),D=!0):R(e)?(A=!0,D=e.some(P=>ke(P)||de(P)),p=()=>e.map(P=>{if(te(P))return P.value;if(ke(P))return d(P);if(I(P))return f?f(P,2):P()})):I(e)?t?p=f?()=>f(e,2):e:p=()=>{if(S){Ie();try{S()}finally{Me()}}const P=qe;qe=a;try{return f?f(e,3,[C]):e(C)}finally{qe=P}}:p=we,t&&r){const P=p,Y=r===!0?1/0:r;p=()=>Re(P(),Y)}const z=kr(),B=()=>{a.stop(),z&&z.active&&Ps(z.effects,a)};if(i&&t){const P=t;t=(...Y)=>{P(...Y),B()}}let M=A?new Array(e.length).fill(Lt):Lt;const K=P=>{if(!(!(a.flags&1)||!a.dirty&&!P))if(t){const Y=a.run();if(r||D||(A?Y.some((je,he)=>Se(je,M[he])):Se(Y,M))){S&&S();const je=qe;qe=a;try{const he=[Y,M===Lt?void 0:A&&M[0]===Lt?[]:M,C];M=Y,f?f(t,3,he):t(...he)}finally{qe=je}}}else a.run()};return l&&l(K),a=new Kn(p),a.scheduler=o?()=>o(K,!1):K,C=P=>Ei(P,!1,a),S=a.onStop=()=>{const P=Vt.get(a);if(P){if(f)f(P,4);else for(const Y of P)Y();Vt.delete(a)}},t?n?K(!0):M=a.run():o?o(K.bind(null,!0),!0):a.run(),B.pause=a.pause.bind(a),B.resume=a.resume.bind(a),B.stop=B,B}function Re(e,t=1/0,s){if(t<=0||!W(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,te(e))Re(e.value,t,s);else if(R(e))for(let n=0;n<e.length;n++)Re(e[n],t,s);else if($r(e)||dt(e))e.forEach(n=>{Re(n,t,s)});else if(Kr(e)){for(const n in e)Re(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Re(e[n],t,s)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.34
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Pt(e,t,s,n){try{return n?e(...n):e()}catch(r){Zt(r,t,s)}}function Ce(e,t,s,n){if(I(e)){const r=Pt(e,t,s,n);return r&&Nn(r)&&r.catch(i=>{Zt(i,t,s)}),r}if(R(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Ce(e[i],t,s,n));return r}}function Zt(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||N;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,d)===!1)return}l=l.parent}if(i){Ie(),Pt(i,null,10,[e,f,d]),Me();return}}Pi(e,s,r,n,o)}function Pi(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const re=[];let xe=-1;const et=[];let Le=null,Xe=0;const nr=Promise.resolve();let Kt=null;function Ai(e){const t=Kt||nr;return e?t.then(this?e.bind(this):e):t}function Ri(e){let t=xe+1,s=re.length;for(;t<s;){const n=t+s>>>1,r=re[n],i=Ct(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function Ks(e){if(!(e.flags&1)){const t=Ct(e),s=re[re.length-1];!s||!(e.flags&2)&&t>=Ct(s)?re.push(e):re.splice(Ri(t),0,e),e.flags|=1,rr()}}function rr(){Kt||(Kt=nr.then(or))}function Ii(e){R(e)?et.push(...e):Le&&e.id===-1?Le.splice(Xe+1,0,e):e.flags&1||(et.push(e),e.flags|=1),rr()}function nn(e,t,s=xe+1){for(;s<re.length;s++){const n=re[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;re.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ir(e){if(et.length){const t=[...new Set(et)].sort((s,n)=>Ct(s)-Ct(n));if(et.length=0,Le){Le.push(...t);return}for(Le=t,Xe=0;Xe<Le.length;Xe++){const s=Le[Xe];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Le=null,Xe=0}}const Ct=e=>e.id==null?e.flags&2?-1:1/0:e.id;function or(e){try{for(xe=0;xe<re.length;xe++){const t=re[xe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Pt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;xe<re.length;xe++){const t=re[xe];t&&(t.flags&=-2)}xe=-1,re.length=0,ir(),Kt=null,(re.length||et.length)&&or()}}let fe=null,lr=null;function Wt(e){const t=fe;return fe=e,lr=e&&e.type.__scopeId||null,t}function Mi(e,t=fe,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&mn(-1);const i=Wt(t);let o;try{o=e(...r)}finally{Wt(i),n._d&&mn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function rn(e,t){if(fe===null)return e;const s=ts(fe),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,f=N]=t[r];i&&(I(i)&&(i={mounted:i,updated:i}),i.deep&&Re(o),n.push({dir:i,instance:s,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function We(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let f=l.dir[n];f&&(Ie(),Ce(f,s,8,[e.el,l,e,t]),Me())}}function Fi(e,t){if(ie){let s=ie.provides;const n=ie.parent&&ie.parent.provides;n===s&&(s=ie.provides=Object.create(n)),s[e]=t}}function $t(e,t,s=!1){const n=No();if(n||tt){let r=tt?tt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&I(t)?t.call(n&&n.proxy):t}}const Di=Symbol.for("v-scx"),ji=()=>$t(Di);function fs(e,t,s){return cr(e,t,s)}function cr(e,t,s=N){const{immediate:n,deep:r,flush:i,once:o}=s,l=k({},s),f=t&&n||!t&&i!=="post";let d;if(Et){if(i==="sync"){const C=ji();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=we,C.resume=we,C.pause=we,C}}const a=ie;l.call=(C,D,A)=>Ce(C,a,D,A);let p=!1;i==="post"?l.scheduler=C=>{oe(C,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(C,D)=>{D?C():Ks(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const S=Oi(e,t,l);return Et&&(d?d.push(S):f&&S()),S}function Hi(e,t,s){const n=this.proxy,r=J(e)?e.includes(".")?fr(n,e):()=>n[e]:e.bind(n,n);let i;I(t)?i=t:(i=t.handler,s=t);const o=At(this),l=cr(r,i.bind(n),s);return o(),l}function fr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Li=Symbol("_vte"),Ni=e=>e.__isTeleport,$i=Symbol("_leaveCb");function Ws(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ws(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 Ui(e,t){return I(e)?k({name:e.name},t,{setup:e}):e}function ur(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function on(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Bt=new WeakMap;function mt(e,t,s,n,r=!1){if(R(e)){e.forEach((A,z)=>mt(A,t&&(R(t)?t[z]:t),s,n,r));return}if(_t(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&mt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?ts(n.component):n.el,o=r?null:i,{i:l,r:f}=e,d=t&&t.r,a=l.refs===N?l.refs={}:l.refs,p=l.setupState,S=j(p),C=p===N?Ln:A=>on(a,A)?!1:H(S,A),D=(A,z)=>!(z&&on(a,z));if(d!=null&&d!==f){if(ln(t),J(d))a[d]=null,C(d)&&(p[d]=null);else if(te(d)){const A=t;D(d,A.k)&&(d.value=null),A.k&&(a[A.k]=null)}}if(I(f))Pt(f,l,12,[o,a]);else{const A=J(f),z=te(f);if(A||z){const B=()=>{if(e.f){const M=A?C(f)?p[f]:a[f]:D()||!e.k?f.value:a[e.k];if(r)R(M)&&Ps(M,i);else if(R(M))M.includes(i)||M.push(i);else if(A)a[f]=[i],C(f)&&(p[f]=a[f]);else{const K=[i];D(f,e.k)&&(f.value=K),e.k&&(a[e.k]=K)}}else A?(a[f]=o,C(f)&&(p[f]=o)):z&&(D(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const M=()=>{B(),Bt.delete(e)};M.id=-1,Bt.set(e,M),oe(M,s)}else ln(e),B()}}}function ln(e){const t=Bt.get(e);t&&(t.flags|=8,Bt.delete(e))}Xt().requestIdleCallback;Xt().cancelIdleCallback;const _t=e=>!!e.type.__asyncLoader,ar=e=>e.type.__isKeepAlive;function Vi(e,t){dr(e,"a",t)}function Ki(e,t){dr(e,"da",t)}function dr(e,t,s=ie){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qt(t,n,s),s){let r=s.parent;for(;r&&r.parent;)ar(r.parent.vnode)&&Wi(n,t,s,r),r=r.parent}}function Wi(e,t,s,n){const r=Qt(t,e,n,!0);hr(()=>{Ps(n[t],r)},s)}function Qt(e,t,s=ie,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ie();const l=At(s),f=Ce(t,s,e,o);return l(),Me(),f});return n?r.unshift(i):r.push(i),i}}const De=e=>(t,s=ie)=>{(!Et||e==="sp")&&Qt(e,(...n)=>t(...n),s)},Bi=De("bm"),qi=De("m"),zi=De("bu"),Gi=De("u"),Ji=De("bum"),hr=De("um"),Yi=De("sp"),Xi=De("rtg"),Zi=De("rtc");function Qi(e,t=ie){Qt("ec",e,t)}const ki=Symbol.for("v-ndc"),vs=e=>e?Fr(e)?ts(e):vs(e.parent):null,bt=k(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=>vs(e.parent),$root:e=>vs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>gr(e),$forceUpdate:e=>e.f||(e.f=()=>{Ks(e.update)}),$nextTick:e=>e.n||(e.n=Ai.bind(e.proxy)),$watch:e=>Hi.bind(e)}),us=(e,t)=>e!==N&&!e.__isScriptSetup&&H(e,t),eo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const S=o[t];if(S!==void 0)switch(S){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(us(n,t))return o[t]=1,n[t];if(r!==N&&H(r,t))return o[t]=2,r[t];if(H(i,t))return o[t]=3,i[t];if(s!==N&&H(s,t))return o[t]=4,s[t];Ss&&(o[t]=0)}}const d=bt[t];let a,p;if(d)return t==="$attrs"&&ee(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==N&&H(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,H(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return us(r,t)?(r[t]=s,!0):n!==N&&H(n,t)?(n[t]=s,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let f;return!!(s[l]||e!==N&&l[0]!=="$"&&H(e,l)||us(t,l)||H(i,l)||H(n,l)||H(bt,l)||H(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:H(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function cn(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ss=!0;function to(e){const t=gr(e),s=e.proxy,n=e.ctx;Ss=!1,t.beforeCreate&&fn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:S,beforeUpdate:C,updated:D,activated:A,deactivated:z,beforeDestroy:B,beforeUnmount:M,destroyed:K,unmounted:P,render:Y,renderTracked:je,renderTriggered:he,errorCaptured:He,serverPrefetch:Rt,expose:Ue,inheritAttrs:rt,components:It,directives:Mt,filters:ss}=t;if(d&&so(d,n,null),o)for(const q in o){const $=o[q];I($)&&(n[q]=$.bind(s))}if(r){const q=r.call(s,s);W(q)&&(e.data=$s(q))}if(Ss=!0,i)for(const q in i){const $=i[q],Ve=I($)?$.bind(s,s):I($.get)?$.get.bind(s,s):we,Ft=!I($)&&I($.set)?$.set.bind(s):we,Ke=Bo({get:Ve,set:Ft});Object.defineProperty(n,q,{enumerable:!0,configurable:!0,get:()=>Ke.value,set:pe=>Ke.value=pe})}if(l)for(const q in l)pr(l[q],n,s,q);if(f){const q=I(f)?f.call(s):f;Reflect.ownKeys(q).forEach($=>{Fi($,q[$])})}a&&fn(a,e,"c");function se(q,$){R($)?$.forEach(Ve=>q(Ve.bind(s))):$&&q($.bind(s))}if(se(Bi,p),se(qi,S),se(zi,C),se(Gi,D),se(Vi,A),se(Ki,z),se(Qi,He),se(Zi,je),se(Xi,he),se(Ji,M),se(hr,P),se(Yi,Rt),R(Ue))if(Ue.length){const q=e.exposed||(e.exposed={});Ue.forEach($=>{Object.defineProperty(q,$,{get:()=>s[$],set:Ve=>s[$]=Ve,enumerable:!0})})}else e.exposed||(e.exposed={});Y&&e.render===we&&(e.render=Y),rt!=null&&(e.inheritAttrs=rt),It&&(e.components=It),Mt&&(e.directives=Mt),Rt&&ur(e)}function so(e,t,s=we){R(e)&&(e=ws(e));for(const n in e){const r=e[n];let i;W(r)?"default"in r?i=$t(r.from||n,r.default,!0):i=$t(r.from||n):i=$t(r),te(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function fn(e,t,s){Ce(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function pr(e,t,s,n){let r=n.includes(".")?fr(s,n):()=>s[n];if(J(e)){const i=t[e];I(i)&&fs(r,i)}else if(I(e))fs(r,e.bind(s));else if(W(e))if(R(e))e.forEach(i=>pr(i,t,s,n));else{const i=I(e.handler)?e.handler.bind(s):t[e.handler];I(i)&&fs(r,i,e)}}function gr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>qt(f,d,o,!0)),qt(f,t,o)),W(t)&&i.set(t,f),f}function qt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&qt(e,i,s,!0),r&&r.forEach(o=>qt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=no[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const no={data:un,props:an,emits:an,methods:ut,computed:ut,beforeCreate:ne,created:ne,beforeMount:ne,mounted:ne,beforeUpdate:ne,updated:ne,beforeDestroy:ne,beforeUnmount:ne,destroyed:ne,unmounted:ne,activated:ne,deactivated:ne,errorCaptured:ne,serverPrefetch:ne,components:ut,directives:ut,watch:io,provide:un,inject:ro};function un(e,t){return t?e?function(){return k(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function ro(e,t){return ut(ws(e),ws(t))}function ws(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ne(e,t){return e?[...new Set([].concat(e,t))]:t}function ut(e,t){return e?k(Object.create(null),e,t):t}function an(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:k(Object.create(null),cn(e),cn(t??{})):t}function io(e,t){if(!e)return t;if(!t)return e;const s=k(Object.create(null),e);for(const n in t)s[n]=ne(e[n],t[n]);return s}function mr(){return{app:null,config:{isNativeTag:Ln,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 oo=0;function lo(e,t){return function(n,r=null){I(n)||(n=k({},n)),r!=null&&!W(r)&&(r=null);const i=mr(),o=new WeakSet,l=[];let f=!1;const d=i.app={_uid:oo++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:qo,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&I(a.install)?(o.add(a),a.install(d,...p)):I(a)&&(o.add(a),a(d,...p))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,p){return p?(i.components[a]=p,d):i.components[a]},directive(a,p){return p?(i.directives[a]=p,d):i.directives[a]},mount(a,p,S){if(!f){const C=d._ceVNode||Ge(n,r);return C.appContext=i,S===!0?S="svg":S===!1&&(S=void 0),e(C,a,S),f=!0,d._container=a,a.__vue_app__=d,ts(C.component)}},onUnmount(a){l.push(a)},unmount(){f&&(Ce(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return i.provides[a]=p,d},runWithContext(a){const p=tt;tt=d;try{return a()}finally{tt=p}}};return d}}let tt=null;const co=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ue(t)}Modifiers`]||e[`${Je(t)}Modifiers`];function fo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||N;let r=s;const i=t.startsWith("update:"),o=i&&co(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>J(a)?a.trim():a)),o.number&&(r=s.map(Rs)));let l,f=n[l=rs(t)]||n[l=rs(ue(t))];!f&&i&&(f=n[l=rs(Je(t))]),f&&Ce(f,e,6,r);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ce(d,e,6,r)}}const uo=new WeakMap;function _r(e,t,s=!1){const n=s?uo:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!I(e)){const f=d=>{const a=_r(d,t,!0);a&&(l=!0,k(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(W(e)&&n.set(e,null),null):(R(i)?i.forEach(f=>o[f]=null):k(o,i),W(e)&&n.set(e,o),o)}function kt(e,t){return!e||!Gt(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,Je(t))||H(e,t))}function dn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:S,setupState:C,ctx:D,inheritAttrs:A}=e,z=Wt(e);let B,M;try{if(s.shapeFlag&4){const P=r||n,Y=P;B=ve(d.call(Y,P,a,p,C,S,D)),M=l}else{const P=t;B=ve(P.length>1?P(p,{attrs:l,slots:o,emit:f}):P(p,null)),M=t.props?l:ao(l)}}catch(P){xt.length=0,Zt(P,e,1),B=Ge(st)}let K=B;if(M&&A!==!1){const P=Object.keys(M),{shapeFlag:Y}=K;P.length&&Y&7&&(i&&P.some(Jt)&&(M=ho(M,i)),K=nt(K,M,!1,!0))}return s.dirs&&(K=nt(K,null,!1,!0),K.dirs=K.dirs?K.dirs.concat(s.dirs):s.dirs),s.transition&&Ws(K,s.transition),B=K,Wt(z),B}const ao=e=>{let t;for(const s in e)(s==="class"||s==="style"||Gt(s))&&((t||(t={}))[s]=e[s]);return t},ho=(e,t)=>{const s={};for(const n in e)(!Jt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function po(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?hn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const S=a[p];if(br(o,n,S)&&!kt(d,S))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?hn(n,o,d):!0:!!o;return!1}function hn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(br(t,e,i)&&!kt(s,i))return!0}return!1}function br(e,t,s){const n=e[s],r=t[s];return s==="style"&&W(n)&&W(r)?!Ms(n,r):n!==r}function go({vnode:e,parent:t,suspense:s},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const xr={},yr=()=>Object.create(xr),vr=e=>Object.getPrototypeOf(e)===xr;function mo(e,t,s,n=!1){const r={},i=yr();e.propsDefaults=Object.create(null),Sr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:bi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function _o(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=j(r),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let S=a[p];if(kt(e.emitsOptions,S))continue;const C=t[S];if(f)if(H(i,S))C!==i[S]&&(i[S]=C,d=!0);else{const D=ue(S);r[D]=Cs(f,l,D,C,e,!1)}else C!==i[S]&&(i[S]=C,d=!0)}}}else{Sr(e,t,r,i)&&(d=!0);let a;for(const p in l)(!t||!H(t,p)&&((a=Je(p))===p||!H(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=Cs(f,l,p,void 0,e,!0)):delete r[p]);if(i!==l)for(const p in i)(!t||!H(t,p))&&(delete i[p],d=!0)}d&&Ae(e.attrs,"set","")}function Sr(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(ht(f))continue;const d=t[f];let a;r&&H(r,a=ue(f))?!i||!i.includes(a)?s[a]=d:(l||(l={}))[a]=d:kt(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(i){const f=j(s),d=l||N;for(let a=0;a<i.length;a++){const p=i[a];s[p]=Cs(r,f,p,d[p],e,!H(d,p))}}return o}function Cs(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=H(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&I(f)){const{propsDefaults:d}=r;if(s in d)n=d[s];else{const a=At(r);n=d[s]=f.call(null,t),a()}}else n=f;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===Je(s))&&(n=!0))}return n}const bo=new WeakMap;function wr(e,t,s=!1){const n=s?bo:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!I(e)){const a=p=>{f=!0;const[S,C]=wr(p,t,!0);k(o,S),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return W(e)&&n.set(e,Qe),Qe;if(R(i))for(let a=0;a<i.length;a++){const p=ue(i[a]);pn(p)&&(o[p]=N)}else if(i)for(const a in i){const p=ue(a);if(pn(p)){const S=i[a],C=o[p]=R(S)||I(S)?{type:S}:k({},S),D=C.type;let A=!1,z=!0;if(R(D))for(let B=0;B<D.length;++B){const M=D[B],K=I(M)&&M.name;if(K==="Boolean"){A=!0;break}else K==="String"&&(z=!1)}else A=I(D)&&D.name==="Boolean";C[0]=A,C[1]=z,(A||H(C,"default"))&&l.push(p)}}const d=[o,l];return W(e)&&n.set(e,d),d}function pn(e){return e[0]!=="$"&&!ht(e)}const Bs=e=>e==="_"||e==="_ctx"||e==="$stable",qs=e=>R(e)?e.map(ve):[ve(e)],xo=(e,t,s)=>{if(t._n)return t;const n=Mi((...r)=>qs(t(...r)),s);return n._c=!1,n},Cr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Bs(r))continue;const i=e[r];if(I(i))t[r]=xo(r,i,n);else if(i!=null){const o=qs(i);t[r]=()=>o}}},Tr=(e,t)=>{const s=qs(t);e.slots.default=()=>s},Er=(e,t,s)=>{for(const n in t)(s||!Bs(n))&&(e[n]=t[n])},yo=(e,t,s)=>{const n=e.slots=yr();if(e.vnode.shapeFlag&32){const r=t._;r?(Er(n,t,s),s&&Un(n,"_",r,!0)):Cr(t,n)}else t&&Tr(e,t)},vo=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=N;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Er(r,t,s):(i=!t.$stable,Cr(t,r)),o=t}else t&&(Tr(e,t),o={default:1});if(i)for(const l in r)!Bs(l)&&o[l]==null&&delete r[l]},oe=Eo;function So(e){return wo(e)}function wo(e,t){const s=Xt();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:S,setScopeId:C=we,insertStaticContent:D}=e,A=(c,u,h,b=null,g=null,m=null,v=void 0,y=null,x=!!u.dynamicChildren)=>{if(c===u)return;c&&!ft(c,u)&&(b=Dt(c),pe(c,g,m,!0),c=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:_,ref:E,shapeFlag:w}=u;switch(_){case es:z(c,u,h,b);break;case st:B(c,u,h,b);break;case ds:c==null&&M(u,h,b,v);break;case Oe:It(c,u,h,b,g,m,v,y,x);break;default:w&1?Y(c,u,h,b,g,m,v,y,x):w&6?Mt(c,u,h,b,g,m,v,y,x):(w&64||w&128)&&_.process(c,u,h,b,g,m,v,y,x,ot)}E!=null&&g?mt(E,c&&c.ref,m,u||c,!u):E==null&&c&&c.ref!=null&&mt(c.ref,null,m,c,!0)},z=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const g=u.el=c.el;u.children!==c.children&&d(g,u.children)}},B=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},M=(c,u,h,b)=>{[c.el,c.anchor]=D(c.children,u,h,b,c.el,c.anchor)},K=({el:c,anchor:u},h,b)=>{let g;for(;c&&c!==u;)g=S(c),n(c,h,b),c=g;n(u,h,b)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=S(c),r(c),c=h;r(u)},Y=(c,u,h,b,g,m,v,y,x)=>{if(u.type==="svg"?v="svg":u.type==="math"&&(v="mathml"),c==null)je(u,h,b,g,m,v,y,x);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),Rt(c,u,g,m,v,y,x)}finally{_&&_._endPatch()}}},je=(c,u,h,b,g,m,v,y)=>{let x,_;const{props:E,shapeFlag:w,transition:T,dirs:O}=c;if(x=c.el=o(c.type,m,E&&E.is,E),w&8?a(x,c.children):w&16&&He(c.children,x,null,b,g,as(c,m),v,y),O&&We(c,null,b,"created"),he(x,c,c.scopeId,v,b),E){for(const L in E)L!=="value"&&!ht(L)&&i(x,L,null,E[L],m,b);"value"in E&&i(x,"value",null,E.value,m),(_=E.onVnodeBeforeMount)&&be(_,b,c)}O&&We(c,null,b,"beforeMount");const F=Co(g,T);F&&T.beforeEnter(x),n(x,u,h),((_=E&&E.onVnodeMounted)||F||O)&&oe(()=>{try{_&&be(_,b,c),F&&T.enter(x),O&&We(c,null,b,"mounted")}finally{}},g)},he=(c,u,h,b,g)=>{if(h&&C(c,h),b)for(let m=0;m<b.length;m++)C(c,b[m]);if(g){let m=g.subTree;if(u===m||Rr(m.type)&&(m.ssContent===u||m.ssFallback===u)){const v=g.vnode;he(c,v,v.scopeId,v.slotScopeIds,g.parent)}}},He=(c,u,h,b,g,m,v,y,x=0)=>{for(let _=x;_<c.length;_++){const E=c[_]=y?Pe(c[_]):ve(c[_]);A(null,E,u,h,b,g,m,v,y)}},Rt=(c,u,h,b,g,m,v)=>{const y=u.el=c.el;let{patchFlag:x,dynamicChildren:_,dirs:E}=u;x|=c.patchFlag&16;const w=c.props||N,T=u.props||N;let O;if(h&&Be(h,!1),(O=T.onVnodeBeforeUpdate)&&be(O,h,u,c),E&&We(u,c,h,"beforeUpdate"),h&&Be(h,!0),(w.innerHTML&&T.innerHTML==null||w.textContent&&T.textContent==null)&&a(y,""),_?Ue(c.dynamicChildren,_,y,h,b,as(u,g),m):v||$(c,u,y,null,h,b,as(u,g),m,!1),x>0){if(x&16)rt(y,w,T,h,g);else if(x&2&&w.class!==T.class&&i(y,"class",null,T.class,g),x&4&&i(y,"style",w.style,T.style,g),x&8){const F=u.dynamicProps;for(let L=0;L<F.length;L++){const U=F[L],G=w[U],Z=T[U];(Z!==G||U==="value")&&i(y,U,G,Z,g,h)}}x&1&&c.children!==u.children&&a(y,u.children)}else!v&&_==null&&rt(y,w,T,h,g);((O=T.onVnodeUpdated)||E)&&oe(()=>{O&&be(O,h,u,c),E&&We(u,c,h,"updated")},b)},Ue=(c,u,h,b,g,m,v)=>{for(let y=0;y<u.length;y++){const x=c[y],_=u[y],E=x.el&&(x.type===Oe||!ft(x,_)||x.shapeFlag&198)?p(x.el):h;A(x,_,E,null,b,g,m,v,!0)}},rt=(c,u,h,b,g)=>{if(u!==h){if(u!==N)for(const m in u)!ht(m)&&!(m in h)&&i(c,m,u[m],null,g,b);for(const m in h){if(ht(m))continue;const v=h[m],y=u[m];v!==y&&m!=="value"&&i(c,m,y,v,g,b)}"value"in h&&i(c,"value",u.value,h.value,g)}},It=(c,u,h,b,g,m,v,y,x)=>{const _=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:T,slotScopeIds:O}=u;O&&(y=y?y.concat(O):O),c==null?(n(_,h,b),n(E,h,b),He(u.children||[],h,E,g,m,v,y,x)):w>0&&w&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(Ue(c.dynamicChildren,T,h,g,m,v,y),(u.key!=null||g&&u===g.subTree)&&Or(c,u,!0)):$(c,u,h,E,g,m,v,y,x)},Mt=(c,u,h,b,g,m,v,y,x)=>{u.slotScopeIds=y,c==null?u.shapeFlag&512?g.ctx.activate(u,h,b,v,x):ss(u,h,b,g,m,v,x):Gs(c,u,x)},ss=(c,u,h,b,g,m,v)=>{const y=c.component=Lo(c,b,g);if(ar(c)&&(y.ctx.renderer=ot),$o(y,!1,v),y.asyncDep){if(g&&g.registerDep(y,se,v),!c.el){const x=y.subTree=Ge(st);B(null,x,u,h),c.placeholder=x.el}}else se(y,c,u,h,g,m,v)},Gs=(c,u,h)=>{const b=u.component=c.component;if(po(c,u,h))if(b.asyncDep&&!b.asyncResolved){q(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},se=(c,u,h,b,g,m,v)=>{const y=()=>{if(c.isMounted){let{next:w,bu:T,u:O,parent:F,vnode:L}=c;{const me=Pr(c);if(me){w&&(w.el=L.el,q(c,w,v)),me.asyncDep.then(()=>{oe(()=>{c.isUnmounted||_()},g)});return}}let U=w,G;Be(c,!1),w?(w.el=L.el,q(c,w,v)):w=L,T&&Nt(T),(G=w.props&&w.props.onVnodeBeforeUpdate)&&be(G,F,w,L),Be(c,!0);const Z=dn(c),ge=c.subTree;c.subTree=Z,A(ge,Z,p(ge.el),Dt(ge),c,g,m),w.el=Z.el,U===null&&go(c,Z.el),O&&oe(O,g),(G=w.props&&w.props.onVnodeUpdated)&&oe(()=>be(G,F,w,L),g)}else{let w;const{el:T,props:O}=u,{bm:F,m:L,parent:U,root:G,type:Z}=c,ge=_t(u);Be(c,!1),F&&Nt(F),!ge&&(w=O&&O.onVnodeBeforeMount)&&be(w,U,u),Be(c,!0);{G.ce&&G.ce._hasShadowRoot()&&G.ce._injectChildStyle(Z,c.parent?c.parent.type:void 0);const me=c.subTree=dn(c);A(null,me,h,b,c,g,m),u.el=me.el}if(L&&oe(L,g),!ge&&(w=O&&O.onVnodeMounted)){const me=u;oe(()=>be(w,U,me),g)}(u.shapeFlag&256||U&&_t(U.vnode)&&U.vnode.shapeFlag&256)&&c.a&&oe(c.a,g),c.isMounted=!0,u=h=b=null}};c.scope.on();const x=c.effect=new Kn(y);c.scope.off();const _=c.update=x.run.bind(x),E=c.job=x.runIfDirty.bind(x);E.i=c,E.id=c.uid,x.scheduler=()=>Ks(E),Be(c,!0),_()},q=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,_o(c,u.props,b,h),vo(c,u.children,h),Ie(),nn(c),Me()},$=(c,u,h,b,g,m,v,y,x=!1)=>{const _=c&&c.children,E=c?c.shapeFlag:0,w=u.children,{patchFlag:T,shapeFlag:O}=u;if(T>0){if(T&128){Ft(_,w,h,b,g,m,v,y,x);return}else if(T&256){Ve(_,w,h,b,g,m,v,y,x);return}}O&8?(E&16&&it(_,g,m),w!==_&&a(h,w)):E&16?O&16?Ft(_,w,h,b,g,m,v,y,x):it(_,g,m,!0):(E&8&&a(h,""),O&16&&He(w,h,b,g,m,v,y,x))},Ve=(c,u,h,b,g,m,v,y,x)=>{c=c||Qe,u=u||Qe;const _=c.length,E=u.length,w=Math.min(_,E);let T;for(T=0;T<w;T++){const O=u[T]=x?Pe(u[T]):ve(u[T]);A(c[T],O,h,null,g,m,v,y,x)}_>E?it(c,g,m,!0,!1,w):He(u,h,b,g,m,v,y,x,w)},Ft=(c,u,h,b,g,m,v,y,x)=>{let _=0;const E=u.length;let w=c.length-1,T=E-1;for(;_<=w&&_<=T;){const O=c[_],F=u[_]=x?Pe(u[_]):ve(u[_]);if(ft(O,F))A(O,F,h,null,g,m,v,y,x);else break;_++}for(;_<=w&&_<=T;){const O=c[w],F=u[T]=x?Pe(u[T]):ve(u[T]);if(ft(O,F))A(O,F,h,null,g,m,v,y,x);else break;w--,T--}if(_>w){if(_<=T){const O=T+1,F=O<E?u[O].el:b;for(;_<=T;)A(null,u[_]=x?Pe(u[_]):ve(u[_]),h,F,g,m,v,y,x),_++}}else if(_>T)for(;_<=w;)pe(c[_],g,m,!0),_++;else{const O=_,F=_,L=new Map;for(_=F;_<=T;_++){const le=u[_]=x?Pe(u[_]):ve(u[_]);le.key!=null&&L.set(le.key,_)}let U,G=0;const Z=T-F+1;let ge=!1,me=0;const lt=new Array(Z);for(_=0;_<Z;_++)lt[_]=0;for(_=O;_<=w;_++){const le=c[_];if(G>=Z){pe(le,g,m,!0);continue}let _e;if(le.key!=null)_e=L.get(le.key);else for(U=F;U<=T;U++)if(lt[U-F]===0&&ft(le,u[U])){_e=U;break}_e===void 0?pe(le,g,m,!0):(lt[_e-F]=_+1,_e>=me?me=_e:ge=!0,A(le,u[_e],h,null,g,m,v,y,x),G++)}const Xs=ge?To(lt):Qe;for(U=Xs.length-1,_=Z-1;_>=0;_--){const le=F+_,_e=u[le],Zs=u[le+1],Qs=le+1<E?Zs.el||Ar(Zs):b;lt[_]===0?A(null,_e,h,Qs,g,m,v,y,x):ge&&(U<0||_!==Xs[U]?Ke(_e,h,Qs,2):U--)}}},Ke=(c,u,h,b,g=null)=>{const{el:m,type:v,transition:y,children:x,shapeFlag:_}=c;if(_&6){Ke(c.component.subTree,u,h,b);return}if(_&128){c.suspense.move(u,h,b);return}if(_&64){v.move(c,u,h,ot);return}if(v===Oe){n(m,u,h);for(let w=0;w<x.length;w++)Ke(x[w],u,h,b);n(c.anchor,u,h);return}if(v===ds){K(c,u,h);return}if(b!==2&&_&1&&y)if(b===0)y.beforeEnter(m),n(m,u,h),oe(()=>y.enter(m),g);else{const{leave:w,delayLeave:T,afterLeave:O}=y,F=()=>{c.ctx.isUnmounted?r(m):n(m,u,h)},L=()=>{m._isLeaving&&m[$i](!0),w(m,()=>{F(),O&&O()})};T?T(m,F,L):L()}else n(m,u,h)},pe=(c,u,h,b=!1,g=!1)=>{const{type:m,props:v,ref:y,children:x,dynamicChildren:_,shapeFlag:E,patchFlag:w,dirs:T,cacheIndex:O,memo:F}=c;if(w===-2&&(g=!1),y!=null&&(Ie(),mt(y,null,h,c,!0),Me()),O!=null&&(u.renderCache[O]=void 0),E&256){u.ctx.deactivate(c);return}const L=E&1&&T,U=!_t(c);let G;if(U&&(G=v&&v.onVnodeBeforeUnmount)&&be(G,u,c),E&6)Lr(c.component,h,b);else{if(E&128){c.suspense.unmount(h,b);return}L&&We(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,ot,b):_&&!_.hasOnce&&(m!==Oe||w>0&&w&64)?it(_,u,h,!1,!0):(m===Oe&&w&384||!g&&E&16)&&it(x,u,h),b&&Js(c)}const Z=F!=null&&O==null;(U&&(G=v&&v.onVnodeUnmounted)||L||Z)&&oe(()=>{G&&be(G,u,c),L&&We(c,null,u,"unmounted"),Z&&(c.el=null)},h)},Js=c=>{const{type:u,el:h,anchor:b,transition:g}=c;if(u===Oe){Hr(h,b);return}if(u===ds){P(c);return}const m=()=>{r(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:v,delayLeave:y}=g,x=()=>v(h,m);y?y(c.el,m,x):x()}else m()},Hr=(c,u)=>{let h;for(;c!==u;)h=S(c),r(c),c=h;r(u)},Lr=(c,u,h)=>{const{bum:b,scope:g,job:m,subTree:v,um:y,m:x,a:_}=c;gn(x),gn(_),b&&Nt(b),g.stop(),m&&(m.flags|=8,pe(v,c,u,h)),y&&oe(y,u),oe(()=>{c.isUnmounted=!0},u)},it=(c,u,h,b=!1,g=!1,m=0)=>{for(let v=m;v<c.length;v++)pe(c[v],u,h,b,g)},Dt=c=>{if(c.shapeFlag&6)return Dt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=S(c.anchor||c.el),h=u&&u[Li];return h?S(h):u};let ns=!1;const Ys=(c,u,h)=>{let b;c==null?u._vnode&&(pe(u._vnode,null,null,!0),b=u._vnode.component):A(u._vnode||null,c,u,null,null,null,h),u._vnode=c,ns||(ns=!0,nn(b),ir(),ns=!1)},ot={p:A,um:pe,m:Ke,r:Js,mt:ss,mc:He,pc:$,pbc:Ue,n:Dt,o:e};return{render:Ys,hydrate:void 0,createApp:lo(Ys)}}function as({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Be({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Co(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Or(e,t,s=!1){const n=e.children,r=t.children;if(R(n)&&R(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Pe(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&Or(o,l)),l.type===es&&(l.patchFlag===-1&&(l=r[i]=Pe(l)),l.el=o.el),l.type===st&&!l.el&&(l.el=o.el)}}function To(e){const t=e.slice(),s=[0];let n,r,i,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(r=s[s.length-1],e[r]<d){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<d?i=l+1:o=l;d<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Pr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Pr(t)}function gn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ar(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ar(t.subTree):null}const Rr=e=>e.__isSuspense;function Eo(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Ii(e)}const Oe=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),st=Symbol.for("v-cmt"),ds=Symbol.for("v-stc"),xt=[];let ce=null;function Oo(e=!1){xt.push(ce=e?null:[])}function Po(){xt.pop(),ce=xt[xt.length-1]||null}let Tt=1;function mn(e,t=!1){Tt+=e,e<0&&ce&&t&&(ce.hasOnce=!0)}function Ao(e){return e.dynamicChildren=Tt>0?ce||Qe:null,Po(),Tt>0&&ce&&ce.push(e),e}function Ro(e,t,s,n,r,i){return Ao(X(e,t,s,n,r,i,!0))}function Ir(e){return e?e.__v_isVNode===!0:!1}function ft(e,t){return e.type===t.type&&e.key===t.key}const Mr=({key:e})=>e??null,Ut=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||te(e)||I(e)?{i:fe,r:e,k:t,f:!!s}:e:null);function X(e,t=null,s=null,n=0,r=null,i=e===Oe?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Mr(t),ref:t&&Ut(t),scopeId:lr,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return l?(zs(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=J(s)?8:16),Tt>0&&!o&&ce&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&ce.push(f),f}const Ge=Io;function Io(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===ki)&&(e=st),Ir(e)){const l=nt(e,t,!0);return s&&zs(l,s),Tt>0&&!i&&ce&&(l.shapeFlag&6?ce[ce.indexOf(e)]=l:ce.push(l)),l.patchFlag=-2,l}if(Wo(e)&&(e=e.__vccOpts),t){t=Mo(t);let{class:l,style:f}=t;l&&!J(l)&&(t.class=Is(l)),W(f)&&(Vs(f)&&!R(f)&&(f=k({},f)),t.style=yt(f))}const o=J(e)?1:Rr(e)?128:Ni(e)?64:W(e)?4:I(e)?2:0;return X(e,t,s,n,r,o,i,!0)}function Mo(e){return e?Vs(e)||vr(e)?k({},e):e:null}function nt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,d=t?Do(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Mr(d),ref:t&&t.ref?s&&i?R(i)?i.concat(Ut(t)):[i,Ut(t)]:Ut(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Oe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Ws(a,f.clone(a)),a}function Fo(e=" ",t=0){return Ge(es,null,e,t)}function ve(e){return e==null||typeof e=="boolean"?Ge(st):R(e)?Ge(Oe,null,e.slice()):Ir(e)?Pe(e):Ge(es,null,String(e))}function Pe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function zs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),zs(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!vr(t)?t._ctx=fe:r===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:fe},s=32):(t=String(t),n&64?(s=16,t=[Fo(t)]):s=8);e.children=t,e.shapeFlag|=s}function Do(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Is([t.class,n.class]));else if(r==="style")t.style=yt([t.style,n.style]);else if(Gt(r)){const i=t[r],o=n[r];o&&i!==o&&!(R(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!Jt(r)&&(t[r]=o)}else r!==""&&(t[r]=n[r])}return t}function be(e,t,s,n=null){Ce(e,t,7,[s,n])}const jo=mr();let Ho=0;function Lo(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||jo,i={uid:Ho++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Qr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wr(n,r),emitsOptions:_r(n,r),emit:null,emitted:null,propsDefaults:N,inheritAttrs:n.inheritAttrs,ctx:N,data:N,props:N,attrs:N,slots:N,refs:N,setupState:N,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=fo.bind(null,i),e.ce&&e.ce(i),i}let ie=null;const No=()=>ie||fe;let zt,Ts;{const e=Xt(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};zt=t("__VUE_INSTANCE_SETTERS__",s=>ie=s),Ts=t("__VUE_SSR_SETTERS__",s=>Et=s)}const At=e=>{const t=ie;return zt(e),e.scope.on(),()=>{e.scope.off(),zt(t)}},_n=()=>{ie&&ie.scope.off(),zt(null)};function Fr(e){return e.vnode.shapeFlag&4}let Et=!1;function $o(e,t=!1,s=!1){t&&Ts(t);const{props:n,children:r}=e.vnode,i=Fr(e);mo(e,n,i,t),yo(e,r,s||t);const o=i?Uo(e,t):void 0;return t&&Ts(!1),o}function Uo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,eo);const{setup:n}=s;if(n){Ie();const r=e.setupContext=n.length>1?Ko(e):null,i=At(e),o=Pt(n,e,0,[e.props,r]),l=Nn(o);if(Me(),i(),(l||e.sp)&&!_t(e)&&ur(e),l){if(o.then(_n,_n),t)return o.then(f=>{bn(e,f)}).catch(f=>{Zt(f,e,0)});e.asyncDep=o}else bn(e,o)}else Dr(e)}function bn(e,t,s){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:W(t)&&(e.setupState=sr(t)),Dr(e)}function Dr(e,t,s){const n=e.type;e.render||(e.render=n.render||we);{const r=At(e);Ie();try{to(e)}finally{Me(),r()}}}const Vo={get(e,t){return ee(e,"get",""),e[t]}};function Ko(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Vo),slots:e.slots,emit:e.emit,expose:t}}function ts(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(sr(xi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in bt)return bt[s](e)},has(t,s){return s in t||s in bt}})):e.proxy}function Wo(e){return I(e)&&"__vccOpts"in e}const Bo=(e,t)=>Ti(e,t,Et),qo="3.5.34";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.34
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let Es;const xn=typeof window<"u"&&window.trustedTypes;if(xn)try{Es=xn.createPolicy("vue",{createHTML:e=>e})}catch{}const jr=Es?e=>Es.createHTML(e):e=>e,zo="http://www.w3.org/2000/svg",Go="http://www.w3.org/1998/Math/MathML",Ee=typeof document<"u"?document:null,yn=Ee&&Ee.createElement("template"),Jo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?Ee.createElementNS(zo,e):t==="mathml"?Ee.createElementNS(Go,e):s?Ee.createElement(e,{is:s}):Ee.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Ee.createTextNode(e),createComment:e=>Ee.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ee.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{yn.innerHTML=jr(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=yn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Yo=Symbol("_vtc");function Xo(e,t,s){const n=e[Yo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const vn=Symbol("_vod"),Zo=Symbol("_vsh"),Qo=Symbol(""),ko=/(?:^|;)\s*display\s*:/;function el(e,t,s){const n=e.style,r=J(s);let i=!1;if(s&&!r){if(t)if(J(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&at(n,l,"")}else for(const o in t)s[o]==null&&at(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?sl(e,o,!J(t)&&t?t[o]:void 0,l)||at(n,o,l):at(n,o,"")}}else if(r){if(t!==s){const o=n[Qo];o&&(s+=";"+o),n.cssText=s,i=ko.test(s)}}else t&&e.removeAttribute("style");vn in e&&(e[vn]=i?n.display:"",e[Zo]&&(n.display="none"))}const Sn=/\s*!important$/;function at(e,t,s){if(R(s))s.forEach(n=>at(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=tl(e,t);Sn.test(s)?e.setProperty(Je(n),s.replace(Sn,""),"important"):e[n]=s}}const wn=["Webkit","Moz","ms"],hs={};function tl(e,t){const s=hs[t];if(s)return s;let n=ue(t);if(n!=="filter"&&n in e)return hs[t]=n;n=$n(n);for(let r=0;r<wn.length;r++){const i=wn[r]+n;if(i in e)return hs[t]=i}return t}function sl(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&J(n)&&s===n}const Cn="http://www.w3.org/1999/xlink";function Tn(e,t,s,n,r,i=Xr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Cn,t.slice(6,t.length)):e.setAttributeNS(Cn,t,s):s==null||i&&!Vn(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Ne(s)?String(s):s)}function En(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?jr(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Vn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function Ze(e,t,s,n){e.addEventListener(t,s,n)}function nl(e,t,s,n){e.removeEventListener(t,s,n)}const On=Symbol("_vei");function rl(e,t,s,n,r=null){const i=e[On]||(e[On]={}),o=i[t];if(n&&o)o.value=n;else{const[l,f]=il(t);if(n){const d=i[t]=cl(n,r);Ze(e,l,d,f)}else o&&(nl(e,l,o,f),i[t]=void 0)}}const Pn=/(?:Once|Passive|Capture)$/;function il(e){let t;if(Pn.test(e)){t={};let n;for(;n=e.match(Pn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Je(e.slice(2)),t]}let ps=0;const ol=Promise.resolve(),ll=()=>ps||(ol.then(()=>ps=0),ps=Date.now());function cl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ce(fl(n,s.value),t,5,[n])};return s.value=e,s.attached=ll(),s}function fl(e,t){if(R(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const An=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ul=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?Xo(e,n,o):t==="style"?el(e,s,n):Gt(t)?Jt(t)||rl(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):al(e,t,n,o))?(En(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Tn(e,t,n,o,i,t!=="value")):e._isVueCE&&(dl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!J(n)))?En(e,ue(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Tn(e,t,n,o))};function al(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&An(t)&&I(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return An(t)&&J(s)?!1:t in e}function dl(e,t){const s=e._def.props;if(!s)return!1;const n=ue(t);return Array.isArray(s)?s.some(r=>ue(r)===n):Object.keys(s).some(r=>ue(r)===n)}const Rn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?s=>Nt(t,s):t};function hl(e){e.target.composing=!0}function In(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const gs=Symbol("_assign");function Mn(e,t,s){return t&&(e=e.trim()),s&&(e=Rs(e)),e}const Fn={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e[gs]=Rn(r);const i=n||r.props&&r.props.type==="number";Ze(e,t?"change":"input",o=>{o.target.composing||e[gs](Mn(e.value,s,i))}),(s||i)&&Ze(e,"change",()=>{e.value=Mn(e.value,s,i)}),t||(Ze(e,"compositionstart",hl),Ze(e,"compositionend",In),Ze(e,"change",In))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},o){if(e[gs]=Rn(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Rs(e.value):e.value,f=t??"";if(l===f)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===f)||(e.value=f)}},pl=k({patchProp:ul},Jo);let Dn;function gl(){return Dn||(Dn=So(pl))}const ml=((...e)=>{const t=gl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=bl(n);if(!r)return;const i=t._component;!I(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,_l(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function _l(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function bl(e){return J(e)?document.querySelector(e):e}const xl="modulepreload",yl=function(e){return"/"+e},jn={},Hn=function(t,s,n){let r=Promise.resolve();if(s&&s.length>0){let o=function(d){return Promise.all(d.map(a=>Promise.resolve(a).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),f=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=o(s.map(d=>{if(d=yl(d),d in jn)return;jn[d]=!0;const a=d.endsWith(".css"),p=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${p}`))return;const S=document.createElement("link");if(S.rel=a?"stylesheet":xl,a||(S.as="script"),S.crossOrigin="",S.href=d,f&&S.setAttribute("nonce",f),document.head.appendChild(S),a)return new Promise((C,D)=>{S.addEventListener("load",C),S.addEventListener("error",()=>D(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},vl={style:{padding:"20px","font-family":"system-ui, sans-serif",display:"flex","flex-direction":"column",height:"100vh","box-sizing":"border-box"}},Sl={style:{display:"flex","align-items":"center","justify-content":"space-between","margin-bottom":"16px"}},wl={style:{display:"flex",gap:"4px"}},Cl={style:{flex:"1",display:"flex","flex-direction":"column",gap:"12px","min-height":"0"}},Tl={style:{flex:"1",display:"flex","flex-direction":"column","min-height":"0"}},El={style:{flex:"1",display:"flex","flex-direction":"column","min-height":"0"}},Ol=Ui({__name:"App",setup(e){const t=cs(""),s=cs(""),n=cs("encode");function r(){try{n.value==="encode"?s.value=btoa(unescape(encodeURIComponent(t.value))):s.value=decodeURIComponent(escape(atob(t.value)))}catch{s.value="输入内容无效"}}async function i(){try{const{clipboard:l}=await Hn(async()=>{const{clipboard:f}=await import("./mock-V-LrjEey.js");return{clipboard:f}},[]);t.value=await l.readText(),r()}catch{}}async function o(){try{const{clipboard:l}=await Hn(async()=>{const{clipboard:f}=await import("./mock-V-LrjEey.js");return{clipboard:f}},[]);await l.writeText(s.value)}catch{navigator.clipboard.writeText(s.value)}}return(l,f)=>(Oo(),Ro("div",vl,[X("div",Sl,[f[4]||(f[4]=X("h2",{style:{margin:"0","font-size":"18px"}},"Base64 编解码",-1)),X("div",wl,[X("button",{onClick:f[0]||(f[0]=d=>{n.value="encode",r()}),style:yt({padding:"4px 12px",cursor:"pointer",border:"none",borderRadius:"4px",background:n.value==="encode"?"#89b4fa":"#e0e0e0",color:n.value==="encode"?"#1e1e2e":"#666"})},"编码",4),X("button",{onClick:f[1]||(f[1]=d=>{n.value="decode",r()}),style:yt({padding:"4px 12px",cursor:"pointer",border:"none",borderRadius:"4px",background:n.value==="decode"?"#89b4fa":"#e0e0e0",color:n.value==="decode"?"#1e1e2e":"#666"})},"解码",4)])]),X("div",Cl,[X("div",Tl,[X("div",{style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"4px"}},[f[5]||(f[5]=X("label",{style:{"font-size":"13px",color:"#666"}},"输入",-1)),X("button",{onClick:i,style:{"font-size":"12px",padding:"2px 8px",cursor:"pointer",border:"1px solid #ddd","border-radius":"4px",background:"white"}},"粘贴")]),rn(X("textarea",{"onUpdate:modelValue":f[2]||(f[2]=d=>t.value=d),onInput:r,placeholder:"输入文本...",style:{flex:"1",resize:"none",padding:"10px",border:"1px solid #ddd","border-radius":"6px","font-family":"monospace","font-size":"14px","min-height":"80px"}},null,544),[[Fn,t.value]])]),X("div",El,[X("div",{style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"4px"}},[f[6]||(f[6]=X("label",{style:{"font-size":"13px",color:"#666"}},"输出",-1)),X("button",{onClick:o,style:{"font-size":"12px",padding:"2px 8px",cursor:"pointer",border:"1px solid #ddd","border-radius":"4px",background:"white"}},"复制")]),rn(X("textarea",{"onUpdate:modelValue":f[3]||(f[3]=d=>s.value=d),readonly:"",style:{flex:"1",resize:"none",padding:"10px",border:"1px solid #ddd","border-radius":"6px","font-family":"monospace","font-size":"14px",background:"#f8f8f8","min-height":"80px"}},null,512),[[Fn,s.value]])])])]))}});ml(Ol).mount("#app");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const c="[@qian-kun/api mock]";function o(...e){console.warn(c,...e)}const n=new Map,s={async readFile(e){return o("fs.readFile (mock):",e),localStorage.getItem(`qk:fs:${e}`)||""},async writeFile(e,t){o("fs.writeFile (mock):",e),localStorage.setItem(`qk:fs:${e}`,t)},async readDir(e){return o("fs.readDir (mock):",e),[]},async readSystemPath(e){return o("fs.readSystemPath (mock):",e),""},async writeSystemPath(e,t){o("fs.writeSystemPath (mock):",e,t)}},a={async readText(){return o("clipboard.readText (mock): 返回空字符串"),""},async writeText(e){o("clipboard.writeText (mock):",e)}},r={async execute(e,t){return o("shell.execute (mock):",e),{stdout:"",stderr:"",exitCode:0}}},m={async get(e){return o("store.get (mock):",e),n.get(e)??null},async set(e,t){o("store.set (mock):",e,t),n.set(e,t)},async remove(e){o("store.remove (mock):",e),n.delete(e)}},i={async hash(e,t){return o("crypto.hash (mock):",e,t),"mock_hash_"+e}},k={async openFile(){return o("dialog.openFile (mock): 返回 null"),null},async saveFile(e,t){return o("dialog.saveFile (mock):",e,t),null}},l={async sendMessage(e,t){o("communication.sendMessage (mock):",e,t)},onMessage(e){o("communication.onMessage (mock): 已注册")},async openApp(e,t){return o("communication.openApp (mock):",e,t),"mock-window-label"},async broadcast(e){o("communication.broadcast (mock):",e)}},u={async chat(e){return o("ai.chat (mock): 返回模拟响应"),{text:"这是一个 mock AI 响应",usage:{input_tokens:0,output_tokens:0},model:"mock-model"}},chatStream(e){return o("ai.chatStream (mock): 模拟流式响应"),e.onChunk&&e.onChunk("这是"),e.onChunk&&e.onChunk("mock"),e.onDone&&e.onDone({usage:{input_tokens:0,output_tokens:0},model:"mock-model"}),{stop(){o("ai.chatStream (mock): 已停止")}}}};export{u as ai,a as clipboard,l as communication,i as crypto,k as dialog,s as fs,r as shell,m as store};
|
package/dist/icon.svg
ADDED
package/dist/index.html
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Base64 编解码</title>
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-Cen-LDXz.js"></script>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="app"></div>
|
|
11
|
+
</body>
|
|
12
|
+
</html>
|
package/icon.svg
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@qian-kun/qk-app-base64",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Base64 编码与解码工具",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": ["dist", "icon.svg"],
|
|
7
|
+
"qk": {
|
|
8
|
+
"entry": "dist/index.html",
|
|
9
|
+
"icon": "icon.svg",
|
|
10
|
+
"singleton": false,
|
|
11
|
+
"permissions": {
|
|
12
|
+
"clipboard": true
|
|
13
|
+
},
|
|
14
|
+
"window": {
|
|
15
|
+
"width": 480,
|
|
16
|
+
"height": 400,
|
|
17
|
+
"resizable": true,
|
|
18
|
+
"center": true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"dev": "vite",
|
|
23
|
+
"build": "vite build && node scripts/copy-assets.js",
|
|
24
|
+
"pack": "create-qk-app pack",
|
|
25
|
+
"publish": "npm run build && create-qk-app publish"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"vue": "^3.5.13"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
32
|
+
"typescript": "~5.6.2",
|
|
33
|
+
"vite": "^6.0.3",
|
|
34
|
+
"vue-tsc": "^2.1.10"
|
|
35
|
+
}
|
|
36
|
+
}
|