UNPKG

pome-ui

Version:

Front-end MVC library

3 lines 257 kB
var Vue=function(e){"use strict";function t(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const X=Object.freeze({});const oe=Object.freeze([]);const Y=()=>{};const n=()=>false;const J=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97);const N=e=>e.startsWith("onUpdate:");const E=Object.assign;const $=(e,t)=>{const n=e.indexOf(t);if(n>-1){e.splice(n,1)}};const s=Object.prototype.hasOwnProperty;const y=(e,t)=>s.call(e,t);const H=Array.isArray;const f=e=>O(e)==="[object Map]";const _=e=>O(e)==="[object Set]";const x=e=>O(e)==="[object Date]";const w=e=>O(e)==="[object RegExp]";const q=e=>typeof e==="function";const k=e=>typeof e==="string";const se=e=>typeof e==="symbol";const z=e=>e!==null&&typeof e==="object";const ie=e=>{return(z(e)||q(e))&&q(e.then)&&q(e.catch)};const S=Object.prototype.toString;const O=e=>S.call(e);const P=e=>{return O(e).slice(8,-1)};const I=e=>O(e)==="[object Object]";const R=e=>k(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e;const re=t(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");const le=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo");const M=n=>{const o=Object.create(null);return e=>{const t=o[e];return t||(o[e]=n(e))}};const F=/-(\w)/g;const T=M(e=>{return e.replace(F,(e,t)=>t?t.toUpperCase():"")});const L=/\B([A-Z])/g;const m=M(e=>e.replace(L,"-$1").toLowerCase());const j=M(e=>{return e.charAt(0).toUpperCase()+e.slice(1)});const D=M(e=>{const t=e?`on${j(e)}`:``;return t});const U=(e,t)=>!Object.is(e,t);const ae=(t,...n)=>{for(let e=0;e<t.length;e++){t[e](...n)}};const ce=(e,t,n,o=false)=>{Object.defineProperty(e,t,{configurable:true,enumerable:false,writable:o,value:n})};const V=e=>{const t=parseFloat(e);return isNaN(t)?e:t};const ue=e=>{const t=k(e)?Number(e):NaN;return isNaN(t)?e:t};let fe;const pe=()=>{return fe||(fe=typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:typeof window!=="undefined"?window:typeof global!=="undefined"?global:{})};function de(e,t){return e+JSON.stringify(t,(e,t)=>typeof t==="function"?t.toString():t)}const he={[1]:`TEXT`,[2]:`CLASS`,[4]:`STYLE`,[8]:`PROPS`,[16]:`FULL_PROPS`,[32]:`NEED_HYDRATION`,[64]:`STABLE_FRAGMENT`,[128]:`KEYED_FRAGMENT`,[256]:`UNKEYED_FRAGMENT`,[512]:`NEED_PATCH`,[1024]:`DYNAMIC_SLOTS`,[2048]:`DEV_ROOT_FRAGMENT`,[-1]:`HOISTED`,[-2]:`BAIL`};const me={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"};const ge="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol";const ve=t(ge);const ye=2;function be(e,n=0,o=e.length){n=Math.max(0,Math.min(n,e.length));o=Math.max(0,Math.min(o,e.length));if(n>o)return"";let s=e.split(/(\r?\n)/);const i=s.filter((e,t)=>t%2===1);s=s.filter((e,t)=>t%2===0);let r=0;const l=[];for(let t=0;t<s.length;t++){r+=s[t].length+(i[t]&&i[t].length||0);if(r>=n){for(let e=t-ye;e<=t+ye||o>r;e++){if(e<0||e>=s.length)continue;const a=e+1;l.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${s[e]}`);const c=s[e].length;const u=i[e]&&i[e].length||0;if(e===t){const f=n-(r-(c+u));const p=Math.max(1,o>r?c-f:o-n);l.push(` | `+" ".repeat(f)+"^".repeat(p))}else if(e>t){if(o>r){const p=Math.max(Math.min(o-r,c),1);l.push(` | `+"^".repeat(p))}r+=c+u}}break}}return l.join("\n")}function _e(t){if(H(t)){const n={};for(let e=0;e<t.length;e++){const o=t[e];const s=k(o)?Ce(o):_e(o);if(s){for(const i in s){n[i]=s[i]}}}return n}else if(k(t)||z(t)){return t}}const xe=/;(?![^(]*\))/g;const we=/:([^]+)/;const Se=/\/\*[^]*?\*\//g;function Ce(e){const n={};e.replace(Se,"").split(xe).forEach(e=>{if(e){const t=e.split(we);t.length>1&&(n[t[0].trim()]=t[1].trim())}});return n}function ke(e){if(!e)return"";if(k(e))return e;let t="";for(const n in e){const o=e[n];if(k(o)||typeof o==="number"){const s=n.startsWith(`--`)?n:m(n);t+=`${s}:${o};`}}return t}function Te(t){let n="";if(k(t)){n=t}else if(H(t)){for(let e=0;e<t.length;e++){const o=Te(t[e]);if(o){n+=o+" "}}}else if(z(t)){for(const e in t){if(t[e]){n+=e+" "}}}return n.trim()}function Ae(e){if(!e)return null;let{class:t,style:n}=e;if(t&&!k(t)){e.class=Te(t)}if(n){e.style=_e(n)}return e}const $e="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,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";const Ee="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,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";const Ne="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";const Oe="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";const Pe=t($e);const Ie=t(Ee);const Re=t(Ne);const Me=t(Oe);const Fe=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;const Le=t(Fe);const je=t(Fe+`,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);function De(e){return!!e||e===""}const Ue=t(`accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`);const Ve=t(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);function Be(e){if(e==null){return false}const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const He=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function qe(e,t){return e.replace(He,e=>`\\${e}`)}function ze(t,n){if(t.length!==n.length)return false;let o=true;for(let e=0;o&&e<t.length;e++){o=We(t[e],n[e])}return o}function We(e,t){if(e===t)return true;let n=x(e);let o=x(t);if(n||o){return n&&o?e.getTime()===t.getTime():false}n=se(e);o=se(t);if(n||o){return e===t}n=H(e);o=H(t);if(n||o){return n&&o?ze(e,t):false}n=z(e);o=z(t);if(n||o){if(!n||!o){return false}const s=Object.keys(e).length;const i=Object.keys(t).length;if(s!==i){return false}for(const r in e){const l=e.hasOwnProperty(r);const a=t.hasOwnProperty(r);if(l&&!a||!l&&a||!We(e[r],t[r])){return false}}}return String(e)===String(t)}function Ke(e,t){return e.findIndex(e=>We(e,t))}const Ge=e=>{return!!(e&&e["__v_isRef"]===true)};const Je=e=>{return k(e)?e:e==null?"":H(e)||z(e)&&(e.toString===S||!q(e.toString))?Ge(e)?Je(e.value):JSON.stringify(e,Xe,2):String(e)};const Xe=(e,t)=>{if(Ge(t)){return Xe(e,t.value)}else if(f(t)){return{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],o)=>{e[Ye(t,o)+" =>"]=n;return e},{})}}else if(_(t)){return{[`Set(${t.size})`]:[...t.values()].map(e=>Ye(e))}}else if(se(t)){return Ye(t)}else if(z(t)&&!H(t)&&!I(t)){return String(t)}return t};const Ye=(e,t="")=>{var n;return se(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Qe(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ze;class et{constructor(e=false){this.detached=e;this._active=true;this.effects=[];this.cleanups=[];this._isPaused=false;this.parent=Ze;if(!e&&Ze){this.index=(Ze.scopes||(Ze.scopes=[])).push(this)-1}}get active(){return this._active}pause(){if(this._active){this._isPaused=true;let e,t;if(this.scopes){for(e=0,t=this.scopes.length;e<t;e++){this.scopes[e].pause()}}for(e=0,t=this.effects.length;e<t;e++){this.effects[e].pause()}}}resume(){if(this._active){if(this._isPaused){this._isPaused=false;let e,t;if(this.scopes){for(e=0,t=this.scopes.length;e<t;e++){this.scopes[e].resume()}}for(e=0,t=this.effects.length;e<t;e++){this.effects[e].resume()}}}}run(e){if(this._active){const t=Ze;try{Ze=this;return e()}finally{Ze=t}}else{Qe(`cannot run an inactive effect scope.`)}}on(){Ze=this}off(){Ze=this.parent}stop(n){if(this._active){this._active=false;let e,t;for(e=0,t=this.effects.length;e<t;e++){this.effects[e].stop()}this.effects.length=0;for(e=0,t=this.cleanups.length;e<t;e++){this.cleanups[e]()}this.cleanups.length=0;if(this.scopes){for(e=0,t=this.scopes.length;e<t;e++){this.scopes[e].stop(true)}this.scopes.length=0}if(!this.detached&&this.parent&&!n){const o=this.parent.scopes.pop();if(o&&o!==this){this.parent.scopes[this.index]=o;o.index=this.index}}this.parent=void 0}}}function tt(e){return new et(e)}function nt(){return Ze}function ot(e,t=false){if(Ze){Ze.cleanups.push(e)}else if(!t){Qe(`onScopeDispose() is called when there is no active effect scope to be associated with.`)}}let i;const st=new WeakSet;class it{constructor(e){this.fn=e;this.deps=void 0;this.depsTail=void 0;this.flags=1|4;this.next=void 0;this.cleanup=void 0;this.scheduler=void 0;if(Ze&&Ze.active){Ze.effects.push(this)}}pause(){this.flags|=64}resume(){if(this.flags&64){this.flags&=~64;if(st.has(this)){st.delete(this);this.trigger()}}}notify(){if(this.flags&2&&!(this.flags&32)){return}if(!(this.flags&8)){ct(this)}}run(){if(!(this.flags&1)){return this.fn()}this.flags|=2;Ct(this);pt(this);const e=i;const t=_t;i=this;_t=true;try{return this.fn()}finally{if(i!==this){Qe("Active effect was not restored correctly - this is likely a Vue internal bug.")}dt(this);i=e;_t=t;this.flags&=~2}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep){gt(e)}this.deps=this.depsTail=void 0;Ct(this);this.onStop&&this.onStop();this.flags&=~1}}trigger(){if(this.flags&64){st.add(this)}else if(this.scheduler){this.scheduler()}else{this.runIfDirty()}}runIfDirty(){if(ht(this)){this.run()}}get dirty(){return ht(this)}}let rt=0;let lt;let at;function ct(e,t=false){e.flags|=8;if(t){e.next=at;at=e;return}e.next=lt;lt=e}function ut(){rt++}function ft(){if(--rt>0){return}if(at){let e=at;at=void 0;while(e){const n=e.next;e.next=void 0;e.flags&=~8;e=n}}let t;while(lt){let e=lt;lt=void 0;while(e){const n=e.next;e.next=void 0;e.flags&=~8;if(e.flags&1){try{e.trigger()}catch(e){if(!t)t=e}}e=n}}if(t)throw t}function pt(t){for(let e=t.deps;e;e=e.nextDep){e.version=-1;e.prevActiveLink=e.dep.activeLink;e.dep.activeLink=e}}function dt(e){let t;let n=e.depsTail;let o=n;while(o){const s=o.prevDep;if(o.version===-1){if(o===n)n=s;gt(o);vt(o)}else{t=o}o.dep.activeLink=o.prevActiveLink;o.prevActiveLink=void 0;o=s}e.deps=t;e.depsTail=n}function ht(t){for(let e=t.deps;e;e=e.nextDep){if(e.dep.version!==e.version||e.dep.computed&&(mt(e.dep.computed)||e.dep.version!==e.version)){return true}}if(t._dirty){return true}return false}function mt(e){if(e.flags&4&&!(e.flags&16)){return}e.flags&=~16;if(e.globalVersion===kt){return}e.globalVersion=kt;const t=e.dep;e.flags|=2;if(t.version>0&&!e.isSSR&&e.deps&&!ht(e)){e.flags&=~2;return}const n=i;const o=_t;i=e;_t=true;try{pt(e);const s=e.fn(e._value);if(t.version===0||U(s,e._value)){e._value=s;t.version++}}catch(e){t.version++;throw e}finally{i=n;_t=o;dt(e);e.flags&=~2}}function gt(e,t=false){const{dep:n,prevSub:o,nextSub:s}=e;if(o){o.nextSub=s;e.prevSub=void 0}if(s){s.prevSub=o;e.nextSub=void 0}if(n.subsHead===e){n.subsHead=s}if(n.subs===e){n.subs=o;if(!o&&n.computed){n.computed.flags&=~4;for(let e=n.computed.deps;e;e=e.nextDep){gt(e,true)}}}if(!t&&!--n.sc&&n.map){n.map.delete(n.key)}}function vt(e){const{prevDep:t,nextDep:n}=e;if(t){t.nextDep=n;e.prevDep=void 0}if(n){n.prevDep=t;e.nextDep=void 0}}function yt(e,t){if(e.effect instanceof it){e=e.effect.fn}const n=new it(e);if(t){E(n,t)}try{n.run()}catch(e){n.stop();throw e}const o=n.run.bind(n);o.effect=n;return o}function bt(e){e.effect.stop()}let _t=true;const xt=[];function wt(){xt.push(_t);_t=false}function St(){const e=xt.pop();_t=e===void 0?true:e}function Ct(e){const{cleanup:t}=e;e.cleanup=void 0;if(t){const n=i;i=void 0;try{t()}finally{i=n}}}let kt=0;class Tt{constructor(e,t){this.sub=e;this.dep=t;this.version=t.version;this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class At{constructor(e){this.computed=e;this.version=0;this.activeLink=void 0;this.subs=void 0;this.map=void 0;this.key=void 0;this.sc=0;{this.subsHead=void 0}}track(e){if(!i||!_t||i===this.computed){return}let t=this.activeLink;if(t===void 0||t.sub!==i){t=this.activeLink=new Tt(i,this);if(!i.deps){i.deps=i.depsTail=t}else{t.prevDep=i.depsTail;i.depsTail.nextDep=t;i.depsTail=t}$t(t)}else if(t.version===-1){t.version=this.version;if(t.nextDep){const n=t.nextDep;n.prevDep=t.prevDep;if(t.prevDep){t.prevDep.nextDep=n}t.prevDep=i.depsTail;t.nextDep=void 0;i.depsTail.nextDep=t;i.depsTail=t;if(i.deps===t){i.deps=n}}}if(i.onTrack){i.onTrack(E({effect:i},e))}return t}trigger(e){this.version++;kt++;this.notify(e)}notify(t){ut();try{if(true){for(let e=this.subsHead;e;e=e.nextSub){if(e.sub.onTrigger&&!(e.sub.flags&8)){e.sub.onTrigger(E({effect:e.sub},t))}}}for(let e=this.subs;e;e=e.prevSub){if(e.sub.notify()){e.sub.dep.notify()}}}finally{ft()}}}function $t(e){e.dep.sc++;if(e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=4|16;for(let e=t.deps;e;e=e.nextDep){$t(e)}}const n=e.dep.subs;if(n!==e){e.prevSub=n;if(n)n.nextSub=e}if(e.dep.subsHead===void 0){e.dep.subsHead=e}e.dep.subs=e}}const Et=new WeakMap;const Nt=Symbol("Object iterate");const Ot=Symbol("Map keys iterate");const Pt=Symbol("Array iterate");function h(n,o,s){if(_t&&i){let e=Et.get(n);if(!e){Et.set(n,e=new Map)}let t=e.get(s);if(!t){e.set(s,t=new At);t.map=e;t.key=s}{t.track({target:n,type:o,key:s})}}}function It(t,n,o,s,i,r){const e=Et.get(t);if(!e){kt++;return}const l=e=>{if(e){{e.trigger({target:t,type:n,key:o,newValue:s,oldValue:i,oldTarget:r})}}};ut();if(n==="clear"){e.forEach(l)}else{const a=H(t);const c=a&&R(o);if(a&&o==="length"){const u=Number(s);e.forEach((e,t)=>{if(t==="length"||t===Pt||!se(t)&&t>=u){l(e)}})}else{if(o!==void 0||e.has(void 0)){l(e.get(o))}if(c){l(e.get(Pt))}switch(n){case"add":if(!a){l(e.get(Nt));if(f(t)){l(e.get(Ot))}}else if(c){l(e.get("length"))}break;case"delete":if(!a){l(e.get(Nt));if(f(t)){l(e.get(Ot))}}break;case"set":if(f(t)){l(e.get(Nt))}break}}}ft()}function Rt(e,t){const n=Et.get(e);return n&&n.get(t)}function Mt(e){const t=v(e);if(t===e)return t;h(t,"iterate",Pt);return C(e)?t:t.map(p)}function Ft(e){h(e=v(e),"iterate",Pt);return e}const Lt={__proto__:null,[Symbol.iterator](){return jt(this,Symbol.iterator,p)},concat(...e){return Mt(this).concat(...e.map(e=>H(e)?Mt(e):e))},entries(){return jt(this,"entries",e=>{e[1]=p(e[1]);return e})},every(e,t){return Ut(this,"every",e,t,void 0,arguments)},filter(e,t){return Ut(this,"filter",e,t,e=>e.map(p),arguments)},find(e,t){return Ut(this,"find",e,t,p,arguments)},findIndex(e,t){return Ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ut(this,"findLast",e,t,p,arguments)},findLastIndex(e,t){return Ut(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ut(this,"forEach",e,t,void 0,arguments)},includes(...e){return Bt(this,"includes",e)},indexOf(...e){return Bt(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return Bt(this,"lastIndexOf",e)},map(e,t){return Ut(this,"map",e,t,void 0,arguments)},pop(){return Ht(this,"pop")},push(...e){return Ht(this,"push",e)},reduce(e,...t){return Vt(this,"reduce",e,t)},reduceRight(e,...t){return Vt(this,"reduceRight",e,t)},shift(){return Ht(this,"shift")},some(e,t){return Ut(this,"some",e,t,void 0,arguments)},splice(...e){return Ht(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return Ht(this,"unshift",e)},values(){return jt(this,"values",p)}};function jt(e,t,n){const o=Ft(e);const s=o[t]();if(o!==e&&!C(e)){s._next=s.next;s.next=()=>{const e=s._next();if(e.value){e.value=n(e.value)}return e}}return s}const Dt=Array.prototype;function Ut(n,e,o,t,s,i){const r=Ft(n);const l=r!==n&&!C(n);const a=r[e];if(a!==Dt[e]){const f=a.apply(n,i);return l?p(f):f}let c=o;if(r!==n){if(l){c=function(e,t){return o.call(this,p(e),t,n)}}else if(o.length>2){c=function(e,t){return o.call(this,e,t,n)}}}const u=a.call(r,c,t);return l&&s?s(u):u}function Vt(o,e,s,t){const n=Ft(o);let i=s;if(n!==o){if(!C(o)){i=function(e,t,n){return s.call(this,e,p(t),n,o)}}else if(s.length>3){i=function(e,t,n){return s.call(this,e,t,n,o)}}}return n[e](i,...t)}function Bt(e,t,n){const o=v(e);h(o,"iterate",Pt);const s=o[t](...n);if((s===-1||s===false)&&kn(n[0])){n[0]=v(n[0]);return o[t](...n)}return s}function Ht(e,t,n=[]){wt();ut();const o=v(e)[t].apply(e,n);ft();St();return o}const qt=t(`__proto__,__v_isRef,__isVue`);const zt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(se));function Wt(e){if(!se(e))e=String(e);const t=v(this);h(t,"has",e);return t.hasOwnProperty(e)}class Kt{constructor(e=false,t=false){this._isReadonly=e;this._isShallow=t}get(e,t,n){if(t==="__v_skip")return e["__v_skip"];const o=this._isReadonly,s=this._isShallow;if(t==="__v_isReactive"){return!o}else if(t==="__v_isReadonly"){return o}else if(t==="__v_isShallow"){return s}else if(t==="__v_raw"){if(n===(o?s?mn:hn:s?dn:pn).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)){return e}return}const i=H(e);if(!o){let e;if(i&&(e=Lt[t])){return e}if(t==="hasOwnProperty"){return Wt}}const r=Reflect.get(e,t,A(e)?e:n);if(se(t)?zt.has(t):qt(t)){return r}if(!o){h(e,"get",t)}if(s){return r}if(A(r)){return i&&R(t)?r:r.value}if(z(r)){return o?_n(r):yn(r)}return r}}class Gt extends Kt{constructor(e=false){super(false,e)}set(e,t,n,o){let s=e[t];if(!this._isShallow){const l=Cn(s);if(!C(n)&&!Cn(n)){s=v(s);n=v(n)}if(!H(e)&&A(s)&&!A(n)){if(l){return false}else{s.value=n;return true}}}const i=H(e)&&R(t)?Number(t)<e.length:y(e,t);const r=Reflect.set(e,t,n,A(e)?e:o);if(e===v(o)){if(!i){It(e,"add",t,n)}else if(U(n,s)){It(e,"set",t,n,s)}}return r}deleteProperty(e,t){const n=y(e,t);const o=e[t];const s=Reflect.deleteProperty(e,t);if(s&&n){It(e,"delete",t,void 0,o)}return s}has(e,t){const n=Reflect.has(e,t);if(!se(t)||!zt.has(t)){h(e,"has",t)}return n}ownKeys(e){h(e,"iterate",H(e)?"length":Nt);return Reflect.ownKeys(e)}}class Jt extends Kt{constructor(e=false){super(true,e)}set(e,t){{Qe(`Set operation on key "${String(t)}" failed: target is readonly.`,e)}return true}deleteProperty(e,t){{Qe(`Delete operation on key "${String(t)}" failed: target is readonly.`,e)}return true}}const Xt=new Gt;const Yt=new Jt;const Qt=new Gt(true);const Zt=new Jt(true);const en=e=>e;const tn=e=>Reflect.getPrototypeOf(e);function nn(a,c,u){return function(...e){const t=this["__v_raw"];const n=v(t);const o=f(n);const s=a==="entries"||a===Symbol.iterator&&o;const i=a==="keys"&&o;const r=t[a](...e);const l=u?en:c?An:p;!c&&h(n,"iterate",i?Ot:Nt);return{next(){const{value:e,done:t}=r.next();return t?{value:e,done:t}:{value:s?[l(e[0]),l(e[1])]:l(e),done:t}},[Symbol.iterator](){return this}}}}function on(n){return function(...e){{const t=e[0]?`on key "${e[0]}" `:``;Qe(`${j(n)} operation ${t}failed: target is readonly.`,v(this))}return n==="delete"?false:n==="clear"?void 0:this}}function sn(r,l){const t={get(e){const t=this["__v_raw"];const n=v(t);const o=v(e);if(!r){if(U(e,o)){h(n,"get",e)}h(n,"get",o)}const{has:s}=tn(n);const i=l?en:r?An:p;if(s.call(n,e)){return i(t.get(e))}else if(s.call(n,o)){return i(t.get(o))}else if(t!==n){t.get(e)}},get size(){const e=this["__v_raw"];!r&&h(v(e),"iterate",Nt);return Reflect.get(e,"size",e)},has(e){const t=this["__v_raw"];const n=v(t);const o=v(e);if(!r){if(U(e,o)){h(n,"has",e)}h(n,"has",o)}return e===o?t.has(e):t.has(e)||t.has(o)},forEach(n,o){const s=this;const e=s["__v_raw"];const t=v(e);const i=l?en:r?An:p;!r&&h(t,"iterate",Nt);return e.forEach((e,t)=>{return n.call(o,i(e),i(t),s)})}};E(t,r?{add:on("add"),set:on("set"),delete:on("delete"),clear:on("clear")}:{add(e){if(!l&&!C(e)&&!Cn(e)){e=v(e)}const t=v(this);const n=tn(t);const o=n.has.call(t,e);if(!o){t.add(e);It(t,"add",e,e)}return this},set(e,t){if(!l&&!C(t)&&!Cn(t)){t=v(t)}const n=v(this);const{has:o,get:s}=tn(n);let i=o.call(n,e);if(!i){e=v(e);i=o.call(n,e)}else{fn(n,o,e)}const r=s.call(n,e);n.set(e,t);if(!i){It(n,"add",e,t)}else if(U(t,r)){It(n,"set",e,t,r)}return this},delete(e){const t=v(this);const{has:n,get:o}=tn(t);let s=n.call(t,e);if(!s){e=v(e);s=n.call(t,e)}else{fn(t,n,e)}const i=o?o.call(t,e):void 0;const r=t.delete(e);if(s){It(t,"delete",e,void 0,i)}return r},clear(){const e=v(this);const t=e.size!==0;const n=f(e)?new Map(e):new Set(e);const o=e.clear();if(t){It(e,"clear",void 0,void 0,n)}return o}});const e=["keys","values","entries",Symbol.iterator];e.forEach(e=>{t[e]=nn(e,r,l)});return t}function rn(o,e){const s=sn(o,e);return(e,t,n)=>{if(t==="__v_isReactive"){return!o}else if(t==="__v_isReadonly"){return o}else if(t==="__v_raw"){return e}return Reflect.get(y(s,t)&&t in e?s:e,t,n)}}const ln={get:rn(false,false)};const an={get:rn(false,true)};const cn={get:rn(true,false)};const un={get:rn(true,true)};function fn(e,t,n){const o=v(n);if(o!==n&&t.call(e,o)){const s=P(e);Qe(`Reactive ${s} contains both the raw and reactive versions of the same object${s===`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 pn=new WeakMap;const dn=new WeakMap;const hn=new WeakMap;const mn=new WeakMap;function gn(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vn(e){return e["__v_skip"]||!Object.isExtensible(e)?0:gn(P(e))}function yn(e){if(Cn(e)){return e}return wn(e,false,Xt,ln,pn)}function bn(e){return wn(e,false,Qt,an,dn)}function _n(e){return wn(e,true,Yt,cn,hn)}function xn(e){return wn(e,true,Zt,un,mn)}function wn(e,t,n,o,s){if(!z(e)){{Qe(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`)}return e}if(e["__v_raw"]&&!(t&&e["__v_isReactive"])){return e}const i=s.get(e);if(i){return i}const r=vn(e);if(r===0){return e}const l=new Proxy(e,r===2?o:n);s.set(e,l);return l}function Sn(e){if(Cn(e)){return Sn(e["__v_raw"])}return!!(e&&e["__v_isReactive"])}function Cn(e){return!!(e&&e["__v_isReadonly"])}function C(e){return!!(e&&e["__v_isShallow"])}function kn(e){return e?!!e["__v_raw"]:false}function v(e){const t=e&&e["__v_raw"];return t?v(t):e}function Tn(e){if(!y(e,"__v_skip")&&Object.isExtensible(e)){ce(e,"__v_skip",true)}return e}const p=e=>z(e)?yn(e):e;const An=e=>z(e)?_n(e):e;function A(e){return e?e["__v_isRef"]===true:false}function $n(e){return Nn(e,false)}function En(e){return Nn(e,true)}function Nn(e,t){if(A(e)){return e}return new On(e,t)}class On{constructor(e,t){this.dep=new At;this["__v_isRef"]=true;this["__v_isShallow"]=false;this._rawValue=t?e:v(e);this._value=t?e:p(e);this["__v_isShallow"]=t}get value(){{this.dep.track({target:this,type:"get",key:"value"})}return this._value}set value(e){const t=this._rawValue;const n=this["__v_isShallow"]||C(e)||Cn(e);e=n?e:v(e);if(U(e,t)){this._rawValue=e;this._value=n?e:p(e);{this.dep.trigger({target:this,type:"set",key:"value",newValue:e,oldValue:t})}}}}function Pn(e){if(e.dep){{e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value})}}}function In(e){return A(e)?e.value:e}function Rn(e){return q(e)?e():In(e)}const Mn={get:(e,t,n)=>t==="__v_raw"?e:In(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];if(A(s)&&!A(n)){s.value=n;return true}else{return Reflect.set(e,t,n,o)}}};function Fn(e){return Sn(e)?e:new Proxy(e,Mn)}class Ln{constructor(e){this["__v_isRef"]=true;this._value=void 0;const t=this.dep=new At;const{get:n,set:o}=e(t.track.bind(t),t.trigger.bind(t));this._get=n;this._set=o}get value(){return this._value=this._get()}set value(e){this._set(e)}}function jn(e){return new Ln(e)}function Dn(e){if(!kn(e)){Qe(`toRefs() expects a reactive object but received a plain one.`)}const t=H(e)?new Array(e.length):{};for(const n in e){t[n]=Hn(e,n)}return t}class Un{constructor(e,t,n){this._object=e;this._key=t;this._defaultValue=n;this["__v_isRef"]=true;this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Rt(v(this._object),this._key)}}class Vn{constructor(e){this._getter=e;this["__v_isRef"]=true;this["__v_isReadonly"]=true;this._value=void 0}get value(){return this._value=this._getter()}}function Bn(e,t,n){if(A(e)){return e}else if(q(e)){return new Vn(e)}else if(z(e)&&arguments.length>1){return Hn(e,t,n)}else{return $n(e)}}function Hn(e,t,n){const o=e[t];return A(o)?o:new Un(e,t,n)}class qn{constructor(e,t,n){this.fn=e;this.setter=t;this._value=void 0;this.dep=new At(this);this.__v_isRef=true;this.deps=void 0;this.depsTail=void 0;this.flags=16;this.globalVersion=kt-1;this.next=void 0;this.effect=this;this["__v_isReadonly"]=!t;this.isSSR=n}notify(){this.flags|=16;if(!(this.flags&8)&&i!==this){ct(this,true);return true}}get value(){const e=this.dep.track({target:this,type:"get",key:"value"});mt(this);if(e){e.version=this.dep.version}return this._value}set value(e){if(this.setter){this.setter(e)}else{Qe("Write operation failed: computed value is readonly")}}}function zn(e,t,n=false){let o;let s;if(q(e)){o=e}else{o=e.get;s=e.set}const i=new qn(o,s,n);if(t&&!n){i.onTrack=t.onTrack;i.onTrigger=t.onTrigger}return i}const Wn={GET:"get",HAS:"has",ITERATE:"iterate"};const Kn={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};const Gn={};const Jn=new WeakMap;let Xn=void 0;function Yn(){return Xn}function Qn(t,e=false,n=Xn){if(n){let e=Jn.get(n);if(!e)Jn.set(n,e=[]);e.push(t)}else if(!e){Qe(`onWatcherCleanup() was called when there was no active watcher to associate with.`)}}function Zn(t,s,n=X){const{immediate:e,deep:i,once:o,scheduler:r,augmentJob:l,call:a}=n;const c=e=>{(n.onWarn||Qe)(`Invalid watch source: `,e,`A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`)};const u=e=>{if(i)return e;if(C(e)||i===false||i===0)return eo(e,1);return eo(e)};let f;let p;let d;let h;let m=false;let g=false;if(A(t)){p=()=>t.value;m=C(t)}else if(Sn(t)){p=()=>u(t);m=true}else if(H(t)){g=true;m=t.some(e=>Sn(e)||C(e));p=()=>t.map(e=>{if(A(e)){return e.value}else if(Sn(e)){return u(e)}else if(q(e)){return a?a(e,2):e()}else{c(e)}})}else if(q(t)){if(s){p=a?()=>a(t,2):t}else{p=()=>{if(d){wt();try{d()}finally{St()}}const e=Xn;Xn=f;try{return a?a(t,3,[h]):t(h)}finally{Xn=e}}}}else{p=Y;c(t)}if(s&&i){const x=p;const w=i===true?Infinity:i;p=()=>eo(x(),w)}const v=nt();const y=()=>{f.stop();if(v&&v.active){$(v.effects,f)}};if(o&&s){const S=s;s=(...e)=>{S(...e);y()}}let b=g?new Array(t.length).fill(Gn):Gn;const _=e=>{if(!(f.flags&1)||!f.dirty&&!e){return}if(s){const t=f.run();if(i||m||(g?t.some((e,t)=>U(e,b[t])):U(t,b))){if(d){d()}const n=Xn;Xn=f;try{const o=[t,b===Gn?void 0:g&&b[0]===Gn?[]:b,h];a?a(s,3,o):s(...o);b=t}finally{Xn=n}}}else{f.run()}};if(l){l(_)}f=new it(p);f.scheduler=r?()=>r(_,false):_;h=e=>Qn(e,false,f);d=f.onStop=()=>{const e=Jn.get(f);if(e){if(a){a(e,4)}else{for(const t of e)t()}Jn.delete(f)}};{f.onTrack=n.onTrack;f.onTrigger=n.onTrigger}if(s){if(e){_(true)}else{b=f.run()}}else if(r){r(_.bind(null,true),true)}else{f.run()}y.pause=f.pause.bind(f);y.resume=f.resume.bind(f);y.stop=y;return y}function eo(t,n=Infinity,o){if(n<=0||!z(t)||t["__v_skip"]){return t}o=o||new Set;if(o.has(t)){return t}o.add(t);n--;if(A(t)){eo(t.value,n,o)}else if(H(t)){for(let e=0;e<t.length;e++){eo(t[e],n,o)}}else if(_(t)||f(t)){t.forEach(e=>{eo(e,n,o)})}else if(I(t)){for(const e in t){eo(t[e],n,o)}for(const e of Object.getOwnPropertySymbols(t)){if(Object.prototype.propertyIsEnumerable.call(t,e)){eo(t[e],n,o)}}}return t}const to=[];function no(e){to.push(e)}function oo(){to.pop()}let so=false;function Q(e,...t){if(so)return;so=true;wt();const n=to.length?to[to.length-1].component:null;const o=n&&n.appContext.config.warnHandler;const s=io();if(o){ho(o,n,11,[e+t.map(e=>{var t,n;return(n=(t=e.toString)==null?void 0:t.call(e))!=null?n:JSON.stringify(e)}).join(""),n&&n.proxy,s.map(({vnode:e})=>`at <${Ic(n,e.type)}>`).join("\n"),s])}else{const i=[`[Vue warn]: ${e}`,...t];if(s.length&&true){i.push(` `,...ro(s))}console.warn(...i)}St();so=false}function io(){let e=to[to.length-1];if(!e){return[]}const t=[];while(e){const n=t[0];if(n&&n.vnode===e){n.recurseCount++}else{t.push({vnode:e,recurseCount:0})}const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function ro(e){const n=[];e.forEach((e,t)=>{n.push(...t===0?[]:[` `],...lo(e))});return n}function lo({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:``;const o=e.component?e.component.parent==null:false;const s=` at <${Ic(e.component,e.type,o)}`;const i=`>`+n;return e.props?[s,...ao(e.props),i]:[s+i]}function ao(t){const n=[];const e=Object.keys(t);e.slice(0,3).forEach(e=>{n.push(...co(e,t[e]))});if(e.length>3){n.push(` ...`)}return n}function co(e,t,n){if(k(t)){t=JSON.stringify(t);return n?t:[`${e}=${t}`]}else if(typeof t==="number"||typeof t==="boolean"||t==null){return n?t:[`${e}=${t}`]}else if(A(t)){t=co(e,v(t.value),true);return n?t:[`${e}=Ref<`,t,`>`]}else if(q(t)){return[`${e}=fn${t.name?`<${t.name}>`:``}`]}else{t=v(t);return n?t:[`${e}=`,t]}}function uo(e,t){if(e===void 0){return}else if(typeof e!=="number"){Q(`${t} is not a valid number - got ${JSON.stringify(e)}.`)}else if(isNaN(e)){Q(`${t} is NaN - the duration expression might be incorrect.`)}}const fo={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"};const po={["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",[15]:"component update",[16]:"app unmount cleanup function"};function ho(e,t,n,o){try{return o?e(...o):e()}catch(e){go(e,t,n)}}function mo(t,n,o,s){if(q(t)){const e=ho(t,n,o,s);if(e&&ie(e)){e.catch(e=>{go(e,n,o)})}return e}if(H(t)){const i=[];for(let e=0;e<t.length;e++){i.push(mo(t[e],n,o,s))}return i}else{Q(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}}function go(t,n,o,e=true){const s=n?n.vnode:null;const{errorHandler:i,throwUnhandledErrorInProduction:r}=n&&n.appContext.config||X;if(n){let e=n.parent;const l=n.proxy;const a=po[o];while(e){const c=e.ec;if(c){for(let e=0;e<c.length;e++){if(c[e](t,l,a)===false){return}}}e=e.parent}if(i){wt();ho(i,null,10,[t,l,a]);St();return}}vo(t,o,s,e,r)}function vo(e,t,n,o=true,s=false){{const i=po[t];if(n){no(n)}Q(`Unhandled error${i?` during execution of ${i}`:``}`);if(n){oo()}if(o){throw e}else{console.error(e)}}}const yo=[];let bo=-1;const _o=[];let xo=null;let wo=0;const So=Promise.resolve();let Co=null;const ko=100;function To(e){const t=Co||So;return e?t.then(this?e.bind(this):e):t}function Ao(e){let t=bo+1;let n=yo.length;while(t<n){const o=t+n>>>1;const s=yo[o];const i=Io(s);if(i<e||i===e&&s.flags&2){t=o+1}else{n=o}}return t}function $o(e){if(!(e.flags&1)){const t=Io(e);const n=yo[yo.length-1];if(!n||!(e.flags&2)&&t>=Io(n)){yo.push(e)}else{yo.splice(Ao(t),0,e)}e.flags|=1;Eo()}}function Eo(){if(!Co){Co=So.then(Ro)}}function No(e){if(!H(e)){if(xo&&e.id===-1){xo.splice(wo+1,0,e)}else if(!(e.flags&1)){_o.push(e);e.flags|=1}}else{_o.push(...e)}Eo()}function Oo(e,t,n=bo+1){{t=t||new Map}for(;n<yo.length;n++){const o=yo[n];if(o&&o.flags&2){if(e&&o.id!==e.uid){continue}if(Mo(t,o)){continue}yo.splice(n,1);n--;if(o.flags&4){o.flags&=~1}o();if(!(o.flags&4)){o.flags&=~1}}}}function Po(e){if(_o.length){const t=[...new Set(_o)].sort((e,t)=>Io(e)-Io(t));_o.length=0;if(xo){xo.push(...t);return}xo=t;{e=e||new Map}for(wo=0;wo<xo.length;wo++){const n=xo[wo];if(Mo(e,n)){continue}if(n.flags&4){n.flags&=~1}if(!(n.flags&8))n();n.flags&=~1}xo=null;wo=0}}const Io=e=>e.id==null?e.flags&2?-1:Infinity:e.id;function Ro(t){{t=t||new Map}const e=e=>Mo(t,e);try{for(bo=0;bo<yo.length;bo++){const n=yo[bo];if(n&&!(n.flags&8)){if(e(n)){continue}if(n.flags&4){n.flags&=~1}ho(n,n.i,n.i?15:14);if(!(n.flags&4)){n.flags&=~1}}}}finally{for(;bo<yo.length;bo++){const n=yo[bo];if(n){n.flags&=~1}}bo=-1;yo.length=0;Po(t);Co=null;if(yo.length||_o.length){Ro(t)}}}function Mo(e,t){const n=e.get(t)||0;if(n>ko){const o=t.i;const s=o&&Pc(o.type);go(`Maximum recursive updates exceeded${s?` in component <${s}>`:``}. 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.`,null,10);return true}e.set(t,n+1);return false}let Fo=false;const Lo=new Map;{pe().__VUE_HMR_RUNTIME__={createRecord:Wo(Vo),rerender:Wo(Ho),reload:Wo(qo)}}const jo=new Map;function Do(e){const t=e.type.__hmrId;let n=jo.get(t);if(!n){Vo(t,e.type);n=jo.get(t)}n.instances.add(e)}function Uo(e){jo.get(e.type.__hmrId).instances.delete(e)}function Vo(e,t){if(jo.has(e)){return false}jo.set(e,{initialDef:Bo(t),instances:new Set});return true}function Bo(e){return Rc(e)?e.__vccOpts:e}function Ho(e,t){const n=jo.get(e);if(!n){return}n.initialDef.render=t;[...n.instances].forEach(e=>{if(t){e.render=t;Bo(e.type).render=t}e.renderCache=[];Fo=true;e.update();Fo=false})}function qo(e,n){const o=jo.get(e);if(!o)return;n=Bo(n);zo(o.initialDef,n);const s=[...o.instances];for(let t=0;t<s.length;t++){const i=s[t];const r=Bo(i.type);let e=Lo.get(r);if(!e){if(r!==o.initialDef){zo(r,n)}Lo.set(r,e=new Set)}e.add(i);i.appContext.propsCache.delete(i.type);i.appContext.emitsCache.delete(i.type);i.appContext.optionsCache.delete(i.type);if(i.ceReload){e.add(i);i.ceReload(n.styles);e.delete(i)}else if(i.parent){$o(()=>{Fo=true;i.parent.update();Fo=false;e.delete(i)})}else if(i.appContext.reload){i.appContext.reload()}else if(typeof window!=="undefined"){window.location.reload()}else{console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}if(i.root.ce&&i!==i.root){i.root.ce._removeChildStyle(r)}}No(()=>{Lo.clear()})}function zo(e,t){E(e,t);for(const n in e){if(n!=="__file"&&!(n in t)){delete e[n]}}}function Wo(n){return(e,t)=>{try{return n(e,t)}catch(e){console.error(e);console.warn(`[HMR] Something went wrong during Vue component hot-reload. Full reload required.`)}}}let Ko;let Go=[];let Jo=false;function Xo(e,...t){if(Ko){Ko.emit(e,...t)}else if(!Jo){Go.push({event:e,args:t})}}function Yo(e,t){var n,o;Ko=e;if(Ko){Ko.enabled=true;Go.forEach(({event:e,args:t})=>Ko.emit(e,...t));Go=[]}else if(typeof window!=="undefined"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)==null?void 0:o.includes("jsdom"))){const s=t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[];s.push(e=>{Yo(e,t)});setTimeout(()=>{if(!Ko){t.__VUE_DEVTOOLS_HOOK_REPLAY__=null;Jo=true;Go=[]}},3e3)}else{Jo=true;Go=[]}}function Qo(e,t){Xo("app:init",e,t,{Fragment:ee,Text:Ea,Comment:te,Static:Na})}function Zo(e){Xo("app:unmount",e)}const es=ss("component:added");const ts=ss("component:updated");const ns=ss("component:removed");const os=e=>{if(Ko&&typeof Ko.cleanupBuffer==="function"&&!Ko.cleanupBuffer(e)){ns(e)}};function ss(t){return e=>{Xo(t,e.appContext.app,e.uid,e.parent?e.parent.uid:void 0,e)}}const is=ls("perf:start");const rs=ls("perf:end");function ls(o){return(e,t,n)=>{Xo(o,e.appContext.app,e.uid,e,t,n)}}function as(e,t,n){Xo("component:emit",e.appContext.app,e,t,n)}let g=null;let cs=null;function us(e){const t=g;g=e;cs=e&&e.type.__scopeId||null;return t}function fs(e){cs=e}function ps(){cs=null}const ds=e=>hs;function hs(o,s=g,e){if(!s)return o;if(o._n){return o}const i=(...e)=>{if(i._d){Fa(-1)}const t=us(s);let n;try{n=o(...e)}finally{us(t);if(i._d){Fa(1)}}{ts(s)}return n};i._n=true;i._c=true;i._d=true;return i}function ms(e){if(le(e)){Q("Do not use built-in directive ids as custom directive id: "+e)}}function gs(e,i){if(g===null){Q(`withDirectives can only be used inside render functions.`);return e}const r=Ec(g);const l=e.dirs||(e.dirs=[]);for(let s=0;s<i.length;s++){let[e,t,n,o=X]=i[s];if(e){if(q(e)){e={mounted:e,updated:e}}if(e.deep){eo(t)}l.push({dir:e,instance:r,value:t,oldValue:void 0,arg:n,modifiers:o})}}return e}function vs(n,o,s,i){const r=n.dirs;const l=o&&o.dirs;for(let t=0;t<r.length;t++){const a=r[t];if(l){a.oldValue=l[t].value}let e=a.dir[i];if(e){wt();mo(e,s,8,[n.el,a,n,o]);St()}}}const ys=Symbol("_vte");const bs=e=>e.__isTeleport;const _s=e=>e&&(e.disabled||e.disabled==="");const xs=e=>e&&(e.defer||e.defer==="");const ws=e=>typeof SVGElement!=="undefined"&&e instanceof SVGElement;const Ss=e=>typeof MathMLElement==="function"&&e instanceof MathMLElement;const Cs=(e,t)=>{const n=e&&e.to;if(k(n)){if(!t){Q(`Current renderer does not support string target for Teleports. (missing querySelector renderer option)`);return null}else{const o=t(n);if(!o&&!_s(e)){Q(`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.`)}return o}}else{if(!n&&!_s(e)){Q(`Invalid Teleport target: ${n}`)}return n}};const ks={name:"Teleport",__isTeleport:true,process(e,n,t,o,s,i,r,l,a,c){const{mc:u,pc:f,pbc:p,o:{insert:d,querySelector:h,createText:m,createComment:g}}=c;const v=_s(n.props);let{shapeFlag:y,children:b,dynamicChildren:_}=n;if(Fo){a=false;_=null}if(e==null){const x=n.el=g("teleport start");const w=n.anchor=g("teleport end");d(x,t,o);d(w,t,o);const S=(e,t)=>{if(y&16){if(s&&s.isCE){s.ce._teleportTarget=e}u(b,e,t,s,i,r,l,a)}};const C=()=>{const e=n.target=Cs(n.props,h);const t=Ns(e,n,m,d);if(e){if(r!=="svg"&&ws(e)){r="svg"}else if(r!=="mathml"&&Ss(e)){r="mathml"}if(!v){S(e,t);Es(n,false)}}else if(!v){Q("Invalid Teleport target on mount:",e,`(${typeof e})`)}};if(v){S(t,w);Es(n,true)}if(xs(n.props)){Z(()=>{C();n.el.__isMounted=true},i)}else{C()}}else{if(xs(n.props)&&!e.el.__isMounted){Z(()=>{ks.process(e,n,t,o,s,i,r,l,a,c);delete e.el.__isMounted},i);return}n.el=e.el;n.targetStart=e.targetStart;const w=n.anchor=e.anchor;const k=n.target=e.target;const T=n.targetAnchor=e.targetAnchor;const A=_s(e.props);const $=A?t:k;const E=A?w:T;if(r==="svg"||ws(k)){r="svg"}else if(r==="mathml"||Ss(k)){r="mathml"}if(_){p(e.dynamicChildren,_,$,s,i,r,l);Dl(e,n,true)}else if(!a){f(e,n,$,E,s,i,r,l,false)}if(v){if(!A){Ts(n,t,w,c,1)}else{if(n.props&&e.props&&n.props.to!==e.props.to){n.props.to=e.props.to}}}else{if((n.props&&n.props.to)!==(e.props&&e.props.to)){const N=n.target=Cs(n.props,h);if(N){Ts(n,N,null,c,0)}else{Q("Invalid Teleport target on update:",k,`(${typeof k})`)}}else if(A){Ts(n,k,T,c,1)}}Es(n,v)}},remove(e,t,n,{um:o,o:{remove:s}},i){const{shapeFlag:r,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:p}=e;if(f){s(c);s(u)}i&&s(a);if(r&16){const d=i||!_s(p);for(let e=0;e<l.length;e++){const h=l[e];o(h,t,n,d,!!h.dynamicChildren)}}},move:Ts,hydrate:As};function Ts(e,t,n,{o:{insert:o},m:s},i=2){if(i===0){o(e.targetAnchor,t,n)}const{el:r,anchor:l,shapeFlag:a,children:c,props:u}=e;const f=i===2;if(f){o(r,t,n)}if(!f||_s(u)){if(a&16){for(let e=0;e<c.length;e++){s(c[e],t,n,2)}}}if(f){o(l,t,n)}}function As(t,n,o,s,i,r,{o:{nextSibling:l,parentNode:e,querySelector:a,insert:c,createText:u}},f){const p=n.target=Cs(n.props,a);if(p){const d=_s(n.props);const h=p._lpa||p.firstChild;if(n.shapeFlag&16){if(d){n.anchor=f(l(t),n,e(t),o,s,i,r);n.targetStart=h;n.targetAnchor=h&&l(h)}else{n.anchor=l(t);let e=h;while(e){if(e&&e.nodeType===8){if(e.data==="teleport start anchor"){n.targetStart=e}else if(e.data==="teleport anchor"){n.targetAnchor=e;p._lpa=n.targetAnchor&&l(n.targetAnchor);break}}e=l(e)}if(!n.targetAnchor){Ns(p,n,u,c)}f(h&&l(h),n,p,o,s,i,r)}}Es(n,d)}return n.anchor&&l(n.anchor)}const $s=ks;function Es(n,o){const s=n.ctx;if(s&&s.ut){let e,t;if(o){e=n.el;t=n.anchor}else{e=n.targetStart;t=n.targetAnchor}while(e&&e!==t){if(e.nodeType===1)e.setAttribute("data-v-owner",s.uid);e=e.nextSibling}s.ut()}}function Ns(e,t,n,o){const s=t.targetStart=n("");const i=t.targetAnchor=n("");s[ys]=i;if(e){o(s,e);o(i,e)}return i}const Os=Symbol("_leaveCb");const Ps=Symbol("_enterCb");function Is(){const e={isMounted:false,isLeaving:false,isUnmounting:false,leavingVNodes:new Map};ji(()=>{e.isMounted=true});Vi(()=>{e.isUnmounting=true});return e}const Rs=[Function,Array];const Ms={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Rs,onEnter:Rs,onAfterEnter:Rs,onEnterCancelled:Rs,onBeforeLeave:Rs,onLeave:Rs,onAfterLeave:Rs,onLeaveCancelled:Rs,onBeforeAppear:Rs,onAppear:Rs,onAfterAppear:Rs,onAppearCancelled:Rs};const Fs=e=>{const t=e.subTree;return t.component?Fs(t.component):t};const Ls={name:`BaseTransition`,props:Ms,setup(l,{slots:a}){const c=cc();const u=Is();return()=>{const e=a.default&&zs(a.default(),true);if(!e||!e.length){return}const t=js(e);const n=v(l);const{mode:o}=n;if(o&&o!=="in-out"&&o!=="out-in"&&o!=="default"){Q(`invalid <transition> mode: ${o}`)}if(u.isLeaving){return Bs(t)}const s=Hs(t);if(!s){return Bs(t)}let i=Vs(s,n,u,c,e=>i=e);if(s.type!==te){qs(s,i)}let r=c.subTree&&Hs(c.subTree);if(r&&r.type!==te&&!Va(s,r)&&Fs(c).type!==te){let e=Vs(r,n,u,c);qs(r,e);if(o==="out-in"&&s.type!==te){u.isLeaving=true;e.afterLeave=()=>{u.isLeaving=false;if(!(c.job.flags&8)){c.update()}delete e.afterLeave;r=void 0};return Bs(t)}else if(o==="in-out"&&s.type!==te){e.delayLeave=(e,t,n)=>{const o=Us(u,r);o[String(r.key)]=r;e[Os]=()=>{t();e[Os]=void 0;delete i.delayedLeave;r=void 0};i.delayedLeave=()=>{n();delete i.delayedLeave;r=void 0}}}else{r=void 0}}else if(r){r=void 0}return t}}};function js(t){let n=t[0];if(t.length>1){let e=false;for(const o of t){if(o.type!==te){if(e){Q("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}n=o;e=true}}}return n}const Ds=Ls;function Us(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);if(!o){o=Object.create(null);n.set(t.type,o)}return o}function Vs(i,n,r,o,s){const{appear:l,mode:e,persisted:t=false,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=n;const _=String(i.key);const x=Us(r,i);const w=(e,t)=>{e&&mo(e,o,9,t)};const S=(e,t)=>{const n=t[1];w(e,t);if(H(e)){if(e.every(e=>e.length<=1))n()}else if(e.length<=1){n()}};const C={mode:e,persisted:t,beforeEnter(e){let t=a;if(!r.isMounted){if(l){t=g||a}else{return}}if(e[Os]){e[Os](true)}const n=x[_];if(n&&Va(i,n)&&n.el[Os]){n.el[Os]()}w(t,[e])},enter(t){let e=c;let n=u;let o=f;if(!r.isMounted){if(l){e=v||c;n=y||u;o=b||f}else{return}}let s=false;const i=t[Ps]=e=>{if(s)return;s=true;if(e){w(o,[t])}else{w(n,[t])}if(C.delayedLeave){C.delayedLeave()}t[Ps]=void 0};if(e){S(e,[t,i])}else{i()}},leave(t,n){const o=String(i.key);if(t[Ps]){t[Ps](true)}if(r.isUnmounting){return n()}w(p,[t]);let s=false;const e=t[Os]=e=>{if(s)return;s=true;n();if(e){w(m,[t])}else{w(h,[t])}t[Os]=void 0;if(x[o]===i){delete x[o]}};x[o]=i;if(d){S(d,[t,e])}else{e()}},clone(e){const t=Vs(e,n,r,o,s);if(s)s(t);return t}};return C}function Bs(e){if(ki(e)){e=Xa(e);e.children=null;return e}}function Hs(e){if(!ki(e)){if(bs(e.type)&&e.children){return js(e.children)}return e}if(e.component){return e.component.subTree}const{shapeFlag:t,children:n}=e;if(n){if(t&16){return n[0]}if(t&32&&q(n.default)){return n.default()}}}function qs(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;qs(e.component.subTree,t)}else if(e.shapeFlag&128){e.ssContent.transition=t.clone(e.ssContent);e.ssFallback.transition=t.clone(e.ssFallback)}else{e.transition=t}}function zs(n,o=false,s){let i=[];let r=0;for(let t=0;t<n.length;t++){let e=n[t];const l=s==null?e.key:String(s)+String(e.key!=null?e.key:t);if(e.type===ee){if(e.patchFlag&128)r++;i=i.concat(zs(e.children,o,l))}else if(o||e.type!==te){i.push(l!=null?Xa(e,{key:l}):e)}}if(r>1){for(let e=0;e<i.length;e++){i[e].patchFlag=-2}}return i}function Ws(e,t){return q(e)?(()=>E({name:e.name},t,{setup:e}))():e}function Ks(){const e=cc();if(e){return(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++}else{Q(`useId() is called when there is no active component instance to be associated with.`)}return""}function Gs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Js=new WeakSet;function Xs(t){const n=cc();const o=En(null);if(n){const s=n.refs===X?n.refs={}:n.refs;let e;if((e=Object.getOwnPropertyDescriptor(s,t))&&!e.configurable){Q(`useTemplateRef('${t}') already exists.`)}else{Object.defineProperty(s,t,{enumerable:true,get:()=>o.value,set:e=>o.value=e})}}else{Q(`useTemplateRef() is called when there is no acti