@yuhufe/wtool-vdiff 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +140 -41
- package/dist/DiffFiles/DiffFiles.vue.d.ts +12 -0
- package/dist/DiffFiles/DiffList/DiffList.vue.d.ts +94 -0
- package/dist/DiffFiles/FileExplore/FileExplore.vue.d.ts +510 -0
- package/dist/DiffFiles/FileExplore/FileSearch.vue.d.ts +11 -0
- package/dist/DiffFiles/FileExplore/fileTree.d.ts +17 -0
- package/dist/DiffFiles/createDiffFiles.d.ts +13 -0
- package/dist/DiffFiles/index.d.ts +3 -0
- package/dist/DiffFiles/types.d.ts +12 -0
- package/dist/DiffFiles/useDiffFiles.d.ts +23 -0
- package/dist/DiffViewer/DiffViewer.vue.d.ts +15 -4
- package/dist/DiffViewer/TopBar.vue.d.ts +2 -0
- package/dist/DiffViewer/const.d.ts +7 -0
- package/dist/DiffViewer/utils/autoHeight.d.ts +3 -1
- package/dist/DiffViewer/utils/patch2Pair.d.ts +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/types.d.ts +15 -5
- package/dist/wtool-vdiff.cjs.js +42 -39
- package/dist/wtool-vdiff.es.js +9306 -5945
- package/package.json +6 -7
- package/src/DiffFiles/DiffFiles.vue +97 -18
- package/src/DiffFiles/DiffList/DiffList.vue +125 -0
- package/src/DiffFiles/FileExplore/FileExplore.vue +165 -7
- package/src/DiffFiles/FileExplore/FileSearch.vue +81 -0
- package/src/DiffFiles/FileExplore/fileTree.ts +102 -0
- package/src/DiffFiles/createDiffFiles.ts +70 -0
- package/src/DiffFiles/index.ts +11 -0
- package/src/DiffFiles/types.ts +15 -0
- package/src/DiffFiles/useDiffFiles.ts +56 -0
- package/src/DiffViewer/DiffViewer.vue +22 -8
- package/src/DiffViewer/MonacoDiffViewer.vue +21 -2
- package/src/DiffViewer/TopBar.vue +23 -4
- package/src/DiffViewer/const.ts +10 -0
- package/src/DiffViewer/utils/autoHeight.ts +83 -29
- package/src/DiffViewer/utils/patch2Pair.ts +37 -9
- package/src/assets/file.svg +4 -0
- package/src/assets/folder.svg +4 -0
- package/src/index.ts +1 -0
- package/src/types.ts +17 -5
package/dist/wtool-vdiff.cjs.js
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".m-loading-parent--relative{position:relative}.m-loading-mask[data-v-da721280]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff9}@keyframes widgetLoading-da721280{0%{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}50%{opacity:1;transform:translateY(calc(var(--column-height) / 2)) scaleY(2)}to{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}}.loading-animate[data-v-da721280]{height:30px;position:relative}.loading-animate .loading-animate-column[data-v-da721280]{position:absolute;width:var(--column-width);height:var(--column-height);opacity:.2;animation:.6s ease-in-out 0s infinite widgetLoading-da721280;transform:translateY(var(--column-height)) scaleY(1);transform-origin:top}.xfade-enter[data-v-da721280],.xfade-enter-from[data-v-da721280]{opacity:0}.xfade-enter-active[data-v-da721280]{transition:opacity .4s ease}.xfade-leave-active[data-v-da721280]{transition:opacity .4s ease;opacity:0}.monaco-editor-container[data-v-cfbdfd35]{width:100%;height:100%}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget{cursor:not-allowed}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget .diff-hidden-lines{pointer-events:none;opacity:.75}.top-bar-wrap[data-v-fb17a006]{box-sizing:border-box;display:flex;overflow:hidden;align-items:center;background-color:#f7f7f7;padding:4px 8px}.top-bar-wrap .title-area[data-v-fb17a006]{flex:1;display:flex;align-items:center;overflow:hidden}.top-bar-wrap .title-area .filename[data-v-fb17a006]{font-size:14px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-bar-wrap .title-area .diff-line-num[data-v-fb17a006]{flex-shrink:0;display:inline-flex;font-size:12px;font-weight:700;margin-left:4px}.top-bar-wrap .title-area .diff-line-num .add[data-v-fb17a006]{color:#1a7f37}.top-bar-wrap .title-area .diff-line-num .del[data-v-fb17a006]{color:#d1242f;margin-left:4px}.top-bar-wrap .toolbar[data-v-fb17a006]{font-size:12px;flex-shrink:0;display:flex;align-items:center;gap:4px}.top-bar-wrap .toolbar label[data-v-fb17a006]{display:inline-flex;align-items:center;cursor:pointer;margin-right:4px}.top-bar-wrap .toolbar label.disabled[data-v-fb17a006]{opacity:.4;cursor:not-allowed;pointer-events:none}.top-bar-wrap .toolbar label input[data-v-fb17a006]{margin-right:2px}.diff-type-tag[data-v-fb17a006]{flex-shrink:0;display:block;font-size:10px;font-weight:600;padding:2px 4px;border-radius:2px;margin-left:4px}.diff-type-tag.changed[data-v-fb17a006]{background-color:#ddf4ff;color:#0969da}.diff-type-tag.add[data-v-fb17a006]{background-color:#dafbe1;color:#1a7f37}.diff-type-tag.del[data-v-fb17a006]{background-color:#ffebe9;color:#d1242f}.diff-type-tag.rename[data-v-fb17a006]{background-color:#fff8c5;color:#9a6700}.diff-viewer-wrap[data-v-60fd90ca]{width:var(--viewer-width);border:1px solid #ddd}.diff-viewer-wrap .top-bar[data-v-60fd90ca]{flex-shrink:0}.diff-viewer-wrap .content-wrap[data-v-60fd90ca]{height:var(--viewer-height);overflow:hidden}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
3
|
-
`)}function dt(e){if(H(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=Y(s)?Ra(s):dt(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(Y(e)||se(e))return e}const ad=/;(?![^(]*\))/g,ud=/:([^]+)/,fd=/\/\*[^]*?\*\//g;function Ra(e){const t={};return e.replace(fd,"").split(ad).forEach(n=>{if(n){const s=n.split(ud);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function pd(e){if(!e)return"";if(Y(e))return e;let t="";for(const n in e){const s=e[n];if(Y(s)||typeof s=="number"){const i=n.startsWith("--")?n:Re(n);t+=`${i}:${s};`}}return t}function tn(e){let t="";if(Y(e))t=e;else if(H(e))for(let n=0;n<e.length;n++){const s=tn(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function dd(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Y(t)&&(e.class=tn(t)),n&&(e.style=dt(n)),e}const hd="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",md="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",gd="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",vd="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",$a=Ve(hd),La=Ve(md),Fa=Ve(gd),Ed=Ve(vd),ja="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yd=Ve(ja),rc=Ve(ja+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Qo(e){return!!e||e===""}const _d=Ve("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"),Nd=Ve("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 bd(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Od=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function Sd(e,t){return e.replace(Od,n=>`\\${n}`)}function wd(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=En(e[s],t[s]);return n}function En(e,t){if(e===t)return!0;let n=nc(e),s=nc(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=et(e),s=et(t),n||s)return e===t;if(n=H(e),s=H(t),n||s)return n&&s?wd(e,t):!1;if(n=se(e),s=se(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!En(e[o],t[o]))return!1}}return String(e)===String(t)}function Nr(e,t){return e.findIndex(n=>En(n,t))}const Ha=e=>!!(e&&e.__v_isRef===!0),Tn=e=>Y(e)?e:e==null?"":H(e)||se(e)&&(e.toString===ka||!z(e.toString))?Ha(e)?Tn(e.value):JSON.stringify(e,Ba,2):String(e),Ba=(e,t)=>Ha(t)?Ba(e,t.value):xn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[Yr(s,r)+" =>"]=i,n),{})}:Bn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yr(n))}:et(t)?Yr(t):se(t)&&!H(t)&&!vr(t)?String(t):t,Yr=(e,t="")=>{var n;return et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Ua(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:((typeof e!="number"||!Number.isFinite(e))&&process.env.NODE_ENV!=="production"&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",e),String(e))}function rt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let ke;class el{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ke,!t&&ke&&(this.index=(ke.scopes||(ke.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ke;try{return ke=this,t()}finally{ke=n}}else process.env.NODE_ENV!=="production"&&rt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=ke,ke=this)}off(){this._on>0&&--this._on===0&&(ke=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Cd(e){return new el(e)}function Ka(){return ke}function Td(e,t=!1){ke?ke.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&&rt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let ae;const Xr=new WeakSet;class Ks{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ke&&ke.active&&ke.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xr.has(this)&&(Xr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||qa(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,oc(this),Ga(this);const t=ae,n=Ct;ae=this,Ct=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&ae!==this&&rt("Active effect was not restored correctly - this is likely a Vue internal bug."),za(this),ae=t,Ct=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)sl(t);this.deps=this.depsTail=void 0,oc(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vo(this)&&this.run()}get dirty(){return vo(this)}}let Wa=0,Ms,Rs;function qa(e,t=!1){if(e.flags|=8,t){e.next=Rs,Rs=e;return}e.next=Ms,Ms=e}function tl(){Wa++}function nl(){if(--Wa>0)return;if(Rs){let t=Rs;for(Rs=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ms;){let t=Ms;for(Ms=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ga(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function za(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),sl(s),Dd(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function vo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ja(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ja(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ws)||(e.globalVersion=Ws,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!vo(e))))return;e.flags|=2;const t=e.dep,n=ae,s=Ct;ae=e,Ct=!0;try{Ga(e);const i=e.fn(e._value);(t.version===0||Ue(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{ae=n,Ct=s,za(e),e.flags&=-3}}function sl(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)sl(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Dd(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Vd(e,t){e.effect instanceof Ks&&(e=e.effect.fn);const n=new Ks(e);t&&ee(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function xd(e){e.effect.stop()}let Ct=!0;const Ya=[];function Dt(){Ya.push(Ct),Ct=!1}function Vt(){const e=Ya.pop();Ct=e===void 0?!0:e}function oc(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ae;ae=void 0;try{t()}finally{ae=n}}}let Ws=0;class Ad{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class br{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!ae||!Ct||ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ae)n=this.activeLink=new Ad(ae,this),ae.deps?(n.prevDep=ae.depsTail,ae.depsTail.nextDep=n,ae.depsTail=n):ae.deps=ae.depsTail=n,Xa(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ae.depsTail,n.nextDep=void 0,ae.depsTail.nextDep=n,ae.depsTail=n,ae.deps===n&&(ae.deps=s)}return process.env.NODE_ENV!=="production"&&ae.onTrack&&ae.onTrack(ee({effect:ae},t)),n}trigger(t){this.version++,Ws++,this.notify(t)}notify(t){tl();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(ee({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{nl()}}}function Xa(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Xa(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Bi=new WeakMap,An=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),Eo=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),qs=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Te(e,t,n){if(Ct&&ae){let s=Bi.get(e);s||Bi.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new br),i.map=s,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function Rt(e,t,n,s,i,r){const o=Bi.get(e);if(!o){Ws++;return}const l=c=>{c&&(process.env.NODE_ENV!=="production"?c.trigger({target:e,type:t,key:n,newValue:s,oldValue:i,oldTarget:r}):c.trigger())};if(tl(),t==="clear")o.forEach(l);else{const c=H(e),f=c&&Er(n);if(c&&n==="length"){const a=Number(s);o.forEach((u,p)=>{(p==="length"||p===qs||!et(p)&&p>=a)&&l(u)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(qs)),t){case"add":c?f&&l(o.get("length")):(l(o.get(An)),xn(e)&&l(o.get(Eo)));break;case"delete":c||(l(o.get(An)),xn(e)&&l(o.get(Eo)));break;case"set":xn(e)&&l(o.get(An));break}}nl()}function Id(e,t){const n=Bi.get(e);return n&&n.get(t)}function zn(e){const t=Q(e);return t===e?t:(Te(t,"iterate",qs),Ie(e)?t:t.map(xt))}function Or(e){return Te(e=Q(e),"iterate",qs),e}function cn(e,t){return mt(e)?cs($t(e)?xt(t):t):xt(t)}const Pd={__proto__:null,[Symbol.iterator](){return Zr(this,Symbol.iterator,e=>cn(this,e))},concat(...e){return zn(this).concat(...e.map(t=>H(t)?zn(t):t))},entries(){return Zr(this,"entries",e=>(e[1]=cn(this,e[1]),e))},every(e,t){return Ht(this,"every",e,t,void 0,arguments)},filter(e,t){return Ht(this,"filter",e,t,n=>n.map(s=>cn(this,s)),arguments)},find(e,t){return Ht(this,"find",e,t,n=>cn(this,n),arguments)},findIndex(e,t){return Ht(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ht(this,"findLast",e,t,n=>cn(this,n),arguments)},findLastIndex(e,t){return Ht(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ht(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qr(this,"includes",e)},indexOf(...e){return Qr(this,"indexOf",e)},join(e){return zn(this).join(e)},lastIndexOf(...e){return Qr(this,"lastIndexOf",e)},map(e,t){return Ht(this,"map",e,t,void 0,arguments)},pop(){return Ss(this,"pop")},push(...e){return Ss(this,"push",e)},reduce(e,...t){return lc(this,"reduce",e,t)},reduceRight(e,...t){return lc(this,"reduceRight",e,t)},shift(){return Ss(this,"shift")},some(e,t){return Ht(this,"some",e,t,void 0,arguments)},splice(...e){return Ss(this,"splice",e)},toReversed(){return zn(this).toReversed()},toSorted(e){return zn(this).toSorted(e)},toSpliced(...e){return zn(this).toSpliced(...e)},unshift(...e){return Ss(this,"unshift",e)},values(){return Zr(this,"values",e=>cn(this,e))}};function Zr(e,t,n){const s=Or(e),i=s[t]();return s!==e&&!Ie(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const kd=Array.prototype;function Ht(e,t,n,s,i,r){const o=Or(e),l=o!==e&&!Ie(e),c=o[t];if(c!==kd[t]){const u=c.apply(e,r);return l?xt(u):u}let f=n;o!==e&&(l?f=function(u,p){return n.call(this,cn(e,u),p,e)}:n.length>2&&(f=function(u,p){return n.call(this,u,p,e)}));const a=c.call(o,f,s);return l&&i?i(a):a}function lc(e,t,n,s){const i=Or(e);let r=n;return i!==e&&(Ie(e)?n.length>3&&(r=function(o,l,c){return n.call(this,o,l,c,e)}):r=function(o,l,c){return n.call(this,o,cn(e,l),c,e)}),i[t](r,...s)}function Qr(e,t,n){const s=Q(e);Te(s,"iterate",qs);const i=s[t](...n);return(i===-1||i===!1)&&$n(n[0])?(n[0]=Q(n[0]),s[t](...n)):i}function Ss(e,t,n=[]){Dt(),tl();const s=Q(e)[t].apply(e,n);return nl(),Vt(),s}const Md=Ve("__proto__,__v_isRef,__isVue"),Za=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function Rd(e){et(e)||(e=String(e));const t=Q(this);return Te(t,"has",e),t.hasOwnProperty(e)}class Qa{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?ru:iu:r?su:nu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=H(t);if(!i){let c;if(o&&(c=Pd[n]))return c;if(n==="hasOwnProperty")return Rd}const l=Reflect.get(t,n,ye(t)?t:s);if((et(n)?Za.has(n):Md(n))||(i||Te(t,"get",n),r))return l;if(ye(l)){const c=o&&Er(n)?l:l.value;return i&&se(c)?Gs(c):c}return se(l)?i?Gs(l):wr(l):l}}class eu extends Qa{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=H(t)&&Er(n);if(!this._isShallow){const f=mt(r);if(!Ie(s)&&!mt(s)&&(r=Q(r),s=Q(s)),!o&&ye(r)&&!ye(s))return f?(process.env.NODE_ENV!=="production"&&rt(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(r.value=s,!0)}const l=o?Number(n)<t.length:re(t,n),c=Reflect.set(t,n,s,ye(t)?t:i);return t===Q(i)&&(l?Ue(s,r)&&Rt(t,"set",n,s,r):Rt(t,"add",n,s)),c}deleteProperty(t,n){const s=re(t,n),i=t[n],r=Reflect.deleteProperty(t,n);return r&&s&&Rt(t,"delete",n,void 0,i),r}has(t,n){const s=Reflect.has(t,n);return(!et(n)||!Za.has(n))&&Te(t,"has",n),s}ownKeys(t){return Te(t,"iterate",H(t)?"length":An),Reflect.ownKeys(t)}}class tu extends Qa{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&rt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&rt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const $d=new eu,Ld=new tu,Fd=new eu(!0),jd=new tu(!0),yo=e=>e,yi=e=>Reflect.getPrototypeOf(e);function Hd(e,t,n){return function(...s){const i=this.__v_raw,r=Q(i),o=xn(r),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=i[e](...s),a=n?yo:t?cs:xt;return!t&&Te(r,"iterate",c?Eo:An),ee(Object.create(f),{next(){const{value:u,done:p}=f.next();return p?{value:u,done:p}:{value:l?[a(u[0]),a(u[1])]:a(u),done:p}}})}}function _i(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";rt(`${Ft(e)} operation ${n}failed: target is readonly.`,Q(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Bd(e,t){const n={get(i){const r=this.__v_raw,o=Q(r),l=Q(i);e||(Ue(i,l)&&Te(o,"get",i),Te(o,"get",l));const{has:c}=yi(o),f=t?yo:e?cs:xt;if(c.call(o,i))return f(r.get(i));if(c.call(o,l))return f(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Te(Q(i),"iterate",An),i.size},has(i){const r=this.__v_raw,o=Q(r),l=Q(i);return e||(Ue(i,l)&&Te(o,"has",i),Te(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,c=Q(l),f=t?yo:e?cs:xt;return!e&&Te(c,"iterate",An),l.forEach((a,u)=>i.call(r,f(a),f(u),o))}};return ee(n,e?{add:_i("add"),set:_i("set"),delete:_i("delete"),clear:_i("clear")}:{add(i){!t&&!Ie(i)&&!mt(i)&&(i=Q(i));const r=Q(this);return yi(r).has.call(r,i)||(r.add(i),Rt(r,"add",i,i)),this},set(i,r){!t&&!Ie(r)&&!mt(r)&&(r=Q(r));const o=Q(this),{has:l,get:c}=yi(o);let f=l.call(o,i);f?process.env.NODE_ENV!=="production"&&cc(o,l,i):(i=Q(i),f=l.call(o,i));const a=c.call(o,i);return o.set(i,r),f?Ue(r,a)&&Rt(o,"set",i,r,a):Rt(o,"add",i,r),this},delete(i){const r=Q(this),{has:o,get:l}=yi(r);let c=o.call(r,i);c?process.env.NODE_ENV!=="production"&&cc(r,o,i):(i=Q(i),c=o.call(r,i));const f=l?l.call(r,i):void 0,a=r.delete(i);return c&&Rt(r,"delete",i,void 0,f),a},clear(){const i=Q(this),r=i.size!==0,o=process.env.NODE_ENV!=="production"?xn(i)?new Map(i):new Set(i):void 0,l=i.clear();return r&&Rt(i,"clear",void 0,void 0,o),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Hd(i,e,t)}),n}function Sr(e,t){const n=Bd(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(re(n,i)&&i in s?n:s,i,r)}const Ud={get:Sr(!1,!1)},Kd={get:Sr(!1,!0)},Wd={get:Sr(!0,!1)},qd={get:Sr(!0,!0)};function cc(e,t,n){const s=Q(n);if(s!==n&&t.call(e,s)){const i=Zo(e);rt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="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 nu=new WeakMap,su=new WeakMap,iu=new WeakMap,ru=new WeakMap;function Gd(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function zd(e){return e.__v_skip||!Object.isExtensible(e)?0:Gd(Zo(e))}function wr(e){return mt(e)?e:Cr(e,!1,$d,Ud,nu)}function ou(e){return Cr(e,!1,Fd,Kd,su)}function Gs(e){return Cr(e,!0,Ld,Wd,iu)}function bt(e){return Cr(e,!0,jd,qd,ru)}function Cr(e,t,n,s,i){if(!se(e))return process.env.NODE_ENV!=="production"&&rt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=zd(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function $t(e){return mt(e)?$t(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function $n(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function lu(e){return!re(e,"__v_skip")&&Object.isExtensible(e)&&ls(e,"__v_skip",!0),e}const xt=e=>se(e)?wr(e):e,cs=e=>se(e)?Gs(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function $e(e){return cu(e,!1)}function Qn(e){return cu(e,!0)}function cu(e,t){return ye(e)?e:new Jd(e,t)}class Jd{constructor(t,n){this.dep=new br,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Q(t),this._value=n?t:xt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ie(t)||mt(t);t=s?t:Q(t),Ue(t,n)&&(this._rawValue=t,this._value=s?t:xt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function Yd(e){e.dep&&(process.env.NODE_ENV!=="production"?e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value}):e.dep.trigger())}function Ot(e){return ye(e)?e.value:e}function Xd(e){return z(e)?e():Ot(e)}const Zd={get:(e,t,n)=>t==="__v_raw"?e:Ot(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return ye(i)&&!ye(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function il(e){return $t(e)?e:new Proxy(e,Zd)}class Qd{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new br,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function au(e){return new Qd(e)}function eh(e){process.env.NODE_ENV!=="production"&&!$n(e)&&rt("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]=uu(e,n);return t}class th{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=Q(t);let i=!0,r=t;if(!H(t)||!Er(String(n)))do i=!$n(r)||Ie(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Ot(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ye(this._raw[this._key])){const n=this._object[this._key];if(ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Id(this._raw,this._key)}}class nh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function sh(e,t,n){return ye(e)?e:z(e)?new nh(e):se(e)&&arguments.length>1?uu(e,t,n):$e(e)}function uu(e,t,n){return new th(e,t,n)}class ih{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new br(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ae!==this)return qa(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Ja(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&rt("Write operation failed: computed value is readonly")}}function rh(e,t,n=!1){let s,i;z(e)?s=e:(s=e.get,i=e.set);const r=new ih(s,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const oh={GET:"get",HAS:"has",ITERATE:"iterate"},lh={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Ni={},Ui=new WeakMap;let an;function ch(){return an}function fu(e,t=!1,n=an){if(n){let s=Ui.get(n);s||Ui.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&rt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function ah(e,t,n=ne){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:c}=n,f=y=>{(n.onWarn||rt)("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},a=y=>i?y:Ie(y)||i===!1||i===0?zt(y,1):zt(y);let u,p,h,g,v=!1,D=!1;if(ye(e)?(p=()=>e.value,v=Ie(e)):$t(e)?(p=()=>a(e),v=!0):H(e)?(D=!0,v=e.some(y=>$t(y)||Ie(y)),p=()=>e.map(y=>{if(ye(y))return y.value;if($t(y))return a(y);if(z(y))return c?c(y,2):y();process.env.NODE_ENV!=="production"&&f(y)})):z(e)?t?p=c?()=>c(e,2):e:p=()=>{if(h){Dt();try{h()}finally{Vt()}}const y=an;an=u;try{return c?c(e,3,[g]):e(g)}finally{an=y}}:(p=ge,process.env.NODE_ENV!=="production"&&f(e)),t&&i){const y=p,T=i===!0?1/0:i;p=()=>zt(y(),T)}const V=Ka(),N=()=>{u.stop(),V&&V.active&&Xo(V.effects,u)};if(r&&t){const y=t;t=(...T)=>{y(...T),N()}}let m=D?new Array(e.length).fill(Ni):Ni;const _=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const T=u.run();if(i||v||(D?T.some((L,x)=>Ue(L,m[x])):Ue(T,m))){h&&h();const L=an;an=u;try{const x=[T,m===Ni?void 0:D&&m[0]===Ni?[]:m,g];m=T,c?c(t,3,x):t(...x)}finally{an=L}}}else u.run()};return l&&l(_),u=new Ks(p),u.scheduler=o?()=>o(_,!1):_,g=y=>fu(y,!1,u),h=u.onStop=()=>{const y=Ui.get(u);if(y){if(c)c(y,4);else for(const T of y)T();Ui.delete(u)}},process.env.NODE_ENV!=="production"&&(u.onTrack=n.onTrack,u.onTrigger=n.onTrigger),t?s?_(!0):m=u.run():o?o(_.bind(null,!0),!0):u.run(),N.pause=u.pause.bind(u),N.resume=u.resume.bind(u),N.stop=N,N}function zt(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))zt(e.value,t,n);else if(H(e))for(let s=0;s<e.length;s++)zt(e[s],t,n);else if(Bn(e)||xn(e))e.forEach(s=>{zt(s,t,n)});else if(vr(e)){for(const s in e)zt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&zt(e[s],t,n)}return e}const In=[];function ts(e){In.push(e)}function ns(){In.pop()}let eo=!1;function C(e,...t){if(eo)return;eo=!0,Dt();const n=In.length?In[In.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=uh();if(s)Un(s,n,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,i.map(({vnode:r})=>`at <${di(n,r.type)}>`).join(`
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.m-loading-parent--relative{position:relative}.m-loading-mask[data-v-da721280]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff9}@keyframes widgetLoading-da721280{0%{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}50%{opacity:1;transform:translateY(calc(var(--column-height) / 2)) scaleY(2)}to{opacity:.2;transform:translateY(var(--column-height)) scaleY(1)}}.loading-animate[data-v-da721280]{height:30px;position:relative}.loading-animate .loading-animate-column[data-v-da721280]{position:absolute;width:var(--column-width);height:var(--column-height);opacity:.2;animation:.6s ease-in-out 0s infinite widgetLoading-da721280;transform:translateY(var(--column-height)) scaleY(1);transform-origin:top}.xfade-enter[data-v-da721280],.xfade-enter-from[data-v-da721280]{opacity:0}.xfade-enter-active[data-v-da721280]{transition:opacity .4s ease}.xfade-leave-active[data-v-da721280]{transition:opacity .4s ease;opacity:0}.scroll-wrapper[data-v-2acac909]{overflow-y:auto;scrollbar-width:thin}.scroll-wrapper .virtual-item[data-v-2acac909]{width:100%;position:absolute;top:0;left:0}.monaco-editor-container[data-v-715fa2d2]{width:100%;height:100%}.context-view.monaco-component .workbench-hover-container .hover-contents{white-space:nowrap!important}.monaco-editor-container .codicon.codicon-widget-close{box-sizing:content-box!important}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget{cursor:not-allowed}.monaco-editor-container.hide-unchanged-actions .diff-hidden-lines-widget .diff-hidden-lines{pointer-events:none;opacity:.75}.top-bar-wrap[data-v-e0325530]{box-sizing:border-box;display:flex;overflow:hidden;align-items:center;background-color:#f7f7f7;padding:4px 8px}.top-bar-wrap .title-area[data-v-e0325530]{flex:1;display:flex;align-items:center;overflow:hidden}.top-bar-wrap .title-area .filename[data-v-e0325530]{font-size:14px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-bar-wrap .title-area .diff-line-num[data-v-e0325530]{flex-shrink:0;display:inline-flex;font-size:12px;font-weight:700;margin-left:4px}.top-bar-wrap .title-area .diff-line-num .add[data-v-e0325530]{color:#1a7f37}.top-bar-wrap .title-area .diff-line-num .del[data-v-e0325530]{color:#d1242f;margin-left:4px}.top-bar-wrap .toolbar[data-v-e0325530]{font-size:12px;flex-shrink:0;display:flex;align-items:center;gap:4px}.top-bar-wrap .toolbar label[data-v-e0325530]{display:inline-flex;align-items:center;cursor:pointer;margin-right:4px}.top-bar-wrap .toolbar label.disabled[data-v-e0325530]{opacity:.4;cursor:not-allowed;pointer-events:none}.top-bar-wrap .toolbar label input[data-v-e0325530]{margin-right:2px}.diff-type-tag[data-v-e0325530]{flex-shrink:0;display:block;font-size:10px;font-weight:600;padding:2px 4px;border-radius:2px;margin-left:4px}.diff-type-tag.changed[data-v-e0325530]{background-color:#ddf4ff;color:#0969da}.diff-type-tag.add[data-v-e0325530]{background-color:#dafbe1;color:#1a7f37}.diff-type-tag.del[data-v-e0325530]{background-color:#ffebe9;color:#d1242f}.diff-type-tag.rename[data-v-e0325530]{background-color:#fff8c5;color:#9a6700}.diff-viewer-wrap[data-v-cfac6974]{width:var(--viewer-width);border:1px solid #ddd}.diff-viewer-wrap .top-bar[data-v-cfac6974]{flex-shrink:0}.diff-viewer-wrap .content-wrap[data-v-cfac6974]{height:var(--viewer-height);overflow:hidden}body{-webkit-tap-highlight-color:transparent}@-webkit-keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@keyframes vtree-animation-spin{0%{-webkit-transform:rotate(0deg) translate3d(0,0,0);transform:rotate(0) translateZ(0)}to{-webkit-transform:rotate(360deg) translate3d(0,0,0);transform:rotate(360deg) translateZ(0)}}@-webkit-keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}@keyframes vtree-animation-svg-circle-spin{0%{stroke-dasharray:1 130;stroke-dashoffset:0}50%{stroke-dasharray:90 130;stroke-dashoffset:-30}to{stroke-dasharray:90 130;stroke-dashoffset:-124}}.vtree-tree__wrapper{width:100%;height:100%;position:relative}.vtree-tree__scroll-area{width:100%;height:100%;overflow:auto;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree__block-area{-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree__empty{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0}.vtree-tree__empty-text_default{width:100%;text-align:center}.vtree-tree__loading{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;background-color:#fffffff2}.vtree-tree__loading-wrapper{width:100%;text-align:center}.vtree-tree__loading-icon{display:inline-block;width:30px;height:30px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree__loading-icon .vtree-loading-icon__circle{stroke:#2d8cf0;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree__iframe{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;display:block;border:none;padding:0;margin:0;opacity:0;z-index:-1000;pointer-events:none}.vtree-tree-node__indent-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.vtree-tree-node__wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-node__drop{width:100%;height:2px}.vtree-tree-node__drop_active{background-color:#5cadff}.vtree-tree-node__node-body{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.vtree-tree-node__square{position:relative;width:20px;height:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.vtree-tree-node__expand i{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;width:16px;height:16px;position:relative;-webkit-transition:-webkit-transform .2s linear;transition:-webkit-transform .2s linear;transition:transform .2s linear;transition:transform .2s linear,-webkit-transform .2s linear}.vtree-tree-node__expand i:after{content:"";display:block;width:0;height:0;position:absolute;border:5px solid transparent;border-left:5px solid #515a6e}.vtree-tree-node__expand_active i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.vtree-tree-node__loading-icon{display:inline-block;width:14px;height:14px;-webkit-animation:vtree-animation-spin 2s linear infinite;animation:vtree-animation-spin 2s linear infinite}.vtree-tree-node__loading-icon .vtree-loading-icon__circle{stroke:#515a6e;stroke-linecap:round;-webkit-animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite;animation:vtree-animation-svg-circle-spin 1.5s ease-in-out infinite}.vtree-tree-node__checkbox{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;width:14px;height:14px;position:absolute;border:1px solid;border-color:#dcdee2;border-radius:2px;background-color:#fff;-webkit-transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out;transition:border-color .2s ease-in-out,background-color .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-node__checkbox:after{content:"";display:table;position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;border:2px solid #fff;border-top:0;border-left:0;width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(0);transform:rotate(45deg) scale(0);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}@media(any-hover:hover){.vtree-tree-node__checkbox:hover{border-color:#c5c8ce}}.vtree-tree-node__checkbox:focus{-webkit-box-shadow:0 0 0 2px #5cadff;box-shadow:0 0 0 2px #5cadff}.vtree-tree-node__checkbox_checked{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_checked:after{width:4px;height:8px;top:1px;left:4px;-webkit-transform:rotate(45deg) scale(1);transform:rotate(45deg) scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_checked:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_indeterminate{border-color:#2d8cf0;background-color:#2d8cf0}.vtree-tree-node__checkbox_indeterminate:after{width:8px;height:1px;top:5px;left:2px;-webkit-transform:scale(1);transform:scale(1)}@media(any-hover:hover){.vtree-tree-node__checkbox_indeterminate:hover{border-color:#2d8cf0;background-color:#2d8cf0}}.vtree-tree-node__checkbox_disabled{cursor:not-allowed;border-color:#dcdee2;background-color:#e8eaec}@media(any-hover:hover){.vtree-tree-node__checkbox_disabled:hover{border-color:#dcdee2;background-color:#e8eaec}}.vtree-tree-node__checkbox_disabled:after{border-color:#c5c8ce}.vtree-tree-node__title{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-flex:1;-ms-flex:1;flex:1;height:26px;line-height:26px;margin-left:5px;padding-left:5px;background-color:transparent;word-break:keep-all;white-space:nowrap;word-wrap:none}@media(any-hover:hover){.vtree-tree-node__title:hover{background-color:#ebf5ff}}.vtree-tree-node__title_selected{background-color:#d4e7fc}@media(any-hover:hover){.vtree-tree-node__title_selected:hover{background-color:#d4e7fc}}.vtree-tree-node__title_disabled{cursor:not-allowed;color:#c5c8ce}.vtree-expand-animation-enter-from,.vtree-expand-animation-leave-to{opacity:0;grid-template-rows:0fr}.vtree-expand-animation-enter-to,.vtree-expand-animation-leave-from{opacity:1;grid-template-rows:1fr}.vtree-expand-animation-enter-active,.vtree-expand-animation-leave-active{-webkit-transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s;transition:opacity .2s,grid-template-rows .2s,-ms-grid-rows .2s}.vtree-tree-search__wrapper{width:100%;height:100%;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.vtree-tree-search__search{height:42px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box}.vtree-tree-search__check-all-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-pack:initial;-ms-flex-pack:initial;justify-content:initial;width:40px}.vtree-tree-search__check-all{margin-left:23px}.vtree-tree-search__input-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding-left:5px;-webkit-box-flex:1;-ms-flex:1;flex:1}.vtree-tree-search__input{color:#515a6e;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:32px;border:1px solid #dcdee2;border-radius:4px;padding:4px 7px;outline:none;-webkit-transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,-webkit-box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out;transition:border .2s ease-in-out,box-shadow .2s ease-in-out,-webkit-box-shadow .2s ease-in-out}.vtree-tree-search__input::-webkit-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-moz-placeholder{color:#c5c8ce}.vtree-tree-search__input:-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::-ms-input-placeholder{color:#c5c8ce}.vtree-tree-search__input::placeholder{color:#c5c8ce}@media(any-hover:hover){.vtree-tree-search__input:hover{border-color:#57a3f3}}.vtree-tree-search__input:focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-search__input_disabled{cursor:not-allowed;color:#ccc;background-color:#f3f3f3}@media(any-hover:hover){.vtree-tree-search__input_disabled:hover{border-color:#dcdee2}}.vtree-tree-search__action-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 10px}.vtree-tree-search__checked-button{cursor:pointer}@media(any-hover:hover){.vtree-tree-search__checked-button:hover{color:#5cadff}}.vtree-tree-search__checked-button_active{color:#2d8cf0}.vtree-tree-search__tree-wrapper{width:100%;-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.vtree-tree-search__footer{padding:5px}.vtree-tree-drop__wrapper{position:relative}.vtree-tree-drop__reference{cursor:pointer}.vtree-tree-drop__display-input{position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-right:20px}.vtree-tree-drop__display-input-text{display:block;height:100%;line-height:22px}.vtree-tree-drop__display-input-placeholder{color:#c5c8ce}.vtree-tree-drop__display-input_focus{border-color:#57a3f3;-webkit-box-shadow:0 0 0 2px rgba(45,140,240,.2);box-shadow:0 0 0 2px #2d8cf033}.vtree-tree-drop__display-icon-drop{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border:3px solid #808695;border-top:none;border-left:none;-webkit-transform:rotate(45deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(45deg) scale(.5) translate(-3.5px) translateY(-3.5px);-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out}.vtree-tree-drop__display-icon-drop_active{-webkit-transform:rotate(225deg) scale(.5) translateX(-3.5px) translateY(-3.5px);transform:rotate(225deg) scale(.5) translate(-3.5px) translateY(-3.5px)}.vtree-tree-drop__display-icon-clear{position:absolute;top:8px;right:3px;width:14px;height:14px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:50%;background-color:#808695;overflow:hidden;-webkit-transform:scale(.9) rotate(45deg);transform:scale(.9) rotate(45deg);display:none}.vtree-tree-drop__display-icon-clear:before{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px}.vtree-tree-drop__display-icon-clear:after{content:"";width:1px;height:7px;display:block;background-color:#fff;position:absolute;top:3.5px;left:6.5px;-webkit-transform:rotate(90deg);transform:rotate(90deg)}@media(any-hover:hover){.vtree-tree-drop__display-input:hover .vtree-tree-drop__display-icon-clear{display:block}}.vtree-tree-drop__dropdown{position:absolute;top:-999px;left:-999px;-webkit-box-shadow:0 1px 6px rgba(0,0,0,.2);box-shadow:0 1px 6px #0003;border-radius:4px;margin:5px 0;padding:5px 0;-webkit-transform-origin:center top 0px;transform-origin:center top 0px;background-color:#fff;z-index:9999}.vtree-tree-drop__dropdown .vtree-tree-search__search{border-bottom:1px solid #dcdee2;padding-bottom:5px;height:38px}.vtree-tree-drop__dropdown .vtree-tree-search__tree-wrapper{padding-top:5px}.vtree-dropdown-enter-from,.vtree-dropdown-leave-to{opacity:0;-webkit-transform:scaleY(.8);transform:scaleY(.8)}.vtree-dropdown-enter-active,.vtree-dropdown-leave-active{-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s}.file-search[data-v-035db611]{flex:0 0 auto;padding:8px 9px;border-bottom:1px solid #dfe3e8;box-sizing:border-box;background:#fff}.file-search__input[data-v-035db611]{width:100%;height:32px;padding:4px 9px;border:1px solid #cbd2d9;border-radius:4px;box-sizing:border-box;color:#252a31;background:#fff;font:inherit;font-size:13px;letter-spacing:0;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.file-search__input[data-v-035db611]::placeholder{color:#8a929c}.file-search__input[data-v-035db611]:hover{border-color:#7aaed8}.file-search__input[data-v-035db611]:focus{border-color:#2979b8;box-shadow:0 0 0 2px #2979b829}.file-search__input[data-v-035db611]::-webkit-search-cancel-button{cursor:pointer}.file-explore-wrap[data-v-70ab28a6]{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:#fff}.file-tree[data-v-70ab28a6]{flex:1 1 0;width:100%;height:0;min-height:0;overflow:hidden;color:#252a31;font-size:13px}.file-tree-node[data-v-70ab28a6]{display:flex;align-items:center;width:100%;min-width:0;padding-right:8px;box-sizing:border-box;font-size:14px}.file-tree-node .file-tree-node__icon[data-v-70ab28a6]{width:16px;height:16px;margin-right:7px;flex:0 0 16px}.file-tree-node .file-tree-node__label[data-v-70ab28a6]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title{min-width:0;flex:1;overflow:hidden;cursor:pointer;margin-left:0;padding-left:2px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree-node__title_selected{color:#1261a6;background:#e7f2fc}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__empty-text_default{color:#747b85;font-size:13px}.file-explore-wrap[data-v-70ab28a6] .vtree-tree__wrapper .vtree-tree__scroll-area{scrollbar-width:thin}.diff-list-wrap[data-v-9f37abdf]{width:100%;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-gutter:stable;padding:8px;box-sizing:border-box}.diff-list-wrap .file-wrap[data-v-9f37abdf]{height:100%;box-sizing:border-box}.diff-list-wrap .file-wrap--selected[data-v-9f37abdf] .diff-viewer-wrap{border-color:#1677ff}.diff-files-wrap[data-v-1a22123f]{width:100%;height:100%;display:flex;flex-direction:column}.diff-files-wrap .content-wrap[data-v-1a22123f]{flex:1;min-height:0;display:flex;overflow:hidden}.diff-files-wrap .content-wrap .file-explore[data-v-1a22123f]{width:300px;min-width:220px;max-width:40%;flex:0 0 300px;border-right:1px solid #dfe3e8;box-sizing:border-box}.diff-files-wrap .content-wrap .filelist-viewer-wrap[data-v-1a22123f]{min-width:0;flex:1;overflow:hidden}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function et(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue=process.env.NODE_ENV!=="production"?Object.freeze({}):{},Ls=process.env.NODE_ENV!=="production"?Object.freeze([]):[],ke=()=>{},Ms=()=>!1,xn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Or=e=>e.startsWith("onUpdate:"),oe=Object.assign,Pl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lp=Object.prototype.hasOwnProperty,ve=(e,t)=>lp.call(e,t),K=Array.isArray,cs=e=>si(e)==="[object Map]",Ss=e=>si(e)==="[object Set]",Wa=e=>si(e)==="[object Date]",ap=e=>si(e)==="[object RegExp]",Q=e=>typeof e=="function",te=e=>typeof e=="string",wt=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",to=e=>(he(e)||Q(e))&&Q(e.then)&&Q(e.catch),Tu=Object.prototype.toString,si=e=>Tu.call(e),Ll=e=>si(e).slice(8,-1),no=e=>si(e)==="[object Object]",so=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,On=et(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vu=et("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),io=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},cp=/-\w/g,De=io(e=>e.replace(cp,t=>t.slice(1).toUpperCase())),up=/\B([A-Z])/g,ut=io(e=>e.replace(up,"-$1").toLowerCase()),an=io(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qt=io(e=>e?`on${an(e)}`:""),gt=(e,t)=>!Object.is(e,t),Hn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Us=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ro=e=>{const t=parseFloat(e);return isNaN(t)?e:t},wr=e=>{const t=te(e)?Number(e):NaN;return isNaN(t)?e:t};let za;const Ui=()=>za||(za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function fp(e,t){return e+JSON.stringify(t,(n,s)=>typeof s=="function"?s.toString():s)}const yi={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]:"CACHED",[-2]:"BAIL"},dp={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},hp="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",pp=et(hp),qa=2;function mp(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let s=e.split(/(\r?\n)/);const i=s.filter((l,a)=>a%2===1);s=s.filter((l,a)=>a%2===0);let r=0;const o=[];for(let l=0;l<s.length;l++)if(r+=s[l].length+(i[l]&&i[l].length||0),r>=t){for(let a=l-qa;a<=l+qa||n>r;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const u=s[a].length,f=i[a]&&i[a].length||0;if(a===l){const d=t-(r-(u+f)),h=Math.max(1,n>r?u-d:n-t);o.push(" | "+" ".repeat(d)+"^".repeat(h))}else if(a>l){if(n>r){const d=Math.max(Math.min(n-r,u),1);o.push(" | "+"^".repeat(d))}r+=u+f}}break}return o.join(`
|
|
3
|
+
`)}function qe(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=te(s)?ku(s):qe(s);if(i)for(const r in i)t[r]=i[r]}return t}else if(te(e)||he(e))return e}const gp=/;(?![^(]*\))/g,vp=/:([^]+)/,yp=/\/\*[^]*?\*\//g;function ku(e){const t={};return e.replace(yp,"").split(gp).forEach(n=>{if(n){const s=n.split(vp);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ep(e){if(!e)return"";if(te(e))return e;let t="";for(const n in e){const s=e[n];if(te(s)||typeof s=="number"){const i=n.startsWith("--")?n:ut(n);t+=`${i}:${s};`}}return t}function xe(e){let t="";if(te(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=xe(e[n]);s&&(t+=s+" ")}else if(he(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function _p(e){if(!e)return null;let{class:t,style:n}=e;return t&&!te(t)&&(e.class=xe(t)),n&&(e.style=qe(n)),e}const bp="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",Np="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",Sp="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",Op="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Au=et(bp),Iu=et(Np),Mu=et(Sp),wp=et(Op),Pu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Cp=et(Pu),Ga=et(Pu+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Fl(e){return!!e||e===""}const Dp=et("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"),xp=et("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 Tp(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Vp=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function kp(e,t){return e.replace(Vp,n=>`\\${n}`)}function Ap(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Yn(e[s],t[s]);return n}function Yn(e,t){if(e===t)return!0;let n=Wa(e),s=Wa(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=wt(e),s=wt(t),n||s)return e===t;if(n=K(e),s=K(t),n||s)return n&&s?Ap(e,t):!1;if(n=he(e),s=he(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),a=t.hasOwnProperty(o);if(l&&!a||!l&&a||!Yn(e[o],t[o]))return!1}}return String(e)===String(t)}function oo(e,t){return e.findIndex(n=>Yn(n,t))}const Lu=e=>!!(e&&e.__v_isRef===!0),sn=e=>te(e)?e:e==null?"":K(e)||he(e)&&(e.toString===Tu||!Q(e.toString))?Lu(e)?sn(e.value):JSON.stringify(e,Fu,2):String(e),Fu=(e,t)=>Lu(t)?Fu(e,t.value):cs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[ko(s,r)+" =>"]=i,n),{})}:Ss(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ko(n))}:wt(t)?ko(t):he(t)&&!K(t)&&!no(t)?String(t):t,ko=(e,t="")=>{var n;return wt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function Ru(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:((typeof e!="number"||!Number.isFinite(e))&&process.env.NODE_ENV!=="production"&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",e),String(e))}function xt(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let at;class Rl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=at,!t&&at&&(this.index=(at.scopes||(at.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=at;try{return at=this,t()}finally{at=n}}else process.env.NODE_ENV!=="production"&&xt("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=at,at=this)}off(){this._on>0&&--this._on===0&&(at=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Ip(e){return new Rl(e)}function $u(){return at}function ju(e,t=!1){at?at.cleanups.push(e):process.env.NODE_ENV!=="production"&&!t&&xt("onScopeDispose() is called when there is no active effect scope to be associated with.")}let Ne;const Ao=new WeakSet;class Di{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,at&&at.active&&at.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ao.has(this)&&(Ao.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ja(this),Ku(this);const t=Ne,n=Ut;Ne=this,Ut=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&Ne!==this&&xt("Active effect was not restored correctly - this is likely a Vue internal bug."),Uu(this),Ne=t,Ut=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hl(t);this.deps=this.depsTail=void 0,Ja(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ao.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qo(this)&&this.run()}get dirty(){return Qo(this)}}let Hu=0,Ei,_i;function Bu(e,t=!1){if(e.flags|=8,t){e.next=_i,_i=e;return}e.next=Ei,Ei=e}function $l(){Hu++}function jl(){if(--Hu>0)return;if(_i){let t=_i;for(_i=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ei;){let t=Ei;for(Ei=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ku(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Uu(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Hl(s),Mp(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Qo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Wu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Wu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xi)||(e.globalVersion=xi,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qo(e))))return;e.flags|=2;const t=e.dep,n=Ne,s=Ut;Ne=e,Ut=!0;try{Ku(e);const i=e.fn(e._value);(t.version===0||gt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Ne=n,Ut=s,Uu(e),e.flags&=-3}}function Hl(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=i),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Hl(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Mp(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function Pp(e,t){e.effect instanceof Di&&(e=e.effect.fn);const n=new Di(e);t&&oe(n,t);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function Lp(e){e.effect.stop()}let Ut=!0;const zu=[];function qt(){zu.push(Ut),Ut=!1}function Gt(){const e=zu.pop();Ut=e===void 0?!0:e}function Ja(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ne;Ne=void 0;try{t()}finally{Ne=n}}}let xi=0;class Fp{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class lo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!Ne||!Ut||Ne===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ne)n=this.activeLink=new Fp(Ne,this),Ne.deps?(n.prevDep=Ne.depsTail,Ne.depsTail.nextDep=n,Ne.depsTail=n):Ne.deps=Ne.depsTail=n,qu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ne.depsTail,n.nextDep=void 0,Ne.depsTail.nextDep=n,Ne.depsTail=n,Ne.deps===n&&(Ne.deps=s)}return process.env.NODE_ENV!=="production"&&Ne.onTrack&&Ne.onTrack(oe({effect:Ne},t)),n}trigger(t){this.version++,xi++,this.notify(t)}notify(t){$l();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(oe({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{jl()}}}function qu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)qu(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const Cr=new WeakMap,us=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),el=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Ti=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function Ue(e,t,n){if(Ut&&Ne){let s=Cr.get(e);s||Cr.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new lo),i.map=s,i.key=n),process.env.NODE_ENV!=="production"?i.track({target:e,type:t,key:n}):i.track()}}function nn(e,t,n,s,i,r){const o=Cr.get(e);if(!o){xi++;return}const l=a=>{a&&(process.env.NODE_ENV!=="production"?a.trigger({target:e,type:t,key:n,newValue:s,oldValue:i,oldTarget:r}):a.trigger())};if($l(),t==="clear")o.forEach(l);else{const a=K(e),c=a&&so(n);if(a&&n==="length"){const u=Number(s);o.forEach((f,d)=>{(d==="length"||d===Ti||!wt(d)&&d>=u)&&l(f)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),c&&l(o.get(Ti)),t){case"add":a?c&&l(o.get("length")):(l(o.get(us)),cs(e)&&l(o.get(el)));break;case"delete":a||(l(o.get(us)),cs(e)&&l(o.get(el)));break;case"set":cs(e)&&l(o.get(us));break}}jl()}function Rp(e,t){const n=Cr.get(e);return n&&n.get(t)}function Ts(e){const t=re(e);return t===e?t:(Ue(t,"iterate",Ti),ot(e)?t:t.map(Jt))}function ao(e){return Ue(e=re(e),"iterate",Ti),e}function Ln(e,t){return Pt(e)?Ws(on(e)?Jt(t):t):Jt(t)}const $p={__proto__:null,[Symbol.iterator](){return Io(this,Symbol.iterator,e=>Ln(this,e))},concat(...e){return Ts(this).concat(...e.map(t=>K(t)?Ts(t):t))},entries(){return Io(this,"entries",e=>(e[1]=Ln(this,e[1]),e))},every(e,t){return pn(this,"every",e,t,void 0,arguments)},filter(e,t){return pn(this,"filter",e,t,n=>n.map(s=>Ln(this,s)),arguments)},find(e,t){return pn(this,"find",e,t,n=>Ln(this,n),arguments)},findIndex(e,t){return pn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return pn(this,"findLast",e,t,n=>Ln(this,n),arguments)},findLastIndex(e,t){return pn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return pn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Mo(this,"includes",e)},indexOf(...e){return Mo(this,"indexOf",e)},join(e){return Ts(this).join(e)},lastIndexOf(...e){return Mo(this,"lastIndexOf",e)},map(e,t){return pn(this,"map",e,t,void 0,arguments)},pop(){return li(this,"pop")},push(...e){return li(this,"push",e)},reduce(e,...t){return Za(this,"reduce",e,t)},reduceRight(e,...t){return Za(this,"reduceRight",e,t)},shift(){return li(this,"shift")},some(e,t){return pn(this,"some",e,t,void 0,arguments)},splice(...e){return li(this,"splice",e)},toReversed(){return Ts(this).toReversed()},toSorted(e){return Ts(this).toSorted(e)},toSpliced(...e){return Ts(this).toSpliced(...e)},unshift(...e){return li(this,"unshift",e)},values(){return Io(this,"values",e=>Ln(this,e))}};function Io(e,t,n){const s=ao(e),i=s[t]();return s!==e&&!ot(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const jp=Array.prototype;function pn(e,t,n,s,i,r){const o=ao(e),l=o!==e&&!ot(e),a=o[t];if(a!==jp[t]){const f=a.apply(e,r);return l?Jt(f):f}let c=n;o!==e&&(l?c=function(f,d){return n.call(this,Ln(e,f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=a.call(o,c,s);return l&&i?i(u):u}function Za(e,t,n,s){const i=ao(e);let r=n;return i!==e&&(ot(e)?n.length>3&&(r=function(o,l,a){return n.call(this,o,l,a,e)}):r=function(o,l,a){return n.call(this,o,Ln(e,l),a,e)}),i[t](r,...s)}function Mo(e,t,n){const s=re(e);Ue(s,"iterate",Ti);const i=s[t](...n);return(i===-1||i===!1)&&vs(n[0])?(n[0]=re(n[0]),s[t](...n)):i}function li(e,t,n=[]){qt(),$l();const s=re(e)[t].apply(e,n);return jl(),Gt(),s}const Hp=et("__proto__,__v_isRef,__isVue"),Gu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(wt));function Bp(e){wt(e)||(e=String(e));const t=re(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Ju{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?tf:ef:r?Qu:Xu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=K(t);if(!i){let a;if(o&&(a=$p[n]))return a;if(n==="hasOwnProperty")return Bp}const l=Reflect.get(t,n,Ie(t)?t:s);if((wt(n)?Gu.has(n):Hp(n))||(i||Ue(t,"get",n),r))return l;if(Ie(l)){const a=o&&so(n)?l:l.value;return i&&he(a)?Vi(a):a}return he(l)?i?Vi(l):ii(l):l}}class Zu extends Ju{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=K(t)&&so(n);if(!this._isShallow){const c=Pt(r);if(!ot(s)&&!Pt(s)&&(r=re(r),s=re(s)),!o&&Ie(r)&&!Ie(s))return c?(process.env.NODE_ENV!=="production"&&xt(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(r.value=s,!0)}const l=o?Number(n)<t.length:ve(t,n),a=Reflect.set(t,n,s,Ie(t)?t:i);return t===re(i)&&(l?gt(s,r)&&nn(t,"set",n,s,r):nn(t,"add",n,s)),a}deleteProperty(t,n){const s=ve(t,n),i=t[n],r=Reflect.deleteProperty(t,n);return r&&s&&nn(t,"delete",n,void 0,i),r}has(t,n){const s=Reflect.has(t,n);return(!wt(n)||!Gu.has(n))&&Ue(t,"has",n),s}ownKeys(t){return Ue(t,"iterate",K(t)?"length":us),Reflect.ownKeys(t)}}class Yu extends Ju{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&xt(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&xt(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Kp=new Zu,Up=new Yu,Wp=new Zu(!0),zp=new Yu(!0),tl=e=>e,nr=e=>Reflect.getPrototypeOf(e);function qp(e,t,n){return function(...s){const i=this.__v_raw,r=re(i),o=cs(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=i[e](...s),u=n?tl:t?Ws:Jt;return!t&&Ue(r,"iterate",a?el:us),oe(Object.create(c),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}}})}}function sr(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";xt(`${an(e)} operation ${n}failed: target is readonly.`,re(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Gp(e,t){const n={get(i){const r=this.__v_raw,o=re(r),l=re(i);e||(gt(i,l)&&Ue(o,"get",i),Ue(o,"get",l));const{has:a}=nr(o),c=t?tl:e?Ws:Jt;if(a.call(o,i))return c(r.get(i));if(a.call(o,l))return c(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Ue(re(i),"iterate",us),i.size},has(i){const r=this.__v_raw,o=re(r),l=re(i);return e||(gt(i,l)&&Ue(o,"has",i),Ue(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=re(l),c=t?tl:e?Ws:Jt;return!e&&Ue(a,"iterate",us),l.forEach((u,f)=>i.call(r,c(u),c(f),o))}};return oe(n,e?{add:sr("add"),set:sr("set"),delete:sr("delete"),clear:sr("clear")}:{add(i){!t&&!ot(i)&&!Pt(i)&&(i=re(i));const r=re(this);return nr(r).has.call(r,i)||(r.add(i),nn(r,"add",i,i)),this},set(i,r){!t&&!ot(r)&&!Pt(r)&&(r=re(r));const o=re(this),{has:l,get:a}=nr(o);let c=l.call(o,i);c?process.env.NODE_ENV!=="production"&&Ya(o,l,i):(i=re(i),c=l.call(o,i));const u=a.call(o,i);return o.set(i,r),c?gt(r,u)&&nn(o,"set",i,r,u):nn(o,"add",i,r),this},delete(i){const r=re(this),{has:o,get:l}=nr(r);let a=o.call(r,i);a?process.env.NODE_ENV!=="production"&&Ya(r,o,i):(i=re(i),a=o.call(r,i));const c=l?l.call(r,i):void 0,u=r.delete(i);return a&&nn(r,"delete",i,void 0,c),u},clear(){const i=re(this),r=i.size!==0,o=process.env.NODE_ENV!=="production"?cs(i)?new Map(i):new Set(i):void 0,l=i.clear();return r&&nn(i,"clear",void 0,void 0,o),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=qp(i,e,t)}),n}function co(e,t){const n=Gp(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(ve(n,i)&&i in s?n:s,i,r)}const Jp={get:co(!1,!1)},Zp={get:co(!1,!0)},Yp={get:co(!0,!1)},Xp={get:co(!0,!0)};function Ya(e,t,n){const s=re(n);if(s!==n&&t.call(e,s)){const i=Ll(e);xt(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="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 Xu=new WeakMap,Qu=new WeakMap,ef=new WeakMap,tf=new WeakMap;function Qp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function em(e){return e.__v_skip||!Object.isExtensible(e)?0:Qp(Ll(e))}function ii(e){return Pt(e)?e:uo(e,!1,Kp,Jp,Xu)}function nf(e){return uo(e,!1,Wp,Zp,Qu)}function Vi(e){return uo(e,!0,Up,Yp,ef)}function Bt(e){return uo(e,!0,zp,Xp,tf)}function uo(e,t,n,s,i){if(!he(e))return process.env.NODE_ENV!=="production"&&xt(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=em(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function on(e){return Pt(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function ot(e){return!!(e&&e.__v_isShallow)}function vs(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function sf(e){return!ve(e,"__v_skip")&&Object.isExtensible(e)&&Us(e,"__v_skip",!0),e}const Jt=e=>he(e)?ii(e):e,Ws=e=>he(e)?Vi(e):e;function Ie(e){return e?e.__v_isRef===!0:!1}function ne(e){return rf(e,!1)}function Un(e){return rf(e,!0)}function rf(e,t){return Ie(e)?e:new tm(e,t)}class tm{constructor(t,n){this.dep=new lo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:Jt(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||ot(t)||Pt(t);t=s?t:re(t),gt(t,n)&&(this._rawValue=t,this._value=s?t:Jt(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function nl(e){e.dep&&(process.env.NODE_ENV!=="production"?e.dep.trigger({target:e,type:"set",key:"value",newValue:e._value}):e.dep.trigger())}function Y(e){return Ie(e)?e.value:e}function nm(e){return Q(e)?e():Y(e)}const sm={get:(e,t,n)=>t==="__v_raw"?e:Y(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ie(i)&&!Ie(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Bl(e){return on(e)?e:new Proxy(e,sm)}class im{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new lo,{get:s,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function of(e){return new im(e)}function lf(e){process.env.NODE_ENV!=="production"&&!vs(e)&&xt("toRefs() expects a reactive object but received a plain one.");const t=K(e)?new Array(e.length):{};for(const n in e)t[n]=af(e,n);return t}class rm{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=re(t);let i=!0,r=t;if(!K(t)||!so(String(n)))do i=!vs(r)||ot(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=Y(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Ie(this._raw[this._key])){const n=this._object[this._key];if(Ie(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Rp(this._raw,this._key)}}class om{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function lm(e,t,n){return Ie(e)?e:Q(e)?new om(e):he(e)&&arguments.length>1?af(e,t,n):ne(e)}function af(e,t,n){return new rm(e,t,n)}class am{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new lo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ne!==this)return Bu(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Wu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&xt("Write operation failed: computed value is readonly")}}function cm(e,t,n=!1){let s,i;Q(e)?s=e:(s=e.get,i=e.set);const r=new am(s,i,n);return process.env.NODE_ENV!=="production"&&t&&!n&&(r.onTrack=t.onTrack,r.onTrigger=t.onTrigger),r}const um={GET:"get",HAS:"has",ITERATE:"iterate"},fm={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ir={},Dr=new WeakMap;let Fn;function dm(){return Fn}function cf(e,t=!1,n=Fn){if(n){let s=Dr.get(n);s||Dr.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&xt("onWatcherCleanup() was called when there was no active watcher to associate with.")}function hm(e,t,n=ue){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=n,c=y=>{(n.onWarn||xt)("Invalid watch source: ",y,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=y=>i?y:ot(y)||i===!1||i===0?Nn(y,1):Nn(y);let f,d,h,m,p=!1,S=!1;if(Ie(e)?(d=()=>e.value,p=ot(e)):on(e)?(d=()=>u(e),p=!0):K(e)?(S=!0,p=e.some(y=>on(y)||ot(y)),d=()=>e.map(y=>{if(Ie(y))return y.value;if(on(y))return u(y);if(Q(y))return a?a(y,2):y();process.env.NODE_ENV!=="production"&&c(y)})):Q(e)?t?d=a?()=>a(e,2):e:d=()=>{if(h){qt();try{h()}finally{Gt()}}const y=Fn;Fn=f;try{return a?a(e,3,[m]):e(m)}finally{Fn=y}}:(d=ke,process.env.NODE_ENV!=="production"&&c(e)),t&&i){const y=d,w=i===!0?1/0:i;d=()=>Nn(y(),w)}const N=$u(),E=()=>{f.stop(),N&&N.active&&Pl(N.effects,f)};if(r&&t){const y=t;t=(...w)=>{y(...w),E()}}let g=S?new Array(e.length).fill(ir):ir;const _=y=>{if(!(!(f.flags&1)||!f.dirty&&!y))if(t){const w=f.run();if(i||p||(S?w.some((P,T)=>gt(P,g[T])):gt(w,g))){h&&h();const P=Fn;Fn=f;try{const T=[w,g===ir?void 0:S&&g[0]===ir?[]:g,m];g=w,a?a(t,3,T):t(...T)}finally{Fn=P}}}else f.run()};return l&&l(_),f=new Di(d),f.scheduler=o?()=>o(_,!1):_,m=y=>cf(y,!1,f),h=f.onStop=()=>{const y=Dr.get(f);if(y){if(a)a(y,4);else for(const w of y)w();Dr.delete(f)}},process.env.NODE_ENV!=="production"&&(f.onTrack=n.onTrack,f.onTrigger=n.onTrigger),t?s?_(!0):g=f.run():o?o(_.bind(null,!0),!0):f.run(),E.pause=f.pause.bind(f),E.resume=f.resume.bind(f),E.stop=E,E}function Nn(e,t=1/0,n){if(t<=0||!he(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ie(e))Nn(e.value,t,n);else if(K(e))for(let s=0;s<e.length;s++)Nn(e[s],t,n);else if(Ss(e)||cs(e))e.forEach(s=>{Nn(s,t,n)});else if(no(e)){for(const s in e)Nn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Nn(e[s],t,n)}return e}const fs=[];function Fs(e){fs.push(e)}function Rs(){fs.pop()}let Po=!1;function k(e,...t){if(Po)return;Po=!0,qt();const n=fs.length?fs[fs.length-1].component:null,s=n&&n.appContext.config.warnHandler,i=pm();if(s)Os(s,n,11,[e+t.map(r=>{var o,l;return(l=(o=r.toString)==null?void 0:o.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,i.map(({vnode:r})=>`at <${Gi(n,r.type)}>`).join(`
|
|
4
4
|
`),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(`
|
|
5
|
-
`,...
|
|
6
|
-
`],...ph(n))}),t}function ph({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${di(e.component,e.type,s)}`,r=">"+n;return e.props?[i,...dh(e.props),r]:[i+r]}function dh(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...pu(s,e[s]))}),n.length>3&&t.push(" ..."),t}function pu(e,t,n){return Y(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:ye(t)?(t=pu(e,Q(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):z(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Q(t),n?t:[`${e}=`,t])}function rl(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?C(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&C(`${t} is NaN - the duration expression might be incorrect.`))}const hh={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"},Tr={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 Un(e,t,n,s){try{return s?e(...s):e()}catch(i){_n(i,t,n)}}function gt(e,t,n,s){if(z(e)){const i=Un(e,t,n,s);return i&&gr(i)&&i.catch(r=>{_n(r,t,n)}),i}if(H(e)){const i=[];for(let r=0;r<e.length;r++)i.push(gt(e[r],t,n,s));return i}else process.env.NODE_ENV!=="production"&&C(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function _n(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ne;if(t){let l=t.parent;const c=t.proxy,f=process.env.NODE_ENV!=="production"?Tr[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let u=0;u<a.length;u++)if(a[u](e,c,f)===!1)return}l=l.parent}if(r){Dt(),Un(r,null,10,[e,c,f]),Vt();return}}mh(e,n,i,s,o)}function mh(e,t,n,s=!0,i=!1){if(process.env.NODE_ENV!=="production"){const r=Tr[t];if(n&&ts(n),C(`Unhandled error${r?` during execution of ${r}`:""}`),n&&ns(),s)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const Ke=[];let Pt=-1;const ss=[];let un=null,Xn=0;const du=Promise.resolve();let Ki=null;const gh=100;function Dr(e){const t=Ki||du;return e?t.then(this?e.bind(this):e):t}function vh(e){let t=Pt+1,n=Ke.length;for(;t<n;){const s=t+n>>>1,i=Ke[s],r=zs(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function Vr(e){if(!(e.flags&1)){const t=zs(e),n=Ke[Ke.length-1];!n||!(e.flags&2)&&t>=zs(n)?Ke.push(e):Ke.splice(vh(t),0,e),e.flags|=1,hu()}}function hu(){Ki||(Ki=du.then(mu))}function as(e){H(e)?ss.push(...e):un&&e.id===-1?un.splice(Xn+1,0,e):e.flags&1||(ss.push(e),e.flags|=1),hu()}function ac(e,t,n=Pt+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<Ke.length;n++){const s=Ke[n];if(s&&s.flags&2){if(e&&s.id!==e.uid||process.env.NODE_ENV!=="production"&&ol(t,s))continue;Ke.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Wi(e){if(ss.length){const t=[...new Set(ss)].sort((n,s)=>zs(n)-zs(s));if(ss.length=0,un){un.push(...t);return}for(un=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Xn=0;Xn<un.length;Xn++){const n=un[Xn];process.env.NODE_ENV!=="production"&&ol(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}un=null,Xn=0}}const zs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mu(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>ol(e,n):ge;try{for(Pt=0;Pt<Ke.length;Pt++){const n=Ke[Pt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Un(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Pt<Ke.length;Pt++){const n=Ke[Pt];n&&(n.flags&=-2)}Pt=-1,Ke.length=0,Wi(e),Ki=null,(Ke.length||ss.length)&&mu(e)}}function ol(e,t){const n=e.get(t)||0;if(n>gh){const s=t.i,i=s&&ps(s.type);return _n(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. 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),!0}return e.set(t,n+1),!1}let ut=!1;const Ai=new Map;process.env.NODE_ENV!=="production"&&(ci().__VUE_HMR_RUNTIME__={createRecord:to(gu),rerender:to(_h),reload:to(Nh)});const Ln=new Map;function Eh(e){const t=e.type.__hmrId;let n=Ln.get(t);n||(gu(t,e.type),n=Ln.get(t)),n.instances.add(e)}function yh(e){Ln.get(e.type.__hmrId).instances.delete(e)}function gu(e,t){return Ln.has(e)?!1:(Ln.set(e,{initialDef:qi(t),instances:new Set}),!0)}function qi(e){return wf(e)?e.__vccOpts:e}function _h(e,t){const n=Ln.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,qi(s.type).render=t),s.renderCache=[],ut=!0,s.job.flags&8||s.update(),ut=!1}))}function Nh(e,t){const n=Ln.get(e);if(!n)return;t=qi(t),uc(n.initialDef,t);const s=[...n.instances];for(let i=0;i<s.length;i++){const r=s[i],o=qi(r.type);let l=Ai.get(o);l||(o!==n.initialDef&&uc(o,t),Ai.set(o,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?Vr(()=>{r.job.flags&8||(ut=!0,r.parent.update(),ut=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(o)}as(()=>{Ai.clear()})}function uc(e,t){ee(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function to(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let yt,Vs=[],_o=!1;function ai(e,...t){yt?yt.emit(e,...t):_o||Vs.push({event:e,args:t})}function ll(e,t){var n,s;yt=e,yt?(yt.enabled=!0,Vs.forEach(({event:i,args:r})=>yt.emit(i,...r)),Vs=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{ll(r,t)}),setTimeout(()=>{yt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,_o=!0,Vs=[])},3e3)):(_o=!0,Vs=[])}function bh(e,t){ai("app:init",e,t,{Fragment:Ne,Text:Lt,Comment:ve,Static:mn})}function Oh(e){ai("app:unmount",e)}const No=cl("component:added"),vu=cl("component:updated"),Sh=cl("component:removed"),wh=e=>{yt&&typeof yt.cleanupBuffer=="function"&&!yt.cleanupBuffer(e)&&Sh(e)};function cl(e){return t=>{ai(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Ch=Eu("perf:start"),Th=Eu("perf:end");function Eu(e){return(t,n,s)=>{ai(e,t.appContext.app,t.uid,t,n,s)}}function Dh(e,t,n){ai("component:emit",e.appContext.app,e,t,n)}let Se=null,xr=null;function Js(e){const t=Se;return Se=e,xr=e&&e.type.__scopeId||null,t}function Vh(e){xr=e}function xh(){xr=null}const Ah=e=>Ar;function Ar(e,t=Se,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Zs(-1);const r=Js(t);let o;try{o=e(...i)}finally{Js(r),s._d&&Zs(1)}return process.env.NODE_ENV!=="production"&&vu(t),o};return s._n=!0,s._c=!0,s._d=!0,s}function yu(e){Ma(e)&&C("Do not use built-in directive ids as custom directive id: "+e)}function al(e,t){if(Se===null)return process.env.NODE_ENV!=="production"&&C("withDirectives can only be used inside render functions."),e;const n=pi(Se),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,c=ne]=t[i];r&&(z(r)&&(r={mounted:r,updated:r}),r.deep&&zt(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function kt(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let c=l.dir[s];c&&(Dt(),gt(c,n,8,[e.el,l,e,t]),Vt())}}function ul(e,t){if(process.env.NODE_ENV!=="production"&&(!Oe||Oe.isMounted)&&C("provide() can only be used inside setup()."),Oe){let n=Oe.provides;const s=Oe.parent&&Oe.parent.provides;s===n&&(n=Oe.provides=Object.create(s)),n[e]=t}}function is(e,t,n=!1){const s=qe();if(s||Mn){let i=Mn?Mn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&z(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&C(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&C("inject() can only be used inside setup() or functional components.")}function Ih(){return!!(qe()||Mn)}const _u=Symbol.for("v-scx"),Nu=()=>{{const e=is(_u);return e||process.env.NODE_ENV!=="production"&&C("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Ph(e,t){return ui(e,null,t)}function kh(e,t){return ui(e,null,process.env.NODE_ENV!=="production"?ee({},t,{flush:"post"}):{flush:"post"})}function bu(e,t){return ui(e,null,process.env.NODE_ENV!=="production"?ee({},t,{flush:"sync"}):{flush:"sync"})}function _t(e,t,n){return process.env.NODE_ENV!=="production"&&!z(t)&&C("`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."),ui(e,t,n)}function ui(e,t,n=ne){const{immediate:s,deep:i,flush:r,once:o}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&C('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&C('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&C('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=ee({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=C);const c=t&&s||!t&&r!=="post";let f;if(fs){if(r==="sync"){const h=Nu();f=h.__watcherHandles||(h.__watcherHandles=[])}else if(!c){const h=()=>{};return h.stop=ge,h.resume=ge,h.pause=ge,h}}const a=Oe;l.call=(h,g,v)=>gt(h,a,g,v);let u=!1;r==="post"?l.scheduler=h=>{we(h,a&&a.suspense)}:r!=="sync"&&(u=!0,l.scheduler=(h,g)=>{g?h():Vr(h)}),l.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,a&&(h.id=a.uid,h.i=a))};const p=ah(e,t,l);return fs&&(f?f.push(p):c&&p()),p}function Mh(e,t,n){const s=this.proxy,i=Y(e)?e.includes(".")?Ou(s,e):()=>s[e]:e.bind(s,s);let r;z(t)?r=t:(r=t.handler,n=t);const o=jn(this),l=ui(i,r.bind(s),n);return o(),l}function Ou(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Su=Symbol("_vte"),wu=e=>e.__isTeleport,Pn=e=>e&&(e.disabled||e.disabled===""),fc=e=>e&&(e.defer||e.defer===""),pc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,bo=(e,t)=>{const n=e&&e.to;if(Y(n))if(t){const s=t(n);return process.env.NODE_ENV!=="production"&&!s&&!Pn(e)&&C(`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.`),s}else return process.env.NODE_ENV!=="production"&&C("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!Pn(e)&&C(`Invalid Teleport target: ${n}`),n},Cu={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,c,f){const{mc:a,pc:u,pbc:p,o:{insert:h,querySelector:g,createText:v,createComment:D}}=f,V=Pn(t.props);let{shapeFlag:N,children:m,dynamicChildren:_}=t;if(process.env.NODE_ENV!=="production"&&ut&&(c=!1,_=null),e==null){const y=t.el=process.env.NODE_ENV!=="production"?D("teleport start"):v(""),T=t.anchor=process.env.NODE_ENV!=="production"?D("teleport end"):v("");h(y,n,s),h(T,n,s);const L=(b,w)=>{N&16&&a(m,b,w,i,r,o,l,c)},x=()=>{const b=t.target=bo(t.props,g),w=Tu(b,t,v,h);b?(o!=="svg"&&pc(b)?o="svg":o!=="mathml"&&dc(b)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(b),V||(L(b,w),Ii(t,!1))):process.env.NODE_ENV!=="production"&&!V&&C("Invalid Teleport target on mount:",b,`(${typeof b})`)};V&&(L(n,T),Ii(t,!0)),fc(t.props)?(t.el.__isMounted=!1,we(()=>{x(),delete t.el.__isMounted},r)):x()}else{if(fc(t.props)&&e.el.__isMounted===!1){we(()=>{Cu.process(e,t,n,s,i,r,o,l,c,f)},r);return}t.el=e.el,t.targetStart=e.targetStart;const y=t.anchor=e.anchor,T=t.target=e.target,L=t.targetAnchor=e.targetAnchor,x=Pn(e.props),b=x?n:T,w=x?y:L;if(o==="svg"||pc(T)?o="svg":(o==="mathml"||dc(T))&&(o="mathml"),_?(p(e.dynamicChildren,_,b,i,r,o,l),Ls(e,t,process.env.NODE_ENV==="production")):c||u(e,t,b,w,i,r,o,l,!1),V)x?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):bi(t,n,y,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=bo(t.props,g);M?bi(t,M,null,f,0):process.env.NODE_ENV!=="production"&&C("Invalid Teleport target on update:",T,`(${typeof T})`)}else x&&bi(t,T,L,f,1);Ii(t,V)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:a,target:u,props:p}=e;if(u&&(i(f),i(a)),r&&i(c),o&16){const h=r||!Pn(p);for(let g=0;g<l.length;g++){const v=l[g];s(v,t,n,h,!!v.dynamicChildren)}}},move:bi,hydrate:Rh};function bi(e,t,n,{o:{insert:s},m:i},r=2){r===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:f,props:a}=e,u=r===2;if(u&&s(o,t,n),(!u||Pn(a))&&c&16)for(let p=0;p<f.length;p++)i(f[p],t,n,2);u&&s(l,t,n)}function Rh(e,t,n,s,i,r,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:f,createText:a}},u){function p(v,D,V,N){D.anchor=u(o(v),D,l(v),n,s,i,r),D.targetStart=V,D.targetAnchor=N}const h=t.target=bo(t.props,c),g=Pn(t.props);if(h){const v=h._lpa||h.firstChild;if(t.shapeFlag&16)if(g)p(e,t,v,v&&o(v));else{t.anchor=o(e);let D=v;for(;D;){if(D&&D.nodeType===8){if(D.data==="teleport start anchor")t.targetStart=D;else if(D.data==="teleport anchor"){t.targetAnchor=D,h._lpa=t.targetAnchor&&o(t.targetAnchor);break}}D=o(D)}t.targetAnchor||Tu(h,t,a,f),u(v&&o(v),t,h,n,s,i,r)}Ii(t,g)}else g&&t.shapeFlag&16&&p(e,t,e,o(e));return t.anchor&&o(t.anchor)}const $h=Cu;function Ii(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Tu(e,t,n,s){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Su]=r,e&&(s(i,e),s(r,e)),r}const qt=Symbol("_leaveCb"),Oi=Symbol("_enterCb");function fl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wn(()=>{e.isMounted=!0}),fi(()=>{e.isUnmounting=!0}),e}const at=[Function,Array],pl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:at,onEnter:at,onAfterEnter:at,onEnterCancelled:at,onBeforeLeave:at,onLeave:at,onAfterLeave:at,onLeaveCancelled:at,onBeforeAppear:at,onAppear:at,onAfterAppear:at,onAppearCancelled:at},Du=e=>{const t=e.subTree;return t.component?Du(t.component):t},Lh={name:"BaseTransition",props:pl,setup(e,{slots:t}){const n=qe(),s=fl();return()=>{const i=t.default&&Ir(t.default(),!0);if(!i||!i.length)return;const r=Vu(i),o=Q(e),{mode:l}=o;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&C(`invalid <transition> mode: ${l}`),s.isLeaving)return no(r);const c=hc(r);if(!c)return no(r);let f=us(c,o,s,n,u=>f=u);c.type!==ve&&en(c,f);let a=n.subTree&&hc(n.subTree);if(a&&a.type!==ve&&!Nt(a,c)&&Du(n).type!==ve){let u=us(a,o,s,n);if(en(a,u),l==="out-in"&&c.type!==ve)return s.isLeaving=!0,u.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,a=void 0},no(r);l==="in-out"&&c.type!==ve?u.delayLeave=(p,h,g)=>{const v=Au(s,a);v[String(a.key)]=a,p[qt]=()=>{h(),p[qt]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{g(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return r}}};function Vu(e){let t=e[0];if(e.length>1){let n=!1;for(const s of e)if(s.type!==ve){if(process.env.NODE_ENV!=="production"&&n){C("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=s,n=!0,process.env.NODE_ENV==="production")break}}return t}const xu=Lh;function Au(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function us(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:p,onLeave:h,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:D,onAppear:V,onAfterAppear:N,onAppearCancelled:m}=t,_=String(e.key),y=Au(n,e),T=(b,w)=>{b&>(b,s,9,w)},L=(b,w)=>{const M=w[1];T(b,w),H(b)?b.every(O=>O.length<=1)&&M():b.length<=1&&M()},x={mode:o,persisted:l,beforeEnter(b){let w=c;if(!n.isMounted)if(r)w=D||c;else return;b[qt]&&b[qt](!0);const M=y[_];M&&Nt(e,M)&&M.el[qt]&&M.el[qt](),T(w,[b])},enter(b){let w=f,M=a,O=u;if(!n.isMounted)if(r)w=V||f,M=N||a,O=m||u;else return;let F=!1;const q=b[Oi]=J=>{F||(F=!0,J?T(O,[b]):T(M,[b]),x.delayedLeave&&x.delayedLeave(),b[Oi]=void 0)};w?L(w,[b,q]):q()},leave(b,w){const M=String(e.key);if(b[Oi]&&b[Oi](!0),n.isUnmounting)return w();T(p,[b]);let O=!1;const F=b[qt]=q=>{O||(O=!0,w(),q?T(v,[b]):T(g,[b]),b[qt]=void 0,y[M]===e&&delete y[M])};y[M]=e,h?L(h,[b,F]):F()},clone(b){const w=us(b,t,n,s,i);return i&&i(w),w}};return x}function no(e){if(Ns(e))return e=vt(e),e.children=null,e}function hc(e){if(!Ns(e))return wu(e.type)&&e.children?Vu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&z(n.default))return n.default()}}function en(e,t){e.shapeFlag&6&&e.component?(e.transition=t,en(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 Ir(e,t=!1,n){let s=[],i=0;for(let r=0;r<e.length;r++){let o=e[r];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===Ne?(o.patchFlag&128&&i++,s=s.concat(Ir(o.children,t,l))):(t||o.type!==ve)&&s.push(l!=null?vt(o,{key:l}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Kn(e,t){return z(e)?ee({name:e.name},t,{setup:e}):e}function Fh(){const e=qe();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:(process.env.NODE_ENV!=="production"&&C("useId() is called when there is no active component instance to be associated with."),"")}function dl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Oo=new WeakSet;function jh(e){const t=qe(),n=Qn(null);if(t){const i=t.refs===ne?t.refs={}:t.refs;let r;process.env.NODE_ENV!=="production"&&(r=Object.getOwnPropertyDescriptor(i,e))&&!r.configurable?C(`useTemplateRef('${e}') already exists.`):Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}else process.env.NODE_ENV!=="production"&&C("useTemplateRef() is called when there is no active component instance to be associated with.");const s=process.env.NODE_ENV!=="production"?Gs(n):n;return process.env.NODE_ENV!=="production"&&Oo.add(s),s}const Gi=new WeakMap;function rs(e,t,n,s,i=!1){if(H(e)){e.forEach((v,D)=>rs(v,t&&(H(t)?t[D]:t),n,s,i));return}if(Xt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&rs(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?pi(s.component):s.el,o=i?null:r,{i:l,r:c}=e;if(process.env.NODE_ENV!=="production"&&!l){C("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const f=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,u=l.setupState,p=Q(u),h=u===ne?Zn:v=>process.env.NODE_ENV!=="production"&&(re(p,v)&&!ye(p[v])&&C(`Template ref "${v}" used on a non-ref value. It will not work in the production build.`),Oo.has(p[v]))?!1:re(p,v),g=v=>process.env.NODE_ENV==="production"||!Oo.has(v);if(f!=null&&f!==c){if(mc(t),Y(f))a[f]=null,h(f)&&(u[f]=null);else if(ye(f)){g(f)&&(f.value=null);const v=t;v.k&&(a[v.k]=null)}}if(z(c))Un(c,l,12,[o,a]);else{const v=Y(c),D=ye(c);if(v||D){const V=()=>{if(e.f){const N=v?h(c)?u[c]:a[c]:g(c)||!e.k?c.value:a[e.k];if(i)H(N)&&Xo(N,r);else if(H(N))N.includes(r)||N.push(r);else if(v)a[c]=[r],h(c)&&(u[c]=a[c]);else{const m=[r];g(c)&&(c.value=m),e.k&&(a[e.k]=m)}}else v?(a[c]=o,h(c)&&(u[c]=o)):D?(g(c)&&(c.value=o),e.k&&(a[e.k]=o)):process.env.NODE_ENV!=="production"&&C("Invalid template ref type:",c,`(${typeof c})`)};if(o){const N=()=>{V(),Gi.delete(e)};N.id=-1,Gi.set(e,N),we(N,n)}else mc(e),V()}else process.env.NODE_ENV!=="production"&&C("Invalid template ref type:",c,`(${typeof c})`)}}function mc(e){const t=Gi.get(e);t&&(t.flags|=8,Gi.delete(e))}let gc=!1;const Nn=()=>{gc||(console.error("Hydration completed but contains mismatches."),gc=!0)},Hh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Bh=e=>e.namespaceURI.includes("MathML"),Si=e=>{if(e.nodeType===1){if(Hh(e))return"svg";if(Bh(e))return"mathml"}},Cn=e=>e.nodeType===8;function Uh(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(m,_)=>{if(!_.hasChildNodes()){process.env.NODE_ENV!=="production"&&C("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,m,_),Wi(),_._vnode=m;return}u(_.firstChild,m,null,null,null),Wi(),_._vnode=m},u=(m,_,y,T,L,x=!1)=>{x=x||!!_.dynamicChildren;const b=Cn(m)&&m.data==="[",w=()=>v(m,_,y,T,L,b),{type:M,ref:O,shapeFlag:F,patchFlag:q}=_;let J=m.nodeType;_.el=m,process.env.NODE_ENV!=="production"&&(ls(m,"__vnode",_,!0),ls(m,"__vueParentComponent",y,!0)),q===-2&&(x=!1,_.dynamicChildren=null);let K=null;switch(M){case Lt:J!==3?_.children===""?(c(_.el=i(""),o(m),m),K=m):K=w():(m.data!==_.children&&(process.env.NODE_ENV!=="production"&&C("Hydration text mismatch in",m.parentNode,`
|
|
7
|
-
- rendered on server: ${JSON.stringify(
|
|
8
|
-
- expected on client: ${JSON.stringify(_.children)}`),
|
|
9
|
-
Server rendered element contains more child nodes than client vdom.`),le=!0),
|
|
10
|
-
`&&(
|
|
11
|
-
`)&&(
|
|
5
|
+
`,...mm(i)),console.warn(...r)}Gt(),Po=!1}function pm(){let e=fs[fs.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 s=e.component&&e.component.parent;e=s&&s.vnode}return t}function mm(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
|
|
6
|
+
`],...gm(n))}),t}function gm({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,i=` at <${Gi(e.component,e.type,s)}`,r=">"+n;return e.props?[i,...vm(e.props),r]:[i+r]}function vm(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...uf(s,e[s]))}),n.length>3&&t.push(" ..."),t}function uf(e,t,n){return te(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Ie(t)?(t=uf(e,re(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Q(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=re(t),n?t:[`${e}=`,t])}function Kl(e,t){process.env.NODE_ENV!=="production"&&e!==void 0&&(typeof e!="number"?k(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&k(`${t} is NaN - the duration expression might be incorrect.`))}const ym={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"},fo={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 Os(e,t,n,s){try{return s?e(...s):e()}catch(i){es(i,t,n)}}function Lt(e,t,n,s){if(Q(e)){const i=Os(e,t,n,s);return i&&to(i)&&i.catch(r=>{es(r,t,n)}),i}if(K(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Lt(e[r],t,n,s));return i}else process.env.NODE_ENV!=="production"&&k(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function es(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ue;if(t){let l=t.parent;const a=t.proxy,c=process.env.NODE_ENV!=="production"?fo[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(r){qt(),Os(r,null,10,[e,a,c]),Gt();return}}Em(e,n,i,s,o)}function Em(e,t,n,s=!0,i=!1){if(process.env.NODE_ENV!=="production"){const r=fo[t];if(n&&Fs(n),k(`Unhandled error${r?` during execution of ${r}`:""}`),n&&Rs(),s)throw e;console.error(e)}else{if(i)throw e;console.error(e)}}const vt=[];let Yt=-1;const $s=[];let Rn=null,Is=0;const ff=Promise.resolve();let xr=null;const _m=100;function Xn(e){const t=xr||ff;return e?t.then(this?e.bind(this):e):t}function bm(e){let t=Yt+1,n=vt.length;for(;t<n;){const s=t+n>>>1,i=vt[s],r=ki(i);r<e||r===e&&i.flags&2?t=s+1:n=s}return t}function ho(e){if(!(e.flags&1)){const t=ki(e),n=vt[vt.length-1];!n||!(e.flags&2)&&t>=ki(n)?vt.push(e):vt.splice(bm(t),0,e),e.flags|=1,df()}}function df(){xr||(xr=ff.then(hf))}function zs(e){K(e)?$s.push(...e):Rn&&e.id===-1?Rn.splice(Is+1,0,e):e.flags&1||($s.push(e),e.flags|=1),df()}function Xa(e,t,n=Yt+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<vt.length;n++){const s=vt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid||process.env.NODE_ENV!=="production"&&Ul(t,s))continue;vt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Tr(e){if($s.length){const t=[...new Set($s)].sort((n,s)=>ki(n)-ki(s));if($s.length=0,Rn){Rn.push(...t);return}for(Rn=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Is=0;Is<Rn.length;Is++){const n=Rn[Is];process.env.NODE_ENV!=="production"&&Ul(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}Rn=null,Is=0}}const ki=e=>e.id==null?e.flags&2?-1:1/0:e.id;function hf(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Ul(e,n):ke;try{for(Yt=0;Yt<vt.length;Yt++){const n=vt[Yt];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Os(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Yt<vt.length;Yt++){const n=vt[Yt];n&&(n.flags&=-2)}Yt=-1,vt.length=0,Tr(e),xr=null,(vt.length||$s.length)&&hf(e)}}function Ul(e,t){const n=e.get(t)||0;if(n>_m){const s=t.i,i=s&&Js(s.type);return es(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. 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),!0}return e.set(t,n+1),!1}let At=!1;const pr=new Map;process.env.NODE_ENV!=="production"&&(Ui().__VUE_HMR_RUNTIME__={createRecord:Lo(pf),rerender:Lo(Om),reload:Lo(wm)});const ys=new Map;function Nm(e){const t=e.type.__hmrId;let n=ys.get(t);n||(pf(t,e.type),n=ys.get(t)),n.instances.add(e)}function Sm(e){ys.get(e.type.__hmrId).instances.delete(e)}function pf(e,t){return ys.has(e)?!1:(ys.set(e,{initialDef:Vr(t),instances:new Set}),!0)}function Vr(e){return bd(e)?e.__vccOpts:e}function Om(e,t){const n=ys.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,Vr(s.type).render=t),s.renderCache=[],At=!0,s.job.flags&8||s.update(),At=!1}))}function wm(e,t){const n=ys.get(e);if(!n)return;t=Vr(t),Qa(n.initialDef,t);const s=[...n.instances];for(let i=0;i<s.length;i++){const r=s[i],o=Vr(r.type);let l=pr.get(o);l||(o!==n.initialDef&&Qa(o,t),pr.set(o,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(t.styles),l.delete(r)):r.parent?ho(()=>{r.job.flags&8||(At=!0,r.parent.update(),At=!1,l.delete(r))}):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(o)}zs(()=>{pr.clear()})}function Qa(e,t){oe(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Lo(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let jt,hi=[],sl=!1;function Wi(e,...t){jt?jt.emit(e,...t):sl||hi.push({event:e,args:t})}function Wl(e,t){var n,s;jt=e,jt?(jt.enabled=!0,hi.forEach(({event:i,args:r})=>jt.emit(i,...r)),hi=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Wl(r,t)}),setTimeout(()=>{jt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sl=!0,hi=[])},3e3)):(sl=!0,hi=[])}function Cm(e,t){Wi("app:init",e,t,{Fragment:we,Text:ln,Comment:Ae,Static:qn})}function Dm(e){Wi("app:unmount",e)}const il=zl("component:added"),mf=zl("component:updated"),xm=zl("component:removed"),Tm=e=>{jt&&typeof jt.cleanupBuffer=="function"&&!jt.cleanupBuffer(e)&&xm(e)};function zl(e){return t=>{Wi(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Vm=gf("perf:start"),km=gf("perf:end");function gf(e){return(t,n,s)=>{Wi(e,t.appContext.app,t.uid,t,n,s)}}function Am(e,t,n){Wi("component:emit",e.appContext.app,e,t,n)}let Re=null,po=null;function Ai(e){const t=Re;return Re=e,po=e&&e.type.__scopeId||null,t}function Im(e){po=e}function Mm(){po=null}const Pm=e=>rn;function rn(e,t=Re,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&Pi(-1);const r=Ai(t);let o;try{o=e(...i)}finally{Ai(r),s._d&&Pi(1)}return process.env.NODE_ENV!=="production"&&mf(t),o};return s._n=!0,s._c=!0,s._d=!0,s}function vf(e){Vu(e)&&k("Do not use built-in directive ids as custom directive id: "+e)}function zn(e,t){if(Re===null)return process.env.NODE_ENV!=="production"&&k("withDirectives can only be used inside render functions."),e;const n=qi(Re),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,a=ue]=t[i];r&&(Q(r)&&(r={mounted:r,updated:r}),r.deep&&Nn(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:l,modifiers:a}))}return e}function Xt(e,t,n,s){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let a=l.dir[s];a&&(qt(),Lt(a,n,8,[e.el,l,e,t]),Gt())}}function ql(e,t){if(process.env.NODE_ENV!=="production"&&(!Fe||Fe.isMounted)&&k("provide() can only be used inside setup()."),Fe){let n=Fe.provides;const s=Fe.parent&&Fe.parent.provides;s===n&&(n=Fe.provides=Object.create(s)),n[e]=t}}function js(e,t,n=!1){const s=ze();if(s||ms){let i=ms?ms._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Q(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&k(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&k("inject() can only be used inside setup() or functional components.")}function Lm(){return!!(ze()||ms)}const yf=Symbol.for("v-scx"),Ef=()=>{{const e=js(yf);return e||process.env.NODE_ENV!=="production"&&k("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Fm(e,t){return zi(e,null,t)}function Rm(e,t){return zi(e,null,process.env.NODE_ENV!=="production"?oe({},t,{flush:"post"}):{flush:"post"})}function _f(e,t){return zi(e,null,process.env.NODE_ENV!=="production"?oe({},t,{flush:"sync"}):{flush:"sync"})}function ft(e,t,n){return process.env.NODE_ENV!=="production"&&!Q(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."),zi(e,t,n)}function zi(e,t,n=ue){const{immediate:s,deep:i,flush:r,once:o}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&k('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&k('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&k('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=oe({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=k);const a=t&&s||!t&&r!=="post";let c;if(Gs){if(r==="sync"){const h=Ef();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=ke,h.resume=ke,h.pause=ke,h}}const u=Fe;l.call=(h,m,p)=>Lt(h,u,m,p);let f=!1;r==="post"?l.scheduler=h=>{He(h,u&&u.suspense)}:r!=="sync"&&(f=!0,l.scheduler=(h,m)=>{m?h():ho(h)}),l.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const d=hm(e,t,l);return Gs&&(c?c.push(d):a&&d()),d}function $m(e,t,n){const s=this.proxy,i=te(e)?e.includes(".")?bf(s,e):()=>s[e]:e.bind(s,s);let r;Q(t)?r=t:(r=t.handler,n=t);const o=bs(this),l=zi(i,r.bind(s),n);return o(),l}function bf(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const Nf=Symbol("_vte"),Sf=e=>e.__isTeleport,ds=e=>e&&(e.disabled||e.disabled===""),ec=e=>e&&(e.defer||e.defer===""),tc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,nc=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,rl=(e,t)=>{const n=e&&e.to;if(te(n))if(t){const s=t(n);return process.env.NODE_ENV!=="production"&&!s&&!ds(e)&&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.`),s}else return process.env.NODE_ENV!=="production"&&k("Current renderer does not support string target for Teleports. (missing querySelector renderer option)"),null;else return process.env.NODE_ENV!=="production"&&!n&&!ds(e)&&k(`Invalid Teleport target: ${n}`),n},Of={name:"Teleport",__isTeleport:!0,process(e,t,n,s,i,r,o,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:p,createComment:S}}=c,N=ds(t.props);let{shapeFlag:E,children:g,dynamicChildren:_}=t;if(process.env.NODE_ENV!=="production"&&At&&(a=!1,_=null),e==null){const y=t.el=process.env.NODE_ENV!=="production"?S("teleport start"):p(""),w=t.anchor=process.env.NODE_ENV!=="production"?S("teleport end"):p("");h(y,n,s),h(w,n,s);const P=(O,D)=>{E&16&&u(g,O,D,i,r,o,l,a)},T=()=>{const O=t.target=rl(t.props,m),D=wf(O,t,p,h);O?(o!=="svg"&&tc(O)?o="svg":o!=="mathml"&&nc(O)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(O),N||(P(O,D),mr(t,!1))):process.env.NODE_ENV!=="production"&&!N&&k("Invalid Teleport target on mount:",O,`(${typeof O})`)};N&&(P(n,w),mr(t,!0)),ec(t.props)?(t.el.__isMounted=!1,He(()=>{T(),delete t.el.__isMounted},r)):T()}else{if(ec(t.props)&&e.el.__isMounted===!1){He(()=>{Of.process(e,t,n,s,i,r,o,l,a,c)},r);return}t.el=e.el,t.targetStart=e.targetStart;const y=t.anchor=e.anchor,w=t.target=e.target,P=t.targetAnchor=e.targetAnchor,T=ds(e.props),O=T?n:w,D=T?y:P;if(o==="svg"||tc(w)?o="svg":(o==="mathml"||nc(w))&&(o="mathml"),_?(d(e.dynamicChildren,_,O,i,r,o,l),Ni(e,t,process.env.NODE_ENV==="production")):a||f(e,t,O,D,i,r,o,l,!1),N)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rr(t,n,y,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const I=t.target=rl(t.props,m);I?rr(t,I,null,c,0):process.env.NODE_ENV!=="production"&&k("Invalid Teleport target on update:",w,`(${typeof w})`)}else T&&rr(t,w,P,c,1);mr(t,N)}},remove(e,t,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(i(c),i(u)),r&&i(a),o&16){const h=r||!ds(d);for(let m=0;m<l.length;m++){const p=l[m];s(p,t,n,h,!!p.dynamicChildren)}}},move:rr,hydrate:jm};function rr(e,t,n,{o:{insert:s},m:i},r=2){r===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:a,children:c,props:u}=e,f=r===2;if(f&&s(o,t,n),(!f||ds(u))&&a&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&s(l,t,n)}function jm(e,t,n,s,i,r,{o:{nextSibling:o,parentNode:l,querySelector:a,insert:c,createText:u}},f){function d(p,S,N,E){S.anchor=f(o(p),S,l(p),n,s,i,r),S.targetStart=N,S.targetAnchor=E}const h=t.target=rl(t.props,a),m=ds(t.props);if(h){const p=h._lpa||h.firstChild;if(t.shapeFlag&16)if(m)d(e,t,p,p&&o(p));else{t.anchor=o(e);let S=p;for(;S;){if(S&&S.nodeType===8){if(S.data==="teleport start anchor")t.targetStart=S;else if(S.data==="teleport anchor"){t.targetAnchor=S,h._lpa=t.targetAnchor&&o(t.targetAnchor);break}}S=o(S)}t.targetAnchor||wf(h,t,u,c),f(p&&o(p),t,h,n,s,i,r)}mr(t,m)}else m&&t.shapeFlag&16&&d(e,t,e,o(e));return t.anchor&&o(t.anchor)}const Hm=Of;function mr(e,t){const n=e.ctx;if(n&&n.ut){let s,i;for(t?(s=e.el,i=e.anchor):(s=e.targetStart,i=e.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function wf(e,t,n,s){const i=t.targetStart=n(""),r=t.targetAnchor=n("");return i[Nf]=r,e&&(s(i,e),s(r,e)),r}const _n=Symbol("_leaveCb"),or=Symbol("_enterCb");function Gl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return un(()=>{e.isMounted=!0}),ws(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],Jl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},Cf=e=>{const t=e.subTree;return t.component?Cf(t.component):t},Bm={name:"BaseTransition",props:Jl,setup(e,{slots:t}){const n=ze(),s=Gl();return()=>{const i=t.default&&mo(t.default(),!0);if(!i||!i.length)return;const r=Df(i),o=re(e),{mode:l}=o;if(process.env.NODE_ENV!=="production"&&l&&l!=="in-out"&&l!=="out-in"&&l!=="default"&&k(`invalid <transition> mode: ${l}`),s.isLeaving)return Fo(r);const a=sc(r);if(!a)return Fo(r);let c=qs(a,o,s,n,f=>c=f);a.type!==Ae&&Tn(a,c);let u=n.subTree&&sc(n.subTree);if(u&&u.type!==Ae&&!Ht(u,a)&&Cf(n).type!==Ae){let f=qs(u,o,s,n);if(Tn(u,f),l==="out-in"&&a.type!==Ae)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Fo(r);l==="in-out"&&a.type!==Ae?f.delayLeave=(d,h,m)=>{const p=Tf(s,u);p[String(u.key)]=u,d[_n]=()=>{h(),d[_n]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Df(e){let t=e[0];if(e.length>1){let n=!1;for(const s of e)if(s.type!==Ae){if(process.env.NODE_ENV!=="production"&&n){k("<transition> can only be used on a single element or component. Use <transition-group> for lists.");break}if(t=s,n=!0,process.env.NODE_ENV==="production")break}}return t}const xf=Bm;function Tf(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function qs(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:S,onAppear:N,onAfterAppear:E,onAppearCancelled:g}=t,_=String(e.key),y=Tf(n,e),w=(O,D)=>{O&&Lt(O,s,9,D)},P=(O,D)=>{const I=D[1];w(O,D),K(O)?O.every(C=>C.length<=1)&&I():O.length<=1&&I()},T={mode:o,persisted:l,beforeEnter(O){let D=a;if(!n.isMounted)if(r)D=S||a;else return;O[_n]&&O[_n](!0);const I=y[_];I&&Ht(e,I)&&I.el[_n]&&I.el[_n](),w(D,[O])},enter(O){let D=c,I=u,C=f;if(!n.isMounted)if(r)D=N||c,I=E||u,C=g||f;else return;let R=!1;const G=O[or]=z=>{R||(R=!0,z?w(C,[O]):w(I,[O]),T.delayedLeave&&T.delayedLeave(),O[or]=void 0)};D?P(D,[O,G]):G()},leave(O,D){const I=String(e.key);if(O[or]&&O[or](!0),n.isUnmounting)return D();w(d,[O]);let C=!1;const R=O[_n]=G=>{C||(C=!0,D(),G?w(p,[O]):w(m,[O]),O[_n]=void 0,y[I]===e&&delete y[I])};y[I]=e,h?P(h,[O,R]):R()},clone(O){const D=qs(O,t,n,s,i);return i&&i(D),D}};return T}function Fo(e){if(ri(e))return e=Ft(e),e.children=null,e}function sc(e){if(!ri(e))return Sf(e.type)&&e.children?Df(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function Tn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Tn(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 mo(e,t=!1,n){let s=[],i=0;for(let r=0;r<e.length;r++){let o=e[r];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===we?(o.patchFlag&128&&i++,s=s.concat(mo(o.children,t,l))):(t||o.type!==Ae)&&s.push(l!=null?Ft(o,{key:l}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function pt(e,t){return Q(e)?oe({name:e.name},t,{setup:e}):e}function Km(){const e=ze();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:(process.env.NODE_ENV!=="production"&&k("useId() is called when there is no active component instance to be associated with."),"")}function Zl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const ol=new WeakSet;function Um(e){const t=ze(),n=Un(null);if(t){const i=t.refs===ue?t.refs={}:t.refs;let r;process.env.NODE_ENV!=="production"&&(r=Object.getOwnPropertyDescriptor(i,e))&&!r.configurable?k(`useTemplateRef('${e}') already exists.`):Object.defineProperty(i,e,{enumerable:!0,get:()=>n.value,set:o=>n.value=o})}else process.env.NODE_ENV!=="production"&&k("useTemplateRef() is called when there is no active component instance to be associated with.");const s=process.env.NODE_ENV!=="production"?Vi(n):n;return process.env.NODE_ENV!=="production"&&ol.add(s),s}const kr=new WeakMap;function Hs(e,t,n,s,i=!1){if(K(e)){e.forEach((p,S)=>Hs(p,t&&(K(t)?t[S]:t),n,s,i));return}if(wn(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Hs(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?qi(s.component):s.el,o=i?null:r,{i:l,r:a}=e;if(process.env.NODE_ENV!=="production"&&!l){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,u=l.refs===ue?l.refs={}:l.refs,f=l.setupState,d=re(f),h=f===ue?Ms:p=>process.env.NODE_ENV!=="production"&&(ve(d,p)&&!Ie(d[p])&&k(`Template ref "${p}" used on a non-ref value. It will not work in the production build.`),ol.has(d[p]))?!1:ve(d,p),m=p=>process.env.NODE_ENV==="production"||!ol.has(p);if(c!=null&&c!==a){if(ic(t),te(c))u[c]=null,h(c)&&(f[c]=null);else if(Ie(c)){m(c)&&(c.value=null);const p=t;p.k&&(u[p.k]=null)}}if(Q(a))Os(a,l,12,[o,u]);else{const p=te(a),S=Ie(a);if(p||S){const N=()=>{if(e.f){const E=p?h(a)?f[a]:u[a]:m(a)||!e.k?a.value:u[e.k];if(i)K(E)&&Pl(E,r);else if(K(E))E.includes(r)||E.push(r);else if(p)u[a]=[r],h(a)&&(f[a]=u[a]);else{const g=[r];m(a)&&(a.value=g),e.k&&(u[e.k]=g)}}else p?(u[a]=o,h(a)&&(f[a]=o)):S?(m(a)&&(a.value=o),e.k&&(u[e.k]=o)):process.env.NODE_ENV!=="production"&&k("Invalid template ref type:",a,`(${typeof a})`)};if(o){const E=()=>{N(),kr.delete(e)};E.id=-1,kr.set(e,E),He(E,n)}else ic(e),N()}else process.env.NODE_ENV!=="production"&&k("Invalid template ref type:",a,`(${typeof a})`)}}function ic(e){const t=kr.get(e);t&&(t.flags|=8,kr.delete(e))}let rc=!1;const ts=()=>{rc||(console.error("Hydration completed but contains mismatches."),rc=!0)},Wm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",zm=e=>e.namespaceURI.includes("MathML"),lr=e=>{if(e.nodeType===1){if(Wm(e))return"svg";if(zm(e))return"mathml"}},os=e=>e.nodeType===8;function qm(e){const{mt:t,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(g,_)=>{if(!_.hasChildNodes()){process.env.NODE_ENV!=="production"&&k("Attempting to hydrate existing markup but container is empty. Performing full mount instead."),n(null,g,_),Tr(),_._vnode=g;return}f(_.firstChild,g,null,null,null),Tr(),_._vnode=g},f=(g,_,y,w,P,T=!1)=>{T=T||!!_.dynamicChildren;const O=os(g)&&g.data==="[",D=()=>p(g,_,y,w,P,O),{type:I,ref:C,shapeFlag:R,patchFlag:G}=_;let z=g.nodeType;_.el=g,process.env.NODE_ENV!=="production"&&(Us(g,"__vnode",_,!0),Us(g,"__vueParentComponent",y,!0)),G===-2&&(T=!1,_.dynamicChildren=null);let W=null;switch(I){case ln:z!==3?_.children===""?(a(_.el=i(""),o(g),g),W=g):W=D():(g.data!==_.children&&(process.env.NODE_ENV!=="production"&&k("Hydration text mismatch in",g.parentNode,`
|
|
7
|
+
- rendered on server: ${JSON.stringify(g.data)}
|
|
8
|
+
- expected on client: ${JSON.stringify(_.children)}`),ts(),g.data=_.children),W=r(g));break;case Ae:E(g)?(W=r(g),N(_.el=g.content.firstChild,g,y)):z!==8||O?W=D():W=r(g);break;case qn:if(O&&(g=r(g),z=g.nodeType),z===1||z===3){W=g;const J=!_.children.length;for(let H=0;H<_.staticCount;H++)J&&(_.children+=W.nodeType===1?W.outerHTML:W.data),H===_.staticCount-1&&(_.anchor=W),W=r(W);return O?r(W):W}else D();break;case we:O?W=m(g,_,y,w,P,T):W=D();break;default:if(R&1)(z!==1||_.type.toLowerCase()!==g.tagName.toLowerCase())&&!E(g)?W=D():W=d(g,_,y,w,P,T);else if(R&6){_.slotScopeIds=P;const J=o(g);if(O?W=S(g):os(g)&&g.data==="teleport start"?W=S(g,g.data,"teleport end"):W=r(g),t(_,J,null,y,w,lr(J),T),wn(_)&&!_.type.__asyncResolved){let H;O?(H=_e(we),H.anchor=W?W.previousSibling:J.lastChild):H=g.nodeType===3?_s(""):_e("div"),H.el=g,_.component.subTree=H}}else R&64?z!==8?W=D():W=_.type.hydrate(g,_,y,w,P,T,e,h):R&128?W=_.type.hydrate(g,_,y,w,lr(o(g)),P,T,e,f):process.env.NODE_ENV!=="production"&&k("Invalid HostVNode type:",I,`(${typeof I})`)}return C!=null&&Hs(C,null,w,_),W},d=(g,_,y,w,P,T)=>{T=T||!!_.dynamicChildren;const{type:O,props:D,patchFlag:I,shapeFlag:C,dirs:R,transition:G}=_,z=O==="input"||O==="option";if(process.env.NODE_ENV!=="production"||z||I!==-1){R&&Xt(_,null,y,"created");let W=!1;if(E(g)){W=id(null,G)&&y&&y.vnode.props&&y.vnode.props.appear;const H=g.content.firstChild;if(W){const le=H.getAttribute("class");le&&(H.$cls=le),G.beforeEnter(H)}N(H,g,y),_.el=g=H}if(C&16&&!(D&&(D.innerHTML||D.textContent))){let H=h(g.firstChild,_,g,y,w,P,T),le=!1;for(;H;){pi(g,1)||(process.env.NODE_ENV!=="production"&&!le&&(k("Hydration children mismatch on",g,`
|
|
9
|
+
Server rendered element contains more child nodes than client vdom.`),le=!0),ts());const $e=H;H=H.nextSibling,l($e)}}else if(C&8){let H=_.children;H[0]===`
|
|
10
|
+
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(H=H.slice(1));const{textContent:le}=g;le!==H&&le!==H.replace(/\r\n|\r/g,`
|
|
11
|
+
`)&&(pi(g,0)||(process.env.NODE_ENV!=="production"&&k("Hydration text content mismatch on",g,`
|
|
12
12
|
- rendered on server: ${le}
|
|
13
|
-
- expected on client: ${
|
|
14
|
-
Server rendered element contains fewer child nodes than client vdom.`),
|
|
15
|
-
- rendered on server:`,
|
|
16
|
-
- expected on client:`,_.type),
|
|
17
|
-
- rendered on server: ${
|
|
18
|
-
- expected on client: ${
|
|
13
|
+
- expected on client: ${H}`),ts()),g.textContent=_.children)}if(D){if(process.env.NODE_ENV!=="production"||z||!T||I&48){const H=g.tagName.includes("-");for(const le in D)process.env.NODE_ENV!=="production"&&!(R&&R.some($e=>$e.dir.created))&&Gm(g,le,D[le],_,y)&&ts(),(z&&(le.endsWith("value")||le==="indeterminate")||xn(le)&&!On(le)||le[0]==="."||H&&!On(le))&&s(g,le,null,D[le],void 0,y)}else if(D.onClick)s(g,"onClick",null,D.onClick,void 0,y);else if(I&4&&on(D.style))for(const H in D.style)D.style[H]}let J;(J=D&&D.onVnodeBeforeMount)&&Nt(J,y,_),R&&Xt(_,null,y,"beforeMount"),((J=D&&D.onVnodeMounted)||R||W)&&ad(()=>{J&&Nt(J,y,_),W&&G.enter(g),R&&Xt(_,null,y,"mounted")},w)}return g.nextSibling},h=(g,_,y,w,P,T,O)=>{O=O||!!_.dynamicChildren;const D=_.children,I=D.length;let C=!1;for(let R=0;R<I;R++){const G=O?D[R]:D[R]=yt(D[R]),z=G.type===ln;g?(z&&!O&&R+1<I&&yt(D[R+1]).type===ln&&(a(i(g.data.slice(G.children.length)),y,r(g)),g.data=G.children),g=f(g,G,w,P,T,O)):z&&!G.children?a(G.el=i(""),y):(pi(y,1)||(process.env.NODE_ENV!=="production"&&!C&&(k("Hydration children mismatch on",y,`
|
|
14
|
+
Server rendered element contains fewer child nodes than client vdom.`),C=!0),ts()),n(null,G,y,null,w,P,lr(y),T))}return g},m=(g,_,y,w,P,T)=>{const{slotScopeIds:O}=_;O&&(P=P?P.concat(O):O);const D=o(g),I=h(r(g),_,D,y,w,P,T);return I&&os(I)&&I.data==="]"?r(_.anchor=I):(ts(),a(_.anchor=c("]"),D,I),I)},p=(g,_,y,w,P,T)=>{if(pi(g.parentElement,1)||(process.env.NODE_ENV!=="production"&&k(`Hydration node mismatch:
|
|
15
|
+
- rendered on server:`,g,g.nodeType===3?"(text)":os(g)&&g.data==="["?"(start of fragment)":"",`
|
|
16
|
+
- expected on client:`,_.type),ts()),_.el=null,T){const I=S(g);for(;;){const C=r(g);if(C&&C!==I)l(C);else break}}const O=r(g),D=o(g);return l(g),n(null,_,D,O,y,w,lr(D),P),y&&(y.vnode.el=_.el,bo(y,_.el)),O},S=(g,_="[",y="]")=>{let w=0;for(;g;)if(g=r(g),g&&os(g)&&(g.data===_&&w++,g.data===y)){if(w===0)return r(g);w--}return g},N=(g,_,y)=>{const w=_.parentNode;w&&w.replaceChild(g,_);let P=y;for(;P;)P.vnode.el===_&&(P.vnode.el=P.subTree.el=g),P=P.parent},E=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,f]}function Gm(e,t,n,s,i){let r,o,l,a;if(t==="class")e.$cls?(l=e.$cls,delete e.$cls):l=e.getAttribute("class"),a=xe(n),Jm(oc(l||""),oc(a))||(r=2,o="class");else if(t==="style"){l=e.getAttribute("style")||"",a=te(n)?n:Ep(qe(n));const c=lc(l),u=lc(a);if(s.dirs)for(const{dir:f,value:d}of s.dirs)f.name==="show"&&!d&&u.set("display","none");i&&Vf(i,s,u),Zm(c,u)||(r=3,o="style")}else(e instanceof SVGElement&&xp(t)||e instanceof HTMLElement&&(Ga(t)||Dp(t)))&&(Ga(t)?(l=e.hasAttribute(t),a=Fl(n)):n==null?(l=e.hasAttribute(t),a=!1):(e.hasAttribute(t)?l=e.getAttribute(t):t==="value"&&e.tagName==="TEXTAREA"?l=e.value:l=!1,a=Tp(n)?String(n):!1),l!==a&&(r=4,o=t));if(r!=null&&!pi(e,r)){const c=d=>d===!1?"(not rendered)":`${o}="${d}"`,u=`Hydration ${kf[r]} mismatch on`,f=`
|
|
17
|
+
- rendered on server: ${c(l)}
|
|
18
|
+
- expected on client: ${c(a)}
|
|
19
19
|
Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead.
|
|
20
|
-
You should fix the source of the mismatch.`;return
|
|
21
|
-
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.`:"";C(`Failed to resolve ${e.slice(0,-1)}: ${t}${l}`)}return o}else process.env.NODE_ENV!=="production"&&C(`resolve${Ft(e.slice(0,-1))} can only be used in render() or setup().`)}function _c(e,t){return e&&(e[t]||e[pe(t)]||e[Ft(pe(t))])}function Bu(e,t,n,s){let i;const r=n&&n[s],o=H(e);if(o||Y(e)){const l=o&&$t(e);let c=!1,f=!1;l&&(c=!Ie(e),f=mt(e),e=Or(e)),i=new Array(e.length);for(let a=0,u=e.length;a<u;a++)i[a]=t(c?f?cs(xt(e[a])):xt(e[a]):e[a],a,void 0,r&&r[a])}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&C(`The v-for range expect an integer value but got ${e}.`),i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(se(e))if(e[Symbol.iterator])i=Array.from(e,(l,c)=>t(l,c,void 0,r&&r[c]));else{const l=Object.keys(e);i=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const a=l[c];i[c]=t(e[a],a,c,r&&r[c])}}else i=[];return n&&(n[s]=i),i}function am(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(H(s))for(let i=0;i<s.length;i++)e[s[i].name]=s[i].fn;else s&&(e[s.name]=s.key?(...i)=>{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function um(e,t,n={},s,i){if(Se.ce||Se.parent&&Xt(Se.parent)&&Se.parent.ce){const f=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Fe(),Qs(Ne,null,[me("slot",n,s&&s())],f?-2:64)}let r=e[t];process.env.NODE_ENV!=="production"&&r&&r.length>1&&(C("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."),r=()=>[]),r&&r._c&&(r._d=!1),Fe();const o=r&&vl(r(n)),l=n.key||o&&o.key,c=Qs(Ne,{key:(l&&!et(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),r&&r._c&&(r._d=!0),c}function vl(e){return e.some(t=>jt(t)?!(t.type===ve||t.type===Ne&&!vl(t.children)):!0)?e:null}function fm(e,t){const n={};if(process.env.NODE_ENV!=="production"&&!se(e))return C("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Mt(s)]=e[s];return n}const So=e=>e?_f(e)?pi(e):So(e.parent):null,kn=ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?bt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?bt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?bt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?bt(e.refs):e.refs,$parent:e=>So(e.parent),$root:e=>So(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yl(e),$forceUpdate:e=>e.f||(e.f=()=>{Vr(e.update)}),$nextTick:e=>e.n||(e.n=Dr.bind(e.proxy)),$watch:e=>Mh.bind(e)}),El=e=>e==="_"||e==="$",io=(e,t)=>e!==ne&&!e.__isScriptSetup&&re(e,t),$s={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:c}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(io(s,t))return o[t]=1,s[t];if(i!==ne&&re(i,t))return o[t]=2,i[t];if(re(r,t))return o[t]=3,r[t];if(n!==ne&&re(n,t))return o[t]=4,n[t];wo&&(o[t]=0)}}const f=kn[t];let a,u;if(f)return t==="$attrs"?(Te(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Yi()):process.env.NODE_ENV!=="production"&&t==="$slots"&&Te(e,"get",t),f(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ne&&re(n,t))return o[t]=4,n[t];if(u=c.config.globalProperties,re(u,t))return u[t];process.env.NODE_ENV!=="production"&&Se&&(!Y(t)||t.indexOf("__v")!==0)&&(i!==ne&&El(t[0])&&re(i,t)?C(`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===Se&&C(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return io(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&re(i,t)?(C(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==ne&&re(s,t)?(s[t]=n,!0):re(e.props,t)?(process.env.NODE_ENV!=="production"&&C(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&C(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let c;return!!(n[l]||e!==ne&&l[0]!=="$"&&re(e,l)||io(t,l)||re(r,l)||re(s,l)||re(kn,l)||re(i.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&($s.ownKeys=e=>(C("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)));const pm=ee({},$s,{get(e,t){if(t!==Symbol.unscopables)return $s.get(e,t,e)},has(e,t){const n=t[0]!=="_"&&!ld(t);return process.env.NODE_ENV!=="production"&&!n&&$s.has(e,t)&&C(`Property ${JSON.stringify(t)} should not start with _ which is a reserved prefix for Vue internals.`),n}});function dm(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(kn).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>kn[n](e),set:ge})}),t}function hm(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:ge})})}function mm(e){const{ctx:t,setupState:n}=e;Object.keys(Q(n)).forEach(s=>{if(!n.__isScriptSetup){if(El(s[0])){C(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:ge})}})}const qn=e=>C(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function gm(){return process.env.NODE_ENV!=="production"&&qn("defineProps"),null}function vm(){return process.env.NODE_ENV!=="production"&&qn("defineEmits"),null}function Em(e){process.env.NODE_ENV!=="production"&&qn("defineExpose")}function ym(e){process.env.NODE_ENV!=="production"&&qn("defineOptions")}function _m(){return process.env.NODE_ENV!=="production"&&qn("defineSlots"),null}function Nm(){process.env.NODE_ENV!=="production"&&qn("defineModel")}function bm(e,t){return process.env.NODE_ENV!=="production"&&qn("withDefaults"),null}function Om(){return Uu("useSlots").slots}function Sm(){return Uu("useAttrs").attrs}function Uu(e){const t=qe();return process.env.NODE_ENV!=="production"&&!t&&C(`${e}() called without active instance.`),t.setupContext||(t.setupContext=Sf(t))}function Ys(e){return H(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function wm(e,t){const n=Ys(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?H(i)||z(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null?i=n[s]={default:t[s]}:process.env.NODE_ENV!=="production"&&C(`props default key "${s}" has no corresponding declaration.`),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function Cm(e,t){return!e||!t?e||t:H(e)&&H(t)?e.concat(t):ee({},Ys(e),Ys(t))}function Tm(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function Dm(e){const t=qe();process.env.NODE_ENV!=="production"&&!t&&C("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return Po(),gr(n)&&(n=n.catch(s=>{throw jn(t),s})),[n,()=>jn(t)]}function Vm(){const e=Object.create(null);return(t,n)=>{e[n]?C(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let wo=!0;function xm(e){const t=yl(e),n=e.proxy,s=e.ctx;wo=!1,t.beforeCreate&&Nc(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:u,mounted:p,beforeUpdate:h,updated:g,activated:v,deactivated:D,beforeDestroy:V,beforeUnmount:N,destroyed:m,unmounted:_,render:y,renderTracked:T,renderTriggered:L,errorCaptured:x,serverPrefetch:b,expose:w,inheritAttrs:M,components:O,directives:F,filters:q}=t,J=process.env.NODE_ENV!=="production"?Vm():null;if(process.env.NODE_ENV!=="production"){const[W]=e.propsOptions;if(W)for(const U in W)J("Props",U)}if(f&&Am(f,s,J),o)for(const W in o){const U=o[W];z(U)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,W,{value:U.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[W]=U.bind(n),process.env.NODE_ENV!=="production"&&J("Methods",W)):process.env.NODE_ENV!=="production"&&C(`Method "${W}" has type "${typeof U}" in the component definition. Did you reference the function correctly?`)}if(i){process.env.NODE_ENV!=="production"&&!z(i)&&C("The data option must be a function. Plain object usage is no longer supported.");const W=i.call(n,n);if(process.env.NODE_ENV!=="production"&&gr(W)&&C("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!se(W))process.env.NODE_ENV!=="production"&&C("data() should return an object.");else if(e.data=wr(W),process.env.NODE_ENV!=="production")for(const U in W)J("Data",U),El(U[0])||Object.defineProperty(s,U,{configurable:!0,enumerable:!0,get:()=>W[U],set:ge})}if(wo=!0,r)for(const W in r){const U=r[W],le=z(U)?U.bind(n,n):z(U.get)?U.get.bind(n,n):ge;process.env.NODE_ENV!=="production"&&le===ge&&C(`Computed property "${W}" has no getter.`);const Ge=!z(U)&&z(U.set)?U.set.bind(n):process.env.NODE_ENV!=="production"?()=>{C(`Write operation failed: computed property "${W}" is readonly.`)}:ge,lt=ft({get:le,set:Ge});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>lt.value,set:ct=>lt.value=ct}),process.env.NODE_ENV!=="production"&&J("Computed",W)}if(l)for(const W in l)Ku(l[W],s,n,W);if(c){const W=z(c)?c.call(n):c;Reflect.ownKeys(W).forEach(U=>{ul(U,W[U])})}a&&Nc(a,e,"c");function K(W,U){H(U)?U.forEach(le=>W(le.bind(n))):U&&W(U.bind(n))}if(K($u,u),K(Wn,p),K(hl,h),K(kr,g),K(ku,v),K(Mu,D),K(Hu,x),K(ju,T),K(Fu,L),K(fi,N),K(Mr,_),K(Lu,b),H(w))if(w.length){const W=e.exposed||(e.exposed={});w.forEach(U=>{Object.defineProperty(W,U,{get:()=>n[U],set:le=>n[U]=le,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===ge&&(e.render=y),M!=null&&(e.inheritAttrs=M),O&&(e.components=O),F&&(e.directives=F),b&&dl(e)}function Am(e,t,n=ge){H(e)&&(e=Co(e));for(const s in e){const i=e[s];let r;se(i)?"default"in i?r=is(i.from||s,i.default,!0):r=is(i.from||s):r=is(i),ye(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function Nc(e,t,n){gt(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ku(e,t,n,s){let i=s.includes(".")?Ou(n,s):()=>n[s];if(Y(e)){const r=t[e];z(r)?_t(i,r):process.env.NODE_ENV!=="production"&&C(`Invalid watch handler specified by key "${e}"`,r)}else if(z(e))_t(i,e.bind(n));else if(se(e))if(H(e))e.forEach(r=>Ku(r,t,n,s));else{const r=z(e.handler)?e.handler.bind(n):t[e.handler];z(r)?_t(i,r,e):process.env.NODE_ENV!=="production"&&C(`Invalid watch handler specified by key "${e.handler}"`,r)}else process.env.NODE_ENV!=="production"&&C(`Invalid watch option: "${s}"`,e)}function yl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let c;return l?c=l:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(f=>Ji(c,f,o,!0)),Ji(c,t,o)),se(t)&&r.set(t,c),c}function Ji(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ji(e,r,n,!0),i&&i.forEach(o=>Ji(e,o,n,!0));for(const o in t)if(s&&o==="expose")process.env.NODE_ENV!=="production"&&C('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=Im[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Im={data:bc,props:Oc,emits:Oc,methods:Is,computed:Is,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:Is,directives:Is,watch:km,provide:bc,inject:Pm};function bc(e,t){return t?e?function(){return ee(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function Pm(e,t){return Is(Co(e),Co(t))}function Co(e){if(H(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Be(e,t){return e?[...new Set([].concat(e,t))]:t}function Is(e,t){return e?ee(Object.create(null),e,t):t}function Oc(e,t){return e?H(e)&&H(t)?[...new Set([...e,...t])]:ee(Object.create(null),Ys(e),Ys(t??{})):t}function km(e,t){if(!e)return t;if(!t)return e;const n=ee(Object.create(null),e);for(const s in t)n[s]=Be(e[s],t[s]);return n}function Wu(){return{app:null,config:{isNativeTag:Zn,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 Mm=0;function Rm(e,t){return function(s,i=null){z(s)||(s=ee({},s)),i!=null&&!se(i)&&(process.env.NODE_ENV!=="production"&&C("root props passed to app.mount() must be an object."),i=null);const r=Wu(),o=new WeakSet,l=[];let c=!1;const f=r.app={_uid:Mm++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:$o,get config(){return r.config},set config(a){process.env.NODE_ENV!=="production"&&C("app.config cannot be replaced. Modify individual options instead.")},use(a,...u){return o.has(a)?process.env.NODE_ENV!=="production"&&C("Plugin has already been applied to target app."):a&&z(a.install)?(o.add(a),a.install(f,...u)):z(a)?(o.add(a),a(f,...u)):process.env.NODE_ENV!=="production"&&C('A plugin must either be a function or an object with an "install" function.'),f},mixin(a){return r.mixins.includes(a)?process.env.NODE_ENV!=="production"&&C("Mixin has already been applied to target app"+(a.name?`: ${a.name}`:"")):r.mixins.push(a),f},component(a,u){return process.env.NODE_ENV!=="production"&&ko(a,r.config),u?(process.env.NODE_ENV!=="production"&&r.components[a]&&C(`Component "${a}" has already been registered in target app.`),r.components[a]=u,f):r.components[a]},directive(a,u){return process.env.NODE_ENV!=="production"&&yu(a),u?(process.env.NODE_ENV!=="production"&&r.directives[a]&&C(`Directive "${a}" has already been registered in target app.`),r.directives[a]=u,f):r.directives[a]},mount(a,u,p){if(c)process.env.NODE_ENV!=="production"&&C("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{process.env.NODE_ENV!=="production"&&a.__vue_app__&&C("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=f._ceVNode||me(s,i);return h.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),process.env.NODE_ENV!=="production"&&(r.reload=()=>{const g=vt(h);g.el=null,e(g,a,p)}),u&&t?t(h,a):e(h,a,p),c=!0,f._container=a,a.__vue_app__=f,process.env.NODE_ENV!=="production"&&(f._instance=h.component,bh(f,$o)),pi(h.component)}},onUnmount(a){process.env.NODE_ENV!=="production"&&typeof a!="function"&&C(`Expected function as first argument to app.onUnmount(), but got ${typeof a}`),l.push(a)},unmount(){c?(gt(l,f._instance,16),e(null,f._container),process.env.NODE_ENV!=="production"&&(f._instance=null,Oh(f)),delete f._container.__vue_app__):process.env.NODE_ENV!=="production"&&C("Cannot unmount an app that is not mounted.")},provide(a,u){return process.env.NODE_ENV!=="production"&&a in r.provides&&(re(r.provides,a)?C(`App already provides property with key "${String(a)}". It will be overwritten with the new value.`):C(`App already provides property with key "${String(a)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[a]=u,f},runWithContext(a){const u=Mn;Mn=f;try{return a()}finally{Mn=u}}};return f}}let Mn=null;function $m(e,t,n=ne){const s=qe();if(process.env.NODE_ENV!=="production"&&!s)return C("useModel() called without active instance."),$e();const i=pe(t);if(process.env.NODE_ENV!=="production"&&!s.propsOptions[0][i])return C(`useModel() called with prop "${t}" which is not declared.`),$e();const r=Re(t),o=qu(e,i),l=au((c,f)=>{let a,u=ne,p;return bu(()=>{const h=e[i];Ue(a,h)&&(a=h,f())}),{get(){return c(),n.get?n.get(a):a},set(h){const g=n.set?n.set(h):h;if(!Ue(g,a)&&!(u!==ne&&Ue(h,u)))return;const v=s.vnode.props;v&&(t in v||i in v||r in v)&&(`onUpdate:${t}`in v||`onUpdate:${i}`in v||`onUpdate:${r}`in v)||(a=h,f()),s.emit(`update:${t}`,g),Ue(h,g)&&Ue(h,u)&&!Ue(g,p)&&f(),u=h,p=g}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?o||ne:l,done:!1}:{done:!0}}}},l}const qu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pe(t)}Modifiers`]||e[`${Re(t)}Modifiers`];function Lm(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;if(process.env.NODE_ENV!=="production"){const{emitsOptions:a,propsOptions:[u]}=e;if(a)if(!(t in a))(!u||!(Mt(pe(t))in u))&&C(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Mt(pe(t))}" prop.`);else{const p=a[t];z(p)&&(p(...n)||C(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const r=t.startsWith("update:"),o=r&&qu(s,t.slice(7));if(o&&(o.trim&&(i=n.map(a=>Y(a)?a.trim():a)),o.number&&(i=n.map(_r))),process.env.NODE_ENV!=="production"&&Dh(e,t,i),process.env.NODE_ENV!=="production"){const a=t.toLowerCase();a!==t&&s[Mt(a)]&&C(`Event "${a}" is emitted in component ${di(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 "${Re(t)}" instead of "${t}".`)}let l,c=s[l=Mt(t)]||s[l=Mt(pe(t))];!c&&r&&(c=s[l=Mt(Re(t))]),c&>(c,e,6,i);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,gt(f,e,6,i)}}const Fm=new WeakMap;function Gu(e,t,n=!1){const s=n?Fm:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!z(e)){const c=f=>{const a=Gu(f,t,!0);a&&(l=!0,ee(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!l?(se(e)&&s.set(e,null),null):(H(r)?r.forEach(c=>o[c]=null):ee(o,r),se(e)&&s.set(e,o),o)}function Rr(e,t){return!e||!Qt(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,Re(t))||re(e,t))}let To=!1;function Yi(){To=!0}function Pi(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:u,data:p,setupState:h,ctx:g,inheritAttrs:v}=e,D=Js(e);let V,N;process.env.NODE_ENV!=="production"&&(To=!1);try{if(n.shapeFlag&4){const y=i||s,T=process.env.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(y,{get(L,x,b){return C(`Property '${String(x)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(L,x,b)}}):y;V=We(f.call(T,y,a,process.env.NODE_ENV!=="production"?bt(u):u,h,p,g)),N=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===u&&Yi(),V=We(y.length>1?y(process.env.NODE_ENV!=="production"?bt(u):u,process.env.NODE_ENV!=="production"?{get attrs(){return Yi(),bt(l)},slots:o,emit:c}:{attrs:l,slots:o,emit:c}):y(process.env.NODE_ENV!=="production"?bt(u):u,null)),N=t.props?l:jm(l)}}catch(y){Fs.length=0,_n(y,e,1),V=me(ve)}let m=V,_;if(process.env.NODE_ENV!=="production"&&V.patchFlag>0&&V.patchFlag&2048&&([m,_]=zu(V)),N&&v!==!1){const y=Object.keys(N),{shapeFlag:T}=m;if(y.length){if(T&7)r&&y.some(ji)&&(N=Hm(N,r)),m=vt(m,N,!1,!0);else if(process.env.NODE_ENV!=="production"&&!To&&m.type!==ve){const L=Object.keys(l),x=[],b=[];for(let w=0,M=L.length;w<M;w++){const O=L[w];Qt(O)?ji(O)||x.push(O[2].toLowerCase()+O.slice(3)):b.push(O)}b.length&&C(`Extraneous non-props attributes (${b.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),x.length&&C(`Extraneous non-emits event listeners (${x.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&&(process.env.NODE_ENV!=="production"&&!Sc(m)&&C("Runtime directive used on component with non-element root node. The directives will not function as intended."),m=vt(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!Sc(m)&&C("Component inside <Transition> renders non-element root node that cannot be animated."),en(m,n.transition)),process.env.NODE_ENV!=="production"&&_?_(m):V=m,Js(D),V}const zu=e=>{const t=e.children,n=e.dynamicChildren,s=$r(t,!1);if(s){if(process.env.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return zu(s)}else return[e,void 0];const i=t.indexOf(s),r=n?n.indexOf(s):-1,o=l=>{t[i]=l,n&&(r>-1?n[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[We(s),o]};function $r(e,t=!0){let n;for(let s=0;s<e.length;s++){const i=e[s];if(jt(i)){if(i.type!==ve||i.children==="v-if"){if(n)return;if(n=i,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return $r(n.children)}}else return}return n}const jm=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qt(n))&&((t||(t={}))[n]=e[n]);return t},Hm=(e,t)=>{const n={};for(const s in e)(!ji(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},Sc=e=>e.shapeFlag&7||e.type===ve;function Bm(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:c}=t,f=r.emitsOptions;if(process.env.NODE_ENV!=="production"&&(i||l)&&ut||t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?wc(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let u=0;u<a.length;u++){const p=a[u];if(o[p]!==s[p]&&!Rr(f,p))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?wc(s,o,f):!0:!!o;return!1}function wc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(t[r]!==e[r]&&!Rr(n,r))return!0}return!1}function Lr({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ju={},Yu=()=>Object.create(Ju),Xu=e=>Object.getPrototypeOf(e)===Ju;function Um(e,t,n,s=!1){const i={},r=Yu();e.propsDefaults=Object.create(null),Zu(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);process.env.NODE_ENV!=="production"&&ef(t||{},i,e),n?e.props=s?i:ou(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Km(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Wm(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=Q(i),[c]=e.propsOptions;let f=!1;if(!(process.env.NODE_ENV!=="production"&&Km(e))&&(s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let u=0;u<a.length;u++){let p=a[u];if(Rr(e.emitsOptions,p))continue;const h=t[p];if(c)if(re(r,p))h!==r[p]&&(r[p]=h,f=!0);else{const g=pe(p);i[g]=Do(c,l,g,h,e,!1)}else h!==r[p]&&(r[p]=h,f=!0)}}}else{Zu(e,t,i,r)&&(f=!0);let a;for(const u in l)(!t||!re(t,u)&&((a=Re(u))===u||!re(t,a)))&&(c?n&&(n[u]!==void 0||n[a]!==void 0)&&(i[u]=Do(c,l,u,void 0,e,!0)):delete i[u]);if(r!==l)for(const u in r)(!t||!re(t,u))&&(delete r[u],f=!0)}f&&Rt(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&ef(t||{},i,e)}function Zu(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Yt(c))continue;const f=t[c];let a;i&&re(i,a=pe(c))?!r||!r.includes(a)?n[a]=f:(l||(l={}))[a]=f:Rr(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(r){const c=Q(n),f=l||ne;for(let a=0;a<r.length;a++){const u=r[a];n[u]=Do(i,c,u,f[u],e,!re(f,u))}}return o}function Do(e,t,n,s,i,r){const o=e[n];if(o!=null){const l=re(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&z(c)){const{propsDefaults:f}=i;if(n in f)s=f[n];else{const a=jn(i);s=f[n]=c.call(null,t),a()}}else s=c;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!l?s=!1:o[1]&&(s===""||s===Re(n))&&(s=!0))}return s}const qm=new WeakMap;function Qu(e,t,n=!1){const s=n?qm:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},l=[];let c=!1;if(!z(e)){const a=u=>{c=!0;const[p,h]=Qu(u,t,!0);ee(o,p),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!c)return se(e)&&s.set(e,es),es;if(H(r))for(let a=0;a<r.length;a++){process.env.NODE_ENV!=="production"&&!Y(r[a])&&C("props must be strings when using array syntax.",r[a]);const u=pe(r[a]);Cc(u)&&(o[u]=ne)}else if(r){process.env.NODE_ENV!=="production"&&!se(r)&&C("invalid props options",r);for(const a in r){const u=pe(a);if(Cc(u)){const p=r[a],h=o[u]=H(p)||z(p)?{type:p}:ee({},p),g=h.type;let v=!1,D=!0;if(H(g))for(let V=0;V<g.length;++V){const N=g[V],m=z(N)&&N.name;if(m==="Boolean"){v=!0;break}else m==="String"&&(D=!1)}else v=z(g)&&g.name==="Boolean";h[0]=v,h[1]=D,(v||re(h,"default"))&&l.push(u)}}}const f=[o,l];return se(e)&&s.set(e,f),f}function Cc(e){return e[0]!=="$"&&!Yt(e)?!0:(process.env.NODE_ENV!=="production"&&C(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Gm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function ef(e,t,n){const s=Q(t),i=n.propsOptions[0],r=Object.keys(e).map(o=>pe(o));for(const o in i){let l=i[o];l!=null&&zm(o,s[o],l,process.env.NODE_ENV!=="production"?bt(s):s,!r.includes(o))}}function zm(e,t,n,s,i){const{type:r,required:o,validator:l,skipCheck:c}=n;if(o&&i){C('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(r!=null&&r!==!0&&!c){let f=!1;const a=H(r)?r:[r],u=[];for(let p=0;p<a.length&&!f;p++){const{valid:h,expectedType:g}=Ym(t,a[p]);u.push(g||""),f=h}if(!f){C(Xm(e,t,u));return}}l&&!l(t,s)&&C('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Jm=Ve("String,Number,Boolean,Function,Symbol,BigInt");function Ym(e,t){let n;const s=Gm(t);if(s==="null")n=e===null;else if(Jm(s)){const i=typeof e;n=i===s.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else s==="Object"?n=se(e):s==="Array"?n=H(e):n=e instanceof t;return{valid:n,expectedType:s}}function Xm(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(Ft).join(" | ")}`;const i=n[0],r=Zo(t),o=Tc(t,i),l=Tc(t,r);return n.length===1&&Dc(i)&&!Zm(i,r)&&(s+=` with value ${o}`),s+=`, got ${r} `,Dc(r)&&(s+=`with value ${l}.`),s}function Tc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function Dc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Zm(...e){return e.some(t=>t.toLowerCase()==="boolean")}const _l=e=>e==="_"||e==="_ctx"||e==="$stable",Nl=e=>H(e)?e.map(We):[We(e)],Qm=(e,t,n)=>{if(t._n)return t;const s=Ar((...i)=>(process.env.NODE_ENV!=="production"&&Oe&&!(n===null&&Se)&&!(n&&n.root!==Oe.root)&&C(`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.`),Nl(t(...i))),n);return s._c=!1,s},tf=(e,t,n)=>{const s=e._ctx;for(const i in e){if(_l(i))continue;const r=e[i];if(z(r))t[i]=Qm(i,r,s);else if(r!=null){process.env.NODE_ENV!=="production"&&C(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const o=Nl(r);t[i]=()=>o}}},nf=(e,t)=>{process.env.NODE_ENV!=="production"&&!Ns(e.vnode)&&C("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Nl(t);e.slots.default=()=>n},Vo=(e,t,n)=>{for(const s in t)(n||!_l(s))&&(e[s]=t[s])},eg=(e,t,n)=>{const s=e.slots=Yu();if(e.vnode.shapeFlag&32){const i=t._;i?(Vo(s,t,n),n&&ls(s,"_",i,!0)):tf(t,s)}else t&&nf(e,t)},tg=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&ut?(Vo(i,t,n),Rt(e,"set","$slots")):n&&l===1?r=!1:Vo(i,t,n):(r=!t.$stable,tf(t,i)),o=t}else t&&(nf(e,t),o={default:1});if(r)for(const l in i)!_l(l)&&o[l]==null&&delete i[l]};let ws,Gt;function Bt(e,t){e.appContext.config.performance&&Xi()&&Gt.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Ch(e,t,Xi()?Gt.now():Date.now())}function Ut(e,t){if(e.appContext.config.performance&&Xi()){const n=`vue-${t}-${e.uid}`,s=n+":end",i=`<${di(e,e.type)}> ${t}`;Gt.mark(s),Gt.measure(i,n,s),Gt.clearMeasures(i),Gt.clearMarks(n),Gt.clearMarks(s)}process.env.NODE_ENV!=="production"&&Th(e,t,Xi()?Gt.now():Date.now())}function Xi(){return ws!==void 0||(typeof window<"u"&&window.performance?(ws=!0,Gt=window.performance):ws=!1),ws}function ng(){const e=[];if(process.env.NODE_ENV!=="production"&&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.
|
|
20
|
+
You should fix the source of the mismatch.`;return k(u,e,f),!0}return!1}function oc(e){return new Set(e.trim().split(/\s+/))}function Jm(e,t){if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0}function lc(e){const t=new Map;for(const n of e.split(";")){let[s,i]=n.split(":");s=s.trim(),i=i&&i.trim(),s&&i&&t.set(s,i)}return t}function Zm(e,t){if(e.size!==t.size)return!1;for(const[n,s]of e)if(s!==t.get(n))return!1;return!0}function Vf(e,t,n){const s=e.subTree;if(e.getCssVars&&(t===s||s&&s.type===we&&s.children.includes(t))){const i=e.getCssVars();for(const r in i){const o=Ru(i[r]);n.set(`--${kp(r)}`,o)}}t===s&&e.parent&&Vf(e.parent,e.vnode,n)}const ac="data-allow-mismatch",kf={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function pi(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ac);)e=e.parentElement;const n=e&&e.getAttribute(ac);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(kf[t])}}const Ym=Ui().requestIdleCallback||(e=>setTimeout(e,1)),Xm=Ui().cancelIdleCallback||(e=>clearTimeout(e)),Qm=(e=1e4)=>t=>{const n=Ym(t,{timeout:e});return()=>Xm(n)};function eg(e){const{top:t,left:n,bottom:s,right:i}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(t>0&&t<r||s>0&&s<r)&&(n>0&&n<o||i>0&&i<o)}const tg=e=>(t,n)=>{const s=new IntersectionObserver(i=>{for(const r of i)if(r.isIntersecting){s.disconnect(),t();break}},e);return n(i=>{if(i instanceof Element){if(eg(i))return t(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},ng=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},sg=(e=[])=>(t,n)=>{te(e)&&(e=[e]);let s=!1;const i=o=>{s||(s=!0,r(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{n(o=>{for(const l of e)o.removeEventListener(l,i)})};return n(o=>{for(const l of e)o.addEventListener(l,i,{once:!0})}),r};function ig(e,t){if(os(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(os(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const wn=e=>!!e.type.__asyncLoader;function rg(e){Q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:i=200,hydrate:r,timeout:o,suspensible:l=!0,onError:a}=e;let c=null,u,f=0;const d=()=>(f++,c=null,h()),h=()=>{let m;return c||(m=c=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((S,N)=>{a(p,()=>S(d()),()=>N(p),f+1)});throw p}).then(p=>{if(m!==c&&c)return c;if(process.env.NODE_ENV!=="production"&&!p&&k("Async component loader resolved to undefined. If you are using retry(), make sure to return its return value."),p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),process.env.NODE_ENV!=="production"&&p&&!he(p)&&!Q(p))throw new Error(`Invalid async component load result: ${p}`);return u=p,p}))};return pt({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(m,p,S){let N=!1;(p.bu||(p.bu=[])).push(()=>N=!0);const E=()=>{if(N){process.env.NODE_ENV!=="production"&&k(`Skipping lazy hydration for component '${Js(u)||u.__file}': it was updated before lazy hydration performed.`);return}S()},g=r?()=>{const _=r(E,y=>ig(m,y));_&&(p.bum||(p.bum=[])).push(_)}:E;u?g():h().then(()=>!p.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const m=Fe;if(Zl(m),u)return()=>ar(u,m);const p=g=>{c=null,es(g,m,13,!s)};if(l&&m.suspense||Gs)return h().then(g=>()=>ar(g,m)).catch(g=>(p(g),()=>s?_e(s,{error:g}):null));const S=ne(!1),N=ne(),E=ne(!!i);return i&&setTimeout(()=>{E.value=!1},i),o!=null&&setTimeout(()=>{if(!S.value&&!N.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),N.value=g}},o),h().then(()=>{S.value=!0,m.parent&&ri(m.parent.vnode)&&m.parent.update()}).catch(g=>{p(g),N.value=g}),()=>{if(S.value&&u)return ar(u,m);if(N.value&&s)return _e(s,{error:N.value});if(n&&!E.value)return ar(n,m)}}})}function ar(e,t){const{ref:n,props:s,children:i,ce:r}=t.vnode,o=_e(e,s,i);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const ri=e=>e.type.__isKeepAlive,og={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ze(),s=n.ctx;if(!s.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const i=new Map,r=new Set;let o=null;process.env.NODE_ENV!=="production"&&(n.__v_cache=i);const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(E,g,_,y,w)=>{const P=E.component;c(E,g,_,0,l),a(P.vnode,E,g,_,P,l,y,E.slotScopeIds,w),He(()=>{P.isDeactivated=!1,P.a&&Hn(P.a);const T=E.props&&E.props.onVnodeMounted;T&&Nt(T,P.parent,E)},l),process.env.NODE_ENV!=="production"&&il(P)},s.deactivate=E=>{const g=E.component;Lr(g.m),Lr(g.a),c(E,d,null,1,l),He(()=>{g.da&&Hn(g.da);const _=E.props&&E.props.onVnodeUnmounted;_&&Nt(_,g.parent,E),g.isDeactivated=!0},l),process.env.NODE_ENV!=="production"&&il(g),process.env.NODE_ENV!=="production"&&(g.__keepAliveStorageContainer=d)};function h(E){Ro(E),u(E,n,l,!0)}function m(E){i.forEach((g,_)=>{const y=Js(wn(g)?g.type.__asyncResolved||{}:g.type);y&&!E(y)&&p(_)})}function p(E){const g=i.get(E);g&&(!o||!Ht(g,o))?h(g):o&&Ro(o),i.delete(E),r.delete(E)}ft(()=>[e.include,e.exclude],([E,g])=>{E&&m(_=>mi(E,_)),g&&m(_=>!mi(g,_))},{flush:"post",deep:!0});let S=null;const N=()=>{S!=null&&(Fr(n.subTree.type)?He(()=>{i.set(S,cr(n.subTree))},n.subTree.suspense):i.set(S,cr(n.subTree)))};return un(N),vo(N),ws(()=>{i.forEach(E=>{const{subTree:g,suspense:_}=n,y=cr(g);if(E.type===y.type&&E.key===y.key){Ro(y);const w=y.component.da;w&&He(w,_);return}h(E)})}),()=>{if(S=null,!t.default)return o=null;const E=t.default(),g=E[0];if(E.length>1)return process.env.NODE_ENV!=="production"&&k("KeepAlive should contain exactly one component child."),o=null,E;if(!cn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let _=cr(g);if(_.type===Ae)return o=null,_;const y=_.type,w=Js(wn(_)?_.type.__asyncResolved||{}:y),{include:P,exclude:T,max:O}=e;if(P&&(!w||!mi(P,w))||T&&w&&mi(T,w))return _.shapeFlag&=-257,o=_,g;const D=_.key==null?y:_.key,I=i.get(D);return _.el&&(_=Ft(_),g.shapeFlag&128&&(g.ssContent=_)),S=D,I?(_.el=I.el,_.component=I.component,_.transition&&Tn(_,_.transition),_.shapeFlag|=512,r.delete(D),r.add(D)):(r.add(D),O&&r.size>parseInt(O,10)&&p(r.values().next().value)),_.shapeFlag|=256,o=_,Fr(g.type)?g:_}}},lg=og;function mi(e,t){return K(e)?e.some(n=>mi(n,t)):te(e)?e.split(",").includes(t):ap(e)?(e.lastIndex=0,e.test(t)):!1}function Af(e,t){Mf(e,"a",t)}function If(e,t){Mf(e,"da",t)}function Mf(e,t,n=Fe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(go(t,s,n),n){let i=n.parent;for(;i&&i.parent;)ri(i.parent.vnode)&&ag(s,t,n,i),i=i.parent}}function ag(e,t,n,s){const i=go(t,e,s,!0);yo(()=>{Pl(s[t],i)},n)}function Ro(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function cr(e){return e.shapeFlag&128?e.ssContent:e}function go(e,t,n=Fe,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{qt();const l=bs(n),a=Lt(t,n,e,o);return l(),Gt(),a});return s?i.unshift(r):i.push(r),r}else if(process.env.NODE_ENV!=="production"){const i=Qt(fo[e].replace(/ hook$/,""));k(`${i} 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 Vn=e=>(t,n=Fe)=>{(!Gs||e==="sp")&&go(e,(...s)=>t(...s),n)},Yl=Vn("bm"),un=Vn("m"),Xl=Vn("bu"),vo=Vn("u"),ws=Vn("bum"),yo=Vn("um"),Pf=Vn("sp"),Lf=Vn("rtg"),Ff=Vn("rtc");function Rf(e,t=Fe){go("ec",e,t)}const Ar="components",cg="directives";function ug(e,t){return ea(Ar,e,!0,t)||e}const Ql=Symbol.for("v-ndc");function $f(e){return te(e)?ea(Ar,e,!1)||e:e||Ql}function fg(e){return ea(cg,e)}function ea(e,t,n=!0,s=!1){const i=Re||Fe;if(i){const r=i.type;if(e===Ar){const l=Js(r,!1);if(l&&(l===t||l===De(t)||l===an(De(t))))return r}const o=cc(i[e]||r[e],t)||cc(i.appContext[e],t);if(!o&&s)return r;if(process.env.NODE_ENV!=="production"&&n&&!o){const l=e===Ar?`
|
|
21
|
+
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}${l}`)}return o}else process.env.NODE_ENV!=="production"&&k(`resolve${an(e.slice(0,-1))} can only be used in render() or setup().`)}function cc(e,t){return e&&(e[t]||e[De(t)]||e[an(De(t))])}function hs(e,t,n,s){let i;const r=n&&n[s],o=K(e);if(o||te(e)){const l=o&&on(e);let a=!1,c=!1;l&&(a=!ot(e),c=Pt(e),e=ao(e)),i=new Array(e.length);for(let u=0,f=e.length;u<f;u++)i[u]=t(a?c?Ws(Jt(e[u])):Jt(e[u]):e[u],u,void 0,r&&r[u])}else if(typeof e=="number"){process.env.NODE_ENV!=="production"&&!Number.isInteger(e)&&k(`The v-for range expect an integer value but got ${e}.`),i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r&&r[l])}else if(he(e))if(e[Symbol.iterator])i=Array.from(e,(l,a)=>t(l,a,void 0,r&&r[a]));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];i[a]=t(e[u],u,a,r&&r[a])}}else i=[];return n&&(n[s]=i),i}function dg(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(K(s))for(let i=0;i<s.length;i++)e[s[i].name]=s[i].fn;else s&&(e[s.name]=s.key?(...i)=>{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return e}function Bn(e,t,n={},s,i){if(Re.ce||Re.parent&&wn(Re.parent)&&Re.parent.ce){const c=Object.keys(n).length>0;return t!=="default"&&(n.name=t),fe(),Wt(we,null,[_e("slot",n,s&&s())],c?-2:64)}let r=e[t];process.env.NODE_ENV!=="production"&&r&&r.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."),r=()=>[]),r&&r._c&&(r._d=!1),fe();const o=r&&ta(r(n)),l=n.key||o&&o.key,a=Wt(we,{key:(l&&!wt(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function ta(e){return e.some(t=>cn(t)?!(t.type===Ae||t.type===we&&!ta(t.children)):!0)?e:null}function Bs(e,t){const n={};if(process.env.NODE_ENV!=="production"&&!he(e))return k("v-on with no argument expects an object value."),n;for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Qt(s)]=e[s];return n}const ll=e=>e?gd(e)?qi(e):ll(e.parent):null,ps=oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Bt(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Bt(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Bt(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Bt(e.refs):e.refs,$parent:e=>ll(e.parent),$root:e=>ll(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>sa(e),$forceUpdate:e=>e.f||(e.f=()=>{ho(e.update)}),$nextTick:e=>e.n||(e.n=Xn.bind(e.proxy)),$watch:e=>$m.bind(e)}),na=e=>e==="_"||e==="$",$o=(e,t)=>e!==ue&&!e.__isScriptSetup&&ve(e,t),bi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:a}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if($o(s,t))return o[t]=1,s[t];if(i!==ue&&ve(i,t))return o[t]=2,i[t];if(ve(r,t))return o[t]=3,r[t];if(n!==ue&&ve(n,t))return o[t]=4,n[t];al&&(o[t]=0)}}const c=ps[t];let u,f;if(c)return t==="$attrs"?(Ue(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Mr()):process.env.NODE_ENV!=="production"&&t==="$slots"&&Ue(e,"get",t),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==ue&&ve(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,ve(f,t))return f[t];process.env.NODE_ENV!=="production"&&Re&&(!te(t)||t.indexOf("__v")!==0)&&(i!==ue&&na(t[0])&&ve(i,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===Re&&k(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return $o(i,t)?(i[t]=n,!0):process.env.NODE_ENV!=="production"&&i.__isScriptSetup&&ve(i,t)?(k(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==ue&&ve(s,t)?(s[t]=n,!0):ve(e.props,t)?(process.env.NODE_ENV!=="production"&&k(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&k(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(r,t,{enumerable:!0,configurable:!0,value:n}):r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let a;return!!(n[l]||e!==ue&&l[0]!=="$"&&ve(e,l)||$o(t,l)||ve(r,l)||ve(s,l)||ve(ps,l)||ve(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(bi.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)));const hg=oe({},bi,{get(e,t){if(t!==Symbol.unscopables)return bi.get(e,t,e)},has(e,t){const n=t[0]!=="_"&&!pp(t);return process.env.NODE_ENV!=="production"&&!n&&bi.has(e,t)&&k(`Property ${JSON.stringify(t)} should not start with _ which is a reserved prefix for Vue internals.`),n}});function pg(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(ps).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>ps[n](e),set:ke})}),t}function mg(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:ke})})}function gg(e){const{ctx:t,setupState:n}=e;Object.keys(re(n)).forEach(s=>{if(!n.__isScriptSetup){if(na(s[0])){k(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:ke})}})}const Cs=e=>k(`${e}() is a compiler-hint helper that is only usable inside <script setup> of a single file component. Its arguments should be compiled away and passing it at runtime has no effect.`);function vg(){return process.env.NODE_ENV!=="production"&&Cs("defineProps"),null}function yg(){return process.env.NODE_ENV!=="production"&&Cs("defineEmits"),null}function Eg(e){process.env.NODE_ENV!=="production"&&Cs("defineExpose")}function _g(e){process.env.NODE_ENV!=="production"&&Cs("defineOptions")}function bg(){return process.env.NODE_ENV!=="production"&&Cs("defineSlots"),null}function Ng(){process.env.NODE_ENV!=="production"&&Cs("defineModel")}function Sg(e,t){return process.env.NODE_ENV!=="production"&&Cs("withDefaults"),null}function Og(){return jf("useSlots").slots}function wg(){return jf("useAttrs").attrs}function jf(e){const t=ze();return process.env.NODE_ENV!=="production"&&!t&&k(`${e}() called without active instance.`),t.setupContext||(t.setupContext=_d(t))}function Ii(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Hf(e,t){const n=Ii(e);for(const s in t){if(s.startsWith("__skip"))continue;let i=n[s];i?K(i)||Q(i)?i=n[s]={type:i,default:t[s]}:i.default=t[s]:i===null?i=n[s]={default:t[s]}:process.env.NODE_ENV!=="production"&&k(`props default key "${s}" has no corresponding declaration.`),i&&t[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function Cg(e,t){return!e||!t?e||t:K(e)&&K(t)?e.concat(t):oe({},Ii(e),Ii(t))}function Dg(e,t){const n={};for(const s in e)t.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>e[s]});return n}function xg(e){const t=ze();process.env.NODE_ENV!=="production"&&!t&&k("withAsyncContext called without active current instance. This is likely a bug.");let n=e();return gl(),to(n)&&(n=n.catch(s=>{throw bs(t),s})),[n,()=>bs(t)]}function Tg(){const e=Object.create(null);return(t,n)=>{e[n]?k(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let al=!0;function Vg(e){const t=sa(e),n=e.proxy,s=e.ctx;al=!1,t.beforeCreate&&uc(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:p,deactivated:S,beforeDestroy:N,beforeUnmount:E,destroyed:g,unmounted:_,render:y,renderTracked:w,renderTriggered:P,errorCaptured:T,serverPrefetch:O,expose:D,inheritAttrs:I,components:C,directives:R,filters:G}=t,z=process.env.NODE_ENV!=="production"?Tg():null;if(process.env.NODE_ENV!=="production"){const[J]=e.propsOptions;if(J)for(const H in J)z("Props",H)}if(c&&kg(c,s,z),o)for(const J in o){const H=o[J];Q(H)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,J,{value:H.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[J]=H.bind(n),process.env.NODE_ENV!=="production"&&z("Methods",J)):process.env.NODE_ENV!=="production"&&k(`Method "${J}" has type "${typeof H}" in the component definition. Did you reference the function correctly?`)}if(i){process.env.NODE_ENV!=="production"&&!Q(i)&&k("The data option must be a function. Plain object usage is no longer supported.");const J=i.call(n,n);if(process.env.NODE_ENV!=="production"&&to(J)&&k("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!he(J))process.env.NODE_ENV!=="production"&&k("data() should return an object.");else if(e.data=ii(J),process.env.NODE_ENV!=="production")for(const H in J)z("Data",H),na(H[0])||Object.defineProperty(s,H,{configurable:!0,enumerable:!0,get:()=>J[H],set:ke})}if(al=!0,r)for(const J in r){const H=r[J],le=Q(H)?H.bind(n,n):Q(H.get)?H.get.bind(n,n):ke;process.env.NODE_ENV!=="production"&&le===ke&&k(`Computed property "${J}" has no getter.`);const $e=!Q(H)&&Q(H.set)?H.set.bind(n):process.env.NODE_ENV!=="production"?()=>{k(`Write operation failed: computed property "${J}" is readonly.`)}:ke,Ge=ie({get:le,set:$e});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:Je=>Ge.value=Je}),process.env.NODE_ENV!=="production"&&z("Computed",J)}if(l)for(const J in l)Bf(l[J],s,n,J);if(a){const J=Q(a)?a.call(n):a;Reflect.ownKeys(J).forEach(H=>{ql(H,J[H])})}u&&uc(u,e,"c");function W(J,H){K(H)?H.forEach(le=>J(le.bind(n))):H&&J(H.bind(n))}if(W(Yl,f),W(un,d),W(Xl,h),W(vo,m),W(Af,p),W(If,S),W(Rf,T),W(Ff,w),W(Lf,P),W(ws,E),W(yo,_),W(Pf,O),K(D))if(D.length){const J=e.exposed||(e.exposed={});D.forEach(H=>{Object.defineProperty(J,H,{get:()=>n[H],set:le=>n[H]=le,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===ke&&(e.render=y),I!=null&&(e.inheritAttrs=I),C&&(e.components=C),R&&(e.directives=R),O&&Zl(e)}function kg(e,t,n=ke){K(e)&&(e=cl(e));for(const s in e){const i=e[s];let r;he(i)?"default"in i?r=js(i.from||s,i.default,!0):r=js(i.from||s):r=js(i),Ie(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function uc(e,t,n){Lt(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Bf(e,t,n,s){let i=s.includes(".")?bf(n,s):()=>n[s];if(te(e)){const r=t[e];Q(r)?ft(i,r):process.env.NODE_ENV!=="production"&&k(`Invalid watch handler specified by key "${e}"`,r)}else if(Q(e))ft(i,e.bind(n));else if(he(e))if(K(e))e.forEach(r=>Bf(r,t,n,s));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)?ft(i,r,e):process.env.NODE_ENV!=="production"&&k(`Invalid watch handler specified by key "${e.handler}"`,r)}else process.env.NODE_ENV!=="production"&&k(`Invalid watch option: "${s}"`,e)}function sa(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(c=>Ir(a,c,o,!0)),Ir(a,t,o)),he(t)&&r.set(t,a),a}function Ir(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&Ir(e,r,n,!0),i&&i.forEach(o=>Ir(e,o,n,!0));for(const o in t)if(s&&o==="expose")process.env.NODE_ENV!=="production"&&k('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=Ag[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ag={data:fc,props:dc,emits:dc,methods:gi,computed:gi,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:gi,directives:gi,watch:Mg,provide:fc,inject:Ig};function fc(e,t){return t?e?function(){return oe(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ig(e,t){return gi(cl(e),cl(t))}function cl(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mt(e,t){return e?[...new Set([].concat(e,t))]:t}function gi(e,t){return e?oe(Object.create(null),e,t):t}function dc(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:oe(Object.create(null),Ii(e),Ii(t??{})):t}function Mg(e,t){if(!e)return t;if(!t)return e;const n=oe(Object.create(null),e);for(const s in t)n[s]=mt(e[s],t[s]);return n}function Kf(){return{app:null,config:{isNativeTag:Ms,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 Pg=0;function Lg(e,t){return function(s,i=null){Q(s)||(s=oe({},s)),i!=null&&!he(i)&&(process.env.NODE_ENV!=="production"&&k("root props passed to app.mount() must be an object."),i=null);const r=Kf(),o=new WeakSet,l=[];let a=!1;const c=r.app={_uid:Pg++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:_l,get config(){return r.config},set config(u){process.env.NODE_ENV!=="production"&&k("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return o.has(u)?process.env.NODE_ENV!=="production"&&k("Plugin has already been applied to target app."):u&&Q(u.install)?(o.add(u),u.install(c,...f)):Q(u)?(o.add(u),u(c,...f)):process.env.NODE_ENV!=="production"&&k('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return r.mixins.includes(u)?process.env.NODE_ENV!=="production"&&k("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):r.mixins.push(u),c},component(u,f){return process.env.NODE_ENV!=="production"&&vl(u,r.config),f?(process.env.NODE_ENV!=="production"&&r.components[u]&&k(`Component "${u}" has already been registered in target app.`),r.components[u]=f,c):r.components[u]},directive(u,f){return process.env.NODE_ENV!=="production"&&vf(u),f?(process.env.NODE_ENV!=="production"&&r.directives[u]&&k(`Directive "${u}" has already been registered in target app.`),r.directives[u]=f,c):r.directives[u]},mount(u,f,d){if(a)process.env.NODE_ENV!=="production"&&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{process.env.NODE_ENV!=="production"&&u.__vue_app__&&k("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const h=c._ceVNode||_e(s,i);return h.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),process.env.NODE_ENV!=="production"&&(r.reload=()=>{const m=Ft(h);m.el=null,e(m,u,d)}),f&&t?t(h,u):e(h,u,d),a=!0,c._container=u,u.__vue_app__=c,process.env.NODE_ENV!=="production"&&(c._instance=h.component,Cm(c,_l)),qi(h.component)}},onUnmount(u){process.env.NODE_ENV!=="production"&&typeof u!="function"&&k(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),l.push(u)},unmount(){a?(Lt(l,c._instance,16),e(null,c._container),process.env.NODE_ENV!=="production"&&(c._instance=null,Dm(c)),delete c._container.__vue_app__):process.env.NODE_ENV!=="production"&&k("Cannot unmount an app that is not mounted.")},provide(u,f){return process.env.NODE_ENV!=="production"&&u in r.provides&&(ve(r.provides,u)?k(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`):k(`App already provides property with key "${String(u)}" inherited from its parent element. It will be overwritten with the new value.`)),r.provides[u]=f,c},runWithContext(u){const f=ms;ms=c;try{return u()}finally{ms=f}}};return c}}let ms=null;function Fg(e,t,n=ue){const s=ze();if(process.env.NODE_ENV!=="production"&&!s)return k("useModel() called without active instance."),ne();const i=De(t);if(process.env.NODE_ENV!=="production"&&!s.propsOptions[0][i])return k(`useModel() called with prop "${t}" which is not declared.`),ne();const r=ut(t),o=Uf(e,i),l=of((a,c)=>{let u,f=ue,d;return _f(()=>{const h=e[i];gt(u,h)&&(u=h,c())}),{get(){return a(),n.get?n.get(u):u},set(h){const m=n.set?n.set(h):h;if(!gt(m,u)&&!(f!==ue&>(h,f)))return;const p=s.vnode.props;p&&(t in p||i in p||r in p)&&(`onUpdate:${t}`in p||`onUpdate:${i}`in p||`onUpdate:${r}`in p)||(u=h,c()),s.emit(`update:${t}`,m),gt(h,m)&>(h,f)&&!gt(m,d)&&c(),f=h,d=m}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?o||ue:l,done:!1}:{done:!0}}}},l}const Uf=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${De(t)}Modifiers`]||e[`${ut(t)}Modifiers`];function Rg(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;if(process.env.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=e;if(u)if(!(t in u))(!f||!(Qt(De(t))in f))&&k(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Qt(De(t))}" prop.`);else{const d=u[t];Q(d)&&(d(...n)||k(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const r=t.startsWith("update:"),o=r&&Uf(s,t.slice(7));if(o&&(o.trim&&(i=n.map(u=>te(u)?u.trim():u)),o.number&&(i=n.map(ro))),process.env.NODE_ENV!=="production"&&Am(e,t,i),process.env.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[Qt(u)]&&k(`Event "${u}" is emitted in component ${Gi(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 "${ut(t)}" instead of "${t}".`)}let l,a=s[l=Qt(t)]||s[l=Qt(De(t))];!a&&r&&(a=s[l=Qt(ut(t))]),a&&Lt(a,e,6,i);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Lt(c,e,6,i)}}const $g=new WeakMap;function Wf(e,t,n=!1){const s=n?$g:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!Q(e)){const a=c=>{const u=Wf(c,t,!0);u&&(l=!0,oe(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(he(e)&&s.set(e,null),null):(K(r)?r.forEach(a=>o[a]=null):oe(o,r),he(e)&&s.set(e,o),o)}function Eo(e,t){return!e||!xn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,ut(t))||ve(e,t))}let ul=!1;function Mr(){ul=!0}function gr(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:m,inheritAttrs:p}=e,S=Ai(e);let N,E;process.env.NODE_ENV!=="production"&&(ul=!1);try{if(n.shapeFlag&4){const y=i||s,w=process.env.NODE_ENV!=="production"&&h.__isScriptSetup?new Proxy(y,{get(P,T,O){return k(`Property '${String(T)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(P,T,O)}}):y;N=yt(c.call(w,y,u,process.env.NODE_ENV!=="production"?Bt(f):f,h,d,m)),E=l}else{const y=t;process.env.NODE_ENV!=="production"&&l===f&&Mr(),N=yt(y.length>1?y(process.env.NODE_ENV!=="production"?Bt(f):f,process.env.NODE_ENV!=="production"?{get attrs(){return Mr(),Bt(l)},slots:o,emit:a}:{attrs:l,slots:o,emit:a}):y(process.env.NODE_ENV!=="production"?Bt(f):f,null)),E=t.props?l:jg(l)}}catch(y){Si.length=0,es(y,e,1),N=_e(Ae)}let g=N,_;if(process.env.NODE_ENV!=="production"&&N.patchFlag>0&&N.patchFlag&2048&&([g,_]=zf(N)),E&&p!==!1){const y=Object.keys(E),{shapeFlag:w}=g;if(y.length){if(w&7)r&&y.some(Or)&&(E=Hg(E,r)),g=Ft(g,E,!1,!0);else if(process.env.NODE_ENV!=="production"&&!ul&&g.type!==Ae){const P=Object.keys(l),T=[],O=[];for(let D=0,I=P.length;D<I;D++){const C=P[D];xn(C)?Or(C)||T.push(C[2].toLowerCase()+C.slice(3)):O.push(C)}O.length&&k(`Extraneous non-props attributes (${O.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),T.length&&k(`Extraneous non-emits event listeners (${T.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&&(process.env.NODE_ENV!=="production"&&!hc(g)&&k("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=Ft(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!hc(g)&&k("Component inside <Transition> renders non-element root node that cannot be animated."),Tn(g,n.transition)),process.env.NODE_ENV!=="production"&&_?_(g):N=g,Ai(S),N}const zf=e=>{const t=e.children,n=e.dynamicChildren,s=_o(t,!1);if(s){if(process.env.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return zf(s)}else return[e,void 0];const i=t.indexOf(s),r=n?n.indexOf(s):-1,o=l=>{t[i]=l,n&&(r>-1?n[r]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[yt(s),o]};function _o(e,t=!0){let n;for(let s=0;s<e.length;s++){const i=e[s];if(cn(i)){if(i.type!==Ae||i.children==="v-if"){if(n)return;if(n=i,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return _o(n.children)}}else return}return n}const jg=e=>{let t;for(const n in e)(n==="class"||n==="style"||xn(n))&&((t||(t={}))[n]=e[n]);return t},Hg=(e,t)=>{const n={};for(const s in e)(!Or(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},hc=e=>e.shapeFlag&7||e.type===Ae;function Bg(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(process.env.NODE_ENV!=="production"&&(i||l)&&At||t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?pc(s,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==s[d]&&!Eo(c,d))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?pc(s,o,c):!0:!!o;return!1}function pc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(t[r]!==e[r]&&!Eo(n,r))return!0}return!1}function bo({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const qf={},Gf=()=>Object.create(qf),Jf=e=>Object.getPrototypeOf(e)===qf;function Kg(e,t,n,s=!1){const i={},r=Gf();e.propsDefaults=Object.create(null),Zf(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);process.env.NODE_ENV!=="production"&&Xf(t||{},i,e),n?e.props=s?i:nf(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Ug(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function Wg(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=re(i),[a]=e.propsOptions;let c=!1;if(!(process.env.NODE_ENV!=="production"&&Ug(e))&&(s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Eo(e.emitsOptions,d))continue;const h=t[d];if(a)if(ve(r,d))h!==r[d]&&(r[d]=h,c=!0);else{const m=De(d);i[m]=fl(a,l,m,h,e,!1)}else h!==r[d]&&(r[d]=h,c=!0)}}}else{Zf(e,t,i,r)&&(c=!0);let u;for(const f in l)(!t||!ve(t,f)&&((u=ut(f))===f||!ve(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=fl(a,l,f,void 0,e,!0)):delete i[f]);if(r!==l)for(const f in r)(!t||!ve(t,f))&&(delete r[f],c=!0)}c&&nn(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&Xf(t||{},i,e)}function Zf(e,t,n,s){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(On(a))continue;const c=t[a];let u;i&&ve(i,u=De(a))?!r||!r.includes(u)?n[u]=c:(l||(l={}))[u]=c:Eo(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,o=!0)}if(r){const a=re(n),c=l||ue;for(let u=0;u<r.length;u++){const f=r[u];n[f]=fl(i,a,f,c[f],e,!ve(c,f))}}return o}function fl(e,t,n,s,i,r){const o=e[n];if(o!=null){const l=ve(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Q(a)){const{propsDefaults:c}=i;if(n in c)s=c[n];else{const u=bs(i);s=c[n]=a.call(null,t),u()}}else s=a;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!l?s=!1:o[1]&&(s===""||s===ut(n))&&(s=!0))}return s}const zg=new WeakMap;function Yf(e,t,n=!1){const s=n?zg:t.propsCache,i=s.get(e);if(i)return i;const r=e.props,o={},l=[];let a=!1;if(!Q(e)){const u=f=>{a=!0;const[d,h]=Yf(f,t,!0);oe(o,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return he(e)&&s.set(e,Ls),Ls;if(K(r))for(let u=0;u<r.length;u++){process.env.NODE_ENV!=="production"&&!te(r[u])&&k("props must be strings when using array syntax.",r[u]);const f=De(r[u]);mc(f)&&(o[f]=ue)}else if(r){process.env.NODE_ENV!=="production"&&!he(r)&&k("invalid props options",r);for(const u in r){const f=De(u);if(mc(f)){const d=r[u],h=o[f]=K(d)||Q(d)?{type:d}:oe({},d),m=h.type;let p=!1,S=!0;if(K(m))for(let N=0;N<m.length;++N){const E=m[N],g=Q(E)&&E.name;if(g==="Boolean"){p=!0;break}else g==="String"&&(S=!1)}else p=Q(m)&&m.name==="Boolean";h[0]=p,h[1]=S,(p||ve(h,"default"))&&l.push(f)}}}const c=[o,l];return he(e)&&s.set(e,c),c}function mc(e){return e[0]!=="$"&&!On(e)?!0:(process.env.NODE_ENV!=="production"&&k(`Invalid prop name: "${e}" is a reserved property.`),!1)}function qg(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Xf(e,t,n){const s=re(t),i=n.propsOptions[0],r=Object.keys(e).map(o=>De(o));for(const o in i){let l=i[o];l!=null&&Gg(o,s[o],l,process.env.NODE_ENV!=="production"?Bt(s):s,!r.includes(o))}}function Gg(e,t,n,s,i){const{type:r,required:o,validator:l,skipCheck:a}=n;if(o&&i){k('Missing required prop: "'+e+'"');return}if(!(t==null&&!o)){if(r!=null&&r!==!0&&!a){let c=!1;const u=K(r)?r:[r],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:h,expectedType:m}=Zg(t,u[d]);f.push(m||""),c=h}if(!c){k(Yg(e,t,f));return}}l&&!l(t,s)&&k('Invalid prop: custom validator check failed for prop "'+e+'".')}}const Jg=et("String,Number,Boolean,Function,Symbol,BigInt");function Zg(e,t){let n;const s=qg(t);if(s==="null")n=e===null;else if(Jg(s)){const i=typeof e;n=i===s.toLowerCase(),!n&&i==="object"&&(n=e instanceof t)}else s==="Object"?n=he(e):s==="Array"?n=K(e):n=e instanceof t;return{valid:n,expectedType:s}}function Yg(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(an).join(" | ")}`;const i=n[0],r=Ll(t),o=gc(t,i),l=gc(t,r);return n.length===1&&vc(i)&&!Xg(i,r)&&(s+=` with value ${o}`),s+=`, got ${r} `,vc(r)&&(s+=`with value ${l}.`),s}function gc(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function vc(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function Xg(...e){return e.some(t=>t.toLowerCase()==="boolean")}const ia=e=>e==="_"||e==="_ctx"||e==="$stable",ra=e=>K(e)?e.map(yt):[yt(e)],Qg=(e,t,n)=>{if(t._n)return t;const s=rn((...i)=>(process.env.NODE_ENV!=="production"&&Fe&&!(n===null&&Re)&&!(n&&n.root!==Fe.root)&&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.`),ra(t(...i))),n);return s._c=!1,s},Qf=(e,t,n)=>{const s=e._ctx;for(const i in e){if(ia(i))continue;const r=e[i];if(Q(r))t[i]=Qg(i,r,s);else if(r!=null){process.env.NODE_ENV!=="production"&&k(`Non-function value encountered for slot "${i}". Prefer function slots for better performance.`);const o=ra(r);t[i]=()=>o}}},ed=(e,t)=>{process.env.NODE_ENV!=="production"&&!ri(e.vnode)&&k("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=ra(t);e.slots.default=()=>n},dl=(e,t,n)=>{for(const s in t)(n||!ia(s))&&(e[s]=t[s])},ev=(e,t,n)=>{const s=e.slots=Gf();if(e.vnode.shapeFlag&32){const i=t._;i?(dl(s,t,n),n&&Us(s,"_",i,!0)):Qf(t,s)}else t&&ed(e,t)},tv=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=ue;if(s.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&At?(dl(i,t,n),nn(e,"set","$slots")):n&&l===1?r=!1:dl(i,t,n):(r=!t.$stable,Qf(t,i)),o=t}else t&&(ed(e,t),o={default:1});if(r)for(const l in i)!ia(l)&&o[l]==null&&delete i[l]};let ai,bn;function gn(e,t){e.appContext.config.performance&&Pr()&&bn.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&Vm(e,t,Pr()?bn.now():Date.now())}function vn(e,t){if(e.appContext.config.performance&&Pr()){const n=`vue-${t}-${e.uid}`,s=n+":end",i=`<${Gi(e,e.type)}> ${t}`;bn.mark(s),bn.measure(i,n,s),bn.clearMeasures(i),bn.clearMarks(n),bn.clearMarks(s)}process.env.NODE_ENV!=="production"&&km(e,t,Pr()?bn.now():Date.now())}function Pr(){return ai!==void 0||(typeof window<"u"&&window.performance?(ai=!0,bn=window.performance):ai=!1),ai}function nv(){const e=[];if(process.env.NODE_ENV!=="production"&&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.
|
|
22
22
|
|
|
23
|
-
For more details, see https://link.vuejs.org/feature-flags.`)}}const we=ff;function sf(e){return of(e)}function rf(e){return of(e,Uh)}function of(e,t){ng();const n=ci();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&ll(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:u,nextSibling:p,setScopeId:h=ge,insertStaticContent:g}=e,v=(d,E,S,k=null,I=null,A=null,j=void 0,R=null,$=process.env.NODE_ENV!=="production"&&ut?!1:!!E.dynamicChildren)=>{if(d===E)return;d&&!Nt(d,E)&&(k=Ei(d),sn(d,I,A,!0),d=null),E.patchFlag===-2&&($=!1,E.dynamicChildren=null);const{type:P,ref:X,shapeFlag:B}=E;switch(P){case Lt:D(d,E,S,k);break;case ve:V(d,E,S,k);break;case mn:d==null?N(E,S,k,j):process.env.NODE_ENV!=="production"&&m(d,E,S,j);break;case Ne:F(d,E,S,k,I,A,j,R,$);break;default:B&1?T(d,E,S,k,I,A,j,R,$):B&6?q(d,E,S,k,I,A,j,R,$):B&64||B&128?P.process(d,E,S,k,I,A,j,R,$,Gn):process.env.NODE_ENV!=="production"&&C("Invalid VNode type:",P,`(${typeof P})`)}X!=null&&I?rs(X,d&&d.ref,A,E||d,!E):X==null&&d&&d.ref!=null&&rs(d.ref,null,A,d,!0)},D=(d,E,S,k)=>{if(d==null)s(E.el=l(E.children),S,k);else{const I=E.el=d.el;if(E.children!==d.children)if(process.env.NODE_ENV!=="production"&&ut&&E.patchFlag===-1&&"__elIndex"in d){const A=S.childNodes,j=l(E.children),R=A[E.__elIndex=d.__elIndex];s(j,S,R),i(R)}else f(I,E.children)}},V=(d,E,S,k)=>{d==null?s(E.el=c(E.children||""),S,k):E.el=d.el},N=(d,E,S,k)=>{[d.el,d.anchor]=g(d.children,E,S,k,d.el,d.anchor)},m=(d,E,S,k)=>{if(E.children!==d.children){const I=p(d.anchor);y(d),[E.el,E.anchor]=g(E.children,S,I,k)}else E.el=d.el,E.anchor=d.anchor},_=({el:d,anchor:E},S,k)=>{let I;for(;d&&d!==E;)I=p(d),s(d,S,k),d=I;s(E,S,k)},y=({el:d,anchor:E})=>{let S;for(;d&&d!==E;)S=p(d),i(d),d=S;i(E)},T=(d,E,S,k,I,A,j,R,$)=>{if(E.type==="svg"?j="svg":E.type==="math"&&(j="mathml"),d==null)L(E,S,k,I,A,j,R,$);else{const P=d.el&&d.el._isVueCE?d.el:null;try{P&&P._beginPatch(),w(d,E,I,A,j,R,$)}finally{P&&P._endPatch()}}},L=(d,E,S,k,I,A,j,R)=>{let $,P;const{props:X,shapeFlag:B,transition:G,dirs:Z}=d;if($=d.el=o(d.type,A,X&&X.is,X),B&8?a($,d.children):B&16&&b(d.children,$,null,k,I,ro(d,A),j,R),Z&&kt(d,null,k,"created"),x($,d,d.scopeId,j,k),X){for(const de in X)de!=="value"&&!Yt(de)&&r($,de,null,X[de],A,k);"value"in X&&r($,"value",null,X.value,A),(P=X.onVnodeBeforeMount)&&Xe(P,k,d)}process.env.NODE_ENV!=="production"&&(ls($,"__vnode",d,!0),ls($,"__vueParentComponent",k,!0)),Z&&kt(d,null,k,"beforeMount");const ce=lf(I,G);ce&&G.beforeEnter($),s($,E,S),((P=X&&X.onVnodeMounted)||ce||Z)&&we(()=>{P&&Xe(P,k,d),ce&&G.enter($),Z&&kt(d,null,k,"mounted")},I)},x=(d,E,S,k,I)=>{if(S&&h(d,S),k)for(let A=0;A<k.length;A++)h(d,k[A]);if(I){let A=I.subTree;if(process.env.NODE_ENV!=="production"&&A.patchFlag>0&&A.patchFlag&2048&&(A=$r(A.children)||A),E===A||Qi(A.type)&&(A.ssContent===E||A.ssFallback===E)){const j=I.vnode;x(d,j,j.scopeId,j.slotScopeIds,I.parent)}}},b=(d,E,S,k,I,A,j,R,$=0)=>{for(let P=$;P<d.length;P++){const X=d[P]=R?fn(d[P]):We(d[P]);v(null,X,E,S,k,I,A,j,R)}},w=(d,E,S,k,I,A,j)=>{const R=E.el=d.el;process.env.NODE_ENV!=="production"&&(R.__vnode=E);let{patchFlag:$,dynamicChildren:P,dirs:X}=E;$|=d.patchFlag&16;const B=d.props||ne,G=E.props||ne;let Z;if(S&&bn(S,!1),(Z=G.onVnodeBeforeUpdate)&&Xe(Z,S,E,d),X&&kt(E,d,S,"beforeUpdate"),S&&bn(S,!0),process.env.NODE_ENV!=="production"&&ut&&($=0,j=!1,P=null),(B.innerHTML&&G.innerHTML==null||B.textContent&&G.textContent==null)&&a(R,""),P?(M(d.dynamicChildren,P,R,S,k,ro(E,I),A),process.env.NODE_ENV!=="production"&&Ls(d,E)):j||le(d,E,R,null,S,k,ro(E,I),A,!1),$>0){if($&16)O(R,B,G,S,I);else if($&2&&B.class!==G.class&&r(R,"class",null,G.class,I),$&4&&r(R,"style",B.style,G.style,I),$&8){const ce=E.dynamicProps;for(let de=0;de<ce.length;de++){const fe=ce[de],ze=B[fe],Pe=G[fe];(Pe!==ze||fe==="value")&&r(R,fe,ze,Pe,I,S)}}$&1&&d.children!==E.children&&a(R,E.children)}else!j&&P==null&&O(R,B,G,S,I);((Z=G.onVnodeUpdated)||X)&&we(()=>{Z&&Xe(Z,S,E,d),X&&kt(E,d,S,"updated")},k)},M=(d,E,S,k,I,A,j)=>{for(let R=0;R<E.length;R++){const $=d[R],P=E[R],X=$.el&&($.type===Ne||!Nt($,P)||$.shapeFlag&198)?u($.el):S;v($,P,X,null,k,I,A,j,!0)}},O=(d,E,S,k,I)=>{if(E!==S){if(E!==ne)for(const A in E)!Yt(A)&&!(A in S)&&r(d,A,E[A],null,I,k);for(const A in S){if(Yt(A))continue;const j=S[A],R=E[A];j!==R&&A!=="value"&&r(d,A,R,j,I,k)}"value"in S&&r(d,"value",E.value,S.value,I)}},F=(d,E,S,k,I,A,j,R,$)=>{const P=E.el=d?d.el:l(""),X=E.anchor=d?d.anchor:l("");let{patchFlag:B,dynamicChildren:G,slotScopeIds:Z}=E;process.env.NODE_ENV!=="production"&&(ut||B&2048)&&(B=0,$=!1,G=null),Z&&(R=R?R.concat(Z):Z),d==null?(s(P,S,k),s(X,S,k),b(E.children||[],S,X,I,A,j,R,$)):B>0&&B&64&&G&&d.dynamicChildren&&d.dynamicChildren.length===G.length?(M(d.dynamicChildren,G,S,I,A,j,R),process.env.NODE_ENV!=="production"?Ls(d,E):(E.key!=null||I&&E===I.subTree)&&Ls(d,E,!0)):le(d,E,S,X,I,A,j,R,$)},q=(d,E,S,k,I,A,j,R,$)=>{E.slotScopeIds=R,d==null?E.shapeFlag&512?I.ctx.activate(E,S,k,j,$):J(E,S,k,I,A,j,$):K(d,E,$)},J=(d,E,S,k,I,A,j)=>{const R=d.component=yf(d,k,I);if(process.env.NODE_ENV!=="production"&&R.type.__hmrId&&Eh(R),process.env.NODE_ENV!=="production"&&(ts(d),Bt(R,"mount")),Ns(d)&&(R.ctx.renderer=Gn),process.env.NODE_ENV!=="production"&&Bt(R,"init"),Nf(R,!1,j),process.env.NODE_ENV!=="production"&&Ut(R,"init"),process.env.NODE_ENV!=="production"&&ut&&(d.el=null),R.asyncDep){if(I&&I.registerDep(R,W,j),!d.el){const $=R.subTree=me(ve);V(null,$,E,S),d.placeholder=$.el}}else W(R,d,E,S,I,A,j);process.env.NODE_ENV!=="production"&&(ns(),Ut(R,"mount"))},K=(d,E,S)=>{const k=E.component=d.component;if(Bm(d,E,S))if(k.asyncDep&&!k.asyncResolved){process.env.NODE_ENV!=="production"&&ts(E),U(k,E,S),process.env.NODE_ENV!=="production"&&ns();return}else k.next=E,k.update();else E.el=d.el,k.vnode=E},W=(d,E,S,k,I,A,j)=>{const R=()=>{if(d.isMounted){let{next:B,bu:G,u:Z,parent:ce,vnode:de}=d;{const tt=cf(d);if(tt){B&&(B.el=de.el,U(d,B,j)),tt.asyncDep.then(()=>{d.isUnmounted||R()});return}}let fe=B,ze;process.env.NODE_ENV!=="production"&&ts(B||d.vnode),bn(d,!1),B?(B.el=de.el,U(d,B,j)):B=de,G&&dn(G),(ze=B.props&&B.props.onVnodeBeforeUpdate)&&Xe(ze,ce,B,de),bn(d,!0),process.env.NODE_ENV!=="production"&&Bt(d,"render");const Pe=Pi(d);process.env.NODE_ENV!=="production"&&Ut(d,"render");const Et=d.subTree;d.subTree=Pe,process.env.NODE_ENV!=="production"&&Bt(d,"patch"),v(Et,Pe,u(Et.el),Ei(Et),d,I,A),process.env.NODE_ENV!=="production"&&Ut(d,"patch"),B.el=Pe.el,fe===null&&Lr(d,Pe.el),Z&&we(Z,I),(ze=B.props&&B.props.onVnodeUpdated)&&we(()=>Xe(ze,ce,B,de),I),process.env.NODE_ENV!=="production"&&vu(d),process.env.NODE_ENV!=="production"&&ns()}else{let B;const{el:G,props:Z}=E,{bm:ce,m:de,parent:fe,root:ze,type:Pe}=d,Et=Xt(E);if(bn(d,!1),ce&&dn(ce),!Et&&(B=Z&&Z.onVnodeBeforeMount)&&Xe(B,fe,E),bn(d,!0),G&&Jr){const tt=()=>{process.env.NODE_ENV!=="production"&&Bt(d,"render"),d.subTree=Pi(d),process.env.NODE_ENV!=="production"&&Ut(d,"render"),process.env.NODE_ENV!=="production"&&Bt(d,"hydrate"),Jr(G,d.subTree,d,I,null),process.env.NODE_ENV!=="production"&&Ut(d,"hydrate")};Et&&Pe.__asyncHydrate?Pe.__asyncHydrate(G,d,tt):tt()}else{ze.ce&&ze.ce._def.shadowRoot!==!1&&ze.ce._injectChildStyle(Pe),process.env.NODE_ENV!=="production"&&Bt(d,"render");const tt=d.subTree=Pi(d);process.env.NODE_ENV!=="production"&&Ut(d,"render"),process.env.NODE_ENV!=="production"&&Bt(d,"patch"),v(null,tt,S,k,d,I,A),process.env.NODE_ENV!=="production"&&Ut(d,"patch"),E.el=tt.el}if(de&&we(de,I),!Et&&(B=Z&&Z.onVnodeMounted)){const tt=E;we(()=>Xe(B,fe,tt),I)}(E.shapeFlag&256||fe&&Xt(fe.vnode)&&fe.vnode.shapeFlag&256)&&d.a&&we(d.a,I),d.isMounted=!0,process.env.NODE_ENV!=="production"&&No(d),E=S=k=null}};d.scope.on();const $=d.effect=new Ks(R);d.scope.off();const P=d.update=$.run.bind($),X=d.job=$.runIfDirty.bind($);X.i=d,X.id=d.uid,$.scheduler=()=>Vr(X),bn(d,!0),process.env.NODE_ENV!=="production"&&($.onTrack=d.rtc?B=>dn(d.rtc,B):void 0,$.onTrigger=d.rtg?B=>dn(d.rtg,B):void 0),P()},U=(d,E,S)=>{E.component=d;const k=d.vnode.props;d.vnode=E,d.next=null,Wm(d,E.props,k,S),tg(d,E.children,S),Dt(),ac(d),Vt()},le=(d,E,S,k,I,A,j,R,$=!1)=>{const P=d&&d.children,X=d?d.shapeFlag:0,B=E.children,{patchFlag:G,shapeFlag:Z}=E;if(G>0){if(G&128){lt(P,B,S,k,I,A,j,R,$);return}else if(G&256){Ge(P,B,S,k,I,A,j,R,$);return}}Z&8?(X&16&&bs(P,I,A),B!==P&&a(S,B)):X&16?Z&16?lt(P,B,S,k,I,A,j,R,$):bs(P,I,A,!0):(X&8&&a(S,""),Z&16&&b(B,S,k,I,A,j,R,$))},Ge=(d,E,S,k,I,A,j,R,$)=>{d=d||es,E=E||es;const P=d.length,X=E.length,B=Math.min(P,X);let G;for(G=0;G<B;G++){const Z=E[G]=$?fn(E[G]):We(E[G]);v(d[G],Z,S,null,I,A,j,R,$)}P>X?bs(d,I,A,!0,!1,B):b(E,S,k,I,A,j,R,$,B)},lt=(d,E,S,k,I,A,j,R,$)=>{let P=0;const X=E.length;let B=d.length-1,G=X-1;for(;P<=B&&P<=G;){const Z=d[P],ce=E[P]=$?fn(E[P]):We(E[P]);if(Nt(Z,ce))v(Z,ce,S,null,I,A,j,R,$);else break;P++}for(;P<=B&&P<=G;){const Z=d[B],ce=E[G]=$?fn(E[G]):We(E[G]);if(Nt(Z,ce))v(Z,ce,S,null,I,A,j,R,$);else break;B--,G--}if(P>B){if(P<=G){const Z=G+1,ce=Z<X?E[Z].el:k;for(;P<=G;)v(null,E[P]=$?fn(E[P]):We(E[P]),S,ce,I,A,j,R,$),P++}}else if(P>G)for(;P<=B;)sn(d[P],I,A,!0),P++;else{const Z=P,ce=P,de=new Map;for(P=ce;P<=G;P++){const He=E[P]=$?fn(E[P]):We(E[P]);He.key!=null&&(process.env.NODE_ENV!=="production"&&de.has(He.key)&&C("Duplicate keys found during update:",JSON.stringify(He.key),"Make sure keys are unique."),de.set(He.key,P))}let fe,ze=0;const Pe=G-ce+1;let Et=!1,tt=0;const Os=new Array(Pe);for(P=0;P<Pe;P++)Os[P]=0;for(P=Z;P<=B;P++){const He=d[P];if(ze>=Pe){sn(He,I,A,!0);continue}let At;if(He.key!=null)At=de.get(He.key);else for(fe=ce;fe<=G;fe++)if(Os[fe-ce]===0&&Nt(He,E[fe])){At=fe;break}At===void 0?sn(He,I,A,!0):(Os[At-ce]=P+1,At>=tt?tt=At:Et=!0,v(He,E[At],S,null,I,A,j,R,$),ze++)}const Ql=Et?sg(Os):es;for(fe=Ql.length-1,P=Pe-1;P>=0;P--){const He=ce+P,At=E[He],ec=E[He+1],tc=He+1<X?ec.el||af(ec):k;Os[P]===0?v(null,At,S,tc,I,A,j,R,$):Et&&(fe<0||P!==Ql[fe]?ct(At,S,tc,2):fe--)}}},ct=(d,E,S,k,I=null)=>{const{el:A,type:j,transition:R,children:$,shapeFlag:P}=d;if(P&6){ct(d.component.subTree,E,S,k);return}if(P&128){d.suspense.move(E,S,k);return}if(P&64){j.move(d,E,S,Gn);return}if(j===Ne){s(A,E,S);for(let B=0;B<$.length;B++)ct($[B],E,S,k);s(d.anchor,E,S);return}if(j===mn){_(d,E,S);return}if(k!==2&&P&1&&R)if(k===0)R.beforeEnter(A),s(A,E,S),we(()=>R.enter(A),I);else{const{leave:B,delayLeave:G,afterLeave:Z}=R,ce=()=>{d.ctx.isUnmounted?i(A):s(A,E,S)},de=()=>{A._isLeaving&&A[qt](!0),B(A,()=>{ce(),Z&&Z()})};G?G(A,ce,de):de()}else s(A,E,S)},sn=(d,E,S,k=!1,I=!1)=>{const{type:A,props:j,ref:R,children:$,dynamicChildren:P,shapeFlag:X,patchFlag:B,dirs:G,cacheIndex:Z}=d;if(B===-2&&(I=!1),R!=null&&(Dt(),rs(R,null,S,d,!0),Vt()),Z!=null&&(E.renderCache[Z]=void 0),X&256){E.ctx.deactivate(d);return}const ce=X&1&&G,de=!Xt(d);let fe;if(de&&(fe=j&&j.onVnodeBeforeUnmount)&&Xe(fe,E,d),X&6)Qp(d.component,S,k);else{if(X&128){d.suspense.unmount(S,k);return}ce&&kt(d,null,E,"beforeUnmount"),X&64?d.type.remove(d,E,S,Gn,k):P&&!P.hasOnce&&(A!==Ne||B>0&&B&64)?bs(P,E,S,!1,!0):(A===Ne&&B&384||!I&&X&16)&&bs($,E,S),k&&qr(d)}(de&&(fe=j&&j.onVnodeUnmounted)||ce)&&we(()=>{fe&&Xe(fe,E,d),ce&&kt(d,null,E,"unmounted")},S)},qr=d=>{const{type:E,el:S,anchor:k,transition:I}=d;if(E===Ne){process.env.NODE_ENV!=="production"&&d.patchFlag>0&&d.patchFlag&2048&&I&&!I.persisted?d.children.forEach(j=>{j.type===ve?i(j.el):qr(j)}):Zp(S,k);return}if(E===mn){y(d);return}const A=()=>{i(S),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(d.shapeFlag&1&&I&&!I.persisted){const{leave:j,delayLeave:R}=I,$=()=>j(S,A);R?R(d.el,A,$):$()}else A()},Zp=(d,E)=>{let S;for(;d!==E;)S=p(d),i(d),d=S;i(E)},Qp=(d,E,S)=>{process.env.NODE_ENV!=="production"&&d.type.__hmrId&&yh(d);const{bum:k,scope:I,job:A,subTree:j,um:R,m:$,a:P}=d;Zi($),Zi(P),k&&dn(k),I.stop(),A&&(A.flags|=8,sn(j,d,E,S)),R&&we(R,E),we(()=>{d.isUnmounted=!0},E),process.env.NODE_ENV!=="production"&&wh(d)},bs=(d,E,S,k=!1,I=!1,A=0)=>{for(let j=A;j<d.length;j++)sn(d[j],E,S,k,I)},Ei=d=>{if(d.shapeFlag&6)return Ei(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const E=p(d.anchor||d.el),S=E&&E[Su];return S?p(S):E};let Gr=!1;const Zl=(d,E,S)=>{let k;d==null?E._vnode&&(sn(E._vnode,null,null,!0),k=E._vnode.component):v(E._vnode||null,d,E,null,null,null,S),E._vnode=d,Gr||(Gr=!0,ac(k),Wi(),Gr=!1)},Gn={p:v,um:sn,m:ct,r:qr,mt:J,mc:b,pc:le,pbc:M,n:Ei,o:e};let zr,Jr;return t&&([zr,Jr]=t(Gn)),{render:Zl,hydrate:zr,createApp:Rm(Zl,zr)}}function ro({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ls(e,t,n=!1){const s=e.children,i=t.children;if(H(s)&&H(i))for(let r=0;r<s.length;r++){const o=s[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=fn(i[r]),l.el=o.el),!n&&l.patchFlag!==-2&&Ls(o,l)),l.type===Lt&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=r+(e.type===Ne?1:0)),l.type===ve&&!l.el&&(l.el=o.el),process.env.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function sg(e){const t=e.slice(),n=[0];let s,i,r,o,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(i=n[n.length-1],e[i]<f){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<f?r=l+1:o=l;f<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function cf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:cf(t)}function Zi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function af(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?af(t.subTree):null}const Qi=e=>e.__isSuspense;let xo=0;const ig={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,c,f){if(e==null)og(t,n,s,i,r,o,l,c,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}lg(e,t,n,s,i,o,l,c,f)}},hydrate:cg,normalize:ag},rg=ig;function Xs(e,t){const n=e.props&&e.props[t];z(n)&&n()}function og(e,t,n,s,i,r,o,l,c){const{p:f,o:{createElement:a}}=c,u=a("div"),p=e.suspense=uf(e,i,s,t,u,n,r,o,l,c);f(null,p.pendingBranch=e.ssContent,u,null,s,p,r,o),p.deps>0?(Xs(e,"onPending"),Xs(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,o),os(p,e.ssFallback)):p.resolve(!1,!0)}function lg(e,t,n,s,i,r,o,l,{p:c,um:f,o:{createElement:a}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:g,pendingBranch:v,isInFallback:D,isHydrating:V}=u;if(v)u.pendingBranch=p,Nt(v,p)?(c(v,p,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0?u.resolve():D&&(V||(c(g,h,n,s,i,null,r,o,l),os(u,h)))):(u.pendingId=xo++,V?(u.isHydrating=!1,u.activeBranch=v):f(v,i,u),u.deps=0,u.effects.length=0,u.hiddenContainer=a("div"),D?(c(null,p,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0?u.resolve():(c(g,h,n,s,i,null,r,o,l),os(u,h))):g&&Nt(g,p)?(c(g,p,n,s,i,u,r,o,l),u.resolve(!0)):(c(null,p,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0&&u.resolve()));else if(g&&Nt(g,p))c(g,p,n,s,i,u,r,o,l),os(u,p);else if(Xs(t,"onPending"),u.pendingBranch=p,p.shapeFlag&512?u.pendingId=p.component.suspenseId:u.pendingId=xo++,c(null,p,u.hiddenContainer,null,i,u,r,o,l),u.deps<=0)u.resolve();else{const{timeout:N,pendingId:m}=u;N>0?setTimeout(()=>{u.pendingId===m&&u.fallback(h)},N):N===0&&u.fallback(h)}}let Vc=!1;function uf(e,t,n,s,i,r,o,l,c,f,a=!1){process.env.NODE_ENV!=="production"&&!Vc&&(Vc=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:u,m:p,um:h,n:g,o:{parentNode:v,remove:D}}=f;let V;const N=ug(e);N&&t&&t.pendingBranch&&(V=t.pendingId,t.deps++);const m=e.props?Hi(e.props.timeout):void 0;process.env.NODE_ENV!=="production"&&rl(m,"Suspense timeout");const _=r,y={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:xo++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!a,isHydrating:a,isUnmounted:!1,effects:[],resolve(T=!1,L=!1){if(process.env.NODE_ENV!=="production"){if(!T&&!y.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(y.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:x,activeBranch:b,pendingBranch:w,pendingId:M,effects:O,parentComponent:F,container:q,isInFallback:J}=y;let K=!1;y.isHydrating?y.isHydrating=!1:T||(K=b&&w.transition&&w.transition.mode==="out-in",K&&(b.transition.afterLeave=()=>{M===y.pendingId&&(p(w,q,r===_?g(b):r,0),as(O),J&&x.ssFallback&&(x.ssFallback.el=null))}),b&&(v(b.el)===q&&(r=g(b)),h(b,F,y,!0),!K&&J&&x.ssFallback&&we(()=>x.ssFallback.el=null,y)),K||p(w,q,r,0)),os(y,w),y.pendingBranch=null,y.isInFallback=!1;let W=y.parent,U=!1;for(;W;){if(W.pendingBranch){W.effects.push(...O),U=!0;break}W=W.parent}!U&&!K&&as(O),y.effects=[],N&&t&&t.pendingBranch&&V===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Xs(x,"onResolve")},fallback(T){if(!y.pendingBranch)return;const{vnode:L,activeBranch:x,parentComponent:b,container:w,namespace:M}=y;Xs(L,"onFallback");const O=g(x),F=()=>{y.isInFallback&&(u(null,T,w,O,b,null,M,l,c),os(y,T))},q=T.transition&&T.transition.mode==="out-in";q&&(x.transition.afterLeave=F),y.isInFallback=!0,h(x,b,null,!0),q||F()},move(T,L,x){y.activeBranch&&p(y.activeBranch,T,L,x),y.container=T},next(){return y.activeBranch&&g(y.activeBranch)},registerDep(T,L,x){const b=!!y.pendingBranch;b&&y.deps++;const w=T.vnode.el;T.asyncDep.catch(M=>{_n(M,T,0)}).then(M=>{if(T.isUnmounted||y.isUnmounted||y.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:O}=T;process.env.NODE_ENV!=="production"&&ts(O),Mo(T,M,!1),w&&(O.el=w);const F=!w&&T.subTree.el;L(T,O,v(w||T.subTree.el),w?null:g(T.subTree),y,o,x),F&&(O.placeholder=null,D(F)),Lr(T,O.el),process.env.NODE_ENV!=="production"&&ns(),b&&--y.deps===0&&y.resolve()})},unmount(T,L){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,T,L),y.pendingBranch&&h(y.pendingBranch,n,T,L)}};return y}function cg(e,t,n,s,i,r,o,l,c){const f=t.suspense=uf(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),a=c(e,f.pendingBranch=t.ssContent,n,f,r,o);return f.deps===0&&f.resolve(!1,!0),a}function ag(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=xc(s?n.default:n),e.ssFallback=s?xc(n.fallback):me(ve)}function xc(e){let t;if(z(e)){const n=Fn&&e._c;n&&(e._d=!1,Fe()),e=e(),n&&(e._d=!0,t=Le,pf())}if(H(e)){const n=$r(e);process.env.NODE_ENV!=="production"&&!n&&e.filter(s=>s!==ml).length>0&&C("<Suspense> slots expect a single root node."),e=n}return e=We(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ff(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):as(e)}function os(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Lr(s,i))}function ug(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ne=Symbol.for("v-fgt"),Lt=Symbol.for("v-txt"),ve=Symbol.for("v-cmt"),mn=Symbol.for("v-stc"),Fs=[];let Le=null;function Fe(e=!1){Fs.push(Le=e?null:[])}function pf(){Fs.pop(),Le=Fs[Fs.length-1]||null}let Fn=1;function Zs(e,t=!1){Fn+=e,e<0&&Le&&t&&(Le.hasOnce=!0)}function df(e){return e.dynamicChildren=Fn>0?Le||es:null,pf(),Fn>0&&Le&&Le.push(e),e}function St(e,t,n,s,i,r){return df(nt(e,t,n,s,i,r,!0))}function Qs(e,t,n,s,i){return df(me(e,t,n,s,i,!0))}function jt(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=Ai.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}let Ao;function fg(e){Ao=e}const pg=(...e)=>mf(...Ao?Ao(e,Se):e),hf=({key:e})=>e??null,ki=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Y(e)||ye(e)||z(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function nt(e,t=null,n=null,s=0,i=null,r=e===Ne?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hf(t),ref:t&&ki(t),scopeId:xr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Se};return l?(bl(c,n),r&128&&e.normalize(c)):n&&(c.shapeFlag|=Y(n)?8:16),process.env.NODE_ENV!=="production"&&c.key!==c.key&&C("VNode created with invalid key (NaN). VNode type:",c.type),Fn>0&&!o&&Le&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&Le.push(c),c}const me=process.env.NODE_ENV!=="production"?pg:mf;function mf(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===ml)&&(process.env.NODE_ENV!=="production"&&!e&&C(`Invalid vnode type when creating vnode: ${e}.`),e=ve),jt(e)){const l=vt(e,t,!0);return n&&bl(l,n),Fn>0&&!r&&Le&&(l.shapeFlag&6?Le[Le.indexOf(e)]=l:Le.push(l)),l.patchFlag=-2,l}if(wf(e)&&(e=e.__vccOpts),t){t=gf(t);let{class:l,style:c}=t;l&&!Y(l)&&(t.class=tn(l)),se(c)&&($n(c)&&!H(c)&&(c=ee({},c)),t.style=dt(c))}const o=Y(e)?1:Qi(e)?128:wu(e)?64:se(e)?4:z(e)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&$n(e)&&(e=Q(e),C("Vue received a Component that 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`.",`
|
|
24
|
-
Component that was made reactive: `,e)),nt(e,t,n,s,i,o,r,!0)}function gf(e){return e?$n(e)||Xu(e)?ee({},e):e:null}function vt(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:c}=e,f=t?Ef(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&hf(f),ref:t&&t.ref?n&&r?H(r)?r.concat(ki(t)):[r,ki(t)]:ki(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&o===-1&&H(l)?l.map(vf):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ne?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&en(a,c.clone(a)),a}function vf(e){const t=vt(e);return H(e.children)&&(t.children=e.children.map(vf)),t}function ei(e=" ",t=0){return me(Lt,null,e,t)}function dg(e,t){const n=me(mn,null,e);return n.staticCount=t,n}function js(e="",t=!1){return t?(Fe(),Qs(ve,null,e)):me(ve,null,e)}function We(e){return e==null||typeof e=="boolean"?me(ve):H(e)?me(Ne,null,e.slice()):jt(e)?fn(e):me(Lt,null,String(e))}function fn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function bl(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),bl(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Xu(t)?t._ctx=Se:i===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[ei(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ef(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=tn([t.class,s.class]));else if(i==="style")t.style=dt([t.style,s.style]);else if(Qt(i)){const r=t[i],o=s[i];o&&r!==o&&!(H(r)&&r.includes(o))&&(t[i]=r?[].concat(r,o):o)}else i!==""&&(t[i]=s[i])}return t}function Xe(e,t,n,s=null){gt(e,t,7,[n,s])}const hg=Wu();let mg=0;function yf(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||hg,r={uid:mg++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new el(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Qu(s,i),emitsOptions:Gu(s,i),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,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 process.env.NODE_ENV!=="production"?r.ctx=dm(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Lm.bind(null,r),e.ce&&e.ce(r),r}let Oe=null;const qe=()=>Oe||Se;let er,Io;{const e=ci(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};er=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),Io=t("__VUE_SSR_SETTERS__",n=>fs=n)}const jn=e=>{const t=Oe;return er(e),e.scope.on(),()=>{e.scope.off(),er(t)}},Po=()=>{Oe&&Oe.scope.off(),er(null)},gg=Ve("slot,component");function ko(e,{isNativeTag:t}){(gg(e)||t(e))&&C("Do not use built-in or reserved HTML elements as component id: "+e)}function _f(e){return e.vnode.shapeFlag&4}let fs=!1;function Nf(e,t=!1,n=!1){t&&Io(t);const{props:s,children:i}=e.vnode,r=_f(e);Um(e,s,r,t),eg(e,i,n||t);const o=r?vg(e,t):void 0;return t&&Io(!1),o}function vg(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&ko(n.name,e.appContext.config),n.components){const i=Object.keys(n.components);for(let r=0;r<i.length;r++)ko(i[r],e.appContext.config)}if(n.directives){const i=Object.keys(n.directives);for(let r=0;r<i.length;r++)yu(i[r])}n.compilerOptions&&Ol()&&C('"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=new Proxy(e.ctx,$s),process.env.NODE_ENV!=="production"&&hm(e);const{setup:s}=n;if(s){Dt();const i=e.setupContext=s.length>1?Sf(e):null,r=jn(e),o=Un(s,e,0,[process.env.NODE_ENV!=="production"?bt(e.props):e.props,i]),l=gr(o);if(Vt(),r(),(l||e.sp)&&!Xt(e)&&dl(e),l){if(o.then(Po,Po),t)return o.then(c=>{Mo(e,c,t)}).catch(c=>{_n(c,e,0)});if(e.asyncDep=o,process.env.NODE_ENV!=="production"&&!e.suspense){const c=di(e,n);C(`Component <${c}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Mo(e,o,t)}else Of(e,t)}function Mo(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)?(process.env.NODE_ENV!=="production"&&jt(t)&&C("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=il(t),process.env.NODE_ENV!=="production"&&mm(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&C(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Of(e,n)}let Hs,Ro;function bf(e){Hs=e,Ro=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,pm))}}const Ol=()=>!Hs;function Of(e,t,n){const s=e.type;if(!e.render){if(!t&&Hs&&!s.render){const i=s.template||yl(e).template;if(i){process.env.NODE_ENV!=="production"&&Bt(e,"compile");const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ee(ee({isCustomElement:r,delimiters:l},o),c);s.render=Hs(i,f),process.env.NODE_ENV!=="production"&&Ut(e,"compile")}}e.render=s.render||ge,Ro&&Ro(e)}{const i=jn(e);Dt();try{xm(e)}finally{Vt(),i()}}process.env.NODE_ENV!=="production"&&!s.render&&e.render===ge&&!t&&(!Hs&&s.template?C('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".'):C("Component is missing template or render function: ",s))}const Ac=process.env.NODE_ENV!=="production"?{get(e,t){return Yi(),Te(e,"get",""),e[t]},set(){return C("setupContext.attrs is readonly."),!1},deleteProperty(){return C("setupContext.attrs is readonly."),!1}}:{get(e,t){return Te(e,"get",""),e[t]}};function Eg(e){return new Proxy(e.slots,{get(t,n){return Te(e,"get","$slots"),t[n]}})}function Sf(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&C("expose() should be called only once per setup()."),n!=null)){let s=typeof n;s==="object"&&(H(n)?s="array":ye(n)&&(s="ref")),s!=="object"&&C(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,Ac))},get slots(){return s||(s=Eg(e))},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,Ac),slots:e.slots,emit:e.emit,expose:t}}function pi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(il(lu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in kn)return kn[n](e)},has(t,n){return n in t||n in kn}})):e.proxy}const yg=/(?:^|[-_])\w/g,_g=e=>e.replace(yg,t=>t.toUpperCase()).replace(/[-_]/g,"");function ps(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function di(e,t,n=!1){let s=ps(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?_g(s):n?"App":"Anonymous"}function wf(e){return z(e)&&"__vccOpts"in e}const ft=(e,t)=>{const n=rh(e,t,fs);if(process.env.NODE_ENV!=="production"){const s=qe();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Cf(e,t,n){try{Zs(-1);const s=arguments.length;return s===2?se(t)&&!H(t)?jt(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&jt(n)&&(n=[n]),me(e,t,n))}finally{Zs(1)}}function Tf(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(u){if(!se(u))return null;if(u.__isVue)return["div",e,"VueInstance"];if(ye(u)){Dt();const p=u.value;return Vt(),["div",{},["span",e,a(u)],"<",l(p),">"]}else{if($t(u))return["div",{},["span",e,Ie(u)?"ShallowReactive":"Reactive"],"<",l(u),`>${mt(u)?" (readonly)":""}`];if(mt(u))return["div",{},["span",e,Ie(u)?"ShallowReadonly":"Readonly"],"<",l(u),">"]}return null},hasBody(u){return u&&u.__isVue},body(u){if(u&&u.__isVue)return["div",{},...r(u.$)]}};function r(u){const p=[];u.type.props&&u.props&&p.push(o("props",Q(u.props))),u.setupState!==ne&&p.push(o("setup",u.setupState)),u.data!==ne&&p.push(o("data",Q(u.data)));const h=c(u,"computed");h&&p.push(o("computed",h));const g=c(u,"inject");return g&&p.push(o("injected",g)),p.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:u}]]),p}function o(u,p){return p=ee({},p),Object.keys(p).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},u],["div",{style:"padding-left:1.25em"},...Object.keys(p).map(h=>["div",{},["span",s,h+": "],l(p[h],!1)])]]:["span",{}]}function l(u,p=!0){return typeof u=="number"?["span",t,u]:typeof u=="string"?["span",n,JSON.stringify(u)]:typeof u=="boolean"?["span",s,u]:se(u)?["object",{object:p?Q(u):u}]:["span",n,String(u)]}function c(u,p){const h=u.type;if(z(h))return;const g={};for(const v in u.ctx)f(h,v,p)&&(g[v]=u.ctx[v]);return g}function f(u,p,h){const g=u[h];if(H(g)&&g.includes(p)||se(g)&&p in g||u.extends&&f(u.extends,p,h)||u.mixins&&u.mixins.some(v=>f(v,p,h)))return!0}function a(u){return Ie(u)?"ShallowRef":u.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}function Ng(e,t,n,s){const i=n[s];if(i&&Df(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Df(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(Ue(n[s],t[s]))return!1;return Fn>0&&Le&&Le.push(e),!0}const $o="3.5.27",_e=process.env.NODE_ENV!=="production"?C:ge,bg=Tr,Og=(process.env.NODE_ENV,yt),Sg=(process.env.NODE_ENV,ll),wg={createComponentInstance:yf,setupComponent:Nf,renderComponentRoot:Pi,setCurrentRenderingInstance:Js,isVNode:jt,normalizeVNode:We,getComponentPublicInstance:pi,ensureValidVNode:vl,pushWarningContext:ts,popWarningContext:ns},Cg=wg,Tg=null,Dg=null,Vg=null;let Lo;const Ic=typeof window<"u"&&window.trustedTypes;if(Ic)try{Lo=Ic.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&_e(`Error creating trusted types policy: ${e}`)}const Vf=Lo?e=>Lo.createHTML(e):e=>e,xg="http://www.w3.org/2000/svg",Ag="http://www.w3.org/1998/Math/MathML",Wt=typeof document<"u"?document:null,Pc=Wt&&Wt.createElement("template"),xf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?Wt.createElementNS(xg,e):t==="mathml"?Wt.createElementNS(Ag,e):n?Wt.createElement(e,{is:n}):Wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Wt.createTextNode(e),createComment:e=>Wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Pc.innerHTML=Vf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Pc.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},rn="transition",Cs="animation",ds=Symbol("_vtc"),Af={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},If=ee({},pl,Af),Ig=e=>(e.displayName="Transition",e.props=If,e),Pf=Ig((e,{slots:t})=>Cf(xu,kf(e),t)),On=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},kc=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function kf(e){const t={};for(const O in e)O in Af||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=r,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,g=Pg(i),v=g&&g[0],D=g&&g[1],{onBeforeEnter:V,onEnter:N,onEnterCancelled:m,onLeave:_,onLeaveCancelled:y,onBeforeAppear:T=V,onAppear:L=N,onAppearCancelled:x=m}=t,b=(O,F,q,J)=>{O._enterCancelled=J,ln(O,F?a:l),ln(O,F?f:o),q&&q()},w=(O,F)=>{O._isLeaving=!1,ln(O,u),ln(O,h),ln(O,p),F&&F()},M=O=>(F,q)=>{const J=O?L:N,K=()=>b(F,O,q);On(J,[F,K]),Mc(()=>{ln(F,O?c:r),It(F,O?a:l),kc(J)||Rc(F,s,v,K)})};return ee(t,{onBeforeEnter(O){On(V,[O]),It(O,r),It(O,o)},onBeforeAppear(O){On(T,[O]),It(O,c),It(O,f)},onEnter:M(!1),onAppear:M(!0),onLeave(O,F){O._isLeaving=!0;const q=()=>w(O,F);It(O,u),O._enterCancelled?(It(O,p),Fo(O)):(Fo(O),It(O,p)),Mc(()=>{O._isLeaving&&(ln(O,u),It(O,h),kc(_)||Rc(O,s,D,q))}),On(_,[O,q])},onEnterCancelled(O){b(O,!1,void 0,!0),On(m,[O])},onAppearCancelled(O){b(O,!0,void 0,!0),On(x,[O])},onLeaveCancelled(O){w(O),On(y,[O])}})}function Pg(e){if(e==null)return null;if(se(e))return[oo(e.enter),oo(e.leave)];{const t=oo(e);return[t,t]}}function oo(e){const t=Hi(e);return process.env.NODE_ENV!=="production"&&rl(t,"<transition> explicit duration"),t}function It(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ds]||(e[ds]=new Set)).add(t)}function ln(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ds];n&&(n.delete(t),n.size||(e[ds]=void 0))}function Mc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kg=0;function Rc(e,t,n,s){const i=e._endId=++kg,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:c}=Mf(e,t);if(!o)return s();const f=o+"end";let a=0;const u=()=>{e.removeEventListener(f,p),r()},p=h=>{h.target===e&&++a>=c&&u()};setTimeout(()=>{a<c&&u()},l+1),e.addEventListener(f,p)}function Mf(e,t){const n=window.getComputedStyle(e),s=g=>(n[g]||"").split(", "),i=s(`${rn}Delay`),r=s(`${rn}Duration`),o=$c(i,r),l=s(`${Cs}Delay`),c=s(`${Cs}Duration`),f=$c(l,c);let a=null,u=0,p=0;t===rn?o>0&&(a=rn,u=o,p=r.length):t===Cs?f>0&&(a=Cs,u=f,p=c.length):(u=Math.max(o,f),a=u>0?o>f?rn:Cs:null,p=a?a===rn?r.length:c.length:0);const h=a===rn&&/\b(?:transform|all)(?:,|$)/.test(s(`${rn}Property`).toString());return{type:a,timeout:u,propCount:p,hasTransform:h}}function $c(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Lc(n)+Lc(e[s])))}function Lc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Mg(e,t,n){const s=e[ds];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const tr=Symbol("_vod"),Rf=Symbol("_vsh"),Fr={name:"show",beforeMount(e,{value:t},{transition:n}){e[tr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ts(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Ts(e,!0),s.enter(e)):s.leave(e,()=>{Ts(e,!1)}):Ts(e,t))},beforeUnmount(e,{value:t}){Ts(e,t)}};function Ts(e,t){e.style.display=t?e[tr]:"none",e[Rf]=!t}function Rg(){Fr.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const $f=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":"");function $g(e){const t=qe();if(!t){process.env.NODE_ENV!=="production"&&_e("useCssVars is called without current active component instance.");return}const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>nr(r,i))};process.env.NODE_ENV!=="production"&&(t.getCssVars=()=>e(t.proxy));const s=()=>{const i=e(t.proxy);t.ce?nr(t.ce,i):jo(t.subTree,i),n(i)};hl(()=>{as(s)}),Wn(()=>{_t(s,ge,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),Mr(()=>i.disconnect())})}function jo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{jo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)nr(e.el,t);else if(e.type===Ne)e.children.forEach(n=>jo(n,t));else if(e.type===mn){let{el:n,anchor:s}=e;for(;n&&(nr(n,t),n!==s);)n=n.nextSibling}}function nr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t){const r=Ua(t[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[$f]=s}}const Lg=/(?:^|;)\s*display\s*:/;function Fg(e,t,n){const s=e.style,i=Y(n);let r=!1;if(n&&!i){if(t)if(Y(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Mi(s,l,"")}else for(const o in t)n[o]==null&&Mi(s,o,"");for(const o in n)o==="display"&&(r=!0),Mi(s,o,n[o])}else if(i){if(t!==n){const o=s[$f];o&&(n+=";"+o),s.cssText=n,r=Lg.test(n)}}else t&&e.removeAttribute("style");tr in e&&(e[tr]=r?s.display:"",e[Rf]&&(s.display="none"))}const jg=/[^\\];\s*$/,Fc=/\s*!important$/;function Mi(e,t,n){if(H(n))n.forEach(s=>Mi(e,t,s));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&jg.test(n)&&_e(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Hg(e,t);Fc.test(n)?e.setProperty(Re(s),n.replace(Fc,""),"important"):e[s]=n}}const jc=["Webkit","Moz","ms"],lo={};function Hg(e,t){const n=lo[t];if(n)return n;let s=pe(t);if(s!=="filter"&&s in e)return lo[t]=s;s=Ft(s);for(let i=0;i<jc.length;i++){const r=jc[i]+s;if(r in e)return lo[t]=r}return t}const Hc="http://www.w3.org/1999/xlink";function Bc(e,t,n,s,i,r=yd(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Hc,t.slice(6,t.length)):e.setAttributeNS(Hc,t,n):n==null||r&&!Qo(n)?e.removeAttribute(t):e.setAttribute(t,r?"":et(n)?String(n):n)}function Uc(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Vf(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Qo(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch(l){process.env.NODE_ENV!=="production"&&!o&&_e(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,l)}o&&e.removeAttribute(i||t)}function Jt(e,t,n,s){e.addEventListener(t,n,s)}function Bg(e,t,n,s){e.removeEventListener(t,n,s)}const Kc=Symbol("_vei");function Ug(e,t,n,s,i=null){const r=e[Kc]||(e[Kc]={}),o=r[t];if(s&&o)o.value=process.env.NODE_ENV!=="production"?qc(s,t):s;else{const[l,c]=Kg(t);if(s){const f=r[t]=Gg(process.env.NODE_ENV!=="production"?qc(s,t):s,i);Jt(e,l,f,c)}else o&&(Bg(e,l,o,c),r[t]=void 0)}}const Wc=/(?:Once|Passive|Capture)$/;function Kg(e){let t;if(Wc.test(e)){t={};let s;for(;s=e.match(Wc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Re(e.slice(2)),t]}let co=0;const Wg=Promise.resolve(),qg=()=>co||(Wg.then(()=>co=0),co=Date.now());function Gg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;gt(zg(s,n.value),t,5,[s])};return n.value=e,n.attached=qg(),n}function qc(e,t){return z(e)||H(e)?e:(_e(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
25
|
-
Expected function or array of functions, received type ${typeof e}.`),ge)}function zg(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Gc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lf=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Mg(e,s,o):t==="style"?Fg(e,n,s):Qt(t)?ji(t)||Ug(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jg(e,t,s,o))?(Uc(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Bc(e,t,s,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Y(s))?Uc(e,pe(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Bc(e,t,s,o))};function Jg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gc(t)&&z(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Gc(t)&&Y(n)?!1:t in e}const zc={};function Sl(e,t,n){let s=Kn(e,t);vr(s)&&(s=ee({},s,t));class i extends jr{constructor(o){super(s,o,n)}}return i.def=s,i}const Yg=((e,t)=>Sl(e,t,Jf)),Xg=typeof HTMLElement<"u"?HTMLElement:class{};class jr extends Xg{constructor(t,n={},s=rr){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==rr?this._root=this.shadowRoot:(process.env.NODE_ENV!=="production"&&this.shadowRoot&&_e("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(ee({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof jr){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Dr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!H(r))for(const c in r){const f=r[c];(f===Number||f&&f.type===Number)&&(c in this._props&&(this._props[c]=Hi(this._props[c])),(l||(l=Object.create(null)))[pe(c)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot?this._applyStyles(o):process.env.NODE_ENV!=="production"&&o&&_e("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){process.env.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)re(this,s)?process.env.NODE_ENV!=="production"&&_e(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>Ot(n[s])})}_resolveProps(t){const{props:n}=t,s=H(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(pe))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):zc;const i=pe(t);n&&this._numberProps&&this._numberProps[i]&&(s=Hi(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===zc?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(Re(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Re(t),n+""):n||this.removeAttribute(Re(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),zf(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=me(this._def,ee(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,process.env.NODE_ENV!=="production"&&(s.ceReload=r=>{this._styles&&(this._styles.forEach(o=>this._root.removeChild(o)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,vr(o[0])?ee({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),Re(r)!==r&&i(Re(r),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=t.length-1;i>=0;i--){const r=document.createElement("style");if(s&&r.setAttribute("nonce",s),r.textContent=t[i],this.shadowRoot.prepend(r),process.env.NODE_ENV!=="production")if(n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let o=this._childStyles.get(n.__hmrId);o||this._childStyles.set(n.__hmrId,o=[]),o.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const i=t[s],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const c of o){if(n&&c.nodeType===1){const f=n+"-s",a=document.createTreeWalker(c,1);c.setAttribute(f,"");let u;for(;u=a.nextNode();)u.setAttribute(f,"")}l.insertBefore(c,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const i=s.querySelectorAll("slot");for(let r=0;r<i.length;r++)n.add(i[r])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(process.env.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(s=>this._root.removeChild(s)),n.length=0)}}}function Ho(e){const t=qe(),n=t&&t.ce;return n||(process.env.NODE_ENV!=="production"&&_e(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function Zg(){const e=process.env.NODE_ENV!=="production"?Ho("useShadowRoot"):Ho();return e&&e.shadowRoot}function Qg(e="$style"){{const t=qe();if(!t)return process.env.NODE_ENV!=="production"&&_e("useCssModule must be called inside setup()"),ne;const n=t.type.__cssModules;if(!n)return process.env.NODE_ENV!=="production"&&_e("Current instance does not have CSS modules injected."),ne;const s=n[e];return s||(process.env.NODE_ENV!=="production"&&_e(`Current instance does not have CSS module named "${e}".`),ne)}}const Ff=new WeakMap,jf=new WeakMap,sr=Symbol("_moveCb"),Jc=Symbol("_enterCb"),ev=e=>(delete e.props.mode,e),tv=ev({name:"TransitionGroup",props:ee({},If,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=qe(),s=fl();let i,r;return kr(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!ov(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(sv),i.forEach(iv);const l=i.filter(rv);Fo(n.vnode.el),l.forEach(c=>{const f=c.el,a=f.style;It(f,o),a.transform=a.webkitTransform=a.transitionDuration="";const u=f[sr]=p=>{p&&p.target!==f||(!p||p.propertyName.endsWith("transform"))&&(f.removeEventListener("transitionend",u),f[sr]=null,ln(f,o))};f.addEventListener("transitionend",u)}),i=[]}),()=>{const o=Q(e),l=kf(o);let c=o.tag||Ne;if(i=[],r)for(let f=0;f<r.length;f++){const a=r[f];a.el&&a.el instanceof Element&&(i.push(a),en(a,us(a,l,s,n)),Ff.set(a,{left:a.el.offsetLeft,top:a.el.offsetTop}))}r=t.default?Ir(t.default()):[];for(let f=0;f<r.length;f++){const a=r[f];a.key!=null?en(a,us(a,l,s,n)):process.env.NODE_ENV!=="production"&&a.type!==Lt&&_e("<TransitionGroup> children must be keyed.")}return me(c,null,r)}}}),nv=tv;function sv(e){const t=e.el;t[sr]&&t[sr](),t[Jc]&&t[Jc]()}function iv(e){jf.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function rv(e){const t=Ff.get(e),n=jf.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",e}}function ov(e,t,n){const s=e.cloneNode(),i=e[ds];i&&i.forEach(l=>{l.split(/\s+/).forEach(c=>c&&s.classList.remove(c))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Mf(s);return r.removeChild(s),o}const yn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>dn(t,n):t};function lv(e){e.target.composing=!0}function Yc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ht=Symbol("_assign");function Xc(e,t,n){return t&&(e=e.trim()),n&&(e=_r(e)),e}const ir={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[ht]=yn(i);const r=s||i.props&&i.props.type==="number";Jt(e,t?"change":"input",o=>{o.target.composing||e[ht](Xc(e.value,n,r))}),(n||r)&&Jt(e,"change",()=>{e.value=Xc(e.value,n,r)}),t||(Jt(e,"compositionstart",lv),Jt(e,"compositionend",Yc),Jt(e,"change",Yc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[ht]=yn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?_r(e.value):e.value,c=t??"";l!==c&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c))}},wl={deep:!0,created(e,t,n){e[ht]=yn(n),Jt(e,"change",()=>{const s=e._modelValue,i=hs(e),r=e.checked,o=e[ht];if(H(s)){const l=Nr(s,i),c=l!==-1;if(r&&!c)o(s.concat(i));else if(!r&&c){const f=[...s];f.splice(l,1),o(f)}}else if(Bn(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(Bf(e,r))})},mounted:Zc,beforeUpdate(e,t,n){e[ht]=yn(n),Zc(e,t,n)}};function Zc(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(H(t))i=Nr(t,s.props.value)>-1;else if(Bn(t))i=t.has(s.props.value);else{if(t===n)return;i=En(t,Bf(e,!0))}e.checked!==i&&(e.checked=i)}const Cl={created(e,{value:t},n){e.checked=En(t,n.props.value),e[ht]=yn(n),Jt(e,"change",()=>{e[ht](hs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[ht]=yn(s),t!==n&&(e.checked=En(t,s.props.value))}},Hf={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Bn(t);Jt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?_r(hs(o)):hs(o));e[ht](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Dr(()=>{e._assigning=!1})}),e[ht]=yn(s)},mounted(e,{value:t}){Qc(e,t)},beforeUpdate(e,t,n){e[ht]=yn(n)},updated(e,{value:t}){e._assigning||Qc(e,t)}};function Qc(e,t){const n=e.multiple,s=H(t);if(n&&!s&&!Bn(t)){process.env.NODE_ENV!=="production"&&_e(`<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 i=0,r=e.options.length;i<r;i++){const o=e.options[i],l=hs(o);if(n)if(s){const c=typeof l;c==="string"||c==="number"?o.selected=t.some(f=>String(f)===String(l)):o.selected=Nr(t,l)>-1}else o.selected=t.has(l);else if(En(hs(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function hs(e){return"_value"in e?e._value:e.value}function Bf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Uf={created(e,t,n){Ti(e,t,n,null,"created")},mounted(e,t,n){Ti(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){Ti(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){Ti(e,t,n,s,"updated")}};function Kf(e,t){switch(e){case"SELECT":return Hf;case"TEXTAREA":return ir;default:switch(t){case"checkbox":return wl;case"radio":return Cl;default:return ir}}}function Ti(e,t,n,s,i){const o=Kf(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function cv(){ir.getSSRProps=({value:e})=>({value:e}),Cl.getSSRProps=({value:e},t)=>{if(t.props&&En(t.props.value,e))return{checked:!0}},wl.getSSRProps=({value:e},t)=>{if(H(e)){if(t.props&&Nr(e,t.props.value)>-1)return{checked:!0}}else if(Bn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Uf.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Kf(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const av=["ctrl","shift","alt","meta"],uv={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)=>av.some(n=>e[`${n}Key`]&&!t.includes(n))},fv=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=uv[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},pv={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},dv=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=Re(i.key);if(t.some(o=>o===r||pv[o]===r))return e(i)}))},Wf=ee({patchProp:Lf},xf);let Bs,ea=!1;function qf(){return Bs||(Bs=sf(Wf))}function Gf(){return Bs=ea?Bs:rf(Wf),ea=!0,Bs}const zf=((...e)=>{qf().render(...e)}),hv=((...e)=>{Gf().hydrate(...e)}),rr=((...e)=>{const t=qf().createApp(...e);process.env.NODE_ENV!=="production"&&(Xf(t),Zf(t));const{mount:n}=t;return t.mount=s=>{const i=Qf(s);if(!i)return;const r=t._component;!z(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Yf(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),Jf=((...e)=>{const t=Gf().createApp(...e);process.env.NODE_ENV!=="production"&&(Xf(t),Zf(t));const{mount:n}=t;return t.mount=s=>{const i=Qf(s);if(i)return n(i,!0,Yf(i))},t});function Yf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Xf(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>$a(t)||La(t)||Fa(t),writable:!1})}function Zf(e){if(Ol()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){_e("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='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-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return _e(s),n},set(){_e(s)}})}}function Qf(e){if(Y(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&_e(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&_e('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let ta=!1;const mv=()=>{ta||(ta=!0,cv(),Rg())},gv=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:xu,BaseTransitionPropsValidators:pl,Comment:ve,DeprecationTypes:Vg,EffectScope:el,ErrorCodes:hh,ErrorTypeStrings:bg,Fragment:Ne,KeepAlive:sm,ReactiveEffect:Ks,Static:mn,Suspense:rg,Teleport:$h,Text:Lt,TrackOpTypes:oh,Transition:Pf,TransitionGroup:nv,TriggerOpTypes:lh,VueElement:jr,assertNumber:rl,callWithAsyncErrorHandling:gt,callWithErrorHandling:Un,camelize:pe,capitalize:Ft,cloneVNode:vt,compatUtils:Dg,computed:ft,createApp:rr,createBlock:Qs,createCommentVNode:js,createElementBlock:St,createElementVNode:nt,createHydrationRenderer:rf,createPropsRestProxy:Tm,createRenderer:sf,createSSRApp:Jf,createSlots:am,createStaticVNode:dg,createTextVNode:ei,createVNode:me,customRef:au,defineAsyncComponent:tm,defineComponent:Kn,defineCustomElement:Sl,defineEmits:vm,defineExpose:Em,defineModel:Nm,defineOptions:ym,defineProps:gm,defineSSRCustomElement:Yg,defineSlots:_m,devtools:Og,effect:Vd,effectScope:Cd,getCurrentInstance:qe,getCurrentScope:Ka,getCurrentWatcher:ch,getTransitionRawChildren:Ir,guardReactiveProps:gf,h:Cf,handleError:_n,hasInjectionContext:Ih,hydrate:hv,hydrateOnIdle:Jh,hydrateOnInteraction:Qh,hydrateOnMediaQuery:Zh,hydrateOnVisible:Xh,initCustomFormatter:Tf,initDirectivesForSSR:mv,inject:is,isMemoSame:Df,isProxy:$n,isReactive:$t,isReadonly:mt,isRef:ye,isRuntimeOnly:Ol,isShallow:Ie,isVNode:jt,markRaw:lu,mergeDefaults:wm,mergeModels:Cm,mergeProps:Ef,nextTick:Dr,nodeOps:xf,normalizeClass:tn,normalizeProps:dd,normalizeStyle:dt,onActivated:ku,onBeforeMount:$u,onBeforeUnmount:fi,onBeforeUpdate:hl,onDeactivated:Mu,onErrorCaptured:Hu,onMounted:Wn,onRenderTracked:ju,onRenderTriggered:Fu,onScopeDispose:Td,onServerPrefetch:Lu,onUnmounted:Mr,onUpdated:kr,onWatcherCleanup:fu,openBlock:Fe,patchProp:Lf,popScopeId:xh,provide:ul,proxyRefs:il,pushScopeId:Vh,queuePostFlushCb:as,reactive:wr,readonly:Gs,ref:$e,registerRuntimeCompiler:bf,render:zf,renderList:Bu,renderSlot:um,resolveComponent:om,resolveDirective:cm,resolveDynamicComponent:lm,resolveFilter:Tg,resolveTransitionHooks:us,setBlockTracking:Zs,setDevtoolsHook:Sg,setTransitionHooks:en,shallowReactive:ou,shallowReadonly:bt,shallowRef:Qn,ssrContextKey:_u,ssrUtils:Cg,stop:xd,toDisplayString:Tn,toHandlerKey:Mt,toHandlers:fm,toRaw:Q,toRef:sh,toRefs:eh,toValue:Xd,transformVNodeArgs:fg,triggerRef:Yd,unref:Ot,useAttrs:Sm,useCssModule:Qg,useCssVars:$g,useHost:Ho,useId:Fh,useModel:$m,useSSRContext:Nu,useShadowRoot:Zg,useSlots:Om,useTemplateRef:jh,useTransitionState:fl,vModelCheckbox:wl,vModelDynamic:Uf,vModelRadio:Cl,vModelSelect:Hf,vModelText:ir,vShow:Fr,version:$o,warn:_e,watch:_t,watchEffect:Ph,watchPostEffect:kh,watchSyncEffect:bu,withAsyncContext:Dm,withCtx:Ar,withDefaults:bm,withDirectives:al,withKeys:dv,withMemo:Ng,withModifiers:fv,withScopeId:Ah},Symbol.toStringTag,{value:"Module"}));const ti=Symbol(process.env.NODE_ENV!=="production"?"Fragment":""),Us=Symbol(process.env.NODE_ENV!=="production"?"Teleport":""),Tl=Symbol(process.env.NODE_ENV!=="production"?"Suspense":""),or=Symbol(process.env.NODE_ENV!=="production"?"KeepAlive":""),ep=Symbol(process.env.NODE_ENV!=="production"?"BaseTransition":""),Hn=Symbol(process.env.NODE_ENV!=="production"?"openBlock":""),tp=Symbol(process.env.NODE_ENV!=="production"?"createBlock":""),np=Symbol(process.env.NODE_ENV!=="production"?"createElementBlock":""),Dl=Symbol(process.env.NODE_ENV!=="production"?"createVNode":""),Vl=Symbol(process.env.NODE_ENV!=="production"?"createElementVNode":""),hi=Symbol(process.env.NODE_ENV!=="production"?"createCommentVNode":""),xl=Symbol(process.env.NODE_ENV!=="production"?"createTextVNode":""),sp=Symbol(process.env.NODE_ENV!=="production"?"createStaticVNode":""),Al=Symbol(process.env.NODE_ENV!=="production"?"resolveComponent":""),Il=Symbol(process.env.NODE_ENV!=="production"?"resolveDynamicComponent":""),Pl=Symbol(process.env.NODE_ENV!=="production"?"resolveDirective":""),kl=Symbol(process.env.NODE_ENV!=="production"?"resolveFilter":""),Ml=Symbol(process.env.NODE_ENV!=="production"?"withDirectives":""),Rl=Symbol(process.env.NODE_ENV!=="production"?"renderList":""),ip=Symbol(process.env.NODE_ENV!=="production"?"renderSlot":""),rp=Symbol(process.env.NODE_ENV!=="production"?"createSlots":""),Hr=Symbol(process.env.NODE_ENV!=="production"?"toDisplayString":""),lr=Symbol(process.env.NODE_ENV!=="production"?"mergeProps":""),$l=Symbol(process.env.NODE_ENV!=="production"?"normalizeClass":""),Ll=Symbol(process.env.NODE_ENV!=="production"?"normalizeStyle":""),ni=Symbol(process.env.NODE_ENV!=="production"?"normalizeProps":""),mi=Symbol(process.env.NODE_ENV!=="production"?"guardReactiveProps":""),Fl=Symbol(process.env.NODE_ENV!=="production"?"toHandlers":""),Bo=Symbol(process.env.NODE_ENV!=="production"?"camelize":""),vv=Symbol(process.env.NODE_ENV!=="production"?"capitalize":""),Uo=Symbol(process.env.NODE_ENV!=="production"?"toHandlerKey":""),cr=Symbol(process.env.NODE_ENV!=="production"?"setBlockTracking":""),Ev=Symbol(process.env.NODE_ENV!=="production"?"pushScopeId":""),yv=Symbol(process.env.NODE_ENV!=="production"?"popScopeId":""),jl=Symbol(process.env.NODE_ENV!=="production"?"withCtx":""),_v=Symbol(process.env.NODE_ENV!=="production"?"unref":""),Nv=Symbol(process.env.NODE_ENV!=="production"?"isRef":""),Hl=Symbol(process.env.NODE_ENV!=="production"?"withMemo":""),op=Symbol(process.env.NODE_ENV!=="production"?"isMemoSame":""),ms={[ti]:"Fragment",[Us]:"Teleport",[Tl]:"Suspense",[or]:"KeepAlive",[ep]:"BaseTransition",[Hn]:"openBlock",[tp]:"createBlock",[np]:"createElementBlock",[Dl]:"createVNode",[Vl]:"createElementVNode",[hi]:"createCommentVNode",[xl]:"createTextVNode",[sp]:"createStaticVNode",[Al]:"resolveComponent",[Il]:"resolveDynamicComponent",[Pl]:"resolveDirective",[kl]:"resolveFilter",[Ml]:"withDirectives",[Rl]:"renderList",[ip]:"renderSlot",[rp]:"createSlots",[Hr]:"toDisplayString",[lr]:"mergeProps",[$l]:"normalizeClass",[Ll]:"normalizeStyle",[ni]:"normalizeProps",[mi]:"guardReactiveProps",[Fl]:"toHandlers",[Bo]:"camelize",[vv]:"capitalize",[Uo]:"toHandlerKey",[cr]:"setBlockTracking",[Ev]:"pushScopeId",[yv]:"popScopeId",[jl]:"withCtx",[_v]:"unref",[Nv]:"isRef",[Hl]:"withMemo",[op]:"isMemoSame"};function bv(e){Object.getOwnPropertySymbols(e).forEach(t=>{ms[t]=e[t]})}const ot={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ov(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:ot}}function si(e,t,n,s,i,r,o,l=!1,c=!1,f=!1,a=ot){return e&&(l?(e.helper(Hn),e.helper(Es(e.inSSR,f))):e.helper(vs(e.inSSR,f)),o&&e.helper(Ml)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:c,isComponent:f,loc:a}}function Rn(e,t=ot){return{type:17,loc:t,elements:e}}function pt(e,t=ot){return{type:15,loc:t,properties:e}}function Ce(e,t){return{type:16,loc:ot,key:Y(e)?te(e,!0):e,value:t}}function te(e,t=!1,n=ot,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function Tt(e,t=ot){return{type:8,loc:t,children:e}}function De(e,t=[],n=ot){return{type:14,loc:n,callee:e,arguments:t}}function gs(e,t=void 0,n=!1,s=!1,i=ot){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Ko(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:ot}}function Sv(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:ot}}function wv(e){return{type:21,body:e,loc:ot}}function vs(e,t){return e||t?Dl:Vl}function Es(e,t){return e||t?tp:np}function Bl(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(vs(s,e.isComponent)),t(Hn),t(Es(s,e.isComponent)))}const na=new Uint8Array([123,123]),sa=new Uint8Array([125,125]);function ia(e){return e>=97&&e<=122||e>=65&&e<=90}function st(e){return e===32||e===10||e===9||e===12||e===13}function on(e){return e===47||e===62||st(e)}function ar(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const xe={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Cv{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=na,this.delimiterClose=sa,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=na,this.delimiterClose=sa}getPos(t){let n=1,s=t+1;const i=this.newlines.length;let r=-1;if(i>100){let o=-1,l=i;for(;o+1<l;){const c=o+l>>>1;this.newlines[c]<t?o=c:l=c}r=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(n=r+2,s=t-this.newlines[r]),{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?on(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||st(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===xe.TitleEnd||this.currentSequence===xe.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===xe.Cdata[this.sequenceIndex]?++this.sequenceIndex===xe.Cdata.length&&(this.state=28,this.currentSequence=xe.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===xe.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):ia(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){on(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(on(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(ar("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){st(t)||(t===62?(process.env.NODE_ENV!=="production"&&this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=ia(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||st(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,process.env.NODE_ENV!=="production"&&this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):st(t)||(process.env.NODE_ENV!=="production"&&t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):st(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||on(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):process.env.NODE_ENV!=="production"&&(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||on(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||on(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||on(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),process.env.NODE_ENV!=="production"&&this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||on(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):st(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):st(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){st(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(process.env.NODE_ENV!=="production"&&t===34||t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=xe.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===xe.ScriptEnd[3]?this.startSpecial(xe.ScriptEnd,4):t===xe.StyleEnd[3]?this.startSpecial(xe.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===xe.TitleEnd[3]?this.startSpecial(xe.TitleEnd,4):t===xe.TextareaEnd[3]?this.startSpecial(xe.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===xe.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const Tv={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Wo(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function gn(e,t){const n=Wo("MODE",t),s=Wo(e,t);return n===3?s===!0:s!==!1}function ys(e,t,n,...s){const i=gn(e,t);return process.env.NODE_ENV!=="production"&&i&&ur(e,t,n,...s),i}function ur(e,t,n,...s){if(Wo(e,t)==="suppress-warning")return;const{message:r,link:o}=Tv[e],l=`(deprecation ${e}) ${typeof r=="function"?r(...s):r}${o?`
|
|
26
|
-
Details: ${o}`:""}`,
|
|
27
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""},Qe=e=>e.type===4&&e.isStatic;function cp(e){switch(e){case"Teleport":case"teleport":return Us;case"Suspense":case"suspense":return Tl;case"KeepAlive":case"keep-alive":return or;case"BaseTransition":case"base-transition":return ep}}const Vv=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Kl=e=>!Vv.test(e),ap=/[A-Za-z_$\xA0-\uFFFF]/,xv=/[\.\?\w$\xA0-\uFFFF]/,Av=/\s+[.[]\s*|\s*[.[]\s+/g,up=e=>e.type===4?e.content:e.loc.source,Iv=e=>{const t=up(e).trim().replace(Av,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l<t.length;l++){const c=t.charAt(l);switch(n){case 0:if(c==="[")s.push(n),n=1,i++;else if(c==="(")s.push(n),n=2,r++;else if(!(l===0?ap:xv).test(c))return!1;break;case 1:c==="'"||c==='"'||c==="`"?(s.push(n),n=3,o=c):c==="["?i++:c==="]"&&(--i||(n=s.pop()));break;case 2:if(c==="'"||c==='"'||c==="`")s.push(n),n=3,o=c;else if(c==="(")r++;else if(c===")"){if(l===t.length-1)return!1;--r||(n=s.pop())}break;case 3:c===o&&(n=s.pop(),o=null);break}}return!i&&!r},fp=Iv,Pv=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,kv=e=>Pv.test(up(e)),Mv=kv;function ra(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Ze(e,t,n=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&(n||i.exp)&&(Y(t)?i.name===t:t.test(i.name)))return i}}function ii(e,t,n=!1,s=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||s))return r}else if(r.name==="bind"&&(r.exp||s)&&hn(r.arg,t))return r}}function hn(e,t){return!!(e&&Qe(e)&&e.content===t)}function Rv(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function ao(e){return e.type===5||e.type===2}function oa(e){return e.type===7&&e.name==="pre"}function $v(e){return e.type===7&&e.name==="slot"}function fr(e){return e.type===1&&e.tagType===3}function pr(e){return e.type===1&&e.tagType===2}const Lv=new Set([ni,mi]);function pp(e,t=[]){if(e&&!Y(e)&&e.type===14){const n=e.callee;if(!Y(n)&&Lv.has(n))return pp(e.arguments[0],t.concat(e))}return[e,t]}function dr(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!Y(i)&&i.type===14){const l=pp(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||Y(i))s=pt([t]);else if(i.type===14){const l=i.arguments[0];!Y(l)&&l.type===15?la(t,l)||l.properties.unshift(t):i.callee===Fl?s=De(n.helper(lr),[pt([t]),i]):i.arguments.unshift(pt([t])),!s&&(s=i)}else i.type===15?(la(t,i)||i.properties.unshift(t),s=i):(s=De(n.helper(lr),[pt([t]),i]),o&&o.callee===mi&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function la(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function ri(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Fv(e){return e.type===14&&e.callee===Hl?e.arguments[1].returns:e}const jv=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function dp(e){for(let t=0;t<e.length;t++)if(!st(e.charCodeAt(t)))return!1;return!0}function Wl(e){return e.type===2&&dp(e.content)||e.type===12&&Wl(e.content)}function ql(e){return e.type===3||Wl(e)}const hp={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Zn,isPreTag:Zn,isIgnoreNewlineTag:Zn,isCustomElement:Zn,onError:Ul,onWarn:lp,comments:process.env.NODE_ENV!=="production",prefixIdentifiers:!1};let oe=hp,oi=null,Zt="",Me=null,ie=null,Ye="",Kt=-1,Sn=-1,Gl=0,pn=!1,qo=null;const Ee=[],he=new Cv(Ee,{onerr:Je,ontext(e,t){Di(Ae(e,t),e,t)},ontextentity(e,t,n){Di(e,t,n)},oninterpolation(e,t){if(pn)return Di(Ae(e,t),e,t);let n=e+he.delimiterOpen.length,s=t-he.delimiterClose.length;for(;st(Zt.charCodeAt(n));)n++;for(;st(Zt.charCodeAt(s-1));)s--;let i=Ae(n,s);i.includes("&")&&(i=oe.decodeEntities(i,!1)),Go({type:5,content:$i(i,!1,be(n,s)),loc:be(e,t)})},onopentagname(e,t){const n=Ae(e,t);Me={type:1,tag:n,ns:oe.getNamespace(n,Ee[0],oe.ns),tagType:0,props:[],children:[],loc:be(e-1,t),codegenNode:void 0}},onopentagend(e){aa(e)},onclosetag(e,t){const n=Ae(e,t);if(!oe.isVoidTag(n)){let s=!1;for(let i=0;i<Ee.length;i++)if(Ee[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&Je(24,Ee[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Ee.shift();Ri(l,t,o<i)}break}s||Je(23,mp(e,60))}},onselfclosingtag(e){const t=Me.tag;Me.isSelfClosing=!0,aa(e),Ee[0]&&Ee[0].tag===t&&Ri(Ee.shift(),e)},onattribname(e,t){ie={type:6,name:Ae(e,t),nameLoc:be(e,t),value:void 0,loc:be(e)}},ondirname(e,t){const n=Ae(e,t),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!pn&&s===""&&Je(26,e),pn||s==="")ie={type:6,name:n,nameLoc:be(e,t),value:void 0,loc:be(e)};else if(ie={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[te("prop")]:[],loc:be(e)},s==="pre"){pn=he.inVPre=!0,qo=Me;const i=Me.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=Yv(i[r]))}},ondirarg(e,t){if(e===t)return;const n=Ae(e,t);if(pn&&!oa(ie))ie.name+=n,Dn(ie.nameLoc,t);else{const s=n[0]!=="[";ie.arg=$i(s?n:n.slice(1,-1),s,be(e,t),s?3:0)}},ondirmodifier(e,t){const n=Ae(e,t);if(pn&&!oa(ie))ie.name+="."+n,Dn(ie.nameLoc,t);else if(ie.name==="slot"){const s=ie.arg;s&&(s.content+="."+n,Dn(s.loc,t))}else{const s=te(n,!0,be(e,t));ie.modifiers.push(s)}},onattribdata(e,t){Ye+=Ae(e,t),Kt<0&&(Kt=e),Sn=t},onattribentity(e,t,n){Ye+=e,Kt<0&&(Kt=t),Sn=n},onattribnameend(e){const t=ie.loc.start.offset,n=Ae(t,e);ie.type===7&&(ie.rawName=n),Me.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&Je(2,t)},onattribend(e,t){if(Me&&ie){if(Dn(ie.loc,t),e!==0)if(Ye.includes("&")&&(Ye=oe.decodeEntities(Ye,!0)),ie.type===6)ie.name==="class"&&(Ye=vp(Ye).trim()),e===1&&!Ye&&Je(13,t),ie.value={type:2,content:Ye,loc:e===1?be(Kt,Sn):be(Kt-1,Sn+1)},he.inSFCRoot&&Me.tag==="template"&&ie.name==="lang"&&Ye&&Ye!=="html"&&he.enterRCDATA(ar("</template"),0);else{let n=0;ie.exp=$i(Ye,!1,be(Kt,Sn),0,n),ie.name==="for"&&(ie.forParseResult=Bv(ie.exp));let s=-1;ie.name==="bind"&&(s=ie.modifiers.findIndex(i=>i.content==="sync"))>-1&&ys("COMPILER_V_BIND_SYNC",oe,ie.loc,ie.arg.loc.source)&&(ie.name="model",ie.modifiers.splice(s,1))}(ie.type!==7||ie.name!=="pre")&&Me.props.push(ie)}Ye="",Kt=Sn=-1},oncomment(e,t){oe.comments&&Go({type:3,content:Ae(e,t),loc:be(e-4,t+3)})},onend(){const e=Zt.length;if(process.env.NODE_ENV!=="production"&&he.state!==1)switch(he.state){case 5:case 8:Je(5,e);break;case 3:case 4:Je(25,he.sectionStart);break;case 28:he.currentSequence===xe.CdataEnd?Je(6,e):Je(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:Je(9,e);break}for(let t=0;t<Ee.length;t++)Ri(Ee[t],e-1),Je(24,Ee[t].loc.start.offset)},oncdata(e,t){Ee[0].ns!==0?Di(Ae(e,t),e,t):Je(1,e-9)},onprocessinginstruction(e){(Ee[0]?Ee[0].ns:oe.ns)===0&&Je(21,e-1)}}),ca=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Hv=/^\(|\)$/g;function Bv(e){const t=e.loc,n=e.content,s=n.match(jv);if(!s)return;const[,i,r]=s,o=(u,p,h=!1)=>{const g=t.start.offset+p,v=g+u.length;return $i(u,!1,be(g,v),0,h?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=i.trim().replace(Hv,"").trim();const f=i.indexOf(c),a=c.match(ca);if(a){c=c.replace(ca,"").trim();const u=a[1].trim();let p;if(u&&(p=n.indexOf(u,f+c.length),l.key=o(u,p,!0)),a[2]){const h=a[2].trim();h&&(l.index=o(h,n.indexOf(h,l.key?p+u.length:f+c.length),!0))}}return c&&(l.value=o(c,f,!0)),l}function Ae(e,t){return Zt.slice(e,t)}function aa(e){he.inSFCRoot&&(Me.innerLoc=be(e+1,e+1)),Go(Me);const{tag:t,ns:n}=Me;n===0&&oe.isPreTag(t)&&Gl++,oe.isVoidTag(t)?Ri(Me,e):(Ee.unshift(Me),(n===1||n===2)&&(he.inXML=!0)),Me=null}function Di(e,t,n){{const r=Ee[0]&&Ee[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=oe.decodeEntities(e,!1))}const s=Ee[0]||oi,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,Dn(i.loc,n)):s.children.push({type:2,content:e,loc:be(t,n)})}function Ri(e,t,n=!1){n?Dn(e.loc,mp(t,60)):Dn(e.loc,Uv(t,62)+1),he.inSFCRoot&&(e.children.length?e.innerLoc.end=ee({},e.children[e.children.length-1].loc.end):e.innerLoc.end=ee({},e.innerLoc.start),e.innerLoc.source=Ae(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(pn||(s==="slot"?e.tagType=2:ua(e)?e.tagType=3:Wv(e)&&(e.tagType=1)),he.inRCDATA||(e.children=gp(r)),i===0&&oe.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&oe.isPreTag(s)&&Gl--,qo===e&&(pn=he.inVPre=!1,qo=null),he.inXML&&(Ee[0]?Ee[0].ns:oe.ns)===0&&(he.inXML=!1);{const o=e.props;if(process.env.NODE_ENV!=="production"&&gn("COMPILER_V_IF_V_FOR_PRECEDENCE",oe)){let c=!1,f=!1;for(let a=0;a<o.length;a++){const u=o[a];if(u.type===7&&(u.name==="if"?c=!0:u.name==="for"&&(f=!0)),c&&f){ur("COMPILER_V_IF_V_FOR_PRECEDENCE",oe,e.loc);break}}}if(!he.inSFCRoot&&gn("COMPILER_NATIVE_TEMPLATE",oe)&&e.tag==="template"&&!ua(e)){process.env.NODE_ENV!=="production"&&ur("COMPILER_NATIVE_TEMPLATE",oe,e.loc);const c=Ee[0]||oi,f=c.children.indexOf(e);c.children.splice(f,1,...e.children)}const l=o.find(c=>c.type===6&&c.name==="inline-template");l&&ys("COMPILER_INLINE_TEMPLATE",oe,l.loc)&&e.children.length&&(l.value={type:2,content:Ae(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function Uv(e,t){let n=e;for(;Zt.charCodeAt(n)!==t&&n<Zt.length-1;)n++;return n}function mp(e,t){let n=e;for(;Zt.charCodeAt(n)!==t&&n>=0;)n--;return n}const Kv=new Set(["if","else","else-if","for","slot"]);function ua({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Kv.has(t[n].name))return!0}return!1}function Wv({tag:e,props:t}){if(oe.isCustomElement(e))return!1;if(e==="component"||qv(e.charCodeAt(0))||cp(e)||oe.isBuiltInComponent&&oe.isBuiltInComponent(e)||oe.isNativeTag&&!oe.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const s=t[n];if(s.type===6){if(s.name==="is"&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(ys("COMPILER_IS_ON_ELEMENT",oe,s.loc))return!0}}else if(s.name==="bind"&&hn(s.arg,"is")&&ys("COMPILER_IS_ON_ELEMENT",oe,s.loc))return!0}return!1}function qv(e){return e>64&&e<91}const Gv=/\r\n/g;function gp(e){const t=oe.whitespace!=="preserve";let n=!1;for(let s=0;s<e.length;s++){const i=e[s];if(i.type===2)if(Gl)i.content=i.content.replace(Gv,`
|
|
28
|
-
`);else if(
|
|
29
|
-
`+" ".repeat(
|
|
30
|
-
`,-1),
|
|
31
|
-
`,0),
|
|
32
|
-
`,-1),e.hoists.length)){const
|
|
33
|
-
`,-1)}cE(e.hoists,t),r(),i("return ")}function uo(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?kl:t==="component"?Al:Pl);for(let l=0;l<e.length;l++){let c=e[l];const f=c.endsWith("__self");f&&(c=c.slice(0,-6)),s(`const ${ri(c,t)} = ${o}(${JSON.stringify(c)}${f?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function cE(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),je(r,t),s())}t.pure=!1}function aE(e){return Y(e)||e.type===4||e.type===2||e.type===5||e.type===8}function zl(e,t){const n=e.length>3||process.env.NODE_ENV!=="production"&&e.some(s=>H(s)||!aE(s));t.push("["),n&&t.indent(),gi(e,t,n),n&&t.deindent(),t.push("]")}function gi(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];Y(l)?i(l,-3):H(l)?zl(l,t):je(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function je(e,t){if(Y(e)){t.push(e,-3);return}if(et(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:process.env.NODE_ENV!=="production"&&ra(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),je(e.codegenNode,t);break;case 2:uE(e,t);break;case 4:Sp(e,t);break;case 5:fE(e,t);break;case 12:je(e.codegenNode,t);break;case 8:wp(e,t);break;case 3:dE(e,t);break;case 13:hE(e,t);break;case 14:gE(e,t);break;case 15:vE(e,t);break;case 17:EE(e,t);break;case 18:yE(e,t);break;case 19:_E(e,t);break;case 20:NE(e,t);break;case 21:gi(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:if(process.env.NODE_ENV!=="production")return ra(!1,`unhandled codegen node type: ${e.type}`),e}}function uE(e,t){t.push(JSON.stringify(e.content),-3,e)}function Sp(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function fE(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Ur),n(`${s(Hr)}(`),je(e.content,t),n(")")}function wp(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];Y(s)?t.push(s,-3):je(s,t)}}function pE(e,t){const{push:n}=t;if(e.type===8)n("["),wp(e,t),n("]");else if(e.isStatic){const s=Kl(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function dE(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Ur),n(`${s(hi)}(${JSON.stringify(e.content)})`,-3,e)}function hE(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:c,dynamicProps:f,directives:a,isBlock:u,disableTracking:p,isComponent:h}=e;let g;if(c)if(process.env.NODE_ENV!=="production")if(c<0)g=c+` /* ${ks[c]} */`;else{const D=Object.keys(ks).map(Number).filter(V=>V>0&&c&V).map(V=>ks[V]).join(", ");g=c+` /* ${D} */`}else g=String(c);a&&n(s(Ml)+"("),u&&n(`(${s(Hn)}(${p?"true":""}), `),i&&n(Ur);const v=u?Es(t.inSSR,h):vs(t.inSSR,h);n(s(v)+"(",-2,e),gi(mE([r,o,l,g,f]),t),n(")"),u&&n(")"),a&&(n(", "),je(a,t),n(")"))}function mE(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function gE(e,t){const{push:n,helper:s,pure:i}=t,r=Y(e.callee)?e.callee:s(e.callee);i&&n(Ur),n(r+"(",-2,e),gi(e.arguments,t),n(")")}function vE(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||process.env.NODE_ENV!=="production"&&o.some(c=>c.value.type!==4);n(l?"{":"{ "),l&&s();for(let c=0;c<o.length;c++){const{key:f,value:a}=o[c];pE(f,t),n(": "),je(a,t),c<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function EE(e,t){zl(e.elements,t)}function yE(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:c,isSlot:f}=e;f&&n(`_${ms[jl]}(`),n("(",-2,e),H(r)?gi(r,t):r&&je(r,t),n(") => "),(c||l)&&(n("{"),s()),o?(c&&n("return "),H(o)?zl(o,t):je(o,t)):l&&je(l,t),(c||l)&&(i(),n("}")),f&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function _E(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:c,newline:f}=t;if(n.type===4){const u=!Kl(n.content);u&&o("("),Sp(n,t),u&&o(")")}else o("("),je(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),je(s,t),t.indentLevel--,r&&f(),r||o(" "),o(": ");const a=i.type===19;a||t.indentLevel++,je(i,t),a||t.indentLevel--,r&&c(!0)}function NE(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:c}=e;c&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(cr)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),je(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(cr)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),c&&n(")]")}const bE=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b"),OE=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function Vn(e,t,n=!1,s=!1){const i=e.content;if(i.trim())try{new Function(s?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(r){let o=r.message;const l=i.replace(OE,"").match(bE);l&&(o=`avoid using JavaScript keyword as property name: "${l[0]}"`),t.onError(ue(46,e.loc,void 0,o))}}const SE=(e,t)=>{if(e.type===5)e.content=fo(e.content,t);else if(e.type===1){const n=Ze(e,"memo");for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(i.exp=fo(r,t,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=fo(o,t))}}}};function fo(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return process.env.NODE_ENV!=="production"&&Vn(e,t,n,s),e}const wE=bp(/^(?:if|else|else-if)$/,(e,t,n)=>CE(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),c=0;for(;l-->=0;){const f=o[l];f&&f.type===9&&(c+=f.branches.length)}return()=>{if(r)s.codegenNode=pa(i,c,n);else{const f=DE(s.codegenNode);f.alternate=pa(i,c+s.branches.length-1,n)}}}));function CE(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(ue(28,t.loc)),t.exp=te("true",!1,i)}if(process.env.NODE_ENV!=="production"&&t.exp&&Vn(t.exp,n),t.name==="if"){const i=fa(e,t),r={type:9,loc:Jv(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children,r=[];let o=i.indexOf(e);for(;o-->=-1;){const l=i[o];if(l&&ql(l)){n.removeNode(l),process.env.NODE_ENV!=="production"&&l.type===3&&r.unshift(l);continue}if(l&&l.type===9){(t.name==="else-if"||t.name==="else")&&l.branches[l.branches.length-1].condition===void 0&&n.onError(ue(30,e.loc)),n.removeNode();const c=fa(e,t);if(process.env.NODE_ENV!=="production"&&r.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag==="transition"||n.parent.tag==="Transition"))&&(c.children=[...r,...c.children]),process.env.NODE_ENV!=="production"){const a=c.userKey;a&&l.branches.forEach(({userKey:u})=>{TE(u,a)&&n.onError(ue(29,c.userKey.loc))})}l.branches.push(c);const f=s&&s(l,c,!1);Br(c,n),f&&f(),n.currentNode=null}else n.onError(ue(30,e.loc));break}}}function fa(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!Ze(e,"for")?e.children:[e],userKey:ii(e,"key"),isTemplateIf:n}}function pa(e,t,n){return e.condition?Ko(e.condition,da(e,t,n),De(n.helper(hi),[process.env.NODE_ENV!=="production"?'"v-if"':'""',"true"])):da(e,t,n)}function da(e,t,n){const{helper:s}=n,i=Ce("key",te(`${t}`,!1,ot,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const c=o.codegenNode;return dr(c,i,n),c}else{let c=64;return process.env.NODE_ENV!=="production"&&!e.isTemplateIf&&r.filter(f=>f.type!==3).length===1&&(c|=2048),si(n,s(ti),pt([i]),r,c,void 0,void 0,!0,!1,!1,e.loc)}else{const c=o.codegenNode,f=Fv(c);return f.type===13&&Bl(f,n),dr(f,i,n),c}}function TE(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{const n=e.exp,s=t.exp;if(n.type!==s.type||n.type!==4||n.isStatic!==s.isStatic||n.content!==s.content)return!1}return!0}function DE(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const VE=bp("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return xE(e,t,n,r=>{const o=De(s(Rl),[r.source]),l=fr(e),c=Ze(e,"memo"),f=ii(e,"key",!1,!0);f&&f.type;let a=f&&(f.type===6?f.value?te(f.value.content,!0):void 0:f.exp);const u=f&&a?Ce("key",a):null,p=r.source.type===4&&r.source.constType>0,h=p?64:f?128:256;return r.codegenNode=si(n,s(ti),void 0,o,h,void 0,void 0,!0,!p,!1,e.loc),()=>{let g;const{children:v}=r;process.env.NODE_ENV!=="production"&&l&&e.children.some(N=>{if(N.type===1){const m=ii(N,"key");if(m)return n.onError(ue(33,m.loc)),!0}});const D=v.length!==1||v[0].type!==1,V=pr(e)?e:l&&e.children.length===1&&pr(e.children[0])?e.children[0]:null;if(V?(g=V.codegenNode,l&&u&&dr(g,u,n)):D?g=si(n,s(ti),u?pt([u]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(g=v[0].codegenNode,l&&u&&dr(g,u,n),g.isBlock!==!p&&(g.isBlock?(i(Hn),i(Es(n.inSSR,g.isComponent))):i(vs(n.inSSR,g.isComponent))),g.isBlock=!p,g.isBlock?(s(Hn),s(Es(n.inSSR,g.isComponent))):s(vs(n.inSSR,g.isComponent))),c){const N=gs(zo(r.parseResult,[te("_cached")]));N.body=wv([Tt(["const _memo = (",c.exp,")"]),Tt(["if (_cached",...a?[" && _cached.key === ",a]:[],` && ${n.helperString(op)}(_cached, _memo)) return _cached`]),Tt(["const _item = ",g]),te("_item.memo = _memo"),te("return _item")]),o.arguments.push(N,te("_cache"),te(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(gs(zo(r.parseResult),g,!0))}})});function xE(e,t,n,s){if(!t.exp){n.onError(ue(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(ue(32,t.loc));return}Cp(i,n);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:c,value:f,key:a,index:u}=i,p={type:11,loc:t.loc,source:c,valueAlias:f,keyAlias:a,objectIndexAlias:u,parseResult:i,children:fr(e)?e.children:[e]};n.replaceNode(p),l.vFor++;const h=s&&s(p);return()=>{l.vFor--,h&&h()}}function Cp(e,t){e.finalized||(process.env.NODE_ENV!=="production"&&(Vn(e.source,t),e.key&&Vn(e.key,t,!0),e.index&&Vn(e.index,t,!0),e.value&&Vn(e.value,t,!0)),e.finalized=!0)}function zo({value:e,key:t,index:n},s=[]){return AE([e,t,n,...s])}function AE(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||te("_".repeat(s+1),!1))}const ha=te("undefined",!1),IE=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=Ze(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},PE=(e,t,n,s)=>gs(e,n,!1,!0,n.length?n[0].loc:s);function kE(e,t,n=PE){t.helper(jl);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const c=Ze(e,"slot",!0);if(c){const{arg:D,exp:V}=c;D&&!Qe(D)&&(l=!0),r.push(Ce(D||te("default",!0),n(V,void 0,s,i)))}let f=!1,a=!1;const u=[],p=new Set;let h=0;for(let D=0;D<s.length;D++){const V=s[D];let N;if(!fr(V)||!(N=Ze(V,"slot",!0))){V.type!==3&&u.push(V);continue}if(c){t.onError(ue(37,N.loc));break}f=!0;const{children:m,loc:_}=V,{arg:y=te("default",!0),exp:T,loc:L}=N;let x;Qe(y)?x=y?y.content:"default":l=!0;const b=Ze(V,"for"),w=n(T,b,m,_);let M,O;if(M=Ze(V,"if"))l=!0,o.push(Ko(M.exp,Vi(y,w,h++),ha));else if(O=Ze(V,/^else(?:-if)?$/,!0)){let F=D,q;for(;F--&&(q=s[F],!!ql(q)););if(q&&fr(q)&&Ze(q,/^(?:else-)?if$/)){let J=o[o.length-1];for(;J.alternate.type===19;)J=J.alternate;J.alternate=O.exp?Ko(O.exp,Vi(y,w,h++),ha):Vi(y,w,h++)}else t.onError(ue(30,O.loc))}else if(b){l=!0;const F=b.forParseResult;F?(Cp(F,t),o.push(De(t.helper(Rl),[F.source,gs(zo(F),Vi(y,w),!0)]))):t.onError(ue(32,b.loc))}else{if(x){if(p.has(x)){t.onError(ue(38,L));continue}p.add(x),x==="default"&&(a=!0)}r.push(Ce(y,w))}}if(!c){const D=(V,N)=>{const m=n(V,void 0,N,i);return t.compatConfig&&(m.isNonScopedSlot=!0),Ce("default",m)};f?u.length&&!u.every(Wl)&&(a?t.onError(ue(39,u[0].loc)):r.push(D(void 0,u))):r.push(D(void 0,s))}const g=l?2:Fi(e.children)?3:1;let v=pt(r.concat(Ce("_",te(g+(process.env.NODE_ENV!=="production"?` /* ${rd[g]} */`:""),!1))),i);return o.length&&(v=De(t.helper(rp),[v,Rn(o)])),{slots:v,hasDynamicSlots:l}}function Vi(e,t,n){const s=[Ce("name",e),Ce("fn",t)];return n!=null&&s.push(Ce("key",te(String(n),!0))),pt(s)}function Fi(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Fi(n.children))return!0;break;case 9:if(Fi(n.branches))return!0;break;case 10:case 11:if(Fi(n.children))return!0;break}}return!1}const Tp=new WeakMap,ME=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?RE(e,t):`"${s}"`;const l=se(o)&&o.callee===Il;let c,f,a=0,u,p,h,g=l||o===Us||o===Tl||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const v=Dp(e,t,void 0,r,l);c=v.props,a=v.patchFlag,p=v.dynamicPropNames;const D=v.directives;h=D&&D.length?Rn(D.map(V=>LE(V,t))):void 0,v.shouldUseBlock&&(g=!0)}if(e.children.length>0)if(o===or&&(g=!0,a|=1024,process.env.NODE_ENV!=="production"&&e.children.length>1&&t.onError(ue(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),r&&o!==Us&&o!==or){const{slots:D,hasDynamicSlots:V}=kE(e,t);f=D,V&&(a|=1024)}else if(e.children.length===1&&o!==Us){const D=e.children[0],V=D.type,N=V===5||V===8;N&&it(D,t)===0&&(a|=1),N||V===2?f=D:f=e.children}else f=e.children;p&&p.length&&(u=FE(p)),e.codegenNode=si(t,o,c,f,a===0?void 0:a,u,h,!!g,!1,r,e.loc)};function RE(e,t,n=!1){let{tag:s}=e;const i=Jo(s),r=ii(e,"is",!1,!0);if(r)if(i||gn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&te(r.value.content,!0):(l=r.exp,l||(l=te("is",!1,r.arg.loc))),l)return De(t.helper(Il),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=cp(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(Al),t.components.add(s),ri(s,"component"))}function Dp(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:c}=e;let f=[];const a=[],u=[],p=c.length>0;let h=!1,g=0,v=!1,D=!1,V=!1,N=!1,m=!1,_=!1;const y=[],T=w=>{f.length&&(a.push(pt(ma(f),l)),f=[]),w&&a.push(w)},L=()=>{t.scopes.vFor>0&&f.push(Ce(te("ref_for",!0),te("true")))},x=({key:w,value:M})=>{if(Qe(w)){const O=w.content,F=Qt(O);if(F&&(!s||i)&&O.toLowerCase()!=="onclick"&&O!=="onUpdate:modelValue"&&!Yt(O)&&(N=!0),F&&Yt(O)&&(_=!0),F&&M.type===14&&(M=M.arguments[0]),M.type===20||(M.type===4||M.type===8)&&it(M,t)>0)return;O==="ref"?v=!0:O==="class"?D=!0:O==="style"?V=!0:O!=="key"&&!y.includes(O)&&y.push(O),s&&(O==="class"||O==="style")&&!y.includes(O)&&y.push(O)}else m=!0};for(let w=0;w<n.length;w++){const M=n[w];if(M.type===6){const{loc:O,name:F,nameLoc:q,value:J}=M;let K=!0;if(F==="ref"&&(v=!0,L()),F==="is"&&(Jo(o)||J&&J.content.startsWith("vue:")||gn("COMPILER_IS_ON_ELEMENT",t)))continue;f.push(Ce(te(F,!0,q),te(J?J.content:"",K,J?J.loc:O)))}else{const{name:O,arg:F,exp:q,loc:J,modifiers:K}=M,W=O==="bind",U=O==="on";if(O==="slot"){s||t.onError(ue(40,J));continue}if(O==="once"||O==="memo"||O==="is"||W&&hn(F,"is")&&(Jo(o)||gn("COMPILER_IS_ON_ELEMENT",t))||U&&r)continue;if((W&&hn(F,"key")||U&&p&&hn(F,"vue:before-update"))&&(h=!0),W&&hn(F,"ref")&&L(),!F&&(W||U)){if(m=!0,q)if(W){if(T(),process.env.NODE_ENV!=="production"&&a.some(lt=>lt.type===15?lt.properties.some(({key:ct})=>ct.type!==4||!ct.isStatic?!0:ct.content!=="class"&&ct.content!=="style"&&!Qt(ct.content)):!0)&&ys("COMPILER_V_BIND_OBJECT_ORDER",t,J),gn("COMPILER_V_BIND_OBJECT_ORDER",t)){a.unshift(q);continue}L(),T(),a.push(q)}else T({type:14,loc:J,callee:t.helper(Fl),arguments:s?[q]:[q,"true"]});else t.onError(ue(W?34:35,J));continue}W&&K.some(Ge=>Ge.content==="prop")&&(g|=32);const le=t.directiveTransforms[O];if(le){const{props:Ge,needRuntime:lt}=le(M,e,t);!r&&Ge.forEach(x),U&&F&&!Qe(F)?T(pt(Ge,l)):f.push(...Ge),lt&&(u.push(M),et(lt)&&Tp.set(M,lt))}else Ma(O)||(u.push(M),p&&(h=!0))}}let b;if(a.length?(T(),a.length>1?b=De(t.helper(lr),a,l):b=a[0]):f.length&&(b=pt(ma(f),l)),m?g|=16:(D&&!s&&(g|=2),V&&!s&&(g|=4),y.length&&(g|=8),N&&(g|=32)),!h&&(g===0||g===32)&&(v||_||u.length>0)&&(g|=512),!t.inSSR&&b)switch(b.type){case 15:let w=-1,M=-1,O=!1;for(let J=0;J<b.properties.length;J++){const K=b.properties[J].key;Qe(K)?K.content==="class"?w=J:K.content==="style"&&(M=J):K.isHandlerKey||(O=!0)}const F=b.properties[w],q=b.properties[M];O?b=De(t.helper(ni),[b]):(F&&!Qe(F.value)&&(F.value=De(t.helper($l),[F.value])),q&&(V||q.value.type===4&&q.value.content.trim()[0]==="["||q.value.type===17)&&(q.value=De(t.helper(Ll),[q.value])));break;case 14:break;default:b=De(t.helper(ni),[De(t.helper(mi),[b])]);break}return{props:b,directives:u,patchFlag:g,dynamicPropNames:y,shouldUseBlock:h}}function ma(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||Qt(r))&&$E(o,i):(t.set(r,i),n.push(i))}return n}function $E(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Rn([e.value,t.value],e.loc)}function LE(e,t){const n=[],s=Tp.get(e);s?n.push(t.helperString(s)):(t.helper(Pl),t.directives.add(e.name),n.push(ri(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=te("true",!1,i);n.push(pt(e.modifiers.map(o=>Ce(o,r)),i))}return Rn(n,e.loc)}function FE(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Jo(e){return e==="component"||e==="Component"}const jE=(e,t)=>{if(pr(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=HE(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=gs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=De(t.helper(ip),o,s)}};function HE(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=pe(o.name),i.push(o)));else if(o.name==="bind"&&hn(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=pe(o.arg.content);n=o.exp=te(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Qe(o.arg)&&(o.arg.content=pe(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Dp(e,t,i,!1,!1);s=r,o.length&&t.onError(ue(36,o[0].loc))}return{slotName:n,slotProps:s}}const Vp=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(ue(35,i));let l;if(o.type===4)if(o.isStatic){let u=o.content;process.env.NODE_ENV!=="production"&&u.startsWith("vnode")&&n.onError(ue(52,o.loc)),u.startsWith("vue:")&&(u=`vnode-${u.slice(4)}`);const p=t.tagType!==0||u.startsWith("vnode")||!/[A-Z]/.test(u)?Mt(pe(u)):`on:${u}`;l=te(p,!0,o.loc)}else l=Tt([`${n.helperString(Uo)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Uo)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let f=n.cacheHandlers&&!c&&!n.inVOnce;if(c){const u=fp(c),p=!(u||Mv(c)),h=c.content.includes(";");process.env.NODE_ENV!=="production"&&Vn(c,n,!1,h),(p||f&&u)&&(c=Tt([`${p?"$event":"(...args)"} => ${h?"{":"("}`,c,h?"}":")"]))}let a={props:[Ce(l,c||te("() => {}",!1,i))]};return s&&(a=s(a)),f&&(a.props[0].value=n.cache(a.props[0].value)),a.props.forEach(u=>u.key.isHandlerKey=!0),a},BE=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=pe(r.content):r.content=`${n.helperString(Bo)}(${r.content})`:(r.children.unshift(`${n.helperString(Bo)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&ga(r,"."),s.some(l=>l.content==="attr")&&ga(r,"^")),{props:[Ce(r,o)]}},ga=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},UE=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(ao(o)){i=!0;for(let l=r+1;l<n.length;l++){const c=n[l];if(ao(c))s||(s=n[r]=Tt([o],o.loc)),s.children.push(" + ",c),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(ao(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&it(o,t)===0&&l.push(1+(process.env.NODE_ENV!=="production"?` /* ${ks[1]} */`:"")),n[r]={type:12,content:o,loc:o.loc,codegenNode:De(t.helper(xl),l)}}}}},va=new WeakSet,KE=(e,t)=>{if(e.type===1&&Ze(e,"once",!0))return va.has(e)||t.inVOnce||t.inSSR?void 0:(va.add(e),t.inVOnce=!0,t.helper(cr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},xp=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(ue(41,e.loc)),Ds();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(ue(44,s.loc)),Ds();if(l==="literal-const"||l==="setup-const")return n.onError(ue(45,s.loc)),Ds();if(!o.trim()||!fp(s))return n.onError(ue(42,s.loc)),Ds();const c=i||te("modelValue",!0),f=i?Qe(i)?`onUpdate:${pe(i.content)}`:Tt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let a;const u=n.isTS?"($event: any)":"$event";a=Tt([`${u} => ((`,s,") = $event)"]);const p=[Ce(c,e.exp),Ce(f,a)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(v=>v.content).map(v=>(Kl(v)?v:JSON.stringify(v))+": true").join(", "),g=i?Qe(i)?`${i.content}Modifiers`:Tt([i,' + "Modifiers"']):"modelModifiers";p.push(Ce(g,te(`{ ${h} }`,!1,e.loc,2)))}return Ds(p)};function Ds(e=[]){return{props:e}}const WE=/[\w).+\-_$\]]/,qE=(e,t)=>{gn("COMPILER_FILTERS",t)&&(e.type===5?hr(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&hr(n.exp,t)}))};function hr(e,t){if(e.type===4)Ea(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?Ea(s,t):s.type===8?hr(e,t):s.type===5&&hr(s.content,t))}}function Ea(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,c=0,f=0,a=0,u,p,h,g,v=[];for(h=0;h<n.length;h++)if(p=u,u=n.charCodeAt(h),s)u===39&&p!==92&&(s=!1);else if(i)u===34&&p!==92&&(i=!1);else if(r)u===96&&p!==92&&(r=!1);else if(o)u===47&&p!==92&&(o=!1);else if(u===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!l&&!c&&!f)g===void 0?(a=h+1,g=n.slice(0,h).trim()):D();else{switch(u){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:f++;break;case 41:f--;break;case 91:c++;break;case 93:c--;break;case 123:l++;break;case 125:l--;break}if(u===47){let V=h-1,N;for(;V>=0&&(N=n.charAt(V),N===" ");V--);(!N||!WE.test(N))&&(o=!0)}}g===void 0?g=n.slice(0,h).trim():a!==0&&D();function D(){v.push(n.slice(a,h).trim()),a=h+1}if(v.length){for(process.env.NODE_ENV!=="production"&&ur("COMPILER_FILTERS",t,e.loc),h=0;h<v.length;h++)g=GE(g,v[h],t);e.content=g,e.ast=void 0}}function GE(e,t,n){n.helper(kl);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${ri(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${ri(i,"filter")}(${e}${r!==")"?","+r:r}`}}const ya=new WeakSet,zE=(e,t)=>{if(e.type===1){const n=Ze(e,"memo");return!n||ya.has(e)||t.inSSR?void 0:(ya.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Bl(s,t),e.codegenNode=De(t.helper(Hl),[n.exp,gs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},JE=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(ue(53,s.loc)),n.exp=te("",!0,s.loc);else{const i=pe(s.content);(ap.test(i[0])||i[0]==="-")&&(n.exp=te(i,!1,s.loc))}}}};function YE(e){return[[JE,KE,wE,zE,VE,qE,...process.env.NODE_ENV!=="production"?[SE]:[],jE,ME,IE,UE],{on:Vp,bind:BE,model:xp}]}function XE(e,t={}){const n=t.onError||Ul,s=t.mode==="module";t.prefixIdentifiers===!0?n(ue(48)):s&&n(ue(49));const i=!1;t.cacheHandlers&&n(ue(50)),t.scopeId&&!s&&n(ue(51));const r=ee({},t,{prefixIdentifiers:i}),o=Y(e)?Zv(e,r):e,[l,c]=YE();return nE(o,ee({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:ee({},c,t.directiveTransforms||{})})),oE(o,r)}const ZE=()=>({props:[]});const Ap=Symbol(process.env.NODE_ENV!=="production"?"vModelRadio":""),Ip=Symbol(process.env.NODE_ENV!=="production"?"vModelCheckbox":""),Pp=Symbol(process.env.NODE_ENV!=="production"?"vModelText":""),kp=Symbol(process.env.NODE_ENV!=="production"?"vModelSelect":""),Yo=Symbol(process.env.NODE_ENV!=="production"?"vModelDynamic":""),Mp=Symbol(process.env.NODE_ENV!=="production"?"vOnModifiersGuard":""),Rp=Symbol(process.env.NODE_ENV!=="production"?"vOnKeysGuard":""),$p=Symbol(process.env.NODE_ENV!=="production"?"vShow":""),Jl=Symbol(process.env.NODE_ENV!=="production"?"Transition":""),Lp=Symbol(process.env.NODE_ENV!=="production"?"TransitionGroup":"");bv({[Ap]:"vModelRadio",[Ip]:"vModelCheckbox",[Pp]:"vModelText",[kp]:"vModelSelect",[Yo]:"vModelDynamic",[Mp]:"withModifiers",[Rp]:"withKeys",[$p]:"vShow",[Jl]:"Transition",[Lp]:"TransitionGroup"});let Jn;function QE(e,t=!1){return Jn||(Jn=document.createElement("div")),t?(Jn.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Jn.children[0].getAttribute("foo")):(Jn.innerHTML=e,Jn.textContent)}const ey={parseMode:"html",isVoidTag:Ed,isNativeTag:e=>$a(e)||La(e)||Fa(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:QE,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Jl;if(e==="TransitionGroup"||e==="transition-group")return Lp},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},ty=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:te("style",!0,t.loc),exp:ny(t.value.content,t.loc),modifiers:[],loc:t.loc})})},ny=(e,t)=>{const n=Ra(e);return te(JSON.stringify(n),!1,t,3)};function wt(e,t){return ue(e,t,process.env.NODE_ENV!=="production"?sy:void 0)}const sy={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},iy=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(wt(54,i)),t.children.length&&(n.onError(wt(55,i)),t.children.length=0),{props:[Ce(te("innerHTML",!0,i),s||te("",!0))]}},ry=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(wt(56,i)),t.children.length&&(n.onError(wt(57,i)),t.children.length=0),{props:[Ce(te("textContent",!0),s?it(s,n)>0?s:De(n.helperString(Hr),[s],i):te("",!0))]}},oy=(e,t,n)=>{const s=xp(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(wt(59,e.arg.loc));function i(){const l=Ze(t,"bind");l&&hn(l.arg,"value")&&n.onError(wt(61,l.loc))}const{tag:r}=t,o=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||o){let l=Pp,c=!1;if(r==="input"||o){const f=ii(t,"type");if(f){if(f.type===7)l=Yo;else if(f.value)switch(f.value.content){case"radio":l=Ap;break;case"checkbox":l=Ip;break;case"file":c=!0,n.onError(wt(60,e.loc));break;default:process.env.NODE_ENV!=="production"&&i();break}}else Rv(t)?l=Yo:process.env.NODE_ENV!=="production"&&i()}else r==="select"?l=kp:process.env.NODE_ENV!=="production"&&i();c||(s.needRuntime=n.helper(l))}else n.onError(wt(58,e.loc));return s.props=s.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),s},ly=Ve("passive,once,capture"),cy=Ve("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ay=Ve("left,right"),Fp=Ve("onkeyup,onkeydown,onkeypress"),uy=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;l<t.length;l++){const c=t[l].content;c==="native"&&ys("COMPILER_V_ON_NATIVE",n,s)||ly(c)?o.push(c):ay(c)?Qe(e)?Fp(e.content.toLowerCase())?i.push(c):r.push(c):(i.push(c),r.push(c)):cy(c)?r.push(c):i.push(c)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},_a=(e,t)=>Qe(e)&&e.content.toLowerCase()==="onclick"?te(t,!0):e.type!==4?Tt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,fy=(e,t,n)=>Vp(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:c,eventOptionModifiers:f}=uy(r,i,n,e.loc);if(c.includes("right")&&(r=_a(r,"onContextmenu")),c.includes("middle")&&(r=_a(r,"onMouseup")),c.length&&(o=De(n.helper(Mp),[o,JSON.stringify(c)])),l.length&&(!Qe(r)||Fp(r.content.toLowerCase()))&&(o=De(n.helper(Rp),[o,JSON.stringify(l)])),f.length){const a=f.map(Ft).join("");r=Qe(r)?te(`${r.content}${a}`,!0):Tt(["(",r,`) + "${a}"`])}return{props:[Ce(r,o)]}}),py=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(wt(62,i)),{props:[],needRuntime:n.helper($p)}},dy=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Jl)return()=>{if(!e.children.length)return;jp(e)&&t.onError(wt(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(s.type===1)for(const i of s.props)i.type===7&&i.name==="show"&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}};function jp(e){const t=e.children=e.children.filter(s=>!ql(s)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(jp)}const hy=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(process.env.NODE_ENV!=="production"&&t.onError(wt(64,e.loc)),t.removeNode())};function my(e,t){return e==="template"?!0:e in Na?Na[e].has(t):t in ba?ba[t].has(e):!(e in Oa&&Oa[e].has(t)||t in Sa&&Sa[t].has(e))}const Yn=new Set(["h1","h2","h3","h4","h5","h6"]),wn=new Set([]),Na={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:wn,iframe:wn,option:wn,textarea:wn,style:wn,title:wn},ba={html:wn,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},Oa={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},Sa={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:Yn,h2:Yn,h3:Yn,h4:Yn,h5:Yn,h6:Yn},gy=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!my(t.parent.tag,e.tag)){const n=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},vy=[ty,...process.env.NODE_ENV!=="production"?[dy,gy]:[]],Ey={cloak:ZE,html:iy,text:ry,model:oy,on:fy,show:py};function yy(e,t={}){return XE(e,ee({},ey,t,{nodeTransforms:[hy,...vy,...t.nodeTransforms||[]],directiveTransforms:ee({},Ey,t.directiveTransforms||{}),transformHoist:null}))}function _y(){Tf()}process.env.NODE_ENV!=="production"&&_y();const wa=Object.create(null);function Ny(e,t){if(!Y(e))if(e.nodeType)e=e.innerHTML;else return process.env.NODE_ENV!=="production"&&_e("invalid template option: ",e),ge;const n=id(e,t),s=wa[n];if(s)return s;if(e[0]==="#"){const c=document.querySelector(e);process.env.NODE_ENV!=="production"&&!c&&_e(`Template element not found or is empty: ${e}`),e=c?c.innerHTML:""}const i=ee({hoistStatic:!0,onError:process.env.NODE_ENV!=="production"?o:void 0,onWarn:process.env.NODE_ENV!=="production"?c=>o(c,!0):ge},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=c=>!!customElements.get(c));const{code:r}=yy(e,i);function o(c,f=!1){const a=f?c.message:`Template compilation error: ${c.message}`,u=c.loc&&cd(e,c.loc.start.offset,c.loc.end.offset);_e(u?`${a}
|
|
34
|
-
${
|
|
35
|
-
|
|
23
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const He=ad;function td(e){return sd(e)}function nd(e){return sd(e,qm)}function sd(e,t){nv();const n=Ui();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Wl(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=ke,insertStaticContent:m}=e,p=(v,b,x,F=null,M=null,A=null,B=void 0,$=null,j=process.env.NODE_ENV!=="production"&&At?!1:!!b.dynamicChildren)=>{if(v===b)return;v&&!Ht(v,b)&&(F=Ze(v),Et(v,M,A,!0),v=null),b.patchFlag===-2&&(j=!1,b.dynamicChildren=null);const{type:L,ref:ee,shapeFlag:U}=b;switch(L){case ln:S(v,b,x,F);break;case Ae:N(v,b,x,F);break;case qn:v==null?E(b,x,F,B):process.env.NODE_ENV!=="production"&&g(v,b,x,B);break;case we:R(v,b,x,F,M,A,B,$,j);break;default:U&1?w(v,b,x,F,M,A,B,$,j):U&6?G(v,b,x,F,M,A,B,$,j):U&64||U&128?L.process(v,b,x,F,M,A,B,$,j,tt):process.env.NODE_ENV!=="production"&&k("Invalid VNode type:",L,`(${typeof L})`)}ee!=null&&M?Hs(ee,v&&v.ref,A,b||v,!b):ee==null&&v&&v.ref!=null&&Hs(v.ref,null,A,v,!0)},S=(v,b,x,F)=>{if(v==null)s(b.el=l(b.children),x,F);else{const M=b.el=v.el;if(b.children!==v.children)if(process.env.NODE_ENV!=="production"&&At&&b.patchFlag===-1&&"__elIndex"in v){const A=x.childNodes,B=l(b.children),$=A[b.__elIndex=v.__elIndex];s(B,x,$),i($)}else c(M,b.children)}},N=(v,b,x,F)=>{v==null?s(b.el=a(b.children||""),x,F):b.el=v.el},E=(v,b,x,F)=>{[v.el,v.anchor]=m(v.children,b,x,F,v.el,v.anchor)},g=(v,b,x,F)=>{if(b.children!==v.children){const M=d(v.anchor);y(v),[b.el,b.anchor]=m(b.children,x,M,F)}else b.el=v.el,b.anchor=v.anchor},_=({el:v,anchor:b},x,F)=>{let M;for(;v&&v!==b;)M=d(v),s(v,x,F),v=M;s(b,x,F)},y=({el:v,anchor:b})=>{let x;for(;v&&v!==b;)x=d(v),i(v),v=x;i(b)},w=(v,b,x,F,M,A,B,$,j)=>{if(b.type==="svg"?B="svg":b.type==="math"&&(B="mathml"),v==null)P(b,x,F,M,A,B,$,j);else{const L=v.el&&v.el._isVueCE?v.el:null;try{L&&L._beginPatch(),D(v,b,M,A,B,$,j)}finally{L&&L._endPatch()}}},P=(v,b,x,F,M,A,B,$)=>{let j,L;const{props:ee,shapeFlag:U,transition:X,dirs:se}=v;if(j=v.el=o(v.type,A,ee&&ee.is,ee),U&8?u(j,v.children):U&16&&O(v.children,j,null,F,M,jo(v,A),B,$),se&&Xt(v,null,F,"created"),T(j,v,v.scopeId,B,F),ee){for(const Oe in ee)Oe!=="value"&&!On(Oe)&&r(j,Oe,null,ee[Oe],A,F);"value"in ee&&r(j,"value",null,ee.value,A),(L=ee.onVnodeBeforeMount)&&Nt(L,F,v)}process.env.NODE_ENV!=="production"&&(Us(j,"__vnode",v,!0),Us(j,"__vueParentComponent",F,!0)),se&&Xt(v,null,F,"beforeMount");const pe=id(M,X);pe&&X.beforeEnter(j),s(j,b,x),((L=ee&&ee.onVnodeMounted)||pe||se)&&He(()=>{L&&Nt(L,F,v),pe&&X.enter(j),se&&Xt(v,null,F,"mounted")},M)},T=(v,b,x,F,M)=>{if(x&&h(v,x),F)for(let A=0;A<F.length;A++)h(v,F[A]);if(M){let A=M.subTree;if(process.env.NODE_ENV!=="production"&&A.patchFlag>0&&A.patchFlag&2048&&(A=_o(A.children)||A),b===A||Fr(A.type)&&(A.ssContent===b||A.ssFallback===b)){const B=M.vnode;T(v,B,B.scopeId,B.slotScopeIds,M.parent)}}},O=(v,b,x,F,M,A,B,$,j=0)=>{for(let L=j;L<v.length;L++){const ee=v[L]=$?$n(v[L]):yt(v[L]);p(null,ee,b,x,F,M,A,B,$)}},D=(v,b,x,F,M,A,B)=>{const $=b.el=v.el;process.env.NODE_ENV!=="production"&&($.__vnode=b);let{patchFlag:j,dynamicChildren:L,dirs:ee}=b;j|=v.patchFlag&16;const U=v.props||ue,X=b.props||ue;let se;if(x&&ns(x,!1),(se=X.onVnodeBeforeUpdate)&&Nt(se,x,b,v),ee&&Xt(b,v,x,"beforeUpdate"),x&&ns(x,!0),process.env.NODE_ENV!=="production"&&At&&(j=0,B=!1,L=null),(U.innerHTML&&X.innerHTML==null||U.textContent&&X.textContent==null)&&u($,""),L?(I(v.dynamicChildren,L,$,x,F,jo(b,M),A),process.env.NODE_ENV!=="production"&&Ni(v,b)):B||le(v,b,$,null,x,F,jo(b,M),A,!1),j>0){if(j&16)C($,U,X,x,M);else if(j&2&&U.class!==X.class&&r($,"class",null,X.class,M),j&4&&r($,"style",U.style,X.style,M),j&8){const pe=b.dynamicProps;for(let Oe=0;Oe<pe.length;Oe++){const Ee=pe[Oe],Ye=U[Ee],Xe=X[Ee];(Xe!==Ye||Ee==="value")&&r($,Ee,Ye,Xe,M,x)}}j&1&&v.children!==b.children&&u($,b.children)}else!B&&L==null&&C($,U,X,x,M);((se=X.onVnodeUpdated)||ee)&&He(()=>{se&&Nt(se,x,b,v),ee&&Xt(b,v,x,"updated")},F)},I=(v,b,x,F,M,A,B)=>{for(let $=0;$<b.length;$++){const j=v[$],L=b[$],ee=j.el&&(j.type===we||!Ht(j,L)||j.shapeFlag&198)?f(j.el):x;p(j,L,ee,null,F,M,A,B,!0)}},C=(v,b,x,F,M)=>{if(b!==x){if(b!==ue)for(const A in b)!On(A)&&!(A in x)&&r(v,A,b[A],null,M,F);for(const A in x){if(On(A))continue;const B=x[A],$=b[A];B!==$&&A!=="value"&&r(v,A,$,B,M,F)}"value"in x&&r(v,"value",b.value,x.value,M)}},R=(v,b,x,F,M,A,B,$,j)=>{const L=b.el=v?v.el:l(""),ee=b.anchor=v?v.anchor:l("");let{patchFlag:U,dynamicChildren:X,slotScopeIds:se}=b;process.env.NODE_ENV!=="production"&&(At||U&2048)&&(U=0,j=!1,X=null),se&&($=$?$.concat(se):se),v==null?(s(L,x,F),s(ee,x,F),O(b.children||[],x,ee,M,A,B,$,j)):U>0&&U&64&&X&&v.dynamicChildren&&v.dynamicChildren.length===X.length?(I(v.dynamicChildren,X,x,M,A,B,$),process.env.NODE_ENV!=="production"?Ni(v,b):(b.key!=null||M&&b===M.subTree)&&Ni(v,b,!0)):le(v,b,x,ee,M,A,B,$,j)},G=(v,b,x,F,M,A,B,$,j)=>{b.slotScopeIds=$,v==null?b.shapeFlag&512?M.ctx.activate(b,x,F,B,j):z(b,x,F,M,A,B,j):W(v,b,j)},z=(v,b,x,F,M,A,B)=>{const $=v.component=md(v,F,M);if(process.env.NODE_ENV!=="production"&&$.type.__hmrId&&Nm($),process.env.NODE_ENV!=="production"&&(Fs(v),gn($,"mount")),ri(v)&&($.ctx.renderer=tt),process.env.NODE_ENV!=="production"&&gn($,"init"),vd($,!1,B),process.env.NODE_ENV!=="production"&&vn($,"init"),process.env.NODE_ENV!=="production"&&At&&(v.el=null),$.asyncDep){if(M&&M.registerDep($,J,B),!v.el){const j=$.subTree=_e(Ae);N(null,j,b,x),v.placeholder=j.el}}else J($,v,b,x,M,A,B);process.env.NODE_ENV!=="production"&&(Rs(),vn($,"mount"))},W=(v,b,x)=>{const F=b.component=v.component;if(Bg(v,b,x))if(F.asyncDep&&!F.asyncResolved){process.env.NODE_ENV!=="production"&&Fs(b),H(F,b,x),process.env.NODE_ENV!=="production"&&Rs();return}else F.next=b,F.update();else b.el=v.el,F.vnode=b},J=(v,b,x,F,M,A,B)=>{const $=()=>{if(v.isMounted){let{next:U,bu:X,u:se,parent:pe,vnode:Oe}=v;{const st=rd(v);if(st){U&&(U.el=Oe.el,H(v,U,B)),st.asyncDep.then(()=>{v.isUnmounted||$()});return}}let Ee=U,Ye;process.env.NODE_ENV!=="production"&&Fs(U||v.vnode),ns(v,!1),U?(U.el=Oe.el,H(v,U,B)):U=Oe,X&&Hn(X),(Ye=U.props&&U.props.onVnodeBeforeUpdate)&&Nt(Ye,pe,U,Oe),ns(v,!0),process.env.NODE_ENV!=="production"&&gn(v,"render");const Xe=gr(v);process.env.NODE_ENV!=="production"&&vn(v,"render");const nt=v.subTree;v.subTree=Xe,process.env.NODE_ENV!=="production"&&gn(v,"patch"),p(nt,Xe,f(nt.el),Ze(nt),v,M,A),process.env.NODE_ENV!=="production"&&vn(v,"patch"),U.el=Xe.el,Ee===null&&bo(v,Xe.el),se&&He(se,M),(Ye=U.props&&U.props.onVnodeUpdated)&&He(()=>Nt(Ye,pe,U,Oe),M),process.env.NODE_ENV!=="production"&&mf(v),process.env.NODE_ENV!=="production"&&Rs()}else{let U;const{el:X,props:se}=b,{bm:pe,m:Oe,parent:Ee,root:Ye,type:Xe}=v,nt=wn(b);if(ns(v,!1),pe&&Hn(pe),!nt&&(U=se&&se.onVnodeBeforeMount)&&Nt(U,Ee,b),ns(v,!0),X&&oi){const st=()=>{process.env.NODE_ENV!=="production"&&gn(v,"render"),v.subTree=gr(v),process.env.NODE_ENV!=="production"&&vn(v,"render"),process.env.NODE_ENV!=="production"&&gn(v,"hydrate"),oi(X,v.subTree,v,M,null),process.env.NODE_ENV!=="production"&&vn(v,"hydrate")};nt&&Xe.__asyncHydrate?Xe.__asyncHydrate(X,v,st):st()}else{Ye.ce&&Ye.ce._def.shadowRoot!==!1&&Ye.ce._injectChildStyle(Xe),process.env.NODE_ENV!=="production"&&gn(v,"render");const st=v.subTree=gr(v);process.env.NODE_ENV!=="production"&&vn(v,"render"),process.env.NODE_ENV!=="production"&&gn(v,"patch"),p(null,st,x,F,v,M,A),process.env.NODE_ENV!=="production"&&vn(v,"patch"),b.el=st.el}if(Oe&&He(Oe,M),!nt&&(U=se&&se.onVnodeMounted)){const st=b;He(()=>Nt(U,Ee,st),M)}(b.shapeFlag&256||Ee&&wn(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&v.a&&He(v.a,M),v.isMounted=!0,process.env.NODE_ENV!=="production"&&il(v),b=x=F=null}};v.scope.on();const j=v.effect=new Di($);v.scope.off();const L=v.update=j.run.bind(j),ee=v.job=j.runIfDirty.bind(j);ee.i=v,ee.id=v.uid,j.scheduler=()=>ho(ee),ns(v,!0),process.env.NODE_ENV!=="production"&&(j.onTrack=v.rtc?U=>Hn(v.rtc,U):void 0,j.onTrigger=v.rtg?U=>Hn(v.rtg,U):void 0),L()},H=(v,b,x)=>{b.component=v;const F=v.vnode.props;v.vnode=b,v.next=null,Wg(v,b.props,F,x),tv(v,b.children,x),qt(),Xa(v),Gt()},le=(v,b,x,F,M,A,B,$,j=!1)=>{const L=v&&v.children,ee=v?v.shapeFlag:0,U=b.children,{patchFlag:X,shapeFlag:se}=b;if(X>0){if(X&128){Ge(L,U,x,F,M,A,B,$,j);return}else if(X&256){$e(L,U,x,F,M,A,B,$,j);return}}se&8?(ee&16&&be(L,M,A),U!==L&&u(x,U)):ee&16?se&16?Ge(L,U,x,F,M,A,B,$,j):be(L,M,A,!0):(ee&8&&u(x,""),se&16&&O(U,x,F,M,A,B,$,j))},$e=(v,b,x,F,M,A,B,$,j)=>{v=v||Ls,b=b||Ls;const L=v.length,ee=b.length,U=Math.min(L,ee);let X;for(X=0;X<U;X++){const se=b[X]=j?$n(b[X]):yt(b[X]);p(v[X],se,x,null,M,A,B,$,j)}L>ee?be(v,M,A,!0,!1,U):O(b,x,F,M,A,B,$,j,U)},Ge=(v,b,x,F,M,A,B,$,j)=>{let L=0;const ee=b.length;let U=v.length-1,X=ee-1;for(;L<=U&&L<=X;){const se=v[L],pe=b[L]=j?$n(b[L]):yt(b[L]);if(Ht(se,pe))p(se,pe,x,null,M,A,B,$,j);else break;L++}for(;L<=U&&L<=X;){const se=v[U],pe=b[X]=j?$n(b[X]):yt(b[X]);if(Ht(se,pe))p(se,pe,x,null,M,A,B,$,j);else break;U--,X--}if(L>U){if(L<=X){const se=X+1,pe=se<ee?b[se].el:F;for(;L<=X;)p(null,b[L]=j?$n(b[L]):yt(b[L]),x,pe,M,A,B,$,j),L++}}else if(L>X)for(;L<=U;)Et(v[L],M,A,!0),L++;else{const se=L,pe=L,Oe=new Map;for(L=pe;L<=X;L++){const Ke=b[L]=j?$n(b[L]):yt(b[L]);Ke.key!=null&&(process.env.NODE_ENV!=="production"&&Oe.has(Ke.key)&&k("Duplicate keys found during update:",JSON.stringify(Ke.key),"Make sure keys are unique."),Oe.set(Ke.key,L))}let Ee,Ye=0;const Xe=X-pe+1;let nt=!1,st=0;const dn=new Array(Xe);for(L=0;L<Xe;L++)dn[L]=0;for(L=se;L<=U;L++){const Ke=v[L];if(Ye>=Xe){Et(Ke,M,A,!0);continue}let Vt;if(Ke.key!=null)Vt=Oe.get(Ke.key);else for(Ee=pe;Ee<=X;Ee++)if(dn[Ee-pe]===0&&Ht(Ke,b[Ee])){Vt=Ee;break}Vt===void 0?Et(Ke,M,A,!0):(dn[Vt-pe]=L+1,Vt>=st?st=Vt:nt=!0,p(Ke,b[Vt],x,null,M,A,B,$,j),Ye++)}const Ds=nt?sv(dn):Ls;for(Ee=Ds.length-1,L=Xe-1;L>=0;L--){const Ke=pe+L,Vt=b[Ke],Qi=b[Ke+1],er=Ke+1<ee?Qi.el||od(Qi):F;dn[L]===0?p(null,Vt,x,er,M,A,B,$,j):nt&&(Ee<0||L!==Ds[Ee]?Je(Vt,x,er,2):Ee--)}}},Je=(v,b,x,F,M=null)=>{const{el:A,type:B,transition:$,children:j,shapeFlag:L}=v;if(L&6){Je(v.component.subTree,b,x,F);return}if(L&128){v.suspense.move(b,x,F);return}if(L&64){B.move(v,b,x,tt);return}if(B===we){s(A,b,x);for(let U=0;U<j.length;U++)Je(j[U],b,x,F);s(v.anchor,b,x);return}if(B===qn){_(v,b,x);return}if(F!==2&&L&1&&$)if(F===0)$.beforeEnter(A),s(A,b,x),He(()=>$.enter(A),M);else{const{leave:U,delayLeave:X,afterLeave:se}=$,pe=()=>{v.ctx.isUnmounted?i(A):s(A,b,x)},Oe=()=>{A._isLeaving&&A[_n](!0),U(A,()=>{pe(),se&&se()})};X?X(A,pe,Oe):Oe()}else s(A,b,x)},Et=(v,b,x,F=!1,M=!1)=>{const{type:A,props:B,ref:$,children:j,dynamicChildren:L,shapeFlag:ee,patchFlag:U,dirs:X,cacheIndex:se}=v;if(U===-2&&(M=!1),$!=null&&(qt(),Hs($,null,x,v,!0),Gt()),se!=null&&(b.renderCache[se]=void 0),ee&256){b.ctx.deactivate(v);return}const pe=ee&1&&X,Oe=!wn(v);let Ee;if(Oe&&(Ee=B&&B.onVnodeBeforeUnmount)&&Nt(Ee,b,v),ee&6)Z(v.component,x,F);else{if(ee&128){v.suspense.unmount(x,F);return}pe&&Xt(v,null,b,"beforeUnmount"),ee&64?v.type.remove(v,b,x,tt,F):L&&!L.hasOnce&&(A!==we||U>0&&U&64)?be(L,b,x,!1,!0):(A===we&&U&384||!M&&ee&16)&&be(j,b,x),F&&fn(v)}(Oe&&(Ee=B&&B.onVnodeUnmounted)||pe)&&He(()=>{Ee&&Nt(Ee,b,v),pe&&Xt(v,null,b,"unmounted")},x)},fn=v=>{const{type:b,el:x,anchor:F,transition:M}=v;if(b===we){process.env.NODE_ENV!=="production"&&v.patchFlag>0&&v.patchFlag&2048&&M&&!M.persisted?v.children.forEach(B=>{B.type===Ae?i(B.el):fn(B)}):V(x,F);return}if(b===qn){y(v);return}const A=()=>{i(x),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(v.shapeFlag&1&&M&&!M.persisted){const{leave:B,delayLeave:$}=M,j=()=>B(x,A);$?$(v.el,A,j):j()}else A()},V=(v,b)=>{let x;for(;v!==b;)x=d(v),i(v),v=x;i(b)},Z=(v,b,x)=>{process.env.NODE_ENV!=="production"&&v.type.__hmrId&&Sm(v);const{bum:F,scope:M,job:A,subTree:B,um:$,m:j,a:L}=v;Lr(j),Lr(L),F&&Hn(F),M.stop(),A&&(A.flags|=8,Et(B,v,b,x)),$&&He($,b),He(()=>{v.isUnmounted=!0},b),process.env.NODE_ENV!=="production"&&Tm(v)},be=(v,b,x,F=!1,M=!1,A=0)=>{for(let B=A;B<v.length;B++)Et(v[B],b,x,F,M)},Ze=v=>{if(v.shapeFlag&6)return Ze(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const b=d(v.anchor||v.el),x=b&&b[Nf];return x?d(x):b};let lt=!1;const Rt=(v,b,x)=>{let F;v==null?b._vnode&&(Et(b._vnode,null,null,!0),F=b._vnode.component):p(b._vnode||null,v,b,null,null,null,x),b._vnode=v,lt||(lt=!0,Xa(F),Tr(),lt=!1)},tt={p,um:Et,m:Je,r:fn,mt:z,mc:O,pc:le,pbc:I,n:Ze,o:e};let $t,oi;return t&&([$t,oi]=t(tt)),{render:Rt,hydrate:$t,createApp:Lg(Rt,$t)}}function jo({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ns({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function id(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ni(e,t,n=!1){const s=e.children,i=t.children;if(K(s)&&K(i))for(let r=0;r<s.length;r++){const o=s[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=$n(i[r]),l.el=o.el),!n&&l.patchFlag!==-2&&Ni(o,l)),l.type===ln&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=r+(e.type===we?1:0)),l.type===Ae&&!l.el&&(l.el=o.el),process.env.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function sv(e){const t=e.slice(),n=[0];let s,i,r,o,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(i=n[n.length-1],e[i]<c){t[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<c?r=l+1:o=l;c<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function rd(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rd(t)}function Lr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function od(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?od(t.subTree):null}const Fr=e=>e.__isSuspense;let hl=0;const iv={name:"Suspense",__isSuspense:!0,process(e,t,n,s,i,r,o,l,a,c){if(e==null)ov(t,n,s,i,r,o,l,a,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}lv(e,t,n,s,i,o,l,a,c)}},hydrate:av,normalize:cv},rv=iv;function Mi(e,t){const n=e.props&&e.props[t];Q(n)&&n()}function ov(e,t,n,s,i,r,o,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=ld(e,i,s,t,f,n,r,o,l,a);c(null,d.pendingBranch=e.ssContent,f,null,s,d,r,o),d.deps>0?(Mi(e,"onPending"),Mi(e,"onFallback"),c(null,e.ssFallback,t,n,s,null,r,o),Ks(d,e.ssFallback)):d.resolve(!1,!0)}function lv(e,t,n,s,i,r,o,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:p,isInFallback:S,isHydrating:N}=f;if(p)f.pendingBranch=d,Ht(p,d)?(a(p,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():S&&(N||(a(m,h,n,s,i,null,r,o,l),Ks(f,h)))):(f.pendingId=hl++,N?(f.isHydrating=!1,f.activeBranch=p):c(p,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),S?(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0?f.resolve():(a(m,h,n,s,i,null,r,o,l),Ks(f,h))):m&&Ht(m,d)?(a(m,d,n,s,i,f,r,o,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0&&f.resolve()));else if(m&&Ht(m,d))a(m,d,n,s,i,f,r,o,l),Ks(f,d);else if(Mi(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=hl++,a(null,d,f.hiddenContainer,null,i,f,r,o,l),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:g}=f;E>0?setTimeout(()=>{f.pendingId===g&&f.fallback(h)},E):E===0&&f.fallback(h)}}let yc=!1;function ld(e,t,n,s,i,r,o,l,a,c,u=!1){process.env.NODE_ENV!=="production"&&!yc&&(yc=!0,console[console.info?"info":"log"]("<Suspense> is an experimental feature and its API will likely change."));const{p:f,m:d,um:h,n:m,o:{parentNode:p,remove:S}}=c;let N;const E=uv(e);E&&t&&t.pendingBranch&&(N=t.pendingId,t.deps++);const g=e.props?wr(e.props.timeout):void 0;process.env.NODE_ENV!=="production"&&Kl(g,"Suspense timeout");const _=r,y={vnode:e,parent:t,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:hl++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(w=!1,P=!1){if(process.env.NODE_ENV!=="production"){if(!w&&!y.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(y.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:T,activeBranch:O,pendingBranch:D,pendingId:I,effects:C,parentComponent:R,container:G,isInFallback:z}=y;let W=!1;y.isHydrating?y.isHydrating=!1:w||(W=O&&D.transition&&D.transition.mode==="out-in",W&&(O.transition.afterLeave=()=>{I===y.pendingId&&(d(D,G,r===_?m(O):r,0),zs(C),z&&T.ssFallback&&(T.ssFallback.el=null))}),O&&(p(O.el)===G&&(r=m(O)),h(O,R,y,!0),!W&&z&&T.ssFallback&&He(()=>T.ssFallback.el=null,y)),W||d(D,G,r,0)),Ks(y,D),y.pendingBranch=null,y.isInFallback=!1;let J=y.parent,H=!1;for(;J;){if(J.pendingBranch){J.effects.push(...C),H=!0;break}J=J.parent}!H&&!W&&zs(C),y.effects=[],E&&t&&t.pendingBranch&&N===t.pendingId&&(t.deps--,t.deps===0&&!P&&t.resolve()),Mi(T,"onResolve")},fallback(w){if(!y.pendingBranch)return;const{vnode:P,activeBranch:T,parentComponent:O,container:D,namespace:I}=y;Mi(P,"onFallback");const C=m(T),R=()=>{y.isInFallback&&(f(null,w,D,C,O,null,I,l,a),Ks(y,w))},G=w.transition&&w.transition.mode==="out-in";G&&(T.transition.afterLeave=R),y.isInFallback=!0,h(T,O,null,!0),G||R()},move(w,P,T){y.activeBranch&&d(y.activeBranch,w,P,T),y.container=w},next(){return y.activeBranch&&m(y.activeBranch)},registerDep(w,P,T){const O=!!y.pendingBranch;O&&y.deps++;const D=w.vnode.el;w.asyncDep.catch(I=>{es(I,w,0)}).then(I=>{if(w.isUnmounted||y.isUnmounted||y.pendingId!==w.suspenseId)return;w.asyncResolved=!0;const{vnode:C}=w;process.env.NODE_ENV!=="production"&&Fs(C),yl(w,I,!1),D&&(C.el=D);const R=!D&&w.subTree.el;P(w,C,p(D||w.subTree.el),D?null:m(w.subTree),y,o,T),R&&(C.placeholder=null,S(R)),bo(w,C.el),process.env.NODE_ENV!=="production"&&Rs(),O&&--y.deps===0&&y.resolve()})},unmount(w,P){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,w,P),y.pendingBranch&&h(y.pendingBranch,n,w,P)}};return y}function av(e,t,n,s,i,r,o,l,a){const c=t.suspense=ld(t,s,n,e.parentNode,document.createElement("div"),null,i,r,o,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function cv(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ec(s?n.default:n),e.ssFallback=s?Ec(n.fallback):_e(Ae)}function Ec(e){let t;if(Q(e)){const n=Es&&e._c;n&&(e._d=!1,fe()),e=e(),n&&(e._d=!0,t=dt,cd())}if(K(e)){const n=_o(e);process.env.NODE_ENV!=="production"&&!n&&e.filter(s=>s!==Ql).length>0&&k("<Suspense> slots expect a single root node."),e=n}return e=yt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function ad(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):zs(e)}function Ks(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,bo(s,i))}function uv(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const we=Symbol.for("v-fgt"),ln=Symbol.for("v-txt"),Ae=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Si=[];let dt=null;function fe(e=!1){Si.push(dt=e?null:[])}function cd(){Si.pop(),dt=Si[Si.length-1]||null}let Es=1;function Pi(e,t=!1){Es+=e,e<0&&dt&&t&&(dt.hasOnce=!0)}function ud(e){return e.dynamicChildren=Es>0?dt||Ls:null,cd(),Es>0&&dt&&dt.push(e),e}function Ce(e,t,n,s,i,r){return ud(ae(e,t,n,s,i,r,!0))}function Wt(e,t,n,s,i){return ud(_e(e,t,n,s,i,!0))}function cn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=pr.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}let pl;function fv(e){pl=e}const dv=(...e)=>dd(...pl?pl(e,Re):e),fd=({key:e})=>e??null,vr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||Ie(e)||Q(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function ae(e,t=null,n=null,s=0,i=null,r=e===we?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fd(t),ref:t&&vr(t),scopeId:po,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Re};return l?(oa(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=te(n)?8:16),process.env.NODE_ENV!=="production"&&a.key!==a.key&&k("VNode created with invalid key (NaN). VNode type:",a.type),Es>0&&!o&&dt&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&dt.push(a),a}const _e=process.env.NODE_ENV!=="production"?dv:dd;function dd(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===Ql)&&(process.env.NODE_ENV!=="production"&&!e&&k(`Invalid vnode type when creating vnode: ${e}.`),e=Ae),cn(e)){const l=Ft(e,t,!0);return n&&oa(l,n),Es>0&&!r&&dt&&(l.shapeFlag&6?dt[dt.indexOf(e)]=l:dt.push(l)),l.patchFlag=-2,l}if(bd(e)&&(e=e.__vccOpts),t){t=hd(t);let{class:l,style:a}=t;l&&!te(l)&&(t.class=xe(l)),he(a)&&(vs(a)&&!K(a)&&(a=oe({},a)),t.style=qe(a))}const o=te(e)?1:Fr(e)?128:Sf(e)?64:he(e)?4:Q(e)?2:0;return process.env.NODE_ENV!=="production"&&o&4&&vs(e)&&(e=re(e),k("Vue received a Component that 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`.",`
|
|
24
|
+
Component that was made reactive: `,e)),ae(e,t,n,s,i,o,r,!0)}function hd(e){return e?vs(e)||Jf(e)?oe({},e):e:null}function Ft(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,c=t?en(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&fd(c),ref:t&&t.ref?n&&r?K(r)?r.concat(vr(t)):[r,vr(t)]:vr(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&o===-1&&K(l)?l.map(pd):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Tn(u,a.clone(u)),u}function pd(e){const t=Ft(e);return K(e.children)&&(t.children=e.children.map(pd)),t}function _s(e=" ",t=0){return _e(ln,null,e,t)}function hv(e,t){const n=_e(qn,null,e);return n.staticCount=t,n}function Cn(e="",t=!1){return t?(fe(),Wt(Ae,null,e)):_e(Ae,null,e)}function yt(e){return e==null||typeof e=="boolean"?_e(Ae):K(e)?_e(we,null,e.slice()):cn(e)?$n(e):_e(ln,null,String(e))}function $n(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function oa(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),oa(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Jf(t)?t._ctx=Re:i===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),s&64?(n=16,t=[_s(t)]):n=8);e.children=t,e.shapeFlag|=n}function en(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=xe([t.class,s.class]));else if(i==="style")t.style=qe([t.style,s.style]);else if(xn(i)){const r=t[i],o=s[i];o&&r!==o&&!(K(r)&&r.includes(o))&&(t[i]=r?[].concat(r,o):o)}else i!==""&&(t[i]=s[i])}return t}function Nt(e,t,n,s=null){Lt(e,t,7,[n,s])}const pv=Kf();let mv=0;function md(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||pv,r={uid:mv++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Rl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yf(s,i),emitsOptions:Wf(s,i),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:s.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,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 process.env.NODE_ENV!=="production"?r.ctx=pg(r):r.ctx={_:r},r.root=t?t.root:r,r.emit=Rg.bind(null,r),e.ce&&e.ce(r),r}let Fe=null;const ze=()=>Fe||Re;let Rr,ml;{const e=Ui(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Rr=t("__VUE_INSTANCE_SETTERS__",n=>Fe=n),ml=t("__VUE_SSR_SETTERS__",n=>Gs=n)}const bs=e=>{const t=Fe;return Rr(e),e.scope.on(),()=>{e.scope.off(),Rr(t)}},gl=()=>{Fe&&Fe.scope.off(),Rr(null)},gv=et("slot,component");function vl(e,{isNativeTag:t}){(gv(e)||t(e))&&k("Do not use built-in or reserved HTML elements as component id: "+e)}function gd(e){return e.vnode.shapeFlag&4}let Gs=!1;function vd(e,t=!1,n=!1){t&&ml(t);const{props:s,children:i}=e.vnode,r=gd(e);Kg(e,s,r,t),ev(e,i,n||t);const o=r?vv(e,t):void 0;return t&&ml(!1),o}function vv(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&vl(n.name,e.appContext.config),n.components){const i=Object.keys(n.components);for(let r=0;r<i.length;r++)vl(i[r],e.appContext.config)}if(n.directives){const i=Object.keys(n.directives);for(let r=0;r<i.length;r++)vf(i[r])}n.compilerOptions&&la()&&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=new Proxy(e.ctx,bi),process.env.NODE_ENV!=="production"&&mg(e);const{setup:s}=n;if(s){qt();const i=e.setupContext=s.length>1?_d(e):null,r=bs(e),o=Os(s,e,0,[process.env.NODE_ENV!=="production"?Bt(e.props):e.props,i]),l=to(o);if(Gt(),r(),(l||e.sp)&&!wn(e)&&Zl(e),l){if(o.then(gl,gl),t)return o.then(a=>{yl(e,a,t)}).catch(a=>{es(a,e,0)});if(e.asyncDep=o,process.env.NODE_ENV!=="production"&&!e.suspense){const a=Gi(e,n);k(`Component <${a}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else yl(e,o,t)}else Ed(e,t)}function yl(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)?(process.env.NODE_ENV!=="production"&&cn(t)&&k("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Bl(t),process.env.NODE_ENV!=="production"&&gg(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&k(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Ed(e,n)}let Oi,El;function yd(e){Oi=e,El=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,hg))}}const la=()=>!Oi;function Ed(e,t,n){const s=e.type;if(!e.render){if(!t&&Oi&&!s.render){const i=s.template||sa(e).template;if(i){process.env.NODE_ENV!=="production"&&gn(e,"compile");const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,c=oe(oe({isCustomElement:r,delimiters:l},o),a);s.render=Oi(i,c),process.env.NODE_ENV!=="production"&&vn(e,"compile")}}e.render=s.render||ke,El&&El(e)}{const i=bs(e);qt();try{Vg(e)}finally{Gt(),i()}}process.env.NODE_ENV!=="production"&&!s.render&&e.render===ke&&!t&&(!Oi&&s.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: ",s))}const _c=process.env.NODE_ENV!=="production"?{get(e,t){return Mr(),Ue(e,"get",""),e[t]},set(){return k("setupContext.attrs is readonly."),!1},deleteProperty(){return k("setupContext.attrs is readonly."),!1}}:{get(e,t){return Ue(e,"get",""),e[t]}};function yv(e){return new Proxy(e.slots,{get(t,n){return Ue(e,"get","$slots"),t[n]}})}function _d(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&k("expose() should be called only once per setup()."),n!=null)){let s=typeof n;s==="object"&&(K(n)?s="array":Ie(n)&&(s="ref")),s!=="object"&&k(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,_c))},get slots(){return s||(s=yv(e))},get emit(){return(i,...r)=>e.emit(i,...r)},expose:t})}else return{attrs:new Proxy(e.attrs,_c),slots:e.slots,emit:e.emit,expose:t}}function qi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Bl(sf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ps)return ps[n](e)},has(t,n){return n in t||n in ps}})):e.proxy}const Ev=/(?:^|[-_])\w/g,_v=e=>e.replace(Ev,t=>t.toUpperCase()).replace(/[-_]/g,"");function Js(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Gi(e,t,n=!1){let s=Js(t);if(!s&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(s=i[1])}if(!s&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};s=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return s?_v(s):n?"App":"Anonymous"}function bd(e){return Q(e)&&"__vccOpts"in e}const ie=(e,t)=>{const n=cm(e,t,Gs);if(process.env.NODE_ENV!=="production"){const s=ze();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function aa(e,t,n){try{Pi(-1);const s=arguments.length;return s===2?he(t)&&!K(t)?cn(t)?_e(e,null,[t]):_e(e,t):_e(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&cn(n)&&(n=[n]),_e(e,t,n))}finally{Pi(1)}}function Nd(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},i={__vue_custom_formatter:!0,header(f){if(!he(f))return null;if(f.__isVue)return["div",e,"VueInstance"];if(Ie(f)){qt();const d=f.value;return Gt(),["div",{},["span",e,u(f)],"<",l(d),">"]}else{if(on(f))return["div",{},["span",e,ot(f)?"ShallowReactive":"Reactive"],"<",l(f),`>${Pt(f)?" (readonly)":""}`];if(Pt(f))return["div",{},["span",e,ot(f)?"ShallowReadonly":"Readonly"],"<",l(f),">"]}return null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...r(f.$)]}};function r(f){const d=[];f.type.props&&f.props&&d.push(o("props",re(f.props))),f.setupState!==ue&&d.push(o("setup",f.setupState)),f.data!==ue&&d.push(o("data",re(f.data)));const h=a(f,"computed");h&&d.push(o("computed",h));const m=a(f,"inject");return m&&d.push(o("injected",m)),d.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function o(f,d){return d=oe({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},f],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(h=>["div",{},["span",s,h+": "],l(d[h],!1)])]]:["span",{}]}function l(f,d=!0){return typeof f=="number"?["span",t,f]:typeof f=="string"?["span",n,JSON.stringify(f)]:typeof f=="boolean"?["span",s,f]:he(f)?["object",{object:d?re(f):f}]:["span",n,String(f)]}function a(f,d){const h=f.type;if(Q(h))return;const m={};for(const p in f.ctx)c(h,p,d)&&(m[p]=f.ctx[p]);return m}function c(f,d,h){const m=f[h];if(K(m)&&m.includes(d)||he(m)&&d in m||f.extends&&c(f.extends,d,h)||f.mixins&&f.mixins.some(p=>c(p,d,h)))return!0}function u(f){return ot(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(i):window.devtoolsFormatters=[i]}function bv(e,t,n,s){const i=n[s];if(i&&Sd(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=s,n[s]=r}function Sd(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let s=0;s<n.length;s++)if(gt(n[s],t[s]))return!1;return Es>0&&dt&&dt.push(e),!0}const _l="3.5.27",Pe=process.env.NODE_ENV!=="production"?k:ke,Nv=fo,Sv=(process.env.NODE_ENV,jt),Ov=(process.env.NODE_ENV,Wl),wv={createComponentInstance:md,setupComponent:vd,renderComponentRoot:gr,setCurrentRenderingInstance:Ai,isVNode:cn,normalizeVNode:yt,getComponentPublicInstance:qi,ensureValidVNode:ta,pushWarningContext:Fs,popWarningContext:Rs},Cv=wv,Dv=null,xv=null,Tv=null;let bl;const bc=typeof window<"u"&&window.trustedTypes;if(bc)try{bl=bc.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&Pe(`Error creating trusted types policy: ${e}`)}const Od=bl?e=>bl.createHTML(e):e=>e,Vv="http://www.w3.org/2000/svg",kv="http://www.w3.org/1998/Math/MathML",En=typeof document<"u"?document:null,Nc=En&&En.createElement("template"),wd={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?En.createElementNS(Vv,e):t==="mathml"?En.createElementNS(kv,e):n?En.createElement(e,{is:n}):En.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},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,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Nc.innerHTML=Od(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Nc.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},An="transition",ci="animation",Zs=Symbol("_vtc"),Cd={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},Dd=oe({},Jl,Cd),Av=e=>(e.displayName="Transition",e.props=Dd,e),ca=Av((e,{slots:t})=>aa(xf,xd(e),t)),ss=(e,t=[])=>{K(e)?e.forEach(n=>n(...t)):e&&e(...t)},Sc=e=>e?K(e)?e.some(t=>t.length>1):e.length>1:!1;function xd(e){const t={};for(const C in e)C in Cd||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Iv(i),p=m&&m[0],S=m&&m[1],{onBeforeEnter:N,onEnter:E,onEnterCancelled:g,onLeave:_,onLeaveCancelled:y,onBeforeAppear:w=N,onAppear:P=E,onAppearCancelled:T=g}=t,O=(C,R,G,z)=>{C._enterCancelled=z,Pn(C,R?u:l),Pn(C,R?c:o),G&&G()},D=(C,R)=>{C._isLeaving=!1,Pn(C,f),Pn(C,h),Pn(C,d),R&&R()},I=C=>(R,G)=>{const z=C?P:E,W=()=>O(R,C,G);ss(z,[R,W]),Oc(()=>{Pn(R,C?a:r),Zt(R,C?u:l),Sc(z)||wc(R,s,p,W)})};return oe(t,{onBeforeEnter(C){ss(N,[C]),Zt(C,r),Zt(C,o)},onBeforeAppear(C){ss(w,[C]),Zt(C,a),Zt(C,c)},onEnter:I(!1),onAppear:I(!0),onLeave(C,R){C._isLeaving=!0;const G=()=>D(C,R);Zt(C,f),C._enterCancelled?(Zt(C,d),Nl(C)):(Nl(C),Zt(C,d)),Oc(()=>{C._isLeaving&&(Pn(C,f),Zt(C,h),Sc(_)||wc(C,s,S,G))}),ss(_,[C,G])},onEnterCancelled(C){O(C,!1,void 0,!0),ss(g,[C])},onAppearCancelled(C){O(C,!0,void 0,!0),ss(T,[C])},onLeaveCancelled(C){D(C),ss(y,[C])}})}function Iv(e){if(e==null)return null;if(he(e))return[Ho(e.enter),Ho(e.leave)];{const t=Ho(e);return[t,t]}}function Ho(e){const t=wr(e);return process.env.NODE_ENV!=="production"&&Kl(t,"<transition> explicit duration"),t}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zs]||(e[Zs]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Zs];n&&(n.delete(t),n.size||(e[Zs]=void 0))}function Oc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Mv=0;function wc(e,t,n,s){const i=e._endId=++Mv,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Td(e,t);if(!o)return s();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),r()},d=h=>{h.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,d)}function Td(e,t){const n=window.getComputedStyle(e),s=m=>(n[m]||"").split(", "),i=s(`${An}Delay`),r=s(`${An}Duration`),o=Cc(i,r),l=s(`${ci}Delay`),a=s(`${ci}Duration`),c=Cc(l,a);let u=null,f=0,d=0;t===An?o>0&&(u=An,f=o,d=r.length):t===ci?c>0&&(u=ci,f=c,d=a.length):(f=Math.max(o,c),u=f>0?o>c?An:ci:null,d=u?u===An?r.length:a.length:0);const h=u===An&&/\b(?:transform|all)(?:,|$)/.test(s(`${An}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function Cc(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Dc(n)+Dc(e[s])))}function Dc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Nl(e){return(e?e.ownerDocument:document).body.offsetHeight}function Pv(e,t,n){const s=e[Zs];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const $r=Symbol("_vod"),Vd=Symbol("_vsh"),Gn={name:"show",beforeMount(e,{value:t},{transition:n}){e[$r]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),ui(e,!0),s.enter(e)):s.leave(e,()=>{ui(e,!1)}):ui(e,t))},beforeUnmount(e,{value:t}){ui(e,t)}};function ui(e,t){e.style.display=t?e[$r]:"none",e[Vd]=!t}function Lv(){Gn.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const kd=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":"");function Fv(e){const t=ze();if(!t){process.env.NODE_ENV!=="production"&&Pe("useCssVars is called without current active component instance.");return}const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>jr(r,i))};process.env.NODE_ENV!=="production"&&(t.getCssVars=()=>e(t.proxy));const s=()=>{const i=e(t.proxy);t.ce?jr(t.ce,i):Sl(t.subTree,i),n(i)};Xl(()=>{zs(s)}),un(()=>{ft(s,ke,{flush:"post"});const i=new MutationObserver(s);i.observe(t.subTree.el.parentNode,{childList:!0}),yo(()=>i.disconnect())})}function Sl(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Sl(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)jr(e.el,t);else if(e.type===we)e.children.forEach(n=>Sl(n,t));else if(e.type===qn){let{el:n,anchor:s}=e;for(;n&&(jr(n,t),n!==s);)n=n.nextSibling}}function jr(e,t){if(e.nodeType===1){const n=e.style;let s="";for(const i in t){const r=Ru(t[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[kd]=s}}const Rv=/(?:^|;)\s*display\s*:/;function $v(e,t,n){const s=e.style,i=te(n);let r=!1;if(n&&!i){if(t)if(te(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&yr(s,l,"")}else for(const o in t)n[o]==null&&yr(s,o,"");for(const o in n)o==="display"&&(r=!0),yr(s,o,n[o])}else if(i){if(t!==n){const o=s[kd];o&&(n+=";"+o),s.cssText=n,r=Rv.test(n)}}else t&&e.removeAttribute("style");$r in e&&(e[$r]=r?s.display:"",e[Vd]&&(s.display="none"))}const jv=/[^\\];\s*$/,xc=/\s*!important$/;function yr(e,t,n){if(K(n))n.forEach(s=>yr(e,t,s));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&jv.test(n)&&Pe(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Hv(e,t);xc.test(n)?e.setProperty(ut(s),n.replace(xc,""),"important"):e[s]=n}}const Tc=["Webkit","Moz","ms"],Bo={};function Hv(e,t){const n=Bo[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return Bo[t]=s;s=an(s);for(let i=0;i<Tc.length;i++){const r=Tc[i]+s;if(r in e)return Bo[t]=r}return t}const Vc="http://www.w3.org/1999/xlink";function kc(e,t,n,s,i,r=Cp(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Vc,t.slice(6,t.length)):e.setAttributeNS(Vc,t,n):n==null||r&&!Fl(n)?e.removeAttribute(t):e.setAttribute(t,r?"":wt(n)?String(n):n)}function Ac(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Od(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Fl(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch(l){process.env.NODE_ENV!=="production"&&!o&&Pe(`Failed setting prop "${t}" on <${r.toLowerCase()}>: value ${n} is invalid.`,l)}o&&e.removeAttribute(i||t)}function Sn(e,t,n,s){e.addEventListener(t,n,s)}function Bv(e,t,n,s){e.removeEventListener(t,n,s)}const Ic=Symbol("_vei");function Kv(e,t,n,s,i=null){const r=e[Ic]||(e[Ic]={}),o=r[t];if(s&&o)o.value=process.env.NODE_ENV!=="production"?Pc(s,t):s;else{const[l,a]=Uv(t);if(s){const c=r[t]=qv(process.env.NODE_ENV!=="production"?Pc(s,t):s,i);Sn(e,l,c,a)}else o&&(Bv(e,l,o,a),r[t]=void 0)}}const Mc=/(?:Once|Passive|Capture)$/;function Uv(e){let t;if(Mc.test(e)){t={};let s;for(;s=e.match(Mc);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ut(e.slice(2)),t]}let Ko=0;const Wv=Promise.resolve(),zv=()=>Ko||(Wv.then(()=>Ko=0),Ko=Date.now());function qv(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Lt(Gv(s,n.value),t,5,[s])};return n.value=e,n.attached=zv(),n}function Pc(e,t){return Q(e)||K(e)?e:(Pe(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
25
|
+
Expected function or array of functions, received type ${typeof e}.`),ke)}function Gv(e,t){if(K(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Lc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ad=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Pv(e,s,o):t==="style"?$v(e,n,s):xn(t)?Or(t)||Kv(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jv(e,t,s,o))?(Ac(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&kc(e,t,s,o,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!te(s))?Ac(e,De(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),kc(e,t,s,o))};function Jv(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Lc(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Lc(t)&&te(n)?!1:t in e}const Fc={};function No(e,t,n){let s=pt(e,t);no(s)&&(s=oe({},s,t));class i extends So{constructor(o){super(s,o,n)}}return i.def=s,i}const Zv=((e,t)=>No(e,t,Ud)),Yv=typeof HTMLElement<"u"?HTMLElement:class{};class So extends Yv{constructor(t,n={},s=Br){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==Br?this._root=this.shadowRoot:(process.env.NODE_ENV!=="production"&&this.shadowRoot&&Pe("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(oe({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof So){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Xn(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let l;if(r&&!K(r))for(const a in r){const c=r[a];(c===Number||c&&c.type===Number)&&(a in this._props&&(this._props[a]=wr(this._props[a])),(l||(l=Object.create(null)))[De(a)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot?this._applyStyles(o):process.env.NODE_ENV!=="production"&&o&&Pe("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){process.env.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)ve(this,s)?process.env.NODE_ENV!=="production"&&Pe(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>Y(n[s])})}_resolveProps(t){const{props:n}=t,s=K(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(De))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Fc;const i=De(t);n&&this._numberProps&&this._numberProps[i]&&(s=wr(s)),this._setProp(i,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,i=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Fc?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(ut(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ut(t),n+""):n||this.removeAttribute(ut(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),Kd(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=_e(this._def,oe(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,process.env.NODE_ENV!=="production"&&(s.ceReload=r=>{this._styles&&(this._styles.forEach(o=>this._root.removeChild(o)),this._styles.length=0),this._applyStyles(r),this._instance=null,this._update()});const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,no(o[0])?oe({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),ut(r)!==r&&i(ut(r),o)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=t.length-1;i>=0;i--){const r=document.createElement("style");if(s&&r.setAttribute("nonce",s),r.textContent=t[i],this.shadowRoot.prepend(r),process.env.NODE_ENV!=="production")if(n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let o=this._childStyles.get(n.__hmrId);o||this._childStyles.set(n.__hmrId,o=[]),o.push(r)}}else(this._styles||(this._styles=[])).push(r)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const i=t[s],r=i.getAttribute("name")||"default",o=this._slots[r],l=i.parentNode;if(o)for(const a of o){if(n&&a.nodeType===1){const c=n+"-s",u=document.createTreeWalker(a,1);a.setAttribute(c,"");let f;for(;f=u.nextNode();)f.setAttribute(c,"")}l.insertBefore(a,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const i=s.querySelectorAll("slot");for(let r=0;r<i.length;r++)n.add(i[r])}return Array.from(n)}_injectChildStyle(t){this._applyStyles(t.styles,t)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_removeChildStyle(t){if(process.env.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._childStyles&&t.__hmrId)){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(s=>this._root.removeChild(s)),n.length=0)}}}function Ol(e){const t=ze(),n=t&&t.ce;return n||(process.env.NODE_ENV!=="production"&&Pe(t?`${e||"useHost"} can only be used in components defined via defineCustomElement.`:`${e||"useHost"} called without an active component instance.`),null)}function Xv(){const e=process.env.NODE_ENV!=="production"?Ol("useShadowRoot"):Ol();return e&&e.shadowRoot}function Qv(e="$style"){{const t=ze();if(!t)return process.env.NODE_ENV!=="production"&&Pe("useCssModule must be called inside setup()"),ue;const n=t.type.__cssModules;if(!n)return process.env.NODE_ENV!=="production"&&Pe("Current instance does not have CSS modules injected."),ue;const s=n[e];return s||(process.env.NODE_ENV!=="production"&&Pe(`Current instance does not have CSS module named "${e}".`),ue)}}const Id=new WeakMap,Md=new WeakMap,Hr=Symbol("_moveCb"),Rc=Symbol("_enterCb"),ey=e=>(delete e.props.mode,e),ty=ey({name:"TransitionGroup",props:oe({},Dd,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ze(),s=Gl();let i,r;return vo(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!oy(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(sy),i.forEach(iy);const l=i.filter(ry);Nl(n.vnode.el),l.forEach(a=>{const c=a.el,u=c.style;Zt(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Hr]=d=>{d&&d.target!==c||(!d||d.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",f),c[Hr]=null,Pn(c,o))};c.addEventListener("transitionend",f)}),i=[]}),()=>{const o=re(e),l=xd(o);let a=o.tag||we;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),Tn(u,qs(u,l,s,n)),Id.set(u,{left:u.el.offsetLeft,top:u.el.offsetTop}))}r=t.default?mo(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null?Tn(u,qs(u,l,s,n)):process.env.NODE_ENV!=="production"&&u.type!==ln&&Pe("<TransitionGroup> children must be keyed.")}return _e(a,null,r)}}}),ny=ty;function sy(e){const t=e.el;t[Hr]&&t[Hr](),t[Rc]&&t[Rc]()}function iy(e){Md.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function ry(e){const t=Id.get(e),n=Md.get(e),s=t.left-n.left,i=t.top-n.top;if(s||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",e}}function oy(e,t,n){const s=e.cloneNode(),i=e[Zs];i&&i.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=Td(s);return r.removeChild(s),o}const Qn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Hn(t,n):t};function ly(e){e.target.composing=!0}function $c(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Mt=Symbol("_assign");function jc(e,t,n){return t&&(e=e.trim()),n&&(e=ro(e)),e}const Li={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Mt]=Qn(i);const r=s||i.props&&i.props.type==="number";Sn(e,t?"change":"input",o=>{o.target.composing||e[Mt](jc(e.value,n,r))}),(n||r)&&Sn(e,"change",()=>{e.value=jc(e.value,n,r)}),t||(Sn(e,"compositionstart",ly),Sn(e,"compositionend",$c),Sn(e,"change",$c))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[Mt]=Qn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?ro(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===a)||(e.value=a))}},ua={deep:!0,created(e,t,n){e[Mt]=Qn(n),Sn(e,"change",()=>{const s=e._modelValue,i=Ys(e),r=e.checked,o=e[Mt];if(K(s)){const l=oo(s,i),a=l!==-1;if(r&&!a)o(s.concat(i));else if(!r&&a){const c=[...s];c.splice(l,1),o(c)}}else if(Ss(s)){const l=new Set(s);r?l.add(i):l.delete(i),o(l)}else o(Ld(e,r))})},mounted:Hc,beforeUpdate(e,t,n){e[Mt]=Qn(n),Hc(e,t,n)}};function Hc(e,{value:t,oldValue:n},s){e._modelValue=t;let i;if(K(t))i=oo(t,s.props.value)>-1;else if(Ss(t))i=t.has(s.props.value);else{if(t===n)return;i=Yn(t,Ld(e,!0))}e.checked!==i&&(e.checked=i)}const fa={created(e,{value:t},n){e.checked=Yn(t,n.props.value),e[Mt]=Qn(n),Sn(e,"change",()=>{e[Mt](Ys(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Mt]=Qn(s),t!==n&&(e.checked=Yn(t,s.props.value))}},Pd={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=Ss(t);Sn(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?ro(Ys(o)):Ys(o));e[Mt](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,Xn(()=>{e._assigning=!1})}),e[Mt]=Qn(s)},mounted(e,{value:t}){Bc(e,t)},beforeUpdate(e,t,n){e[Mt]=Qn(n)},updated(e,{value:t}){e._assigning||Bc(e,t)}};function Bc(e,t){const n=e.multiple,s=K(t);if(n&&!s&&!Ss(t)){process.env.NODE_ENV!=="production"&&Pe(`<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 i=0,r=e.options.length;i<r;i++){const o=e.options[i],l=Ys(o);if(n)if(s){const a=typeof l;a==="string"||a==="number"?o.selected=t.some(c=>String(c)===String(l)):o.selected=oo(t,l)>-1}else o.selected=t.has(l);else if(Yn(Ys(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}function Ys(e){return"_value"in e?e._value:e.value}function Ld(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Fd={created(e,t,n){ur(e,t,n,null,"created")},mounted(e,t,n){ur(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){ur(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){ur(e,t,n,s,"updated")}};function Rd(e,t){switch(e){case"SELECT":return Pd;case"TEXTAREA":return Li;default:switch(t){case"checkbox":return ua;case"radio":return fa;default:return Li}}}function ur(e,t,n,s,i){const o=Rd(e.tagName,n.props&&n.props.type)[i];o&&o(e,t,n,s)}function ay(){Li.getSSRProps=({value:e})=>({value:e}),fa.getSSRProps=({value:e},t)=>{if(t.props&&Yn(t.props.value,e))return{checked:!0}},ua.getSSRProps=({value:e},t)=>{if(K(e)){if(t.props&&oo(e,t.props.value)>-1)return{checked:!0}}else if(Ss(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Fd.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Rd(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const cy=["ctrl","shift","alt","meta"],uy={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)=>cy.some(n=>e[`${n}Key`]&&!t.includes(n))},$d=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=uy[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},fy={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},dy=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=ut(i.key);if(t.some(o=>o===r||fy[o]===r))return e(i)}))},jd=oe({patchProp:Ad},wd);let wi,Kc=!1;function Hd(){return wi||(wi=td(jd))}function Bd(){return wi=Kc?wi:nd(jd),Kc=!0,wi}const Kd=((...e)=>{Hd().render(...e)}),hy=((...e)=>{Bd().hydrate(...e)}),Br=((...e)=>{const t=Hd().createApp(...e);process.env.NODE_ENV!=="production"&&(zd(t),qd(t));const{mount:n}=t;return t.mount=s=>{const i=Gd(s);if(!i)return;const r=t._component;!Q(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Wd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t}),Ud=((...e)=>{const t=Bd().createApp(...e);process.env.NODE_ENV!=="production"&&(zd(t),qd(t));const{mount:n}=t;return t.mount=s=>{const i=Gd(s);if(i)return n(i,!0,Wd(i))},t});function Wd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zd(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>Au(t)||Iu(t)||Mu(t),writable:!1})}function qd(e){if(la()){const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){Pe("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='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-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return Pe(s),n},set(){Pe(s)}})}}function Gd(e){if(te(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&Pe(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&Pe('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}let Uc=!1;const py=()=>{Uc||(Uc=!0,ay(),Lv())},my=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:xf,BaseTransitionPropsValidators:Jl,Comment:Ae,DeprecationTypes:Tv,EffectScope:Rl,ErrorCodes:ym,ErrorTypeStrings:Nv,Fragment:we,KeepAlive:lg,ReactiveEffect:Di,Static:qn,Suspense:rv,Teleport:Hm,Text:ln,TrackOpTypes:um,Transition:ca,TransitionGroup:ny,TriggerOpTypes:fm,VueElement:So,assertNumber:Kl,callWithAsyncErrorHandling:Lt,callWithErrorHandling:Os,camelize:De,capitalize:an,cloneVNode:Ft,compatUtils:xv,computed:ie,createApp:Br,createBlock:Wt,createCommentVNode:Cn,createElementBlock:Ce,createElementVNode:ae,createHydrationRenderer:nd,createPropsRestProxy:Dg,createRenderer:td,createSSRApp:Ud,createSlots:dg,createStaticVNode:hv,createTextVNode:_s,createVNode:_e,customRef:of,defineAsyncComponent:rg,defineComponent:pt,defineCustomElement:No,defineEmits:yg,defineExpose:Eg,defineModel:Ng,defineOptions:_g,defineProps:vg,defineSSRCustomElement:Zv,defineSlots:bg,devtools:Sv,effect:Pp,effectScope:Ip,getCurrentInstance:ze,getCurrentScope:$u,getCurrentWatcher:dm,getTransitionRawChildren:mo,guardReactiveProps:hd,h:aa,handleError:es,hasInjectionContext:Lm,hydrate:hy,hydrateOnIdle:Qm,hydrateOnInteraction:sg,hydrateOnMediaQuery:ng,hydrateOnVisible:tg,initCustomFormatter:Nd,initDirectivesForSSR:py,inject:js,isMemoSame:Sd,isProxy:vs,isReactive:on,isReadonly:Pt,isRef:Ie,isRuntimeOnly:la,isShallow:ot,isVNode:cn,markRaw:sf,mergeDefaults:Hf,mergeModels:Cg,mergeProps:en,nextTick:Xn,nodeOps:wd,normalizeClass:xe,normalizeProps:_p,normalizeStyle:qe,onActivated:Af,onBeforeMount:Yl,onBeforeUnmount:ws,onBeforeUpdate:Xl,onDeactivated:If,onErrorCaptured:Rf,onMounted:un,onRenderTracked:Ff,onRenderTriggered:Lf,onScopeDispose:ju,onServerPrefetch:Pf,onUnmounted:yo,onUpdated:vo,onWatcherCleanup:cf,openBlock:fe,patchProp:Ad,popScopeId:Mm,provide:ql,proxyRefs:Bl,pushScopeId:Im,queuePostFlushCb:zs,reactive:ii,readonly:Vi,ref:ne,registerRuntimeCompiler:yd,render:Kd,renderList:hs,renderSlot:Bn,resolveComponent:ug,resolveDirective:fg,resolveDynamicComponent:$f,resolveFilter:Dv,resolveTransitionHooks:qs,setBlockTracking:Pi,setDevtoolsHook:Ov,setTransitionHooks:Tn,shallowReactive:nf,shallowReadonly:Bt,shallowRef:Un,ssrContextKey:yf,ssrUtils:Cv,stop:Lp,toDisplayString:sn,toHandlerKey:Qt,toHandlers:Bs,toRaw:re,toRef:lm,toRefs:lf,toValue:nm,transformVNodeArgs:fv,triggerRef:nl,unref:Y,useAttrs:wg,useCssModule:Qv,useCssVars:Fv,useHost:Ol,useId:Km,useModel:Fg,useSSRContext:Ef,useShadowRoot:Xv,useSlots:Og,useTemplateRef:Um,useTransitionState:Gl,vModelCheckbox:ua,vModelDynamic:Fd,vModelRadio:fa,vModelSelect:Pd,vModelText:Li,vShow:Gn,version:_l,warn:Pe,watch:ft,watchEffect:Fm,watchPostEffect:Rm,watchSyncEffect:_f,withAsyncContext:xg,withCtx:rn,withDefaults:Sg,withDirectives:zn,withKeys:dy,withMemo:bv,withModifiers:$d,withScopeId:Pm},Symbol.toStringTag,{value:"Module"}));const Fi=Symbol(process.env.NODE_ENV!=="production"?"Fragment":""),Ci=Symbol(process.env.NODE_ENV!=="production"?"Teleport":""),da=Symbol(process.env.NODE_ENV!=="production"?"Suspense":""),Kr=Symbol(process.env.NODE_ENV!=="production"?"KeepAlive":""),Jd=Symbol(process.env.NODE_ENV!=="production"?"BaseTransition":""),Ns=Symbol(process.env.NODE_ENV!=="production"?"openBlock":""),Zd=Symbol(process.env.NODE_ENV!=="production"?"createBlock":""),Yd=Symbol(process.env.NODE_ENV!=="production"?"createElementBlock":""),ha=Symbol(process.env.NODE_ENV!=="production"?"createVNode":""),pa=Symbol(process.env.NODE_ENV!=="production"?"createElementVNode":""),Ji=Symbol(process.env.NODE_ENV!=="production"?"createCommentVNode":""),ma=Symbol(process.env.NODE_ENV!=="production"?"createTextVNode":""),Xd=Symbol(process.env.NODE_ENV!=="production"?"createStaticVNode":""),ga=Symbol(process.env.NODE_ENV!=="production"?"resolveComponent":""),va=Symbol(process.env.NODE_ENV!=="production"?"resolveDynamicComponent":""),ya=Symbol(process.env.NODE_ENV!=="production"?"resolveDirective":""),Ea=Symbol(process.env.NODE_ENV!=="production"?"resolveFilter":""),_a=Symbol(process.env.NODE_ENV!=="production"?"withDirectives":""),ba=Symbol(process.env.NODE_ENV!=="production"?"renderList":""),Qd=Symbol(process.env.NODE_ENV!=="production"?"renderSlot":""),eh=Symbol(process.env.NODE_ENV!=="production"?"createSlots":""),Oo=Symbol(process.env.NODE_ENV!=="production"?"toDisplayString":""),Ur=Symbol(process.env.NODE_ENV!=="production"?"mergeProps":""),Na=Symbol(process.env.NODE_ENV!=="production"?"normalizeClass":""),Sa=Symbol(process.env.NODE_ENV!=="production"?"normalizeStyle":""),Ri=Symbol(process.env.NODE_ENV!=="production"?"normalizeProps":""),Zi=Symbol(process.env.NODE_ENV!=="production"?"guardReactiveProps":""),Oa=Symbol(process.env.NODE_ENV!=="production"?"toHandlers":""),wl=Symbol(process.env.NODE_ENV!=="production"?"camelize":""),gy=Symbol(process.env.NODE_ENV!=="production"?"capitalize":""),Cl=Symbol(process.env.NODE_ENV!=="production"?"toHandlerKey":""),Wr=Symbol(process.env.NODE_ENV!=="production"?"setBlockTracking":""),vy=Symbol(process.env.NODE_ENV!=="production"?"pushScopeId":""),yy=Symbol(process.env.NODE_ENV!=="production"?"popScopeId":""),wa=Symbol(process.env.NODE_ENV!=="production"?"withCtx":""),Ey=Symbol(process.env.NODE_ENV!=="production"?"unref":""),_y=Symbol(process.env.NODE_ENV!=="production"?"isRef":""),Ca=Symbol(process.env.NODE_ENV!=="production"?"withMemo":""),th=Symbol(process.env.NODE_ENV!=="production"?"isMemoSame":""),Xs={[Fi]:"Fragment",[Ci]:"Teleport",[da]:"Suspense",[Kr]:"KeepAlive",[Jd]:"BaseTransition",[Ns]:"openBlock",[Zd]:"createBlock",[Yd]:"createElementBlock",[ha]:"createVNode",[pa]:"createElementVNode",[Ji]:"createCommentVNode",[ma]:"createTextVNode",[Xd]:"createStaticVNode",[ga]:"resolveComponent",[va]:"resolveDynamicComponent",[ya]:"resolveDirective",[Ea]:"resolveFilter",[_a]:"withDirectives",[ba]:"renderList",[Qd]:"renderSlot",[eh]:"createSlots",[Oo]:"toDisplayString",[Ur]:"mergeProps",[Na]:"normalizeClass",[Sa]:"normalizeStyle",[Ri]:"normalizeProps",[Zi]:"guardReactiveProps",[Oa]:"toHandlers",[wl]:"camelize",[gy]:"capitalize",[Cl]:"toHandlerKey",[Wr]:"setBlockTracking",[vy]:"pushScopeId",[yy]:"popScopeId",[wa]:"withCtx",[Ey]:"unref",[_y]:"isRef",[Ca]:"withMemo",[th]:"isMemoSame"};function by(e){Object.getOwnPropertySymbols(e).forEach(t=>{Xs[t]=e[t]})}const Tt={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ny(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Tt}}function $i(e,t,n,s,i,r,o,l=!1,a=!1,c=!1,u=Tt){return e&&(l?(e.helper(Ns),e.helper(ti(e.inSSR,c))):e.helper(ei(e.inSSR,c)),o&&e.helper(_a)),{type:13,tag:t,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:l,disableTracking:a,isComponent:c,loc:u}}function gs(e,t=Tt){return{type:17,loc:t,elements:e}}function It(e,t=Tt){return{type:15,loc:t,properties:e}}function Be(e,t){return{type:16,loc:Tt,key:te(e)?ce(e,!0):e,value:t}}function ce(e,t=!1,n=Tt,s=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:s}}function zt(e,t=Tt){return{type:8,loc:t,children:e}}function We(e,t=[],n=Tt){return{type:14,loc:n,callee:e,arguments:t}}function Qs(e,t=void 0,n=!1,s=!1,i=Tt){return{type:18,params:e,returns:t,newline:n,isSlot:s,loc:i}}function Dl(e,t,n,s=!0){return{type:19,test:e,consequent:t,alternate:n,newline:s,loc:Tt}}function Sy(e,t,n=!1,s=!1){return{type:20,index:e,value:t,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Tt}}function Oy(e){return{type:21,body:e,loc:Tt}}function ei(e,t){return e||t?ha:pa}function ti(e,t){return e||t?Zd:Yd}function Da(e,{helper:t,removeHelper:n,inSSR:s}){e.isBlock||(e.isBlock=!0,n(ei(s,e.isComponent)),t(Ns),t(ti(s,e.isComponent)))}const Wc=new Uint8Array([123,123]),zc=new Uint8Array([125,125]);function qc(e){return e>=97&&e<=122||e>=65&&e<=90}function Ct(e){return e===32||e===10||e===9||e===12||e===13}function In(e){return e===47||e===62||Ct(e)}function zr(e){const t=new Uint8Array(e.length);for(let n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}const it={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class wy{constructor(t,n){this.stack=t,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=Wc,this.delimiterClose=zc,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=Wc,this.delimiterClose=zc}getPos(t){let n=1,s=t+1;const i=this.newlines.length;let r=-1;if(i>100){let o=-1,l=i;for(;o+1<l;){const a=o+l>>>1;this.newlines[a]<t?o=a:l=a}r=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(n=r+2,s=t-this.newlines[r]),{column:s,line:n,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?In(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||Ct(t)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===it.TitleEnd||this.currentSequence===it.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===it.Cdata[this.sequenceIndex]?++this.sequenceIndex===it.Cdata.length&&(this.state=28,this.currentSequence=it.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===it.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,n){this.enterRCDATA(t,n),this.state=31}enterRCDATA(t,n){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=n}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):qc(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){In(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(In(t)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(zr("</"+n),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){Ct(t)||(t===62?(process.env.NODE_ENV!=="production"&&this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=qc(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||Ct(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,process.env.NODE_ENV!=="production"&&this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Ct(t)||(process.env.NODE_ENV!=="production"&&t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Ct(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||In(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):process.env.NODE_ENV!=="production"&&(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||In(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||In(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||In(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),process.env.NODE_ENV!=="production"&&this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||In(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):Ct(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):Ct(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,n){(t===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){Ct(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(process.env.NODE_ENV!=="production"&&t===34||t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=it.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===it.ScriptEnd[3]?this.startSpecial(it.ScriptEnd,4):t===it.StyleEnd[3]?this.startSpecial(it.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===it.TitleEnd[3]?this.startSpecial(it.TitleEnd,4):t===it.TextareaEnd[3]?this.startSpecial(it.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===it.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,n){}}const Cy={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function xl(e,{compatConfig:t}){const n=t&&t[e];return e==="MODE"?n||3:n}function Jn(e,t){const n=xl("MODE",t),s=xl(e,t);return n===3?s===!0:s!==!1}function ni(e,t,n,...s){const i=Jn(e,t);return process.env.NODE_ENV!=="production"&&i&&qr(e,t,n,...s),i}function qr(e,t,n,...s){if(xl(e,t)==="suppress-warning")return;const{message:r,link:o}=Cy[e],l=`(deprecation ${e}) ${typeof r=="function"?r(...s):r}${o?`
|
|
26
|
+
Details: ${o}`:""}`,a=new SyntaxError(l);a.code=e,n&&(a.loc=n),t.onWarn(a)}function xa(e){throw e}function nh(e){process.env.NODE_ENV!=="production"&&console.warn(`[Vue warn] ${e.message}`)}function Se(e,t,n,s){const i=process.env.NODE_ENV!=="production"?(n||Dy)[e]+(s||""):`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const Dy={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",53:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
27
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""},Ot=e=>e.type===4&&e.isStatic;function sh(e){switch(e){case"Teleport":case"teleport":return Ci;case"Suspense":case"suspense":return da;case"KeepAlive":case"keep-alive":return Kr;case"BaseTransition":case"base-transition":return Jd}}const xy=/^$|^\d|[^\$\w\xA0-\uFFFF]/,Ta=e=>!xy.test(e),ih=/[A-Za-z_$\xA0-\uFFFF]/,Ty=/[\.\?\w$\xA0-\uFFFF]/,Vy=/\s+[.[]\s*|\s*[.[]\s+/g,rh=e=>e.type===4?e.content:e.loc.source,ky=e=>{const t=rh(e).trim().replace(Vy,l=>l.trim());let n=0,s=[],i=0,r=0,o=null;for(let l=0;l<t.length;l++){const a=t.charAt(l);switch(n){case 0:if(a==="[")s.push(n),n=1,i++;else if(a==="(")s.push(n),n=2,r++;else if(!(l===0?ih:Ty).test(a))return!1;break;case 1:a==="'"||a==='"'||a==="`"?(s.push(n),n=3,o=a):a==="["?i++:a==="]"&&(--i||(n=s.pop()));break;case 2:if(a==="'"||a==='"'||a==="`")s.push(n),n=3,o=a;else if(a==="(")r++;else if(a===")"){if(l===t.length-1)return!1;--r||(n=s.pop())}break;case 3:a===o&&(n=s.pop(),o=null);break}}return!i&&!r},oh=ky,Ay=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Iy=e=>Ay.test(rh(e)),My=Iy;function Gc(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function St(e,t,n=!1){for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&(n||i.exp)&&(te(t)?i.name===t:t.test(i.name)))return i}}function ji(e,t,n=!1,s=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(n)continue;if(r.name===t&&(r.value||s))return r}else if(r.name==="bind"&&(r.exp||s)&&Wn(r.arg,t))return r}}function Wn(e,t){return!!(e&&Ot(e)&&e.content===t)}function Py(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Uo(e){return e.type===5||e.type===2}function Jc(e){return e.type===7&&e.name==="pre"}function Ly(e){return e.type===7&&e.name==="slot"}function Gr(e){return e.type===1&&e.tagType===3}function Jr(e){return e.type===1&&e.tagType===2}const Fy=new Set([Ri,Zi]);function lh(e,t=[]){if(e&&!te(e)&&e.type===14){const n=e.callee;if(!te(n)&&Fy.has(n))return lh(e.arguments[0],t.concat(e))}return[e,t]}function Zr(e,t,n){let s,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!te(i)&&i.type===14){const l=lh(i);i=l[0],r=l[1],o=r[r.length-1]}if(i==null||te(i))s=It([t]);else if(i.type===14){const l=i.arguments[0];!te(l)&&l.type===15?Zc(t,l)||l.properties.unshift(t):i.callee===Oa?s=We(n.helper(Ur),[It([t]),i]):i.arguments.unshift(It([t])),!s&&(s=i)}else i.type===15?(Zc(t,i)||i.properties.unshift(t),s=i):(s=We(n.helper(Ur),[It([t]),i]),o&&o.callee===Zi&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=s:e.props=s:o?o.arguments[0]=s:e.arguments[2]=s}function Zc(e,t){let n=!1;if(e.key.type===4){const s=e.key.content;n=t.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function Hi(e,t){return`_${t}_${e.replace(/[^\w]/g,(n,s)=>n==="-"?"_":e.charCodeAt(s).toString())}`}function Ry(e){return e.type===14&&e.callee===Ca?e.arguments[1].returns:e}const $y=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function ah(e){for(let t=0;t<e.length;t++)if(!Ct(e.charCodeAt(t)))return!1;return!0}function Va(e){return e.type===2&&ah(e.content)||e.type===12&&Va(e.content)}function ka(e){return e.type===3||Va(e)}const ch={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ms,isPreTag:Ms,isIgnoreNewlineTag:Ms,isCustomElement:Ms,onError:xa,onWarn:nh,comments:process.env.NODE_ENV!=="production",prefixIdentifiers:!1};let ye=ch,Bi=null,Dn="",ct=null,ge=null,bt="",yn=-1,is=-1,Aa=0,jn=!1,Tl=null;const Me=[],Ve=new wy(Me,{onerr:_t,ontext(e,t){fr(rt(e,t),e,t)},ontextentity(e,t,n){fr(e,t,n)},oninterpolation(e,t){if(jn)return fr(rt(e,t),e,t);let n=e+Ve.delimiterOpen.length,s=t-Ve.delimiterClose.length;for(;Ct(Dn.charCodeAt(n));)n++;for(;Ct(Dn.charCodeAt(s-1));)s--;let i=rt(n,s);i.includes("&")&&(i=ye.decodeEntities(i,!1)),Vl({type:5,content:_r(i,!1,Le(n,s)),loc:Le(e,t)})},onopentagname(e,t){const n=rt(e,t);ct={type:1,tag:n,ns:ye.getNamespace(n,Me[0],ye.ns),tagType:0,props:[],children:[],loc:Le(e-1,t),codegenNode:void 0}},onopentagend(e){Xc(e)},onclosetag(e,t){const n=rt(e,t);if(!ye.isVoidTag(n)){let s=!1;for(let i=0;i<Me.length;i++)if(Me[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&_t(24,Me[0].loc.start.offset);for(let o=0;o<=i;o++){const l=Me.shift();Er(l,t,o<i)}break}s||_t(23,uh(e,60))}},onselfclosingtag(e){const t=ct.tag;ct.isSelfClosing=!0,Xc(e),Me[0]&&Me[0].tag===t&&Er(Me.shift(),e)},onattribname(e,t){ge={type:6,name:rt(e,t),nameLoc:Le(e,t),value:void 0,loc:Le(e)}},ondirname(e,t){const n=rt(e,t),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!jn&&s===""&&_t(26,e),jn||s==="")ge={type:6,name:n,nameLoc:Le(e,t),value:void 0,loc:Le(e)};else if(ge={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[ce("prop")]:[],loc:Le(e)},s==="pre"){jn=Ve.inVPre=!0,Tl=ct;const i=ct.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=Jy(i[r]))}},ondirarg(e,t){if(e===t)return;const n=rt(e,t);if(jn&&!Jc(ge))ge.name+=n,ls(ge.nameLoc,t);else{const s=n[0]!=="[";ge.arg=_r(s?n:n.slice(1,-1),s,Le(e,t),s?3:0)}},ondirmodifier(e,t){const n=rt(e,t);if(jn&&!Jc(ge))ge.name+="."+n,ls(ge.nameLoc,t);else if(ge.name==="slot"){const s=ge.arg;s&&(s.content+="."+n,ls(s.loc,t))}else{const s=ce(n,!0,Le(e,t));ge.modifiers.push(s)}},onattribdata(e,t){bt+=rt(e,t),yn<0&&(yn=e),is=t},onattribentity(e,t,n){bt+=e,yn<0&&(yn=t),is=n},onattribnameend(e){const t=ge.loc.start.offset,n=rt(t,e);ge.type===7&&(ge.rawName=n),ct.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&_t(2,t)},onattribend(e,t){if(ct&&ge){if(ls(ge.loc,t),e!==0)if(bt.includes("&")&&(bt=ye.decodeEntities(bt,!0)),ge.type===6)ge.name==="class"&&(bt=dh(bt).trim()),e===1&&!bt&&_t(13,t),ge.value={type:2,content:bt,loc:e===1?Le(yn,is):Le(yn-1,is+1)},Ve.inSFCRoot&&ct.tag==="template"&&ge.name==="lang"&&bt&&bt!=="html"&&Ve.enterRCDATA(zr("</template"),0);else{let n=0;ge.exp=_r(bt,!1,Le(yn,is),0,n),ge.name==="for"&&(ge.forParseResult=Hy(ge.exp));let s=-1;ge.name==="bind"&&(s=ge.modifiers.findIndex(i=>i.content==="sync"))>-1&&ni("COMPILER_V_BIND_SYNC",ye,ge.loc,ge.arg.loc.source)&&(ge.name="model",ge.modifiers.splice(s,1))}(ge.type!==7||ge.name!=="pre")&&ct.props.push(ge)}bt="",yn=is=-1},oncomment(e,t){ye.comments&&Vl({type:3,content:rt(e,t),loc:Le(e-4,t+3)})},onend(){const e=Dn.length;if(process.env.NODE_ENV!=="production"&&Ve.state!==1)switch(Ve.state){case 5:case 8:_t(5,e);break;case 3:case 4:_t(25,Ve.sectionStart);break;case 28:Ve.currentSequence===it.CdataEnd?_t(6,e):_t(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:_t(9,e);break}for(let t=0;t<Me.length;t++)Er(Me[t],e-1),_t(24,Me[t].loc.start.offset)},oncdata(e,t){Me[0].ns!==0?fr(rt(e,t),e,t):_t(1,e-9)},onprocessinginstruction(e){(Me[0]?Me[0].ns:ye.ns)===0&&_t(21,e-1)}}),Yc=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,jy=/^\(|\)$/g;function Hy(e){const t=e.loc,n=e.content,s=n.match($y);if(!s)return;const[,i,r]=s,o=(f,d,h=!1)=>{const m=t.start.offset+d,p=m+f.length;return _r(f,!1,Le(m,p),0,h?1:0)},l={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let a=i.trim().replace(jy,"").trim();const c=i.indexOf(a),u=a.match(Yc);if(u){a=a.replace(Yc,"").trim();const f=u[1].trim();let d;if(f&&(d=n.indexOf(f,c+a.length),l.key=o(f,d,!0)),u[2]){const h=u[2].trim();h&&(l.index=o(h,n.indexOf(h,l.key?d+f.length:c+a.length),!0))}}return a&&(l.value=o(a,c,!0)),l}function rt(e,t){return Dn.slice(e,t)}function Xc(e){Ve.inSFCRoot&&(ct.innerLoc=Le(e+1,e+1)),Vl(ct);const{tag:t,ns:n}=ct;n===0&&ye.isPreTag(t)&&Aa++,ye.isVoidTag(t)?Er(ct,e):(Me.unshift(ct),(n===1||n===2)&&(Ve.inXML=!0)),ct=null}function fr(e,t,n){{const r=Me[0]&&Me[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=ye.decodeEntities(e,!1))}const s=Me[0]||Bi,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=e,ls(i.loc,n)):s.children.push({type:2,content:e,loc:Le(t,n)})}function Er(e,t,n=!1){n?ls(e.loc,uh(t,60)):ls(e.loc,By(t,62)+1),Ve.inSFCRoot&&(e.children.length?e.innerLoc.end=oe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=oe({},e.innerLoc.start),e.innerLoc.source=rt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:s,ns:i,children:r}=e;if(jn||(s==="slot"?e.tagType=2:Qc(e)?e.tagType=3:Uy(e)&&(e.tagType=1)),Ve.inRCDATA||(e.children=fh(r)),i===0&&ye.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&ye.isPreTag(s)&&Aa--,Tl===e&&(jn=Ve.inVPre=!1,Tl=null),Ve.inXML&&(Me[0]?Me[0].ns:ye.ns)===0&&(Ve.inXML=!1);{const o=e.props;if(process.env.NODE_ENV!=="production"&&Jn("COMPILER_V_IF_V_FOR_PRECEDENCE",ye)){let a=!1,c=!1;for(let u=0;u<o.length;u++){const f=o[u];if(f.type===7&&(f.name==="if"?a=!0:f.name==="for"&&(c=!0)),a&&c){qr("COMPILER_V_IF_V_FOR_PRECEDENCE",ye,e.loc);break}}}if(!Ve.inSFCRoot&&Jn("COMPILER_NATIVE_TEMPLATE",ye)&&e.tag==="template"&&!Qc(e)){process.env.NODE_ENV!=="production"&&qr("COMPILER_NATIVE_TEMPLATE",ye,e.loc);const a=Me[0]||Bi,c=a.children.indexOf(e);a.children.splice(c,1,...e.children)}const l=o.find(a=>a.type===6&&a.name==="inline-template");l&&ni("COMPILER_INLINE_TEMPLATE",ye,l.loc)&&e.children.length&&(l.value={type:2,content:rt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function By(e,t){let n=e;for(;Dn.charCodeAt(n)!==t&&n<Dn.length-1;)n++;return n}function uh(e,t){let n=e;for(;Dn.charCodeAt(n)!==t&&n>=0;)n--;return n}const Ky=new Set(["if","else","else-if","for","slot"]);function Qc({tag:e,props:t}){if(e==="template"){for(let n=0;n<t.length;n++)if(t[n].type===7&&Ky.has(t[n].name))return!0}return!1}function Uy({tag:e,props:t}){if(ye.isCustomElement(e))return!1;if(e==="component"||Wy(e.charCodeAt(0))||sh(e)||ye.isBuiltInComponent&&ye.isBuiltInComponent(e)||ye.isNativeTag&&!ye.isNativeTag(e))return!0;for(let n=0;n<t.length;n++){const s=t[n];if(s.type===6){if(s.name==="is"&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(ni("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}}else if(s.name==="bind"&&Wn(s.arg,"is")&&ni("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}return!1}function Wy(e){return e>64&&e<91}const zy=/\r\n/g;function fh(e){const t=ye.whitespace!=="preserve";let n=!1;for(let s=0;s<e.length;s++){const i=e[s];if(i.type===2)if(Aa)i.content=i.content.replace(zy,`
|
|
28
|
+
`);else if(ah(i.content)){const r=e[s-1]&&e[s-1].type,o=e[s+1]&&e[s+1].type;!r||!o||t&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&qy(i.content)))?(n=!0,e[s]=null):i.content=" "}else t&&(i.content=dh(i.content))}return n?e.filter(Boolean):e}function qy(e){for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n===10||n===13)return!0}return!1}function dh(e){let t="",n=!1;for(let s=0;s<e.length;s++)Ct(e.charCodeAt(s))?n||(t+=" ",n=!0):(t+=e[s],n=!1);return t}function Vl(e){(Me[0]||Bi).children.push(e)}function Le(e,t){return{start:Ve.getPos(e),end:t==null?t:Ve.getPos(t),source:t==null?t:rt(e,t)}}function Gy(e){return Le(e.start.offset,e.end.offset)}function ls(e,t){e.end=Ve.getPos(t),e.source=rt(e.start.offset,t)}function Jy(e){const t={type:6,name:e.rawName,nameLoc:Le(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const n=e.exp.loc;n.end.offset<e.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),t.value={type:2,content:e.exp.content,loc:n}}return t}function _r(e,t=!1,n,s=0,i=0){return ce(e,t,n,s)}function _t(e,t,n){ye.onError(Se(e,Le(t,t),void 0,n))}function Zy(){Ve.reset(),ct=null,ge=null,bt="",yn=-1,is=-1,Me.length=0}function Yy(e,t){if(Zy(),Dn=e,ye=oe({},ch),t){let i;for(i in t)t[i]!=null&&(ye[i]=t[i])}if(process.env.NODE_ENV!=="production"&&!ye.decodeEntities)throw new Error("[@vue/compiler-core] decodeEntities option is required in browser builds.");Ve.mode=ye.parseMode==="html"?1:ye.parseMode==="sfc"?2:0,Ve.inXML=ye.ns===1||ye.ns===2;const n=t&&t.delimiters;n&&(Ve.delimiterOpen=zr(n[0]),Ve.delimiterClose=zr(n[1]));const s=Bi=Ny([],e);return Ve.parse(Dn),s.loc=Le(0,e.length),s.children=fh(s.children),Bi=null,s}function Xy(e,t){br(e,void 0,t,!!hh(e))}function hh(e){const t=e.children.filter(n=>n.type!==3);return t.length===1&&t[0].type===1&&!Jr(t[0])?t[0]:null}function br(e,t,n,s=!1,i=!1){const{children:r}=e,o=[];for(let u=0;u<r.length;u++){const f=r[u];if(f.type===1&&f.tagType===0){const d=s?0:Dt(f,n);if(d>0){if(d>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const h=f.codegenNode;if(h.type===13){const m=h.patchFlag;if((m===void 0||m===512||m===1)&&mh(f,n)>=2){const p=gh(f);p&&(h.props=n.hoist(p))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(f.type===12&&(s?0:Dt(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push(-1+(process.env.NODE_ENV!=="production"?` /* ${yi[-1]} */`:"")),o.push(f);continue}if(f.type===1){const d=f.tagType===1;d&&n.scopes.vSlot++,br(f,e,n,!1,i),d&&n.scopes.vSlot--}else if(f.type===11)br(f,e,n,f.children.length===1,!0);else if(f.type===9)for(let d=0;d<f.branches.length;d++)br(f.branches[d],e,n,f.branches[d].children.length===1,i)}let l=!1;if(o.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&K(e.codegenNode.children))e.codegenNode.children=a(gs(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!K(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=a(gs(u.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!K(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=St(e,"slot",!0),f=u&&u.arg&&c(t.codegenNode,u.arg);f&&(f.returns=a(gs(f.returns)),l=!0)}}if(!l)for(const u of o)u.codegenNode=n.cache(u.codegenNode);function a(u){const f=n.cache(u);return f.needArraySpread=!0,f}function c(u,f){if(u.children&&!K(u.children)&&u.children.type===15){const d=u.children.properties.find(h=>h.key===f||h.key.content===f);return d&&d.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,e)}function Dt(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const s=n.get(e);if(s!==void 0)return s;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const l=mh(e,t);if(l===0)return n.set(e,0),0;l<o&&(o=l);for(let a=0;a<e.children.length;a++){const c=Dt(e.children[a],t);if(c===0)return n.set(e,0),0;c<o&&(o=c)}if(o>1)for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===7&&c.name==="bind"&&c.exp){const u=Dt(c.exp,t);if(u===0)return n.set(e,0),0;u<o&&(o=u)}}if(i.isBlock){for(let a=0;a<e.props.length;a++)if(e.props[a].type===7)return n.set(e,0),0;t.removeHelper(Ns),t.removeHelper(ti(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ei(t.inSSR,i.isComponent))}return n.set(e,o),o}else return n.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Dt(e.content,t);case 4:return e.constType;case 8:let r=3;for(let o=0;o<e.children.length;o++){const l=e.children[o];if(te(l)||wt(l))continue;const a=Dt(l,t);if(a===0)return 0;a<r&&(r=a)}return r;case 20:return 2;default:return process.env.NODE_ENV,0}}const Qy=new Set([Na,Sa,Ri,Zi]);function ph(e,t){if(e.type===14&&!te(e.callee)&&Qy.has(e.callee)){const n=e.arguments[0];if(n.type===4)return Dt(n,t);if(n.type===14)return ph(n,t)}return 0}function mh(e,t){let n=3;const s=gh(e);if(s&&s.type===15){const{properties:i}=s;for(let r=0;r<i.length;r++){const{key:o,value:l}=i[r],a=Dt(o,t);if(a===0)return a;a<n&&(n=a);let c;if(l.type===4?c=Dt(l,t):l.type===14?c=ph(l,t):c=0,c===0)return c;c<n&&(n=c)}}return n}function gh(e){const t=e.codegenNode;if(t.type===13)return t.props}function e0(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:l={},transformHoist:a=null,isBuiltInComponent:c=ke,isCustomElement:u=ke,expressionPlugins:f=[],scopeId:d=null,slotted:h=!0,ssr:m=!1,inSSR:p=!1,ssrCssVars:S="",bindingMetadata:N=ue,inline:E=!1,isTS:g=!1,onError:_=xa,onWarn:y=nh,compatConfig:w}){const P=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),T={filename:t,selfName:P&&an(De(P[1])),prefixIdentifiers:n,hoistStatic:s,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:l,transformHoist:a,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:f,scopeId:d,slotted:h,ssr:m,inSSR:p,ssrCssVars:S,bindingMetadata:N,inline:E,isTS:g,onError:_,onWarn:y,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(O){const D=T.helpers.get(O)||0;return T.helpers.set(O,D+1),O},removeHelper(O){const D=T.helpers.get(O);if(D){const I=D-1;I?T.helpers.set(O,I):T.helpers.delete(O)}},helperString(O){return`_${Xs[T.helper(O)]}`},replaceNode(O){if(process.env.NODE_ENV!=="production"){if(!T.currentNode)throw new Error("Node being replaced is already removed.");if(!T.parent)throw new Error("Cannot replace root node.")}T.parent.children[T.childIndex]=T.currentNode=O},removeNode(O){if(process.env.NODE_ENV!=="production"&&!T.parent)throw new Error("Cannot remove root node.");const D=T.parent.children,I=O?D.indexOf(O):T.currentNode?T.childIndex:-1;if(process.env.NODE_ENV!=="production"&&I<0)throw new Error("node being removed is not a child of current parent");!O||O===T.currentNode?(T.currentNode=null,T.onNodeRemoved()):T.childIndex>I&&(T.childIndex--,T.onNodeRemoved()),T.parent.children.splice(I,1)},onNodeRemoved:ke,addIdentifiers(O){},removeIdentifiers(O){},hoist(O){te(O)&&(O=ce(O)),T.hoists.push(O);const D=ce(`_hoisted_${T.hoists.length}`,!1,O.loc,2);return D.hoisted=O,D},cache(O,D=!1,I=!1){const C=Sy(T.cached.length,O,D,I);return T.cached.push(C),C}};return T.filters=new Set,T}function t0(e,t){const n=e0(e,t);wo(e,n),t.hoistStatic&&Xy(e,n),t.ssr||n0(e,n),e.helpers=new Set([...n.helpers.keys()]),e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.transformed=!0,e.filters=[...n.filters]}function n0(e,t){const{helper:n}=t,{children:s}=e;if(s.length===1){const i=hh(e);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&Da(r,t),e.codegenNode=r}else e.codegenNode=s[0]}else if(s.length>1){let i=64;process.env.NODE_ENV!=="production"&&s.filter(r=>r.type!==3).length===1&&(i|=2048),e.codegenNode=$i(t,n(Fi),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function s0(e,t){let n=0;const s=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];te(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=n,t.onNodeRemoved=s,wo(i,t))}}function wo(e,t){t.currentNode=e;const{nodeTransforms:n}=t,s=[];for(let r=0;r<n.length;r++){const o=n[r](e,t);if(o&&(K(o)?s.push(...o):s.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(Ji);break;case 5:t.ssr||t.helper(Oo);break;case 9:for(let r=0;r<e.branches.length;r++)wo(e.branches[r],t);break;case 10:case 11:case 1:case 0:s0(e,t);break}t.currentNode=e;let i=s.length;for(;i--;)s[i]()}function vh(e,t){const n=te(e)?s=>s===e:s=>e.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(Ly))return;const o=[];for(let l=0;l<r.length;l++){const a=r[l];if(a.type===7&&n(a.name)){r.splice(l,1),l--;const c=t(s,a,i);c&&o.push(c)}}return o}}}const Co="/*@__PURE__*/",yh=e=>`${Xs[e]}: _${Xs[e]}`;function i0(e,{mode:t="function",prefixIdentifiers:n=t==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:l="Vue",runtimeModuleName:a="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:f=!1,inSSR:d=!1}){const h={mode:t,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:l,runtimeModuleName:a,ssrRuntimeModuleName:c,ssr:u,isTS:f,inSSR:d,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(p){return`_${Xs[p]}`},push(p,S=-2,N){h.code+=p},indent(){m(++h.indentLevel)},deindent(p=!1){p?--h.indentLevel:m(--h.indentLevel)},newline(){m(h.indentLevel)}};function m(p){h.push(`
|
|
29
|
+
`+" ".repeat(p),0)}return h}function r0(e,t={}){const n=i0(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:r,indent:o,deindent:l,newline:a,scopeId:c,ssr:u}=n,f=Array.from(e.helpers),d=f.length>0,h=!r&&s!=="module";o0(e,n);const p=u?"ssrRender":"render",N=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${p}(${N}) {`),o(),h&&(i("with (_ctx) {"),o(),d&&(i(`const { ${f.map(yh).join(", ")} } = _Vue
|
|
30
|
+
`,-1),a())),e.components.length&&(Wo(e.components,"component",n),(e.directives.length||e.temps>0)&&a()),e.directives.length&&(Wo(e.directives,"directive",n),e.temps>0&&a()),e.filters&&e.filters.length&&(a(),Wo(e.filters,"filter",n),a()),e.temps>0){i("let ");for(let E=0;E<e.temps;E++)i(`${E>0?", ":""}_temp${E}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
31
|
+
`,0),a()),u||i("return "),e.codegenNode?ht(e.codegenNode,n):i("null"),h&&(l(),i("}")),l(),i("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function o0(e,t){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:l,ssrRuntimeModuleName:a}=t,c=l,u=Array.from(e.helpers);if(u.length>0&&(i(`const _Vue = ${c}
|
|
32
|
+
`,-1),e.hoists.length)){const f=[ha,pa,Ji,ma,Xd].filter(d=>u.includes(d)).map(yh).join(", ");i(`const { ${f} } = _Vue
|
|
33
|
+
`,-1)}l0(e.hoists,t),r(),i("return ")}function Wo(e,t,{helper:n,push:s,newline:i,isTS:r}){const o=n(t==="filter"?Ea:t==="component"?ga:ya);for(let l=0;l<e.length;l++){let a=e[l];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${Hi(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${r?"!":""}`),l<e.length-1&&i()}}function l0(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:s}=t;s();for(let i=0;i<e.length;i++){const r=e[i];r&&(n(`const _hoisted_${i+1} = `),ht(r,t),s())}t.pure=!1}function a0(e){return te(e)||e.type===4||e.type===2||e.type===5||e.type===8}function Ia(e,t){const n=e.length>3||process.env.NODE_ENV!=="production"&&e.some(s=>K(s)||!a0(s));t.push("["),n&&t.indent(),Yi(e,t,n),n&&t.deindent(),t.push("]")}function Yi(e,t,n=!1,s=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const l=e[o];te(l)?i(l,-3):K(l)?Ia(l,t):ht(l,t),o<e.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function ht(e,t){if(te(e)){t.push(e,-3);return}if(wt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:process.env.NODE_ENV!=="production"&&Gc(e.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),ht(e.codegenNode,t);break;case 2:c0(e,t);break;case 4:Eh(e,t);break;case 5:u0(e,t);break;case 12:ht(e.codegenNode,t);break;case 8:_h(e,t);break;case 3:d0(e,t);break;case 13:h0(e,t);break;case 14:m0(e,t);break;case 15:g0(e,t);break;case 17:v0(e,t);break;case 18:y0(e,t);break;case 19:E0(e,t);break;case 20:_0(e,t);break;case 21:Yi(e.body,t,!0,!1);break;case 22:break;case 23:break;case 24:break;case 25:break;case 26:break;case 10:break;default:if(process.env.NODE_ENV!=="production")return Gc(!1,`unhandled codegen node type: ${e.type}`),e}}function c0(e,t){t.push(JSON.stringify(e.content),-3,e)}function Eh(e,t){const{content:n,isStatic:s}=e;t.push(s?JSON.stringify(n):n,-3,e)}function u0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Co),n(`${s(Oo)}(`),ht(e.content,t),n(")")}function _h(e,t){for(let n=0;n<e.children.length;n++){const s=e.children[n];te(s)?t.push(s,-3):ht(s,t)}}function f0(e,t){const{push:n}=t;if(e.type===8)n("["),_h(e,t),n("]");else if(e.isStatic){const s=Ta(e.content)?e.content:JSON.stringify(e.content);n(s,-2,e)}else n(`[${e.content}]`,-3,e)}function d0(e,t){const{push:n,helper:s,pure:i}=t;i&&n(Co),n(`${s(Ji)}(${JSON.stringify(e.content)})`,-3,e)}function h0(e,t){const{push:n,helper:s,pure:i}=t,{tag:r,props:o,children:l,patchFlag:a,dynamicProps:c,directives:u,isBlock:f,disableTracking:d,isComponent:h}=e;let m;if(a)if(process.env.NODE_ENV!=="production")if(a<0)m=a+` /* ${yi[a]} */`;else{const S=Object.keys(yi).map(Number).filter(N=>N>0&&a&N).map(N=>yi[N]).join(", ");m=a+` /* ${S} */`}else m=String(a);u&&n(s(_a)+"("),f&&n(`(${s(Ns)}(${d?"true":""}), `),i&&n(Co);const p=f?ti(t.inSSR,h):ei(t.inSSR,h);n(s(p)+"(",-2,e),Yi(p0([r,o,l,m,c]),t),n(")"),f&&n(")"),u&&(n(", "),ht(u,t),n(")"))}function p0(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(n=>n||"null")}function m0(e,t){const{push:n,helper:s,pure:i}=t,r=te(e.callee)?e.callee:s(e.callee);i&&n(Co),n(r+"(",-2,e),Yi(e.arguments,t),n(")")}function g0(e,t){const{push:n,indent:s,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){n("{}",-2,e);return}const l=o.length>1||process.env.NODE_ENV!=="production"&&o.some(a=>a.value.type!==4);n(l?"{":"{ "),l&&s();for(let a=0;a<o.length;a++){const{key:c,value:u}=o[a];f0(c,t),n(": "),ht(u,t),a<o.length-1&&(n(","),r())}l&&i(),n(l?"}":" }")}function v0(e,t){Ia(e.elements,t)}function y0(e,t){const{push:n,indent:s,deindent:i}=t,{params:r,returns:o,body:l,newline:a,isSlot:c}=e;c&&n(`_${Xs[wa]}(`),n("(",-2,e),K(r)?Yi(r,t):r&&ht(r,t),n(") => "),(a||l)&&(n("{"),s()),o?(a&&n("return "),K(o)?Ia(o,t):ht(o,t)):l&&ht(l,t),(a||l)&&(i(),n("}")),c&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}function E0(e,t){const{test:n,consequent:s,alternate:i,newline:r}=e,{push:o,indent:l,deindent:a,newline:c}=t;if(n.type===4){const f=!Ta(n.content);f&&o("("),Eh(n,t),f&&o(")")}else o("("),ht(n,t),o(")");r&&l(),t.indentLevel++,r||o(" "),o("? "),ht(s,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,ht(i,t),u||t.indentLevel--,r&&a(!0)}function _0(e,t){const{push:n,helper:s,indent:i,deindent:r,newline:o}=t,{needPauseTracking:l,needArraySpread:a}=e;a&&n("[...("),n(`_cache[${e.index}] || (`),l&&(i(),n(`${s(Wr)}(-1`),e.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${e.index}] = `),ht(e.value,t),l&&(n(`).cacheIndex = ${e.index},`),o(),n(`${s(Wr)}(1),`),o(),n(`_cache[${e.index}]`),r()),n(")"),a&&n(")]")}const b0=new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b"),N0=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function as(e,t,n=!1,s=!1){const i=e.content;if(i.trim())try{new Function(s?` ${i} `:`return ${n?`(${i}) => {}`:`(${i})`}`)}catch(r){let o=r.message;const l=i.replace(N0,"").match(b0);l&&(o=`avoid using JavaScript keyword as property name: "${l[0]}"`),t.onError(Se(46,e.loc,void 0,o))}}const S0=(e,t)=>{if(e.type===5)e.content=zo(e.content,t);else if(e.type===1){const n=St(e,"memo");for(let s=0;s<e.props.length;s++){const i=e.props[s];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(i.exp=zo(r,t,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=zo(o,t))}}}};function zo(e,t,n=!1,s=!1,i=Object.create(t.identifiers)){return process.env.NODE_ENV!=="production"&&as(e,t,n,s),e}const O0=vh(/^(?:if|else|else-if)$/,(e,t,n)=>w0(e,t,n,(s,i,r)=>{const o=n.parent.children;let l=o.indexOf(s),a=0;for(;l-->=0;){const c=o[l];c&&c.type===9&&(a+=c.branches.length)}return()=>{if(r)s.codegenNode=tu(i,a,n);else{const c=D0(s.codegenNode);c.alternate=tu(i,a+s.branches.length-1,n)}}}));function w0(e,t,n,s){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;n.onError(Se(28,t.loc)),t.exp=ce("true",!1,i)}if(process.env.NODE_ENV!=="production"&&t.exp&&as(t.exp,n),t.name==="if"){const i=eu(e,t),r={type:9,loc:Gy(e.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children,r=[];let o=i.indexOf(e);for(;o-->=-1;){const l=i[o];if(l&&ka(l)){n.removeNode(l),process.env.NODE_ENV!=="production"&&l.type===3&&r.unshift(l);continue}if(l&&l.type===9){(t.name==="else-if"||t.name==="else")&&l.branches[l.branches.length-1].condition===void 0&&n.onError(Se(30,e.loc)),n.removeNode();const a=eu(e,t);if(process.env.NODE_ENV!=="production"&&r.length&&!(n.parent&&n.parent.type===1&&(n.parent.tag==="transition"||n.parent.tag==="Transition"))&&(a.children=[...r,...a.children]),process.env.NODE_ENV!=="production"){const u=a.userKey;u&&l.branches.forEach(({userKey:f})=>{C0(f,u)&&n.onError(Se(29,a.userKey.loc))})}l.branches.push(a);const c=s&&s(l,a,!1);wo(a,n),c&&c(),n.currentNode=null}else n.onError(Se(30,e.loc));break}}}function eu(e,t){const n=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:n&&!St(e,"for")?e.children:[e],userKey:ji(e,"key"),isTemplateIf:n}}function tu(e,t,n){return e.condition?Dl(e.condition,nu(e,t,n),We(n.helper(Ji),[process.env.NODE_ENV!=="production"?'"v-if"':'""',"true"])):nu(e,t,n)}function nu(e,t,n){const{helper:s}=n,i=Be("key",ce(`${t}`,!1,Tt,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const a=o.codegenNode;return Zr(a,i,n),a}else{let a=64;return process.env.NODE_ENV!=="production"&&!e.isTemplateIf&&r.filter(c=>c.type!==3).length===1&&(a|=2048),$i(n,s(Fi),It([i]),r,a,void 0,void 0,!0,!1,!1,e.loc)}else{const a=o.codegenNode,c=Ry(a);return c.type===13&&Da(c,n),Zr(c,i,n),a}}function C0(e,t){if(!e||e.type!==t.type)return!1;if(e.type===6){if(e.value.content!==t.value.content)return!1}else{const n=e.exp,s=t.exp;if(n.type!==s.type||n.type!==4||n.isStatic!==s.isStatic||n.content!==s.content)return!1}return!0}function D0(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const x0=vh("for",(e,t,n)=>{const{helper:s,removeHelper:i}=n;return T0(e,t,n,r=>{const o=We(s(ba),[r.source]),l=Gr(e),a=St(e,"memo"),c=ji(e,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?ce(c.value.content,!0):void 0:c.exp);const f=c&&u?Be("key",u):null,d=r.source.type===4&&r.source.constType>0,h=d?64:c?128:256;return r.codegenNode=$i(n,s(Fi),void 0,o,h,void 0,void 0,!0,!d,!1,e.loc),()=>{let m;const{children:p}=r;process.env.NODE_ENV!=="production"&&l&&e.children.some(E=>{if(E.type===1){const g=ji(E,"key");if(g)return n.onError(Se(33,g.loc)),!0}});const S=p.length!==1||p[0].type!==1,N=Jr(e)?e:l&&e.children.length===1&&Jr(e.children[0])?e.children[0]:null;if(N?(m=N.codegenNode,l&&f&&Zr(m,f,n)):S?m=$i(n,s(Fi),f?It([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(m=p[0].codegenNode,l&&f&&Zr(m,f,n),m.isBlock!==!d&&(m.isBlock?(i(Ns),i(ti(n.inSSR,m.isComponent))):i(ei(n.inSSR,m.isComponent))),m.isBlock=!d,m.isBlock?(s(Ns),s(ti(n.inSSR,m.isComponent))):s(ei(n.inSSR,m.isComponent))),a){const E=Qs(kl(r.parseResult,[ce("_cached")]));E.body=Oy([zt(["const _memo = (",a.exp,")"]),zt(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(th)}(_cached, _memo)) return _cached`]),zt(["const _item = ",m]),ce("_item.memo = _memo"),ce("return _item")]),o.arguments.push(E,ce("_cache"),ce(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Qs(kl(r.parseResult),m,!0))}})});function T0(e,t,n,s){if(!t.exp){n.onError(Se(31,t.loc));return}const i=t.forParseResult;if(!i){n.onError(Se(32,t.loc));return}bh(i,n);const{addIdentifiers:r,removeIdentifiers:o,scopes:l}=n,{source:a,value:c,key:u,index:f}=i,d={type:11,loc:t.loc,source:a,valueAlias:c,keyAlias:u,objectIndexAlias:f,parseResult:i,children:Gr(e)?e.children:[e]};n.replaceNode(d),l.vFor++;const h=s&&s(d);return()=>{l.vFor--,h&&h()}}function bh(e,t){e.finalized||(process.env.NODE_ENV!=="production"&&(as(e.source,t),e.key&&as(e.key,t,!0),e.index&&as(e.index,t,!0),e.value&&as(e.value,t,!0)),e.finalized=!0)}function kl({value:e,key:t,index:n},s=[]){return V0([e,t,n,...s])}function V0(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((n,s)=>n||ce("_".repeat(s+1),!1))}const su=ce("undefined",!1),k0=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const n=St(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},A0=(e,t,n,s)=>Qs(e,n,!1,!0,n.length?n[0].loc:s);function I0(e,t,n=A0){t.helper(wa);const{children:s,loc:i}=e,r=[],o=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const a=St(e,"slot",!0);if(a){const{arg:S,exp:N}=a;S&&!Ot(S)&&(l=!0),r.push(Be(S||ce("default",!0),n(N,void 0,s,i)))}let c=!1,u=!1;const f=[],d=new Set;let h=0;for(let S=0;S<s.length;S++){const N=s[S];let E;if(!Gr(N)||!(E=St(N,"slot",!0))){N.type!==3&&f.push(N);continue}if(a){t.onError(Se(37,E.loc));break}c=!0;const{children:g,loc:_}=N,{arg:y=ce("default",!0),exp:w,loc:P}=E;let T;Ot(y)?T=y?y.content:"default":l=!0;const O=St(N,"for"),D=n(w,O,g,_);let I,C;if(I=St(N,"if"))l=!0,o.push(Dl(I.exp,dr(y,D,h++),su));else if(C=St(N,/^else(?:-if)?$/,!0)){let R=S,G;for(;R--&&(G=s[R],!!ka(G)););if(G&&Gr(G)&&St(G,/^(?:else-)?if$/)){let z=o[o.length-1];for(;z.alternate.type===19;)z=z.alternate;z.alternate=C.exp?Dl(C.exp,dr(y,D,h++),su):dr(y,D,h++)}else t.onError(Se(30,C.loc))}else if(O){l=!0;const R=O.forParseResult;R?(bh(R,t),o.push(We(t.helper(ba),[R.source,Qs(kl(R),dr(y,D),!0)]))):t.onError(Se(32,O.loc))}else{if(T){if(d.has(T)){t.onError(Se(38,P));continue}d.add(T),T==="default"&&(u=!0)}r.push(Be(y,D))}}if(!a){const S=(N,E)=>{const g=n(N,void 0,E,i);return t.compatConfig&&(g.isNonScopedSlot=!0),Be("default",g)};c?f.length&&!f.every(Va)&&(u?t.onError(Se(39,f[0].loc)):r.push(S(void 0,f))):r.push(S(void 0,s))}const m=l?2:Nr(e.children)?3:1;let p=It(r.concat(Be("_",ce(m+(process.env.NODE_ENV!=="production"?` /* ${dp[m]} */`:""),!1))),i);return o.length&&(p=We(t.helper(eh),[p,gs(o)])),{slots:p,hasDynamicSlots:l}}function dr(e,t,n){const s=[Be("name",e),Be("fn",t)];return n!=null&&s.push(Be("key",ce(String(n),!0))),It(s)}function Nr(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(n.tagType===2||Nr(n.children))return!0;break;case 9:if(Nr(n.branches))return!0;break;case 10:case 11:if(Nr(n.children))return!0;break}}return!1}const Nh=new WeakMap,M0=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:s,props:i}=e,r=e.tagType===1;let o=r?P0(e,t):`"${s}"`;const l=he(o)&&o.callee===va;let a,c,u=0,f,d,h,m=l||o===Ci||o===da||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const p=Sh(e,t,void 0,r,l);a=p.props,u=p.patchFlag,d=p.dynamicPropNames;const S=p.directives;h=S&&S.length?gs(S.map(N=>F0(N,t))):void 0,p.shouldUseBlock&&(m=!0)}if(e.children.length>0)if(o===Kr&&(m=!0,u|=1024,process.env.NODE_ENV!=="production"&&e.children.length>1&&t.onError(Se(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}))),r&&o!==Ci&&o!==Kr){const{slots:S,hasDynamicSlots:N}=I0(e,t);c=S,N&&(u|=1024)}else if(e.children.length===1&&o!==Ci){const S=e.children[0],N=S.type,E=N===5||N===8;E&&Dt(S,t)===0&&(u|=1),E||N===2?c=S:c=e.children}else c=e.children;d&&d.length&&(f=R0(d)),e.codegenNode=$i(t,o,a,c,u===0?void 0:u,f,h,!!m,!1,r,e.loc)};function P0(e,t,n=!1){let{tag:s}=e;const i=Al(s),r=ji(e,"is",!1,!0);if(r)if(i||Jn("COMPILER_IS_ON_ELEMENT",t)){let l;if(r.type===6?l=r.value&&ce(r.value.content,!0):(l=r.exp,l||(l=ce("is",!1,r.arg.loc))),l)return We(t.helper(va),[l])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=sh(s)||t.isBuiltInComponent(s);return o?(n||t.helper(o),o):(t.helper(ga),t.components.add(s),Hi(s,"component"))}function Sh(e,t,n=e.props,s,i,r=!1){const{tag:o,loc:l,children:a}=e;let c=[];const u=[],f=[],d=a.length>0;let h=!1,m=0,p=!1,S=!1,N=!1,E=!1,g=!1,_=!1;const y=[],w=D=>{c.length&&(u.push(It(iu(c),l)),c=[]),D&&u.push(D)},P=()=>{t.scopes.vFor>0&&c.push(Be(ce("ref_for",!0),ce("true")))},T=({key:D,value:I})=>{if(Ot(D)){const C=D.content,R=xn(C);if(R&&(!s||i)&&C.toLowerCase()!=="onclick"&&C!=="onUpdate:modelValue"&&!On(C)&&(E=!0),R&&On(C)&&(_=!0),R&&I.type===14&&(I=I.arguments[0]),I.type===20||(I.type===4||I.type===8)&&Dt(I,t)>0)return;C==="ref"?p=!0:C==="class"?S=!0:C==="style"?N=!0:C!=="key"&&!y.includes(C)&&y.push(C),s&&(C==="class"||C==="style")&&!y.includes(C)&&y.push(C)}else g=!0};for(let D=0;D<n.length;D++){const I=n[D];if(I.type===6){const{loc:C,name:R,nameLoc:G,value:z}=I;let W=!0;if(R==="ref"&&(p=!0,P()),R==="is"&&(Al(o)||z&&z.content.startsWith("vue:")||Jn("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Be(ce(R,!0,G),ce(z?z.content:"",W,z?z.loc:C)))}else{const{name:C,arg:R,exp:G,loc:z,modifiers:W}=I,J=C==="bind",H=C==="on";if(C==="slot"){s||t.onError(Se(40,z));continue}if(C==="once"||C==="memo"||C==="is"||J&&Wn(R,"is")&&(Al(o)||Jn("COMPILER_IS_ON_ELEMENT",t))||H&&r)continue;if((J&&Wn(R,"key")||H&&d&&Wn(R,"vue:before-update"))&&(h=!0),J&&Wn(R,"ref")&&P(),!R&&(J||H)){if(g=!0,G)if(J){if(w(),process.env.NODE_ENV!=="production"&&u.some(Ge=>Ge.type===15?Ge.properties.some(({key:Je})=>Je.type!==4||!Je.isStatic?!0:Je.content!=="class"&&Je.content!=="style"&&!xn(Je.content)):!0)&&ni("COMPILER_V_BIND_OBJECT_ORDER",t,z),Jn("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(G);continue}P(),w(),u.push(G)}else w({type:14,loc:z,callee:t.helper(Oa),arguments:s?[G]:[G,"true"]});else t.onError(Se(J?34:35,z));continue}J&&W.some($e=>$e.content==="prop")&&(m|=32);const le=t.directiveTransforms[C];if(le){const{props:$e,needRuntime:Ge}=le(I,e,t);!r&&$e.forEach(T),H&&R&&!Ot(R)?w(It($e,l)):c.push(...$e),Ge&&(f.push(I),wt(Ge)&&Nh.set(I,Ge))}else Vu(C)||(f.push(I),d&&(h=!0))}}let O;if(u.length?(w(),u.length>1?O=We(t.helper(Ur),u,l):O=u[0]):c.length&&(O=It(iu(c),l)),g?m|=16:(S&&!s&&(m|=2),N&&!s&&(m|=4),y.length&&(m|=8),E&&(m|=32)),!h&&(m===0||m===32)&&(p||_||f.length>0)&&(m|=512),!t.inSSR&&O)switch(O.type){case 15:let D=-1,I=-1,C=!1;for(let z=0;z<O.properties.length;z++){const W=O.properties[z].key;Ot(W)?W.content==="class"?D=z:W.content==="style"&&(I=z):W.isHandlerKey||(C=!0)}const R=O.properties[D],G=O.properties[I];C?O=We(t.helper(Ri),[O]):(R&&!Ot(R.value)&&(R.value=We(t.helper(Na),[R.value])),G&&(N||G.value.type===4&&G.value.content.trim()[0]==="["||G.value.type===17)&&(G.value=We(t.helper(Sa),[G.value])));break;case 14:break;default:O=We(t.helper(Ri),[We(t.helper(Zi),[O])]);break}return{props:O,directives:f,patchFlag:m,dynamicPropNames:y,shouldUseBlock:h}}function iu(e){const t=new Map,n=[];for(let s=0;s<e.length;s++){const i=e[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||xn(r))&&L0(o,i):(t.set(r,i),n.push(i))}return n}function L0(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=gs([e.value,t.value],e.loc)}function F0(e,t){const n=[],s=Nh.get(e);s?n.push(t.helperString(s)):(t.helper(ya),t.directives.add(e.name),n.push(Hi(e.name,"directive")));const{loc:i}=e;if(e.exp&&n.push(e.exp),e.arg&&(e.exp||n.push("void 0"),n.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const r=ce("true",!1,i);n.push(It(e.modifiers.map(o=>Be(o,r)),i))}return gs(n,e.loc)}function R0(e){let t="[";for(let n=0,s=e.length;n<s;n++)t+=JSON.stringify(e[n]),n<s-1&&(t+=", ");return t+"]"}function Al(e){return e==="component"||e==="Component"}const $0=(e,t)=>{if(Jr(e)){const{children:n,loc:s}=e,{slotName:i,slotProps:r}=j0(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;r&&(o[2]=r,l=3),n.length&&(o[3]=Qs([],n,!1,!1,s),l=4),t.scopeId&&!t.slotted&&(l=5),o.splice(l),e.codegenNode=We(t.helper(Qd),o,s)}};function j0(e,t){let n='"default"',s;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=De(o.name),i.push(o)));else if(o.name==="bind"&&Wn(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const l=De(o.arg.content);n=o.exp=ce(l,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Ot(o.arg)&&(o.arg.content=De(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Sh(e,t,i,!1,!1);s=r,o.length&&t.onError(Se(36,o[0].loc))}return{slotName:n,slotProps:s}}const Oh=(e,t,n,s)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&n.onError(Se(35,i));let l;if(o.type===4)if(o.isStatic){let f=o.content;process.env.NODE_ENV!=="production"&&f.startsWith("vnode")&&n.onError(Se(52,o.loc)),f.startsWith("vue:")&&(f=`vnode-${f.slice(4)}`);const d=t.tagType!==0||f.startsWith("vnode")||!/[A-Z]/.test(f)?Qt(De(f)):`on:${f}`;l=ce(d,!0,o.loc)}else l=zt([`${n.helperString(Cl)}(`,o,")"]);else l=o,l.children.unshift(`${n.helperString(Cl)}(`),l.children.push(")");let a=e.exp;a&&!a.content.trim()&&(a=void 0);let c=n.cacheHandlers&&!a&&!n.inVOnce;if(a){const f=oh(a),d=!(f||My(a)),h=a.content.includes(";");process.env.NODE_ENV!=="production"&&as(a,n,!1,h),(d||c&&f)&&(a=zt([`${d?"$event":"(...args)"} => ${h?"{":"("}`,a,h?"}":")"]))}let u={props:[Be(l,a||ce("() => {}",!1,i))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(f=>f.key.isHandlerKey=!0),u},H0=(e,t,n)=>{const{modifiers:s,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(l=>l.content==="camel")&&(r.type===4?r.isStatic?r.content=De(r.content):r.content=`${n.helperString(wl)}(${r.content})`:(r.children.unshift(`${n.helperString(wl)}(`),r.children.push(")"))),n.inSSR||(s.some(l=>l.content==="prop")&&ru(r,"."),s.some(l=>l.content==="attr")&&ru(r,"^")),{props:[Be(r,o)]}},ru=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},B0=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const n=e.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(Uo(o)){i=!0;for(let l=r+1;l<n.length;l++){const a=n[l];if(Uo(a))s||(s=n[r]=zt([o],o.loc)),s.children.push(" + ",a),n.splice(l,1),l--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(Uo(o)||o.type===8){const l=[];(o.type!==2||o.content!==" ")&&l.push(o),!t.ssr&&Dt(o,t)===0&&l.push(1+(process.env.NODE_ENV!=="production"?` /* ${yi[1]} */`:"")),n[r]={type:12,content:o,loc:o.loc,codegenNode:We(t.helper(ma),l)}}}}},ou=new WeakSet,K0=(e,t)=>{if(e.type===1&&St(e,"once",!0))return ou.has(e)||t.inVOnce||t.inSSR?void 0:(ou.add(e),t.inVOnce=!0,t.helper(Wr),()=>{t.inVOnce=!1;const n=t.currentNode;n.codegenNode&&(n.codegenNode=t.cache(n.codegenNode,!0,!0))})},wh=(e,t,n)=>{const{exp:s,arg:i}=e;if(!s)return n.onError(Se(41,e.loc)),fi();const r=s.loc.source.trim(),o=s.type===4?s.content:r,l=n.bindingMetadata[r];if(l==="props"||l==="props-aliased")return n.onError(Se(44,s.loc)),fi();if(l==="literal-const"||l==="setup-const")return n.onError(Se(45,s.loc)),fi();if(!o.trim()||!oh(s))return n.onError(Se(42,s.loc)),fi();const a=i||ce("modelValue",!0),c=i?Ot(i)?`onUpdate:${De(i.content)}`:zt(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const f=n.isTS?"($event: any)":"$event";u=zt([`${f} => ((`,s,") = $event)"]);const d=[Be(a,e.exp),Be(c,u)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(p=>p.content).map(p=>(Ta(p)?p:JSON.stringify(p))+": true").join(", "),m=i?Ot(i)?`${i.content}Modifiers`:zt([i,' + "Modifiers"']):"modelModifiers";d.push(Be(m,ce(`{ ${h} }`,!1,e.loc,2)))}return fi(d)};function fi(e=[]){return{props:e}}const U0=/[\w).+\-_$\]]/,W0=(e,t)=>{Jn("COMPILER_FILTERS",t)&&(e.type===5?Yr(e.content,t):e.type===1&&e.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Yr(n.exp,t)}))};function Yr(e,t){if(e.type===4)lu(e,t);else for(let n=0;n<e.children.length;n++){const s=e.children[n];typeof s=="object"&&(s.type===4?lu(s,t):s.type===8?Yr(e,t):s.type===5&&Yr(s.content,t))}}function lu(e,t){const n=e.content;let s=!1,i=!1,r=!1,o=!1,l=0,a=0,c=0,u=0,f,d,h,m,p=[];for(h=0;h<n.length;h++)if(d=f,f=n.charCodeAt(h),s)f===39&&d!==92&&(s=!1);else if(i)f===34&&d!==92&&(i=!1);else if(r)f===96&&d!==92&&(r=!1);else if(o)f===47&&d!==92&&(o=!1);else if(f===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!l&&!a&&!c)m===void 0?(u=h+1,m=n.slice(0,h).trim()):S();else{switch(f){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:a++;break;case 93:a--;break;case 123:l++;break;case 125:l--;break}if(f===47){let N=h-1,E;for(;N>=0&&(E=n.charAt(N),E===" ");N--);(!E||!U0.test(E))&&(o=!0)}}m===void 0?m=n.slice(0,h).trim():u!==0&&S();function S(){p.push(n.slice(u,h).trim()),u=h+1}if(p.length){for(process.env.NODE_ENV!=="production"&&qr("COMPILER_FILTERS",t,e.loc),h=0;h<p.length;h++)m=z0(m,p[h],t);e.content=m,e.ast=void 0}}function z0(e,t,n){n.helper(Ea);const s=t.indexOf("(");if(s<0)return n.filters.add(t),`${Hi(t,"filter")}(${e})`;{const i=t.slice(0,s),r=t.slice(s+1);return n.filters.add(i),`${Hi(i,"filter")}(${e}${r!==")"?","+r:r}`}}const au=new WeakSet,q0=(e,t)=>{if(e.type===1){const n=St(e,"memo");return!n||au.has(e)||t.inSSR?void 0:(au.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&s.type===13&&(e.tagType!==1&&Da(s,t),e.codegenNode=We(t.helper(Ca),[n.exp,Qs(void 0,s),"_cache",String(t.cached.length)]),t.cached.push(null))})}},G0=(e,t)=>{if(e.type===1){for(const n of e.props)if(n.type===7&&n.name==="bind"&&(!n.exp||n.exp.type===4&&!n.exp.content.trim())&&n.arg){const s=n.arg;if(s.type!==4||!s.isStatic)t.onError(Se(53,s.loc)),n.exp=ce("",!0,s.loc);else{const i=De(s.content);(ih.test(i[0])||i[0]==="-")&&(n.exp=ce(i,!1,s.loc))}}}};function J0(e){return[[G0,K0,O0,q0,x0,W0,...process.env.NODE_ENV!=="production"?[S0]:[],$0,M0,k0,B0],{on:Oh,bind:H0,model:wh}]}function Z0(e,t={}){const n=t.onError||xa,s=t.mode==="module";t.prefixIdentifiers===!0?n(Se(48)):s&&n(Se(49));const i=!1;t.cacheHandlers&&n(Se(50)),t.scopeId&&!s&&n(Se(51));const r=oe({},t,{prefixIdentifiers:i}),o=te(e)?Yy(e,r):e,[l,a]=J0();return t0(o,oe({},r,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:oe({},a,t.directiveTransforms||{})})),r0(o,r)}const Y0=()=>({props:[]});const Ch=Symbol(process.env.NODE_ENV!=="production"?"vModelRadio":""),Dh=Symbol(process.env.NODE_ENV!=="production"?"vModelCheckbox":""),xh=Symbol(process.env.NODE_ENV!=="production"?"vModelText":""),Th=Symbol(process.env.NODE_ENV!=="production"?"vModelSelect":""),Il=Symbol(process.env.NODE_ENV!=="production"?"vModelDynamic":""),Vh=Symbol(process.env.NODE_ENV!=="production"?"vOnModifiersGuard":""),kh=Symbol(process.env.NODE_ENV!=="production"?"vOnKeysGuard":""),Ah=Symbol(process.env.NODE_ENV!=="production"?"vShow":""),Ma=Symbol(process.env.NODE_ENV!=="production"?"Transition":""),Ih=Symbol(process.env.NODE_ENV!=="production"?"TransitionGroup":"");by({[Ch]:"vModelRadio",[Dh]:"vModelCheckbox",[xh]:"vModelText",[Th]:"vModelSelect",[Il]:"vModelDynamic",[Vh]:"withModifiers",[kh]:"withKeys",[Ah]:"vShow",[Ma]:"Transition",[Ih]:"TransitionGroup"});let Vs;function X0(e,t=!1){return Vs||(Vs=document.createElement("div")),t?(Vs.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Vs.children[0].getAttribute("foo")):(Vs.innerHTML=e,Vs.textContent)}const Q0={parseMode:"html",isVoidTag:wp,isNativeTag:e=>Au(e)||Iu(e)||Mu(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:X0,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return Ma;if(e==="TransitionGroup"||e==="transition-group")return Ih},getNamespace(e,t,n){let s=t?t.ns:n;if(t&&s===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(s=0);else t&&s===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(s=0);if(s===0){if(e==="svg")return 1;if(e==="math")return 2}return s}},eE=e=>{e.type===1&&e.props.forEach((t,n)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[n]={type:7,name:"bind",arg:ce("style",!0,t.loc),exp:tE(t.value.content,t.loc),modifiers:[],loc:t.loc})})},tE=(e,t)=>{const n=ku(e);return ce(JSON.stringify(n),!1,t,3)};function Kt(e,t){return Se(e,t,process.env.NODE_ENV!=="production"?nE:void 0)}const nE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},sE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(54,i)),t.children.length&&(n.onError(Kt(55,i)),t.children.length=0),{props:[Be(ce("innerHTML",!0,i),s||ce("",!0))]}},iE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(56,i)),t.children.length&&(n.onError(Kt(57,i)),t.children.length=0),{props:[Be(ce("textContent",!0),s?Dt(s,n)>0?s:We(n.helperString(Oo),[s],i):ce("",!0))]}},rE=(e,t,n)=>{const s=wh(e,t,n);if(!s.props.length||t.tagType===1)return s;e.arg&&n.onError(Kt(59,e.arg.loc));function i(){const l=St(t,"bind");l&&Wn(l.arg,"value")&&n.onError(Kt(61,l.loc))}const{tag:r}=t,o=n.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||o){let l=xh,a=!1;if(r==="input"||o){const c=ji(t,"type");if(c){if(c.type===7)l=Il;else if(c.value)switch(c.value.content){case"radio":l=Ch;break;case"checkbox":l=Dh;break;case"file":a=!0,n.onError(Kt(60,e.loc));break;default:process.env.NODE_ENV!=="production"&&i();break}}else Py(t)?l=Il:process.env.NODE_ENV!=="production"&&i()}else r==="select"?l=Th:process.env.NODE_ENV!=="production"&&i();a||(s.needRuntime=n.helper(l))}else n.onError(Kt(58,e.loc));return s.props=s.props.filter(l=>!(l.key.type===4&&l.key.content==="modelValue")),s},oE=et("passive,once,capture"),lE=et("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),aE=et("left,right"),Mh=et("onkeyup,onkeydown,onkeypress"),cE=(e,t,n,s)=>{const i=[],r=[],o=[];for(let l=0;l<t.length;l++){const a=t[l].content;a==="native"&&ni("COMPILER_V_ON_NATIVE",n,s)||oE(a)?o.push(a):aE(a)?Ot(e)?Mh(e.content.toLowerCase())?i.push(a):r.push(a):(i.push(a),r.push(a)):lE(a)?r.push(a):i.push(a)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},cu=(e,t)=>Ot(e)&&e.content.toLowerCase()==="onclick"?ce(t,!0):e.type!==4?zt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,uE=(e,t,n)=>Oh(e,t,n,s=>{const{modifiers:i}=e;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:l,nonKeyModifiers:a,eventOptionModifiers:c}=cE(r,i,n,e.loc);if(a.includes("right")&&(r=cu(r,"onContextmenu")),a.includes("middle")&&(r=cu(r,"onMouseup")),a.length&&(o=We(n.helper(Vh),[o,JSON.stringify(a)])),l.length&&(!Ot(r)||Mh(r.content.toLowerCase()))&&(o=We(n.helper(kh),[o,JSON.stringify(l)])),c.length){const u=c.map(an).join("");r=Ot(r)?ce(`${r.content}${u}`,!0):zt(["(",r,`) + "${u}"`])}return{props:[Be(r,o)]}}),fE=(e,t,n)=>{const{exp:s,loc:i}=e;return s||n.onError(Kt(62,i)),{props:[],needRuntime:n.helper(Ah)}},dE=(e,t)=>{if(e.type===1&&e.tagType===1&&t.isBuiltInComponent(e.tag)===Ma)return()=>{if(!e.children.length)return;Ph(e)&&t.onError(Kt(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(s.type===1)for(const i of s.props)i.type===7&&i.name==="show"&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}};function Ph(e){const t=e.children=e.children.filter(s=>!ka(s)),n=t[0];return t.length!==1||n.type===11||n.type===9&&n.branches.some(Ph)}const hE=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&(process.env.NODE_ENV!=="production"&&t.onError(Kt(64,e.loc)),t.removeNode())};function pE(e,t){return e==="template"?!0:e in uu?uu[e].has(t):t in fu?fu[t].has(e):!(e in du&&du[e].has(t)||t in hu&&hu[t].has(e))}const ks=new Set(["h1","h2","h3","h4","h5","h6"]),rs=new Set([]),uu={head:new Set(["base","basefront","bgsound","link","meta","title","noscript","noframes","style","script","template"]),optgroup:new Set(["option"]),select:new Set(["optgroup","option","hr"]),table:new Set(["caption","colgroup","tbody","tfoot","thead"]),tr:new Set(["td","th"]),colgroup:new Set(["col"]),tbody:new Set(["tr"]),thead:new Set(["tr"]),tfoot:new Set(["tr"]),script:rs,iframe:rs,option:rs,textarea:rs,style:rs,title:rs},fu={html:rs,body:new Set(["html"]),head:new Set(["html"]),td:new Set(["tr"]),colgroup:new Set(["table"]),caption:new Set(["table"]),tbody:new Set(["table"]),tfoot:new Set(["table"]),col:new Set(["colgroup"]),th:new Set(["tr"]),thead:new Set(["table"]),tr:new Set(["tbody","thead","tfoot"]),dd:new Set(["dl","div"]),dt:new Set(["dl","div"]),figcaption:new Set(["figure"]),summary:new Set(["details"]),area:new Set(["map"])},du={p:new Set(["address","article","aside","blockquote","center","details","dialog","dir","div","dl","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","menu","ol","p","pre","section","table","ul"]),svg:new Set(["b","blockquote","br","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","hr","i","img","li","menu","meta","ol","p","pre","ruby","s","small","span","strong","sub","sup","table","u","ul","var"])},hu={a:new Set(["a"]),button:new Set(["button"]),dd:new Set(["dd","dt"]),dt:new Set(["dd","dt"]),form:new Set(["form"]),li:new Set(["li"]),h1:ks,h2:ks,h3:ks,h4:ks,h5:ks,h6:ks},mE=(e,t)=>{if(e.type===1&&e.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!pE(t.parent.tag,e.tag)){const n=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);n.loc=e.loc,t.onWarn(n)}},gE=[eE,...process.env.NODE_ENV!=="production"?[dE,mE]:[]],vE={cloak:Y0,html:sE,text:iE,model:rE,on:uE,show:fE};function yE(e,t={}){return Z0(e,oe({},Q0,t,{nodeTransforms:[hE,...gE,...t.nodeTransforms||[]],directiveTransforms:oe({},vE,t.directiveTransforms||{}),transformHoist:null}))}function EE(){Nd()}process.env.NODE_ENV!=="production"&&EE();const pu=Object.create(null);function _E(e,t){if(!te(e))if(e.nodeType)e=e.innerHTML;else return process.env.NODE_ENV!=="production"&&Pe("invalid template option: ",e),ke;const n=fp(e,t),s=pu[n];if(s)return s;if(e[0]==="#"){const a=document.querySelector(e);process.env.NODE_ENV!=="production"&&!a&&Pe(`Template element not found or is empty: ${e}`),e=a?a.innerHTML:""}const i=oe({hoistStatic:!0,onError:process.env.NODE_ENV!=="production"?o:void 0,onWarn:process.env.NODE_ENV!=="production"?a=>o(a,!0):ke},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=a=>!!customElements.get(a));const{code:r}=yE(e,i);function o(a,c=!1){const u=c?a.message:`Template compilation error: ${a.message}`,f=a.loc&&mp(e,a.loc.start.offset,a.loc.end.offset);Pe(f?`${u}
|
|
34
|
+
${f}`:u)}const l=new Function("Vue",r)(my);return l._rc=!0,pu[n]=l}yd(_E);const bE=pt({name:"kx-loading",props:{text:String,customClass:{type:String,default:""},customStyle:{default:()=>({})},size:{type:String,default:"medium"}},setup(e,{emit:t}){const n=ne(!1),s=ne([{id:0,delay:0},{id:1,delay:.15},{id:2,delay:.3}]),i=c=>`${c}px`,r=ie(()=>({medium:{width:4,height:10},mini:{width:2,height:6}})[e.size]),o=ie(()=>{const c=r.value;return{"--column-width":i(c.width),"--column-height":i(c.height),width:i(c.width*2*3)}}),l=function(c){return{left:i(c*r.value.width*2),backgroundColor:"#327dff",animationDelay:`${.15*c}s`}};function a(){t("after-leave")}return{visible:n,animateOptions:s,getColumnStyle:l,handleAfterLeave:a,containerStyle:o}}}),kn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},NE={key:0,class:"m-loading-text"};function SE(e,t,n,s,i,r){return fe(),Wt(ca,{name:"xfade",onAfterLeave:e.handleAfterLeave},{default:rn(()=>[zn(ae("div",{class:xe(["m-loading-mask",[e.customClass]]),style:qe(e.customStyle)},[ae("div",{class:"loading-animate",style:qe(e.containerStyle)},[(fe(!0),Ce(we,null,hs(e.animateOptions,(o,l)=>(fe(),Ce("div",{key:o.id,class:"loading-animate-column",style:qe(e.getColumnStyle(l))},null,4))),128))],4),e.text?(fe(),Ce("p",NE,sn(e.text),1)):Cn("",!0)],6),[[Gn,e.visible]])]),_:1},8,["onAfterLeave"])}const OE=kn(bE,[["render",SE],["__scopeId","data-v-da721280"]]),qo={create(e,t){const n=document.createElement("div"),s=Br(OE,t),i=s.mount(n);e._loadingInstance={app:s,vm:i,dom:n}},destroy(e){const t=e._loadingInstance;t&&(t.app.unmount(),t.dom.remove(),delete e._loadingInstance)},getLoadingDom(e){return e._loadingInstance?.dom}},Go=(e,t)=>{const n=e._loadingInstance;n&&(n.vm.visible=t)},wE=(e,t)=>{if(!e||!t)return null;try{const n=document.defaultView?.getComputedStyle(e,"");return(e.style[t]||n?.[t])??null}catch{return e.style[t]}},CE={mounted(e,t){const n=wE(e,"position"),{modifiers:s}=t;!s?.fullscreen&&(!n||n==="static")&&e.classList.add("m-loading-parent--relative");const i={};s?.mini&&(i.size="mini"),qo.create(e,i);const r=qo.getLoadingDom(e);s?.fullscreen?document.body.appendChild(r):e.appendChild(r),t.value&&Go(e,!0)},updated(e,t){t.oldValue!==t.value&&Go(e,!!t.value)},unmounted(e,t){Go(e,!1),qo.destroy(e)}},Pa=function({isMaster:e=!0,key:t="compExp"}={}){if(e){const n={},s=function(i){Object.assign(n,i)};return ql(t,{funcs:n,registerFunc:s}),{funcs:n,registerFunc:s}}else{const{funcs:n,registerFunc:s}=js(t,{funcs:{},registerFunc:(...i)=>{}});return{funcs:n,registerFunc:s}}};function DE(e,t,n){const s=new Array(e);return new Proxy(s,{get(i,r,o){if(typeof r=="string"){const l=r.charCodeAt(0);if(l>=48&&l<=57){const a=+r;if(Number.isInteger(a)&&a>=0&&a<e){let c=i[a];if(!c){const u=t[a*2];c=i[a]={index:a,key:n(a),start:u,size:t[a*2+1],end:u+t[a*2+1],lane:0}}return c}}if(r==="length")return e}return Reflect.get(i,r,o)}})}function As(e,t,n){let s=n.initialDeps??[],i,r=!0;function o(){var l;const a=process.env.NODE_ENV!=="production"&&!!n.key&&!!((l=n.debug)!=null&&l.call(n));let c=0;a&&(c=Date.now());const u=e();if(!(u.length!==s.length||u.some((h,m)=>s[m]!==h)))return i;s=u;let d=0;if(a&&(d=Date.now()),i=t(...u),a){const h=Math.round((Date.now()-c)*100)/100,m=Math.round((Date.now()-d)*100)/100,p=m/16,S=(N,E)=>{for(N=String(N);N.length<E;)N=" "+N;return N};console.info(`%c⏱ ${S(m,5)} /${S(h,5)} ms`,`
|
|
35
|
+
font-size: .6rem;
|
|
36
|
+
font-weight: bold;
|
|
37
|
+
color: hsl(${Math.max(0,Math.min(120-120*p,120))}deg 100% 31%);`,n?.key)}return n?.onChange&&!(r&&n.skipInitialOnChange)&&n.onChange(i),r=!1,i}return o.updateDeps=l=>{s=l},o}function mu(e,t){if(e===void 0)throw new Error("Unexpected undefined");return e}const xE=(e,t)=>Math.abs(e-t)<1.01,TE=(e,t,n)=>{let s;return function(...i){e.clearTimeout(s),s=e.setTimeout(()=>t.apply(this,i),n)}};let di;const Jo=()=>{if(di!==void 0)return di;if(typeof navigator>"u")return di=!1;if(/iP(hone|od|ad)/.test(navigator.userAgent))return di=!0;const e=navigator.maxTouchPoints;return di=navigator.platform==="MacIntel"&&e!==void 0&&e>0},gu=e=>{const{offsetWidth:t,offsetHeight:n}=e;return{width:t,height:n}},VE=e=>e,kE=e=>{const t=Math.max(e.startIndex-e.overscan,0),s=Math.min(e.endIndex+e.overscan,e.count-1)-t+1,i=new Array(s);for(let r=0;r<s;r++)i[r]=t+r;return i},AE=(e,t)=>{const n=e.scrollElement;if(!n)return;const s=e.targetWindow;if(!s)return;const i=o=>{const{width:l,height:a}=o;t({width:Math.round(l),height:Math.round(a)})};if(i(gu(n)),!s.ResizeObserver)return()=>{};const r=new s.ResizeObserver(o=>{const l=()=>{const a=o[0];if(a?.borderBoxSize){const c=a.borderBoxSize[0];if(c){i({width:c.inlineSize,height:c.blockSize});return}}i(gu(n))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(l):l()});return r.observe(n,{box:"border-box"}),()=>{r.unobserve(n)}},Xr={passive:!0},IE=typeof window>"u"?!0:"onscrollend"in window,ME=(e,t,n)=>{const s=e.scrollElement;if(!s)return;const i=e.targetWindow;if(!i)return;const r=e.options.useScrollendEvent&&IE;let o=0;const l=r?null:TE(i,()=>t(o,!1),e.options.isScrollingResetDelay),a=f=>()=>{o=n(s),l?.(),t(o,f)},c=a(!0),u=a(!1);return s.addEventListener("scroll",c,Xr),r&&s.addEventListener("scrollend",u,Xr),()=>{s.removeEventListener("scroll",c),r&&s.removeEventListener("scrollend",u)}},PE=(e,t)=>ME(e,t,n=>{const{horizontal:s,isRtl:i}=e.options;return s?n.scrollLeft*(i&&-1||1):n.scrollTop}),LE=(e,t,n)=>{if(n.options.useCachedMeasurements){const s=n.indexFromElement(e),i=n.options.getItemKey(s);return n.itemSizeCache.get(i)??n.options.estimateSize(s)}if(t?.borderBoxSize){const s=t.borderBoxSize[0];if(s)return Math.round(s[n.options.horizontal?"inlineSize":"blockSize"])}if(!t){const s=n.indexFromElement(e),i=n.options.getItemKey(s),r=n.itemSizeCache.get(i);if(r!==void 0)return r}return e[n.options.horizontal?"offsetWidth":"offsetHeight"]},FE=(e,{adjustments:t=0,behavior:n},s)=>{var i,r;(r=(i=s.scrollElement)==null?void 0:i.scrollTo)==null||r.call(i,{[s.options.horizontal?"left":"top"]:e+t,behavior:n})},RE=FE;class $E{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollState=null,this.measurementsCache=[],this._flatMeasurements=null,this.itemSizeCache=new Map,this.itemSizeCacheVersion=0,this.laneAssignments=new Map,this.pendingMin=null,this.prevLanes=void 0,this.lanesChangedFlag=!1,this.lanesSettling=!1,this.pendingScrollAnchor=null,this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._intendedScrollOffset=null,this.elementsCache=new Map,this.now=()=>{var n,s,i;return((i=(s=(n=this.targetWindow)==null?void 0:n.performance)==null?void 0:s.now)==null?void 0:i.call(s))??Date.now()},this.observer=(()=>{let n=null;const s=()=>n||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:n=new this.targetWindow.ResizeObserver(i=>{i.forEach(r=>{const o=()=>{const l=r.target,a=this.indexFromElement(l);if(!l.isConnected){this.observer.unobserve(l);for(const[c,u]of this.elementsCache)if(u===l){this.elementsCache.delete(c);break}return}this.shouldMeasureDuringScroll(a)&&this.resizeItem(a,this.options.measureElement(l,r,this))};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(o):o()})}));return{disconnect:()=>{var i;(i=s())==null||i.disconnect(),n=null},observe:i=>{var r;return(r=s())==null?void 0:r.observe(i,{box:"border-box"})},unobserve:i=>{var r;return(r=s())==null?void 0:r.unobserve(i)}}})(),this.range=null,this.setOptions=n=>{var s,i;const r={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:VE,rangeExtractor:kE,onChange:()=>{},measureElement:LE,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,anchorTo:"start",followOnAppend:!1,scrollEndThreshold:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,laneAssignmentMode:"estimate",useCachedMeasurements:!1};for(const d in n){const h=n[d];h!==void 0&&(r[d]=h)}const o=this.options;let l=null,a=null,c=!1;if(o!==void 0&&o.enabled&&r.enabled&&r.anchorTo==="end"&&this.scrollElement!==null){const d=o.count,h=r.count,m=this.getMeasurements(),p=d>0?((s=m[0])==null?void 0:s.key)??o.getItemKey(0):null,S=d>0?((i=m[d-1])==null?void 0:i.key)??o.getItemKey(d-1):null;if(h!==d||d>0&&h>0&&(r.getItemKey(0)!==p||r.getItemKey(h-1)!==S)){c=!0;const g=d>0?this.getVirtualItemForOffset(this.getScrollOffset())??m[0]:null;g&&(l=[g.key,this.getScrollOffset()-g.start]);const _=r.followOnAppend===!0?"auto":r.followOnAppend||null;_&&h>d&&this.isAtEnd(o.scrollEndThreshold)&&(d===0||r.getItemKey(h-1)!==S)&&(a=_)}}this.options=r,c&&(this.pendingMin=0,this.itemSizeCacheVersion++);let u=!1,f=0;if(l&&this.scrollOffset!==null){const[d,h]=l,m=this.getMeasurements(),{count:p,getItemKey:S}=this.options;let N=0;for(;N<p&&S(N)!==d;)N++;if(N<p){const E=m[N];if(E){const g=E.start+h;g!==this.scrollOffset&&(f=g-this.scrollOffset,this.scrollOffset=g,u=!0)}}}(u||a)&&(this.pendingScrollAnchor=[u?l[0]:null,u?l[1]:0,a,f])},this.notify=n=>{var s,i;(i=(s=this.options).onChange)==null||i.call(s,this,n)},this.maybeNotify=As(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),n=>{this.notify(n)},{key:process.env.NODE_ENV!=="production"&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(n=>n()),this.unsubs=[],this.observer.disconnect(),this.rafId!=null&&this.targetWindow&&(this.targetWindow.cancelAnimationFrame(this.rafId),this.rafId=null),this.scrollState=null,this._iosDeferredAdjustment=0,this._iosTouching=!1,this._iosJustTouchEnded=!1,this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;const s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}if(this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((n=this.scrollElement)==null?void 0:n.window)??null,this.elementsCache.forEach(r=>{this.observer.observe(r)}),this.unsubs.push(this.options.observeElementRect(this,r=>{this.scrollRect=r,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(r,o)=>{if(o&&this._intendedScrollOffset===null&&r===this.scrollOffset)return;this._intendedScrollOffset!==null&&Math.abs(r-this._intendedScrollOffset)<1.5&&(r=this._intendedScrollOffset),this._intendedScrollOffset=null,this.scrollAdjustments=0;const l=this.getScrollOffset();this.scrollDirection=o?l===r?this.scrollDirection:l<r?"forward":"backward":null,this.scrollOffset=r,this.isScrolling=o,this._flushIosDeferredIfReady(),this.scrollState&&this.scheduleScrollReconcile(),this.maybeNotify()})),"addEventListener"in this.scrollElement){const r=this.scrollElement,o=()=>{this._iosTouching=!0,this._iosJustTouchEnded=!1,this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)},l=()=>{this._iosTouching=!1,!(!Jo()||this.targetWindow==null)&&(this._iosJustTouchEnded=!0,this._iosTouchEndTimerId=this.targetWindow.setTimeout(()=>{this._iosJustTouchEnded=!1,this._iosTouchEndTimerId=null,this._flushIosDeferredIfReady()},150))};r.addEventListener("touchstart",o,Xr),r.addEventListener("touchend",l,Xr),this.unsubs.push(()=>{r.removeEventListener("touchstart",o),r.removeEventListener("touchend",l),this._iosTouchEndTimerId!==null&&this.targetWindow!=null&&(this.targetWindow.clearTimeout(this._iosTouchEndTimerId),this._iosTouchEndTimerId=null)})}this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})}const i=this.pendingScrollAnchor;if(this.pendingScrollAnchor=null,i&&this.scrollElement&&this.options.enabled){const[r,o,l,a]=i;r!==null&&!l&&(Jo()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?a!==0&&(this._iosDeferredAdjustment+=a):this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0})),l&&this.scrollToEnd({behavior:l})}},this._flushIosDeferredIfReady=()=>{if(this._iosDeferredAdjustment===0||this.isScrolling||this._iosTouching||this._iosJustTouchEnded)return;const n=this.getScrollOffset(),s=this.getMaxScrollOffset();if(n<0||n>s)return;const i=this._iosDeferredAdjustment;this._iosDeferredAdjustment=0,this._scrollToOffset(n,{adjustments:this.scrollAdjustments+=i,behavior:void 0})},this.rafId=null,this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getMeasurementOptions=As(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled,this.options.lanes,this.options.laneAssignmentMode,this.options.gap],(n,s,i,r,o,l,a,c)=>(this.prevLanes!==void 0&&this.prevLanes!==l&&(this.lanesChangedFlag=!0),this.prevLanes=l,this.pendingMin=null,{count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c}),{key:!1}),this.getMeasurements=As(()=>[this.getMeasurementOptions(),this.itemSizeCacheVersion],({count:n,paddingStart:s,scrollMargin:i,getItemKey:r,enabled:o,lanes:l,laneAssignmentMode:a,gap:c},u)=>{const f=this.itemSizeCache;if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),[];if(this.laneAssignments.size>n)for(const N of this.laneAssignments.keys())N>=n&&this.laneAssignments.delete(N);this.lanesChangedFlag&&(this.lanesChangedFlag=!1,this.lanesSettling=!0,this.measurementsCache=[],this.itemSizeCache.clear(),this.laneAssignments.clear(),this.pendingMin=null),this.measurementsCache.length===0&&!this.lanesSettling&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(N=>{this.itemSizeCache.set(N.key,N.size)}));const d=this.lanesSettling?0:this.pendingMin??0;if(this.pendingMin=null,this.lanesSettling&&this.measurementsCache.length===n&&(this.lanesSettling=!1),l===1){const N=n*2;let E=this._flatMeasurements;if(!E||E.length<N){const y=new Float64Array(N);E&&d>0&&y.set(E.subarray(0,d*2)),E=y,this._flatMeasurements=E}let g;if(d===0)g=s+i;else{const y=d-1;g=E[y*2]+E[y*2+1]+c}for(let y=d;y<n;y++){const w=r(y),P=f.get(w),T=typeof P=="number"?P:this.options.estimateSize(y);E[y*2]=g,E[y*2+1]=T,g+=T+c}const _=DE(n,E,r);return this.measurementsCache=_,_}const h=this.measurementsCache.slice(0,d),m=new Array(l).fill(void 0),p=new Float64Array(l);let S=0;for(let N=0;N<d;N++){const E=h[N];E&&(m[E.lane]===void 0&&S++,m[E.lane]=N,p[E.lane]=E.end)}for(let N=d;N<n;N++){const E=r(N),g=this.laneAssignments.get(N);let _,y;const w=a==="estimate"||f.has(E);if(g!==void 0&&this.options.lanes>1){_=g;const D=m[_],I=D!==void 0?h[D]:void 0;y=I?I.end+c:s+i}else if(S===l){let D=0,I=p[0],C=m[0];for(let R=1;R<l;R++){const G=p[R];(G<I||G===I&&m[R]<C)&&(D=R,I=G,C=m[R])}_=D,y=I+c,w&&this.laneAssignments.set(N,_)}else _=N%this.options.lanes,y=s+i,w&&this.laneAssignments.set(N,_);const P=f.get(E),T=typeof P=="number"?P:this.options.estimateSize(N),O=y+T;h[N]={index:N,start:y,size:T,end:O,key:E,lane:_},m[_]===void 0&&S++,m[_]=N,p[_]=O}return this.measurementsCache=h,h},{key:process.env.NODE_ENV!=="production"&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=As(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(n,s,i,r)=>n.length===0||s===0?(this.range=null,null):(this.range=HE(n,s,i,r,r===1&&this._flatMeasurements!=null?this._flatMeasurements:null),this.range),{key:process.env.NODE_ENV!=="production"&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=As(()=>{let n=null,s=null;const i=this.calculateRange();return i&&(n=i.startIndex,s=i.endIndex),this.maybeNotify.updateDeps([this.isScrolling,n,s]),[this.options.rangeExtractor,this.options.overscan,this.options.count,n,s]},(n,s,i,r,o)=>r===null||o===null?[]:n({startIndex:r,endIndex:o,overscan:s,count:i}),{key:process.env.NODE_ENV!=="production"&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=n=>{const s=this.options.indexAttribute,i=n.getAttribute(s);return i?parseInt(i,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this.shouldMeasureDuringScroll=n=>{var s;if(!this.scrollState||this.scrollState.behavior!=="smooth")return!0;const i=this.scrollState.index??((s=this.getVirtualItemForOffset(this.scrollState.lastTargetOffset))==null?void 0:s.index);if(i!==void 0&&this.range){const r=Math.max(this.options.overscan,Math.ceil((this.range.endIndex-this.range.startIndex)/2)),o=Math.max(0,i-r),l=Math.min(this.options.count-1,i+r);return n>=o&&n<=l}return!0},this.measureElement=n=>{if(!n){this.elementsCache.forEach((o,l)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(l))});return}const s=this.indexFromElement(n),i=this.options.getItemKey(s),r=this.elementsCache.get(i);r!==n&&(r&&this.observer.unobserve(r),this.observer.observe(n),this.elementsCache.set(i,n)),(!this.isScrolling||this.scrollState)&&this.shouldMeasureDuringScroll(s)&&this.resizeItem(s,this.options.measureElement(n,void 0,this))},this.resizeItem=(n,s)=>{var i,r;if(n<0||n>=this.options.count)return;let o,l,a;const c=this._flatMeasurements;if(this.options.lanes===1&&c!==null)a=this.options.getItemKey(n),l=c[n*2],o=c[n*2+1];else{const d=this.measurementsCache[n];if(!d)return;a=d.key,l=d.start,o=d.size}const u=this.itemSizeCache.get(a)??o,f=s-u;if(f!==0){const d=this.options.anchorTo==="end"&&((i=this.scrollState)==null?void 0:i.behavior)!=="smooth"&&this.getVirtualDistanceFromEnd()<=this.options.scrollEndThreshold,h=d?this.getTotalSize():0,m=((r=this.scrollState)==null?void 0:r.behavior)!=="smooth"&&(this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(this.measurementsCache[n]??{index:n,key:a,start:l,size:o,end:l+o,lane:0},f,this):l<this.getScrollOffset()+this.scrollAdjustments&&(!this.itemSizeCache.has(a)||this.scrollDirection!=="backward"));(this.pendingMin===null||n<this.pendingMin)&&(this.pendingMin=n),this.itemSizeCache.set(a,s),this.itemSizeCacheVersion++,d?this.applyScrollAdjustment(this.getTotalSize()-h):m&&this.applyScrollAdjustment(f),this.notify(!1)}},this.getVirtualItems=As(()=>[this.getVirtualIndexes(),this.getMeasurements()],(n,s)=>{const i=[];for(let r=0,o=n.length;r<o;r++){const l=n[r],a=s[l];i.push(a)}return i},{key:process.env.NODE_ENV!=="production"&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=n=>{const s=this.getMeasurements();if(s.length===0)return;const i=this._flatMeasurements,r=this.options.lanes===1&&i!=null,o=Lh(0,s.length-1,r?l=>i[l*2]:l=>mu(s[l]).start,n);return mu(s[o])},this.getMaxScrollOffset=()=>{if(!this.scrollElement)return 0;if("scrollHeight"in this.scrollElement)return this.options.horizontal?this.scrollElement.scrollWidth-this.scrollElement.clientWidth:this.scrollElement.scrollHeight-this.scrollElement.clientHeight;{const n=this.scrollElement.document.documentElement;return this.options.horizontal?n.scrollWidth-this.scrollElement.innerWidth:n.scrollHeight-this.scrollElement.innerHeight}},this.getVirtualDistanceFromEnd=()=>Math.max(this.getTotalSize()-this.getSize()-this.getScrollOffset(),0),this.getDistanceFromEnd=()=>Math.max(this.getMaxScrollOffset()-this.getScrollOffset(),0),this.isAtEnd=(n=this.options.scrollEndThreshold)=>this.getDistanceFromEnd()<=n,this.getOffsetForAlignment=(n,s,i=0)=>{if(!this.scrollElement)return 0;const r=this.getSize(),o=this.getScrollOffset();s==="auto"&&(s=n>=o+r?"end":"start"),s==="center"?n+=(i-r)/2:s==="end"&&(n-=r);const l=this.getMaxScrollOffset();return Math.max(Math.min(l,n),0)},this.getOffsetForIndex=(n,s="auto")=>{n=Math.max(0,Math.min(n,this.options.count-1));const i=this.getSize(),r=this.getScrollOffset(),o=this.measurementsCache[n];if(!o)return;if(s==="auto")if(o.end>=r+i-this.options.scrollPaddingEnd)s="end";else if(o.start<=r+this.options.scrollPaddingStart)s="start";else return[r,s];if(s==="end"&&n===this.options.count-1)return[this.getMaxScrollOffset(),s];const l=s==="end"?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(l,s,o.size),s]},this.scrollToOffset=(n,{align:s="start",behavior:i="auto"}={})=>{const r=this.getOffsetForAlignment(n,s),o=this.now();this.scrollState={index:null,align:s,behavior:i,startedAt:o,lastTargetOffset:r,stableFrames:0},this._scrollToOffset(r,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollToIndex=(n,{align:s="auto",behavior:i="auto"}={})=>{n=Math.max(0,Math.min(n,this.options.count-1));const r=this.getOffsetForIndex(n,s);if(!r)return;const[o,l]=r,a=this.now();this.scrollState={index:n,align:l,behavior:i,startedAt:a,lastTargetOffset:o,stableFrames:0},this._scrollToOffset(o,{adjustments:void 0,behavior:i}),this.scheduleScrollReconcile()},this.scrollBy=(n,{behavior:s="auto"}={})=>{const i=this.getScrollOffset()+n,r=this.now();this.scrollState={index:null,align:"start",behavior:s,startedAt:r,lastTargetOffset:i,stableFrames:0},this._scrollToOffset(i,{adjustments:void 0,behavior:s}),this.scheduleScrollReconcile()},this.scrollToEnd=({behavior:n="auto"}={})=>{if(this.options.count>0){this.scrollToIndex(this.options.count-1,{align:"end",behavior:n});return}this.scrollToOffset(Math.max(this.getTotalSize()-this.getSize(),0),{behavior:n})},this.getTotalSize=()=>{var n;const s=this.getMeasurements();let i;if(s.length===0)i=this.options.paddingStart;else if(this.options.lanes===1){const r=s.length-1,o=this._flatMeasurements;o!=null?i=o[r*2]+o[r*2+1]:i=((n=s[r])==null?void 0:n.end)??0}else{const r=Array(this.options.lanes).fill(null);let o=s.length-1;for(;o>=0&&r.some(l=>l===null);){const l=s[o];r[l.lane]===null&&(r[l.lane]=l.end),o--}i=Math.max(...r.filter(l=>l!==null))}return Math.max(i-this.options.scrollMargin+this.options.paddingEnd,0)},this.takeSnapshot=()=>{const n=[];if(this.itemSizeCache.size===0)return n;const s=this.getMeasurements();for(const i of s)i&&this.itemSizeCache.has(i.key)&&n.push({index:i.index,key:i.key,start:i.start,size:i.size,end:i.end,lane:i.lane});return n},this._scrollToOffset=(n,{adjustments:s,behavior:i})=>{this._intendedScrollOffset=n+(s??0),this.options.scrollToFn(n,{behavior:i,adjustments:s},this)},this.measure=()=>{this.pendingMin=null,this.itemSizeCache.clear(),this.laneAssignments.clear(),this.itemSizeCacheVersion++,this.notify(!1)},this.setOptions(t)}applyScrollAdjustment(t,n){t!==0&&(process.env.NODE_ENV!=="production"&&this.options.debug&&console.info("correction",t),Jo()&&(this.isScrolling||this._iosTouching||this._iosJustTouchEnded)?this._iosDeferredAdjustment+=t:(this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=t,behavior:n}),this.scrollOffset!==null&&(this.scrollOffset+=this.scrollAdjustments,this.scrollAdjustments=0)))}scheduleScrollReconcile(){if(!this.targetWindow){this.scrollState=null;return}this.rafId==null&&(this.rafId=this.targetWindow.requestAnimationFrame(()=>{this.rafId=null,this.reconcileScroll()}))}reconcileScroll(){if(!this.scrollState||!this.scrollElement)return;if(this.now()-this.scrollState.startedAt>5e3){this.scrollState=null;return}const s=this.scrollState.index!=null?this.getOffsetForIndex(this.scrollState.index,this.scrollState.align):void 0,i=s?s[0]:this.scrollState.lastTargetOffset,r=1,o=i!==this.scrollState.lastTargetOffset;if(!o&&xE(i,this.getScrollOffset())){if(this.scrollState.stableFrames++,this.scrollState.stableFrames>=r){this.getScrollOffset()!==i&&this._scrollToOffset(i,{adjustments:void 0,behavior:"auto"}),this.scrollState=null;return}}else if(this.scrollState.stableFrames=0,o){const l=this.getSize()||600,a=Math.abs(i-this.getScrollOffset()),c=this.scrollState.behavior==="smooth"&&a>l;this.scrollState.lastTargetOffset=i,c||(this.scrollState.behavior="auto"),this._scrollToOffset(i,{adjustments:void 0,behavior:c?"smooth":"auto"})}this.scheduleScrollReconcile()}}const Lh=(e,t,n,s)=>{for(;e<=t;){const i=(e+t)/2|0,r=n(i);if(r<s)e=i+1;else if(r>s)t=i-1;else return i}return e>0?e-1:0};function jE(e,t,n){let s=0;for(;s<=t;){const i=(s+t)/2|0,r=e[i*2];if(r<n)s=i+1;else if(r>n)t=i-1;else return i}return s>0?s-1:0}function HE(e,t,n,s,i){const r=e.length-1;if(e.length<=s)return{startIndex:0,endIndex:r};if(s===1&&i!==null){const c=jE(i,r,n);let u=c;const f=n+t;for(;u<r&&i[u*2]+i[u*2+1]<f;)u++;return{startIndex:c,endIndex:u}}let l=Lh(0,r,c=>e[c].start,n),a=l;if(s===1)for(;a<r&&e[a].end<n+t;)a++;else if(s>1){const c=Array(s).fill(0);for(;a<r&&c.some(f=>f<n+t);){const f=e[a];c[f.lane]=f.end,a++}const u=Array(s).fill(n+t);for(;l>=0&&u.some(f=>f>=n);){const f=e[l];u[f.lane]=f.start,l--}l=Math.max(0,l-l%s),a=Math.min(r,a+(s-1-a%s))}return{startIndex:l,endIndex:a}}function BE(e){const t=new $E(Y(e)),n=Un(t),s=t._didMount();return ft(()=>Y(e).getScrollElement(),i=>{i&&t._willUpdate()},{immediate:!0}),ft(()=>Y(e),i=>{t.setOptions({...i,onChange:(r,o)=>{var l;nl(n),(l=i.onChange)==null||l.call(i,r,o)}}),t._willUpdate(),nl(n)},{immediate:!0}),ju(s),n}function KE(e){return BE(ie(()=>({observeElementRect:AE,observeElementOffset:PE,scrollToFn:RE,...Y(e)})))}const Fh=function({isMaster:e=!0}={}){return{...Pa({isMaster:e,key:"virtualExp"})}},UE=pt({name:"VirtualScroll",props:{items:{required:!0,type:Array},itemSize:{required:!0,type:[Number,Function]},keyField:{default:"key",type:String},overscan:{default:5,type:Number}},setup(e,{emit:t}){const n=ne(null),s=ie(()=>({count:e.items.length||0,getScrollElement:()=>n.value,estimateSize:d=>{const h=typeof e.itemSize=="function"?e.itemSize(e.items[d],d):e.itemSize;return Math.max(0,Number(h)||0)},getItemKey:d=>e.items[d]?.[e.keyField]??d,overscan:e.overscan})),i=KE(s),r=ie(()=>i.value?.getTotalSize()||0),o=ie(()=>(i.value?.getVirtualItems()||[]).map(h=>{const m=e.items[h.index];return{...h,key:m?.[e.keyField]??h.key}})),l=()=>i.value,{registerFunc:a}=Fh({isMaster:!1});a({virtualer:i,resizeItem(d,h){const m=e.items.findIndex(p=>p[e.keyField]===d);i.value.resizeItem(m,h)}});let c=0,u=0;function f(d){const{scrollTop:h,scrollLeft:m}=d.target;h!==c&&(c=h,t("scrollY",{scrollTop:h,evt:d})),m!==u&&(u=m,t("scrollX",{scrollLeft:m,evt:d}))}return{scrollCtn:n,onScroll:f,totalHeight:r,virtualItems:o,getVirtualer:l}}});function WE(e,t,n,s,i,r){return fe(),Ce("div",{class:"scroll-wrapper",ref:"scrollCtn",onScroll:t[0]||(t[0]=(...o)=>e.onScroll&&e.onScroll(...o))},[ae("div",{class:"scroll-inner-wrapper",style:qe({height:e.totalHeight+"px",position:"relative"})},[(fe(!0),Ce(we,null,hs(e.virtualItems,o=>(fe(),Ce("div",{class:"virtual-item",key:o.key,style:qe({height:`${o.size}px`,transform:`translateY(${o.start}px)`})},[Bn(e.$slots,"default",{item:e.items[o.index],index:o.index},void 0,!0)],4))),128))],4)],544)}const zE=kn(UE,[["render",WE],["__scopeId","data-v-2acac909"]]),qE={like(e,t){return t?e?String(e).trim().toLowerCase().includes(String(t).trim().toLowerCase()):!1:!0}},GE=globalThis.crypto.randomUUID?()=>crypto.randomUUID():()=>`${Date.now()}-${Math.random().toString(16).slice(2)}`,vu=typeof globalThis=="object"&&globalThis||typeof window=="object"&&window||typeof self=="object"&&self||typeof global=="object"&&global||(function(){return this})();function JE(e,t,{signal:n,edges:s}={}){let i,r=null;const o=s!=null&&s.includes("leading"),l=s==null||s.includes("trailing"),a=()=>{r!==null&&(e.apply(i,r),i=void 0,r=null)},c=()=>{l&&a(),h()};let u=null;const f=()=>{u!=null&&clearTimeout(u),u=setTimeout(()=>{u=null,c()},t)},d=()=>{u!==null&&(clearTimeout(u),u=null)},h=()=>{d(),i=void 0,r=null},m=()=>{a()},p=function(...S){if(n?.aborted)return;i=this,r=S;const N=u==null;f(),o&&N&&a()};return p.schedule=f,p.cancel=h,p.flush=m,n?.addEventListener("abort",h,{once:!0}),p}function ZE(e){return e==null||typeof e!="object"&&typeof e!="function"}function YE(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function XE(e){return typeof vu.Buffer<"u"&&vu.Buffer.isBuffer(e)}function QE(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function e_(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const t_="[object RegExp]",n_="[object String]",s_="[object Number]",i_="[object Boolean]",r_="[object Arguments]",o_="[object Symbol]",l_="[object Date]",a_="[object Map]",c_="[object Set]",u_="[object Array]",f_="[object ArrayBuffer]",d_="[object Object]",h_="[object DataView]",p_="[object Uint8Array]",m_="[object Uint8ClampedArray]",g_="[object Uint16Array]",v_="[object Uint32Array]",y_="[object Int8Array]",E_="[object Int16Array]",__="[object Int32Array]",b_="[object Float32Array]",N_="[object Float64Array]";function Ps(e,t,n,s=new Map,i=void 0){const r=i?.(e,t,n,s);if(r!==void 0)return r;if(ZE(e))return e;if(s.has(e))return s.get(e);if(Array.isArray(e)){const o=new Array(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Ps(e[l],l,n,s,i);return Object.hasOwn(e,"index")&&(o.index=e.index),Object.hasOwn(e,"input")&&(o.input=e.input),o}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){const o=new RegExp(e.source,e.flags);return o.lastIndex=e.lastIndex,o}if(e instanceof Map){const o=new Map;s.set(e,o);for(const[l,a]of e)o.set(l,Ps(a,l,n,s,i));return o}if(e instanceof Set){const o=new Set;s.set(e,o);for(const l of e)o.add(Ps(l,void 0,n,s,i));return o}if(XE(e))return e.subarray();if(YE(e)){const o=new(Object.getPrototypeOf(e)).constructor(e.length);s.set(e,o);for(let l=0;l<e.length;l++)o[l]=Ps(e[l],l,n,s,i);return o}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){const o=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof File<"u"&&e instanceof File){const o=new File([e],e.name,{type:e.type});return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof Blob<"u"&&e instanceof Blob){const o=new Blob([e],{type:e.type});return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof Error){const o=structuredClone(e);return s.set(e,o),o.message=e.message,o.name=e.name,o.stack=e.stack,o.cause=e.cause,o.constructor=e.constructor,Mn(o,e,n,s,i),o}if(e instanceof Boolean){const o=new Boolean(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof Number){const o=new Number(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(e instanceof String){const o=new String(e.valueOf());return s.set(e,o),Mn(o,e,n,s,i),o}if(typeof e=="object"&&S_(e)){const o=Object.create(Object.getPrototypeOf(e));return s.set(e,o),Mn(o,e,n,s,i),o}return e}function Mn(e,t,n=e,s,i){const r=[...Object.keys(t),...QE(t)];for(let o=0;o<r.length;o++){const l=r[o],a=Object.getOwnPropertyDescriptor(e,l);(a==null||a.writable)&&(e[l]=Ps(t[l],l,n,s,i))}}function S_(e){switch(e_(e)){case r_:case u_:case f_:case h_:case i_:case l_:case b_:case N_:case y_:case E_:case __:case a_:case s_:case d_:case t_:case c_:case n_:case o_:case p_:case m_:case g_:case v_:return!0;default:return!1}}function O_(e){return Ps(e,void 0,e,new Map,void 0)}const w_={tranverse(e,t){if(!e)return;function n(s,i){if(t(s,i)===!1)return;const o=s.children||[];for(let l=0,a=o.length;l<a;l++){const c={...i};n(o[l],{...i,parent:s}),i=c}}Array.isArray(e)?e.forEach(s=>n(s,{parent:null})):n(e,{parent:null})},search(e,t,n="node"){if(!e)return null;Array.isArray(e)&&(e={__fake:!0,children:e});const s=[];function i(o){const l=o.children||[];if(!o.__fake&&s.push(o),!o.__fake&&(s.push(o),t(o)))return o;for(let a=0,c=l.length;a<c;a++){const u=i(l[a]);if(u)return u}return!o.__fake&&s.pop(),!1}const r=i(e);return r?n==="node"?r:s:!1},filter(e,t,n="node"){if(!e)return e;Array.isArray(e)&&(e={_fake:!0,children:e}),e=O_(e);function s(i,r){const o={...r};return i.children=i.children?.filter(l=>s(l,r)),r=o,t(i,r)}return e.children=e.children?.filter(i=>s(i,{})),e._fake?e.children:e}};function yu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=Array(t);n<t;n++)s[n]=e[n];return s}function C_(e){if(Array.isArray(e))return e}function D_(e,t,n){return(t=M_(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x_(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var s,i,r,o,l=[],a=!0,c=!1;try{if(r=(n=n.call(e)).next,t!==0)for(;!(a=(s=r.call(n)).done)&&(l.push(s.value),l.length!==t);a=!0);}catch(u){c=!0,i=u}finally{try{if(!a&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return l}}function T_(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
38
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function _u(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Eu(Object(n),!0).forEach(function(s){D_(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eu(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function V_(e,t){if(e==null)return{};var n,s,i=k_(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(s=0;s<r.length;s++)n=r[s],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function k_(e,t){if(e==null)return{};var n={};for(var s in e)if({}.hasOwnProperty.call(e,s)){if(t.indexOf(s)!==-1)continue;n[s]=e[s]}return n}function A_(e,t){return C_(e)||x_(e,t)||P_(e,t)||T_()}function I_(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function M_(e){var t=I_(e,"string");return typeof t=="symbol"?t:t+""}function P_(e,t){if(e){if(typeof e=="string")return yu(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yu(e,t):void 0}}function L_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function Nu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bu(Object(n),!0).forEach(function(s){L_(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bu(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function F_(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(s){return t.reduceRight(function(i,r){return r(i)},s)}}function vi(e){return function t(){for(var n=this,s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return t.apply(n,[].concat(i,l))}}}function Qr(e){return{}.toString.call(e).includes("Object")}function R_(e){return!Object.keys(e).length}function Ki(e){return typeof e=="function"}function $_(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function j_(e,t){return Qr(t)||Zn("changeType"),Object.keys(t).some(function(n){return!$_(e,n)})&&Zn("changeField"),t}function H_(e){Ki(e)||Zn("selectorType")}function B_(e){Ki(e)||Qr(e)||Zn("handlerType"),Qr(e)&&Object.values(e).some(function(t){return!Ki(t)})&&Zn("handlersType")}function K_(e){e||Zn("initialIsRequired"),Qr(e)||Zn("initialType"),R_(e)&&Zn("initialContent")}function U_(e,t){throw new Error(e[t]||e.default)}var W_={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},Zn=vi(U_)(W_),hr={changes:j_,selector:H_,handler:B_,initial:K_};function z_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hr.initial(e),hr.handler(t);var n={current:e},s=vi(J_)(n,t),i=vi(G_)(n),r=vi(hr.changes)(e),o=vi(q_)(n);function l(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(u){return u};return hr.selector(c),c(n.current)}function a(c){F_(s,i,r,o)(c)}return[l,a]}function q_(e,t){return Ki(t)?t(e.current):t}function G_(e,t){return e.current=Nu(Nu({},e.current),t),t}function J_(e,t,n){return Ki(t)?t(e.current):Object.keys(n).forEach(function(s){var i;return(i=t[s])===null||i===void 0?void 0:i.call(t,e.current[s])}),n}var Z_={create:z_},Y_={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}};function X_(e){return function t(){for(var n=this,s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];return i.length>=e.length?e.apply(this,i):function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return t.apply(n,[].concat(i,l))}}}function Q_(e){return{}.toString.call(e).includes("Object")}function eb(e){return e||Su("configIsRequired"),Q_(e)||Su("configType"),e.urls?(tb(),{paths:{vs:e.urls.monacoBase}}):e}function tb(){console.warn(Rh.deprecation)}function nb(e,t){throw new Error(e[t]||e.default)}var Rh={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
|
|
36
39
|
You are using deprecated way of configuration.
|
|
37
40
|
|
|
38
41
|
Instead of using
|
|
@@ -41,15 +44,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
41
44
|
monaco.config({ paths: { vs: '...' } })
|
|
42
45
|
|
|
43
46
|
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
|
|
44
|
-
`},
|
|
45
|
-
`,s),r=i===-1?e.slice(s):e.slice(s,i);if(s=i===-1?e.length:i+1,r.startsWith("--- ")){if(t=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("+++ ")){if(n=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("@@"))break}return{origFilename:t,modFilename:n}}function
|
|
46
|
-
`),n=[];let s=null;for(const i of t){const r=i.match(/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);if(r){s={origStart:parseInt(r[1],10),origCount:r[2]!==void 0?parseInt(r[2],10):1,modStart:parseInt(r[3],10),modCount:r[4]!==void 0?parseInt(r[4],10):1,lines:[]},n.push(s);continue}if(s){if(i.startsWith("\\"))continue;s.lines.push(i)}}return n}const
|
|
47
|
+
`},Su=X_(nb)(Rh),sb={config:eb},ib=function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return function(i){return n.reduceRight(function(r,o){return o(r)},i)}};function $h(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],$h(e[n],t[n]))}),_u(_u({},e),t)}var rb={type:"cancelation",msg:"operation is manually canceled"};function Zo(e){var t=!1,n=new Promise(function(s,i){e.then(function(r){return t?i(rb):s(r)}),e.catch(i)});return n.cancel=function(){return t=!0},n}var ob=["monaco"],lb=Z_.create({config:Y_,isInitialized:!1,resolve:null,reject:null,monaco:null}),jh=A_(lb,2),Xi=jh[0],Do=jh[1];function ab(e){var t=sb.config(e),n=t.monaco,s=V_(t,ob);Do(function(i){return{config:$h(i.config,s),monaco:n}})}function cb(){var e=Xi(function(t){var n=t.monaco,s=t.isInitialized,i=t.resolve;return{monaco:n,isInitialized:s,resolve:i}});if(!e.isInitialized){if(Do({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),Zo(Yo);if(window.monaco&&window.monaco.editor)return Hh(window.monaco),e.resolve(window.monaco),Zo(Yo);ib(ub,db)(hb)}return Zo(Yo)}function ub(e){return document.body.appendChild(e)}function fb(e){var t=document.createElement("script");return e&&(t.src=e),t}function db(e){var t=Xi(function(s){var i=s.config,r=s.reject;return{config:i,reject:r}}),n=fb("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function hb(){var e=Xi(function(n){var s=n.config,i=n.resolve,r=n.reject;return{config:s,resolve:i,reject:r}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(n){var s=n.m||n;Hh(s),e.resolve(s)},function(n){e.reject(n)})}function Hh(e){Xi().monaco||Do({monaco:e})}function pb(){return Xi(function(e){var t=e.monaco;return t})}var Yo=new Promise(function(e,t){return Do({resolve:e,reject:t})}),Bh={config:ab,init:cb,__getMonacoInstance:pb};const La=function({isMaster:e=!1}={}){return{...Pa({isMaster:e,key:"diffViewer"})}},Kh=32,Fa=18,mb=24,Ra=8,gb=pt({__name:"MonacoDiffViewer",props:{originalCode:{default:""},modifiedCode:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})}},emits:["renderComplete"],setup(e,{emit:t}){const n=e,s=t,{funcs:i}=La(),r=i.canUnchangeVisible,o=ne(null),l=Un(null),a=Un(null),c=Un(null),u=Un(null);let f=!1;return un(()=>{f=!1,(async()=>{const h=await Bh.init();if(f||!o.value)return;l.value=h,c.value=h.editor.createModel(n.originalCode,n.language),u.value=h.editor.createModel(n.modifiedCode,n.language),a.value=h.editor.createDiffEditor(o.value,{automaticLayout:!0,readOnly:!0,renderSideBySide:!0,useInlineViewWhenSpaceIsLimited:!1,scrollBeyondLastLine:!1,lineHeight:Fa,hideUnchangedRegions:{enabled:!0,contextLineCount:3},...n.options,scrollbar:{verticalScrollbarSize:8,horizontalScrollbarSize:Ra,alwaysConsumeMouseWheel:!1,...n.options.scrollbar}}),a.value.setModel({original:c.value,modified:u.value}),Object.keys(n.modelOptions).length>0&&(c.value.updateOptions(n.modelOptions),u.value.updateOptions(n.modelOptions));const m=a.value.onDidUpdateDiff(()=>{const p=a.value?.getLineChanges()??[],S=(g,_)=>_===0?0:_-g+1,N=p.reduce((g,_)=>g+S(_.modifiedStartLineNumber,_.modifiedEndLineNumber),0),E=p.reduce((g,_)=>g+S(_.originalStartLineNumber,_.originalEndLineNumber),0);i.updateChangedLines?.({added:N,removed:E}),s("renderComplete"),m.dispose()})})()}),ws(()=>{f=!0,a.value?.dispose(),c.value?.dispose(),u.value?.dispose(),a.value=null,c.value=null,u.value=null,l.value=null}),ft(()=>n.options,d=>{a.value&&a.value.updateOptions(d)},{deep:!0}),ft(()=>n.originalCode,d=>{c.value&&c.value.getValue()!==d&&c.value.setValue(d)}),ft(()=>n.modifiedCode,d=>{u.value&&u.value.getValue()!==d&&u.value.setValue(d)}),ft(()=>n.language,d=>{const h=l.value,m=c.value,p=u.value;!h||!m||!p||(h.editor.setModelLanguage(m,d),h.editor.setModelLanguage(p,d))}),ft(()=>n.modelOptions,d=>{!c.value||!u.value||(c.value.updateOptions(d),u.value.updateOptions(d))},{deep:!0}),(d,h)=>(fe(),Ce("div",{ref_key:"containerEl",ref:o,class:xe(["monaco-editor-container",{"hide-unchanged-actions":!Y(r)}])},null,2))}}),vb=kn(gb,[["__scopeId","data-v-715fa2d2"]]);function Uh(e){let t="",n="",s=0;for(;s<e.length;){const i=e.indexOf(`
|
|
48
|
+
`,s),r=i===-1?e.slice(s):e.slice(s,i);if(s=i===-1?e.length:i+1,r.startsWith("--- ")){if(t=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("+++ ")){if(n=r.slice(4).trim(),t&&n)break;continue}if(r.startsWith("@@"))break}return{origFilename:t,modFilename:n}}function Wh(e){const t=e.split(`
|
|
49
|
+
`),n=[];let s=null;for(const i of t){const r=i.match(/^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);if(r){s={origStart:parseInt(r[1],10),origCount:r[2]!==void 0?parseInt(r[2],10):1,modStart:parseInt(r[3],10),modCount:r[4]!==void 0?parseInt(r[4],10):1,lines:[]},n.push(s);continue}if(s){if(i.startsWith("\\"))continue;s.lines.push(i)}}return n}const yb={class:"title-area"},Eb={class:"filename"},_b={class:"diff-line-num"},bb={key:0,class:"add"},Nb={key:1,class:"del"},Sb={class:"toolbar"},Ob=["checked"],wb={key:0},Cb=["checked"],Db=pt({__name:"TopBar",props:{diffPair:{default:()=>[]},diffPatch:{default:""}},setup(e){const{funcs:t,registerFunc:n}=La(),s=e,i=ie(()=>{const[S,N]=s.diffPair;if(!S||!N)return"changed";const E=S.content===null,g=N.content===null;return E&&!g?"add":!E&&g?"del":S.filename!==N.filename?"rename":"changed"}),r=ie(()=>({changed:"changed",add:"added",del:"deleted",rename:"renamed"})[i.value]),o=ie(()=>{const[S,N]=s.diffPair;return S?i.value==="rename"?`${S.filename} → ${N.filename}`:S.filename:""}),{viewed:l,rawed:a,canUnchangeVisible:c}=t,u=function(S){const N=S.target.checked;t.updateViewed(N)},f=function(S){const N=S.target.checked;t.updateRawed(N)};un(()=>{});const d=ne({added:0,removed:0}),h=ie(()=>{const S={added:0,removed:0};for(const N of Wh(s.diffPatch))for(const E of N.lines)E.startsWith("+")?S.added++:E.startsWith("-")&&S.removed++;return S}),m=ie(()=>s.diffPatch?h.value:d.value);function p(S){Object.assign(d.value,S)}return n({viewed:l,rawed:a,updateChangedLines:p}),(S,N)=>(fe(),Ce("div",{class:"top-bar-wrap",style:qe({height:`${Y(Kh)}px`})},[ae("div",yb,[ae("div",Eb,sn(o.value),1),ae("span",{class:xe(["diff-type-tag",i.value])},sn(r.value),3),ae("div",_b,[i.value!=="del"?(fe(),Ce("div",bb,"+"+sn(m.value.added),1)):Cn("",!0),i.value!=="add"?(fe(),Ce("div",Nb,"-"+sn(m.value.removed),1)):Cn("",!0)])]),ae("div",Sb,[ae("label",null,[ae("input",{type:"checkbox",checked:Y(l),onChange:u},null,40,Ob),N[0]||(N[0]=_s(" viewed ",-1))]),Y(c)?(fe(),Ce("label",wb,[ae("input",{type:"checkbox",checked:Y(a),onChange:f},null,40,Cb),N[1]||(N[1]=_s(" raw ",-1))])):Cn("",!0)])],4))}}),xb=kn(Db,[["__scopeId","data-v-e0325530"]]),zh=function(e){if(!e)return{pair:[{filename:"",content:""},{filename:"",content:""}],changedLineBlocks:[],totalLines:1};const{origFilename:t,modFilename:n}=Uh(e),s=Wh(e),i=[],r=[],o=[],l=[],a=[],c=()=>{const d=Math.max(l.length,a.length);if(d>0){const h=Math.max(i.length,r.length)+1;o.push({start:h,end:h+d-1})}for(let h=0;h<d;h++)i.push(l[h]??""),r.push(a[h]??"");l.length=0,a.length=0};let u=1,f=1;for(const d of s){for(;u<d.origStart;)i.push(""),u++;for(;f<d.modStart;)r.push(""),f++;for(const h of d.lines){const m=h[0],p=h.slice(1);m===" "?(c(),i.push(p),r.push(p),u++,f++):m==="-"?(l.push(p),u++):m==="+"&&(a.push(p),f++)}c()}return{pair:[{filename:t,content:i.join(`
|
|
47
50
|
`)},{filename:n,content:r.join(`
|
|
48
|
-
`)}]};class
|
|
51
|
+
`)}],changedLineBlocks:o,totalLines:Math.max(i.length,r.length)}},Tb=function(e){return zh(e).pair};class Vb{diff(t,n,s={}){let i;typeof s=="function"?(i=s,s={}):"callback"in s&&(i=s.callback);const r=this.castInput(t,s),o=this.castInput(n,s),l=this.removeEmpty(this.tokenize(r,s)),a=this.removeEmpty(this.tokenize(o,s));return this.diffWithOptionsObj(l,a,s,i)}diffWithOptionsObj(t,n,s,i){var r;const o=E=>{if(E=this.postProcess(E,s),i){setTimeout(function(){i(E)},0);return}else return E},l=n.length,a=t.length;let c=1,u=l+a;s.maxEditLength!=null&&(u=Math.min(u,s.maxEditLength));const f=(r=s.timeout)!==null&&r!==void 0?r:1/0,d=Date.now()+f,h=[{oldPos:-1,lastComponent:void 0}];let m=this.extractCommon(h[0],n,t,0,s);if(h[0].oldPos+1>=a&&m+1>=l)return o(this.buildValues(h[0].lastComponent,n,t));let p=-1/0,S=1/0;const N=()=>{for(let E=Math.max(p,-c);E<=Math.min(S,c);E+=2){let g;const _=h[E-1],y=h[E+1];_&&(h[E-1]=void 0);let w=!1;if(y){const T=y.oldPos-E;w=y&&0<=T&&T<l}const P=_&&_.oldPos+1<a;if(!w&&!P){h[E]=void 0;continue}if(!P||w&&_.oldPos<y.oldPos?g=this.addToPath(y,!0,!1,0,s):g=this.addToPath(_,!1,!0,1,s),m=this.extractCommon(g,n,t,E,s),g.oldPos+1>=a&&m+1>=l)return o(this.buildValues(g.lastComponent,n,t))||!0;h[E]=g,g.oldPos+1>=a&&(S=Math.min(S,E-1)),m+1>=l&&(p=Math.max(p,E+1))}c++};if(i)(function E(){setTimeout(function(){if(c>u||Date.now()>d)return i(void 0);N()||E()},0)})();else for(;c<=u&&Date.now()<=d;){const E=N();if(E)return E}}addToPath(t,n,s,i,r){const o=t.lastComponent;return o&&!r.oneChangePerToken&&o.added===n&&o.removed===s?{oldPos:t.oldPos+i,lastComponent:{count:o.count+1,added:n,removed:s,previousComponent:o.previousComponent}}:{oldPos:t.oldPos+i,lastComponent:{count:1,added:n,removed:s,previousComponent:o}}}extractCommon(t,n,s,i,r){const o=n.length,l=s.length;let a=t.oldPos,c=a-i,u=0;for(;c+1<o&&a+1<l&&this.equals(s[a+1],n[c+1],r);)c++,a++,u++,r.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return u&&!r.oneChangePerToken&&(t.lastComponent={count:u,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=a,c}equals(t,n,s){return s.comparator?s.comparator(t,n):t===n||!!s.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){const n=[];for(let s=0;s<t.length;s++)t[s]&&n.push(t[s]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,s){const i=[];let r;for(;t;)i.push(t),r=t.previousComponent,delete t.previousComponent,t=r;i.reverse();const o=i.length;let l=0,a=0,c=0;for(;l<o;l++){const u=i[l];if(u.removed)u.value=this.join(s.slice(c,c+u.count)),c+=u.count;else{if(!u.added&&this.useLongestToken){let f=n.slice(a,a+u.count);f=f.map(function(d,h){const m=s[c+h];return m.length>d.length?m:d}),u.value=this.join(f)}else u.value=this.join(n.slice(a,a+u.count));a+=u.count,u.added||(c+=u.count)}}return i}}class kb extends Vb{constructor(){super(...arguments),this.tokenize=Mb}equals(t,n,s){return s.ignoreWhitespace?((!s.newlineIsToken||!t.includes(`
|
|
49
52
|
`))&&(t=t.trim()),(!s.newlineIsToken||!n.includes(`
|
|
50
53
|
`))&&(n=n.trim())):s.ignoreNewlineAtEof&&!s.newlineIsToken&&(t.endsWith(`
|
|
51
54
|
`)&&(t=t.slice(0,-1)),n.endsWith(`
|
|
52
|
-
`)&&(n=n.slice(0,-1))),super.equals(t,n,s)}}const
|
|
53
|
-
`));const n=[],s=e.split(/(\n|\r\n)/);s[s.length-1]||s.pop();for(let i=0;i<s.length;i++){const r=s[i];i%2&&!t.newlineIsToken?n[n.length-1]+=r:n.push(r)}return n}const
|
|
54
|
-
`),c=
|
|
55
|
-
`),f=Math.max(l.length,c.length);if(s)return Math.max(t,Math.min(f*zp,n));const{blocks:a,totalLines:u}=j_(r,o);if(a.length===0)return t;const p=Jp(u,i,n);for(const g of a)if(p.feed(g.start,g.end),p.maxReached)return n;let h=p.flush();return h=Math.max(t,h),h=Math.min(n,h),h},U_=e=>{if(e.endsWith("vh")){const t=parseFloat(e);return Math.round(t/100*document.documentElement.clientHeight)}return Math.round(parseFloat(e))},K_=function({id:e,patch:t,pair:n,maxHeight:s,minHeight:i,unchangedVisiable:r,unchangedCtxLineNum:o}){const l=r?"visible":"hidden",c=Ia.get(e)||{},f=c?.[l];if(f!==void 0)return f;const[a,u]=[i,s].map(U_),p={minPx:a,maxPx:u,unchangedVisiable:r,unchangedCtxLineNum:o},h=t?H_({patch:t,...p}):B_({pair:n,...p});return Ia.set(e,{...c,[l]:h}),h},W_={class:"content-wrap"},q_=Kn({__name:"DiffViewer",props:{diffPair:{default:()=>[]},diffPatch:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})},viewerStyle:{}},setup(e){const t=Ty,n=$e(!0),s=Vy(),i=performance.now(),r=async()=>{const m=performance.now()-i;console.log(`[DiffViewer] 渲染耗时: ${m.toFixed(2)} ms`),n.value=!1},o=e,l=$e(o.diffPair||null);(function(){l.value?.length||(l.value=P_(o.diffPatch))})(),console.log(`[DiffViewer] patch耗时: ${(performance.now()-i).toFixed(2)} ms`);const f=ft(()=>l.value[0]?.content??""),a=ft(()=>l.value[1]?.content??""),{funcs:u,registerFunc:p}=Yl({isMaster:!0}),h=ft(()=>{const m=!D.value;let _=o.options.hideUnchangedRegions||{};return!m&&v.value?_={enabled:!1,..._}:_={enabled:!0,contextLineCount:3,minimumLineCount:1,..._},{...o.options,hideUnchangedRegions:_}}),g=$e(!1),v=$e(!1),D=$e(!o.diffPatch),V=ft(()=>{if(o.viewerStyle?.height)return o.viewerStyle.height;const m={minHeight:"100px",maxHeight:"250px",...o.viewerStyle||{}};return`${K_({id:s,patch:o.diffPatch,pair:o.diffPair,...m,unchangedVisiable:u.rawed.value,unchangedCtxLineNum:h.value.hideUnchangedRegions.contextLineCount})+qp}px`}),N=ft(()=>({"--viewer-width":o.viewerStyle?.width||"100%","--viewer-height":V.value}));return p({viewed:g,rawed:v,canUnchangeVisible:D}),(m,_)=>(Fe(),St("div",{class:"diff-viewer-wrap",style:dt(N.value)},[me(A_,{class:"top-bar",diffPair:l.value},null,8,["diffPair"]),al((Fe(),St("div",W_,[me(__,{class:"monaco-container",style:dt({opacity:n.value?0:1}),originalCode:f.value,modifiedCode:a.value,language:e.language,options:h.value,modelOptions:e.modelOptions,onRenderComplete:r},null,8,["style","originalCode","modifiedCode","language","options","modelOptions"])])),[[Fr,!g.value],[Ot(t),n.value]])],4))}}),G_=Kr(q_,[["__scopeId","data-v-60fd90ca"]]),Yp="wtool-diff-viewer",Xl=Sl(G_,{shadowRoot:!1});function Xp(e=Yp){customElements.get(e)||customElements.define(e,Xl)}function Pa(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function z_(e,t={}){Xp();const n=new Xl;return Pa(n,t),e.appendChild(n),{update(s){Pa(n,s)},destroy(){n.remove()}}}exports.WTOOL_DIFF_VIEWER_TAG=Yp;exports.WtoolDiffViewer=Xl;exports.createDiffViewer=z_;exports.loader=Wp;exports.registerDiffViewer=Xp;
|
|
55
|
+
`)&&(n=n.slice(0,-1))),super.equals(t,n,s)}}const Ab=new kb;function Ib(e,t,n){return Ab.diff(e,t,n)}function Mb(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
56
|
+
`));const n=[],s=e.split(/(\n|\r\n)/);s[s.length-1]||s.pop();for(let i=0;i<s.length;i++){const r=s[i];i%2&&!t.newlineIsToken?n[n.length-1]+=r:n.push(r)}return n}const Ou=new Map;function Pb(e,t){const n=Ib(e,t),s=[];let i=1,r=0,o=0;const l=()=>{const a=Math.max(r,o);a>0&&(s.push({start:i,end:i+a-1}),i+=a,r=0,o=0)};for(const a of n){const c=a.count??0;a.removed?r+=c:a.added?o+=c:(l(),i+=c)}return l(),{blocks:s,totalLines:Math.max(0,i-1)}}function qh(e,t,n,s){let i=0,r=0,o=-1,l=-1;const a=()=>i*Fa+r*mb+Ra,c=()=>{o!==-1&&(o>1&&(r+=1),i+=l-o+1,o=-1,l=-1)};return{feed(u,f){let d=Math.max(1,u-t);const h=Math.min(e,f+t);if(l===-1){d-1<n&&(d=1),o=d,l=h;return}const m=d-l-1;m>0&&m>=n?(c(),o=d,l=h):l=Math.max(l,h)},flush(){const u=l;c();const f=e-u;return i>0&&f>0&&(f>=n?r+=1:i+=f),a()},get usedPx(){return a()},get gaps(){return r},get maxReached(){return a()>=s}}}const Lb=function({patch:e,minPx:t,maxPx:n,unchangedCtxLineNum:s,unchangedMinLineNum:i}){const{changedLineBlocks:r,totalLines:o}=zh(e);if(r.length===0)return t;const l=qh(o,s,i,n);for(const a of r)if(l.feed(a.start,a.end),l.maxReached)return n;return Math.min(n,Math.max(t,l.flush()))},Fb=function({pair:e,minPx:t,maxPx:n,unchangedVisiable:s,unchangedCtxLineNum:i,unchangedMinLineNum:r}){if(!e||e.length<2)return t;const o=e[0].content??"",l=e[1].content??"",a=o.split(`
|
|
57
|
+
`),c=l.split(`
|
|
58
|
+
`),u=Math.max(a.length,c.length);if(s){const p=u*Fa+Ra;return Math.max(t,Math.min(p,n))}const{blocks:f,totalLines:d}=Pb(o,l);if(f.length===0)return t;const h=qh(d,i,r,n);for(const p of f)if(h.feed(p.start,p.end),h.maxReached)return n;let m=h.flush();return m=Math.max(t,m),m=Math.min(n,m),m},Gh=e=>{if(e.endsWith("vh")){const t=parseFloat(e);return Math.round(t/100*document.documentElement.clientHeight)}return Math.round(parseFloat(e))},Jh=function({id:e,patch:t,pair:n,maxHeight:s,minHeight:i,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l=1}){const a=r?"visible":"hidden",[c,u]=[i,s].map(Gh),f=n?.[0]?.content,d=n?.[1]?.content,h=Ou.get(e),m=h?.patch===t&&h?.origContent===f&&h?.modContent===d&&h?.minPx===c&&h?.maxPx===u&&h?.unchangedCtxLineNum===o&&h?.unchangedMinLineNum===l,p=m?h.heights[a]:void 0;if(p!==void 0)return p;const S={minPx:c,maxPx:u,unchangedVisiable:r,unchangedCtxLineNum:o,unchangedMinLineNum:l},N=t?Lb({patch:t,...S}):Fb({pair:n,...S});return Ou.set(e,{patch:t,origContent:f,modContent:d,minPx:c,maxPx:u,unchangedCtxLineNum:o,unchangedMinLineNum:l,heights:{...m?h.heights:{},[a]:N}}),N},Rb={class:"content-wrap"},$b=pt({__name:"DiffViewer",props:{fileId:{default:""},diffPair:{default:()=>[]},diffPatch:{default:""},language:{default:"plaintext"},options:{default:()=>({})},modelOptions:{default:()=>({})},viewerStyle:{}},emits:["viewStateChange"],setup(e,{emit:t}){const n=t,s=CE,i=ne(!0),r=performance.now(),o=async()=>{const _=performance.now()-r;console.log(`[DiffViewer] 渲染耗时: ${_.toFixed(2)} ms`),i.value=!1},l=e,a=ne(l.diffPair||null);(function(){a.value?.length||(a.value=Tb(l.diffPatch))})(),console.log(`[DiffViewer] patch耗时: ${(performance.now()-r).toFixed(2)} ms`);const u=ie(()=>a.value[0]?.content??""),f=ie(()=>a.value[1]?.content??""),{funcs:d,registerFunc:h}=La({isMaster:!0}),m=ie(()=>{const _=!N.value;let y=l.options.hideUnchangedRegions||{};return!_&&S.value?y={enabled:!1,...y}:y={enabled:!0,contextLineCount:3,minimumLineCount:1,...y},{...l.options,hideUnchangedRegions:y}}),p=ne(l.viewerStyle?.viewed??!1),S=ne(l.viewerStyle?.rawed??!1),N=ne(!l.diffPatch),E=ie(()=>{if(l.viewerStyle?.height)return l.viewerStyle.height;const _={minHeight:"100px",maxHeight:"250px",...l.viewerStyle||{}},y=l.fileId||GE();return`${Jh({id:y,patch:l.diffPatch,pair:l.diffPair,..._,unchangedVisiable:d.rawed.value,unchangedCtxLineNum:m.value.hideUnchangedRegions.contextLineCount??3,unchangedMinLineNum:m.value.hideUnchangedRegions.minimumLineCount??1})}px`}),g=ie(()=>({"--viewer-width":l.viewerStyle?.width||"100%","--viewer-height":E.value}));return h({viewed:p,updateViewed(_){p.value=_,n("viewStateChange",{rawed:S.value,viewed:_})},rawed:S,updateRawed(_){S.value=_,n("viewStateChange",{rawed:_,viewed:p.value})},canUnchangeVisible:N}),(_,y)=>(fe(),Ce("div",{class:"diff-viewer-wrap",style:qe(g.value),"on:viewStateChange":y[0]||(y[0]=()=>{})},[_e(xb,{class:"top-bar",diffPair:a.value,diffPatch:e.diffPatch},null,8,["diffPair","diffPatch"]),zn((fe(),Ce("div",Rb,[_e(vb,{class:"monaco-container",style:qe({opacity:i.value?0:1}),originalCode:u.value,modifiedCode:f.value,language:e.language,options:m.value,modelOptions:e.modelOptions,onRenderComplete:o},null,8,["style","originalCode","modifiedCode","language","options","modelOptions"])])),[[Gn,!p.value],[Y(s),i.value]])],36))}}),Zh=kn($b,[["__scopeId","data-v-cfac6974"]]),Yh="wtool-diff-viewer",$a=No(Zh,{shadowRoot:!1});function Xh(e=Yh){customElements.get(e)||customElements.define(e,$a)}function wu(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function jb(e,t={}){Xh();const n=new $a;return wu(n,t),e.appendChild(n),{update(s){wu(n,s)},destroy(){n.remove()}}}var Hb=Object.defineProperty,Bb=(e,t,n)=>t in e?Hb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,je=(e,t,n)=>(Bb(e,typeof t!="symbol"?t+"":t,n),n);const Kb=["_level","_filterVisible","_parent","_loading","_loaded","_remote","_keyField","children","setChildren"];class Kn{constructor(t,n=null,s="id",i=!1){je(this,"_level",0),je(this,"checked",!1),je(this,"selected",!1),je(this,"indeterminate",!1),je(this,"disabled",!1),je(this,"expand",!1),je(this,"visible",!0),je(this,"_filterVisible",!0),je(this,"_parent",null),je(this,"children",[]),je(this,"isLeaf",!1),je(this,"_loading",!1),je(this,"_loaded",!1),this._keyField=s,this._remote=i;for(let r in t)Kb.indexOf(r)===-1&&(this[r]=t[r]);this[s]==null&&(this[s]=Math.random().toString(36).substring(2)),this._parent=n,this._parent&&(this._level=this._parent._level+1),this.visible=this._parent===null||this._parent.expand&&this._parent.visible,Array.isArray(t.children)&&this.setChildren(t.children),this.children.length&&(this._loaded=!0),this._remote||(this.isLeaf=!this.children.length)}setChildren(t){this.children=t.map(n=>new Kn(Object.assign({},n),this,this._keyField,this._remote))}}var eo=(e=>(e.none="none",e.parents="parents",e.children="children",e))(eo||{}),Qh=(e=>(e["bottom-start"]="bottom-start",e["bottom-end"]="bottom-end",e.bottom="bottom",e["top-start"]="top-start",e["top-end"]="top-end",e.top="top",e))(Qh||{}),Sr=(e=>(e.top="top",e.center="center",e.bottom="bottom",e))(Sr||{}),tn=(e=>(e.before="before",e.body="body",e.after="after",e))(tn||{}),Ml=(e=>(e.dashed="dashed",e.solid="solid",e))(Ml||{});class Ub{constructor(){je(this,"listenersMap",{})}on(t,n){this.listenersMap[t]||(this.listenersMap[t]=[]);let s=[];Array.isArray(n)?s=n:s=[n],s.forEach(i=>{this.listenersMap[t].indexOf(i)===-1&&this.listenersMap[t].push(i)})}off(t,n){if(this.listenersMap[t])if(!n)this.listenersMap[t]=[];else{const s=this.listenersMap[t].indexOf(n);s>-1&&this.listenersMap[t].splice(s,1)}}emit(t,...n){if(!this.listenersMap[t])return;const s=this.listenersMap[t].length;for(let i=0;i<s;i++)this.listenersMap[t][i](...n)}disposeListeners(){for(const t in this.listenersMap)this.listenersMap[t]=[]}}class Wb extends Ub{constructor(t){super(),je(this,"data",[]),je(this,"flatData",[]),je(this,"mapData",Object.create(null)),je(this,"unloadCheckedKeys",[]),je(this,"unloadSelectedKey",null),je(this,"currentSelectedKey",null),this.options=t}insertIntoFlatData(t,n){this.flatData=this.flatData.slice(0,t).concat(n,this.flatData.slice(t))}setData(t,n=null,s=null){this.data=t.map(i=>new Kn(i,null,this.options.keyField,!!this.options.load));for(let i in this.mapData)delete this.mapData[i];this.currentSelectedKey=null,this.flatData=this.flattenData(this.data),this.setUnloadCheckedKeys(s||[]),n&&(this.currentSelectedKey=null,this.setUnloadSelectedKey(n)),this.emit("visible-data-change"),this.emit("set-data")}setChecked(t,n,s=!0,i=!0,r=!1){const o=this.mapData[t];if(!o)return this.setUnloadChecked(t,n,s,i);o.disabled||o.checked&&n||!o.checked&&!o.indeterminate&&!n||(this.options.cascade?(this.checkNodeDownward(o,n,r),this.checkNodeUpward(o)):o.checked=n,s&&(o.checked?this.emit("check",o):this.emit("uncheck",o)),this.triggerCheckedChange(s,i))}setUnloadChecked(t,n,s=!0,i=!0){const r=this.findIndex(t,this.unloadCheckedKeys);n?r===-1&&this.unloadCheckedKeys.push(t):r!==-1&&this.unloadCheckedKeys.splice(r,1),this.triggerCheckedChange(s,i)}setCheckedKeys(t,n,s=!0,i=!0){t.forEach(r=>{this.setChecked(r,n,!1,!1)}),this.triggerCheckedChange(s,i)}checkAll(t=!0,n=!0){if(this.options.cascade){const s=i=>{i.forEach(r=>{r.disabled?s(r.children):this.setChecked(r[this.options.keyField],!0,!1,!1)})};s(this.data)}else{const s=this.flatData.length;for(let i=0;i<s;i++){const r=this.flatData[i];this.setChecked(r[this.options.keyField],!0,!1,!1)}}this.triggerCheckedChange(t,n)}clearChecked(t=!0,n=!0){this.getCheckedNodes().forEach(s=>{this.setChecked(s[this.options.keyField],!1,!1,!1)}),this.unloadCheckedKeys=[],this.triggerCheckedChange(t,n)}triggerCheckedChange(t=!0,n=!0){t&&this.emit("checked-change",this.getCheckedNodes(),this.getCheckedKeys()),n&&this.emit("render-data-change")}triggerSelectedChange(t=!0,n=!0){t&&this.emit("selected-change",this.getSelectedNode(),this.getSelectedKey()),n&&this.emit("render-data-change")}setSelected(t,n,s=!0,i=!0){const r=this.mapData[t];if(!r)return this.setUnloadSelected(t,n,s,i);r.disabled||r.selected!==n&&(t===this.currentSelectedKey?n||(r.selected=n,this.currentSelectedKey=null):n&&(this.currentSelectedKey!==null&&this.mapData[this.currentSelectedKey]&&(this.mapData[this.currentSelectedKey].selected=!1),r.selected=n,this.currentSelectedKey=r[this.options.keyField],this.unloadSelectedKey=null),s&&(r.selected?this.emit("select",r):this.emit("unselect",r)),this.triggerSelectedChange(s,i))}setUnloadSelected(t,n,s=!0,i=!0){n?(this.currentSelectedKey=null,this.unloadSelectedKey=t):this.unloadSelectedKey===t&&(this.unloadSelectedKey=null),this.triggerSelectedChange(s,i)}clearSelected(t=!0,n=!0){this.currentSelectedKey&&this.mapData[this.currentSelectedKey]?this.setSelected(this.currentSelectedKey,!1,t,n):this.unloadSelectedKey!==null&&(this.unloadSelectedKey=null,this.triggerSelectedChange(t,n))}setExpand(t,n,s=!1,i=!0,r=!0){const o=this.mapData[t];if(!(!o||!s&&o.isLeaf)&&o.expand!==n){if(!o.isLeaf){if(typeof this.options.load=="function"){if(!o._loaded&&!o._loading&&n){o._loading=!0,r&&this.emit("visible-data-change"),new Promise((a,c)=>{const u=this.options.load;u(o,a,c)}).then(a=>{Array.isArray(a)&&(this.loadChildren(o,a,n),this.emit("set-data"))}).catch(a=>{let c=a;a instanceof Error||(c=new Error(a)),console.error("[VTree] load tree nodes error.",c)}).then(()=>{o._loading=!1,i&&this.emit("expand",o),r&&this.emit("visible-data-change")});return}else if(o._loading)return}o.expand=n;let l=o.children.concat();for(;l.length;){const a=l.pop();a&&(a.expand&&a.children.length&&(l=a.children.concat(l)),a._filterVisible===!1?a.visible=!1:a.visible=a._parent===null||a._parent.expand&&a._parent.visible)}i&&this.emit("expand",o),r&&this.emit("visible-data-change")}s&&o._parent&&n&&this.setExpand(o._parent[this.options.keyField],n,s,!1,r)}}setExpandKeys(t,n,s=!0){t.forEach(i=>{this.setExpand(i,n,!1,!1,!1)}),s&&this.emit("visible-data-change")}setExpandAll(t,n=!0){this.flatData.forEach(s=>{(!this.options.load||s._loaded)&&this.setExpand(s[this.options.keyField],t,!1,!1,!1)}),n&&this.emit("visible-data-change")}isChildrenChanged(t,n){var s;return"children"in n&&(!!t.children.length||!!((s=n.children)!=null&&s.length))}updateNode(t,n,s=!0,i=!0){var r;const o=this.mapData[t];if(!o)return;const l={},a=[this.options.keyField,"indeterminate","visible","isLeaf"];Object.keys(n).forEach(m=>{!m.startsWith("_")&&!a.includes(m)&&(l[m]=n[m])});const c=this.getCheckedKeys(),u=this.getSelectedKey();let f=this.isChildrenChanged(o,l);"children"in l&&(o.children.length||(r=l.children)!=null&&r.length)&&(this.removeChildren(t,!1,!1),Array.isArray(l.children)&&this.loadChildren(o,l.children,o.expand),delete l.children),"checked"in l&&(this.setChecked(t,l.checked,!1,!1),delete l.checked),"selected"in l&&(this.setSelected(t,l.selected,!1,!1),delete l.selected),"expand"in l&&(this.setExpand(t,l.expand,!1,!1,!1),delete l.expand),Object.keys(l).forEach(m=>{o[m]=l[m]});const d=this.getCheckedKeys(),h=this.getSelectedKey();s&&(JSON.stringify(d.sort())!==JSON.stringify(c.sort())&&this.triggerCheckedChange(!0,!1),h!==u&&this.triggerSelectedChange(!0,!1)),i&&(f&&this.emit("set-data"),this.emit("visible-data-change"))}updateNodes(t){const n=t.filter(a=>a[this.options.keyField]!=null);if(!n.length)return;const s=this.getCheckedKeys(),i=this.getSelectedKey();let r=!1;n.forEach(a=>{const c=a[this.options.keyField],u=this.mapData[c];u&&(r=r||this.isChildrenChanged(u,a),this.updateNode(c,a,!1,!1))});const o=this.getCheckedKeys(),l=this.getSelectedKey();JSON.stringify(o.sort())!==JSON.stringify(s.sort())&&this.triggerCheckedChange(!0,!1),l!==i&&this.triggerSelectedChange(!0,!1),r&&this.emit("set-data"),this.emit("visible-data-change")}getCheckedNodes(t=this.options.ignoreMode){if(t===eo.children){const n=[],s=i=>{i.forEach(r=>{r.checked?n.push(r):!r.isLeaf&&r.indeterminate&&s(r.children)})};return s(this.data),n}else return this.flatData.filter(n=>t===eo.parents?n.checked&&n.isLeaf:n.checked)}getCheckedKeys(t=this.options.ignoreMode){return this.getCheckedNodes(t).map(n=>n[this.options.keyField]).concat(this.unloadCheckedKeys)}getIndeterminateNodes(){return this.flatData.filter(t=>t.indeterminate)}getSelectedNode(){return this.currentSelectedKey===null?null:this.mapData[this.currentSelectedKey]||null}getSelectedKey(){return this.currentSelectedKey||this.unloadSelectedKey||null}getUnloadCheckedKeys(){return this.unloadCheckedKeys}getExpandNodes(){return this.flatData.filter(t=>!t.isLeaf&&t.expand)}getExpandKeys(){return this.getExpandNodes().map(t=>t[this.options.keyField])}getNode(t){return this.mapData[t]||null}insertBefore(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n]._parent,l=this.findIndex(n,o&&o.children),a=this.findIndex(n),c=o&&-1||this.findIndex(n,this.data);return this.insertIntoStore(r,o,l,a,c,s,i),i&&this.emit("visible-data-change"),r}insertAfter(t,n,s=!0,i=!0){const r=this.getInsertedNode(t,n);if(!r)return null;this.remove(r[this.options.keyField],!1,!1);const o=this.mapData[n],l=o._parent,a=this.findIndex(n,l&&l.children)+1,c=this.flatData.length,u=this.findIndex(n);let f=u+1;for(let h=u+1;h<=c;h++){if(h===c){f=h;break}if(this.flatData[h]._level<=o._level){f=h;break}}const d=l&&-1||this.findIndex(n,this.data)+1;return this.insertIntoStore(r,l,a,f,d,s,i),i&&this.emit("visible-data-change"),r}append(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf){const a=r.children.length;return this.insertAfter(t,r.children[a-1][this.options.keyField],s,i)}const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}prepend(t,n,s=!0,i=!0){const r=this.mapData[n];if(!r.isLeaf)return this.insertBefore(t,r.children[0][this.options.keyField],s,i);const o=this.getInsertedNode(t,n,!0);if(!o)return null;this.remove(o[this.options.keyField],!1,!1);const l=this.findIndex(n)+1;return this.insertIntoStore(o,r,0,l,void 0,s,i),i&&this.emit("visible-data-change"),o}remove(t,n=!0,s=!0){const i=this.mapData[t];if(!i)return null;const r=this.findIndex(i);if(r===-1)return null;let o=1;const l=this.flatData.length;for(let c=r+1;c<l&&this.flatData[c]._level>i._level;c++)o++;this.flatData.splice(r,o);const a=c=>{const u=this.mapData[c];delete this.mapData[c],u.children.forEach(f=>a(f[this.options.keyField]))};if(a(t),!i._parent){const c=this.findIndex(i,this.data);c>-1&&this.data.splice(c,1)}if(i._parent){const c=this.findIndex(i,i._parent.children);c!==-1&&i._parent.children.splice(c,1),i._parent.isLeaf=!i._parent.children.length,i._parent.isLeaf&&(i._parent.expand=!1,i._parent.indeterminate=!1),this.updateMovingNodeStatus(i,n,s)}return s&&this.emit("visible-data-change"),i}removeChildren(t,n=!0,s=!0){const i=this.mapData[t];if(!i||!i.children.length)return null;let r=i.children[0];const o=this.findIndex(i);if(o===-1)return null;let l=0;const a=this.flatData.length;for(let c=o+1;c<a&&this.flatData[c]._level>i._level;c++)delete this.mapData[this.flatData[c][this.options.keyField]],l++,this.flatData[c].selected&&(r=this.flatData[c]);return this.flatData.splice(o+1,l),i.children.splice(0,i.children.length),i.isLeaf=!0,i.indeterminate=!1,this.updateMovingNodeStatus(r,n,s),s&&this.emit("visible-data-change"),i}loadChildren(t,n,s){const i=this.findIndex(t);if(i===-1)return;t._loaded=!0,t.expand=s,t.setChildren(n),t.isLeaf=!t.children.length;const r=this.getCheckedKeys(),o=this.flattenData(t.children,this.getSelectedKey()===null);this.insertIntoFlatData(i+1,o),this.setUnloadCheckedKeys(r),this.unloadSelectedKey!==null&&this.setUnloadSelectedKey(this.unloadSelectedKey),this.checkNodeUpward(t,!0)}getInsertedNode(t,n,s=!1){const i=this.mapData[n];if(!i)return null;const r=s?i:i._parent;return t instanceof Kn?t[this.options.keyField]===n?null:t:typeof t=="object"?t[this.options.keyField]===n?null:this.mapData[t[this.options.keyField]]||new Kn(t,r,this.options.keyField,!!this.options.load):!this.mapData[t]||t===n?null:this.mapData[t]}insertIntoStore(t,n,s,i,r,o=!0,l=!0){if(i===-1)return;s!==-1&&n&&n.children.splice(s,0,t),t._parent=n,n?(n.isLeaf=!1,this.setExpand(n[this.options.keyField],!0,!1,!1,!1)):typeof r=="number"&&r>-1&&this.data.splice(r,0,t);const a=this.flattenData([t]);t._level=n?n._level+1:0,a.forEach(c=>c._level=c._parent?c._parent._level+1:0),this.insertIntoFlatData(i,a),this.updateMovingNodeStatus(t,o,l)}updateMovingNodeStatus(t,n=!0,s=!0){this.checkNodeUpward(t),this.triggerCheckedChange(n,s),t.selected&&this.setSelected(t[this.options.keyField],!0,n,s)}filter(t,n){const s=[];this.flatData.forEach(i=>{i._filterVisible=i._parent&&i._parent._filterVisible||n(t,i),i.visible=i._filterVisible,i._filterVisible&&s.push(i)}),s.forEach(i=>{const r=[];let o=i._parent;for(;o;)r.unshift(o),o=o._parent;r.forEach(l=>{l._filterVisible=!0,l.visible=(l._parent===null||l._parent.expand&&l._parent.visible)&&l._filterVisible,this.options.expandOnFilter&&this.setExpand(l[this.options.keyField],!0,!1,!1,!1)}),i.visible=i._parent===null||i._parent.expand&&i._parent.visible}),this.emit("visible-data-change")}setUnloadCheckedKeys(t){this.unloadCheckedKeys=t;const n=t.concat(),s=this.unloadCheckedKeys.length;for(let r=s-1;r>=0;r--){const o=this.unloadCheckedKeys[r];this.mapData[o]&&(this.setChecked(o,!0,!1,!1),this.unloadCheckedKeys.splice(r,1))}const i=this.getCheckedKeys();i.length===n.length&&i.every(r=>n.some(o=>o===r))||this.emit("checked-change",this.getCheckedNodes(),i)}setUnloadSelectedKey(t){const n=this.getSelectedKey();this.mapData[t]?(this.setSelected(t,!0,!1),this.unloadSelectedKey=null):(this.currentSelectedKey&&this.setSelected(this.currentSelectedKey,!1,!1),this.unloadSelectedKey=t);const s=this.getSelectedKey();s!==n&&this.emit("selected-change",this.getSelectedNode(),s)}flattenData(t,n=!0,s=[]){const i=t.length;for(let r=0;r<i;r++){const o=t[r],l=o[this.options.keyField];if(s.push(o),this.mapData[l])throw new Error("[VTree] Duplicate tree node key.");this.mapData[l]=o,o.checked&&this.options.cascade&&this.checkNodeDownward(o,!0),o.selected&&n&&(this.clearSelected(!1,!1),this.currentSelectedKey=o[this.options.keyField],this.emit("selected-change",o,this.currentSelectedKey)),(this.options.defaultExpandAll||o.expand)&&!this.options.load&&!o.isLeaf&&(o.expand=!1,this.setExpand(o[this.options.keyField],!0,!1,!1,!1)),o.children.length&&this.flattenData(o.children,n,s)}return this.options.cascade&&i&&this.checkNodeUpward(t[0]),s}checkNodeDownward(t,n,s=!1){if(t.children.forEach(i=>{this.checkNodeDownward(i,n,s)}),t.isLeaf||this.options.load&&!t.children.length){if(!t.disabled){if(s&&!this.options.filteredNodeCheckable&&!t._filterVisible)return;t.checked=n,t.indeterminate=!1}}else this.checkParentNode(t)}checkNodeUpward(t,n=!1){let s=n?t:t._parent;for(;s;)this.checkParentNode(s),s=s._parent}checkParentNode(t){const n=t.children.length;if(!n)return;let s=!1,i=!1,r=!1;for(let o=0;o<n;o++){const l=t.children[o];if(l.checked?s=!0:i=!0,s&&i||l.indeterminate){r=!0,t.checked=!1,t.indeterminate=!0;break}}r||(t.checked=s,t.indeterminate=!1)}findIndex(t,n=this.flatData){if(n!==null){let s=t instanceof Kn?t[this.options.keyField]:t;const i=n.length;for(let r=0;r<i;r++)if(n[0]instanceof Kn){if(s===n[r][this.options.keyField])return r}else if(s===n[r])return r}return-1}}const zb=pt({name:"CLoadingIcon"}),qb=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},Gb={viewBox:"0 0 50 50"},Jb=ae("circle",{class:"vtree-loading-icon__circle",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5","stroke-miterlimit":"10"},null,-1),Zb=[Jb];function Yb(e,t,n,s,i,r){return fe(),Ce("svg",Gb,Zb)}const ep=qb(zb,[["render",Yb]]),ja=["expand","check","click","select","node-dblclick","node-right-click","node-dragstart","node-dragenter","node-dragover","node-dragleave","node-drop"],tp=["expand","select","unselect","selected-change","check","uncheck","checked-change","set-data"],Xb=[...ja,...tp],Te="vtree-tree-node",Qb=(e,t)=>{const{dragoverBody:n,dragoverBefore:s,dragoverAfter:i}=t,r=ie(()=>[`${Te}__indent-wrapper`]),o=ie(()=>{var p,S,N,E,g;return[`${Te}__wrapper`,{[`${Te}__wrapper_is-leaf`]:(p=e.data)==null?void 0:p.isLeaf,[`${Te}_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)},{[`${Te}_checked`]:e.checkable&&((N=e.data)==null?void 0:N.checked),[`${Te}_indeterminate`]:e.checkable&&((E=e.data)==null?void 0:E.indeterminate)},{[`${Te}_selected`]:(g=e.data)==null?void 0:g.selected}]}),l=ie(()=>[`${Te}__node-body`,{[`${Te}__drop_active`]:n.value}]),a=ie(()=>[`${Te}__drop`,{[`${Te}__drop_active`]:s.value}]),c=ie(()=>[`${Te}__drop`,{[`${Te}__drop_active`]:i.value}]),u=ie(()=>[`${Te}__square`,`${Te}__checkbox_wrapper`]),f=ie(()=>{var p;return[`${Te}__square`,`${Te}__expand`,{[`${Te}__expand_active`]:(p=e.data)==null?void 0:p.expand}]}),d=ie(()=>[`${Te}__loading-icon`]),h=ie(()=>{var p,S,N;return[`${Te}__checkbox`,{[`${Te}__checkbox_checked`]:(p=e.data)==null?void 0:p.checked,[`${Te}__checkbox_indeterminate`]:(S=e.data)==null?void 0:S.indeterminate,[`${Te}__checkbox_disabled`]:e.disableAll||((N=e.data)==null?void 0:N.disabled)}]}),m=ie(()=>{var p,S;return[`${Te}__title`,{[`${Te}__title_selected`]:(p=e.data)==null?void 0:p.selected,[`${Te}__title_disabled`]:e.disableAll||((S=e.data)==null?void 0:S.disabled)}]});return{indentWrapperCls:r,wrapperCls:o,nodeBodyCls:l,dropBeforeCls:a,dropAfterCls:c,checkboxWrapperCls:u,expandCls:f,loadingIconCls:d,checkboxCls:h,titleCls:m}},eN=["d","stroke-width","stroke","stroke-dasharray"],tN=["draggable"],Xo=pt({name:"VTreeNode",__name:"TreeNode",props:{titleField:{},keyField:{},checkable:{type:Boolean},selectable:{type:Boolean},unselectOnClick:{type:Boolean},disableAll:{type:Boolean},draggable:{type:Boolean},droppable:{type:Boolean},nodeIndent:{},render:{type:Function},showLine:{type:[Boolean,Object]},data:{},getNode:{type:Function},noSiblingNodeMap:{}},emits:[...ja],setup(e,{emit:t}){var n;const s=e,i=t,r=ne(!1),o=ne(!1),l=ne(!1),a=ie(()=>{const V={width:1,type:Ml.solid,color:"#D3D3D3",polyline:!1,dashDensity:3};let Z=V;if(typeof s.showLine=="object"){let be=V.dashDensity;typeof s.showLine.dashDensity=="number"&&s.showLine.dashDensity>=1&&s.showLine.dashDensity<=10&&(be=s.showLine.dashDensity),Z={width:s.showLine.width??V.width,type:s.showLine.type??V.type,color:s.showLine.color??V.color,polyline:s.showLine.polyline??V.polyline,dashDensity:be}}return Z}),c=ie(()=>a.value.width*100/s.nodeIndent),u=ie(()=>a.value.type===Ml.dashed?100/(a.value.dashDensity*2):"none"),f=V=>{var Z;if(!a.value.polyline||!V)return"M50,0 L50,100";const be=(Z=s.getNode(s.data[s.keyField]))==null?void 0:Z._parent;return be&&s.noSiblingNodeMap[be[s.keyField]]&&s.noSiblingNodeMap[s.data[s.keyField]]?"M50,0 L50,50 M100,50 L50,50":"M50,0 L50,100 M100,50 L50,50"},{indentWrapperCls:d,wrapperCls:h,nodeBodyCls:m,dropBeforeCls:p,dropAfterCls:S,checkboxWrapperCls:N,expandCls:E,loadingIconCls:g,checkboxCls:_,titleCls:y}=Qb(s,{dragoverBody:r,dragoverBefore:o,dragoverAfter:l}),w=ie(()=>s.getNode(s.data?s.data[s.keyField]:"")||s.data||{}),P=ie(()=>s.checkable),T=((n=s.data)==null?void 0:n.render)||s.render||null,O=ie(()=>pt({name:"Render",functional:!0,render(){return typeof T!="function"?aa("div"):T(w.value)}})),D=ie(()=>{var V;let Z={};return s.draggable&&!s.disableAll&&!((V=s.data)!=null&&V.disabled)&&(Z={dragstart:$e}),Z}),I=ie(()=>{let V={};return s.droppable&&(V={dragenter:Ge.bind(ze()),dragover:Je.bind(ze()),dragleave:Et.bind(ze()),drop:fn.bind(ze())}),V});function C(){var V;(V=s.data)!=null&&V.isLeaf||i("expand",w.value)}function R(){var V;s.disableAll||(V=s.data)!=null&&V.disabled||!s.checkable||i("check",w.value)}function G(V){var Z,be;if(i("click",w.value,V),s.selectable){if(s.disableAll||(Z=s.data)!=null&&Z.disabled||(be=s.data)!=null&&be.selected&&!s.unselectOnClick)return;i("select",w.value)}else s.checkable?R():C()}function z(V){i("node-dblclick",w.value,V)}function W(V){i("node-right-click",w.value,V)}const J=ne();function H(V){const Z=J.value.getBoundingClientRect(),be=Z.height,Ze=V.clientY-Z.top;return Ze<=be*.3?tn.before:Ze<=be*(.3+.4)?tn.body:tn.after}function le(V,Z=!1){o.value=!1,r.value=!1,l.value=!1,Z||(V===tn.before?o.value=!0:V===tn.body?r.value=!0:V===tn.after&&(l.value=!0))}function $e(V){var Z;V.dataTransfer&&V.dataTransfer.setData("node",JSON.stringify(s.data)),(Z=s.data)!=null&&Z.expand&&C(),i("node-dragstart",w.value,V)}function Ge(V){V.preventDefault();const Z=H(V);le(Z),i("node-dragenter",w.value,V,Z)}function Je(V){V.preventDefault();const Z=H(V);le(Z),i("node-dragover",w.value,V,Z)}function Et(V){const Z=H(V);le(Z,!0),i("node-dragleave",w.value,V,Z)}function fn(V){const Z=H(V);le(Z,!0),i("node-drop",w.value,V,Z)}return(V,Z)=>{var be,Ze,lt,Rt;return fe(),Ce("div",{class:xe(Y(d))},[V.showLine?(fe(!0),Ce(we,{key:0},hs(V.data._level,(tt,$t)=>(fe(),Ce("svg",{key:tt,viewBox:"0 0 100 100",preserveAspectRatio:"none",style:qe({alignSelf:"stretch",width:`${V.nodeIndent}px`})},[ae("path",{fill:"none",d:f($t===V.data._level-1),"stroke-width":c.value,stroke:a.value.color,"stroke-dasharray":u.value},null,8,eN)],4))),128)):Cn("",!0),ae("div",{class:xe(Y(h)),style:qe({paddingLeft:V.showLine?"none":`${V.data._level*V.nodeIndent}px`})},[ae("div",{class:xe(Y(p))},null,2),ae("div",en({ref_key:"nodeBody",ref:J,class:Y(m)},Bs(I.value,!0)),[ae("div",{class:xe(Y(E))},[zn(ae("i",{onClick:C},null,512),[[Gn,!((be=V.data)!=null&&be.isLeaf)&&!((Ze=V.data)!=null&&Ze._loading)]]),(lt=V.data)!=null&<._loading?(fe(),Wt(ep,{key:0,class:xe(Y(g))},null,8,["class"])):Cn("",!0)],2),P.value?(fe(),Ce("div",{key:0,class:xe(Y(N))},[ae("div",{class:xe(Y(_)),onClick:R},null,2)],2)):Cn("",!0),ae("div",en({class:Y(y),onClick:G,onDblclick:z,onContextmenu:W},Bs(D.value,!0),{draggable:V.draggable&&!V.disableAll&&!((Rt=V.data)!=null&&Rt.disabled)}),[Bn(V.$slots,"default",{node:w.value},()=>[Y(T)?(fe(),Wt($f(O.value),{key:0})):(fe(),Ce(we,{key:1},[_s(sn(V.data?V.data[V.titleField]:""),1)],64))])],16,tN)],16),ae("div",{class:xe(Y(S))},null,2)],6)],2)}}}),mn="vtree-tree",nN=()=>{const e=ie(()=>[`${mn}__wrapper`]),t=ie(()=>[`${mn}__scroll-area`]),n=ie(()=>[`${mn}__block-area`]),s=ie(()=>[`${mn}__empty`]),i=ie(()=>[`${mn}__empty-text_default`]),r=ie(()=>[`${mn}__loading`]),o=ie(()=>[`${mn}__loading-wrapper`]),l=ie(()=>[`${mn}__loading-icon`]),a=ie(()=>[`${mn}__iframe`]);return{wrapperCls:e,scrollAreaCls:t,blockAreaCls:n,emptyCls:s,emptyTextDefaultCls:i,loadingCls:r,loadingWrapperCls:o,loadingIconCls:l,iframeCls:a}},sN=(e,t)=>{const n=ne(),s=ne([]),i=ne(0),r=ne(0),o=ne(0),l=ne(0),a=ne(0),c=ne(0),u=ne(0),f=ne(0),d=ne(void 0),h=()=>{o.value=0,l.value=0,n.value&&(n.value.scrollTop=0)},m=()=>{const g=n.value.clientHeight;a.value=Math.max(t.renderNodeAmount,Math.ceil(g/t.nodeMinHeight)+t.bufferNodeAmount)},p=(g=!1)=>{if(i.value>a.value){const _=Math.max(n.value.scrollTop,0),y=Math.floor(_/t.nodeMinHeight);u.value=Math.floor(y/t.bufferNodeAmount)*t.bufferNodeAmount}else u.value=0;g&&c.value===a.value&&f.value===u.value||(s.value=e.blockNodes.slice(u.value,u.value+a.value).map(_=>Object.assign({},_,{_parent:null,children:[]})),o.value=u.value*t.nodeMinHeight,l.value=r.value-(o.value+s.value.length*t.nodeMinHeight))},S=()=>{m(),p()},N=()=>{e.blockNodes=e.store.flatData.filter(g=>g.visible),E(),S()},E=()=>{i.value=e.blockNodes.length,r.value=t.nodeMinHeight*i.value};return{scrollArea:n,renderNodes:s,blockLength:i,blockAreaHeight:r,topSpaceHeight:o,bottomSpaceHeight:l,renderAmount:a,renderAmountCache:c,renderStart:u,renderStartCache:f,resetSpaceHeights:h,updateRenderAmount:m,updateRenderNodes:p,updateRender:S,updateBlockNodes:N,updateBlockData:E,handleTreeScroll:()=>{d.value&&window.cancelAnimationFrame(d.value),c.value=a.value,f.value=u.value,d.value=window.requestAnimationFrame(p.bind(null,!0))},scrollTo:(g,_=Sr.top)=>{const y=e.store.mapData[g];if(!y||!y.visible)return;let w=-1;for(let T=0;T<i.value;T++)if(e.blockNodes[T][t.keyField]===g){w=T;break}if(w===-1)return;let P=w*t.nodeMinHeight;if(_===Sr.center){const T=n.value.clientHeight;P=P-(T-t.nodeMinHeight)/2}else if(_===Sr.bottom){const T=n.value.clientHeight;P=P-(T-t.nodeMinHeight)}else typeof _=="number"&&(P=P-_);n.value&&(n.value.scrollTop=P)}}},iN=e=>{const t=ne();un(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.addEventListener("resize",e)}),ws(()=>{const n=t.value;n!=null&&n.contentWindow&&n.contentWindow.removeEventListener("resize",e)})},rN=(e,t,n)=>{const{resetSpaceHeights:s,updateExpandedKeys:i,updateBlockData:r,updateRender:o}=n,l=ne([]),a=ne(!1);function c(V){s();let Z=null,be=null;t.checkable?Array.isArray(t.modelValue)?Z=t.modelValue.concat():typeof t.modelValue=="string"&&(Z=t.modelValue===""?[]:t.modelValue.split(t.separator)):t.selectable&&!Array.isArray(t.modelValue)&&(be=t.modelValue),e.store.setData(V,be,Z),i()}function u(V,Z){e.store.setChecked(V,Z)}function f(V,Z){e.store.setCheckedKeys(V,Z)}function d(){e.store.checkAll()}function h(){e.store.clearChecked()}function m(V,Z){e.store.setSelected(V,Z)}function p(){e.store.clearSelected()}function S(V,Z,be=!0){e.store.setExpand(V,Z,be)}function N(V,Z){e.store.setExpandKeys(V,Z)}function E(V){e.store.setExpandAll(V)}function g(V){return V=V||t.ignoreMode,e.store.getCheckedNodes(V)}function _(V){return V=V||t.ignoreMode,e.store.getCheckedKeys(V)}function y(){return e.store.getIndeterminateNodes()}function w(){return e.store.getSelectedNode()}function P(){return e.store.getSelectedKey()}function T(){return e.store.getExpandNodes()}function O(){return e.store.getExpandKeys()}function D(){return e.store.flatData.filter(V=>V._filterVisible)}function I(V){return e.store.getNode(V)}function C(){return e.store.data}function R(){return e.store.flatData}function G(){return e.store.flatData.length}function z(V,Z){return e.store.insertBefore(V,Z)}function W(V,Z){return e.store.insertAfter(V,Z)}function J(V,Z){return e.store.append(V,Z)}function H(V,Z){return e.store.prepend(V,Z)}function le(V){return e.store.remove(V)}function $e(V,Z){const be=(lt,Rt)=>{const tt=Rt[t.titleField];return tt==null||!tt.toString?!1:tt.toString().toLowerCase().indexOf(lt.toLowerCase())>-1},Ze=Z||t.filterMethod||be;e.store.filter(V,Ze)}function Ge(V){if(!t.checkable)return;V=V??t.showUnloadCheckedNodes;const Z=e.store.getCheckedNodes();if(e.store.filter("",(Ze,lt)=>lt.checked),!V)return;const be=e.store.getUnloadCheckedKeys();if(be.length){const Ze=be.map(lt=>{const Rt=t.unloadDataList.concat(Z);let tt=lt;return Rt.some($t=>$t[t.keyField]===lt&&$t[t.titleField]!=null?(tt=$t[t.titleField],!0):!1),new Kn({[t.keyField]:lt,[t.titleField]:tt,checked:!0,isLeaf:!0},null,t.keyField,!!t.load)});l.value=Ze,e.blockNodes=e.blockNodes.concat(Ze),r(),o()}}function Je(){return a.value=!0,new Promise((V,Z)=>{t.load&&t.load(null,V,Z)}).then(V=>{Array.isArray(V)&&c(V)}).catch(()=>{}).then(()=>{a.value=!1})}function Et(V,Z){return e.store.updateNode(V,Z)}function fn(V){return e.store.updateNodes(V)}return{unloadCheckedNodes:l,isRootLoading:a,setData:c,setChecked:u,setCheckedKeys:f,checkAll:d,clearChecked:h,setSelected:m,clearSelected:p,setExpand:S,setExpandKeys:N,setExpandAll:E,getCheckedNodes:g,getCheckedKeys:_,getIndeterminateNodes:y,getSelectedNode:w,getSelectedKey:P,getExpandNodes:T,getExpandKeys:O,getCurrentVisibleNodes:D,getNode:I,getTreeData:C,getFlatData:R,getNodesCount:G,insertBefore:z,insertAfter:W,append:J,prepend:H,remove:le,filter:$e,showCheckedNodes:Ge,loadRootNodes:Je,updateNode:Et,updateNodes:fn}},oN=(e,...t)=>{const n={};return t.forEach(s=>{e.hasOwnProperty(s)&&(n[s]=e[s])}),n},lN=(e,t,n)=>{const s=ne(!1),i=ne(!1),r=ne(-1),o=ne(-1),l=ne(!1),a=ne(!1),c=ne(0),u=ne([]),f=ne([]),d=ne([]),h=()=>{s.value=!1,i.value=!1,r.value=-1,o.value=-1,c.value=0,u.value=[],f.value=[],d.value=[]},m=()=>{const p=o.value,S=[],N=e.value.length,E=t.value-c.value;for(let g=r.value-E+1;g<N&&e.value[g]._level>p;g++)S.push(e.value[g]);f.value=S};return{ready:i,currentExpandState:l,topNodes:u,middleNodes:f,bottomNodes:d,updateBeforeExpand:p=>{if(!n.animation)return;h();const S=p[n.keyField],N=e.value.findIndex(E=>E[n.keyField]===S);N>-1&&(r.value=N,o.value=p._level,s.value=!0,l.value=p.expand,a.value=!p.expand,c.value=t.value,a.value?d.value=e.value.slice(r.value+1):m())},updateAfterExpand:()=>{if(n.animation){if(!s.value){s.value=!1;return}r.value!==-1&&Xn(()=>{const p=t.value-c.value;u.value=e.value.slice(0,r.value-p+1),a.value?m():d.value=e.value.slice(r.value-p+1),i.value=!0,Xn(()=>{l.value=!l.value})})}},onExpandAnimationFinish:()=>{h()}}},aN={style:{display:"grid"}},cN={style:{overflow:"hidden"}},np={data:()=>[],unloadDataList:()=>[],showUnloadCheckedNodes:!0,emptyText:"暂无数据",titleField:"title",keyField:"id",separator:",",checkable:!1,selectable:!1,filteredNodeCheckable:!1,cascade:!0,enableLeafOnly:!1,disableAll:!1,defaultExpandAll:!1,defaultExpandedKeys:()=>[],expandedKeys:()=>[],draggable:!1,droppable:!1,beforeDropMethod:()=>()=>!0,ignoreMode:eo.none,autoLoad:!0,expandOnFilter:!0,unselectOnClick:!0,loading:!1,nodeMinHeight:30,nodeIndent:20,renderNodeAmount:100,bufferNodeAmount:20},uN=pt({name:"VTree",inheritAttrs:!1,__name:"Tree",props:Hf({data:{},emptyText:{},modelValue:{},selectable:{type:Boolean},checkable:{type:Boolean},separator:{},ignoreMode:{},titleField:{},keyField:{},filterMethod:{type:Function},showUnloadCheckedNodes:{type:Boolean},unloadDataList:{},load:{type:Function},filteredNodeCheckable:{type:Boolean},cascade:{type:Boolean},enableLeafOnly:{type:Boolean},disableAll:{type:Boolean},defaultExpandAll:{type:Boolean},defaultExpandedKeys:{},expandedKeys:{},draggable:{type:Boolean},droppable:{type:Boolean},beforeDropMethod:{type:Function},autoLoad:{type:Boolean},render:{type:Function},expandOnFilter:{type:Boolean},unselectOnClick:{type:Boolean},loading:{type:Boolean},nodeClassName:{type:[String,Object,Array,Function]},showLine:{type:[Boolean,Object]},animation:{type:Boolean},nodeIndent:{},renderNodeAmount:{},nodeMinHeight:{},bufferNodeAmount:{}},np),emits:["update:modelValue",...Xb],setup(e,{expose:t,emit:n}){const s=e,i=n,r=["node-drop","check","select","expand"],o=ja.reduce((q,me)=>(r.indexOf(me)<0&&(q[me]=(...de)=>{i(me,...de)}),q),{}),l=()=>({store:new Wb({keyField:s.keyField,ignoreMode:s.ignoreMode,filteredNodeCheckable:s.filteredNodeCheckable,cascade:s.cascade,defaultExpandAll:s.defaultExpandAll,load:s.load,expandOnFilter:s.expandOnFilter}),blockNodes:[]});let a=l();tp.forEach(q=>{a.store.on(q,(...me)=>{i(q,...me)})});const c=()=>{s.expandedKeys.length&&(a.store.setExpandAll(!1,!1),a.store.setExpandKeys(s.expandedKeys,!0))},{wrapperCls:u,scrollAreaCls:f,blockAreaCls:d,emptyCls:h,emptyTextDefaultCls:m,loadingCls:p,loadingWrapperCls:S,loadingIconCls:N,iframeCls:E}=nN(),{scrollArea:g,renderNodes:_,blockLength:y,topSpaceHeight:w,bottomSpaceHeight:P,renderStart:T,resetSpaceHeights:O,updateRender:D,updateBlockNodes:I,updateBlockData:C,handleTreeScroll:R,scrollTo:G}=sN(a,s),z=lN(_,T,s),{unloadCheckedNodes:W,isRootLoading:J,setData:H,setChecked:le,setCheckedKeys:$e,checkAll:Ge,clearChecked:Je,setSelected:Et,clearSelected:fn,setExpand:V,setExpandKeys:Z,setExpandAll:be,getCheckedNodes:Ze,getCheckedKeys:lt,getIndeterminateNodes:Rt,getSelectedNode:tt,getSelectedKey:$t,getExpandNodes:oi,getExpandKeys:v,getCurrentVisibleNodes:b,getNode:x,getTreeData:F,getFlatData:M,getNodesCount:A,insertBefore:B,insertAfter:$,append:j,prepend:L,remove:ee,filter:U,showCheckedNodes:X,loadRootNodes:se,updateNode:pe,updateNodes:Oe}=rN(a,s,{resetSpaceHeights:O,updateExpandedKeys:c,updateBlockData:C,updateRender:D}),Ee=q=>typeof s.nodeClassName=="function"?s.nodeClassName(q):s.nodeClassName,Ye=ie(()=>{var q;const me=[];let de=(q=_.value[0])==null?void 0:q._parent;for(;de;)me.push(de),de=de._parent;const Qe=me.concat(_.value),hn={},xs=[];return Qe.forEach(tr=>{const Ba=tr._level;let Vo=xs.length;for(;Vo;){const Ka=xs[Vo-1],Ua=Ka._level;if(Ua>Ba)hn[Ka[s.keyField]]=!0,xs.pop();else if(Ua===Ba){xs.pop();break}else break;Vo--}xs.push(tr)}),xs.forEach(tr=>{hn[tr[s.keyField]]=!0}),hn}),Xe=(q,me)=>{if(Array.isArray(q)&&Array.isArray(me)){if(q.length===me.length&&q.every(de=>me.some(Qe=>Qe===de)))return!0}else if(q===me)return!0;return!1},nt=ne(Array.isArray(s.modelValue)?s.modelValue.concat():s.modelValue),st=q=>{!s.cascade&&s.enableLeafOnly&&!q.isLeaf||a.store.setChecked(q[s.keyField],q.indeterminate?!0:!q.checked,!0,!0,!0)},dn=q=>{s.enableLeafOnly&&!q.isLeaf||a.store.setSelected(q[s.keyField],!q.selected)},Ds=q=>{z.updateBeforeExpand(q),a.store.setExpand(q[s.keyField],!q.expand)},Ke=(q,me,de)=>{if(s.droppable&&me.dataTransfer)try{const Qe=JSON.parse(me.dataTransfer.getData("node"))[s.keyField],hn=q[s.keyField];if(s.beforeDropMethod(Qe,hn,de)){if(Qe===hn)return;de===tn.before?a.store.insertBefore(Qe,hn):de===tn.body||!q.isLeaf&&q.expand?a.store.prepend(Qe,hn):de===tn.after&&a.store.insertAfter(Qe,hn),i("node-drop",q,me,de,x(Qe))}}catch(Qe){throw new Error(Qe)}};ft(()=>s.modelValue,q=>{if(s.checkable){if(Xe(q,nt.value))return;let me=[];Array.isArray(q)?me=q.concat():typeof q=="string"&&(me=q===""?[]:q.split(s.separator)),a.store.clearChecked(!1,!1),a.store.setCheckedKeys(me,!0)}else if(s.selectable){if(q===nt.value)return;const me=a.store.getSelectedKey();q!==""&&q!=null?a.store.setSelected(q,!0):(q===""||q==null)&&me&&a.store.setSelected(me,!1)}}),ft(()=>s.data,q=>{H(q)}),ft(()=>s.expandedKeys,()=>{c()});const Vt=()=>{if(W.value.length){const q=a.store.getUnloadCheckedKeys();W.value.forEach(me=>{me.checked=q.indexOf(me[s.keyField])>-1})}},Qi=(q,me)=>{if(s.checkable){let de=me;Array.isArray(s.modelValue)||(de=de.join(s.separator)),Array.isArray(de)?nt.value=de.concat():nt.value=de,i("update:modelValue",de)}},er=(q,me)=>{if(s.selectable&&!s.checkable){const de=me||"";nt.value=de,i("update:modelValue",de)}};un(()=>{a.store.on("expand",z.updateAfterExpand),a.store.on("visible-data-change",I),a.store.on("render-data-change",D),a.store.on("checked-change",(q,me)=>{Qi(q,me),Vt()}),a.store.on("selected-change",er),s.data.length?(H(s.data),s.defaultExpandedKeys.length&&a.store.setExpandKeys(s.defaultExpandedKeys,!0)):typeof s.load=="function"&&s.autoLoad&&((s.modelValue||s.unloadDataList)&&H([]),se())}),ws(()=>{a.store.disposeListeners();const q=l();a.store=q.store,a.blockNodes=q.blockNodes}),iN(D);const op=["titleField","keyField","checkable","selectable","unselectOnClick","disableAll","draggable","droppable","render","nodeIndent","showLine"],To=ii(oN(lf(s),...op));return t({setData:H,setChecked:le,setCheckedKeys:$e,checkAll:Ge,clearChecked:Je,setSelected:Et,clearSelected:fn,setExpand:V,setExpandKeys:Z,setExpandAll:be,getCheckedNodes:Ze,getCheckedKeys:lt,getIndeterminateNodes:Rt,getSelectedNode:tt,getSelectedKey:$t,getExpandNodes:oi,getExpandKeys:v,getCurrentVisibleNodes:b,getNode:x,getTreeData:F,getFlatData:M,getNodesCount:A,insertBefore:B,insertAfter:$,append:j,prepend:L,remove:ee,filter:U,showCheckedNodes:X,loadRootNodes:se,updateNode:pe,updateNodes:Oe,scrollTo:G}),(q,me)=>(fe(),Ce("div",{class:xe(Y(u))},[ae("div",{ref_key:"scrollArea",ref:g,class:xe(Y(f)),onScrollPassive:me[0]||(me[0]=$d((...de)=>Y(R)&&Y(R)(...de),["stop"]))},[ae("div",{class:xe(Y(d))},[ae("div",{style:qe({height:`${Y(w)}px`})},null,4),(fe(!0),Ce(we,null,hs(Y(z).ready.value?Y(z).topNodes.value:Y(_),de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128)),Y(z).ready.value?(fe(),Ce(we,{key:0},[_e(ca,{name:"vtree-expand-animation",onAfterEnter:Y(z).onExpandAnimationFinish,onAfterLeave:Y(z).onExpandAnimationFinish},{default:rn(()=>[zn(ae("div",aN,[ae("div",cN,[(fe(!0),Ce(we,null,hs(Y(z).middleNodes.value,de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))])],512),[[Gn,Y(z).currentExpandState.value]])]),_:3},8,["onAfterEnter","onAfterLeave"]),(fe(!0),Ce(we,null,hs(Y(z).bottomNodes.value,de=>(fe(),Wt(Xo,en({ref_for:!0},To,{key:de[q.keyField],data:de,getNode:Y(x),noSiblingNodeMap:Ye.value},Bs(Y(o)),{class:Ee(de),style:{minHeight:`${q.nodeMinHeight}px`},onCheck:st,onSelect:dn,onExpand:Ds,onNodeDrop:Ke}),{default:rn(Qe=>[Bn(q.$slots,"node",en({ref_for:!0},Qe))]),_:2},1040,["data","getNode","noSiblingNodeMap","class","style"]))),128))],64)):Cn("",!0),ae("div",{style:qe({height:`${Y(P)}px`})},null,4)],2)],34),zn(ae("div",{class:xe(Y(h))},[ae("span",{class:xe(Y(m))},[Bn(q.$slots,"empty",{},()=>[_s(sn(q.emptyText),1)])],2)],2),[[Gn,!Y(y)]]),zn(ae("div",{class:xe(Y(p))},[ae("div",{class:xe(Y(S))},[Bn(q.$slots,"loading",{},()=>[_e(ep,{class:xe(Y(N))},null,8,["class"])])],2)],2),[[Gn,q.loading||Y(J)]]),ae("iframe",{ref:"iframe",class:xe(Y(E))},null,2)],2))}}),fN={...np,searchPlaceholder:"搜索关键字",showCheckAll:!0,showCheckedButton:!0,checkedButtonText:"已选",showFooter:!0,searchLength:1,searchDisabled:!1,searchRemote:!1,searchDebounceTime:300};({...fN,placement:Qh["bottom-start"]});const dN="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%203L13.7071%202.29289C13.5196%202.10536%2013.2652%202%2013%202V3ZM19%209H20C20%208.73478%2019.8946%208.48043%2019.7071%208.29289L19%209ZM13.109%208.45399L14%208V8L13.109%208.45399ZM13.546%208.89101L14%208L13.546%208.89101ZM10%2013C10%2012.4477%209.55228%2012%209%2012C8.44772%2012%208%2012.4477%208%2013H10ZM8%2016C8%2016.5523%208.44772%2017%209%2017C9.55228%2017%2010%2016.5523%2010%2016H8ZM8.5%209C7.94772%209%207.5%209.44772%207.5%2010C7.5%2010.5523%207.94772%2011%208.5%2011V9ZM9.5%2011C10.0523%2011%2010.5%2010.5523%2010.5%2010C10.5%209.44772%2010.0523%209%209.5%209V11ZM8.5%206C7.94772%206%207.5%206.44772%207.5%207C7.5%207.55228%207.94772%208%208.5%208V6ZM9.5%208C10.0523%208%2010.5%207.55228%2010.5%207C10.5%206.44772%2010.0523%206%209.5%206V8ZM17.908%2020.782L17.454%2019.891L17.454%2019.891L17.908%2020.782ZM18.782%2019.908L19.673%2020.362L18.782%2019.908ZM5.21799%2019.908L4.32698%2020.362H4.32698L5.21799%2019.908ZM6.09202%2020.782L6.54601%2019.891L6.54601%2019.891L6.09202%2020.782ZM6.09202%203.21799L5.63803%202.32698L5.63803%202.32698L6.09202%203.21799ZM5.21799%204.09202L4.32698%203.63803L4.32698%203.63803L5.21799%204.09202ZM12%203V7.4H14V3H12ZM14.6%2010H19V8H14.6V10ZM12%207.4C12%207.66353%2011.9992%207.92131%2012.0169%208.13823C12.0356%208.36682%2012.0797%208.63656%2012.218%208.90798L14%208C14.0293%208.05751%2014.0189%208.08028%2014.0103%207.97537C14.0008%207.85878%2014%207.69653%2014%207.4H12ZM14.6%208C14.3035%208%2014.1412%207.99922%2014.0246%207.9897C13.9197%207.98113%2013.9425%207.9707%2014%208L13.092%209.78201C13.3634%209.92031%2013.6332%209.96438%2013.8618%209.98305C14.0787%2010.0008%2014.3365%2010%2014.6%2010V8ZM12.218%208.90798C12.4097%209.2843%2012.7157%209.59027%2013.092%209.78201L14%208V8L12.218%208.90798ZM8%2013V16H10V13H8ZM8.5%2011H9.5V9H8.5V11ZM8.5%208H9.5V6H8.5V8ZM13%202H8.2V4H13V2ZM4%206.2V17.8H6V6.2H4ZM8.2%2022H15.8V20H8.2V22ZM20%2017.8V9H18V17.8H20ZM19.7071%208.29289L13.7071%202.29289L12.2929%203.70711L18.2929%209.70711L19.7071%208.29289ZM15.8%2022C16.3436%2022%2016.8114%2022.0008%2017.195%2021.9694C17.5904%2021.9371%2017.9836%2021.8658%2018.362%2021.673L17.454%2019.891C17.4045%2019.9162%2017.3038%2019.9539%2017.0322%2019.9761C16.7488%2019.9992%2016.3766%2020%2015.8%2020V22ZM18%2017.8C18%2018.3766%2017.9992%2018.7488%2017.9761%2019.0322C17.9539%2019.3038%2017.9162%2019.4045%2017.891%2019.454L19.673%2020.362C19.8658%2019.9836%2019.9371%2019.5904%2019.9694%2019.195C20.0008%2018.8114%2020%2018.3436%2020%2017.8H18ZM18.362%2021.673C18.9265%2021.3854%2019.3854%2020.9265%2019.673%2020.362L17.891%2019.454C17.7951%2019.6422%2017.6422%2019.7951%2017.454%2019.891L18.362%2021.673ZM4%2017.8C4%2018.3436%203.99922%2018.8114%204.03057%2019.195C4.06287%2019.5904%204.13419%2019.9836%204.32698%2020.362L6.10899%2019.454C6.0838%2019.4045%206.04612%2019.3038%206.02393%2019.0322C6.00078%2018.7488%206%2018.3766%206%2017.8H4ZM8.2%2020C7.62345%2020%207.25117%2019.9992%206.96784%2019.9761C6.69617%2019.9539%206.59545%2019.9162%206.54601%2019.891L5.63803%2021.673C6.01641%2021.8658%206.40963%2021.9371%206.80497%2021.9694C7.18864%2022.0008%207.65645%2022%208.2%2022V20ZM4.32698%2020.362C4.6146%2020.9265%205.07354%2021.3854%205.63803%2021.673L6.54601%2019.891C6.35785%2019.7951%206.20487%2019.6422%206.10899%2019.454L4.32698%2020.362ZM8.2%202C7.65645%202%207.18864%201.99922%206.80497%202.03057C6.40963%202.06287%206.01641%202.13419%205.63803%202.32698L6.54601%204.10899C6.59545%204.0838%206.69617%204.04612%206.96784%204.02393C7.25117%204.00078%207.62345%204%208.2%204V2ZM6%206.2C6%205.62345%206.00078%205.25117%206.02393%204.96784C6.04612%204.69617%206.0838%204.59545%206.10899%204.54601L4.32698%203.63803C4.13419%204.01641%204.06287%204.40963%204.03057%204.80497C3.99922%205.18864%204%205.65645%204%206.2H6ZM5.63803%202.32698C5.07354%202.6146%204.6146%203.07354%204.32698%203.63803L6.10899%204.54601C6.20487%204.35785%206.35785%204.20487%206.54601%204.10899L5.63803%202.32698Z'%20fill='%23000000'/%3e%3c/svg%3e",hN="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Uploaded%20to:%20SVG%20Repo,%20www.svgrepo.com,%20Generator:%20SVG%20Repo%20Mixer%20Tools%20--%3e%3csvg%20width='800px'%20height='800px'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201H6L9%204H16V14H0V1Z'%20fill='%2354aeff'/%3e%3c/svg%3e",xo=function({isMaster:e=!1}={}){return{...Pa({isMaster:e,key:"diffFiles"})}};function pN(e){function t(i){return i.fullPath?i.fullPath:i.diffPair?i.diffPair[1]?.filename||i.diffPair[0]?.filename:typeof i.diffPatch=="string"?Uh(i.diffPatch).modFilename:""}const n=e.map((i,r)=>{const o=t(i),l=o.split("/"),a=l.at(-1)||"",c=a.split(".").at(-1);return{...i,fullPath:o,name:a,folderPath:l.slice(0,-1).join("/"),type:c?.toLowerCase()}});n.sort((i,r)=>i.fullPath===r.fullPath?0:i.fullPath>r.fullPath?1:-1);const s=Object.fromEntries(n.map(i=>[i.fullPath,i]));return{files:n,fileMap:s}}const mN={class:"file-search"},gN=["placeholder"],vN=pt({__name:"FileSearch",props:{placeholder:{default:"Search files"}},emits:["update:modelValue"],setup(e,{emit:t}){const{funcs:n}=xo(),{searchKeyword:s}=n,i=JE(r=>{n.filterTree(r.target.value)},300);return(r,o)=>(fe(),Ce("div",mN,[zn(ae("input",{class:"file-search__input",type:"search","onUpdate:modelValue":o[0]||(o[0]=l=>Ie(s)?s.value=l:null),placeholder:e.placeholder,autocomplete:"off",spellcheck:"false",onInput:o[1]||(o[1]=(...l)=>Y(i)&&Y(i)(...l))},null,40,gN),[[Li,Y(s)]])]))}}),yN=kn(vN,[["__scopeId","data-v-035db611"]]);function Cu(e,t){return{id:t,title:e,name:e,fullPath:t,isDirectory:!0,children:[]}}function sp(e){const t=e.children?.map(s=>s.isDirectory?sp(s):s)||[];let n={id:e.id,title:e.title,name:e.name,fullPath:e.fullPath,isDirectory:!0,children:t};for(;n.children?.length===1&&n.children[0].isDirectory;){const s=n.children[0],i=`${n.name}/${s.name}`;n={id:s.id,title:i,name:i,fullPath:s.fullPath,isDirectory:!0,children:s.children}}return n}function EN(e){const t=Cu("","");return e.forEach(n=>{const{fullPath:s,folderPath:i="",name:r}=n,o=i.split("/").filter(Boolean);let l=t,a="";o.forEach(c=>{a=a?`${a}/${c}`:c;let u=l.children?.find(f=>f.isDirectory&&f.name===c);u||(u=Cu(c,a),l.children?.push(u)),l=u}),l.children?.push({...n,id:s,title:r||"",name:r,fullPath:s,isDirectory:!1})}),t.children.map(n=>n.isDirectory?sp(n):n)}function _N(e,t){return t?.trim()?w_.filter(e,s=>[s.title,s.fullPath].find(r=>qE.like(r,t))||!!s.children?.length)||[]:e}const bN={class:"file-explore-wrap"},NN={class:"file-tree"},SN=["title","onClick"],ON=["src"],wN={class:"file-tree-node__label"},CN=pt({__name:"FileExplore",props:{diffFiles:{default:()=>[]}},emits:["select-file"],setup(e,{emit:t}){const n=e,s=t,{funcs:i,registerFunc:r}=xo(),o=ne(null),l=Un([]),a=ne(""),c=ne(""),u=p=>{const S=_N(l.value,p);o.value?.setData(S)};r({searchKeyword:a,selectedFileKey:c,filterTree:u});const f=async()=>{l.value=EN(n.diffFiles),await Xn(),o.value?.clearSelected(),u(a.value)},d=p=>{i.selectFile?.(p),s("select-file",{fullPath:p})},h=p=>{if(p=p,p.isDirectory){o.value?.setExpand(p.id,!p.expand,!1);return}d(p.fullPath)},m=p=>{!p||p.isDirectory||i.selectedFileKey.value===p.fullPath||d(p.fullPath)};return un(()=>{f()}),(p,S)=>(fe(),Ce("div",bN,[_e(yN),ae("div",NN,[_e(Y(uN),{ref_key:"treeRef",ref:o,selectable:"","enable-leaf-only":"","unselect-on-click":!1,"default-expand-all":!0,animation:!1,"node-min-height":32,"node-indent":8,"render-node-amount":60,"buffer-node-amount":20,"empty-text":"No changed files",onSelectedChange:m},{node:rn(({node:N})=>[ae("div",{class:"file-tree-node",title:N.fullPath||N.title,onClick:E=>h(N)},[ae("img",{class:"file-tree-node__icon",src:N.isDirectory?Y(hN):Y(dN),alt:""},null,8,ON),ae("span",wN,sn(N.title),1)],8,SN)]),_:1},512)])]))}}),DN=kn(CN,[["__scopeId","data-v-70ab28a6"]]),Du=12,xN=2,TN=pt({__name:"DiffList",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},fileViewMap:{default:()=>({})},viewerStyle:{default:()=>({})}},emits:["view-state-change"],setup(e,{emit:t}){const n=Kh+xN+Du,s=e,i=t,r=ne(null),{funcs:o}=Fh(),{funcs:l,registerFunc:a}=xo(),{selectedFileKey:c}=l;a({selectFile:async m=>{const p=s.diffFiles.findIndex(S=>S.fullPath===m);if(p<0){c.value="";return}c.value=m,await Xn(),o.virtualer?.value.scrollToIndex(p,{align:"start"})}});const f=m=>{const p=s.fileViewMap[m.fullPath];return{...s.viewerStyle,height:`${p?.height||0}px`,viewed:p?.viewed??!1,rawed:p?.rawed??!1}},d=m=>{let{height:p,viewed:S}=s.fileViewMap[m.fullPath];return S&&(p=0),p+n},h=(m,p)=>{i("view-state-change",m,p),o.resizeItem(m.fullPath,d(m))};return(m,p)=>(fe(),Wt(Y(zE),{ref_key:"virtualScrollRef",ref:r,class:"diff-list-wrap",items:e.diffFiles,itemSize:d,keyField:"fullPath",overscan:e.fileOverScan},{default:rn(({item:S})=>[ae("div",{class:xe(["file-wrap",{"file-wrap--selected":Y(c)===S.fullPath}]),style:qe({paddingBottom:`${Du}px`})},[_e(Zh,{fileId:S.fullPath,diffPair:S.diffPair,diffPatch:S.diffPatch,viewerStyle:f(S),onViewStateChange:N=>h(S,N)},null,8,["fileId","diffPair","diffPatch","viewerStyle","onViewStateChange"])],6)]),_:1},8,["items","overscan"]))}}),VN=kn(TN,[["__scopeId","data-v-9f37abdf"]]),kN={class:"diff-files-wrap"},AN={class:"content-wrap"},IN={class:"filelist-viewer-wrap"},MN=3,PN=pt({__name:"DiffFiles",props:{diffFiles:{default:()=>[]},fileOverScan:{default:30},viewerStyle:{default:()=>({})}},emits:["select-file"],setup(e,{emit:t}){const n=e,{files:s,fileMap:i}=pN(n.diffFiles),r=c=>{const u=o[c.fullPath];return n.viewerStyle.height?Gh(n.viewerStyle.height):(()=>{const d={minHeight:"0px",maxHeight:"500px",...n.viewerStyle};return Jh({id:c.fullPath,patch:c.diffPatch,pair:c.diffPair,minHeight:d.minHeight,maxHeight:d.maxHeight,unchangedVisiable:u.rawed,unchangedCtxLineNum:MN,unchangedMinLineNum:1})})()},o=ii(Object.fromEntries(s.map(c=>[c.fullPath,{height:0,viewed:!1,rawed:!1}])));Yl(()=>{Object.entries(o).forEach(([c,u])=>{a(i[c])})});const l=t;xo({isMaster:!0});const a=(c,u={})=>{const f=o[c.fullPath];Object.assign(f,u),f.height=r(c)};return(c,u)=>(fe(),Ce("div",kN,[ae("div",AN,[_e(DN,{class:"file-explore",diffFiles:Y(s),onSelectFile:u[0]||(u[0]=f=>l("select-file",f))},null,8,["diffFiles"]),ae("div",IN,[_e(VN,{diffFiles:Y(s),fileOverScan:e.fileOverScan,fileViewMap:o,viewerStyle:e.viewerStyle,onViewStateChange:a},null,8,["diffFiles","fileOverScan","fileViewMap","viewerStyle"])])])]))}}),LN=kn(PN,[["__scopeId","data-v-1a22123f"]]),ip="wtool-diff-files",Ha=No(LN,{shadowRoot:!1});function rp(e=ip){customElements.get(e)||customElements.define(e,Ha)}function xu(e,t){const n=e;for(const s of Object.keys(t)){const i=t[s];i!==void 0&&(n[s]=i)}}function FN(e,t={}){rp();const n=new Ha,s=new Set;return xu(n,t),e.appendChild(n),{update(i){xu(n,i)},onSelectFile(i){const r=o=>{const[l]=o.detail;i(l)};return s.add(r),n.addEventListener("select-file",r),()=>{s.delete(r),n.removeEventListener("select-file",r)}},destroy(){s.forEach(i=>{n.removeEventListener("select-file",i)}),s.clear(),n.remove()}}}exports.WTOOL_DIFF_FILES_TAG=ip;exports.WTOOL_DIFF_VIEWER_TAG=Yh;exports.WtoolDiffFiles=Ha;exports.WtoolDiffViewer=$a;exports.createDiffFiles=FN;exports.createDiffViewer=jb;exports.loader=Bh;exports.registerDiffFiles=rp;exports.registerDiffViewer=Xh;
|