48 lines
309 KiB
JavaScript
48 lines
309 KiB
JavaScript
/**
|
|
* @vue/shared v3.5.32
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Ws(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Se={},Mn=[],Tt=()=>{},Ql=()=>!1,oo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),so=e=>e.startsWith("onUpdate:"),We=Object.assign,qs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qf=Object.prototype.hasOwnProperty,Ae=(e,t)=>qf.call(e,t),fe=Array.isArray,Nn=e=>jn(e)==="[object Map]",Jl=e=>jn(e)==="[object Set]",Ma=e=>jn(e)==="[object Date]",Vf=e=>jn(e)==="[object RegExp]",de=e=>typeof e=="function",ke=e=>typeof e=="string",ht=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",ec=e=>(Be(e)||de(e))&&de(e.then)&&de(e.catch),tc=Object.prototype.toString,jn=e=>tc.call(e),jf=e=>jn(e).slice(8,-1),nc=e=>jn(e)==="[object Object]",ao=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,xr=Ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lo=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Uf=/-\w/g,rt=lo(e=>e.replace(Uf,t=>t.slice(1).toUpperCase())),Gf=/\B([A-Z])/g,En=lo(e=>e.replace(Gf,"-$1").toLowerCase()),co=lo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Fo=lo(e=>e?`on${co(e)}`:""),kt=(e,t)=>!Object.is(e,t),gr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},rc=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Kf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zf=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Na;const uo=()=>Na||(Na=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vs(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=ke(r)?Jf(r):Vs(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(ke(e)||Be(e))return e}const Yf=/;(?![^(]*\))/g,Xf=/:([^]+)/,Qf=/\/\*[^]*?\*\//g;function Jf(e){const t={};return e.replace(Qf,"").split(Yf).forEach(n=>{if(n){const r=n.split(Xf);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function js(e){let t="";if(ke(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=js(e[n]);r&&(t+=r+" ")}else if(Be(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ed="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",td=Ws(ed);function ic(e){return!!e||e===""}function nd(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Us(e[r],t[r]);return n}function Us(e,t){if(e===t)return!0;let n=Ma(e),r=Ma(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ht(e),r=ht(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?nd(e,t):!1;if(n=Be(e),r=Be(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const l in e){const s=e.hasOwnProperty(l),f=t.hasOwnProperty(l);if(s&&!f||!s&&f||!Us(e[l],t[l]))return!1}}return String(e)===String(t)}const oc=e=>!!(e&&e.__v_isRef===!0),rd=e=>ke(e)?e:e==null?"":fe(e)||Be(e)&&(e.toString===tc||!de(e.toString))?oc(e)?rd(e.value):JSON.stringify(e,sc,2):String(e),sc=(e,t)=>oc(t)?sc(e,t.value):Nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],o)=>(n[ko(r,o)+" =>"]=i,n),{})}:Jl(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ko(n))}:ht(t)?ko(t):Be(t)&&!fe(t)&&!nc(t)?String(t):t,ko=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.32
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Ze;class ac{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ze,!t&&Ze&&(this.index=(Ze.scopes||(Ze.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ze;try{return Ze=this,t()}finally{Ze=n}}}on(){++this._on===1&&(this.prevScope=Ze,Ze=this)}off(){this._on>0&&--this._on===0&&(Ze=this.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){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function lc(e){return new ac(e)}function cc(){return Ze}function id(e,t=!1){Ze&&Ze.cleanups.push(e)}let Fe;const To=new WeakSet;class uc{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,Ze&&Ze.active&&Ze.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,To.has(this)&&(To.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||dc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,La(this),hc(this);const t=Fe,n=yt;Fe=this,yt=!0;try{return this.fn()}finally{xc(this),Fe=t,yt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Zs(t);this.deps=this.depsTail=void 0,La(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?To.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ls(this)&&this.run()}get dirty(){return ls(this)}}let fc=0,vr,pr;function dc(e,t=!1){if(e.flags|=8,t){e.next=pr,pr=e;return}e.next=vr,vr=e}function Gs(){fc++}function Ks(){if(--fc>0)return;if(pr){let t=pr;for(pr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;vr;){let t=vr;for(vr=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 hc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function xc(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Zs(r),od(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function ls(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(gc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function gc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Dr)||(e.globalVersion=Dr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ls(e))))return;e.flags|=2;const t=e.dep,n=Fe,r=yt;Fe=e,yt=!0;try{hc(e);const i=e.fn(e._value);(t.version===0||kt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Fe=n,yt=r,xc(e),e.flags&=-3}}function Zs(e,t=!1){const{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Zs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function od(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let yt=!0;const vc=[];function Gt(){vc.push(yt),yt=!1}function Kt(){const e=vc.pop();yt=e===void 0?!0:e}function La(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Fe;Fe=void 0;try{t()}finally{Fe=n}}}let Dr=0;class sd{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 Ys{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(!Fe||!yt||Fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Fe)n=this.activeLink=new sd(Fe,this),Fe.deps?(n.prevDep=Fe.depsTail,Fe.depsTail.nextDep=n,Fe.depsTail=n):Fe.deps=Fe.depsTail=n,pc(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=Fe.depsTail,n.nextDep=void 0,Fe.depsTail.nextDep=n,Fe.depsTail=n,Fe.deps===n&&(Fe.deps=r)}return n}trigger(t){this.version++,Dr++,this.notify(t)}notify(t){Gs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ks()}}}function pc(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)pc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const qi=new WeakMap,yn=Symbol(""),cs=Symbol(""),Sr=Symbol("");function Ye(e,t,n){if(yt&&Fe){let r=qi.get(e);r||qi.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new Ys),i.map=r,i.key=n),i.track()}}function Lt(e,t,n,r,i,o){const l=qi.get(e);if(!l){Dr++;return}const s=f=>{f&&f.trigger()};if(Gs(),t==="clear")l.forEach(s);else{const f=fe(e),u=f&&ao(n);if(f&&n==="length"){const c=Number(r);l.forEach((h,a)=>{(a==="length"||a===Sr||!ht(a)&&a>=c)&&s(h)})}else switch((n!==void 0||l.has(void 0))&&s(l.get(n)),u&&s(l.get(Sr)),t){case"add":f?u&&s(l.get("length")):(s(l.get(yn)),Nn(e)&&s(l.get(cs)));break;case"delete":f||(s(l.get(yn)),Nn(e)&&s(l.get(cs)));break;case"set":Nn(e)&&s(l.get(yn));break}}Ks()}function ad(e,t){const n=qi.get(e);return n&&n.get(t)}function Dn(e){const t=_e(e);return t===e?t:(Ye(t,"iterate",Sr),dt(e)?t:t.map(Et))}function fo(e){return Ye(e=_e(e),"iterate",Sr),e}function St(e,t){return Zt(e)?Hn($t(e)?Et(t):t):Et(t)}const ld={__proto__:null,[Symbol.iterator](){return Ro(this,Symbol.iterator,e=>St(this,e))},concat(...e){return Dn(this).concat(...e.map(t=>fe(t)?Dn(t):t))},entries(){return Ro(this,"entries",e=>(e[1]=St(this,e[1]),e))},every(e,t){return Ot(this,"every",e,t,void 0,arguments)},filter(e,t){return Ot(this,"filter",e,t,n=>n.map(r=>St(this,r)),arguments)},find(e,t){return Ot(this,"find",e,t,n=>St(this,n),arguments)},findIndex(e,t){return Ot(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ot(this,"findLast",e,t,n=>St(this,n),arguments)},findLastIndex(e,t){return Ot(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ot(this,"forEach",e,t,void 0,arguments)},includes(...e){return Oo(this,"includes",e)},indexOf(...e){return Oo(this,"indexOf",e)},join(e){return Dn(this).join(e)},lastIndexOf(...e){return Oo(this,"lastIndexOf",e)},map(e,t){return Ot(this,"map",e,t,void 0,arguments)},pop(){return Jn(this,"pop")},push(...e){return Jn(this,"push",e)},reduce(e,...t){return Ha(this,"reduce",e,t)},reduceRight(e,...t){return Ha(this,"reduceRight",e,t)},shift(){return Jn(this,"shift")},some(e,t){return Ot(this,"some",e,t,void 0,arguments)},splice(...e){return Jn(this,"splice",e)},toReversed(){return Dn(this).toReversed()},toSorted(e){return Dn(this).toSorted(e)},toSpliced(...e){return Dn(this).toSpliced(...e)},unshift(...e){return Jn(this,"unshift",e)},values(){return Ro(this,"values",e=>St(this,e))}};function Ro(e,t,n){const r=fo(e),i=r[t]();return r!==e&&!dt(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=n(o.value)),o}),i}const cd=Array.prototype;function Ot(e,t,n,r,i,o){const l=fo(e),s=l!==e&&!dt(e),f=l[t];if(f!==cd[t]){const h=f.apply(e,o);return s?Et(h):h}let u=n;l!==e&&(s?u=function(h,a){return n.call(this,St(e,h),a,e)}:n.length>2&&(u=function(h,a){return n.call(this,h,a,e)}));const c=f.call(l,u,r);return s&&i?i(c):c}function Ha(e,t,n,r){const i=fo(e),o=i!==e&&!dt(e);let l=n,s=!1;i!==e&&(o?(s=r.length===0,l=function(u,c,h){return s&&(s=!1,u=St(e,u)),n.call(this,u,St(e,c),h,e)}):n.length>3&&(l=function(u,c,h){return n.call(this,u,c,h,e)}));const f=i[t](l,...r);return s?St(e,f):f}function Oo(e,t,n){const r=_e(e);Ye(r,"iterate",Sr);const i=r[t](...n);return(i===-1||i===!1)&&ho(n[0])?(n[0]=_e(n[0]),r[t](...n)):i}function Jn(e,t,n=[]){Gt(),Gs();const r=_e(e)[t].apply(e,n);return Ks(),Kt(),r}const ud=Ws("__proto__,__v_isRef,__isVue"),mc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function fd(e){ht(e)||(e=String(e));const t=_e(this);return Ye(t,"has",e),t.hasOwnProperty(e)}class _c{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(i?o?bd:Ec:o?Cc:bc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const l=fe(t);if(!i){let f;if(l&&(f=ld[n]))return f;if(n==="hasOwnProperty")return fd}const s=Reflect.get(t,n,Te(t)?t:r);if((ht(n)?mc.has(n):ud(n))||(i||Ye(t,"get",n),o))return s;if(Te(s)){const f=l&&ao(n)?s:s.value;return i&&Be(f)?fs(f):f}return Be(s)?i?fs(s):st(s):s}}class yc extends _c{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];const l=fe(t)&&ao(n);if(!this._isShallow){const u=Zt(o);if(!dt(r)&&!Zt(r)&&(o=_e(o),r=_e(r)),!l&&Te(o)&&!Te(r))return u||(o.value=r),!0}const s=l?Number(n)<t.length:Ae(t,n),f=Reflect.set(t,n,r,Te(t)?t:i);return t===_e(i)&&(s?kt(r,o)&&Lt(t,"set",n,r):Lt(t,"add",n,r)),f}deleteProperty(t,n){const r=Ae(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Lt(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!ht(n)||!mc.has(n))&&Ye(t,"has",n),r}ownKeys(t){return Ye(t,"iterate",fe(t)?"length":yn),Reflect.ownKeys(t)}}class dd extends _c{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const hd=new yc,xd=new dd,gd=new yc(!0);const us=e=>e,Ur=e=>Reflect.getPrototypeOf(e);function vd(e,t,n){return function(...r){const i=this.__v_raw,o=_e(i),l=Nn(o),s=e==="entries"||e===Symbol.iterator&&l,f=e==="keys"&&l,u=i[e](...r),c=n?us:t?Hn:Et;return!t&&Ye(o,"iterate",f?cs:yn),We(Object.create(u),{next(){const{value:h,done:a}=u.next();return a?{value:h,done:a}:{value:s?[c(h[0]),c(h[1])]:c(h),done:a}}})}}function Gr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function pd(e,t){const n={get(i){const o=this.__v_raw,l=_e(o),s=_e(i);e||(kt(i,s)&&Ye(l,"get",i),Ye(l,"get",s));const{has:f}=Ur(l),u=t?us:e?Hn:Et;if(f.call(l,i))return u(o.get(i));if(f.call(l,s))return u(o.get(s));o!==l&&o.get(i)},get size(){const i=this.__v_raw;return!e&&Ye(_e(i),"iterate",yn),i.size},has(i){const o=this.__v_raw,l=_e(o),s=_e(i);return e||(kt(i,s)&&Ye(l,"has",i),Ye(l,"has",s)),i===s?o.has(i):o.has(i)||o.has(s)},forEach(i,o){const l=this,s=l.__v_raw,f=_e(s),u=t?us:e?Hn:Et;return!e&&Ye(f,"iterate",yn),s.forEach((c,h)=>i.call(o,u(c),u(h),l))}};return We(n,e?{add:Gr("add"),set:Gr("set"),delete:Gr("delete"),clear:Gr("clear")}:{add(i){const o=_e(this),l=Ur(o),s=_e(i),f=!t&&!dt(i)&&!Zt(i)?s:i;return l.has.call(o,f)||kt(i,f)&&l.has.call(o,i)||kt(s,f)&&l.has.call(o,s)||(o.add(f),Lt(o,"add",f,f)),this},set(i,o){!t&&!dt(o)&&!Zt(o)&&(o=_e(o));const l=_e(this),{has:s,get:f}=Ur(l);let u=s.call(l,i);u||(i=_e(i),u=s.call(l,i));const c=f.call(l,i);return l.set(i,o),u?kt(o,c)&&Lt(l,"set",i,o):Lt(l,"add",i,o),this},delete(i){const o=_e(this),{has:l,get:s}=Ur(o);let f=l.call(o,i);f||(i=_e(i),f=l.call(o,i)),s&&s.call(o,i);const u=o.delete(i);return f&&Lt(o,"delete",i,void 0),u},clear(){const i=_e(this),o=i.size!==0,l=i.clear();return o&&Lt(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=vd(i,e,t)}),n}function Xs(e,t){const n=pd(e,t);return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Ae(n,i)&&i in r?n:r,i,o)}const md={get:Xs(!1,!1)},_d={get:Xs(!1,!0)},yd={get:Xs(!0,!1)};const bc=new WeakMap,Cc=new WeakMap,Ec=new WeakMap,bd=new WeakMap;function Cd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ed(e){return e.__v_skip||!Object.isExtensible(e)?0:Cd(jf(e))}function st(e){return Zt(e)?e:Qs(e,!1,hd,md,bc)}function Ac(e){return Qs(e,!1,gd,_d,Cc)}function fs(e){return Qs(e,!0,xd,yd,Ec)}function Qs(e,t,n,r,i){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Ed(e);if(o===0)return e;const l=i.get(e);if(l)return l;const s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function $t(e){return Zt(e)?$t(e.__v_raw):!!(e&&e.__v_isReactive)}function Zt(e){return!!(e&&e.__v_isReadonly)}function dt(e){return!!(e&&e.__v_isShallow)}function ho(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function Js(e){return!Ae(e,"__v_skip")&&Object.isExtensible(e)&&rc(e,"__v_skip",!0),e}const Et=e=>Be(e)?st(e):e,Hn=e=>Be(e)?fs(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function ue(e){return Bc(e,!1)}function Ad(e){return Bc(e,!0)}function Bc(e,t){return Te(e)?e:new Bd(e,t)}class Bd{constructor(t,n){this.dep=new Ys,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:_e(t),this._value=n?t:Et(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||dt(t)||Zt(t);t=r?t:_e(t),kt(t,n)&&(this._rawValue=t,this._value=r?t:Et(t),this.dep.trigger())}}function bt(e){return Te(e)?e.value:e}const wd={get:(e,t,n)=>t==="__v_raw"?e:bt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return Te(i)&&!Te(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function wc(e){return $t(e)?e:new Proxy(e,wd)}function Dd(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=Fd(e,n);return t}class Sd{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ht(n)?n:String(n),this._raw=_e(t);let i=!0,o=t;if(!fe(t)||ht(this._key)||!ao(this._key))do i=!ho(o)||dt(o);while(i&&(o=o.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=bt(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Te(this._raw[this._key])){const n=this._object[this._key];if(Te(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ad(this._raw,this._key)}}function Fd(e,t,n){return new Sd(e,t,n)}class kd{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ys(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Dr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Fe!==this)return dc(this,!0),!0}get value(){const t=this.dep.track();return gc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Td(e,t,n=!1){let r,i;return de(e)?r=e:(r=e.get,i=e.set),new kd(r,i,n)}const Kr={},Vi=new WeakMap;let gn;function Rd(e,t=!1,n=gn){if(n){let r=Vi.get(n);r||Vi.set(n,r=[]),r.push(e)}}function Od(e,t,n=Se){const{immediate:r,deep:i,once:o,scheduler:l,augmentJob:s,call:f}=n,u=C=>i?C:dt(C)||i===!1||i===0?Ht(C,1):Ht(C);let c,h,a,d,x=!1,m=!1;if(Te(e)?(h=()=>e.value,x=dt(e)):$t(e)?(h=()=>u(e),x=!0):fe(e)?(m=!0,x=e.some(C=>$t(C)||dt(C)),h=()=>e.map(C=>{if(Te(C))return C.value;if($t(C))return u(C);if(de(C))return f?f(C,2):C()})):de(e)?t?h=f?()=>f(e,2):e:h=()=>{if(a){Gt();try{a()}finally{Kt()}}const C=gn;gn=c;try{return f?f(e,3,[d]):e(d)}finally{gn=C}}:h=Tt,t&&i){const C=h,B=i===!0?1/0:i;h=()=>Ht(C(),B)}const v=cc(),E=()=>{c.stop(),v&&v.active&&qs(v.effects,c)};if(o&&t){const C=t;t=(...B)=>{C(...B),E()}}let p=m?new Array(e.length).fill(Kr):Kr;const b=C=>{if(!(!(c.flags&1)||!c.dirty&&!C))if(t){const B=c.run();if(i||x||(m?B.some((w,F)=>kt(w,p[F])):kt(B,p))){a&&a();const w=gn;gn=c;try{const F=[B,p===Kr?void 0:m&&p[0]===Kr?[]:p,d];p=B,f?f(t,3,F):t(...F)}finally{gn=w}}}else c.run()};return s&&s(b),c=new uc(h),c.scheduler=l?()=>l(b,!1):b,d=C=>Rd(C,!1,c),a=c.onStop=()=>{const C=Vi.get(c);if(C){if(f)f(C,4);else for(const B of C)B();Vi.delete(c)}},t?r?b(!0):p=c.run():l?l(b.bind(null,!0),!0):c.run(),E.pause=c.pause.bind(c),E.resume=c.resume.bind(c),E.stop=E,E}function Ht(e,t=1/0,n){if(t<=0||!Be(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))Ht(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)Ht(e[r],t,n);else if(Jl(e)||Nn(e))e.forEach(r=>{Ht(r,t,n)});else if(nc(e)){for(const r in e)Ht(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ht(e[r],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.32
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Ir(e,t,n,r){try{return r?e(...r):e()}catch(i){xo(i,t,n)}}function At(e,t,n,r){if(de(e)){const i=Ir(e,t,n,r);return i&&ec(i)&&i.catch(o=>{xo(o,t,n)}),i}if(fe(e)){const i=[];for(let o=0;o<e.length;o++)i.push(At(e[o],t,n,r));return i}}function xo(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||Se;if(t){let s=t.parent;const f=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let h=0;h<c.length;h++)if(c[h](e,f,u)===!1)return}s=s.parent}if(o){Gt(),Ir(o,null,10,[e,f,u]),Kt();return}}Pd(e,n,i,r,l)}function Pd(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const nt=[];let wt=-1;const Ln=[];let nn=null,On=0;const Dc=Promise.resolve();let ji=null;function Me(e){const t=ji||Dc;return e?t.then(this?e.bind(this):e):t}function Id(e){let t=wt+1,n=nt.length;for(;t<n;){const r=t+n>>>1,i=nt[r],o=Fr(i);o<e||o===e&&i.flags&2?t=r+1:n=r}return t}function ea(e){if(!(e.flags&1)){const t=Fr(e),n=nt[nt.length-1];!n||!(e.flags&2)&&t>=Fr(n)?nt.push(e):nt.splice(Id(t),0,e),e.flags|=1,Sc()}}function Sc(){ji||(ji=Dc.then(kc))}function Md(e){fe(e)?Ln.push(...e):nn&&e.id===-1?nn.splice(On+1,0,e):e.flags&1||(Ln.push(e),e.flags|=1),Sc()}function $a(e,t,n=wt+1){for(;n<nt.length;n++){const r=nt[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;nt.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Fc(e){if(Ln.length){const t=[...new Set(Ln)].sort((n,r)=>Fr(n)-Fr(r));if(Ln.length=0,nn){nn.push(...t);return}for(nn=t,On=0;On<nn.length;On++){const n=nn[On];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}nn=null,On=0}}const Fr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function kc(e){try{for(wt=0;wt<nt.length;wt++){const t=nt[wt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ir(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;wt<nt.length;wt++){const t=nt[wt];t&&(t.flags&=-2)}wt=-1,nt.length=0,Fc(),ji=null,(nt.length||Ln.length)&&kc()}}let je=null,Tc=null;function Ui(e){const t=je;return je=e,Tc=e&&e.type.__scopeId||null,t}function Nd(e,t=je,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Xi(-1);const o=Ui(t);let l;try{l=e(...i)}finally{Ui(o),r._d&&Xi(1)}return l};return r._n=!0,r._c=!0,r._d=!0,r}function ta(e,t){if(je===null)return e;const n=_o(je),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,s,f=Se]=t[i];o&&(de(o)&&(o={mounted:o,updated:o}),o.deep&&Ht(l),r.push({dir:o,instance:n,value:l,oldValue:void 0,arg:s,modifiers:f}))}return e}function un(e,t,n,r){const i=e.dirs,o=t&&t.dirs;for(let l=0;l<i.length;l++){const s=i[l];o&&(s.oldValue=o[l].value);let f=s.dir[r];f&&(Gt(),At(f,n,8,[e.el,s,e,t]),Kt())}}function zt(e,t){if(Qe){let n=Qe.provides;const r=Qe.parent&&Qe.parent.provides;r===n&&(n=Qe.provides=Object.create(r)),n[e]=t}}function Je(e,t,n=!1){const r=lt();if(r||bn){let i=bn?bn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&de(t)?t.call(r&&r.proxy):t}}function Ld(){return!!(lt()||bn)}const Hd=Symbol.for("v-scx"),$d=()=>Je(Hd);function zd(e,t){return na(e,null,t)}function pe(e,t,n){return na(e,t,n)}function na(e,t,n=Se){const{immediate:r,deep:i,flush:o,once:l}=n,s=We({},n),f=t&&r||!t&&o!=="post";let u;if(Tr){if(o==="sync"){const d=$d();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!f){const d=()=>{};return d.stop=Tt,d.resume=Tt,d.pause=Tt,d}}const c=Qe;s.call=(d,x,m)=>At(d,c,x,m);let h=!1;o==="post"?s.scheduler=d=>{ze(d,c&&c.suspense)}:o!=="sync"&&(h=!0,s.scheduler=(d,x)=>{x?d():ea(d)}),s.augmentJob=d=>{t&&(d.flags|=4),h&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const a=Od(e,t,s);return Tr&&(u?u.push(a):f&&a()),a}function Wd(e,t,n){const r=this.proxy,i=ke(e)?e.includes(".")?Rc(r,e):()=>r[e]:e.bind(r,r);let o;de(t)?o=t:(o=t.handler,n=t);const l=Lr(this),s=na(i,o.bind(r),n);return l(),s}function Rc(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const fn=new WeakMap,Oc=Symbol("_vte"),Pc=e=>e.__isTeleport,vn=e=>e&&(e.disabled||e.disabled===""),qd=e=>e&&(e.defer||e.defer===""),za=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Wa=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ds=(e,t)=>{const n=e&&e.to;return ke(n)?t?t(n):null:n},Vd={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,o,l,s,f,u){const{mc:c,pc:h,pbc:a,o:{insert:d,querySelector:x,createText:m,createComment:v}}=u,E=vn(t.props);let{dynamicChildren:p}=t;const b=(w,F,O)=>{w.shapeFlag&16&&c(w.children,F,O,i,o,l,s,f)},C=(w=t)=>{const F=vn(w.props),O=w.target=ds(w.props,x),H=hs(O,w,m,d);O&&(l!=="svg"&&za(O)?l="svg":l!=="mathml"&&Wa(O)&&(l="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(O),F||(b(w,O,H),lr(w,!1)))},B=w=>{const F=()=>{fn.get(w)===F&&(fn.delete(w),vn(w.props)&&(b(w,n,w.anchor),lr(w,!0)),C(w))};fn.set(w,F),ze(F,o)};if(e==null){const w=t.el=m(""),F=t.anchor=m("");if(d(w,n,r),d(F,n,r),qd(t.props)||o&&o.pendingBranch){B(t);return}E&&(b(t,n,F),lr(t,!0)),C()}else{t.el=e.el;const w=t.anchor=e.anchor,F=fn.get(e);if(F){F.flags|=8,fn.delete(e),B(t);return}t.targetStart=e.targetStart;const O=t.target=e.target,H=t.targetAnchor=e.targetAnchor,g=vn(e.props),y=g?n:O,_=g?w:H;if(l==="svg"||za(O)?l="svg":(l==="mathml"||Wa(O))&&(l="mathml"),p?(a(e.dynamicChildren,p,y,i,o,l,s),sa(e,t,!0)):f||h(e,t,y,_,i,o,l,s,!1),E)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Zr(t,n,w,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=ds(t.props,x);A&&Zr(t,A,null,u,0)}else g&&Zr(t,O,H,u,1);lr(t,E)}},remove(e,t,n,{um:r,o:{remove:i}},o){const{shapeFlag:l,children:s,anchor:f,targetStart:u,targetAnchor:c,target:h,props:a}=e;let d=o||!vn(a);const x=fn.get(e);if(x&&(x.flags|=8,fn.delete(e),d=!1),h&&(i(u),i(c)),o&&i(f),l&16)for(let m=0;m<s.length;m++){const v=s[m];r(v,t,n,d,!!v.dynamicChildren)}},move:Zr,hydrate:jd};function Zr(e,t,n,{o:{insert:r},m:i},o=2){o===0&&r(e.targetAnchor,t,n);const{el:l,anchor:s,shapeFlag:f,children:u,props:c}=e,h=o===2;if(h&&r(l,t,n),(!h||vn(c))&&f&16)for(let a=0;a<u.length;a++)i(u[a],t,n,2);h&&r(s,t,n)}function jd(e,t,n,r,i,o,{o:{nextSibling:l,parentNode:s,querySelector:f,insert:u,createText:c}},h){function a(v,E){let p=E;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,v._lpa=t.targetAnchor&&l(t.targetAnchor);break}}p=l(p)}}function d(v,E){E.anchor=h(l(v),E,s(v),n,r,i,o)}const x=t.target=ds(t.props,f),m=vn(t.props);if(x){const v=x._lpa||x.firstChild;t.shapeFlag&16&&(m?(d(e,t),a(x,v),t.targetAnchor||hs(x,t,c,u,s(e)===x?e:null)):(t.anchor=l(e),a(x,v),t.targetAnchor||hs(x,t,c,u),h(v&&l(v),t,x,n,r,i,o))),lr(t,m)}else m&&t.shapeFlag&16&&(d(e,t),t.targetStart=e,t.targetAnchor=l(e));return t.anchor&&l(t.anchor)}const Ic=Vd;function lr(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function hs(e,t,n,r,i=null){const o=t.targetStart=n(""),l=t.targetAnchor=n("");return o[Oc]=l,e&&(r(o,e,i),r(l,e,i)),l}const Dt=Symbol("_leaveCb"),er=Symbol("_enterCb");function Ud(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{e.isMounted=!0}),Gn(()=>{e.isUnmounting=!0}),e}const pt=[Function,Array],Mc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pt,onEnter:pt,onAfterEnter:pt,onEnterCancelled:pt,onBeforeLeave:pt,onLeave:pt,onAfterLeave:pt,onLeaveCancelled:pt,onBeforeAppear:pt,onAppear:pt,onAfterAppear:pt,onAppearCancelled:pt},Nc=e=>{const t=e.subTree;return t.component?Nc(t.component):t},Gd={name:"BaseTransition",props:Mc,setup(e,{slots:t}){const n=lt(),r=Ud();return()=>{const i=t.default&&$c(t.default(),!0);if(!i||!i.length)return;const o=Lc(i),l=_e(e),{mode:s}=l;if(r.isLeaving)return Po(o);const f=qa(o);if(!f)return Po(o);let u=xs(f,l,r,n,h=>u=h);f.type!==Ve&&$n(f,u);let c=n.subTree&&qa(n.subTree);if(c&&c.type!==Ve&&!on(c,f)&&Nc(n).type!==Ve){let h=xs(c,l,r,n);if($n(c,h),s==="out-in"&&f.type!==Ve)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,c=void 0},Po(o);s==="in-out"&&f.type!==Ve?h.delayLeave=(a,d,x)=>{const m=Hc(r,c);m[String(c.key)]=c,a[Dt]=()=>{d(),a[Dt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{x(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Lc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ve){t=n;break}}return t}const Kd=Gd;function Hc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function xs(e,t,n,r,i){const{appear:o,mode:l,persisted:s=!1,onBeforeEnter:f,onEnter:u,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:a,onLeave:d,onAfterLeave:x,onLeaveCancelled:m,onBeforeAppear:v,onAppear:E,onAfterAppear:p,onAppearCancelled:b}=t,C=String(e.key),B=Hc(n,e),w=(H,g)=>{H&&At(H,r,9,g)},F=(H,g)=>{const y=g[1];w(H,g),fe(H)?H.every(_=>_.length<=1)&&y():H.length<=1&&y()},O={mode:l,persisted:s,beforeEnter(H){let g=f;if(!n.isMounted)if(o)g=v||f;else return;H[Dt]&&H[Dt](!0);const y=B[C];y&&on(e,y)&&y.el[Dt]&&y.el[Dt](),w(g,[H])},enter(H){if(B[C]===e)return;let g=u,y=c,_=h;if(!n.isMounted)if(o)g=E||u,y=p||c,_=b||h;else return;let A=!1;H[er]=W=>{A||(A=!0,W?w(_,[H]):w(y,[H]),O.delayedLeave&&O.delayedLeave(),H[er]=void 0)};const R=H[er].bind(null,!1);g?F(g,[H,R]):R()},leave(H,g){const y=String(e.key);if(H[er]&&H[er](!0),n.isUnmounting)return g();w(a,[H]);let _=!1;H[Dt]=R=>{_||(_=!0,g(),R?w(m,[H]):w(x,[H]),H[Dt]=void 0,B[y]===e&&delete B[y])};const A=H[Dt].bind(null,!1);B[y]=e,d?F(d,[H,A]):A()},clone(H){const g=xs(H,t,n,r,i);return i&&i(g),g}};return O}function Po(e){if(go(e))return e=Yt(e),e.children=null,e}function qa(e){if(!go(e))return Pc(e.type)&&e.children?Lc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&de(n.default))return n.default()}}function $n(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$n(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 $c(e,t=!1,n){let r=[],i=0;for(let o=0;o<e.length;o++){let l=e[o];const s=n==null?l.key:String(n)+String(l.key!=null?l.key:o);l.type===ot?(l.patchFlag&128&&i++,r=r.concat($c(l.children,t,s))):(t||l.type!==Ve)&&r.push(s!=null?Yt(l,{key:s}):l)}if(i>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function we(e,t){return de(e)?We({name:e.name},t,{setup:e}):e}function _2(){const e=lt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function zc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Va(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Gi=new WeakMap;function mr(e,t,n,r,i=!1){if(fe(e)){e.forEach((m,v)=>mr(m,t&&(fe(t)?t[v]:t),n,r,i));return}if(sn(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&mr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?_o(r.component):r.el,l=i?null:o,{i:s,r:f}=e,u=t&&t.r,c=s.refs===Se?s.refs={}:s.refs,h=s.setupState,a=_e(h),d=h===Se?Ql:m=>Va(c,m)?!1:Ae(a,m),x=(m,v)=>!(v&&Va(c,v));if(u!=null&&u!==f){if(ja(t),ke(u))c[u]=null,d(u)&&(h[u]=null);else if(Te(u)){const m=t;x(u,m.k)&&(u.value=null),m.k&&(c[m.k]=null)}}if(de(f))Ir(f,s,12,[l,c]);else{const m=ke(f),v=Te(f);if(m||v){const E=()=>{if(e.f){const p=m?d(f)?h[f]:c[f]:x()||!e.k?f.value:c[e.k];if(i)fe(p)&&qs(p,o);else if(fe(p))p.includes(o)||p.push(o);else if(m)c[f]=[o],d(f)&&(h[f]=c[f]);else{const b=[o];x(f,e.k)&&(f.value=b),e.k&&(c[e.k]=b)}}else m?(c[f]=l,d(f)&&(h[f]=l)):v&&(x(f,e.k)&&(f.value=l),e.k&&(c[e.k]=l))};if(l){const p=()=>{E(),Gi.delete(e)};p.id=-1,Gi.set(e,p),ze(p,n)}else ja(e),E()}}}function ja(e){const t=Gi.get(e);t&&(t.flags|=8,Gi.delete(e))}uo().requestIdleCallback;uo().cancelIdleCallback;const sn=e=>!!e.type.__asyncLoader,go=e=>e.type.__isKeepAlive,Zd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=lt(),r=n.ctx;if(!r.renderer)return()=>{const p=t.default&&t.default();return p&&p.length===1?p[0]:p};const i=new Map,o=new Set;let l=null;const s=n.suspense,{renderer:{p:f,m:u,um:c,o:{createElement:h}}}=r,a=h("div");r.activate=(p,b,C,B,w)=>{const F=p.component;u(p,b,C,0,s),f(F.vnode,p,b,C,F,s,B,p.slotScopeIds,w),ze(()=>{F.isDeactivated=!1,F.a&&gr(F.a);const O=p.props&&p.props.onVnodeMounted;O&&_t(O,F.parent,p)},s)},r.deactivate=p=>{const b=p.component;Zi(b.m),Zi(b.a),u(p,a,null,1,s),ze(()=>{b.da&&gr(b.da);const C=p.props&&p.props.onVnodeUnmounted;C&&_t(C,b.parent,p),b.isDeactivated=!0},s)};function d(p){Io(p),c(p,n,s,!0)}function x(p){i.forEach((b,C)=>{const B=Cs(sn(b)?b.type.__asyncResolved||{}:b.type);B&&!p(B)&&m(C)})}function m(p){const b=i.get(p);b&&(!l||!on(b,l))?d(b):l&&Io(l),i.delete(p),o.delete(p)}pe(()=>[e.include,e.exclude],([p,b])=>{p&&x(C=>cr(p,C)),b&&x(C=>!cr(b,C))},{flush:"post",deep:!0});let v=null;const E=()=>{v!=null&&(Yi(n.subTree.type)?ze(()=>{i.set(v,Yr(n.subTree))},n.subTree.suspense):i.set(v,Yr(n.subTree)))};return xt(E),ra(E),Gn(()=>{i.forEach(p=>{const{subTree:b,suspense:C}=n,B=Yr(b);if(p.type===B.type&&p.key===B.key){Io(B);const w=B.component.da;w&&ze(w,C);return}d(p)})}),()=>{if(v=null,!t.default)return l=null;const p=t.default(),b=p[0];if(p.length>1)return l=null,p;if(!Cn(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return l=null,b;let C=Yr(b);if(C.type===Ve)return l=null,C;const B=C.type,w=Cs(sn(C)?C.type.__asyncResolved||{}:B),{include:F,exclude:O,max:H}=e;if(F&&(!w||!cr(F,w))||O&&w&&cr(O,w))return C.shapeFlag&=-257,l=C,b;const g=C.key==null?B:C.key,y=i.get(g);return C.el&&(C=Yt(C),b.shapeFlag&128&&(b.ssContent=C)),v=g,y?(C.el=y.el,C.component=y.component,C.transition&&$n(C,C.transition),C.shapeFlag|=512,o.delete(g),o.add(g)):(o.add(g),H&&o.size>parseInt(H,10)&&m(o.values().next().value)),C.shapeFlag|=256,l=C,Yi(b.type)?b:C}}},y2=Zd;function cr(e,t){return fe(e)?e.some(n=>cr(n,t)):ke(e)?e.split(",").includes(t):Vf(e)?(e.lastIndex=0,e.test(t)):!1}function Mr(e,t){Wc(e,"a",t)}function Un(e,t){Wc(e,"da",t)}function Wc(e,t,n=Qe){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(vo(t,r,n),n){let i=n.parent;for(;i&&i.parent;)go(i.parent.vnode)&&Yd(r,t,n,i),i=i.parent}}function Yd(e,t,n,r){const i=vo(t,e,r,!0);Nr(()=>{qs(r[t],i)},n)}function Io(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Yr(e){return e.shapeFlag&128?e.ssContent:e}function vo(e,t,n=Qe,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...l)=>{Gt();const s=Lr(n),f=At(t,n,e,l);return s(),Kt(),f});return r?i.unshift(o):i.push(o),o}}const Xt=e=>(t,n=Qe)=>{(!Tr||e==="sp")&&vo(e,(...r)=>t(...r),n)},Xd=Xt("bm"),xt=Xt("m"),qc=Xt("bu"),ra=Xt("u"),Gn=Xt("bum"),Nr=Xt("um"),Qd=Xt("sp"),Jd=Xt("rtg"),eh=Xt("rtc");function th(e,t=Qe){vo("ec",e,t)}const Vc="components";function b2(e,t){return Uc(Vc,e,!0,t)||e}const jc=Symbol.for("v-ndc");function C2(e){return ke(e)?Uc(Vc,e,!1)||e:e||jc}function Uc(e,t,n=!0,r=!1){const i=je||Qe;if(i){const o=i.type;{const s=Cs(o,!1);if(s&&(s===t||s===rt(t)||s===co(rt(t))))return o}const l=Ua(i[e]||o[e],t)||Ua(i.appContext[e],t);return!l&&r?o:l}}function Ua(e,t){return e&&(e[t]||e[rt(t)]||e[co(rt(t))])}function E2(e,t,n,r){let i;const o=n,l=fe(e);if(l||ke(e)){const s=l&&$t(e);let f=!1,u=!1;s&&(f=!dt(e),u=Zt(e),e=fo(e)),i=new Array(e.length);for(let c=0,h=e.length;c<h;c++)i[c]=t(f?u?Hn(Et(e[c])):Et(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let s=0;s<e;s++)i[s]=t(s+1,s,void 0,o)}else if(Be(e))if(e[Symbol.iterator])i=Array.from(e,(s,f)=>t(s,f,void 0,o));else{const s=Object.keys(e);i=new Array(s.length);for(let f=0,u=s.length;f<u;f++){const c=s[f];i[f]=t(e[c],c,f,o)}}else i=[];return i}function A2(e,t,n={},r,i){if(je.ce||je.parent&&sn(je.parent)&&je.parent.ce){const u=Object.keys(n).length>0;return n.name=t,_s(),ys(ot,null,[M("slot",n,r&&r())],u?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),_s();const l=o&&Gc(o(n)),s=n.key||l&&l.key,f=ys(ot,{key:(s&&!ht(s)?s:`_${t}`)+(!l&&r?"_fb":"")},l||(r?r():[]),l&&e._===1?64:-2);return f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),o&&o._c&&(o._d=!0),f}function Gc(e){return e.some(t=>Cn(t)?!(t.type===Ve||t.type===ot&&!Gc(t.children)):!0)?e:null}const gs=e=>e?hu(e)?_o(e):gs(e.parent):null,_r=We(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=>gs(e.parent),$root:e=>gs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Zc(e),$forceUpdate:e=>e.f||(e.f=()=>{ea(e.update)}),$nextTick:e=>e.n||(e.n=Me.bind(e.proxy)),$watch:e=>Wd.bind(e)}),Mo=(e,t)=>e!==Se&&!e.__isScriptSetup&&Ae(e,t),nh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:o,accessCache:l,type:s,appContext:f}=e;if(t[0]!=="$"){const a=l[t];if(a!==void 0)switch(a){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(Mo(r,t))return l[t]=1,r[t];if(i!==Se&&Ae(i,t))return l[t]=2,i[t];if(Ae(o,t))return l[t]=3,o[t];if(n!==Se&&Ae(n,t))return l[t]=4,n[t];vs&&(l[t]=0)}}const u=_r[t];let c,h;if(u)return t==="$attrs"&&Ye(e.attrs,"get",""),u(e);if((c=s.__cssModules)&&(c=c[t]))return c;if(n!==Se&&Ae(n,t))return l[t]=4,n[t];if(h=f.config.globalProperties,Ae(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return Mo(i,t)?(i[t]=n,!0):r!==Se&&Ae(r,t)?(r[t]=n,!0):Ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:o,type:l}},s){let f;return!!(n[s]||e!==Se&&s[0]!=="$"&&Ae(e,s)||Mo(t,s)||Ae(o,s)||Ae(r,s)||Ae(_r,s)||Ae(i.config.globalProperties,s)||(f=l.__cssModules)&&f[s])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ga(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let vs=!0;function rh(e){const t=Zc(e),n=e.proxy,r=e.ctx;vs=!1,t.beforeCreate&&Ka(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:s,provide:f,inject:u,created:c,beforeMount:h,mounted:a,beforeUpdate:d,updated:x,activated:m,deactivated:v,beforeDestroy:E,beforeUnmount:p,destroyed:b,unmounted:C,render:B,renderTracked:w,renderTriggered:F,errorCaptured:O,serverPrefetch:H,expose:g,inheritAttrs:y,components:_,directives:A,filters:R}=t;if(u&&ih(u,r,null),l)for(const $ in l){const k=l[$];de(k)&&(r[$]=k.bind(n))}if(i){const $=i.call(n,n);Be($)&&(e.data=st($))}if(vs=!0,o)for(const $ in o){const k=o[$],ee=de(k)?k.bind(n,n):de(k.get)?k.get.bind(n,n):Tt,Q=!de(k)&&de(k.set)?k.set.bind(n):Tt,L=le({get:ee,set:Q});Object.defineProperty(r,$,{enumerable:!0,configurable:!0,get:()=>L.value,set:P=>L.value=P})}if(s)for(const $ in s)Kc(s[$],r,n,$);if(f){const $=de(f)?f.call(n):f;Reflect.ownKeys($).forEach(k=>{zt(k,$[k])})}c&&Ka(c,e,"c");function U($,k){fe(k)?k.forEach(ee=>$(ee.bind(n))):k&&$(k.bind(n))}if(U(Xd,h),U(xt,a),U(qc,d),U(ra,x),U(Mr,m),U(Un,v),U(th,O),U(eh,w),U(Jd,F),U(Gn,p),U(Nr,C),U(Qd,H),fe(g))if(g.length){const $=e.exposed||(e.exposed={});g.forEach(k=>{Object.defineProperty($,k,{get:()=>n[k],set:ee=>n[k]=ee,enumerable:!0})})}else e.exposed||(e.exposed={});B&&e.render===Tt&&(e.render=B),y!=null&&(e.inheritAttrs=y),_&&(e.components=_),A&&(e.directives=A),H&&zc(e)}function ih(e,t,n=Tt){fe(e)&&(e=ps(e));for(const r in e){const i=e[r];let o;Be(i)?"default"in i?o=Je(i.from||r,i.default,!0):o=Je(i.from||r):o=Je(i),Te(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function Ka(e,t,n){At(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Kc(e,t,n,r){let i=r.includes(".")?Rc(n,r):()=>n[r];if(ke(e)){const o=t[e];de(o)&&pe(i,o)}else if(de(e))pe(i,e.bind(n));else if(Be(e))if(fe(e))e.forEach(o=>Kc(o,t,n,r));else{const o=de(e.handler)?e.handler.bind(n):t[e.handler];de(o)&&pe(i,o,e)}}function Zc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,s=o.get(t);let f;return s?f=s:!i.length&&!n&&!r?f=t:(f={},i.length&&i.forEach(u=>Ki(f,u,l,!0)),Ki(f,t,l)),Be(t)&&o.set(t,f),f}function Ki(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&Ki(e,o,n,!0),i&&i.forEach(l=>Ki(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const s=oh[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const oh={data:Za,props:Ya,emits:Ya,methods:ur,computed:ur,beforeCreate:et,created:et,beforeMount:et,mounted:et,beforeUpdate:et,updated:et,beforeDestroy:et,beforeUnmount:et,destroyed:et,unmounted:et,activated:et,deactivated:et,errorCaptured:et,serverPrefetch:et,components:ur,directives:ur,watch:ah,provide:Za,inject:sh};function Za(e,t){return t?e?function(){return We(de(e)?e.call(this,this):e,de(t)?t.call(this,this):t)}:t:e}function sh(e,t){return ur(ps(e),ps(t))}function ps(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function et(e,t){return e?[...new Set([].concat(e,t))]:t}function ur(e,t){return e?We(Object.create(null),e,t):t}function Ya(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:We(Object.create(null),Ga(e),Ga(t??{})):t}function ah(e,t){if(!e)return t;if(!t)return e;const n=We(Object.create(null),e);for(const r in t)n[r]=et(e[r],t[r]);return n}function Yc(){return{app:null,config:{isNativeTag:Ql,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 lh=0;function ch(e,t){return function(r,i=null){de(r)||(r=We({},r)),i!=null&&!Be(i)&&(i=null);const o=Yc(),l=new WeakSet,s=[];let f=!1;const u=o.app={_uid:lh++,_component:r,_props:i,_container:null,_context:o,_instance:null,version:Hh,get config(){return o.config},set config(c){},use(c,...h){return l.has(c)||(c&&de(c.install)?(l.add(c),c.install(u,...h)):de(c)&&(l.add(c),c(u,...h))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,h){return h?(o.components[c]=h,u):o.components[c]},directive(c,h){return h?(o.directives[c]=h,u):o.directives[c]},mount(c,h,a){if(!f){const d=u._ceVNode||M(r,i);return d.appContext=o,a===!0?a="svg":a===!1&&(a=void 0),e(d,c,a),f=!0,u._container=c,c.__vue_app__=u,_o(d.component)}},onUnmount(c){s.push(c)},unmount(){f&&(At(s,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,h){return o.provides[c]=h,u},runWithContext(c){const h=bn;bn=u;try{return c()}finally{bn=h}}};return u}}let bn=null;const uh=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${rt(t)}Modifiers`]||e[`${En(t)}Modifiers`];function fh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Se;let i=n;const o=t.startsWith("update:"),l=o&&uh(r,t.slice(7));l&&(l.trim&&(i=n.map(c=>ke(c)?c.trim():c)),l.number&&(i=n.map(Kf)));let s,f=r[s=Fo(t)]||r[s=Fo(rt(t))];!f&&o&&(f=r[s=Fo(En(t))]),f&&At(f,e,6,i);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,At(u,e,6,i)}}const dh=new WeakMap;function Xc(e,t,n=!1){const r=n?dh:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let l={},s=!1;if(!de(e)){const f=u=>{const c=Xc(u,t,!0);c&&(s=!0,We(l,c))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!o&&!s?(Be(e)&&r.set(e,null),null):(fe(o)?o.forEach(f=>l[f]=null):We(l,o),Be(e)&&r.set(e,l),l)}function po(e,t){return!e||!oo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ae(e,t[0].toLowerCase()+t.slice(1))||Ae(e,En(t))||Ae(e,t))}function Xa(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[o],slots:l,attrs:s,emit:f,render:u,renderCache:c,props:h,data:a,setupState:d,ctx:x,inheritAttrs:m}=e,v=Ui(e);let E,p;try{if(n.shapeFlag&4){const C=i||r,B=C;E=Ft(u.call(B,C,c,h,d,a,x)),p=s}else{const C=t;E=Ft(C.length>1?C(h,{attrs:s,slots:l,emit:f}):C(h,null)),p=t.props?s:hh(s)}}catch(C){yr.length=0,xo(C,e,1),E=M(Ve)}let b=E;if(p&&m!==!1){const C=Object.keys(p),{shapeFlag:B}=b;C.length&&B&7&&(o&&C.some(so)&&(p=xh(p,o)),b=Yt(b,p,!1,!0))}return n.dirs&&(b=Yt(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&$n(b,n.transition),E=b,Ui(v),E}const hh=e=>{let t;for(const n in e)(n==="class"||n==="style"||oo(n))&&((t||(t={}))[n]=e[n]);return t},xh=(e,t)=>{const n={};for(const r in e)(!so(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function gh(e,t,n){const{props:r,children:i,component:o}=e,{props:l,children:s,patchFlag:f}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return r?Qa(r,l,u):!!l;if(f&8){const c=t.dynamicProps;for(let h=0;h<c.length;h++){const a=c[h];if(Qc(l,r,a)&&!po(u,a))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===l?!1:r?l?Qa(r,l,u):!0:!!l;return!1}function Qa(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const o=r[i];if(Qc(t,e,o)&&!po(n,o))return!0}return!1}function Qc(e,t,n){const r=e[n],i=t[n];return n==="style"&&Be(r)&&Be(i)?!Us(r,i):r!==i}function vh({vnode:e,parent:t,suspense:n},r){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=r,e=i),i===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const Jc={},eu=()=>Object.create(Jc),tu=e=>Object.getPrototypeOf(e)===Jc;function ph(e,t,n,r=!1){const i={},o=eu();e.propsDefaults=Object.create(null),nu(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);n?e.props=r?i:Ac(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function mh(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,s=_e(i),[f]=e.propsOptions;let u=!1;if((r||l>0)&&!(l&16)){if(l&8){const c=e.vnode.dynamicProps;for(let h=0;h<c.length;h++){let a=c[h];if(po(e.emitsOptions,a))continue;const d=t[a];if(f)if(Ae(o,a))d!==o[a]&&(o[a]=d,u=!0);else{const x=rt(a);i[x]=ms(f,s,x,d,e,!1)}else d!==o[a]&&(o[a]=d,u=!0)}}}else{nu(e,t,i,o)&&(u=!0);let c;for(const h in s)(!t||!Ae(t,h)&&((c=En(h))===h||!Ae(t,c)))&&(f?n&&(n[h]!==void 0||n[c]!==void 0)&&(i[h]=ms(f,s,h,void 0,e,!0)):delete i[h]);if(o!==s)for(const h in o)(!t||!Ae(t,h))&&(delete o[h],u=!0)}u&&Lt(e.attrs,"set","")}function nu(e,t,n,r){const[i,o]=e.propsOptions;let l=!1,s;if(t)for(let f in t){if(xr(f))continue;const u=t[f];let c;i&&Ae(i,c=rt(f))?!o||!o.includes(c)?n[c]=u:(s||(s={}))[c]=u:po(e.emitsOptions,f)||(!(f in r)||u!==r[f])&&(r[f]=u,l=!0)}if(o){const f=_e(n),u=s||Se;for(let c=0;c<o.length;c++){const h=o[c];n[h]=ms(i,f,h,u[h],e,!Ae(u,h))}}return l}function ms(e,t,n,r,i,o){const l=e[n];if(l!=null){const s=Ae(l,"default");if(s&&r===void 0){const f=l.default;if(l.type!==Function&&!l.skipFactory&&de(f)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const c=Lr(i);r=u[n]=f.call(null,t),c()}}else r=f;i.ce&&i.ce._setProp(n,r)}l[0]&&(o&&!s?r=!1:l[1]&&(r===""||r===En(n))&&(r=!0))}return r}const _h=new WeakMap;function ru(e,t,n=!1){const r=n?_h:t.propsCache,i=r.get(e);if(i)return i;const o=e.props,l={},s=[];let f=!1;if(!de(e)){const c=h=>{f=!0;const[a,d]=ru(h,t,!0);We(l,a),d&&s.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!f)return Be(e)&&r.set(e,Mn),Mn;if(fe(o))for(let c=0;c<o.length;c++){const h=rt(o[c]);Ja(h)&&(l[h]=Se)}else if(o)for(const c in o){const h=rt(c);if(Ja(h)){const a=o[c],d=l[h]=fe(a)||de(a)?{type:a}:We({},a),x=d.type;let m=!1,v=!0;if(fe(x))for(let E=0;E<x.length;++E){const p=x[E],b=de(p)&&p.name;if(b==="Boolean"){m=!0;break}else b==="String"&&(v=!1)}else m=de(x)&&x.name==="Boolean";d[0]=m,d[1]=v,(m||Ae(d,"default"))&&s.push(h)}}const u=[l,s];return Be(e)&&r.set(e,u),u}function Ja(e){return e[0]!=="$"&&!xr(e)}const ia=e=>e==="_"||e==="_ctx"||e==="$stable",oa=e=>fe(e)?e.map(Ft):[Ft(e)],yh=(e,t,n)=>{if(t._n)return t;const r=Nd((...i)=>oa(t(...i)),n);return r._c=!1,r},iu=(e,t,n)=>{const r=e._ctx;for(const i in e){if(ia(i))continue;const o=e[i];if(de(o))t[i]=yh(i,o,r);else if(o!=null){const l=oa(o);t[i]=()=>l}}},ou=(e,t)=>{const n=oa(t);e.slots.default=()=>n},su=(e,t,n)=>{for(const r in t)(n||!ia(r))&&(e[r]=t[r])},bh=(e,t,n)=>{const r=e.slots=eu();if(e.vnode.shapeFlag&32){const i=t._;i?(su(r,t,n),n&&rc(r,"_",i,!0)):iu(t,r)}else t&&ou(e,t)},Ch=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,l=Se;if(r.shapeFlag&32){const s=t._;s?n&&s===1?o=!1:su(i,t,n):(o=!t.$stable,iu(t,i)),l=t}else t&&(ou(e,t),l={default:1});if(o)for(const s in i)!ia(s)&&l[s]==null&&delete i[s]},ze=Dh;function Eh(e){return Ah(e)}function Ah(e,t){const n=uo();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:l,createText:s,createComment:f,setText:u,setElementText:c,parentNode:h,nextSibling:a,setScopeId:d=Tt,insertStaticContent:x}=e,m=(S,T,N,j=null,K=null,Z=null,ne=void 0,re=null,te=!!T.dynamicChildren)=>{if(S===T)return;S&&!on(S,T)&&(j=D(S),P(S,K,Z,!0),S=null),T.patchFlag===-2&&(te=!1,T.dynamicChildren=null);const{type:Y,ref:se,shapeFlag:ie}=T;switch(Y){case mo:v(S,T,N,j);break;case Ve:E(S,T,N,j);break;case Lo:S==null&&p(T,N,j,ne);break;case ot:_(S,T,N,j,K,Z,ne,re,te);break;default:ie&1?B(S,T,N,j,K,Z,ne,re,te):ie&6?A(S,T,N,j,K,Z,ne,re,te):(ie&64||ie&128)&&Y.process(S,T,N,j,K,Z,ne,re,te,X)}se!=null&&K?mr(se,S&&S.ref,Z,T||S,!T):se==null&&S&&S.ref!=null&&mr(S.ref,null,Z,S,!0)},v=(S,T,N,j)=>{if(S==null)r(T.el=s(T.children),N,j);else{const K=T.el=S.el;T.children!==S.children&&u(K,T.children)}},E=(S,T,N,j)=>{S==null?r(T.el=f(T.children||""),N,j):T.el=S.el},p=(S,T,N,j)=>{[S.el,S.anchor]=x(S.children,T,N,j,S.el,S.anchor)},b=({el:S,anchor:T},N,j)=>{let K;for(;S&&S!==T;)K=a(S),r(S,N,j),S=K;r(T,N,j)},C=({el:S,anchor:T})=>{let N;for(;S&&S!==T;)N=a(S),i(S),S=N;i(T)},B=(S,T,N,j,K,Z,ne,re,te)=>{if(T.type==="svg"?ne="svg":T.type==="math"&&(ne="mathml"),S==null)w(T,N,j,K,Z,ne,re,te);else{const Y=S.el&&S.el._isVueCE?S.el:null;try{Y&&Y._beginPatch(),H(S,T,K,Z,ne,re,te)}finally{Y&&Y._endPatch()}}},w=(S,T,N,j,K,Z,ne,re)=>{let te,Y;const{props:se,shapeFlag:ie,transition:ae,dirs:ce}=S;if(te=S.el=l(S.type,Z,se&&se.is,se),ie&8?c(te,S.children):ie&16&&O(S.children,te,null,j,K,No(S,Z),ne,re),ce&&un(S,null,j,"created"),F(te,S,S.scopeId,ne,j),se){for(const ge in se)ge!=="value"&&!xr(ge)&&o(te,ge,null,se[ge],Z,j);"value"in se&&o(te,"value",null,se.value,Z),(Y=se.onVnodeBeforeMount)&&_t(Y,j,S)}ce&&un(S,null,j,"beforeMount");const he=Bh(K,ae);he&&ae.beforeEnter(te),r(te,T,N),((Y=se&&se.onVnodeMounted)||he||ce)&&ze(()=>{try{Y&&_t(Y,j,S),he&&ae.enter(te),ce&&un(S,null,j,"mounted")}finally{}},K)},F=(S,T,N,j,K)=>{if(N&&d(S,N),j)for(let Z=0;Z<j.length;Z++)d(S,j[Z]);if(K){let Z=K.subTree;if(T===Z||Yi(Z.type)&&(Z.ssContent===T||Z.ssFallback===T)){const ne=K.vnode;F(S,ne,ne.scopeId,ne.slotScopeIds,K.parent)}}},O=(S,T,N,j,K,Z,ne,re,te=0)=>{for(let Y=te;Y<S.length;Y++){const se=S[Y]=re?Nt(S[Y]):Ft(S[Y]);m(null,se,T,N,j,K,Z,ne,re)}},H=(S,T,N,j,K,Z,ne)=>{const re=T.el=S.el;let{patchFlag:te,dynamicChildren:Y,dirs:se}=T;te|=S.patchFlag&16;const ie=S.props||Se,ae=T.props||Se;let ce;if(N&&dn(N,!1),(ce=ae.onVnodeBeforeUpdate)&&_t(ce,N,T,S),se&&un(T,S,N,"beforeUpdate"),N&&dn(N,!0),(ie.innerHTML&&ae.innerHTML==null||ie.textContent&&ae.textContent==null)&&c(re,""),Y?g(S.dynamicChildren,Y,re,N,j,No(T,K),Z):ne||k(S,T,re,null,N,j,No(T,K),Z,!1),te>0){if(te&16)y(re,ie,ae,N,K);else if(te&2&&ie.class!==ae.class&&o(re,"class",null,ae.class,K),te&4&&o(re,"style",ie.style,ae.style,K),te&8){const he=T.dynamicProps;for(let ge=0;ge<he.length;ge++){const ye=he[ge],De=ie[ye],Oe=ae[ye];(Oe!==De||ye==="value")&&o(re,ye,De,Oe,K,N)}}te&1&&S.children!==T.children&&c(re,T.children)}else!ne&&Y==null&&y(re,ie,ae,N,K);((ce=ae.onVnodeUpdated)||se)&&ze(()=>{ce&&_t(ce,N,T,S),se&&un(T,S,N,"updated")},j)},g=(S,T,N,j,K,Z,ne)=>{for(let re=0;re<T.length;re++){const te=S[re],Y=T[re],se=te.el&&(te.type===ot||!on(te,Y)||te.shapeFlag&198)?h(te.el):N;m(te,Y,se,null,j,K,Z,ne,!0)}},y=(S,T,N,j,K)=>{if(T!==N){if(T!==Se)for(const Z in T)!xr(Z)&&!(Z in N)&&o(S,Z,T[Z],null,K,j);for(const Z in N){if(xr(Z))continue;const ne=N[Z],re=T[Z];ne!==re&&Z!=="value"&&o(S,Z,re,ne,K,j)}"value"in N&&o(S,"value",T.value,N.value,K)}},_=(S,T,N,j,K,Z,ne,re,te)=>{const Y=T.el=S?S.el:s(""),se=T.anchor=S?S.anchor:s("");let{patchFlag:ie,dynamicChildren:ae,slotScopeIds:ce}=T;ce&&(re=re?re.concat(ce):ce),S==null?(r(Y,N,j),r(se,N,j),O(T.children||[],N,se,K,Z,ne,re,te)):ie>0&&ie&64&&ae&&S.dynamicChildren&&S.dynamicChildren.length===ae.length?(g(S.dynamicChildren,ae,N,K,Z,ne,re),(T.key!=null||K&&T===K.subTree)&&sa(S,T,!0)):k(S,T,N,se,K,Z,ne,re,te)},A=(S,T,N,j,K,Z,ne,re,te)=>{T.slotScopeIds=re,S==null?T.shapeFlag&512?K.ctx.activate(T,N,j,ne,te):R(T,N,j,K,Z,ne,te):W(S,T,te)},R=(S,T,N,j,K,Z,ne)=>{const re=S.component=Oh(S,j,K);if(go(S)&&(re.ctx.renderer=X),Ph(re,!1,ne),re.asyncDep){if(K&&K.registerDep(re,U,ne),!S.el){const te=re.subTree=M(Ve);E(null,te,T,N),S.placeholder=te.el}}else U(re,S,T,N,K,Z,ne)},W=(S,T,N)=>{const j=T.component=S.component;if(gh(S,T,N))if(j.asyncDep&&!j.asyncResolved){$(j,T,N);return}else j.next=T,j.update();else T.el=S.el,j.vnode=T},U=(S,T,N,j,K,Z,ne)=>{const re=()=>{if(S.isMounted){let{next:ie,bu:ae,u:ce,parent:he,vnode:ge}=S;{const Ge=au(S);if(Ge){ie&&(ie.el=ge.el,$(S,ie,ne)),Ge.asyncDep.then(()=>{ze(()=>{S.isUnmounted||Y()},K)});return}}let ye=ie,De;dn(S,!1),ie?(ie.el=ge.el,$(S,ie,ne)):ie=ge,ae&&gr(ae),(De=ie.props&&ie.props.onVnodeBeforeUpdate)&&_t(De,he,ie,ge),dn(S,!0);const Oe=Xa(S),He=S.subTree;S.subTree=Oe,m(He,Oe,h(He.el),D(He),S,K,Z),ie.el=Oe.el,ye===null&&vh(S,Oe.el),ce&&ze(ce,K),(De=ie.props&&ie.props.onVnodeUpdated)&&ze(()=>_t(De,he,ie,ge),K)}else{let ie;const{el:ae,props:ce}=T,{bm:he,m:ge,parent:ye,root:De,type:Oe}=S,He=sn(T);dn(S,!1),he&&gr(he),!He&&(ie=ce&&ce.onVnodeBeforeMount)&&_t(ie,ye,T),dn(S,!0);{De.ce&&De.ce._hasShadowRoot()&&De.ce._injectChildStyle(Oe,S.parent?S.parent.type:void 0);const Ge=S.subTree=Xa(S);m(null,Ge,N,j,S,K,Z),T.el=Ge.el}if(ge&&ze(ge,K),!He&&(ie=ce&&ce.onVnodeMounted)){const Ge=T;ze(()=>_t(ie,ye,Ge),K)}(T.shapeFlag&256||ye&&sn(ye.vnode)&&ye.vnode.shapeFlag&256)&&S.a&&ze(S.a,K),S.isMounted=!0,T=N=j=null}};S.scope.on();const te=S.effect=new uc(re);S.scope.off();const Y=S.update=te.run.bind(te),se=S.job=te.runIfDirty.bind(te);se.i=S,se.id=S.uid,te.scheduler=()=>ea(se),dn(S,!0),Y()},$=(S,T,N)=>{T.component=S;const j=S.vnode.props;S.vnode=T,S.next=null,mh(S,T.props,j,N),Ch(S,T.children,N),Gt(),$a(S),Kt()},k=(S,T,N,j,K,Z,ne,re,te=!1)=>{const Y=S&&S.children,se=S?S.shapeFlag:0,ie=T.children,{patchFlag:ae,shapeFlag:ce}=T;if(ae>0){if(ae&128){Q(Y,ie,N,j,K,Z,ne,re,te);return}else if(ae&256){ee(Y,ie,N,j,K,Z,ne,re,te);return}}ce&8?(se&16&&J(Y,K,Z),ie!==Y&&c(N,ie)):se&16?ce&16?Q(Y,ie,N,j,K,Z,ne,re,te):J(Y,K,Z,!0):(se&8&&c(N,""),ce&16&&O(ie,N,j,K,Z,ne,re,te))},ee=(S,T,N,j,K,Z,ne,re,te)=>{S=S||Mn,T=T||Mn;const Y=S.length,se=T.length,ie=Math.min(Y,se);let ae;for(ae=0;ae<ie;ae++){const ce=T[ae]=te?Nt(T[ae]):Ft(T[ae]);m(S[ae],ce,N,null,K,Z,ne,re,te)}Y>se?J(S,K,Z,!0,!1,ie):O(T,N,j,K,Z,ne,re,te,ie)},Q=(S,T,N,j,K,Z,ne,re,te)=>{let Y=0;const se=T.length;let ie=S.length-1,ae=se-1;for(;Y<=ie&&Y<=ae;){const ce=S[Y],he=T[Y]=te?Nt(T[Y]):Ft(T[Y]);if(on(ce,he))m(ce,he,N,null,K,Z,ne,re,te);else break;Y++}for(;Y<=ie&&Y<=ae;){const ce=S[ie],he=T[ae]=te?Nt(T[ae]):Ft(T[ae]);if(on(ce,he))m(ce,he,N,null,K,Z,ne,re,te);else break;ie--,ae--}if(Y>ie){if(Y<=ae){const ce=ae+1,he=ce<se?T[ce].el:j;for(;Y<=ae;)m(null,T[Y]=te?Nt(T[Y]):Ft(T[Y]),N,he,K,Z,ne,re,te),Y++}}else if(Y>ae)for(;Y<=ie;)P(S[Y],K,Z,!0),Y++;else{const ce=Y,he=Y,ge=new Map;for(Y=he;Y<=ae;Y++){const Ke=T[Y]=te?Nt(T[Y]):Ft(T[Y]);Ke.key!=null&&ge.set(Ke.key,Y)}let ye,De=0;const Oe=ae-he+1;let He=!1,Ge=0;const cn=new Array(Oe);for(Y=0;Y<Oe;Y++)cn[Y]=0;for(Y=ce;Y<=ie;Y++){const Ke=S[Y];if(De>=Oe){P(Ke,K,Z,!0);continue}let vt;if(Ke.key!=null)vt=ge.get(Ke.key);else for(ye=he;ye<=ae;ye++)if(cn[ye-he]===0&&on(Ke,T[ye])){vt=ye;break}vt===void 0?P(Ke,K,Z,!0):(cn[vt-he]=Y+1,vt>=Ge?Ge=vt:He=!0,m(Ke,T[vt],N,null,K,Z,ne,re,te),De++)}const Xn=He?wh(cn):Mn;for(ye=Xn.length-1,Y=Oe-1;Y>=0;Y--){const Ke=he+Y,vt=T[Ke],jr=T[Ke+1],Qn=Ke+1<se?jr.el||lu(jr):j;cn[Y]===0?m(null,vt,N,Qn,K,Z,ne,re,te):He&&(ye<0||Y!==Xn[ye]?L(vt,N,Qn,2):ye--)}}},L=(S,T,N,j,K=null)=>{const{el:Z,type:ne,transition:re,children:te,shapeFlag:Y}=S;if(Y&6){L(S.component.subTree,T,N,j);return}if(Y&128){S.suspense.move(T,N,j);return}if(Y&64){ne.move(S,T,N,X);return}if(ne===ot){r(Z,T,N);for(let ie=0;ie<te.length;ie++)L(te[ie],T,N,j);r(S.anchor,T,N);return}if(ne===Lo){b(S,T,N);return}if(j!==2&&Y&1&&re)if(j===0)re.beforeEnter(Z),r(Z,T,N),ze(()=>re.enter(Z),K);else{const{leave:ie,delayLeave:ae,afterLeave:ce}=re,he=()=>{S.ctx.isUnmounted?i(Z):r(Z,T,N)},ge=()=>{Z._isLeaving&&Z[Dt](!0),ie(Z,()=>{he(),ce&&ce()})};ae?ae(Z,he,ge):ge()}else r(Z,T,N)},P=(S,T,N,j=!1,K=!1)=>{const{type:Z,props:ne,ref:re,children:te,dynamicChildren:Y,shapeFlag:se,patchFlag:ie,dirs:ae,cacheIndex:ce,memo:he}=S;if(ie===-2&&(K=!1),re!=null&&(Gt(),mr(re,null,N,S,!0),Kt()),ce!=null&&(T.renderCache[ce]=void 0),se&256){T.ctx.deactivate(S);return}const ge=se&1&&ae,ye=!sn(S);let De;if(ye&&(De=ne&&ne.onVnodeBeforeUnmount)&&_t(De,T,S),se&6)G(S.component,N,j);else{if(se&128){S.suspense.unmount(N,j);return}ge&&un(S,null,T,"beforeUnmount"),se&64?S.type.remove(S,T,N,X,j):Y&&!Y.hasOnce&&(Z!==ot||ie>0&&ie&64)?J(Y,T,N,!1,!0):(Z===ot&&ie&384||!K&&se&16)&&J(te,T,N),j&&z(S)}const Oe=he!=null&&ce==null;(ye&&(De=ne&&ne.onVnodeUnmounted)||ge||Oe)&&ze(()=>{De&&_t(De,T,S),ge&&un(S,null,T,"unmounted"),Oe&&(S.el=null)},N)},z=S=>{const{type:T,el:N,anchor:j,transition:K}=S;if(T===ot){I(N,j);return}if(T===Lo){C(S);return}const Z=()=>{i(N),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(S.shapeFlag&1&&K&&!K.persisted){const{leave:ne,delayLeave:re}=K,te=()=>ne(N,Z);re?re(S.el,Z,te):te()}else Z()},I=(S,T)=>{let N;for(;S!==T;)N=a(S),i(S),S=N;i(T)},G=(S,T,N)=>{const{bum:j,scope:K,job:Z,subTree:ne,um:re,m:te,a:Y}=S;Zi(te),Zi(Y),j&&gr(j),K.stop(),Z&&(Z.flags|=8,P(ne,S,T,N)),re&&ze(re,T),ze(()=>{S.isUnmounted=!0},T)},J=(S,T,N,j=!1,K=!1,Z=0)=>{for(let ne=Z;ne<S.length;ne++)P(S[ne],T,N,j,K)},D=S=>{if(S.shapeFlag&6)return D(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const T=a(S.anchor||S.el),N=T&&T[Oc];return N?a(N):T};let q=!1;const V=(S,T,N)=>{let j;S==null?T._vnode&&(P(T._vnode,null,null,!0),j=T._vnode.component):m(T._vnode||null,S,T,null,null,null,N),T._vnode=S,q||(q=!0,$a(j),Fc(),q=!1)},X={p:m,um:P,m:L,r:z,mt:R,mc:O,pc:k,pbc:g,n:D,o:e};return{render:V,hydrate:void 0,createApp:ch(V)}}function No({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 dn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Bh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function sa(e,t,n=!1){const r=e.children,i=t.children;if(fe(r)&&fe(i))for(let o=0;o<r.length;o++){const l=r[o];let s=i[o];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=i[o]=Nt(i[o]),s.el=l.el),!n&&s.patchFlag!==-2&&sa(l,s)),s.type===mo&&(s.patchFlag===-1&&(s=i[o]=Nt(s)),s.el=l.el),s.type===Ve&&!s.el&&(s.el=l.el)}}function wh(e){const t=e.slice(),n=[0];let r,i,o,l,s;const f=e.length;for(r=0;r<f;r++){const u=e[r];if(u!==0){if(i=n[n.length-1],e[i]<u){t[r]=i,n.push(r);continue}for(o=0,l=n.length-1;o<l;)s=o+l>>1,e[n[s]]<u?o=s+1:l=s;u<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,l=n[o-1];o-- >0;)n[o]=l,l=t[l];return n}function au(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:au(t)}function Zi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function lu(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?lu(t.subTree):null}const Yi=e=>e.__isSuspense;function Dh(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):Md(e)}const ot=Symbol.for("v-fgt"),mo=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),Lo=Symbol.for("v-stc"),yr=[];let ut=null;function _s(e=!1){yr.push(ut=e?null:[])}function Sh(){yr.pop(),ut=yr[yr.length-1]||null}let kr=1;function Xi(e,t=!1){kr+=e,e<0&&ut&&t&&(ut.hasOnce=!0)}function cu(e){return e.dynamicChildren=kr>0?ut||Mn:null,Sh(),kr>0&&ut&&ut.push(e),e}function B2(e,t,n,r,i,o){return cu(fu(e,t,n,r,i,o,!0))}function ys(e,t,n,r,i){return cu(M(e,t,n,r,i,!0))}function Cn(e){return e?e.__v_isVNode===!0:!1}function on(e,t){return e.type===t.type&&e.key===t.key}const uu=({key:e})=>e??null,ri=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||Te(e)||de(e)?{i:je,r:e,k:t,f:!!n}:e:null);function fu(e,t=null,n=null,r=0,i=null,o=e===ot?0:1,l=!1,s=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&uu(t),ref:t&&ri(t),scopeId:Tc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:je};return s?(aa(f,n),o&128&&e.normalize(f)):n&&(f.shapeFlag|=ke(n)?8:16),kr>0&&!l&&ut&&(f.patchFlag>0||o&6)&&f.patchFlag!==32&&ut.push(f),f}const M=Fh;function Fh(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===jc)&&(e=Ve),Cn(e)){const s=Yt(e,t,!0);return n&&aa(s,n),kr>0&&!o&&ut&&(s.shapeFlag&6?ut[ut.indexOf(e)]=s:ut.push(s)),s.patchFlag=-2,s}if(Lh(e)&&(e=e.__vccOpts),t){t=kh(t);let{class:s,style:f}=t;s&&!ke(s)&&(t.class=js(s)),Be(f)&&(ho(f)&&!fe(f)&&(f=We({},f)),t.style=Vs(f))}const l=ke(e)?1:Yi(e)?128:Pc(e)?64:Be(e)?4:de(e)?2:0;return fu(e,t,n,r,i,l,o,!0)}function kh(e){return e?ho(e)||tu(e)?We({},e):e:null}function Yt(e,t,n=!1,r=!1){const{props:i,ref:o,patchFlag:l,children:s,transition:f}=e,u=t?at(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&uu(u),ref:t&&t.ref?n&&o?fe(o)?o.concat(ri(t)):[o,ri(t)]:ri(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ot?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Yt(e.ssContent),ssFallback:e.ssFallback&&Yt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&r&&$n(c,f.clone(c)),c}function du(e=" ",t=0){return M(mo,null,e,t)}function w2(e="",t=!1){return t?(_s(),ys(Ve,null,e)):M(Ve,null,e)}function Ft(e){return e==null||typeof e=="boolean"?M(Ve):fe(e)?M(ot,null,e.slice()):Cn(e)?Nt(e):M(mo,null,String(e))}function Nt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Yt(e)}function aa(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),aa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!tu(t)?t._ctx=je:i===3&&je&&(je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else de(t)?(t={default:t,_ctx:je},n=32):(t=String(t),r&64?(n=16,t=[du(t)]):n=8);e.children=t,e.shapeFlag|=n}function at(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=js([t.class,r.class]));else if(i==="style")t.style=Vs([t.style,r.style]);else if(oo(i)){const o=t[i],l=r[i];l&&o!==l&&!(fe(o)&&o.includes(l))?t[i]=o?[].concat(o,l):l:l==null&&o==null&&!so(i)&&(t[i]=l)}else i!==""&&(t[i]=r[i])}return t}function _t(e,t,n,r=null){At(e,t,7,[n,r])}const Th=Yc();let Rh=0;function Oh(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Th,o={uid:Rh++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ac(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ru(r,i),emitsOptions:Xc(r,i),emit:null,emitted:null,propsDefaults:Se,inheritAttrs:r.inheritAttrs,ctx:Se,data:Se,props:Se,attrs:Se,slots:Se,refs:Se,setupState:Se,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=fh.bind(null,o),e.ce&&e.ce(o),o}let Qe=null;const lt=()=>Qe||je;let Qi,bs;{const e=uo(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),o=>{i.length>1?i.forEach(l=>l(o)):i[0](o)}};Qi=t("__VUE_INSTANCE_SETTERS__",n=>Qe=n),bs=t("__VUE_SSR_SETTERS__",n=>Tr=n)}const Lr=e=>{const t=Qe;return Qi(e),e.scope.on(),()=>{e.scope.off(),Qi(t)}},e0=()=>{Qe&&Qe.scope.off(),Qi(null)};function hu(e){return e.vnode.shapeFlag&4}let Tr=!1;function Ph(e,t=!1,n=!1){t&&bs(t);const{props:r,children:i}=e.vnode,o=hu(e);ph(e,r,o,t),bh(e,i,n||t);const l=o?Ih(e,t):void 0;return t&&bs(!1),l}function Ih(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nh);const{setup:r}=n;if(r){Gt();const i=e.setupContext=r.length>1?Nh(e):null,o=Lr(e),l=Ir(r,e,0,[e.props,i]),s=ec(l);if(Kt(),o(),(s||e.sp)&&!sn(e)&&zc(e),s){if(l.then(e0,e0),t)return l.then(f=>{t0(e,f)}).catch(f=>{xo(f,e,0)});e.asyncDep=l}else t0(e,l)}else xu(e)}function t0(e,t,n){de(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=wc(t)),xu(e)}function xu(e,t,n){const r=e.type;e.render||(e.render=r.render||Tt);{const i=Lr(e);Gt();try{rh(e)}finally{Kt(),i()}}}const Mh={get(e,t){return Ye(e,"get",""),e[t]}};function Nh(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Mh),slots:e.slots,emit:e.emit,expose:t}}function _o(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(wc(Js(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _r)return _r[n](e)},has(t,n){return n in t||n in _r}})):e.proxy}function Cs(e,t=!0){return de(e)?e.displayName||e.name:e.name||t&&e.__name}function Lh(e){return de(e)&&"__vccOpts"in e}const le=(e,t)=>Td(e,t,Tr);function la(e,t,n){try{Xi(-1);const r=arguments.length;return r===2?Be(t)&&!fe(t)?Cn(t)?M(e,null,[t]):M(e,t):M(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Cn(n)&&(n=[n]),M(e,t,n))}finally{Xi(1)}}const Hh="3.5.32";/**
|
|
* @vue/runtime-dom v3.5.32
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Es;const n0=typeof window<"u"&&window.trustedTypes;if(n0)try{Es=n0.createPolicy("vue",{createHTML:e=>e})}catch{}const gu=Es?e=>Es.createHTML(e):e=>e,$h="http://www.w3.org/2000/svg",zh="http://www.w3.org/1998/Math/MathML",Mt=typeof document<"u"?document:null,r0=Mt&&Mt.createElement("template"),Wh={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 i=t==="svg"?Mt.createElementNS($h,e):t==="mathml"?Mt.createElementNS(zh,e):n?Mt.createElement(e,{is:n}):Mt.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Mt.createTextNode(e),createComment:e=>Mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const l=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{r0.innerHTML=gu(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const s=r0.content;if(r==="svg"||r==="mathml"){const f=s.firstChild;for(;f.firstChild;)s.appendChild(f.firstChild);s.removeChild(f)}t.insertBefore(s,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Jt="transition",tr="animation",Rr=Symbol("_vtc"),vu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},qh=We({},Mc,vu),Vh=e=>(e.displayName="Transition",e.props=qh,e),pu=Vh((e,{slots:t})=>la(Kd,jh(e),t)),hn=(e,t=[])=>{fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},i0=e=>e?fe(e)?e.some(t=>t.length>1):e.length>1:!1;function jh(e){const t={};for(const _ in e)_ in vu||(t[_]=e[_]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:f=o,appearActiveClass:u=l,appearToClass:c=s,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:a=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=e,x=Uh(i),m=x&&x[0],v=x&&x[1],{onBeforeEnter:E,onEnter:p,onEnterCancelled:b,onLeave:C,onLeaveCancelled:B,onBeforeAppear:w=E,onAppear:F=p,onAppearCancelled:O=b}=t,H=(_,A,R,W)=>{_._enterCancelled=W,xn(_,A?c:s),xn(_,A?u:l),R&&R()},g=(_,A)=>{_._isLeaving=!1,xn(_,h),xn(_,d),xn(_,a),A&&A()},y=_=>(A,R)=>{const W=_?F:p,U=()=>H(A,_,R);hn(W,[A,U]),o0(()=>{xn(A,_?f:o),Pt(A,_?c:s),i0(W)||s0(A,r,m,U)})};return We(t,{onBeforeEnter(_){hn(E,[_]),Pt(_,o),Pt(_,l)},onBeforeAppear(_){hn(w,[_]),Pt(_,f),Pt(_,u)},onEnter:y(!1),onAppear:y(!0),onLeave(_,A){_._isLeaving=!0;const R=()=>g(_,A);Pt(_,h),_._enterCancelled?(Pt(_,a),c0(_)):(c0(_),Pt(_,a)),o0(()=>{_._isLeaving&&(xn(_,h),Pt(_,d),i0(C)||s0(_,r,v,R))}),hn(C,[_,R])},onEnterCancelled(_){H(_,!1,void 0,!0),hn(b,[_])},onAppearCancelled(_){H(_,!0,void 0,!0),hn(O,[_])},onLeaveCancelled(_){g(_),hn(B,[_])}})}function Uh(e){if(e==null)return null;if(Be(e))return[Ho(e.enter),Ho(e.leave)];{const t=Ho(e);return[t,t]}}function Ho(e){return Zf(e)}function Pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Rr]||(e[Rr]=new Set)).add(t)}function xn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Rr];n&&(n.delete(t),n.size||(e[Rr]=void 0))}function o0(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Gh=0;function s0(e,t,n,r){const i=e._endId=++Gh,o=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:l,timeout:s,propCount:f}=Kh(e,t);if(!l)return r();const u=l+"end";let c=0;const h=()=>{e.removeEventListener(u,a),o()},a=d=>{d.target===e&&++c>=f&&h()};setTimeout(()=>{c<f&&h()},s+1),e.addEventListener(u,a)}function Kh(e,t){const n=window.getComputedStyle(e),r=x=>(n[x]||"").split(", "),i=r(`${Jt}Delay`),o=r(`${Jt}Duration`),l=a0(i,o),s=r(`${tr}Delay`),f=r(`${tr}Duration`),u=a0(s,f);let c=null,h=0,a=0;t===Jt?l>0&&(c=Jt,h=l,a=o.length):t===tr?u>0&&(c=tr,h=u,a=f.length):(h=Math.max(l,u),c=h>0?l>u?Jt:tr:null,a=c?c===Jt?o.length:f.length:0);const d=c===Jt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Jt}Property`).toString());return{type:c,timeout:h,propCount:a,hasTransform:d}}function a0(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>l0(n)+l0(e[r])))}function l0(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function c0(e){return(e?e.ownerDocument:document).body.offsetHeight}function Zh(e,t,n){const r=e[Rr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ji=Symbol("_vod"),mu=Symbol("_vsh"),ca={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ji]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):nr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),nr(e,!0),r.enter(e)):r.leave(e,()=>{nr(e,!1)}):nr(e,t))},beforeUnmount(e,{value:t}){nr(e,t)}};function nr(e,t){e.style.display=t?e[Ji]:"none",e[mu]=!t}const Yh=Symbol(""),Xh=/(?:^|;)\s*display\s*:/;function Qh(e,t,n){const r=e.style,i=ke(n);let o=!1;if(n&&!i){if(t)if(ke(t))for(const l of t.split(";")){const s=l.slice(0,l.indexOf(":")).trim();n[s]==null&&ii(r,s,"")}else for(const l in t)n[l]==null&&ii(r,l,"");for(const l in n)l==="display"&&(o=!0),ii(r,l,n[l])}else if(i){if(t!==n){const l=r[Yh];l&&(n+=";"+l),r.cssText=n,o=Xh.test(n)}}else t&&e.removeAttribute("style");Ji in e&&(e[Ji]=o?r.display:"",e[mu]&&(r.display="none"))}const u0=/\s*!important$/;function ii(e,t,n){if(fe(n))n.forEach(r=>ii(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Jh(e,t);u0.test(n)?e.setProperty(En(r),n.replace(u0,""),"important"):e[r]=n}}const f0=["Webkit","Moz","ms"],$o={};function Jh(e,t){const n=$o[t];if(n)return n;let r=rt(t);if(r!=="filter"&&r in e)return $o[t]=r;r=co(r);for(let i=0;i<f0.length;i++){const o=f0[i]+r;if(o in e)return $o[t]=o}return t}const d0="http://www.w3.org/1999/xlink";function h0(e,t,n,r,i,o=td(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(d0,t.slice(6,t.length)):e.setAttributeNS(d0,t,n):n==null||o&&!ic(n)?e.removeAttribute(t):e.setAttribute(t,o?"":ht(n)?String(n):n)}function x0(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?gu(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const s=o==="OPTION"?e.getAttribute("value")||"":e.value,f=n==null?e.type==="checkbox"?"on":"":String(n);(s!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=ic(n):n==null&&s==="string"?(n="",l=!0):s==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(i||t)}function ex(e,t,n,r){e.addEventListener(t,n,r)}function tx(e,t,n,r){e.removeEventListener(t,n,r)}const g0=Symbol("_vei");function nx(e,t,n,r,i=null){const o=e[g0]||(e[g0]={}),l=o[t];if(r&&l)l.value=r;else{const[s,f]=rx(t);if(r){const u=o[t]=sx(r,i);ex(e,s,u,f)}else l&&(tx(e,s,l,f),o[t]=void 0)}}const v0=/(?:Once|Passive|Capture)$/;function rx(e){let t;if(v0.test(e)){t={};let r;for(;r=e.match(v0);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):En(e.slice(2)),t]}let zo=0;const ix=Promise.resolve(),ox=()=>zo||(ix.then(()=>zo=0),zo=Date.now());function sx(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;At(ax(r,n.value),t,5,[r])};return n.value=e,n.attached=ox(),n}function ax(e,t){if(fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const p0=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,lx=(e,t,n,r,i,o)=>{const l=i==="svg";t==="class"?Zh(e,r,l):t==="style"?Qh(e,n,r):oo(t)?so(t)||nx(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):cx(e,t,r,l))?(x0(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&h0(e,t,r,l,o,t!=="value")):e._isVueCE&&(ux(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ke(r)))?x0(e,rt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),h0(e,t,r,l))};function cx(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&p0(t)&&de(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return p0(t)&&ke(n)?!1:t in e}function ux(e,t){const n=e._def.props;if(!n)return!1;const r=rt(t);return Array.isArray(n)?n.some(i=>rt(i)===r):Object.keys(n).some(i=>rt(i)===r)}const fx=["ctrl","shift","alt","meta"],dx={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>fx.some(n=>e[`${n}Key`]&&!t.includes(n))},D2=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((i,...o)=>{for(let l=0;l<t.length;l++){const s=dx[t[l]];if(s&&s(i,t))return}return e(i,...o)}))},hx=We({patchProp:lx},Wh);let m0;function xx(){return m0||(m0=Eh(hx))}const gx=((...e)=>{const t=xx().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=px(r);if(!i)return;const o=t._component;!de(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=n(i,!1,vx(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t});function vx(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function px(e){return ke(e)?document.querySelector(e):e}/*!
|
|
* pinia v2.3.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let _u;const yo=e=>_u=e,yu=Symbol();function As(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var br;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(br||(br={}));function S2(){const e=lc(!0),t=e.run(()=>ue({}));let n=[],r=[];const i=Js({install(o){yo(i),i._a=o,o.provide(yu,i),o.config.globalProperties.$pinia=i,r.forEach(l=>n.push(l)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const bu=()=>{};function _0(e,t,n,r=bu){e.push(t);const i=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&cc()&&id(i),i}function Sn(e,...t){e.slice().forEach(n=>{n(...t)})}const mx=e=>e(),y0=Symbol(),Wo=Symbol();function Bs(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];As(i)&&As(r)&&e.hasOwnProperty(n)&&!Te(r)&&!$t(r)?e[n]=Bs(i,r):e[n]=r}return e}const _x=Symbol();function yx(e){return!As(e)||!e.hasOwnProperty(_x)}const{assign:tn}=Object;function bx(e){return!!(Te(e)&&e.effect)}function Cx(e,t,n,r){const{state:i,actions:o,getters:l}=t,s=n.state.value[e];let f;function u(){s||(n.state.value[e]=i?i():{});const c=Dd(n.state.value[e]);return tn(c,o,Object.keys(l||{}).reduce((h,a)=>(h[a]=Js(le(()=>{yo(n);const d=n._s.get(e);return l[a].call(d,d)})),h),{}))}return f=Cu(e,u,t,n,r,!0),f}function Cu(e,t,n={},r,i,o){let l;const s=tn({actions:{}},n),f={deep:!0};let u,c,h=[],a=[],d;const x=r.state.value[e];!o&&!x&&(r.state.value[e]={});let m;function v(O){let H;u=c=!1,typeof O=="function"?(O(r.state.value[e]),H={type:br.patchFunction,storeId:e,events:d}):(Bs(r.state.value[e],O),H={type:br.patchObject,payload:O,storeId:e,events:d});const g=m=Symbol();Me().then(()=>{m===g&&(u=!0)}),c=!0,Sn(h,H,r.state.value[e])}const E=o?function(){const{state:H}=n,g=H?H():{};this.$patch(y=>{tn(y,g)})}:bu;function p(){l.stop(),h=[],a=[],r._s.delete(e)}const b=(O,H="")=>{if(y0 in O)return O[Wo]=H,O;const g=function(){yo(r);const y=Array.from(arguments),_=[],A=[];function R($){_.push($)}function W($){A.push($)}Sn(a,{args:y,name:g[Wo],store:B,after:R,onError:W});let U;try{U=O.apply(this&&this.$id===e?this:B,y)}catch($){throw Sn(A,$),$}return U instanceof Promise?U.then($=>(Sn(_,$),$)).catch($=>(Sn(A,$),Promise.reject($))):(Sn(_,U),U)};return g[y0]=!0,g[Wo]=H,g},C={_p:r,$id:e,$onAction:_0.bind(null,a),$patch:v,$reset:E,$subscribe(O,H={}){const g=_0(h,O,H.detached,()=>y()),y=l.run(()=>pe(()=>r.state.value[e],_=>{(H.flush==="sync"?c:u)&&O({storeId:e,type:br.direct,events:d},_)},tn({},f,H)));return g},$dispose:p},B=st(C);r._s.set(e,B);const F=(r._a&&r._a.runWithContext||mx)(()=>r._e.run(()=>(l=lc()).run(()=>t({action:b}))));for(const O in F){const H=F[O];if(Te(H)&&!bx(H)||$t(H))o||(x&&yx(H)&&(Te(H)?H.value=x[O]:Bs(H,x[O])),r.state.value[e][O]=H);else if(typeof H=="function"){const g=b(H,O);F[O]=g,s.actions[O]=H}}return tn(B,F),tn(_e(B),F),Object.defineProperty(B,"$state",{get:()=>r.state.value[e],set:O=>{v(H=>{tn(H,O)})}}),r._p.forEach(O=>{tn(B,l.run(()=>O({store:B,app:r._a,pinia:r,options:s})))}),x&&o&&n.hydrate&&n.hydrate(B.$state,x),u=!0,c=!0,B}/*! #__NO_SIDE_EFFECTS__ */function F2(e,t,n){let r,i;const o=typeof t=="function";r=e,i=o?n:t;function l(s,f){const u=Ld();return s=s||(u?Je(yu,null):null),s&&yo(s),s=_u,s._s.has(r)||(o?Cu(r,t,i,s):Cx(r,i,s)),s._s.get(r)}return l.$id=r,l}function Ex(e,t){if(e==null)return;let n=e;for(let r=0;r<t.length;r++){if(n===void 0||n[t[r]]===void 0)return;if(n===null||n[t[r]]===null)return null;n=n[t[r]]}return n}function ua(e,t,n){if(n.length===0)return t;const r=n[0];return n.length>1&&(t=ua(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function Eu(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const r in e)n[r]=e[r];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const r in e)n[r]=e[r];return n}return ua(e,Eu(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function Au(e,t){return t.map(n=>n.split(".")).map(n=>[n,Ex(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>ua(n,r[1],r[0]),{})}function Bu(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>Eu(n,r),e)}function b0(e,{storage:t,serializer:n,key:r,debug:i,pick:o,omit:l,beforeHydrate:s,afterHydrate:f},u,c=!0){try{c&&(s==null||s(u));const h=t.getItem(r);if(h){const a=n.deserialize(h),d=o?Au(a,o):a,x=l?Bu(d,l):d;e.$patch(x)}c&&(f==null||f(u))}catch(h){i&&console.error("[pinia-plugin-persistedstate]",h)}}function C0(e,{storage:t,serializer:n,key:r,debug:i,pick:o,omit:l}){try{const s=o?Au(e,o):e,f=l?Bu(s,l):s,u=n.serialize(f);t.setItem(r,u)}catch(s){i&&console.error("[pinia-plugin-persistedstate]",s)}}function Ax(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function Bx(e,t,n){const{pinia:r,store:i,options:{persist:o=n}}=e;if(!o)return;// v8 ignore if -- @preserve
|
|
if(!(i.$id in r.state.value)){const s=r._s.get(i.$id.replace("__hot:",""));s&&Promise.resolve().then(()=>s.$persist());return}const l=(Array.isArray(o)?o:o===!0?[{}]:[o]).map(t);i.$hydrate=({runHooks:s=!0}={})=>{l.forEach(f=>{b0(i,f,e,s)})},i.$persist=()=>{l.forEach(s=>{C0(i.$state,s)})},l.forEach(s=>{b0(i,s,e),i.$subscribe((f,u)=>C0(u,s),{detached:!0})})}function k2(e={}){return function(t){Bx(t,n=>{const r=Ax(n.key,t.store.$id);return{key:(e.key?e.key:i=>i)(r),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:i=>JSON.stringify(i),deserialize:i=>JSON.parse(i)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var pn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wx(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var oi={exports:{}};function Dx(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var si={exports:{}};const Sx={},Fx=Object.freeze(Object.defineProperty({__proto__:null,default:Sx},Symbol.toStringTag,{value:"Module"})),kx=wx(Fx);var Tx=si.exports,E0;function me(){return E0||(E0=1,(function(e,t){(function(n,r){e.exports=r()})(Tx,function(){var n=n||(function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof pn<"u"&&pn.crypto&&(o=pn.crypto),!o&&typeof Dx=="function")try{o=kx}catch{}var l=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||(function(){function p(){}return function(b){var C;return p.prototype=b,C=new p,p.prototype=null,C}})(),f={},u=f.lib={},c=u.Base=(function(){return{extend:function(p){var b=s(this);return p&&b.mixIn(p),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var p=this.extend();return p.init.apply(p,arguments),p},init:function(){},mixIn:function(p){for(var b in p)p.hasOwnProperty(b)&&(this[b]=p[b]);p.hasOwnProperty("toString")&&(this.toString=p.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),h=u.WordArray=c.extend({init:function(p,b){p=this.words=p||[],b!=i?this.sigBytes=b:this.sigBytes=p.length*4},toString:function(p){return(p||d).stringify(this)},concat:function(p){var b=this.words,C=p.words,B=this.sigBytes,w=p.sigBytes;if(this.clamp(),B%4)for(var F=0;F<w;F++){var O=C[F>>>2]>>>24-F%4*8&255;b[B+F>>>2]|=O<<24-(B+F)%4*8}else for(var H=0;H<w;H+=4)b[B+H>>>2]=C[H>>>2];return this.sigBytes+=w,this},clamp:function(){var p=this.words,b=this.sigBytes;p[b>>>2]&=4294967295<<32-b%4*8,p.length=r.ceil(b/4)},clone:function(){var p=c.clone.call(this);return p.words=this.words.slice(0),p},random:function(p){for(var b=[],C=0;C<p;C+=4)b.push(l());return new h.init(b,p)}}),a=f.enc={},d=a.Hex={stringify:function(p){for(var b=p.words,C=p.sigBytes,B=[],w=0;w<C;w++){var F=b[w>>>2]>>>24-w%4*8&255;B.push((F>>>4).toString(16)),B.push((F&15).toString(16))}return B.join("")},parse:function(p){for(var b=p.length,C=[],B=0;B<b;B+=2)C[B>>>3]|=parseInt(p.substr(B,2),16)<<24-B%8*4;return new h.init(C,b/2)}},x=a.Latin1={stringify:function(p){for(var b=p.words,C=p.sigBytes,B=[],w=0;w<C;w++){var F=b[w>>>2]>>>24-w%4*8&255;B.push(String.fromCharCode(F))}return B.join("")},parse:function(p){for(var b=p.length,C=[],B=0;B<b;B++)C[B>>>2]|=(p.charCodeAt(B)&255)<<24-B%4*8;return new h.init(C,b)}},m=a.Utf8={stringify:function(p){try{return decodeURIComponent(escape(x.stringify(p)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(p){return x.parse(unescape(encodeURIComponent(p)))}},v=u.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(p){typeof p=="string"&&(p=m.parse(p)),this._data.concat(p),this._nDataBytes+=p.sigBytes},_process:function(p){var b,C=this._data,B=C.words,w=C.sigBytes,F=this.blockSize,O=F*4,H=w/O;p?H=r.ceil(H):H=r.max((H|0)-this._minBufferSize,0);var g=H*F,y=r.min(g*4,w);if(g){for(var _=0;_<g;_+=F)this._doProcessBlock(B,_);b=B.splice(0,g),C.sigBytes-=y}return new h.init(b,y)},clone:function(){var p=c.clone.call(this);return p._data=this._data.clone(),p},_minBufferSize:0});u.Hasher=v.extend({cfg:c.extend(),init:function(p){this.cfg=this.cfg.extend(p),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(p){return this._append(p),this._process(),this},finalize:function(p){p&&this._append(p);var b=this._doFinalize();return b},blockSize:16,_createHelper:function(p){return function(b,C){return new p.init(C).finalize(b)}},_createHmacHelper:function(p){return function(b,C){return new E.HMAC.init(p,C).finalize(b)}}});var E=f.algo={};return f})(Math);return n})})(si)),si.exports}var ai={exports:{}},Rx=ai.exports,A0;function bo(){return A0||(A0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Rx,function(n){return(function(r){var i=n,o=i.lib,l=o.Base,s=o.WordArray,f=i.x64={};f.Word=l.extend({init:function(u,c){this.high=u,this.low=c}}),f.WordArray=l.extend({init:function(u,c){u=this.words=u||[],c!=r?this.sigBytes=c:this.sigBytes=u.length*8},toX32:function(){for(var u=this.words,c=u.length,h=[],a=0;a<c;a++){var d=u[a];h.push(d.high),h.push(d.low)}return s.create(h,this.sigBytes)},clone:function(){for(var u=l.clone.call(this),c=u.words=this.words.slice(0),h=c.length,a=0;a<h;a++)c[a]=c[a].clone();return u}})})(),n})})(ai)),ai.exports}var li={exports:{}},Ox=li.exports,B0;function Px(){return B0||(B0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Ox,function(n){return(function(){if(typeof ArrayBuffer=="function"){var r=n,i=r.lib,o=i.WordArray,l=o.init,s=o.init=function(f){if(f instanceof ArrayBuffer&&(f=new Uint8Array(f)),(f instanceof Int8Array||typeof Uint8ClampedArray<"u"&&f instanceof Uint8ClampedArray||f instanceof Int16Array||f instanceof Uint16Array||f instanceof Int32Array||f instanceof Uint32Array||f instanceof Float32Array||f instanceof Float64Array)&&(f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength)),f instanceof Uint8Array){for(var u=f.byteLength,c=[],h=0;h<u;h++)c[h>>>2]|=f[h]<<24-h%4*8;l.call(this,c,u)}else l.apply(this,arguments)};s.prototype=o}})(),n.lib.WordArray})})(li)),li.exports}var ci={exports:{}},Ix=ci.exports,w0;function Mx(){return w0||(w0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Ix,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,l=r.enc;l.Utf16=l.Utf16BE={stringify:function(f){for(var u=f.words,c=f.sigBytes,h=[],a=0;a<c;a+=2){var d=u[a>>>2]>>>16-a%4*8&65535;h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var u=f.length,c=[],h=0;h<u;h++)c[h>>>1]|=f.charCodeAt(h)<<16-h%2*16;return o.create(c,u*2)}},l.Utf16LE={stringify:function(f){for(var u=f.words,c=f.sigBytes,h=[],a=0;a<c;a+=2){var d=s(u[a>>>2]>>>16-a%4*8&65535);h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var u=f.length,c=[],h=0;h<u;h++)c[h>>>1]|=s(f.charCodeAt(h)<<16-h%2*16);return o.create(c,u*2)}};function s(f){return f<<8&4278255360|f>>>8&16711935}})(),n.enc.Utf16})})(ci)),ci.exports}var ui={exports:{}},Nx=ui.exports,D0;function An(){return D0||(D0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Nx,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,l=r.enc;l.Base64={stringify:function(f){var u=f.words,c=f.sigBytes,h=this._map;f.clamp();for(var a=[],d=0;d<c;d+=3)for(var x=u[d>>>2]>>>24-d%4*8&255,m=u[d+1>>>2]>>>24-(d+1)%4*8&255,v=u[d+2>>>2]>>>24-(d+2)%4*8&255,E=x<<16|m<<8|v,p=0;p<4&&d+p*.75<c;p++)a.push(h.charAt(E>>>6*(3-p)&63));var b=h.charAt(64);if(b)for(;a.length%4;)a.push(b);return a.join("")},parse:function(f){var u=f.length,c=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var a=0;a<c.length;a++)h[c.charCodeAt(a)]=a}var d=c.charAt(64);if(d){var x=f.indexOf(d);x!==-1&&(u=x)}return s(f,u,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function s(f,u,c){for(var h=[],a=0,d=0;d<u;d++)if(d%4){var x=c[f.charCodeAt(d-1)]<<d%4*2,m=c[f.charCodeAt(d)]>>>6-d%4*2,v=x|m;h[a>>>2]|=v<<24-a%4*8,a++}return o.create(h,a)}})(),n.enc.Base64})})(ui)),ui.exports}var fi={exports:{}},Lx=fi.exports,S0;function Hx(){return S0||(S0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Lx,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,l=r.enc;l.Base64url={stringify:function(f,u){u===void 0&&(u=!0);var c=f.words,h=f.sigBytes,a=u?this._safe_map:this._map;f.clamp();for(var d=[],x=0;x<h;x+=3)for(var m=c[x>>>2]>>>24-x%4*8&255,v=c[x+1>>>2]>>>24-(x+1)%4*8&255,E=c[x+2>>>2]>>>24-(x+2)%4*8&255,p=m<<16|v<<8|E,b=0;b<4&&x+b*.75<h;b++)d.push(a.charAt(p>>>6*(3-b)&63));var C=a.charAt(64);if(C)for(;d.length%4;)d.push(C);return d.join("")},parse:function(f,u){u===void 0&&(u=!0);var c=f.length,h=u?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var d=0;d<h.length;d++)a[h.charCodeAt(d)]=d}var x=h.charAt(64);if(x){var m=f.indexOf(x);m!==-1&&(c=m)}return s(f,c,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function s(f,u,c){for(var h=[],a=0,d=0;d<u;d++)if(d%4){var x=c[f.charCodeAt(d-1)]<<d%4*2,m=c[f.charCodeAt(d)]>>>6-d%4*2,v=x|m;h[a>>>2]|=v<<24-a%4*8,a++}return o.create(h,a)}})(),n.enc.Base64url})})(fi)),fi.exports}var di={exports:{}},$x=di.exports,F0;function Bn(){return F0||(F0=1,(function(e,t){(function(n,r){e.exports=r(me())})($x,function(n){return(function(r){var i=n,o=i.lib,l=o.WordArray,s=o.Hasher,f=i.algo,u=[];(function(){for(var m=0;m<64;m++)u[m]=r.abs(r.sin(m+1))*4294967296|0})();var c=f.MD5=s.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(m,v){for(var E=0;E<16;E++){var p=v+E,b=m[p];m[p]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var C=this._hash.words,B=m[v+0],w=m[v+1],F=m[v+2],O=m[v+3],H=m[v+4],g=m[v+5],y=m[v+6],_=m[v+7],A=m[v+8],R=m[v+9],W=m[v+10],U=m[v+11],$=m[v+12],k=m[v+13],ee=m[v+14],Q=m[v+15],L=C[0],P=C[1],z=C[2],I=C[3];L=h(L,P,z,I,B,7,u[0]),I=h(I,L,P,z,w,12,u[1]),z=h(z,I,L,P,F,17,u[2]),P=h(P,z,I,L,O,22,u[3]),L=h(L,P,z,I,H,7,u[4]),I=h(I,L,P,z,g,12,u[5]),z=h(z,I,L,P,y,17,u[6]),P=h(P,z,I,L,_,22,u[7]),L=h(L,P,z,I,A,7,u[8]),I=h(I,L,P,z,R,12,u[9]),z=h(z,I,L,P,W,17,u[10]),P=h(P,z,I,L,U,22,u[11]),L=h(L,P,z,I,$,7,u[12]),I=h(I,L,P,z,k,12,u[13]),z=h(z,I,L,P,ee,17,u[14]),P=h(P,z,I,L,Q,22,u[15]),L=a(L,P,z,I,w,5,u[16]),I=a(I,L,P,z,y,9,u[17]),z=a(z,I,L,P,U,14,u[18]),P=a(P,z,I,L,B,20,u[19]),L=a(L,P,z,I,g,5,u[20]),I=a(I,L,P,z,W,9,u[21]),z=a(z,I,L,P,Q,14,u[22]),P=a(P,z,I,L,H,20,u[23]),L=a(L,P,z,I,R,5,u[24]),I=a(I,L,P,z,ee,9,u[25]),z=a(z,I,L,P,O,14,u[26]),P=a(P,z,I,L,A,20,u[27]),L=a(L,P,z,I,k,5,u[28]),I=a(I,L,P,z,F,9,u[29]),z=a(z,I,L,P,_,14,u[30]),P=a(P,z,I,L,$,20,u[31]),L=d(L,P,z,I,g,4,u[32]),I=d(I,L,P,z,A,11,u[33]),z=d(z,I,L,P,U,16,u[34]),P=d(P,z,I,L,ee,23,u[35]),L=d(L,P,z,I,w,4,u[36]),I=d(I,L,P,z,H,11,u[37]),z=d(z,I,L,P,_,16,u[38]),P=d(P,z,I,L,W,23,u[39]),L=d(L,P,z,I,k,4,u[40]),I=d(I,L,P,z,B,11,u[41]),z=d(z,I,L,P,O,16,u[42]),P=d(P,z,I,L,y,23,u[43]),L=d(L,P,z,I,R,4,u[44]),I=d(I,L,P,z,$,11,u[45]),z=d(z,I,L,P,Q,16,u[46]),P=d(P,z,I,L,F,23,u[47]),L=x(L,P,z,I,B,6,u[48]),I=x(I,L,P,z,_,10,u[49]),z=x(z,I,L,P,ee,15,u[50]),P=x(P,z,I,L,g,21,u[51]),L=x(L,P,z,I,$,6,u[52]),I=x(I,L,P,z,O,10,u[53]),z=x(z,I,L,P,W,15,u[54]),P=x(P,z,I,L,w,21,u[55]),L=x(L,P,z,I,A,6,u[56]),I=x(I,L,P,z,Q,10,u[57]),z=x(z,I,L,P,y,15,u[58]),P=x(P,z,I,L,k,21,u[59]),L=x(L,P,z,I,H,6,u[60]),I=x(I,L,P,z,U,10,u[61]),z=x(z,I,L,P,F,15,u[62]),P=x(P,z,I,L,R,21,u[63]),C[0]=C[0]+L|0,C[1]=C[1]+P|0,C[2]=C[2]+z|0,C[3]=C[3]+I|0},_doFinalize:function(){var m=this._data,v=m.words,E=this._nDataBytes*8,p=m.sigBytes*8;v[p>>>5]|=128<<24-p%32;var b=r.floor(E/4294967296),C=E;v[(p+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,v[(p+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,m.sigBytes=(v.length+1)*4,this._process();for(var B=this._hash,w=B.words,F=0;F<4;F++){var O=w[F];w[F]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360}return B},clone:function(){var m=s.clone.call(this);return m._hash=this._hash.clone(),m}});function h(m,v,E,p,b,C,B){var w=m+(v&E|~v&p)+b+B;return(w<<C|w>>>32-C)+v}function a(m,v,E,p,b,C,B){var w=m+(v&p|E&~p)+b+B;return(w<<C|w>>>32-C)+v}function d(m,v,E,p,b,C,B){var w=m+(v^E^p)+b+B;return(w<<C|w>>>32-C)+v}function x(m,v,E,p,b,C,B){var w=m+(E^(v|~p))+b+B;return(w<<C|w>>>32-C)+v}i.MD5=s._createHelper(c),i.HmacMD5=s._createHmacHelper(c)})(Math),n.MD5})})(di)),di.exports}var hi={exports:{}},zx=hi.exports,k0;function Du(){return k0||(k0=1,(function(e,t){(function(n,r){e.exports=r(me())})(zx,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,l=i.Hasher,s=r.algo,f=[],u=s.SHA1=l.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,h){for(var a=this._hash.words,d=a[0],x=a[1],m=a[2],v=a[3],E=a[4],p=0;p<80;p++){if(p<16)f[p]=c[h+p]|0;else{var b=f[p-3]^f[p-8]^f[p-14]^f[p-16];f[p]=b<<1|b>>>31}var C=(d<<5|d>>>27)+E+f[p];p<20?C+=(x&m|~x&v)+1518500249:p<40?C+=(x^m^v)+1859775393:p<60?C+=(x&m|x&v|m&v)-1894007588:C+=(x^m^v)-899497514,E=v,v=m,m=x<<30|x>>>2,x=d,d=C}a[0]=a[0]+d|0,a[1]=a[1]+x|0,a[2]=a[2]+m|0,a[3]=a[3]+v|0,a[4]=a[4]+E|0},_doFinalize:function(){var c=this._data,h=c.words,a=this._nDataBytes*8,d=c.sigBytes*8;return h[d>>>5]|=128<<24-d%32,h[(d+64>>>9<<4)+14]=Math.floor(a/4294967296),h[(d+64>>>9<<4)+15]=a,c.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=l._createHelper(u),r.HmacSHA1=l._createHmacHelper(u)})(),n.SHA1})})(hi)),hi.exports}var xi={exports:{}},Wx=xi.exports,T0;function fa(){return T0||(T0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Wx,function(n){return(function(r){var i=n,o=i.lib,l=o.WordArray,s=o.Hasher,f=i.algo,u=[],c=[];(function(){function d(E){for(var p=r.sqrt(E),b=2;b<=p;b++)if(!(E%b))return!1;return!0}function x(E){return(E-(E|0))*4294967296|0}for(var m=2,v=0;v<64;)d(m)&&(v<8&&(u[v]=x(r.pow(m,1/2))),c[v]=x(r.pow(m,1/3)),v++),m++})();var h=[],a=f.SHA256=s.extend({_doReset:function(){this._hash=new l.init(u.slice(0))},_doProcessBlock:function(d,x){for(var m=this._hash.words,v=m[0],E=m[1],p=m[2],b=m[3],C=m[4],B=m[5],w=m[6],F=m[7],O=0;O<64;O++){if(O<16)h[O]=d[x+O]|0;else{var H=h[O-15],g=(H<<25|H>>>7)^(H<<14|H>>>18)^H>>>3,y=h[O-2],_=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;h[O]=g+h[O-7]+_+h[O-16]}var A=C&B^~C&w,R=v&E^v&p^E&p,W=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),U=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),$=F+U+A+c[O]+h[O],k=W+R;F=w,w=B,B=C,C=b+$|0,b=p,p=E,E=v,v=$+k|0}m[0]=m[0]+v|0,m[1]=m[1]+E|0,m[2]=m[2]+p|0,m[3]=m[3]+b|0,m[4]=m[4]+C|0,m[5]=m[5]+B|0,m[6]=m[6]+w|0,m[7]=m[7]+F|0},_doFinalize:function(){var d=this._data,x=d.words,m=this._nDataBytes*8,v=d.sigBytes*8;return x[v>>>5]|=128<<24-v%32,x[(v+64>>>9<<4)+14]=r.floor(m/4294967296),x[(v+64>>>9<<4)+15]=m,d.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var d=s.clone.call(this);return d._hash=this._hash.clone(),d}});i.SHA256=s._createHelper(a),i.HmacSHA256=s._createHmacHelper(a)})(Math),n.SHA256})})(xi)),xi.exports}var gi={exports:{}},qx=gi.exports,R0;function Vx(){return R0||(R0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),fa())})(qx,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,l=r.algo,s=l.SHA256,f=l.SHA224=s.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=s._doFinalize.call(this);return u.sigBytes-=4,u}});r.SHA224=s._createHelper(f),r.HmacSHA224=s._createHmacHelper(f)})(),n.SHA224})})(gi)),gi.exports}var vi={exports:{}},jx=vi.exports,O0;function Su(){return O0||(O0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),bo())})(jx,function(n){return(function(){var r=n,i=r.lib,o=i.Hasher,l=r.x64,s=l.Word,f=l.WordArray,u=r.algo;function c(){return s.create.apply(s,arguments)}var h=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],a=[];(function(){for(var x=0;x<80;x++)a[x]=c()})();var d=u.SHA512=o.extend({_doReset:function(){this._hash=new f.init([new s.init(1779033703,4089235720),new s.init(3144134277,2227873595),new s.init(1013904242,4271175723),new s.init(2773480762,1595750129),new s.init(1359893119,2917565137),new s.init(2600822924,725511199),new s.init(528734635,4215389547),new s.init(1541459225,327033209)])},_doProcessBlock:function(x,m){for(var v=this._hash.words,E=v[0],p=v[1],b=v[2],C=v[3],B=v[4],w=v[5],F=v[6],O=v[7],H=E.high,g=E.low,y=p.high,_=p.low,A=b.high,R=b.low,W=C.high,U=C.low,$=B.high,k=B.low,ee=w.high,Q=w.low,L=F.high,P=F.low,z=O.high,I=O.low,G=H,J=g,D=y,q=_,V=A,X=R,oe=W,S=U,T=$,N=k,j=ee,K=Q,Z=L,ne=P,re=z,te=I,Y=0;Y<80;Y++){var se,ie,ae=a[Y];if(Y<16)ie=ae.high=x[m+Y*2]|0,se=ae.low=x[m+Y*2+1]|0;else{var ce=a[Y-15],he=ce.high,ge=ce.low,ye=(he>>>1|ge<<31)^(he>>>8|ge<<24)^he>>>7,De=(ge>>>1|he<<31)^(ge>>>8|he<<24)^(ge>>>7|he<<25),Oe=a[Y-2],He=Oe.high,Ge=Oe.low,cn=(He>>>19|Ge<<13)^(He<<3|Ge>>>29)^He>>>6,Xn=(Ge>>>19|He<<13)^(Ge<<3|He>>>29)^(Ge>>>6|He<<26),Ke=a[Y-7],vt=Ke.high,jr=Ke.low,Qn=a[Y-16],Pf=Qn.high,ka=Qn.low;se=De+jr,ie=ye+vt+(se>>>0<De>>>0?1:0),se=se+Xn,ie=ie+cn+(se>>>0<Xn>>>0?1:0),se=se+ka,ie=ie+Pf+(se>>>0<ka>>>0?1:0),ae.high=ie,ae.low=se}var If=T&j^~T&Z,Ta=N&K^~N&ne,Mf=G&D^G&V^D&V,Nf=J&q^J&X^q&X,Lf=(G>>>28|J<<4)^(G<<30|J>>>2)^(G<<25|J>>>7),Ra=(J>>>28|G<<4)^(J<<30|G>>>2)^(J<<25|G>>>7),Hf=(T>>>14|N<<18)^(T>>>18|N<<14)^(T<<23|N>>>9),$f=(N>>>14|T<<18)^(N>>>18|T<<14)^(N<<23|T>>>9),Oa=h[Y],zf=Oa.high,Pa=Oa.low,ct=te+$f,Qt=re+Hf+(ct>>>0<te>>>0?1:0),ct=ct+Ta,Qt=Qt+If+(ct>>>0<Ta>>>0?1:0),ct=ct+Pa,Qt=Qt+zf+(ct>>>0<Pa>>>0?1:0),ct=ct+se,Qt=Qt+ie+(ct>>>0<se>>>0?1:0),Ia=Ra+Nf,Wf=Lf+Mf+(Ia>>>0<Ra>>>0?1:0);re=Z,te=ne,Z=j,ne=K,j=T,K=N,N=S+ct|0,T=oe+Qt+(N>>>0<S>>>0?1:0)|0,oe=V,S=X,V=D,X=q,D=G,q=J,J=ct+Ia|0,G=Qt+Wf+(J>>>0<ct>>>0?1:0)|0}g=E.low=g+J,E.high=H+G+(g>>>0<J>>>0?1:0),_=p.low=_+q,p.high=y+D+(_>>>0<q>>>0?1:0),R=b.low=R+X,b.high=A+V+(R>>>0<X>>>0?1:0),U=C.low=U+S,C.high=W+oe+(U>>>0<S>>>0?1:0),k=B.low=k+N,B.high=$+T+(k>>>0<N>>>0?1:0),Q=w.low=Q+K,w.high=ee+j+(Q>>>0<K>>>0?1:0),P=F.low=P+ne,F.high=L+Z+(P>>>0<ne>>>0?1:0),I=O.low=I+te,O.high=z+re+(I>>>0<te>>>0?1:0)},_doFinalize:function(){var x=this._data,m=x.words,v=this._nDataBytes*8,E=x.sigBytes*8;m[E>>>5]|=128<<24-E%32,m[(E+128>>>10<<5)+30]=Math.floor(v/4294967296),m[(E+128>>>10<<5)+31]=v,x.sigBytes=m.length*4,this._process();var p=this._hash.toX32();return p},clone:function(){var x=o.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});r.SHA512=o._createHelper(d),r.HmacSHA512=o._createHmacHelper(d)})(),n.SHA512})})(vi)),vi.exports}var pi={exports:{}},Ux=pi.exports,P0;function Gx(){return P0||(P0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),bo(),Su())})(Ux,function(n){return(function(){var r=n,i=r.x64,o=i.Word,l=i.WordArray,s=r.algo,f=s.SHA512,u=s.SHA384=f.extend({_doReset:function(){this._hash=new l.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var c=f._doFinalize.call(this);return c.sigBytes-=16,c}});r.SHA384=f._createHelper(u),r.HmacSHA384=f._createHmacHelper(u)})(),n.SHA384})})(pi)),pi.exports}var mi={exports:{}},Kx=mi.exports,I0;function Zx(){return I0||(I0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),bo())})(Kx,function(n){return(function(r){var i=n,o=i.lib,l=o.WordArray,s=o.Hasher,f=i.x64,u=f.Word,c=i.algo,h=[],a=[],d=[];(function(){for(var v=1,E=0,p=0;p<24;p++){h[v+5*E]=(p+1)*(p+2)/2%64;var b=E%5,C=(2*v+3*E)%5;v=b,E=C}for(var v=0;v<5;v++)for(var E=0;E<5;E++)a[v+5*E]=E+(2*v+3*E)%5*5;for(var B=1,w=0;w<24;w++){for(var F=0,O=0,H=0;H<7;H++){if(B&1){var g=(1<<H)-1;g<32?O^=1<<g:F^=1<<g-32}B&128?B=B<<1^113:B<<=1}d[w]=u.create(F,O)}})();var x=[];(function(){for(var v=0;v<25;v++)x[v]=u.create()})();var m=c.SHA3=s.extend({cfg:s.cfg.extend({outputLength:512}),_doReset:function(){for(var v=this._state=[],E=0;E<25;E++)v[E]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(v,E){for(var p=this._state,b=this.blockSize/2,C=0;C<b;C++){var B=v[E+2*C],w=v[E+2*C+1];B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var F=p[C];F.high^=w,F.low^=B}for(var O=0;O<24;O++){for(var H=0;H<5;H++){for(var g=0,y=0,_=0;_<5;_++){var F=p[H+5*_];g^=F.high,y^=F.low}var A=x[H];A.high=g,A.low=y}for(var H=0;H<5;H++)for(var R=x[(H+4)%5],W=x[(H+1)%5],U=W.high,$=W.low,g=R.high^(U<<1|$>>>31),y=R.low^($<<1|U>>>31),_=0;_<5;_++){var F=p[H+5*_];F.high^=g,F.low^=y}for(var k=1;k<25;k++){var g,y,F=p[k],ee=F.high,Q=F.low,L=h[k];L<32?(g=ee<<L|Q>>>32-L,y=Q<<L|ee>>>32-L):(g=Q<<L-32|ee>>>64-L,y=ee<<L-32|Q>>>64-L);var P=x[a[k]];P.high=g,P.low=y}var z=x[0],I=p[0];z.high=I.high,z.low=I.low;for(var H=0;H<5;H++)for(var _=0;_<5;_++){var k=H+5*_,F=p[k],G=x[k],J=x[(H+1)%5+5*_],D=x[(H+2)%5+5*_];F.high=G.high^~J.high&D.high,F.low=G.low^~J.low&D.low}var F=p[0],q=d[O];F.high^=q.high,F.low^=q.low}},_doFinalize:function(){var v=this._data,E=v.words;this._nDataBytes*8;var p=v.sigBytes*8,b=this.blockSize*32;E[p>>>5]|=1<<24-p%32,E[(r.ceil((p+1)/b)*b>>>5)-1]|=128,v.sigBytes=E.length*4,this._process();for(var C=this._state,B=this.cfg.outputLength/8,w=B/8,F=[],O=0;O<w;O++){var H=C[O],g=H.high,y=H.low;g=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,F.push(y),F.push(g)}return new l.init(F,B)},clone:function(){for(var v=s.clone.call(this),E=v._state=this._state.slice(0),p=0;p<25;p++)E[p]=E[p].clone();return v}});i.SHA3=s._createHelper(m),i.HmacSHA3=s._createHmacHelper(m)})(Math),n.SHA3})})(mi)),mi.exports}var _i={exports:{}},Yx=_i.exports,M0;function Xx(){return M0||(M0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Yx,function(n){/** @preserve
|
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
|
|
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/return(function(r){var i=n,o=i.lib,l=o.WordArray,s=o.Hasher,f=i.algo,u=l.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),c=l.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),h=l.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),a=l.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=l.create([0,1518500249,1859775393,2400959708,2840853838]),x=l.create([1352829926,1548603684,1836072691,2053994217,0]),m=f.RIPEMD160=s.extend({_doReset:function(){this._hash=l.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,F){for(var O=0;O<16;O++){var H=F+O,g=w[H];w[H]=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360}var y=this._hash.words,_=d.words,A=x.words,R=u.words,W=c.words,U=h.words,$=a.words,k,ee,Q,L,P,z,I,G,J,D;z=k=y[0],I=ee=y[1],G=Q=y[2],J=L=y[3],D=P=y[4];for(var q,O=0;O<80;O+=1)q=k+w[F+R[O]]|0,O<16?q+=v(ee,Q,L)+_[0]:O<32?q+=E(ee,Q,L)+_[1]:O<48?q+=p(ee,Q,L)+_[2]:O<64?q+=b(ee,Q,L)+_[3]:q+=C(ee,Q,L)+_[4],q=q|0,q=B(q,U[O]),q=q+P|0,k=P,P=L,L=B(Q,10),Q=ee,ee=q,q=z+w[F+W[O]]|0,O<16?q+=C(I,G,J)+A[0]:O<32?q+=b(I,G,J)+A[1]:O<48?q+=p(I,G,J)+A[2]:O<64?q+=E(I,G,J)+A[3]:q+=v(I,G,J)+A[4],q=q|0,q=B(q,$[O]),q=q+D|0,z=D,D=J,J=B(G,10),G=I,I=q;q=y[1]+Q+J|0,y[1]=y[2]+L+D|0,y[2]=y[3]+P+z|0,y[3]=y[4]+k+I|0,y[4]=y[0]+ee+G|0,y[0]=q},_doFinalize:function(){var w=this._data,F=w.words,O=this._nDataBytes*8,H=w.sigBytes*8;F[H>>>5]|=128<<24-H%32,F[(H+64>>>9<<4)+14]=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,w.sigBytes=(F.length+1)*4,this._process();for(var g=this._hash,y=g.words,_=0;_<5;_++){var A=y[_];y[_]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}return g},clone:function(){var w=s.clone.call(this);return w._hash=this._hash.clone(),w}});function v(w,F,O){return w^F^O}function E(w,F,O){return w&F|~w&O}function p(w,F,O){return(w|~F)^O}function b(w,F,O){return w&O|F&~O}function C(w,F,O){return w^(F|~O)}function B(w,F){return w<<F|w>>>32-F}i.RIPEMD160=s._createHelper(m),i.HmacRIPEMD160=s._createHmacHelper(m)})(),n.RIPEMD160})})(_i)),_i.exports}var yi={exports:{}},Qx=yi.exports,N0;function da(){return N0||(N0=1,(function(e,t){(function(n,r){e.exports=r(me())})(Qx,function(n){(function(){var r=n,i=r.lib,o=i.Base,l=r.enc,s=l.Utf8,f=r.algo;f.HMAC=o.extend({init:function(u,c){u=this._hasher=new u.init,typeof c=="string"&&(c=s.parse(c));var h=u.blockSize,a=h*4;c.sigBytes>a&&(c=u.finalize(c)),c.clamp();for(var d=this._oKey=c.clone(),x=this._iKey=c.clone(),m=d.words,v=x.words,E=0;E<h;E++)m[E]^=1549556828,v[E]^=909522486;d.sigBytes=x.sigBytes=a,this.reset()},reset:function(){var u=this._hasher;u.reset(),u.update(this._iKey)},update:function(u){return this._hasher.update(u),this},finalize:function(u){var c=this._hasher,h=c.finalize(u);c.reset();var a=c.finalize(this._oKey.clone().concat(h));return a}})})()})})(yi)),yi.exports}var bi={exports:{}},Jx=bi.exports,L0;function e1(){return L0||(L0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),fa(),da())})(Jx,function(n){return(function(){var r=n,i=r.lib,o=i.Base,l=i.WordArray,s=r.algo,f=s.SHA256,u=s.HMAC,c=s.PBKDF2=o.extend({cfg:o.extend({keySize:128/32,hasher:f,iterations:25e4}),init:function(h){this.cfg=this.cfg.extend(h)},compute:function(h,a){for(var d=this.cfg,x=u.create(d.hasher,h),m=l.create(),v=l.create([1]),E=m.words,p=v.words,b=d.keySize,C=d.iterations;E.length<b;){var B=x.update(a).finalize(v);x.reset();for(var w=B.words,F=w.length,O=B,H=1;H<C;H++){O=x.finalize(O),x.reset();for(var g=O.words,y=0;y<F;y++)w[y]^=g[y]}m.concat(B),p[0]++}return m.sigBytes=b*4,m}});r.PBKDF2=function(h,a,d){return c.create(d).compute(h,a)}})(),n.PBKDF2})})(bi)),bi.exports}var Ci={exports:{}},t1=Ci.exports,H0;function ln(){return H0||(H0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),Du(),da())})(t1,function(n){return(function(){var r=n,i=r.lib,o=i.Base,l=i.WordArray,s=r.algo,f=s.MD5,u=s.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:f,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,h){for(var a,d=this.cfg,x=d.hasher.create(),m=l.create(),v=m.words,E=d.keySize,p=d.iterations;v.length<E;){a&&x.update(a),a=x.update(c).finalize(h),x.reset();for(var b=1;b<p;b++)a=x.finalize(a),x.reset();m.concat(a)}return m.sigBytes=E*4,m}});r.EvpKDF=function(c,h,a){return u.create(a).compute(c,h)}})(),n.EvpKDF})})(Ci)),Ci.exports}var Ei={exports:{}},n1=Ei.exports,$0;function qe(){return $0||($0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),ln())})(n1,function(n){n.lib.Cipher||(function(r){var i=n,o=i.lib,l=o.Base,s=o.WordArray,f=o.BufferedBlockAlgorithm,u=i.enc;u.Utf8;var c=u.Base64,h=i.algo,a=h.EvpKDF,d=o.Cipher=f.extend({cfg:l.extend(),createEncryptor:function(g,y){return this.create(this._ENC_XFORM_MODE,g,y)},createDecryptor:function(g,y){return this.create(this._DEC_XFORM_MODE,g,y)},init:function(g,y,_){this.cfg=this.cfg.extend(_),this._xformMode=g,this._key=y,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(g){return this._append(g),this._process()},finalize:function(g){g&&this._append(g);var y=this._doFinalize();return y},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function g(y){return typeof y=="string"?H:w}return function(y){return{encrypt:function(_,A,R){return g(A).encrypt(y,_,A,R)},decrypt:function(_,A,R){return g(A).decrypt(y,_,A,R)}}}})()});o.StreamCipher=d.extend({_doFinalize:function(){var g=this._process(!0);return g},blockSize:1});var x=i.mode={},m=o.BlockCipherMode=l.extend({createEncryptor:function(g,y){return this.Encryptor.create(g,y)},createDecryptor:function(g,y){return this.Decryptor.create(g,y)},init:function(g,y){this._cipher=g,this._iv=y}}),v=x.CBC=(function(){var g=m.extend();g.Encryptor=g.extend({processBlock:function(_,A){var R=this._cipher,W=R.blockSize;y.call(this,_,A,W),R.encryptBlock(_,A),this._prevBlock=_.slice(A,A+W)}}),g.Decryptor=g.extend({processBlock:function(_,A){var R=this._cipher,W=R.blockSize,U=_.slice(A,A+W);R.decryptBlock(_,A),y.call(this,_,A,W),this._prevBlock=U}});function y(_,A,R){var W,U=this._iv;U?(W=U,this._iv=r):W=this._prevBlock;for(var $=0;$<R;$++)_[A+$]^=W[$]}return g})(),E=i.pad={},p=E.Pkcs7={pad:function(g,y){for(var _=y*4,A=_-g.sigBytes%_,R=A<<24|A<<16|A<<8|A,W=[],U=0;U<A;U+=4)W.push(R);var $=s.create(W,A);g.concat($)},unpad:function(g){var y=g.words[g.sigBytes-1>>>2]&255;g.sigBytes-=y}};o.BlockCipher=d.extend({cfg:d.cfg.extend({mode:v,padding:p}),reset:function(){var g;d.reset.call(this);var y=this.cfg,_=y.iv,A=y.mode;this._xformMode==this._ENC_XFORM_MODE?g=A.createEncryptor:(g=A.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==g?this._mode.init(this,_&&_.words):(this._mode=g.call(A,this,_&&_.words),this._mode.__creator=g)},_doProcessBlock:function(g,y){this._mode.processBlock(g,y)},_doFinalize:function(){var g,y=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(y.pad(this._data,this.blockSize),g=this._process(!0)):(g=this._process(!0),y.unpad(g)),g},blockSize:128/32});var b=o.CipherParams=l.extend({init:function(g){this.mixIn(g)},toString:function(g){return(g||this.formatter).stringify(this)}}),C=i.format={},B=C.OpenSSL={stringify:function(g){var y,_=g.ciphertext,A=g.salt;return A?y=s.create([1398893684,1701076831]).concat(A).concat(_):y=_,y.toString(c)},parse:function(g){var y,_=c.parse(g),A=_.words;return A[0]==1398893684&&A[1]==1701076831&&(y=s.create(A.slice(2,4)),A.splice(0,4),_.sigBytes-=16),b.create({ciphertext:_,salt:y})}},w=o.SerializableCipher=l.extend({cfg:l.extend({format:B}),encrypt:function(g,y,_,A){A=this.cfg.extend(A);var R=g.createEncryptor(_,A),W=R.finalize(y),U=R.cfg;return b.create({ciphertext:W,key:_,iv:U.iv,algorithm:g,mode:U.mode,padding:U.padding,blockSize:g.blockSize,formatter:A.format})},decrypt:function(g,y,_,A){A=this.cfg.extend(A),y=this._parse(y,A.format);var R=g.createDecryptor(_,A).finalize(y.ciphertext);return R},_parse:function(g,y){return typeof g=="string"?y.parse(g,this):g}}),F=i.kdf={},O=F.OpenSSL={execute:function(g,y,_,A,R){if(A||(A=s.random(64/8)),R)var W=a.create({keySize:y+_,hasher:R}).compute(g,A);else var W=a.create({keySize:y+_}).compute(g,A);var U=s.create(W.words.slice(y),_*4);return W.sigBytes=y*4,b.create({key:W,iv:U,salt:A})}},H=o.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:O}),encrypt:function(g,y,_,A){A=this.cfg.extend(A);var R=A.kdf.execute(_,g.keySize,g.ivSize,A.salt,A.hasher);A.iv=R.iv;var W=w.encrypt.call(this,g,y,R.key,A);return W.mixIn(R),W},decrypt:function(g,y,_,A){A=this.cfg.extend(A),y=this._parse(y,A.format);var R=A.kdf.execute(_,g.keySize,g.ivSize,y.salt,A.hasher);A.iv=R.iv;var W=w.decrypt.call(this,g,y,R.key,A);return W}})})()})})(Ei)),Ei.exports}var Ai={exports:{}},r1=Ai.exports,z0;function i1(){return z0||(z0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(r1,function(n){return n.mode.CFB=(function(){var r=n.lib.BlockCipherMode.extend();r.Encryptor=r.extend({processBlock:function(o,l){var s=this._cipher,f=s.blockSize;i.call(this,o,l,f,s),this._prevBlock=o.slice(l,l+f)}}),r.Decryptor=r.extend({processBlock:function(o,l){var s=this._cipher,f=s.blockSize,u=o.slice(l,l+f);i.call(this,o,l,f,s),this._prevBlock=u}});function i(o,l,s,f){var u,c=this._iv;c?(u=c.slice(0),this._iv=void 0):u=this._prevBlock,f.encryptBlock(u,0);for(var h=0;h<s;h++)o[l+h]^=u[h]}return r})(),n.mode.CFB})})(Ai)),Ai.exports}var Bi={exports:{}},o1=Bi.exports,W0;function s1(){return W0||(W0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(o1,function(n){return n.mode.CTR=(function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,l){var s=this._cipher,f=s.blockSize,u=this._iv,c=this._counter;u&&(c=this._counter=u.slice(0),this._iv=void 0);var h=c.slice(0);s.encryptBlock(h,0),c[f-1]=c[f-1]+1|0;for(var a=0;a<f;a++)o[l+a]^=h[a]}});return r.Decryptor=i,r})(),n.mode.CTR})})(Bi)),Bi.exports}var wi={exports:{}},a1=wi.exports,q0;function l1(){return q0||(q0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(a1,function(n){/** @preserve
|
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
* derived from CryptoJS.mode.CTR
|
|
* Jan Hruby jhruby.web@gmail.com
|
|
*/return n.mode.CTRGladman=(function(){var r=n.lib.BlockCipherMode.extend();function i(s){if((s>>24&255)===255){var f=s>>16&255,u=s>>8&255,c=s&255;f===255?(f=0,u===255?(u=0,c===255?c=0:++c):++u):++f,s=0,s+=f<<16,s+=u<<8,s+=c}else s+=1<<24;return s}function o(s){return(s[0]=i(s[0]))===0&&(s[1]=i(s[1])),s}var l=r.Encryptor=r.extend({processBlock:function(s,f){var u=this._cipher,c=u.blockSize,h=this._iv,a=this._counter;h&&(a=this._counter=h.slice(0),this._iv=void 0),o(a);var d=a.slice(0);u.encryptBlock(d,0);for(var x=0;x<c;x++)s[f+x]^=d[x]}});return r.Decryptor=l,r})(),n.mode.CTRGladman})})(wi)),wi.exports}var Di={exports:{}},c1=Di.exports,V0;function u1(){return V0||(V0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(c1,function(n){return n.mode.OFB=(function(){var r=n.lib.BlockCipherMode.extend(),i=r.Encryptor=r.extend({processBlock:function(o,l){var s=this._cipher,f=s.blockSize,u=this._iv,c=this._keystream;u&&(c=this._keystream=u.slice(0),this._iv=void 0),s.encryptBlock(c,0);for(var h=0;h<f;h++)o[l+h]^=c[h]}});return r.Decryptor=i,r})(),n.mode.OFB})})(Di)),Di.exports}var Si={exports:{}},f1=Si.exports,j0;function d1(){return j0||(j0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(f1,function(n){return n.mode.ECB=(function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(i,o){this._cipher.encryptBlock(i,o)}}),r.Decryptor=r.extend({processBlock:function(i,o){this._cipher.decryptBlock(i,o)}}),r})(),n.mode.ECB})})(Si)),Si.exports}var Fi={exports:{}},h1=Fi.exports,U0;function x1(){return U0||(U0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(h1,function(n){return n.pad.AnsiX923={pad:function(r,i){var o=r.sigBytes,l=i*4,s=l-o%l,f=o+s-1;r.clamp(),r.words[f>>>2]|=s<<24-f%4*8,r.sigBytes+=s},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Ansix923})})(Fi)),Fi.exports}var ki={exports:{}},g1=ki.exports,G0;function v1(){return G0||(G0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(g1,function(n){return n.pad.Iso10126={pad:function(r,i){var o=i*4,l=o-r.sigBytes%o;r.concat(n.lib.WordArray.random(l-1)).concat(n.lib.WordArray.create([l<<24],1))},unpad:function(r){var i=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=i}},n.pad.Iso10126})})(ki)),ki.exports}var Ti={exports:{}},p1=Ti.exports,K0;function m1(){return K0||(K0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(p1,function(n){return n.pad.Iso97971={pad:function(r,i){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,i)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})})(Ti)),Ti.exports}var Ri={exports:{}},_1=Ri.exports,Z0;function y1(){return Z0||(Z0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(_1,function(n){return n.pad.ZeroPadding={pad:function(r,i){var o=i*4;r.clamp(),r.sigBytes+=o-(r.sigBytes%o||o)},unpad:function(r){for(var i=r.words,o=r.sigBytes-1,o=r.sigBytes-1;o>=0;o--)if(i[o>>>2]>>>24-o%4*8&255){r.sigBytes=o+1;break}}},n.pad.ZeroPadding})})(Ri)),Ri.exports}var Oi={exports:{}},b1=Oi.exports,Y0;function C1(){return Y0||(Y0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(b1,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(Oi)),Oi.exports}var Pi={exports:{}},E1=Pi.exports,X0;function A1(){return X0||(X0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),qe())})(E1,function(n){return(function(r){var i=n,o=i.lib,l=o.CipherParams,s=i.enc,f=s.Hex,u=i.format;u.Hex={stringify:function(c){return c.ciphertext.toString(f)},parse:function(c){var h=f.parse(c);return l.create({ciphertext:h})}}})(),n.format.Hex})})(Pi)),Pi.exports}var Ii={exports:{}},B1=Ii.exports,Q0;function w1(){return Q0||(Q0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),An(),Bn(),ln(),qe())})(B1,function(n){return(function(){var r=n,i=r.lib,o=i.BlockCipher,l=r.algo,s=[],f=[],u=[],c=[],h=[],a=[],d=[],x=[],m=[],v=[];(function(){for(var b=[],C=0;C<256;C++)C<128?b[C]=C<<1:b[C]=C<<1^283;for(var B=0,w=0,C=0;C<256;C++){var F=w^w<<1^w<<2^w<<3^w<<4;F=F>>>8^F&255^99,s[B]=F,f[F]=B;var O=b[B],H=b[O],g=b[H],y=b[F]*257^F*16843008;u[B]=y<<24|y>>>8,c[B]=y<<16|y>>>16,h[B]=y<<8|y>>>24,a[B]=y;var y=g*16843009^H*65537^O*257^B*16843008;d[F]=y<<24|y>>>8,x[F]=y<<16|y>>>16,m[F]=y<<8|y>>>24,v[F]=y,B?(B=O^b[b[b[g^O]]],w^=b[b[w]]):B=w=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],p=l.AES=o.extend({_doReset:function(){var b;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var C=this._keyPriorReset=this._key,B=C.words,w=C.sigBytes/4,F=this._nRounds=w+6,O=(F+1)*4,H=this._keySchedule=[],g=0;g<O;g++)g<w?H[g]=B[g]:(b=H[g-1],g%w?w>6&&g%w==4&&(b=s[b>>>24]<<24|s[b>>>16&255]<<16|s[b>>>8&255]<<8|s[b&255]):(b=b<<8|b>>>24,b=s[b>>>24]<<24|s[b>>>16&255]<<16|s[b>>>8&255]<<8|s[b&255],b^=E[g/w|0]<<24),H[g]=H[g-w]^b);for(var y=this._invKeySchedule=[],_=0;_<O;_++){var g=O-_;if(_%4)var b=H[g];else var b=H[g-4];_<4||g<=4?y[_]=b:y[_]=d[s[b>>>24]]^x[s[b>>>16&255]]^m[s[b>>>8&255]]^v[s[b&255]]}}},encryptBlock:function(b,C){this._doCryptBlock(b,C,this._keySchedule,u,c,h,a,s)},decryptBlock:function(b,C){var B=b[C+1];b[C+1]=b[C+3],b[C+3]=B,this._doCryptBlock(b,C,this._invKeySchedule,d,x,m,v,f);var B=b[C+1];b[C+1]=b[C+3],b[C+3]=B},_doCryptBlock:function(b,C,B,w,F,O,H,g){for(var y=this._nRounds,_=b[C]^B[0],A=b[C+1]^B[1],R=b[C+2]^B[2],W=b[C+3]^B[3],U=4,$=1;$<y;$++){var k=w[_>>>24]^F[A>>>16&255]^O[R>>>8&255]^H[W&255]^B[U++],ee=w[A>>>24]^F[R>>>16&255]^O[W>>>8&255]^H[_&255]^B[U++],Q=w[R>>>24]^F[W>>>16&255]^O[_>>>8&255]^H[A&255]^B[U++],L=w[W>>>24]^F[_>>>16&255]^O[A>>>8&255]^H[R&255]^B[U++];_=k,A=ee,R=Q,W=L}var k=(g[_>>>24]<<24|g[A>>>16&255]<<16|g[R>>>8&255]<<8|g[W&255])^B[U++],ee=(g[A>>>24]<<24|g[R>>>16&255]<<16|g[W>>>8&255]<<8|g[_&255])^B[U++],Q=(g[R>>>24]<<24|g[W>>>16&255]<<16|g[_>>>8&255]<<8|g[A&255])^B[U++],L=(g[W>>>24]<<24|g[_>>>16&255]<<16|g[A>>>8&255]<<8|g[R&255])^B[U++];b[C]=k,b[C+1]=ee,b[C+2]=Q,b[C+3]=L},keySize:256/32});r.AES=o._createHelper(p)})(),n.AES})})(Ii)),Ii.exports}var Mi={exports:{}},D1=Mi.exports,J0;function S1(){return J0||(J0=1,(function(e,t){(function(n,r,i){e.exports=r(me(),An(),Bn(),ln(),qe())})(D1,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,l=i.BlockCipher,s=r.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],u=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],a=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=s.DES=l.extend({_doReset:function(){for(var E=this._key,p=E.words,b=[],C=0;C<56;C++){var B=f[C]-1;b[C]=p[B>>>5]>>>31-B%32&1}for(var w=this._subKeys=[],F=0;F<16;F++){for(var O=w[F]=[],H=c[F],C=0;C<24;C++)O[C/6|0]|=b[(u[C]-1+H)%28]<<31-C%6,O[4+(C/6|0)]|=b[28+(u[C+24]-1+H)%28]<<31-C%6;O[0]=O[0]<<1|O[0]>>>31;for(var C=1;C<7;C++)O[C]=O[C]>>>(C-1)*4+3;O[7]=O[7]<<5|O[7]>>>27}for(var g=this._invSubKeys=[],C=0;C<16;C++)g[C]=w[15-C]},encryptBlock:function(E,p){this._doCryptBlock(E,p,this._subKeys)},decryptBlock:function(E,p){this._doCryptBlock(E,p,this._invSubKeys)},_doCryptBlock:function(E,p,b){this._lBlock=E[p],this._rBlock=E[p+1],x.call(this,4,252645135),x.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),x.call(this,1,1431655765);for(var C=0;C<16;C++){for(var B=b[C],w=this._lBlock,F=this._rBlock,O=0,H=0;H<8;H++)O|=h[H][((F^B[H])&a[H])>>>0];this._lBlock=F,this._rBlock=w^O}var g=this._lBlock;this._lBlock=this._rBlock,this._rBlock=g,x.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),E[p]=this._lBlock,E[p+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(E,p){var b=(this._lBlock>>>E^this._rBlock)&p;this._rBlock^=b,this._lBlock^=b<<E}function m(E,p){var b=(this._rBlock>>>E^this._lBlock)&p;this._lBlock^=b,this._rBlock^=b<<E}r.DES=l._createHelper(d);var v=s.TripleDES=l.extend({_doReset:function(){var E=this._key,p=E.words;if(p.length!==2&&p.length!==4&&p.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var b=p.slice(0,2),C=p.length<4?p.slice(0,2):p.slice(2,4),B=p.length<6?p.slice(0,2):p.slice(4,6);this._des1=d.createEncryptor(o.create(b)),this._des2=d.createEncryptor(o.create(C)),this._des3=d.createEncryptor(o.create(B))},encryptBlock:function(E,p){this._des1.encryptBlock(E,p),this._des2.decryptBlock(E,p),this._des3.encryptBlock(E,p)},decryptBlock:function(E,p){this._des3.decryptBlock(E,p),this._des2.encryptBlock(E,p),this._des1.decryptBlock(E,p)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=l._createHelper(v)})(),n.TripleDES})})(Mi)),Mi.exports}var Ni={exports:{}},F1=Ni.exports,el;function k1(){return el||(el=1,(function(e,t){(function(n,r,i){e.exports=r(me(),An(),Bn(),ln(),qe())})(F1,function(n){return(function(){var r=n,i=r.lib,o=i.StreamCipher,l=r.algo,s=l.RC4=o.extend({_doReset:function(){for(var c=this._key,h=c.words,a=c.sigBytes,d=this._S=[],x=0;x<256;x++)d[x]=x;for(var x=0,m=0;x<256;x++){var v=x%a,E=h[v>>>2]>>>24-v%4*8&255;m=(m+d[x]+E)%256;var p=d[x];d[x]=d[m],d[m]=p}this._i=this._j=0},_doProcessBlock:function(c,h){c[h]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var c=this._S,h=this._i,a=this._j,d=0,x=0;x<4;x++){h=(h+1)%256,a=(a+c[h])%256;var m=c[h];c[h]=c[a],c[a]=m,d|=c[(c[h]+c[a])%256]<<24-x*8}return this._i=h,this._j=a,d}r.RC4=o._createHelper(s);var u=l.RC4Drop=s.extend({cfg:s.cfg.extend({drop:192}),_doReset:function(){s._doReset.call(this);for(var c=this.cfg.drop;c>0;c--)f.call(this)}});r.RC4Drop=o._createHelper(u)})(),n.RC4})})(Ni)),Ni.exports}var Li={exports:{}},T1=Li.exports,tl;function R1(){return tl||(tl=1,(function(e,t){(function(n,r,i){e.exports=r(me(),An(),Bn(),ln(),qe())})(T1,function(n){return(function(){var r=n,i=r.lib,o=i.StreamCipher,l=r.algo,s=[],f=[],u=[],c=l.Rabbit=o.extend({_doReset:function(){for(var a=this._key.words,d=this.cfg.iv,x=0;x<4;x++)a[x]=(a[x]<<8|a[x]>>>24)&16711935|(a[x]<<24|a[x]>>>8)&4278255360;var m=this._X=[a[0],a[3]<<16|a[2]>>>16,a[1],a[0]<<16|a[3]>>>16,a[2],a[1]<<16|a[0]>>>16,a[3],a[2]<<16|a[1]>>>16],v=this._C=[a[2]<<16|a[2]>>>16,a[0]&4294901760|a[1]&65535,a[3]<<16|a[3]>>>16,a[1]&4294901760|a[2]&65535,a[0]<<16|a[0]>>>16,a[2]&4294901760|a[3]&65535,a[1]<<16|a[1]>>>16,a[3]&4294901760|a[0]&65535];this._b=0;for(var x=0;x<4;x++)h.call(this);for(var x=0;x<8;x++)v[x]^=m[x+4&7];if(d){var E=d.words,p=E[0],b=E[1],C=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,B=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=C>>>16|B&4294901760,F=B<<16|C&65535;v[0]^=C,v[1]^=w,v[2]^=B,v[3]^=F,v[4]^=C,v[5]^=w,v[6]^=B,v[7]^=F;for(var x=0;x<4;x++)h.call(this)}},_doProcessBlock:function(a,d){var x=this._X;h.call(this),s[0]=x[0]^x[5]>>>16^x[3]<<16,s[1]=x[2]^x[7]>>>16^x[5]<<16,s[2]=x[4]^x[1]>>>16^x[7]<<16,s[3]=x[6]^x[3]>>>16^x[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,a[d+m]^=s[m]},blockSize:128/32,ivSize:64/32});function h(){for(var a=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<f[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<f[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<f[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<f[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<f[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<f[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<f[6]>>>0?1:0)|0,this._b=d[7]>>>0<f[7]>>>0?1:0;for(var x=0;x<8;x++){var m=a[x]+d[x],v=m&65535,E=m>>>16,p=((v*v>>>17)+v*E>>>15)+E*E,b=((m&4294901760)*m|0)+((m&65535)*m|0);u[x]=p^b}a[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,a[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,a[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,a[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,a[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,a[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,a[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,a[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.Rabbit=o._createHelper(c)})(),n.Rabbit})})(Li)),Li.exports}var Hi={exports:{}},O1=Hi.exports,nl;function P1(){return nl||(nl=1,(function(e,t){(function(n,r,i){e.exports=r(me(),An(),Bn(),ln(),qe())})(O1,function(n){return(function(){var r=n,i=r.lib,o=i.StreamCipher,l=r.algo,s=[],f=[],u=[],c=l.RabbitLegacy=o.extend({_doReset:function(){var a=this._key.words,d=this.cfg.iv,x=this._X=[a[0],a[3]<<16|a[2]>>>16,a[1],a[0]<<16|a[3]>>>16,a[2],a[1]<<16|a[0]>>>16,a[3],a[2]<<16|a[1]>>>16],m=this._C=[a[2]<<16|a[2]>>>16,a[0]&4294901760|a[1]&65535,a[3]<<16|a[3]>>>16,a[1]&4294901760|a[2]&65535,a[0]<<16|a[0]>>>16,a[2]&4294901760|a[3]&65535,a[1]<<16|a[1]>>>16,a[3]&4294901760|a[0]&65535];this._b=0;for(var v=0;v<4;v++)h.call(this);for(var v=0;v<8;v++)m[v]^=x[v+4&7];if(d){var E=d.words,p=E[0],b=E[1],C=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,B=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,w=C>>>16|B&4294901760,F=B<<16|C&65535;m[0]^=C,m[1]^=w,m[2]^=B,m[3]^=F,m[4]^=C,m[5]^=w,m[6]^=B,m[7]^=F;for(var v=0;v<4;v++)h.call(this)}},_doProcessBlock:function(a,d){var x=this._X;h.call(this),s[0]=x[0]^x[5]>>>16^x[3]<<16,s[1]=x[2]^x[7]>>>16^x[5]<<16,s[2]=x[4]^x[1]>>>16^x[7]<<16,s[3]=x[6]^x[3]>>>16^x[1]<<16;for(var m=0;m<4;m++)s[m]=(s[m]<<8|s[m]>>>24)&16711935|(s[m]<<24|s[m]>>>8)&4278255360,a[d+m]^=s[m]},blockSize:128/32,ivSize:64/32});function h(){for(var a=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0<f[0]>>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0<f[1]>>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0<f[2]>>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0<f[3]>>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0<f[4]>>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0<f[5]>>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0<f[6]>>>0?1:0)|0,this._b=d[7]>>>0<f[7]>>>0?1:0;for(var x=0;x<8;x++){var m=a[x]+d[x],v=m&65535,E=m>>>16,p=((v*v>>>17)+v*E>>>15)+E*E,b=((m&4294901760)*m|0)+((m&65535)*m|0);u[x]=p^b}a[0]=u[0]+(u[7]<<16|u[7]>>>16)+(u[6]<<16|u[6]>>>16)|0,a[1]=u[1]+(u[0]<<8|u[0]>>>24)+u[7]|0,a[2]=u[2]+(u[1]<<16|u[1]>>>16)+(u[0]<<16|u[0]>>>16)|0,a[3]=u[3]+(u[2]<<8|u[2]>>>24)+u[1]|0,a[4]=u[4]+(u[3]<<16|u[3]>>>16)+(u[2]<<16|u[2]>>>16)|0,a[5]=u[5]+(u[4]<<8|u[4]>>>24)+u[3]|0,a[6]=u[6]+(u[5]<<16|u[5]>>>16)+(u[4]<<16|u[4]>>>16)|0,a[7]=u[7]+(u[6]<<8|u[6]>>>24)+u[5]|0}r.RabbitLegacy=o._createHelper(c)})(),n.RabbitLegacy})})(Hi)),Hi.exports}var $i={exports:{}},I1=$i.exports,rl;function M1(){return rl||(rl=1,(function(e,t){(function(n,r,i){e.exports=r(me(),An(),Bn(),ln(),qe())})(I1,function(n){return(function(){var r=n,i=r.lib,o=i.BlockCipher,l=r.algo;const s=16,f=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],u=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var c={pbox:[],sbox:[]};function h(v,E){let p=E>>24&255,b=E>>16&255,C=E>>8&255,B=E&255,w=v.sbox[0][p]+v.sbox[1][b];return w=w^v.sbox[2][C],w=w+v.sbox[3][B],w}function a(v,E,p){let b=E,C=p,B;for(let w=0;w<s;++w)b=b^v.pbox[w],C=h(v,b)^C,B=b,b=C,C=B;return B=b,b=C,C=B,C=C^v.pbox[s],b=b^v.pbox[s+1],{left:b,right:C}}function d(v,E,p){let b=E,C=p,B;for(let w=s+1;w>1;--w)b=b^v.pbox[w],C=h(v,b)^C,B=b,b=C,C=B;return B=b,b=C,C=B,C=C^v.pbox[1],b=b^v.pbox[0],{left:b,right:C}}function x(v,E,p){for(let F=0;F<4;F++){v.sbox[F]=[];for(let O=0;O<256;O++)v.sbox[F][O]=u[F][O]}let b=0;for(let F=0;F<s+2;F++)v.pbox[F]=f[F]^E[b],b++,b>=p&&(b=0);let C=0,B=0,w=0;for(let F=0;F<s+2;F+=2)w=a(v,C,B),C=w.left,B=w.right,v.pbox[F]=C,v.pbox[F+1]=B;for(let F=0;F<4;F++)for(let O=0;O<256;O+=2)w=a(v,C,B),C=w.left,B=w.right,v.sbox[F][O]=C,v.sbox[F][O+1]=B;return!0}var m=l.Blowfish=o.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var v=this._keyPriorReset=this._key,E=v.words,p=v.sigBytes/4;x(c,E,p)}},encryptBlock:function(v,E){var p=a(c,v[E],v[E+1]);v[E]=p.left,v[E+1]=p.right},decryptBlock:function(v,E){var p=d(c,v[E],v[E+1]);v[E]=p.left,v[E+1]=p.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=o._createHelper(m)})(),n.Blowfish})})($i)),$i.exports}var N1=oi.exports,il;function L1(){return il||(il=1,(function(e,t){(function(n,r,i){e.exports=r(me(),bo(),Px(),Mx(),An(),Hx(),Bn(),Du(),fa(),Vx(),Su(),Gx(),Zx(),Xx(),da(),e1(),ln(),qe(),i1(),s1(),l1(),u1(),d1(),x1(),v1(),m1(),y1(),C1(),A1(),w1(),S1(),k1(),R1(),P1(),M1())})(N1,function(n){return n})})(oi)),oi.exports}var H1=L1();const T2=wu(H1);/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const Pn=typeof document<"u";function Fu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $1(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fu(e.default)}const Ee=Object.assign;function qo(e,t){const n={};for(const r in t){const i=t[r];n[r]=Bt(i)?i.map(e):e(i)}return n}const Cr=()=>{},Bt=Array.isArray;function ol(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const ku=/#/g,z1=/&/g,W1=/\//g,q1=/=/g,V1=/\?/g,Tu=/\+/g,j1=/%5B/g,U1=/%5D/g,Ru=/%5E/g,G1=/%60/g,Ou=/%7B/g,K1=/%7C/g,Pu=/%7D/g,Z1=/%20/g;function ha(e){return e==null?"":encodeURI(""+e).replace(K1,"|").replace(j1,"[").replace(U1,"]")}function Y1(e){return ha(e).replace(Ou,"{").replace(Pu,"}").replace(Ru,"^")}function ws(e){return ha(e).replace(Tu,"%2B").replace(Z1,"+").replace(ku,"%23").replace(z1,"%26").replace(G1,"`").replace(Ou,"{").replace(Pu,"}").replace(Ru,"^")}function X1(e){return ws(e).replace(q1,"%3D")}function Q1(e){return ha(e).replace(ku,"%23").replace(V1,"%3F")}function J1(e){return Q1(e).replace(W1,"%2F")}function Or(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const eg=/\/$/,tg=e=>e.replace(eg,"");function Vo(e,t,n="/"){let r,i={},o="",l="";const s=t.indexOf("#");let f=t.indexOf("?");return f=s>=0&&f>s?-1:f,f>=0&&(r=t.slice(0,f),o=t.slice(f,s>0?s:t.length),i=e(o.slice(1))),s>=0&&(r=r||t.slice(0,s),l=t.slice(s,t.length)),r=og(r??t,n),{fullPath:r+o+l,path:r,query:i,hash:Or(l)}}function ng(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function sl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function rg(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&zn(t.matched[r],n.matched[i])&&Iu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Iu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!ig(e[n],t[n]))return!1;return!0}function ig(e,t){return Bt(e)?al(e,t):Bt(t)?al(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function al(e,t){return Bt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function og(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,l,s;for(l=0;l<r.length;l++)if(s=r[l],s!==".")if(s==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(l).join("/")}const en={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ds=(function(e){return e.pop="pop",e.push="push",e})({}),jo=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function sg(e){if(!e)if(Pn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),tg(e)}const ag=/^[^#]+#/;function lg(e,t){return e.replace(ag,"#")+t}function cg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Co=()=>({left:window.scrollX,top:window.scrollY});function ug(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=cg(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function ll(e,t){return(history.state?history.state.position-t:-1)+e}const Ss=new Map;function fg(e,t){Ss.set(e,t)}function dg(e){const t=Ss.get(e);return Ss.delete(e),t}function hg(e){return typeof e=="string"||e&&typeof e=="object"}function Mu(e){return typeof e=="string"||typeof e=="symbol"}let Pe=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Nu=Symbol("");Pe.MATCHER_NOT_FOUND+"",Pe.NAVIGATION_GUARD_REDIRECT+"",Pe.NAVIGATION_ABORTED+"",Pe.NAVIGATION_CANCELLED+"",Pe.NAVIGATION_DUPLICATED+"";function Wn(e,t){return Ee(new Error,{type:e,[Nu]:!0},t)}function It(e,t){return e instanceof Error&&Nu in e&&(t==null||!!(e.type&t))}const xg=["params","query","hash"];function gg(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of xg)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function vg(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const i=n[r].replace(Tu," "),o=i.indexOf("="),l=Or(o<0?i:i.slice(0,o)),s=o<0?null:Or(i.slice(o+1));if(l in t){let f=t[l];Bt(f)||(f=t[l]=[f]),f.push(s)}else t[l]=s}return t}function cl(e){let t="";for(let n in e){const r=e[n];if(n=X1(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Bt(r)?r.map(i=>i&&ws(i)):[r&&ws(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function pg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Bt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const mg=Symbol(""),ul=Symbol(""),Eo=Symbol(""),xa=Symbol(""),Fs=Symbol("");function rr(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function rn(e,t,n,r,i,o=l=>l()){const l=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,f)=>{const u=a=>{a===!1?f(Wn(Pe.NAVIGATION_ABORTED,{from:n,to:t})):a instanceof Error?f(a):hg(a)?f(Wn(Pe.NAVIGATION_GUARD_REDIRECT,{from:t,to:a})):(l&&r.enterCallbacks[i]===l&&typeof a=="function"&&l.push(a),s())},c=o(()=>e.call(r&&r.instances[i],t,n,u));let h=Promise.resolve(c);e.length<3&&(h=h.then(u)),h.catch(a=>f(a))})}function Uo(e,t,n,r,i=o=>o()){const o=[];for(const l of e)for(const s in l.components){let f=l.components[s];if(!(t!=="beforeRouteEnter"&&!l.instances[s]))if(Fu(f)){const u=(f.__vccOpts||f)[t];u&&o.push(rn(u,n,r,l,s,i))}else{let u=f();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${s}" at "${l.path}"`);const h=$1(c)?c.default:c;l.mods[s]=c,l.components[s]=h;const a=(h.__vccOpts||h)[t];return a&&rn(a,n,r,l,s,i)()}))}}return o}function _g(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let l=0;l<o;l++){const s=t.matched[l];s&&(e.matched.find(u=>zn(u,s))?r.push(s):n.push(s));const f=e.matched[l];f&&(t.matched.find(u=>zn(u,f))||i.push(f))}return[n,r,i]}/*!
|
|
* vue-router v4.6.4
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let yg=()=>location.protocol+"//"+location.host;function Lu(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let l=i.includes(e.slice(o))?e.slice(o).length:1,s=i.slice(l);return s[0]!=="/"&&(s="/"+s),sl(s,"")}return sl(n,e)+r+i}function bg(e,t,n,r){let i=[],o=[],l=null;const s=({state:a})=>{const d=Lu(e,location),x=n.value,m=t.value;let v=0;if(a){if(n.value=d,t.value=a,l&&l===x){l=null;return}v=m?a.position-m.position:0}else r(d);i.forEach(E=>{E(n.value,x,{delta:v,type:Ds.pop,direction:v?v>0?jo.forward:jo.back:jo.unknown})})};function f(){l=n.value}function u(a){i.push(a);const d=()=>{const x=i.indexOf(a);x>-1&&i.splice(x,1)};return o.push(d),d}function c(){if(document.visibilityState==="hidden"){const{history:a}=window;if(!a.state)return;a.replaceState(Ee({},a.state,{scroll:Co()}),"")}}function h(){for(const a of o)a();o=[],window.removeEventListener("popstate",s),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",s),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:f,listen:u,destroy:h}}function fl(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Co():null}}function Cg(e){const{history:t,location:n}=window,r={value:Lu(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(f,u,c){const h=e.indexOf("#"),a=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+f:yg()+e+f;try{t[c?"replaceState":"pushState"](u,"",a),i.value=u}catch(d){console.error(d),n[c?"replace":"assign"](a)}}function l(f,u){o(f,Ee({},t.state,fl(i.value.back,f,i.value.forward,!0),u,{position:i.value.position}),!0),r.value=f}function s(f,u){const c=Ee({},i.value,t.state,{forward:f,scroll:Co()});o(c.current,c,!0),o(f,Ee({},fl(r.value,f,null),{position:c.position+1},u),!1),r.value=f}return{location:r,state:i,push:s,replace:l}}function R2(e){e=sg(e);const t=Cg(e),n=bg(e,t.state,t.location,t.replace);function r(o,l=!0){l||n.pauseListeners(),history.go(o)}const i=Ee({location:"",base:e,go:r,createHref:lg.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}let mn=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var $e=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})($e||{});const Eg={type:mn.Static,value:""},Ag=/[a-zA-Z0-9_]/;function Bg(e){if(!e)return[[]];if(e==="/")return[[Eg]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${n})/"${u}": ${d}`)}let n=$e.Static,r=n;const i=[];let o;function l(){o&&i.push(o),o=[]}let s=0,f,u="",c="";function h(){u&&(n===$e.Static?o.push({type:mn.Static,value:u}):n===$e.Param||n===$e.ParamRegExp||n===$e.ParamRegExpEnd?(o.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:mn.Param,value:u,regexp:c,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),u="")}function a(){u+=f}for(;s<e.length;){if(f=e[s++],f==="\\"&&n!==$e.ParamRegExp){r=n,n=$e.EscapeNext;continue}switch(n){case $e.Static:f==="/"?(u&&h(),l()):f===":"?(h(),n=$e.Param):a();break;case $e.EscapeNext:a(),n=r;break;case $e.Param:f==="("?n=$e.ParamRegExp:Ag.test(f)?a():(h(),n=$e.Static,f!=="*"&&f!=="?"&&f!=="+"&&s--);break;case $e.ParamRegExp:f===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+f:n=$e.ParamRegExpEnd:c+=f;break;case $e.ParamRegExpEnd:h(),n=$e.Static,f!=="*"&&f!=="?"&&f!=="+"&&s--,c="";break;default:t("Unknown state");break}}return n===$e.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),h(),l(),i}const dl="[^/]+?",wg={sensitive:!1,strict:!1,start:!0,end:!0};var tt=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(tt||{});const Dg=/[.+*?^${}()[\]/\\]/g;function Sg(e,t){const n=Ee({},wg,t),r=[];let i=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[tt.Root];n.strict&&!u.length&&(i+="/");for(let h=0;h<u.length;h++){const a=u[h];let d=tt.Segment+(n.sensitive?tt.BonusCaseSensitive:0);if(a.type===mn.Static)h||(i+="/"),i+=a.value.replace(Dg,"\\$&"),d+=tt.Static;else if(a.type===mn.Param){const{value:x,repeatable:m,optional:v,regexp:E}=a;o.push({name:x,repeatable:m,optional:v});const p=E||dl;if(p!==dl){d+=tt.BonusCustomRegExp;try{`${p}`}catch(C){throw new Error(`Invalid custom RegExp for param "${x}" (${p}): `+C.message)}}let b=m?`((?:${p})(?:/(?:${p}))*)`:`(${p})`;h||(b=v&&u.length<2?`(?:/${b})`:"/"+b),v&&(b+="?"),i+=b,d+=tt.Dynamic,v&&(d+=tt.BonusOptional),m&&(d+=tt.BonusRepeatable),p===".*"&&(d+=tt.BonusWildcard)}c.push(d)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=tt.BonusStrict}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const l=new RegExp(i,n.sensitive?"":"i");function s(u){const c=u.match(l),h={};if(!c)return null;for(let a=1;a<c.length;a++){const d=c[a]||"",x=o[a-1];h[x.name]=d&&x.repeatable?d.split("/"):d}return h}function f(u){let c="",h=!1;for(const a of e){(!h||!c.endsWith("/"))&&(c+="/"),h=!1;for(const d of a)if(d.type===mn.Static)c+=d.value;else if(d.type===mn.Param){const{value:x,repeatable:m,optional:v}=d,E=x in u?u[x]:"";if(Bt(E)&&!m)throw new Error(`Provided param "${x}" is an array but it is not repeatable (* or + modifiers)`);const p=Bt(E)?E.join("/"):E;if(!p)if(v)a.length<2&&(c.endsWith("/")?c=c.slice(0,-1):h=!0);else throw new Error(`Missing required param "${x}"`);c+=p}}return c||"/"}return{re:l,score:r,keys:o,parse:s,stringify:f}}function Fg(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===tt.Static+tt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===tt.Static+tt.Segment?1:-1:0}function Hu(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const o=Fg(r[n],i[n]);if(o)return o;n++}if(Math.abs(i.length-r.length)===1){if(hl(r))return 1;if(hl(i))return-1}return i.length-r.length}function hl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const kg={strict:!1,end:!0,sensitive:!1};function Tg(e,t,n){const r=Sg(Bg(e.path),n),i=Ee(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Rg(e,t){const n=[],r=new Map;t=ol(kg,t);function i(h){return r.get(h)}function o(h,a,d){const x=!d,m=gl(h);m.aliasOf=d&&d.record;const v=ol(t,h),E=[m];if("alias"in h){const C=typeof h.alias=="string"?[h.alias]:h.alias;for(const B of C)E.push(gl(Ee({},m,{components:d?d.record.components:m.components,path:B,aliasOf:d?d.record:m})))}let p,b;for(const C of E){const{path:B}=C;if(a&&B[0]!=="/"){const w=a.record.path,F=w[w.length-1]==="/"?"":"/";C.path=a.record.path+(B&&F+B)}if(p=Tg(C,a,v),d?d.alias.push(p):(b=b||p,b!==p&&b.alias.push(p),x&&h.name&&!vl(p)&&l(h.name)),$u(p)&&f(p),m.children){const w=m.children;for(let F=0;F<w.length;F++)o(w[F],p,d&&d.children[F])}d=d||p}return b?()=>{l(b)}:Cr}function l(h){if(Mu(h)){const a=r.get(h);a&&(r.delete(h),n.splice(n.indexOf(a),1),a.children.forEach(l),a.alias.forEach(l))}else{const a=n.indexOf(h);a>-1&&(n.splice(a,1),h.record.name&&r.delete(h.record.name),h.children.forEach(l),h.alias.forEach(l))}}function s(){return n}function f(h){const a=Ig(h,n);n.splice(a,0,h),h.record.name&&!vl(h)&&r.set(h.record.name,h)}function u(h,a){let d,x={},m,v;if("name"in h&&h.name){if(d=r.get(h.name),!d)throw Wn(Pe.MATCHER_NOT_FOUND,{location:h});v=d.record.name,x=Ee(xl(a.params,d.keys.filter(b=>!b.optional).concat(d.parent?d.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),h.params&&xl(h.params,d.keys.map(b=>b.name))),m=d.stringify(x)}else if(h.path!=null)m=h.path,d=n.find(b=>b.re.test(m)),d&&(x=d.parse(m),v=d.record.name);else{if(d=a.name?r.get(a.name):n.find(b=>b.re.test(a.path)),!d)throw Wn(Pe.MATCHER_NOT_FOUND,{location:h,currentLocation:a});v=d.record.name,x=Ee({},a.params,h.params),m=d.stringify(x)}const E=[];let p=d;for(;p;)E.unshift(p.record),p=p.parent;return{name:v,path:m,params:x,matched:E,meta:Pg(E)}}e.forEach(h=>o(h));function c(){n.length=0,r.clear()}return{addRoute:o,resolve:u,removeRoute:l,clearRoutes:c,getRoutes:s,getRecordMatcher:i}}function xl(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gl(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Og(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Og(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function vl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pg(e){return e.reduce((t,n)=>Ee(t,n.meta),{})}function Ig(e,t){let n=0,r=t.length;for(;n!==r;){const o=n+r>>1;Hu(e,t[o])<0?r=o:n=o+1}const i=Mg(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function Mg(e){let t=e;for(;t=t.parent;)if($u(t)&&Hu(e,t)===0)return t}function $u({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pl(e){const t=Je(Eo),n=Je(xa),r=le(()=>{const f=bt(e.to);return t.resolve(f)}),i=le(()=>{const{matched:f}=r.value,{length:u}=f,c=f[u-1],h=n.matched;if(!c||!h.length)return-1;const a=h.findIndex(zn.bind(null,c));if(a>-1)return a;const d=ml(f[u-2]);return u>1&&ml(c)===d&&h[h.length-1].path!==d?h.findIndex(zn.bind(null,f[u-2])):a}),o=le(()=>i.value>-1&&zg(n.params,r.value.params)),l=le(()=>i.value>-1&&i.value===n.matched.length-1&&Iu(n.params,r.value.params));function s(f={}){if($g(f)){const u=t[bt(e.replace)?"replace":"push"](bt(e.to)).catch(Cr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:le(()=>r.value.href),isActive:o,isExactActive:l,navigate:s}}function Ng(e){return e.length===1?e[0]:e}const Lg=we({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:pl,setup(e,{slots:t}){const n=st(pl(e)),{options:r}=Je(Eo),i=le(()=>({[_l(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[_l(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Ng(t.default(n));return e.custom?o:la("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),Hg=Lg;function $g(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function zg(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Bt(i)||i.length!==r.length||r.some((o,l)=>o.valueOf()!==i[l].valueOf()))return!1}return!0}function ml(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const _l=(e,t,n)=>e??t??n,Wg=we({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Je(Fs),i=le(()=>e.route||r.value),o=Je(ul,0),l=le(()=>{let u=bt(o);const{matched:c}=i.value;let h;for(;(h=c[u])&&!h.components;)u++;return u}),s=le(()=>i.value.matched[l.value]);zt(ul,le(()=>l.value+1)),zt(mg,s),zt(Fs,i);const f=ue();return pe(()=>[f.value,s.value,e.name],([u,c,h],[a,d,x])=>{c&&(c.instances[h]=u,d&&d!==c&&u&&u===a&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),u&&c&&(!d||!zn(c,d)||!a)&&(c.enterCallbacks[h]||[]).forEach(m=>m(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,h=s.value,a=h&&h.components[c];if(!a)return yl(n.default,{Component:a,route:u});const d=h.props[c],x=d?d===!0?u.params:typeof d=="function"?d(u):d:null,v=la(a,Ee({},x,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[c]=null)},ref:f}));return yl(n.default,{Component:v,route:u})||v}}});function yl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const qg=Wg;function O2(e){const t=Rg(e.routes,e),n=e.parseQuery||vg,r=e.stringifyQuery||cl,i=e.history,o=rr(),l=rr(),s=rr(),f=Ad(en);let u=en;Pn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=qo.bind(null,D=>""+D),h=qo.bind(null,J1),a=qo.bind(null,Or);function d(D,q){let V,X;return Mu(D)?(V=t.getRecordMatcher(D),X=q):X=D,t.addRoute(X,V)}function x(D){const q=t.getRecordMatcher(D);q&&t.removeRoute(q)}function m(){return t.getRoutes().map(D=>D.record)}function v(D){return!!t.getRecordMatcher(D)}function E(D,q){if(q=Ee({},q||f.value),typeof D=="string"){const N=Vo(n,D,q.path),j=t.resolve({path:N.path},q),K=i.createHref(N.fullPath);return Ee(N,j,{params:a(j.params),hash:Or(N.hash),redirectedFrom:void 0,href:K})}let V;if(D.path!=null)V=Ee({},D,{path:Vo(n,D.path,q.path).path});else{const N=Ee({},D.params);for(const j in N)N[j]==null&&delete N[j];V=Ee({},D,{params:h(N)}),q.params=h(q.params)}const X=t.resolve(V,q),oe=D.hash||"";X.params=c(a(X.params));const S=ng(r,Ee({},D,{hash:Y1(oe),path:X.path})),T=i.createHref(S);return Ee({fullPath:S,hash:oe,query:r===cl?pg(D.query):D.query||{}},X,{redirectedFrom:void 0,href:T})}function p(D){return typeof D=="string"?Vo(n,D,f.value.path):Ee({},D)}function b(D,q){if(u!==D)return Wn(Pe.NAVIGATION_CANCELLED,{from:q,to:D})}function C(D){return F(D)}function B(D){return C(Ee(p(D),{replace:!0}))}function w(D,q){const V=D.matched[D.matched.length-1];if(V&&V.redirect){const{redirect:X}=V;let oe=typeof X=="function"?X(D,q):X;return typeof oe=="string"&&(oe=oe.includes("?")||oe.includes("#")?oe=p(oe):{path:oe},oe.params={}),Ee({query:D.query,hash:D.hash,params:oe.path!=null?{}:D.params},oe)}}function F(D,q){const V=u=E(D),X=f.value,oe=D.state,S=D.force,T=D.replace===!0,N=w(V,X);if(N)return F(Ee(p(N),{state:typeof N=="object"?Ee({},oe,N.state):oe,force:S,replace:T}),q||V);const j=V;j.redirectedFrom=q;let K;return!S&&rg(r,X,V)&&(K=Wn(Pe.NAVIGATION_DUPLICATED,{to:j,from:X}),L(X,X,!0,!1)),(K?Promise.resolve(K):g(j,X)).catch(Z=>It(Z)?It(Z,Pe.NAVIGATION_GUARD_REDIRECT)?Z:Q(Z):k(Z,j,X)).then(Z=>{if(Z){if(It(Z,Pe.NAVIGATION_GUARD_REDIRECT))return F(Ee({replace:T},p(Z.to),{state:typeof Z.to=="object"?Ee({},oe,Z.to.state):oe,force:S}),q||j)}else Z=_(j,X,!0,T,oe);return y(j,X,Z),Z})}function O(D,q){const V=b(D,q);return V?Promise.reject(V):Promise.resolve()}function H(D){const q=I.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(D):D()}function g(D,q){let V;const[X,oe,S]=_g(D,q);V=Uo(X.reverse(),"beforeRouteLeave",D,q);for(const N of X)N.leaveGuards.forEach(j=>{V.push(rn(j,D,q))});const T=O.bind(null,D,q);return V.push(T),J(V).then(()=>{V=[];for(const N of o.list())V.push(rn(N,D,q));return V.push(T),J(V)}).then(()=>{V=Uo(oe,"beforeRouteUpdate",D,q);for(const N of oe)N.updateGuards.forEach(j=>{V.push(rn(j,D,q))});return V.push(T),J(V)}).then(()=>{V=[];for(const N of S)if(N.beforeEnter)if(Bt(N.beforeEnter))for(const j of N.beforeEnter)V.push(rn(j,D,q));else V.push(rn(N.beforeEnter,D,q));return V.push(T),J(V)}).then(()=>(D.matched.forEach(N=>N.enterCallbacks={}),V=Uo(S,"beforeRouteEnter",D,q,H),V.push(T),J(V))).then(()=>{V=[];for(const N of l.list())V.push(rn(N,D,q));return V.push(T),J(V)}).catch(N=>It(N,Pe.NAVIGATION_CANCELLED)?N:Promise.reject(N))}function y(D,q,V){s.list().forEach(X=>H(()=>X(D,q,V)))}function _(D,q,V,X,oe){const S=b(D,q);if(S)return S;const T=q===en,N=Pn?history.state:{};V&&(X||T?i.replace(D.fullPath,Ee({scroll:T&&N&&N.scroll},oe)):i.push(D.fullPath,oe)),f.value=D,L(D,q,V,T),Q()}let A;function R(){A||(A=i.listen((D,q,V)=>{if(!G.listening)return;const X=E(D),oe=w(X,G.currentRoute.value);if(oe){F(Ee(oe,{replace:!0,force:!0}),X).catch(Cr);return}u=X;const S=f.value;Pn&&fg(ll(S.fullPath,V.delta),Co()),g(X,S).catch(T=>It(T,Pe.NAVIGATION_ABORTED|Pe.NAVIGATION_CANCELLED)?T:It(T,Pe.NAVIGATION_GUARD_REDIRECT)?(F(Ee(p(T.to),{force:!0}),X).then(N=>{It(N,Pe.NAVIGATION_ABORTED|Pe.NAVIGATION_DUPLICATED)&&!V.delta&&V.type===Ds.pop&&i.go(-1,!1)}).catch(Cr),Promise.reject()):(V.delta&&i.go(-V.delta,!1),k(T,X,S))).then(T=>{T=T||_(X,S,!1),T&&(V.delta&&!It(T,Pe.NAVIGATION_CANCELLED)?i.go(-V.delta,!1):V.type===Ds.pop&&It(T,Pe.NAVIGATION_ABORTED|Pe.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),y(X,S,T)}).catch(Cr)}))}let W=rr(),U=rr(),$;function k(D,q,V){Q(D);const X=U.list();return X.length?X.forEach(oe=>oe(D,q,V)):console.error(D),Promise.reject(D)}function ee(){return $&&f.value!==en?Promise.resolve():new Promise((D,q)=>{W.add([D,q])})}function Q(D){return $||($=!D,R(),W.list().forEach(([q,V])=>D?V(D):q()),W.reset()),D}function L(D,q,V,X){const{scrollBehavior:oe}=e;if(!Pn||!oe)return Promise.resolve();const S=!V&&dg(ll(D.fullPath,0))||(X||!V)&&history.state&&history.state.scroll||null;return Me().then(()=>oe(D,q,S)).then(T=>T&&ug(T)).catch(T=>k(T,D,q))}const P=D=>i.go(D);let z;const I=new Set,G={currentRoute:f,listening:!0,addRoute:d,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:m,resolve:E,options:e,push:C,replace:B,go:P,back:()=>P(-1),forward:()=>P(1),beforeEach:o.add,beforeResolve:l.add,afterEach:s.add,onError:U.add,isReady:ee,install(D){D.component("RouterLink",Hg),D.component("RouterView",qg),D.config.globalProperties.$router=G,Object.defineProperty(D.config.globalProperties,"$route",{enumerable:!0,get:()=>bt(f)}),Pn&&!z&&f.value===en&&(z=!0,C(i.location).catch(X=>{}));const q={};for(const X in en)Object.defineProperty(q,X,{get:()=>f.value[X],enumerable:!0});D.provide(Eo,G),D.provide(xa,Ac(q)),D.provide(Fs,f);const V=D.unmount;I.add(D),D.unmount=function(){I.delete(D),I.size<1&&(u=en,A&&A(),A=null,f.value=en,z=!1,$=!1),V()}}};function J(D){return D.reduce((q,V)=>q.then(()=>H(V)),Promise.resolve())}return G}function P2(){return Je(Eo)}function I2(e){return Je(xa)}const zi=typeof window<"u"?window:void 0,Go=typeof document<"u"?document:void 0,Wt=typeof navigator<"u"?navigator:void 0,Ko=typeof location<"u"?location:void 0;function Vg(){return(Ko==null?void 0:Ko.href)||""}const Er=(Wt==null?void 0:Wt.userAgent)||"",jg=(Wt==null?void 0:Wt.platform)||"";var Xl;const Ug=(Xl=Er==null?void 0:Er.match(/wxwork\/([\d.]+)/i))==null?void 0:Xl[1],ga=!!Ug,Gg=!ga&&/micromessenger/i.test(Er),{isIOS:M2,isMac:N2}=(function(){const e=(Wt==null?void 0:Wt.maxTouchPoints)??1,t=/Mac/i.test(jg);return t&&e>2?{isMac:!1,isIOS:!0}:{isMac:t,isIOS:/\b(iPhone|iPad|iPod)\b/i.test(Er)}})();let Kg,Zo,Yo;function Zg(){return Kg}function Yg(){var e;return(e=Zo==null?void 0:Zo.getResult())==null?void 0:e.params}function Xg(){var e;return(e=Yo==null?void 0:Yo.getResult())==null?void 0:e.params}function Qg(){(function(){const e=Zg();return ga&&(e!=null&&e.getAgentConfigSignature)?Xg():Yg()})()}const bl={config:"preVerifyJsApi",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareWechat:"menu:share:wechat",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress",getBrandWCPayRequest:"getBrandWCPayRequest"},zu={};for(const e of Object.keys(bl))zu[bl[e]]=e;function Jg(e){return zu[e]||e}Vg();function fr(e,t,n){if(ev(e))try{return e.call(n,t)}catch(r){(function(...i){console.error("[wwsdk]",...i)})(r)}}function Cl(e,t){return e.slice(0,t.length)===t}function ks(e){return tv(e)?e.slice(e.indexOf(":")+1):""}function ev(e){return typeof e=="function"}function tv(e){return typeof e=="string"}let Ts=!!(zi!=null&&zi.WeixinJSBridge),Wu=Promise.resolve();async function nv(e,t={},n){Ts||await Wu;const r=await new Promise(o=>{const l={...t,...Qg()};zi.WeixinJSBridge.invoke(e,l,o)});r.errMsg||(r.errMsg=(function(o,l){const s=Jg(o);if(!l)return`${s}:ok`;let f=ks(l);return f==="confirm"&&(f="ok"),f==="failed"&&(f="fail"),Cl(f,"failed_")&&(f=f.slice(7)),Cl(f,"fail_")&&(f=f.slice(5)),f=f.replace(/_/g,"").toLowerCase(),(f==="access denied"||f==="no permission to execute")&&(f="permission denied"),s==="config"&&f==="function not exist"&&(f="ok"),f||(f="fail"),`${s}:${f}`})(e,r.err_msg||r.errmsg));const i=ks(r.errMsg);if(r.errCode==null&&(r.errCode=r.err_code!=null?r.err_code:i==="ok"?0:-1),fr(n,r),i!=="ok"&&i!=="yes")throw r;return r}Ts||(Wu=new Promise(e=>{Go==null||Go.addEventListener("WeixinJSBridgeReady",()=>{Ts=!0,e()})}));function Ar(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}async function va(e,t,n=t){return rv(t,async()=>(await void 0,nv(e,n)))}function rv(e,t){return t(e).then(n=>(fr(e==null?void 0:e.success,n),fr(e==null?void 0:e.complete,n),n),n=>{throw fr(ks(n.errMsg)==="cancel"?e==null?void 0:e.cancel:e==null?void 0:e.fail,n),fr(e==null?void 0:e.complete,n),n})}(function(e){return e.CLProximityUnknown="0",e.CLProximityImmediate="1",e.CLProximityNear="2",e.CLProximityFar="3",e})({});(function(e){return e.wgs84="wgs84",e.gcj02="gcj02",e})({});function L2(e){return va("openLocation",e,{latitude:e.latitude,longitude:e.longitude,name:e.name||"",address:e.address||"",scale:e.scale||28,infoUrl:e.infoUrl||""})}(function(e){return e.wifi="wifi",e.network2g="2g",e.network3g="3g",e.network4g="4g",e.networkEdge="edge",e.networkWwan="wwan",e.none="none",e.unknown="unknown",e})({});(function(e){return e.video="video",e.image="image",e.file="file",e.video_and_image="video_and_image",e})({});(function(e){return e.video="video",e.image="image",e.file="file",e})({});(function(e){return e.original="original",e.compressed="compressed",e})({});(function(e){return e.album="album",e.camera="camera",e})({});(function(e){return e.normal="normal",e.batch="batch",e.front="front",e.batch_front="batch_front",e})({});function H2(e){return va("imagePreview",e)}(function(e){return e[e.common=0]="common",e[e.corp_training=1]="corp_training",e[e.edu_normal_class=2]="edu_normal_class",e[e.edu_small_class=3]="edu_small_class",e})({});(function(e){return e[e.other=0]="other",e[e.doc=3]="doc",e[e.sheet=4]="sheet",e[e.form=5]="form",e[e.slide=6]="slide",e[e.mindmap=7]="mindmap",e[e.flowchart=8]="flowchart",e[e.smartsheet=10]="smartsheet",e})({});function $2(e){return va("shareWechatMessage",e)}(function(e){return e[e.normal=0]="normal",e[e.scan=1]="scan",e})({});(function(e){return e[e.chat=0]="chat",e[e.qrcode=1]="qrcode",e})({});(function(e){return e.contact_profile="contact_profile",e.single_chat_tools="single_chat_tools",e.group_chat_tools="group_chat_tools",e.chat_attachment="chat_attachment",e.single_kf_tools="single_kf_tools",e.chain_single_chat_tools="chain_single_chat_tools",e.chain_group_chat_tools="chain_group_chat_tools",e.internal_group_chat_board="internal_group_chat_board",e.normal="normal",e})({});(function(e){return e.permission="permission",e.datazone_chat_permission="datazone_chat_permission",e.datazone_doc_permission="datazone_doc_permission",e.datazone_knowledge_permission="datazone_knowledge_permission",e.datazone_permission="datazone_permission",e.customer_acquisition_permission="customer_acquisition_permission",e})({});(function(e){return e.release="release",e.trial="trial",e.develop="develop",e})({});(function(e){return e[e.internal=1]="internal",e[e.external=2]="external",e})({});(function(e){return e[e.mediaid=1]="mediaid",e[e.url=2]="url",e[e.localId=4]="localId",e})({});(function(e){return e.None="None",e.HWOpenTalk="HWOpenTalk",e.VoIP="VoIP",e.SystemCall="SystemCall",e})({});(function(e){return e.qrCode="qrCode",e.barCode="barCode",e})({});(function(e){return e.single="single",e.multi="multi",e})({});(function(e){return e.department="department",e.user="user",e})({});(function(e){return e[e.other=0]="other",e[e.doc=3]="doc",e[e.sheet=4]="sheet",e[e.form=5]="form",e[e.slide=6]="slide",e[e.mindmap=7]="mindmap",e[e.flowchart=8]="flowchart",e[e.smartsheet=10]="smartsheet",e[e.smartdoc=11]="smartdoc",e})({});(function(e){return e.single="single",e.multi="multi",e})({});(function(e){return e.department="department",e.user="user",e})({});(function(e){return e[e.all=0]="all",e[e.unselected=1]="unselected",e})({});(function(e){return e.single="single",e.multi="multi",e})({});(function(e){return e.create_approval="10001",e.view_approval="10002",e})({});(function(e){return e.link="link",e.text="text",e})({});iv();function iv(){return Math.random().toString(36).slice(2)}for(var z2={},ov="await break case catch class const continue debugger default delete do else enum export extends false finally for function if import in instanceof new null return super switch this throw true try typeof var void while with yield".split(" "),sv={},Xo=0,El=ov;Xo<El.length;Xo++)sv[El[Xo]]=!0;(function(e){return e.serviceApp="ServiceApp",e.corpApp="CorpApp",e})({});(function(e){return e.zh="zh",e.en="en",e})({});(function(e){return e.top="top",e.callback="callback",e.self="self",e})({});(function(e){return e.middle="middle",e.small="small",e})({});(function(e){return e.Light="light",e.Dark="dark",e.Auto="auto",e})({});function qu(e){return typeof Symbol=="function"?Symbol(e):e}const pa=qu("__WECOM_REFLECT_ID__");function Vu(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function eo(e,t){return(function(n,r){return r.get?r.get.call(n):r.value})(e,Vu(e,t,"get"))}function to(e,t,n){(function(r,i){if(i.has(r))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function no(e,t,n){return(function(r,i,o){if(i.set)i.set.call(r,o);else{if(!i.writable)throw new TypeError("attempted to set read only private field");i.value=o}})(e,Vu(e,t,"set"),n),n}const Rs=new WeakMap,Os=new WeakMap;function ma(e,t){Rs.set(e,t),Os.set(t,e)}function ju(e){return Rs.has(e)?Rs.get(e):e}function Uu(e){return Os.has(e)?Os.get(e):e}var Qo=new WeakMap,Jo=new WeakMap;let av=pa;var es=new WeakMap,ts=new WeakMap;let lv=pa;class ns{addColorStop(t,n){eo(this,ts).addColorStop(t,n),eo(this,es).call(this,"addColorStop",[t,n])}constructor(t,n){Ar(this,lv,void 0),to(this,es,{writable:!0,value:void 0}),to(this,ts,{writable:!0,value:void 0}),no(this,es,t),no(this,ts,n),t.bind(this),ma(this,n)}}const cv=["fillStyle","filter","globalAlpha","globalCompositeOperation","imageSmoothingEnabled","imageSmoothingQuality","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","strokeStyle"],uv=["direction","font","fontKerning","fontStretch","fontVariantCaps","letterSpacing","lineCap","lineDashOffset","lineJoin","lineWidth","miterLimit","textAlign","textBaseline","textRendering","wordSpacing"],fv=["arc","arcTo","beginPath","bezierCurveTo","clip","closePath","ellipse","lineTo","moveTo","quadraticCurveTo","rect","reset","resetTransform","restore","rotate","roundRect","save","scale","setLineDash","setTransform","transform","translate"],dv=["clearRect","drawFocusIfNeeded","drawImage","fill","fillRect","fillText","stroke","strokeRect","strokeText"],hv=["getContextAttributes","getLineDash","getTransform","isContextLost","isPointInPath","isPointInStroke","measureText"],xv=[["createConicGradient",ns],["createLinearGradient",ns],["createPattern",class{setTransform(e){eo(this,Jo).setTransform(e),eo(this,Qo).call(this,"setTransform",[e])}constructor(e,t){Ar(this,av,void 0),to(this,Qo,{writable:!0,value:void 0}),to(this,Jo,{writable:!0,value:void 0}),no(this,Qo,e),no(this,Jo,t),e.bind(this),ma(this,t)}}],["createRadialGradient",ns]],Rt=qu("__WECOM_INTERNAL__");let gv=Rt,vv=pa;class pv{constructor(t,n,r){Ar(this,"canvas",void 0),Ar(this,gv,void 0),Ar(this,vv,void 0),this.canvas=t,this[Rt]={store:n,native:r,props:Object.create(null)},n.bind(this),ma(this,r)}}const Kn=pv.prototype;for(const e of cv)Object.defineProperty(Kn,e,{configurable:!0,enumerable:!0,get(){const{native:t,props:n}=this[Rt];return n[e]??Uu(t[e])},set(t){const{store:n,props:r}=this[Rt];r[e]=ju(t),n.set(this,e,t)}});for(const e of uv)Object.defineProperty(Kn,e,{configurable:!0,enumerable:!0,get(){return Uu(this[Rt].native[e])},set(t){const{store:n,native:r}=this[Rt];r[e]=ju(t),n.set(this,e,t)}});for(const e of hv)Kn[e]=function(...t){const{native:n}=this[Rt];return _a(n,e,t)};for(const e of fv)Kn[e]=function(...t){const{store:n,native:r}=this[Rt];_a(r,e,t),n.call(this,e,t)};for(const e of dv)Kn[e]=function(...t){const{store:n}=this[Rt];n.call(this,e,t)};for(const[e,t]of xv)Kn[e]=function(...n){const{store:r,native:i}=this[Rt],o=_a(i,e,n),l=new t(r,o);return r.call(this,e,n,l),l};function _a(e,t,n){switch(n.length){case 1:return e[t](n[0]);case 2:return e[t](n[0],n[1]);case 3:return e[t](n[0],n[1],n[2]);case 4:return e[t](n[0],n[1],n[2],n[3]);case 5:return e[t](n[0],n[1],n[2],n[3],n[4]);case 6:return e[t](n[0],n[1],n[2],n[3],n[4],n[5]);default:return e[t](...n)}}const W2={isWeChat:Gg,isWeCom:ga};function mv(){}const Ne=Object.assign,Ao=typeof window<"u",Zn=e=>e!==null&&typeof e=="object",Le=e=>e!=null,ro=e=>typeof e=="function",Gu=e=>Zn(e)&&ro(e.then)&&ro(e.catch),Ps=e=>Object.prototype.toString.call(e)==="[object Date]"&&!Number.isNaN(e.getTime()),Ku=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),_v=()=>Ao?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function Al(e,t){const n=t.split(".");let r=e;return n.forEach(i=>{var o;r=Zn(r)&&(o=r[i])!=null?o:""}),r}function qt(e,t,n){return t.reduce((r,i)=>(r[i]=e[i],r),{})}const Bl=e=>Array.isArray(e)?e:[e],Vt=null,xe=[Number,String],ve={type:Boolean,default:!0},Br=e=>({type:e,required:!0}),Is=()=>({type:Array,default:()=>[]}),Zu=e=>({type:Number,default:e}),Ue=e=>({type:xe,default:e}),be=e=>({type:String,default:e});var Yn=typeof window<"u";function an(e){return Yn?requestAnimationFrame(e):-1}function Yu(e){Yn&&cancelAnimationFrame(e)}function dr(e){an(()=>an(e))}var yv=e=>e===window,wl=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),ft=e=>{const t=bt(e);if(yv(t)){const n=t.innerWidth,r=t.innerHeight;return wl(n,r)}return t!=null&&t.getBoundingClientRect?t.getBoundingClientRect():wl(0,0)};function bv(e=!1){const t=ue(e);return[t,(r=!t.value)=>{t.value=r}]}function Hr(e){const t=Je(e,null);if(t){const n=lt(),{link:r,unlink:i,internalChildren:o}=t;r(n),Nr(()=>i(n));const l=le(()=>o.indexOf(n));return{parent:t,index:l}}return{parent:null,index:ue(-1)}}function Cv(e){const t=[],n=r=>{Array.isArray(r)&&r.forEach(i=>{var o;Cn(i)&&(t.push(i),(o=i.component)!=null&&o.subTree&&(t.push(i.component.subTree),n(i.component.subTree.children)),i.children&&n(i.children))})};return n(e),t}var Dl=(e,t)=>{const n=e.indexOf(t);return n===-1?e.findIndex(r=>t.key!==void 0&&t.key!==null&&r.type===t.type&&r.key===t.key):n};function Ev(e,t,n){const r=Cv(e.subTree.children);n.sort((o,l)=>Dl(r,o.vnode)-Dl(r,l.vnode));const i=n.map(o=>o.proxy);t.sort((o,l)=>{const s=i.indexOf(o),f=i.indexOf(l);return s-f})}function $r(e){const t=st([]),n=st([]),r=lt();return{children:t,linkChildren:o=>{zt(e,Object.assign({link:f=>{f.proxy&&(n.push(f),t.push(f.proxy),Ev(r,t,n))},unlink:f=>{const u=n.indexOf(f);t.splice(u,1),n.splice(u,1)},children:t,internalChildren:n},o))}}}function zr(e){let t;xt(()=>{e(),Me(()=>{t=!0})}),Mr(()=>{t&&e()})}function wn(e,t,n={}){if(!Yn)return;const{target:r=window,passive:i=!1,capture:o=!1}=n;let l=!1,s;const f=h=>{if(l)return;const a=bt(h);a&&!s&&(a.addEventListener(e,t,{capture:o,passive:i}),s=!0)},u=h=>{if(l)return;const a=bt(h);a&&s&&(a.removeEventListener(e,t,o),s=!1)};Nr(()=>u(r)),Un(()=>u(r)),zr(()=>f(r));let c;return Te(r)&&(c=pe(r,(h,a)=>{u(a),f(h)})),()=>{c==null||c(),u(r),l=!0}}var Xr,rs;function Av(){if(!Xr&&(Xr=ue(0),rs=ue(0),Yn)){const e=()=>{Xr.value=window.innerWidth,rs.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:Xr,height:rs}}var Bv=/scroll|auto|overlay/i,Xu=Yn?window:void 0;function wv(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function Ms(e,t=Xu){let n=e;for(;n&&n!==t&&wv(n);){const{overflowY:r}=window.getComputedStyle(n);if(Bv.test(r))return n;n=n.parentNode}return t}function ya(e,t=Xu){const n=ue();return xt(()=>{e.value&&(n.value=Ms(e.value,t))}),n}var Qr;function Dv(){if(!Qr&&(Qr=ue("visible"),Yn)){const e=()=>{Qr.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return Qr}var Sv=Symbol("van-field");function Bo(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function io(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function ba(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Ca(e){io(window,e),io(document.body,e)}function Sl(e,t){if(e===window)return 0;const n=t?Bo(t):ba();return ft(e).top+n}const Fv=_v();function kv(){Fv&&Ca(ba())}const Tv=e=>e.stopPropagation();function jt(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&Tv(e)}function qn(e){const t=bt(e);if(!t)return!1;const n=window.getComputedStyle(t),r=n.display==="none",i=t.offsetParent===null&&n.position!=="fixed";return r||i}const{width:Wr,height:wo}=Av();function Xe(e){if(Le(e))return Ku(e)?`${e}px`:String(e)}function Qu(e){if(Le(e)){if(Array.isArray(e))return{width:Xe(e[0]),height:Xe(e[1])};const t=Xe(e);return{width:t,height:t}}}function Ea(e){const t={};return e!==void 0&&(t.zIndex=+e),t}let is;function Rv(){if(!is){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;is=parseFloat(t)}return is}function Ov(e){return e=e.replace(/rem/g,""),+e*Rv()}function Pv(e){return e=e.replace(/vw/g,""),+e*Wr.value/100}function Iv(e){return e=e.replace(/vh/g,""),+e*wo.value/100}function Ju(e){if(typeof e=="number")return e;if(Ao){if(e.includes("rem"))return Ov(e);if(e.includes("vw"))return Pv(e);if(e.includes("vh"))return Iv(e)}return parseFloat(e)}const Mv=/-(\w)/g,ef=e=>e.replace(Mv,(t,n)=>n.toUpperCase()),Wi=(e,t,n)=>Math.min(Math.max(e,t),n);function Fl(e,t,n){const r=e.indexOf(t);return r===-1?e:t==="-"&&r!==0?e.slice(0,r):e.slice(0,r+1)+e.slice(r).replace(n,"")}function Nv(e,t=!0,n=!0){t?e=Fl(e,".",/\./g):e=e.split(".")[0],n?e=Fl(e,"-",/-/g):e=e.replace(/-/,"");const r=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(r,"")}const{hasOwnProperty:Lv}=Object.prototype;function Hv(e,t,n){const r=t[n];Le(r)&&(!Lv.call(e,n)||!Zn(r)?e[n]=r:e[n]=tf(Object(e[n]),r))}function tf(e,t){return Object.keys(t).forEach(n=>{Hv(e,t,n)}),e}var $v={name:"姓名",tel:"电话",save:"保存",clear:"清空",undo:"撤销",cancel:"取消",confirm:"确认",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTitle:(e,t)=>`${e}年${t}月`,rangePrompt:e=>`最多选择 ${e} 天`},vanCascader:{select:"请选择"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无门槛",discount:e=>`${e}折`,condition:e=>`满${e}元可用`},vanCouponCell:{title:"优惠券",count:e=>`${e}张可用`},vanCouponList:{exchange:"兑换",close:"不使用",enable:"可用",disabled:"不可用",placeholder:"输入优惠码"},vanAddressEdit:{area:"地区",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",addressDetail:"详细地址",defaultAddress:"设为默认收货地址"},vanAddressList:{add:"新增地址"}};const kl=ue("zh-CN"),Tl=st({"zh-CN":$v}),zv={messages(){return Tl[kl.value]},use(e,t){kl.value=e,this.add({[e]:t})},add(e={}){tf(Tl,e)}};var Wv=zv;function qv(e){const t=ef(e)+".";return(n,...r)=>{const i=Wv.messages(),o=Al(i,t+n)||Al(i,n);return ro(o)?o(...r):o}}function Ns(e,t){return t?typeof t=="string"?` ${e}--${t}`:Array.isArray(t)?t.reduce((n,r)=>n+Ns(e,r),""):Object.keys(t).reduce((n,r)=>n+(t[r]?Ns(e,r):""),""):""}function Vv(e){return(t,n)=>(t&&typeof t!="string"&&(n=t,t=""),t=t?`${e}__${t}`:e,`${t}${Ns(t,n)}`)}function Ce(e){const t=`van-${e}`;return[t,Vv(t),qv(t)]}const nf="van-hairline",jv=`${nf}--surround`,rf=`${nf}--top-bottom`,Ls="van-haptics-feedback",of=Symbol("van-form"),Rl=5;function Aa(e,{args:t=[],done:n,canceled:r,error:i}){if(e){const o=e.apply(null,t);Gu(o)?o.then(l=>{l?n():r&&r()}).catch(i||mv):o?n():r&&r()}else n()}function Re(e){return e.install=t=>{const{name:n}=e;n&&(t.component(n,e),t.component(ef(`-${n}`),e))},e}const sf=Symbol();function Ba(e){const t=Je(sf,null);t&&pe(t,n=>{n&&e()})}const af=(e,t)=>{const n=ue(),r=()=>{n.value=ft(e).height};return xt(()=>{if(Me(r),t)for(let i=1;i<=3;i++)setTimeout(r,100*i)}),Ba(()=>Me(r)),pe([Wr,wo],r),n};function Uv(e,t){const n=af(e,!0);return r=>M("div",{class:t("placeholder"),style:{height:n.value?`${n.value}px`:void 0}},[r()])}function gt(e){const t=lt();t&&Ne(t.proxy,e)}const qr={to:[String,Object],url:String,replace:Boolean};function lf({to:e,url:t,replace:n,$router:r}){e&&r?r[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function Do(){const e=lt().proxy;return()=>lf(e)}const[Gv,Ol]=Ce("badge"),Kv={dot:Boolean,max:xe,tag:be("div"),color:String,offset:Array,content:xe,showZero:ve,position:be("top-right")};var Zv=we({name:Gv,props:Kv,setup(e,{slots:t}){const n=()=>{if(t.content)return!0;const{content:s,showZero:f}=e;return Le(s)&&s!==""&&(f||s!==0&&s!=="0")},r=()=>{const{dot:s,max:f,content:u}=e;if(!s&&n())return t.content?t.content():Le(f)&&Ku(u)&&+u>+f?`${f}+`:u},i=s=>s.startsWith("-")?s.replace("-",""):`-${s}`,o=le(()=>{const s={background:e.color};if(e.offset){const[f,u]=e.offset,{position:c}=e,[h,a]=c.split("-");t.default?(typeof u=="number"?s[h]=Xe(h==="top"?u:-u):s[h]=h==="top"?Xe(u):i(u),typeof f=="number"?s[a]=Xe(a==="left"?f:-f):s[a]=a==="left"?Xe(f):i(f)):(s.marginTop=Xe(u),s.marginLeft=Xe(f))}return s}),l=()=>{if(n()||e.dot)return M("div",{class:Ol([e.position,{dot:e.dot,fixed:!!t.default}]),style:o.value},[r()])};return()=>{if(t.default){const{tag:s}=e;return M(s,{class:Ol("wrapper")},{default:()=>[t.default(),l()]})}return l()}}});const So=Re(Zv);let Yv=2e3;const Xv=()=>++Yv,[Qv]=Ce("config-provider"),Jv=Symbol(Qv),[ep,Pl]=Ce("icon"),tp=e=>e==null?void 0:e.includes("/"),np={dot:Boolean,tag:be("i"),name:String,size:xe,badge:xe,color:String,badgeProps:Object,classPrefix:String};var rp=we({name:ep,props:np,setup(e,{slots:t}){const n=Je(Jv,null),r=le(()=>e.classPrefix||(n==null?void 0:n.iconPrefix)||Pl());return()=>{const{tag:i,dot:o,name:l,size:s,badge:f,color:u}=e,c=tp(l);return M(So,at({dot:o,tag:i,class:[r.value,c?"":`${r.value}-${l}`],style:{color:u,fontSize:Xe(s)},content:f},e.badgeProps),{default:()=>{var h;return[(h=t.default)==null?void 0:h.call(t),c&&M("img",{class:Pl("image"),src:l},null)]}})}}});const Ct=Re(rp),[ip,wr]=Ce("loading"),op=Array(12).fill(null).map((e,t)=>M("i",{class:wr("line",String(t+1))},null)),sp=M("svg",{class:wr("circular"),viewBox:"25 25 50 50"},[M("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),ap={size:xe,type:be("circular"),color:String,vertical:Boolean,textSize:xe,textColor:String};var lp=we({name:ip,props:ap,setup(e,{slots:t}){const n=le(()=>Ne({color:e.color},Qu(e.size))),r=()=>{const o=e.type==="spinner"?op:sp;return M("span",{class:wr("spinner",e.type),style:n.value},[t.icon?t.icon():o])},i=()=>{var o;if(t.default)return M("span",{class:wr("text"),style:{fontSize:Xe(e.textSize),color:(o=e.textColor)!=null?o:e.color}},[t.default()])};return()=>{const{type:o,vertical:l}=e;return M("div",{class:wr([o,{vertical:l}]),"aria-live":"polite","aria-busy":!0},[r(),i()])}}});const wa=Re(lp),[cp,Fn]=Ce("button"),up=Ne({},qr,{tag:be("button"),text:String,icon:String,type:be("default"),size:be("normal"),color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:be("button"),loadingSize:xe,loadingText:String,loadingType:String,iconPosition:be("left")});var fp=we({name:cp,props:up,emits:["click"],setup(e,{emit:t,slots:n}){const r=Do(),i=()=>n.loading?n.loading():M(wa,{size:e.loadingSize,type:e.loadingType,class:Fn("loading")},null),o=()=>{if(e.loading)return i();if(n.icon)return M("div",{class:Fn("icon")},[n.icon()]);if(e.icon)return M(Ct,{name:e.icon,class:Fn("icon"),classPrefix:e.iconPrefix},null)},l=()=>{let u;if(e.loading?u=e.loadingText:u=n.default?n.default():e.text,u)return M("span",{class:Fn("text")},[u])},s=()=>{const{color:u,plain:c}=e;if(u){const h={color:c?u:"white"};return c||(h.background=u),u.includes("gradient")?h.border=0:h.borderColor=u,h}},f=u=>{e.loading?jt(u):e.disabled||(t("click",u),r())};return()=>{const{tag:u,type:c,size:h,block:a,round:d,plain:x,square:m,loading:v,disabled:E,hairline:p,nativeType:b,iconPosition:C}=e,B=[Fn([c,h,{plain:x,block:a,round:d,square:m,loading:v,disabled:E,hairline:p}]),{[jv]:p}];return M(u,{type:b,class:B,style:s(),disabled:E,onClick:f},{default:()=>[M("div",{class:Fn("content")},[C==="left"&&o(),l(),C==="right"&&o()])]})}}});const dp=Re(fp),hp={show:Boolean,zIndex:xe,overlay:ve,duration:xe,teleport:[String,Object],lockScroll:ve,lazyRender:ve,beforeClose:Function,overlayProps:Object,overlayStyle:Object,overlayClass:Vt,transitionAppear:Boolean,closeOnClickOverlay:ve};function xp(e,t){return e>t?"horizontal":t>e?"vertical":""}function cf(){const e=ue(0),t=ue(0),n=ue(0),r=ue(0),i=ue(0),o=ue(0),l=ue(""),s=ue(!0),f=()=>l.value==="vertical",u=()=>l.value==="horizontal",c=()=>{n.value=0,r.value=0,i.value=0,o.value=0,l.value="",s.value=!0};return{move:(d=>{const x=d.touches[0];n.value=(x.clientX<0?0:x.clientX)-e.value,r.value=x.clientY-t.value,i.value=Math.abs(n.value),o.value=Math.abs(r.value);const m=10;(!l.value||i.value<m&&o.value<m)&&(l.value=xp(i.value,o.value)),s.value&&(i.value>Rl||o.value>Rl)&&(s.value=!1)}),start:(d=>{c(),e.value=d.touches[0].clientX,t.value=d.touches[0].clientY}),reset:c,startX:e,startY:t,deltaX:n,deltaY:r,offsetX:i,offsetY:o,direction:l,isVertical:f,isHorizontal:u,isTap:s}}let ir=0;const Il="van-overflow-hidden";function gp(e,t){const n=cf(),r="01",i="10",o=c=>{n.move(c);const h=n.deltaY.value>0?i:r;let a=Ms(c.target,e.value);for(;a.scrollHeight<=a.offsetHeight&&a!==e.value&&a.parentElement;)a=Ms(a.parentElement,e.value);const{scrollHeight:d,offsetHeight:x,scrollTop:m}=a;let v="11";m===0?v=x>=d?"00":"01":m+x>=d&&(v="10"),v!=="11"&&n.isVertical()&&!(parseInt(v,2)&parseInt(h,2))&&jt(c,!0)},l=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",o,{passive:!1}),ir||document.body.classList.add(Il),ir++},s=()=>{ir&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",o),ir--,ir||document.body.classList.remove(Il))},f=()=>t()&&l(),u=()=>t()&&s();zr(f),Un(u),Gn(u),pe(t,c=>{c?l():s()})}function uf(e){const t=ue(!1);return pe(e,n=>{n&&(t.value=n)},{immediate:!0}),n=>()=>t.value?n():null}const Ml=()=>{var e;const{scopeId:t}=((e=lt())==null?void 0:e.vnode)||{};return t?{[t]:""}:null},[vp,pp]=Ce("overlay"),mp={show:Boolean,zIndex:xe,duration:xe,className:Vt,lockScroll:ve,lazyRender:ve,customStyle:Object,teleport:[String,Object]};var _p=we({name:vp,inheritAttrs:!1,props:mp,setup(e,{attrs:t,slots:n}){const r=ue(),i=uf(()=>e.show||!e.lazyRender),o=s=>{e.lockScroll&&jt(s,!0)},l=i(()=>{var s;const f=Ne(Ea(e.zIndex),e.customStyle);return Le(e.duration)&&(f.animationDuration=`${e.duration}s`),ta(M("div",at({ref:r,style:f,class:[pp(),e.className]},t),[(s=n.default)==null?void 0:s.call(n)]),[[ca,e.show]])});return wn("touchmove",o,{target:r}),()=>{const s=M(pu,{name:"van-fade",appear:!0},{default:l});return e.teleport?M(Ic,{to:e.teleport},{default:()=>[s]}):s}}});const yp=Re(_p),bp=Ne({},hp,{round:Boolean,position:be("center"),closeIcon:be("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:be("top-right"),destroyOnClose:Boolean,safeAreaInsetTop:Boolean,safeAreaInsetBottom:Boolean}),[Cp,Nl]=Ce("popup");var Ep=we({name:Cp,inheritAttrs:!1,props:bp,emits:["open","close","opened","closed","keydown","update:show","clickOverlay","clickCloseIcon"],setup(e,{emit:t,attrs:n,slots:r}){let i,o;const l=ue(),s=ue(),f=uf(()=>e.show||!e.lazyRender),u=le(()=>{const w={zIndex:l.value};if(Le(e.duration)){const F=e.position==="center"?"animationDuration":"transitionDuration";w[F]=`${e.duration}s`}return w}),c=()=>{i||(i=!0,l.value=e.zIndex!==void 0?+e.zIndex:Xv(),t("open"))},h=()=>{i&&Aa(e.beforeClose,{done(){i=!1,t("close"),t("update:show",!1)}})},a=w=>{t("clickOverlay",w),e.closeOnClickOverlay&&h()},d=()=>{if(e.overlay){const w=Ne({show:e.show,class:e.overlayClass,zIndex:l.value,duration:e.duration,customStyle:e.overlayStyle,role:e.closeOnClickOverlay?"button":void 0,tabindex:e.closeOnClickOverlay?0:void 0},e.overlayProps);return M(yp,at(w,Ml(),{onClick:a}),{default:r["overlay-content"]})}},x=w=>{t("clickCloseIcon",w),h()},m=()=>{if(e.closeable)return M(Ct,{role:"button",tabindex:0,name:e.closeIcon,class:[Nl("close-icon",e.closeIconPosition),Ls],classPrefix:e.iconPrefix,onClick:x},null)};let v;const E=()=>{v&&clearTimeout(v),v=setTimeout(()=>{t("opened")})},p=()=>t("closed"),b=w=>t("keydown",w),C=f(()=>{var w;const{destroyOnClose:F,round:O,position:H,safeAreaInsetTop:g,safeAreaInsetBottom:y,show:_}=e;if(!(!_&&F))return ta(M("div",at({ref:s,style:u.value,role:"dialog",tabindex:0,class:[Nl({round:O,[H]:H}),{"van-safe-area-top":g,"van-safe-area-bottom":y}],onKeydown:b},n,Ml()),[(w=r.default)==null?void 0:w.call(r),m()]),[[ca,_]])}),B=()=>{const{position:w,transition:F,transitionAppear:O}=e,H=w==="center"?"van-fade":`van-popup-slide-${w}`;return M(pu,{name:F||H,appear:O,onAfterEnter:E,onAfterLeave:p},{default:C})};return pe(()=>e.show,w=>{w&&!i&&(c(),n.tabindex===0&&Me(()=>{var F;(F=s.value)==null||F.focus()})),!w&&i&&(i=!1,t("close"))}),gt({popupRef:s}),gp(s,()=>e.show&&e.lockScroll),wn("popstate",()=>{e.closeOnPopstate&&(h(),o=!1)}),xt(()=>{e.show&&c()}),Mr(()=>{o&&(t("update:show",!0),o=!1)}),Un(()=>{e.show&&e.teleport&&(h(),o=!0)}),zt(sf,()=>e.show),()=>e.teleport?M(Ic,{to:e.teleport},{default:()=>[d(),B()]}):M(ot,null,[d(),B()])}});const ff=Re(Ep);Ce("picker");Ce("picker-toolbar");const Ap={title:String,cancelButtonText:String,confirmButtonText:String};/**
|
|
* @vue/shared v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/const df=Array.isArray,Pr=e=>typeof e=="string",hf=e=>e!==null&&typeof e=="object",Bp=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},wp=/\B([A-Z])/g,Dp=Bp(e=>e.replace(wp,"-$1").toLowerCase());function xf(e){if(df(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Pr(r)?Tp(r):xf(r);if(i)for(const o in i)t[o]=i[o]}return t}else if(Pr(e)||hf(e))return e}const Sp=/;(?![^(]*\))/g,Fp=/:([^]+)/,kp=/\/\*[^]*?\*\//g;function Tp(e){const t={};return e.replace(kp,"").split(Sp).forEach(n=>{if(n){const r=n.split(Fp);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Rp(e){if(!e)return"";if(Pr(e))return e;let t="";for(const n in e){const r=e[n];if(Pr(r)||typeof r=="number"){const i=n.startsWith("--")?n:Dp(n);t+=`${i}:${r};`}}return t}function gf(e){let t="";if(Pr(e))t=e;else if(df(e))for(let n=0;n<e.length;n++){const r=gf(e[n]);r&&(t+=r+" ")}else if(hf(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Op(e,t,n){let r,i=0;const o=e.scrollLeft,l=n===0?1:Math.round(n*1e3/16);let s=o;function f(){Yu(r)}function u(){s+=(t-o)/l,e.scrollLeft=s,++i<l&&(r=an(u))}return u(),f}function Pp(e,t,n,r){let i,o=Bo(e);const l=o<t,s=n===0?1:Math.round(n*1e3/16),f=(t-o)/s;function u(){Yu(i)}function c(){o+=f,(l&&o>t||!l&&o<t)&&(o=t),io(e,o),l&&o<t||!l&&o>t?i=an(c):r&&(i=an(r))}return c(),u}let Ip=0;function Vr(){const e=lt(),{name:t="unknown"}=(e==null?void 0:e.type)||{};return`${t}-${++Ip}`}function vf(){const e=ue([]),t=[];return qc(()=>{e.value=[]}),[e,r=>(t[r]||(t[r]=i=>{e.value[r]=i}),t[r])]}function pf(e,t){if(!Ao||!window.IntersectionObserver)return;const n=new IntersectionObserver(o=>{t(o[0].intersectionRatio>0)},{root:document.body}),r=()=>{e.value&&n.observe(e.value)},i=()=>{e.value&&n.unobserve(e.value)};Un(i),Gn(i),zr(r)}const[Mp,Np]=Ce("sticky"),Lp={zIndex:xe,position:be("top"),container:Object,offsetTop:Ue(0),offsetBottom:Ue(0)};var Hp=we({name:Mp,props:Lp,emits:["scroll","change"],setup(e,{emit:t,slots:n}){const r=ue(),i=ya(r),o=st({fixed:!1,width:0,height:0,transform:0}),l=ue(!1),s=le(()=>Ju(e.position==="top"?e.offsetTop:e.offsetBottom)),f=le(()=>{if(l.value)return;const{fixed:a,height:d,width:x}=o;if(a)return{width:`${x}px`,height:`${d}px`}}),u=le(()=>{if(!o.fixed||l.value)return;const a=Ne(Ea(e.zIndex),{width:`${o.width}px`,height:`${o.height}px`,[e.position]:`${s.value}px`});return o.transform&&(a.transform=`translate3d(0, ${o.transform}px, 0)`),a}),c=a=>t("scroll",{scrollTop:a,isFixed:o.fixed}),h=()=>{if(!r.value||qn(r))return;const{container:a,position:d}=e,x=ft(r),m=Bo(window);if(o.width=x.width,o.height=x.height,d==="top")if(a){const v=ft(a),E=v.bottom-s.value-o.height;o.fixed=s.value>x.top&&v.bottom>0,o.transform=E<0?E:0}else o.fixed=s.value>x.top;else{const{clientHeight:v}=document.documentElement;if(a){const E=ft(a),p=v-E.top-s.value-o.height;o.fixed=v-s.value<x.bottom&&v>E.top,o.transform=p<0?-p:0}else o.fixed=v-s.value<x.bottom}c(m)};return pe(()=>o.fixed,a=>t("change",a)),wn("scroll",h,{target:i,passive:!0}),pf(r,h),pe([Wr,wo],()=>{!r.value||qn(r)||!o.fixed||(l.value=!0,Me(()=>{const a=ft(r);o.width=a.width,o.height=a.height,l.value=!1}))}),()=>{var a;return M("div",{ref:r,style:f.value},[M("div",{class:Np({fixed:o.fixed&&!l.value}),style:u.value},[(a=n.default)==null?void 0:a.call(n)])])}}});const $p=Re(Hp),[mf,Jr]=Ce("swipe"),zp={loop:ve,width:xe,height:xe,vertical:Boolean,autoplay:Ue(0),duration:Ue(500),touchable:ve,lazyRender:Boolean,initialSwipe:Ue(0),indicatorColor:String,showIndicators:ve,stopPropagation:ve},_f=Symbol(mf);var Wp=we({name:mf,props:zp,emits:["change","dragStart","dragEnd"],setup(e,{emit:t,slots:n}){const r=ue(),i=ue(),o=st({rect:null,width:0,height:0,offset:0,active:0,swiping:!1});let l=!1;const s=cf(),{children:f,linkChildren:u}=$r(_f),c=le(()=>f.length),h=le(()=>o[e.vertical?"height":"width"]),a=le(()=>e.vertical?s.deltaY.value:s.deltaX.value),d=le(()=>o.rect?(e.vertical?o.rect.height:o.rect.width)-h.value*c.value:0),x=le(()=>h.value?Math.ceil(Math.abs(d.value)/h.value):c.value),m=le(()=>c.value*h.value),v=le(()=>(o.active+c.value)%c.value),E=le(()=>{const L=e.vertical?"vertical":"horizontal";return s.direction.value===L}),p=le(()=>{const L={transitionDuration:`${o.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${+o.offset.toFixed(2)}px)`};if(h.value){const P=e.vertical?"height":"width",z=e.vertical?"width":"height";L[P]=`${m.value}px`,L[z]=e[z]?`${e[z]}px`:""}return L}),b=L=>{const{active:P}=o;return L?e.loop?Wi(P+L,-1,c.value):Wi(P+L,0,x.value):P},C=(L,P=0)=>{let z=L*h.value;e.loop||(z=Math.min(z,-d.value));let I=P-z;return e.loop||(I=Wi(I,d.value,0)),I},B=({pace:L=0,offset:P=0,emitChange:z})=>{if(c.value<=1)return;const{active:I}=o,G=b(L),J=C(G,P);if(e.loop){if(f[0]&&J!==d.value){const D=J<d.value;f[0].setOffset(D?m.value:0)}if(f[c.value-1]&&J!==0){const D=J>0;f[c.value-1].setOffset(D?-m.value:0)}}o.active=G,o.offset=J,z&&G!==I&&t("change",v.value)},w=()=>{o.swiping=!0,o.active<=-1?B({pace:c.value}):o.active>=c.value&&B({pace:-c.value})},F=()=>{w(),s.reset(),dr(()=>{o.swiping=!1,B({pace:-1,emitChange:!0})})},O=()=>{w(),s.reset(),dr(()=>{o.swiping=!1,B({pace:1,emitChange:!0})})};let H;const g=()=>clearTimeout(H),y=()=>{g(),+e.autoplay>0&&c.value>1&&(H=setTimeout(()=>{O(),y()},+e.autoplay))},_=(L=+e.initialSwipe)=>{if(!r.value)return;const P=()=>{var z,I;if(!qn(r)){const G={width:r.value.offsetWidth,height:r.value.offsetHeight};o.rect=G,o.width=+((z=e.width)!=null?z:G.width),o.height=+((I=e.height)!=null?I:G.height)}c.value&&(L=Math.min(c.value-1,L),L===-1&&(L=c.value-1)),o.active=L,o.swiping=!0,o.offset=C(L),f.forEach(G=>{G.setOffset(0)}),y()};qn(r)?Me().then(P):P()},A=()=>_(o.active);let R;const W=L=>{!e.touchable||L.touches.length>1||(s.start(L),l=!1,R=Date.now(),g(),w())},U=L=>{e.touchable&&o.swiping&&(s.move(L),E.value&&(!e.loop&&(o.active===0&&a.value>0||o.active===c.value-1&&a.value<0)||(jt(L,e.stopPropagation),B({offset:a.value}),l||(t("dragStart",{index:v.value}),l=!0))))},$=()=>{if(!e.touchable||!o.swiping)return;const L=Date.now()-R,P=a.value/L;if((Math.abs(P)>.25||Math.abs(a.value)>h.value/2)&&E.value){const I=e.vertical?s.offsetY.value:s.offsetX.value;let G=0;e.loop?G=I>0?a.value>0?-1:1:0:G=-Math[a.value>0?"ceil":"floor"](a.value/h.value),B({pace:G,emitChange:!0})}else a.value&&B({pace:0});l=!1,o.swiping=!1,t("dragEnd",{index:v.value}),y()},k=(L,P={})=>{w(),s.reset(),dr(()=>{let z;e.loop&&L===c.value?z=o.active===0?0:L:z=L%c.value,P.immediate?dr(()=>{o.swiping=!1}):o.swiping=!1,B({pace:z-o.active,emitChange:!0})})},ee=(L,P)=>{const z=P===v.value,I=z?{backgroundColor:e.indicatorColor}:void 0;return M("i",{style:I,class:Jr("indicator",{active:z})},null)},Q=()=>{if(n.indicator)return n.indicator({active:v.value,total:c.value});if(e.showIndicators&&c.value>1)return M("div",{class:Jr("indicators",{vertical:e.vertical})},[Array(c.value).fill("").map(ee)])};return gt({prev:F,next:O,state:o,resize:A,swipeTo:k}),u({size:h,props:e,count:c,activeIndicator:v}),pe(()=>e.initialSwipe,L=>_(+L)),pe(c,()=>_(o.active)),pe(()=>e.autoplay,y),pe([Wr,wo,()=>e.width,()=>e.height],A),pe(Dv(),L=>{L==="visible"?y():g()}),xt(_),Mr(()=>_(o.active)),Ba(()=>_(o.active)),Un(g),Gn(g),wn("touchmove",U,{target:i}),()=>{var L;return M("div",{ref:r,class:Jr()},[M("div",{ref:i,style:p.value,class:Jr("track",{vertical:e.vertical}),onTouchstartPassive:W,onTouchend:$,onTouchcancel:$},[(L=n.default)==null?void 0:L.call(n)]),Q()])}}});const qp=Re(Wp),[Vp,Ll]=Ce("tabs");var jp=we({name:Vp,props:{count:Br(Number),inited:Boolean,animated:Boolean,duration:Br(xe),swipeable:Boolean,lazyRender:Boolean,currentIndex:Br(Number)},emits:["change"],setup(e,{emit:t,slots:n}){const r=ue(),i=s=>t("change",s),o=()=>{var s;const f=(s=n.default)==null?void 0:s.call(n);return e.animated||e.swipeable?M(qp,{ref:r,loop:!1,class:Ll("track"),duration:+e.duration*1e3,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:i},{default:()=>[f]}):f},l=s=>{const f=r.value;f&&f.state.active!==s&&f.swipeTo(s,{immediate:!e.inited})};return pe(()=>e.currentIndex,l),xt(()=>{l(e.currentIndex)}),gt({swipeRef:r}),()=>M("div",{class:Ll("content",{animated:e.animated||e.swipeable})},[o()])}});const[yf,ei]=Ce("tabs"),Up={type:be("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:Ue(0),duration:Ue(.3),animated:Boolean,ellipsis:ve,swipeable:Boolean,scrollspy:Boolean,offsetTop:Ue(0),background:String,lazyRender:ve,showHeader:ve,lineWidth:xe,lineHeight:xe,beforeChange:Function,swipeThreshold:Ue(5),titleActiveColor:String,titleInactiveColor:String},bf=Symbol(yf);var Gp=we({name:yf,props:Up,emits:["change","scroll","rendered","clickTab","update:active"],setup(e,{emit:t,slots:n}){let r,i,o,l,s;const f=ue(),u=ue(),c=ue(),h=ue(),a=Vr(),d=ya(f),[x,m]=vf(),{children:v,linkChildren:E}=$r(bf),p=st({inited:!1,position:"",lineStyle:{},currentIndex:-1}),b=le(()=>v.length>+e.swipeThreshold||!e.ellipsis||e.shrink),C=le(()=>({borderColor:e.color,background:e.background})),B=(G,J)=>{var D;return(D=G.name)!=null?D:J},w=le(()=>{const G=v[p.currentIndex];if(G)return B(G,p.currentIndex)}),F=le(()=>Ju(e.offsetTop)),O=le(()=>e.sticky?F.value+r:0),H=G=>{const J=u.value,D=x.value;if(!b.value||!J||!D||!D[p.currentIndex])return;const q=D[p.currentIndex].$el,V=q.offsetLeft-(J.offsetWidth-q.offsetWidth)/2;l&&l(),l=Op(J,V,G?0:+e.duration)},g=()=>{const G=p.inited;Me(()=>{const J=x.value;if(!J||!J[p.currentIndex]||e.type!=="line"||qn(f.value))return;const D=J[p.currentIndex].$el,{lineWidth:q,lineHeight:V}=e,X=D.offsetLeft+D.offsetWidth/2,oe={width:Xe(q),backgroundColor:e.color,transform:`translateX(${X}px) translateX(-50%)`};if(G&&(oe.transitionDuration=`${e.duration}s`),Le(V)){const S=Xe(V);oe.height=S,oe.borderRadius=S}p.lineStyle=oe})},y=G=>{const J=G<p.currentIndex?-1:1;for(;G>=0&&G<v.length;){if(!v[G].disabled)return G;G+=J}},_=(G,J)=>{const D=y(G);if(!Le(D))return;const q=v[D],V=B(q,D),X=p.currentIndex!==null;p.currentIndex!==D&&(p.currentIndex=D,J||H(),g()),V!==e.active&&(t("update:active",V),X&&t("change",V,q.title)),o&&!e.scrollspy&&Ca(Math.ceil(Sl(f.value)-F.value))},A=(G,J)=>{const D=v.findIndex((q,V)=>B(q,V)===G);_(D===-1?0:D,J)},R=(G=!1)=>{if(e.scrollspy){const J=v[p.currentIndex].$el;if(J&&d.value){const D=Sl(J,d.value)-O.value;i=!0,s&&s(),s=Pp(d.value,D,G?0:+e.duration,()=>{i=!1})}}},W=(G,J,D)=>{const{title:q,disabled:V}=v[J],X=B(v[J],J);V||(Aa(e.beforeChange,{args:[X],done:()=>{_(J),R()}}),lf(G)),t("clickTab",{name:X,title:q,event:D,disabled:V})},U=G=>{o=G.isFixed,t("scroll",G)},$=G=>{Me(()=>{A(G),R(!0)})},k=()=>{for(let G=0;G<v.length;G++){const{top:J}=ft(v[G].$el);if(J>O.value)return G===0?0:G-1}return v.length-1},ee=()=>{if(e.scrollspy&&!i){const G=k();_(G)}},Q=()=>{if(e.type==="line"&&v.length)return M("div",{class:ei("line"),style:p.lineStyle},null)},L=()=>{var G,J,D;const{type:q,border:V,sticky:X}=e,oe=[M("div",{ref:X?void 0:c,class:[ei("wrap"),{[rf]:q==="line"&&V}]},[M("div",{ref:u,role:"tablist",class:ei("nav",[q,{shrink:e.shrink,complete:b.value}]),style:C.value,"aria-orientation":"horizontal"},[(G=n["nav-left"])==null?void 0:G.call(n),v.map(S=>S.renderTitle(W)),Q(),(J=n["nav-right"])==null?void 0:J.call(n)])]),(D=n["nav-bottom"])==null?void 0:D.call(n)];return X?M("div",{ref:c},[oe]):oe},P=()=>{g(),Me(()=>{var G,J;H(!0),(J=(G=h.value)==null?void 0:G.swipeRef.value)==null||J.resize()})};pe(()=>[e.color,e.duration,e.lineWidth,e.lineHeight],g),pe(Wr,P),pe(()=>e.active,G=>{G!==w.value&&A(G)}),pe(()=>v.length,()=>{p.inited&&(A(e.active),g(),Me(()=>{H(!0)}))});const z=()=>{A(e.active,!0),Me(()=>{p.inited=!0,c.value&&(r=ft(c.value).height),H(!0)})},I=(G,J)=>t("rendered",G,J);return gt({resize:P,scrollTo:$}),Mr(g),Ba(g),zr(z),pf(f,g),wn("scroll",ee,{target:d,passive:!0}),E({id:a,props:e,setLine:g,scrollable:b,onRendered:I,currentName:w,setTitleRefs:m,scrollIntoView:H}),()=>M("div",{ref:f,class:ei([e.type])},[e.showHeader?e.sticky?M($p,{container:f.value,offsetTop:F.value,onScroll:U},{default:()=>[L()]}):L():null,M(jp,{ref:h,count:v.length,inited:p.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:p.currentIndex,onChange:_},{default:()=>{var G;return[(G=n.default)==null?void 0:G.call(n)]}})])}});const Kp=Symbol(),Cf=Symbol(),Ef=()=>Je(Cf,null),Zp=e=>{const t=Ef();zt(Kp,e),zt(Cf,le(()=>(t==null||t.value)&&e.value))},[Yp,Hl]=Ce("tab"),Xp=we({name:Yp,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:xe,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:ve},setup(e,{slots:t}){const n=le(()=>{const i={},{type:o,color:l,disabled:s,isActive:f,activeColor:u,inactiveColor:c}=e;l&&o==="card"&&(i.borderColor=l,s||(f?i.backgroundColor=l:i.color=l));const a=f?u:c;return a&&(i.color=a),i}),r=()=>{const i=M("span",{class:Hl("text",{ellipsis:!e.scrollable})},[t.title?t.title():e.title]);return e.dot||Le(e.badge)&&e.badge!==""?M(So,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[i]}):i};return()=>M("div",{id:e.id,role:"tab",class:[Hl([e.type,{grow:e.scrollable&&!e.shrink,shrink:e.shrink,active:e.isActive,disabled:e.disabled}])],style:n.value,tabindex:e.disabled?void 0:e.isActive?0:-1,"aria-selected":e.isActive,"aria-disabled":e.disabled||void 0,"aria-controls":e.controls,"data-allow-mismatch":"attribute"},[r()])}}),[Qp,Jp]=Ce("swipe-item");var em=we({name:Qp,setup(e,{slots:t}){let n;const r=st({offset:0,inited:!1,mounted:!1}),{parent:i,index:o}=Hr(_f);if(!i)return;const l=le(()=>{const u={},{vertical:c}=i.props;return i.size.value&&(u[c?"height":"width"]=`${i.size.value}px`),r.offset&&(u.transform=`translate${c?"Y":"X"}(${r.offset}px)`),u}),s=le(()=>{const{loop:u,lazyRender:c}=i.props;if(!c||n)return!0;if(!r.mounted)return!1;const h=i.activeIndicator.value,a=i.count.value-1,d=h===0&&u?a:h-1,x=h===a&&u?0:h+1;return n=o.value===h||o.value===d||o.value===x,n}),f=u=>{r.offset=u};return xt(()=>{Me(()=>{r.mounted=!0})}),gt({setOffset:f}),()=>{var u;return M("div",{class:Jp(),style:l.value},[s.value?(u=t.default)==null?void 0:u.call(t):null])}}});const tm=Re(em),[nm,os]=Ce("tab"),rm=Ne({},qr,{dot:Boolean,name:xe,badge:xe,title:String,disabled:Boolean,titleClass:Vt,titleStyle:[String,Object],showZeroBadge:ve});var im=we({name:nm,props:rm,setup(e,{slots:t}){const n=Vr(),r=ue(!1),i=lt(),{parent:o,index:l}=Hr(bf);if(!o)return;const s=()=>{var x;return(x=e.name)!=null?x:l.value},f=()=>{r.value=!0,o.props.lazyRender&&Me(()=>{o.onRendered(s(),e.title)})},u=le(()=>{const x=s()===o.currentName.value;return x&&!r.value&&f(),x}),c=ue(""),h=ue("");zd(()=>{const{titleClass:x,titleStyle:m}=e;c.value=x?gf(x):"",h.value=m&&typeof m!="string"?Rp(xf(m)):m});const a=x=>M(Xp,at({key:n,id:`${o.id}-${l.value}`,ref:o.setTitleRefs(l.value),style:h.value,class:c.value,isActive:u.value,controls:n,scrollable:o.scrollable.value,activeColor:o.props.titleActiveColor,inactiveColor:o.props.titleInactiveColor,onClick:m=>x(i.proxy,l.value,m)},qt(o.props,["type","color","shrink"]),qt(e,["dot","badge","title","disabled","showZeroBadge"])),{title:t.title}),d=ue(!u.value);return pe(u,x=>{x?d.value=!1:dr(()=>{d.value=!0})}),pe(()=>e.title,()=>{o.setLine(),o.scrollIntoView()}),Zp(u),gt({id:n,renderTitle:a}),()=>{var x;const m=`${o.id}-${l.value}`,{animated:v,swipeable:E,scrollspy:p,lazyRender:b}=o.props;if(!t.default&&!v)return;const C=p||u.value;if(v||E)return M(tm,{id:n,role:"tabpanel",class:os("panel-wrapper",{inactive:d.value}),tabindex:u.value?0:-1,"aria-hidden":!u.value,"aria-labelledby":m,"data-allow-mismatch":"attribute"},{default:()=>{var F;return[M("div",{class:os("panel")},[(F=t.default)==null?void 0:F.call(t)])]}});const w=r.value||p||!b?(x=t.default)==null?void 0:x.call(t):null;return ta(M("div",{id:n,role:"tabpanel",class:os("panel"),tabindex:C?0:-1,"aria-labelledby":m,"data-allow-mismatch":"attribute"},[w]),[[ca,C]])}}});const q2=Re(im),V2=Re(Gp),Af=Ne({loading:Boolean,readonly:Boolean,allowHtml:Boolean,optionHeight:Ue(44),showToolbar:ve,swipeDuration:Ue(1e3),visibleOptionNum:Ue(6)},Ap);Ne({},Af,{columns:Is(),modelValue:Is(),toolbarPosition:be("top"),columnsFieldNames:Object});const[om,kn]=Ce("cell"),Bf={tag:be("div"),icon:String,size:String,title:xe,value:xe,label:xe,center:Boolean,isLink:Boolean,border:ve,iconPrefix:String,valueClass:Vt,labelClass:Vt,titleClass:Vt,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],default:null},clickable:{type:Boolean,default:null}},sm=Ne({},Bf,qr);var am=we({name:om,props:sm,setup(e,{slots:t}){const n=Do(),r=()=>{if(t.label||Le(e.label))return M("div",{class:[kn("label"),e.labelClass]},[t.label?t.label():e.label])},i=()=>{var f;if(t.title||Le(e.title)){const u=(f=t.title)==null?void 0:f.call(t);return Array.isArray(u)&&u.length===0?void 0:M("div",{class:[kn("title"),e.titleClass],style:e.titleStyle},[u||M("span",null,[e.title]),r()])}},o=()=>{const f=t.value||t.default;if(f||Le(e.value))return M("div",{class:[kn("value"),e.valueClass]},[f?f():M("span",null,[e.value])])},l=()=>{if(t.icon)return t.icon();if(e.icon)return M(Ct,{name:e.icon,class:kn("left-icon"),classPrefix:e.iconPrefix},null)},s=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const f=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return M(Ct,{name:f,class:kn("right-icon")},null)}};return()=>{var f;const{tag:u,size:c,center:h,border:a,isLink:d,required:x}=e,m=(f=e.clickable)!=null?f:d,v={center:h,required:!!x,clickable:m,borderless:!a};return c&&(v[c]=!!c),M(u,{class:kn(v),role:m?"button":void 0,tabindex:m?0:void 0,onClick:m?n:void 0},{default:()=>{var E;return[l(),i(),o(),s(),(E=t.extra)==null?void 0:E.call(t)]}})}}});const lm=Re(am),[cm,um]=Ce("form"),fm={colon:Boolean,disabled:Boolean,readonly:Boolean,required:[Boolean,String],showError:Boolean,labelWidth:xe,labelAlign:String,inputAlign:String,scrollToError:Boolean,scrollToErrorPosition:String,validateFirst:Boolean,submitOnEnter:ve,showErrorMessage:ve,errorMessageAlign:String,validateTrigger:{type:[String,Array],default:"onBlur"}};var dm=we({name:cm,props:fm,emits:["submit","failed"],setup(e,{emit:t,slots:n}){const{children:r,linkChildren:i}=$r(of),o=v=>v?r.filter(E=>v.includes(E.name)):r,l=v=>new Promise((E,p)=>{const b=[];o(v).reduce((B,w)=>B.then(()=>{if(!b.length)return w.validate().then(F=>{F&&b.push(F)})}),Promise.resolve()).then(()=>{b.length?p(b):E()})}),s=v=>new Promise((E,p)=>{const b=o(v);Promise.all(b.map(C=>C.validate())).then(C=>{C=C.filter(Boolean),C.length?p(C):E()})}),f=v=>{const E=r.find(p=>p.name===v);return E?new Promise((p,b)=>{E.validate().then(C=>{C?b(C):p()})}):Promise.reject()},u=v=>typeof v=="string"?f(v):e.validateFirst?l(v):s(v),c=v=>{typeof v=="string"&&(v=[v]),o(v).forEach(p=>{p.resetValidation()})},h=()=>r.reduce((v,E)=>(v[E.name]=E.getValidationStatus(),v),{}),a=(v,E)=>{r.some(p=>p.name===v?(p.$el.scrollIntoView(E),!0):!1)},d=()=>r.reduce((v,E)=>(E.name!==void 0&&(v[E.name]=E.formValue.value),v),{}),x=()=>{const v=d();u().then(()=>t("submit",v)).catch(E=>{t("failed",{values:v,errors:E});const{scrollToError:p,scrollToErrorPosition:b}=e;p&&E[0].name&&a(E[0].name,b?{block:b}:void 0)})},m=v=>{jt(v),x()};return i({props:e}),gt({submit:x,validate:u,getValues:d,scrollToField:a,resetValidation:c,getValidationStatus:h}),()=>{var v;return M("form",{class:um(),onSubmit:m},[(v=n.default)==null?void 0:v.call(n)])}}});const j2=Re(dm);function wf(e){return Array.isArray(e)?!e.length:e===0?!1:!e}function hm(e,t){if(wf(e)){if(t.required)return!1;if(t.validateEmpty===!1)return!0}return!(t.pattern&&!t.pattern.test(String(e)))}function xm(e,t){return new Promise(n=>{const r=t.validator(e,t);if(Gu(r)){r.then(n);return}n(r)})}function $l(e,t){const{message:n}=t;return ro(n)?n(e,t):n||""}function gm({target:e}){e.composing=!0}function zl({target:e}){e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}function vm(e,t){const n=ba();e.style.height="auto";let r=e.scrollHeight;if(Zn(t)){const{maxHeight:i,minHeight:o}=t;i!==void 0&&(r=Math.min(r,i)),o!==void 0&&(r=Math.max(r,o))}r&&(e.style.height=`${r}px`,Ca(n))}function pm(e,t){return e==="number"&&(e="text",t??(t="decimal")),e==="digit"&&(e="tel",t??(t="numeric")),{type:e,inputmode:t}}function or(e){return[...e].length}function ss(e,t){return[...e].slice(0,t).join("")}const[mm,mt]=Ce("field"),Da={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:xe,max:Number,min:Number,formatter:Function,clearIcon:be("clear"),modelValue:Ue(""),inputAlign:String,placeholder:String,autocomplete:String,autocapitalize:String,autocorrect:String,errorMessage:String,enterkeyhint:String,clearTrigger:be("focus"),formatTrigger:be("onChange"),spellcheck:{type:Boolean,default:null},error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null},inputmode:String},_m=Ne({},Bf,Da,{rows:xe,type:be("text"),rules:Array,autosize:[Boolean,Object],labelWidth:xe,labelClass:Vt,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}});var ym=we({name:mm,props:_m,emits:["blur","focus","clear","keypress","clickInput","endValidate","startValidate","clickLeftIcon","clickRightIcon","update:modelValue"],setup(e,{emit:t,slots:n}){const r=Vr(),i=st({status:"unvalidated",focused:!1,validateMessage:""}),o=ue(),l=ue(),s=ue(),{parent:f}=Hr(of),u=()=>{var D;return String((D=e.modelValue)!=null?D:"")},c=D=>{if(Le(e[D]))return e[D];if(f&&Le(f.props[D]))return f.props[D]},h=le(()=>{const D=c("readonly");if(e.clearable&&!D){const q=u()!=="",V=e.clearTrigger==="always"||e.clearTrigger==="focus"&&i.focused;return q&&V}return!1}),a=le(()=>s.value&&n.input?s.value():e.modelValue),d=le(()=>{var D;const q=c("required");return q==="auto"?(D=e.rules)==null?void 0:D.some(V=>V.required):q}),x=D=>D.reduce((q,V)=>q.then(()=>{if(i.status==="failed")return;let{value:X}=a;if(V.formatter&&(X=V.formatter(X,V)),!hm(X,V)){i.status="failed",i.validateMessage=$l(X,V);return}if(V.validator)return wf(X)&&V.validateEmpty===!1?void 0:xm(X,V).then(oe=>{oe&&typeof oe=="string"?(i.status="failed",i.validateMessage=oe):oe===!1&&(i.status="failed",i.validateMessage=$l(X,V))})}),Promise.resolve()),m=()=>{i.status="unvalidated",i.validateMessage=""},v=()=>t("endValidate",{status:i.status,message:i.validateMessage}),E=(D=e.rules)=>new Promise(q=>{m(),D?(t("startValidate"),x(D).then(()=>{i.status==="failed"?(q({name:e.name,message:i.validateMessage}),v()):(i.status="passed",q(),v())})):q()}),p=D=>{if(f&&e.rules){const{validateTrigger:q}=f.props,V=Bl(q).includes(D),X=e.rules.filter(oe=>oe.trigger?Bl(oe.trigger).includes(D):V);X.length&&E(X)}},b=D=>{var q;const{maxlength:V}=e;if(Le(V)&&or(D)>+V){const X=u();if(X&&or(X)===+V)return X;let oe=(q=o.value)==null?void 0:q.selectionEnd;if(i.focused&&oe){const S=[...D],T=S.length-+V;return oe=or(D.slice(0,oe)),S.splice(oe-T,T),S.join("")}return ss(D,+V)}return D},C=(D,q="onChange")=>{var V,X;const oe=D;D=b(D);const S=oe.length-D.length;if(e.type==="number"||e.type==="digit"){const N=e.type==="number";if(D=Nv(D,N,N),q==="onBlur"&&D!==""&&(e.min!==void 0||e.max!==void 0)){const j=Wi(+D,(V=e.min)!=null?V:-1/0,(X=e.max)!=null?X:1/0);+D!==j&&(D=j.toString())}}let T=0;if(e.formatter&&q===e.formatTrigger){const{formatter:N,maxlength:j}=e;if(D=N(D),Le(j)&&or(D)>+j&&(D=ss(D,+j)),o.value&&i.focused){const{selectionEnd:K}=o.value,Z=ss(oe,K);T=N(Z).length-Z.length}}if(o.value&&o.value.value!==D)if(i.focused){let{selectionStart:N,selectionEnd:j}=o.value;if(o.value.value=D,Le(N)&&Le(j)){const K=D.length;S?(N-=S,j-=S):T&&(N+=T,j+=T),o.value.setSelectionRange(Math.min(N,K),Math.min(j,K))}}else o.value.value=D;D!==e.modelValue&&t("update:modelValue",D)},B=D=>{D.target.composing||C(D.target.value)},w=()=>{var D;return(D=o.value)==null?void 0:D.blur()},F=()=>{var D;return(D=o.value)==null?void 0:D.focus()},O=()=>{const D=o.value;e.type==="textarea"&&e.autosize&&D&&vm(D,e.autosize)},H=D=>{i.focused=!0,t("focus",D),Me(O),c("readonly")&&w()},g=D=>{i.focused=!1,C(u(),"onBlur"),t("blur",D),!c("readonly")&&(p("onBlur"),Me(O),kv())},y=D=>t("clickInput",D),_=D=>t("clickLeftIcon",D),A=D=>t("clickRightIcon",D),R=D=>{jt(D),t("update:modelValue",""),t("clear",D)},W=le(()=>{if(typeof e.error=="boolean")return e.error;if(f&&f.props.showError&&i.status==="failed")return!0}),U=le(()=>{const D=c("labelWidth"),q=c("labelAlign");if(D&&q!=="top")return{width:Xe(D)}}),$=D=>{D.keyCode===13&&(!(f&&f.props.submitOnEnter)&&e.type!=="textarea"&&jt(D),e.type==="search"&&w()),t("keypress",D)},k=()=>e.id||`${r}-input`,ee=()=>i.status,Q=()=>{const D=mt("control",[c("inputAlign"),{error:W.value,custom:!!n.input,"min-height":e.type==="textarea"&&!e.autosize}]);if(n.input)return M("div",{class:D,onClick:y},[n.input()]);const q={id:k(),ref:o,name:e.name,rows:e.rows!==void 0?+e.rows:void 0,class:D,disabled:c("disabled"),readonly:c("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,enterkeyhint:e.enterkeyhint,spellcheck:e.spellcheck,"aria-labelledby":e.label?`${r}-label`:void 0,"data-allow-mismatch":"attribute",onBlur:g,onFocus:H,onInput:B,onClick:y,onChange:zl,onKeypress:$,onCompositionend:zl,onCompositionstart:gm};return e.type==="textarea"?M("textarea",at(q,{inputmode:e.inputmode}),null):M("input",at(pm(e.type,e.inputmode),q),null)},L=()=>{const D=n["left-icon"];if(e.leftIcon||D)return M("div",{class:mt("left-icon"),onClick:_},[D?D():M(Ct,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])},P=()=>{const D=n["right-icon"];if(e.rightIcon||D)return M("div",{class:mt("right-icon"),onClick:A},[D?D():M(Ct,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},z=()=>{if(e.showWordLimit&&e.maxlength){const D=or(u());return M("div",{class:mt("word-limit")},[M("span",{class:mt("word-num")},[D]),du("/"),e.maxlength])}},I=()=>{if(f&&f.props.showErrorMessage===!1)return;const D=e.errorMessage||i.validateMessage;if(D){const q=n["error-message"],V=c("errorMessageAlign");return M("div",{class:mt("error-message",V)},[q?q({message:D}):D])}},G=()=>{const D=c("labelWidth"),q=c("labelAlign"),V=c("colon")?":":"";if(n.label)return[n.label(),V];if(e.label)return M("label",{id:`${r}-label`,for:n.input?void 0:k(),"data-allow-mismatch":"attribute",onClick:X=>{jt(X),F()},style:q==="top"&&D?{width:Xe(D)}:void 0},[e.label+V])},J=()=>[M("div",{class:mt("body")},[Q(),h.value&&M(Ct,{ref:l,name:e.clearIcon,class:mt("clear")},null),P(),n.button&&M("div",{class:mt("button")},[n.button()])]),z(),I()];return gt({blur:w,focus:F,validate:E,formValue:a,resetValidation:m,getValidationStatus:ee,adjustTextareaSize:O}),zt(Sv,{customValue:s,resetValidation:m,validateWithTrigger:p}),pe(()=>e.modelValue,()=>{C(u()),m(),p("onChange"),Me(O)}),xt(()=>{C(u(),e.formatTrigger),Me(O)}),wn("touchstart",R,{target:le(()=>{var D;return(D=l.value)==null?void 0:D.$el})}),()=>{const D=c("disabled"),q=c("labelAlign"),V=L(),X=()=>{const oe=G();return q==="top"?[V,oe].filter(Boolean):oe||[]};return M(lm,{size:e.size,class:mt({error:W.value,disabled:D,[`label-${q}`]:q}),center:e.center,border:e.border,isLink:D?!1:e.isLink,clickable:D?!1:e.clickable,onClick:D?oe=>oe.stopImmediatePropagation():void 0,titleStyle:U.value,valueClass:mt("value"),titleClass:[mt("label",[q,{required:d.value}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:V&&q!=="top"?()=>V:null,title:X,value:J,extra:n.extra})}}});const bm=Re(ym);let sr=0;function Cm(e){e?(sr||document.body.classList.add("van-toast--unclickable"),sr++):sr&&(sr--,sr||document.body.classList.remove("van-toast--unclickable"))}const[Em,Tn]=Ce("toast"),Am=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay","zIndex"],Bm={icon:String,show:Boolean,type:be("text"),overlay:Boolean,message:xe,iconSize:xe,duration:Zu(2e3),position:be("middle"),teleport:[String,Object],wordBreak:String,className:Vt,iconPrefix:String,transition:be("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:Vt,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean,zIndex:xe};var Df=we({name:Em,props:Bm,emits:["update:show"],setup(e,{emit:t,slots:n}){let r,i=!1;const o=()=>{const h=e.show&&e.forbidClick;i!==h&&(i=h,Cm(i))},l=h=>t("update:show",h),s=()=>{e.closeOnClick&&l(!1)},f=()=>clearTimeout(r),u=()=>{const{icon:h,type:a,iconSize:d,iconPrefix:x,loadingType:m}=e;if(h||a==="success"||a==="fail")return M(Ct,{name:h||a,size:d,class:Tn("icon"),classPrefix:x},null);if(a==="loading")return M(wa,{class:Tn("loading"),size:d,type:m},null)},c=()=>{const{type:h,message:a}=e;if(n.message)return M("div",{class:Tn("text")},[n.message()]);if(Le(a)&&a!=="")return h==="html"?M("div",{key:0,class:Tn("text"),innerHTML:String(a)},null):M("div",{class:Tn("text")},[a])};return pe(()=>[e.show,e.forbidClick],o),pe(()=>[e.show,e.type,e.message,e.duration],()=>{f(),e.show&&e.duration>0&&(r=setTimeout(()=>{l(!1)},e.duration))}),xt(o),Nr(o),()=>M(ff,at({class:[Tn([e.position,e.wordBreak==="normal"?"break-normal":e.wordBreak,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:s,onClosed:f,"onUpdate:show":l},qt(e,Am)),{default:()=>[u(),c()]})}});function wm(){const e=st({show:!1}),t=i=>{e.show=i},n=i=>{Ne(e,i,{transitionAppear:!0}),t(!0)},r=()=>t(!1);return gt({open:n,close:r,toggle:t}),{open:n,close:r,state:e,toggle:t}}function Dm(e){const t=gx(e),n=document.createElement("div");return document.body.appendChild(n),{instance:t.mount(n),unmount(){t.unmount(),document.body.removeChild(n)}}}const Sm={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let In=[],Fm=!1,Wl=Ne({},Sm);const km=new Map;function Sf(e){return Zn(e)?e:{message:e}}function Tm(){const{instance:e}=Dm({setup(){const t=ue(""),{open:n,state:r,close:i,toggle:o}=wm(),l=()=>{},s=()=>M(Df,at(r,{onClosed:l,"onUpdate:show":o}),null);return pe(t,f=>{r.message=f}),lt().render=s,{open:n,close:i,message:t}}});return e}function Rm(){if(!In.length||Fm){const e=Tm();In.push(e)}return In[In.length-1]}function Hs(e={}){if(!Ao)return{};const t=Rm(),n=Sf(e);return t.open(Ne({},Wl,km.get(n.type||Wl.type),n)),t}const Om=e=>t=>Hs(Ne({type:e},Sf(t))),U2=Om("loading"),G2=e=>{In.length&&In[0].close()};Re(Df);const[Pm,Ie,Ut]=Ce("calendar"),Im=e=>Ut("monthTitle",e.getFullYear(),e.getMonth()+1);function _n(e,t){const n=e.getFullYear(),r=t.getFullYear();if(n===r){const i=e.getMonth(),o=t.getMonth();return i===o?0:i>o?1:-1}return n>r?1:-1}function it(e,t){const n=_n(e,t);if(n===0){const r=e.getDate(),i=t.getDate();return r===i?0:r>i?1:-1}return n}const Vn=e=>new Date(e),ql=e=>Array.isArray(e)?e.map(Vn):Vn(e);function Sa(e,t){const n=Vn(e);return n.setDate(n.getDate()+t),n}function Fa(e,t){const n=Vn(e);return n.setMonth(n.getMonth()+t),n.getDate()!==e.getDate()&&n.setDate(0),n}function Ff(e,t){const n=Vn(e);return n.setFullYear(n.getFullYear()+t),n.getDate()!==e.getDate()&&n.setDate(0),n}const $s=e=>Sa(e,-1),zs=e=>Sa(e,1),Vl=e=>Fa(e,-1),jl=e=>Fa(e,1),Ul=e=>Ff(e,-1),Gl=e=>Ff(e,1),ti=()=>{const e=new Date;return e.setHours(0,0,0,0),e};function Mm(e){const t=e[0].getTime();return(e[1].getTime()-t)/(1e3*60*60*24)+1}function Nm(e,t=0){const n=new Date(e.getFullYear(),e.getMonth()+1,0),r=t+e.getDate()-1,i=t+n.getDate()-1;return Math.floor(r/7)===Math.floor(i/7)}Ne({},Af,{modelValue:Is(),filter:Function,formatter:{type:Function,default:(e,t)=>t}});const Lm=(e,t)=>32-new Date(e,t-1,32).getDate(),[Hm]=Ce("calendar-day");var $m=we({name:Hm,props:{item:Br(Object),color:String,index:Number,offset:Zu(0),rowHeight:String},emits:["click","clickDisabledDate"],setup(e,{emit:t,slots:n}){const r=le(()=>{const{item:u,index:c,color:h,offset:a,rowHeight:d}=e,x={height:d};if(u.type==="placeholder")return x.width="100%",x;if(c===0&&(x.marginLeft=`${100*a/7}%`),h)switch(u.type){case"end":case"start":case"start-end":case"multiple-middle":case"multiple-selected":x.background=h;break;case"middle":x.color=h;break}return u.date&&Nm(u.date,a)&&(x.marginBottom=0),x}),i=()=>{e.item.type!=="disabled"?t("click",e.item):t("clickDisabledDate",e.item)},o=()=>{const{topInfo:u}=e.item;if(u||n["top-info"])return M("div",{class:Ie("top-info")},[n["top-info"]?n["top-info"](e.item):u])},l=()=>{const{bottomInfo:u}=e.item;if(u||n["bottom-info"])return M("div",{class:Ie("bottom-info")},[n["bottom-info"]?n["bottom-info"](e.item):u])},s=()=>n.text?n.text(e.item):e.item.text,f=()=>{const{item:u,color:c,rowHeight:h}=e,{type:a}=u,d=[o(),s(),l()];return a==="selected"?M("div",{class:Ie("selected-day"),style:{width:h,height:h,background:c}},[d]):d};return()=>{const{type:u,className:c}=e.item;return u==="placeholder"?M("div",{class:Ie("day"),style:r.value},null):M("div",{role:"gridcell",style:r.value,class:[Ie("day",u),c],tabindex:u==="disabled"?void 0:-1,onClick:i},[f()])}}});const[zm]=Ce("calendar-month"),Wm={date:Br(Date),type:String,color:String,minDate:Date,maxDate:Date,showMark:Boolean,rowHeight:xe,formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number};var qm=we({name:zm,props:Wm,emits:["click","clickDisabledDate"],setup(e,{emit:t,slots:n}){const[r,i]=bv(),o=ue(),l=ue(),s=af(l),f=le(()=>Im(e.date)),u=le(()=>Xe(e.rowHeight)),c=le(()=>{const g=e.date.getDate(),_=(e.date.getDay()-g%7+8)%7;return e.firstDayOfWeek?(_+7-e.firstDayOfWeek)%7:_}),h=le(()=>Lm(e.date.getFullYear(),e.date.getMonth()+1)),a=le(()=>r.value||!e.lazyRender),d=()=>f.value,x=g=>{const y=_=>e.currentDate.some(A=>it(A,_)===0);if(y(g)){const _=$s(g),A=zs(g),R=y(_),W=y(A);return R&&W?"multiple-middle":R?"end":W?"start":"multiple-selected"}return""},m=g=>{const[y,_]=e.currentDate;if(!y)return"";const A=it(g,y);if(!_)return A===0?"start":"";const R=it(g,_);return e.allowSameDay&&A===0&&R===0?"start-end":A===0?"start":R===0?"end":A>0&&R<0?"middle":""},v=g=>{const{type:y,minDate:_,maxDate:A,currentDate:R}=e;if(_&&it(g,_)<0||A&&it(g,A)>0)return"disabled";if(R===null)return"";if(Array.isArray(R)){if(y==="multiple")return x(g);if(y==="range")return m(g)}else if(y==="single")return it(g,R)===0?"selected":"";return""},E=g=>{if(e.type==="range"){if(g==="start"||g==="end")return Ut(g);if(g==="start-end")return`${Ut("start")}/${Ut("end")}`}},p=()=>{if(e.showMonthTitle)return M("div",{class:Ie("month-title")},[n["month-title"]?n["month-title"]({date:e.date,text:f.value}):f.value])},b=()=>{if(e.showMark&&a.value)return M("div",{class:Ie("month-mark")},[e.date.getMonth()+1])},C=le(()=>{const g=Math.ceil((h.value+c.value)/7);return Array(g).fill({type:"placeholder"})}),B=le(()=>{const g=[],y=e.date.getFullYear(),_=e.date.getMonth();for(let A=1;A<=h.value;A++){const R=new Date(y,_,A),W=v(R);let U={date:R,type:W,text:A,bottomInfo:E(W)};e.formatter&&(U=e.formatter(U)),g.push(U)}return g}),w=le(()=>B.value.filter(g=>g.type==="disabled")),F=(g,y)=>{if(o.value){const _=ft(o.value),A=C.value.length,W=(Math.ceil((y.getDate()+c.value)/7)-1)*_.height/A;io(g,_.top+W+g.scrollTop-ft(g).top)}},O=(g,y)=>M($m,{item:g,index:y,color:e.color,offset:c.value,rowHeight:u.value,onClick:_=>t("click",_),onClickDisabledDate:_=>t("clickDisabledDate",_)},qt(n,["top-info","bottom-info","text"])),H=()=>M("div",{ref:o,role:"grid",class:Ie("days")},[b(),(a.value?B:C).value.map(O)]);return gt({getTitle:d,getHeight:()=>s.value,setVisible:i,scrollToDate:F,disabledDays:w}),()=>M("div",{class:Ie("month"),ref:l},[p(),H()])}});const[Vm]=Ce("calendar-header");var jm=we({name:Vm,props:{date:Date,minDate:Date,maxDate:Date,title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number,switchMode:be("none")},emits:["clickSubtitle","panelChange"],setup(e,{slots:t,emit:n}){const r=le(()=>e.date&&e.minDate&&_n(Vl(e.date),e.minDate)<0),i=le(()=>e.date&&e.minDate&&_n(Ul(e.date),e.minDate)<0),o=le(()=>e.date&&e.maxDate&&_n(jl(e.date),e.maxDate)>0),l=le(()=>e.date&&e.maxDate&&_n(Gl(e.date),e.maxDate)>0),s=()=>{if(e.showTitle){const d=e.title||Ut("title"),x=t.title?t.title():d;return M("div",{class:Ie("header-title")},[x])}},f=d=>n("clickSubtitle",d),u=d=>n("panelChange",d),c=d=>{const x=e.switchMode==="year-month",m=t[d?"next-month":"prev-month"],v=t[d?"next-year":"prev-year"],E=d?o.value:r.value,p=d?l.value:i.value,b=d?"arrow":"arrow-left",C=d?"arrow-double-right":"arrow-double-left",B=()=>u((d?jl:Vl)(e.date)),w=()=>u((d?Gl:Ul)(e.date)),F=M("view",{class:Ie("header-action",{disabled:E}),onClick:E?void 0:B},[m?m({disabled:E}):M(Ct,{class:{[Ls]:!E},name:b},null)]),O=x&&M("view",{class:Ie("header-action",{disabled:p}),onClick:p?void 0:w},[v?v({disabled:p}):M(Ct,{class:{[Ls]:!p},name:C},null)]);return d?[F,O]:[O,F]},h=()=>{if(e.showSubtitle){const d=t.subtitle?t.subtitle({date:e.date,text:e.subtitle}):e.subtitle,x=e.switchMode!=="none";return M("div",{class:Ie("header-subtitle",{"with-switch":x}),onClick:f},[x?[c(),M("div",{class:Ie("header-subtitle-text")},[d]),c(!0)]:d])}},a=()=>{const{firstDayOfWeek:d}=e,x=Ut("weekdays"),m=[...x.slice(d,7),...x.slice(0,d)];return M("div",{class:Ie("weekdays")},[m.map(v=>M("span",{class:Ie("weekday")},[v]))])};return()=>M("div",{class:Ie("header")},[s(),h(),a()])}});const Um={show:Boolean,type:be("single"),switchMode:be("none"),title:String,color:String,round:ve,readonly:Boolean,poppable:ve,maxRange:Ue(null),position:be("bottom"),teleport:[String,Object],showMark:ve,showTitle:ve,formatter:Function,rowHeight:xe,confirmText:String,rangePrompt:String,lazyRender:ve,showConfirm:ve,defaultDate:[Date,Array],allowSameDay:Boolean,showSubtitle:ve,closeOnPopstate:ve,showRangePrompt:ve,confirmDisabledText:String,closeOnClickOverlay:ve,safeAreaInsetTop:Boolean,safeAreaInsetBottom:ve,minDate:{type:Date,validator:Ps},maxDate:{type:Date,validator:Ps},firstDayOfWeek:{type:xe,default:0,validator:e=>e>=0&&e<=6}};var Gm=we({name:Pm,props:Um,emits:["select","confirm","unselect","monthShow","overRange","update:show","clickSubtitle","clickDisabledDate","clickOverlay","panelChange"],setup(e,{emit:t,slots:n}){const r=le(()=>e.switchMode!=="none"),i=le(()=>!e.minDate&&!r.value?ti():e.minDate),o=le(()=>!e.maxDate&&!r.value?Fa(ti(),6):e.maxDate),l=(P,z=i.value,I=o.value)=>z&&it(P,z)===-1?z:I&&it(P,I)===1?I:P,s=(P=e.defaultDate)=>{const{type:z,allowSameDay:I}=e;if(P===null)return P;const G=ti();if(z==="range"){Array.isArray(P)||(P=[]),P.length===1&&it(P[0],G)===1&&(P=[]);const J=i.value,D=o.value,q=l(P[0]||G,J,D?I?D:$s(D):void 0),V=l(P[1]||(I?G:zs(G)),J?I?J:zs(J):void 0);return[q,V]}return z==="multiple"?Array.isArray(P)?P.map(J=>l(J)):[l(G)]:((!P||Array.isArray(P))&&(P=G),l(P))},f=()=>{const P=Array.isArray(h.value)?h.value[0]:h.value;return P||l(ti())};let u;const c=ue(),h=ue(s()),a=ue(f()),d=ue(),[x,m]=vf(),v=le(()=>e.firstDayOfWeek?+e.firstDayOfWeek%7:0),E=le(()=>{const P=[];if(!i.value||!o.value)return P;const z=new Date(i.value);z.setDate(1);do P.push(new Date(z)),z.setMonth(z.getMonth()+1);while(_n(z,o.value)!==1);return P}),p=le(()=>{if(h.value){if(e.type==="range")return!h.value[0]||!h.value[1];if(e.type==="multiple")return!h.value.length}return!h.value}),b=()=>h.value,C=()=>{const P=Bo(c.value),z=P+u,I=E.value.map((V,X)=>x.value[X].getHeight()),G=I.reduce((V,X)=>V+X,0);if(z>G&&P>0)return;let J=0,D;const q=[-1,-1];for(let V=0;V<E.value.length;V++){const X=x.value[V];J<=z&&J+I[V]>=P&&(q[1]=V,D||(D=X,q[0]=V),x.value[V].showed||(x.value[V].showed=!0,t("monthShow",{date:X.date,title:X.getTitle()}))),J+=I[V]}E.value.forEach((V,X)=>{const oe=X>=q[0]-1&&X<=q[1]+1;x.value[X].setVisible(oe)}),D&&(d.value=D)},B=P=>{r.value?a.value=P:an(()=>{E.value.some((z,I)=>_n(z,P)===0?(c.value&&x.value[I].scrollToDate(c.value,P),!0):!1),C()})},w=()=>{if(!(e.poppable&&!e.show))if(h.value){const P=e.type==="single"?h.value:h.value[0];Ps(P)&&B(P)}else r.value||an(C)},F=()=>{e.poppable&&!e.show||(r.value||an(()=>{u=Math.floor(ft(c).height)}),w())},O=(P=s())=>{h.value=P,w()},H=P=>{const{maxRange:z,rangePrompt:I,showRangePrompt:G}=e;return z&&Mm(P)>+z?(G&&Hs(I||Ut("rangePrompt",z)),t("overRange"),!1):!0},g=P=>{a.value=P,t("panelChange",{date:P})},y=()=>{var P;return t("confirm",(P=h.value)!=null?P:ql(h.value))},_=(P,z)=>{const I=G=>{h.value=G,t("select",ql(G))};if(z&&e.type==="range"&&!H(P)){I([P[0],Sa(P[0],+e.maxRange-1)]);return}I(P),z&&!e.showConfirm&&y()},A=(P,z,I)=>{var G;return(G=P.find(J=>it(z,J.date)===-1&&it(J.date,I)===-1))==null?void 0:G.date},R=le(()=>x.value.reduce((P,z)=>{var I,G;return P.push(...(G=(I=z.disabledDays)==null?void 0:I.value)!=null?G:[]),P},[])),W=P=>{if(e.readonly||!P.date)return;const{date:z}=P,{type:I}=e;if(I==="range"){if(!h.value){_([z]);return}const[G,J]=h.value;if(G&&!J){const D=it(z,G);if(D===1){const q=A(R.value,G,z);if(q){const V=$s(q);it(G,V)===-1?_([G,V]):_([z])}else _([G,z],!0)}else D===-1?_([z]):e.allowSameDay&&_([z,z],!0)}else _([z])}else if(I==="multiple"){if(!h.value){_([z]);return}const G=h.value,J=G.findIndex(D=>it(D,z)===0);if(J!==-1){const[D]=G.splice(J,1);t("unselect",Vn(D))}else e.maxRange&&G.length>=+e.maxRange?Hs(e.rangePrompt||Ut("rangePrompt",e.maxRange)):_([...G,z])}else _(z,!0)},U=P=>t("clickOverlay",P),$=P=>t("update:show",P),k=(P,z)=>{const I=z!==0||!e.showSubtitle;return M(qm,at({ref:r.value?d:m(z),date:P,currentDate:h.value,showMonthTitle:I,firstDayOfWeek:v.value,lazyRender:r.value?!1:e.lazyRender,maxDate:o.value,minDate:i.value},qt(e,["type","color","showMark","formatter","rowHeight","showSubtitle","allowSameDay"]),{onClick:W,onClickDisabledDate:G=>t("clickDisabledDate",G)}),qt(n,["top-info","bottom-info","month-title","text"]))},ee=()=>{if(n.footer)return n.footer();if(e.showConfirm){const P=n["confirm-text"],z=p.value,I=z?e.confirmDisabledText:e.confirmText;return M(dp,{round:!0,block:!0,type:"primary",color:e.color,class:Ie("confirm"),disabled:z,nativeType:"button",onClick:y},{default:()=>[P?P({disabled:z}):I||Ut("confirm")]})}},Q=()=>M("div",{class:[Ie("footer"),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[ee()]),L=()=>{var P,z;return M("div",{class:Ie()},[M(jm,{date:(P=d.value)==null?void 0:P.date,maxDate:o.value,minDate:i.value,title:e.title,subtitle:(z=d.value)==null?void 0:z.getTitle(),showTitle:e.showTitle,showSubtitle:e.showSubtitle,switchMode:e.switchMode,firstDayOfWeek:v.value,onClickSubtitle:I=>t("clickSubtitle",I),onPanelChange:g},qt(n,["title","subtitle","prev-month","prev-year","next-month","next-year"])),M("div",{ref:c,class:Ie("body"),onScroll:r.value?void 0:C},[r.value?k(a.value,0):E.value.map(k)]),Q()])};return pe(()=>e.show,F),pe(()=>[e.type,e.minDate,e.maxDate,e.switchMode],()=>O(s(h.value))),pe(()=>e.defaultDate,P=>{O(P)}),gt({reset:O,scrollToDate:B,getSelectedDate:b}),zr(F),()=>e.poppable?M(ff,{show:e.show,class:Ie("popup"),round:e.round,position:e.position,closeable:e.showTitle||e.showSubtitle,teleport:e.teleport,closeOnPopstate:e.closeOnPopstate,safeAreaInsetTop:e.safeAreaInsetTop,closeOnClickOverlay:e.closeOnClickOverlay,onClickOverlay:U,"onUpdate:show":$},{default:L}):L()}});const K2=Re(Gm),[Km,ni]=Ce("empty"),Zm={image:be("default"),imageSize:[Number,String,Array],description:String};var Ym=we({name:Km,props:Zm,setup(e,{slots:t}){const n=()=>{const E=t.description?t.description():e.description;if(E)return M("p",{class:ni("description")},[E])},r=()=>{if(t.default)return M("div",{class:ni("bottom")},[t.default()])},i=Vr(),o=E=>`${i}-${E}`,l=E=>`url(#${o(E)})`,s=(E,p,b)=>M("stop",{"stop-color":E,offset:`${p}%`,"stop-opacity":b},null),f=(E,p)=>[s(E,0),s(p,100)],u=E=>[M("defs",null,[M("radialGradient",{id:o(E),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)","data-allow-mismatch":"attribute"},[s("#EBEDF0",0),s("#F2F3F5",100,.3)])]),M("ellipse",{fill:l(E),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8","data-allow-mismatch":"attribute"},null)],c=()=>[M("defs",null,[M("linearGradient",{id:o("a"),x1:"64%",y1:"100%",x2:"64%","data-allow-mismatch":"attribute"},[s("#FFF",0,.5),s("#F2F3F5",100)])]),M("g",{opacity:".8","data-allow-mismatch":"children"},[M("path",{d:"M36 131V53H16v20H2v58h34z",fill:l("a")},null),M("path",{d:"M123 15h22v14h9v77h-31V15z",fill:l("a")},null)])],h=()=>[M("defs",null,[M("linearGradient",{id:o("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%","data-allow-mismatch":"attribute"},[s("#F2F3F5",0,.3),s("#F2F3F5",100)])]),M("g",{opacity:".8","data-allow-mismatch":"children"},[M("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:l("b")},null),M("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:l("b")},null)])],a=()=>M("svg",{viewBox:"0 0 160 160"},[M("defs",{"data-allow-mismatch":"children"},[M("linearGradient",{id:o(1),x1:"64%",y1:"100%",x2:"64%"},[s("#FFF",0,.5),s("#F2F3F5",100)]),M("linearGradient",{id:o(2),x1:"50%",x2:"50%",y2:"84%"},[s("#EBEDF0",0),s("#DCDEE0",100,0)]),M("linearGradient",{id:o(3),x1:"100%",x2:"100%",y2:"100%"},[f("#EAEDF0","#DCDEE0")]),M("radialGradient",{id:o(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[s("#EBEDF0",0),s("#FFF",100,0)])]),M("g",{fill:"none"},[c(),M("path",{fill:l(4),d:"M0 139h160v21H0z","data-allow-mismatch":"attribute"},null),M("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:l(2),"data-allow-mismatch":"attribute"},null),M("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7","data-allow-mismatch":"children"},[M("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:l(3)},null),M("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:l(3)},null),M("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:l(3)},null),M("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:l(3)},null)]),M("g",{transform:"translate(31 105)"},[M("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),M("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),M("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),d=()=>M("svg",{viewBox:"0 0 160 160"},[M("defs",{"data-allow-mismatch":"children"},[M("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:o(5)},[f("#F2F3F5","#DCDEE0")]),M("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:o(6)},[f("#EAEDF1","#DCDEE0")]),M("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:o(7)},[f("#EAEDF1","#DCDEE0")])]),c(),h(),M("g",{transform:"translate(36 50)",fill:"none"},[M("g",{transform:"translate(8)"},[M("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),M("rect",{fill:l(5),width:"64",height:"66",rx:"2","data-allow-mismatch":"attribute"},null),M("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),M("g",{transform:"translate(15 17)",fill:l(6),"data-allow-mismatch":"attribute"},[M("rect",{width:"34",height:"6",rx:"1"},null),M("path",{d:"M0 14h34v6H0z"},null),M("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),M("rect",{fill:l(7),y:"61",width:"88",height:"28",rx:"1","data-allow-mismatch":"attribute"},null),M("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),x=()=>M("svg",{viewBox:"0 0 160 160"},[M("defs",null,[M("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:o(8),"data-allow-mismatch":"attribute"},[f("#EAEDF1","#DCDEE0")])]),c(),h(),u("c"),M("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:l(8),"data-allow-mismatch":"attribute"},null)]),m=()=>M("svg",{viewBox:"0 0 160 160"},[M("defs",{"data-allow-mismatch":"children"},[M("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:o(9)},[f("#EEE","#D8D8D8")]),M("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:o(10)},[f("#F2F3F5","#DCDEE0")]),M("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:o(11)},[f("#F2F3F5","#DCDEE0")]),M("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:o(12)},[f("#FFF","#F7F8FA")])]),c(),h(),u("d"),M("g",{transform:"rotate(-45 113 -4)",fill:"none","data-allow-mismatch":"children"},[M("rect",{fill:l(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),M("rect",{fill:l(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),M("circle",{stroke:l(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),M("circle",{fill:l(12),cx:"27",cy:"27",r:"16"},null),M("path",{d:"M37 7c-8 0-15 5-16 12",stroke:l(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),v=()=>{var E;if(t.image)return t.image();const p={error:x,search:m,network:a,default:d};return((E=p[e.image])==null?void 0:E.call(p))||M("img",{src:e.image},null)};return()=>M("div",{class:ni()},[M("div",{class:ni("image"),style:Qu(e.imageSize)},[v()]),n(),r()])}});const Z2=Re(Ym),[Xm,Rn,Qm]=Ce("list"),Jm={error:Boolean,offset:Ue(300),loading:Boolean,disabled:Boolean,finished:Boolean,scroller:Object,errorText:String,direction:be("down"),loadingText:{type:String,default:""},finishedText:String,immediateCheck:ve};var e2=we({name:Xm,props:Jm,emits:["load","update:error","update:loading"],setup(e,{emit:t,slots:n}){const r=ue(e.loading),i=ue(),o=ue(),l=Ef(),s=ya(i),f=le(()=>e.scroller||s.value),u=()=>{Me(()=>{if(r.value||e.finished||e.disabled||e.error||(l==null?void 0:l.value)===!1)return;const{direction:x}=e,m=+e.offset,v=ft(f);if(!v.height||qn(i))return;let E=!1;const p=ft(o);x==="up"?E=v.top-p.top<=m:E=p.bottom-v.bottom<=m,E&&(r.value=!0,t("update:loading",!0),t("load"))})},c=()=>{if(e.finished){const x=n.finished?n.finished():e.finishedText;if(x)return M("div",{class:Rn("finished-text")},[x])}},h=()=>{t("update:error",!1),u()},a=()=>{if(e.error){const x=n.error?n.error():e.errorText;if(x)return M("div",{role:"button",class:Rn("error-text"),tabindex:0,onClick:h},[x])}},d=()=>{if(r.value&&!e.finished&&!e.disabled)return M("div",{class:Rn("loading")},[n.loading?n.loading():e.loadingText!=null&&M(wa,{class:Rn("loading-icon")},{default:()=>[e.loadingText||Qm("loading")]})])};return pe(()=>[e.loading,e.finished,e.error],u),l&&pe(l,x=>{x&&u()}),ra(()=>{r.value=e.loading}),xt(()=>{e.immediateCheck&&u()}),gt({check:u}),wn("scroll",u,{target:f,passive:!0}),()=>{var x;const m=(x=n.default)==null?void 0:x.call(n),v=M("div",{ref:o,class:Rn("placeholder")},null);return M("div",{ref:i,role:"feed",class:Rn(),"aria-busy":r.value},[e.direction==="down"?m:v,d(),c(),a(),e.direction==="up"?m:v])}}});const Y2=Re(e2),[t2,ar,n2]=Ce("search"),r2=Ne({},Da,{label:String,shape:be("square"),leftIcon:be("search"),clearable:ve,actionText:String,background:String,showAction:Boolean});var i2=we({name:t2,props:r2,emits:["blur","focus","clear","search","cancel","clickInput","clickLeftIcon","clickRightIcon","update:modelValue"],setup(e,{emit:t,slots:n,attrs:r}){const i=Vr(),o=ue(),l=()=>{n.action||(t("update:modelValue",""),t("cancel"))},s=B=>{B.keyCode===13&&(jt(B),t("search",e.modelValue))},f=()=>e.id||`${i}-input`,u=()=>{if(n.label||e.label)return M("label",{class:ar("label"),for:f(),"data-allow-mismatch":"attribute"},[n.label?n.label():e.label])},c=()=>{if(e.showAction){const B=e.actionText||n2("cancel");return M("div",{class:ar("action"),role:"button",tabindex:0,onClick:l},[n.action?n.action():B])}},h=()=>{var B;return(B=o.value)==null?void 0:B.blur()},a=()=>{var B;return(B=o.value)==null?void 0:B.focus()},d=B=>t("blur",B),x=B=>t("focus",B),m=B=>t("clear",B),v=B=>t("clickInput",B),E=B=>t("clickLeftIcon",B),p=B=>t("clickRightIcon",B),b=Object.keys(Da),C=()=>{const B=Ne({},r,qt(e,b),{id:f()}),w=F=>t("update:modelValue",F);return M(bm,at({ref:o,type:"search",class:ar("field",{"with-message":B.errorMessage}),border:!1,labelAlign:"left",onBlur:d,onFocus:x,onClear:m,onKeypress:s,onClickInput:v,onClickLeftIcon:E,onClickRightIcon:p,"onUpdate:modelValue":w},B),qt(n,["left-icon","right-icon"]))};return gt({focus:a,blur:h}),()=>{var B;return M("div",{class:ar({"show-action":e.showAction}),style:{background:e.background}},[(B=n.left)==null?void 0:B.call(n),M("div",{class:ar("content",e.shape)},[u(),C()]),c()])}}});const X2=Re(i2),[kf,o2]=Ce("sidebar"),Tf=Symbol(kf),s2={modelValue:Ue(0)};var a2=we({name:kf,props:s2,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{linkChildren:r}=$r(Tf),i=()=>+e.modelValue;return r({getActive:i,setActive:l=>{l!==i()&&(t("update:modelValue",l),t("change",l))}}),()=>{var l;return M("div",{role:"tablist",class:o2()},[(l=n.default)==null?void 0:l.call(n)])}}});const Q2=Re(a2),[l2,Kl]=Ce("sidebar-item"),c2=Ne({},qr,{dot:Boolean,title:String,badge:xe,disabled:Boolean,badgeProps:Object});var u2=we({name:l2,props:c2,emits:["click"],setup(e,{emit:t,slots:n}){const r=Do(),{parent:i,index:o}=Hr(Tf);if(!i)return;const l=()=>{e.disabled||(t("click",o.value),i.setActive(o.value),r())};return()=>{const{dot:s,badge:f,title:u,disabled:c}=e,h=o.value===i.getActive();return M("div",{role:"tab",class:Kl({select:h,disabled:c}),tabindex:c?void 0:0,"aria-selected":h,onClick:l},[M(So,at({dot:s,class:Kl("text"),content:f},e.badgeProps),{default:()=>[n.title?n.title():u]})])}}});const J2=Re(u2),[Rf,Zl]=Ce("tabbar"),f2={route:Boolean,fixed:ve,border:ve,zIndex:xe,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:Ue(0),safeAreaInsetBottom:{type:Boolean,default:null}},Of=Symbol(Rf);var d2=we({name:Rf,props:f2,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const r=ue(),{linkChildren:i}=$r(Of),o=Uv(r,Zl),l=()=>{var u;return(u=e.safeAreaInsetBottom)!=null?u:e.fixed},s=()=>{var u;const{fixed:c,zIndex:h,border:a}=e;return M("div",{ref:r,role:"tablist",style:Ea(h),class:[Zl({fixed:c}),{[rf]:a,"van-safe-area-bottom":l()}]},[(u=n.default)==null?void 0:u.call(n)])};return i({props:e,setActive:(u,c)=>{Aa(e.beforeChange,{args:[u],done(){t("update:modelValue",u),t("change",u),c()}})}}),()=>e.fixed&&e.placeholder?o(s):s()}});const e4=Re(d2),[h2,as]=Ce("tabbar-item"),x2=Ne({},qr,{dot:Boolean,icon:String,name:xe,badge:xe,badgeProps:Object,iconPrefix:String});var g2=we({name:h2,props:x2,emits:["click"],setup(e,{emit:t,slots:n}){const r=Do(),i=lt().proxy,{parent:o,index:l}=Hr(Of);if(!o)return;const s=le(()=>{var c;const{route:h,modelValue:a}=o.props;if(h&&"$route"in i){const{$route:d}=i,{to:x}=e,m=Zn(x)?x:{path:x};return d.matched.some(v=>{const E="path"in m&&m.path===v.path,p="name"in m&&m.name===v.name;return E||p})}return((c=e.name)!=null?c:l.value)===a}),f=c=>{var h;s.value||o.setActive((h=e.name)!=null?h:l.value,r),t("click",c)},u=()=>{if(n.icon)return n.icon({active:s.value});if(e.icon)return M(Ct,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var c;const{dot:h,badge:a}=e,{activeColor:d,inactiveColor:x}=o.props,m=s.value?d:x;return M("div",{role:"tab",class:as({active:s.value}),style:{color:m},tabindex:0,"aria-selected":s.value,onClick:f},[M(So,at({dot:h,class:as("icon"),content:a},e.badgeProps),{default:u}),M("div",{class:as("text")},[(c=n.default)==null?void 0:c.call(n,{active:s.value})])])}}});const t4=Re(g2);var hr={exports:{}},v2=hr.exports,Yl;function p2(){return Yl||(Yl=1,(function(e,t){(function(){function n(a,d){var x,m=Object.keys(d);for(x=0;x<m.length;x++)a=a.replace(new RegExp("\\{"+m[x]+"\\}","gi"),d[m[x]]);return a}function r(a){var d,x,m;if(!a)throw new Error("cannot create a random attribute name for an undefined object");d="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",x="";do for(x="",m=0;m<12;m++)x+=d[Math.floor(Math.random()*d.length)];while(a[x]);return x}function i(a){var d={left:"start",right:"end",center:"middle",start:"start",end:"end"};return d[a]||d.start}function o(a){var d={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return d[a]||d.alphabetic}var l,s,f,u,c;c=(function(a,d){var x,m,v,E={};for(a=a.split(","),d=d||10,x=0;x<a.length;x+=2)m="&"+a[x+1]+";",v=parseInt(a[x],d),E[m]="&#"+v+";";return E["\\xa0"]=" ",E})("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),l={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"}},f=function(a,d){this.__root=a,this.__ctx=d},f.prototype.addColorStop=function(a,d){var x,m,v=this.__ctx.__createElement("stop");v.setAttribute("offset",a),d.indexOf("rgba")!==-1?(x=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,m=x.exec(d),v.setAttribute("stop-color",n("rgb({r},{g},{b})",{r:m[1],g:m[2],b:m[3]})),v.setAttribute("stop-opacity",m[4])):v.setAttribute("stop-color",d),this.__root.appendChild(v)},u=function(a,d){this.__root=a,this.__ctx=d},s=function(a){var d,x={width:500,height:500,veiwBoxWidth:500,veiwBoxHeight:500,enableMirroring:!1};if(arguments.length>1?(d=x,d.width=arguments[0],d.height=arguments[1],d.veiwBoxWidth=arguments[2],d.veiwBoxHeight=arguments[3]):d=a||x,!(this instanceof s))return new s(d);this.width=d.width||x.width,this.height=d.height||x.height,this.veiwBoxWidth=d.veiwBoxWidth||this.width,this.veiwBoxHeight=d.veiwBoxHeight||this.height,this.enableMirroring=d.enableMirroring!==void 0?d.enableMirroring:x.enableMirroring,this.canvas=this,this.__document=d.document||document,d.ctx?this.__ctx=d.ctx:(this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d")),this.__setDefaultStyles(),this.__stack=[this.__getStyleState()],this.__groupStack=[],this.__root=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__root.setAttribute("version",1.1),this.__root.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__root.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__root.setAttribute("width",this.width),this.__root.setAttribute("height",this.height),this.__root.setAttribute("viewBox","0 0 "+this.veiwBoxWidth+" "+this.veiwBoxHeight),this.__ids={},this.__defs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__root.appendChild(this.__defs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),this.__root.appendChild(this.__currentElement)},s.prototype.__createElement=function(a,d,x){d===void 0&&(d={});var m,v,E=this.__document.createElementNS("http://www.w3.org/2000/svg",a),p=Object.keys(d);for(x&&(E.setAttribute("fill","none"),E.setAttribute("stroke","none")),m=0;m<p.length;m++)v=p[m],E.setAttribute(v,d[v]);return E},s.prototype.__setDefaultStyles=function(){var a,d,x=Object.keys(l);for(a=0;a<x.length;a++)d=x[a],this[d]=l[d].canvas},s.prototype.__applyStyleState=function(a){var d,x,m=Object.keys(a);for(d=0;d<m.length;d++)x=m[d],this[x]=a[x]},s.prototype.__getStyleState=function(){var a,d,x={},m=Object.keys(l);for(a=0;a<m.length;a++)d=m[a],x[d]=this[d];return x},s.prototype.__applyStyleToCurrentElement=function(a){var d=this.__currentElement,x=this.__currentElementsToStyle;x&&(d.setAttribute(a,""),d=x.element,x.children.forEach(function(H){H.setAttribute(a,"")}));var m,v,E,p,b,C,B=Object.keys(l);for(m=0;m<B.length;m++)if(v=l[B[m]],E=this[B[m]],v.apply){if(E instanceof u){if(E.__ctx)for(;E.__ctx.__defs.childNodes.length;)p=E.__ctx.__defs.childNodes[0].getAttribute("id"),this.__ids[p]=p,this.__defs.appendChild(E.__ctx.__defs.childNodes[0]);d.setAttribute(v.apply,n("url(#{id})",{id:E.__root.getAttribute("id")}))}else if(E instanceof f)d.setAttribute(v.apply,n("url(#{id})",{id:E.__root.getAttribute("id")}));else if(v.apply.indexOf(a)!==-1&&v.svg!==E)if(v.svgAttr!=="stroke"&&v.svgAttr!=="fill"||E.indexOf("rgba")===-1){var w=v.svgAttr;if(B[m]==="globalAlpha"&&(w=a+"-"+v.svgAttr,d.getAttribute(w)))continue;d.setAttribute(w,E)}else{b=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,C=b.exec(E),d.setAttribute(v.svgAttr,n("rgb({r},{g},{b})",{r:C[1],g:C[2],b:C[3]}));var F=C[4],O=this.globalAlpha;O!=null&&(F*=O),d.setAttribute(v.svgAttr+"-opacity",F)}}},s.prototype.__closestGroupOrSvg=function(a){return a=a||this.__currentElement,a.nodeName==="g"||a.nodeName==="svg"?a:this.__closestGroupOrSvg(a.parentNode)},s.prototype.getSerializedSvg=function(a){var d,x,m,v,E,p,b=new XMLSerializer().serializeToString(this.__root);if(p=/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi,p.test(b)&&(b=b.replace('xmlns="http://www.w3.org/2000/svg','xmlns:xlink="http://www.w3.org/1999/xlink')),a)for(d=Object.keys(c),x=0;x<d.length;x++)m=d[x],v=c[m],E=new RegExp(m,"gi"),E.test(b)&&(b=b.replace(E,v));return b},s.prototype.getSvg=function(){return this.__root},s.prototype.save=function(){var a=this.__createElement("g"),d=this.__closestGroupOrSvg();this.__groupStack.push(d),d.appendChild(a),this.__currentElement=a,this.__stack.push(this.__getStyleState())},s.prototype.restore=function(){this.__currentElement=this.__groupStack.pop(),this.__currentElementsToStyle=null,this.__currentElement||(this.__currentElement=this.__root.childNodes[1]);var a=this.__stack.pop();this.__applyStyleState(a)},s.prototype.__addTransform=function(a){var d=this.__closestGroupOrSvg();if(d.childNodes.length>0){this.__currentElement.nodeName==="path"&&(this.__currentElementsToStyle||(this.__currentElementsToStyle={element:d,children:[]}),this.__currentElementsToStyle.children.push(this.__currentElement),this.__applyCurrentDefaultPath());var x=this.__createElement("g");d.appendChild(x),this.__currentElement=x}var m=this.__currentElement.getAttribute("transform");m?m+=" ":m="",m+=a,this.__currentElement.setAttribute("transform",m)},s.prototype.scale=function(a,d){d===void 0&&(d=a),this.__addTransform(n("scale({x},{y})",{x:a,y:d}))},s.prototype.rotate=function(a){var d=180*a/Math.PI;this.__addTransform(n("rotate({angle},{cx},{cy})",{angle:d,cx:0,cy:0}))},s.prototype.translate=function(a,d){this.__addTransform(n("translate({x},{y})",{x:a,y:d}))},s.prototype.transform=function(a,d,x,m,v,E){this.__addTransform(n("matrix({a},{b},{c},{d},{e},{f})",{a,b:d,c:x,d:m,e:v,f:E}))},s.prototype.beginPath=function(){var a,d;this.__currentDefaultPath="",this.__currentPosition={},a=this.__createElement("path",{},!0),d=this.__closestGroupOrSvg(),d.appendChild(a),this.__currentElement=a},s.prototype.__applyCurrentDefaultPath=function(){var a=this.__currentElement;a.nodeName==="path"?a.setAttribute("d",this.__currentDefaultPath):console.error("Attempted to apply path command to node",a.nodeName)},s.prototype.__addPathCommand=function(a){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=a},s.prototype.moveTo=function(a,d){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.__currentPosition={x:a,y:d},this.__addPathCommand(n("M {x} {y}",{x:a,y:d}))},s.prototype.closePath=function(){this.__currentDefaultPath&&this.__addPathCommand("Z")},s.prototype.lineTo=function(a,d){this.__currentPosition={x:a,y:d},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(n("L {x} {y}",{x:a,y:d})):this.__addPathCommand(n("M {x} {y}",{x:a,y:d}))},s.prototype.bezierCurveTo=function(a,d,x,m,v,E){this.__currentPosition={x:v,y:E},this.__addPathCommand(n("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:a,cp1y:d,cp2x:x,cp2y:m,x:v,y:E}))},s.prototype.quadraticCurveTo=function(a,d,x,m){this.__currentPosition={x,y:m},this.__addPathCommand(n("Q {cpx} {cpy} {x} {y}",{cpx:a,cpy:d,x,y:m}))};var h=function(a){var d=Math.sqrt(a[0]*a[0]+a[1]*a[1]);return[a[0]/d,a[1]/d]};s.prototype.arcTo=function(a,d,x,m,v){var E=this.__currentPosition&&this.__currentPosition.x,p=this.__currentPosition&&this.__currentPosition.y;if(E!==void 0&&p!==void 0){if(v<0)throw new Error("IndexSizeError: The radius provided ("+v+") is negative.");if(E===a&&p===d||a===x&&d===m||v===0)return void this.lineTo(a,d);var b=h([E-a,p-d]),C=h([x-a,m-d]);if(b[0]*C[1]==b[1]*C[0])return void this.lineTo(a,d);var B=b[0]*C[0]+b[1]*C[1],w=Math.acos(Math.abs(B)),F=h([b[0]+C[0],b[1]+C[1]]),O=v/Math.sin(w/2),H=a+O*F[0],g=d+O*F[1],y=[-b[1],b[0]],_=[C[1],-C[0]],A=function(U){var $=U[0];return U[1]>=0?Math.acos($):-Math.acos($)},R=A(y),W=A(_);this.lineTo(H+y[0]*v,g+y[1]*v),this.arc(H,g,v,R,W)}},s.prototype.stroke=function(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")},s.prototype.fill=function(){this.__currentElement.nodeName==="path"&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")},s.prototype.rect=function(a,d,x,m){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(a,d),this.lineTo(a+x,d),this.lineTo(a+x,d+m),this.lineTo(a,d+m),this.lineTo(a,d),this.closePath()},s.prototype.fillRect=function(a,d,x,m){var v,E;v=this.__createElement("rect",{x:a,y:d,width:x,height:m,"shape-rendering":"crispEdges"},!0),E=this.__closestGroupOrSvg(),E.appendChild(v),this.__currentElement=v,this.__applyStyleToCurrentElement("fill")},s.prototype.strokeRect=function(a,d,x,m){var v,E;v=this.__createElement("rect",{x:a,y:d,width:x,height:m},!0),E=this.__closestGroupOrSvg(),E.appendChild(v),this.__currentElement=v,this.__applyStyleToCurrentElement("stroke")},s.prototype.__clearCanvas=function(){for(var a=this.__closestGroupOrSvg(),d=a.getAttribute("transform"),x=this.__root.childNodes[1],m=x.childNodes,v=m.length-1;v>=0;v--)m[v]&&x.removeChild(m[v]);this.__currentElement=x,this.__groupStack=[],d&&this.__addTransform(d)},s.prototype.clearRect=function(a,d,x,m){if(a===0&&d===0&&x===this.width&&m===this.height)return void this.__clearCanvas();var v,E=this.__closestGroupOrSvg();v=this.__createElement("rect",{x:a,y:d,width:x,height:m,fill:"#FFFFFF"},!0),E.appendChild(v)},s.prototype.createLinearGradient=function(a,d,x,m){var v=this.__createElement("linearGradient",{id:r(this.__ids),x1:a+"px",x2:x+"px",y1:d+"px",y2:m+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(v),new f(v,this)},s.prototype.createRadialGradient=function(a,d,x,m,v,E){var p=this.__createElement("radialGradient",{id:r(this.__ids),cx:m+"px",cy:v+"px",r:E+"px",fx:a+"px",fy:d+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(p),new f(p,this)},s.prototype.__parseFont=function(){var a=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-,\'\"\sa-z0-9]+?)\s*$/i,d=a.exec(this.font),x={style:d[1]||"normal",size:d[4]||"10px",family:d[6]||"sans-serif",weight:d[3]||"normal",decoration:d[2]||"normal",href:null};return this.__fontUnderline==="underline"&&(x.decoration="underline"),this.__fontHref&&(x.href=this.__fontHref),x},s.prototype.__wrapTextLink=function(a,d){if(a.href){var x=this.__createElement("a");return x.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a.href),x.appendChild(d),x}return d},s.prototype.__applyText=function(a,d,x,m){var v=this.__parseFont(),E=this.__closestGroupOrSvg(),p=this.__createElement("text",{"font-family":v.family,"font-size":v.size,"font-style":v.style,"font-weight":v.weight,"text-decoration":v.decoration,x:d,y:x,"text-anchor":i(this.textAlign),"dominant-baseline":o(this.textBaseline)},!0);p.appendChild(this.__document.createTextNode(a)),this.__currentElement=p,this.__applyStyleToCurrentElement(m),E.appendChild(this.__wrapTextLink(v,p))},s.prototype.fillText=function(a,d,x){this.__applyText(a,d,x,"fill")},s.prototype.strokeText=function(a,d,x){this.__applyText(a,d,x,"stroke")},s.prototype.measureText=function(a){return this.__ctx.font=this.font,this.__ctx.measureText(a)},s.prototype.arc=function(a,d,x,m,v,E){if(m!==v){m%=2*Math.PI,v%=2*Math.PI,m===v&&(v=(v+2*Math.PI-.001*(E?-1:1))%(2*Math.PI));var p=a+x*Math.cos(v),b=d+x*Math.sin(v),C=a+x*Math.cos(m),B=d+x*Math.sin(m),w=E?0:1,F=0,O=v-m;O<0&&(O+=2*Math.PI),F=E?O>Math.PI?0:1:O>Math.PI?1:0,this.lineTo(C,B),this.__addPathCommand(n("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:x,ry:x,xAxisRotation:0,largeArcFlag:F,sweepFlag:w,endX:p,endY:b})),this.__currentPosition={x:p,y:b}}},s.prototype.clip=function(){var a=this.__closestGroupOrSvg(),d=this.__createElement("clipPath"),x=r(this.__ids),m=this.__createElement("g");this.__applyCurrentDefaultPath(),a.removeChild(this.__currentElement),d.setAttribute("id",x),d.appendChild(this.__currentElement),this.__defs.appendChild(d),a.setAttribute("clip-path",n("url(#{id})",{id:x})),a.appendChild(m),this.__currentElement=m},s.prototype.drawImage=function(){var a,d,x,m,v,E,p,b,C,B,w,F,O,H,g=Array.prototype.slice.call(arguments),y=g[0],_=0,A=0;if(g.length===3)a=g[1],d=g[2],v=y.width,E=y.height,x=v,m=E;else if(g.length===5)a=g[1],d=g[2],x=g[3],m=g[4],v=y.width,E=y.height;else{if(g.length!==9)throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);_=g[1],A=g[2],v=g[3],E=g[4],a=g[5],d=g[6],x=g[7],m=g[8]}p=this.__closestGroupOrSvg(),this.__currentElement;var R="translate("+a+", "+d+")";if(y instanceof s){if(b=y.getSvg().cloneNode(!0),b.childNodes&&b.childNodes.length>1){for(C=b.childNodes[0];C.childNodes.length;)H=C.childNodes[0].getAttribute("id"),this.__ids[H]=H,this.__defs.appendChild(C.childNodes[0]);if(B=b.childNodes[1]){var W,U=B.getAttribute("transform");W=U?U+" "+R:R,B.setAttribute("transform",W),p.appendChild(B)}}}else y.nodeName!=="CANVAS"&&y.nodeName!=="IMG"||(w=this.__createElement("image"),w.setAttribute("width",x),w.setAttribute("height",m),w.setAttribute("preserveAspectRatio","none"),w.setAttribute("opacity",this.globalAlpha),(_||A||v!==y.width||E!==y.height)&&(F=this.__document.createElement("canvas"),F.width=x,F.height=m,O=F.getContext("2d"),O.drawImage(y,_,A,v,E,0,0,x,m),y=F),w.setAttribute("transform",R),w.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",y.nodeName==="CANVAS"?y.toDataURL():y.originalSrc),p.appendChild(w))},s.prototype.createPattern=function(a,d){var x,m=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),v=r(this.__ids);return m.setAttribute("id",v),m.setAttribute("width",a.width),m.setAttribute("height",a.height),a.nodeName==="CANVAS"||a.nodeName==="IMG"?(x=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),x.setAttribute("width",a.width),x.setAttribute("height",a.height),x.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a.nodeName==="CANVAS"?a.toDataURL():a.getAttribute("src")),m.appendChild(x),this.__defs.appendChild(m)):a instanceof s&&(m.appendChild(a.__root.childNodes[1]),this.__defs.appendChild(m)),new u(m,this)},s.prototype.setLineDash=function(a){a&&a.length>0?this.lineDash=a.join(","):this.lineDash=null},s.prototype.drawFocusRing=function(){},s.prototype.createImageData=function(){},s.prototype.getImageData=function(){},s.prototype.putImageData=function(){},s.prototype.globalCompositeOperation=function(){},s.prototype.setTransform=function(){},typeof window=="object"&&(window.C2S=s),e.exports=s})(),(function(){function n(g,y,_){if(this.mode=p.MODE_8BIT_BYTE,this.data=g,this.parsedData=[],y){for(var A=0,R=this.data.length;A<R;A++){var W=[],U=this.data.charCodeAt(A);W[0]=U,this.parsedData.push(W)}this.parsedData=Array.prototype.concat.apply([],this.parsedData)}else this.parsedData=(function($){for(var k=[],ee=0;ee<$.length;ee++){var Q=$.charCodeAt(ee);Q<128?k.push(Q):Q<2048?k.push(192|Q>>6,128|63&Q):Q<55296||Q>=57344?k.push(224|Q>>12,128|Q>>6&63,128|63&Q):(ee++,Q=65536+((1023&Q)<<10|1023&$.charCodeAt(ee)),k.push(240|Q>>18,128|Q>>12&63,128|Q>>6&63,128|63&Q))}return k})(g);this.parsedData=Array.prototype.concat.apply([],this.parsedData),_||this.parsedData.length==this.data.length||(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function r(g,y){this.typeNumber=g,this.errorCorrectLevel=y,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function i(g,y){if(g.length==c)throw new Error(g.length+"/"+y);for(var _=0;_<g.length&&g[_]==0;)_++;this.num=new Array(g.length-_+y);for(var A=0;A<g.length-_;A++)this.num[A]=g[A+_]}function o(g,y){this.totalCount=g,this.dataCount=y}function l(){this.buffer=[],this.length=0}function s(){var g=!1,y=navigator.userAgent;if(/android/i.test(y)){g=!0;var _=y.toString().match(/android ([0-9]\.[0-9])/i);_&&_[1]&&(g=parseFloat(_[1]))}return g}function f(g,y){for(var _=y.correctLevel,A=1,R=u(g),W=0,U=O.length;W<U;W++){var $=0;switch(_){case b.L:$=O[W][0];break;case b.M:$=O[W][1];break;case b.Q:$=O[W][2];break;case b.H:$=O[W][3]}if(R<=$)break;A++}if(A>O.length)throw new Error("Too long data. the CorrectLevel."+["M","L","H","Q"][_]+" limit length is "+$);return y.version!=0&&(A<=y.version?(A=y.version,y.runVersion=A):(console.warn("QR Code version "+y.version+" too small, run version use "+A),y.runVersion=A)),A}function u(g){return encodeURI(g).toString().replace(/\%[0-9a-fA-F]{2}/g,"a").length}var c,h,a=typeof pn=="object"&&pn&&pn.Object===Object&&pn,d=typeof self=="object"&&self&&self.Object===Object&&self,x=a||d||Function("return this")(),m=t&&!t.nodeType&&t,v=m&&!0&&e&&!e.nodeType&&e,E=x.QRCode;n.prototype={getLength:function(g){return this.parsedData.length},write:function(g){for(var y=0,_=this.parsedData.length;y<_;y++)g.put(this.parsedData[y],8)}},r.prototype={addData:function(g,y,_){var A=new n(g,y,_);this.dataList.push(A),this.dataCache=null},isDark:function(g,y){if(g<0||this.moduleCount<=g||y<0||this.moduleCount<=y)throw new Error(g+","+y);return this.modules[g][y][0]},getEye:function(g,y){if(g<0||this.moduleCount<=g||y<0||this.moduleCount<=y)throw new Error(g+","+y);var _=this.modules[g][y];if(_[1]){var A="P"+_[1]+"_"+_[2];return _[2]=="A"&&(A="A"+_[1]),{isDark:_[0],type:A}}return null},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(g,y){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var _=0;_<this.moduleCount;_++){this.modules[_]=new Array(this.moduleCount);for(var A=0;A<this.moduleCount;A++)this.modules[_][A]=[]}this.setupPositionProbePattern(0,0,"TL"),this.setupPositionProbePattern(this.moduleCount-7,0,"BL"),this.setupPositionProbePattern(0,this.moduleCount-7,"TR"),this.setupPositionAdjustPattern("A"),this.setupTimingPattern(),this.setupTypeInfo(g,y),this.typeNumber>=7&&this.setupTypeNumber(g),this.dataCache==null&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,y)},setupPositionProbePattern:function(g,y,_){for(var A=-1;A<=7;A++)if(!(g+A<=-1||this.moduleCount<=g+A))for(var R=-1;R<=7;R++)y+R<=-1||this.moduleCount<=y+R||(0<=A&&A<=6&&(R==0||R==6)||0<=R&&R<=6&&(A==0||A==6)||2<=A&&A<=4&&2<=R&&R<=4?(this.modules[g+A][y+R][0]=!0,this.modules[g+A][y+R][2]=_,this.modules[g+A][y+R][1]=A==-0||R==-0||A==6||R==6?"O":"I"):this.modules[g+A][y+R][0]=!1)},getBestMaskPattern:function(){for(var g=0,y=0,_=0;_<8;_++){this.makeImpl(!0,_);var A=B.getLostPoint(this);(_==0||g>A)&&(g=A,y=_)}return y},createMovieClip:function(g,y,_){var A=g.createEmptyMovieClip(y,_);this.make();for(var R=0;R<this.modules.length;R++)for(var W=1*R,U=0;U<this.modules[R].length;U++){var $=1*U,k=this.modules[R][U][0];k&&(A.beginFill(0,100),A.moveTo($,W),A.lineTo($+1,W),A.lineTo($+1,W+1),A.lineTo($,W+1),A.endFill())}return A},setupTimingPattern:function(){for(var g=8;g<this.moduleCount-8;g++)this.modules[g][6][0]==null&&(this.modules[g][6][0]=g%2==0);for(var y=8;y<this.moduleCount-8;y++)this.modules[6][y][0]==null&&(this.modules[6][y][0]=y%2==0)},setupPositionAdjustPattern:function(g){for(var y=B.getPatternPosition(this.typeNumber),_=0;_<y.length;_++)for(var A=0;A<y.length;A++){var R=y[_],W=y[A];if(this.modules[R][W][0]==null)for(var U=-2;U<=2;U++)for(var $=-2;$<=2;$++)U==-2||U==2||$==-2||$==2||U==0&&$==0?(this.modules[R+U][W+$][0]=!0,this.modules[R+U][W+$][2]=g,this.modules[R+U][W+$][1]=U==-2||$==-2||U==2||$==2?"O":"I"):this.modules[R+U][W+$][0]=!1}},setupTypeNumber:function(g){for(var y=B.getBCHTypeNumber(this.typeNumber),_=0;_<18;_++){var A=!g&&(y>>_&1)==1;this.modules[Math.floor(_/3)][_%3+this.moduleCount-8-3][0]=A}for(var _=0;_<18;_++){var A=!g&&(y>>_&1)==1;this.modules[_%3+this.moduleCount-8-3][Math.floor(_/3)][0]=A}},setupTypeInfo:function(g,y){for(var _=this.errorCorrectLevel<<3|y,A=B.getBCHTypeInfo(_),R=0;R<15;R++){var W=!g&&(A>>R&1)==1;R<6?this.modules[R][8][0]=W:R<8?this.modules[R+1][8][0]=W:this.modules[this.moduleCount-15+R][8][0]=W}for(var R=0;R<15;R++){var W=!g&&(A>>R&1)==1;R<8?this.modules[8][this.moduleCount-R-1][0]=W:R<9?this.modules[8][15-R-1+1][0]=W:this.modules[8][15-R-1][0]=W}this.modules[this.moduleCount-8][8][0]=!g},mapData:function(g,y){for(var _=-1,A=this.moduleCount-1,R=7,W=0,U=this.moduleCount-1;U>0;U-=2)for(U==6&&U--;;){for(var $=0;$<2;$++)if(this.modules[A][U-$][0]==null){var k=!1;W<g.length&&(k=(g[W]>>>R&1)==1);var ee=B.getMask(y,A,U-$);ee&&(k=!k),this.modules[A][U-$][0]=k,R--,R==-1&&(W++,R=7)}if((A+=_)<0||this.moduleCount<=A){A-=_,_=-_;break}}}},r.PAD0=236,r.PAD1=17,r.createData=function(g,y,_){for(var A=o.getRSBlocks(g,y),R=new l,W=0;W<_.length;W++){var U=_[W];R.put(U.mode,4),R.put(U.getLength(),B.getLengthInBits(U.mode,g)),U.write(R)}for(var $=0,W=0;W<A.length;W++)$+=A[W].dataCount;if(R.getLengthInBits()>8*$)throw new Error("code length overflow. ("+R.getLengthInBits()+">"+8*$+")");for(R.getLengthInBits()+4<=8*$&&R.put(0,4);R.getLengthInBits()%8!=0;)R.putBit(!1);for(;!(R.getLengthInBits()>=8*$||(R.put(r.PAD0,8),R.getLengthInBits()>=8*$));)R.put(r.PAD1,8);return r.createBytes(R,A)},r.createBytes=function(g,y){for(var _=0,A=0,R=0,W=new Array(y.length),U=new Array(y.length),$=0;$<y.length;$++){var k=y[$].dataCount,ee=y[$].totalCount-k;A=Math.max(A,k),R=Math.max(R,ee),W[$]=new Array(k);for(var Q=0;Q<W[$].length;Q++)W[$][Q]=255&g.buffer[Q+_];_+=k;var L=B.getErrorCorrectPolynomial(ee),P=new i(W[$],L.getLength()-1),z=P.mod(L);U[$]=new Array(L.getLength()-1);for(var Q=0;Q<U[$].length;Q++){var I=Q+z.getLength()-U[$].length;U[$][Q]=I>=0?z.get(I):0}}for(var G=0,Q=0;Q<y.length;Q++)G+=y[Q].totalCount;for(var J=new Array(G),D=0,Q=0;Q<A;Q++)for(var $=0;$<y.length;$++)Q<W[$].length&&(J[D++]=W[$][Q]);for(var Q=0;Q<R;Q++)for(var $=0;$<y.length;$++)Q<U[$].length&&(J[D++]=U[$][Q]);return J};for(var p={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},b={L:1,M:0,Q:3,H:2},C={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},B={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(g){for(var y=g<<10;B.getBCHDigit(y)-B.getBCHDigit(B.G15)>=0;)y^=B.G15<<B.getBCHDigit(y)-B.getBCHDigit(B.G15);return(g<<10|y)^B.G15_MASK},getBCHTypeNumber:function(g){for(var y=g<<12;B.getBCHDigit(y)-B.getBCHDigit(B.G18)>=0;)y^=B.G18<<B.getBCHDigit(y)-B.getBCHDigit(B.G18);return g<<12|y},getBCHDigit:function(g){for(var y=0;g!=0;)y++,g>>>=1;return y},getPatternPosition:function(g){return B.PATTERN_POSITION_TABLE[g-1]},getMask:function(g,y,_){switch(g){case C.PATTERN000:return(y+_)%2==0;case C.PATTERN001:return y%2==0;case C.PATTERN010:return _%3==0;case C.PATTERN011:return(y+_)%3==0;case C.PATTERN100:return(Math.floor(y/2)+Math.floor(_/3))%2==0;case C.PATTERN101:return y*_%2+y*_%3==0;case C.PATTERN110:return(y*_%2+y*_%3)%2==0;case C.PATTERN111:return(y*_%3+(y+_)%2)%2==0;default:throw new Error("bad maskPattern:"+g)}},getErrorCorrectPolynomial:function(g){for(var y=new i([1],0),_=0;_<g;_++)y=y.multiply(new i([1,w.gexp(_)],0));return y},getLengthInBits:function(g,y){if(1<=y&&y<10)switch(g){case p.MODE_NUMBER:return 10;case p.MODE_ALPHA_NUM:return 9;case p.MODE_8BIT_BYTE:case p.MODE_KANJI:return 8;default:throw new Error("mode:"+g)}else if(y<27)switch(g){case p.MODE_NUMBER:return 12;case p.MODE_ALPHA_NUM:return 11;case p.MODE_8BIT_BYTE:return 16;case p.MODE_KANJI:return 10;default:throw new Error("mode:"+g)}else{if(!(y<41))throw new Error("type:"+y);switch(g){case p.MODE_NUMBER:return 14;case p.MODE_ALPHA_NUM:return 13;case p.MODE_8BIT_BYTE:return 16;case p.MODE_KANJI:return 12;default:throw new Error("mode:"+g)}}},getLostPoint:function(g){for(var y=g.getModuleCount(),_=0,A=0;A<y;A++)for(var R=0;R<y;R++){for(var W=0,U=g.isDark(A,R),$=-1;$<=1;$++)if(!(A+$<0||y<=A+$))for(var k=-1;k<=1;k++)R+k<0||y<=R+k||$==0&&k==0||U==g.isDark(A+$,R+k)&&W++;W>5&&(_+=3+W-5)}for(var A=0;A<y-1;A++)for(var R=0;R<y-1;R++){var ee=0;g.isDark(A,R)&&ee++,g.isDark(A+1,R)&&ee++,g.isDark(A,R+1)&&ee++,g.isDark(A+1,R+1)&&ee++,ee!=0&&ee!=4||(_+=3)}for(var A=0;A<y;A++)for(var R=0;R<y-6;R++)g.isDark(A,R)&&!g.isDark(A,R+1)&&g.isDark(A,R+2)&&g.isDark(A,R+3)&&g.isDark(A,R+4)&&!g.isDark(A,R+5)&&g.isDark(A,R+6)&&(_+=40);for(var R=0;R<y;R++)for(var A=0;A<y-6;A++)g.isDark(A,R)&&!g.isDark(A+1,R)&&g.isDark(A+2,R)&&g.isDark(A+3,R)&&g.isDark(A+4,R)&&!g.isDark(A+5,R)&&g.isDark(A+6,R)&&(_+=40);for(var Q=0,R=0;R<y;R++)for(var A=0;A<y;A++)g.isDark(A,R)&&Q++;return _+=Math.abs(100*Q/y/y-50)/5*10}},w={glog:function(g){if(g<1)throw new Error("glog("+g+")");return w.LOG_TABLE[g]},gexp:function(g){for(;g<0;)g+=255;for(;g>=256;)g-=255;return w.EXP_TABLE[g]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},F=0;F<8;F++)w.EXP_TABLE[F]=1<<F;for(var F=8;F<256;F++)w.EXP_TABLE[F]=w.EXP_TABLE[F-4]^w.EXP_TABLE[F-5]^w.EXP_TABLE[F-6]^w.EXP_TABLE[F-8];for(var F=0;F<255;F++)w.LOG_TABLE[w.EXP_TABLE[F]]=F;i.prototype={get:function(g){return this.num[g]},getLength:function(){return this.num.length},multiply:function(g){for(var y=new Array(this.getLength()+g.getLength()-1),_=0;_<this.getLength();_++)for(var A=0;A<g.getLength();A++)y[_+A]^=w.gexp(w.glog(this.get(_))+w.glog(g.get(A)));return new i(y,0)},mod:function(g){if(this.getLength()-g.getLength()<0)return this;for(var y=w.glog(this.get(0))-w.glog(g.get(0)),_=new Array(this.getLength()),A=0;A<this.getLength();A++)_[A]=this.get(A);for(var A=0;A<g.getLength();A++)_[A]^=w.gexp(w.glog(g.get(A))+y);return new i(_,0).mod(g)}},o.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],o.getRSBlocks=function(g,y){var _=o.getRsBlockTable(g,y);if(_==c)throw new Error("bad rs block @ typeNumber:"+g+"/errorCorrectLevel:"+y);for(var A=_.length/3,R=[],W=0;W<A;W++)for(var U=_[3*W+0],$=_[3*W+1],k=_[3*W+2],ee=0;ee<U;ee++)R.push(new o($,k));return R},o.getRsBlockTable=function(g,y){switch(y){case b.L:return o.RS_BLOCK_TABLE[4*(g-1)+0];case b.M:return o.RS_BLOCK_TABLE[4*(g-1)+1];case b.Q:return o.RS_BLOCK_TABLE[4*(g-1)+2];case b.H:return o.RS_BLOCK_TABLE[4*(g-1)+3];default:return c}},l.prototype={get:function(g){var y=Math.floor(g/8);return(this.buffer[y]>>>7-g%8&1)==1},put:function(g,y){for(var _=0;_<y;_++)this.putBit((g>>>y-_-1&1)==1)},getLengthInBits:function(){return this.length},putBit:function(g){var y=Math.floor(this.length/8);this.buffer.length<=y&&this.buffer.push(0),g&&(this.buffer[y]|=128>>>this.length%8),this.length++}};var O=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],H=(function(){return typeof CanvasRenderingContext2D<"u"})()?(function(){function g(){if(this._htOption.drawer=="svg"){var W=this._oContext.getSerializedSvg(!0);this.dataURL=W,this._el.innerHTML=W}else{(function($,k,ee,Q){var L=document.createElement("canvas");L.width=ee,L.height=Q,L.getContext("2d").drawImage($,0,0,ee,Q),$.width=ee,$.height=Q,k.drawImage(L,0,0)})(this._elCanvas,this._oContext,this._htOption.width+2*this._htOption.quietZone,this._htOption.height+this._htOption.titleHeight+2*this._htOption.quietZone);try{var U=this._elCanvas.toDataURL("image/png");this.dataURL=U}catch($){console.error($)}}this._htOption.onRenderingEnd&&(this.dataURL||console.error("Can not get base64 data, please check: 1. Published the page and image to the server 2. The image request support CORS 3. Configured `crossOrigin:'anonymous'` option"),this._htOption.onRenderingEnd(this._htOption,this.dataURL))}function y(W,U){var $=this;if($._fFail=U,$._fSuccess=W,$._bSupportDataURI===null){var k=document.createElement("img"),ee=function(){$._bSupportDataURI=!1,$._fFail&&$._fFail.call($)},Q=function(){$._bSupportDataURI=!0,$._fSuccess&&$._fSuccess.call($)};k.onabort=ee,k.onerror=ee,k.onload=Q,k.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="}else $._bSupportDataURI===!0&&$._fSuccess?$._fSuccess.call($):$._bSupportDataURI===!1&&$._fFail&&$._fFail.call($)}if(x._android&&x._android<=2.1){var _=1/window.devicePixelRatio,A=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(W,U,$,k,ee,Q,L,P,z){if("nodeName"in W&&/img/i.test(W.nodeName))for(var I=arguments.length-1;I>=1;I--)arguments[I]=arguments[I]*_;else P===void 0&&(arguments[1]*=_,arguments[2]*=_,arguments[3]*=_,arguments[4]*=_);A.apply(this,arguments)}}var R=function(W,U){this._bIsPainted=!1,this._android=s(),this._el=W,this._htOption=U,this._htOption.drawer=="svg"?(this._oContext={},this._elCanvas={}):(this._elCanvas=document.createElement("canvas"),this._el.appendChild(this._elCanvas),this._oContext=this._elCanvas.getContext("2d")),this._bSupportDataURI=null,this.dataURL=null};return R.prototype.draw=function(W){function U(){k.quietZone>0&&k.quietZoneColor&&(I.lineWidth=0,I.fillStyle=k.quietZoneColor,I.fillRect(0,0,G._elCanvas.width,k.quietZone),I.fillRect(0,k.quietZone,k.quietZone,G._elCanvas.height-2*k.quietZone),I.fillRect(G._elCanvas.width-k.quietZone,k.quietZone,k.quietZone,G._elCanvas.height-2*k.quietZone),I.fillRect(0,G._elCanvas.height-k.quietZone,G._elCanvas.width,k.quietZone))}function $(D){function q(te){var Y=Math.round(k.width/3.5),se=Math.round(k.height/3.5);Y!==se&&(Y=se),k.logoMaxWidth?Y=Math.round(k.logoMaxWidth):k.logoWidth&&(Y=Math.round(k.logoWidth)),k.logoMaxHeight?se=Math.round(k.logoMaxHeight):k.logoHeight&&(se=Math.round(k.logoHeight));var ie,ae;te.naturalWidth===void 0?(ie=te.width,ae=te.height):(ie=te.naturalWidth,ae=te.naturalHeight),(k.logoMaxWidth||k.logoMaxHeight)&&(k.logoMaxWidth&&ie<=Y&&(Y=ie),k.logoMaxHeight&&ae<=se&&(se=ae),ie<=Y&&ae<=se&&(Y=ie,se=ae));var ce=(k.realWidth-Y)/2,he=(k.calculatedQRHeight-se)/2+k.titleHeight+k.quietZone,ge=Math.min(Y/ie,se/ae),ye=ie*ge,De=ae*ge;(k.logoMaxWidth||k.logoMaxHeight)&&(Y=ye,se=De,ce=(k.realWidth-Y)/2,he=(k.realHeight-se)/2),k.logoBackgroundTransparent||(I.fillStyle=k.logoBackgroundColor,I.fillRect(ce,he,Y,se));var Oe=I.imageSmoothingQuality,He=I.imageSmoothingEnabled;I.imageSmoothingEnabled=!0,I.imageSmoothingQuality="high",I.drawImage(te,ce+(Y-ye)/2,he+(se-De)/2,ye,De),I.imageSmoothingEnabled=He,I.imageSmoothingQuality=Oe,U(),re._bIsPainted=!0,re.makeImage()}k.onRenderingStart&&k.onRenderingStart(k);for(var V=0;V<ee;V++)for(var X=0;X<ee;X++){var oe=X*Q+k.quietZone,S=V*L+k.quietZone,T=D.isDark(V,X),N=D.getEye(V,X),j=k.dotScale;I.lineWidth=0;var K,Z;N?(K=k[N.type]||k[N.type.substring(0,2)]||k.colorDark,Z=k.colorLight):k.backgroundImage?(Z="rgba(0,0,0,0)",V==6?k.autoColor?(K=k.timing_H||k.timing||k.autoColorDark,Z=k.autoColorLight):K=k.timing_H||k.timing||k.colorDark:X==6?k.autoColor?(K=k.timing_V||k.timing||k.autoColorDark,Z=k.autoColorLight):K=k.timing_V||k.timing||k.colorDark:k.autoColor?(K=k.autoColorDark,Z=k.autoColorLight):K=k.colorDark):(K=V==6?k.timing_H||k.timing||k.colorDark:X==6&&(k.timing_V||k.timing)||k.colorDark,Z=k.colorLight),I.strokeStyle=T?K:Z,I.fillStyle=T?K:Z,N?(j=N.type=="AO"?k.dotScaleAO:N.type=="AI"?k.dotScaleAI:1,k.backgroundImage&&k.autoColor?(K=(N.type=="AO"?k.AI:k.AO)||k.autoColorDark,Z=k.autoColorLight):K=(N.type=="AO"?k.AI:k.AO)||K,T=N.isDark,I.fillRect(Math.ceil(oe+Q*(1-j)/2),Math.ceil(k.titleHeight+S+L*(1-j)/2),Math.ceil(Q*j),Math.ceil(L*j))):V==6?(j=k.dotScaleTiming_H,I.fillRect(Math.ceil(oe+Q*(1-j)/2),Math.ceil(k.titleHeight+S+L*(1-j)/2),Math.ceil(Q*j),Math.ceil(L*j))):X==6?(j=k.dotScaleTiming_V,I.fillRect(Math.ceil(oe+Q*(1-j)/2),Math.ceil(k.titleHeight+S+L*(1-j)/2),Math.ceil(Q*j),Math.ceil(L*j))):(k.backgroundImage,I.fillRect(Math.ceil(oe+Q*(1-j)/2),Math.ceil(k.titleHeight+S+L*(1-j)/2),Math.ceil(Q*j),Math.ceil(L*j))),k.dotScale==1||N||(I.strokeStyle=k.colorLight)}if(k.title&&(I.fillStyle=k.titleBackgroundColor,I.fillRect(k.quietZone,k.quietZone,k.calculatedQRWidth,k.titleHeight),I.font=k.titleFont,I.fillStyle=k.titleColor,I.textAlign="center",I.fillText(k.title,this._elCanvas.width/2,+k.quietZone+k.titleTop)),k.subTitle&&(I.font=k.subTitleFont,I.fillStyle=k.subTitleColor,I.fillText(k.subTitle,this._elCanvas.width/2,+k.quietZone+k.subTitleTop)),k.logo){var ne=new Image,re=this;ne.onload=function(){q(ne)},ne.onerror=function(te){console.error(te)},k.crossOrigin!=null&&(ne.crossOrigin=k.crossOrigin),ne.originalSrc=k.logo,ne.src=k.logo}else U(),this._bIsPainted=!0,this.makeImage()}var k=this._htOption,ee=W.getModuleCount(),Q=k.width/ee,L=k.height/ee;Q<=1&&(Q=1),L<=1&&(L=1),Q=Math.round(Q),L=Math.round(L);var P=Q*ee,z=L*ee;k.heightWithTitle=z+k.titleHeight,k.realHeight=k.heightWithTitle+2*k.quietZone,k.realWidth=P+2*k.quietZone,k.calculatedQRWidth=P,k.calculatedQRHeight=z,this._elCanvas.width=k.realWidth,this._elCanvas.height=k.realHeight,k.drawer!="canvas"&&(this._oContext=new C2S(k.width+2*this._htOption.quietZone,k.height+k.titleHeight+2*this._htOption.quietZone,k.realWidth,k.realHeight)),this.clear();var I=this._oContext;I.lineWidth=0,I.fillStyle=k.colorLight,I.fillRect(0,0,this._elCanvas.width,this._elCanvas.height),I.clearRect(k.quietZone,k.quietZone,k.calculatedQRWidth,k.titleHeight);var G=this;if(k.backgroundImage){var J=new Image;J.onload=function(){I.globalAlpha=1,I.globalAlpha=k.backgroundImageAlpha;var D=I.imageSmoothingQuality,q=I.imageSmoothingEnabled;I.imageSmoothingEnabled=!0,I.imageSmoothingQuality="high",(k.title||k.subTitle)&&k.titleHeight?I.drawImage(J,k.quietZone,k.quietZone+k.titleHeight,k.width,k.height):I.drawImage(J,0,0,k.realWidth,k.realHeight),I.imageSmoothingEnabled=q,I.imageSmoothingQuality=D,I.globalAlpha=1,$.call(G,W)},k.crossOrigin!=null&&(J.crossOrigin=k.crossOrigin),J.originalSrc=k.backgroundImage,J.src=k.backgroundImage}else $.call(G,W)},R.prototype.makeImage=function(){this._bIsPainted&&y.call(this,g)},R.prototype.isPainted=function(){return this._bIsPainted},R.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},R.prototype.remove=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1,this._el.innerHTML=""},R.prototype.round=function(W){return W&&Math.floor(1e3*W)/1e3},R})():(function(){var g=function(y,_){this._el=y,this._htOption=_};return g.prototype.draw=function(y){var _=this._htOption,A=this._el,R=y.getModuleCount(),W=_.width/R,U=_.height/R;W<=1&&(W=1),U<=1&&(U=1);var $=W*R,k=U*R;_.heightWithTitle=k+_.titleHeight,_.realHeight=_.heightWithTitle+2*_.quietZone,_.realWidth=$+2*_.quietZone;var ee=[],Q="",L=Math.round(W*_.dotScale),P=Math.round(U*_.dotScale);L<4&&(L=4,P=4);var z=_.colorDark,I=_.colorLight;if(_.backgroundImage){_.autoColor?(_.colorDark="rgba(0, 0, 0, .6);filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#99000000', EndColorStr='#99000000');",_.colorLight="rgba(255, 255, 255, .7);filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#B2FFFFFF', EndColorStr='#B2FFFFFF');"):_.colorLight="rgba(0,0,0,0)";var G='<div style="display:inline-block; z-index:-10;position:absolute;"><img src="'+_.backgroundImage+'" width="'+(_.width+2*_.quietZone)+'" height="'+_.realHeight+'" style="opacity:'+_.backgroundImageAlpha+";filter:alpha(opacity="+100*_.backgroundImageAlpha+'); "/></div>';ee.push(G)}if(_.quietZone&&(Q="display:inline-block; width:"+(_.width+2*_.quietZone)+"px; height:"+(_.width+2*_.quietZone)+"px;background:"+_.quietZoneColor+"; text-align:center;"),ee.push('<div style="font-size:0;'+Q+'">'),ee.push('<table style="font-size:0;border:0;border-collapse:collapse; margin-top:'+_.quietZone+'px;" border="0" cellspacing="0" cellspadding="0" align="center" valign="middle">'),ee.push('<tr height="'+_.titleHeight+'" align="center"><td style="border:0;border-collapse:collapse;margin:0;padding:0" colspan="'+R+'">'),_.title){var J=_.titleColor,D=_.titleFont;ee.push('<div style="width:100%;margin-top:'+_.titleTop+"px;color:"+J+";font:"+D+";background:"+_.titleBackgroundColor+'">'+_.title+"</div>")}_.subTitle&&ee.push('<div style="width:100%;margin-top:'+(_.subTitleTop-_.titleTop)+"px;color:"+_.subTitleColor+"; font:"+_.subTitleFont+'">'+_.subTitle+"</div>"),ee.push("</td></tr>");for(var q=0;q<R;q++){ee.push('<tr style="border:0; padding:0; margin:0;" height="7">');for(var V=0;V<R;V++){var X=y.isDark(q,V),oe=y.getEye(q,V);if(oe){X=oe.isDark;var S=oe.type,T=_[S]||_[S.substring(0,2)]||z;ee.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+W+"px;height:"+U+'px;"><span style="width:'+W+"px;height:"+U+"px;background-color:"+(X?T:I)+';display:inline-block"></span></td>')}else{var N=_.colorDark;q==6?(N=_.timing_H||_.timing||z,ee.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+W+"px;height:"+U+"px;background-color:"+(X?N:I)+';"></td>')):V==6?(N=_.timing_V||_.timing||z,ee.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+W+"px;height:"+U+"px;background-color:"+(X?N:I)+';"></td>')):ee.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+W+"px;height:"+U+'px;"><div style="display:inline-block;width:'+L+"px;height:"+P+"px;background-color:"+(X?N:_.colorLight)+';"></div></td>')}}ee.push("</tr>")}if(ee.push("</table>"),ee.push("</div>"),_.logo){var j=new Image;_.crossOrigin!=null&&(j.crossOrigin=_.crossOrigin),j.src=_.logo;var K=_.width/3.5,Z=_.height/3.5;K!=Z&&(K=Z),_.logoWidth&&(K=_.logoWidth),_.logoHeight&&(Z=_.logoHeight);var ne="position:relative; z-index:1;display:table-cell;top:-"+(_.height/2+Z/2+_.quietZone)+"px;text-align:center; width:"+K+"px; height:"+Z+"px;line-height:"+K+"px; vertical-align: middle;";_.logoBackgroundTransparent||(ne+="background:"+_.logoBackgroundColor),ee.push('<div style="'+ne+'"><img src="'+_.logo+'" style="max-width: '+K+"px; max-height: "+Z+'px;" /> <div style=" display: none; width:1px;margin-left: -1px;"></div></div>')}_.onRenderingStart&&_.onRenderingStart(_),A.innerHTML=ee.join("");var re=A.childNodes[0],te=(_.width-re.offsetWidth)/2,Y=(_.heightWithTitle-re.offsetHeight)/2;te>0&&Y>0&&(re.style.margin=Y+"px "+te+"px"),this._htOption.onRenderingEnd&&this._htOption.onRenderingEnd(this._htOption,null)},g.prototype.clear=function(){this._el.innerHTML=""},g})();h=function(g,y){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:b.H,dotScale:1,dotScaleTiming:1,dotScaleTiming_H:c,dotScaleTiming_V:c,dotScaleA:1,dotScaleAO:c,dotScaleAI:c,quietZone:0,quietZoneColor:"rgba(0,0,0,0)",title:"",titleFont:"normal normal bold 16px Arial",titleColor:"#000000",titleBackgroundColor:"#ffffff",titleHeight:0,titleTop:30,subTitle:"",subTitleFont:"normal normal normal 14px Arial",subTitleColor:"#4F4F4F",subTitleTop:60,logo:c,logoWidth:c,logoHeight:c,logoMaxWidth:c,logoMaxHeight:c,logoBackgroundColor:"#ffffff",logoBackgroundTransparent:!1,PO:c,PI:c,PO_TL:c,PI_TL:c,PO_TR:c,PI_TR:c,PO_BL:c,PI_BL:c,AO:c,AI:c,timing:c,timing_H:c,timing_V:c,backgroundImage:c,backgroundImageAlpha:1,autoColor:!1,autoColorDark:"rgba(0, 0, 0, .6)",autoColorLight:"rgba(255, 255, 255, .7)",onRenderingStart:c,onRenderingEnd:c,version:0,tooltip:!1,binary:!1,drawer:"canvas",crossOrigin:null,utf8WithoutBOM:!0},typeof y=="string"&&(y={text:y}),y)for(var _ in y)this._htOption[_]=y[_];this._htOption.title||this._htOption.subTitle||(this._htOption.titleHeight=0),(this._htOption.version<0||this._htOption.version>40)&&(console.warn("QR Code version '"+this._htOption.version+"' is invalidate, reset to 0"),this._htOption.version=0),(this._htOption.dotScale<0||this._htOption.dotScale>1)&&(console.warn(this._htOption.dotScale+" , is invalidate, dotScale must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScale=1),(this._htOption.dotScaleTiming<0||this._htOption.dotScaleTiming>1)&&(console.warn(this._htOption.dotScaleTiming+" , is invalidate, dotScaleTiming must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming=1),this._htOption.dotScaleTiming_H?(this._htOption.dotScaleTiming_H<0||this._htOption.dotScaleTiming_H>1)&&(console.warn(this._htOption.dotScaleTiming_H+" , is invalidate, dotScaleTiming_H must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming_H=1):this._htOption.dotScaleTiming_H=this._htOption.dotScaleTiming,this._htOption.dotScaleTiming_V?(this._htOption.dotScaleTiming_V<0||this._htOption.dotScaleTiming_V>1)&&(console.warn(this._htOption.dotScaleTiming_V+" , is invalidate, dotScaleTiming_V must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleTiming_V=1):this._htOption.dotScaleTiming_V=this._htOption.dotScaleTiming,(this._htOption.dotScaleA<0||this._htOption.dotScaleA>1)&&(console.warn(this._htOption.dotScaleA+" , is invalidate, dotScaleA must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleA=1),this._htOption.dotScaleAO?(this._htOption.dotScaleAO<0||this._htOption.dotScaleAO>1)&&(console.warn(this._htOption.dotScaleAO+" , is invalidate, dotScaleAO must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleAO=1):this._htOption.dotScaleAO=this._htOption.dotScaleA,this._htOption.dotScaleAI?(this._htOption.dotScaleAI<0||this._htOption.dotScaleAI>1)&&(console.warn(this._htOption.dotScaleAI+" , is invalidate, dotScaleAI must greater than 0, less than or equal to 1, now reset to 1. "),this._htOption.dotScaleAI=1):this._htOption.dotScaleAI=this._htOption.dotScaleA,(this._htOption.backgroundImageAlpha<0||this._htOption.backgroundImageAlpha>1)&&(console.warn(this._htOption.backgroundImageAlpha+" , is invalidate, backgroundImageAlpha must between 0 and 1, now reset to 1. "),this._htOption.backgroundImageAlpha=1),this._htOption.quietZone||(this._htOption.quietZone=0),this._htOption.titleHeight||(this._htOption.titleHeight=0),this._htOption.width=Math.round(this._htOption.width),this._htOption.height=Math.round(this._htOption.height),this._htOption.quietZone=Math.round(this._htOption.quietZone),this._htOption.titleHeight=Math.round(this._htOption.titleHeight),typeof g=="string"&&(g=document.getElementById(g)),(!this._htOption.drawer||this._htOption.drawer!="svg"&&this._htOption.drawer!="canvas")&&(this._htOption.drawer="canvas"),this._android=s(),this._el=g,this._oQRCode=null,this._htOption._element=g;var A={};for(var _ in this._htOption)A[_]=this._htOption[_];this._oDrawing=new H(this._el,A),this._htOption.text&&this.makeCode(this._htOption.text)},h.prototype.makeCode=function(g){this._oQRCode=new r(f(g,this._htOption),this._htOption.correctLevel),this._oQRCode.addData(g,this._htOption.binary,this._htOption.utf8WithoutBOM),this._oQRCode.make(),this._htOption.tooltip&&(this._el.title=g),this._oDrawing.draw(this._oQRCode)},h.prototype.makeImage=function(){typeof this._oDrawing.makeImage=="function"&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},h.prototype.clear=function(){this._oDrawing.remove()},h.prototype.resize=function(g,y){this._oDrawing._htOption.width=g,this._oDrawing._htOption.height=y,this._oDrawing.draw(this._oQRCode)},h.prototype.download=function(g){var y=this._oDrawing.dataURL,_=document.createElement("a");if(this._htOption.drawer=="svg"){g+=".svg";var A=new Blob([y],{type:"text/plain"});if(navigator.msSaveBlob)navigator.msSaveBlob(A,g);else{_.download=g;var R=new FileReader;R.onload=function(){_.href=R.result,_.click()},R.readAsDataURL(A)}}else if(g+=".png",navigator.msSaveBlob){var W=(function(U){var $=atob(U.split(",")[1]),k=U.split(",")[0].split(":")[1].split(";")[0],ee=new ArrayBuffer($.length),Q=new Uint8Array(ee);for(F=0;F<$.length;F++)Q[F]=$.charCodeAt(F);return new Blob([ee],{type:k})})(y);navigator.msSaveBlob(W,g)}else _.download=g,_.href=y,_.click()},h.prototype.noConflict=function(){return x.QRCode===this&&(x.QRCode=E),h},h.CorrectLevel=b,v?((v.exports=h).QRCode=h,m.QRCode=h):x.QRCode=h}).call(v2)})(hr,hr.exports)),hr.exports}var m2=p2();const n4=wu(m2);export{D2 as $,ot as A,dp as B,T2 as C,w2 as D,rd as E,j2 as F,W2 as G,L2 as H,Ct as I,e4 as J,y2 as K,t4 as L,Xd as M,Z2 as N,E2 as O,ff as P,n4 as Q,qg as R,X2 as S,pu as T,Q2 as U,Y2 as V,_2 as W,J2 as X,js as Y,Me as Z,A2 as _,b2 as a,K2 as a0,xt as a1,$2 as a2,H2 as a3,V2 as a4,q2 as a5,Vs as a6,M as b,ys as c,we as d,C2 as e,S2 as f,k2 as g,O2 as h,R2 as i,F2 as j,U2 as k,G2 as l,gx as m,pe as n,_s as o,B2 as p,fu as q,ue as r,Hs as s,bm as t,bt as u,du as v,Nd as w,le as x,I2 as y,P2 as z};
|