@qian-kun/qrcode-generator 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-5Z2K6cLM.css +1 -0
- package/dist/assets/index-DV5JS2i8.js +24 -0
- package/dist/icon.png +0 -0
- package/dist/index.html +17 -0
- package/icon.png +0 -0
- package/package.json +45 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app[data-v-0448b6bc]{--bg-900: #0b1120;--bg-800: #0f172a;--surface: #1e293b;--surface-2: #182238;--border: rgba(51, 65, 85, .5);--border-strong: #334155;--text-1: #e2e8f0;--text-2: #94a3b8;--text-3: #64748b;--text-4: #475569;--brand: #06b6d4;--brand-600: #0891b2;--brand-glow: rgba(6, 182, 212, .25);--success: #10b981;--danger: #ef4444;width:100%;height:100%;display:flex;flex-direction:column;background:var(--bg-900);color:var(--text-1);font-family:DM Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;padding:20px;gap:16px;overflow-y:auto;overflow-x:hidden}.app[data-v-0448b6bc]::-webkit-scrollbar{width:8px}.app[data-v-0448b6bc]::-webkit-scrollbar-track{background:transparent}.app[data-v-0448b6bc]::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:4px}.app[data-v-0448b6bc]::-webkit-scrollbar-thumb:hover{background:var(--text-4)}.content[data-v-0448b6bc]{flex:none;display:flex;flex-direction:column;gap:16px;max-width:640px;width:100%;margin:0 auto}.card[data-v-0448b6bc]{background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 4px 20px #00000040;overflow:hidden}.card-head[data-v-0448b6bc]{padding:16px 18px 12px}.card-title[data-v-0448b6bc]{font-size:14px;font-weight:600;color:#fff;margin:0 0 4px}.card-desc[data-v-0448b6bc]{font-size:12px;color:var(--text-3);margin:0}.input-wrap[data-v-0448b6bc]{margin:0 18px}.input-area[data-v-0448b6bc]{display:block;width:100%;padding:12px 14px;background:var(--bg-800);border:1px solid var(--border-strong);border-radius:12px;color:var(--text-1);font-family:JetBrains Mono,Cascadia Code,Consolas,monospace;font-size:13px;line-height:1.6;resize:vertical;min-height:90px;transition:border-color .2s;outline:none}.input-area[data-v-0448b6bc]::placeholder{color:var(--text-4)}.input-area[data-v-0448b6bc]:focus{border-color:var(--brand);box-shadow:0 0 0 3px #06b6d41a}.input-footer[data-v-0448b6bc]{display:flex;align-items:center;justify-content:space-between;padding:6px 2px 10px}.input-hint[data-v-0448b6bc]{font-size:11px;color:var(--text-4)}.options-toggle-wrap[data-v-0448b6bc]{padding:0 18px 14px}.options-panel[data-v-0448b6bc]{padding:14px 18px 18px;display:flex;flex-direction:column;gap:14px;border-top:1px solid var(--border);margin-top:0;animation:optionSlide-0448b6bc .25s cubic-bezier(.16,1,.3,1)}@keyframes optionSlide-0448b6bc{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.option-group[data-v-0448b6bc]{display:flex;flex-direction:column;gap:6px}.option-label[data-v-0448b6bc]{font-size:12px;font-weight:500;color:var(--text-2)}.chip-row[data-v-0448b6bc]{display:flex;flex-wrap:wrap;gap:6px}.chip[data-v-0448b6bc]{display:inline-flex;align-items:center;padding:5px 10px;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:8px;color:var(--text-2);font-size:12px;font-weight:500;cursor:pointer;transition:all .15s}.chip[data-v-0448b6bc]:hover{border-color:var(--brand);color:var(--text-1)}.chip-active[data-v-0448b6bc]{background:#06b6d41f;border-color:#06b6d459;color:var(--brand)}.ecl-list[data-v-0448b6bc]{display:flex;flex-direction:column;gap:4px}.ecl-item[data-v-0448b6bc]{display:flex;flex-direction:column;gap:2px;padding:8px 10px;background:var(--surface-2);border:1px solid var(--border-strong);border-radius:10px;color:var(--text-2);cursor:pointer;transition:all .15s;text-align:left}.ecl-item[data-v-0448b6bc]:hover{border-color:var(--brand)}.ecl-item-active[data-v-0448b6bc]{background:#06b6d41a;border-color:#06b6d459;color:var(--text-1)}.ecl-label[data-v-0448b6bc]{font-size:12px;font-weight:600}.ecl-desc[data-v-0448b6bc]{font-size:11px;color:var(--text-4)}.color-row[data-v-0448b6bc]{display:flex;gap:14px}.color-field[data-v-0448b6bc]{flex:1;display:flex;flex-direction:column;gap:4px}.color-label[data-v-0448b6bc]{font-size:11px;font-weight:500;color:var(--text-4)}.color-inner[data-v-0448b6bc]{display:flex;align-items:center;gap:8px}.color-pick[data-v-0448b6bc]{width:32px;height:32px;border:2px solid var(--border-strong);border-radius:8px;cursor:pointer;background:none;padding:2px}.color-pick[data-v-0448b6bc]::-webkit-color-swatch-wrapper{padding:0}.color-pick[data-v-0448b6bc]::-webkit-color-swatch{border:none;border-radius:5px}.color-hex[data-v-0448b6bc]{font-size:12px;font-family:JetBrains Mono,Cascadia Code,Consolas,monospace;color:var(--text-2)}.card-preview[data-v-0448b6bc]{padding-bottom:18px}.preview-wrap[data-v-0448b6bc]{padding:0 18px}.preview-stage[data-v-0448b6bc]{display:flex;align-items:center;justify-content:center;min-height:280px;background:#0f172acc;border:1px solid var(--border);border-radius:12px;padding:20px;position:relative}.preview-stage-active[data-v-0448b6bc]{background:var(--bg-800)}.qr-canvas[data-v-0448b6bc]{display:none;max-width:100%;max-height:260px;border-radius:6px}.qr-canvas.qr-visible[data-v-0448b6bc]{display:block}.preview-placeholder[data-v-0448b6bc]{display:flex;flex-direction:column;align-items:center;gap:10px;pointer-events:none}.placeholder-icon[data-v-0448b6bc]{width:48px;height:48px;color:var(--text-4)}.placeholder-text[data-v-0448b6bc]{font-size:13px;color:var(--text-4)}.preview-actions[data-v-0448b6bc]{display:flex;gap:10px;margin-top:12px;padding:0 18px}.ic[data-v-0448b6bc]{width:14px;height:14px;flex-shrink:0}.ic-sm[data-v-0448b6bc]{width:12px;height:12px;flex-shrink:0}.btn-primary[data-v-0448b6bc]{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 14px;background:var(--brand);color:#fff;border:none;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer;transition:background .2s;box-shadow:0 0 20px var(--brand-glow)}.btn-primary[data-v-0448b6bc]:hover:not(:disabled){background:#22d3ee}.btn-primary[data-v-0448b6bc]:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.btn-ghost[data-v-0448b6bc]{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 14px;background:var(--surface-2);color:var(--text-1);border:1px solid var(--border-strong);border-radius:10px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.btn-ghost[data-v-0448b6bc]:hover:not(:disabled){background:#243049}.btn-ghost[data-v-0448b6bc]:disabled{opacity:.4;cursor:not-allowed}.btn-ghost-sm[data-v-0448b6bc]{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;background:var(--surface-2);color:var(--text-2);border:1px solid var(--border-strong);border-radius:7px;font-size:11px;font-weight:500;cursor:pointer;transition:all .15s}.btn-ghost-sm[data-v-0448b6bc]:hover{background:#243049;color:var(--text-1)}.btn-block[data-v-0448b6bc]{width:100%}.toast-wrap[data-v-0448b6bc]{position:fixed;bottom:24px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:9999;pointer-events:none}.toast[data-v-0448b6bc]{display:flex;align-items:center;gap:10px;padding:11px 18px;background:var(--surface);border:1px solid var(--border-strong);border-radius:12px;box-shadow:0 10px 40px #00000080;font-size:13px;font-weight:500;color:var(--text-1);animation:toast-in-0448b6bc .3s cubic-bezier(.4,0,.2,1);pointer-events:auto}.toast.leaving[data-v-0448b6bc]{animation:toast-out-0448b6bc .2s cubic-bezier(.4,0,.2,1) forwards}.toast-success[data-v-0448b6bc]{border-color:#10b9814d}.toast-error[data-v-0448b6bc]{border-color:#ef44444d}.toast-icon[data-v-0448b6bc]{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:11px;font-weight:700;color:#fff}.toast-success .toast-icon[data-v-0448b6bc]{background:var(--success)}.toast-error .toast-icon[data-v-0448b6bc]{background:var(--danger)}.toast-info .toast-icon[data-v-0448b6bc]{background:var(--brand)}@keyframes toast-in-0448b6bc{0%{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes toast-out-0448b6bc{0%{transform:translateY(0);opacity:1}to{transform:translateY(-12px);opacity:0}}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/**
|
|
2
|
+
* @vue/shared v3.5.40
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function wr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const te={},St=[],qe=()=>{},Gs=()=>!1,mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bn=e=>e.startsWith("onUpdate:"),ue=Object.assign,Cr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lo=Object.prototype.hasOwnProperty,G=(e,t)=>lo.call(e,t),$=Array.isArray,Tt=e=>Gt(e)==="[object Map]",Qs=e=>Gt(e)==="[object Set]",Kr=e=>Gt(e)==="[object Date]",W=e=>typeof e=="function",se=e=>typeof e=="string",Ke=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Xs=e=>(Z(e)||W(e))&&W(e.then)&&W(e.catch),Zs=Object.prototype.toString,Gt=e=>Zs.call(e),co=e=>Gt(e).slice(8,-1),ei=e=>Gt(e)==="[object Object]",Er=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=wr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_n=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},uo=/-\w/g,xe=_n(e=>e.replace(uo,t=>t.slice(1).toUpperCase())),fo=/\B([A-Z])/g,mt=_n(e=>e.replace(fo,"-$1").toLowerCase()),ti=_n(e=>e.charAt(0).toUpperCase()+e.slice(1)),xn=_n(e=>e?`on${ti(e)}`:""),Ve=(e,t)=>!Object.is(e,t),sn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ni=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let $r;const yn=()=>$r||($r=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Tr(e){if($(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=se(r)?po(r):Tr(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(se(e)||Z(e))return e}const ao=/;(?![^(]*\))/g,ho=/:([^]+)/,go=/\/\*[^]*?\*\//g;function po(e){const t={};return e.replace(go,"").split(ao).forEach(n=>{if(n){const r=n.split(ho);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qe(e){let t="";if(se(e))t=e;else if($(e))for(let n=0;n<e.length;n++){const r=Qe(e[n]);r&&(t+=r+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const mo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bo=wr(mo);function ri(e){return!!e||e===""}function _o(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ar(e[r],t[r]);return n}function Ar(e,t){if(e===t)return!0;let n=Kr(e),r=Kr(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ke(e),r=Ke(t),n||r)return e===t;if(n=$(e),r=$(t),n||r)return n&&r?_o(e,t):!1;if(n=Z(e),r=Z(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Ar(e[o],t[o]))return!1}}return String(e)===String(t)}const si=e=>!!(e&&e.__v_isRef===!0),Ae=e=>se(e)?e:e==null?"":$(e)||Z(e)&&(e.toString===Zs||!W(e.toString))?si(e)?Ae(e.value):JSON.stringify(e,ii,2):String(e),ii=(e,t)=>si(t)?ii(e,t.value):Tt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Rn(r,i)+" =>"]=s,n),{})}:Qs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Rn(n))}:Ke(t)?Rn(t):Z(t)&&!$(t)&&!ei(t)?String(t):t,Rn=(e,t="")=>{var n;return Ke(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.40
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let ce;class yo{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&&ce&&(ce.active?(this.parent=ce,this.index=(ce.scopes||(ce.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=ce;try{return ce=this,t()}finally{ce=n}}}on(){++this._on===1&&(this.prevScope=ce,ce=this)}off(){if(this._on>0&&--this._on===0){if(ce===this)ce=this.prevScope;else{let t=ce;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 n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const s=this.scopes.slice();for(n=0,r=s.length;n<r;n++)s[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function vo(){return ce}let ne;const Pn=new WeakSet;class oi{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,ce&&(ce.active?ce.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Pn.has(this)&&(Pn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ci(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Wr(this),ui(this);const t=ne,n=Re;ne=this,Re=!0;try{return this.fn()}finally{fi(this),ne=t,Re=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Pr(t);this.deps=this.depsTail=void 0,Wr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Pn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){fr(this)&&this.run()}get dirty(){return fr(this)}}let li=0,Ht,jt;function ci(e,t=!1){if(e.flags|=8,t){e.next=jt,jt=e;return}e.next=Ht,Ht=e}function xr(){li++}function Rr(){if(--li>0)return;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ht;){let t=Ht;for(Ht=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function ui(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function fi(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Pr(r),wo(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function fr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ai(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ai(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$t)||(e.globalVersion=$t,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fr(e))))return;e.flags|=2;const t=e.dep,n=ne,r=Re;ne=e,Re=!0;try{ui(e);const s=e.fn(e._value);(t.version===0||Ve(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ne=n,Re=r,fi(e),e.flags&=-3}}function Pr(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Pr(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Re=!0;const di=[];function tt(){di.push(Re),Re=!1}function nt(){const e=di.pop();Re=e===void 0?!0:e}function Wr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ne;ne=void 0;try{t()}finally{ne=n}}}let $t=0;class Co{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Mr{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(!ne||!Re||ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ne)n=this.activeLink=new Co(ne,this),ne.deps?(n.prevDep=ne.depsTail,ne.depsTail.nextDep=n,ne.depsTail=n):ne.deps=ne.depsTail=n,hi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ne.depsTail,n.nextDep=void 0,ne.depsTail.nextDep=n,ne.depsTail=n,ne.deps===n&&(ne.deps=r)}return n}trigger(t){this.version++,$t++,this.notify(t)}notify(t){xr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Rr()}}}function hi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)hi(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ar=new WeakMap,ht=Symbol(""),dr=Symbol(""),Wt=Symbol("");function fe(e,t,n){if(Re&&ne){let r=ar.get(e);r||ar.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Mr),s.map=r,s.key=n),s.track()}}function Ze(e,t,n,r,s,i){const o=ar.get(e);if(!o){$t++;return}const l=c=>{c&&c.trigger()};if(xr(),t==="clear")o.forEach(l);else{const c=$(e),a=c&&Er(n);if(c&&n==="length"){const f=Number(r);o.forEach((h,p)=>{(p==="length"||p===Wt||!Ke(p)&&p>=f)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),a&&l(o.get(Wt)),t){case"add":c?a&&l(o.get("length")):(l(o.get(ht)),Tt(e)&&l(o.get(dr)));break;case"delete":c||(l(o.get(ht)),Tt(e)&&l(o.get(dr)));break;case"set":Tt(e)&&l(o.get(ht));break}}Rr()}function vt(e){const t=Y(e);return t===e?t:(fe(t,"iterate",Wt),Se(e)?t:t.map(Pe))}function vn(e){return fe(e=Y(e),"iterate",Wt),e}function He(e,t){return rt(e)?Rt(gt(e)?Pe(t):t):Pe(t)}const Eo={__proto__:null,[Symbol.iterator](){return Mn(this,Symbol.iterator,e=>He(this,e))},concat(...e){return vt(this).concat(...e.map(t=>$(t)?vt(t):t))},entries(){return Mn(this,"entries",e=>(e[1]=He(this,e[1]),e))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,n=>n.map(r=>He(this,r)),arguments)},find(e,t){return Je(this,"find",e,t,n=>He(this,n),arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,n=>He(this,n),arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return In(this,"includes",e)},indexOf(...e){return In(this,"indexOf",e)},join(e){return vt(this).join(e)},lastIndexOf(...e){return In(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return Bt(this,"pop")},push(...e){return Bt(this,"push",e)},reduce(e,...t){return zr(this,"reduce",e,t)},reduceRight(e,...t){return zr(this,"reduceRight",e,t)},shift(){return Bt(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return Bt(this,"splice",e)},toReversed(){return vt(this).toReversed()},toSorted(e){return vt(this).toSorted(e)},toSpliced(...e){return vt(this).toSpliced(...e)},unshift(...e){return Bt(this,"unshift",e)},values(){return Mn(this,"values",e=>He(this,e))}};function Mn(e,t,n){const r=vn(e),s=r[t]();return r!==e&&!Se(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const So=Array.prototype;function Je(e,t,n,r,s,i){const o=vn(e),l=o!==e&&!Se(e),c=o[t];if(c!==So[t]){const h=c.apply(e,i);return l?Pe(h):h}let a=n;o!==e&&(l?a=function(h,p){return n.call(this,He(e,h),p,e)}:n.length>2&&(a=function(h,p){return n.call(this,h,p,e)}));const f=c.call(o,a,r);return l&&s?s(f):f}function zr(e,t,n,r){const s=vn(e),i=s!==e&&!Se(e);let o=n,l=!1;s!==e&&(i?(l=r.length===0,o=function(a,f,h){return l&&(l=!1,a=He(e,a)),n.call(this,a,He(e,f),h,e)}):n.length>3&&(o=function(a,f,h){return n.call(this,a,f,h,e)}));const c=s[t](o,...r);return l?He(e,c):c}function In(e,t,n){const r=Y(e);fe(r,"iterate",Wt);const s=r[t](...n);return(s===-1||s===!1)&&Or(n[0])?(n[0]=Y(n[0]),r[t](...n)):s}function Bt(e,t,n=[]){tt(),xr();const r=Y(e)[t].apply(e,n);return Rr(),nt(),r}const To=wr("__proto__,__v_isRef,__isVue"),gi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ke));function Ao(e){Ke(e)||(e=String(e));const t=Y(this);return fe(t,"has",e),t.hasOwnProperty(e)}class pi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Do:yi:i?_i:bi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=$(t);if(!s){let c;if(o&&(c=Eo[n]))return c;if(n==="hasOwnProperty")return Ao}const l=Reflect.get(t,n,ae(t)?t:r);if((Ke(n)?gi.has(n):To(n))||(s||fe(t,"get",n),i))return l;if(ae(l)){const c=o&&Er(n)?l:l.value;return s&&Z(c)?gr(c):c}return Z(l)?s?gr(l):Br(l):l}}class mi extends pi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];const o=$(t)&&Er(n);if(!this._isShallow){const a=rt(i);if(!Se(r)&&!rt(r)&&(i=Y(i),r=Y(r)),!o&&ae(i)&&!ae(r))return a||(i.value=r),!0}const l=o?Number(n)<t.length:G(t,n),c=Reflect.set(t,n,r,ae(t)?t:s);return t===Y(s)&&c&&(l?Ve(r,i)&&Ze(t,"set",n,r):Ze(t,"add",n,r)),c}deleteProperty(t,n){const r=G(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Ze(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Ke(n)||!gi.has(n))&&fe(t,"has",n),r}ownKeys(t){return fe(t,"iterate",$(t)?"length":ht),Reflect.ownKeys(t)}}class xo extends pi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ro=new mi,Po=new xo,Mo=new mi(!0);const hr=e=>e,Zt=e=>Reflect.getPrototypeOf(e);function Io(e,t,n){return function(...r){const s=this.__v_raw,i=Y(s),o=Tt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,a=s[e](...r),f=n?hr:t?Rt:Pe;return!t&&fe(i,"iterate",c?dr:ht),ue(Object.create(a),{next(){const{value:h,done:p}=a.next();return p?{value:h,done:p}:{value:l?[f(h[0]),f(h[1])]:f(h),done:p}}})}}function en(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Bo(e,t){const n={get(s){const i=this.__v_raw,o=Y(i),l=Y(s);e||(Ve(s,l)&&fe(o,"get",s),fe(o,"get",l));const{has:c}=Zt(o),a=t?hr:e?Rt:Pe;if(c.call(o,s))return a(i.get(s));if(c.call(o,l))return a(i.get(l));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&fe(Y(s),"iterate",ht),s.size},has(s){const i=this.__v_raw,o=Y(i),l=Y(s);return e||(Ve(s,l)&&fe(o,"has",s),fe(o,"has",l)),s===l?i.has(s):i.has(s)||i.has(l)},forEach(s,i){const o=this,l=o.__v_raw,c=Y(l),a=t?hr:e?Rt:Pe;return!e&&fe(c,"iterate",ht),l.forEach((f,h)=>s.call(i,a(f),a(h),o))}};return ue(n,e?{add:en("add"),set:en("set"),delete:en("delete"),clear:en("clear")}:{add(s){const i=Y(this),o=Zt(i),l=Y(s),c=!t&&!Se(s)&&!rt(s)?l:s;return o.has.call(i,c)||Ve(s,c)&&o.has.call(i,s)||Ve(l,c)&&o.has.call(i,l)||(i.add(c),Ze(i,"add",c,c)),this},set(s,i){!t&&!Se(i)&&!rt(i)&&(i=Y(i));const o=Y(this),{has:l,get:c}=Zt(o);let a=l.call(o,s);a||(s=Y(s),a=l.call(o,s));const f=c.call(o,s);return o.set(s,i),a?Ve(i,f)&&Ze(o,"set",s,i):Ze(o,"add",s,i),this},delete(s){const i=Y(this),{has:o,get:l}=Zt(i);let c=o.call(i,s);c||(s=Y(s),c=o.call(i,s)),l&&l.call(i,s);const a=i.delete(s);return c&&Ze(i,"delete",s,void 0),a},clear(){const s=Y(this),i=s.size!==0,o=s.clear();return i&&Ze(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=Io(s,e,t)}),n}function Ir(e,t){const n=Bo(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(G(n,s)&&s in r?n:r,s,i)}const No={get:Ir(!1,!1)},Oo={get:Ir(!1,!0)},Lo={get:Ir(!0,!1)};const bi=new WeakMap,_i=new WeakMap,yi=new WeakMap,Do=new WeakMap;function Fo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Br(e){return rt(e)?e:Nr(e,!1,Ro,No,bi)}function Uo(e){return Nr(e,!1,Mo,Oo,_i)}function gr(e){return Nr(e,!0,Po,Lo,yi)}function Nr(e,t,n,r,s){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=s.get(e);if(i)return i;const o=Fo(co(e));if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function gt(e){return rt(e)?gt(e.__v_raw):!!(e&&e.__v_isReactive)}function rt(e){return!!(e&&e.__v_isReadonly)}function Se(e){return!!(e&&e.__v_isShallow)}function Or(e){return e?!!e.__v_raw:!1}function Y(e){const t=e&&e.__v_raw;return t?Y(t):e}function Ho(e){return!G(e,"__v_skip")&&Object.isExtensible(e)&&ni(e,"__v_skip",!0),e}const Pe=e=>Z(e)?Br(e):e,Rt=e=>Z(e)?gr(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function Oe(e){return jo(e,!1)}function jo(e,t){return ae(e)?e:new Vo(e,t)}class Vo{constructor(t,n){this.dep=new Mr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Y(t),this._value=n?t:Pe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Se(t)||rt(t);t=r?t:Y(t),Ve(t,n)&&(this._rawValue=t,this._value=r?t:Pe(t),this.dep.trigger())}}function qo(e){return ae(e)?e.value:e}const ko={get:(e,t,n)=>t==="__v_raw"?e:qo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ae(s)&&!ae(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function vi(e){return gt(e)?e:new Proxy(e,ko)}class Ko{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Mr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$t-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ne!==this)return ci(this,!0),!0}get value(){const t=this.dep.track();return ai(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $o(e,t,n=!1){let r,s;return W(e)?r=e:(r=e.get,s=e.set),new Ko(r,s,n)}const tn={},un=new WeakMap;let dt;function Wo(e,t=!1,n=dt){if(n){let r=un.get(n);r||un.set(n,r=[]),r.push(e)}}function zo(e,t,n=te){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:c}=n,a=w=>s?w:Se(w)||s===!1||s===0?et(w,1):et(w);let f,h,p,m,M=!1,S=!1;if(ae(e)?(h=()=>e.value,M=Se(e)):gt(e)?(h=()=>a(e),M=!0):$(e)?(S=!0,M=e.some(w=>gt(w)||Se(w)),h=()=>e.map(w=>{if(ae(w))return w.value;if(gt(w))return a(w);if(W(w))return c?c(w,2):w()})):W(e)?t?h=c?()=>c(e,2):e:h=()=>{if(p){tt();try{p()}finally{nt()}}const w=dt;dt=f;try{return c?c(e,3,[m]):e(m)}finally{dt=w}}:h=qe,t&&s){const w=h,z=s===!0?1/0:s;h=()=>et(w(),z)}const K=vo(),B=()=>{f.stop(),K&&K.active&&Cr(K.effects,f)};if(i&&t){const w=t;t=(...z)=>{const O=w(...z);return B(),O}}let I=S?new Array(e.length).fill(tn):tn;const P=w=>{if(!(!(f.flags&1)||!f.dirty&&!w))if(t){const z=f.run();if(w||s||M||(S?z.some((O,F)=>Ve(O,I[F])):Ve(z,I))){p&&p();const O=dt;dt=f;try{const F=[z,I===tn?void 0:S&&I[0]===tn?[]:I,m];I=z,c?c(t,3,F):t(...F)}finally{dt=O}}}else f.run()};return l&&l(P),f=new oi(h),f.scheduler=o?()=>o(P,!1):P,m=w=>Wo(w,!1,f),p=f.onStop=()=>{const w=un.get(f);if(w){if(c)c(w,4);else for(const z of w)z();un.delete(f)}},t?r?P(!0):I=f.run():o?o(P.bind(null,!0),!0):f.run(),B.pause=f.pause.bind(f),B.resume=f.resume.bind(f),B.stop=B,B}function et(e,t=1/0,n){if(t<=0||!Z(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ae(e))et(e.value,t,n);else if($(e))for(let r=0;r<e.length;r++)et(e[r],t,n);else if(Qs(e)||Tt(e))e.forEach(r=>{et(r,t,n)});else if(ei(e)){for(const r in e)et(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&et(e[r],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.40
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Qt(e,t,n,r){try{return r?e(...r):e()}catch(s){wn(s,t,n)}}function Me(e,t,n,r){if(W(e)){const s=Qt(e,t,n,r);return s&&Xs(s)&&s.catch(i=>{wn(i,t,n)}),s}if($(e)){const s=[];for(let i=0;i<e.length;i++)s.push(Me(e[i],t,n,r));return s}}function wn(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||te;if(t){let l=t.parent;const c=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let h=0;h<f.length;h++)if(f[h](e,c,a)===!1)return}l=l.parent}if(i){tt(),Qt(i,null,10,[e,c,a]),nt();return}}Jo(e,n,s,r,o)}function Jo(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const he=[];let Ue=-1;const At=[];let ct=null,Ct=0;const wi=Promise.resolve();let fn=null;function Ci(e){const t=fn||wi;return e?t.then(this?e.bind(this):e):t}function Yo(e){let t=Ue+1,n=he.length;for(;t<n;){const r=t+n>>>1,s=he[r],i=zt(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function Lr(e){if(!(e.flags&1)){const t=zt(e),n=he[he.length-1];!n||!(e.flags&2)&&t>=zt(n)?he.push(e):he.splice(Yo(t),0,e),e.flags|=1,Ei()}}function Ei(){fn||(fn=wi.then(Ti))}function Go(e){$(e)?At.push(...e):ct&&e.id===-1?ct.splice(Ct+1,0,e):e.flags&1||(At.push(e),e.flags|=1),Ei()}function Jr(e,t,n=Ue+1){for(;n<he.length;n++){const r=he[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;he.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Si(e){if(At.length){const t=[...new Set(At)].sort((n,r)=>zt(n)-zt(r));if(At.length=0,ct){ct.push(...t);return}for(ct=t,Ct=0;Ct<ct.length;Ct++){const n=ct[Ct];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ct=null,Ct=0}}const zt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ti(e){try{for(Ue=0;Ue<he.length;Ue++){const t=he[Ue];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Qt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ue<he.length;Ue++){const t=he[Ue];t&&(t.flags&=-2)}Ue=-1,he.length=0,Si(),fn=null,(he.length||At.length)&&Ti()}}let Ee=null,Ai=null;function an(e){const t=Ee;return Ee=e,Ai=e&&e.type.__scopeId||null,t}function Qo(e,t=Ee,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&is(-1);const i=an(t),o=pt.length;let l;try{l=e(...s)}finally{for(let c=pt.length;c>o;c--)Gi();an(i),r._d&&is(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function Bn(e,t){if(Ee===null)return e;const n=Tn(Ee),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,o,l,c=te]=t[s];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&et(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function ft(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];i&&(l.oldValue=i[o].value);let c=l.dir[r];c&&(tt(),Me(c,n,8,[e.el,l,e,t]),nt())}}function Xo(e,t){if(ge){let n=ge.provides;const r=ge.parent&&ge.parent.provides;r===n&&(n=ge.provides=Object.create(r)),n[e]=t}}function on(e,t,n=!1){const r=Ql();if(r||xt){let s=xt?xt._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&W(t)?t.call(r&&r.proxy):t}}const Zo=Symbol.for("v-scx"),el=()=>on(Zo);function Vt(e,t,n){return xi(e,t,n)}function xi(e,t,n=te){const{immediate:r,deep:s,flush:i,once:o}=n,l=ue({},n),c=t&&r||!t&&i!=="post";let a;if(Yt){if(i==="sync"){const m=el();a=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=qe,m.resume=qe,m.pause=qe,m}}const f=ge;l.call=(m,M,S)=>Me(m,f,M,S);let h=!1;i==="post"?l.scheduler=m=>{me(m,f&&f.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(m,M)=>{M?m():Lr(m)}),l.augmentJob=m=>{t&&(m.flags|=4),h&&(m.flags|=2,f&&(m.id=f.uid,m.i=f))};const p=zo(e,t,l);return Yt&&(a?a.push(p):c&&p()),p}function tl(e,t,n){const r=this.proxy,s=se(e)?e.includes(".")?Ri(r,e):()=>r[e]:e.bind(r,r);let i;W(t)?i=t:(i=t.handler,n=t);const o=Xt(this),l=xi(s,i.bind(r),n);return o(),l}function Ri(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const nl=Symbol("_vte"),rl=e=>e.__isTeleport,Nn=Symbol("_leaveCb");function Dr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Dr(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 sl(e,t){return W(e)?ue({name:e.name},t,{setup:e}):e}function Pi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Yr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const dn=new WeakMap;function qt(e,t,n,r,s=!1){if($(e)){e.forEach((S,K)=>qt(S,t&&($(t)?t[K]:t),n,r,s));return}if(kt(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&qt(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?Tn(r.component):r.el,o=s?null:i,{i:l,r:c}=e,a=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState,p=Y(h),m=h===te?Gs:S=>Yr(f,S)?!1:G(p,S),M=(S,K)=>!(K&&Yr(f,K));if(a!=null&&a!==c){if(Gr(t),se(a))f[a]=null,m(a)&&(h[a]=null);else if(ae(a)){const S=t;M(a,S.k)&&(a.value=null),S.k&&(f[S.k]=null)}}if(W(c))Qt(c,l,12,[o,f]);else{const S=se(c),K=ae(c);if(S||K){const B=()=>{if(e.f){const I=S?m(c)?h[c]:f[c]:M()||!e.k?c.value:f[e.k];if(s)$(I)&&Cr(I,i);else if($(I))I.includes(i)||I.push(i);else if(S)f[c]=[i],m(c)&&(h[c]=f[c]);else{const P=[i];M(c,e.k)&&(c.value=P),e.k&&(f[e.k]=P)}}else S?(f[c]=o,m(c)&&(h[c]=o)):K&&(M(c,e.k)&&(c.value=o),e.k&&(f[e.k]=o))};if(o){const I=()=>{B(),dn.delete(e)};I.id=-1,dn.set(e,I),me(I,n)}else Gr(e),B()}}}function Gr(e){const t=dn.get(e);t&&(t.flags|=8,dn.delete(e))}yn().requestIdleCallback;yn().cancelIdleCallback;const kt=e=>!!e.type.__asyncLoader,Mi=e=>e.type.__isKeepAlive;function il(e,t){Ii(e,"a",t)}function ol(e,t){Ii(e,"da",t)}function Ii(e,t,n=ge){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Cn(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Mi(s.parent.vnode)&&ll(r,t,n,s),s=s.parent}}function ll(e,t,n,r){const s=Cn(t,e,r,!0);Fr(()=>{Cr(r[t],s)},n)}function Cn(e,t,n=ge,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{tt();const l=Xt(n),c=Me(t,n,e,o);return l(),nt(),c});return r?s.unshift(i):s.push(i),i}}const st=e=>(t,n=ge)=>{(!Yt||e==="sp")&&Cn(e,(...r)=>t(...r),n)},cl=st("bm"),Bi=st("m"),ul=st("bu"),fl=st("u"),al=st("bum"),Fr=st("um"),dl=st("sp"),hl=st("rtg"),gl=st("rtc");function pl(e,t=ge){Cn("ec",e,t)}const ml=Symbol.for("v-ndc");function nn(e,t,n,r){let s;const i=n,o=$(e);if(o||se(e)){const l=o&>(e);let c=!1,a=!1;l&&(c=!Se(e),a=rt(e),e=vn(e)),s=new Array(e.length);for(let f=0,h=e.length;f<h;f++)s[f]=t(c?a?Rt(Pe(e[f])):Pe(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,i)}else if(Z(e))if(e[Symbol.iterator])s=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let c=0,a=l.length;c<a;c++){const f=l[c];s[c]=t(e[f],f,c,i)}}else s=[];return s}const pr=e=>e?eo(e)?Tn(e):pr(e.parent):null,Kt=ue(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=>pr(e.parent),$root:e=>pr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Oi(e),$forceUpdate:e=>e.f||(e.f=()=>{Lr(e.update)}),$nextTick:e=>e.n||(e.n=Ci.bind(e.proxy)),$watch:e=>tl.bind(e)}),On=(e,t)=>e!==te&&!e.__isScriptSetup&&G(e,t),bl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(On(r,t))return o[t]=1,r[t];if(s!==te&&G(s,t))return o[t]=2,s[t];if(G(i,t))return o[t]=3,i[t];if(n!==te&&G(n,t))return o[t]=4,n[t];mr&&(o[t]=0)}}const a=Kt[t];let f,h;if(a)return t==="$attrs"&&fe(e.attrs,"get",""),a(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==te&&G(n,t))return o[t]=4,n[t];if(h=c.config.globalProperties,G(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return On(s,t)?(s[t]=n,!0):r!==te&&G(r,t)?(r[t]=n,!0):G(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,props:i,type:o}},l){let c;return!!(n[l]||e!==te&&l[0]!=="$"&&G(e,l)||On(t,l)||G(i,l)||G(r,l)||G(Kt,l)||G(s.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:G(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Qr(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let mr=!0;function _l(e){const t=Oi(e),n=e.proxy,r=e.ctx;mr=!1,t.beforeCreate&&Xr(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:c,inject:a,created:f,beforeMount:h,mounted:p,beforeUpdate:m,updated:M,activated:S,deactivated:K,beforeDestroy:B,beforeUnmount:I,destroyed:P,unmounted:w,render:z,renderTracked:O,renderTriggered:F,errorCaptured:U,serverPrefetch:D,expose:H,inheritAttrs:T,components:b,directives:_,filters:q}=t;if(a&&yl(a,r,null),o)for(const re in o){const Q=o[re];W(Q)&&(r[re]=Q.bind(n))}if(s){const re=s.call(n,n);Z(re)&&(e.data=Br(re))}if(mr=!0,i)for(const re in i){const Q=i[re],$e=W(Q)?Q.bind(n,n):W(Q.get)?Q.get.bind(n,n):qe,it=!W(Q)&&W(Q.set)?Q.set.bind(n):qe,Ce=rc({get:$e,set:it});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:be=>Ce.value=be})}if(l)for(const re in l)Ni(l[re],r,n,re);if(c){const re=W(c)?c.call(n):c;Reflect.ownKeys(re).forEach(Q=>{Xo(Q,re[Q])})}f&&Xr(f,e,"c");function ie(re,Q){$(Q)?Q.forEach($e=>re($e.bind(n))):Q&&re(Q.bind(n))}if(ie(cl,h),ie(Bi,p),ie(ul,m),ie(fl,M),ie(il,S),ie(ol,K),ie(pl,U),ie(gl,O),ie(hl,F),ie(al,I),ie(Fr,w),ie(dl,D),$(H))if(H.length){const re=e.exposed||(e.exposed={});H.forEach(Q=>{Object.defineProperty(re,Q,{get:()=>n[Q],set:$e=>n[Q]=$e,enumerable:!0})})}else e.exposed||(e.exposed={});z&&e.render===qe&&(e.render=z),T!=null&&(e.inheritAttrs=T),b&&(e.components=b),_&&(e.directives=_),D&&Pi(e)}function yl(e,t,n=qe){$(e)&&(e=br(e));for(const r in e){const s=e[r];let i;Z(s)?"default"in s?i=on(s.from||r,s.default,!0):i=on(s.from||r):i=on(s),ae(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Xr(e,t,n){Me($(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ni(e,t,n,r){let s=r.includes(".")?Ri(n,r):()=>n[r];if(se(e)){const i=t[e];W(i)&&Vt(s,i)}else if(W(e))Vt(s,e.bind(n));else if(Z(e))if($(e))e.forEach(i=>Ni(i,t,n,r));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&Vt(s,i,e)}}function Oi(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!s.length&&!n&&!r?c=t:(c={},s.length&&s.forEach(a=>hn(c,a,o,!0)),hn(c,t,o)),Z(t)&&i.set(t,c),c}function hn(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&hn(e,i,n,!0),s&&s.forEach(o=>hn(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=vl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const vl={data:Zr,props:es,emits:es,methods:Lt,computed:Lt,beforeCreate:de,created:de,beforeMount:de,mounted:de,beforeUpdate:de,updated:de,beforeDestroy:de,beforeUnmount:de,destroyed:de,unmounted:de,activated:de,deactivated:de,errorCaptured:de,serverPrefetch:de,components:Lt,directives:Lt,watch:Cl,provide:Zr,inject:wl};function Zr(e,t){return t?e?function(){return ue(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function wl(e,t){return Lt(br(e),br(t))}function br(e){if($(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function de(e,t){return e?[...new Set([].concat(e,t))]:t}function Lt(e,t){return e?ue(Object.create(null),e,t):t}function es(e,t){return e?$(e)&&$(t)?[...new Set([...e,...t])]:ue(Object.create(null),Qr(e),Qr(t??{})):t}function Cl(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const r in t)n[r]=de(e[r],t[r]);return n}function Li(){return{app:null,config:{isNativeTag:Gs,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 El=0;function Sl(e,t){return function(r,s=null){W(r)||(r=ue({},r)),s!=null&&!Z(s)&&(s=null);const i=Li(),o=new WeakSet,l=[];let c=!1;const a=i.app={_uid:El++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:sc,get config(){return i.config},set config(f){},use(f,...h){return o.has(f)||(f&&W(f.install)?(o.add(f),f.install(a,...h)):W(f)&&(o.add(f),f(a,...h))),a},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),a},component(f,h){return h?(i.components[f]=h,a):i.components[f]},directive(f,h){return h?(i.directives[f]=h,a):i.directives[f]},mount(f,h,p){if(!c){const m=a._ceVNode||ke(r,s);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,f,p),c=!0,a._container=f,f.__vue_app__=a,Tn(m.component)}},onUnmount(f){l.push(f)},unmount(){c&&(Me(l,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(f,h){return i.provides[f]=h,a},runWithContext(f){const h=xt;xt=a;try{return f()}finally{xt=h}}};return a}}let xt=null;const Tl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${xe(t)}Modifiers`]||e[`${mt(t)}Modifiers`];function Al(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||te;let s=n;const i=t.startsWith("update:"),o=i&&Tl(r,t.slice(7));o&&(o.trim&&(s=n.map(f=>se(f)?f.trim():f)),o.number&&(s=n.map(Sr)));let l,c=r[l=xn(t)]||r[l=xn(xe(t))];!c&&i&&(c=r[l=xn(mt(t))]),c&&Me(c,e,6,s);const a=r[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(a,e,6,s)}}const xl=new WeakMap;function Di(e,t,n=!1){const r=n?xl:t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!W(e)){const c=a=>{const f=Di(a,t,!0);f&&(l=!0,ue(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(Z(e)&&r.set(e,null),null):($(i)?i.forEach(c=>o[c]=null):ue(o,i),Z(e)&&r.set(e,o),o)}function En(e,t){return!e||!mn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),G(e,t[0].toLowerCase()+t.slice(1))||G(e,mt(t))||G(e,t))}function ts(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:c,render:a,renderCache:f,props:h,data:p,setupState:m,ctx:M,inheritAttrs:S}=e,K=an(e);let B,I;try{if(n.shapeFlag&4){const w=s||r,z=w;B=je(a.call(z,w,f,h,m,p,M)),I=l}else{const w=t;B=je(w.length>1?w(h,{attrs:l,slots:o,emit:c}):w(h,null)),I=t.props?l:Rl(l)}}catch(w){pt.length=0,wn(w,e,1),B=ke(ut)}let P=B;if(I&&S!==!1){const w=Object.keys(I),{shapeFlag:z}=P;w.length&&z&7&&(i&&w.some(bn)&&(I=Pl(I,i)),P=Pt(P,I,!1,!0))}return n.dirs&&(P=Pt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(n.dirs):n.dirs),n.transition&&Dr(P,n.transition),B=P,an(K),B}const Rl=e=>{let t;for(const n in e)(n==="class"||n==="style"||mn(n))&&((t||(t={}))[n]=e[n]);return t},Pl=(e,t)=>{const n={};for(const r in e)(!bn(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ml(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:c}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?ns(r,o,a):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;h<f.length;h++){const p=f[h];if(Fi(o,r,p)&&!En(a,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?ns(r,o,a):!0:!!o;return!1}function ns(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(Fi(t,e,i)&&!En(n,i))return!0}return!1}function Fi(e,t,n){const r=e[n],s=t[n];return n==="style"&&Z(r)&&Z(s)?!Ar(r,s):r!==s}function Il({vnode:e,parent:t,suspense:n},r){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=r,e=s),s===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Ui={},Hi=()=>Object.create(Ui),ji=e=>Object.getPrototypeOf(e)===Ui;function Bl(e,t,n,r=!1){const s={},i=Hi();e.propsDefaults=Object.create(null),Vi(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Uo(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Nl(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=Y(s),[c]=e.propsOptions;let a=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h<f.length;h++){let p=f[h];if(En(e.emitsOptions,p))continue;const m=t[p];if(c)if(G(i,p))m!==i[p]&&(i[p]=m,a=!0);else{const M=xe(p);s[M]=_r(c,l,M,m,e,!1)}else m!==i[p]&&(i[p]=m,a=!0)}}}else{Vi(e,t,s,i)&&(a=!0);let f;for(const h in l)(!t||!G(t,h)&&((f=mt(h))===h||!G(t,f)))&&(c?n&&(n[h]!==void 0||n[f]!==void 0)&&(s[h]=_r(c,l,h,void 0,e,!0)):delete s[h]);if(i!==l)for(const h in i)(!t||!G(t,h))&&(delete i[h],a=!0)}a&&Ze(e.attrs,"set","")}function Vi(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Ut(c))continue;const a=t[c];let f;s&&G(s,f=xe(c))?!i||!i.includes(f)?n[f]=a:(l||(l={}))[f]=a:En(e.emitsOptions,c)||(!(c in r)||a!==r[c])&&(r[c]=a,o=!0)}if(i){const c=Y(n),a=l||te;for(let f=0;f<i.length;f++){const h=i[f];n[h]=_r(s,c,h,a[h],e,!G(a,h))}}return o}function _r(e,t,n,r,s,i){const o=e[n];if(o!=null){const l=G(o,"default");if(l&&r===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&W(c)){const{propsDefaults:a}=s;if(n in a)r=a[n];else{const f=Xt(s);r=a[n]=c.call(null,t),f()}}else r=c;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!l?r=!1:o[1]&&(r===""||r===mt(n))&&(r=!0))}return r}const Ol=new WeakMap;function qi(e,t,n=!1){const r=n?Ol:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},l=[];let c=!1;if(!W(e)){const f=h=>{c=!0;const[p,m]=qi(h,t,!0);ue(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return Z(e)&&r.set(e,St),St;if($(i))for(let f=0;f<i.length;f++){const h=xe(i[f]);rs(h)&&(o[h]=te)}else if(i)for(const f in i){const h=xe(f);if(rs(h)){const p=i[f],m=o[h]=$(p)||W(p)?{type:p}:ue({},p),M=m.type;let S=!1,K=!0;if($(M))for(let B=0;B<M.length;++B){const I=M[B],P=W(I)&&I.name;if(P==="Boolean"){S=!0;break}else P==="String"&&(K=!1)}else S=W(M)&&M.name==="Boolean";m[0]=S,m[1]=K,(S||G(m,"default"))&&l.push(h)}}const a=[o,l];return Z(e)&&r.set(e,a),a}function rs(e){return e[0]!=="$"&&!Ut(e)}const Ur=e=>e==="_"||e==="_ctx"||e==="$stable",Hr=e=>$(e)?e.map(je):[je(e)],Ll=(e,t,n)=>{if(t._n)return t;const r=Qo((...s)=>Hr(t(...s)),n);return r._c=!1,r},ki=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Ur(s))continue;const i=e[s];if(W(i))t[s]=Ll(s,i,r);else if(i!=null){const o=Hr(i);t[s]=()=>o}}},Ki=(e,t)=>{const n=Hr(t);e.slots.default=()=>n},$i=(e,t,n)=>{for(const r in t)(n||!Ur(r))&&(e[r]=t[r])},Dl=(e,t,n)=>{const r=e.slots=Hi();if(e.vnode.shapeFlag&32){const s=t._;s?($i(r,t,n),n&&ni(r,"_",s,!0)):ki(t,r)}else t&&Ki(e,t)},Fl=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=te;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:$i(s,t,n):(i=!t.$stable,ki(t,s)),o=t}else t&&(Ki(e,t),o={default:1});if(i)for(const l in s)!Ur(l)&&o[l]==null&&delete s[l]},me=ql;function Ul(e){return Hl(e)}function Hl(e,t){const n=yn();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:c,setText:a,setElementText:f,parentNode:h,nextSibling:p,setScopeId:m=qe,insertStaticContent:M}=e,S=(u,d,g,E=null,C=null,y=null,R=void 0,x=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!Nt(u,d)&&(E=pe(u),be(u,C,y,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:v,ref:V,shapeFlag:N}=d;switch(v){case Sn:K(u,d,g,E);break;case ut:B(u,d,g,E);break;case ln:u==null&&I(d,g,E,R);break;case ve:b(u,d,g,E,C,y,R,x,A);break;default:N&1?z(u,d,g,E,C,y,R,x,A):N&6?_(u,d,g,E,C,y,R,x,A):(N&64||N&128)&&v.process(u,d,g,E,C,y,R,x,A,ze)}V!=null&&C?qt(V,u&&u.ref,y,d||u,!d):V==null&&u&&u.ref!=null&&qt(u.ref,null,y,u,!0)},K=(u,d,g,E)=>{if(u==null)r(d.el=l(d.children),g,E);else{const C=d.el=u.el;d.children!==u.children&&a(C,d.children)}},B=(u,d,g,E)=>{u==null?r(d.el=c(d.children||""),g,E):d.el=u.el},I=(u,d,g,E)=>{[u.el,u.anchor]=M(u.children,d,g,E,u.el,u.anchor)},P=({el:u,anchor:d},g,E)=>{let C;for(;u&&u!==d;)C=p(u),r(u,g,E),u=C;r(d,g,E)},w=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=p(u),s(u),u=g;s(d)},z=(u,d,g,E,C,y,R,x,A)=>{if(d.type==="svg"?R="svg":d.type==="math"&&(R="mathml"),u==null)O(d,g,E,C,y,R,x,A);else{const v=u.el&&u.el._isVueCE?u.el:null;try{v&&v._beginPatch(),D(u,d,C,y,R,x,A)}finally{v&&v._endPatch()}}},O=(u,d,g,E,C,y,R,x)=>{let A,v;const{props:V,shapeFlag:N,transition:j,dirs:k}=u;if(A=u.el=o(u.type,y,V&&V.is,V),N&8?f(A,u.children):N&16&&U(u.children,A,null,E,C,Ln(u,y),R,x),k&&ft(u,null,E,"created"),F(A,u,u.scopeId,R,E),V){for(const ee in V)ee!=="value"&&!Ut(ee)&&i(A,ee,null,V[ee],y,E);"value"in V&&i(A,"value",null,V.value,y),(v=V.onVnodeBeforeMount)&&Le(v,E,u)}k&&ft(u,null,E,"beforeMount");const J=jl(C,j);J&&j.beforeEnter(A),r(A,d,g),((v=V&&V.onVnodeMounted)||J||k)&&me(()=>{try{v&&Le(v,E,u),J&&j.enter(A),k&&ft(u,null,E,"mounted")}finally{}},C)},F=(u,d,g,E,C)=>{if(g&&m(u,g),E)for(let y=0;y<E.length;y++)m(u,E[y]);if(C){let y=C.subTree;if(d===y||Yi(y.type)&&(y.ssContent===d||y.ssFallback===d)){const R=C.vnode;F(u,R,R.scopeId,R.slotScopeIds,C.parent)}}},U=(u,d,g,E,C,y,R,x,A=0)=>{for(let v=A;v<u.length;v++){const V=u[v]=x?Xe(u[v]):je(u[v]);S(null,V,d,g,E,C,y,R,x)}},D=(u,d,g,E,C,y,R)=>{const x=d.el=u.el;let{patchFlag:A,dynamicChildren:v,dirs:V}=d;A|=u.patchFlag&16;const N=u.props||te,j=d.props||te;let k;if(g&&at(g,!1),(k=j.onVnodeBeforeUpdate)&&Le(k,g,d,u),V&&ft(d,u,g,"beforeUpdate"),g&&at(g,!0),v&&(!u.dynamicChildren||u.dynamicChildren.length!==v.length)&&(A=0,R=!1,v=null),(N.innerHTML&&j.innerHTML==null||N.textContent&&j.textContent==null)&&f(x,""),v?H(u.dynamicChildren,v,x,g,E,Ln(d,C),y):R||Q(u,d,x,null,g,E,Ln(d,C),y,!1),A>0){if(A&16)T(x,N,j,g,C);else if(A&2&&N.class!==j.class&&i(x,"class",null,j.class,C),A&4&&i(x,"style",N.style,j.style,C),A&8){const J=d.dynamicProps;for(let ee=0;ee<J.length;ee++){const X=J[ee],oe=N[X],le=j[X];(le!==oe||X==="value")&&i(x,X,oe,le,C,g)}}A&1&&u.children!==d.children&&f(x,d.children)}else!R&&v==null&&T(x,N,j,g,C);((k=j.onVnodeUpdated)||V)&&me(()=>{k&&Le(k,g,d,u),V&&ft(d,u,g,"updated")},E)},H=(u,d,g,E,C,y,R)=>{for(let x=0;x<d.length;x++){const A=u[x],v=d[x],V=A.el&&(A.type===ve||!Nt(A,v)||A.shapeFlag&198)?h(A.el):g;S(A,v,V,null,E,C,y,R,!0)}},T=(u,d,g,E,C)=>{if(d!==g){if(d!==te)for(const y in d)!Ut(y)&&!(y in g)&&i(u,y,d[y],null,C,E);for(const y in g){if(Ut(y))continue;const R=g[y],x=d[y];R!==x&&y!=="value"&&i(u,y,x,R,C,E)}"value"in g&&i(u,"value",d.value,g.value,C)}},b=(u,d,g,E,C,y,R,x,A)=>{const v=d.el=u?u.el:l(""),V=d.anchor=u?u.anchor:l("");let{patchFlag:N,dynamicChildren:j,slotScopeIds:k}=d;k&&(x=x?x.concat(k):k),u==null?(r(v,g,E),r(V,g,E),U(d.children||[],g,V,C,y,R,x,A)):N>0&&N&64&&j&&u.dynamicChildren&&u.dynamicChildren.length===j.length?(H(u.dynamicChildren,j,g,C,y,R,x),(d.key!=null||C&&d===C.subTree)&&Wi(u,d,!0)):Q(u,d,g,V,C,y,R,x,A)},_=(u,d,g,E,C,y,R,x,A)=>{d.slotScopeIds=x,u==null?d.shapeFlag&512?C.ctx.activate(d,g,E,R,A):q(d,g,E,C,y,R,A):Te(u,d,A)},q=(u,d,g,E,C,y,R)=>{const x=u.component=Gl(u,E,C);if(Mi(u)&&(x.ctx.renderer=ze),Xl(x,!1,R),x.asyncDep){if(C&&C.registerDep(x,ie,R),!u.el){const A=x.subTree=ke(ut);B(null,A,d,g),u.placeholder=A.el}}else ie(x,u,d,g,C,y,R)},Te=(u,d,g)=>{const E=d.component=u.component;if(Ml(u,d,g))if(E.asyncDep&&!E.asyncResolved){re(E,d,g);return}else E.next=d,E.update();else d.el=u.el,E.vnode=d},ie=(u,d,g,E,C,y,R)=>{const x=()=>{if(u.isMounted){let{next:N,bu:j,u:k,parent:J,vnode:ee}=u;{const Be=zi(u);if(Be){N&&(N.el=ee.el,re(u,N,R)),Be.asyncDep.then(()=>{me(()=>{u.isUnmounted||v()},C)});return}}let X=N,oe;at(u,!1),N?(N.el=ee.el,re(u,N,R)):N=ee,j&&sn(j),(oe=N.props&&N.props.onVnodeBeforeUpdate)&&Le(oe,J,N,ee),at(u,!0);const le=ts(u),Ie=u.subTree;u.subTree=le,S(Ie,le,h(Ie.el),pe(Ie),u,C,y),N.el=le.el,X===null&&Il(u,le.el),k&&me(k,C),(oe=N.props&&N.props.onVnodeUpdated)&&me(()=>Le(oe,J,N,ee),C)}else{let N;const{el:j,props:k}=d,{bm:J,m:ee,parent:X,root:oe,type:le}=u,Ie=kt(d);at(u,!1),J&&sn(J),!Ie&&(N=k&&k.onVnodeBeforeMount)&&Le(N,X,d),at(u,!0);{oe.ce&&oe.ce._hasShadowRoot()&&oe.ce._injectChildStyle(le,u.parent?u.parent.type:void 0);const Be=u.subTree=ts(u);S(null,Be,g,E,u,C,y),d.el=Be.el}if(ee&&me(ee,C),!Ie&&(N=k&&k.onVnodeMounted)){const Be=d;me(()=>Le(N,X,Be),C)}(d.shapeFlag&256||X&&kt(X.vnode)&&X.vnode.shapeFlag&256)&&u.a&&me(u.a,C),u.isMounted=!0,d=g=E=null}};u.scope.on();const A=u.effect=new oi(x);u.scope.off();const v=u.update=A.run.bind(A),V=u.job=A.runIfDirty.bind(A);V.i=u,V.id=u.uid,A.scheduler=()=>Lr(V),at(u,!0),v()},re=(u,d,g)=>{d.component=u;const E=u.vnode.props;u.vnode=d,u.next=null,Nl(u,d.props,E,g),Fl(u,d.children,g),tt(),Jr(u),nt()},Q=(u,d,g,E,C,y,R,x,A=!1)=>{const v=u&&u.children,V=u?u.shapeFlag:0,N=d.children,{patchFlag:j,shapeFlag:k}=d;if(j>0){if(j&128){it(v,N,g,E,C,y,R,x,A);return}else if(j&256){$e(v,N,g,E,C,y,R,x,A);return}}k&8?(V&16&&ot(v,C,y),N!==v&&f(g,N)):V&16?k&16?it(v,N,g,E,C,y,R,x,A):ot(v,C,y,!0):(V&8&&f(g,""),k&16&&U(N,g,E,C,y,R,x,A))},$e=(u,d,g,E,C,y,R,x,A)=>{u=u||St,d=d||St;const v=u.length,V=d.length,N=Math.min(v,V);let j;for(j=0;j<N;j++){const k=d[j]=A?Xe(d[j]):je(d[j]);S(u[j],k,g,null,C,y,R,x,A)}v>V?ot(u,C,y,!0,!1,N):U(d,g,E,C,y,R,x,A,N)},it=(u,d,g,E,C,y,R,x,A)=>{let v=0;const V=d.length;let N=u.length-1,j=V-1;for(;v<=N&&v<=j;){const k=u[v],J=d[v]=A?Xe(d[v]):je(d[v]);if(Nt(k,J))S(k,J,g,null,C,y,R,x,A);else break;v++}for(;v<=N&&v<=j;){const k=u[N],J=d[j]=A?Xe(d[j]):je(d[j]);if(Nt(k,J))S(k,J,g,null,C,y,R,x,A);else break;N--,j--}if(v>N){if(v<=j){const k=j+1,J=k<V?d[k].el:E;for(;v<=j;)S(null,d[v]=A?Xe(d[v]):je(d[v]),g,J,C,y,R,x,A),v++}}else if(v>j)for(;v<=N;)be(u[v],C,y,!0),v++;else{const k=v,J=v,ee=new Map;for(v=J;v<=j;v++){const ye=d[v]=A?Xe(d[v]):je(d[v]);ye.key!=null&&ee.set(ye.key,v)}let X,oe=0;const le=j-J+1;let Ie=!1,Be=0;const It=new Array(le);for(v=0;v<le;v++)It[v]=0;for(v=k;v<=N;v++){const ye=u[v];if(oe>=le){be(ye,C,y,!0);continue}let Ne;if(ye.key!=null)Ne=ee.get(ye.key);else for(X=J;X<=j;X++)if(It[X-J]===0&&Nt(ye,d[X])){Ne=X;break}Ne===void 0?be(ye,C,y,!0):(It[Ne-J]=v+1,Ne>=Be?Be=Ne:Ie=!0,S(ye,d[Ne],g,null,C,y,R,x,A),oe++)}const Vr=Ie?Vl(It):St;for(X=Vr.length-1,v=le-1;v>=0;v--){const ye=J+v,Ne=d[ye],qr=d[ye+1],kr=ye+1<V?qr.el||Ji(qr):E;It[v]===0?S(null,Ne,g,kr,C,y,R,x,A):Ie&&(X<0||v!==Vr[X]?Ce(Ne,g,kr,2):X--)}}},Ce=(u,d,g,E,C=null)=>{const{el:y,type:R,transition:x,children:A,shapeFlag:v}=u;if(v&6){Ce(u.component.subTree,d,g,E);return}if(v&128){u.suspense.move(d,g,E);return}if(v&64){R.move(u,d,g,ze);return}if(R===ve){r(y,d,g);for(let N=0;N<A.length;N++)Ce(A[N],d,g,E);r(u.anchor,d,g);return}if(R===ln){P(u,d,g);return}if(E!==2&&v&1&&x)if(E===0)x.persisted&&!y[Nn]?r(y,d,g):(x.beforeEnter(y),r(y,d,g),me(()=>x.enter(y),C));else{const{leave:N,delayLeave:j,afterLeave:k}=x,J=()=>{u.ctx.isUnmounted?s(y):r(y,d,g)},ee=()=>{const X=y._isLeaving||!!y[Nn];y._isLeaving&&y[Nn](!0),x.persisted&&!X?J():N(y,()=>{J(),k&&k()})};j?j(y,J,ee):ee()}else r(y,d,g)},be=(u,d,g,E=!1,C=!1)=>{const{type:y,props:R,ref:x,children:A,dynamicChildren:v,shapeFlag:V,patchFlag:N,dirs:j,cacheIndex:k,memo:J}=u;if(N===-2&&(C=!1),x!=null&&(tt(),qt(x,null,g,u,!0),nt()),k!=null&&(d.renderCache[k]=void 0),V&256){d.ctx.deactivate(u);return}const ee=V&1&&j,X=!kt(u);let oe;if(X&&(oe=R&&R.onVnodeBeforeUnmount)&&Le(oe,d,u),V&6)Mt(u.component,g,E);else{if(V&128){u.suspense.unmount(g,E);return}ee&&ft(u,null,d,"beforeUnmount"),V&64?u.type.remove(u,d,g,ze,E):v&&!v.hasOnce&&(y!==ve||N>0&&N&64)?ot(v,d,g,!1,!0):(y===ve&&N&384||!C&&V&16)&&ot(A,d,g),E&&yt(u)}const le=J!=null&&k==null;(X&&(oe=R&&R.onVnodeUnmounted)||ee||le)&&me(()=>{oe&&Le(oe,d,u),ee&&ft(u,null,d,"unmounted"),le&&(u.el=null)},g)},yt=u=>{const{type:d,el:g,anchor:E,transition:C}=u;if(d===ve){An(g,E);return}if(d===ln){w(u);return}const y=()=>{s(g),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(u.shapeFlag&1&&C&&!C.persisted){const{leave:R,delayLeave:x}=C,A=()=>R(g,y);x?x(u.el,y,A):A()}else y()},An=(u,d)=>{let g;for(;u!==d;)g=p(u),s(u),u=g;s(d)},Mt=(u,d,g)=>{const{bum:E,scope:C,job:y,subTree:R,um:x,m:A,a:v}=u;ss(A),ss(v),E&&sn(E),C.stop(),y&&(y.flags|=8,be(R,u,d,g)),x&&me(x,d),me(()=>{u.isUnmounted=!0},d)},ot=(u,d,g,E=!1,C=!1,y=0)=>{for(let R=y;R<u.length;R++)be(u[R],d,g,E,C)},pe=u=>{if(u.shapeFlag&6)return pe(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=p(u.anchor||u.el),g=d&&d[nl];return g?p(g):d};let _e=!1;const We=(u,d,g)=>{let E;u==null?d._vnode&&(be(d._vnode,null,null,!0),E=d._vnode.component):S(d._vnode||null,u,d,null,null,null,g),d._vnode=u,_e||(_e=!0,Jr(E),Si(),_e=!1)},ze={p:S,um:be,m:Ce,r:yt,mt:q,mc:U,pc:Q,pbc:H,n:pe,o:e};return{render:We,hydrate:void 0,createApp:Sl(We)}}function Ln({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function at({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function jl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wi(e,t,n=!1){const r=e.children,s=t.children;if($(r)&&$(s))for(let i=0;i<r.length;i++){const o=r[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=Xe(s[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Wi(o,l)),l.type===Sn&&(l.patchFlag===-1&&(l=s[i]=Xe(l)),l.el=o.el),l.type===ut&&!l.el&&(l.el=o.el)}}function Vl(e){const t=e.slice(),n=[0];let r,s,i,o,l;const c=e.length;for(r=0;r<c;r++){const a=e[r];if(a!==0){if(s=n[n.length-1],e[s]<a){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<a?i=l+1:o=l;a<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zi(t)}function ss(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ji(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ji(t.subTree):null}const Yi=e=>e.__isSuspense;function ql(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):Go(e)}const ve=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),ln=Symbol.for("v-stc"),pt=[];let we=null;function Fe(e=!1){pt.push(we=e?null:[])}function Gi(){pt.pop(),we=pt[pt.length-1]||null}let Jt=1;function is(e,t=!1){Jt+=e,e<0&&we&&t&&(we.hasOnce=!0)}function Qi(e){return e.dynamicChildren=Jt>0?we||St:null,Gi(),Jt>0&&we&&we.push(e),e}function Ye(e,t,n,r,s,i){return Qi(L(e,t,n,r,s,i,!0))}function kl(e,t,n,r,s){return Qi(ke(e,t,n,r,s,!0))}function Xi(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const Zi=({key:e})=>e??null,cn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||ae(e)||W(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,r=0,s=null,i=e===ve?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zi(t),ref:t&&cn(t),scopeId:Ai,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ee};return l?(gn(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=se(n)?8:16),Jt>0&&!o&&we&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&we.push(c),c}const ke=Kl;function Kl(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===ml)&&(e=ut),Xi(e)){const l=Pt(e,t,!0);return n&&gn(l,n),Jt>0&&!i&&we&&(l.shapeFlag&6?we[we.indexOf(e)]=l:we.push(l)),l.patchFlag=-2,l}if(nc(e)&&(e=e.__vccOpts),t){t=$l(t);let{class:l,style:c}=t;l&&!se(l)&&(t.class=Qe(l)),Z(c)&&(Or(c)&&!$(c)&&(c=ue({},c)),t.style=Tr(c))}const o=se(e)?1:Yi(e)?128:rl(e)?64:Z(e)?4:W(e)?2:0;return L(e,t,n,r,s,o,i,!0)}function $l(e){return e?Or(e)||ji(e)?ue({},e):e:null}function Pt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:c}=e,a=t?zl(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Zi(a),ref:t&&t.ref?n&&i?$(i)?i.concat(cn(t)):[i,cn(t)]:cn(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!==ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Dr(f,c.clone(f)),f}function Dt(e=" ",t=0){return ke(Sn,null,e,t)}function Wl(e,t){const n=ke(ln,null,e);return n.staticCount=t,n}function Dn(e="",t=!1){return t?(Fe(),kl(ut,null,e)):ke(ut,null,e)}function je(e){return e==null||typeof e=="boolean"?ke(ut):$(e)?ke(ve,null,e.slice()):Xi(e)?Xe(e):ke(Sn,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function gn(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),gn(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ji(t)?t._ctx=Ee:s===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(W(t)){if(r&65){gn(e,{default:t});return}t={default:t,_ctx:Ee},n=32}else t=String(t),r&64?(n=16,t=[Dt(t)]):n=8;e.children=t,e.shapeFlag|=n}function zl(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Qe([t.class,r.class]));else if(s==="style")t.style=Tr([t.style,r.style]);else if(mn(s)){const i=t[s],o=r[s];o&&i!==o&&!($(i)&&i.includes(o))?t[s]=i?[].concat(i,o):o:o==null&&i==null&&!bn(s)&&(t[s]=o)}else s!==""&&(t[s]=r[s])}return t}function Le(e,t,n,r=null){Me(e,t,7,[n,r])}const Jl=Li();let Yl=0;function Gl(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Jl,i={uid:Yl++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:qi(r,s),emitsOptions:Di(r,s),emit:null,emitted:null,propsDefaults:te,inheritAttrs:r.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Al.bind(null,i),e.ce&&e.ce(i),i}let ge=null;const Ql=()=>ge||Ee;let pn,yr;{const e=yn(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};pn=t("__VUE_INSTANCE_SETTERS__",n=>ge=n),yr=t("__VUE_SSR_SETTERS__",n=>Yt=n)}const Xt=e=>{const t=ge;return pn(e),e.scope.on(),()=>{e.scope.off(),pn(t)}},os=()=>{ge&&ge.scope.off(),pn(null)};function eo(e){return e.vnode.shapeFlag&4}let Yt=!1;function Xl(e,t=!1,n=!1){t&&yr(t);const{props:r,children:s}=e.vnode,i=eo(e);Bl(e,r,i,t),Dl(e,s,n||t);const o=i?Zl(e,t):void 0;return t&&yr(!1),o}function Zl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bl);const{setup:r}=n;if(r){tt();const s=e.setupContext=r.length>1?tc(e):null,i=Xt(e),o=Qt(r,e,0,[e.props,s]),l=Xs(o);if(nt(),i(),(l||e.sp)&&!kt(e)&&Pi(e),l){if(o.then(os,os),t)return o.then(c=>{ls(e,c)}).catch(c=>{wn(c,e,0)});e.asyncDep=o}else ls(e,o)}else to(e)}function ls(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=vi(t)),to(e)}function to(e,t,n){const r=e.type;e.render||(e.render=r.render||qe);{const s=Xt(e);tt();try{_l(e)}finally{nt(),s()}}}const ec={get(e,t){return fe(e,"get",""),e[t]}};function tc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ec),slots:e.slots,emit:e.emit,expose:t}}function Tn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vi(Ho(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Kt)return Kt[n](e)},has(t,n){return n in t||n in Kt}})):e.proxy}function nc(e){return W(e)&&"__vccOpts"in e}const rc=(e,t)=>$o(e,t,Yt),sc="3.5.40";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.40
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let vr;const cs=typeof window<"u"&&window.trustedTypes;if(cs)try{vr=cs.createPolicy("vue",{createHTML:e=>e})}catch{}const no=vr?e=>vr.createHTML(e):e=>e,ic="http://www.w3.org/2000/svg",oc="http://www.w3.org/1998/Math/MathML",Ge=typeof document<"u"?document:null,us=Ge&&Ge.createElement("template"),lc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ge.createElementNS(ic,e):t==="mathml"?Ge.createElementNS(oc,e):n?Ge.createElement(e,{is:n}):Ge.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ge.createTextNode(e),createComment:e=>Ge.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ge.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{us.innerHTML=no(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=us.content;if(r==="svg"||r==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},cc=Symbol("_vtc");function uc(e,t,n){const r=e[cc];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const fs=Symbol("_vod"),fc=Symbol("_vsh"),ac=Symbol(""),dc=/(?:^|;)\s*display\s*:/;function hc(e,t,n){const r=e.style,s=se(n);let i=!1;if(n&&!s){if(t)if(se(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Ft(r,l,"")}else for(const o in t)n[o]==null&&Ft(r,o,"");for(const o in n){o==="display"&&(i=!0);const l=n[o];l!=null?pc(e,o,!se(t)&&t?t[o]:void 0,l)||Ft(r,o,l):Ft(r,o,"")}}else if(s){if(t!==n){const o=r[ac];o&&(n+=";"+o),r.cssText=n,i=dc.test(n)}}else t&&e.removeAttribute("style");fs in e&&(e[fs]=i?r.display:"",e[fc]&&(r.display="none"))}const as=/\s*!important$/;function Ft(e,t,n){if($(n))n.forEach(r=>Ft(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=gc(e,t);as.test(n)?e.setProperty(mt(r),n.replace(as,""),"important"):e[r]=n}}const ds=["Webkit","Moz","ms"],Fn={};function gc(e,t){const n=Fn[t];if(n)return n;let r=xe(t);if(r!=="filter"&&r in e)return Fn[t]=r;r=ti(r);for(let s=0;s<ds.length;s++){const i=ds[s]+r;if(i in e)return Fn[t]=i}return t}function pc(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&se(r)&&n===r}const hs="http://www.w3.org/1999/xlink";function gs(e,t,n,r,s,i=bo(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(hs,t.slice(6,t.length)):e.setAttributeNS(hs,t,n):n==null||i&&!ri(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ke(n)?String(n):n)}function ps(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?no(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=ri(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function Et(e,t,n,r){e.addEventListener(t,n,r)}function mc(e,t,n,r){e.removeEventListener(t,n,r)}const ms=Symbol("_vei");function bc(e,t,n,r,s=null){const i=e[ms]||(e[ms]={}),o=i[t];if(r&&o)o.value=r;else{const[l,c]=vc(t);if(r){const a=i[t]=Ec(r,s);Et(e,l,a,c)}else o&&(mc(e,l,o,c),i[t]=void 0)}}const _c=/(Once|Passive|Capture)$/,yc=/^on:?(?:Once|Passive|Capture)$/;function vc(e){let t,n;for(;(n=e.match(_c))&&!yc.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):mt(e.slice(2)),t]}let Un=0;const wc=Promise.resolve(),Cc=()=>Un||(wc.then(()=>Un=0),Un=Date.now());function Ec(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const s=n.value;if($(s)){const i=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{i.call(r),r._stopped=!0};const o=s.slice(),l=[r];for(let c=0;c<o.length&&!r._stopped;c++){const a=o[c];a&&Me(a,t,5,l)}}else Me(s,t,5,[r])};return n.value=e,n.attached=Cc(),n}const bs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sc=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?uc(e,r,o):t==="style"?hc(e,n,r):mn(t)?bn(t)||bc(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Tc(e,t,r,o))?(ps(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gs(e,t,r,o,i,t!=="value")):e._isVueCE&&(Ac(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!se(r)))?ps(e,xe(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),gs(e,t,r,o))};function Tc(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&bs(t)&&W(n));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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return bs(t)&&se(n)?!1:t in e}function Ac(e,t){const n=e._def.props;if(!n)return!1;const r=xe(t);return Array.isArray(n)?n.some(s=>xe(s)===r):Object.keys(n).some(s=>xe(s)===r)}const _s=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>sn(t,n):t};function xc(e){e.target.composing=!0}function ys(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Hn=Symbol("_assign");function vs(e,t,n){return t&&(e=e.trim()),n&&(e=Sr(e)),e}const jn={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Hn]=_s(s);const i=r||s.props&&s.props.type==="number";Et(e,t?"change":"input",o=>{o.target.composing||e[Hn](vs(e.value,n,i))}),(n||i)&&Et(e,"change",()=>{e.value=vs(e.value,n,i)}),t||(Et(e,"compositionstart",xc),Et(e,"compositionend",ys),Et(e,"change",ys))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:i}},o){if(e[Hn]=_s(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Sr(e.value):e.value,c=t??"";if(l===c)return;const a=e.getRootNode();(a instanceof Document||a instanceof ShadowRoot)&&a.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===c)||(e.value=c)}},Rc=ue({patchProp:Sc},lc);let ws;function Pc(){return ws||(ws=Ul(Rc))}const Mc=((...e)=>{const t=Pc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Bc(r);if(!s)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,Ic(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t});function Ic(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Bc(e){return se(e)?document.querySelector(e):e}function Nc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var wt={},Vn,Cs;function Oc(){return Cs||(Cs=1,Vn=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Vn}var qn={},lt={},Es;function bt(){if(Es)return lt;Es=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return lt.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},lt.getSymbolTotalCodewords=function(r){return t[r]},lt.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},lt.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');e=r},lt.isKanjiModeEnabled=function(){return typeof e<"u"},lt.toSJIS=function(r){return e(r)},lt}var kn={},Ss;function jr(){return Ss||(Ss=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,s){if(e.isValid(r))return r;try{return t(r)}catch{return s}}})(kn)),kn}var Kn,Ts;function Lc(){if(Ts)return Kn;Ts=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let r=0;r<n;r++)this.putBit((t>>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},Kn=e,Kn}var $n,As;function Dc(){if(As)return $n;As=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,r,s){const i=t*this.size+n;this.data[i]=r,s&&(this.reservedBit[i]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,r){this.data[t*this.size+n]^=r},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},$n=e,$n}var Wn={},xs;function Fc(){return xs||(xs=1,(function(e){const t=bt().getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const s=Math.floor(r/7)+2,i=t(r),o=i===145?26:Math.ceil((i-13)/(2*s-2))*2,l=[i-7];for(let c=1;c<s-1;c++)l[c]=l[c-1]-o;return l.push(6),l.reverse()},e.getPositions=function(r){const s=[],i=e.getRowColCoords(r),o=i.length;for(let l=0;l<o;l++)for(let c=0;c<o;c++)l===0&&c===0||l===0&&c===o-1||l===o-1&&c===0||s.push([i[l],i[c]]);return s}})(Wn)),Wn}var zn={},Rs;function Uc(){if(Rs)return zn;Rs=1;const e=bt().getSymbolSize,t=7;return zn.getPositions=function(r){const s=e(r);return[[0,0],[s-t,0],[0,s-t]]},zn}var Jn={},Ps;function Hc(){return Ps||(Ps=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(s){return s!=null&&s!==""&&!isNaN(s)&&s>=0&&s<=7},e.from=function(s){return e.isValid(s)?parseInt(s,10):void 0},e.getPenaltyN1=function(s){const i=s.size;let o=0,l=0,c=0,a=null,f=null;for(let h=0;h<i;h++){l=c=0,a=f=null;for(let p=0;p<i;p++){let m=s.get(h,p);m===a?l++:(l>=5&&(o+=t.N1+(l-5)),a=m,l=1),m=s.get(p,h),m===f?c++:(c>=5&&(o+=t.N1+(c-5)),f=m,c=1)}l>=5&&(o+=t.N1+(l-5)),c>=5&&(o+=t.N1+(c-5))}return o},e.getPenaltyN2=function(s){const i=s.size;let o=0;for(let l=0;l<i-1;l++)for(let c=0;c<i-1;c++){const a=s.get(l,c)+s.get(l,c+1)+s.get(l+1,c)+s.get(l+1,c+1);(a===4||a===0)&&o++}return o*t.N2},e.getPenaltyN3=function(s){const i=s.size;let o=0,l=0,c=0;for(let a=0;a<i;a++){l=c=0;for(let f=0;f<i;f++)l=l<<1&2047|s.get(a,f),f>=10&&(l===1488||l===93)&&o++,c=c<<1&2047|s.get(f,a),f>=10&&(c===1488||c===93)&&o++}return o*t.N3},e.getPenaltyN4=function(s){let i=0;const o=s.data.length;for(let c=0;c<o;c++)i+=s.data[c];return Math.abs(Math.ceil(i*100/o/5)-10)*t.N4};function n(r,s,i){switch(r){case e.Patterns.PATTERN000:return(s+i)%2===0;case e.Patterns.PATTERN001:return s%2===0;case e.Patterns.PATTERN010:return i%3===0;case e.Patterns.PATTERN011:return(s+i)%3===0;case e.Patterns.PATTERN100:return(Math.floor(s/2)+Math.floor(i/3))%2===0;case e.Patterns.PATTERN101:return s*i%2+s*i%3===0;case e.Patterns.PATTERN110:return(s*i%2+s*i%3)%2===0;case e.Patterns.PATTERN111:return(s*i%3+(s+i)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(s,i){const o=i.size;for(let l=0;l<o;l++)for(let c=0;c<o;c++)i.isReserved(c,l)||i.xor(c,l,n(s,c,l))},e.getBestMask=function(s,i){const o=Object.keys(e.Patterns).length;let l=0,c=1/0;for(let a=0;a<o;a++){i(a),e.applyMask(a,s);const f=e.getPenaltyN1(s)+e.getPenaltyN2(s)+e.getPenaltyN3(s)+e.getPenaltyN4(s);e.applyMask(a,s),f<c&&(c=f,l=a)}return l}})(Jn)),Jn}var rn={},Ms;function ro(){if(Ms)return rn;Ms=1;const e=jr(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return rn.getBlocksCount=function(s,i){switch(i){case e.L:return t[(s-1)*4+0];case e.M:return t[(s-1)*4+1];case e.Q:return t[(s-1)*4+2];case e.H:return t[(s-1)*4+3];default:return}},rn.getTotalCodewordsCount=function(s,i){switch(i){case e.L:return n[(s-1)*4+0];case e.M:return n[(s-1)*4+1];case e.Q:return n[(s-1)*4+2];case e.H:return n[(s-1)*4+3];default:return}},rn}var Yn={},Ot={},Is;function jc(){if(Is)return Ot;Is=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let r=1;for(let s=0;s<255;s++)e[s]=r,t[r]=s,r<<=1,r&256&&(r^=285);for(let s=255;s<512;s++)e[s]=e[s-255]})(),Ot.log=function(r){if(r<1)throw new Error("log("+r+")");return t[r]},Ot.exp=function(r){return e[r]},Ot.mul=function(r,s){return r===0||s===0?0:e[t[r]+t[s]]},Ot}var Bs;function Vc(){return Bs||(Bs=1,(function(e){const t=jc();e.mul=function(r,s){const i=new Uint8Array(r.length+s.length-1);for(let o=0;o<r.length;o++)for(let l=0;l<s.length;l++)i[o+l]^=t.mul(r[o],s[l]);return i},e.mod=function(r,s){let i=new Uint8Array(r);for(;i.length-s.length>=0;){const o=i[0];for(let c=0;c<s.length;c++)i[c]^=t.mul(s[c],o);let l=0;for(;l<i.length&&i[l]===0;)l++;i=i.slice(l)}return i},e.generateECPolynomial=function(r){let s=new Uint8Array([1]);for(let i=0;i<r;i++)s=e.mul(s,new Uint8Array([1,t.exp(i)]));return s}})(Yn)),Yn}var Gn,Ns;function qc(){if(Ns)return Gn;Ns=1;const e=Vc();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(r){this.degree=r,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(r){if(!this.genPoly)throw new Error("Encoder not initialized");const s=new Uint8Array(r.length+this.degree);s.set(r);const i=e.mod(s,this.genPoly),o=this.degree-i.length;if(o>0){const l=new Uint8Array(this.degree);return l.set(i,o),l}return i},Gn=t,Gn}var Qn={},Xn={},Zn={},Os;function so(){return Os||(Os=1,Zn.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Zn}var De={},Ls;function io(){if(Ls)return De;Ls=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
18
|
+
]))+`;De.KANJI=new RegExp(n,"g"),De.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),De.BYTE=new RegExp(r,"g"),De.NUMERIC=new RegExp(e,"g"),De.ALPHANUMERIC=new RegExp(t,"g");const s=new RegExp("^"+n+"$"),i=new RegExp("^"+e+"$"),o=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return De.testKanji=function(c){return s.test(c)},De.testNumeric=function(c){return i.test(c)},De.testAlphanumeric=function(c){return o.test(c)},De}var Ds;function _t(){return Ds||(Ds=1,(function(e){const t=so(),n=io();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(i,o){if(!i.ccBits)throw new Error("Invalid mode: "+i);if(!t.isValid(o))throw new Error("Invalid version: "+o);return o>=1&&o<10?i.ccBits[0]:o<27?i.ccBits[1]:i.ccBits[2]},e.getBestModeForData=function(i){return n.testNumeric(i)?e.NUMERIC:n.testAlphanumeric(i)?e.ALPHANUMERIC:n.testKanji(i)?e.KANJI:e.BYTE},e.toString=function(i){if(i&&i.id)return i.id;throw new Error("Invalid mode")},e.isValid=function(i){return i&&i.bit&&i.ccBits};function r(s){if(typeof s!="string")throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+s)}}e.from=function(i,o){if(e.isValid(i))return i;try{return r(i)}catch{return o}}})(Xn)),Xn}var Fs;function kc(){return Fs||(Fs=1,(function(e){const t=bt(),n=ro(),r=jr(),s=_t(),i=so(),o=7973,l=t.getBCHDigit(o);function c(p,m,M){for(let S=1;S<=40;S++)if(m<=e.getCapacity(S,M,p))return S}function a(p,m){return s.getCharCountIndicator(p,m)+4}function f(p,m){let M=0;return p.forEach(function(S){const K=a(S.mode,m);M+=K+S.getBitsLength()}),M}function h(p,m){for(let M=1;M<=40;M++)if(f(p,M)<=e.getCapacity(M,m,s.MIXED))return M}e.from=function(m,M){return i.isValid(m)?parseInt(m,10):M},e.getCapacity=function(m,M,S){if(!i.isValid(m))throw new Error("Invalid QR Code version");typeof S>"u"&&(S=s.BYTE);const K=t.getSymbolTotalCodewords(m),B=n.getTotalCodewordsCount(m,M),I=(K-B)*8;if(S===s.MIXED)return I;const P=I-a(S,m);switch(S){case s.NUMERIC:return Math.floor(P/10*3);case s.ALPHANUMERIC:return Math.floor(P/11*2);case s.KANJI:return Math.floor(P/13);case s.BYTE:default:return Math.floor(P/8)}},e.getBestVersionForData=function(m,M){let S;const K=r.from(M,r.M);if(Array.isArray(m)){if(m.length>1)return h(m,K);if(m.length===0)return 1;S=m[0]}else S=m;return c(S.mode,S.getLength(),K)},e.getEncodedBits=function(m){if(!i.isValid(m)||m<7)throw new Error("Invalid QR Code version");let M=m<<12;for(;t.getBCHDigit(M)-l>=0;)M^=o<<t.getBCHDigit(M)-l;return m<<12|M}})(Qn)),Qn}var er={},Us;function Kc(){if(Us)return er;Us=1;const e=bt(),t=1335,n=21522,r=e.getBCHDigit(t);return er.getEncodedBits=function(i,o){const l=i.bit<<3|o;let c=l<<10;for(;e.getBCHDigit(c)-r>=0;)c^=t<<e.getBCHDigit(c)-r;return(l<<10|c)^n},er}var tr={},nr,Hs;function $c(){if(Hs)return nr;Hs=1;const e=_t();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(r){return 10*Math.floor(r/3)+(r%3?r%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){let s,i,o;for(s=0;s+3<=this.data.length;s+=3)i=this.data.substr(s,3),o=parseInt(i,10),r.put(o,10);const l=this.data.length-s;l>0&&(i=this.data.substr(s),o=parseInt(i,10),r.put(o,l*3+1))},nr=t,nr}var rr,js;function Wc(){if(js)return rr;js=1;const e=_t(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=e.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(s){return 11*Math.floor(s/2)+6*(s%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let i;for(i=0;i+2<=this.data.length;i+=2){let o=t.indexOf(this.data[i])*45;o+=t.indexOf(this.data[i+1]),s.put(o,11)}this.data.length%2&&s.put(t.indexOf(this.data[i]),6)},rr=n,rr}var sr,Vs;function zc(){if(Vs)return sr;Vs=1;const e=_t();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(r){return r*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let r=0,s=this.data.length;r<s;r++)n.put(this.data[r],8)},sr=t,sr}var ir,qs;function Jc(){if(qs)return ir;qs=1;const e=_t(),t=bt();function n(r){this.mode=e.KANJI,this.data=r}return n.getBitsLength=function(s){return s*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let s;for(s=0;s<this.data.length;s++){let i=t.toSJIS(this.data[s]);if(i>=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[s]+`
|
|
19
|
+
Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),r.put(i,13)}},ir=n,ir}var or={exports:{}},ks;function Yc(){return ks||(ks=1,(function(e){var t={single_source_shortest_paths:function(n,r,s){var i={},o={};o[r]=0;var l=t.PriorityQueue.make();l.push(r,0);for(var c,a,f,h,p,m,M,S,K;!l.empty();){c=l.pop(),a=c.value,h=c.cost,p=n[a]||{};for(f in p)p.hasOwnProperty(f)&&(m=p[f],M=h+m,S=o[f],K=typeof o[f]>"u",(K||S>M)&&(o[f]=M,l.push(f,M),i[f]=a))}if(typeof s<"u"&&typeof o[s]>"u"){var B=["Could not find a path from ",r," to ",s,"."].join("");throw new Error(B)}return i},extract_shortest_path_from_predecessor_list:function(n,r){for(var s=[],i=r;i;)s.push(i),n[i],i=n[i];return s.reverse(),s},find_path:function(n,r,s){var i=t.single_source_shortest_paths(n,r,s);return t.extract_shortest_path_from_predecessor_list(i,s)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,s={},i;n=n||{};for(i in r)r.hasOwnProperty(i)&&(s[i]=r[i]);return s.queue=[],s.sorter=n.sorter||r.default_sorter,s},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var s={value:n,cost:r};this.queue.push(s),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(or)),or.exports}var Ks;function Gc(){return Ks||(Ks=1,(function(e){const t=_t(),n=$c(),r=Wc(),s=zc(),i=Jc(),o=io(),l=bt(),c=Yc();function a(B){return unescape(encodeURIComponent(B)).length}function f(B,I,P){const w=[];let z;for(;(z=B.exec(P))!==null;)w.push({data:z[0],index:z.index,mode:I,length:z[0].length});return w}function h(B){const I=f(o.NUMERIC,t.NUMERIC,B),P=f(o.ALPHANUMERIC,t.ALPHANUMERIC,B);let w,z;return l.isKanjiModeEnabled()?(w=f(o.BYTE,t.BYTE,B),z=f(o.KANJI,t.KANJI,B)):(w=f(o.BYTE_KANJI,t.BYTE,B),z=[]),I.concat(P,w,z).sort(function(F,U){return F.index-U.index}).map(function(F){return{data:F.data,mode:F.mode,length:F.length}})}function p(B,I){switch(I){case t.NUMERIC:return n.getBitsLength(B);case t.ALPHANUMERIC:return r.getBitsLength(B);case t.KANJI:return i.getBitsLength(B);case t.BYTE:return s.getBitsLength(B)}}function m(B){return B.reduce(function(I,P){const w=I.length-1>=0?I[I.length-1]:null;return w&&w.mode===P.mode?(I[I.length-1].data+=P.data,I):(I.push(P),I)},[])}function M(B){const I=[];for(let P=0;P<B.length;P++){const w=B[P];switch(w.mode){case t.NUMERIC:I.push([w,{data:w.data,mode:t.ALPHANUMERIC,length:w.length},{data:w.data,mode:t.BYTE,length:w.length}]);break;case t.ALPHANUMERIC:I.push([w,{data:w.data,mode:t.BYTE,length:w.length}]);break;case t.KANJI:I.push([w,{data:w.data,mode:t.BYTE,length:a(w.data)}]);break;case t.BYTE:I.push([{data:w.data,mode:t.BYTE,length:a(w.data)}])}}return I}function S(B,I){const P={},w={start:{}};let z=["start"];for(let O=0;O<B.length;O++){const F=B[O],U=[];for(let D=0;D<F.length;D++){const H=F[D],T=""+O+D;U.push(T),P[T]={node:H,lastCount:0},w[T]={};for(let b=0;b<z.length;b++){const _=z[b];P[_]&&P[_].node.mode===H.mode?(w[_][T]=p(P[_].lastCount+H.length,H.mode)-p(P[_].lastCount,H.mode),P[_].lastCount+=H.length):(P[_]&&(P[_].lastCount=H.length),w[_][T]=p(H.length,H.mode)+4+t.getCharCountIndicator(H.mode,I))}}z=U}for(let O=0;O<z.length;O++)w[z[O]].end=0;return{map:w,table:P}}function K(B,I){let P;const w=t.getBestModeForData(B);if(P=t.from(I,w),P!==t.BYTE&&P.bit<w.bit)throw new Error('"'+B+'" cannot be encoded with mode '+t.toString(P)+`.
|
|
20
|
+
Suggested mode is: `+t.toString(w));switch(P===t.KANJI&&!l.isKanjiModeEnabled()&&(P=t.BYTE),P){case t.NUMERIC:return new n(B);case t.ALPHANUMERIC:return new r(B);case t.KANJI:return new i(B);case t.BYTE:return new s(B)}}e.fromArray=function(I){return I.reduce(function(P,w){return typeof w=="string"?P.push(K(w,null)):w.data&&P.push(K(w.data,w.mode)),P},[])},e.fromString=function(I,P){const w=h(I,l.isKanjiModeEnabled()),z=M(w),O=S(z,P),F=c.find_path(O.map,"start","end"),U=[];for(let D=1;D<F.length-1;D++)U.push(O.table[F[D]].node);return e.fromArray(m(U))},e.rawSplit=function(I){return e.fromArray(h(I,l.isKanjiModeEnabled()))}})(tr)),tr}var $s;function Qc(){if($s)return qn;$s=1;const e=bt(),t=jr(),n=Lc(),r=Dc(),s=Fc(),i=Uc(),o=Hc(),l=ro(),c=qc(),a=kc(),f=Kc(),h=_t(),p=Gc();function m(O,F){const U=O.size,D=i.getPositions(F);for(let H=0;H<D.length;H++){const T=D[H][0],b=D[H][1];for(let _=-1;_<=7;_++)if(!(T+_<=-1||U<=T+_))for(let q=-1;q<=7;q++)b+q<=-1||U<=b+q||(_>=0&&_<=6&&(q===0||q===6)||q>=0&&q<=6&&(_===0||_===6)||_>=2&&_<=4&&q>=2&&q<=4?O.set(T+_,b+q,!0,!0):O.set(T+_,b+q,!1,!0))}}function M(O){const F=O.size;for(let U=8;U<F-8;U++){const D=U%2===0;O.set(U,6,D,!0),O.set(6,U,D,!0)}}function S(O,F){const U=s.getPositions(F);for(let D=0;D<U.length;D++){const H=U[D][0],T=U[D][1];for(let b=-2;b<=2;b++)for(let _=-2;_<=2;_++)b===-2||b===2||_===-2||_===2||b===0&&_===0?O.set(H+b,T+_,!0,!0):O.set(H+b,T+_,!1,!0)}}function K(O,F){const U=O.size,D=a.getEncodedBits(F);let H,T,b;for(let _=0;_<18;_++)H=Math.floor(_/3),T=_%3+U-8-3,b=(D>>_&1)===1,O.set(H,T,b,!0),O.set(T,H,b,!0)}function B(O,F,U){const D=O.size,H=f.getEncodedBits(F,U);let T,b;for(T=0;T<15;T++)b=(H>>T&1)===1,T<6?O.set(T,8,b,!0):T<8?O.set(T+1,8,b,!0):O.set(D-15+T,8,b,!0),T<8?O.set(8,D-T-1,b,!0):T<9?O.set(8,15-T-1+1,b,!0):O.set(8,15-T-1,b,!0);O.set(D-8,8,1,!0)}function I(O,F){const U=O.size;let D=-1,H=U-1,T=7,b=0;for(let _=U-1;_>0;_-=2)for(_===6&&_--;;){for(let q=0;q<2;q++)if(!O.isReserved(H,_-q)){let Te=!1;b<F.length&&(Te=(F[b]>>>T&1)===1),O.set(H,_-q,Te),T--,T===-1&&(b++,T=7)}if(H+=D,H<0||U<=H){H-=D,D=-D;break}}}function P(O,F,U){const D=new n;U.forEach(function(q){D.put(q.mode.bit,4),D.put(q.getLength(),h.getCharCountIndicator(q.mode,O)),q.write(D)});const H=e.getSymbolTotalCodewords(O),T=l.getTotalCodewordsCount(O,F),b=(H-T)*8;for(D.getLengthInBits()+4<=b&&D.put(0,4);D.getLengthInBits()%8!==0;)D.putBit(0);const _=(b-D.getLengthInBits())/8;for(let q=0;q<_;q++)D.put(q%2?17:236,8);return w(D,O,F)}function w(O,F,U){const D=e.getSymbolTotalCodewords(F),H=l.getTotalCodewordsCount(F,U),T=D-H,b=l.getBlocksCount(F,U),_=D%b,q=b-_,Te=Math.floor(D/b),ie=Math.floor(T/b),re=ie+1,Q=Te-ie,$e=new c(Q);let it=0;const Ce=new Array(b),be=new Array(b);let yt=0;const An=new Uint8Array(O.buffer);for(let We=0;We<b;We++){const ze=We<q?ie:re;Ce[We]=An.slice(it,it+ze),be[We]=$e.encode(Ce[We]),it+=ze,yt=Math.max(yt,ze)}const Mt=new Uint8Array(D);let ot=0,pe,_e;for(pe=0;pe<yt;pe++)for(_e=0;_e<b;_e++)pe<Ce[_e].length&&(Mt[ot++]=Ce[_e][pe]);for(pe=0;pe<Q;pe++)for(_e=0;_e<b;_e++)Mt[ot++]=be[_e][pe];return Mt}function z(O,F,U,D){let H;if(Array.isArray(O))H=p.fromArray(O);else if(typeof O=="string"){let Te=F;if(!Te){const ie=p.rawSplit(O);Te=a.getBestVersionForData(ie,U)}H=p.fromString(O,Te||40)}else throw new Error("Invalid data");const T=a.getBestVersionForData(H,U);if(!T)throw new Error("The amount of data is too big to be stored in a QR Code");if(!F)F=T;else if(F<T)throw new Error(`
|
|
21
|
+
The chosen QR Code version cannot contain this amount of data.
|
|
22
|
+
Minimum version required to store current data is: `+T+`.
|
|
23
|
+
`);const b=P(F,U,H),_=e.getSymbolSize(F),q=new r(_);return m(q,F),M(q),S(q,F),B(q,U,0),F>=7&&K(q,F),I(q,b),isNaN(D)&&(D=o.getBestMask(q,B.bind(null,q,U))),o.applyMask(D,q),B(q,U,D),{modules:q,version:F,errorCorrectionLevel:U,maskPattern:D,segments:H}}return qn.create=function(F,U){if(typeof F>"u"||F==="")throw new Error("No input text");let D=t.M,H,T;return typeof U<"u"&&(D=t.from(U.errorCorrectionLevel,t.M),H=a.from(U.version),T=o.from(U.maskPattern),U.toSJISFunc&&e.setToSJISFunction(U.toSJISFunc)),z(F,H,D,T)},qn}var lr={},cr={},Ws;function oo(){return Ws||(Ws=1,(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(i){return[i,i]}))),r.length===6&&r.push("F","F");const s=parseInt(r.join(""),16);return{r:s>>24&255,g:s>>16&255,b:s>>8&255,a:s&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const s=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,i=r.width&&r.width>=21?r.width:void 0,o=r.scale||4;return{width:i,scale:i?4:o,margin:s,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,s){return s.width&&s.width>=r+s.margin*2?s.width/(r+s.margin*2):s.scale},e.getImageWidth=function(r,s){const i=e.getScale(r,s);return Math.floor((r+s.margin*2)*i)},e.qrToImageData=function(r,s,i){const o=s.modules.size,l=s.modules.data,c=e.getScale(o,i),a=Math.floor((o+i.margin*2)*c),f=i.margin*c,h=[i.color.light,i.color.dark];for(let p=0;p<a;p++)for(let m=0;m<a;m++){let M=(p*a+m)*4,S=i.color.light;if(p>=f&&m>=f&&p<a-f&&m<a-f){const K=Math.floor((p-f)/c),B=Math.floor((m-f)/c);S=h[l[K*o+B]?1:0]}r[M++]=S.r,r[M++]=S.g,r[M++]=S.b,r[M]=S.a}}})(cr)),cr}var zs;function Xc(){return zs||(zs=1,(function(e){const t=oo();function n(s,i,o){s.clearRect(0,0,i.width,i.height),i.style||(i.style={}),i.height=o,i.width=o,i.style.height=o+"px",i.style.width=o+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(i,o,l){let c=l,a=o;typeof c>"u"&&(!o||!o.getContext)&&(c=o,o=void 0),o||(a=r()),c=t.getOptions(c);const f=t.getImageWidth(i.modules.size,c),h=a.getContext("2d"),p=h.createImageData(f,f);return t.qrToImageData(p.data,i,c),n(h,a,f),h.putImageData(p,0,0),a},e.renderToDataURL=function(i,o,l){let c=l;typeof c>"u"&&(!o||!o.getContext)&&(c=o,o=void 0),c||(c={});const a=e.render(i,o,c),f=c.type||"image/png",h=c.rendererOpts||{};return a.toDataURL(f,h.quality)}})(lr)),lr}var ur={},Js;function Zc(){if(Js)return ur;Js=1;const e=oo();function t(s,i){const o=s.a/255,l=i+'="'+s.hex+'"';return o<1?l+" "+i+'-opacity="'+o.toFixed(2).slice(1)+'"':l}function n(s,i,o){let l=s+i;return typeof o<"u"&&(l+=" "+o),l}function r(s,i,o){let l="",c=0,a=!1,f=0;for(let h=0;h<s.length;h++){const p=Math.floor(h%i),m=Math.floor(h/i);!p&&!a&&(a=!0),s[h]?(f++,h>0&&p>0&&s[h-1]||(l+=a?n("M",p+o,.5+m+o):n("m",c,0),c=0,a=!1),p+1<i&&s[h+1]||(l+=n("h",f),f=0)):c++}return l}return ur.render=function(i,o,l){const c=e.getOptions(o),a=i.modules.size,f=i.modules.data,h=a+c.margin*2,p=c.color.light.a?"<path "+t(c.color.light,"fill")+' d="M0 0h'+h+"v"+h+'H0z"/>':"",m="<path "+t(c.color.dark,"stroke")+' d="'+r(f,a,c.margin)+'"/>',M='viewBox="0 0 '+h+" "+h+'"',K='<svg xmlns="http://www.w3.org/2000/svg" '+(c.width?'width="'+c.width+'" height="'+c.width+'" ':"")+M+' shape-rendering="crispEdges">'+p+m+`</svg>
|
|
24
|
+
`;return typeof l=="function"&&l(null,K),K},ur}var Ys;function eu(){if(Ys)return wt;Ys=1;const e=Oc(),t=Qc(),n=Xc(),r=Zc();function s(i,o,l,c,a){const f=[].slice.call(arguments,1),h=f.length,p=typeof f[h-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(h<2)throw new Error("Too few arguments provided");h===2?(a=l,l=o,o=c=void 0):h===3&&(o.getContext&&typeof a>"u"?(a=c,c=void 0):(a=c,c=l,l=o,o=void 0))}else{if(h<1)throw new Error("Too few arguments provided");return h===1?(l=o,o=c=void 0):h===2&&!o.getContext&&(c=l,l=o,o=void 0),new Promise(function(m,M){try{const S=t.create(l,c);m(i(S,o,c))}catch(S){M(S)}})}try{const m=t.create(l,c);a(null,i(m,o,c))}catch(m){a(m)}}return wt.create=t.create,wt.toCanvas=s.bind(null,n.render),wt.toDataURL=s.bind(null,n.renderToDataURL),wt.toString=s.bind(null,function(i,o,l){return r.render(i,l)}),wt}var tu=eu();const nu=Nc(tu),ru={class:"app"},su={class:"content"},iu={class:"card"},ou={class:"input-wrap"},lu={class:"input-footer"},cu={class:"input-hint"},uu={class:"options-toggle-wrap"},fu={key:0,class:"options-panel"},au={class:"option-group"},du={class:"chip-row"},hu=["onClick"],gu={class:"option-group"},pu={class:"ecl-list"},mu=["onClick"],bu={class:"ecl-label"},_u={class:"ecl-desc"},yu={class:"option-group"},vu={class:"chip-row"},wu=["onClick"],Cu={class:"option-group"},Eu={class:"color-row"},Su={class:"color-field"},Tu={class:"color-inner"},Au={class:"color-hex"},xu={class:"color-field"},Ru={class:"color-inner"},Pu={class:"color-hex"},Mu={class:"card card-preview"},Iu={class:"preview-wrap"},Bu={key:0,class:"preview-placeholder"},Nu={class:"preview-actions"},Ou=["disabled"],Lu=["disabled"],Du={class:"toast-wrap"},Fu={class:"toast-icon"},Uu={class:"toast-msg"},Hu=sl({__name:"App",setup(e){const t=Oe(""),n=Oe(256),r=Oe("M"),s=Oe("#06b6d4"),i=Oe("#ffffff"),o=Oe(null),l=Oe(!1);let c=null;const a=Oe([]);let f=0;const h=new Map,p=[{label:"小 (128×128)",value:128},{label:"中 (256×256)",value:256},{label:"大 (384×384)",value:384},{label:"超大 (512×512)",value:512}],m=[{label:"L — 低 (~7%)",desc:"适合大数据量或简单场景",value:"L"},{label:"M — 中 (~15%)",desc:"推荐日常使用",value:"M"},{label:"Q — 较高 (~25%)",desc:"适合带 Logo 的二维码",value:"Q"},{label:"H — 高 (~30%)",desc:"适合高风险或印刷场景",value:"H"}],M=[{label:"经典黑",fg:"#000000",bg:"#ffffff"},{label:"青色",fg:"#06b6d4",bg:"#ffffff"},{label:"靛蓝",fg:"#6366f1",bg:"#ffffff"},{label:"翠绿",fg:"#10b981",bg:"#ffffff"},{label:"深色主题",fg:"#e2e8f0",bg:"#0f172a"},{label:"温暖橙",fg:"#f97316",bg:"#ffffff"}],S=Oe(0),K=Oe(!1);function B(){c&&(clearTimeout(c),c=null);const T=t.value.trim();if(!T){l.value=!1,P();return}c=setTimeout(()=>{I(T),c=null},300)}async function I(T){const b=o.value;if(b)try{await nu.toCanvas(b,T,{width:n.value,margin:2,errorCorrectionLevel:r.value,color:{dark:s.value,light:i.value}}),l.value=!0}catch(_){console.error("二维码生成失败:",_),l.value=!1,P(),w("二维码生成失败,请检查输入内容","error")}}function P(){const T=o.value;if(!T)return;const b=T.getContext("2d");b&&b.clearRect(0,0,T.width,T.height)}function w(T,b="info"){const _=++f;a.value.push({id:_,message:T,type:b}),h.set(_,setTimeout(()=>z(_),2500))}function z(T){const b=a.value.find(_=>_.id===T);b&&(b.leaving=!0,setTimeout(()=>{a.value=a.value.filter(_=>_.id!==T),h.delete(T)},200))}function O(){const T=o.value;if(!T||!l.value){w("没有可下载的二维码","error");return}try{const b=T.toDataURL("image/png"),_=document.createElement("a");_.download=`qrcode-${Date.now()}.png`,_.href=b,document.body.appendChild(_),_.click(),document.body.removeChild(_),w("二维码已下载","success")}catch(b){console.error("下载失败:",b),w("下载失败","error")}}async function F(){const T=o.value;if(!T||!l.value){w("没有可复制的二维码","error");return}try{const b=await new Promise(_=>{T.toBlob(q=>_(q),"image/png")});if(!b){w("生成图片失败","error");return}await navigator.clipboard.write([new ClipboardItem({[b.type]:b})]),w("二维码图片已复制到剪贴板","success")}catch{w("复制失败,请检查剪贴板权限","error")}}function U(){t.value="",l.value=!1,P()}function D(T){s.value=T.fg,i.value=T.bg}function H(){K.value=!K.value}return Vt(t,()=>{S.value=t.value.length}),Vt([t,n,r,s,i],()=>{B()}),Bi(()=>{Ci(()=>{P()})}),Fr(()=>{h.forEach(T=>clearTimeout(T)),h.clear(),c&&(clearTimeout(c),c=null)}),(T,b)=>(Fe(),Ye("div",ru,[L("main",su,[L("div",iu,[b[11]||(b[11]=L("div",{class:"card-head"},[L("h2",{class:"card-title"},"输入内容"),L("p",{class:"card-desc"},"输入文本或链接,自动生成二维码")],-1)),L("div",ou,[Bn(L("textarea",{"onUpdate:modelValue":b[0]||(b[0]=_=>t.value=_),class:"input-area",placeholder:"输入要编码的文本、URL 或任意内容...",rows:"4",maxlength:"2953",spellcheck:"false"},null,512),[[jn,t.value]]),L("div",lu,[L("span",cu,Ae(S.value)+" / 2953 个字符",1),t.value?(Fe(),Ye("button",{key:0,class:"btn-ghost-sm",onClick:U},[...b[3]||(b[3]=[L("svg",{class:"ic-sm",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),L("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1),Dt(" 清除 ",-1)])])):Dn("",!0)])]),L("div",uu,[L("button",{class:"btn-ghost-sm",onClick:H},[b[4]||(b[4]=L("svg",{class:"ic-sm",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("circle",{cx:"12",cy:"12",r:"3"}),L("path",{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"})],-1)),Dt(" "+Ae(K.value?"收起选项":"展开选项"),1)])]),K.value?(Fe(),Ye("div",fu,[L("div",au,[b[5]||(b[5]=L("label",{class:"option-label"},"二维码尺寸",-1)),L("div",du,[(Fe(),Ye(ve,null,nn(p,_=>L("button",{key:_.value,class:Qe(["chip",n.value===_.value&&"chip-active"]),onClick:q=>n.value=_.value},Ae(_.label),11,hu)),64))])]),L("div",gu,[b[6]||(b[6]=L("label",{class:"option-label"},"纠错级别",-1)),L("div",pu,[(Fe(),Ye(ve,null,nn(m,_=>L("button",{key:_.value,class:Qe(["ecl-item",r.value===_.value&&"ecl-item-active"]),onClick:q=>r.value=_.value},[L("span",bu,Ae(_.label),1),L("span",_u,Ae(_.desc),1)],10,mu)),64))])]),L("div",yu,[b[7]||(b[7]=L("label",{class:"option-label"},"颜色主题",-1)),L("div",vu,[(Fe(),Ye(ve,null,nn(M,_=>L("button",{key:_.label,class:Qe(["chip",s.value===_.fg&&i.value===_.bg&&"chip-active"]),onClick:q=>D(_)},Ae(_.label),11,wu)),64))])]),L("div",Cu,[b[10]||(b[10]=L("label",{class:"option-label"},"自定义颜色",-1)),L("div",Eu,[L("div",Su,[b[8]||(b[8]=L("label",{class:"color-label"},"前景",-1)),L("div",Tu,[Bn(L("input",{type:"color","onUpdate:modelValue":b[1]||(b[1]=_=>s.value=_),class:"color-pick"},null,512),[[jn,s.value]]),L("span",Au,Ae(s.value),1)])]),L("div",xu,[b[9]||(b[9]=L("label",{class:"color-label"},"背景",-1)),L("div",Ru,[Bn(L("input",{type:"color","onUpdate:modelValue":b[2]||(b[2]=_=>i.value=_),class:"color-pick"},null,512),[[jn,i.value]]),L("span",Pu,Ae(i.value),1)])])])])])):Dn("",!0)]),L("div",Mu,[b[15]||(b[15]=L("div",{class:"card-head"},[L("h2",{class:"card-title"},"预览"),L("p",{class:"card-desc"},"实时预览生成的二维码")],-1)),L("div",Iu,[L("div",{class:Qe(["preview-stage",l.value&&"preview-stage-active"])},[L("canvas",{ref_key:"canvasRef",ref:o,class:Qe(["qr-canvas",{"qr-visible":l.value}])},null,2),l.value?Dn("",!0):(Fe(),Ye("div",Bu,[...b[12]||(b[12]=[Wl('<svg class="placeholder-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" data-v-0448b6bc><rect x="3" y="3" width="7" height="7" rx="1" data-v-0448b6bc></rect><rect x="14" y="3" width="7" height="7" rx="1" data-v-0448b6bc></rect><rect x="3" y="14" width="7" height="7" rx="1" data-v-0448b6bc></rect><rect x="14" y="14" width="7" height="7" rx="1" data-v-0448b6bc></rect><rect x="5" y="5" width="3" height="3" rx="0.25" data-v-0448b6bc></rect><rect x="16" y="5" width="3" height="3" rx="0.25" data-v-0448b6bc></rect><rect x="5" y="16" width="3" height="3" rx="0.25" data-v-0448b6bc></rect><rect x="16" y="16" width="3" height="3" rx="0.25" data-v-0448b6bc></rect></svg><p class="placeholder-text" data-v-0448b6bc>输入内容后自动生成</p>',2)])]))],2)]),L("div",Nu,[L("button",{class:"btn-primary btn-block",disabled:!l.value,onClick:O},[...b[13]||(b[13]=[L("svg",{class:"ic",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),L("polyline",{points:"7 10 12 15 17 10"}),L("line",{x1:"12",y1:"15",x2:"12",y2:"3"})],-1),Dt(" 下载 PNG ",-1)])],8,Ou),L("button",{class:"btn-ghost btn-block",disabled:!l.value,onClick:F},[...b[14]||(b[14]=[L("svg",{class:"ic",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[L("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),L("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})],-1),Dt(" 复制图片 ",-1)])],8,Lu)])])]),L("div",Du,[(Fe(!0),Ye(ve,null,nn(a.value,_=>(Fe(),Ye("div",{key:_.id,class:Qe(["toast",`toast-${_.type}`,_.leaving&&"leaving"])},[L("span",Fu,Ae(_.type==="success"?"✓":_.type==="error"?"✕":"i"),1),L("span",Uu,Ae(_.message),1)],2))),128))])]))}}),ju=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Vu=ju(Hu,[["__scopeId","data-v-0448b6bc"]]);Mc(Vu).mount("#app");
|
package/dist/icon.png
ADDED
|
Binary file
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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>二维码生成器</title>
|
|
7
|
+
<style>
|
|
8
|
+
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
|
|
9
|
+
html, body, #app { width: 100%; height: 100%; overflow: hidden; background: #0b1120; color: #e2e8f0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 14px; }
|
|
10
|
+
</style>
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-DV5JS2i8.js"></script>
|
|
12
|
+
<link rel="stylesheet" crossorigin href="./assets/index-5Z2K6cLM.css">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<div id="app"></div>
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
package/icon.png
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@qian-kun/qrcode-generator",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "二维码生成器,输入文本或链接实时生成二维码,支持下载与复制。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"icon.png"
|
|
9
|
+
],
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"qk": {
|
|
14
|
+
"name": "二维码生成器",
|
|
15
|
+
"entry": "dist/index.html",
|
|
16
|
+
"icon": "icon.png",
|
|
17
|
+
"singleton": false,
|
|
18
|
+
"permissions": {
|
|
19
|
+
"clipboard": true
|
|
20
|
+
},
|
|
21
|
+
"window": {
|
|
22
|
+
"width": 640,
|
|
23
|
+
"height": 750,
|
|
24
|
+
"resizable": true,
|
|
25
|
+
"center": true
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"dev": "vite",
|
|
30
|
+
"build": "vite build && node scripts/copy-assets.js",
|
|
31
|
+
"pack": "create-qk-app pack",
|
|
32
|
+
"publish": "npm run build && create-qk-app publish"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"qrcode": "^1.5.4",
|
|
36
|
+
"vue": "^3.5.13"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@types/qrcode": "^1.5.5",
|
|
40
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
41
|
+
"typescript": "~5.6.2",
|
|
42
|
+
"vite": "^6.0.3",
|
|
43
|
+
"vue-tsc": "^2.1.10"
|
|
44
|
+
}
|
|
45
|
+
}
|