diff --git a/assets/a-db0338bd.jpg b/assets/a-db0338bd.jpg new file mode 100644 index 0000000..8a0bc0d Binary files /dev/null and b/assets/a-db0338bd.jpg differ diff --git a/assets/index-1b815255.css b/assets/index-1b815255.css new file mode 100644 index 0000000..d1d0b1a --- /dev/null +++ b/assets/index-1b815255.css @@ -0,0 +1 @@ +.preview-switch[data-v-697a4eee]{z-index:10}.preview-switch-item[data-v-697a4eee]{background-color:#606266;width:40px;height:40px;border-radius:20px;display:flex;justify-content:center;align-content:center;align-items:center;cursor:pointer;position:absolute;top:50%;margin-top:-20px;right:5vw}.preview-switch-item-left[data-v-697a4eee]{left:5vw}.preview-switch .preview-switch-icon[data-v-697a4eee]{font-size:24px;color:#fff}.preview-switch .preview-switch-icon-left[data-v-697a4eee]{transform:rotate(180deg)}.svg{user-select:none;font-size:18px;display:inline-block;width:1em;height:1em;fill:currentColor;overflow:hidden}.toolbar[data-v-d4e09f93]{position:absolute;bottom:5%;left:50%;transform:translate(-98px);border-radius:30px;z-index:10;background-color:#606266;display:flex;padding:8px 10px}.toolbar-item[data-v-d4e09f93]{cursor:pointer;margin:0 10px;color:#fff;font-size:24px}.toolbar-scale[data-v-d4e09f93]{font-size:14px;position:relative;background-color:#606266;border:1px solid #ffffff;box-sizing:border-box;width:34px;border-radius:1px;line-height:22px;text-align:center;cursor:unset}.toolbar-scale[data-v-d4e09f93]:before,.toolbar-scale[data-v-d4e09f93]:after{position:absolute;width:100%;height:100%;content:"";z-index:1;border:1px solid #606266;box-sizing:border-box}.toolbar-scale[data-v-d4e09f93]:before{height:12px;top:50%;margin-top:-6px;width:34px;left:-1px;border-width:0 1px}.toolbar-scale[data-v-d4e09f93]:after{height:24px;width:20px;top:-1px;left:50%;margin-left:-10px;border-width:1px 0}.toolbar-position[data-v-d4e09f93]{font-size:14px;box-sizing:border-box;width:24px;line-height:24px;text-align:center;cursor:default}.fox-preview{width:100vw;height:100vh;position:fixed;top:0;left:0;background-color:#0006;overflow:hidden;backdrop-filter:saturate(50%) blur(4px)}.fox-preview-canvas{width:100vw;height:100vh;display:flex;justify-content:center;align-items:center;font-size:0}.fox-preview-image{user-select:none;display:block;pointer-events:none}.fox-preview-image:active{cursor:pointer}.fox-preview-close{position:absolute;top:-40px;right:-40px;user-select:none;cursor:pointer;background-color:#0000004d;border-radius:50%;font-size:26px;height:80px;width:80px;color:#fff;overflow:hidden;transition:background-color .15s;z-index:10}.fox-preview-close>svg{position:absolute;left:15px;bottom:15px}.fox-preview-close:hover{background-color:#00000080}.font-svg{user-select:none;font-size:18px;display:inline-block;width:1em;height:1em;fill:currentColor;overflow:hidden;font-weight:500}.fox-lock-window{overflow:hidden}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50;height:150vh}.preview{max-width:1300px;margin:0 auto}.button{background-color:#fff;color:#409eff;border:1px solid #409eff;line-height:1em;padding:8px 20px;font-size:14px;border-radius:4px;outline:none;cursor:pointer}.button:hover{color:#fff;background-color:#409eff} diff --git a/assets/index-48e3945f.js b/assets/index-48e3945f.js new file mode 100644 index 0000000..ab988f7 --- /dev/null +++ b/assets/index-48e3945f.js @@ -0,0 +1 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function Vn(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const te={},ht=[],Fe=()=>{},ir=()=>!1,lr=/^on[^a-z]/,rn=e=>lr.test(e),qn=e=>e.startsWith("onUpdate:"),fe=Object.assign,Yn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cr=Object.prototype.hasOwnProperty,B=(e,t)=>cr.call(e,t),P=Array.isArray,pt=e=>ln(e)==="[object Map]",io=e=>ln(e)==="[object Set]",R=e=>typeof e=="function",re=e=>typeof e=="string",Jn=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",lo=e=>Z(e)&&R(e.then)&&R(e.catch),co=Object.prototype.toString,ln=e=>co.call(e),ur=e=>ln(e).slice(8,-1),uo=e=>ln(e)==="[object Object]",Xn=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jt=Vn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fr=/-(\w)/g,mt=cn(e=>e.replace(fr,(t,n)=>n?n.toUpperCase():"")),ar=/\B([A-Z])/g,lt=cn(e=>e.replace(ar,"-$1").toLowerCase()),fo=cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),yn=cn(e=>e?`on${fo(e)}`:""),Lt=(e,t)=>!Object.is(e,t),xn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},dr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},hr=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let bs;const $n=()=>bs||(bs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rt(e){if(P(e)){const t={};for(let n=0;n{if(n){const s=n.split(gr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Zn(e){let t="";if(re(e))t=e;else if(P(e))for(let n=0;nre(e)?e:e==null?"":P(e)||Z(e)&&(e.toString===co||!R(e.toString))?JSON.stringify(e,ho,2):String(e),ho=(e,t)=>t&&t.__v_isRef?ho(e,t.value):pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:io(t)?{[`Set(${t.size})`]:[...t.values()]}:Z(t)&&!P(t)&&!uo(t)?String(t):t;let Ae;class yr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ae,!t&&Ae&&(this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){Ae=this}off(){Ae=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},po=e=>(e.w&Je)>0,go=e=>(e.n&Je)>0,Cr=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(d==="length"||d>=u)&&l.push(a)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":P(e)?Xn(n)&&l.push(i.get("length")):(l.push(i.get(rt)),pt(e)&&l.push(i.get(Pn)));break;case"delete":P(e)||(l.push(i.get(rt)),pt(e)&&l.push(i.get(Pn)));break;case"set":pt(e)&&l.push(i.get(rt));break}if(l.length===1)l[0]&&Ln(l[0]);else{const u=[];for(const a of l)a&&u.push(...a);Ln(Qn(u))}}function Ln(e,t){const n=P(e)?e:[...e];for(const s of n)s.computed&&ws(s);for(const s of n)s.computed||ws(s)}function ws(e,t){(e!==Ie||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Er=Vn("__proto__,__v_isRef,__isVue"),vo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Jn)),Ar=es(),Ir=es(!1,!0),Or=es(!0),Cs=$r();function $r(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=H(this);for(let r=0,i=this.length;r{e[t]=function(...n){yt();const s=H(this)[t].apply(this,n);return xt(),s}}),e}function Fr(e){const t=H(this);return ye(t,"has",e),t.hasOwnProperty(e)}function es(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?Vr:Co:t?wo:xo).get(s))return s;const i=P(s);if(!e){if(i&&B(Cs,o))return Reflect.get(Cs,o,r);if(o==="hasOwnProperty")return Fr}const l=Reflect.get(s,o,r);return(Jn(o)?vo.has(o):Er(o))||(e||ye(s,"get",o),t)?l:pe(l)?i&&Xn(o)?l:l.value:Z(l)?e?To(l):fn(l):l}}const Mr=bo(),Pr=bo(!0);function bo(e=!1){return function(n,s,o,r){let i=n[s];if(vt(i)&&pe(i)&&!pe(o))return!1;if(!e&&(!tn(o)&&!vt(o)&&(i=H(i),o=H(o)),!P(n)&&pe(i)&&!pe(o)))return i.value=o,!0;const l=P(n)&&Xn(s)?Number(s)e,un=e=>Reflect.getPrototypeOf(e);function Kt(e,t,n=!1,s=!1){e=e.__v_raw;const o=H(e),r=H(t);n||(t!==r&&ye(o,"get",t),ye(o,"get",r));const{has:i}=un(o),l=s?ts:n?os:Nt;if(i.call(o,t))return l(e.get(t));if(i.call(o,r))return l(e.get(r));e!==o&&e.get(t)}function kt(e,t=!1){const n=this.__v_raw,s=H(n),o=H(e);return t||(e!==o&&ye(s,"has",e),ye(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Ut(e,t=!1){return e=e.__v_raw,!t&&ye(H(e),"iterate",rt),Reflect.get(e,"size",e)}function Ts(e){e=H(e);const t=H(this);return un(t).has.call(t,e)||(t.add(e),De(t,"add",e,e)),this}function Es(e,t){t=H(t);const n=H(this),{has:s,get:o}=un(n);let r=s.call(n,e);r||(e=H(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?Lt(t,i)&&De(n,"set",e,t):De(n,"add",e,t),this}function As(e){const t=H(this),{has:n,get:s}=un(t);let o=n.call(t,e);o||(e=H(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&De(t,"delete",e,void 0),r}function Is(){const e=H(this),t=e.size!==0,n=e.clear();return t&&De(e,"clear",void 0,void 0),n}function zt(e,t){return function(s,o){const r=this,i=r.__v_raw,l=H(i),u=t?ts:e?os:Nt;return!e&&ye(l,"iterate",rt),i.forEach((a,d)=>s.call(o,u(a),u(d),r))}}function Wt(e,t,n){return function(...s){const o=this.__v_raw,r=H(o),i=pt(r),l=e==="entries"||e===Symbol.iterator&&i,u=e==="keys"&&i,a=o[e](...s),d=n?ts:t?os:Nt;return!t&&ye(r,"iterate",u?Pn:rt),{next(){const{value:g,done:p}=a.next();return p?{value:g,done:p}:{value:l?[d(g[0]),d(g[1])]:d(g),done:p}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){return e==="delete"?!1:this}}function Hr(){const e={get(r){return Kt(this,r)},get size(){return Ut(this)},has:kt,add:Ts,set:Es,delete:As,clear:Is,forEach:zt(!1,!1)},t={get(r){return Kt(this,r,!1,!0)},get size(){return Ut(this)},has:kt,add:Ts,set:Es,delete:As,clear:Is,forEach:zt(!1,!0)},n={get(r){return Kt(this,r,!0)},get size(){return Ut(this,!0)},has(r){return kt.call(this,r,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:zt(!0,!1)},s={get(r){return Kt(this,r,!0,!0)},get size(){return Ut(this,!0)},has(r){return kt.call(this,r,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:zt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Wt(r,!1,!1),n[r]=Wt(r,!0,!1),t[r]=Wt(r,!1,!0),s[r]=Wt(r,!0,!0)}),[e,n,t,s]}const[Dr,jr,Kr,kr]=Hr();function ns(e,t){const n=t?e?kr:Kr:e?jr:Dr;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(B(n,o)&&o in s?n:s,o,r)}const Ur={get:ns(!1,!1)},zr={get:ns(!1,!0)},Wr={get:ns(!0,!1)},xo=new WeakMap,wo=new WeakMap,Co=new WeakMap,Vr=new WeakMap;function qr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Yr(e){return e.__v_skip||!Object.isExtensible(e)?0:qr(ur(e))}function fn(e){return vt(e)?e:ss(e,!1,yo,Ur,xo)}function Jr(e){return ss(e,!1,Br,zr,wo)}function To(e){return ss(e,!0,Sr,Wr,Co)}function ss(e,t,n,s,o){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Yr(e);if(i===0)return e;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function gt(e){return vt(e)?gt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function tn(e){return!!(e&&e.__v_isShallow)}function Eo(e){return gt(e)||vt(e)}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function Ao(e){return en(e,"__v_skip",!0),e}const Nt=e=>Z(e)?fn(e):e,os=e=>Z(e)?To(e):e;function Io(e){qe&&Ie&&(e=H(e),mo(e.dep||(e.dep=Qn())))}function Oo(e,t){e=H(e);const n=e.dep;n&&Ln(n)}function pe(e){return!!(e&&e.__v_isRef===!0)}function me(e){return Xr(e,!1)}function Xr(e,t){return pe(e)?e:new Zr(e,t)}class Zr{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:H(t),this._value=n?t:Nt(t)}get value(){return Io(this),this._value}set value(t){const n=this.__v_isShallow||tn(t)||vt(t);t=n?t:H(t),Lt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Nt(t),Oo(this))}}function oe(e){return pe(e)?e.value:e}const Qr={get:(e,t,n)=>oe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return pe(o)&&!pe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function $o(e){return gt(e)?e:new Proxy(e,Qr)}class Gr{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Gn(t,()=>{this._dirty||(this._dirty=!0,Oo(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=H(this);return Io(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ei(e,t,n=!1){let s,o;const r=R(e);return r?(s=e,o=Fe):(s=e.get,o=e.set),new Gr(s,o,r||!o,n)}function Ye(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){an(r,t,n)}return o}function Te(e,t,n,s){if(R(e)){const r=Ye(e,t,n,s);return r&&lo(r)&&r.catch(i=>{an(i,t,n)}),r}const o=[];for(let r=0;r>>1;Bt(he[s])Ne&&he.splice(t,1)}function ri(e){P(e)?_t.push(...e):(!He||!He.includes(e,e.allowRecurse?nt+1:nt))&&_t.push(e),Mo()}function Os(e,t=St?Ne+1:0){for(;tBt(n)-Bt(s)),nt=0;nte.id==null?1/0:e.id,ii=(e,t)=>{const n=Bt(e)-Bt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Lo(e){Rn=!1,St=!0,he.sort(ii);const t=Fe;try{for(Ne=0;Nere(C)?C.trim():C)),g&&(o=n.map(dr))}let l,u=s[l=yn(t)]||s[l=yn(mt(t))];!u&&r&&(u=s[l=yn(lt(t))]),u&&Te(u,e,6,o);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Te(a,e,6,o)}}function Ro(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!R(e)){const u=a=>{const d=Ro(a,t,!0);d&&(l=!0,fe(i,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!l?(Z(e)&&s.set(e,null),null):(P(r)?r.forEach(u=>i[u]=null):fe(i,r),Z(e)&&s.set(e,i),i)}function dn(e,t){return!e||!rn(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,lt(t))||B(e,t))}let Oe=null,No=null;function nn(e){const t=Oe;return Oe=e,No=e&&e.type.__scopeId||null,t}function So(e,t=Oe,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&js(-1);const r=nn(t);let i;try{i=e(...o)}finally{nn(r),s._d&&js(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function wn(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:l,attrs:u,emit:a,render:d,renderCache:g,data:p,setupState:C,ctx:$,inheritAttrs:T}=e;let j,k;const q=nn(e);try{if(n.shapeFlag&4){const F=o||s;j=Re(d.call(F,F,g,r,C,p,$)),k=u}else{const F=t;j=Re(F.length>1?F(r,{attrs:u,slots:l,emit:a}):F(r,null)),k=t.props?u:ci(u)}}catch(F){Mt.length=0,an(F,e,1),j=ne(Me)}let U=j;if(k&&T!==!1){const F=Object.keys(k),{shapeFlag:J}=U;F.length&&J&7&&(i&&F.some(qn)&&(k=ui(k,i)),U=Xe(U,k))}return n.dirs&&(U=Xe(U),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&(U.transition=n.transition),j=U,nn(q),j}const ci=e=>{let t;for(const n in e)(n==="class"||n==="style"||rn(n))&&((t||(t={}))[n]=e[n]);return t},ui=(e,t)=>{const n={};for(const s in e)(!qn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function fi(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:u}=t,a=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?$s(s,i,a):!!i;if(u&8){const d=t.dynamicProps;for(let g=0;ge.__isSuspense;function hi(e,t){t&&t.pendingBranch?P(e)?t.effects.push(...e):t.effects.push(e):ri(e)}const Vt={};function Ot(e,t,n){return Bo(e,t,n)}function Bo(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=te){var l;const u=wr()===((l=de)==null?void 0:l.scope)?de:null;let a,d=!1,g=!1;if(pe(e)?(a=()=>e.value,d=tn(e)):gt(e)?(a=()=>e,s=!0):P(e)?(g=!0,d=e.some(F=>gt(F)||tn(F)),a=()=>e.map(F=>{if(pe(F))return F.value;if(gt(F))return dt(F);if(R(F))return Ye(F,u,2)})):R(e)?t?a=()=>Ye(e,u,2):a=()=>{if(!(u&&u.isUnmounted))return p&&p(),Te(e,u,3,[C])}:a=Fe,t&&s){const F=a;a=()=>dt(F())}let p,C=F=>{p=q.onStop=()=>{Ye(F,u,4)}},$;if(Dt)if(C=Fe,t?n&&Te(t,u,3,[a(),g?[]:void 0,C]):a(),o==="sync"){const F=dl();$=F.__watcherHandles||(F.__watcherHandles=[])}else return Fe;let T=g?new Array(e.length).fill(Vt):Vt;const j=()=>{if(q.active)if(t){const F=q.run();(s||d||(g?F.some((J,ie)=>Lt(J,T[ie])):Lt(F,T)))&&(p&&p(),Te(t,u,3,[F,T===Vt?void 0:g&&T[0]===Vt?[]:T,C]),T=F)}else q.run()};j.allowRecurse=!!t;let k;o==="sync"?k=j:o==="post"?k=()=>ve(j,u&&u.suspense):(j.pre=!0,u&&(j.id=u.uid),k=()=>is(j));const q=new Gn(a,k);t?n?j():T=q.run():o==="post"?ve(q.run.bind(q),u&&u.suspense):q.run();const U=()=>{q.stop(),u&&u.scope&&Yn(u.scope.effects,q)};return $&&$.push(U),U}function pi(e,t,n){const s=this.proxy,o=re(e)?e.includes(".")?Ho(s,e):()=>s[e]:e.bind(s,s);let r;R(t)?r=t:(r=t.handler,n=t);const i=de;bt(this);const l=Bo(o,r.bind(s),n);return i?bt(i):it(),l}function Ho(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o{dt(n,t)});else if(uo(e))for(const n in e)dt(e[n],t);return e}function Qe(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i{e.isMounted=!0}),zo(()=>{e.isUnmounting=!0}),e}const we=[Function,Array],Do={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:we,onEnter:we,onAfterEnter:we,onEnterCancelled:we,onBeforeLeave:we,onLeave:we,onAfterLeave:we,onLeaveCancelled:we,onBeforeAppear:we,onAppear:we,onAfterAppear:we,onAppearCancelled:we},_i={name:"BaseTransition",props:Do,setup(e,{slots:t}){const n=ol(),s=gi();let o;return()=>{const r=t.default&&Ko(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const T of r)if(T.type!==Me){i=T;break}}const l=H(e),{mode:u}=l;if(s.isLeaving)return Cn(i);const a=Fs(i);if(!a)return Cn(i);const d=Nn(a,l,s,n);Sn(a,d);const g=n.subTree,p=g&&Fs(g);let C=!1;const{getTransitionKey:$}=a.type;if($){const T=$();o===void 0?o=T:T!==o&&(o=T,C=!0)}if(p&&p.type!==Me&&(!st(a,p)||C)){const T=Nn(p,l,s,n);if(Sn(p,T),u==="out-in")return s.isLeaving=!0,T.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Cn(i);u==="in-out"&&a.type!==Me&&(T.delayLeave=(j,k,q)=>{const U=jo(s,p);U[String(p.key)]=p,j._leaveCb=()=>{k(),j._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=q})}return i}}},mi=_i;function jo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Nn(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:g,onLeave:p,onAfterLeave:C,onLeaveCancelled:$,onBeforeAppear:T,onAppear:j,onAfterAppear:k,onAppearCancelled:q}=t,U=String(e.key),F=jo(n,e),J=(M,K)=>{M&&Te(M,s,9,K)},ie=(M,K)=>{const D=K[1];J(M,K),P(M)?M.every(se=>se.length<=1)&&D():M.length<=1&&D()},Q={mode:r,persisted:i,beforeEnter(M){let K=l;if(!n.isMounted)if(o)K=T||l;else return;M._leaveCb&&M._leaveCb(!0);const D=F[U];D&&st(e,D)&&D.el._leaveCb&&D.el._leaveCb(),J(K,[M])},enter(M){let K=u,D=a,se=d;if(!n.isMounted)if(o)K=j||u,D=k||a,se=q||d;else return;let A=!1;const z=M._enterCb=ge=>{A||(A=!0,ge?J(se,[M]):J(D,[M]),Q.delayedLeave&&Q.delayedLeave(),M._enterCb=void 0)};K?ie(K,[M,z]):z()},leave(M,K){const D=String(e.key);if(M._enterCb&&M._enterCb(!0),n.isUnmounting)return K();J(g,[M]);let se=!1;const A=M._leaveCb=z=>{se||(se=!0,K(),z?J($,[M]):J(C,[M]),M._leaveCb=void 0,F[D]===e&&delete F[D])};F[D]=e,p?ie(p,[M,A]):A()},clone(M){return Nn(M,t,n,s)}};return Q}function Cn(e){if(pn(e))return e=Xe(e),e.children=null,e}function Fs(e){return pn(e)?e.children?e.children[0]:void 0:e}function Sn(e,t){e.shapeFlag&6&&e.component?Sn(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 Ko(e,t=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;rfe({name:e.name},t,{setup:e}))():e}const Xt=e=>!!e.type.__asyncLoader,pn=e=>e.type.__isKeepAlive;function vi(e,t){ko(e,"a",t)}function bi(e,t){ko(e,"da",t)}function ko(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(gn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)pn(o.parent.vnode)&&yi(s,t,n,o),o=o.parent}}function yi(e,t,n,s){const o=gn(t,e,s,!0);Wo(()=>{Yn(s[t],o)},n)}function gn(e,t,n=de,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;yt(),bt(n);const l=Te(t,n,e,i);return it(),xt(),l});return s?o.unshift(r):o.push(r),r}}const je=e=>(t,n=de)=>(!Dt||e==="sp")&&gn(e,(...s)=>t(...s),n),Uo=je("bm"),ls=je("m"),xi=je("bu"),wi=je("u"),zo=je("bum"),Wo=je("um"),Ci=je("sp"),Ti=je("rtg"),Ei=je("rtc");function Ai(e,t=de){gn("ec",e,t)}const Ii=Symbol.for("v-ndc");function Oi(e,t,n,s){let o;const r=n&&n[s];if(P(e)||re(e)){o=new Array(e.length);for(let i=0,l=e.length;it(i,l,void 0,r&&r[l]));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,u=i.length;le?nr(e)?hs(e)||e.proxy:Bn(e.parent):null,$t=fe(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=>Bn(e.parent),$root:e=>Bn(e.root),$emit:e=>e.emit,$options:e=>cs(e),$forceUpdate:e=>e.f||(e.f=()=>is(e.update)),$nextTick:e=>e.n||(e.n=ni.bind(e.proxy)),$watch:e=>pi.bind(e)}),Tn=(e,t)=>e!==te&&!e.__isScriptSetup&&B(e,t),$i={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:u}=e;let a;if(t[0]!=="$"){const C=i[t];if(C!==void 0)switch(C){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Tn(s,t))return i[t]=1,s[t];if(o!==te&&B(o,t))return i[t]=2,o[t];if((a=e.propsOptions[0])&&B(a,t))return i[t]=3,r[t];if(n!==te&&B(n,t))return i[t]=4,n[t];Hn&&(i[t]=0)}}const d=$t[t];let g,p;if(d)return t==="$attrs"&&ye(e,"get",t),d(e);if((g=l.__cssModules)&&(g=g[t]))return g;if(n!==te&&B(n,t))return i[t]=4,n[t];if(p=u.config.globalProperties,B(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Tn(o,t)?(o[t]=n,!0):s!==te&&B(s,t)?(s[t]=n,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let l;return!!n[i]||e!==te&&B(e,i)||Tn(t,i)||(l=r[0])&&B(l,i)||B(s,i)||B($t,i)||B(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:B(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ms(e){return P(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Hn=!0;function Fi(e){const t=cs(e),n=e.proxy,s=e.ctx;Hn=!1,t.beforeCreate&&Ps(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:u,inject:a,created:d,beforeMount:g,mounted:p,beforeUpdate:C,updated:$,activated:T,deactivated:j,beforeDestroy:k,beforeUnmount:q,destroyed:U,unmounted:F,render:J,renderTracked:ie,renderTriggered:Q,errorCaptured:M,serverPrefetch:K,expose:D,inheritAttrs:se,components:A,directives:z,filters:ge}=t;if(a&&Mi(a,s,null),i)for(const G in i){const W=i[G];R(W)&&(s[G]=W.bind(n))}if(o){const G=o.call(n,n);Z(G)&&(e.data=fn(G))}if(Hn=!0,r)for(const G in r){const W=r[G],Se=R(W)?W.bind(n,n):R(W.get)?W.get.bind(n,n):Fe,S=!R(W)&&R(W.set)?W.set.bind(n):Fe,ee=zn({get:Se,set:S});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>ee.value,set:ce=>ee.value=ce})}if(l)for(const G in l)Vo(l[G],s,n,G);if(u){const G=R(u)?u.call(n):u;Reflect.ownKeys(G).forEach(W=>{Bi(W,G[W])})}d&&Ps(d,e,"c");function le(G,W){P(W)?W.forEach(Se=>G(Se.bind(n))):W&&G(W.bind(n))}if(le(Uo,g),le(ls,p),le(xi,C),le(wi,$),le(vi,T),le(bi,j),le(Ai,M),le(Ei,ie),le(Ti,Q),le(zo,q),le(Wo,F),le(Ci,K),P(D))if(D.length){const G=e.exposed||(e.exposed={});D.forEach(W=>{Object.defineProperty(G,W,{get:()=>n[W],set:Se=>n[W]=Se})})}else e.exposed||(e.exposed={});J&&e.render===Fe&&(e.render=J),se!=null&&(e.inheritAttrs=se),A&&(e.components=A),z&&(e.directives=z)}function Mi(e,t,n=Fe){P(e)&&(e=Dn(e));for(const s in e){const o=e[s];let r;Z(o)?"default"in o?r=Zt(o.from||s,o.default,!0):r=Zt(o.from||s):r=Zt(o),pe(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Ps(e,t,n){Te(P(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vo(e,t,n,s){const o=s.includes(".")?Ho(n,s):()=>n[s];if(re(e)){const r=t[e];R(r)&&Ot(o,r)}else if(R(e))Ot(o,e.bind(n));else if(Z(e))if(P(e))e.forEach(r=>Vo(r,t,n,s));else{const r=R(e.handler)?e.handler.bind(n):t[e.handler];R(r)&&Ot(o,r,e)}}function cs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let u;return l?u=l:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(a=>sn(u,a,i,!0)),sn(u,t,i)),Z(t)&&r.set(t,u),u}function sn(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&sn(e,r,n,!0),o&&o.forEach(i=>sn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Pi[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Pi={data:Ls,props:Rs,emits:Rs,methods:It,computed:It,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:It,directives:It,watch:Ri,provide:Ls,inject:Li};function Ls(e,t){return t?e?function(){return fe(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function Li(e,t){return It(Dn(e),Dn(t))}function Dn(e){if(P(e)){const t={};for(let n=0;n1)return n&&R(t)?t.call(s&&s.proxy):t}}function Hi(e,t,n,s=!1){const o={},r={};en(r,mn,1),e.propsDefaults=Object.create(null),Yo(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Jr(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Di(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=H(o),[u]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let g=0;g{u=!0;const[p,C]=Jo(g,t,!0);fe(i,p),C&&l.push(...C)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return Z(e)&&s.set(e,ht),ht;if(P(r))for(let d=0;d-1,C[1]=T<0||$-1||B(C,"default"))&&l.push(g)}}}const a=[i,l];return Z(e)&&s.set(e,a),a}function Ns(e){return e[0]!=="$"}function Ss(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Bs(e,t){return Ss(e)===Ss(t)}function Hs(e,t){return P(t)?t.findIndex(n=>Bs(n,e)):R(t)&&Bs(t,e)?0:-1}const Xo=e=>e[0]==="_"||e==="$stable",us=e=>P(e)?e.map(Re):[Re(e)],ji=(e,t,n)=>{if(t._n)return t;const s=So((...o)=>us(t(...o)),n);return s._c=!1,s},Zo=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Xo(o))continue;const r=e[o];if(R(r))t[o]=ji(o,r,s);else if(r!=null){const i=us(r);t[o]=()=>i}}},Qo=(e,t)=>{const n=us(t);e.slots.default=()=>n},Ki=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=H(t),en(t,"_",n)):Zo(t,e.slots={})}else e.slots={},t&&Qo(e,t);en(e.slots,mn,1)},ki=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(fe(o,t),!n&&l===1&&delete o._):(r=!t.$stable,Zo(t,o)),i=t}else t&&(Qo(e,t),i={default:1});if(r)for(const l in o)!Xo(l)&&!(l in i)&&delete o[l]};function Kn(e,t,n,s,o=!1){if(P(e)){e.forEach((p,C)=>Kn(p,t&&(P(t)?t[C]:t),n,s,o));return}if(Xt(s)&&!o)return;const r=s.shapeFlag&4?hs(s.component)||s.component.proxy:s.el,i=o?null:r,{i:l,r:u}=e,a=t&&t.r,d=l.refs===te?l.refs={}:l.refs,g=l.setupState;if(a!=null&&a!==u&&(re(a)?(d[a]=null,B(g,a)&&(g[a]=null)):pe(a)&&(a.value=null)),R(u))Ye(u,l,12,[i,d]);else{const p=re(u),C=pe(u);if(p||C){const $=()=>{if(e.f){const T=p?B(g,u)?g[u]:d[u]:u.value;o?P(T)&&Yn(T,r):P(T)?T.includes(r)||T.push(r):p?(d[u]=[r],B(g,u)&&(g[u]=d[u])):(u.value=[r],e.k&&(d[e.k]=u.value))}else p?(d[u]=i,B(g,u)&&(g[u]=i)):C&&(u.value=i,e.k&&(d[e.k]=i))};i?($.id=-1,ve($,n)):$()}}}const ve=hi;function Ui(e){return zi(e)}function zi(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:u,setText:a,setElementText:d,parentNode:g,nextSibling:p,setScopeId:C=Fe,insertStaticContent:$}=e,T=(c,f,h,m=null,_=null,y=null,w=!1,b=null,x=!!f.dynamicChildren)=>{if(c===f)return;c&&!st(c,f)&&(m=jt(c),ce(c,_,y,!0),c=null),f.patchFlag===-2&&(x=!1,f.dynamicChildren=null);const{type:v,ref:I,shapeFlag:E}=f;switch(v){case _n:j(c,f,h,m);break;case Me:k(c,f,h,m);break;case En:c==null&&q(f,h,m,w);break;case Ce:A(c,f,h,m,_,y,w,b,x);break;default:E&1?J(c,f,h,m,_,y,w,b,x):E&6?z(c,f,h,m,_,y,w,b,x):(E&64||E&128)&&v.process(c,f,h,m,_,y,w,b,x,ut)}I!=null&&_&&Kn(I,c&&c.ref,y,f||c,!f)},j=(c,f,h,m)=>{if(c==null)s(f.el=l(f.children),h,m);else{const _=f.el=c.el;f.children!==c.children&&a(_,f.children)}},k=(c,f,h,m)=>{c==null?s(f.el=u(f.children||""),h,m):f.el=c.el},q=(c,f,h,m)=>{[c.el,c.anchor]=$(c.children,f,h,m,c.el,c.anchor)},U=({el:c,anchor:f},h,m)=>{let _;for(;c&&c!==f;)_=p(c),s(c,h,m),c=_;s(f,h,m)},F=({el:c,anchor:f})=>{let h;for(;c&&c!==f;)h=p(c),o(c),c=h;o(f)},J=(c,f,h,m,_,y,w,b,x)=>{w=w||f.type==="svg",c==null?ie(f,h,m,_,y,w,b,x):K(c,f,_,y,w,b,x)},ie=(c,f,h,m,_,y,w,b)=>{let x,v;const{type:I,props:E,shapeFlag:O,transition:L,dirs:N}=c;if(x=c.el=i(c.type,y,E&&E.is,E),O&8?d(x,c.children):O&16&&M(c.children,x,null,m,_,y&&I!=="foreignObject",w,b),N&&Qe(c,null,m,"created"),Q(x,c,c.scopeId,w,m),E){for(const V in E)V!=="value"&&!Jt(V)&&r(x,V,null,E[V],y,c.children,m,_,Be);"value"in E&&r(x,"value",null,E.value),(v=E.onVnodeBeforeMount)&&Le(v,m,c)}N&&Qe(c,null,m,"beforeMount");const Y=(!_||_&&!_.pendingBranch)&&L&&!L.persisted;Y&&L.beforeEnter(x),s(x,f,h),((v=E&&E.onVnodeMounted)||Y||N)&&ve(()=>{v&&Le(v,m,c),Y&&L.enter(x),N&&Qe(c,null,m,"mounted")},_)},Q=(c,f,h,m,_)=>{if(h&&C(c,h),m)for(let y=0;y{for(let v=x;v{const b=f.el=c.el;let{patchFlag:x,dynamicChildren:v,dirs:I}=f;x|=c.patchFlag&16;const E=c.props||te,O=f.props||te;let L;h&&Ge(h,!1),(L=O.onVnodeBeforeUpdate)&&Le(L,h,f,c),I&&Qe(f,c,h,"beforeUpdate"),h&&Ge(h,!0);const N=_&&f.type!=="foreignObject";if(v?D(c.dynamicChildren,v,b,h,m,N,y):w||W(c,f,b,null,h,m,N,y,!1),x>0){if(x&16)se(b,f,E,O,h,m,_);else if(x&2&&E.class!==O.class&&r(b,"class",null,O.class,_),x&4&&r(b,"style",E.style,O.style,_),x&8){const Y=f.dynamicProps;for(let V=0;V{L&&Le(L,h,f,c),I&&Qe(f,c,h,"updated")},m)},D=(c,f,h,m,_,y,w)=>{for(let b=0;b{if(h!==m){if(h!==te)for(const b in h)!Jt(b)&&!(b in m)&&r(c,b,h[b],null,w,f.children,_,y,Be);for(const b in m){if(Jt(b))continue;const x=m[b],v=h[b];x!==v&&b!=="value"&&r(c,b,v,x,w,f.children,_,y,Be)}"value"in m&&r(c,"value",h.value,m.value)}},A=(c,f,h,m,_,y,w,b,x)=>{const v=f.el=c?c.el:l(""),I=f.anchor=c?c.anchor:l("");let{patchFlag:E,dynamicChildren:O,slotScopeIds:L}=f;L&&(b=b?b.concat(L):L),c==null?(s(v,h,m),s(I,h,m),M(f.children,h,I,_,y,w,b,x)):E>0&&E&64&&O&&c.dynamicChildren?(D(c.dynamicChildren,O,h,_,y,w,b),(f.key!=null||_&&f===_.subTree)&&fs(c,f,!0)):W(c,f,h,I,_,y,w,b,x)},z=(c,f,h,m,_,y,w,b,x)=>{f.slotScopeIds=b,c==null?f.shapeFlag&512?_.ctx.activate(f,h,m,w,x):ge(f,h,m,_,y,w,x):Ze(c,f,x)},ge=(c,f,h,m,_,y,w)=>{const b=c.component=sl(c,m,_);if(pn(c)&&(b.ctx.renderer=ut),rl(b),b.asyncDep){if(_&&_.registerDep(b,le),!c.el){const x=b.subTree=ne(Me);k(null,x,f,h)}return}le(b,c,f,h,_,y,w)},Ze=(c,f,h)=>{const m=f.component=c.component;if(fi(c,f,h))if(m.asyncDep&&!m.asyncResolved){G(m,f,h);return}else m.next=f,oi(m.update),m.update();else f.el=c.el,m.vnode=f},le=(c,f,h,m,_,y,w)=>{const b=()=>{if(c.isMounted){let{next:I,bu:E,u:O,parent:L,vnode:N}=c,Y=I,V;Ge(c,!1),I?(I.el=N.el,G(c,I,w)):I=N,E&&xn(E),(V=I.props&&I.props.onVnodeBeforeUpdate)&&Le(V,L,I,N),Ge(c,!0);const ue=wn(c),Ee=c.subTree;c.subTree=ue,T(Ee,ue,g(Ee.el),jt(Ee),c,_,y),I.el=ue.el,Y===null&&ai(c,ue.el),O&&ve(O,_),(V=I.props&&I.props.onVnodeUpdated)&&ve(()=>Le(V,L,I,N),_)}else{let I;const{el:E,props:O}=f,{bm:L,m:N,parent:Y}=c,V=Xt(f);if(Ge(c,!1),L&&xn(L),!V&&(I=O&&O.onVnodeBeforeMount)&&Le(I,Y,f),Ge(c,!0),E&&bn){const ue=()=>{c.subTree=wn(c),bn(E,c.subTree,c,_,null)};V?f.type.__asyncLoader().then(()=>!c.isUnmounted&&ue()):ue()}else{const ue=c.subTree=wn(c);T(null,ue,h,m,c,_,y),f.el=ue.el}if(N&&ve(N,_),!V&&(I=O&&O.onVnodeMounted)){const ue=f;ve(()=>Le(I,Y,ue),_)}(f.shapeFlag&256||Y&&Xt(Y.vnode)&&Y.vnode.shapeFlag&256)&&c.a&&ve(c.a,_),c.isMounted=!0,f=h=m=null}},x=c.effect=new Gn(b,()=>is(v),c.scope),v=c.update=()=>x.run();v.id=c.uid,Ge(c,!0),v()},G=(c,f,h)=>{f.component=c;const m=c.vnode.props;c.vnode=f,c.next=null,Di(c,f.props,m,h),ki(c,f.children,h),yt(),Os(),xt()},W=(c,f,h,m,_,y,w,b,x=!1)=>{const v=c&&c.children,I=c?c.shapeFlag:0,E=f.children,{patchFlag:O,shapeFlag:L}=f;if(O>0){if(O&128){S(v,E,h,m,_,y,w,b,x);return}else if(O&256){Se(v,E,h,m,_,y,w,b,x);return}}L&8?(I&16&&Be(v,_,y),E!==v&&d(h,E)):I&16?L&16?S(v,E,h,m,_,y,w,b,x):Be(v,_,y,!0):(I&8&&d(h,""),L&16&&M(E,h,m,_,y,w,b,x))},Se=(c,f,h,m,_,y,w,b,x)=>{c=c||ht,f=f||ht;const v=c.length,I=f.length,E=Math.min(v,I);let O;for(O=0;OI?Be(c,_,y,!0,!1,E):M(f,h,m,_,y,w,b,x,E)},S=(c,f,h,m,_,y,w,b,x)=>{let v=0;const I=f.length;let E=c.length-1,O=I-1;for(;v<=E&&v<=O;){const L=c[v],N=f[v]=x?Ve(f[v]):Re(f[v]);if(st(L,N))T(L,N,h,null,_,y,w,b,x);else break;v++}for(;v<=E&&v<=O;){const L=c[E],N=f[O]=x?Ve(f[O]):Re(f[O]);if(st(L,N))T(L,N,h,null,_,y,w,b,x);else break;E--,O--}if(v>E){if(v<=O){const L=O+1,N=LO)for(;v<=E;)ce(c[v],_,y,!0),v++;else{const L=v,N=v,Y=new Map;for(v=N;v<=O;v++){const xe=f[v]=x?Ve(f[v]):Re(f[v]);xe.key!=null&&Y.set(xe.key,v)}let V,ue=0;const Ee=O-N+1;let ft=!1,_s=0;const Tt=new Array(Ee);for(v=0;v=Ee){ce(xe,_,y,!0);continue}let Pe;if(xe.key!=null)Pe=Y.get(xe.key);else for(V=N;V<=O;V++)if(Tt[V-N]===0&&st(xe,f[V])){Pe=V;break}Pe===void 0?ce(xe,_,y,!0):(Tt[Pe-N]=v+1,Pe>=_s?_s=Pe:ft=!0,T(xe,f[Pe],h,null,_,y,w,b,x),ue++)}const ms=ft?Wi(Tt):ht;for(V=ms.length-1,v=Ee-1;v>=0;v--){const xe=N+v,Pe=f[xe],vs=xe+1{const{el:y,type:w,transition:b,children:x,shapeFlag:v}=c;if(v&6){ee(c.component.subTree,f,h,m);return}if(v&128){c.suspense.move(f,h,m);return}if(v&64){w.move(c,f,h,ut);return}if(w===Ce){s(y,f,h);for(let E=0;Eb.enter(y),_);else{const{leave:E,delayLeave:O,afterLeave:L}=b,N=()=>s(y,f,h),Y=()=>{E(y,()=>{N(),L&&L()})};O?O(y,N,Y):Y()}else s(y,f,h)},ce=(c,f,h,m=!1,_=!1)=>{const{type:y,props:w,ref:b,children:x,dynamicChildren:v,shapeFlag:I,patchFlag:E,dirs:O}=c;if(b!=null&&Kn(b,null,h,c,!0),I&256){f.ctx.deactivate(c);return}const L=I&1&&O,N=!Xt(c);let Y;if(N&&(Y=w&&w.onVnodeBeforeUnmount)&&Le(Y,f,c),I&6)rr(c.component,h,m);else{if(I&128){c.suspense.unmount(h,m);return}L&&Qe(c,null,f,"beforeUnmount"),I&64?c.type.remove(c,f,h,_,ut,m):v&&(y!==Ce||E>0&&E&64)?Be(v,f,h,!1,!0):(y===Ce&&E&384||!_&&I&16)&&Be(x,f,h),m&&ke(c)}(N&&(Y=w&&w.onVnodeUnmounted)||L)&&ve(()=>{Y&&Le(Y,f,c),L&&Qe(c,null,f,"unmounted")},h)},ke=c=>{const{type:f,el:h,anchor:m,transition:_}=c;if(f===Ce){ct(h,m);return}if(f===En){F(c);return}const y=()=>{o(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:w,delayLeave:b}=_,x=()=>w(h,y);b?b(c.el,y,x):x()}else y()},ct=(c,f)=>{let h;for(;c!==f;)h=p(c),o(c),c=h;o(f)},rr=(c,f,h)=>{const{bum:m,scope:_,update:y,subTree:w,um:b}=c;m&&xn(m),_.stop(),y&&(y.active=!1,ce(w,c,f,h)),b&&ve(b,f),ve(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Be=(c,f,h,m=!1,_=!1,y=0)=>{for(let w=y;wc.shapeFlag&6?jt(c.component.subTree):c.shapeFlag&128?c.suspense.next():p(c.anchor||c.el),gs=(c,f,h)=>{c==null?f._vnode&&ce(f._vnode,null,null,!0):T(f._vnode||null,c,f,null,null,null,h),Os(),Po(),f._vnode=c},ut={p:T,um:ce,m:ee,r:ke,mt:ge,mc:M,pc:W,pbc:D,n:jt,o:e};let vn,bn;return t&&([vn,bn]=t(ut)),{render:gs,hydrate:vn,createApp:Si(gs,vn)}}function Ge({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function fs(e,t,n=!1){const s=e.children,o=t.children;if(P(s)&&P(o))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const Vi=e=>e.__isTeleport,Ft=e=>e&&(e.disabled||e.disabled===""),Ds=e=>typeof SVGElement<"u"&&e instanceof SVGElement,kn=(e,t)=>{const n=e&&e.to;return re(n)?t?t(n):null:n},qi={__isTeleport:!0,process(e,t,n,s,o,r,i,l,u,a){const{mc:d,pc:g,pbc:p,o:{insert:C,querySelector:$,createText:T,createComment:j}}=a,k=Ft(t.props);let{shapeFlag:q,children:U,dynamicChildren:F}=t;if(e==null){const J=t.el=T(""),ie=t.anchor=T("");C(J,n,s),C(ie,n,s);const Q=t.target=kn(t.props,$),M=t.targetAnchor=T("");Q&&(C(M,Q),i=i||Ds(Q));const K=(D,se)=>{q&16&&d(U,D,se,o,r,i,l,u)};k?K(n,ie):Q&&K(Q,M)}else{t.el=e.el;const J=t.anchor=e.anchor,ie=t.target=e.target,Q=t.targetAnchor=e.targetAnchor,M=Ft(e.props),K=M?n:ie,D=M?J:Q;if(i=i||Ds(ie),F?(p(e.dynamicChildren,F,K,o,r,i,l),fs(e,t,!0)):u||g(e,t,K,D,o,r,i,l,!1),k)M||qt(t,n,J,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const se=t.target=kn(t.props,$);se&&qt(t,se,null,a,0)}else M&&qt(t,ie,Q,a,1)}Go(t)},remove(e,t,n,s,{um:o,o:{remove:r}},i){const{shapeFlag:l,children:u,anchor:a,targetAnchor:d,target:g,props:p}=e;if(g&&r(d),(i||!Ft(p))&&(r(a),l&16))for(let C=0;C0?$e||ht:null,Xi(),Ht>0&&$e&&$e.push(e),e}function be(e,t,n,s,o,r){return er(X(e,t,n,s,o,r,!0))}function Qt(e,t,n,s,o){return er(ne(e,t,n,s,o,!0))}function Un(e){return e?e.__v_isVNode===!0:!1}function st(e,t){return e.type===t.type&&e.key===t.key}const mn="__vInternal",tr=({key:e})=>e??null,Gt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||pe(e)||R(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function X(e,t=null,n=null,s=0,o=null,r=e===Ce?0:1,i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tr(t),ref:t&&Gt(t),scopeId:No,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Oe};return l?(as(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=re(n)?8:16),Ht>0&&!i&&$e&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&$e.push(u),u}const ne=Zi;function Zi(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Ii)&&(e=Me),Un(e)){const l=Xe(e,t,!0);return n&&as(l,n),Ht>0&&!r&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag|=-2,l}if(ul(e)&&(e=e.__vccOpts),t){t=Qi(t);let{class:l,style:u}=t;l&&!re(l)&&(t.class=Zn(l)),Z(u)&&(Eo(u)&&!P(u)&&(u=fe({},u)),t.style=Rt(u))}const i=re(e)?1:di(e)?128:Vi(e)?64:Z(e)?4:R(e)?2:0;return X(e,t,n,s,o,i,r,!0)}function Qi(e){return e?Eo(e)||mn in e?fe({},e):e:null}function Xe(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,l=t?el(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&tr(l),ref:t&&t.ref?n&&o?P(o)?o.concat(Gt(t)):[o,Gt(t)]:Gt(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!==Ce?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Xe(e.ssContent),ssFallback:e.ssFallback&&Xe(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Gi(e=" ",t=0){return ne(_n,null,e,t)}function Yt(e="",t=!1){return t?(ae(),Qt(Me,null,e)):ne(Me,null,e)}function Re(e){return e==null||typeof e=="boolean"?ne(Me):P(e)?ne(Ce,null,e.slice()):typeof e=="object"?Ve(e):ne(_n,null,String(e))}function Ve(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Xe(e)}function as(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(P(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),as(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(mn in t)?t._ctx=Oe:o===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),s&64?(n=16,t=[Gi(t)]):n=8);e.children=t,e.shapeFlag|=n}function el(...e){const t={};for(let n=0;nde||Oe;let ds,at,Ks="__VUE_INSTANCE_SETTERS__";(at=$n()[Ks])||(at=$n()[Ks]=[]),at.push(e=>de=e),ds=e=>{at.length>1?at.forEach(t=>t(e)):at[0](e)};const bt=e=>{ds(e),e.scope.on()},it=()=>{de&&de.scope.off(),ds(null)};function nr(e){return e.vnode.shapeFlag&4}let Dt=!1;function rl(e,t=!1){Dt=t;const{props:n,children:s}=e.vnode,o=nr(e);Hi(e,n,o,t),Ki(e,s);const r=o?il(e,t):void 0;return Dt=!1,r}function il(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ao(new Proxy(e.ctx,$i));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?cl(e):null;bt(e),yt();const r=Ye(s,e,0,[e.props,o]);if(xt(),it(),lo(r)){if(r.then(it,it),t)return r.then(i=>{ks(e,i,t)}).catch(i=>{an(i,e,0)});e.asyncDep=r}else ks(e,r,t)}else sr(e,t)}function ks(e,t,n){R(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=$o(t)),sr(e,n)}let Us;function sr(e,t,n){const s=e.type;if(!e.render){if(!t&&Us&&!s.render){const o=s.template||cs(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:u}=s,a=fe(fe({isCustomElement:r,delimiters:l},i),u);s.render=Us(o,a)}}e.render=s.render||Fe}bt(e),yt(),Fi(e),xt(),it()}function ll(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return ll(e)},slots:e.slots,emit:e.emit,expose:t}}function hs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy($o(Ao(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $t)return $t[n](e)},has(t,n){return n in t||n in $t}}))}function ul(e){return R(e)&&"__vccOpts"in e}const zn=(e,t)=>ei(e,t,Dt);function fl(e,t,n){const s=arguments.length;return s===2?Z(t)&&!P(t)?Un(t)?ne(e,null,[t]):ne(e,t):ne(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Un(n)&&(n=[n]),ne(e,t,n))}const al=Symbol.for("v-scx"),dl=()=>Zt(al),hl="3.3.4",pl="http://www.w3.org/2000/svg",ot=typeof document<"u"?document:null,zs=ot&&ot.createElement("template"),gl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t?ot.createElementNS(pl,e):ot.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{zs.innerHTML=s?`${e}`:e;const l=zs.content;if(s){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function _l(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ml(e,t,n){const s=e.style,o=re(n);if(n&&!o){if(t&&!re(t))for(const r in t)n[r]==null&&Wn(s,r,"");for(const r in n)Wn(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const Ws=/\s*!important$/;function Wn(e,t,n){if(P(n))n.forEach(s=>Wn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=vl(e,t);Ws.test(n)?e.setProperty(lt(s),n.replace(Ws,""),"important"):e[s]=n}}const Vs=["Webkit","Moz","ms"],An={};function vl(e,t){const n=An[t];if(n)return n;let s=mt(t);if(s!=="filter"&&s in e)return An[t]=s;s=fo(s);for(let o=0;oIn||(El.then(()=>In=0),In=Date.now());function Il(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Te(Ol(s,n.value),t,5,[s])};return n.value=e,n.attached=Al(),n}function Ol(e,t){if(P(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const Js=/^on[a-z]/,$l=(e,t,n,s,o=!1,r,i,l,u)=>{t==="class"?_l(e,s,o):t==="style"?ml(e,n,s):rn(t)?qn(t)||Cl(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Fl(e,t,s,o))?yl(e,t,s,r,i,l,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),bl(e,t,s,o))};function Fl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Js.test(t)&&R(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Js.test(t)&&re(n)?!1:t in e}const ze="transition",Et="animation",ps=(e,{slots:t})=>fl(mi,Ml(e),t);ps.displayName="Transition";const or={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};ps.props=fe({},Do,or);const et=(e,t=[])=>{P(e)?e.forEach(n=>n(...t)):e&&e(...t)},Xs=e=>e?P(e)?e.some(t=>t.length>1):e.length>1:!1;function Ml(e){const t={};for(const A in e)A in or||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=r,appearActiveClass:a=i,appearToClass:d=l,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:C=`${n}-leave-to`}=e,$=Pl(o),T=$&&$[0],j=$&&$[1],{onBeforeEnter:k,onEnter:q,onEnterCancelled:U,onLeave:F,onLeaveCancelled:J,onBeforeAppear:ie=k,onAppear:Q=q,onAppearCancelled:M=U}=t,K=(A,z,ge)=>{tt(A,z?d:l),tt(A,z?a:i),ge&&ge()},D=(A,z)=>{A._isLeaving=!1,tt(A,g),tt(A,C),tt(A,p),z&&z()},se=A=>(z,ge)=>{const Ze=A?Q:q,le=()=>K(z,A,ge);et(Ze,[z,le]),Zs(()=>{tt(z,A?u:r),We(z,A?d:l),Xs(Ze)||Qs(z,s,T,le)})};return fe(t,{onBeforeEnter(A){et(k,[A]),We(A,r),We(A,i)},onBeforeAppear(A){et(ie,[A]),We(A,u),We(A,a)},onEnter:se(!1),onAppear:se(!0),onLeave(A,z){A._isLeaving=!0;const ge=()=>D(A,z);We(A,g),Nl(),We(A,p),Zs(()=>{A._isLeaving&&(tt(A,g),We(A,C),Xs(F)||Qs(A,s,j,ge))}),et(F,[A,ge])},onEnterCancelled(A){K(A,!1),et(U,[A])},onAppearCancelled(A){K(A,!0),et(M,[A])},onLeaveCancelled(A){D(A),et(J,[A])}})}function Pl(e){if(e==null)return null;if(Z(e))return[On(e.enter),On(e.leave)];{const t=On(e);return[t,t]}}function On(e){return hr(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function tt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Zs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ll=0;function Qs(e,t,n,s){const o=e._endId=++Ll,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:l,propCount:u}=Rl(e,t);if(!i)return s();const a=i+"end";let d=0;const g=()=>{e.removeEventListener(a,p),r()},p=C=>{C.target===e&&++d>=u&&g()};setTimeout(()=>{d(n[$]||"").split(", "),o=s(`${ze}Delay`),r=s(`${ze}Duration`),i=Gs(o,r),l=s(`${Et}Delay`),u=s(`${Et}Duration`),a=Gs(l,u);let d=null,g=0,p=0;t===ze?i>0&&(d=ze,g=i,p=r.length):t===Et?a>0&&(d=Et,g=a,p=u.length):(g=Math.max(i,a),d=g>0?i>a?ze:Et:null,p=d?d===ze?r.length:u.length:0);const C=d===ze&&/\b(transform|all)(,|$)/.test(s(`${ze}Property`).toString());return{type:d,timeout:g,propCount:p,hasTransform:C}}function Gs(e,t){for(;e.lengtheo(n)+eo(e[s])))}function eo(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Nl(){return document.body.offsetHeight}const Sl=["ctrl","shift","alt","meta"],Bl={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Sl.some(n=>e[`${n}Key`]&&!t.includes(n))},Hl=(e,t)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=lt(n.key);if(t.some(o=>o===s||Dl[o]===s))return e(n)},Kl=fe({patchProp:$l},gl);let to;function kl(){return to||(to=Ui(Kl))}const Ul=(...e)=>{const t=kl().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=zl(s);if(!o)return;const r=t._component;!R(r)&&!r.render&&!r.template&&(r.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 zl(e){return re(e)?document.querySelector(e):e}const no="/assets/a-db0338bd.jpg",Wl="/assets/logo-03d6d6da.png";function wt(e){return Object.prototype.toString.call(e).replace(new RegExp("(^[[a-z]+ )([A-Za-z]+)(])","g"),"$2").toLowerCase()}const Ct=Object.create(null);function Vl(e){return wt(e)==="object"}function ql(e){return wt(e)==="function"}function Yl(e){return wt(e)==="array"}function Jl(e){return wt(e)==="symbol"}function Xl(e){return[0,void 0,null].includes(e)}Ct.isObject=Vl;Ct.isFunction=ql;Ct.isArray=Yl;Ct.isSymbol=Jl;Ct.isFalse=Xl;wt.prototype=Ct;const Ke=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Zl={},Ql={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},Gl=X("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),ec=[Gl];function tc(e,t){return ae(),be("svg",Ql,ec)}const nc=Ke(Zl,[["render",tc]]);const sc={},oc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},rc=X("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),ic=[rc];function lc(e,t){return ae(),be("svg",oc,ic)}const so=Ke(sc,[["render",lc]]),cc={class:"preview-switch"},uc=hn({__name:"switch",emits:["prev","next"],setup(e,{emit:t}){const n=()=>{t("prev")},s=()=>{t("next")};return(o,r)=>(ae(),be("div",cc,[X("div",{class:"preview-switch-item preview-switch-item-left",onClick:n},[ne(so,{class:"preview-operate-icon preview-switch-icon-left"})]),X("div",{class:"preview-switch-item",onClick:s},[ne(so,{class:"preview-switch-icon preview-switch-icon"})])]))}});const fc=Ke(uc,[["__scopeId","data-v-697a4eee"]]);const ac={},dc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},hc=X("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zM352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64z"},null,-1),pc=[hc];function gc(e,t){return ae(),be("svg",dc,pc)}const _c=Ke(ac,[["render",gc]]);const mc={},vc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},bc=X("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704zm-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96z"},null,-1),yc=[bc];function xc(e,t){return ae(),be("svg",vc,yc)}const wc=Ke(mc,[["render",xc]]);const Cc={},Tc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},Ec=X("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"},null,-1),Ac=[Ec];function Ic(e,t){return ae(),be("svg",Tc,Ac)}const Oc=Ke(Cc,[["render",Ic]]);const $c={},Fc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},Mc=X("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"},null,-1),Pc=[Mc];function Lc(e,t){return ae(),be("svg",Fc,Pc)}const Rc=Ke($c,[["render",Lc]]);const Nc={},Sc={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",class:"svg","aria-role":"button"},Bc=X("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64v450.304z"},null,-1),Hc=[Bc];function Dc(e,t){return ae(),be("svg",Sc,Hc)}const jc=Ke(Nc,[["render",Dc]]),Kc={class:"toolbar"},kc={role:"button",title:"缩放倍数",tabindex:"-1",class:"toolbar-item toolbar-scale"},Uc={role:"button",title:"图片位置",class:"toolbar-item toolbar-position"},zc=hn({__name:"toolbar",props:{scale:{default:1},index:{default:"1/1"}},emits:["click"],setup(e,{emit:t}){const n=e,s=o=>{t("click",o)};return(o,r)=>(ae(),be("div",Kc,[ne(_c,{role:"button",title:"缩小",class:"toolbar-item",onClick:r[0]||(r[0]=i=>s("zoom-out"))}),ne(wc,{role:"button",title:"放大",class:"toolbar-item",onClick:r[1]||(r[1]=i=>s("zoom-in"))}),X("div",kc,ys(n.scale),1),X("div",Uc,ys(n.index),1),ne(Oc,{role:"button",title:"左旋转",class:"toolbar-item",onClick:r[2]||(r[2]=i=>s("contraRotate"))}),ne(Rc,{role:"button",title:"右旋转",class:"toolbar-item",onClick:r[3]||(r[3]=i=>s("clockwiseRotation"))}),ne(jc,{role:"button",title:"下载/保存",class:"toolbar-item",onClick:r[4]||(r[4]=i=>s("download"))})]))}});const Wc=Ke(zc,[["__scopeId","data-v-d4e09f93"]]);function Vc(e){return typeof e=="function"?e():oe(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const oo=()=>{};function qc(e,t){function n(...s){return new Promise((o,r)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(o).catch(r)})}return n}function Yc(e,t=!0,n=!0,s=!1){let o=0,r,i=!0,l=oo,u;const a=()=>{r&&(clearTimeout(r),r=void 0,l(),l=oo)};return g=>{const p=Vc(e),C=Date.now()-o,$=()=>u=g();return a(),p<=0?(o=Date.now(),$()):(C>p&&(n||!i)?(o=Date.now(),$()):t&&(u=new Promise((T,j)=>{l=s?j:T,r=setTimeout(()=>{o=Date.now(),i=!0,T($()),a()},Math.max(0,p-C))})),!n&&!r&&(r=setTimeout(()=>i=!0,p)),i=!1,u)}}function ro(e,t=200,n=!1,s=!0,o=!1){return qc(Yc(t,n,s,o),e)}const Jc=(e,t)=>{const n=document.createElement("a");n.download=t,n.href=e,n.style.display="none",document.body.appendChild(n),n.click();const s=setTimeout(()=>{document.body.removeChild(n),clearTimeout(s)},10)},Xc=()=>{const e=document.createElement("div"),t=document.createElement("div");e.appendChild(t),e.style.width="100px",e.style.height="50px",e.style.overflow="scroll",e.style.marginLeft="-100000px",document.body.appendChild(e);const n=t.offsetWidth,s=e.offsetWidth,o=setTimeout(()=>{document.body.removeChild(e),clearTimeout(o)},10);return s-n},Zc=["onKeyup"],Qc=["src"],Pt=hn({name:"FoxPreviewImage",__name:"index",props:{modelValue:{type:Boolean,default:!1},src:{default:""},zIndex:{default:9e3},initialIndex:{default:0},appendTo:{default:"body"},showToolbar:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e;let s="";Uo(()=>{s=document.body.style.cssText});const o=me(null);let r=me(!1),i=me(0),l=n.src&&n.src.length?me(n.initialIndex):me(0),u=me(0),a=me(1),d=me(0),g=me(0),p=me(0),C=me(0),$=me([]),T=fn({x:0,y:0});const j=()=>{r.value=n.modelValue},k=()=>{r.value=!1,t("update:modelValue",r.value)},q=S=>{if(i.value!==1)return;const{x:ee,y:ce}=S,ke=ee-T.x,ct=ce-T.y;p.value=ke+p.value-d.value,C.value=ct+C.value-g.value,d.value=ke,g.value=ct},U=()=>{a.value>.5&&(a.value-=.1)},F=()=>{a.value<2&&(a.value+=.1)},J=S=>{requestAnimationFrame(()=>{(S.wheelDelta||S.detail*-40)>0?F():U()})},ie=ro(q,10),Q=ro(J,10),M=()=>{i.value=0,d.value=0,g.value=0},K=S=>{i.value=1,T={x:S.x,y:S.y}},D=()=>{u.value+=90},se=()=>{u.value-=90},A=()=>{const S=$.value[l.value],ee=S.split("/"),ce=ee[ee.length-1];Jc(S,ce)},z=()=>{u.value=0,a.value=1,p.value=0,C.value=0,T.x=0,T.y=0,d.value=0,g.value=0},ge=()=>{const S=$.value.length||0;l.value>0?l.value--:l.value=S-1,z()},Ze=()=>{const S=$.value.length||0;l.valueparseFloat(a.value.toFixed(1))),G=zn(()=>`${l.value+1}/${$.value.length}`),W=S=>{switch(S){case"zoom-out":U();break;case"zoom-in":F();break;case"contraRotate":se();break;case"clockwiseRotation":D();break;case"download":A();break}};ls(()=>{j()});const Se=S=>S.scrollHeight>window.innerHeight;return Ot(()=>n.modelValue,S=>{r.value=S,S?(o.value!==null&&o.value.focus(),Se(document.body)&&(document.body.style.paddingRight=Xc()+"px",document.body.classList.add("fox-lock-window"))):(document.body.classList.remove("fox-lock-window"),s?document.body.style.cssText=s:document.body.removeAttribute("style"))}),Ot(()=>n.src,S=>{const ee=wt(S);ee==="string"?(l.value=0,z(),$.value=[S]):ee==="array"&&(n.initialIndex>=0&&n.initialIndex(ae(),Qt(Ji,{to:n.appendTo},[ne(ps,null,{default:So(()=>[oe(r)?(ae(),be("div",{key:0,role:"dialog",ref_key:"refEl",ref:o,class:"fox-preview",style:Rt({"z-index":n.zIndex}),tabindex:"1",onKeyup:jl(Hl(k,["exact"]),["esc"])},[X("div",{class:"fox-preview-canvas",onMousewheel:ee[1]||(ee[1]=(...ce)=>oe(Q)&&oe(Q)(...ce)),"on:DOMMouseScroll":ee[2]||(ee[2]=(...ce)=>oe(Q)&&oe(Q)(...ce))},[(ae(!0),be(Ce,null,Oi(oe($),(ce,ke)=>(ae(),be(Ce,{key:ke},[oe(l)===ke?(ae(),be("div",{key:0,onMousemove:ee[0]||(ee[0]=(...ct)=>oe(ie)&&oe(ie)(...ct)),onMouseup:M,onMousedown:K,style:Rt([{transform:`rotate(${oe(u)}deg) scale(${oe(a)}) translate(${oe(p)}px,${oe(C)}px)`},{display:"inline-block"}])},[X("img",{class:"fox-preview-image",src:ce,alt:"被拖拽的图片",draggable:"false"},null,8,Qc)],36)):Yt("",!0)],64))),128))],32),X("div",{class:"fox-preview-close",onClick:k},[ne(nc)]),oe($)&&oe($).length>1?(ae(),Qt(fc,{key:0,onPrev:ge,onNext:Ze})):Yt("",!0),S.showToolbar?(ae(),Qt(Wc,{key:1,onClick:W,scale:le.value,index:G.value},null,8,["scale","index"])):Yt("",!0)],44,Zc)):Yt("",!0)]),_:1})],8,["to"]))}});Pt.install=e=>{e.component(Pt.name,Pt)};const Gc={class:"preview"},eu={class:"preview-item"},tu=X("h2",null,"基础用法",-1),nu={class:"preview-item-ctx"},su={class:"preview-item"},ou=X("h2",null,"基础用法-只有一张图片时不显示左右的切换按钮",-1),ru={class:"preview-item-ctx"},iu=hn({__name:"App",setup(e){const t=me(!1),n=me(!1),s=()=>{t.value=!0},o=()=>{n.value=!0};return(r,i)=>(ae(),be("div",null,[X("div",Gc,[X("div",eu,[tu,X("div",nu,[X("button",{class:"button",onClick:s},"点击查看预览界面"),ne(oe(Pt),{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=l=>t.value=l),src:[oe(no),oe(Wl)],"initial-index":1},null,8,["modelValue","src"])])]),X("div",su,[ou,X("div",ru,[X("button",{class:"button",onClick:o},"点击查看预览界面-没有切换按钮"),ne(oe(Pt),{modelValue:n.value,"onUpdate:modelValue":i[1]||(i[1]=l=>n.value=l),src:[oe(no)]},null,8,["modelValue","src"])])])])]))}});const lu=Ul(iu);lu.mount("#app"); diff --git a/assets/logo-03d6d6da.png b/assets/logo-03d6d6da.png new file mode 100644 index 0000000..f3d2503 Binary files /dev/null and b/assets/logo-03d6d6da.png differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..7383e27 --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + Vite App + + + + +
+ + +