45 lines
265 KiB
Vue
45 lines
265 KiB
Vue
function fn(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const ud="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",fd=fn(ud);function Cc(e){return!!e||e===""}function Ds(e){if(se(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=De(r)?md(r):Ds(r);if(o)for(const i in o)t[i]=o[i]}return t}else{if(De(e))return e;if(Oe(e))return e}}const dd=/;(?![^(]*\))/g,hd=/:(.+)/;function md(e){const t={};return e.split(dd).forEach(n=>{if(n){const r=n.split(hd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ls(e){let t="";if(De(e))t=e;else if(se(e))for(let n=0;n<e.length;n++){const r=Ls(e[n]);r&&(t+=r+" ")}else if(Oe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const gd="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",pd="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",vd=fn(gd),bd=fn(pd);function yd(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Jo(e[r],t[r]);return n}function Jo(e,t){if(e===t)return!0;let n=La(e),r=La(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=se(e),r=se(t),n||r)return n&&r?yd(e,t):!1;if(n=Oe(e),r=Oe(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!Jo(e[s],t[s]))return!1}}return String(e)===String(t)}function wd(e,t){return e.findIndex(n=>Jo(n,t))}const jx=e=>De(e)?e:e==null?"":se(e)||Oe(e)&&(e.toString===_c||!ue(e.toString))?JSON.stringify(e,Sc,2):String(e),Sc=(e,t)=>t&&t.__v_isRef?Sc(e,t.value):Pn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Zo(t)?{[`Set(${t.size})`]:[...t.values()]}:Oe(t)&&!se(t)&&!Tc(t)?String(t):t,Te=Object.freeze({}),nr=Object.freeze([]),it=()=>{},Ec=()=>!1,xd=/^on[^a-z]/,eo=e=>xd.test(e),Bo=e=>e.startsWith("onUpdate:"),Le=Object.assign,Ms=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cd=Object.prototype.hasOwnProperty,Ce=(e,t)=>Cd.call(e,t),se=Array.isArray,Pn=e=>Qo(e)==="[object Map]",Zo=e=>Qo(e)==="[object Set]",La=e=>e instanceof Date,ue=e=>typeof e=="function",De=e=>typeof e=="string",Ns=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",Us=e=>Oe(e)&&ue(e.then)&&ue(e.catch),_c=Object.prototype.toString,Qo=e=>_c.call(e),Hs=e=>Qo(e).slice(8,-1),Tc=e=>Qo(e)==="[object Object]",js=e=>De(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Io=fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Sd=fn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ei=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ed=/-(\w)/g,It=ei(e=>e.replace(Ed,(t,n)=>n?n.toUpperCase():"")),_d=/\B([A-Z])/g,Vt=ei(e=>e.replace(_d,"-$1").toLowerCase()),kn=ei(e=>e.charAt(0).toUpperCase()+e.slice(1)),bn=ei(e=>e?`on${kn(e)}`:""),zr=(e,t)=>!Object.is(e,t),nn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Fo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ir=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ma;const Pc=()=>Ma||(Ma=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Td(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ft;class Pd{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ft&&(this.parent=Ft,this.index=(Ft.scopes||(Ft.scopes=[])).push(this)-1)}run(t){if(this.active)try{return Ft=this,t()}finally{Ft=this.parent}else Td("cannot run an inactive effect scope.")}on(){Ft=this}off(){Ft=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.active=!1}}}function $d(e,t=Ft){t&&t.active&&t.effects.push(e)}const zs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},$c=e=>(e.w&ln)>0,Ic=e=>(e.n&ln)>0,Id=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ln},Ad=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];$c(o)&&!Ic(o)?o.delete(e):t[n++]=o,o.w&=~ln,o.n&=~ln}t.length=n}},Qi=new WeakMap;let Pr=0,ln=1;const es=30;let ot;const $n=Symbol("iterate"),ts=Symbol("Map key iterate");class Vs{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,$d(this,r)}run(){if(!this.active)return this.fn();let t=ot,n=on;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ot,ot=this,on=!0,ln=1<<++Pr,Pr<=es?Id(this):Na(this),this.fn()}finally{Pr<=es&&Ad(this),ln=1<<--Pr,ot=this.parent,on=n,this.parent=void 0}}stop(){this.active&&(Na(this),this.onStop&&this.onStop(),this.active=!1)}}function Na(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let on=!0;const Ac=[];function Dn(){Ac.push(on),on=!1}function Ln(){const e=Ac.pop();on=e===void 0?!0:e}function ut(e,t,n){if(on&&ot){let r=Qi.get(e);r||Qi.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=zs()),Oc(o,{effect:ot,target:e,type:t,key:n})}}function Oc(e,t){let n=!1;Pr<=es?Ic(e)||(e.n|=ln,n=!$c(e)):n=!e.has(ot),n&&(e.add(ot),ot.deps.push(e),ot.onTrack&&ot.onTrack(Object.assign({effect:ot},t)))}function Wt(e,t,n,r,o,i){const s=Qi.get(e);if(!s)return;let a=[];if(t==="clear")a=[...s.values()];else if(n==="length"&&se(e))s.forEach((c,f)=>{(f==="length"||f>=r)&&a.push(c)});else switch(n!==void 0&&a.push(s.get(n)),t){case"add":se(e)?js(n)&&a.push(s.get("length")):(a.push(s.get($n)),Pn(e)&&a.push(s.get(ts)));break;case"delete":se(e)||(a.push(s.get($n)),Pn(e)&&a.push(s.get(ts)));break;case"set":Pn(e)&&a.push(s.get($n));break}const l={target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:i};if(a.length===1)a[0]&&ns(a[0],l);else{const c=[];for(const f of a)f&&c.push(...f);ns(zs(c),l)}}function ns(e,t){for(const n of se(e)?e:[...e])(n!==ot||n.allowRecurse)&&(n.onTrigger&&n.onTrigger(Le({effect:n},t)),n.scheduler?n.scheduler():n.run())}const Od=fn("__proto__,__v_isRef,__isVue"),kc=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Ns)),kd=ti(),Rd=ti(!1,!0),Bd=ti(!0),Fd=ti(!0,!0),Ua=Dd();function Dd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ye(this);for(let i=0,s=this.length;i<s;i++)ut(r,"get",i+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ye)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Dn();const r=ye(this)[t].apply(this,n);return Ln(),r}}),e}function ti(e=!1,t=!1){return function(r,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?Uc:Nc:t?Mc:Lc).get(r))return r;const s=se(r);if(!e&&s&&Ce(Ua,o))return Reflect.get(Ua,o,i);const a=Reflect.get(r,o,i);return(Ns(o)?kc.has(o):Od(o))||(e||ut(r,"get",o),t)?a:Ue(a)?!s||!js(o)?a.value:a:Oe(a)?e?Hc(a):He(a):a}}const Ld=Rc(),Md=Rc(!0);function Rc(e=!1){return function(n,r,o,i){let s=n[r];if(Rn(s)&&Ue(s)&&!Ue(o))return!1;if(!e&&!Rn(o)&&(jc(o)||(o=ye(o),s=ye(s)),!se(n)&&Ue(s)&&!Ue(o)))return s.value=o,!0;const a=se(n)&&js(r)?Number(r)<n.length:Ce(n,r),l=Reflect.set(n,r,o,i);return n===ye(i)&&(a?zr(o,s)&&Wt(n,"set",r,o,s):Wt(n,"add",r,o)),l}}function Nd(e,t){const n=Ce(e,t),r=e[t],o=Reflect.deleteProperty(e,t);return o&&n&&Wt(e,"delete",t,void 0,r),o}function Ud(e,t){const n=Reflect.has(e,t);return(!Ns(t)||!kc.has(t))&&ut(e,"has",t),n}function Hd(e){return ut(e,"iterate",se(e)?"length":$n),Reflect.ownKeys(e)}const Bc={get:kd,set:Ld,deleteProperty:Nd,has:Ud,ownKeys:Hd},Fc={get:Bd,set(e,t){return console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0},deleteProperty(e,t){return console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}},jd=Le({},Bc,{get:Rd,set:Md}),zd=Le({},Fc,{get:Fd}),Ws=e=>e,ni=e=>Reflect.getPrototypeOf(e);function uo(e,t,n=!1,r=!1){e=e.__v_raw;const o=ye(e),i=ye(t);t!==i&&!n&&ut(o,"get",t),!n&&ut(o,"get",i);const{has:s}=ni(o),a=r?Ws:n?Ks:Vr;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function fo(e,t=!1){const n=this.__v_raw,r=ye(n),o=ye(e);return e!==o&&!t&&ut(r,"has",e),!t&&ut(r,"has",o),e===o?n.has(e):n.has(e)||n.has(o)}function ho(e,t=!1){return e=e.__v_raw,!t&&ut(ye(e),"iterate",$n),Reflect.get(e,"size",e)}function Ha(e){e=ye(e);const t=ye(this);return ni(t).has.call(t,e)||(t.add(e),Wt(t,"add",e,e)),this}function ja(e,t){t=ye(t);const n=ye(this),{has:r,get:o}=ni(n);let i=r.call(n,e);i?Dc(n,r,e):(e=ye(e),i=r.call(n,e));const s=o.call(n,e);return n.set(e,t),i?zr(t,s)&&Wt(n,"set",e,t,s):Wt(n,"add",e,t),this}function za(e){const t=ye(this),{has:n,get:r}=ni(t);let o=n.call(t,e);o?Dc(t,n,e):(e=ye(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,s=t.delete(e);return o&&Wt(t,"delete",e,void 0,i),s}function Va(){const e=ye(this),t=e.size!==0,n=Pn(e)?new Map(e):new Set(e),r=e.clear();return t&&Wt(e,"clear",void 0,void 0,n),r}function mo(e,t){return function(r,o){const i=this,s=i.__v_raw,a=ye(s),l=t?Ws:e?Ks:Vr;return!e&&ut(a,"iterate",$n),s.forEach((c,f)=>r.call(o,l(c),l(f),i))}}function go(e,t,n){return function(...r){const o=this.__v_raw,i=ye(o),s=Pn(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=o[e](...r),f=n?Ws:t?Ks:Vr;return!t&&ut(i,"iterate",l?ts:$n),{next(){const{value:u,done:d}=c.next();return d?{value:u,done:d}:{value:a?[f(u[0]),f(u[1])]:f(u),done:d}},[Symbol.iterator](){return this}}}}function Gt(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${kn(e)} operation ${n}failed: target is readonly.`,ye(this))}return e==="delete"?!1:this}}function Vd(){const e={get(i){return uo(this,i)},get size(){return ho(this)},has:fo,add:Ha,set:ja,delete:za,clear:Va,forEach:mo(!1,!1)},t={get(i){return uo(this,i,!1,!0)},get size(){return ho(this)},has:fo,add:Ha,set:ja,delete:za,clear:Va,forEach:mo(!1,!0)},n={get(i){return uo(this,i,!0)},get size(){return ho(this,!0)},has(i){return fo.call(this,i,!0)},add:Gt("add"),set:Gt("set"),delete:Gt("delete"),clear:Gt("clear"),forEach:mo(!0,!1)},r={get(i){return uo(this,i,!0,!0)},get size(){return ho(this,!0)},has(i){return fo.call(this,i,!0)},add:Gt("add"),set:Gt("set"),delete:Gt("delete"),clear:Gt("clear"),forEach:mo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=go(i,!1,!1),n[i]=go(i,!0,!1),t[i]=go(i,!1,!0),r[i]=go(i,!0,!0)}),[e,n,t,r]}const[Wd,Kd,qd,Yd]=Vd();function ri(e,t){const n=t?e?Yd:qd:e?Kd:Wd;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ce(n,o)&&o in r?n:r,o,i)}const Gd={get:ri(!1,!1)},Xd={get:ri(!1,!0)},Jd={get:ri(!0,!1)},Zd={get:ri(!0,!0)};function Dc(e,t,n){const r=ye(n);if(r!==n&&t.call(e,r)){const o=Hs(e);console.warn(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Lc=new WeakMap,Mc=new WeakMap,Nc=new WeakMap,Uc=new WeakMap;function Qd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function eh(e){return e.__v_skip||!Object.isExtensible(e)?0:Qd(Hs(e))}function He(e){return Rn(e)?e:oi(e,!1,Bc,Gd,Lc)}function th(e){return oi(e,!1,jd,Xd,Mc)}function Hc(e){return oi(e,!0,Fc,Jd,Nc)}function tr(e){return oi(e,!0,zd,Zd,Uc)}function oi(e,t,n,r,o){if(!Oe(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=eh(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function In(e){return Rn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function Rn(e){return!!(e&&e.__v_isReadonly)}function jc(e){return!!(e&&e.__v_isShallow)}function rs(e){return In(e)||Rn(e)}function ye(e){const t=e&&e.__v_raw;return t?ye(t):e}function zc(e){return Fo(e,"__v_skip",!0),e}const Vr=e=>Oe(e)?He(e):e,Ks=e=>Oe(e)?Hc(e):e;function Vc(e){on&&ot&&(e=ye(e),Oc(e.dep||(e.dep=zs()),{target:e,type:"get",key:"value"}))}function Wc(e,t){e=ye(e),e.dep&&ns(e.dep,{target:e,type:"set",key:"value",newValue:t})}function Ue(e){return!!(e&&e.__v_isRef===!0)}function le(e){return Kc(e,!1)}function nh(e){return Kc(e,!0)}function Kc(e,t){return Ue(e)?e:new rh(e,t)}class rh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ye(t),this._value=n?t:Vr(t)}get value(){return Vc(this),this._value}set value(t){t=this.__v_isShallow?t:ye(t),zr(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Vr(t),Wc(this,t))}}function Ht(e){return Ue(e)?e.value:e}const oh={get:(e,t,n)=>Ht(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ue(o)&&!Ue(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function qc(e){return In(e)?e:new Proxy(e,oh)}class ih{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Vs(t,()=>{this._dirty||(this._dirty=!0,Wc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ye(this);return Vc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function sh(e,t,n=!1){let r,o;const i=ue(e);i?(r=e,o=()=>{console.warn("Write operation failed: computed value is readonly")}):(r=e.get,o=e.set);const s=new ih(r,o,i||!o,n);return t&&!n&&(s.effect.onTrack=t.onTrack,s.effect.onTrigger=t.onTrigger),s}Promise.resolve();const An=[];function kr(e){An.push(e)}function Rr(){An.pop()}function K(e,...t){Dn();const n=An.length?An[An.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=ah();if(r)jt(r,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:i})=>`at <${ci(n,i.type)}>`).join(`
|
|
`),o]);else{const i=[`[Vue warn]: ${e}`,...t];o.length&&i.push(`
|
|
`,...lh(o)),console.warn(...i)}Ln()}function ah(){let e=An[An.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function lh(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
`],...ch(n))}),t}function ch({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${ci(e.component,e.type,r)}`,i=">"+n;return e.props?[o,...uh(e.props),i]:[o+i]}function uh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Yc(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Yc(e,t,n){return De(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ue(t)?(t=Yc(e,ye(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ue(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ye(t),n?t:[`${e}=`,t])}const qs={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function jt(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){to(i,t,n)}return o}function yt(e,t,n,r){if(ue(e)){const i=jt(e,t,n,r);return i&&Us(i)&&i.catch(s=>{to(s,t,n)}),i}const o=[];for(let i=0;i<e.length;i++)o.push(yt(e[i],t,n,r));return o}function to(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let i=t.parent;const s=t.proxy,a=qs[n];for(;i;){const c=i.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,s,a)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){jt(l,null,10,[e,s,a]);return}}fh(e,n,o,r)}function fh(e,t,n,r=!0){{const o=qs[t];if(n&&kr(n),K(`Unhandled error${o?` during execution of ${o}`:""}`),n&&Rr(),r)throw e;console.error(e)}}let Do=!1,os=!1;const lt=[];let Ut=0;const Br=[];let Qn=null,yn=0;const Fr=[];let Dt=null,wn=0;const Gc=Promise.resolve();let Ys=null,is=null;const dh=100;function Fe(e){const t=Ys||Gc;return e?t.then(this?e.bind(this):e):t}function hh(e){let t=Ut+1,n=lt.length;for(;t<n;){const r=t+n>>>1;Wr(lt[r])<e?t=r+1:n=r}return t}function Gs(e){(!lt.length||!lt.includes(e,Do&&e.allowRecurse?Ut+1:Ut))&&e!==is&&(e.id==null?lt.push(e):lt.splice(hh(e.id),0,e),Xc())}function Xc(){!Do&&!os&&(os=!0,Ys=Gc.then(Qc))}function mh(e){const t=lt.indexOf(e);t>Ut&<.splice(t,1)}function Jc(e,t,n,r){se(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),Xc()}function gh(e){Jc(e,Qn,Br,yn)}function Xs(e){Jc(e,Dt,Fr,wn)}function Js(e,t=null){if(Br.length){for(is=t,Qn=[...new Set(Br)],Br.length=0,e=e||new Map,yn=0;yn<Qn.length;yn++)Zs(e,Qn[yn])||Qn[yn]();Qn=null,yn=0,is=null,Js(e,t)}}function Zc(e){if(Fr.length){const t=[...new Set(Fr)];if(Fr.length=0,Dt){Dt.push(...t);return}for(Dt=t,e=e||new Map,Dt.sort((n,r)=>Wr(n)-Wr(r)),wn=0;wn<Dt.length;wn++)Zs(e,Dt[wn])||Dt[wn]();Dt=null,wn=0}}const Wr=e=>e.id==null?1/0:e.id;function Qc(e){os=!1,Do=!0,e=e||new Map,Js(e),lt.sort((n,r)=>Wr(n)-Wr(r));const t=n=>Zs(e,n);try{for(Ut=0;Ut<lt.length;Ut++){const n=lt[Ut];if(n&&n.active!==!1){if(t(n))continue;jt(n,null,14)}}}finally{Ut=0,lt.length=0,Zc(e),Do=!1,Ys=null,(lt.length||Br.length||Fr.length)&&Qc(e)}}function Zs(e,t){if(!e.has(t))e.set(t,1);else{const n=e.get(t);if(n>dh){const r=t.ownerInstance,o=r&&Gr(r.type);return K(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let sn=!1;const er=new Set;Pc().__VUE_HMR_RUNTIME__={createRecord:Ii(eu),rerender:Ii(bh),reload:Ii(yh)};const Bn=new Map;function ph(e){const t=e.type.__hmrId;let n=Bn.get(t);n||(eu(t,e.type),n=Bn.get(t)),n.instances.add(e)}function vh(e){Bn.get(e.type.__hmrId).instances.delete(e)}function eu(e,t){return Bn.has(e)?!1:(Bn.set(e,{initialDef:Dr(t),instances:new Set}),!0)}function Dr(e){return Bu(e)?e.__vccOpts:e}function bh(e,t){const n=Bn.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Dr(r.type).render=t),r.renderCache=[],sn=!0,r.update(),sn=!1}))}function yh(e,t){const n=Bn.get(e);if(!n)return;t=Dr(t),Wa(n.initialDef,t);const r=[...n.instances];for(const o of r){const i=Dr(o.type);er.has(i)||(i!==n.initialDef&&Wa(i,t),er.add(i)),o.appContext.optionsCache.delete(o.type),o.ceReload?(er.add(i),o.ceReload(t.styles),er.delete(i)):o.parent?(Gs(o.parent.update),o.parent.type.__asyncLoader&&o.parent.ceReload&&o.parent.ceReload(t.styles)):o.appContext.reload?o.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Xs(()=>{for(const o of r)er.delete(Dr(o.type))})}function Wa(e,t){Le(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ii(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Cn,$r=[],ss=!1;function no(e,...t){Cn?Cn.emit(e,...t):ss||$r.push({event:e,args:t})}function tu(e,t){var n,r;Cn=e,Cn?(Cn.enabled=!0,$r.forEach(({event:o,args:i})=>Cn.emit(o,...i)),$r=[]):typeof window!="undefined"&&window.HTMLElement&&!((r=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||r===void 0?void 0:r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{tu(i,t)}),setTimeout(()=>{Cn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ss=!0,$r=[])},3e3)):(ss=!0,$r=[])}function wh(e,t){no("app:init",e,t,{Fragment:et,Text:ai,Comment:Ge,Static:Mr})}function xh(e){no("app:unmount",e)}const as=Qs("component:added"),nu=Qs("component:updated"),Ch=Qs("component:removed");function Qs(e){return t=>{no(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Sh=ru("perf:start"),Eh=ru("perf:end");function ru(e){return(t,n,r)=>{no(e,t.appContext.app,t.uid,t,n,r)}}function _h(e,t,n){no("component:emit",e.appContext.app,e,t,n)}function Th(e,t,...n){const r=e.vnode.props||Te;{const{emitsOptions:f,propsOptions:[u]}=e;if(f)if(!(t in f))(!u||!(bn(t)in u))&&K(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${bn(t)}" prop.`);else{const d=f[t];ue(d)&&(d(...n)||K(`Invalid event arguments: event validation failed for event "${t}".`))}}let o=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in r){const f=`${s==="modelValue"?"model":s}Modifiers`,{number:u,trim:d}=r[f]||Te;d?o=n.map(h=>h.trim()):u&&(o=n.map(ir))}_h(e,t,o);{const f=t.toLowerCase();f!==t&&r[bn(f)]&&K(`Event "${f}" is emitted in component ${ci(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${Vt(t)}" instead of "${t}".`)}let a,l=r[a=bn(t)]||r[a=bn(It(t))];!l&&i&&(l=r[a=bn(Vt(t))]),l&&yt(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,yt(c,e,6,o)}}function ou(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!ue(e)){const l=c=>{const f=ou(c,t,!0);f&&(a=!0,Le(s,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(r.set(e,null),null):(se(i)?i.forEach(l=>s[l]=null):Le(s,i),r.set(e,s),s)}function ea(e,t){return!e||!eo(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ce(e,t[0].toLowerCase()+t.slice(1))||Ce(e,Vt(t))||Ce(e,t))}let tt=null,ii=null;function Lo(e){const t=tt;return tt=e,ii=e&&e.type.__scopeId||null,t}function zx(e){ii=e}function Vx(){ii=null}function Ph(e,t=tt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&al(-1);const i=Lo(t),s=e(...o);return Lo(i),r._d&&al(1),nu(t),s};return r._n=!0,r._c=!0,r._d=!0,r}let ls=!1;function Mo(){ls=!0}function Ai(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:f,renderCache:u,data:d,setupState:h,ctx:p,inheritAttrs:m}=e;let C,w;const b=Lo(e);ls=!1;try{if(n.shapeFlag&4){const I=o||r;C=bt(f.call(I,I,u,i,h,d,p)),w=l}else{const I=t;l===i&&Mo(),C=bt(I.length>1?I(i,{get attrs(){return Mo(),l},slots:a,emit:c}):I(i,null)),w=t.props?l:Ih(l)}}catch(I){Nr.length=0,to(I,e,1),C=v(Ge)}let _=C,P;if(C.patchFlag>0&&C.patchFlag&2048&&([_,P]=$h(C)),w&&m!==!1){const I=Object.keys(w),{shapeFlag:D}=_;if(I.length){if(D&7)s&&I.some(Bo)&&(w=Ah(w,s)),_=Kt(_,w);else if(!ls&&_.type!==Ge){const $=Object.keys(l),B=[],W=[];for(let T=0,y=$.length;T<y;T++){const x=$[T];eo(x)?Bo(x)||B.push(x[2].toLowerCase()+x.slice(3)):W.push(x)}W.length&&K(`Extraneous non-props attributes (${W.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),B.length&&K(`Extraneous non-emits event listeners (${B.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(Ka(_)||K("Runtime directive used on component with non-element root node. The directives will not function as intended."),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(Ka(_)||K("Component inside <Transition> renders non-element root node that cannot be animated."),_.transition=n.transition),P?P(_):C=_,Lo(b),C}const $h=e=>{const t=e.children,n=e.dynamicChildren,r=ta(t);if(!r)return[e,void 0];const o=t.indexOf(r),i=n?n.indexOf(r):-1,s=a=>{t[o]=a,n&&(i>-1?n[i]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[bt(r),s]};function ta(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(cn(r)){if(r.type!==Ge||r.children==="v-if"){if(t)return;t=r}}else return}return t}const Ih=e=>{let t;for(const n in e)(n==="class"||n==="style"||eo(n))&&((t||(t={}))[n]=e[n]);return t},Ah=(e,t)=>{const n={};for(const r in e)(!Bo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n},Ka=e=>e.shapeFlag&7||e.type===Ge;function Oh(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if((o||a)&&sn||t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?qa(r,s,c):!!s;if(l&8){const f=t.dynamicProps;for(let u=0;u<f.length;u++){const d=f[u];if(s[d]!==r[d]&&!ea(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?qa(r,s,c):!0:!!s;return!1}function qa(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!ea(n,i))return!0}return!1}function na({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const kh=e=>e.__isSuspense,Rh={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,c){e==null?Bh(t,n,r,o,i,s,a,l,c):Fh(e,t,n,r,o,s,a,l,c)},hydrate:Dh,create:ra,normalize:Lh},Wx=Rh;function Kr(e,t){const n=e.props&&e.props[t];ue(n)&&n()}function Bh(e,t,n,r,o,i,s,a,l){const{p:c,o:{createElement:f}}=l,u=f("div"),d=e.suspense=ra(e,o,r,t,u,n,i,s,a,l);c(null,d.pendingBranch=e.ssContent,u,null,r,d,i,s),d.deps>0?(Kr(e,"onPending"),Kr(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),rr(d,e.ssFallback)):d.resolve()}function Fh(e,t,n,r,o,i,s,a,{p:l,um:c,o:{createElement:f}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:C,isHydrating:w}=u;if(m)u.pendingBranch=d,Pt(d,m)?(l(m,d,u.hiddenContainer,null,o,u,i,s,a),u.deps<=0?u.resolve():C&&(l(p,h,n,r,o,null,i,s,a),rr(u,h))):(u.pendingId++,w?(u.isHydrating=!1,u.activeBranch=m):c(m,o,u),u.deps=0,u.effects.length=0,u.hiddenContainer=f("div"),C?(l(null,d,u.hiddenContainer,null,o,u,i,s,a),u.deps<=0?u.resolve():(l(p,h,n,r,o,null,i,s,a),rr(u,h))):p&&Pt(d,p)?(l(p,d,n,r,o,u,i,s,a),u.resolve(!0)):(l(null,d,u.hiddenContainer,null,o,u,i,s,a),u.deps<=0&&u.resolve()));else if(p&&Pt(d,p))l(p,d,n,r,o,u,i,s,a),rr(u,d);else if(Kr(t,"onPending"),u.pendingBranch=d,u.pendingId++,l(null,d,u.hiddenContainer,null,o,u,i,s,a),u.deps<=0)u.resolve();else{const{timeout:b,pendingId:_}=u;b>0?setTimeout(()=>{u.pendingId===_&&u.fallback(h)},b):b===0&&u.fallback(h)}}let Ya=!1;function ra(e,t,n,r,o,i,s,a,l,c,f=!1){Ya||(Ya=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:u,m:d,um:h,n:p,o:{parentNode:m,remove:C}}=c,w=ir(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:s,container:r,hiddenContainer:o,anchor:i,deps:0,pendingId:0,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve(_=!1){{if(!_&&!b.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(b.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:P,activeBranch:I,pendingBranch:D,pendingId:$,effects:B,parentComponent:W,container:T}=b;if(b.isHydrating)b.isHydrating=!1;else if(!_){const F=I&&D.transition&&D.transition.mode==="out-in";F&&(I.transition.afterLeave=()=>{$===b.pendingId&&d(D,T,k,0)});let{anchor:k}=b;I&&(k=p(I),h(I,W,b,!0)),F||d(D,T,k,0)}rr(b,D),b.pendingBranch=null,b.isInFallback=!1;let y=b.parent,x=!1;for(;y;){if(y.pendingBranch){y.effects.push(...B),x=!0;break}y=y.parent}x||Xs(B),b.effects=[],Kr(P,"onResolve")},fallback(_){if(!b.pendingBranch)return;const{vnode:P,activeBranch:I,parentComponent:D,container:$,isSVG:B}=b;Kr(P,"onFallback");const W=p(I),T=()=>{!b.isInFallback||(u(null,_,$,W,D,null,B,a,l),rr(b,_))},y=_.transition&&_.transition.mode==="out-in";y&&(I.transition.afterLeave=T),b.isInFallback=!0,h(I,D,null,!0),y||T()},move(_,P,I){b.activeBranch&&d(b.activeBranch,_,P,I),b.container=_},next(){return b.activeBranch&&p(b.activeBranch)},registerDep(_,P){const I=!!b.pendingBranch;I&&b.deps++;const D=_.vnode.el;_.asyncDep.catch($=>{to($,_,0)}).then($=>{if(_.isUnmounted||b.isUnmounted||b.pendingId!==_.suspenseId)return;_.asyncResolved=!0;const{vnode:B}=_;kr(B),bs(_,$,!1),D&&(B.el=D);const W=!D&&_.subTree.el;P(_,B,m(D||_.subTree.el),D?null:p(_.subTree),b,s,l),W&&C(W),na(_,B.el),Rr(),I&&--b.deps===0&&b.resolve()})},unmount(_,P){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,_,P),b.pendingBranch&&h(b.pendingBranch,n,_,P)}};return b}function Dh(e,t,n,r,o,i,s,a,l){const c=t.suspense=ra(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),f=l(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(),f}function Lh(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ga(r?n.default:n),e.ssFallback=r?Ga(n.fallback):v(Ge)}function Ga(e){let t;if(ue(e)){const n=qr&&e._c;n&&(e._d=!1,la()),e=e(),n&&(e._d=!0,t=an,Su())}if(se(e)){const n=ta(e);n||K("<Suspense> slots expect a single root node."),e=n}return e=bt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Mh(e,t){t&&t.pendingBranch?se(e)?t.effects.push(...e):t.effects.push(e):Xs(e)}function rr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,na(r,o))}function zt(e,t){if(!ze)K("provide() can only be used inside setup().");else{let n=ze.provides;const r=ze.parent&&ze.parent.provides;r===n&&(n=ze.provides=Object.create(r)),n[e]=t}}function nt(e,t,n=!1){const r=ze||tt;if(r){const o=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ue(t)?t.call(r.proxy):t;K(`injection "${String(e)}" not found.`)}else K("inject() can only be used inside setup() or functional components.")}function Nh(e,t){return oa(e,null,t)}const Xa={};function pe(e,t,n){return ue(t)||K("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),oa(e,t,n)}function oa(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:s}=Te){t||(n!==void 0&&K('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&K('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const a=b=>{K("Invalid watch source: ",b,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},l=ze;let c,f=!1,u=!1;if(Ue(e)?(c=()=>e.value,f=jc(e)):In(e)?(c=()=>e,r=!0):se(e)?(u=!0,f=e.some(In),c=()=>e.map(b=>{if(Ue(b))return b.value;if(In(b))return Tn(b);if(ue(b))return jt(b,l,2);a(b)})):ue(e)?t?c=()=>jt(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return d&&d(),yt(e,l,3,[h])}:(c=it,a(e)),t&&r){const b=c;c=()=>Tn(b())}let d,h=b=>{d=w.onStop=()=>{jt(b,l,4)}};if(Yr)return h=it,t?n&&yt(t,l,3,[c(),u?[]:void 0,h]):c(),it;let p=u?[]:Xa;const m=()=>{if(!!w.active)if(t){const b=w.run();(r||f||(u?b.some((_,P)=>zr(_,p[P])):zr(b,p)))&&(d&&d(),yt(t,l,3,[b,p===Xa?void 0:p,h]),p=b)}else w.run()};m.allowRecurse=!!t;let C;o==="sync"?C=m:o==="post"?C=()=>qe(m,l&&l.suspense):C=()=>{!l||l.isMounted?gh(m):m()};const w=new Vs(c,C);return w.onTrack=i,w.onTrigger=s,t?n?m():p=w.run():o==="post"?qe(w.run.bind(w),l&&l.suspense):w.run(),()=>{w.stop(),l&&l.scope&&Ms(l.scope.effects,w)}}function Uh(e,t,n){const r=this.proxy,o=De(e)?e.includes(".")?iu(r,e):()=>r[e]:e.bind(r,r);let i;ue(t)?i=t:(i=t.handler,n=t);const s=ze;ar(this);const a=oa(o,i.bind(r),n);return s?ar(s):On(),a}function iu(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Tn(e,t){if(!Oe(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ue(e))Tn(e.value,t);else if(se(e))for(let n=0;n<e.length;n++)Tn(e[n],t);else if(Zo(e)||Pn(e))e.forEach(n=>{Tn(n,t)});else if(Tc(e))for(const n in e)Tn(e[n],t);return e}function Hh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return at(()=>{e.isMounted=!0}),dn(()=>{e.isUnmounting=!0}),e}const mt=[Function,Array],jh={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mt,onEnter:mt,onAfterEnter:mt,onEnterCancelled:mt,onBeforeLeave:mt,onLeave:mt,onAfterLeave:mt,onLeaveCancelled:mt,onBeforeAppear:mt,onAppear:mt,onAfterAppear:mt,onAppearCancelled:mt},setup(e,{slots:t}){const n=dt(),r=Hh();let o;return()=>{const i=t.default&&lu(t.default(),!0);if(!i||!i.length)return;i.length>1&&K("<transition> can only be used on a single element or component. Use <transition-group> for lists.");const s=ye(e),{mode:a}=s;a&&a!=="in-out"&&a!=="out-in"&&a!=="default"&&K(`invalid <transition> mode: ${a}`);const l=i[0];if(r.isLeaving)return Oi(l);const c=Ja(l);if(!c)return Oi(l);const f=cs(c,s,r,n);No(c,f);const u=n.subTree,d=u&&Ja(u);let h=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();o===void 0?o=m:m!==o&&(o=m,h=!0)}if(d&&d.type!==Ge&&(!Pt(c,d)||h)){const m=cs(d,s,r,n);if(No(d,m),a==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update()},Oi(l);a==="in-out"&&c.type!==Ge&&(m.delayLeave=(C,w,b)=>{const _=au(r,d);_[String(d.key)]=d,C._leaveCb=()=>{w(),C._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=b})}return l}}},su=jh;function au(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 cs(e,t,n,r){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:u,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:m,onAppear:C,onAfterAppear:w,onAppearCancelled:b}=t,_=String(e.key),P=au(n,e),I=($,B)=>{$&&yt($,r,9,B)},D={mode:i,persisted:s,beforeEnter($){let B=a;if(!n.isMounted)if(o)B=m||a;else return;$._leaveCb&&$._leaveCb(!0);const W=P[_];W&&Pt(e,W)&&W.el._leaveCb&&W.el._leaveCb(),I(B,[$])},enter($){let B=l,W=c,T=f;if(!n.isMounted)if(o)B=C||l,W=w||c,T=b||f;else return;let y=!1;const x=$._enterCb=F=>{y||(y=!0,F?I(T,[$]):I(W,[$]),D.delayedLeave&&D.delayedLeave(),$._enterCb=void 0)};B?(B($,x),B.length<=1&&x()):x()},leave($,B){const W=String(e.key);if($._enterCb&&$._enterCb(!0),n.isUnmounting)return B();I(u,[$]);let T=!1;const y=$._leaveCb=x=>{T||(T=!0,B(),x?I(p,[$]):I(h,[$]),$._leaveCb=void 0,P[W]===e&&delete P[W])};P[W]=e,d?(d($,y),d.length<=1&&y()):y()},clone($){return cs($,t,n,r)}};return D}function Oi(e){if(ro(e))return e=Kt(e),e.children=null,e}function Ja(e){return ro(e)?e.children?e.children[0]:void 0:e}function No(e,t){e.shapeFlag&6&&e.component?No(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 lu(e,t=!1){let n=[],r=0;for(let o=0;o<e.length;o++){const i=e[o];i.type===et?(i.patchFlag&128&&r++,n=n.concat(lu(i.children,t))):(t||i.type!==Ge)&&n.push(i)}if(r>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function ce(e){return ue(e)?{setup:e,name:e.name}:e}const Uo=e=>!!e.type.__asyncLoader,ro=e=>e.type.__isKeepAlive,zh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=dt(),r=n.ctx;if(!r.renderer)return t.default;const o=new Map,i=new Set;let s=null;n.__v_cache=o;const a=n.suspense,{renderer:{p:l,m:c,um:f,o:{createElement:u}}}=r,d=u("div");r.activate=(b,_,P,I,D)=>{const $=b.component;c(b,_,P,0,a),l($.vnode,b,_,P,$,a,I,b.slotScopeIds,D),qe(()=>{$.isDeactivated=!1,$.a&&nn($.a);const B=b.props&&b.props.onVnodeMounted;B&&vt(B,$.parent,b)},a),as($)},r.deactivate=b=>{const _=b.component;c(b,d,null,1,a),qe(()=>{_.da&&nn(_.da);const P=b.props&&b.props.onVnodeUnmounted;P&&vt(P,_.parent,b),_.isDeactivated=!0},a),as(_)};function h(b){ki(b),f(b,n,a,!0)}function p(b){o.forEach((_,P)=>{const I=Gr(_.type);I&&(!b||!b(I))&&m(P)})}function m(b){const _=o.get(b);!s||_.type!==s.type?h(_):s&&ki(s),o.delete(b),i.delete(b)}pe(()=>[e.include,e.exclude],([b,_])=>{b&&p(P=>Ir(b,P)),_&&p(P=>!Ir(_,P))},{flush:"post",deep:!0});let C=null;const w=()=>{C!=null&&o.set(C,Ri(n.subTree))};return at(w),ia(w),dn(()=>{o.forEach(b=>{const{subTree:_,suspense:P}=n,I=Ri(_);if(b.type===I.type){ki(I);const D=I.component.da;D&&qe(D,P);return}h(b)})}),()=>{if(C=null,!t.default)return null;const b=t.default(),_=b[0];if(b.length>1)return K("KeepAlive should contain exactly one component child."),s=null,b;if(!cn(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return s=null,_;let P=Ri(_);const I=P.type,D=Gr(Uo(P)?P.type.__asyncResolved||{}:I),{include:$,exclude:B,max:W}=e;if($&&(!D||!Ir($,D))||B&&D&&Ir(B,D))return s=P,_;const T=P.key==null?I:P.key,y=o.get(T);return P.el&&(P=Kt(P),_.shapeFlag&128&&(_.ssContent=P)),C=T,y?(P.el=y.el,P.component=y.component,P.transition&&No(P,P.transition),P.shapeFlag|=512,i.delete(T),i.add(T)):(i.add(T),W&&i.size>parseInt(W,10)&&m(i.values().next().value)),P.shapeFlag|=256,s=P,_}}},Kx=zh;function Ir(e,t){return se(e)?e.some(n=>Ir(n,t)):De(e)?e.split(",").includes(t):e.test?e.test(t):!1}function oo(e,t){cu(e,"a",t)}function dr(e,t){cu(e,"da",t)}function cu(e,t,n=ze){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(si(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ro(o.parent.vnode)&&Vh(r,t,n,o),o=o.parent}}function Vh(e,t,n,r){const o=si(t,e,r,!0);io(()=>{Ms(r[t],o)},n)}function ki(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Ri(e){return e.shapeFlag&128?e.ssContent:e}function si(e,t,n=ze,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Dn(),ar(n);const a=yt(t,n,e,s);return On(),Ln(),a});return r?o.unshift(i):o.push(i),i}else{const o=bn(qs[e].replace(/ hook$/,""));K(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const qt=e=>(t,n=ze)=>(!Yr||e==="sp")&&si(e,t,n),Wh=qt("bm"),at=qt("m"),uu=qt("bu"),ia=qt("u"),dn=qt("bum"),io=qt("um"),Kh=qt("sp"),qh=qt("rtg"),Yh=qt("rtc");function Gh(e,t=ze){si("ec",e,t)}function Xh(){const e=Object.create(null);return(t,n)=>{e[n]?K(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let us=!0;function Jh(e){const t=du(e),n=e.proxy,r=e.ctx;us=!1,t.beforeCreate&&Za(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:f,beforeMount:u,mounted:d,beforeUpdate:h,updated:p,activated:m,deactivated:C,beforeDestroy:w,beforeUnmount:b,destroyed:_,unmounted:P,render:I,renderTracked:D,renderTriggered:$,errorCaptured:B,serverPrefetch:W,expose:T,inheritAttrs:y,components:x,directives:F,filters:k}=t,q=Xh();{const[N]=e.propsOptions;if(N)for(const Z in N)q("Props",Z)}if(c&&Zh(c,r,q,e.appContext.config.unwrapInjectedRef),s)for(const N in s){const Z=s[N];ue(Z)?(Object.defineProperty(r,N,{value:Z.bind(n),configurable:!0,enumerable:!0,writable:!0}),q("Methods",N)):K(`Method "${N}" has type "${typeof Z}" in the component definition. Did you reference the function correctly?`)}if(o){ue(o)||K("The data option must be a function. Plain object usage is no longer supported.");const N=o.call(n,n);if(Us(N)&&K("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Oe(N))K("data() should return an object.");else{e.data=He(N);for(const Z in N)q("Data",Z),Z[0]!=="$"&&Z[0]!=="_"&&Object.defineProperty(r,Z,{configurable:!0,enumerable:!0,get:()=>N[Z],set:it})}}if(us=!0,i)for(const N in i){const Z=i[N],L=ue(Z)?Z.bind(n,n):ue(Z.get)?Z.get.bind(n,n):it;L===it&&K(`Computed property "${N}" has no getter.`);const ge=!ue(Z)&&ue(Z.set)?Z.set.bind(n):()=>{K(`Write operation failed: computed property "${N}" is readonly.`)},O=ne({get:L,set:ge});Object.defineProperty(r,N,{enumerable:!0,configurable:!0,get:()=>O.value,set:ee=>O.value=ee}),q("Computed",N)}if(a)for(const N in a)fu(a[N],r,n,N);if(l){const N=ue(l)?l.call(n):l;Reflect.ownKeys(N).forEach(Z=>{zt(Z,N[Z])})}f&&Za(f,e,"c");function U(N,Z){se(Z)?Z.forEach(L=>N(L.bind(n))):Z&&N(Z.bind(n))}if(U(Wh,u),U(at,d),U(uu,h),U(ia,p),U(oo,m),U(dr,C),U(Gh,B),U(Yh,D),U(qh,$),U(dn,b),U(io,P),U(Kh,W),se(T))if(T.length){const N=e.exposed||(e.exposed={});T.forEach(Z=>{Object.defineProperty(N,Z,{get:()=>n[Z],set:L=>n[Z]=L})})}else e.exposed||(e.exposed={});I&&e.render===it&&(e.render=I),y!=null&&(e.inheritAttrs=y),x&&(e.components=x),F&&(e.directives=F)}function Zh(e,t,n=it,r=!1){se(e)&&(e=fs(e));for(const o in e){const i=e[o];let s;Oe(i)?"default"in i?s=nt(i.from||o,i.default,!0):s=nt(i.from||o):s=nt(i),Ue(s)?r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):(K(`injected property "${o}" is a ref and will be auto-unwrapped and no longer needs \`.value\` in the next minor release. To opt-in to the new behavior now, set \`app.config.unwrapInjectedRef = true\` (this config is temporary and will not be needed in the future.)`),t[o]=s):t[o]=s,n("Inject",o)}}function Za(e,t,n){yt(se(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function fu(e,t,n,r){const o=r.includes(".")?iu(n,r):()=>n[r];if(De(e)){const i=t[e];ue(i)?pe(o,i):K(`Invalid watch handler specified by key "${e}"`,i)}else if(ue(e))pe(o,e.bind(n));else if(Oe(e))if(se(e))e.forEach(i=>fu(i,t,n,r));else{const i=ue(e.handler)?e.handler.bind(n):t[e.handler];ue(i)?pe(o,i,e):K(`Invalid watch handler specified by key "${e.handler}"`,i)}else K(`Invalid watch option: "${r}"`,e)}function du(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Ho(l,c,s,!0)),Ho(l,t,s)),i.set(t,l),l}function Ho(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Ho(e,i,n,!0),o&&o.forEach(s=>Ho(e,s,n,!0));for(const s in t)if(r&&s==="expose")K('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const a=Qh[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Qh={data:Qa,props:xn,emits:xn,methods:xn,computed:xn,beforeCreate:Qe,created:Qe,beforeMount:Qe,mounted:Qe,beforeUpdate:Qe,updated:Qe,beforeDestroy:Qe,beforeUnmount:Qe,destroyed:Qe,unmounted:Qe,activated:Qe,deactivated:Qe,errorCaptured:Qe,serverPrefetch:Qe,components:xn,directives:xn,watch:tm,provide:Qa,inject:em};function Qa(e,t){return t?e?function(){return Le(ue(e)?e.call(this,this):e,ue(t)?t.call(this,this):t)}:t:e}function em(e,t){return xn(fs(e),fs(t))}function fs(e){if(se(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qe(e,t){return e?[...new Set([].concat(e,t))]:t}function xn(e,t){return e?Le(Le(Object.create(null),e),t):t}function tm(e,t){if(!e)return t;if(!t)return e;const n=Le(Object.create(null),e);for(const r in t)n[r]=Qe(e[r],t[r]);return n}function nm(e,t,n,r=!1){const o={},i={};Fo(i,li,1),e.propsDefaults=Object.create(null),hu(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);gu(t||{},o,e),n?e.props=r?o:th(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function rm(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=ye(o),[l]=e.propsOptions;let c=!1;if(!(e.type.__hmrId||e.parent&&e.parent.type.__hmrId)&&(r||s>0)&&!(s&16)){if(s&8){const f=e.vnode.dynamicProps;for(let u=0;u<f.length;u++){let d=f[u];const h=t[d];if(l)if(Ce(i,d))h!==i[d]&&(i[d]=h,c=!0);else{const p=It(d);o[p]=ds(l,a,p,h,e,!1)}else h!==i[d]&&(i[d]=h,c=!0)}}}else{hu(e,t,o,i)&&(c=!0);let f;for(const u in a)(!t||!Ce(t,u)&&((f=Vt(u))===u||!Ce(t,f)))&&(l?n&&(n[u]!==void 0||n[f]!==void 0)&&(o[u]=ds(l,a,u,void 0,e,!0)):delete o[u]);if(i!==a)for(const u in i)(!t||!Ce(t,u)&&!0)&&(delete i[u],c=!0)}c&&Wt(e,"set","$attrs"),gu(t||{},o,e)}function hu(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(Io(l))continue;const c=t[l];let f;o&&Ce(o,f=It(l))?!i||!i.includes(f)?n[f]=c:(a||(a={}))[f]=c:ea(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,s=!0)}if(i){const l=ye(n),c=a||Te;for(let f=0;f<i.length;f++){const u=i[f];n[u]=ds(o,l,u,c[u],e,!Ce(c,u))}}return s}function ds(e,t,n,r,o,i){const s=e[n];if(s!=null){const a=Ce(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&ue(l)){const{propsDefaults:c}=o;n in c?r=c[n]:(ar(o),r=c[n]=l.call(null,t),On())}else r=l}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===Vt(n))&&(r=!0))}return r}function mu(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!ue(e)){const f=u=>{l=!0;const[d,h]=mu(u,t,!0);Le(s,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!l)return r.set(e,nr),nr;if(se(i))for(let f=0;f<i.length;f++){De(i[f])||K("props must be strings when using array syntax.",i[f]);const u=It(i[f]);el(u)&&(s[u]=Te)}else if(i){Oe(i)||K("invalid props options",i);for(const f in i){const u=It(f);if(el(u)){const d=i[f],h=s[u]=se(d)||ue(d)?{type:d}:d;if(h){const p=nl(Boolean,h.type),m=nl(String,h.type);h[0]=p>-1,h[1]=m<0||p<m,(p>-1||Ce(h,"default"))&&a.push(u)}}}}const c=[s,a];return r.set(e,c),c}function el(e){return e[0]!=="$"?!0:(K(`Invalid prop name: "${e}" is a reserved property.`),!1)}function hs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function tl(e,t){return hs(e)===hs(t)}function nl(e,t){return se(t)?t.findIndex(n=>tl(n,e)):ue(t)&&tl(t,e)?0:-1}function gu(e,t,n){const r=ye(t),o=n.propsOptions[0];for(const i in o){let s=o[i];s!=null&&om(i,r[i],s,!Ce(e,i)&&!Ce(e,Vt(i)))}}function om(e,t,n,r){const{type:o,required:i,validator:s}=n;if(i&&r){K('Missing required prop: "'+e+'"');return}if(!(t==null&&!n.required)){if(o!=null&&o!==!0){let a=!1;const l=se(o)?o:[o],c=[];for(let f=0;f<l.length&&!a;f++){const{valid:u,expectedType:d}=sm(t,l[f]);c.push(d||""),a=u}if(!a){K(am(e,t,c));return}}s&&!s(t)&&K('Invalid prop: custom validator check failed for prop "'+e+'".')}}const im=fn("String,Number,Boolean,Function,Symbol,BigInt");function sm(e,t){let n;const r=hs(t);if(im(r)){const o=typeof e;n=o===r.toLowerCase(),!n&&o==="object"&&(n=e instanceof t)}else r==="Object"?n=Oe(e):r==="Array"?n=se(e):r==="null"?n=e===null:n=e instanceof t;return{valid:n,expectedType:r}}function am(e,t,n){let r=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(kn).join(" | ")}`;const o=n[0],i=Hs(t),s=rl(t,o),a=rl(t,i);return n.length===1&&ol(o)&&!lm(o,i)&&(r+=` with value ${s}`),r+=`, got ${i} `,ol(i)&&(r+=`with value ${a}.`),r}function rl(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function ol(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function lm(...e){return e.some(t=>t.toLowerCase()==="boolean")}const pu=e=>e[0]==="_"||e==="$stable",sa=e=>se(e)?e.map(bt):[bt(e)],cm=(e,t,n)=>{const r=Ph((...o)=>(ze&&K(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),sa(t(...o))),n);return r._c=!1,r},vu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(pu(o))continue;const i=e[o];if(ue(i))t[o]=cm(o,i,r);else if(i!=null){K(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const s=sa(i);t[o]=()=>s}}},bu=(e,t)=>{ro(e.vnode)||K("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=sa(t);e.slots.default=()=>n},um=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ye(t),Fo(t,"_",n)):vu(t,e.slots={})}else e.slots={},t&&bu(e,t);Fo(e.slots,li,1)},fm=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=Te;if(r.shapeFlag&32){const a=t._;a?sn?Le(o,t):n&&a===1?i=!1:(Le(o,t),!n&&a===1&&delete o._):(i=!t.$stable,vu(t,o)),s=t}else t&&(bu(e,t),s={default:1});if(i)for(const a in o)!pu(a)&&!(a in s)&&delete o[a]};function yu(e){Sd(e)&&K("Do not use built-in directive ids as custom directive id: "+e)}function so(e,t){const n=tt;if(n===null)return K("withDirectives can only be used inside render functions."),e;const r=n.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,a,l,c=Te]=t[i];ue(s)&&(s={mounted:s,updated:s}),s.deep&&Tn(a),o.push({dir:s,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c})}return e}function hn(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(Dn(),yt(l,n,8,[e.el,a,e,t]),Ln())}}function wu(){return{app:null,config:{isNativeTag:Ec,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 dm=0;function hm(e,t){return function(r,o=null){o!=null&&!Oe(o)&&(K("root props passed to app.mount() must be an object."),o=null);const i=wu(),s=new Set;let a=!1;const l=i.app={_uid:dm++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:ll,get config(){return i.config},set config(c){K("app.config cannot be replaced. Modify individual options instead.")},use(c,...f){return s.has(c)?K("Plugin has already been applied to target app."):c&&ue(c.install)?(s.add(c),c.install(l,...f)):ue(c)?(s.add(c),c(l,...f)):K('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return i.mixins.includes(c)?K("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):i.mixins.push(c),l},component(c,f){return vs(c,i.config),f?(i.components[c]&&K(`Component "${c}" has already been registered in target app.`),i.components[c]=f,l):i.components[c]},directive(c,f){return yu(c),f?(i.directives[c]&&K(`Directive "${c}" has already been registered in target app.`),i.directives[c]=f,l):i.directives[c]},mount(c,f,u){if(a)K("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{const d=v(r,o);return d.appContext=i,i.reload=()=>{e(Kt(d),c,u)},f&&t?t(d,c):e(d,c,u),a=!0,l._container=c,c.__vue_app__=l,l._instance=d.component,wh(l,ll),ua(d.component)||d.component.proxy}},unmount(){a?(e(null,l._container),l._instance=null,xh(l),delete l._container.__vue_app__):K("Cannot unmount an app that is not mounted.")},provide(c,f){return c in i.provides&&K(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),i.provides[c]=f,l}};return l}}function ms(e,t,n,r,o=!1){if(se(e)){e.forEach((d,h)=>ms(d,t&&(se(t)?t[h]:t),n,r,o));return}if(Uo(r)&&!o)return;const i=r.shapeFlag&4?ua(r.component)||r.component.proxy:r.el,s=o?null:i,{i:a,r:l}=e;if(!a){K("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const c=t&&t.r,f=a.refs===Te?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(De(c)?(f[c]=null,Ce(u,c)&&(u[c]=null)):Ue(c)&&(c.value=null)),ue(l))jt(l,a,12,[s,f]);else{const d=De(l),h=Ue(l);if(d||h){const p=()=>{if(e.f){const m=d?f[l]:l.value;o?se(m)&&Ms(m,i):se(m)?m.includes(i)||m.push(i):d?f[l]=[i]:(l.value=[i],e.k&&(f[e.k]=l.value))}else d?(f[l]=s,Ce(u,l)&&(u[l]=s)):Ue(l)?(l.value=s,e.k&&(f[e.k]=s)):K("Invalid template ref type:",l,`(${typeof l})`)};s?(p.id=-1,qe(p,n)):p()}else K("Invalid template ref type:",l,`(${typeof l})`)}}let Sn,rn;function Lt(e,t){e.appContext.config.performance&&xu()&&rn.mark(`vue-${t}-${e.uid}`),Sh(e,t,Sn?rn.now():Date.now())}function Mt(e,t){if(e.appContext.config.performance&&xu()){const n=`vue-${t}-${e.uid}`,r=n+":end";rn.mark(r),rn.measure(`<${ci(e,e.type)}> ${t}`,n,r),rn.clearMarks(n),rn.clearMarks(r)}Eh(e,t,Sn?rn.now():Date.now())}function xu(){return Sn!==void 0||(typeof window!="undefined"&&window.performance?(Sn=!0,rn=window.performance):Sn=!1),Sn}function mm(){const e=[];if(e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
|
|
For more details, see https://link.vuejs.org/feature-flags.`)}}const qe=Mh;function gm(e){return pm(e)}function pm(e,t){mm();const n=Pc();n.__VUE__=!0,tu(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:f,parentNode:u,nextSibling:d,setScopeId:h=it,cloneNode:p,insertStaticContent:m}=e,C=(g,S,R,j=null,H=null,X=null,te=!1,G=null,J=sn?!1:!!S.dynamicChildren)=>{if(g===S)return;g&&!Pt(g,S)&&(j=ve(g),M(g,H,X,!0),g=null),S.patchFlag===-2&&(J=!1,S.dynamicChildren=null);const{type:V,ref:oe,shapeFlag:re}=S;switch(V){case ai:w(g,S,R,j);break;case Ge:b(g,S,R,j);break;case Mr:g==null?_(S,R,j,te):P(g,S,R,te);break;case et:k(g,S,R,j,H,X,te,G,J);break;default:re&1?$(g,S,R,j,H,X,te,G,J):re&6?q(g,S,R,j,H,X,te,G,J):re&64||re&128?V.process(g,S,R,j,H,X,te,G,J,de):K("Invalid VNode type:",V,`(${typeof V})`)}oe!=null&&H&&ms(oe,g&&g.ref,X,S||g,!S)},w=(g,S,R,j)=>{if(g==null)r(S.el=a(S.children),R,j);else{const H=S.el=g.el;S.children!==g.children&&c(H,S.children)}},b=(g,S,R,j)=>{g==null?r(S.el=l(S.children||""),R,j):S.el=g.el},_=(g,S,R,j)=>{[g.el,g.anchor]=m(g.children,S,R,j,g.el,g.anchor)},P=(g,S,R,j)=>{if(S.children!==g.children){const H=d(g.anchor);D(g),[S.el,S.anchor]=m(S.children,R,H,j)}else S.el=g.el,S.anchor=g.anchor},I=({el:g,anchor:S},R,j)=>{let H;for(;g&&g!==S;)H=d(g),r(g,R,j),g=H;r(S,R,j)},D=({el:g,anchor:S})=>{let R;for(;g&&g!==S;)R=d(g),o(g),g=R;o(S)},$=(g,S,R,j,H,X,te,G,J)=>{te=te||S.type==="svg",g==null?B(S,R,j,H,X,te,G,J):y(g,S,H,X,te,G,J)},B=(g,S,R,j,H,X,te,G)=>{let J,V;const{type:oe,props:re,shapeFlag:ae,transition:he,patchFlag:Se,dirs:Re}=g;{if(J=g.el=s(g.type,X,re&&re.is,re),ae&8?f(J,g.children):ae&16&&T(g.children,J,null,j,H,X&&oe!=="foreignObject",te,G),Re&&hn(g,null,j,"created"),re){for(const Be in re)Be!=="value"&&!Io(Be)&&i(J,Be,null,re[Be],X,g.children,j,H,Q);"value"in re&&i(J,"value",null,re.value),(V=re.onVnodeBeforeMount)&&vt(V,j,g)}W(J,g,g.scopeId,te,j)}Object.defineProperty(J,"__vnode",{value:g,enumerable:!1}),Object.defineProperty(J,"__vueParentComponent",{value:j,enumerable:!1}),Re&&hn(g,null,j,"beforeMount");const Ae=(!H||H&&!H.pendingBranch)&&he&&!he.persisted;Ae&&he.beforeEnter(J),r(J,S,R),((V=re&&re.onVnodeMounted)||Ae||Re)&&qe(()=>{V&&vt(V,j,g),Ae&&he.enter(J),Re&&hn(g,null,j,"mounted")},H)},W=(g,S,R,j,H)=>{if(R&&h(g,R),j)for(let X=0;X<j.length;X++)h(g,j[X]);if(H){let X=H.subTree;if(X.patchFlag>0&&X.patchFlag&2048&&(X=ta(X.children)||X),S===X){const te=H.vnode;W(g,te,te.scopeId,te.slotScopeIds,H.parent)}}},T=(g,S,R,j,H,X,te,G,J=0)=>{for(let V=J;V<g.length;V++){const oe=g[V]=G?en(g[V]):bt(g[V]);C(null,oe,S,R,j,H,X,te,G)}},y=(g,S,R,j,H,X,te)=>{const G=S.el=g.el;let{patchFlag:J,dynamicChildren:V,dirs:oe}=S;J|=g.patchFlag&16;const re=g.props||Te,ae=S.props||Te;let he;R&&mn(R,!1),(he=ae.onVnodeBeforeUpdate)&&vt(he,R,S,g),oe&&hn(S,g,R,"beforeUpdate"),R&&mn(R,!0),sn&&(J=0,te=!1,V=null);const Se=H&&S.type!=="foreignObject";if(V?(x(g.dynamicChildren,V,G,R,j,Se,X),R&&R.type.__hmrId&&Lr(g,S)):te||ge(g,S,G,null,R,j,Se,X,!1),J>0){if(J&16)F(G,S,re,ae,R,j,H);else if(J&2&&re.class!==ae.class&&i(G,"class",null,ae.class,H),J&4&&i(G,"style",re.style,ae.style,H),J&8){const Re=S.dynamicProps;for(let Ae=0;Ae<Re.length;Ae++){const Be=Re[Ae],wt=re[Be],jn=ae[Be];(jn!==wt||Be==="value")&&i(G,Be,wt,jn,H,g.children,R,j,Q)}}J&1&&g.children!==S.children&&f(G,S.children)}else!te&&V==null&&F(G,S,re,ae,R,j,H);((he=ae.onVnodeUpdated)||oe)&&qe(()=>{he&&vt(he,R,S,g),oe&&hn(S,g,R,"updated")},j)},x=(g,S,R,j,H,X,te)=>{for(let G=0;G<S.length;G++){const J=g[G],V=S[G],oe=J.el&&(J.type===et||!Pt(J,V)||J.shapeFlag&70)?u(J.el):R;C(J,V,oe,null,j,H,X,te,!0)}},F=(g,S,R,j,H,X,te)=>{if(R!==j){for(const G in j){if(Io(G))continue;const J=j[G],V=R[G];J!==V&&G!=="value"&&i(g,G,V,J,te,S.children,H,X,Q)}if(R!==Te)for(const G in R)!Io(G)&&!(G in j)&&i(g,G,R[G],null,te,S.children,H,X,Q);"value"in j&&i(g,"value",R.value,j.value)}},k=(g,S,R,j,H,X,te,G,J)=>{const V=S.el=g?g.el:a(""),oe=S.anchor=g?g.anchor:a("");let{patchFlag:re,dynamicChildren:ae,slotScopeIds:he}=S;sn&&(re=0,J=!1,ae=null),he&&(G=G?G.concat(he):he),g==null?(r(V,R,j),r(oe,R,j),T(S.children,R,oe,H,X,te,G,J)):re>0&&re&64&&ae&&g.dynamicChildren?(x(g.dynamicChildren,ae,R,H,X,te,G),H&&H.type.__hmrId?Lr(g,S):(S.key!=null||H&&S===H.subTree)&&Lr(g,S,!0)):ge(g,S,R,oe,H,X,te,G,J)},q=(g,S,R,j,H,X,te,G,J)=>{S.slotScopeIds=G,g==null?S.shapeFlag&512?H.ctx.activate(S,R,j,te,J):U(S,R,j,H,X,te,J):N(g,S,J)},U=(g,S,R,j,H,X,te)=>{const G=g.component=km(g,j,H);if(G.type.__hmrId&&ph(G),kr(g),Lt(G,"mount"),ro(g)&&(G.ctx.renderer=de),Lt(G,"init"),Bm(G),Mt(G,"init"),G.asyncDep){if(H&&H.registerDep(G,Z),!g.el){const J=G.subTree=v(Ge);b(null,J,S,R)}return}Z(G,g,S,R,H,X,te),Rr(),Mt(G,"mount")},N=(g,S,R)=>{const j=S.component=g.component;if(Oh(g,S,R))if(j.asyncDep&&!j.asyncResolved){kr(S),L(j,S,R),Rr();return}else j.next=S,mh(j.update),j.update();else S.component=g.component,S.el=g.el,j.vnode=S},Z=(g,S,R,j,H,X,te)=>{const G=()=>{if(g.isMounted){let{next:oe,bu:re,u:ae,parent:he,vnode:Se}=g,Re=oe,Ae;kr(oe||g.vnode),mn(g,!1),oe?(oe.el=Se.el,L(g,oe,te)):oe=Se,re&&nn(re),(Ae=oe.props&&oe.props.onVnodeBeforeUpdate)&&vt(Ae,he,oe,Se),mn(g,!0),Lt(g,"render");const Be=Ai(g);Mt(g,"render");const wt=g.subTree;g.subTree=Be,Lt(g,"patch"),C(wt,Be,u(wt.el),ve(wt),g,H,X),Mt(g,"patch"),oe.el=Be.el,Re===null&&na(g,Be.el),ae&&qe(ae,H),(Ae=oe.props&&oe.props.onVnodeUpdated)&&qe(()=>vt(Ae,he,oe,Se),H),nu(g),Rr()}else{let oe;const{el:re,props:ae}=S,{bm:he,m:Se,parent:Re}=g,Ae=Uo(S);if(mn(g,!1),he&&nn(he),!Ae&&(oe=ae&&ae.onVnodeBeforeMount)&&vt(oe,Re,S),mn(g,!0),re&&ke){const Be=()=>{Lt(g,"render"),g.subTree=Ai(g),Mt(g,"render"),Lt(g,"hydrate"),ke(re,g.subTree,g,H,null),Mt(g,"hydrate")};Ae?S.type.__asyncLoader().then(()=>!g.isUnmounted&&Be()):Be()}else{Lt(g,"render");const Be=g.subTree=Ai(g);Mt(g,"render"),Lt(g,"patch"),C(null,Be,R,j,g,H,X),Mt(g,"patch"),S.el=Be.el}if(Se&&qe(Se,H),!Ae&&(oe=ae&&ae.onVnodeMounted)){const Be=S;qe(()=>vt(oe,Re,Be),H)}S.shapeFlag&256&&g.a&&qe(g.a,H),g.isMounted=!0,as(g),S=R=j=null}},J=g.effect=new Vs(G,()=>Gs(g.update),g.scope),V=g.update=J.run.bind(J);V.id=g.uid,mn(g,!0),J.onTrack=g.rtc?oe=>nn(g.rtc,oe):void 0,J.onTrigger=g.rtg?oe=>nn(g.rtg,oe):void 0,V.ownerInstance=g,V()},L=(g,S,R)=>{S.component=g;const j=g.vnode.props;g.vnode=S,g.next=null,rm(g,S.props,j,R),fm(g,S.children,R),Dn(),Js(void 0,g.update),Ln()},ge=(g,S,R,j,H,X,te,G,J=!1)=>{const V=g&&g.children,oe=g?g.shapeFlag:0,re=S.children,{patchFlag:ae,shapeFlag:he}=S;if(ae>0){if(ae&128){ee(V,re,R,j,H,X,te,G,J);return}else if(ae&256){O(V,re,R,j,H,X,te,G,J);return}}he&8?(oe&16&&Q(V,H,X),re!==V&&f(R,re)):oe&16?he&16?ee(V,re,R,j,H,X,te,G,J):Q(V,H,X,!0):(oe&8&&f(R,""),he&16&&T(re,R,j,H,X,te,G,J))},O=(g,S,R,j,H,X,te,G,J)=>{g=g||nr,S=S||nr;const V=g.length,oe=S.length,re=Math.min(V,oe);let ae;for(ae=0;ae<re;ae++){const he=S[ae]=J?en(S[ae]):bt(S[ae]);C(g[ae],he,R,null,H,X,te,G,J)}V>oe?Q(g,H,X,!0,!1,re):T(S,R,j,H,X,te,G,J,re)},ee=(g,S,R,j,H,X,te,G,J)=>{let V=0;const oe=S.length;let re=g.length-1,ae=oe-1;for(;V<=re&&V<=ae;){const he=g[V],Se=S[V]=J?en(S[V]):bt(S[V]);if(Pt(he,Se))C(he,Se,R,null,H,X,te,G,J);else break;V++}for(;V<=re&&V<=ae;){const he=g[re],Se=S[ae]=J?en(S[ae]):bt(S[ae]);if(Pt(he,Se))C(he,Se,R,null,H,X,te,G,J);else break;re--,ae--}if(V>re){if(V<=ae){const he=ae+1,Se=he<oe?S[he].el:j;for(;V<=ae;)C(null,S[V]=J?en(S[V]):bt(S[V]),R,Se,H,X,te,G,J),V++}}else if(V>ae)for(;V<=re;)M(g[V],H,X,!0),V++;else{const he=V,Se=V,Re=new Map;for(V=Se;V<=ae;V++){const Ze=S[V]=J?en(S[V]):bt(S[V]);Ze.key!=null&&(Re.has(Ze.key)&&K("Duplicate keys found during update:",JSON.stringify(Ze.key),"Make sure keys are unique."),Re.set(Ze.key,V))}let Ae,Be=0;const wt=ae-Se+1;let jn=!1,Ba=0;const vr=new Array(wt);for(V=0;V<wt;V++)vr[V]=0;for(V=he;V<=re;V++){const Ze=g[V];if(Be>=wt){M(Ze,H,X,!0);continue}let Tt;if(Ze.key!=null)Tt=Re.get(Ze.key);else for(Ae=Se;Ae<=ae;Ae++)if(vr[Ae-Se]===0&&Pt(Ze,S[Ae])){Tt=Ae;break}Tt===void 0?M(Ze,H,X,!0):(vr[Tt-Se]=V+1,Tt>=Ba?Ba=Tt:jn=!0,C(Ze,S[Tt],R,null,H,X,te,G,J),Be++)}const Fa=jn?vm(vr):nr;for(Ae=Fa.length-1,V=wt-1;V>=0;V--){const Ze=Se+V,Tt=S[Ze],Da=Ze+1<oe?S[Ze+1].el:j;vr[V]===0?C(null,Tt,R,Da,H,X,te,G,J):jn&&(Ae<0||V!==Fa[Ae]?A(Tt,R,Da,2):Ae--)}}},A=(g,S,R,j,H=null)=>{const{el:X,type:te,transition:G,children:J,shapeFlag:V}=g;if(V&6){A(g.component.subTree,S,R,j);return}if(V&128){g.suspense.move(S,R,j);return}if(V&64){te.move(g,S,R,de);return}if(te===et){r(X,S,R);for(let re=0;re<J.length;re++)A(J[re],S,R,j);r(g.anchor,S,R);return}if(te===Mr){I(g,S,R);return}if(j!==2&&V&1&&G)if(j===0)G.beforeEnter(X),r(X,S,R),qe(()=>G.enter(X),H);else{const{leave:re,delayLeave:ae,afterLeave:he}=G,Se=()=>r(X,S,R),Re=()=>{re(X,()=>{Se(),he&&he()})};ae?ae(X,Se,Re):Re()}else r(X,S,R)},M=(g,S,R,j=!1,H=!1)=>{const{type:X,props:te,ref:G,children:J,dynamicChildren:V,shapeFlag:oe,patchFlag:re,dirs:ae}=g;if(G!=null&&ms(G,null,R,g,!0),oe&256){S.ctx.deactivate(g);return}const he=oe&1&&ae,Se=!Uo(g);let Re;if(Se&&(Re=te&&te.onVnodeBeforeUnmount)&&vt(Re,S,g),oe&6)Y(g.component,R,j);else{if(oe&128){g.suspense.unmount(R,j);return}he&&hn(g,null,S,"beforeUnmount"),oe&64?g.type.remove(g,S,R,H,de,j):V&&(X!==et||re>0&&re&64)?Q(V,S,R,!1,!0):(X===et&&re&384||!H&&oe&16)&&Q(J,S,R),j&&E(g)}(Se&&(Re=te&&te.onVnodeUnmounted)||he)&&qe(()=>{Re&&vt(Re,S,g),he&&hn(g,null,S,"unmounted")},R)},E=g=>{const{type:S,el:R,anchor:j,transition:H}=g;if(S===et){z(R,j);return}if(S===Mr){D(g);return}const X=()=>{o(R),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(g.shapeFlag&1&&H&&!H.persisted){const{leave:te,delayLeave:G}=H,J=()=>te(R,X);G?G(g.el,X,J):J()}else X()},z=(g,S)=>{let R;for(;g!==S;)R=d(g),o(g),g=R;o(S)},Y=(g,S,R)=>{g.type.__hmrId&&vh(g);const{bum:j,scope:H,update:X,subTree:te,um:G}=g;j&&nn(j),H.stop(),X&&(X.active=!1,M(te,g,S,R)),G&&qe(G,S),qe(()=>{g.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve()),Ch(g)},Q=(g,S,R,j=!1,H=!1,X=0)=>{for(let te=X;te<g.length;te++)M(g[te],S,R,j,H)},ve=g=>g.shapeFlag&6?ve(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),Ie=(g,S,R)=>{g==null?S._vnode&&M(S._vnode,null,null,!0):C(S._vnode||null,g,S,null,null,null,R),Zc(),S._vnode=g},de={p:C,um:M,m:A,r:E,mt:U,mc:T,pc:ge,pbc:x,n:ve,o:e};let we,ke;return t&&([we,ke]=t(de)),{render:Ie,hydrate:we,createApp:hm(Ie,we)}}function mn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Lr(e,t,n=!1){const r=e.children,o=t.children;if(se(r)&&se(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=en(o[i]),a.el=s.el),n||Lr(s,a)),a.type===Ge&&!a.el&&(a.el=s.el)}}function vm(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<c?i=a+1:s=a;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}const bm=e=>e.__isTeleport,or=e=>e&&(e.disabled||e.disabled===""),il=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,gs=(e,t)=>{const n=e&&e.to;if(De(n))if(t){const r=t(n);return r||K(`Failed to locate Teleport target with selector "${n}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.`),r}else return K("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return!n&&!or(e)&&K(`Invalid Teleport target: ${n}`),n},ym={__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:f,pc:u,pbc:d,o:{insert:h,querySelector:p,createText:m,createComment:C}}=c,w=or(t.props);let{shapeFlag:b,children:_,dynamicChildren:P}=t;if(sn&&(l=!1,P=null),e==null){const I=t.el=C("teleport start"),D=t.anchor=C("teleport end");h(I,n,r),h(D,n,r);const $=t.target=gs(t.props,p),B=t.targetAnchor=m("");$?(h(B,$),s=s||il($)):w||K("Invalid Teleport target on mount:",$,`(${typeof $})`);const W=(T,y)=>{b&16&&f(_,T,y,o,i,s,a,l)};w?W(n,D):$&&W($,B)}else{t.el=e.el;const I=t.anchor=e.anchor,D=t.target=e.target,$=t.targetAnchor=e.targetAnchor,B=or(e.props),W=B?n:D,T=B?I:$;if(s=s||il(D),P?(d(e.dynamicChildren,P,W,o,i,s,a),Lr(e,t,!0)):l||u(e,t,W,T,o,i,s,a,!1),w)B||po(t,n,I,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const y=t.target=gs(t.props,p);y?po(t,y,null,c,0):K("Invalid Teleport target on update:",D,`(${typeof D})`)}else B&&po(t,D,$,c,1)}},remove(e,t,n,r,{um:o,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:f,target:u,props:d}=e;if(u&&i(f),(s||!or(d))&&(i(c),a&16))for(let h=0;h<l.length;h++){const p=l[h];o(p,t,n,!0,!!p.dynamicChildren)}},move:po,hydrate:wm};function po(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:f}=e,u=i===2;if(u&&r(s,t,n),(!u||or(f))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);u&&r(a,t,n)}function wm(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const f=t.target=gs(t.props,l);if(f){const u=f._lpa||f.firstChild;t.shapeFlag&16&&(or(t.props)?(t.anchor=c(s(e),t,a(e),n,r,o,i),t.targetAnchor=u):(t.anchor=s(e),t.targetAnchor=c(u,t,f,n,r,o,i)),f._lpa=t.targetAnchor&&s(t.targetAnchor))}return t.anchor&&s(t.anchor)}const xm=ym,jo="components",Cm="directives";function qx(e,t){return aa(jo,e,!0,t)||e}const Cu=Symbol();function Yx(e){return De(e)?aa(jo,e,!1)||e:e||Cu}function Sm(e){return aa(Cm,e)}function aa(e,t,n=!0,r=!1){const o=tt||ze;if(o){const i=o.type;if(e===jo){const a=Gr(i);if(a&&(a===t||a===It(t)||a===kn(It(t))))return i}const s=sl(o[e]||i[e],t)||sl(o.appContext[e],t);if(!s&&r)return i;if(n&&!s){const a=e===jo?`
|
|
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";K(`Failed to resolve ${e.slice(0,-1)}: ${t}${a}`)}return s}else K(`resolve${kn(e.slice(0,-1))} can only be used in render() or setup().`)}function sl(e,t){return e&&(e[t]||e[It(t)]||e[kn(It(t))])}const et=Symbol("Fragment"),ai=Symbol("Text"),Ge=Symbol("Comment"),Mr=Symbol("Static"),Nr=[];let an=null;function la(e=!1){Nr.push(an=e?null:[])}function Su(){Nr.pop(),an=Nr[Nr.length-1]||null}let qr=1;function al(e){qr+=e}function Eu(e){return e.dynamicChildren=qr>0?an||nr:null,Su(),qr>0&&an&&an.push(e),e}function Gx(e,t,n,r,o,i){return Eu(Pu(e,t,n,r,o,i,!0))}function _u(e,t,n,r,o){return Eu(v(e,t,n,r,o,!0))}function cn(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return t.shapeFlag&6&&er.has(t.type)?!1:e.type===t.type&&e.key===t.key}const Em=(...e)=>_m(...e),li="__vInternal",Tu=({key:e})=>e!=null?e:null,Ao=({ref:e,ref_key:t,ref_for:n})=>e!=null?De(e)||Ue(e)||ue(e)?{i:tt,r:e,k:t,f:!!n}:e:null;function Pu(e,t=null,n=null,r=0,o=null,i=e===et?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Tu(t),ref:t&&Ao(t),scopeId:ii,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(ca(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=De(n)?8:16),l.key!==l.key&&K("VNode created with invalid key (NaN). VNode type:",l.type),qr>0&&!s&&an&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&an.push(l),l}const v=Em;function _m(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Cu)&&(e||K(`Invalid vnode type when creating vnode: ${e}.`),e=Ge),cn(e)){const a=Kt(e,t,!0);return n&&ca(a,n),a}if(Bu(e)&&(e=e.__vccOpts),t){t=Tm(t);let{class:a,style:l}=t;a&&!De(a)&&(t.class=Ls(a)),Oe(l)&&(rs(l)&&!se(l)&&(l=Le({},l)),t.style=Ds(l))}const s=De(e)?1:kh(e)?128:bm(e)?64:Oe(e)?4:ue(e)?2:0;return s&4&&rs(e)&&(e=ye(e),K("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
Component that was made reactive: `,e)),Pu(e,t,n,r,o,s,i,!0)}function Tm(e){return e?rs(e)||li in e?Le({},e):e:null}function Kt(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:s}=e,a=t?We(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Tu(a),ref:t&&t.ref?n&&o?se(o)?o.concat(Ao(t)):[o,Ao(t)]:Ao(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i===-1&&se(s)?s.map($u):s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==et?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor}}function $u(e){const t=Kt(e);return se(e.children)&&(t.children=e.children.map($u)),t}function Iu(e=" ",t=0){return v(ai,null,e,t)}function Xx(e,t){const n=v(Mr,null,e);return n.staticCount=t,n}function Jx(e="",t=!1){return t?(la(),_u(Ge,null,e)):v(Ge,null,e)}function bt(e){return e==null||typeof e=="boolean"?v(Ge):se(e)?v(et,null,e.slice()):typeof e=="object"?en(e):v(ai,null,String(e))}function en(e){return e.el===null||e.memo?e:Kt(e)}function ca(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(se(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ca(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(li in t)?t._ctx=tt:o===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ue(t)?(t={default:t,_ctx:tt},n=32):(t=String(t),r&64?(n=16,t=[Iu(t)]):n=8);e.children=t,e.shapeFlag|=n}function We(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ls([t.class,r.class]));else if(o==="style")t.style=Ds([t.style,r.style]);else if(eo(o)){const i=t[o],s=r[o];s&&i!==s&&!(se(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function vt(e,t,n,r=null){yt(e,t,7,[n,r])}function Zx(e,t,n,r){let o;const i=n&&n[r];if(se(e)||De(e)){o=new Array(e.length);for(let s=0,a=e.length;s<a;s++)o[s]=t(e[s],s,void 0,i&&i[s])}else if(typeof e=="number"){if(!Number.isInteger(e))return K(`The v-for range expect an integer value but got ${e}.`),[];o=new Array(e);for(let s=0;s<e;s++)o[s]=t(s+1,s,void 0,i&&i[s])}else if(Oe(e))if(e[Symbol.iterator])o=Array.from(e,(s,a)=>t(s,a,void 0,i&&i[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,l=s.length;a<l;a++){const c=s[a];o[a]=t(e[c],c,a,i&&i[a])}}else o=[];return n&&(n[r]=o),o}function Qx(e,t,n={},r,o){if(tt.isCE)return v("slot",t==="default"?null:{name:t},r&&r());let i=e[t];i&&i.length>1&&(K("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),la();const s=i&&Au(i(n)),a=_u(et,{key:n.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Au(e){return e.some(t=>cn(t)?!(t.type===Ge||t.type===et&&!Au(t.children)):!0)?e:null}const ps=e=>e?ku(e)?ua(e)||e.proxy:ps(e.parent):null,sr=Le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>tr(e.props),$attrs:e=>tr(e.attrs),$slots:e=>tr(e.slots),$refs:e=>tr(e.refs),$parent:e=>ps(e.parent),$root:e=>ps(e.root),$emit:e=>e.emit,$options:e=>du(e),$forceUpdate:e=>()=>Gs(e.update),$nextTick:e=>Fe.bind(e.proxy),$watch:e=>Uh.bind(e)}),Ou={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;if(t==="__isVue")return!0;if(r!==Te&&r.__isScriptSetup&&Ce(r,t))return r[t];let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(r!==Te&&Ce(r,t))return s[t]=1,r[t];if(o!==Te&&Ce(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&Ce(c,t))return s[t]=3,i[t];if(n!==Te&&Ce(n,t))return s[t]=4,n[t];us&&(s[t]=0)}}const f=sr[t];let u,d;if(f)return t==="$attrs"&&(ut(e,"get",t),Mo()),f(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==Te&&Ce(n,t))return s[t]=4,n[t];if(d=l.config.globalProperties,Ce(d,t))return d[t];tt&&(!De(t)||t.indexOf("__v")!==0)&&(o!==Te&&(t[0]==="$"||t[0]==="_")&&Ce(o,t)?K(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===tt&&K(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return o!==Te&&Ce(o,t)?(o[t]=n,!0):r!==Te&&Ce(r,t)?(r[t]=n,!0):Ce(e.props,t)?(K(`Attempting to mutate prop "${t}". Props are readonly.`,e),!1):t[0]==="$"&&t.slice(1)in e?(K(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`,e),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==Te&&Ce(e,s)||t!==Te&&Ce(t,s)||(a=i[0])&&Ce(a,s)||Ce(r,s)||Ce(sr,s)||Ce(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};Ou.ownKeys=e=>(K("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e));function Pm(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(sr).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>sr[n](e),set:it})}),t}function $m(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(r=>{Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>e.props[r],set:it})})}function Im(e){const{ctx:t,setupState:n}=e;Object.keys(ye(n)).forEach(r=>{if(!n.__isScriptSetup){if(r[0]==="$"||r[0]==="_"){K(`setup() return property ${JSON.stringify(r)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>n[r],set:it})}})}const Am=wu();let Om=0;function km(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Am,i={uid:Om++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mu(r,o),emitsOptions:ou(r,o),emit:null,emitted:null,propsDefaults:Te,inheritAttrs:r.inheritAttrs,ctx:Te,data:Te,props:Te,attrs:Te,slots:Te,refs:Te,setupState:Te,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx=Pm(i),i.root=t?t.root:i,i.emit=Th.bind(null,i),e.ce&&e.ce(i),i}let ze=null;const dt=()=>ze||tt,ar=e=>{ze=e,e.scope.on()},On=()=>{ze&&ze.scope.off(),ze=null},Rm=fn("slot,component");function vs(e,t){const n=t.isNativeTag||Ec;(Rm(e)||n(e))&&K("Do not use built-in or reserved HTML elements as component id: "+e)}function ku(e){return e.vnode.shapeFlag&4}let Yr=!1;function Bm(e,t=!1){Yr=t;const{props:n,children:r}=e.vnode,o=ku(e);nm(e,n,o,t),um(e,r);const i=o?Fm(e,t):void 0;return Yr=!1,i}function Fm(e,t){const n=e.type;{if(n.name&&vs(n.name,e.appContext.config),n.components){const o=Object.keys(n.components);for(let i=0;i<o.length;i++)vs(o[i],e.appContext.config)}if(n.directives){const o=Object.keys(n.directives);for(let i=0;i<o.length;i++)yu(o[i])}n.compilerOptions&&Dm()&&K('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=zc(new Proxy(e.ctx,Ou)),$m(e);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Mm(e):null;ar(e),Dn();const i=jt(r,e,0,[tr(e.props),o]);if(Ln(),On(),Us(i)){if(i.then(On,On),t)return i.then(s=>{bs(e,s,t)}).catch(s=>{to(s,e,0)});e.asyncDep=i}else bs(e,i,t)}else Ru(e,t)}function bs(e,t,n){ue(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Oe(t)?(cn(t)&&K("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=qc(t),Im(e)):t!==void 0&&K(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ru(e,n)}let ys;const Dm=()=>!ys;function Ru(e,t,n){const r=e.type;if(!e.render){if(!t&&ys&&!r.render){const o=r.template;if(o){Lt(e,"compile");const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Le(Le({isCustomElement:i,delimiters:a},s),l);r.render=ys(o,c),Mt(e,"compile")}}e.render=r.render||it}ar(e),Dn(),Jh(e),Ln(),On(),!r.render&&e.render===it&&!t&&(r.template?K('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):K("Component is missing template or render function."))}function Lm(e){return new Proxy(e.attrs,{get(t,n){return Mo(),ut(e,"get","$attrs"),t[n]},set(){return K("setupContext.attrs is readonly."),!1},deleteProperty(){return K("setupContext.attrs is readonly."),!1}})}function Mm(e){const t=r=>{e.exposed&&K("expose() should be called only once per setup()."),e.exposed=r||{}};let n;return Object.freeze({get attrs(){return n||(n=Lm(e))},get slots(){return tr(e.slots)},get emit(){return(r,...o)=>e.emit(r,...o)},expose:t})}function ua(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qc(zc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sr)return sr[n](e)}}))}const Nm=/(?:^|[-_])(\w)/g,Um=e=>e.replace(Nm,t=>t.toUpperCase()).replace(/[-_]/g,"");function Gr(e){return ue(e)&&e.displayName||e.name}function ci(e,t,n=!1){let r=Gr(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=i=>{for(const s in i)if(i[s]===t)return s};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?Um(r):n?"App":"Anonymous"}function Bu(e){return ue(e)&&"__vccOpts"in e}const ne=(e,t)=>sh(e,t,Yr);function ui(e,t,n){const r=arguments.length;return r===2?Oe(t)&&!se(t)?cn(t)?v(e,null,[t]):v(e,t):v(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&cn(n)&&(n=[n]),v(e,t,n))}function Bi(e){return!!(e&&e.__v_isShallow)}function Hm(){if(typeof window=="undefined")return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},r={style:"color:#9d288c"},o={header(u){return Oe(u)?u.__isVue?["div",e,"VueInstance"]:Ue(u)?["div",{},["span",e,f(u)],"<",a(u.value),">"]:In(u)?["div",{},["span",e,Bi(u)?"ShallowReactive":"Reactive"],"<",a(u),`>${Rn(u)?" (readonly)":""}`]:Rn(u)?["div",{},["span",e,Bi(u)?"ShallowReadonly":"Readonly"],"<",a(u),">"]:null:null},hasBody(u){return u&&u.__isVue},body(u){if(u&&u.__isVue)return["div",{},...i(u.$)]}};function i(u){const d=[];u.type.props&&u.props&&d.push(s("props",ye(u.props))),u.setupState!==Te&&d.push(s("setup",u.setupState)),u.data!==Te&&d.push(s("data",ye(u.data)));const h=l(u,"computed");h&&d.push(s("computed",h));const p=l(u,"inject");return p&&d.push(s("injected",p)),d.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:u}]]),d}function s(u,d){return d=Le({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},u],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",r,h+": "],a(d[h],!1)])]]:["span",{}]}function a(u,d=!0){return typeof u=="number"?["span",t,u]:typeof u=="string"?["span",n,JSON.stringify(u)]:typeof u=="boolean"?["span",r,u]:Oe(u)?["object",{object:d?ye(u):u}]:["span",n,String(u)]}function l(u,d){const h=u.type;if(ue(h))return;const p={};for(const m in u.ctx)c(h,m,d)&&(p[m]=u.ctx[m]);return p}function c(u,d,h){const p=u[h];if(se(p)&&p.includes(d)||Oe(p)&&d in p||u.extends&&c(u.extends,d,h)||u.mixins&&u.mixins.some(m=>c(m,d,h)))return!0}function f(u){return Bi(u)?"ShallowRef":u.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}const ll="3.2.31",jm="http://www.w3.org/2000/svg",En=typeof document!="undefined"?document:null,cl=En&&En.createElement("template"),zm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?En.createElementNS(jm,e):En.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>En.createTextNode(e),createComment:e=>En.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>En.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{cl.innerHTML=r?`<svg>${e}</svg>`:e;const a=cl.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Vm(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Wm(e,t,n){const r=e.style,o=De(n);if(n&&!o){for(const i in n)ws(r,i,n[i]);if(t&&!De(t))for(const i in t)n[i]==null&&ws(r,i,"")}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const ul=/\s*!important$/;function ws(e,t,n){if(se(n))n.forEach(r=>ws(e,t,r));else if(t.startsWith("--"))e.setProperty(t,n);else{const r=Km(e,t);ul.test(n)?e.setProperty(Vt(r),n.replace(ul,""),"important"):e[r]=n}}const fl=["Webkit","Moz","ms"],Fi={};function Km(e,t){const n=Fi[t];if(n)return n;let r=It(t);if(r!=="filter"&&r in e)return Fi[t]=r;r=kn(r);for(let o=0;o<fl.length;o++){const i=fl[o]+r;if(i in e)return Fi[t]=i}return t}const dl="http://www.w3.org/1999/xlink";function qm(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(dl,t.slice(6,t.length)):e.setAttributeNS(dl,t,n);else{const i=fd(t);n==null||i&&!Cc(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Ym(e,t,n,r,o,i,s){if(t==="innerHTML"||t==="textContent"){r&&s(r,o,i),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n==null?"":n;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}if(n===""||n==null){const a=typeof e[t];if(a==="boolean"){e[t]=Cc(n);return}else if(n==null&&a==="string"){e[t]="",e.removeAttribute(t);return}else if(a==="number"){try{e[t]=0}catch{}e.removeAttribute(t);return}}try{e[t]=n}catch(a){K(`Failed setting prop "${t}" on <${e.tagName.toLowerCase()}>: value ${n} is invalid.`,a)}}let zo=Date.now,Fu=!1;if(typeof window!="undefined"){zo()>document.createEvent("Event").timeStamp&&(zo=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Fu=!!(e&&Number(e[1])<=53)}let xs=0;const Gm=Promise.resolve(),Xm=()=>{xs=0},Jm=()=>xs||(Gm.then(Xm),xs=zo());function _n(e,t,n,r){e.addEventListener(t,n,r)}function Zm(e,t,n,r){e.removeEventListener(t,n,r)}function Qm(e,t,n,r,o=null){const i=e._vei||(e._vei={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=eg(t);if(r){const c=i[t]=tg(r,o);_n(e,a,c,l)}else s&&(Zm(e,a,s,l),i[t]=void 0)}}const hl=/(?:Once|Passive|Capture)$/;function eg(e){let t;if(hl.test(e)){t={};let n;for(;n=e.match(hl);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Vt(e.slice(2)),t]}function tg(e,t){const n=r=>{const o=r.timeStamp||zo();(Fu||o>=n.attached-1)&&yt(ng(r,n.value),t,5,[r])};return n.value=e,n.attached=Jm(),n}function ng(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ml=/^on[a-z]/,rg=(e,t,n,r,o=!1,i,s,a,l)=>{t==="class"?Vm(e,r,o):t==="style"?Wm(e,n,r):eo(t)?Bo(t)||Qm(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):og(e,t,r,o))?Ym(e,t,r,i,s,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),qm(e,t,r,o))};function og(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&ml.test(t)&&ue(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ml.test(t)&&De(n)?!1:t in e}const Xt="transition",br="animation",ao=(e,{slots:t})=>ui(su,ig(e),t);ao.displayName="Transition";const Du={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};ao.props=Le({},su.props,Du);const gn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},gl=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function ig(e){const t={};for(const x in e)x in Du||(t[x]=e[x]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:f=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=sg(o),m=p&&p[0],C=p&&p[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:_,onLeave:P,onLeaveCancelled:I,onBeforeAppear:D=w,onAppear:$=b,onAppearCancelled:B=_}=t,W=(x,F,k)=>{zn(x,F?f:a),zn(x,F?c:s),k&&k()},T=(x,F)=>{zn(x,h),zn(x,d),F&&F()},y=x=>(F,k)=>{const q=x?$:b,U=()=>W(F,x,k);gn(q,[F,U]),pl(()=>{zn(F,x?l:i),Jt(F,x?f:a),gl(q)||vl(F,r,m,U)})};return Le(t,{onBeforeEnter(x){gn(w,[x]),Jt(x,i),Jt(x,s)},onBeforeAppear(x){gn(D,[x]),Jt(x,l),Jt(x,c)},onEnter:y(!1),onAppear:y(!0),onLeave(x,F){const k=()=>T(x,F);Jt(x,u),ug(),Jt(x,d),pl(()=>{zn(x,u),Jt(x,h),gl(P)||vl(x,r,C,k)}),gn(P,[x,k])},onEnterCancelled(x){W(x,!1),gn(_,[x])},onAppearCancelled(x){W(x,!0),gn(B,[x])},onLeaveCancelled(x){T(x),gn(I,[x])}})}function sg(e){if(e==null)return null;if(Oe(e))return[Di(e.enter),Di(e.leave)];{const t=Di(e);return[t,t]}}function Di(e){const t=ir(e);return ag(t),t}function ag(e){typeof e!="number"?K(`<transition> explicit duration is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&K("<transition> explicit duration is NaN - the duration expression might be incorrect.")}function Jt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function zn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function pl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lg=0;function vl(e,t,n,r){const o=e._endId=++lg,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=cg(e,t);if(!s)return r();const c=s+"end";let f=0;const u=()=>{e.removeEventListener(c,d),i()},d=h=>{h.target===e&&++f>=l&&u()};setTimeout(()=>{f<l&&u()},a+1),e.addEventListener(c,d)}function cg(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(Xt+"Delay"),i=r(Xt+"Duration"),s=bl(o,i),a=r(br+"Delay"),l=r(br+"Duration"),c=bl(a,l);let f=null,u=0,d=0;t===Xt?s>0&&(f=Xt,u=s,d=i.length):t===br?c>0&&(f=br,u=c,d=l.length):(u=Math.max(s,c),f=u>0?s>c?Xt:br:null,d=f?f===Xt?i.length:l.length:0);const h=f===Xt&&/\b(transform|all)(,|$)/.test(n[Xt+"Property"]);return{type:f,timeout:u,propCount:d,hasTransform:h}}function bl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>yl(n)+yl(e[r])))}function yl(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function ug(){return document.body.offsetHeight}const Vo=e=>{const t=e.props["onUpdate:modelValue"];return se(t)?n=>nn(t,n):t};function fg(e){e.target.composing=!0}function wl(e){const t=e.target;t.composing&&(t.composing=!1,dg(t,"input"))}function dg(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const eC={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=Vo(o);const i=r||o.props&&o.props.type==="number";_n(e,t?"change":"input",s=>{if(s.target.composing)return;let a=e.value;n?a=a.trim():i&&(a=ir(a)),e._assign(a)}),n&&_n(e,"change",()=>{e.value=e.value.trim()}),t||(_n(e,"compositionstart",fg),_n(e,"compositionend",wl),_n(e,"change",wl))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},i){if(e._assign=Vo(i),e.composing||document.activeElement===e&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&ir(e.value)===t))return;const s=t==null?"":t;e.value!==s&&(e.value=s)}},tC={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Zo(t);_n(e,"change",()=>{const i=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>n?ir(Wo(s)):Wo(s));e._assign(e.multiple?o?new Set(i):i:i[0])}),e._assign=Vo(r)},mounted(e,{value:t}){xl(e,t)},beforeUpdate(e,t,n){e._assign=Vo(n)},updated(e,{value:t}){xl(e,t)}};function xl(e,t){const n=e.multiple;if(n&&!se(t)&&!Zo(t)){K(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`);return}for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],s=Wo(i);if(n)se(t)?i.selected=wd(t,s)>-1:i.selected=t.has(s);else if(Jo(Wo(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function Wo(e){return"_value"in e?e._value:e.value}const hg=["ctrl","shift","alt","meta"],mg={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)=>hg.some(n=>e[`${n}Key`]&&!t.includes(n))},nC=(e,t)=>(n,...r)=>{for(let o=0;o<t.length;o++){const i=mg[t[o]];if(i&&i(n,t))return}return e(n,...r)},gg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},pg=(e,t)=>n=>{if(!("key"in n))return;const r=Vt(n.key);if(t.some(o=>o===r||gg[o]===r))return e(n)},fi={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):yr(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),yr(e,!0),r.enter(e)):r.leave(e,()=>{yr(e,!1)}):yr(e,t))},beforeUnmount(e,{value:t}){yr(e,t)}};function yr(e,t){e.style.display=t?e._vod:"none"}const vg=Le({patchProp:rg},zm);let Cl;function bg(){return Cl||(Cl=gm(vg))}const yg=(...e)=>{const t=bg().createApp(...e);wg(t),xg(t);const{mount:n}=t;return t.mount=r=>{const o=Cg(r);if(!o)return;const i=t._component;!ue(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function wg(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>vd(t)||bd(t),writable:!1})}function xg(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){K("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,r='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom';Object.defineProperty(e.config,"compilerOptions",{get(){return K(r),n},set(){K(r)}})}}function Cg(e){if(De(e)){const t=document.querySelector(e);return t||K(`Failed to mount app: mount target selector "${e}" returned null.`),t}return window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&K('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}function Sg(){Hm()}Sg();function lr(){}const _e=Object.assign,Mn=typeof window!="undefined";function Sl(e,t){const n=t.split(".");let r=e;return n.forEach(o=>{var i;r=(i=r[o])!=null?i:""}),r}function $t(e,t,n){return t.reduce((r,o)=>((!n||e[o]!==void 0)&&(r[o]=e[o]),r),{})}const Je=null,ie=[Number,String],fe={type:Boolean,default:!0},ct=e=>({type:e,required:!0}),di=()=>({type:Array,default:()=>[]}),fa=e=>({type:Number,default:e}),Pe=e=>({type:ie,default:e}),be=e=>({type:String,default:e});var Et=typeof window!="undefined";function cr(e){return Et?requestAnimationFrame(e):-1}function Ar(e){cr(()=>cr(e))}var Eg=e=>e===window,El=(e,t)=>({top:0,left:0,right:e,bottom:t,width:e,height:t}),st=e=>{const t=Ht(e);if(Eg(t)){const n=t.innerWidth,r=t.innerHeight;return El(n,r)}return(t==null?void 0:t.getBoundingClientRect)?t.getBoundingClientRect():El(0,0)};function Ot(e){const t=nt(e,null);if(t){const n=dt(),{link:r,unlink:o,internalChildren:i}=t;r(n),io(()=>o(n));const s=ne(()=>i.indexOf(n));return{parent:t,index:s}}return{parent:null,index:le(-1)}}function _g(e){const t=[],n=r=>{Array.isArray(r)&&r.forEach(o=>{var i;cn(o)&&(t.push(o),((i=o.component)==null?void 0:i.subTree)&&(t.push(o.component.subTree),n(o.component.subTree.children)),o.children&&n(o.children))})};return n(e),t}function Tg(e,t,n){const r=_g(e.subTree.children);n.sort((i,s)=>r.indexOf(i.vnode)-r.indexOf(s.vnode));const o=n.map(i=>i.proxy);t.sort((i,s)=>{const a=o.indexOf(i),l=o.indexOf(s);return a-l})}function kt(e){const t=He([]),n=He([]),r=dt();return{children:t,linkChildren:i=>{zt(e,Object.assign({link:l=>{l.proxy&&(n.push(l),t.push(l.proxy),Tg(r,t,n))},unlink:l=>{const c=n.indexOf(l);t.splice(c,1),n.splice(c,1)},children:t,internalChildren:n},i))}}}function hi(e){let t;at(()=>{e(),Fe(()=>{t=!0})}),oo(()=>{t&&e()})}function mi(e,t,n={}){if(!Et)return;const{target:r=window,passive:o=!1,capture:i=!1}=n;let s;const a=c=>{const f=Ht(c);f&&!s&&(f.addEventListener(e,t,{capture:i,passive:o}),s=!0)},l=c=>{const f=Ht(c);f&&s&&(f.removeEventListener(e,t,i),s=!1)};io(()=>l(r)),dr(()=>l(r)),hi(()=>a(r)),Ue(r)&&pe(r,(c,f)=>{l(f),a(c)})}var vo,Li;function Pg(){if(!vo&&(vo=le(0),Li=le(0),Et)){const e=()=>{vo.value=window.innerWidth,Li.value=window.innerHeight};e(),window.addEventListener("resize",e,{passive:!0}),window.addEventListener("orientationchange",e,{passive:!0})}return{width:vo,height:Li}}var $g=/scroll|auto/i,Lu=Et?window:void 0;function Ig(e){return e.tagName!=="HTML"&&e.tagName!=="BODY"&&e.nodeType===1}function da(e,t=Lu){let n=e;for(;n&&n!==t&&Ig(n);){const{overflowY:r}=window.getComputedStyle(n);if($g.test(r))return n;n=n.parentNode}return t}function gi(e,t=Lu){const n=le();return at(()=>{e.value&&(n.value=da(e.value,t))}),n}var bo;function Ag(){if(!bo&&(bo=le("visible"),Et)){const e=()=>{bo.value=document.hidden?"hidden":"visible"};e(),window.addEventListener("visibilitychange",e)}return bo}var Mu=Symbol("van-field");function ha(e){const t=nt(Mu,null);t&&!t.customValue.value&&(t.customValue.value=e,pe(e,()=>{t.resetValidation(),t.validateWithTrigger("onChange")}))}const Me=e=>e!=null,ur=e=>typeof e=="function",Yt=e=>e!==null&&typeof e=="object",ma=e=>Yt(e)&&ur(e.then)&&ur(e.catch),Nu=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),Og=()=>Mn?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function pi(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function Cs(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function ga(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function pa(e){Cs(window,e),Cs(document.body,e)}function _l(e,t){if(e===window)return 0;const n=t?pi(t):ga();return st(e).top+n}const kg=Og();function Rg(){kg&&pa(ga())}const Bg=e=>e.stopPropagation();function ft(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&Bg(e)}function Xr(e){const t=Ht(e);if(!t)return!1;const n=window.getComputedStyle(t),r=n.display==="none",o=t.offsetParent===null&&n.position!=="fixed";return r||o}const{width:vi,height:va}=Pg();function Ve(e){if(Me(e))return Nu(e)?`${e}px`:String(e)}function bi(e){if(Me(e)){const t=Ve(e);return{width:t,height:t}}}function yi(e){const t={};return e!==void 0&&(t.zIndex=+e),t}let Mi;function Fg(){if(!Mi){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;Mi=parseFloat(t)}return Mi}function Dg(e){return e=e.replace(/rem/g,""),+e*Fg()}function Lg(e){return e=e.replace(/vw/g,""),+e*vi.value/100}function Mg(e){return e=e.replace(/vh/g,""),+e*va.value/100}function ba(e){if(typeof e=="number")return e;if(Mn){if(e.includes("rem"))return Dg(e);if(e.includes("vw"))return Lg(e);if(e.includes("vh"))return Mg(e)}return parseFloat(e)}const Ng=/-(\w)/g,Uu=e=>e.replace(Ng,(t,n)=>n.toUpperCase()),Ug=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,""),Ct=(e,t,n)=>Math.min(Math.max(e,t),n);function Tl(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 Hg(e,t=!0,n=!0){t?e=Tl(e,".",/\./g):e=e.split(".")[0],n?e=Tl(e,"-",/-/g):e=e.replace(/-/,"");const r=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(r,"")}const{hasOwnProperty:jg}=Object.prototype;function zg(e,t,n){const r=t[n];!Me(r)||(!jg.call(e,n)||!Yt(r)?e[n]=r:e[n]=Hu(Object(e[n]),r))}function Hu(e,t){return Object.keys(t).forEach(n=>{zg(e,t,n)}),e}var Vg={name:"\u59D3\u540D",tel:"\u7535\u8BDD",save:"\u4FDD\u5B58",confirm:"\u786E\u8BA4",cancel:"\u53D6\u6D88",delete:"\u5220\u9664",loading:"\u52A0\u8F7D\u4E2D...",noCoupon:"\u6682\u65E0\u4F18\u60E0\u5238",nameEmpty:"\u8BF7\u586B\u5199\u59D3\u540D",addContact:"\u6DFB\u52A0\u8054\u7CFB\u4EBA",telInvalid:"\u8BF7\u586B\u5199\u6B63\u786E\u7684\u7535\u8BDD",vanCalendar:{end:"\u7ED3\u675F",start:"\u5F00\u59CB",title:"\u65E5\u671F\u9009\u62E9",weekdays:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],monthTitle:(e,t)=>`${e}\u5E74${t}\u6708`,rangePrompt:e=>`\u6700\u591A\u9009\u62E9 ${e} \u5929`},vanCascader:{select:"\u8BF7\u9009\u62E9"},vanPagination:{prev:"\u4E0A\u4E00\u9875",next:"\u4E0B\u4E00\u9875"},vanPullRefresh:{pulling:"\u4E0B\u62C9\u5373\u53EF\u5237\u65B0...",loosing:"\u91CA\u653E\u5373\u53EF\u5237\u65B0..."},vanSubmitBar:{label:"\u5408\u8BA1:"},vanCoupon:{unlimited:"\u65E0\u95E8\u69DB",discount:e=>`${e}\u6298`,condition:e=>`\u6EE1${e}\u5143\u53EF\u7528`},vanCouponCell:{title:"\u4F18\u60E0\u5238",count:e=>`${e}\u5F20\u53EF\u7528`},vanCouponList:{exchange:"\u5151\u6362",close:"\u4E0D\u4F7F\u7528",enable:"\u53EF\u7528",disabled:"\u4E0D\u53EF\u7528",placeholder:"\u8F93\u5165\u4F18\u60E0\u7801"},vanAddressEdit:{area:"\u5730\u533A",postal:"\u90AE\u653F\u7F16\u7801",areaEmpty:"\u8BF7\u9009\u62E9\u5730\u533A",addressEmpty:"\u8BF7\u586B\u5199\u8BE6\u7EC6\u5730\u5740",postalEmpty:"\u90AE\u653F\u7F16\u7801\u4E0D\u6B63\u786E",addressDetail:"\u8BE6\u7EC6\u5730\u5740",defaultAddress:"\u8BBE\u4E3A\u9ED8\u8BA4\u6536\u8D27\u5730\u5740"},vanAddressList:{add:"\u65B0\u589E\u5730\u5740"}};const Pl=le("zh-CN"),$l=He({"zh-CN":Vg}),Wg={messages(){return $l[Pl.value]},use(e,t){Pl.value=e,this.add({[e]:t})},add(e={}){Hu($l,e)}};var Kg=Wg;function qg(e){const t=Uu(e)+".";return(n,...r)=>{const o=Kg.messages(),i=Sl(o,t+n)||Sl(o,n);return ur(i)?i(...r):i}}function Ss(e,t){return t?typeof t=="string"?` ${e}--${t}`:Array.isArray(t)?t.reduce((n,r)=>n+Ss(e,r),""):Object.keys(t).reduce((n,r)=>n+(t[r]?Ss(e,r):""),""):""}function Yg(e){return(t,n)=>(t&&typeof t!="string"&&(n=t,t=""),t=t?`${e}__${t}`:e,`${t}${Ss(t,n)}`)}function me(e){const t=`van-${e}`;return[t,Yg(t),qg(t)]}const Nn="van-hairline",ju=`${Nn}--top`,Gg=`${Nn}--left`,Xg=`${Nn}--bottom`,Jg=`${Nn}--surround`,wi=`${Nn}--top-bottom`,Zg=`${Nn}-unset--top-bottom`,Fn="van-haptics-feedback",zu=Symbol("van-form");function hr(e,{args:t=[],done:n,canceled:r}){if(e){const o=e.apply(null,t);ma(o)?o.then(i=>{i?n():r&&r()}).catch(lr):o?n():r&&r()}else n()}function xe(e){return e.install=t=>{const{name:n}=e;t.component(n,e),t.component(Uu(`-${n}`),e)},e}const[Vu,Qg]=me("action-bar"),Wu=Symbol(Vu),ep={safeAreaInsetBottom:fe};var tp=ce({name:Vu,props:ep,setup(e,{slots:t}){const{linkChildren:n}=kt(Wu);return n(),()=>{var r;return v("div",{class:[Qg(),{"van-safe-area-bottom":e.safeAreaInsetBottom}]},[(r=t.default)==null?void 0:r.call(t)])}}});const np=xe(tp);function rt(e){const t=dt();t&&_e(t.proxy,e)}const mr={to:[String,Object],url:String,replace:Boolean};function Ku({to:e,url:t,replace:n,$router:r}){e&&r?r[n?"replace":"push"](e):t&&(n?location.replace(t):location.href=t)}function lo(){const e=dt().proxy;return()=>Ku(e)}const[rp,Il]=me("badge"),op={dot:Boolean,max:ie,tag:be("div"),color:String,offset:Array,content:ie,showZero:fe,position:be("top-right")};var ip=ce({name:rp,props:op,setup(e,{slots:t}){const n=()=>{if(t.content)return!0;const{content:s,showZero:a}=e;return Me(s)&&s!==""&&(a||s!==0)},r=()=>{const{dot:s,max:a,content:l}=e;if(!s&&n())return t.content?t.content():Me(a)&&Nu(l)&&+l>a?`${a}+`:l},o=ne(()=>{const s={background:e.color};if(e.offset){const[a,l]=e.offset;t.default?(s.top=Ve(l),typeof a=="number"?s.right=Ve(-a):s.right=a.startsWith("-")?a.replace("-",""):`-${a}`):(s.marginTop=Ve(l),s.marginLeft=Ve(a))}return s}),i=()=>{if(n()||e.dot)return v("div",{class:Il([e.position,{dot:e.dot,fixed:!!t.default}]),style:o.value},[r()])};return()=>{if(t.default){const{tag:s}=e;return v(s,{class:Il("wrapper")},{default:()=>[t.default(),i()]})}return i()}}});const xi=xe(ip),[qu,sp]=me("config-provider"),Yu=Symbol(qu),ap={tag:be("div"),themeVars:Object,iconPrefix:String};function lp(e){const t={};return Object.keys(e).forEach(n=>{t[`--van-${Ug(n)}`]=e[n]}),t}var cp=ce({name:qu,props:ap,setup(e,{slots:t}){const n=ne(()=>{if(e.themeVars)return lp(e.themeVars)});return zt(Yu,e),()=>v(e.tag,{class:sp(),style:n.value},{default:()=>{var r;return[(r=t.default)==null?void 0:r.call(t)]}})}});const[up,Al]=me("icon"),fp=e=>e==null?void 0:e.includes("/"),dp={dot:Boolean,tag:be("i"),name:String,size:ie,badge:ie,color:String,badgeProps:Object,classPrefix:String};var hp=ce({name:up,props:dp,setup(e,{slots:t}){const n=nt(Yu,null),r=ne(()=>e.classPrefix||(n==null?void 0:n.iconPrefix)||Al());return()=>{const{tag:o,dot:i,name:s,size:a,badge:l,color:c}=e,f=fp(s);return v(xi,We({dot:i,tag:o,class:[r.value,f?"":`${r.value}-${s}`],style:{color:c,fontSize:Ve(a)},content:l},e.badgeProps),{default:()=>{var u;return[(u=t.default)==null?void 0:u.call(t),f&&v("img",{class:Al("image"),src:s},null)]}})}}});const Ne=xe(hp),[mp,Ur]=me("loading"),gp=Array(12).fill(null).map((e,t)=>v("i",{class:Ur("line",String(t+1))},null)),pp=v("svg",{class:Ur("circular"),viewBox:"25 25 50 50"},[v("circle",{cx:"50",cy:"50",r:"20",fill:"none"},null)]),vp={size:ie,type:be("circular"),color:String,vertical:Boolean,textSize:ie,textColor:String};var bp=ce({name:mp,props:vp,setup(e,{slots:t}){const n=ne(()=>_e({color:e.color},bi(e.size))),r=()=>{var o;if(t.default)return v("span",{class:Ur("text"),style:{fontSize:Ve(e.textSize),color:(o=e.textColor)!=null?o:e.color}},[t.default()])};return()=>{const{type:o,vertical:i}=e;return v("div",{class:Ur([o,{vertical:i}])},[v("span",{class:Ur("spinner",o),style:n.value},[o==="spinner"?gp:pp]),r()])}}});const Un=xe(bp),[yp,Vn]=me("button"),wp=_e({},mr,{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:ie,loadingText:String,loadingType:String,iconPosition:be("left")});var xp=ce({name:yp,props:wp,emits:["click"],setup(e,{emit:t,slots:n}){const r=lo(),o=()=>n.loading?n.loading():v(Un,{size:e.loadingSize,type:e.loadingType,class:Vn("loading")},null),i=()=>{if(e.loading)return o();if(n.icon)return v("div",{class:Vn("icon")},[n.icon()]);if(e.icon)return v(Ne,{name:e.icon,class:Vn("icon"),classPrefix:e.iconPrefix},null)},s=()=>{let c;if(e.loading?c=e.loadingText:c=n.default?n.default():e.text,c)return v("span",{class:Vn("text")},[c])},a=()=>{const{color:c,plain:f}=e;if(c){const u={color:f?c:"white"};return f||(u.background=c),c.includes("gradient")?u.border=0:u.borderColor=c,u}},l=c=>{e.loading?ft(c):e.disabled||(t("click",c),r())};return()=>{const{tag:c,type:f,size:u,block:d,round:h,plain:p,square:m,loading:C,disabled:w,hairline:b,nativeType:_,iconPosition:P}=e,I=[Vn([f,u,{plain:p,block:d,round:h,square:m,loading:C,disabled:w,hairline:b}]),{[Jg]:b}];return v(c,{type:_,class:I,style:a(),disabled:w,onClick:l},{default:()=>[v("div",{class:Vn("content")},[P==="left"&&i(),s(),P==="right"&&i()])]})}}});const Es=xe(xp),[Cp,Sp]=me("action-bar-button"),Ep=_e({},mr,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean});var _p=ce({name:Cp,props:Ep,setup(e,{slots:t}){const n=lo(),{parent:r,index:o}=Ot(Wu),i=ne(()=>{if(r){const a=r.children[o.value-1];return!(a&&"isButton"in a)}}),s=ne(()=>{if(r){const a=r.children[o.value+1];return!(a&&"isButton"in a)}});return rt({isButton:!0}),()=>{const{type:a,icon:l,text:c,color:f,loading:u,disabled:d}=e;return v(Es,{class:Sp([a,{last:s.value,first:i.value}]),size:"large",type:a,icon:l,color:f,loading:u,disabled:d,onClick:n},{default:()=>[t.default?t.default():c]})}}});const Ol=xe(_p),ya={show:Boolean,zIndex:ie,overlay:fe,duration:ie,teleport:[String,Object],lockScroll:fe,lazyRender:fe,beforeClose:Function,overlayStyle:Object,overlayClass:Je,transitionAppear:Boolean,closeOnClickOverlay:fe},Tp=Object.keys(ya);function Pp(e,t){return e>t?"horizontal":t>e?"vertical":""}function gr(){const e=le(0),t=le(0),n=le(0),r=le(0),o=le(0),i=le(0),s=le(""),a=()=>s.value==="vertical",l=()=>s.value==="horizontal",c=()=>{n.value=0,r.value=0,o.value=0,i.value=0,s.value=""};return{move:d=>{const h=d.touches[0];n.value=h.clientX<0?0:h.clientX-e.value,r.value=h.clientY-t.value,o.value=Math.abs(n.value),i.value=Math.abs(r.value);const p=10;(!s.value||o.value<p&&i.value<p)&&(s.value=Pp(o.value,i.value))},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:o,offsetY:i,direction:s,isVertical:a,isHorizontal:l}}let wr=0;const kl="van-overflow-hidden";function $p(e,t){const n=gr(),r=l=>{n.move(l);const c=n.deltaY.value>0?"10":"01",f=da(l.target,e.value),{scrollHeight:u,offsetHeight:d,scrollTop:h}=f;let p="11";h===0?p=d>=u?"00":"01":h+d>=u&&(p="10"),p!=="11"&&n.isVertical()&&!(parseInt(p,2)&parseInt(c,2))&&ft(l,!0)},o=()=>{document.addEventListener("touchstart",n.start),document.addEventListener("touchmove",r,{passive:!1}),wr||document.body.classList.add(kl),wr++},i=()=>{wr&&(document.removeEventListener("touchstart",n.start),document.removeEventListener("touchmove",r),wr--,wr||document.body.classList.remove(kl))},s=()=>t()&&o(),a=()=>t()&&i();hi(s),dr(a),dn(a),pe(t,l=>{l?o():i()})}function wa(e){const t=le(!1);return pe(e,n=>{n&&(t.value=n)},{immediate:!0}),n=>()=>t.value?n():null}const Gu=Symbol();function Xu(e){const t=nt(Gu,null);t&&pe(t,n=>{n&&e()})}const[Ip,Ap]=me("overlay"),Op={show:Boolean,zIndex:ie,duration:ie,className:Je,lockScroll:fe,lazyRender:fe,customStyle:Object};var kp=ce({name:Ip,props:Op,setup(e,{slots:t}){const n=wa(()=>e.show||!e.lazyRender),r=i=>{ft(i,!0)},o=n(()=>{var i;const s=_e(yi(e.zIndex),e.customStyle);return Me(e.duration)&&(s.animationDuration=`${e.duration}s`),so(v("div",{style:s,class:[Ap(),e.className],onTouchmove:e.lockScroll?r:lr},[(i=t.default)==null?void 0:i.call(t)]),[[fi,e.show]])});return()=>v(ao,{name:"van-fade",appear:!0},{default:o})}});const Rp=xe(kp),Bp=_e({},ya,{round:Boolean,position:be("center"),closeIcon:be("cross"),closeable:Boolean,transition:String,iconPrefix:String,closeOnPopstate:Boolean,closeIconPosition:be("top-right"),safeAreaInsetBottom:Boolean}),[Fp,Rl]=me("popup");let Bl=2e3;var Dp=ce({name:Fp,inheritAttrs:!1,props:Bp,emits:["open","close","opened","closed","keydown","update:show","click-overlay","click-close-icon"],setup(e,{emit:t,attrs:n,slots:r}){let o,i;const s=le(),a=le(),l=wa(()=>e.show||!e.lazyRender),c=ne(()=>{const I={zIndex:s.value};if(Me(e.duration)){const D=e.position==="center"?"animationDuration":"transitionDuration";I[D]=`${e.duration}s`}return I}),f=()=>{o||(e.zIndex!==void 0&&(Bl=+e.zIndex),o=!0,s.value=++Bl,t("open"))},u=()=>{o&&hr(e.beforeClose,{done(){o=!1,t("close"),t("update:show",!1)}})},d=I=>{t("click-overlay",I),e.closeOnClickOverlay&&u()},h=()=>{if(e.overlay)return v(Rp,{show:e.show,class:e.overlayClass,zIndex:s.value,duration:e.duration,customStyle:e.overlayStyle,onClick:d},{default:r["overlay-content"]})},p=I=>{t("click-close-icon",I),u()},m=()=>{if(e.closeable)return v(Ne,{role:"button",tabindex:0,name:e.closeIcon,class:[Rl("close-icon",e.closeIconPosition),Fn],classPrefix:e.iconPrefix,onClick:p},null)},C=()=>t("opened"),w=()=>t("closed"),b=I=>t("keydown",I),_=l(()=>{var I;const{round:D,position:$,safeAreaInsetBottom:B}=e;return so(v("div",We({ref:a,style:c.value,class:[Rl({round:D,[$]:$}),{"van-safe-area-bottom":B}],onKeydown:b},n),[(I=r.default)==null?void 0:I.call(r),m()]),[[fi,e.show]])}),P=()=>{const{position:I,transition:D,transitionAppear:$}=e,B=I==="center"?"van-fade":`van-popup-slide-${I}`;return v(ao,{name:D||B,appear:$,onAfterEnter:C,onAfterLeave:w},{default:_})};return pe(()=>e.show,I=>{I&&!o&&(f(),n.tabindex===0&&Fe(()=>{var D;(D=a.value)==null||D.focus()})),!I&&o&&(o=!1,t("close"))}),rt({popupRef:a}),$p(a,()=>e.show&&e.lockScroll),mi("popstate",()=>{e.closeOnPopstate&&(u(),i=!1)}),at(()=>{e.show&&f()}),oo(()=>{i&&(t("update:show",!0),i=!1)}),dr(()=>{e.show&&(u(),i=!0)}),zt(Gu,()=>e.show),()=>e.teleport?v(xm,{to:e.teleport},{default:()=>[h(),P()]}):v(et,null,[h(),P()])}});const xa=xe(Dp);function Ko(e){if(!Me(e))return e;if(Array.isArray(e))return e.map(t=>Ko(t));if(Yt(e)){const t={};return Object.keys(e).forEach(n=>{t[n]=Ko(e[n])}),t}return e}const Fl=200,Dl=300,Lp=15,[Ju,Ni]=me("picker-column");function Mp(e){const{transform:t}=window.getComputedStyle(e),n=t.slice(7,t.length-1).split(", ")[5];return Number(n)}const Zu=Symbol(Ju),Ui=e=>Yt(e)&&e.disabled;var Np=ce({name:Ju,props:{textKey:ct(String),readonly:Boolean,allowHtml:Boolean,className:Je,itemHeight:ct(Number),defaultIndex:fa(0),swipeDuration:ct(ie),initialOptions:di(),visibleItemCount:ct(ie)},emits:["change"],setup(e,{emit:t,slots:n}){let r,o,i,s,a;const l=le(),c=He({index:e.defaultIndex,offset:0,duration:0,options:Ko(e.initialOptions)}),f=gr(),u=()=>c.options.length,d=()=>e.itemHeight*(+e.visibleItemCount-1)/2,h=y=>{y=Ct(y,0,u());for(let x=y;x<u();x++)if(!Ui(c.options[x]))return x;for(let x=y-1;x>=0;x--)if(!Ui(c.options[x]))return x},p=(y,x)=>{y=h(y)||0;const F=-y*e.itemHeight,k=()=>{y!==c.index&&(c.index=y,x&&t("change",y))};r&&F!==c.offset?a=k:k(),c.offset=F},m=y=>{JSON.stringify(y)!==JSON.stringify(c.options)&&(c.options=Ko(y),p(e.defaultIndex))},C=y=>{r||e.readonly||(a=null,c.duration=Fl,p(y,!0))},w=y=>Yt(y)&&e.textKey in y?y[e.textKey]:y,b=y=>Ct(Math.round(-y/e.itemHeight),0,u()-1),_=(y,x)=>{const F=Math.abs(y/x);y=c.offset+F/.003*(y<0?-1:1);const k=b(y);c.duration=+e.swipeDuration,p(k,!0)},P=()=>{r=!1,c.duration=0,a&&(a(),a=null)},I=y=>{if(!e.readonly){if(f.start(y),r){const x=Mp(l.value);c.offset=Math.min(0,x-d()),o=c.offset}else o=c.offset;c.duration=0,i=Date.now(),s=o,a=null}},D=y=>{if(e.readonly)return;f.move(y),f.isVertical()&&(r=!0,ft(y,!0)),c.offset=Ct(o+f.deltaY.value,-(u()*e.itemHeight),e.itemHeight);const x=Date.now();x-i>Dl&&(i=x,s=c.offset)},$=()=>{if(e.readonly)return;const y=c.offset-s,x=Date.now()-i;if(x<Dl&&Math.abs(y)>Lp){_(y,x);return}const k=b(c.offset);c.duration=Fl,p(k,!0),setTimeout(()=>{r=!1},0)},B=()=>{const y={height:`${e.itemHeight}px`};return c.options.map((x,F)=>{const k=w(x),q=Ui(x),U={role:"button",style:y,tabindex:q?-1:0,class:Ni("item",{disabled:q,selected:F===c.index}),onClick:()=>C(F)},N={class:"van-ellipsis",[e.allowHtml?"innerHTML":"textContent"]:k};return v("li",U,[n.option?n.option(x):v("div",N,null)])})},W=y=>{const{options:x}=c;for(let F=0;F<x.length;F++)if(w(x[F])===y)return p(F)},T=()=>c.options[c.index];return p(c.index),Ot(Zu),rt({state:c,setIndex:p,getValue:T,setValue:W,setOptions:m,stopMomentum:P}),pe(()=>e.initialOptions,m),pe(()=>e.defaultIndex,y=>p(y)),()=>v("div",{class:[Ni(),e.className],onTouchstart:I,onTouchmove:D,onTouchend:$,onTouchcancel:$},[v("ul",{ref:l,style:{transform:`translate3d(0, ${c.offset+d()}px, 0)`,transitionDuration:`${c.duration}ms`,transitionProperty:c.duration?"all":"none"},class:Ni("wrapper"),onTransitionend:P},[B()])])}});const[Up,Rt,Ll]=me("picker"),Hp={title:String,loading:Boolean,readonly:Boolean,allowHtml:Boolean,itemHeight:Pe(44),showToolbar:fe,swipeDuration:Pe(1e3),visibleItemCount:Pe(6),cancelButtonText:String,confirmButtonText:String},jp=_e({},Hp,{columns:di(),valueKey:String,defaultIndex:Pe(0),toolbarPosition:be("top"),columnsFieldNames:Object});var zp=ce({name:Up,props:jp,emits:["confirm","cancel","change"],setup(e,{emit:t,slots:n}){n.default&&console.warn('[Vant] Picker: "default" slot is deprecated, please use "toolbar" slot instead.'),e.valueKey&&console.warn('[Vant] Picker: "valueKey" prop is deprecated, please use "columnsFieldNames" prop instead.');const r=le(!1),o=le([]),{text:i,values:s,children:a}=_e({text:e.valueKey||"text",values:"values",children:"children"},e.columnsFieldNames),{children:l,linkChildren:c}=kt(Zu);c();const f=ne(()=>ba(e.itemHeight)),u=ne(()=>{const O=e.columns[0];if(typeof O=="object"){if(a in O)return"cascade";if(s in O)return"object"}return"plain"}),d=()=>{var O;const ee=[];let A={[a]:e.columns};for(;A&&A[a];){const M=A[a];let E=(O=A.defaultIndex)!=null?O:+e.defaultIndex;for(;M[E]&&M[E].disabled;)if(E<M.length-1)E++;else{E=0;break}ee.push({[s]:A[a],className:A.className,defaultIndex:E}),A=M[E]}o.value=ee},h=()=>{const{columns:O}=e;u.value==="plain"?o.value=[{[s]:O}]:u.value==="cascade"?d():o.value=O,r.value=o.value.some(ee=>ee[s]&&ee[s].length!==0)},p=()=>l.map(O=>O.state.index),m=(O,ee)=>{const A=l[O];A&&(A.setOptions(ee),r.value=!0)},C=O=>{let ee={[a]:e.columns};const A=p();for(let M=0;M<=O;M++)ee=ee[a][A[M]];for(;ee&&ee[a];)O++,m(O,ee[a]),ee=ee[a][ee.defaultIndex||0]},w=O=>l[O],b=O=>{const ee=w(O);if(ee)return ee.getValue()},_=(O,ee)=>{const A=w(O);A&&(A.setValue(ee),u.value==="cascade"&&C(O))},P=O=>{const ee=w(O);if(ee)return ee.state.index},I=(O,ee)=>{const A=w(O);A&&(A.setIndex(ee),u.value==="cascade"&&C(O))},D=O=>{const ee=w(O);if(ee)return ee.state.options},$=()=>l.map(O=>O.getValue()),B=O=>{O.forEach((ee,A)=>{_(A,ee)})},W=O=>{O.forEach((ee,A)=>{I(A,ee)})},T=O=>{u.value==="plain"?t(O,b(0),P(0)):t(O,$(),p())},y=O=>{u.value==="cascade"&&C(O),u.value==="plain"?t("change",b(0),P(0)):t("change",$(),O)},x=()=>{l.forEach(O=>O.stopMomentum()),T("confirm")},F=()=>T("cancel"),k=()=>{if(n.title)return n.title();if(e.title)return v("div",{class:[Rt("title"),"van-ellipsis"]},[e.title])},q=()=>{const O=e.cancelButtonText||Ll("cancel");return v("button",{type:"button",class:[Rt("cancel"),Fn],onClick:F},[n.cancel?n.cancel():O])},U=()=>{const O=e.confirmButtonText||Ll("confirm");return v("button",{type:"button",class:[Rt("confirm"),Fn],onClick:x},[n.confirm?n.confirm():O])},N=()=>{if(e.showToolbar){const O=n.toolbar||n.default;return v("div",{class:Rt("toolbar")},[O?O():[q(),k(),U()]])}},Z=()=>o.value.map((O,ee)=>{var A;return v(Np,{textKey:i,readonly:e.readonly,allowHtml:e.allowHtml,className:O.className,itemHeight:f.value,defaultIndex:(A=O.defaultIndex)!=null?A:+e.defaultIndex,swipeDuration:e.swipeDuration,initialOptions:O[s],visibleItemCount:e.visibleItemCount,onChange:()=>y(ee)},{option:n.option})}),L=O=>{if(r.value){const ee={height:`${f.value}px`},A={backgroundSize:`100% ${(O-f.value)/2}px`};return[v("div",{class:Rt("mask"),style:A},null),v("div",{class:[Zg,Rt("frame")],style:ee},null)]}},ge=()=>{const O=f.value*+e.visibleItemCount,ee={height:`${O}px`};return v("div",{class:Rt("columns"),style:ee,onTouchmove:ft},[Z(),L(O)])};return pe(()=>e.columns,h,{immediate:!0}),rt({confirm:x,getValues:$,setValues:B,getIndexes:p,setIndexes:W,getColumnIndex:P,setColumnIndex:I,getColumnValue:b,setColumnValue:_,getColumnValues:D,setColumnValues:m}),()=>{var O,ee;return v("div",{class:Rt()},[e.toolbarPosition==="top"?N():null,e.loading?v(Un,{class:Rt("loading")},null):null,(O=n["columns-top"])==null?void 0:O.call(n),ge(),(ee=n["columns-bottom"])==null?void 0:ee.call(n),e.toolbarPosition==="bottom"?N():null])}}});const rC=xe(zp),[Vp,Wn]=me("cell"),Ci={icon:String,size:String,title:ie,value:ie,label:ie,center:Boolean,isLink:Boolean,border:fe,required:Boolean,iconPrefix:String,valueClass:Je,labelClass:Je,titleClass:Je,titleStyle:null,arrowDirection:String,clickable:{type:Boolean,default:null}},Wp=_e({},Ci,mr);var Kp=ce({name:Vp,props:Wp,setup(e,{slots:t}){const n=lo(),r=()=>{if(t.label||Me(e.label))return v("div",{class:[Wn("label"),e.labelClass]},[t.label?t.label():e.label])},o=()=>{if(t.title||Me(e.title))return v("div",{class:[Wn("title"),e.titleClass],style:e.titleStyle},[t.title?t.title():v("span",null,[e.title]),r()])},i=()=>{const l=t.value||t.default;if(l||Me(e.value)){const f=t.title||Me(e.title);return v("div",{class:[Wn("value",{alone:!f}),e.valueClass]},[l?l():v("span",null,[e.value])])}},s=()=>{if(t.icon)return t.icon();if(e.icon)return v(Ne,{name:e.icon,class:Wn("left-icon"),classPrefix:e.iconPrefix},null)},a=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const l=e.arrowDirection?`arrow-${e.arrowDirection}`:"arrow";return v(Ne,{name:l,class:Wn("right-icon")},null)}};return()=>{var l,c;const{size:f,center:u,border:d,isLink:h,required:p}=e,m=(l=e.clickable)!=null?l:h,C={center:u,required:p,clickable:m,borderless:!d};return f&&(C[f]=!!f),v("div",{class:Wn(C),role:m?"button":void 0,tabindex:m?0:void 0,onClick:n},[s(),o(),i(),a(),(c=t.extra)==null?void 0:c.call(t)])}}});const Qu=xe(Kp),[qp,Yp]=me("form"),Gp={colon:Boolean,disabled:Boolean,readonly:Boolean,showError:Boolean,labelWidth:ie,labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,submitOnEnter:fe,validateTrigger:be("onBlur"),showErrorMessage:fe,errorMessageAlign:String};var Xp=ce({name:qp,props:Gp,emits:["submit","failed"],setup(e,{emit:t,slots:n}){const{children:r,linkChildren:o}=kt(zu),i=m=>m?r.filter(C=>m.includes(C.name)):r,s=m=>new Promise((C,w)=>{const b=[];i(m).reduce((P,I)=>P.then(()=>{if(!b.length)return I.validate().then(D=>{D&&b.push(D)})}),Promise.resolve()).then(()=>{b.length?w(b):C()})}),a=m=>new Promise((C,w)=>{const b=i(m);Promise.all(b.map(_=>_.validate())).then(_=>{_=_.filter(Boolean),_.length?w(_):C()})}),l=m=>{const C=r.find(w=>w.name===m);return C?new Promise((w,b)=>{C.validate().then(_=>{_?b(_):w()})}):Promise.reject()},c=m=>typeof m=="string"?l(m):e.validateFirst?s(m):a(m),f=m=>{typeof m=="string"&&(m=[m]),i(m).forEach(w=>{w.resetValidation()})},u=(m,C)=>{r.some(w=>w.name===m?(w.$el.scrollIntoView(C),!0):!1)},d=()=>r.reduce((m,C)=>(m[C.name]=C.formValue.value,m),{}),h=()=>{const m=d();c().then(()=>t("submit",m)).catch(C=>{t("failed",{values:m,errors:C}),e.scrollToError&&C[0].name&&u(C[0].name)})},p=m=>{ft(m),h()};return o({props:e}),rt({submit:h,validate:c,scrollToField:u,resetValidation:f}),()=>{var m;return v("form",{class:Yp(),onSubmit:p},[(m=n.default)==null?void 0:m.call(n)])}}});const oC=xe(Xp);function Jp(e){return Array.isArray(e)?!e.length:e===0?!1:!e}function Zp(e,t){return!(t.required&&Jp(e)||t.pattern&&!t.pattern.test(String(e)))}function Qp(e,t){return new Promise(n=>{const r=t.validator(e,t);if(ma(r)){r.then(n);return}n(r)})}function Ml(e,t){const{message:n}=t;return ur(n)?n(e,t):n||""}function ev({target:e}){e.composing=!0}function Nl({target:e}){e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}function tv(e,t){const n=ga();e.style.height="auto";let r=e.scrollHeight;if(Yt(t)){const{maxHeight:o,minHeight:i}=t;o!==void 0&&(r=Math.min(r,o)),i!==void 0&&(r=Math.max(r,i))}r&&(e.style.height=`${r}px`,pa(n))}function nv(e){return e==="number"?{type:"text",inputmode:"decimal"}:e==="digit"?{type:"tel",inputmode:"numeric"}:{type:e}}function Hi(e){return[...e].length}function rv(e,t){return[...e].slice(0,t).join("")}let ov=0;function Ca(){const e=dt(),{name:t="unknown"}=(e==null?void 0:e.type)||{};return`${t}-${++ov}`}const[iv,gt]=me("field"),sv={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:ie,formatter:Function,clearIcon:be("clear"),modelValue:Pe(""),inputAlign:String,placeholder:String,autocomplete:String,errorMessage:String,clearTrigger:be("focus"),formatTrigger:be("onChange"),error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null}},av=_e({},Ci,sv,{rows:ie,type:be("text"),rules:Array,autosize:[Boolean,Object],labelWidth:ie,labelClass:Je,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}});var lv=ce({name:iv,props:av,emits:["blur","focus","clear","keypress","click-input","click-left-icon","click-right-icon","update:modelValue"],setup(e,{emit:t,slots:n}){const r=Ca(),o=He({focused:!1,validateFailed:!1,validateMessage:""}),i=le(),s=le(),{parent:a}=Ot(zu),l=()=>{var A;return String((A=e.modelValue)!=null?A:"")},c=A=>{if(Me(e[A]))return e[A];if(a&&Me(a.props[A]))return a.props[A]},f=ne(()=>{const A=c("readonly");if(e.clearable&&!A){const M=l()!=="",E=e.clearTrigger==="always"||e.clearTrigger==="focus"&&o.focused;return M&&E}return!1}),u=ne(()=>s.value&&n.input?s.value():e.modelValue),d=A=>A.reduce((M,E)=>M.then(()=>{if(o.validateFailed)return;let{value:z}=u;if(E.formatter&&(z=E.formatter(z,E)),!Zp(z,E)){o.validateFailed=!0,o.validateMessage=Ml(z,E);return}if(E.validator)return Qp(z,E).then(Y=>{Y&&typeof Y=="string"?(o.validateFailed=!0,o.validateMessage=Y):Y===!1&&(o.validateFailed=!0,o.validateMessage=Ml(z,E))})}),Promise.resolve()),h=()=>{o.validateFailed&&(o.validateFailed=!1,o.validateMessage="")},p=(A=e.rules)=>new Promise(M=>{h(),A?d(A).then(()=>{o.validateFailed?M({name:e.name,message:o.validateMessage}):M()}):M()}),m=A=>{if(a&&e.rules){const M=a.props.validateTrigger===A,E=e.rules.filter(z=>z.trigger?z.trigger===A:M);E.length&&p(E)}},C=A=>{const{maxlength:M}=e;if(Me(M)&&Hi(A)>M){const E=l();return E&&Hi(E)===+M?E:rv(A,+M)}return A},w=(A,M="onChange")=>{if(A=C(A),e.type==="number"||e.type==="digit"){const E=e.type==="number";A=Hg(A,E,E)}e.formatter&&M===e.formatTrigger&&(A=e.formatter(A)),i.value&&i.value.value!==A&&(i.value.value=A),A!==e.modelValue&&t("update:modelValue",A)},b=A=>{A.target.composing||w(A.target.value)},_=()=>{var A;return(A=i.value)==null?void 0:A.blur()},P=()=>{var A;return(A=i.value)==null?void 0:A.focus()},I=()=>{const A=i.value;e.type==="textarea"&&e.autosize&&A&&tv(A,e.autosize)},D=A=>{o.focused=!0,t("focus",A),Fe(I),c("readonly")&&_()},$=A=>{c("readonly")||(o.focused=!1,w(l(),"onBlur"),t("blur",A),m("onBlur"),Fe(I),Rg())},B=A=>t("click-input",A),W=A=>t("click-left-icon",A),T=A=>t("click-right-icon",A),y=A=>{ft(A),t("update:modelValue",""),t("clear",A)},x=ne(()=>{if(typeof e.error=="boolean")return e.error;if(a&&a.props.showError&&o.validateFailed)return!0}),F=ne(()=>{const A=c("labelWidth");if(A)return{width:Ve(A)}}),k=A=>{A.keyCode===13&&(!(a&&a.props.submitOnEnter)&&e.type!=="textarea"&&ft(A),e.type==="search"&&_()),t("keypress",A)},q=()=>e.id||`${r}-input`,U=()=>{const A=gt("control",[c("inputAlign"),{error:x.value,custom:!!n.input,"min-height":e.type==="textarea"&&!e.autosize}]);if(n.input)return v("div",{class:A,onClick:B},[n.input()]);const M={id:q(),ref:i,name:e.name,rows:e.rows!==void 0?+e.rows:void 0,class:A,value:e.modelValue,disabled:c("disabled"),readonly:c("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,"aria-labelledby":e.label?`${r}-label`:void 0,onBlur:$,onFocus:D,onInput:b,onClick:B,onChange:Nl,onKeypress:k,onCompositionend:Nl,onCompositionstart:ev};return e.type==="textarea"?v("textarea",M,null):v("input",We(nv(e.type),M),null)},N=()=>{const A=n["left-icon"];if(e.leftIcon||A)return v("div",{class:gt("left-icon"),onClick:W},[A?A():v(Ne,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])},Z=()=>{const A=n["right-icon"];if(e.rightIcon||A)return v("div",{class:gt("right-icon"),onClick:T},[A?A():v(Ne,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},L=()=>{if(e.showWordLimit&&e.maxlength){const A=Hi(l());return v("div",{class:gt("word-limit")},[v("span",{class:gt("word-num")},[A]),Iu("/"),e.maxlength])}},ge=()=>{if(a&&a.props.showErrorMessage===!1)return;const A=e.errorMessage||o.validateMessage;if(A){const M=n["error-message"],E=c("errorMessageAlign");return v("div",{class:gt("error-message",E)},[M?M({message:A}):A])}},O=()=>{const A=c("colon")?":":"";if(n.label)return[n.label(),A];if(e.label)return v("label",{id:`${r}-label`,for:q()},[e.label+A])},ee=()=>[v("div",{class:gt("body")},[U(),f.value&&v(Ne,{name:e.clearIcon,class:gt("clear"),onTouchstart:y},null),Z(),n.button&&v("div",{class:gt("button")},[n.button()])]),L(),ge()];return rt({blur:_,focus:P,validate:p,formValue:u,resetValidation:h}),zt(Mu,{customValue:s,resetValidation:h,validateWithTrigger:m}),pe(()=>e.modelValue,()=>{w(l()),h(),m("onChange"),Fe(I)}),at(()=>{w(l(),e.formatTrigger),Fe(I)}),()=>{const A=c("disabled"),M=c("labelAlign"),E=O(),z=N();return v(Qu,{size:e.size,icon:e.leftIcon,class:gt({error:x.value,disabled:A,[`label-${M}`]:M}),center:e.center,border:e.border,isLink:e.isLink,clickable:e.clickable,titleStyle:F.value,valueClass:gt("value"),titleClass:[gt("label",[M,{required:e.required}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:z?()=>z:null,title:E?()=>E:null,value:ee,extra:n.extra})}}});const iC=xe(lv);function Sa(){const e=He({show:!1}),t=o=>{e.show=o},n=o=>{_e(e,o,{transitionAppear:!0}),t(!0)},r=()=>t(!1);return rt({open:n,close:r,toggle:t}),{open:n,close:r,state:e,toggle:t}}function Ea(e){const t=yg(e),n=document.createElement("div");return document.body.appendChild(n),{instance:t.mount(n),unmount(){t.unmount(),document.body.removeChild(n)}}}let xr=0;function cv(e){e?(xr||document.body.classList.add("van-toast--unclickable"),xr++):xr&&(xr--,xr||document.body.classList.remove("van-toast--unclickable"))}const[uv,Cr]=me("toast"),fv=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay"],dv={icon:String,show:Boolean,type:be("text"),overlay:Boolean,message:ie,iconSize:ie,duration:fa(2e3),position:be("middle"),teleport:[String,Object],className:Je,iconPrefix:String,transition:be("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:Je,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean};var ef=ce({name:uv,props:dv,emits:["update:show"],setup(e,{emit:t}){let n,r=!1;const o=()=>{const f=e.show&&e.forbidClick;r!==f&&(r=f,cv(r))},i=f=>t("update:show",f),s=()=>{e.closeOnClick&&i(!1)},a=()=>clearTimeout(n),l=()=>{const{icon:f,type:u,iconSize:d,iconPrefix:h,loadingType:p}=e;if(f||u==="success"||u==="fail")return v(Ne,{name:f||u,size:d,class:Cr("icon"),classPrefix:h},null);if(u==="loading")return v(Un,{class:Cr("loading"),size:d,type:p},null)},c=()=>{const{type:f,message:u}=e;if(Me(u)&&u!=="")return f==="html"?v("div",{class:Cr("text"),innerHTML:String(u)},null):v("div",{class:Cr("text")},[u])};return pe(()=>[e.show,e.forbidClick],o),pe(()=>[e.show,e.type,e.message,e.duration],()=>{a(),e.show&&e.duration>0&&(n=setTimeout(()=>{i(!1)},e.duration))}),at(o),io(o),()=>v(xa,We({class:[Cr([e.position,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:s,onClosed:a,"onUpdate:show":i},$t(e,fv)),{default:()=>[l(),c()]})}});const tf={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 St=[],Si=!1,qo=_e({},tf);const Yo=new Map;function nf(e){return Yt(e)?e:{message:e}}function hv(){const{instance:e,unmount:t}=Ea({setup(){const n=le(""),{open:r,state:o,close:i,toggle:s}=Sa(),a=()=>{Si&&(St=St.filter(c=>c!==e),t())},l=()=>v(ef,We(o,{onClosed:a,"onUpdate:show":s}),null);return pe(n,c=>{o.message=c}),dt().render=l,{open:r,clear:i,message:n}}});return e}function mv(){if(!St.length||Si){const e=hv();St.push(e)}return St[St.length-1]}function At(e={}){if(!Mn)return{};const t=mv(),n=nf(e);return t.open(_e({},qo,Yo.get(n.type||qo.type),n)),t}const _a=e=>t=>At(_e({type:e},nf(t)));At.loading=_a("loading");At.success=_a("success");At.fail=_a("fail");At.clear=e=>{var t;St.length&&(e?(St.forEach(n=>{n.clear()}),St=[]):Si?(t=St.shift())==null||t.clear():St[0].clear())};function gv(e,t){typeof e=="string"?Yo.set(e,t):_e(qo,e)}At.setDefaultOptions=gv;At.resetDefaultOptions=e=>{typeof e=="string"?Yo.delete(e):(qo=_e({},tf),Yo.clear())};At.allowMultiple=(e=!0)=>{Si=e};At.install=e=>{e.use(xe(ef)),e.config.globalProperties.$toast=At};const[rf,pv]=me("radio-group"),vv={disabled:Boolean,iconSize:ie,direction:String,modelValue:Je,checkedColor:String},of=Symbol(rf);var bv=ce({name:rf,props:vv,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{linkChildren:r}=kt(of),o=i=>t("update:modelValue",i);return pe(()=>e.modelValue,i=>t("change",i)),r({props:e,updateValue:o}),ha(()=>e.modelValue),()=>{var i;return v("div",{class:pv([e.direction]),role:"radiogroup"},[(i=n.default)==null?void 0:i.call(n)])}}});const sC=xe(bv),[yv,Ul]=me("tag"),wv={size:String,mark:Boolean,show:fe,type:be("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var xv=ce({name:yv,props:wv,emits:["close"],setup(e,{slots:t,emit:n}){const r=s=>{s.stopPropagation(),n("close",s)},o=()=>e.plain?{color:e.textColor||e.color,borderColor:e.color}:{color:e.textColor,background:e.color},i=()=>{var s;const{type:a,mark:l,plain:c,round:f,size:u,closeable:d}=e,h={mark:l,plain:c,round:f};u&&(h[u]=u);const p=d&&v(Ne,{name:"cross",class:[Ul("close"),Fn],onClick:r},null);return v("span",{style:o(),class:Ul([h,a])},[(s=t.default)==null?void 0:s.call(t),p])};return()=>v(ao,{name:e.closeable?"van-fade":void 0},{default:()=>[e.show?i():null]})}});const aC=xe(xv),sf={name:Je,shape:be("round"),disabled:Boolean,iconSize:ie,modelValue:Je,checkedColor:String,labelPosition:String,labelDisabled:Boolean};var Cv=ce({props:_e({},sf,{bem:ct(Function),role:String,parent:Object,checked:Boolean,bindGroup:fe}),emits:["click","toggle"],setup(e,{emit:t,slots:n}){const r=le(),o=u=>{if(e.parent&&e.bindGroup)return e.parent.props[u]},i=ne(()=>o("disabled")||e.disabled),s=ne(()=>o("direction")),a=ne(()=>{const u=e.checkedColor||o("checkedColor");if(u&&e.checked&&!i.value)return{borderColor:u,backgroundColor:u}}),l=u=>{const{target:d}=u,h=r.value,p=h===d||(h==null?void 0:h.contains(d));!i.value&&(p||!e.labelDisabled)&&t("toggle"),t("click",u)},c=()=>{const{bem:u,shape:d,checked:h}=e,p=e.iconSize||o("iconSize");return v("div",{ref:r,class:u("icon",[d,{disabled:i.value,checked:h}]),style:{fontSize:Ve(p)}},[n.icon?n.icon({checked:h,disabled:i.value}):v(Ne,{name:"success",style:a.value},null)])},f=()=>{if(n.default)return v("span",{class:e.bem("label",[e.labelPosition,{disabled:i.value}])},[n.default()])};return()=>{const u=e.labelPosition==="left"?[f(),c()]:[c(),f()];return v("div",{role:e.role,class:e.bem([{disabled:i.value,"label-disabled":e.labelDisabled},s.value]),tabindex:i.value?void 0:0,"aria-checked":e.checked,onClick:l},[u])}}});const[Sv,Ev]=me("radio");var _v=ce({name:Sv,props:sf,emits:["update:modelValue"],setup(e,{emit:t,slots:n}){const{parent:r}=Ot(of),o=()=>(r?r.props.modelValue:e.modelValue)===e.name,i=()=>{r?r.updateValue(e.name):t("update:modelValue",e.name)};return()=>v(Cv,We({bem:Ev,role:"radio",parent:r,checked:o(),onToggle:i},e),$t(n,["default","icon"]))}});const lC=xe(_v);function af(){const e=le([]),t=[];return uu(()=>{e.value=[]}),[e,r=>(t[r]||(t[r]=o=>{e.value[r]=o}),t[r])]}const Tv=e=>{const t=le(),n=()=>{t.value=st(e).height};return at(()=>{Fe(n),setTimeout(n,100)}),t},[Pv,Kn]=me("image"),$v={src:String,alt:String,fit:String,position:String,round:Boolean,width:ie,height:ie,radius:ie,lazyLoad:Boolean,iconSize:ie,showError:fe,errorIcon:be("photo-fail"),iconPrefix:String,showLoading:fe,loadingIcon:be("photo")};var Iv=ce({name:Pv,props:$v,emits:["load","error"],setup(e,{emit:t,slots:n}){const r=le(!1),o=le(!0),i=le(),{$Lazyload:s}=dt().proxy,a=ne(()=>{const m={width:Ve(e.width),height:Ve(e.height)};return Me(e.radius)&&(m.overflow="hidden",m.borderRadius=Ve(e.radius)),m});pe(()=>e.src,()=>{r.value=!1,o.value=!0});const l=m=>{o.value=!1,t("load",m)},c=m=>{r.value=!0,o.value=!1,t("error",m)},f=(m,C,w)=>w?w():v(Ne,{name:m,size:e.iconSize,class:C,classPrefix:e.iconPrefix},null),u=()=>{if(o.value&&e.showLoading)return v("div",{class:Kn("loading")},[f(e.loadingIcon,Kn("loading-icon"),n.loading)]);if(r.value&&e.showError)return v("div",{class:Kn("error")},[f(e.errorIcon,Kn("error-icon"),n.error)])},d=()=>{if(r.value||!e.src)return;const m={alt:e.alt,class:Kn("img"),style:{objectFit:e.fit,objectPosition:e.position}};return e.lazyLoad?so(v("img",We({ref:i},m),null),[[Sm("lazy"),e.src]]):v("img",We({src:e.src,onLoad:l,onError:c},m),null)},h=({el:m})=>{const C=()=>{m===i.value&&o.value&&l()};i.value?C():Fe(C)},p=({el:m})=>{m===i.value&&!r.value&&c()};return s&&Mn&&(s.$on("loaded",h),s.$on("error",p),dn(()=>{s.$off("loaded",h),s.$off("error",p)})),()=>{var m;return v("div",{class:Kn({round:e.round}),style:a.value},[d(),u(),(m=n.default)==null?void 0:m.call(n)])}}});const lf=xe(Iv);function Av(e,t,n){let r=0;const o=e.scrollLeft,i=n===0?1:Math.round(n*1e3/16);function s(){e.scrollLeft+=(t-o)/i,++r<i&&cr(s)}s()}function Ov(e,t,n,r){let o=pi(e);const i=o<t,s=n===0?1:Math.round(n*1e3/16),a=(t-o)/s;function l(){o+=a,(i&&o>t||!i&&o<t)&&(o=t),Cs(e,o),i&&o<t||!i&&o>t?cr(l):r&&cr(r)}l()}function kv(e,t){if(!Mn||!window.IntersectionObserver)return;const n=new IntersectionObserver(i=>{t(i[0].intersectionRatio>0)},{root:document.body}),r=()=>{e.value&&n.observe(e.value)},o=()=>{e.value&&n.unobserve(e.value)};dr(o),dn(o),hi(r)}const[Rv,Bv]=me("sticky"),Fv={zIndex:ie,position:be("top"),container:Object,offsetTop:Pe(0),offsetBottom:Pe(0)};var Dv=ce({name:Rv,props:Fv,emits:["scroll","change"],setup(e,{emit:t,slots:n}){const r=le(),o=gi(r),i=He({fixed:!1,width:0,height:0,transform:0}),s=ne(()=>ba(e.position==="top"?e.offsetTop:e.offsetBottom)),a=ne(()=>{const{fixed:u,height:d,width:h}=i;if(u)return{width:`${h}px`,height:`${d}px`}}),l=ne(()=>{if(!i.fixed)return;const u=_e(yi(e.zIndex),{width:`${i.width}px`,height:`${i.height}px`,[e.position]:`${s.value}px`});return i.transform&&(u.transform=`translate3d(0, ${i.transform}px, 0)`),u}),c=u=>t("scroll",{scrollTop:u,isFixed:i.fixed}),f=()=>{if(!r.value||Xr(r))return;const{container:u,position:d}=e,h=st(r),p=pi(window);if(i.width=h.width,i.height=h.height,d==="top")if(u){const m=st(u),C=m.bottom-s.value-i.height;i.fixed=s.value>h.top&&m.bottom>0,i.transform=C<0?C:0}else i.fixed=s.value>h.top;else{const{clientHeight:m}=document.documentElement;if(u){const C=st(u),w=m-C.top-s.value-i.height;i.fixed=m-s.value<h.bottom&&m>C.top,i.transform=w<0?-w:0}else i.fixed=m-s.value<h.bottom}c(p)};return pe(()=>i.fixed,u=>t("change",u)),mi("scroll",f,{target:o}),kv(r,f),()=>{var u;return v("div",{ref:r,style:a.value},[v("div",{class:Bv({fixed:i.fixed}),style:l.value},[(u=n.default)==null?void 0:u.call(n)])])}}});const Lv=xe(Dv),[Mv,Hl]=me("tab");var Nv=ce({name:Mv,props:{id:String,dot:Boolean,type:String,color:String,title:String,badge:ie,shrink:Boolean,isActive:Boolean,disabled:Boolean,controls:String,scrollable:Boolean,activeColor:String,inactiveColor:String,showZeroBadge:fe},setup(e,{slots:t}){const n=ne(()=>{const o={},{type:i,color:s,disabled:a,isActive:l,activeColor:c,inactiveColor:f}=e;s&&i==="card"&&(o.borderColor=s,a||(l?o.backgroundColor=s:o.color=s));const d=l?c:f;return d&&(o.color=d),o}),r=()=>{const o=v("span",{class:Hl("text",{ellipsis:!e.scrollable})},[t.title?t.title():e.title]);return e.dot||Me(e.badge)&&e.badge!==""?v(xi,{dot:e.dot,content:e.badge,showZero:e.showZeroBadge},{default:()=>[o]}):o};return()=>v("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},[r()])}});const[cf,yo]=me("swipe"),Uv={loop:fe,width:ie,height:ie,vertical:Boolean,autoplay:Pe(0),duration:Pe(500),touchable:fe,lazyRender:Boolean,initialSwipe:Pe(0),indicatorColor:String,showIndicators:fe,stopPropagation:fe},uf=Symbol(cf);var Hv=ce({name:cf,props:Uv,emits:["change"],setup(e,{emit:t,slots:n}){const r=le(),o=He({rect:null,width:0,height:0,offset:0,active:0,swiping:!1}),i=gr(),{children:s,linkChildren:a}=kt(uf),l=ne(()=>s.length),c=ne(()=>o[e.vertical?"height":"width"]),f=ne(()=>e.vertical?i.deltaY.value:i.deltaX.value),u=ne(()=>o.rect?(e.vertical?o.rect.height:o.rect.width)-c.value*l.value:0),d=ne(()=>Math.ceil(Math.abs(u.value)/c.value)),h=ne(()=>l.value*c.value),p=ne(()=>(o.active+l.value)%l.value),m=ne(()=>{const L=e.vertical?"vertical":"horizontal";return i.direction.value===L}),C=ne(()=>{const L={transitionDuration:`${o.swiping?0:e.duration}ms`,transform:`translate${e.vertical?"Y":"X"}(${o.offset}px)`};if(c.value){const ge=e.vertical?"height":"width",O=e.vertical?"width":"height";L[ge]=`${h.value}px`,L[O]=e[O]?`${e[O]}px`:""}return L}),w=L=>{const{active:ge}=o;return L?e.loop?Ct(ge+L,-1,l.value):Ct(ge+L,0,d.value):ge},b=(L,ge=0)=>{let O=L*c.value;e.loop||(O=Math.min(O,-u.value));let ee=ge-O;return e.loop||(ee=Ct(ee,u.value,0)),ee},_=({pace:L=0,offset:ge=0,emitChange:O})=>{if(l.value<=1)return;const{active:ee}=o,A=w(L),M=b(A,ge);if(e.loop){if(s[0]&&M!==u.value){const E=M<u.value;s[0].setOffset(E?h.value:0)}if(s[l.value-1]&&M!==0){const E=M>0;s[l.value-1].setOffset(E?-h.value:0)}}o.active=A,o.offset=M,O&&A!==ee&&t("change",p.value)},P=()=>{o.swiping=!0,o.active<=-1?_({pace:l.value}):o.active>=l.value&&_({pace:-l.value})},I=()=>{P(),i.reset(),Ar(()=>{o.swiping=!1,_({pace:-1,emitChange:!0})})},D=()=>{P(),i.reset(),Ar(()=>{o.swiping=!1,_({pace:1,emitChange:!0})})};let $;const B=()=>clearTimeout($),W=()=>{B(),e.autoplay>0&&l.value>1&&($=setTimeout(()=>{D(),W()},+e.autoplay))},T=(L=+e.initialSwipe)=>{if(!r.value)return;const ge=()=>{var O,ee;if(!Xr(r)){const A={width:r.value.offsetWidth,height:r.value.offsetHeight};o.rect=A,o.width=+((O=e.width)!=null?O:A.width),o.height=+((ee=e.height)!=null?ee:A.height)}l.value&&(L=Math.min(l.value-1,L)),o.active=L,o.swiping=!0,o.offset=b(L),s.forEach(A=>{A.setOffset(0)}),W()};Xr(r)?Fe().then(ge):ge()},y=()=>T(o.active);let x;const F=L=>{!e.touchable||(i.start(L),x=Date.now(),B(),P())},k=L=>{e.touchable&&o.swiping&&(i.move(L),m.value&&(ft(L,e.stopPropagation),_({offset:f.value})))},q=()=>{if(!e.touchable||!o.swiping)return;const L=Date.now()-x,ge=f.value/L;if((Math.abs(ge)>.25||Math.abs(f.value)>c.value/2)&&m.value){const ee=e.vertical?i.offsetY.value:i.offsetX.value;let A=0;e.loop?A=ee>0?f.value>0?-1:1:0:A=-Math[f.value>0?"ceil":"floor"](f.value/c.value),_({pace:A,emitChange:!0})}else f.value&&_({pace:0});o.swiping=!1,W()},U=(L,ge={})=>{P(),i.reset(),Ar(()=>{let O;e.loop&&L===l.value?O=o.active===0?0:L:O=L%l.value,ge.immediate?Ar(()=>{o.swiping=!1}):o.swiping=!1,_({pace:O-o.active,emitChange:!0})})},N=(L,ge)=>{const O=ge===p.value,ee=O?{backgroundColor:e.indicatorColor}:void 0;return v("i",{style:ee,class:yo("indicator",{active:O})},null)},Z=()=>{if(n.indicator)return n.indicator({active:p.value,total:l.value});if(e.showIndicators&&l.value>1)return v("div",{class:yo("indicators",{vertical:e.vertical})},[Array(l.value).fill("").map(N)])};return rt({prev:I,next:D,state:o,resize:y,swipeTo:U}),a({size:c,props:e,count:l,activeIndicator:p}),pe(()=>e.initialSwipe,L=>T(+L)),pe(l,()=>T(o.active)),pe(()=>e.autoplay,W),pe([vi,va],y),pe(Ag(),L=>{L==="visible"?W():B()}),at(T),oo(()=>T(o.active)),Xu(()=>T(o.active)),dr(B),dn(B),()=>{var L;return v("div",{ref:r,class:yo()},[v("div",{style:C.value,class:yo("track",{vertical:e.vertical}),onTouchstart:F,onTouchmove:k,onTouchend:q,onTouchcancel:q},[(L=n.default)==null?void 0:L.call(n)]),Z()])}}});const ff=xe(Hv),[jv,jl]=me("tabs");var zv=ce({name:jv,props:{count:ct(Number),inited:Boolean,animated:Boolean,duration:ct(ie),swipeable:Boolean,lazyRender:Boolean,currentIndex:ct(Number)},emits:["change"],setup(e,{emit:t,slots:n}){const r=le(),o=a=>t("change",a),i=()=>{var a;const l=(a=n.default)==null?void 0:a.call(n);return e.animated||e.swipeable?v(ff,{ref:r,loop:!1,class:jl("track"),duration:+e.duration*1e3,touchable:e.swipeable,lazyRender:e.lazyRender,showIndicators:!1,onChange:o},{default:()=>[l]}):l},s=a=>{const l=r.value;l&&l.state.active!==a&&l.swipeTo(a,{immediate:!e.inited})};return pe(()=>e.currentIndex,s),at(()=>{s(e.currentIndex)}),()=>v("div",{class:jl("content",{animated:e.animated||e.swipeable})},[i()])}});const[df,wo]=me("tabs"),Vv={type:be("line"),color:String,border:Boolean,sticky:Boolean,shrink:Boolean,active:Pe(0),duration:Pe(.3),animated:Boolean,ellipsis:fe,swipeable:Boolean,scrollspy:Boolean,offsetTop:Pe(0),background:String,lazyRender:fe,lineWidth:ie,lineHeight:ie,beforeChange:Function,swipeThreshold:Pe(5),titleActiveColor:String,titleInactiveColor:String},hf=Symbol(df);var Wv=ce({name:df,props:Vv,emits:["click","change","scroll","disabled","rendered","click-tab","update:active"],setup(e,{emit:t,slots:n}){var r,o;{const M=(o=(r=dt())==null?void 0:r.vnode)==null?void 0:o.props;M&&"onClick"in M&&console.warn('[Vant] Tabs: "click" event is deprecated, using "click-tab" instead.'),M&&"onDisabled"in M&&console.warn('[Vant] Tabs: "disabled" event is deprecated, using "click-tab" instead.')}let i,s,a;const l=le(),c=le(),f=le(),u=Ca(),d=gi(l),[h,p]=af(),{children:m,linkChildren:C}=kt(hf),w=He({inited:!1,position:"",lineStyle:{},currentIndex:-1}),b=ne(()=>m.length>e.swipeThreshold||!e.ellipsis||e.shrink),_=ne(()=>({borderColor:e.color,background:e.background})),P=(M,E)=>{var z;return(z=M.name)!=null?z:E},I=ne(()=>{const M=m[w.currentIndex];if(M)return P(M,w.currentIndex)}),D=ne(()=>ba(e.offsetTop)),$=ne(()=>e.sticky?D.value+i:0),B=M=>{const E=c.value,z=h.value;if(!b.value||!E||!z||!z[w.currentIndex])return;const Y=z[w.currentIndex].$el,Q=Y.offsetLeft-(E.offsetWidth-Y.offsetWidth)/2;Av(E,Q,M?0:+e.duration)},W=()=>{const M=w.inited;Fe(()=>{const E=h.value;if(!E||!E[w.currentIndex]||e.type!=="line"||Xr(l.value))return;const z=E[w.currentIndex].$el,{lineWidth:Y,lineHeight:Q}=e,ve=z.offsetLeft+z.offsetWidth/2,Ie={width:Ve(Y),backgroundColor:e.color,transform:`translateX(${ve}px) translateX(-50%)`};if(M&&(Ie.transitionDuration=`${e.duration}s`),Me(Q)){const de=Ve(Q);Ie.height=de,Ie.borderRadius=de}w.lineStyle=Ie})},T=M=>{const E=M<w.currentIndex?-1:1;for(;M>=0&&M<m.length;){if(!m[M].disabled)return M;M+=E}},y=M=>{const E=T(M);if(!Me(E))return;const z=m[E],Y=P(z,E),Q=w.currentIndex!==null;w.currentIndex=E,Y!==e.active&&(t("update:active",Y),Q&&t("change",Y,z.title))},x=M=>{const E=m.find((Y,Q)=>P(Y,Q)===M),z=E?m.indexOf(E):0;y(z)},F=(M=!1)=>{if(e.scrollspy){const E=m[w.currentIndex].$el;if(E&&d.value){const z=_l(E,d.value)-$.value;s=!0,Ov(d.value,z,M?0:+e.duration,()=>{s=!1})}}},k=(M,E,z)=>{const{title:Y,disabled:Q}=m[E],ve=P(m[E],E);Q?t("disabled",ve,Y):(hr(e.beforeChange,{args:[ve],done:()=>{y(E),F()}}),t("click",ve,Y),Ku(M)),t("click-tab",{name:ve,title:Y,event:z,disabled:Q})},q=M=>{a=M.isFixed,t("scroll",M)},U=M=>{Fe(()=>{x(M),F(!0)})},N=()=>{for(let M=0;M<m.length;M++){const{top:E}=st(m[M].$el);if(E>$.value)return M===0?0:M-1}return m.length-1},Z=()=>{if(e.scrollspy&&!s){const M=N();y(M)}},L=()=>m.map((M,E)=>v(Nv,We({id:`${u}-${E}`,ref:p(E),type:e.type,color:e.color,style:M.titleStyle,class:M.titleClass,shrink:e.shrink,isActive:E===w.currentIndex,controls:M.id,scrollable:b.value,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor,onClick:z=>k(M,E,z)},$t(M,["dot","badge","title","disabled","showZeroBadge"])),{title:M.$slots.title})),ge=()=>{if(e.type==="line"&&m.length)return v("div",{class:wo("line"),style:w.lineStyle},null)},O=()=>{var M,E;const{type:z,border:Y}=e;return v("div",{ref:f,class:[wo("wrap"),{[wi]:z==="line"&&Y}]},[v("div",{ref:c,role:"tablist",class:wo("nav",[z,{shrink:e.shrink,complete:b.value}]),style:_.value,"aria-orientation":"horizontal"},[(M=n["nav-left"])==null?void 0:M.call(n),L(),ge(),(E=n["nav-right"])==null?void 0:E.call(n)])])};pe([()=>e.color,vi],W),pe(()=>e.active,M=>{M!==I.value&&x(M)}),pe(()=>m.length,()=>{w.inited&&(x(e.active),W(),Fe(()=>{B(!0)}))}),pe(()=>w.currentIndex,()=>{B(),W(),a&&!e.scrollspy&&pa(Math.ceil(_l(l.value)-D.value))});const ee=()=>{x(e.active),Fe(()=>{w.inited=!0,f.value&&(i=st(f.value).height),B(!0)})},A=(M,E)=>t("rendered",M,E);return rt({resize:W,scrollTo:U}),oo(W),Xu(W),hi(ee),mi("scroll",Z,{target:d}),C({id:u,props:e,setLine:W,onRendered:A,currentName:I,scrollIntoView:B}),()=>{var M;return v("div",{ref:l,class:wo([e.type])},[e.sticky?v(Lv,{container:l.value,offsetTop:D.value,onScroll:q},{default:()=>{var E;return[O(),(E=n["nav-bottom"])==null?void 0:E.call(n)]}}):[O(),(M=n["nav-bottom"])==null?void 0:M.call(n)],v(zv,{count:m.length,inited:w.inited,animated:e.animated,duration:e.duration,swipeable:e.swipeable,lazyRender:e.lazyRender,currentIndex:w.currentIndex,onChange:y},{default:()=>{var E;return[(E=n.default)==null?void 0:E.call(n)]}})])}}});const mf=Symbol(),Kv=()=>nt(mf,null),[qv,Yv]=me("swipe-item");var Gv=ce({name:qv,setup(e,{slots:t}){let n;const r=He({offset:0,inited:!1,mounted:!1}),{parent:o,index:i}=Ot(uf);if(!o){console.error("[Vant] <SwipeItem> must be a child component of <Swipe>.");return}const s=ne(()=>{const c={},{vertical:f}=o.props;return o.size.value&&(c[f?"height":"width"]=`${o.size.value}px`),r.offset&&(c.transform=`translate${f?"Y":"X"}(${r.offset}px)`),c}),a=ne(()=>{const{loop:c,lazyRender:f}=o.props;if(!f||n)return!0;if(!r.mounted)return!1;const u=o.activeIndicator.value,d=o.count.value-1,h=u===0&&c?d:u-1,p=u===d&&c?0:u+1;return n=i.value===u||i.value===h||i.value===p,n}),l=c=>{r.offset=c};return at(()=>{Fe(()=>{r.mounted=!0})}),rt({setOffset:l}),()=>{var c;return v("div",{class:Yv(),style:s.value},[a.value?(c=t.default)==null?void 0:c.call(t):null])}}});const gf=xe(Gv),[Xv,ji]=me("tab"),Jv=_e({},mr,{dot:Boolean,name:ie,badge:ie,title:String,disabled:Boolean,titleClass:Je,titleStyle:[String,Object],showZeroBadge:fe});var Zv=ce({name:Xv,props:Jv,setup(e,{slots:t}){const n=Ca(),r=le(!1),{parent:o,index:i}=Ot(hf);if(!o){console.error("[Vant] <Tab> must be a child component of <Tabs>.");return}const s=()=>{var c;return(c=e.name)!=null?c:i.value},a=()=>{r.value=!0,o.props.lazyRender&&Fe(()=>{o.onRendered(s(),e.title)})},l=ne(()=>{const c=s()===o.currentName.value;return c&&!r.value&&a(),c});return pe(()=>e.title,()=>{o.setLine(),o.scrollIntoView()}),zt(mf,l),()=>{var c;const f=`${o.id}-${i.value}`,{animated:u,swipeable:d,scrollspy:h,lazyRender:p}=o.props;if(!t.default&&!u)return;const m=h||l.value;if(u||d)return v(gf,{id:n,role:"tabpanel",class:ji("panel-wrapper",{inactive:!l.value}),tabindex:l.value?0:-1,"aria-hidden":!l.value,"aria-labelledby":f},{default:()=>{var b;return[v("div",{class:ji("panel")},[(b=t.default)==null?void 0:b.call(t)])]}});const w=r.value||h||!p?(c=t.default)==null?void 0:c.call(t):null;return rt({id:n}),so(v("div",{id:n,role:"tabpanel",class:ji("panel"),tabindex:m?0:-1,"aria-labelledby":f},[w]),[[fi,m]])}}});const cC=xe(Zv),uC=xe(Wv),[Qv,zl]=me("cell-group"),e0={title:String,inset:Boolean,border:fe};var t0=ce({name:Qv,inheritAttrs:!1,props:e0,setup(e,{slots:t,attrs:n}){const r=()=>{var i;return v("div",We({class:[zl({inset:e.inset}),{[wi]:e.border&&!e.inset}]},n),[(i=t.default)==null?void 0:i.call(t)])},o=()=>v("div",{class:zl("title",{inset:e.inset})},[t.title?t.title():e.title]);return()=>e.title||t.title?v(et,null,[o(),r()]):r()}});const fC=xe(t0),[pf,n0]=me("row"),vf=Symbol(pf),r0={tag:be("div"),wrap:fe,align:String,gutter:Pe(0),justify:String};var o0=ce({name:pf,props:r0,setup(e,{slots:t}){const{children:n,linkChildren:r}=kt(vf),o=ne(()=>{const s=[[]];let a=0;return n.forEach((l,c)=>{a+=Number(l.span),a>24?(s.push([c]),a-=24):s[s.length-1].push(c)}),s}),i=ne(()=>{const s=Number(e.gutter),a=[];return s&&o.value.forEach(l=>{const c=s*(l.length-1)/l.length;l.forEach((f,u)=>{if(u===0)a.push({right:c});else{const d=s-a[f-1].right,h=c-d;a.push({left:d,right:h})}})}),a});return r({spaces:i}),()=>{const{tag:s,wrap:a,align:l,justify:c}=e;return v(s,{class:n0({[`align-${l}`]:l,[`justify-${c}`]:c,nowrap:!a})},{default:()=>{var f;return[(f=t.default)==null?void 0:f.call(t)]}})}}});const[i0,s0]=me("col"),a0={tag:be("div"),span:Pe(0),offset:ie};var l0=ce({name:i0,props:a0,setup(e,{slots:t}){const{parent:n,index:r}=Ot(vf),o=ne(()=>{if(!n)return;const{spaces:i}=n;if(i&&i.value&&i.value[r.value]){const{left:s,right:a}=i.value[r.value];return{paddingLeft:s?`${s}px`:null,paddingRight:a?`${a}px`:null}}});return()=>{const{tag:i,span:s,offset:a}=e;return v(i,{style:o.value,class:s0({[s]:s,[`offset-${a}`]:a})},{default:()=>{var l;return[(l=t.default)==null?void 0:l.call(t)]}})}}});const dC=xe(l0),[bf,c0]=me("collapse"),yf=Symbol(bf),u0={border:fe,accordion:Boolean,modelValue:{type:[String,Number,Array],default:""}};function f0(e,t){return t&&Array.isArray(e)?(console.error('[Vant] Collapse: "v-model" should not be Array in accordion mode'),!1):!t&&!Array.isArray(e)?(console.error('[Vant] Collapse: "v-model" should be Array in non-accordion mode'),!1):!0}var d0=ce({name:bf,props:u0,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const{linkChildren:r}=kt(yf),o=a=>{t("change",a),t("update:modelValue",a)};return r({toggle:(a,l)=>{const{accordion:c,modelValue:f}=e;o(c?a===f?"":a:l?f.concat(a):f.filter(u=>u!==a))},isExpanded:a=>{const{accordion:l,modelValue:c}=e;return f0(c,l)?l?c===a:c.includes(a):!1}}),()=>{var a;return v("div",{class:[c0(),{[wi]:e.border}]},[(a=n.default)==null?void 0:a.call(n)])}}});const hC=xe(d0),[h0,xo]=me("collapse-item"),m0=["icon","title","value","label","right-icon"],g0=_e({},Ci,{name:ie,isLink:fe,disabled:Boolean,readonly:Boolean,lazyRender:fe});var p0=ce({name:h0,props:g0,setup(e,{slots:t}){const n=le(),r=le(),{parent:o,index:i}=Ot(yf);if(!o){console.error("[Vant] <CollapseItem> must be a child component of <Collapse>.");return}const s=ne(()=>{var m;return(m=e.name)!=null?m:i.value}),a=ne(()=>o.isExpanded(s.value)),l=le(a.value),c=wa(()=>l.value||!e.lazyRender),f=()=>{a.value?n.value&&(n.value.style.height=""):l.value=!1};pe(a,(m,C)=>{if(C===null)return;m&&(l.value=!0),(m?Fe:cr)(()=>{if(!r.value||!n.value)return;const{offsetHeight:b}=r.value;if(b){const _=`${b}px`;n.value.style.height=m?"0":_,Ar(()=>{n.value&&(n.value.style.height=m?_:"0")})}else f()})});const u=(m=!a.value)=>{o.toggle(s.value,m)},d=()=>{!e.disabled&&!e.readonly&&u()},h=()=>{const{border:m,disabled:C,readonly:w}=e,b=$t(e,Object.keys(Ci));return w&&(b.isLink=!1),(C||w)&&(b.clickable=!1),v(Qu,We({role:"button",class:xo("title",{disabled:C,expanded:a.value,borderless:!m}),"aria-expanded":String(a.value),onClick:d},b),$t(t,m0))},p=c(()=>{var m;return so(v("div",{ref:n,class:xo("wrapper"),onTransitionend:f},[v("div",{ref:r,class:xo("content")},[(m=t.default)==null?void 0:m.call(t)])]),[[fi,l.value]])});return rt({toggle:u}),()=>v("div",{class:[xo({border:i.value&&e.border})]},[h(),p()])}});const mC=xe(p0),gC=xe(cp),[v0,xt,Co]=me("dialog"),b0=_e({},ya,{title:String,theme:String,width:ie,message:[String,Function],callback:Function,allowHtml:Boolean,className:Je,transition:be("van-dialog-bounce"),messageAlign:String,closeOnPopstate:fe,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showConfirmButton:fe,closeOnClickOverlay:Boolean}),y0=[...Tp,"transition","closeOnPopstate"];var wf=ce({name:v0,props:b0,emits:["confirm","cancel","keydown","update:show"],setup(e,{emit:t,slots:n}){const r=le(),o=He({confirm:!1,cancel:!1}),i=w=>t("update:show",w),s=w=>{var b;i(!1),(b=e.callback)==null||b.call(e,w)},a=w=>()=>{!e.show||(t(w),e.beforeClose?(o[w]=!0,hr(e.beforeClose,{args:[w],done(){s(w),o[w]=!1},canceled(){o[w]=!1}})):s(w))},l=a("cancel"),c=a("confirm"),f=pg(w=>{var b,_;if(w.target!==((_=(b=r.value)==null?void 0:b.popupRef)==null?void 0:_.value))return;({Enter:e.showConfirmButton?c:lr,Escape:e.showCancelButton?l:lr})[w.key](),t("keydown",w)},["enter","esc"]),u=()=>{const w=n.title?n.title():e.title;if(w)return v("div",{class:xt("header",{isolated:!e.message&&!n.default})},[w])},d=w=>{const{message:b,allowHtml:_,messageAlign:P}=e,I=xt("message",{"has-title":w,[P]:P}),D=ur(b)?b():b;return _&&typeof D=="string"?v("div",{class:I,innerHTML:D},null):v("div",{class:I},[D])},h=()=>{if(n.default)return v("div",{class:xt("content")},[n.default()]);const{title:w,message:b,allowHtml:_}=e;if(b){const P=!!(w||n.title);return v("div",{key:_?1:0,class:xt("content",{isolated:!P})},[d(P)])}},p=()=>v("div",{class:[ju,xt("footer")]},[e.showCancelButton&&v(Es,{size:"large",text:e.cancelButtonText||Co("cancel"),class:xt("cancel"),style:{color:e.cancelButtonColor},loading:o.cancel,onClick:l},null),e.showConfirmButton&&v(Es,{size:"large",text:e.confirmButtonText||Co("confirm"),class:[xt("confirm"),{[Gg]:e.showCancelButton}],style:{color:e.confirmButtonColor},loading:o.confirm,onClick:c},null)]),m=()=>v(np,{class:xt("footer")},{default:()=>[e.showCancelButton&&v(Ol,{type:"warning",text:e.cancelButtonText||Co("cancel"),class:xt("cancel"),color:e.cancelButtonColor,loading:o.cancel,onClick:l},null),e.showConfirmButton&&v(Ol,{type:"danger",text:e.confirmButtonText||Co("confirm"),class:xt("confirm"),color:e.confirmButtonColor,loading:o.confirm,onClick:c},null)]}),C=()=>n.footer?n.footer():e.theme==="round-button"?m():p();return()=>{const{width:w,title:b,theme:_,message:P,className:I}=e;return v(xa,We({ref:r,role:"dialog",class:[xt([_]),I],style:{width:Ve(w)},tabindex:0,"aria-labelledby":b||P,onKeydown:f,"onUpdate:show":i},$t(e,y0)),{default:()=>[u(),h(),C()]})}}});let Jr;function w0(){({instance:Jr}=Ea({setup(){const{state:t,toggle:n}=Sa();return()=>v(wf,We(t,{"onUpdate:show":n}),null)}}))}function Ke(e){return Mn?new Promise((t,n)=>{Jr||w0(),Jr.open(_e({},Ke.currentOptions,e,{callback:r=>{(r==="confirm"?t:n)(r)}}))}):Promise.resolve()}Ke.defaultOptions={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1};Ke.currentOptions=_e({},Ke.defaultOptions);Ke.alert=Ke;Ke.confirm=e=>Ke(_e({showCancelButton:!0},e));Ke.close=()=>{Jr&&Jr.toggle(!1)};Ke.setDefaultOptions=e=>{_e(Ke.currentOptions,e)};Ke.resetDefaultOptions=()=>{Ke.currentOptions=_e({},Ke.defaultOptions)};Ke.Component=xe(wf);Ke.install=e=>{e.use(Ke.Component),e.config.globalProperties.$dialog=Ke};const pt="van-empty-network-",Zt=(e,t,n)=>v("stop",{"stop-color":e,offset:`${t}%`,"stop-opacity":n},null),x0=v("svg",{viewBox:"0 0 160 160"},[v("defs",null,[v("linearGradient",{id:`${pt}1`,x1:"64%",y1:"100%",x2:"64%"},[Zt("#FFF",0,.5),Zt("#F2F3F5",100)]),v("linearGradient",{id:`${pt}2`,x1:"50%",x2:"50%",y2:"84%"},[Zt("#EBEDF0",0),Zt("#DCDEE0",100,0)]),v("linearGradient",{id:`${pt}3`,x1:"100%",x2:"100%",y2:"100%"},[Zt("#EAEDF0",0),Zt("#DCDEE0",100)]),v("radialGradient",{id:`${pt}4`,cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[Zt("#EBEDF0",0),Zt("#FFF",100,0)])]),v("g",{fill:"none"},[v("g",{opacity:".8"},[v("path",{d:"M36 131V53H16v20H2v58h34z",fill:`url(#${pt}1)`},null),v("path",{d:"M123 15h22v14h9v77h-31V15z",fill:`url(#${pt}1)`},null)]),v("path",{fill:`url(#${pt}4)`,d:"M0 139h160v21H0z"},null),v("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:`url(#${pt}2)`},null),v("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7"},[v("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:`url(#${pt}3)`},null),v("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:`url(#${pt}3)`},null),v("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:`url(#${pt}3)`},null),v("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:`url(#${pt}3)`},null)]),v("g",{transform:"translate(31 105)"},[v("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),v("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),v("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),[C0,So]=me("empty"),S0=["error","search","default"],E0={image:be("default"),imageSize:ie,description:String};var _0=ce({name:C0,props:E0,setup(e,{slots:t}){const n=()=>{if(t.image)return t.image();let{image:i}=e;return i==="network"?x0:(S0.includes(i)&&(i=`https://img.yzcdn.cn/vant/empty-image-${i}.png`),v("img",{src:i},null))},r=()=>{const i=t.description?t.description():e.description;if(i)return v("p",{class:So("description")},[i])},o=()=>{if(t.default)return v("div",{class:So("bottom")},[t.default()])};return()=>v("div",{class:So()},[v("div",{class:So("image"),style:bi(e.imageSize)},[n()]),r(),o()])}});const pC=xe(_0),[xf,T0]=me("grid"),P0={square:Boolean,center:fe,border:fe,gutter:ie,reverse:Boolean,iconSize:ie,direction:String,clickable:Boolean,columnNum:Pe(4)},Cf=Symbol(xf);var $0=ce({name:xf,props:P0,setup(e,{slots:t}){const{linkChildren:n}=kt(Cf);return n({props:e}),()=>{var r;return v("div",{style:{paddingLeft:Ve(e.gutter)},class:[T0(),{[ju]:e.border&&!e.gutter}]},[(r=t.default)==null?void 0:r.call(t)])}}});const vC=xe($0),[I0,Eo]=me("grid-item"),A0=_e({},mr,{dot:Boolean,text:String,icon:String,badge:ie,iconColor:String,iconPrefix:String,badgeProps:Object});var O0=ce({name:I0,props:A0,setup(e,{slots:t}){const{parent:n,index:r}=Ot(Cf),o=lo();if(!n){console.error("[Vant] <GridItem> must be a child component of <Grid>.");return}const i=ne(()=>{const{square:f,gutter:u,columnNum:d}=n.props,h=`${100/+d}%`,p={flexBasis:h};if(f)p.paddingTop=h;else if(u){const m=Ve(u);p.paddingRight=m,r.value>=d&&(p.marginTop=m)}return p}),s=ne(()=>{const{square:f,gutter:u}=n.props;if(f&&u){const d=Ve(u);return{right:d,bottom:d,height:"auto"}}}),a=()=>{if(t.icon)return v(xi,We({dot:e.dot,content:e.badge},e.badgeProps),{default:t.icon});if(e.icon)return v(Ne,{dot:e.dot,name:e.icon,size:n.props.iconSize,badge:e.badge,class:Eo("icon"),color:e.iconColor,badgeProps:e.badgeProps,classPrefix:e.iconPrefix},null)},l=()=>{if(t.text)return t.text();if(e.text)return v("span",{class:Eo("text")},[e.text])},c=()=>t.default?t.default():[a(),l()];return()=>{const{center:f,border:u,square:d,gutter:h,reverse:p,direction:m,clickable:C}=n.props,w=[Eo("content",[m,{center:f,square:d,reverse:p,clickable:C,surround:u&&h}]),{[Nn]:u}];return v("div",{class:[Eo({square:d})],style:i.value},[v("div",{role:C?"button":void 0,class:w,style:s.value,tabindex:C?0:void 0,onClick:o},[c()])])}}});const bC=xe(O0),Vl=e=>Math.sqrt((e[0].clientX-e[1].clientX)**2+(e[0].clientY-e[1].clientY)**2),Wl=me("image-preview")[1];var k0=ce({props:{src:String,show:Boolean,active:Number,minZoom:ct(ie),maxZoom:ct(ie),rootWidth:ct(Number),rootHeight:ct(Number)},emits:["scale","close"],setup(e,{emit:t}){const n=He({scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}),r=gr(),o=ne(()=>{const{rootWidth:$,rootHeight:B}=e,W=B/$;return n.imageRatio>W}),i=ne(()=>{const{scale:$,moveX:B,moveY:W,moving:T,zooming:y}=n,x={transitionDuration:y||T?"0s":".3s"};if($!==1){const F=B/$,k=W/$;x.transform=`scale(${$}, ${$}) translate(${F}px, ${k}px)`}return x}),s=ne(()=>{if(n.imageRatio){const{rootWidth:$,rootHeight:B}=e,W=o.value?B/n.imageRatio:$;return Math.max(0,(n.scale*W-$)/2)}return 0}),a=ne(()=>{if(n.imageRatio){const{rootWidth:$,rootHeight:B}=e,W=o.value?B:$*n.imageRatio;return Math.max(0,(n.scale*W-B)/2)}return 0}),l=$=>{$=Ct($,+e.minZoom,+e.maxZoom+1),$!==n.scale&&(n.scale=$,t("scale",{scale:$,index:e.active}))},c=()=>{l(1),n.moveX=0,n.moveY=0},f=()=>{const $=n.scale>1?1:2;l($),n.moveX=0,n.moveY=0};let u,d,h,p,m,C,w;const b=$=>{const{touches:B}=$,{offsetX:W}=r;r.start($),u=B.length,d=n.moveX,h=n.moveY,w=Date.now(),n.moving=u===1&&n.scale!==1,n.zooming=u===2&&!W.value,n.zooming&&(p=n.scale,m=Vl($.touches))},_=$=>{const{touches:B}=$;if(r.move($),(n.moving||n.zooming)&&ft($,!0),n.moving){const{deltaX:W,deltaY:T}=r,y=W.value+d,x=T.value+h;n.moveX=Ct(y,-s.value,s.value),n.moveY=Ct(x,-a.value,a.value)}if(n.zooming&&B.length===2){const W=Vl(B),T=p*W/m;l(T)}},P=()=>{if(u>1)return;const{offsetX:$,offsetY:B}=r,W=Date.now()-w,T=250,y=5;$.value<y&&B.value<y&&W<T&&(C?(clearTimeout(C),C=null,f()):C=setTimeout(()=>{t("close"),C=null},T))},I=$=>{let B=!1;(n.moving||n.zooming)&&(B=!0,n.moving&&d===n.moveX&&h===n.moveY&&(B=!1),$.touches.length||(n.zooming&&(n.moveX=Ct(n.moveX,-s.value,s.value),n.moveY=Ct(n.moveY,-a.value,a.value),n.zooming=!1),n.moving=!1,d=0,h=0,p=1,n.scale<1&&c(),n.scale>e.maxZoom&&(n.scale=+e.maxZoom))),ft($,B),P(),r.reset()},D=$=>{const{naturalWidth:B,naturalHeight:W}=$.target;n.imageRatio=W/B};return pe(()=>e.active,c),pe(()=>e.show,$=>{$||c()}),()=>{const $={loading:()=>v(Un,{type:"spinner"},null)};return v(gf,{class:Wl("swipe-item"),onTouchstart:b,onTouchmove:_,onTouchend:I,onTouchcancel:I},{default:()=>[v(lf,{src:e.src,fit:"contain",class:Wl("image",{vertical:o.value}),style:i.value,onLoad:D},$)]})}}});const[R0,qn]=me("image-preview"),B0=["show","transition","overlayStyle","closeOnPopstate"],F0={show:Boolean,loop:fe,images:di(),minZoom:Pe(1/3),maxZoom:Pe(3),overlay:fe,closeable:Boolean,showIndex:fe,className:Je,closeIcon:be("clear"),transition:String,beforeClose:Function,overlayClass:Je,overlayStyle:Object,swipeDuration:Pe(300),startPosition:Pe(0),showIndicators:Boolean,closeOnPopstate:fe,closeIconPosition:be("top-right")};var Sf=ce({name:R0,props:F0,emits:["scale","close","closed","change","update:show"],setup(e,{emit:t,slots:n}){const r=le(),o=He({active:0,rootWidth:0,rootHeight:0}),i=()=>{if(r.value){const C=st(r.value.$el);o.rootWidth=C.width,o.rootHeight=C.height,r.value.resize()}},s=C=>t("scale",C),a=C=>t("update:show",C),l=()=>{hr(e.beforeClose,{args:[o.active],done:()=>a(!1)})},c=C=>{C!==o.active&&(o.active=C,t("change",C))},f=()=>{if(e.showIndex)return v("div",{class:qn("index")},[n.index?n.index({index:o.active}):`${o.active+1} / ${e.images.length}`])},u=()=>{if(n.cover)return v("div",{class:qn("cover")},[n.cover()])},d=()=>v(ff,{ref:r,lazyRender:!0,loop:e.loop,class:qn("swipe"),duration:e.swipeDuration,initialSwipe:e.startPosition,showIndicators:e.showIndicators,indicatorColor:"white",onChange:c},{default:()=>[e.images.map(C=>v(k0,{src:C,show:e.show,active:o.active,maxZoom:e.maxZoom,minZoom:e.minZoom,rootWidth:o.rootWidth,rootHeight:o.rootHeight,onScale:s,onClose:l},null))]}),h=()=>{if(e.closeable)return v(Ne,{role:"button",name:e.closeIcon,class:[qn("close-icon",e.closeIconPosition),Fn],onClick:l},null)},p=()=>t("closed"),m=(C,w)=>{var b;return(b=r.value)==null?void 0:b.swipeTo(C,w)};return rt({swipeTo:m}),at(i),pe([vi,va],i),pe(()=>e.startPosition,C=>c(+C)),pe(()=>e.show,C=>{const{images:w,startPosition:b}=e;C?(c(+b),Fe(()=>{i(),m(+b,{immediate:!0})})):t("close",{index:o.active,url:w[o.active]})}),()=>v(xa,We({class:[qn(),e.className],overlayClass:[qn("overlay"),e.overlayClass],onClosed:p,"onUpdate:show":a},$t(e,B0)),{default:()=>[h(),d(),f(),u()]})}});let Oo;const D0={loop:!0,images:[],maxZoom:3,minZoom:1/3,onScale:void 0,onClose:void 0,onChange:void 0,teleport:"body",className:"",showIndex:!0,closeable:!1,closeIcon:"clear",transition:void 0,beforeClose:void 0,overlayStyle:void 0,overlayClass:void 0,startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"};function L0(){({instance:Oo}=Ea({setup(){const{state:e,toggle:t}=Sa(),n=()=>{e.images=[]};return()=>v(Sf,We(e,{onClosed:n,"onUpdate:show":t}),null)}}))}const Go=(e,t=0)=>{if(!!Mn)return Oo||L0(),e=Array.isArray(e)?{images:e,startPosition:t}:e,Oo.open(_e({},D0,e)),Oo};Go.Component=xe(Sf);Go.install=e=>{e.use(Go.Component)};const[M0,Yn,N0]=me("list"),U0={error:Boolean,offset:Pe(300),loading:Boolean,finished:Boolean,errorText:String,direction:be("down"),loadingText:String,finishedText:String,immediateCheck:fe};var H0=ce({name:M0,props:U0,emits:["load","update:error","update:loading"],setup(e,{emit:t,slots:n}){const r=le(!1),o=le(),i=le(),s=Kv(),a=gi(o),l=()=>{Fe(()=>{if(r.value||e.finished||e.error||(s==null?void 0:s.value)===!1)return;const{offset:h,direction:p}=e,m=st(a);if(!m.height||Xr(o))return;let C=!1;const w=st(i);p==="up"?C=m.top-w.top<=h:C=w.bottom-m.bottom<=h,C&&(r.value=!0,t("update:loading",!0),t("load"))})},c=()=>{if(e.finished){const h=n.finished?n.finished():e.finishedText;if(h)return v("div",{class:Yn("finished-text")},[h])}},f=()=>{t("update:error",!1),l()},u=()=>{if(e.error){const h=n.error?n.error():e.errorText;if(h)return v("div",{role:"button",class:Yn("error-text"),tabindex:0,onClick:f},[h])}},d=()=>{if(r.value&&!e.finished)return v("div",{class:Yn("loading")},[n.loading?n.loading():v(Un,{class:Yn("loading-icon")},{default:()=>[e.loadingText||N0("loading")]})])};return pe(()=>[e.loading,e.finished,e.error],l),s&&pe(s,h=>{h&&l()}),ia(()=>{r.value=e.loading}),at(()=>{e.immediateCheck&&l()}),rt({check:l}),mi("scroll",l,{target:a}),()=>{var h;const p=(h=n.default)==null?void 0:h.call(n),m=v("div",{ref:i,class:Yn("placeholder")},null);return v("div",{ref:o,role:"feed",class:Yn(),"aria-busy":r.value},[e.direction==="down"?p:m,d(),c(),u(),e.direction==="up"?p:m])}}});const yC=xe(H0);function Ef(e,t){const n=Tv(e);return r=>v("div",{class:t("placeholder"),style:{height:n.value?`${n.value}px`:void 0}},[r()])}const[j0,Bt]=me("nav-bar"),z0={title:String,fixed:Boolean,zIndex:ie,border:fe,leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean};var V0=ce({name:j0,props:z0,emits:["click-left","click-right"],setup(e,{emit:t,slots:n}){const r=le(),o=Ef(r,Bt),i=f=>t("click-left",f),s=f=>t("click-right",f),a=()=>n.left?n.left():[e.leftArrow&&v(Ne,{class:Bt("arrow"),name:"arrow-left"},null),e.leftText&&v("span",{class:Bt("text")},[e.leftText])],l=()=>n.right?n.right():v("span",{class:Bt("text")},[e.rightText]),c=()=>{const{title:f,fixed:u,border:d,zIndex:h}=e,p=yi(h),m=e.leftArrow||e.leftText||n.left,C=e.rightText||n.right;return v("div",{ref:r,style:p,class:[Bt({fixed:u,"safe-area-inset-top":e.safeAreaInsetTop}),{[Xg]:d}]},[v("div",{class:Bt("content")},[m&&v("div",{class:[Bt("left"),Fn],onClick:i},[a()]),v("div",{class:[Bt("title"),"van-ellipsis"]},[n.title?n.title():f]),C&&v("div",{class:[Bt("right"),Fn],onClick:s},[l()])])])};return()=>e.fixed&&e.placeholder?o(c):c()}});const wC=xe(V0),[W0,Sr,K0]=me("pull-refresh"),_f=50,q0=["pulling","loosing","success"],Y0={disabled:Boolean,modelValue:Boolean,headHeight:Pe(_f),successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:ie,successDuration:Pe(500),animationDuration:Pe(300)};var G0=ce({name:W0,props:Y0,emits:["refresh","update:modelValue"],setup(e,{emit:t,slots:n}){let r;const o=le(),i=gi(o),s=He({status:"normal",distance:0,duration:0}),a=gr(),l=()=>{if(e.headHeight!==_f)return{height:`${e.headHeight}px`}},c=()=>s.status!=="loading"&&s.status!=="success"&&!e.disabled,f=_=>{const P=+(e.pullDistance||e.headHeight);return _>P&&(_<P*2?_=P+(_-P)/2:_=P*1.5+(_-P*2)/4),Math.round(_)},u=(_,P)=>{const I=+(e.pullDistance||e.headHeight);s.distance=_,P?s.status="loading":_===0?s.status="normal":_<I?s.status="pulling":s.status="loosing"},d=()=>{const{status:_}=s;return _==="normal"?"":e[`${_}Text`]||K0(_)},h=()=>{const{status:_,distance:P}=s;if(n[_])return n[_]({distance:P});const I=[];return q0.includes(_)&&I.push(v("div",{class:Sr("text")},[d()])),_==="loading"&&I.push(v(Un,{class:Sr("loading")},{default:d})),I},p=()=>{s.status="success",setTimeout(()=>{u(0)},+e.successDuration)},m=_=>{r=pi(i.value)===0,r&&(s.duration=0,a.start(_))},C=_=>{c()&&m(_)},w=_=>{if(c()){r||m(_);const{deltaY:P}=a;a.move(_),r&&P.value>=0&&a.isVertical()&&(ft(_),u(f(P.value)))}},b=()=>{r&&a.deltaY.value&&c()&&(s.duration=+e.animationDuration,s.status==="loosing"?(u(+e.headHeight,!0),t("update:modelValue",!0),Fe(()=>t("refresh"))):u(0))};return pe(()=>e.modelValue,_=>{s.duration=+e.animationDuration,_?u(+e.headHeight,!0):n.success||e.successText?p():u(0,!1)}),()=>{var _;const P={transitionDuration:`${s.duration}ms`,transform:s.distance?`translate3d(0,${s.distance}px, 0)`:""};return v("div",{ref:o,class:Sr()},[v("div",{class:Sr("track"),style:P,onTouchstart:C,onTouchmove:w,onTouchend:b,onTouchcancel:b},[v("div",{class:Sr("head"),style:l()},[h()]),(_=n.default)==null?void 0:_.call(n)])])}}});const xC=xe(G0),[X0,_o]=me("rate");function J0(e,t,n,r){return e>=t?{status:"full",value:1}:e+.5>=t&&n&&!r?{status:"half",value:.5}:e+1>=t&&n&&r?{status:"half",value:Math.round((e-t+1)*1e10)/1e10}:{status:"void",value:0}}const Z0={size:ie,icon:be("star"),color:String,count:Pe(5),gutter:ie,readonly:Boolean,disabled:Boolean,voidIcon:be("star-o"),allowHalf:Boolean,voidColor:String,touchable:fe,iconPrefix:String,modelValue:fa(0),disabledColor:String};var Q0=ce({name:X0,props:Z0,emits:["change","update:modelValue"],setup(e,{emit:t}){const n=gr(),[r,o]=af(),i=()=>e.readonly||e.disabled||!e.touchable,s=ne(()=>Array(+e.count).fill("").map((p,m)=>J0(e.modelValue,m+1,e.allowHalf,e.readonly)));let a;const l=()=>{const p=r.value.map(st);a=[],p.forEach((m,C)=>{e.allowHalf?a.push({score:C+.5,left:m.left},{score:C+1,left:m.left+m.width/2}):a.push({score:C+1,left:m.left})})},c=p=>{for(let m=a.length-1;m>0;m--)if(p>a[m].left)return a[m].score;return e.allowHalf?.5:1},f=p=>{!e.disabled&&!e.readonly&&p!==e.modelValue&&(t("update:modelValue",p),t("change",p))},u=p=>{i()||(n.start(p),l())},d=p=>{if(!i()&&(n.move(p),n.isHorizontal())){const{clientX:m}=p.touches[0];ft(p),f(c(m))}},h=(p,m)=>{const{icon:C,size:w,color:b,count:_,gutter:P,voidIcon:I,disabled:D,voidColor:$,allowHalf:B,iconPrefix:W,disabledColor:T}=e,y=m+1,x=p.status==="full",F=p.status==="void",k=B&&p.value>0&&p.value<1;let q;P&&y!==+_&&(q={paddingRight:Ve(P)});const U=N=>{l(),f(B?c(N.clientX):y)};return v("div",{key:m,ref:o(m),role:"radio",style:q,class:_o("item"),tabindex:D?void 0:0,"aria-setsize":_,"aria-posinset":y,"aria-checked":!F,onClick:U},[v(Ne,{size:w,name:x?C:I,class:_o("icon",{disabled:D,full:x}),color:D?T:x?b:$,classPrefix:W},null),k&&v(Ne,{size:w,style:{width:p.value+"em"},name:F?I:C,class:_o("icon",["half",{disabled:D,full:!F}]),color:D?T:F?$:b,classPrefix:W},null)])};return ha(()=>e.modelValue),()=>v("div",{role:"radiogroup",class:_o({readonly:e.readonly,disabled:e.disabled}),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,"aria-readonly":e.readonly,onTouchstart:u,onTouchmove:d},[s.value.map(h)])}});const CC=xe(Q0),SC=xe(o0),[Tf,Kl]=me("tabbar"),eb={route:Boolean,fixed:fe,border:fe,zIndex:ie,placeholder:Boolean,activeColor:String,beforeChange:Function,inactiveColor:String,modelValue:Pe(0),safeAreaInsetBottom:{type:Boolean,default:null}},Pf=Symbol(Tf);var tb=ce({name:Tf,props:eb,emits:["change","update:modelValue"],setup(e,{emit:t,slots:n}){const r=le(),{linkChildren:o}=kt(Pf),i=Ef(r,Kl),s=()=>{var c;return(c=e.safeAreaInsetBottom)!=null?c:e.fixed},a=()=>{var c;const{fixed:f,zIndex:u,border:d}=e;return v("div",{ref:r,role:"tablist",style:yi(u),class:[Kl({fixed:f}),{[wi]:d,"van-safe-area-bottom":s()}]},[(c=n.default)==null?void 0:c.call(n)])};return o({props:e,setActive:(c,f)=>{hr(e.beforeChange,{args:[c],done(){t("update:modelValue",c),t("change",c),f()}})}}),()=>e.fixed&&e.placeholder?i(a):a()}});const EC=xe(tb),[nb,zi]=me("tabbar-item"),rb=_e({},mr,{dot:Boolean,icon:String,name:ie,badge:ie,badgeProps:Object,iconPrefix:String});var ob=ce({name:nb,props:rb,emits:["click"],setup(e,{emit:t,slots:n}){const r=lo(),o=dt().proxy,{parent:i,index:s}=Ot(Pf);if(!i){console.error("[Vant] <TabbarItem> must be a child component of <Tabbar>.");return}const a=ne(()=>{var f;const{route:u,modelValue:d}=i.props;if(u&&"$route"in o){const{$route:h}=o,{to:p}=e,m=Yt(p)?p:{path:p};return!!h.matched.find(C=>{const w="path"in m&&m.path===C.path,b="name"in m&&m.name===C.name;return w||b})}return((f=e.name)!=null?f:s.value)===d}),l=f=>{var u;a.value||i.setActive((u=e.name)!=null?u:s.value,r),t("click",f)},c=()=>{if(n.icon)return n.icon({active:a.value});if(e.icon)return v(Ne,{name:e.icon,classPrefix:e.iconPrefix},null)};return()=>{var f;const{dot:u,badge:d}=e,{activeColor:h,inactiveColor:p}=i.props,m=a.value?h:p;return v("div",{role:"tab",class:zi({active:a.value}),style:{color:m},tabindex:0,"aria-selected":a.value,onClick:l},[v(xi,We({dot:u,class:zi("icon"),content:d},e.badgeProps),{default:c}),v("div",{class:zi("text")},[(f=n.default)==null?void 0:f.call(n,{active:a.value})])])}}});const _C=xe(ob),[ib,je,sb]=me("uploader"),$f=e=>Array.isArray(e)?e:[e];function ql(e,t){return new Promise(n=>{if(t==="file"){n();return}const r=new FileReader;r.onload=o=>{n(o.target.result)},t==="dataUrl"?r.readAsDataURL(e):t==="text"&&r.readAsText(e)})}function If(e,t){return $f(e).some(n=>n.file?ur(t)?t(n.file):n.file.size>t:!1)}function ab(e,t){const n=[],r=[];return e.forEach(o=>{If(o,t)?r.push(o):n.push(o)}),{valid:n,invalid:r}}const lb=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i,cb=e=>lb.test(e);function Af(e){return e.isImage?!0:e.file&&e.file.type?e.file.type.indexOf("image")===0:e.url?cb(e.url):typeof e.content=="string"?e.content.indexOf("data:image")===0:!1}var ub=ce({props:{name:ie,item:ct(Object),index:Number,imageFit:String,lazyLoad:Boolean,deletable:Boolean,previewSize:ie,beforeDelete:Function},emits:["delete","preview"],setup(e,{emit:t,slots:n}){const r=()=>{const{status:c,message:f}=e.item;if(c==="uploading"||c==="failed"){const u=c==="failed"?v(Ne,{name:"close",class:je("mask-icon")},null):v(Un,{class:je("loading")},null),d=Me(f)&&f!=="";return v("div",{class:je("mask")},[u,d&&v("div",{class:je("mask-message")},[f])])}},o=c=>{const{name:f,item:u,index:d,beforeDelete:h}=e;c.stopPropagation(),hr(h,{args:[u,{name:f,index:d}],done:()=>t("delete")})},i=()=>t("preview"),s=()=>{if(e.deletable&&e.item.status!=="uploading")return v("div",{role:"button",class:je("preview-delete"),tabindex:0,"aria-label":sb("delete"),onClick:o},[v(Ne,{name:"cross",class:je("preview-delete-icon")},null)])},a=()=>{if(n["preview-cover"]){const{index:c,item:f}=e;return v("div",{class:je("preview-cover")},[n["preview-cover"](_e({index:c},f))])}},l=()=>{const{item:c}=e;return Af(c)?v(lf,{fit:e.imageFit,src:c.content||c.url,class:je("preview-image"),width:e.previewSize,height:e.previewSize,lazyLoad:e.lazyLoad,onClick:i},{default:a}):v("div",{class:je("file"),style:bi(e.previewSize)},[v(Ne,{class:je("file-icon"),name:"description"},null),v("div",{class:[je("file-name"),"van-ellipsis"]},[c.file?c.file.name:c.url]),a()])};return()=>v("div",{class:je("preview")},[l(),r(),s()])}});const fb={name:Pe(""),accept:be("image/*"),capture:String,multiple:Boolean,disabled:Boolean,readonly:Boolean,lazyLoad:Boolean,maxCount:Pe(1/0),imageFit:be("cover"),resultType:be("dataUrl"),uploadIcon:be("photograph"),uploadText:String,deletable:fe,afterRead:Function,showUpload:fe,modelValue:di(),beforeRead:Function,beforeDelete:Function,previewSize:ie,previewImage:fe,previewOptions:Object,previewFullImage:fe,maxSize:{type:[Number,String,Function],default:1/0}};var db=ce({name:ib,props:fb,emits:["delete","oversize","click-upload","close-preview","click-preview","update:modelValue"],setup(e,{emit:t,slots:n}){const r=le(),o=[],i=(P=e.modelValue.length)=>({name:e.name,index:P}),s=()=>{r.value&&(r.value.value="")},a=P=>{if(s(),If(P,e.maxSize))if(Array.isArray(P)){const I=ab(P,e.maxSize);if(P=I.valid,t("oversize",I.invalid,i()),!P.length)return}else{t("oversize",P,i());return}P=He(P),t("update:modelValue",[...e.modelValue,...$f(P)]),e.afterRead&&e.afterRead(P,i())},l=P=>{const{maxCount:I,modelValue:D,resultType:$}=e;if(Array.isArray(P)){const B=+I-D.length;P.length>B&&(P=P.slice(0,B)),Promise.all(P.map(W=>ql(W,$))).then(W=>{const T=P.map((y,x)=>{const F={file:y,status:"",message:""};return W[x]&&(F.content=W[x]),F});a(T)})}else ql(P,$).then(B=>{const W={file:P,status:"",message:""};B&&(W.content=B),a(W)})},c=P=>{const{files:I}=P.target;if(e.disabled||!I||!I.length)return;const D=I.length===1?I[0]:[].slice.call(I);if(e.beforeRead){const $=e.beforeRead(D,i());if(!$){s();return}if(ma($)){$.then(B=>{l(B||D)}).catch(s);return}}l(D)};let f;const u=()=>t("close-preview"),d=P=>{if(e.previewFullImage){const I=e.modelValue.filter(Af),D=I.map($=>($.file&&!$.url&&($.url=URL.createObjectURL($.file),o.push($.url)),$.url)).filter(Boolean);f=Go(_e({images:D,startPosition:I.indexOf(P),onClose:u},e.previewOptions))}},h=()=>{f&&f.close()},p=(P,I)=>{const D=e.modelValue.slice(0);D.splice(I,1),t("update:modelValue",D),t("delete",P,i(I))},m=(P,I)=>{const D=["imageFit","deletable","previewSize","beforeDelete"],$=_e($t(e,D),$t(P,D,!0));return v(ub,We({item:P,index:I,onClick:()=>t("click-preview",P,i(I)),onDelete:()=>p(P,I),onPreview:()=>d(P)},$t(e,["name","lazyLoad"]),$),{"preview-cover":n["preview-cover"]})},C=()=>{if(e.previewImage)return e.modelValue.map(m)},w=P=>t("click-upload",P),b=()=>{if(e.modelValue.length>=e.maxCount||!e.showUpload)return;const P=e.readonly?null:v("input",{ref:r,type:"file",class:je("input"),accept:e.accept,capture:e.capture,multiple:e.multiple,disabled:e.disabled,onChange:c},null);return n.default?v("div",{class:je("input-wrapper"),onClick:w},[n.default(),P]):v("div",{class:je("upload",{readonly:e.readonly}),style:bi(e.previewSize),onClick:w},[v(Ne,{name:e.uploadIcon,class:je("upload-icon")},null),e.uploadText&&v("span",{class:je("upload-text")},[e.uploadText]),P])},_=()=>{r.value&&!e.disabled&&r.value.click()};return dn(()=>{o.forEach(P=>URL.revokeObjectURL(P))}),rt({chooseFile:_,closeImagePreview:h}),ha(()=>e.modelValue),()=>v("div",{class:je()},[v("div",{class:je("wrapper",{disabled:e.disabled})},[C(),b()])])}});const TC=xe(db),Yl=Et&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype,pn={event:"event",observer:"observer"};function Or(e,t){if(!e.length)return;const n=e.indexOf(t);if(n>-1)return e.splice(n,1)}function Gl(e,t){if(e.tagName!=="IMG"||!e.getAttribute("data-srcset"))return;let n=e.getAttribute("data-srcset");const o=e.parentNode.offsetWidth*t;let i,s,a;n=n.trim().split(",");const l=n.map(u=>(u=u.trim(),i=u.lastIndexOf(" "),i===-1?(s=u,a=999998):(s=u.substr(0,i),a=parseInt(u.substr(i+1,u.length-i-2),10)),[a,s]));l.sort((u,d)=>{if(u[0]<d[0])return 1;if(u[0]>d[0])return-1;if(u[0]===d[0]){if(d[1].indexOf(".webp",d[1].length-5)!==-1)return 1;if(u[1].indexOf(".webp",u[1].length-5)!==-1)return-1}return 0});let c="",f;for(let u=0;u<l.length;u++){f=l[u],c=f[1];const d=l[u+1];if(d&&d[0]<o){c=f[1];break}else if(!d){c=f[1];break}}return c}const hb=(e=1)=>Et&&window.devicePixelRatio||e;function mb(){if(!Et)return!1;let e=!0;try{const t=document.createElement("canvas");t.getContext&&t.getContext("2d")&&(e=t.toDataURL("image/webp").indexOf("data:image/webp")===0)}catch{e=!1}return e}function gb(e,t){let n=null,r=0;return function(...o){if(n)return;const i=Date.now()-r,s=()=>{r=Date.now(),n=!1,e.apply(this,o)};i>=t?s():n=setTimeout(s,t)}}function pb(e,t,n){e.addEventListener(t,n,{capture:!1,passive:!0})}function vb(e,t,n){e.removeEventListener(t,n,!1)}const _s=(e,t,n)=>{const r=new Image;if(!e||!e.src)return n(new Error("image src is required"));r.src=e.src,e.cors&&(r.crossOrigin=e.cors),r.onload=()=>t({naturalHeight:r.naturalHeight,naturalWidth:r.naturalWidth,src:r.src}),r.onerror=o=>n(o)};class bb{constructor({max:t}){this.options={max:t||100},this.caches=[]}has(t){return this.caches.indexOf(t)>-1}add(t){this.has(t)||(this.caches.push(t),this.caches.length>this.options.max&&this.free())}free(){this.caches.shift()}}class yb{constructor({el:t,src:n,error:r,loading:o,bindType:i,$parent:s,options:a,cors:l,elRenderer:c,imageCache:f}){this.el=t,this.src=n,this.error=r,this.loading=o,this.bindType=i,this.attempt=0,this.cors=l,this.naturalHeight=0,this.naturalWidth=0,this.options=a,this.$parent=s,this.elRenderer=c,this.imageCache=f,this.performanceData={loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}initState(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}record(t){this.performanceData[t]=Date.now()}update({src:t,loading:n,error:r}){const o=this.src;this.src=t,this.loading=n,this.error=r,this.filter(),o!==this.src&&(this.attempt=0,this.initState())}checkInView(){const t=st(this.el);return t.top<window.innerHeight*this.options.preLoad&&t.bottom>this.options.preLoadTop&&t.left<window.innerWidth*this.options.preLoad&&t.right>0}filter(){Object.keys(this.options.filter).forEach(t=>{this.options.filter[t](this,this.options)})}renderLoading(t){this.state.loading=!0,_s({src:this.loading,cors:this.cors},()=>{this.render("loading",!1),this.state.loading=!1,t()},()=>{t(),this.state.loading=!1,this.options.silent||console.warn(`[@vant/lazyload] load failed with loading image(${this.loading})`)})}load(t=lr){if(this.attempt>this.options.attempt-1&&this.state.error){this.options.silent||console.log(`[@vant/lazyload] ${this.src} tried too more than ${this.options.attempt} times`),t();return}if(!(this.state.rendered&&this.state.loaded)){if(this.imageCache.has(this.src))return this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,t();this.renderLoading(()=>{var n,r;this.attempt++,(r=(n=this.options.adapter).beforeLoad)==null||r.call(n,this,this.options),this.record("loadStart"),_s({src:this.src,cors:this.cors},o=>{this.naturalHeight=o.naturalHeight,this.naturalWidth=o.naturalWidth,this.state.loaded=!0,this.state.error=!1,this.record("loadEnd"),this.render("loaded",!1),this.state.rendered=!0,this.imageCache.add(this.src),t()},o=>{!this.options.silent&&console.error(o),this.state.error=!0,this.state.loaded=!1,this.render("error",!1)})})}}render(t,n){this.elRenderer(this,t,n)}performance(){let t="loading",n=0;return this.state.loaded&&(t="loaded",n=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:n}}$destroy(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}const Xl="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",wb=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],xb={rootMargin:"0px",threshold:0};function Cb(){return class{constructor({preLoad:t,error:n,throttleWait:r,preLoadTop:o,dispatchEvent:i,loading:s,attempt:a,silent:l=!0,scale:c,listenEvents:f,filter:u,adapter:d,observer:h,observerOptions:p}){this.mode=pn.event,this.listeners=[],this.targetIndex=0,this.targets=[],this.options={silent:l,dispatchEvent:!!i,throttleWait:r||200,preLoad:t||1.3,preLoadTop:o||0,error:n||Xl,loading:s||Xl,attempt:a||3,scale:c||hb(c),ListenEvents:f||wb,supportWebp:mb(),filter:u||{},adapter:d||{},observer:!!h,observerOptions:p||xb},this.initEvent(),this.imageCache=new bb({max:200}),this.lazyLoadHandler=gb(this.lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?pn.observer:pn.event)}config(t={}){Object.assign(this.options,t)}performance(){return this.listeners.map(t=>t.performance())}addLazyBox(t){this.listeners.push(t),Et&&(this.addListenerTarget(window),this.observer&&this.observer.observe(t.el),t.$el&&t.$el.parentNode&&this.addListenerTarget(t.$el.parentNode))}add(t,n,r){if(this.listeners.some(s=>s.el===t))return this.update(t,n),Fe(this.lazyLoadHandler);const o=this.valueFormatter(n.value);let{src:i}=o;Fe(()=>{i=Gl(t,this.options.scale)||i,this.observer&&this.observer.observe(t);const s=Object.keys(n.modifiers)[0];let a;s&&(a=r.context.$refs[s],a=a?a.$el||a:document.getElementById(s)),a||(a=da(t));const l=new yb({bindType:n.arg,$parent:a,el:t,src:i,loading:o.loading,error:o.error,cors:o.cors,elRenderer:this.elRenderer.bind(this),options:this.options,imageCache:this.imageCache});this.listeners.push(l),Et&&(this.addListenerTarget(window),this.addListenerTarget(a)),this.lazyLoadHandler(),Fe(()=>this.lazyLoadHandler())})}update(t,n,r){const o=this.valueFormatter(n.value);let{src:i}=o;i=Gl(t,this.options.scale)||i;const s=this.listeners.find(a=>a.el===t);s?s.update({src:i,error:o.error,loading:o.loading}):this.add(t,n,r),this.observer&&(this.observer.unobserve(t),this.observer.observe(t)),this.lazyLoadHandler(),Fe(()=>this.lazyLoadHandler())}remove(t){if(!t)return;this.observer&&this.observer.unobserve(t);const n=this.listeners.find(r=>r.el===t);n&&(this.removeListenerTarget(n.$parent),this.removeListenerTarget(window),Or(this.listeners,n),n.$destroy())}removeComponent(t){!t||(Or(this.listeners,t),this.observer&&this.observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this.removeListenerTarget(t.$el.parentNode),this.removeListenerTarget(window))}setMode(t){!Yl&&t===pn.observer&&(t=pn.event),this.mode=t,t===pn.event?(this.observer&&(this.listeners.forEach(n=>{this.observer.unobserve(n.el)}),this.observer=null),this.targets.forEach(n=>{this.initListen(n.el,!0)})):(this.targets.forEach(n=>{this.initListen(n.el,!1)}),this.initIntersectionObserver())}addListenerTarget(t){if(!t)return;let n=this.targets.find(r=>r.el===t);return n?n.childrenCount++:(n={el:t,id:++this.targetIndex,childrenCount:1,listened:!0},this.mode===pn.event&&this.initListen(n.el,!0),this.targets.push(n)),this.targetIndex}removeListenerTarget(t){this.targets.forEach((n,r)=>{n.el===t&&(n.childrenCount--,n.childrenCount||(this.initListen(n.el,!1),this.targets.splice(r,1),n=null))})}initListen(t,n){this.options.ListenEvents.forEach(r=>(n?pb:vb)(t,r,this.lazyLoadHandler))}initEvent(){this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=(t,n)=>{this.Event.listeners[t]||(this.Event.listeners[t]=[]),this.Event.listeners[t].push(n)},this.$once=(t,n)=>{const r=(...o)=>{this.$off(t,r),n.apply(this,o)};this.$on(t,r)},this.$off=(t,n)=>{if(!n){if(!this.Event.listeners[t])return;this.Event.listeners[t].length=0;return}Or(this.Event.listeners[t],n)},this.$emit=(t,n,r)=>{!this.Event.listeners[t]||this.Event.listeners[t].forEach(o=>o(n,r))}}lazyLoadHandler(){const t=[];this.listeners.forEach(n=>{(!n.el||!n.el.parentNode)&&t.push(n),!!n.checkInView()&&n.load()}),t.forEach(n=>{Or(this.listeners,n),n.$destroy()})}initIntersectionObserver(){!Yl||(this.observer=new IntersectionObserver(this.observerHandler.bind(this),this.options.observerOptions),this.listeners.length&&this.listeners.forEach(t=>{this.observer.observe(t.el)}))}observerHandler(t){t.forEach(n=>{n.isIntersecting&&this.listeners.forEach(r=>{if(r.el===n.target){if(r.state.loaded)return this.observer.unobserve(r.el);r.load()}})})}elRenderer(t,n,r){if(!t.el)return;const{el:o,bindType:i}=t;let s;switch(n){case"loading":s=t.loading;break;case"error":s=t.error;break;default:({src:s}=t);break}if(i?o.style[i]='url("'+s+'")':o.getAttribute("src")!==s&&o.setAttribute("src",s),o.setAttribute("lazy",n),this.$emit(n,t,r),this.options.adapter[n]&&this.options.adapter[n](t,this.options),this.options.dispatchEvent){const a=new CustomEvent(n,{detail:t});o.dispatchEvent(a)}}valueFormatter(t){let n=t,{loading:r,error:o}=this.options;return Yt(t)&&(!t.src&&!this.options.silent&&console.error("[@vant/lazyload] miss src with "+t),{src:n}=t,r=t.loading||this.options.loading,o=t.error||this.options.error),{src:n,loading:r,error:o}}}}var Sb=e=>({props:{tag:{type:String,default:"div"}},emits:["show"],render(){return ui(this.tag,this.show&&this.$slots.default?this.$slots.default():null)},data(){return{el:null,state:{loaded:!1},show:!1}},mounted(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeUnmount(){e.removeComponent(this)},methods:{checkInView(){const t=st(this.$el);return Et&&t.top<window.innerHeight*e.options.preLoad&&t.bottom>0&&t.left<window.innerWidth*e.options.preLoad&&t.right>0},load(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)},destroy(){return this.$destroy}}});const Eb={selector:"img"};class _b{constructor({el:t,binding:n,vnode:r,lazy:o}){this.el=null,this.vnode=r,this.binding=n,this.options={},this.lazy=o,this.queue=[],this.update({el:t,binding:n})}update({el:t,binding:n}){this.el=t,this.options=Object.assign({},Eb,n.value),this.getImgs().forEach(o=>{this.lazy.add(o,Object.assign({},this.binding,{value:{src:"dataset"in o?o.dataset.src:o.getAttribute("data-src"),error:("dataset"in o?o.dataset.error:o.getAttribute("data-error"))||this.options.error,loading:("dataset"in o?o.dataset.loading:o.getAttribute("data-loading"))||this.options.loading}}),this.vnode)})}getImgs(){return Array.from(this.el.querySelectorAll(this.options.selector))}clear(){this.getImgs().forEach(n=>this.lazy.remove(n)),this.vnode=null,this.binding=null,this.lazy=null}}class Tb{constructor({lazy:t}){this.lazy=t,this.queue=[]}bind(t,n,r){const o=new _b({el:t,binding:n,vnode:r,lazy:this.lazy});this.queue.push(o)}update(t,n,r){const o=this.queue.find(i=>i.el===t);!o||o.update({el:t,binding:n,vnode:r})}unbind(t){const n=this.queue.find(r=>r.el===t);!n||(n.clear(),Or(this.queue,n))}}var Pb=e=>({props:{src:[String,Object],tag:{type:String,default:"img"}},render(t){return t(this.tag,{attrs:{src:this.renderSrc}},this.$slots.default)},data(){return{el:null,options:{src:"",error:"",loading:"",attempt:e.options.attempt},state:{loaded:!1,error:!1,attempt:0},renderSrc:""}},watch:{src(){this.init(),e.addLazyBox(this),e.lazyLoadHandler()}},created(){this.init(),this.renderSrc=this.options.loading},mounted(){this.el=this.$el,e.addLazyBox(this),e.lazyLoadHandler()},beforeUnmount(){e.removeComponent(this)},methods:{init(){const{src:t,loading:n,error:r}=e.valueFormatter(this.src);this.state.loaded=!1,this.options.src=t,this.options.error=r,this.options.loading=n,this.renderSrc=this.options.loading},checkInView(){const t=st(this.$el);return t.top<window.innerHeight*e.options.preLoad&&t.bottom>0&&t.left<window.innerWidth*e.options.preLoad&&t.right>0},load(t=lr){if(this.state.attempt>this.options.attempt-1&&this.state.error){e.options.silent||console.log(`[@vant/lazyload] ${this.options.src} tried too more than ${this.options.attempt} times`),t();return}const{src:n}=this.options;_s({src:n},({src:r})=>{this.renderSrc=r,this.state.loaded=!0},()=>{this.state.attempt++,this.renderSrc=this.options.error,this.state.error=!0})}}});const $C={install(e,t={}){const n=Cb(),r=new n(t),o=new Tb({lazy:r});e.config.globalProperties.$Lazyload=r,t.lazyComponent&&e.component("LazyComponent",Sb(r)),t.lazyImage&&e.component("LazyImage",Pb(r)),e.directive("lazy",{beforeMount:r.add.bind(r),updated:r.update.bind(r),unmounted:r.remove.bind(r)}),e.directive("lazy-container",{beforeMount:o.bind.bind(o),updated:o.update.bind(o),unmounted:o.unbind.bind(o)})}};function $b(){return Of().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Of(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const Ib=typeof Proxy=="function",Ab="devtools-plugin:setup",Ob="plugin:settings:set";class kb{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const s in t.settings){const a=t.settings[s];r[s]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},r);try{const s=localStorage.getItem(o),a=JSON.parse(s);Object.assign(i,a)}catch{}this.fallbacks={getSettings(){return i},setSettings(s){try{localStorage.setItem(o,JSON.stringify(s))}catch{}i=s}},n&&n.on(Ob,(s,a)=>{s===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(s,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(s,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Rb(e,t){const n=e,r=Of(),o=$b(),i=Ib&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))o.emit(Ab,e,t);else{const s=i?new kb(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:s}),s&&t(s.proxiedTarget)}}/*!
|
|
* vue-router v4.0.12
|
|
* (c) 2021 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const kf=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",pr=e=>kf?Symbol("[vue-router]: "+e):"[vue-router]: "+e,Bb=pr("router view location matched"),Jl=pr("router view depth"),Ei=pr("router"),Ta=pr("route location"),Ts=pr("router view location"),Nt=typeof window!="undefined";function Fb(e){return e.__esModule||kf&&e[Symbol.toStringTag]==="Module"}const $e=Object.assign;function Vi(e,t){const n={};for(const r in t){const o=t[r];n[r]=Array.isArray(o)?o.map(e):e(o)}return n}const Hr=()=>{};function Ee(e){const t=Array.from(arguments).slice(1);console.warn.apply(console,["[Vue Router warn]: "+e].concat(t))}const Db=/\/$/,Lb=e=>e.replace(Db,"");function Wi(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),o=e(i)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=Ub(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function Mb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Zl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ql(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&un(t.matched[r],n.matched[o])&&Rf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function un(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Rf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Nb(e[n],t[n]))return!1;return!0}function Nb(e,t){return Array.isArray(e)?ec(e,t):Array.isArray(t)?ec(t,e):e===t}function ec(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ub(e,t){if(e.startsWith("/"))return e;if(!t.startsWith("/"))return Ee(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`),e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,i,s;for(i=0;i<r.length;i++)if(s=r[i],!(o===1||s==="."))if(s==="..")o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Zr;(function(e){e.pop="pop",e.push="push"})(Zr||(Zr={}));var jr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jr||(jr={}));function Hb(e){if(!e)if(Nt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Lb(e)}const jb=/^[^#]+#/;function zb(e,t){return e.replace(jb,"#")+t}function Vb(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 _i=()=>({left:window.pageXOffset,top:window.pageYOffset});function Wb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#");if(typeof e.el=="string"&&(!r||!document.getElementById(e.el.slice(1))))try{const i=document.querySelector(e.el);if(r&&i){Ee(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);return}}catch{Ee(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);return}const o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o){Ee(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);return}t=Vb(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function tc(e,t){return(history.state?history.state.position-t:-1)+e}const Ps=new Map;function Kb(e,t){Ps.set(e,t)}function qb(e){const t=Ps.get(e);return Ps.delete(e),t}let Yb=()=>location.protocol+"//"+location.host;function Bf(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Zl(l,"")}return Zl(n,e)+r+o}function Gb(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const h=Bf(e,location),p=n.value,m=t.value;let C=0;if(d){if(n.value=h,t.value=d,s&&s===p){s=null;return}C=m?d.position-m.position:0}else r(h);o.forEach(w=>{w(n.value,p,{delta:C,type:Zr.pop,direction:C?C>0?jr.forward:jr.back:jr.unknown})})};function l(){s=n.value}function c(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return i.push(h),h}function f(){const{history:d}=window;!d.state||d.replaceState($e({},d.state,{scroll:_i()}),"")}function u(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",f),{pauseListeners:l,listen:c,destroy:u}}function nc(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?_i():null}}function Xb(e){const{history:t,location:n}=window,r={value:Bf(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,f){const u=e.indexOf("#"),d=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:Yb()+e+l;try{t[f?"replaceState":"pushState"](c,"",d),o.value=c}catch(h){Ee("Error with push/replace State",h),n[f?"replace":"assign"](d)}}function s(l,c){const f=$e({},t.state,nc(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});i(l,f,!0),r.value=l}function a(l,c){const f=$e({},o.value,t.state,{forward:l,scroll:_i()});t.state||Ee(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
|
|
|
|
history.replaceState(history.state, '', url)
|
|
|
|
You can find more information at https://next.router.vuejs.org/guide/migration/#usage-of-history-state.`),i(f.current,f,!0);const u=$e({},nc(r.value,l,null),{position:f.position+1},c);i(l,u,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function Jb(e){e=Hb(e);const t=Xb(e),n=Gb(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=$e({location:"",base:e,go:r,createHref:zb.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function IC(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),!e.endsWith("#/")&&!e.endsWith("#")&&Ee(`A hash base must end with a "#":
|
|
"${e}" should be "${e.replace(/#.*$/,"#")}".`),Jb(e)}function Zb(e){return typeof e=="string"||e&&typeof e=="object"}function Ff(e){return typeof e=="string"||typeof e=="symbol"}const Qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Df=pr("navigation failure");var rc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(rc||(rc={}));const Qb={[1]({location:e,currentLocation:t}){return`No match for
|
|
${JSON.stringify(e)}${t?`
|
|
while being at
|
|
`+JSON.stringify(t):""}`},[2]({from:e,to:t}){return`Redirected from "${e.fullPath}" to "${ty(t)}" via a navigation guard.`},[4]({from:e,to:t}){return`Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`},[8]({from:e,to:t}){return`Navigation cancelled from "${e.fullPath}" to "${t.fullPath}" with a new navigation.`},[16]({from:e,to:t}){return`Avoided redundant navigation to current location: "${e.fullPath}".`}};function fr(e,t){return $e(new Error(Qb[e](t)),{type:e,[Df]:!0},t)}function vn(e,t){return e instanceof Error&&Df in e&&(t==null||!!(e.type&t))}const ey=["params","query","hash"];function ty(e){if(typeof e=="string")return e;if("path"in e)return e.path;const t={};for(const n of ey)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const oc="[^/]+?",ny={sensitive:!1,strict:!1,start:!0,end:!0},ry=/[.+*?^${}()[\]/\\]/g;function oy(e,t){const n=$e({},ny,t),r=[];let o=n.start?"^":"";const i=[];for(const c of e){const f=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let u=0;u<c.length;u++){const d=c[u];let h=40+(n.sensitive?.25:0);if(d.type===0)u||(o+="/"),o+=d.value.replace(ry,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:m,optional:C,regexp:w}=d;i.push({name:p,repeatable:m,optional:C});const b=w||oc;if(b!==oc){h+=10;try{new RegExp(`(${b})`)}catch(P){throw new Error(`Invalid custom RegExp for param "${p}" (${b}): `+P.message)}}let _=m?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;u||(_=C&&c.length<2?`(?:/${_})`:"/"+_),C&&(_+="?"),o+=_,h+=20,C&&(h+=-8),m&&(h+=-20),b===".*"&&(h+=-50)}f.push(h)}r.push(f)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(c){const f=c.match(s),u={};if(!f)return null;for(let d=1;d<f.length;d++){const h=f[d]||"",p=i[d-1];u[p.name]=h&&p.repeatable?h.split("/"):h}return u}function l(c){let f="",u=!1;for(const d of e){(!u||!f.endsWith("/"))&&(f+="/"),u=!1;for(const h of d)if(h.type===0)f+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:C}=h,w=p in c?c[p]:"";if(Array.isArray(w)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const b=Array.isArray(w)?w.join("/"):w;if(!b)if(C)d.length<2&&(f.endsWith("/")?f=f.slice(0,-1):u=!0);else throw new Error(`Missing required param "${p}"`);f+=b}}return f}return{re:s,score:r,keys:i,parse:a,stringify:l}}function iy(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function sy(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=iy(r[n],o[n]);if(i)return i;n++}return o.length-r.length}const ay={type:0,value:""},ly=/[a-zA-Z0-9_]/;function cy(e){if(!e)return[[]];if(e==="/")return[[ay]];if(!e.startsWith("/"))throw new Error(`Route paths should start with a "/": "${e}" should be "/${e}".`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,c="",f="";function u(){!c||(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&u(),s()):l===":"?(u(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:ly.test(l)?d():(u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+l:n=3:f+=l;break;case 3:u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),s(),o}function uy(e,t,n){const r=oy(cy(e.path),n);{const i=new Set;for(const s of r.keys)i.has(s.name)&&Ee(`Found duplicated params with name "${s.name}" for path "${e.path}". Only the last one will be available on "$route.params".`),i.add(s.name)}const o=$e(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function fy(e,t){const n=[],r=new Map;t=sc({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function i(f,u,d){const h=!d,p=hy(f);p.aliasOf=d&&d.record;const m=sc(t,f),C=[p];if("alias"in f){const _=typeof f.alias=="string"?[f.alias]:f.alias;for(const P of _)C.push($e({},p,{components:d?d.record.components:p.components,path:P,aliasOf:d?d.record:p}))}let w,b;for(const _ of C){const{path:P}=_;if(u&&P[0]!=="/"){const I=u.record.path,D=I[I.length-1]==="/"?"":"/";_.path=u.record.path+(P&&D+P)}if(_.path==="*")throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
|
|
See more at https://next.router.vuejs.org/guide/migration/#removed-star-or-catch-all-routes.`);if(w=uy(_,u,m),u&&P[0]==="/"&&vy(w,u),d?(d.alias.push(w),py(d,w)):(b=b||w,b!==w&&b.alias.push(w),h&&f.name&&!ic(w)&&s(f.name)),"children"in p){const I=p.children;for(let D=0;D<I.length;D++)i(I[D],w,d&&d.children[D])}d=d||w,l(w)}return b?()=>{s(b)}:Hr}function s(f){if(Ff(f)){const u=r.get(f);u&&(r.delete(f),n.splice(n.indexOf(u),1),u.children.forEach(s),u.alias.forEach(s))}else{const u=n.indexOf(f);u>-1&&(n.splice(u,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){let u=0;for(;u<n.length&&sy(f,n[u])>=0;)u++;n.splice(u,0,f),f.record.name&&!ic(f)&&r.set(f.record.name,f)}function c(f,u){let d,h={},p,m;if("name"in f&&f.name){if(d=r.get(f.name),!d)throw fr(1,{location:f});m=d.record.name,h=$e(dy(u.params,d.keys.filter(b=>!b.optional).map(b=>b.name)),f.params),p=d.stringify(h)}else if("path"in f)p=f.path,p.startsWith("/")||Ee(`The Matcher cannot resolve relative paths but received "${p}". Unless you directly called \`matcher.resolve("${p}")\`, this is probably a bug in vue-router. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-router-next.`),d=n.find(b=>b.re.test(p)),d&&(h=d.parse(p),m=d.record.name);else{if(d=u.name?r.get(u.name):n.find(b=>b.re.test(u.path)),!d)throw fr(1,{location:f,currentLocation:u});m=d.record.name,h=$e({},u.params,f.params),p=d.stringify(h)}const C=[];let w=d;for(;w;)C.unshift(w.record),w=w.parent;return{name:m,path:p,params:h,matched:C,meta:gy(C)}}return e.forEach(f=>i(f)),{addRoute:i,resolve:c,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function dy(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function hy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:my(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function my(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function ic(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gy(e){return e.reduce((t,n)=>$e(t,n.meta),{})}function sc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $s(e,t){return e.name===t.name&&e.optional===t.optional&&e.repeatable===t.repeatable}function py(e,t){for(const n of e.keys)if(!n.optional&&!t.keys.find($s.bind(null,n)))return Ee(`Alias "${t.record.path}" and the original record: "${e.record.path}" should have the exact same param named "${n.name}"`);for(const n of t.keys)if(!n.optional&&!e.keys.find($s.bind(null,n)))return Ee(`Alias "${t.record.path}" and the original record: "${e.record.path}" should have the exact same param named "${n.name}"`)}function vy(e,t){for(const n of t.keys)if(!e.keys.find($s.bind(null,n)))return Ee(`Absolute path "${e.record.path}" should have the exact same param named "${n.name}" as its parent "${t.record.path}".`)}const Lf=/#/g,by=/&/g,yy=/\//g,wy=/=/g,xy=/\?/g,Mf=/\+/g,Cy=/%5B/g,Sy=/%5D/g,Nf=/%5E/g,Ey=/%60/g,Uf=/%7B/g,_y=/%7C/g,Hf=/%7D/g,Ty=/%20/g;function Pa(e){return encodeURI(""+e).replace(_y,"|").replace(Cy,"[").replace(Sy,"]")}function Py(e){return Pa(e).replace(Uf,"{").replace(Hf,"}").replace(Nf,"^")}function Is(e){return Pa(e).replace(Mf,"%2B").replace(Ty,"+").replace(Lf,"%23").replace(by,"%26").replace(Ey,"`").replace(Uf,"{").replace(Hf,"}").replace(Nf,"^")}function $y(e){return Is(e).replace(wy,"%3D")}function Iy(e){return Pa(e).replace(Lf,"%23").replace(xy,"%3F")}function Ay(e){return e==null?"":Iy(e).replace(yy,"%2F")}function Qr(e){try{return decodeURIComponent(""+e)}catch{Ee(`Error decoding "${e}". Using original value`)}return""+e}function Oy(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(Mf," "),s=i.indexOf("="),a=Qr(s<0?i:i.slice(0,s)),l=s<0?null:Qr(i.slice(s+1));if(a in t){let c=t[a];Array.isArray(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function ac(e){let t="";for(let n in e){const r=e[n];if(n=$y(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(r)?r.map(i=>i&&Is(i)):[r&&Is(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function ky(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Er(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function tn(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((s,a)=>{const l=u=>{u===!1?a(fr(4,{from:n,to:t})):u instanceof Error?a(u):Zb(u)?a(fr(2,{from:t,to:u})):(i&&r.enterCallbacks[o]===i&&typeof u=="function"&&i.push(u),s())},c=e.call(r&&r.instances[o],t,n,Ry(l,t,n));let f=Promise.resolve(c);if(e.length<3&&(f=f.then(l)),e.length>2){const u=`The "next" callback was never called inside of ${e.name?'"'+e.name+'"':""}:
|
|
${e.toString()}
|
|
. If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;if(typeof c=="object"&&"then"in c)f=f.then(d=>l._called?d:(Ee(u),Promise.reject(new Error("Invalid navigation guard"))));else if(c!==void 0&&!l._called){Ee(u),a(new Error("Invalid navigation guard"));return}}f.catch(u=>a(u))})}function Ry(e,t,n){let r=0;return function(){r++===1&&Ee(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`),e._called=!0,r===1&&e.apply(null,arguments)}}function Ki(e,t,n,r){const o=[];for(const i of e)for(const s in i.components){let a=i.components[s];{if(!a||typeof a!="object"&&typeof a!="function")throw Ee(`Component "${s}" in record with path "${i.path}" is not a valid component. Received "${String(a)}".`),new Error("Invalid route component");if("then"in a){Ee(`Component "${s}" in record with path "${i.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);const l=a;a=()=>l}else a.__asyncLoader&&!a.__warnedDefineAsync&&(a.__warnedDefineAsync=!0,Ee(`Component "${s}" in record with path "${i.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`))}if(!(t!=="beforeRouteEnter"&&!i.instances[s]))if(By(a)){const c=(a.__vccOpts||a)[t];c&&o.push(tn(c,n,r,i,s))}else{let l=a();"catch"in l||(Ee(`Component "${s}" in record with path "${i.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`),l=Promise.resolve(l)),o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${i.path}"`));const f=Fb(c)?c.default:c;i.components[s]=f;const d=(f.__vccOpts||f)[t];return d&&tn(d,n,r,i,s)()}))}}return o}function By(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function lc(e){const t=nt(Ei),n=nt(Ta),r=ne(()=>t.resolve(Ht(e.to))),o=ne(()=>{const{matched:l}=r.value,{length:c}=l,f=l[c-1],u=n.matched;if(!f||!u.length)return-1;const d=u.findIndex(un.bind(null,f));if(d>-1)return d;const h=cc(l[c-2]);return c>1&&cc(f)===h&&u[u.length-1].path!==h?u.findIndex(un.bind(null,l[c-2])):d}),i=ne(()=>o.value>-1&&My(n.params,r.value.params)),s=ne(()=>o.value>-1&&o.value===n.matched.length-1&&Rf(n.params,r.value.params));function a(l={}){return Ly(l)?t[Ht(e.replace)?"replace":"push"](Ht(e.to)).catch(Hr):Promise.resolve()}if(Nt){const l=dt();if(l){const c={route:r.value,isActive:i.value,isExactActive:s.value};l.__vrl_devtools=l.__vrl_devtools||[],l.__vrl_devtools.push(c),Nh(()=>{c.route=r.value,c.isActive=i.value,c.isExactActive=s.value},{flush:"post"})}}return{route:r,href:ne(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}const Fy=ce({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:lc,setup(e,{slots:t}){const n=He(lc(e)),{options:r}=nt(Ei),o=ne(()=>({[uc(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[uc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:ui("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),Dy=Fy;function Ly(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 My(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Array.isArray(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function cc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const uc=(e,t,n)=>e!=null?e:t!=null?t:n,Ny=ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:t,slots:n}){Hy();const r=nt(Ts),o=ne(()=>e.route||r.value),i=nt(Jl,0),s=ne(()=>o.value.matched[i]);zt(Jl,i+1),zt(Bb,s),zt(Ts,o);const a=le();return pe(()=>[a.value,s.value,e.name],([l,c,f],[u,d,h])=>{c&&(c.instances[f]=l,d&&d!==c&&l&&l===u&&(c.leaveGuards.size||(c.leaveGuards=d.leaveGuards),c.updateGuards.size||(c.updateGuards=d.updateGuards))),l&&c&&(!d||!un(c,d)||!u)&&(c.enterCallbacks[f]||[]).forEach(p=>p(l))},{flush:"post"}),()=>{const l=o.value,c=s.value,f=c&&c.components[e.name],u=e.name;if(!f)return fc(n.default,{Component:f,route:l});const d=c.props[e.name],h=d?d===!0?l.params:typeof d=="function"?d(l):d:null,m=ui(f,$e({},h,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(c.instances[u]=null)},ref:a}));if(Nt&&m.ref){const C={depth:i,name:c.name,path:c.path,meta:c.meta};(Array.isArray(m.ref)?m.ref.map(b=>b.i):[m.ref.i]).forEach(b=>{b.__vrv_devtools=C})}return fc(n.default,{Component:m,route:l})||m}}});function fc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Uy=Ny;function Hy(){const e=dt(),t=e.parent&&e.parent.type.name;if(t&&(t==="KeepAlive"||t.includes("Transition"))){const n=t==="KeepAlive"?"keep-alive":"transition";Ee(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
Use slot props instead:
|
|
|
|
<router-view v-slot="{ Component }">
|
|
<${n}>
|
|
<component :is="Component" />
|
|
</${n}>
|
|
</router-view>`)}}function _r(e,t){const n=$e({},e,{matched:e.matched.map(r=>Xy(r,["instances","children","aliasOf"]))});return{_custom:{type:null,readOnly:!0,display:e.fullPath,tooltip:t,value:n}}}function To(e){return{_custom:{display:e}}}let jy=0;function zy(e,t,n){if(t.__hasDevtools)return;t.__hasDevtools=!0;const r=jy++;Rb({id:"org.vuejs.router"+(r?"."+r:""),label:"Vue Router",packageName:"vue-router",homepage:"https://next.router.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",componentStateTypes:["Routing"],app:e},o=>{o.on.inspectComponent((f,u)=>{f.instanceData&&f.instanceData.state.push({type:"Routing",key:"$route",editable:!1,value:_r(t.currentRoute.value,"Current Route")})}),o.on.visitComponentTree(({treeNode:f,componentInstance:u})=>{if(u.__vrv_devtools){const d=u.__vrv_devtools;f.tags.push({label:(d.name?`${d.name.toString()}: `:"")+d.path,textColor:0,tooltip:"This component is rendered by <router-view>",backgroundColor:jf})}Array.isArray(u.__vrl_devtools)&&(u.__devtoolsApi=o,u.__vrl_devtools.forEach(d=>{let h=Wf,p="";d.isExactActive?(h=Vf,p="This is exactly active"):d.isActive&&(h=zf,p="This link is active"),f.tags.push({label:d.route.path,textColor:0,tooltip:p,backgroundColor:h})}))}),pe(t.currentRoute,()=>{l(),o.notifyComponentUpdate(),o.sendInspectorTree(a),o.sendInspectorState(a)});const i="router:navigations:"+r;o.addTimelineLayer({id:i,label:`Router${r?" "+r:""} Navigations`,color:4237508}),t.onError((f,u)=>{o.addTimelineEvent({layerId:i,event:{title:"Error during Navigation",subtitle:u.fullPath,logType:"error",time:Date.now(),data:{error:f},groupId:u.meta.__navigationId}})});let s=0;t.beforeEach((f,u)=>{const d={guard:To("beforeEach"),from:_r(u,"Current Location during this navigation"),to:_r(f,"Target location")};Object.defineProperty(f.meta,"__navigationId",{value:s++}),o.addTimelineEvent({layerId:i,event:{time:Date.now(),title:"Start of navigation",subtitle:f.fullPath,data:d,groupId:f.meta.__navigationId}})}),t.afterEach((f,u,d)=>{const h={guard:To("afterEach")};d?(h.failure={_custom:{type:Error,readOnly:!0,display:d?d.message:"",tooltip:"Navigation Failure",value:d}},h.status=To("\u274C")):h.status=To("\u2705"),h.from=_r(u,"Current Location during this navigation"),h.to=_r(f,"Target location"),o.addTimelineEvent({layerId:i,event:{title:"End of navigation",subtitle:f.fullPath,time:Date.now(),data:h,logType:d?"warning":"default",groupId:f.meta.__navigationId}})});const a="router-inspector:"+r;o.addInspector({id:a,label:"Routes"+(r?" "+r:""),icon:"book",treeFilterPlaceholder:"Search routes"});function l(){if(!c)return;const f=c;let u=n.getRoutes().filter(d=>!d.parent);u.forEach(Yf),f.filter&&(u=u.filter(d=>As(d,f.filter.toLowerCase()))),u.forEach(d=>qf(d,t.currentRoute.value)),f.rootNodes=u.map(Kf)}let c;o.on.getInspectorTree(f=>{c=f,f.app===e&&f.inspectorId===a&&l()}),o.on.getInspectorState(f=>{if(f.app===e&&f.inspectorId===a){const d=n.getRoutes().find(h=>h.record.__vd_id===f.nodeId);d&&(f.state={options:Wy(d)})}}),o.sendInspectorTree(a),o.sendInspectorState(a)})}function Vy(e){return e.optional?e.repeatable?"*":"?":e.repeatable?"+":""}function Wy(e){const{record:t}=e,n=[{editable:!1,key:"path",value:t.path}];return t.name!=null&&n.push({editable:!1,key:"name",value:t.name}),n.push({editable:!1,key:"regexp",value:e.re}),e.keys.length&&n.push({editable:!1,key:"keys",value:{_custom:{type:null,readOnly:!0,display:e.keys.map(r=>`${r.name}${Vy(r)}`).join(" "),tooltip:"Param keys",value:e.keys}}}),t.redirect!=null&&n.push({editable:!1,key:"redirect",value:t.redirect}),e.alias.length&&n.push({editable:!1,key:"aliases",value:e.alias.map(r=>r.record.path)}),n.push({key:"score",editable:!1,value:{_custom:{type:null,readOnly:!0,display:e.score.map(r=>r.join(", ")).join(" | "),tooltip:"Score used to sort routes",value:e.score}}}),n}const jf=15485081,zf=2450411,Vf=8702998,Ky=2282478,Wf=16486972,qy=6710886;function Kf(e){const t=[],{record:n}=e;n.name!=null&&t.push({label:String(n.name),textColor:0,backgroundColor:Ky}),n.aliasOf&&t.push({label:"alias",textColor:0,backgroundColor:Wf}),e.__vd_match&&t.push({label:"matches",textColor:0,backgroundColor:jf}),e.__vd_exactActive&&t.push({label:"exact",textColor:0,backgroundColor:Vf}),e.__vd_active&&t.push({label:"active",textColor:0,backgroundColor:zf}),n.redirect&&t.push({label:"redirect: "+(typeof n.redirect=="string"?n.redirect:"Object"),textColor:16777215,backgroundColor:qy});let r=n.__vd_id;return r==null&&(r=String(Yy++),n.__vd_id=r),{id:r,label:n.path,tags:t,children:e.children.map(Kf)}}let Yy=0;const Gy=/^\/(.*)\/([a-z]*)$/;function qf(e,t){const n=t.matched.length&&un(t.matched[t.matched.length-1],e.record);e.__vd_exactActive=e.__vd_active=n,n||(e.__vd_active=t.matched.some(r=>un(r,e.record))),e.children.forEach(r=>qf(r,t))}function Yf(e){e.__vd_match=!1,e.children.forEach(Yf)}function As(e,t){const n=String(e.re).match(Gy);if(e.__vd_match=!1,!n||n.length<3)return!1;if(new RegExp(n[1].replace(/\$$/,""),n[2]).test(t))return e.children.forEach(s=>As(s,t)),e.record.path!=="/"||t==="/"?(e.__vd_match=e.re.test(t),!0):!1;const o=e.record.path.toLowerCase(),i=Qr(o);return!t.startsWith("/")&&(i.includes(t)||o.includes(t))||i.startsWith(t)||o.startsWith(t)||e.record.name&&String(e.record.name).includes(t)?!0:e.children.some(s=>As(s,t))}function Xy(e,t){const n={};for(const r in e)t.includes(r)||(n[r]=e[r]);return n}function AC(e){const t=fy(e.routes,e),n=e.parseQuery||Oy,r=e.stringifyQuery||ac,o=e.history;if(!o)throw new Error('Provide the "history" option when calling "createRouter()": https://next.router.vuejs.org/api/#history.');const i=Er(),s=Er(),a=Er(),l=nh(Qt);let c=Qt;Nt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Vi.bind(null,E=>""+E),u=Vi.bind(null,Ay),d=Vi.bind(null,Qr);function h(E,z){let Y,Q;return Ff(E)?(Y=t.getRecordMatcher(E),Q=z):Q=E,t.addRoute(Q,Y)}function p(E){const z=t.getRecordMatcher(E);z?t.removeRoute(z):Ee(`Cannot remove non-existent route "${String(E)}"`)}function m(){return t.getRoutes().map(E=>E.record)}function C(E){return!!t.getRecordMatcher(E)}function w(E,z){if(z=$e({},z||l.value),typeof E=="string"){const we=Wi(n,E,z.path),ke=t.resolve({path:we.path},z),g=o.createHref(we.fullPath);return g.startsWith("//")?Ee(`Location "${E}" resolved to "${g}". A resolved location cannot start with multiple slashes.`):ke.matched.length||Ee(`No match found for location with path "${E}"`),$e(we,ke,{params:d(ke.params),hash:Qr(we.hash),redirectedFrom:void 0,href:g})}let Y;if("path"in E)"params"in E&&!("name"in E)&&Object.keys(E.params).length&&Ee(`Path "${E.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`),Y=$e({},E,{path:Wi(n,E.path,z.path).path});else{const we=$e({},E.params);for(const ke in we)we[ke]==null&&delete we[ke];Y=$e({},E,{params:u(E.params)}),z.params=u(z.params)}const Q=t.resolve(Y,z),ve=E.hash||"";ve&&!ve.startsWith("#")&&Ee(`A \`hash\` should always start with the character "#". Replace "${ve}" with "#${ve}".`),Q.params=f(d(Q.params));const Ie=Mb(r,$e({},E,{hash:Py(ve),path:Q.path})),de=o.createHref(Ie);return de.startsWith("//")?Ee(`Location "${E}" resolved to "${de}". A resolved location cannot start with multiple slashes.`):Q.matched.length||Ee(`No match found for location with path "${"path"in E?E.path:E}"`),$e({fullPath:Ie,hash:ve,query:r===ac?ky(E.query):E.query||{}},Q,{redirectedFrom:void 0,href:de})}function b(E){return typeof E=="string"?Wi(n,E,l.value.path):$e({},E)}function _(E,z){if(c!==E)return fr(8,{from:z,to:E})}function P(E){return $(E)}function I(E){return P($e(b(E),{replace:!0}))}function D(E){const z=E.matched[E.matched.length-1];if(z&&z.redirect){const{redirect:Y}=z;let Q=typeof Y=="function"?Y(E):Y;if(typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=b(Q):{path:Q},Q.params={}),!("path"in Q)&&!("name"in Q))throw Ee(`Invalid redirect found:
|
|
${JSON.stringify(Q,null,2)}
|
|
when navigating to "${E.fullPath}". A redirect must contain a name or path. This will break in production.`),new Error("Invalid redirect");return $e({query:E.query,hash:E.hash,params:E.params},Q)}}function $(E,z){const Y=c=w(E),Q=l.value,ve=E.state,Ie=E.force,de=E.replace===!0,we=D(Y);if(we)return $($e(b(we),{state:ve,force:Ie,replace:de}),z||Y);const ke=Y;ke.redirectedFrom=z;let g;return!Ie&&Ql(r,Q,Y)&&(g=fr(16,{to:ke,from:Q}),ge(Q,Q,!0,!1)),(g?Promise.resolve(g):W(ke,Q)).catch(S=>vn(S)?S:N(S,ke,Q)).then(S=>{if(S){if(vn(S,2))return Ql(r,w(S.to),ke)&&z&&(z._count=z._count?z._count+1:1)>10?(Ee(`Detected an infinite redirection in a navigation guard when going from "${Q.fullPath}" to "${ke.fullPath}". Aborting to avoid a Stack Overflow. This will break in production if not fixed.`),Promise.reject(new Error("Infinite redirect in navigation guard"))):$($e(b(S.to),{state:ve,force:Ie,replace:de}),z||ke)}else S=y(ke,Q,!0,de,ve);return T(ke,Q,S),S})}function B(E,z){const Y=_(E,z);return Y?Promise.reject(Y):Promise.resolve()}function W(E,z){let Y;const[Q,ve,Ie]=Jy(E,z);Y=Ki(Q.reverse(),"beforeRouteLeave",E,z);for(const we of Q)we.leaveGuards.forEach(ke=>{Y.push(tn(ke,E,z))});const de=B.bind(null,E,z);return Y.push(de),Gn(Y).then(()=>{Y=[];for(const we of i.list())Y.push(tn(we,E,z));return Y.push(de),Gn(Y)}).then(()=>{Y=Ki(ve,"beforeRouteUpdate",E,z);for(const we of ve)we.updateGuards.forEach(ke=>{Y.push(tn(ke,E,z))});return Y.push(de),Gn(Y)}).then(()=>{Y=[];for(const we of E.matched)if(we.beforeEnter&&!z.matched.includes(we))if(Array.isArray(we.beforeEnter))for(const ke of we.beforeEnter)Y.push(tn(ke,E,z));else Y.push(tn(we.beforeEnter,E,z));return Y.push(de),Gn(Y)}).then(()=>(E.matched.forEach(we=>we.enterCallbacks={}),Y=Ki(Ie,"beforeRouteEnter",E,z),Y.push(de),Gn(Y))).then(()=>{Y=[];for(const we of s.list())Y.push(tn(we,E,z));return Y.push(de),Gn(Y)}).catch(we=>vn(we,8)?we:Promise.reject(we))}function T(E,z,Y){for(const Q of a.list())Q(E,z,Y)}function y(E,z,Y,Q,ve){const Ie=_(E,z);if(Ie)return Ie;const de=z===Qt,we=Nt?history.state:{};Y&&(Q||de?o.replace(E.fullPath,$e({scroll:de&&we&&we.scroll},ve)):o.push(E.fullPath,ve)),l.value=E,ge(E,z,Y,de),L()}let x;function F(){x=o.listen((E,z,Y)=>{const Q=w(E),ve=D(Q);if(ve){$($e(ve,{replace:!0}),Q).catch(Hr);return}c=Q;const Ie=l.value;Nt&&Kb(tc(Ie.fullPath,Y.delta),_i()),W(Q,Ie).catch(de=>vn(de,12)?de:vn(de,2)?($(de.to,Q).then(we=>{vn(we,20)&&!Y.delta&&Y.type===Zr.pop&&o.go(-1,!1)}).catch(Hr),Promise.reject()):(Y.delta&&o.go(-Y.delta,!1),N(de,Q,Ie))).then(de=>{de=de||y(Q,Ie,!1),de&&(Y.delta?o.go(-Y.delta,!1):Y.type===Zr.pop&&vn(de,20)&&o.go(-1,!1)),T(Q,Ie,de)}).catch(Hr)})}let k=Er(),q=Er(),U;function N(E,z,Y){L(E);const Q=q.list();return Q.length?Q.forEach(ve=>ve(E,z,Y)):(Ee("uncaught error during route navigation:"),console.error(E)),Promise.reject(E)}function Z(){return U&&l.value!==Qt?Promise.resolve():new Promise((E,z)=>{k.add([E,z])})}function L(E){U||(U=!0,F(),k.list().forEach(([z,Y])=>E?Y(E):z()),k.reset())}function ge(E,z,Y,Q){const{scrollBehavior:ve}=e;if(!Nt||!ve)return Promise.resolve();const Ie=!Y&&qb(tc(E.fullPath,0))||(Q||!Y)&&history.state&&history.state.scroll||null;return Fe().then(()=>ve(E,z,Ie)).then(de=>de&&Wb(de)).catch(de=>N(de,E,z))}const O=E=>o.go(E);let ee;const A=new Set;return{currentRoute:l,addRoute:h,removeRoute:p,hasRoute:C,getRoutes:m,resolve:w,options:e,push:P,replace:I,go:O,back:()=>O(-1),forward:()=>O(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:q.add,isReady:Z,install(E){const z=this;E.component("RouterLink",Dy),E.component("RouterView",Uy),E.config.globalProperties.$router=z,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>Ht(l)}),Nt&&!ee&&l.value===Qt&&(ee=!0,P(o.location).catch(ve=>{Ee("Unexpected error when starting the router:",ve)}));const Y={};for(const ve in Qt)Y[ve]=ne(()=>l.value[ve]);E.provide(Ei,z),E.provide(Ta,He(Y)),E.provide(Ts,l);const Q=E.unmount;A.add(E),E.unmount=function(){A.delete(E),A.size<1&&(c=Qt,x&&x(),l.value=Qt,ee=!1,U=!1),Q()},Nt&&zy(E,z,t)}}}function Gn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Jy(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(c=>un(c,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(c=>un(c,l))||o.push(l))}return[n,r,o]}function OC(){return nt(Ei)}function kC(){return nt(Ta)}var Zy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function RC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $a={exports:{}},Gf=function(t,n){return function(){for(var o=new Array(arguments.length),i=0;i<o.length;i++)o[i]=arguments[i];return t.apply(n,o)}},Qy=Gf,Hn=Object.prototype.toString;function Ia(e){return Hn.call(e)==="[object Array]"}function Os(e){return typeof e=="undefined"}function ew(e){return e!==null&&!Os(e)&&e.constructor!==null&&!Os(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function tw(e){return Hn.call(e)==="[object ArrayBuffer]"}function nw(e){return typeof FormData!="undefined"&&e instanceof FormData}function rw(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function ow(e){return typeof e=="string"}function iw(e){return typeof e=="number"}function Xf(e){return e!==null&&typeof e=="object"}function ko(e){if(Hn.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function sw(e){return Hn.call(e)==="[object Date]"}function aw(e){return Hn.call(e)==="[object File]"}function lw(e){return Hn.call(e)==="[object Blob]"}function Jf(e){return Hn.call(e)==="[object Function]"}function cw(e){return Xf(e)&&Jf(e.pipe)}function uw(e){return typeof URLSearchParams!="undefined"&&e instanceof URLSearchParams}function fw(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function dw(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function Aa(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),Ia(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function ks(){var e={};function t(o,i){ko(e[i])&&ko(o)?e[i]=ks(e[i],o):ko(o)?e[i]=ks({},o):Ia(o)?e[i]=o.slice():e[i]=o}for(var n=0,r=arguments.length;n<r;n++)Aa(arguments[n],t);return e}function hw(e,t,n){return Aa(t,function(o,i){n&&typeof o=="function"?e[i]=Qy(o,n):e[i]=o}),e}function mw(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}var ht={isArray:Ia,isArrayBuffer:tw,isBuffer:ew,isFormData:nw,isArrayBufferView:rw,isString:ow,isNumber:iw,isObject:Xf,isPlainObject:ko,isUndefined:Os,isDate:sw,isFile:aw,isBlob:lw,isFunction:Jf,isStream:cw,isURLSearchParams:uw,isStandardBrowserEnv:dw,forEach:Aa,merge:ks,extend:hw,trim:fw,stripBOM:mw},Xn=ht;function dc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Zf=function(t,n,r){if(!n)return t;var o;if(r)o=r(n);else if(Xn.isURLSearchParams(n))o=n.toString();else{var i=[];Xn.forEach(n,function(l,c){l===null||typeof l=="undefined"||(Xn.isArray(l)?c=c+"[]":l=[l],Xn.forEach(l,function(u){Xn.isDate(u)?u=u.toISOString():Xn.isObject(u)&&(u=JSON.stringify(u)),i.push(dc(c)+"="+dc(u))}))}),o=i.join("&")}if(o){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t},gw=ht;function Ti(){this.handlers=[]}Ti.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};Ti.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};Ti.prototype.forEach=function(t){gw.forEach(this.handlers,function(r){r!==null&&t(r)})};var pw=Ti,vw=ht,bw=function(t,n){vw.forEach(t,function(o,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=o,delete t[i])})},Qf=function(t,n,r,o,i){return t.config=n,r&&(t.code=r),t.request=o,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t},yw=Qf,ed=function(t,n,r,o,i){var s=new Error(t);return yw(s,n,r,o,i)},ww=ed,xw=function(t,n,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(ww("Request failed with status code "+r.status,r.config,null,r.request,r))},Po=ht,Cw=Po.isStandardBrowserEnv()?function(){return{write:function(n,r,o,i,s,a){var l=[];l.push(n+"="+encodeURIComponent(r)),Po.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),Po.isString(i)&&l.push("path="+i),Po.isString(s)&&l.push("domain="+s),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Sw=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)},Ew=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},_w=Sw,Tw=Ew,Pw=function(t,n){return t&&!_w(n)?Tw(t,n):n},qi=ht,$w=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],Iw=function(t){var n={},r,o,i;return t&&qi.forEach(t.split(`
|
|
`),function(a){if(i=a.indexOf(":"),r=qi.trim(a.substr(0,i)).toLowerCase(),o=qi.trim(a.substr(i+1)),r){if(n[r]&&$w.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([o]):n[r]=n[r]?n[r]+", "+o:o}}),n},hc=ht,Aw=hc.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(i){var s=i;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){var a=hc.isString(s)?o(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),$o=ht,Ow=xw,kw=Cw,Rw=Zf,Bw=Pw,Fw=Iw,Dw=Aw,Yi=ed,mc=function(t){return new Promise(function(r,o){var i=t.data,s=t.headers,a=t.responseType;$o.isFormData(i)&&delete s["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var c=t.auth.username||"",f=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(c+":"+f)}var u=Bw(t.baseURL,t.url);l.open(t.method.toUpperCase(),Rw(u,t.params,t.paramsSerializer),!0),l.timeout=t.timeout;function d(){if(!!l){var p="getAllResponseHeaders"in l?Fw(l.getAllResponseHeaders()):null,m=!a||a==="text"||a==="json"?l.responseText:l.response,C={data:m,status:l.status,statusText:l.statusText,headers:p,config:t,request:l};Ow(r,o,C),l=null}}if("onloadend"in l?l.onloadend=d:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(d)},l.onabort=function(){!l||(o(Yi("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){o(Yi("Network Error",t,null,l)),l=null},l.ontimeout=function(){var m="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(m=t.timeoutErrorMessage),o(Yi(m,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},$o.isStandardBrowserEnv()){var h=(t.withCredentials||Dw(u))&&t.xsrfCookieName?kw.read(t.xsrfCookieName):void 0;h&&(s[t.xsrfHeaderName]=h)}"setRequestHeader"in l&&$o.forEach(s,function(m,C){typeof i=="undefined"&&C.toLowerCase()==="content-type"?delete s[C]:l.setRequestHeader(C,m)}),$o.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),a&&a!=="json"&&(l.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&l.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(m){!l||(l.abort(),o(m),l=null)}),i||(i=null),l.send(i)})},Ye=ht,gc=bw,Lw=Qf,Mw={"Content-Type":"application/x-www-form-urlencoded"};function pc(e,t){!Ye.isUndefined(e)&&Ye.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Nw(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=mc),e}function Uw(e,t,n){if(Ye.isString(e))try{return(t||JSON.parse)(e),Ye.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Pi={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:Nw(),transformRequest:[function(t,n){return gc(n,"Accept"),gc(n,"Content-Type"),Ye.isFormData(t)||Ye.isArrayBuffer(t)||Ye.isBuffer(t)||Ye.isStream(t)||Ye.isFile(t)||Ye.isBlob(t)?t:Ye.isArrayBufferView(t)?t.buffer:Ye.isURLSearchParams(t)?(pc(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):Ye.isObject(t)||n&&n["Content-Type"]==="application/json"?(pc(n,"application/json"),Uw(t)):t}],transformResponse:[function(t){var n=this.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||o&&Ye.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?Lw(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};Pi.headers={common:{Accept:"application/json, text/plain, */*"}};Ye.forEach(["delete","get","head"],function(t){Pi.headers[t]={}});Ye.forEach(["post","put","patch"],function(t){Pi.headers[t]=Ye.merge(Mw)});var Oa=Pi,Hw=ht,jw=Oa,zw=function(t,n,r){var o=this||jw;return Hw.forEach(r,function(s){t=s.call(o,t,n)}),t},td=function(t){return!!(t&&t.__CANCEL__)},vc=ht,Gi=zw,Vw=td,Ww=Oa;function Xi(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var Kw=function(t){Xi(t),t.headers=t.headers||{},t.data=Gi.call(t,t.data,t.headers,t.transformRequest),t.headers=vc.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),vc.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||Ww.adapter;return n(t).then(function(o){return Xi(t),o.data=Gi.call(t,o.data,o.headers,t.transformResponse),o},function(o){return Vw(o)||(Xi(t),o&&o.response&&(o.response.data=Gi.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},Xe=ht,nd=function(t,n){n=n||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function l(d,h){return Xe.isPlainObject(d)&&Xe.isPlainObject(h)?Xe.merge(d,h):Xe.isPlainObject(h)?Xe.merge({},h):Xe.isArray(h)?h.slice():h}function c(d){Xe.isUndefined(n[d])?Xe.isUndefined(t[d])||(r[d]=l(void 0,t[d])):r[d]=l(t[d],n[d])}Xe.forEach(o,function(h){Xe.isUndefined(n[h])||(r[h]=l(void 0,n[h]))}),Xe.forEach(i,c),Xe.forEach(s,function(h){Xe.isUndefined(n[h])?Xe.isUndefined(t[h])||(r[h]=l(void 0,t[h])):r[h]=l(void 0,n[h])}),Xe.forEach(a,function(h){h in n?r[h]=l(t[h],n[h]):h in t&&(r[h]=l(void 0,t[h]))});var f=o.concat(i).concat(s).concat(a),u=Object.keys(t).concat(Object.keys(n)).filter(function(h){return f.indexOf(h)===-1});return Xe.forEach(u,c),r};const qw="axios",Yw="0.21.4",Gw="Promise based HTTP client for the browser and node.js",Xw="index.js",Jw={test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},Zw={type:"git",url:"https://github.com/axios/axios.git"},Qw=["xhr","http","ajax","promise","node"],ex="Matt Zabriskie",tx="MIT",nx={url:"https://github.com/axios/axios/issues"},rx="https://axios-http.com",ox={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},ix={"./lib/adapters/http.js":"./lib/adapters/xhr.js"},sx="dist/axios.min.js",ax="dist/axios.min.js",lx="./index.d.ts",cx={"follow-redirects":"^1.14.0"},ux=[{path:"./dist/axios.min.js",threshold:"5kB"}];var fx={name:qw,version:Yw,description:Gw,main:Xw,scripts:Jw,repository:Zw,keywords:Qw,author:ex,license:tx,bugs:nx,homepage:rx,devDependencies:ox,browser:ix,jsdelivr:sx,unpkg:ax,typings:lx,dependencies:cx,bundlesize:ux},rd=fx,ka={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){ka[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var bc={},dx=rd.version.split(".");function od(e,t){for(var n=t?t.split("."):dx,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}ka.transitional=function(t,n,r){var o=n&&od(n);function i(s,a){return"[Axios v"+rd.version+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return function(s,a,l){if(t===!1)throw new Error(i(a," has been removed in "+n));return o&&!bc[a]&&(bc[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,l):!0}};function hx(e,t,n){if(typeof e!="object")throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],s=t[i];if(s){var a=e[i],l=a===void 0||s(a,i,e);if(l!==!0)throw new TypeError("option "+i+" must be "+l);continue}if(n!==!0)throw Error("Unknown option "+i)}}var mx={isOlderVersion:od,assertOptions:hx,validators:ka},id=ht,gx=Zf,yc=pw,wc=Kw,$i=nd,sd=mx,Jn=sd.validators;function co(e){this.defaults=e,this.interceptors={request:new yc,response:new yc}}co.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=$i(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;n!==void 0&&sd.assertOptions(n,{silentJSONParsing:Jn.transitional(Jn.boolean,"1.0.0"),forcedJSONParsing:Jn.transitional(Jn.boolean,"1.0.0"),clarifyTimeoutError:Jn.transitional(Jn.boolean,"1.0.0")},!1);var r=[],o=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(t)===!1||(o=o&&d.synchronous,r.unshift(d.fulfilled,d.rejected))});var i=[];this.interceptors.response.forEach(function(d){i.push(d.fulfilled,d.rejected)});var s;if(!o){var a=[wc,void 0];for(Array.prototype.unshift.apply(a,r),a=a.concat(i),s=Promise.resolve(t);a.length;)s=s.then(a.shift(),a.shift());return s}for(var l=t;r.length;){var c=r.shift(),f=r.shift();try{l=c(l)}catch(u){f(u);break}}try{s=wc(l)}catch(u){return Promise.reject(u)}for(;i.length;)s=s.then(i.shift(),i.shift());return s};co.prototype.getUri=function(t){return t=$i(this.defaults,t),gx(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};id.forEach(["delete","get","head","options"],function(t){co.prototype[t]=function(n,r){return this.request($i(r||{},{method:t,url:n,data:(r||{}).data}))}});id.forEach(["post","put","patch"],function(t){co.prototype[t]=function(n,r,o){return this.request($i(o||{},{method:t,url:n,data:r}))}});var px=co;function Ra(e){this.message=e}Ra.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};Ra.prototype.__CANCEL__=!0;var ad=Ra,vx=ad;function Xo(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(o){t=o});var n=this;e(function(o){n.reason||(n.reason=new vx(o),t(n.reason))})}Xo.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Xo.source=function(){var t,n=new Xo(function(o){t=o});return{token:n,cancel:t}};var bx=Xo,yx=function(t){return function(r){return t.apply(null,r)}},wx=function(t){return typeof t=="object"&&t.isAxiosError===!0},xc=ht,xx=Gf,Ro=px,Cx=nd,Sx=Oa;function ld(e){var t=new Ro(e),n=xx(Ro.prototype.request,t);return xc.extend(n,Ro.prototype,t),xc.extend(n,t),n}var _t=ld(Sx);_t.Axios=Ro;_t.create=function(t){return ld(Cx(_t.defaults,t))};_t.Cancel=ad;_t.CancelToken=bx;_t.isCancel=td;_t.all=function(t){return Promise.all(t)};_t.spread=yx;_t.isAxiosError=wx;$a.exports=_t;$a.exports.default=_t;var BC=$a.exports;/*!
|
|
* Image Compressor v1.1.4
|
|
* https://xkeshi.github.io/image-compressor
|
|
*
|
|
* Copyright 2017-present Chen Fengyuan
|
|
* Released under the MIT license
|
|
*
|
|
* Date: 2018-06-20T07:28:41.051Z
|
|
*/function Ex(e,t){return t={exports:{}},e(t,t.exports),t.exports}var _x=Ex(function(e){(function(t){var n=t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype,r=t.Blob&&function(){try{return Boolean(new Blob)}catch{return!1}}(),o=r&&t.Uint8Array&&function(){try{return new Blob([new Uint8Array(100)]).size===100}catch{return!1}}(),i=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||t.MSBlobBuilder,s=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,a=(r||i)&&t.atob&&t.ArrayBuffer&&t.Uint8Array&&function(l){var c,f,u,d,h,p,m,C,w;if(c=l.match(s),!c)throw new Error("invalid data URI");for(f=c[2]?c[1]:"text/plain"+(c[3]||";charset=US-ASCII"),u=!!c[4],d=l.slice(c[0].length),u?h=atob(d):h=decodeURIComponent(d),p=new ArrayBuffer(h.length),m=new Uint8Array(p),C=0;C<h.length;C+=1)m[C]=h.charCodeAt(C);return r?new Blob([o?m:p],{type:f}):(w=new i,w.append(p),w.getBlob(f))};t.HTMLCanvasElement&&!n.toBlob&&(n.mozGetAsFile?n.toBlob=function(l,c,f){var u=this;setTimeout(function(){f&&n.toDataURL&&a?l(a(u.toDataURL(c,f))):l(u.mozGetAsFile("blob",c))})}:n.toDataURL&&a&&(n.toBlob=function(l,c,f){var u=this;setTimeout(function(){l(a(u.toDataURL(c,f)))})})),e.exports?e.exports=a:t.dataURLtoBlob=a})(window)}),Tx=Object.prototype.toString,Px=function(e){return e instanceof Blob||Tx.call(e)==="[object Blob]"},$x={checkOrientation:!0,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,quality:.8,mimeType:"auto",convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},Ix=/^image\/.+$/;function Rs(e){return Ix.test(e)}function Ax(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=Rs(e)?e.substr(6):"";return n==="jpeg"&&(n="jpg"),n&&t&&(n="."+n),n}var Bs=String.fromCharCode;function Ox(e,t,n){var r="",o=void 0;for(n+=t,o=t;o<n;o+=1)r+=Bs(e.getUint8(o));return r}var kx=window,Rx=kx.btoa;function Bx(e,t){var n=new Uint8Array(e),r="";if(typeof n.forEach=="function")n.forEach(function(s){r+=Bs(s)});else for(var o=n.length,i=0;i<o;i+=1)r+=Bs(n[i]);return"data:"+t+";base64,"+Rx(r)}function Fx(e){var t=new DataView(e),n=void 0,r=void 0,o=void 0,i=void 0;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var s=t.byteLength,a=2;a<s;){if(t.getUint8(a)===255&&t.getUint8(a+1)===225){o=a;break}a+=1}if(o){var l=o+4,c=o+10;if(Ox(t,l,4)==="Exif"){var f=t.getUint16(c);if(r=f===18761,(r||f===19789)&&t.getUint16(c+2,r)===42){var u=t.getUint32(c+4,r);u>=8&&(i=c+u)}}}if(i){var d=t.getUint16(i,r),h=void 0,p=void 0;for(p=0;p<d;p+=1)if(h=i+p*12+2,t.getUint16(h,r)===274){h+=8,n=t.getUint16(h,r),t.setUint16(h,1,r);break}}return n}function Dx(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:n,scaleY:r}}var Lx=/\.\d*(?:0|9){12}\d*$/i;function Zn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return Lx.test(e)?Math.round(e*t)/t:e}var Mx=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Nx=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),Ji=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cd=window,Ux=cd.ArrayBuffer,Zi=cd.FileReader,Tr=window.URL||window.webkitURL,Hx=/\.\w+$/,FC=function(){function e(t,n){Mx(this,e),this.result=null,t&&this.compress(t,n)}return Nx(e,[{key:"compress",value:function(n,r){var o=this,i=new Image;return r=Ji({},$x,r),Ux||(r.checkOrientation=!1),new Promise(function(s,a){if(!Px(n)){a(new Error("The first argument must be a File or Blob object."));return}var l=n.type;if(!Rs(l)){a(new Error("The first argument must be an image File or Blob object."));return}if(!Tr&&!Zi){a(new Error("The current browser does not support image compression."));return}if(Tr&&!r.checkOrientation)s({url:Tr.createObjectURL(n)});else if(Zi){var c=new Zi,f=r.checkOrientation&&l==="image/jpeg";c.onload=function(u){var d=u.target,h=d.result;s(f?Ji({url:Bx(h,l)},Dx(Fx(h))):{url:h})},c.onabort=function(){a(new Error("Aborted to load the image with FileReader."))},c.onerror=function(){a(new Error("Failed to load the image with FileReader."))},f?c.readAsArrayBuffer(n):c.readAsDataURL(n)}}).then(function(s){return new Promise(function(a,l){i.onload=function(){return a(Ji({},s,{naturalWidth:i.naturalWidth,naturalHeight:i.naturalHeight}))},i.onabort=function(){l(new Error("Aborted to load the image."))},i.onerror=function(){l(new Error("Failed to load the image."))},i.alt=n.name,i.src=s.url})}).then(function(s){var a=s.naturalWidth,l=s.naturalHeight,c=s.rotate,f=c===void 0?0:c,u=s.scaleX,d=u===void 0?1:u,h=s.scaleY,p=h===void 0?1:h;return new Promise(function(m){var C=document.createElement("canvas"),w=C.getContext("2d"),b=a/l,_=Math.max(r.maxWidth,0)||1/0,P=Math.max(r.maxHeight,0)||1/0,I=Math.max(r.minWidth,0)||0,D=Math.max(r.minHeight,0)||0,$=a,B=l;if(_<1/0&&P<1/0?P*b>_?P=_/b:_=P*b:_<1/0?P=_/b:P<1/0&&(_=P*b),I>0&&D>0?D*b>I?D=I/b:I=D*b:I>0?D=I/b:D>0&&(I=D*b),r.width>0){var W=r;$=W.width,B=$/b}else if(r.height>0){var T=r;B=T.height,$=B*b}$=Math.min(Math.max($,I),_),B=Math.min(Math.max(B,D),P);var y=-$/2,x=-B/2,F=$,k=B;if(Math.abs(f)%180===90){var q={width:B,height:$};$=q.width,B=q.height}C.width=Zn($),C.height=Zn(B),Rs(r.mimeType)||(r.mimeType=n.type);var U="transparent";n.size>r.convertSize&&r.mimeType==="image/png"&&(U="#fff",r.mimeType="image/jpeg"),w.fillStyle=U,w.fillRect(0,0,$,B),w.save(),w.translate($/2,B/2),w.rotate(f*Math.PI/180),w.scale(d,p),r.beforeDraw&&r.beforeDraw.call(o,w,C),w.drawImage(i,Math.floor(Zn(y)),Math.floor(Zn(x)),Math.floor(Zn(F)),Math.floor(Zn(k))),r.drew&&r.drew.call(o,w,C),w.restore();var N=function(L){m({naturalWidth:a,naturalHeight:l,result:L})};C.toBlob?C.toBlob(N,r.mimeType,r.quality):N(_x(C.toDataURL(r.mimeType,r.quality)))})}).then(function(s){var a=s.naturalWidth,l=s.naturalHeight,c=s.result;if(Tr&&!r.checkOrientation&&Tr.revokeObjectURL(i.src),c)if(c.size>n.size&&r.mimeType===n.type&&!(r.width>a||r.height>l||r.minWidth>a||r.minHeight>l))c=n;else{var f=new Date;c.lastModified=f.getTime(),c.lastModifiedDate=f,c.name=n.name,c.name&&c.type!==n.type&&(c.name=c.name.replace(Hx,Ax(c.type)))}else c=n;return o.result=c,r.success&&r.success.call(o,c),Promise.resolve(c)}).catch(function(s){if(!r.error)throw s;r.error.call(o,s)})}}]),e}(),Fs={exports:{}};(function(e,t){(function(){var n=!1,r=function(T){if(T instanceof r)return T;if(!(this instanceof r))return new r(T);this.EXIFwrapped=T};e.exports&&(t=e.exports=r),t.EXIF=r;var o=r.Tags={36864:"ExifVersion",40960:"FlashpixVersion",40961:"ColorSpace",40962:"PixelXDimension",40963:"PixelYDimension",37121:"ComponentsConfiguration",37122:"CompressedBitsPerPixel",37500:"MakerNote",37510:"UserComment",40964:"RelatedSoundFile",36867:"DateTimeOriginal",36868:"DateTimeDigitized",37520:"SubsecTime",37521:"SubsecTimeOriginal",37522:"SubsecTimeDigitized",33434:"ExposureTime",33437:"FNumber",34850:"ExposureProgram",34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:"OECF",37377:"ShutterSpeedValue",37378:"ApertureValue",37379:"BrightnessValue",37380:"ExposureBias",37381:"MaxApertureValue",37382:"SubjectDistance",37383:"MeteringMode",37384:"LightSource",37385:"Flash",37396:"SubjectArea",37386:"FocalLength",41483:"FlashEnergy",41484:"SpatialFrequencyResponse",41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:"FocalPlaneResolutionUnit",41492:"SubjectLocation",41493:"ExposureIndex",41495:"SensingMethod",41728:"FileSource",41729:"SceneType",41730:"CFAPattern",41985:"CustomRendered",41986:"ExposureMode",41987:"WhiteBalance",41988:"DigitalZoomRation",41989:"FocalLengthIn35mmFilm",41990:"SceneCaptureType",41991:"GainControl",41992:"Contrast",41993:"Saturation",41994:"Sharpness",41995:"DeviceSettingDescription",41996:"SubjectDistanceRange",40965:"InteroperabilityIFDPointer",42016:"ImageUniqueID"},i=r.TiffTags={256:"ImageWidth",257:"ImageHeight",34665:"ExifIFDPointer",34853:"GPSInfoIFDPointer",40965:"InteroperabilityIFDPointer",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",274:"Orientation",277:"SamplesPerPixel",284:"PlanarConfiguration",530:"YCbCrSubSampling",531:"YCbCrPositioning",282:"XResolution",283:"YResolution",296:"ResolutionUnit",273:"StripOffsets",278:"RowsPerStrip",279:"StripByteCounts",513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",301:"TransferFunction",318:"WhitePoint",319:"PrimaryChromaticities",529:"YCbCrCoefficients",532:"ReferenceBlackWhite",306:"DateTime",270:"ImageDescription",271:"Make",272:"Model",305:"Software",315:"Artist",33432:"Copyright"},s=r.GPSTags={0:"GPSVersionID",1:"GPSLatitudeRef",2:"GPSLatitude",3:"GPSLongitudeRef",4:"GPSLongitude",5:"GPSAltitudeRef",6:"GPSAltitude",7:"GPSTimeStamp",8:"GPSSatellites",9:"GPSStatus",10:"GPSMeasureMode",11:"GPSDOP",12:"GPSSpeedRef",13:"GPSSpeed",14:"GPSTrackRef",15:"GPSTrack",16:"GPSImgDirectionRef",17:"GPSImgDirection",18:"GPSMapDatum",19:"GPSDestLatitudeRef",20:"GPSDestLatitude",21:"GPSDestLongitudeRef",22:"GPSDestLongitude",23:"GPSDestBearingRef",24:"GPSDestBearing",25:"GPSDestDistanceRef",26:"GPSDestDistance",27:"GPSProcessingMethod",28:"GPSAreaInformation",29:"GPSDateStamp",30:"GPSDifferential"},a=r.IFD1Tags={256:"ImageWidth",257:"ImageHeight",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",273:"StripOffsets",274:"Orientation",277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",282:"XResolution",283:"YResolution",284:"PlanarConfiguration",296:"ResolutionUnit",513:"JpegIFOffset",514:"JpegIFByteCount",529:"YCbCrCoefficients",530:"YCbCrSubSampling",531:"YCbCrPositioning",532:"ReferenceBlackWhite"},l=r.StringValues={ExposureProgram:{0:"Not defined",1:"Manual",2:"Normal program",3:"Aperture priority",4:"Shutter priority",5:"Creative program",6:"Action program",7:"Portrait mode",8:"Landscape mode"},MeteringMode:{0:"Unknown",1:"Average",2:"CenterWeightedAverage",3:"Spot",4:"MultiSpot",5:"Pattern",6:"Partial",255:"Other"},LightSource:{0:"Unknown",1:"Daylight",2:"Fluorescent",3:"Tungsten (incandescent light)",4:"Flash",9:"Fine weather",10:"Cloudy weather",11:"Shade",12:"Daylight fluorescent (D 5700 - 7100K)",13:"Day white fluorescent (N 4600 - 5400K)",14:"Cool white fluorescent (W 3900 - 4500K)",15:"White fluorescent (WW 3200 - 3700K)",17:"Standard light A",18:"Standard light B",19:"Standard light C",20:"D55",21:"D65",22:"D75",23:"D50",24:"ISO studio tungsten",255:"Other"},Flash:{0:"Flash did not fire",1:"Flash fired",5:"Strobe return light not detected",7:"Strobe return light detected",9:"Flash fired, compulsory flash mode",13:"Flash fired, compulsory flash mode, return light not detected",15:"Flash fired, compulsory flash mode, return light detected",16:"Flash did not fire, compulsory flash mode",24:"Flash did not fire, auto mode",25:"Flash fired, auto mode",29:"Flash fired, auto mode, return light not detected",31:"Flash fired, auto mode, return light detected",32:"No flash function",65:"Flash fired, red-eye reduction mode",69:"Flash fired, red-eye reduction mode, return light not detected",71:"Flash fired, red-eye reduction mode, return light detected",73:"Flash fired, compulsory flash mode, red-eye reduction mode",77:"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected",79:"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected",89:"Flash fired, auto mode, red-eye reduction mode",93:"Flash fired, auto mode, return light not detected, red-eye reduction mode",95:"Flash fired, auto mode, return light detected, red-eye reduction mode"},SensingMethod:{1:"Not defined",2:"One-chip color area sensor",3:"Two-chip color area sensor",4:"Three-chip color area sensor",5:"Color sequential area sensor",7:"Trilinear sensor",8:"Color sequential linear sensor"},SceneCaptureType:{0:"Standard",1:"Landscape",2:"Portrait",3:"Night scene"},SceneType:{1:"Directly photographed"},CustomRendered:{0:"Normal process",1:"Custom process"},WhiteBalance:{0:"Auto white balance",1:"Manual white balance"},GainControl:{0:"None",1:"Low gain up",2:"High gain up",3:"Low gain down",4:"High gain down"},Contrast:{0:"Normal",1:"Soft",2:"Hard"},Saturation:{0:"Normal",1:"Low saturation",2:"High saturation"},Sharpness:{0:"Normal",1:"Soft",2:"Hard"},SubjectDistanceRange:{0:"Unknown",1:"Macro",2:"Close view",3:"Distant view"},FileSource:{3:"DSC"},Components:{0:"",1:"Y",2:"Cb",3:"Cr",4:"R",5:"G",6:"B"}};function c(T){return!!T.exifdata}function f(T,y){y=y||T.match(/^data\:([^\;]+)\;base64,/mi)[1]||"",T=T.replace(/^data\:([^\;]+)\;base64,/gmi,"");for(var x=atob(T),F=x.length,k=new ArrayBuffer(F),q=new Uint8Array(k),U=0;U<F;U++)q[U]=x.charCodeAt(U);return k}function u(T,y){var x=new XMLHttpRequest;x.open("GET",T,!0),x.responseType="blob",x.onload=function(F){(this.status==200||this.status===0)&&y(this.response)},x.send()}function d(T,y){function x(U){var N=h(U);T.exifdata=N||{};var Z=p(U);if(T.iptcdata=Z||{},r.isXmpEnabled){var L=$(U);T.xmpdata=L||{}}y&&y.call(T)}if(T.src)if(/^data\:/i.test(T.src)){var F=f(T.src);x(F)}else if(/^blob\:/i.test(T.src)){var k=new FileReader;k.onload=function(U){x(U.target.result)},u(T.src,function(U){k.readAsArrayBuffer(U)})}else{var q=new XMLHttpRequest;q.onload=function(){if(this.status==200||this.status===0)x(q.response);else throw"Could not load image";q=null},q.open("GET",T.src,!0),q.responseType="arraybuffer",q.send(null)}else if(self.FileReader&&(T instanceof self.Blob||T instanceof self.File)){var k=new FileReader;k.onload=function(N){x(N.target.result)},k.readAsArrayBuffer(T)}}function h(T){var y=new DataView(T);if(y.getUint8(0)!=255||y.getUint8(1)!=216)return!1;for(var x=2,F=T.byteLength,k;x<F;){if(y.getUint8(x)!=255)return!1;if(k=y.getUint8(x+1),k==225)return D(y,x+4,y.getUint16(x+2)-2);x+=2+y.getUint16(x+2)}}function p(T){var y=new DataView(T);if(y.getUint8(0)!=255||y.getUint8(1)!=216)return!1;for(var x=2,F=T.byteLength,k=function(Z,L){return Z.getUint8(L)===56&&Z.getUint8(L+1)===66&&Z.getUint8(L+2)===73&&Z.getUint8(L+3)===77&&Z.getUint8(L+4)===4&&Z.getUint8(L+5)===4};x<F;){if(k(y,x)){var q=y.getUint8(x+7);q%2!==0&&(q+=1),q===0&&(q=4);var U=x+8+q,N=y.getUint16(x+6+q);return C(T,U,N)}x++}}var m={120:"caption",110:"credit",25:"keywords",55:"dateCreated",80:"byline",85:"bylineTitle",122:"captionWriter",105:"headline",116:"copyright",15:"category"};function C(T,y,x){for(var F=new DataView(T),k={},q,U,N,Z,L=y;L<y+x;)F.getUint8(L)===28&&F.getUint8(L+1)===2&&(Z=F.getUint8(L+2),Z in m&&(N=F.getInt16(L+3),U=m[Z],q=I(F,L+5,N),k.hasOwnProperty(U)?k[U]instanceof Array?k[U].push(q):k[U]=[k[U],q]:k[U]=q)),L++;return k}function w(T,y,x,F,k){var q=T.getUint16(x,!k),U={},N,Z,L;for(L=0;L<q;L++)N=x+L*12+2,Z=F[T.getUint16(N,!k)],!Z&&n&&console.log("Unknown tag: "+T.getUint16(N,!k)),U[Z]=b(T,N,y,x,k);return U}function b(T,y,x,F,k){var q=T.getUint16(y+2,!k),U=T.getUint32(y+4,!k),N=T.getUint32(y+8,!k)+x,Z,L,ge,O,ee,A;switch(q){case 1:case 7:if(U==1)return T.getUint8(y+8,!k);for(Z=U>4?N:y+8,L=[],O=0;O<U;O++)L[O]=T.getUint8(Z+O);return L;case 2:return Z=U>4?N:y+8,I(T,Z,U-1);case 3:if(U==1)return T.getUint16(y+8,!k);for(Z=U>2?N:y+8,L=[],O=0;O<U;O++)L[O]=T.getUint16(Z+2*O,!k);return L;case 4:if(U==1)return T.getUint32(y+8,!k);for(L=[],O=0;O<U;O++)L[O]=T.getUint32(N+4*O,!k);return L;case 5:if(U==1)return ee=T.getUint32(N,!k),A=T.getUint32(N+4,!k),ge=new Number(ee/A),ge.numerator=ee,ge.denominator=A,ge;for(L=[],O=0;O<U;O++)ee=T.getUint32(N+8*O,!k),A=T.getUint32(N+4+8*O,!k),L[O]=new Number(ee/A),L[O].numerator=ee,L[O].denominator=A;return L;case 9:if(U==1)return T.getInt32(y+8,!k);for(L=[],O=0;O<U;O++)L[O]=T.getInt32(N+4*O,!k);return L;case 10:if(U==1)return T.getInt32(N,!k)/T.getInt32(N+4,!k);for(L=[],O=0;O<U;O++)L[O]=T.getInt32(N+8*O,!k)/T.getInt32(N+4+8*O,!k);return L}}function _(T,y,x){var F=T.getUint16(y,!x);return T.getUint32(y+2+F*12,!x)}function P(T,y,x,F){var k=_(T,y+x,F);if(k){if(k>T.byteLength)return{}}else return{};var q=w(T,y,y+k,a,F);if(q.Compression)switch(q.Compression){case 6:if(q.JpegIFOffset&&q.JpegIFByteCount){var U=y+q.JpegIFOffset,N=q.JpegIFByteCount;q.blob=new Blob([new Uint8Array(T.buffer,U,N)],{type:"image/jpeg"})}break;case 1:console.log("Thumbnail image format is TIFF, which is not implemented.");break;default:console.log("Unknown thumbnail image format '%s'",q.Compression)}else q.PhotometricInterpretation==2&&console.log("Thumbnail image format is RGB, which is not implemented.");return q}function I(T,y,x){var F="";console.log(1234);for(let k=y;k<y+x;k++)F+=String.fromCharCode(T.getUint8(k));return F}function D(T,y){if(I(T,y,4)!="Exif")return!1;var x,F,k,q,U,N=y+6;if(T.getUint16(N)==18761)x=!1;else if(T.getUint16(N)==19789)x=!0;else return!1;if(T.getUint16(N+2,!x)!=42)return!1;var Z=T.getUint32(N+4,!x);if(Z<8)return!1;if(F=w(T,N,N+Z,i,x),F.ExifIFDPointer){q=w(T,N,N+F.ExifIFDPointer,o,x);for(k in q){switch(k){case"LightSource":case"Flash":case"MeteringMode":case"ExposureProgram":case"SensingMethod":case"SceneCaptureType":case"SceneType":case"CustomRendered":case"WhiteBalance":case"GainControl":case"Contrast":case"Saturation":case"Sharpness":case"SubjectDistanceRange":case"FileSource":q[k]=l[k][q[k]];break;case"ExifVersion":case"FlashpixVersion":q[k]=String.fromCharCode(q[k][0],q[k][1],q[k][2],q[k][3]);break;case"ComponentsConfiguration":q[k]=l.Components[q[k][0]]+l.Components[q[k][1]]+l.Components[q[k][2]]+l.Components[q[k][3]];break}F[k]=q[k]}}if(F.GPSInfoIFDPointer){U=w(T,N,N+F.GPSInfoIFDPointer,s,x);for(k in U){switch(k){case"GPSVersionID":U[k]=U[k][0]+"."+U[k][1]+"."+U[k][2]+"."+U[k][3];break}F[k]=U[k]}}return F.thumbnail=P(T,N,Z,x),F}function $(T){if("DOMParser"in self){var y=new DataView(T);if(y.getUint8(0)!=255||y.getUint8(1)!=216)return!1;for(var x=2,F=T.byteLength,k=new DOMParser;x<F-4;)if(I(y,x,4)=="http"){var q=x-1,U=y.getUint16(x-2)-1,N=I(y,q,U),Z=N.indexOf("xmpmeta>")+8;N=N.substring(N.indexOf("<x:xmpmeta"),Z);var L=N.indexOf("x:xmpmeta")+10;N=N.slice(0,L)+'xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:plus="http://schemas.android.com/apk/lib/com.google.android.gms.plus" xmlns:ext="http://www.gettyimages.com/xsltExtension/1.0" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/" xmlns:xapGImg="http://ns.adobe.com/xap/1.0/g/img/" xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/" '+N.slice(L);var ge=k.parseFromString(N,"text/xml");return W(ge)}else x++}}function B(T){var y={};if(T.nodeType==1){if(T.attributes.length>0){y["@attributes"]={};for(var x=0;x<T.attributes.length;x++){var F=T.attributes.item(x);y["@attributes"][F.nodeName]=F.nodeValue}}}else if(T.nodeType==3)return T.nodeValue;if(T.hasChildNodes())for(var k=0;k<T.childNodes.length;k++){var q=T.childNodes.item(k),U=q.nodeName;if(y[U]==null)y[U]=B(q);else{if(y[U].push==null){var N=y[U];y[U]=[],y[U].push(N)}y[U].push(B(q))}}return y}function W(T){try{var y={};if(T.children.length>0)for(var x=0;x<T.children.length;x++){var F=T.children.item(x),k=F.attributes;for(var q in k){var U=k[q],N=U.nodeName,Z=U.nodeValue;N!==void 0&&(y[N]=Z)}var L=F.nodeName;if(typeof y[L]=="undefined")y[L]=B(F);else{if(typeof y[L].push=="undefined"){var ge=y[L];y[L]=[],y[L].push(ge)}y[L].push(B(F))}}else y=T.textContent;return y}catch(O){console.log(O.message)}}r.enableXmp=function(){r.isXmpEnabled=!0},r.disableXmp=function(){r.isXmpEnabled=!1},r.getData=function(T,y){return(self.Image&&T instanceof self.Image||self.HTMLImageElement&&T instanceof self.HTMLImageElement)&&!T.complete?!1:(c(T)?y&&y.call(T):d(T,y),!0)},r.getTag=function(T,y){if(!!c(T))return T.exifdata[y]},r.getIptcTag=function(T,y){if(!!c(T))return T.iptcdata[y]},r.getAllTags=function(T){if(!c(T))return{};var y,x=T.exifdata,F={};for(y in x)x.hasOwnProperty(y)&&(F[y]=x[y]);return F},r.getAllIptcTags=function(T){if(!c(T))return{};var y,x=T.iptcdata,F={};for(y in x)x.hasOwnProperty(y)&&(F[y]=x[y]);return F},r.pretty=function(T){if(!c(T))return"";var y,x=T.exifdata,F="";for(y in x)x.hasOwnProperty(y)&&(typeof x[y]=="object"?x[y]instanceof Number?F+=y+" : "+x[y]+" ["+x[y].numerator+"/"+x[y].denominator+`]\r
|
|
`:F+=y+" : ["+x[y].length+` values]\r
|
|
`:F+=y+" : "+x[y]+`\r
|
|
`);return F},r.readFromBinaryFile=function(T){return h(T)}}).call(Zy)})(Fs,Fs.exports);var DC=Fs.exports;(function(t,n){var r=n.documentElement,o=t.devicePixelRatio||1;function i(){n.body?n.body.style.fontSize=12*o+"px":n.addEventListener("DOMContentLoaded",i)}i();function s(){var c=r.clientWidth/10;r.style.fontSize=c+"px"}if(s(),t.addEventListener("resize",s),t.addEventListener("pageshow",function(c){c.persisted&&s()}),o>=2){var a=n.createElement("body"),l=n.createElement("div");l.style.border=".5px solid transparent",a.appendChild(l),r.appendChild(a),l.offsetHeight===1&&r.classList.add("hairlines"),r.removeChild(a)}})(window,document);export{sC as $,fC as A,Es as B,dC as C,gC as D,DC as E,oC as F,vC as G,pC as H,FC as I,aC as J,Kx as K,hC as L,mC as M,wC as N,Ke as O,CC as P,EC as Q,SC as R,Wx as S,At as T,_C as U,rC as V,xa as W,TC as X,$C as Y,xC as Z,yC as _,qx as a,lC as a0,Go as a1,ff as a2,gf as a3,Un as a4,Rp as a5,OC as a6,He as a7,at as a8,Zx as a9,et as aa,jx as ab,Ht as ac,Ue as ad,zx as ae,Vx as af,eC as ag,pg as ah,Zy as ai,RC as aj,ce as ak,Nh as al,Xx as am,Qx as an,Ds as ao,tC as ap,Pu as b,Gx as c,_u as d,v as e,Yx as f,Jx as g,so as h,nC as i,Iu as j,AC as k,IC as l,BC as m,Ls as n,la as o,yg as p,uC as q,le as r,cC as s,bC as t,kC as u,fi as v,Ph as w,lf as x,Ne as y,iC as z};
|