@unocss/inspector 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,41 +1,41 @@
1
- function jt(t,r){const i=Object.create(null),o=t.split(",");for(let u=0;u<o.length;u++)i[o[u]]=!0;return r?u=>!!i[u.toLowerCase()]:u=>!!i[u]}const rf={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},mb={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"},yb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",fp=jt(yb),cp=2;function dp(t,r=0,i=t.length){let o=t.split(/(\r?\n)/);const u=o.filter((p,h)=>h%2==1);o=o.filter((p,h)=>h%2==0);let f=0;const c=[];for(let p=0;p<o.length;p++)if(f+=o[p].length+(u[p]&&u[p].length||0),f>=r){for(let h=p-cp;h<=p+cp||i>f;h++){if(h<0||h>=o.length)continue;const g=h+1;c.push(`${g}${" ".repeat(Math.max(3-String(g).length,0))}| ${o[h]}`);const m=o[h].length,b=u[h]&&u[h].length||0;if(h===p){const x=r-(f-(m+b)),E=Math.max(1,i>f?m-x:i-r);c.push(" | "+" ".repeat(x)+"^".repeat(E))}else if(h>p){if(i>f){const x=Math.max(Math.min(i-f,m),1);c.push(" | "+"^".repeat(x))}f+=m+b}}break}return c.join(`
2
- `)}const hp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",pp=jt(hp),bb=jt(hp+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function nf(t){return!!t||t===""}const Sb=/[>/="'\u0009\u000a\u000c\u0020]/,of={};function xb(t){if(of.hasOwnProperty(t))return of[t];const r=Sb.test(t);return r&&console.error(`unsafe attribute name: ${t}`),of[t]=!r}const wb={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},gp=jt("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),Cb=jt("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,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"),Tb=jt("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,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function no(t){if(Fe(t)){const r={};for(let i=0;i<t.length;i++){const o=t[i],u=Ze(o)?sf(o):no(o);if(u)for(const f in u)r[f]=u[f]}return r}else{if(Ze(t))return t;if(pt(t))return t}}const Eb=/;(?![^(]*\))/g,Ob=/:(.+)/;function sf(t){const r={};return t.split(Eb).forEach(i=>{if(i){const o=i.split(Ob);o.length>1&&(r[o[0].trim()]=o[1].trim())}}),r}function kb(t){let r="";if(!t||Ze(t))return r;for(const i in t){const o=t[i],u=i.startsWith("--")?i:wr(i);(Ze(o)||typeof o=="number"&&gp(u))&&(r+=`${u}:${o};`)}return r}function io(t){let r="";if(Ze(t))r=t;else if(Fe(t))for(let i=0;i<t.length;i++){const o=io(t[i]);o&&(r+=o+" ")}else if(pt(t))for(const i in t)t[i]&&(r+=i+" ");return r.trim()}function vp(t){if(!t)return null;let{class:r,style:i}=t;return r&&!Ze(r)&&(t.class=io(r)),i&&(t.style=no(i)),t}const Pb="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Mb="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Ab="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",mp=jt(Pb),yp=jt(Mb),bp=jt(Ab),Lb=/["'&<>]/;function Nb(t){const r=""+t,i=Lb.exec(r);if(!i)return r;let o="",u,f,c=0;for(f=i.index;f<r.length;f++){switch(r.charCodeAt(f)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#39;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}c!==f&&(o+=r.slice(c,f)),c=f+1,o+=u}return c!==f?o+r.slice(c,f):o}const Ib=/^-?>|<!--|-->|--!>|<!-$/g;function Rb(t){return t.replace(Ib,"")}function Db(t,r){if(t.length!==r.length)return!1;let i=!0;for(let o=0;i&&o<t.length;o++)i=dn(t[o],r[o]);return i}function dn(t,r){if(t===r)return!0;let i=af(t),o=af(r);if(i||o)return i&&o?t.getTime()===r.getTime():!1;if(i=Fe(t),o=Fe(r),i||o)return i&&o?Db(t,r):!1;if(i=pt(t),o=pt(r),i||o){if(!i||!o)return!1;const u=Object.keys(t).length,f=Object.keys(r).length;if(u!==f)return!1;for(const c in t){const p=t.hasOwnProperty(c),h=r.hasOwnProperty(c);if(p&&!h||!p&&h||!dn(t[c],r[c]))return!1}}return String(t)===String(r)}function vs(t,r){return t.findIndex(i=>dn(i,r))}const Sp=t=>t==null?"":Fe(t)||pt(t)&&(t.toString===uf||!Ye(t.toString))?JSON.stringify(t,xp,2):String(t),xp=(t,r)=>r&&r.__v_isRef?xp(t,r.value):ci(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((i,[o,u])=>(i[`${o} =>`]=u,i),{})}:In(r)?{[`Set(${r.size})`]:[...r.values()]}:pt(r)&&!Fe(r)&&!ff(r)?String(r):r,st={},fi=[],or=()=>{},ms=()=>!1,Fb=/^on[^a-z]/,Nn=t=>Fb.test(t),Vl=t=>t.startsWith("onUpdate:"),lt=Object.assign,lf=(t,r)=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)},zb=Object.prototype.hasOwnProperty,nt=(t,r)=>zb.call(t,r),Fe=Array.isArray,ci=t=>ys(t)==="[object Map]",In=t=>ys(t)==="[object Set]",af=t=>t instanceof Date,Ye=t=>typeof t=="function",Ze=t=>typeof t=="string",di=t=>typeof t=="symbol",pt=t=>t!==null&&typeof t=="object",Gl=t=>pt(t)&&Ye(t.then)&&Ye(t.catch),uf=Object.prototype.toString,ys=t=>uf.call(t),wp=t=>ys(t).slice(8,-1),ff=t=>ys(t)==="[object Object]",Yl=t=>Ze(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Rn=jt(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xl=t=>{const r=Object.create(null);return i=>r[i]||(r[i]=t(i))},Hb=/-(\w)/g,Gt=Xl(t=>t.replace(Hb,(r,i)=>i?i.toUpperCase():"")),Bb=/\B([A-Z])/g,wr=Xl(t=>t.replace(Bb,"-$1").toLowerCase()),Dn=Xl(t=>t.charAt(0).toUpperCase()+t.slice(1)),hi=Xl(t=>t?`on${Dn(t)}`:""),oo=(t,r)=>!Object.is(t,r),pi=(t,r)=>{for(let i=0;i<t.length;i++)t[i](r)},bs=(t,r,i)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:i})},hn=t=>{const r=parseFloat(t);return isNaN(r)?t:r};let Cp;const Tp=()=>Cp||(Cp=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});var Wb=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",EMPTY_ARR:fi,EMPTY_OBJ:st,NO:ms,NOOP:or,PatchFlagNames:rf,camelize:Gt,capitalize:Dn,def:bs,escapeHtml:Nb,escapeHtmlComment:Rb,extend:lt,generateCodeFrame:dp,getGlobalThis:Tp,hasChanged:oo,hasOwn:nt,hyphenate:wr,includeBooleanAttr:nf,invokeArrayFns:pi,isArray:Fe,isBooleanAttr:bb,isDate:af,isFunction:Ye,isGloballyWhitelisted:fp,isHTMLTag:mp,isIntegerKey:Yl,isKnownHtmlAttr:Cb,isKnownSvgAttr:Tb,isMap:ci,isModelListener:Vl,isNoUnitNumericStyleProp:gp,isObject:pt,isOn:Nn,isPlainObject:ff,isPromise:Gl,isReservedProp:Rn,isSSRSafeAttrName:xb,isSVGTag:yp,isSet:In,isSpecialBooleanAttr:pp,isString:Ze,isSymbol:di,isVoidTag:bp,looseEqual:dn,looseIndexOf:vs,makeMap:jt,normalizeClass:io,normalizeProps:vp,normalizeStyle:no,objectToString:uf,parseStringStyle:sf,propsToAttrMap:wb,remove:lf,slotFlagsText:mb,stringifyStyle:kb,toDisplayString:Sp,toHandlerKey:hi,toNumber:hn,toRawType:wp,toTypeString:ys});let Qr;const Jl=[];class cf{constructor(r=!1){this.active=!0,this.effects=[],this.cleanups=[],!r&&Qr&&(this.parent=Qr,this.index=(Qr.scopes||(Qr.scopes=[])).push(this)-1)}run(r){if(this.active)try{return this.on(),r()}finally{this.off()}}on(){this.active&&(Jl.push(this),Qr=this)}off(){this.active&&(Jl.pop(),Qr=Jl[Jl.length-1])}stop(r){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!r){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.active=!1}}}function jb(t){return new cf(t)}function Ep(t,r){r=r||Qr,r&&r.active&&r.effects.push(t)}function Op(){return Qr}function kp(t){Qr&&Qr.cleanups.push(t)}const df=t=>{const r=new Set(t);return r.w=0,r.n=0,r},Pp=t=>(t.w&Fn)>0,Mp=t=>(t.n&Fn)>0,Kb=({deps:t})=>{if(t.length)for(let r=0;r<t.length;r++)t[r].w|=Fn},Ub=t=>{const{deps:r}=t;if(r.length){let i=0;for(let o=0;o<r.length;o++){const u=r[o];Pp(u)&&!Mp(u)?u.delete(t):r[i++]=u,u.w&=~Fn,u.n&=~Fn}r.length=i}},hf=new WeakMap;let Ss=0,Fn=1;const pf=30,xs=[];let gi;const vi=Symbol(""),gf=Symbol("");class ws{constructor(r,i=null,o){this.fn=r,this.scheduler=i,this.active=!0,this.deps=[],Ep(this,o)}run(){if(!this.active)return this.fn();if(!xs.includes(this))try{return xs.push(gi=this),Gb(),Fn=1<<++Ss,Ss<=pf?Kb(this):Ap(this),this.fn()}finally{Ss<=pf&&Ub(this),Fn=1<<--Ss,zn(),xs.pop();const r=xs.length;gi=r>0?xs[r-1]:void 0}}stop(){this.active&&(Ap(this),this.onStop&&this.onStop(),this.active=!1)}}function Ap(t){const{deps:r}=t;if(r.length){for(let i=0;i<r.length;i++)r[i].delete(t);r.length=0}}function $b(t,r){t.effect&&(t=t.effect.fn);const i=new ws(t);r&&(lt(i,r),r.scope&&Ep(i,r.scope)),(!r||!r.lazy)&&i.run();const o=i.run.bind(i);return o.effect=i,o}function Vb(t){t.effect.stop()}let so=!0;const vf=[];function mi(){vf.push(so),so=!1}function Gb(){vf.push(so),so=!0}function zn(){const t=vf.pop();so=t===void 0?!0:t}function Cr(t,r,i){if(!Lp())return;let o=hf.get(t);o||hf.set(t,o=new Map);let u=o.get(i);u||o.set(i,u=df()),Np(u)}function Lp(){return so&&gi!==void 0}function Np(t,r){let i=!1;Ss<=pf?Mp(t)||(t.n|=Fn,i=!Pp(t)):i=!t.has(gi),i&&(t.add(gi),gi.deps.push(t))}function pn(t,r,i,o,u,f){const c=hf.get(t);if(!c)return;let p=[];if(r==="clear")p=[...c.values()];else if(i==="length"&&Fe(t))c.forEach((h,g)=>{(g==="length"||g>=o)&&p.push(h)});else switch(i!==void 0&&p.push(c.get(i)),r){case"add":Fe(t)?Yl(i)&&p.push(c.get("length")):(p.push(c.get(vi)),ci(t)&&p.push(c.get(gf)));break;case"delete":Fe(t)||(p.push(c.get(vi)),ci(t)&&p.push(c.get(gf)));break;case"set":ci(t)&&p.push(c.get(vi));break}if(p.length===1)p[0]&&mf(p[0]);else{const h=[];for(const g of p)g&&h.push(...g);mf(df(h))}}function mf(t,r){for(const i of Fe(t)?t:[...t])(i!==gi||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const Yb=jt("__proto__,__v_isRef,__isVue"),Ip=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(di)),Xb=Zl(),Jb=Zl(!1,!0),Zb=Zl(!0),Qb=Zl(!0,!0),Rp=qb();function qb(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...i){const o=tt(this);for(let f=0,c=this.length;f<c;f++)Cr(o,"get",f+"");const u=o[r](...i);return u===-1||u===!1?o[r](...i.map(tt)):u}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...i){mi();const o=tt(this)[r].apply(this,i);return zn(),o}}),t}function Zl(t=!1,r=!1){return function(o,u,f){if(u==="__v_isReactive")return!t;if(u==="__v_isReadonly")return t;if(u==="__v_raw"&&f===(t?r?Vp:$p:r?Up:Kp).get(o))return o;const c=Fe(o);if(!t&&c&&nt(Rp,u))return Reflect.get(Rp,u,f);const p=Reflect.get(o,u,f);return(di(u)?Ip.has(u):Yb(u))||(t||Cr(o,"get",u),r)?p:Mt(p)?!c||!Yl(u)?p.value:p:pt(p)?t?bf(p):lo(p):p}}const _b=Dp(),eS=Dp(!0);function Dp(t=!1){return function(i,o,u,f){let c=i[o];if(!t&&(u=tt(u),c=tt(c),!Fe(i)&&Mt(c)&&!Mt(u)))return c.value=u,!0;const p=Fe(i)&&Yl(o)?Number(o)<i.length:nt(i,o),h=Reflect.set(i,o,u,f);return i===tt(f)&&(p?oo(u,c)&&pn(i,"set",o,u):pn(i,"add",o,u)),h}}function tS(t,r){const i=nt(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&i&&pn(t,"delete",r,void 0),o}function rS(t,r){const i=Reflect.has(t,r);return(!di(r)||!Ip.has(r))&&Cr(t,"has",r),i}function nS(t){return Cr(t,"iterate",Fe(t)?"length":vi),Reflect.ownKeys(t)}const Fp={get:Xb,set:_b,deleteProperty:tS,has:rS,ownKeys:nS},zp={get:Zb,set(t,r){return!0},deleteProperty(t,r){return!0}},iS=lt({},Fp,{get:Jb,set:eS}),oS=lt({},zp,{get:Qb}),yf=t=>t,Ql=t=>Reflect.getPrototypeOf(t);function ql(t,r,i=!1,o=!1){t=t.__v_raw;const u=tt(t),f=tt(r);r!==f&&!i&&Cr(u,"get",r),!i&&Cr(u,"get",f);const{has:c}=Ql(u),p=o?yf:i?Cf:Cs;if(c.call(u,r))return p(t.get(r));if(c.call(u,f))return p(t.get(f));t!==u&&t.get(r)}function _l(t,r=!1){const i=this.__v_raw,o=tt(i),u=tt(t);return t!==u&&!r&&Cr(o,"has",t),!r&&Cr(o,"has",u),t===u?i.has(t):i.has(t)||i.has(u)}function ea(t,r=!1){return t=t.__v_raw,!r&&Cr(tt(t),"iterate",vi),Reflect.get(t,"size",t)}function Hp(t){t=tt(t);const r=tt(this);return Ql(r).has.call(r,t)||(r.add(t),pn(r,"add",t,t)),this}function Bp(t,r){r=tt(r);const i=tt(this),{has:o,get:u}=Ql(i);let f=o.call(i,t);f||(t=tt(t),f=o.call(i,t));const c=u.call(i,t);return i.set(t,r),f?oo(r,c)&&pn(i,"set",t,r):pn(i,"add",t,r),this}function Wp(t){const r=tt(this),{has:i,get:o}=Ql(r);let u=i.call(r,t);u||(t=tt(t),u=i.call(r,t)),o&&o.call(r,t);const f=r.delete(t);return u&&pn(r,"delete",t,void 0),f}function jp(){const t=tt(this),r=t.size!==0,i=t.clear();return r&&pn(t,"clear",void 0,void 0),i}function ta(t,r){return function(o,u){const f=this,c=f.__v_raw,p=tt(c),h=r?yf:t?Cf:Cs;return!t&&Cr(p,"iterate",vi),c.forEach((g,m)=>o.call(u,h(g),h(m),f))}}function ra(t,r,i){return function(...o){const u=this.__v_raw,f=tt(u),c=ci(f),p=t==="entries"||t===Symbol.iterator&&c,h=t==="keys"&&c,g=u[t](...o),m=i?yf:r?Cf:Cs;return!r&&Cr(f,"iterate",h?gf:vi),{next(){const{value:b,done:x}=g.next();return x?{value:b,done:x}:{value:p?[m(b[0]),m(b[1])]:m(b),done:x}},[Symbol.iterator](){return this}}}}function Hn(t){return function(...r){return t==="delete"?!1:this}}function sS(){const t={get(f){return ql(this,f)},get size(){return ea(this)},has:_l,add:Hp,set:Bp,delete:Wp,clear:jp,forEach:ta(!1,!1)},r={get(f){return ql(this,f,!1,!0)},get size(){return ea(this)},has:_l,add:Hp,set:Bp,delete:Wp,clear:jp,forEach:ta(!1,!0)},i={get(f){return ql(this,f,!0)},get size(){return ea(this,!0)},has(f){return _l.call(this,f,!0)},add:Hn("add"),set:Hn("set"),delete:Hn("delete"),clear:Hn("clear"),forEach:ta(!0,!1)},o={get(f){return ql(this,f,!0,!0)},get size(){return ea(this,!0)},has(f){return _l.call(this,f,!0)},add:Hn("add"),set:Hn("set"),delete:Hn("delete"),clear:Hn("clear"),forEach:ta(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(f=>{t[f]=ra(f,!1,!1),i[f]=ra(f,!0,!1),r[f]=ra(f,!1,!0),o[f]=ra(f,!0,!0)}),[t,i,r,o]}const[lS,aS,uS,fS]=sS();function na(t,r){const i=r?t?fS:uS:t?aS:lS;return(o,u,f)=>u==="__v_isReactive"?!t:u==="__v_isReadonly"?t:u==="__v_raw"?o:Reflect.get(nt(i,u)&&u in o?i:o,u,f)}const cS={get:na(!1,!1)},dS={get:na(!1,!0)},hS={get:na(!0,!1)},pS={get:na(!0,!0)},Kp=new WeakMap,Up=new WeakMap,$p=new WeakMap,Vp=new WeakMap;function gS(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vS(t){return t.__v_skip||!Object.isExtensible(t)?0:gS(wp(t))}function lo(t){return t&&t.__v_isReadonly?t:ia(t,!1,Fp,cS,Kp)}function Gp(t){return ia(t,!1,iS,dS,Up)}function bf(t){return ia(t,!0,zp,hS,$p)}function mS(t){return ia(t,!0,oS,pS,Vp)}function ia(t,r,i,o,u){if(!pt(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const f=u.get(t);if(f)return f;const c=vS(t);if(c===0)return t;const p=new Proxy(t,c===2?o:i);return u.set(t,p),p}function yi(t){return Sf(t)?yi(t.__v_raw):!!(t&&t.__v_isReactive)}function Sf(t){return!!(t&&t.__v_isReadonly)}function xf(t){return yi(t)||Sf(t)}function tt(t){const r=t&&t.__v_raw;return r?tt(r):t}function wf(t){return bs(t,"__v_skip",!0),t}const Cs=t=>pt(t)?lo(t):t,Cf=t=>pt(t)?bf(t):t;function Tf(t){Lp()&&(t=tt(t),t.dep||(t.dep=df()),Np(t.dep))}function oa(t,r){t=tt(t),t.dep&&mf(t.dep)}function Mt(t){return Boolean(t&&t.__v_isRef===!0)}function At(t){return Yp(t,!1)}function Ts(t){return Yp(t,!0)}function Yp(t,r){return Mt(t)?t:new yS(t,r)}class yS{constructor(r,i){this._shallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?r:tt(r),this._value=i?r:Cs(r)}get value(){return Tf(this),this._value}set value(r){r=this._shallow?r:tt(r),oo(r,this._rawValue)&&(this._rawValue=r,this._value=this._shallow?r:Cs(r),oa(this))}}function bS(t){oa(t)}function Ct(t){return Mt(t)?t.value:t}const SS={get:(t,r,i)=>Ct(Reflect.get(t,r,i)),set:(t,r,i,o)=>{const u=t[r];return Mt(u)&&!Mt(i)?(u.value=i,!0):Reflect.set(t,r,i,o)}};function Ef(t){return yi(t)?t:new Proxy(t,SS)}class xS{constructor(r){this.dep=void 0,this.__v_isRef=!0;const{get:i,set:o}=r(()=>Tf(this),()=>oa(this));this._get=i,this._set=o}get value(){return this._get()}set value(r){this._set(r)}}function wS(t){return new xS(t)}function CS(t){const r=Fe(t)?new Array(t.length):{};for(const i in t)r[i]=Xp(t,i);return r}class TS{constructor(r,i){this._object=r,this._key=i,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(r){this._object[this._key]=r}}function Xp(t,r){const i=t[r];return Mt(i)?i:new TS(t,r)}class ES{constructor(r,i,o){this._setter=i,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new ws(r,()=>{this._dirty||(this._dirty=!0,oa(this))}),this.__v_isReadonly=o}get value(){const r=tt(this);return Tf(r),r._dirty&&(r._dirty=!1,r._value=r.effect.run()),r._value}set value(r){this._setter(r)}}function sr(t,r){let i,o;const u=Ye(t);return u?(i=t,o=or):(i=t.get,o=t.set),new ES(i,o,u||!o)}Promise.resolve();let ao,sa=[];function Jp(t,r){ao=t,ao?(ao.enabled=!0,sa.forEach(({event:i,args:o})=>ao.emit(i,...o)),sa=[]):typeof window!="undefined"&&!navigator.userAgent.includes("jsdom")?((r.__VUE_DEVTOOLS_HOOK_REPLAY__=r.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Jp(o,r)}),setTimeout(()=>{ao||(r.__VUE_DEVTOOLS_HOOK_REPLAY__=null,sa=[])},3e3)):sa=[]}function OS(t,r,...i){const o=t.vnode.props||st;let u=i;const f=r.startsWith("update:"),c=f&&r.slice(7);if(c&&c in o){const m=`${c==="modelValue"?"model":c}Modifiers`,{number:b,trim:x}=o[m]||st;x?u=i.map(E=>E.trim()):b&&(u=i.map(hn))}let p,h=o[p=hi(r)]||o[p=hi(Gt(r))];!h&&f&&(h=o[p=hi(wr(r))]),h&&Or(h,t,6,u);const g=o[p+"Once"];if(g){if(!t.emitted)t.emitted={};else if(t.emitted[p])return;t.emitted[p]=!0,Or(g,t,6,u)}}function Zp(t,r,i=!1){const o=r.emitsCache,u=o.get(t);if(u!==void 0)return u;const f=t.emits;let c={},p=!1;if(!Ye(t)){const h=g=>{const m=Zp(g,r,!0);m&&(p=!0,lt(c,m))};!i&&r.mixins.length&&r.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}return!f&&!p?(o.set(t,null),null):(Fe(f)?f.forEach(h=>c[h]=null):lt(c,f),o.set(t,c),c)}function Of(t,r){return!t||!Nn(r)?!1:(r=r.slice(2).replace(/Once$/,""),nt(t,r[0].toLowerCase()+r.slice(1))||nt(t,wr(r))||nt(t,r))}let Tr=null,la=null;function Es(t){const r=Tr;return Tr=t,la=t&&t.type.__scopeId||null,r}function kS(t){la=t}function PS(){la=null}const MS=t=>kf;function kf(t,r=Tr,i){if(!r||t._n)return t;const o=(...u)=>{o._d&&Vf(-1);const f=Es(r),c=t(...u);return Es(f),o._d&&Vf(1),c};return o._n=!0,o._c=!0,o._d=!0,o}function aa(t){const{type:r,vnode:i,proxy:o,withProxy:u,props:f,propsOptions:[c],slots:p,attrs:h,emit:g,render:m,renderCache:b,data:x,setupState:E,ctx:P,inheritAttrs:B}=t;let L,F;const M=Es(t);try{if(i.shapeFlag&4){const H=u||o;L=Er(m.call(H,H,b,f,E,x,P)),F=h}else{const H=r;L=Er(H.length>1?H(f,{attrs:h,slots:p,emit:g}):H(f,null)),F=r.props?h:LS(h)}}catch(H){Is.length=0,wi(H,t,1),L=gt(ar)}let N=L;if(F&&B!==!1){const H=Object.keys(F),{shapeFlag:Q}=N;H.length&&Q&(1|6)&&(c&&H.some(Vl)&&(F=NS(F,c)),N=jn(N,F))}return i.dirs&&(N.dirs=N.dirs?N.dirs.concat(i.dirs):i.dirs),i.transition&&(N.transition=i.transition),L=N,Es(M),L}function AS(t){let r;for(let i=0;i<t.length;i++){const o=t[i];if(Wn(o)){if(o.type!==ar||o.children==="v-if"){if(r)return;r=o}}else return}return r}const LS=t=>{let r;for(const i in t)(i==="class"||i==="style"||Nn(i))&&((r||(r={}))[i]=t[i]);return r},NS=(t,r)=>{const i={};for(const o in t)(!Vl(o)||!(o.slice(9)in r))&&(i[o]=t[o]);return i};function IS(t,r,i){const{props:o,children:u,component:f}=t,{props:c,children:p,patchFlag:h}=r,g=f.emitsOptions;if(r.dirs||r.transition)return!0;if(i&&h>=0){if(h&1024)return!0;if(h&16)return o?Qp(o,c,g):!!c;if(h&8){const m=r.dynamicProps;for(let b=0;b<m.length;b++){const x=m[b];if(c[x]!==o[x]&&!Of(g,x))return!0}}}else return(u||p)&&(!p||!p.$stable)?!0:o===c?!1:o?c?Qp(o,c,g):!0:!!c;return!1}function Qp(t,r,i){const o=Object.keys(r);if(o.length!==Object.keys(t).length)return!0;for(let u=0;u<o.length;u++){const f=o[u];if(r[f]!==t[f]&&!Of(i,f))return!0}return!1}function Pf({vnode:t,parent:r},i){for(;r&&r.subTree===t;)(t=r.vnode).el=i,r=r.parent}const RS=t=>t.__isSuspense,DS={name:"Suspense",__isSuspense:!0,process(t,r,i,o,u,f,c,p,h,g){t==null?zS(r,i,o,u,f,c,p,h,g):HS(t,r,i,o,u,c,p,h,g)},hydrate:BS,create:Mf,normalize:WS},FS=DS;function Os(t,r){const i=t.props&&t.props[r];Ye(i)&&i()}function zS(t,r,i,o,u,f,c,p,h){const{p:g,o:{createElement:m}}=h,b=m("div"),x=t.suspense=Mf(t,u,o,r,b,i,f,c,p,h);g(null,x.pendingBranch=t.ssContent,b,null,o,x,f,c),x.deps>0?(Os(t,"onPending"),Os(t,"onFallback"),g(null,t.ssFallback,r,i,o,null,f,c),uo(x,t.ssFallback)):x.resolve()}function HS(t,r,i,o,u,f,c,p,{p:h,um:g,o:{createElement:m}}){const b=r.suspense=t.suspense;b.vnode=r,r.el=t.el;const x=r.ssContent,E=r.ssFallback,{activeBranch:P,pendingBranch:B,isInFallback:L,isHydrating:F}=b;if(B)b.pendingBranch=x,en(x,B)?(h(B,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0?b.resolve():L&&(h(P,E,i,o,u,null,f,c,p),uo(b,E))):(b.pendingId++,F?(b.isHydrating=!1,b.activeBranch=B):g(B,u,b),b.deps=0,b.effects.length=0,b.hiddenContainer=m("div"),L?(h(null,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0?b.resolve():(h(P,E,i,o,u,null,f,c,p),uo(b,E))):P&&en(x,P)?(h(P,x,i,o,u,b,f,c,p),b.resolve(!0)):(h(null,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0&&b.resolve()));else if(P&&en(x,P))h(P,x,i,o,u,b,f,c,p),uo(b,x);else if(Os(r,"onPending"),b.pendingBranch=x,b.pendingId++,h(null,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0)b.resolve();else{const{timeout:M,pendingId:N}=b;M>0?setTimeout(()=>{b.pendingId===N&&b.fallback(E)},M):M===0&&b.fallback(E)}}function Mf(t,r,i,o,u,f,c,p,h,g,m=!1){const{p:b,m:x,um:E,n:P,o:{parentNode:B,remove:L}}=g,F=hn(t.props&&t.props.timeout),M={vnode:t,parent:r,parentComponent:i,isSVG:c,container:o,hiddenContainer:u,anchor:f,deps:0,pendingId:0,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:m,isUnmounted:!1,effects:[],resolve(N=!1){const{vnode:H,activeBranch:Q,pendingBranch:J,pendingId:K,effects:U,parentComponent:q,container:te}=M;if(M.isHydrating)M.isHydrating=!1;else if(!N){const O=Q&&J.transition&&J.transition.mode==="out-in";O&&(Q.transition.afterLeave=()=>{K===M.pendingId&&x(J,te,k,0)});let{anchor:k}=M;Q&&(k=P(Q),E(Q,q,M,!0)),O||x(J,te,k,0)}uo(M,J),M.pendingBranch=null,M.isInFallback=!1;let ee=M.parent,_=!1;for(;ee;){if(ee.pendingBranch){ee.effects.push(...U),_=!0;break}ee=ee.parent}_||oc(U),M.effects=[],Os(H,"onResolve")},fallback(N){if(!M.pendingBranch)return;const{vnode:H,activeBranch:Q,parentComponent:J,container:K,isSVG:U}=M;Os(H,"onFallback");const q=P(Q),te=()=>{!M.isInFallback||(b(null,N,K,q,J,null,U,p,h),uo(M,N))},ee=N.transition&&N.transition.mode==="out-in";ee&&(Q.transition.afterLeave=te),M.isInFallback=!0,E(Q,J,null,!0),ee||te()},move(N,H,Q){M.activeBranch&&x(M.activeBranch,N,H,Q),M.container=N},next(){return M.activeBranch&&P(M.activeBranch)},registerDep(N,H){const Q=!!M.pendingBranch;Q&&M.deps++;const J=N.vnode.el;N.asyncDep.catch(K=>{wi(K,N,0)}).then(K=>{if(N.isUnmounted||M.isUnmounted||M.pendingId!==N.suspenseId)return;N.asyncResolved=!0;const{vnode:U}=N;qf(N,K,!1),J&&(U.el=J);const q=!J&&N.subTree.el;H(N,U,B(J||N.subTree.el),J?null:P(N.subTree),M,c,h),q&&L(q),Pf(N,U.el),Q&&--M.deps==0&&M.resolve()})},unmount(N,H){M.isUnmounted=!0,M.activeBranch&&E(M.activeBranch,i,N,H),M.pendingBranch&&E(M.pendingBranch,i,N,H)}};return M}function BS(t,r,i,o,u,f,c,p,h){const g=r.suspense=Mf(r,o,i,t.parentNode,document.createElement("div"),null,u,f,c,p,!0),m=h(t,g.pendingBranch=r.ssContent,i,g,f,c);return g.deps===0&&g.resolve(),m}function WS(t){const{shapeFlag:r,children:i}=t,o=r&32;t.ssContent=qp(o?i.default:i),t.ssFallback=o?qp(i.fallback):gt(ar)}function qp(t){let r;if(Ye(t)){const i=po&&t._c;i&&(t._d=!1,ya()),t=t(),i&&(t._d=!0,r=_r,Lg())}return Fe(t)&&(t=AS(t)),t=Er(t),r&&!t.dynamicChildren&&(t.dynamicChildren=r.filter(i=>i!==t)),t}function _p(t,r){r&&r.pendingBranch?Fe(t)?r.effects.push(...t):r.effects.push(t):oc(t)}function uo(t,r){t.activeBranch=r;const{vnode:i,parentComponent:o}=t,u=i.el=r.el;o&&o.subTree===i&&(o.vnode.el=u,Pf(o,u))}function ks(t,r){if(zt){let i=zt.provides;const o=zt.parent&&zt.parent.provides;o===i&&(i=zt.provides=Object.create(o)),i[t]=r}}function Wr(t,r,i=!1){const o=zt||Tr;if(o){const u=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(u&&t in u)return u[t];if(arguments.length>1)return i&&Ye(r)?r.call(o.proxy):r}}function Af(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return co(()=>{t.isMounted=!0}),da(()=>{t.isUnmounting=!0}),t}const Lr=[Function,Array],jS={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lr,onEnter:Lr,onAfterEnter:Lr,onEnterCancelled:Lr,onBeforeLeave:Lr,onLeave:Lr,onAfterLeave:Lr,onLeaveCancelled:Lr,onBeforeAppear:Lr,onAppear:Lr,onAfterAppear:Lr,onAppearCancelled:Lr},setup(t,{slots:r}){const i=tn(),o=Af();let u;return()=>{const f=r.default&&ua(r.default(),!0);if(!f||!f.length)return;const c=tt(t),{mode:p}=c,h=f[0];if(o.isLeaving)return Nf(h);const g=tg(h);if(!g)return Nf(h);const m=fo(g,c,o,i);bi(g,m);const b=i.subTree,x=b&&tg(b);let E=!1;const{getTransitionKey:P}=g.type;if(P){const B=P();u===void 0?u=B:B!==u&&(u=B,E=!0)}if(x&&x.type!==ar&&(!en(g,x)||E)){const B=fo(x,c,o,i);if(bi(x,B),p==="out-in")return o.isLeaving=!0,B.afterLeave=()=>{o.isLeaving=!1,i.update()},Nf(h);p==="in-out"&&g.type!==ar&&(B.delayLeave=(L,F,M)=>{const N=eg(o,x);N[String(x.key)]=x,L._leaveCb=()=>{F(),L._leaveCb=void 0,delete m.delayedLeave},m.delayedLeave=M})}return h}}},Lf=jS;function eg(t,r){const{leavingVNodes:i}=t;let o=i.get(r.type);return o||(o=Object.create(null),i.set(r.type,o)),o}function fo(t,r,i,o){const{appear:u,mode:f,persisted:c=!1,onBeforeEnter:p,onEnter:h,onAfterEnter:g,onEnterCancelled:m,onBeforeLeave:b,onLeave:x,onAfterLeave:E,onLeaveCancelled:P,onBeforeAppear:B,onAppear:L,onAfterAppear:F,onAppearCancelled:M}=r,N=String(t.key),H=eg(i,t),Q=(K,U)=>{K&&Or(K,o,9,U)},J={mode:f,persisted:c,beforeEnter(K){let U=p;if(!i.isMounted)if(u)U=B||p;else return;K._leaveCb&&K._leaveCb(!0);const q=H[N];q&&en(t,q)&&q.el._leaveCb&&q.el._leaveCb(),Q(U,[K])},enter(K){let U=h,q=g,te=m;if(!i.isMounted)if(u)U=L||h,q=F||g,te=M||m;else return;let ee=!1;const _=K._enterCb=O=>{ee||(ee=!0,O?Q(te,[K]):Q(q,[K]),J.delayedLeave&&J.delayedLeave(),K._enterCb=void 0)};U?(U(K,_),U.length<=1&&_()):_()},leave(K,U){const q=String(t.key);if(K._enterCb&&K._enterCb(!0),i.isUnmounting)return U();Q(b,[K]);let te=!1;const ee=K._leaveCb=_=>{te||(te=!0,U(),_?Q(P,[K]):Q(E,[K]),K._leaveCb=void 0,H[q]===t&&delete H[q])};H[q]=t,x?(x(K,ee),x.length<=1&&ee()):ee()},clone(K){return fo(K,r,i,o)}};return J}function Nf(t){if(As(t))return t=jn(t),t.children=null,t}function tg(t){return As(t)?t.children?t.children[0]:void 0:t}function bi(t,r){t.shapeFlag&6&&t.component?bi(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function ua(t,r=!1){let i=[],o=0;for(let u=0;u<t.length;u++){const f=t[u];f.type===Yt?(f.patchFlag&128&&o++,i=i.concat(ua(f.children,r))):(r||f.type!==ar)&&i.push(f)}if(o>1)for(let u=0;u<i.length;u++)i[u].patchFlag=-2;return i}function Ps(t){return Ye(t)?{setup:t,name:t.name}:t}const Ms=t=>!!t.type.__asyncLoader;function KS(t){Ye(t)&&(t={loader:t});const{loader:r,loadingComponent:i,errorComponent:o,delay:u=200,timeout:f,suspensible:c=!0,onError:p}=t;let h=null,g,m=0;const b=()=>(m++,h=null,x()),x=()=>{let E;return h||(E=h=r().catch(P=>{if(P=P instanceof Error?P:new Error(String(P)),p)return new Promise((B,L)=>{p(P,()=>B(b()),()=>L(P),m+1)});throw P}).then(P=>E!==h&&h?h:(P&&(P.__esModule||P[Symbol.toStringTag]==="Module")&&(P=P.default),g=P,P)))};return Ps({name:"AsyncComponentWrapper",__asyncLoader:x,get __asyncResolved(){return g},setup(){const E=zt;if(g)return()=>If(g,E);const P=M=>{h=null,wi(M,E,13,!o)};if(c&&E.suspense||Rs)return x().then(M=>()=>If(M,E)).catch(M=>(P(M),()=>o?gt(o,{error:M}):null));const B=At(!1),L=At(),F=At(!!u);return u&&setTimeout(()=>{F.value=!1},u),f!=null&&setTimeout(()=>{if(!B.value&&!L.value){const M=new Error(`Async component timed out after ${f}ms.`);P(M),L.value=M}},f),x().then(()=>{B.value=!0,E.parent&&As(E.parent.vnode)&&ic(E.parent.update)}).catch(M=>{P(M),L.value=M}),()=>{if(B.value&&g)return If(g,E);if(L.value&&o)return gt(o,{error:L.value});if(i&&!F.value)return gt(i)}}})}function If(t,{vnode:{ref:r,props:i,children:o}}){const u=gt(t,i,o);return u.ref=r,u}const As=t=>t.type.__isKeepAlive,US={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:r}){const i=tn(),o=i.ctx;if(!o.renderer)return r.default;const u=new Map,f=new Set;let c=null;const p=i.suspense,{renderer:{p:h,m:g,um:m,o:{createElement:b}}}=o,x=b("div");o.activate=(M,N,H,Q,J)=>{const K=M.component;g(M,N,H,0,p),h(K.vnode,M,N,H,K,p,Q,M.slotScopeIds,J),Kt(()=>{K.isDeactivated=!1,K.a&&pi(K.a);const U=M.props&&M.props.onVnodeMounted;U&&pr(U,K.parent,M)},p)},o.deactivate=M=>{const N=M.component;g(M,x,null,1,p),Kt(()=>{N.da&&pi(N.da);const H=M.props&&M.props.onVnodeUnmounted;H&&pr(H,N.parent,M),N.isDeactivated=!0},p)};function E(M){Rf(M),m(M,i,p)}function P(M){u.forEach((N,H)=>{const Q=Ca(N.type);Q&&(!M||!M(Q))&&B(H)})}function B(M){const N=u.get(M);!c||N.type!==c.type?E(N):c&&Rf(c),u.delete(M),f.delete(M)}gr(()=>[t.include,t.exclude],([M,N])=>{M&&P(H=>Ls(M,H)),N&&P(H=>!Ls(N,H))},{flush:"post",deep:!0});let L=null;const F=()=>{L!=null&&u.set(L,Df(i.subTree))};return co(F),ca(F),da(()=>{u.forEach(M=>{const{subTree:N,suspense:H}=i,Q=Df(N);if(M.type===Q.type){Rf(Q);const J=Q.component.da;J&&Kt(J,H);return}E(M)})}),()=>{if(L=null,!r.default)return null;const M=r.default(),N=M[0];if(M.length>1)return c=null,M;if(!Wn(N)||!(N.shapeFlag&4)&&!(N.shapeFlag&128))return c=null,N;let H=Df(N);const Q=H.type,J=Ca(Ms(H)?H.type.__asyncResolved||{}:Q),{include:K,exclude:U,max:q}=t;if(K&&(!J||!Ls(K,J))||U&&J&&Ls(U,J))return c=H,N;const te=H.key==null?Q:H.key,ee=u.get(te);return H.el&&(H=jn(H),N.shapeFlag&128&&(N.ssContent=H)),L=te,ee?(H.el=ee.el,H.component=ee.component,H.transition&&bi(H,H.transition),H.shapeFlag|=512,f.delete(te),f.add(te)):(f.add(te),q&&f.size>parseInt(q,10)&&B(f.values().next().value)),H.shapeFlag|=256,c=H,N}}},$S=US;function Ls(t,r){return Fe(t)?t.some(i=>Ls(i,r)):Ze(t)?t.split(",").indexOf(r)>-1:t.test?t.test(r):!1}function rg(t,r){ig(t,"a",r)}function ng(t,r){ig(t,"da",r)}function ig(t,r,i=zt){const o=t.__wdc||(t.__wdc=()=>{let u=i;for(;u;){if(u.isDeactivated)return;u=u.parent}t()});if(fa(r,o,i),i){let u=i.parent;for(;u&&u.parent;)As(u.parent.vnode)&&VS(o,r,i,u),u=u.parent}}function VS(t,r,i,o){const u=fa(r,t,o,!0);ha(()=>{lf(o[r],u)},i)}function Rf(t){let r=t.shapeFlag;r&256&&(r-=256),r&512&&(r-=512),t.shapeFlag=r}function Df(t){return t.shapeFlag&128?t.ssContent:t}function fa(t,r,i=zt,o=!1){if(i){const u=i[t]||(i[t]=[]),f=r.__weh||(r.__weh=(...c)=>{if(i.isUnmounted)return;mi(),Un(i);const p=Or(r,i,t,c);return $n(),zn(),p});return o?u.unshift(f):u.push(f),f}}const gn=t=>(r,i=zt)=>(!Rs||t==="sp")&&fa(t,r,i),og=gn("bm"),co=gn("m"),sg=gn("bu"),ca=gn("u"),da=gn("bum"),ha=gn("um"),lg=gn("sp"),ag=gn("rtg"),ug=gn("rtc");function fg(t,r=zt){fa("ec",t,r)}let Ff=!0;function GS(t){const r=hg(t),i=t.proxy,o=t.ctx;Ff=!1,r.beforeCreate&&cg(r.beforeCreate,t,"bc");const{data:u,computed:f,methods:c,watch:p,provide:h,inject:g,created:m,beforeMount:b,mounted:x,beforeUpdate:E,updated:P,activated:B,deactivated:L,beforeDestroy:F,beforeUnmount:M,destroyed:N,unmounted:H,render:Q,renderTracked:J,renderTriggered:K,errorCaptured:U,serverPrefetch:q,expose:te,inheritAttrs:ee,components:_,directives:O,filters:k}=r;if(g&&YS(g,o,null,t.appContext.config.unwrapInjectedRef),c)for(const W in c){const Y=c[W];Ye(Y)&&(o[W]=Y.bind(i))}if(u){const W=u.call(i,i);pt(W)&&(t.data=lo(W))}if(Ff=!0,f)for(const W in f){const Y=f[W],ue=Ye(Y)?Y.bind(i,i):Ye(Y.get)?Y.get.bind(i,i):or,he=!Ye(Y)&&Ye(Y.set)?Y.set.bind(i):or,je=sr({get:ue,set:he});Object.defineProperty(o,W,{enumerable:!0,configurable:!0,get:()=>je.value,set:We=>je.value=We})}if(p)for(const W in p)dg(p[W],o,i,W);if(h){const W=Ye(h)?h.call(i):h;Reflect.ownKeys(W).forEach(Y=>{ks(Y,W[Y])})}m&&cg(m,t,"c");function j(W,Y){Fe(Y)?Y.forEach(ue=>W(ue.bind(i))):Y&&W(Y.bind(i))}if(j(og,b),j(co,x),j(sg,E),j(ca,P),j(rg,B),j(ng,L),j(fg,U),j(ug,J),j(ag,K),j(da,M),j(ha,H),j(lg,q),Fe(te))if(te.length){const W=t.exposed||(t.exposed={});te.forEach(Y=>{Object.defineProperty(W,Y,{get:()=>i[Y],set:ue=>i[Y]=ue})})}else t.exposed||(t.exposed={});Q&&t.render===or&&(t.render=Q),ee!=null&&(t.inheritAttrs=ee),_&&(t.components=_),O&&(t.directives=O)}function YS(t,r,i=or,o=!1){Fe(t)&&(t=zf(t));for(const u in t){const f=t[u];let c;pt(f)?"default"in f?c=Wr(f.from||u,f.default,!0):c=Wr(f.from||u):c=Wr(f),Mt(c)&&o?Object.defineProperty(r,u,{enumerable:!0,configurable:!0,get:()=>c.value,set:p=>c.value=p}):r[u]=c}}function cg(t,r,i){Or(Fe(t)?t.map(o=>o.bind(r.proxy)):t.bind(r.proxy),r,i)}function dg(t,r,i,o){const u=o.includes(".")?qg(i,o):()=>i[o];if(Ze(t)){const f=r[t];Ye(f)&&gr(u,f)}else if(Ye(t))gr(u,t.bind(i));else if(pt(t))if(Fe(t))t.forEach(f=>dg(f,r,i,o));else{const f=Ye(t.handler)?t.handler.bind(i):r[t.handler];Ye(f)&&gr(u,f,t)}}function hg(t){const r=t.type,{mixins:i,extends:o}=r,{mixins:u,optionsCache:f,config:{optionMergeStrategies:c}}=t.appContext,p=f.get(r);let h;return p?h=p:!u.length&&!i&&!o?h=r:(h={},u.length&&u.forEach(g=>pa(h,g,c,!0)),pa(h,r,c)),f.set(r,h),h}function pa(t,r,i,o=!1){const{mixins:u,extends:f}=r;f&&pa(t,f,i,!0),u&&u.forEach(c=>pa(t,c,i,!0));for(const c in r)if(!(o&&c==="expose")){const p=XS[c]||i&&i[c];t[c]=p?p(t[c],r[c]):r[c]}return t}const XS={data:pg,props:Si,emits:Si,methods:Si,computed:Si,beforeCreate:lr,created:lr,beforeMount:lr,mounted:lr,beforeUpdate:lr,updated:lr,beforeDestroy:lr,beforeUnmount:lr,destroyed:lr,unmounted:lr,activated:lr,deactivated:lr,errorCaptured:lr,serverPrefetch:lr,components:Si,directives:Si,watch:ZS,provide:pg,inject:JS};function pg(t,r){return r?t?function(){return lt(Ye(t)?t.call(this,this):t,Ye(r)?r.call(this,this):r)}:r:t}function JS(t,r){return Si(zf(t),zf(r))}function zf(t){if(Fe(t)){const r={};for(let i=0;i<t.length;i++)r[t[i]]=t[i];return r}return t}function lr(t,r){return t?[...new Set([].concat(t,r))]:r}function Si(t,r){return t?lt(lt(Object.create(null),t),r):r}function ZS(t,r){if(!t)return r;if(!r)return t;const i=lt(Object.create(null),t);for(const o in r)i[o]=lr(t[o],r[o]);return i}function QS(t,r,i,o=!1){const u={},f={};bs(f,ba,1),t.propsDefaults=Object.create(null),gg(t,r,u,f);for(const c in t.propsOptions[0])c in u||(u[c]=void 0);i?t.props=o?u:Gp(u):t.type.props?t.props=u:t.props=f,t.attrs=f}function qS(t,r,i,o){const{props:u,attrs:f,vnode:{patchFlag:c}}=t,p=tt(u),[h]=t.propsOptions;let g=!1;if((o||c>0)&&!(c&16)){if(c&8){const m=t.vnode.dynamicProps;for(let b=0;b<m.length;b++){let x=m[b];const E=r[x];if(h)if(nt(f,x))E!==f[x]&&(f[x]=E,g=!0);else{const P=Gt(x);u[P]=Hf(h,p,P,E,t,!1)}else E!==f[x]&&(f[x]=E,g=!0)}}}else{gg(t,r,u,f)&&(g=!0);let m;for(const b in p)(!r||!nt(r,b)&&((m=wr(b))===b||!nt(r,m)))&&(h?i&&(i[b]!==void 0||i[m]!==void 0)&&(u[b]=Hf(h,p,b,void 0,t,!0)):delete u[b]);if(f!==p)for(const b in f)(!r||!nt(r,b))&&(delete f[b],g=!0)}g&&pn(t,"set","$attrs")}function gg(t,r,i,o){const[u,f]=t.propsOptions;let c=!1,p;if(r)for(let h in r){if(Rn(h))continue;const g=r[h];let m;u&&nt(u,m=Gt(h))?!f||!f.includes(m)?i[m]=g:(p||(p={}))[m]=g:Of(t.emitsOptions,h)||g!==o[h]&&(o[h]=g,c=!0)}if(f){const h=tt(i),g=p||st;for(let m=0;m<f.length;m++){const b=f[m];i[b]=Hf(u,h,b,g[b],t,!nt(g,b))}}return c}function Hf(t,r,i,o,u,f){const c=t[i];if(c!=null){const p=nt(c,"default");if(p&&o===void 0){const h=c.default;if(c.type!==Function&&Ye(h)){const{propsDefaults:g}=u;i in g?o=g[i]:(Un(u),o=g[i]=h.call(null,r),$n())}else o=h}c[0]&&(f&&!p?o=!1:c[1]&&(o===""||o===wr(i))&&(o=!0))}return o}function vg(t,r,i=!1){const o=r.propsCache,u=o.get(t);if(u)return u;const f=t.props,c={},p=[];let h=!1;if(!Ye(t)){const m=b=>{h=!0;const[x,E]=vg(b,r,!0);lt(c,x),E&&p.push(...E)};!i&&r.mixins.length&&r.mixins.forEach(m),t.extends&&m(t.extends),t.mixins&&t.mixins.forEach(m)}if(!f&&!h)return o.set(t,fi),fi;if(Fe(f))for(let m=0;m<f.length;m++){const b=Gt(f[m]);mg(b)&&(c[b]=st)}else if(f)for(const m in f){const b=Gt(m);if(mg(b)){const x=f[m],E=c[b]=Fe(x)||Ye(x)?{type:x}:x;if(E){const P=Sg(Boolean,E.type),B=Sg(String,E.type);E[0]=P>-1,E[1]=B<0||P<B,(P>-1||nt(E,"default"))&&p.push(b)}}}const g=[c,p];return o.set(t,g),g}function mg(t){return t[0]!=="$"}function yg(t){const r=t&&t.toString().match(/^\s*function (\w+)/);return r?r[1]:t===null?"null":""}function bg(t,r){return yg(t)===yg(r)}function Sg(t,r){return Fe(r)?r.findIndex(i=>bg(i,t)):Ye(r)&&bg(r,t)?0:-1}const xg=t=>t[0]==="_"||t==="$stable",Bf=t=>Fe(t)?t.map(Er):[Er(t)],_S=(t,r,i)=>{const o=kf((...u)=>Bf(r(...u)),i);return o._c=!1,o},wg=(t,r,i)=>{const o=t._ctx;for(const u in t){if(xg(u))continue;const f=t[u];if(Ye(f))r[u]=_S(u,f,o);else if(f!=null){const c=Bf(f);r[u]=()=>c}}},Cg=(t,r)=>{const i=Bf(r);t.slots.default=()=>i},ex=(t,r)=>{if(t.vnode.shapeFlag&32){const i=r._;i?(t.slots=tt(r),bs(r,"_",i)):wg(r,t.slots={})}else t.slots={},r&&Cg(t,r);bs(t.slots,ba,1)},tx=(t,r,i)=>{const{vnode:o,slots:u}=t;let f=!0,c=st;if(o.shapeFlag&32){const p=r._;p?i&&p===1?f=!1:(lt(u,r),!i&&p===1&&delete u._):(f=!r.$stable,wg(r,u)),c=r}else r&&(Cg(t,r),c={default:1});if(f)for(const p in u)!xg(p)&&!(p in c)&&delete u[p]};function rx(t,r){const i=Tr;if(i===null)return t;const o=i.proxy,u=t.dirs||(t.dirs=[]);for(let f=0;f<r.length;f++){let[c,p,h,g=st]=r[f];Ye(c)&&(c={mounted:c,updated:c}),c.deep&&Ci(p),u.push({dir:c,instance:o,value:p,oldValue:void 0,arg:h,modifiers:g})}return t}function qr(t,r,i,o){const u=t.dirs,f=r&&r.dirs;for(let c=0;c<u.length;c++){const p=u[c];f&&(p.oldValue=f[c].value);let h=p.dir[o];h&&(mi(),Or(h,i,8,[t.el,p,t,r]),zn())}}function Tg(){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 nx=0;function ix(t,r){return function(o,u=null){u!=null&&!pt(u)&&(u=null);const f=Tg(),c=new Set;let p=!1;const h=f.app={_uid:nx++,_component:o,_props:u,_container:null,_context:f,_instance:null,version:rv,get config(){return f.config},set config(g){},use(g,...m){return c.has(g)||(g&&Ye(g.install)?(c.add(g),g.install(h,...m)):Ye(g)&&(c.add(g),g(h,...m))),h},mixin(g){return f.mixins.includes(g)||f.mixins.push(g),h},component(g,m){return m?(f.components[g]=m,h):f.components[g]},directive(g,m){return m?(f.directives[g]=m,h):f.directives[g]},mount(g,m,b){if(!p){const x=gt(o,u);return x.appContext=f,m&&r?r(x,g):t(x,g,b),p=!0,h._container=g,g.__vue_app__=h,ec(x.component)||x.component.proxy}},unmount(){p&&(t(null,h._container),delete h._container.__vue_app__)},provide(g,m){return f.provides[g]=m,h}};return h}}let Bn=!1;const ga=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",Wf=t=>t.nodeType===8;function ox(t){const{mt:r,p:i,o:{patchProp:o,nextSibling:u,parentNode:f,remove:c,insert:p,createComment:h}}=t,g=(L,F)=>{if(!F.hasChildNodes()){i(null,L,F),Ea();return}Bn=!1,m(F.firstChild,L,null,null,null),Ea(),Bn&&console.error("Hydration completed but contains mismatches.")},m=(L,F,M,N,H,Q=!1)=>{const J=Wf(L)&&L.data==="[",K=()=>P(L,F,M,N,H,J),{type:U,ref:q,shapeFlag:te}=F,ee=L.nodeType;F.el=L;let _=null;switch(U){case ho:ee!==3?_=K():(L.data!==F.children&&(Bn=!0,L.data=F.children),_=u(L));break;case ar:ee!==8||J?_=K():_=u(L);break;case xi:if(ee!==1)_=K();else{_=L;const O=!F.children.length;for(let k=0;k<F.staticCount;k++)O&&(F.children+=_.outerHTML),k===F.staticCount-1&&(F.anchor=_),_=u(_);return _}break;case Yt:J?_=E(L,F,M,N,H,Q):_=K();break;default:if(te&1)ee!==1||F.type.toLowerCase()!==L.tagName.toLowerCase()?_=K():_=b(L,F,M,N,H,Q);else if(te&6){F.slotScopeIds=H;const O=f(L);if(r(F,O,null,M,N,ga(O),Q),_=J?B(L):u(L),Ms(F)){let k;J?(k=gt(Yt),k.anchor=_?_.previousSibling:O.lastChild):k=L.nodeType===3?Xf(""):gt("div"),k.el=L,F.component.subTree=k}}else te&64?ee!==8?_=K():_=F.type.hydrate(L,F,M,N,H,Q,t,x):te&128&&(_=F.type.hydrate(L,F,M,N,ga(f(L)),H,Q,t,m))}return q!=null&&va(q,null,N,F),_},b=(L,F,M,N,H,Q)=>{Q=Q||!!F.dynamicChildren;const{type:J,props:K,patchFlag:U,shapeFlag:q,dirs:te}=F,ee=J==="input"&&te||J==="option";if(ee||U!==-1){if(te&&qr(F,null,M,"created"),K)if(ee||!Q||U&(16|32))for(const O in K)(ee&&O.endsWith("value")||Nn(O)&&!Rn(O))&&o(L,O,null,K[O],!1,void 0,M);else K.onClick&&o(L,"onClick",null,K.onClick,!1,void 0,M);let _;if((_=K&&K.onVnodeBeforeMount)&&pr(_,M,F),te&&qr(F,null,M,"beforeMount"),((_=K&&K.onVnodeMounted)||te)&&_p(()=>{_&&pr(_,M,F),te&&qr(F,null,M,"mounted")},N),q&16&&!(K&&(K.innerHTML||K.textContent))){let O=x(L.firstChild,F,L,M,N,H,Q);for(;O;){Bn=!0;const k=O;O=O.nextSibling,c(k)}}else q&8&&L.textContent!==F.children&&(Bn=!0,L.textContent=F.children)}return L.nextSibling},x=(L,F,M,N,H,Q,J)=>{J=J||!!F.dynamicChildren;const K=F.children,U=K.length;for(let q=0;q<U;q++){const te=J?K[q]:K[q]=Er(K[q]);if(L)L=m(L,te,N,H,Q,J);else{if(te.type===ho&&!te.children)continue;Bn=!0,i(null,te,M,null,N,H,ga(M),Q)}}return L},E=(L,F,M,N,H,Q)=>{const{slotScopeIds:J}=F;J&&(H=H?H.concat(J):J);const K=f(L),U=x(u(L),F,K,M,N,H,Q);return U&&Wf(U)&&U.data==="]"?u(F.anchor=U):(Bn=!0,p(F.anchor=h("]"),K,U),U)},P=(L,F,M,N,H,Q)=>{if(Bn=!0,F.el=null,Q){const U=B(L);for(;;){const q=u(L);if(q&&q!==U)c(q);else break}}const J=u(L),K=f(L);return c(L),i(null,F,K,J,M,N,ga(K),H),J},B=L=>{let F=0;for(;L;)if(L=u(L),L&&Wf(L)&&(L.data==="["&&F++,L.data==="]")){if(F===0)return u(L);F--}return L};return[g,m]}const Kt=_p;function Eg(t){return kg(t)}function Og(t){return kg(t,ox)}function kg(t,r){const i=Tp();i.__VUE__=!0;const{insert:o,remove:u,patchProp:f,createElement:c,createText:p,createComment:h,setText:g,setElementText:m,parentNode:b,nextSibling:x,setScopeId:E=or,cloneNode:P,insertStaticContent:B}=t,L=(z,$,Z,oe=null,ae=null,ve=null,Ce=!1,xe=null,de=!!$.dynamicChildren)=>{if(z===$)return;z&&!en(z,$)&&(oe=be(z),Ke(z,ae,ve,!0),z=null),$.patchFlag===-2&&(de=!1,$.dynamicChildren=null);const{type:I,ref:re,shapeFlag:G}=$;switch(I){case ho:F(z,$,Z,oe);break;case ar:M(z,$,Z,oe);break;case xi:z==null&&N($,Z,oe,Ce);break;case Yt:O(z,$,Z,oe,ae,ve,Ce,xe,de);break;default:G&1?J(z,$,Z,oe,ae,ve,Ce,xe,de):G&6?k(z,$,Z,oe,ae,ve,Ce,xe,de):(G&64||G&128)&&I.process(z,$,Z,oe,ae,ve,Ce,xe,de,ke)}re!=null&&ae&&va(re,z&&z.ref,ve,$||z,!$)},F=(z,$,Z,oe)=>{if(z==null)o($.el=p($.children),Z,oe);else{const ae=$.el=z.el;$.children!==z.children&&g(ae,$.children)}},M=(z,$,Z,oe)=>{z==null?o($.el=h($.children||""),Z,oe):$.el=z.el},N=(z,$,Z,oe)=>{[z.el,z.anchor]=B(z.children,$,Z,oe)},H=({el:z,anchor:$},Z,oe)=>{let ae;for(;z&&z!==$;)ae=x(z),o(z,Z,oe),z=ae;o($,Z,oe)},Q=({el:z,anchor:$})=>{let Z;for(;z&&z!==$;)Z=x(z),u(z),z=Z;u($)},J=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{Ce=Ce||$.type==="svg",z==null?K($,Z,oe,ae,ve,Ce,xe,de):te(z,$,ae,ve,Ce,xe,de)},K=(z,$,Z,oe,ae,ve,Ce,xe)=>{let de,I;const{type:re,props:G,shapeFlag:we,transition:Re,patchFlag:Ve,dirs:at}=z;if(z.el&&P!==void 0&&Ve===-1)de=z.el=P(z.el);else{if(de=z.el=c(z.type,ve,G&&G.is,G),we&8?m(de,z.children):we&16&&q(z.children,de,null,oe,ae,ve&&re!=="foreignObject",Ce,xe),at&&qr(z,null,oe,"created"),G){for(const Ue in G)Ue!=="value"&&!Rn(Ue)&&f(de,Ue,null,G[Ue],ve,z.children,oe,ae,le);"value"in G&&f(de,"value",null,G.value),(I=G.onVnodeBeforeMount)&&pr(I,oe,z)}U(de,z,z.scopeId,Ce,oe)}at&&qr(z,null,oe,"beforeMount");const Je=(!ae||ae&&!ae.pendingBranch)&&Re&&!Re.persisted;Je&&Re.beforeEnter(de),o(de,$,Z),((I=G&&G.onVnodeMounted)||Je||at)&&Kt(()=>{I&&pr(I,oe,z),Je&&Re.enter(de),at&&qr(z,null,oe,"mounted")},ae)},U=(z,$,Z,oe,ae)=>{if(Z&&E(z,Z),oe)for(let ve=0;ve<oe.length;ve++)E(z,oe[ve]);if(ae){let ve=ae.subTree;if($===ve){const Ce=ae.vnode;U(z,Ce,Ce.scopeId,Ce.slotScopeIds,ae.parent)}}},q=(z,$,Z,oe,ae,ve,Ce,xe,de=0)=>{for(let I=de;I<z.length;I++){const re=z[I]=xe?Kn(z[I]):Er(z[I]);L(null,re,$,Z,oe,ae,ve,Ce,xe)}},te=(z,$,Z,oe,ae,ve,Ce)=>{const xe=$.el=z.el;let{patchFlag:de,dynamicChildren:I,dirs:re}=$;de|=z.patchFlag&16;const G=z.props||st,we=$.props||st;let Re;(Re=we.onVnodeBeforeUpdate)&&pr(Re,Z,$,z),re&&qr($,z,Z,"beforeUpdate");const Ve=ae&&$.type!=="foreignObject";if(I?ee(z.dynamicChildren,I,xe,Z,oe,Ve,ve):Ce||ue(z,$,xe,null,Z,oe,Ve,ve,!1),de>0){if(de&16)_(xe,$,G,we,Z,oe,ae);else if(de&2&&G.class!==we.class&&f(xe,"class",null,we.class,ae),de&4&&f(xe,"style",G.style,we.style,ae),de&8){const at=$.dynamicProps;for(let Je=0;Je<at.length;Je++){const Ue=at[Je],xt=G[Ue],vt=we[Ue];(vt!==xt||Ue==="value")&&f(xe,Ue,xt,vt,ae,z.children,Z,oe,le)}}de&1&&z.children!==$.children&&m(xe,$.children)}else!Ce&&I==null&&_(xe,$,G,we,Z,oe,ae);((Re=we.onVnodeUpdated)||re)&&Kt(()=>{Re&&pr(Re,Z,$,z),re&&qr($,z,Z,"updated")},oe)},ee=(z,$,Z,oe,ae,ve,Ce)=>{for(let xe=0;xe<$.length;xe++){const de=z[xe],I=$[xe],re=de.el&&(de.type===Yt||!en(de,I)||de.shapeFlag&(6|64))?b(de.el):Z;L(de,I,re,null,oe,ae,ve,Ce,!0)}},_=(z,$,Z,oe,ae,ve,Ce)=>{if(Z!==oe){for(const xe in oe){if(Rn(xe))continue;const de=oe[xe],I=Z[xe];de!==I&&xe!=="value"&&f(z,xe,I,de,Ce,$.children,ae,ve,le)}if(Z!==st)for(const xe in Z)!Rn(xe)&&!(xe in oe)&&f(z,xe,Z[xe],null,Ce,$.children,ae,ve,le);"value"in oe&&f(z,"value",Z.value,oe.value)}},O=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{const I=$.el=z?z.el:p(""),re=$.anchor=z?z.anchor:p("");let{patchFlag:G,dynamicChildren:we,slotScopeIds:Re}=$;Re&&(xe=xe?xe.concat(Re):Re),z==null?(o(I,Z,oe),o(re,Z,oe),q($.children,Z,re,ae,ve,Ce,xe,de)):G>0&&G&64&&we&&z.dynamicChildren?(ee(z.dynamicChildren,we,Z,ae,ve,Ce,xe),($.key!=null||ae&&$===ae.subTree)&&jf(z,$,!0)):ue(z,$,Z,re,ae,ve,Ce,xe,de)},k=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{$.slotScopeIds=xe,z==null?$.shapeFlag&512?ae.ctx.activate($,Z,oe,Ce,de):w($,Z,oe,ae,ve,Ce,de):j(z,$,de)},w=(z,$,Z,oe,ae,ve,Ce)=>{const xe=z.component=zg(z,oe,ae);if(As(z)&&(xe.ctx.renderer=ke),Bg(xe),xe.asyncDep){if(ae&&ae.registerDep(xe,W),!z.el){const de=xe.subTree=gt(ar);M(null,de,$,Z)}return}W(xe,z,$,Z,ae,ve,Ce)},j=(z,$,Z)=>{const oe=$.component=z.component;if(IS(z,$,Z))if(oe.asyncDep&&!oe.asyncResolved){Y(oe,$,Z);return}else oe.next=$,Wx(oe.update),oe.update();else $.component=z.component,$.el=z.el,oe.vnode=$},W=(z,$,Z,oe,ae,ve,Ce)=>{const xe=()=>{if(z.isMounted){let{next:re,bu:G,u:we,parent:Re,vnode:Ve}=z,at=re,Je;de.allowRecurse=!1,re?(re.el=Ve.el,Y(z,re,Ce)):re=Ve,G&&pi(G),(Je=re.props&&re.props.onVnodeBeforeUpdate)&&pr(Je,Re,re,Ve),de.allowRecurse=!0;const Ue=aa(z),xt=z.subTree;z.subTree=Ue,L(xt,Ue,b(xt.el),be(xt),z,ae,ve),re.el=Ue.el,at===null&&Pf(z,Ue.el),we&&Kt(we,ae),(Je=re.props&&re.props.onVnodeUpdated)&&Kt(()=>pr(Je,Re,re,Ve),ae)}else{let re;const{el:G,props:we}=$,{bm:Re,m:Ve,parent:at}=z,Je=Ms($);if(de.allowRecurse=!1,Re&&pi(Re),!Je&&(re=we&&we.onVnodeBeforeMount)&&pr(re,at,$),de.allowRecurse=!0,G&&Le){const Ue=()=>{z.subTree=aa(z),Le(G,z.subTree,z,ae,null)};Je?$.type.__asyncLoader().then(()=>!z.isUnmounted&&Ue()):Ue()}else{const Ue=z.subTree=aa(z);L(null,Ue,Z,oe,z,ae,ve),$.el=Ue.el}if(Ve&&Kt(Ve,ae),!Je&&(re=we&&we.onVnodeMounted)){const Ue=$;Kt(()=>pr(re,at,Ue),ae)}$.shapeFlag&256&&z.a&&Kt(z.a,ae),z.isMounted=!0,$=Z=oe=null}},de=new ws(xe,()=>ic(z.update),z.scope),I=z.update=de.run.bind(de);I.id=z.uid,de.allowRecurse=I.allowRecurse=!0,I()},Y=(z,$,Z)=>{$.component=z;const oe=z.vnode.props;z.vnode=$,z.next=null,qS(z,$.props,oe,Z),tx(z,$.children,Z),mi(),sc(void 0,z.update),zn()},ue=(z,$,Z,oe,ae,ve,Ce,xe,de=!1)=>{const I=z&&z.children,re=z?z.shapeFlag:0,G=$.children,{patchFlag:we,shapeFlag:Re}=$;if(we>0){if(we&128){je(I,G,Z,oe,ae,ve,Ce,xe,de);return}else if(we&256){he(I,G,Z,oe,ae,ve,Ce,xe,de);return}}Re&8?(re&16&&le(I,ae,ve),G!==I&&m(Z,G)):re&16?Re&16?je(I,G,Z,oe,ae,ve,Ce,xe,de):le(I,ae,ve,!0):(re&8&&m(Z,""),Re&16&&q(G,Z,oe,ae,ve,Ce,xe,de))},he=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{z=z||fi,$=$||fi;const I=z.length,re=$.length,G=Math.min(I,re);let we;for(we=0;we<G;we++){const Re=$[we]=de?Kn($[we]):Er($[we]);L(z[we],Re,Z,null,ae,ve,Ce,xe,de)}I>re?le(z,ae,ve,!0,!1,G):q($,Z,oe,ae,ve,Ce,xe,de,G)},je=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{let I=0;const re=$.length;let G=z.length-1,we=re-1;for(;I<=G&&I<=we;){const Re=z[I],Ve=$[I]=de?Kn($[I]):Er($[I]);if(en(Re,Ve))L(Re,Ve,Z,null,ae,ve,Ce,xe,de);else break;I++}for(;I<=G&&I<=we;){const Re=z[G],Ve=$[we]=de?Kn($[we]):Er($[we]);if(en(Re,Ve))L(Re,Ve,Z,null,ae,ve,Ce,xe,de);else break;G--,we--}if(I>G){if(I<=we){const Re=we+1,Ve=Re<re?$[Re].el:oe;for(;I<=we;)L(null,$[I]=de?Kn($[I]):Er($[I]),Z,Ve,ae,ve,Ce,xe,de),I++}}else if(I>we)for(;I<=G;)Ke(z[I],ae,ve,!0),I++;else{const Re=I,Ve=I,at=new Map;for(I=Ve;I<=we;I++){const Oe=$[I]=de?Kn($[I]):Er($[I]);Oe.key!=null&&at.set(Oe.key,I)}let Je,Ue=0;const xt=we-Ve+1;let vt=!1,Xt=0;const De=new Array(xt);for(I=0;I<xt;I++)De[I]=0;for(I=Re;I<=G;I++){const Oe=z[I];if(Ue>=xt){Ke(Oe,ae,ve,!0);continue}let ge;if(Oe.key!=null)ge=at.get(Oe.key);else for(Je=Ve;Je<=we;Je++)if(De[Je-Ve]===0&&en(Oe,$[Je])){ge=Je;break}ge===void 0?Ke(Oe,ae,ve,!0):(De[ge-Ve]=I+1,ge>=Xt?Xt=ge:vt=!0,L(Oe,$[ge],Z,null,ae,ve,Ce,xe,de),Ue++)}const Ge=vt?sx(De):fi;for(Je=Ge.length-1,I=xt-1;I>=0;I--){const Oe=Ve+I,ge=$[Oe],He=Oe+1<re?$[Oe+1].el:oe;De[I]===0?L(null,ge,Z,He,ae,ve,Ce,xe,de):vt&&(Je<0||I!==Ge[Je]?We(ge,Z,He,2):Je--)}}},We=(z,$,Z,oe,ae=null)=>{const{el:ve,type:Ce,transition:xe,children:de,shapeFlag:I}=z;if(I&6){We(z.component.subTree,$,Z,oe);return}if(I&128){z.suspense.move($,Z,oe);return}if(I&64){Ce.move(z,$,Z,ke);return}if(Ce===Yt){o(ve,$,Z);for(let G=0;G<de.length;G++)We(de[G],$,Z,oe);o(z.anchor,$,Z);return}if(Ce===xi){H(z,$,Z);return}if(oe!==2&&I&1&&xe)if(oe===0)xe.beforeEnter(ve),o(ve,$,Z),Kt(()=>xe.enter(ve),ae);else{const{leave:G,delayLeave:we,afterLeave:Re}=xe,Ve=()=>o(ve,$,Z),at=()=>{G(ve,()=>{Ve(),Re&&Re()})};we?we(ve,Ve,at):at()}else o(ve,$,Z)},Ke=(z,$,Z,oe=!1,ae=!1)=>{const{type:ve,props:Ce,ref:xe,children:de,dynamicChildren:I,shapeFlag:re,patchFlag:G,dirs:we}=z;if(xe!=null&&va(xe,null,Z,z,!0),re&256){$.ctx.deactivate(z);return}const Re=re&1&&we,Ve=!Ms(z);let at;if(Ve&&(at=Ce&&Ce.onVnodeBeforeUnmount)&&pr(at,$,z),re&6)se(z.component,Z,oe);else{if(re&128){z.suspense.unmount(Z,oe);return}Re&&qr(z,null,$,"beforeUnmount"),re&64?z.type.remove(z,$,Z,ae,ke,oe):I&&(ve!==Yt||G>0&&G&64)?le(I,$,Z,!1,!0):(ve===Yt&&G&(128|256)||!ae&&re&16)&&le(de,$,Z),oe&&Xe(z)}(Ve&&(at=Ce&&Ce.onVnodeUnmounted)||Re)&&Kt(()=>{at&&pr(at,$,z),Re&&qr(z,null,$,"unmounted")},Z)},Xe=z=>{const{type:$,el:Z,anchor:oe,transition:ae}=z;if($===Yt){ie(Z,oe);return}if($===xi){Q(z);return}const ve=()=>{u(Z),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(z.shapeFlag&1&&ae&&!ae.persisted){const{leave:Ce,delayLeave:xe}=ae,de=()=>Ce(Z,ve);xe?xe(z.el,ve,de):de()}else ve()},ie=(z,$)=>{let Z;for(;z!==$;)Z=x(z),u(z),z=Z;u($)},se=(z,$,Z)=>{const{bum:oe,scope:ae,update:ve,subTree:Ce,um:xe}=z;oe&&pi(oe),ae.stop(),ve&&(ve.active=!1,Ke(Ce,z,$,Z)),xe&&Kt(xe,$),Kt(()=>{z.isUnmounted=!0},$),$&&$.pendingBranch&&!$.isUnmounted&&z.asyncDep&&!z.asyncResolved&&z.suspenseId===$.pendingId&&($.deps--,$.deps===0&&$.resolve())},le=(z,$,Z,oe=!1,ae=!1,ve=0)=>{for(let Ce=ve;Ce<z.length;Ce++)Ke(z[Ce],$,Z,oe,ae)},be=z=>z.shapeFlag&6?be(z.component.subTree):z.shapeFlag&128?z.suspense.next():x(z.anchor||z.el),Ie=(z,$,Z)=>{z==null?$._vnode&&Ke($._vnode,null,null,!0):L($._vnode||null,z,$,null,null,null,Z),Ea(),$._vnode=z},ke={p:L,um:Ke,m:We,r:Xe,mt:w,mc:q,pc:ue,pbc:ee,n:be,o:t};let me,Le;return r&&([me,Le]=r(ke)),{render:Ie,hydrate:me,createApp:ix(Ie,me)}}function va(t,r,i,o,u=!1){if(Fe(t)){t.forEach((x,E)=>va(x,r&&(Fe(r)?r[E]:r),i,o,u));return}if(Ms(o)&&!u)return;const f=o.shapeFlag&4?ec(o.component)||o.component.proxy:o.el,c=u?null:f,{i:p,r:h}=t,g=r&&r.r,m=p.refs===st?p.refs={}:p.refs,b=p.setupState;if(g!=null&&g!==h&&(Ze(g)?(m[g]=null,nt(b,g)&&(b[g]=null)):Mt(g)&&(g.value=null)),Ze(h)){const x=()=>{m[h]=c,nt(b,h)&&(b[h]=c)};c?(x.id=-1,Kt(x,i)):x()}else if(Mt(h)){const x=()=>{h.value=c};c?(x.id=-1,Kt(x,i)):x()}else Ye(h)&&rn(h,p,12,[c,m])}function pr(t,r,i,o=null){Or(t,r,7,[i,o])}function jf(t,r,i=!1){const o=t.children,u=r.children;if(Fe(o)&&Fe(u))for(let f=0;f<o.length;f++){const c=o[f];let p=u[f];p.shapeFlag&1&&!p.dynamicChildren&&((p.patchFlag<=0||p.patchFlag===32)&&(p=u[f]=Kn(u[f]),p.el=c.el),i||jf(c,p))}}function sx(t){const r=t.slice(),i=[0];let o,u,f,c,p;const h=t.length;for(o=0;o<h;o++){const g=t[o];if(g!==0){if(u=i[i.length-1],t[u]<g){r[o]=u,i.push(o);continue}for(f=0,c=i.length-1;f<c;)p=f+c>>1,t[i[p]]<g?f=p+1:c=p;g<t[i[f]]&&(f>0&&(r[o]=i[f-1]),i[f]=o)}}for(f=i.length,c=i[f-1];f-- >0;)i[f]=c,c=r[c];return i}const lx=t=>t.__isTeleport,Ns=t=>t&&(t.disabled||t.disabled===""),Pg=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,Kf=(t,r)=>{const i=t&&t.to;return Ze(i)?r?r(i):null:i},ax={__isTeleport:!0,process(t,r,i,o,u,f,c,p,h,g){const{mc:m,pc:b,pbc:x,o:{insert:E,querySelector:P,createText:B,createComment:L}}=g,F=Ns(r.props);let{shapeFlag:M,children:N,dynamicChildren:H}=r;if(t==null){const Q=r.el=B(""),J=r.anchor=B("");E(Q,i,o),E(J,i,o);const K=r.target=Kf(r.props,P),U=r.targetAnchor=B("");K&&(E(U,K),c=c||Pg(K));const q=(te,ee)=>{M&16&&m(N,te,ee,u,f,c,p,h)};F?q(i,J):K&&q(K,U)}else{r.el=t.el;const Q=r.anchor=t.anchor,J=r.target=t.target,K=r.targetAnchor=t.targetAnchor,U=Ns(t.props),q=U?i:J,te=U?Q:K;if(c=c||Pg(J),H?(x(t.dynamicChildren,H,q,u,f,c,p),jf(t,r,!0)):h||b(t,r,q,te,u,f,c,p,!1),F)U||ma(r,i,Q,g,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const ee=r.target=Kf(r.props,P);ee&&ma(r,ee,null,g,0)}else U&&ma(r,J,K,g,1)}},remove(t,r,i,o,{um:u,o:{remove:f}},c){const{shapeFlag:p,children:h,anchor:g,targetAnchor:m,target:b,props:x}=t;if(b&&f(m),(c||!Ns(x))&&(f(g),p&16))for(let E=0;E<h.length;E++){const P=h[E];u(P,r,i,!0,!!P.dynamicChildren)}},move:ma,hydrate:ux};function ma(t,r,i,{o:{insert:o},m:u},f=2){f===0&&o(t.targetAnchor,r,i);const{el:c,anchor:p,shapeFlag:h,children:g,props:m}=t,b=f===2;if(b&&o(c,r,i),(!b||Ns(m))&&h&16)for(let x=0;x<g.length;x++)u(g[x],r,i,2);b&&o(p,r,i)}function ux(t,r,i,o,u,f,{o:{nextSibling:c,parentNode:p,querySelector:h}},g){const m=r.target=Kf(r.props,h);if(m){const b=m._lpa||m.firstChild;r.shapeFlag&16&&(Ns(r.props)?(r.anchor=g(c(t),r,p(t),i,o,u,f),r.targetAnchor=b):(r.anchor=c(t),r.targetAnchor=g(b,r,m,i,o,u,f)),m._lpa=r.targetAnchor&&c(r.targetAnchor))}return r.anchor&&c(r.anchor)}const fx=ax,Uf="components",cx="directives";function dx(t,r){return $f(Uf,t,!0,r)||t}const Mg=Symbol();function hx(t){return Ze(t)?$f(Uf,t,!1)||t:t||Mg}function px(t){return $f(cx,t)}function $f(t,r,i=!0,o=!1){const u=Tr||zt;if(u){const f=u.type;if(t===Uf){const p=Ca(f);if(p&&(p===r||p===Gt(r)||p===Dn(Gt(r))))return f}const c=Ag(u[t]||f[t],r)||Ag(u.appContext[t],r);return!c&&o?f:c}}function Ag(t,r){return t&&(t[r]||t[Gt(r)]||t[Dn(Gt(r))])}const Yt=Symbol(void 0),ho=Symbol(void 0),ar=Symbol(void 0),xi=Symbol(void 0),Is=[];let _r=null;function ya(t=!1){Is.push(_r=t?null:[])}function Lg(){Is.pop(),_r=Is[Is.length-1]||null}let po=1;function Vf(t){po+=t}function Ng(t){return t.dynamicChildren=po>0?_r||fi:null,Lg(),po>0&&_r&&_r.push(t),t}function gx(t,r,i,o,u,f){return Ng(Yf(t,r,i,o,u,f,!0))}function Gf(t,r,i,o,u){return Ng(gt(t,r,i,o,u,!0))}function Wn(t){return t?t.__v_isVNode===!0:!1}function en(t,r){return t.type===r.type&&t.key===r.key}function vx(t){}const ba="__vInternal",Ig=({key:t})=>t!=null?t:null,Sa=({ref:t})=>t!=null?Ze(t)||Mt(t)||Ye(t)?{i:Tr,r:t}:t:null;function Yf(t,r=null,i=null,o=0,u=null,f=t===Yt?0:1,c=!1,p=!1){const h={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&Ig(r),ref:r&&Sa(r),scopeId:la,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:f,patchFlag:o,dynamicProps:u,dynamicChildren:null,appContext:null};return p?(Jf(h,i),f&128&&t.normalize(h)):i&&(h.shapeFlag|=Ze(i)?8:16),po>0&&!c&&_r&&(h.patchFlag>0||f&6)&&h.patchFlag!==32&&_r.push(h),h}const gt=mx;function mx(t,r=null,i=null,o=0,u=null,f=!1){if((!t||t===Mg)&&(t=ar),Wn(t)){const p=jn(t,r,!0);return i&&Jf(p,i),p}if(Ix(t)&&(t=t.__vccOpts),r){r=Rg(r);let{class:p,style:h}=r;p&&!Ze(p)&&(r.class=io(p)),pt(h)&&(xf(h)&&!Fe(h)&&(h=lt({},h)),r.style=no(h))}const c=Ze(t)?1:RS(t)?128:lx(t)?64:pt(t)?4:Ye(t)?2:0;return Yf(t,r,i,o,u,c,f,!0)}function Rg(t){return t?xf(t)||ba in t?lt({},t):t:null}function jn(t,r,i=!1){const{props:o,ref:u,patchFlag:f,children:c}=t,p=r?Dg(o||{},r):o;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:p,key:p&&Ig(p),ref:r&&r.ref?i&&u?Fe(u)?u.concat(Sa(r)):[u,Sa(r)]:Sa(r):u,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Yt?f===-1?16:f|16:f,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&jn(t.ssContent),ssFallback:t.ssFallback&&jn(t.ssFallback),el:t.el,anchor:t.anchor}}function Xf(t=" ",r=0){return gt(ho,null,t,r)}function yx(t,r){const i=gt(xi,null,t);return i.staticCount=r,i}function bx(t="",r=!1){return r?(ya(),Gf(ar,null,t)):gt(ar,null,t)}function Er(t){return t==null||typeof t=="boolean"?gt(ar):Fe(t)?gt(Yt,null,t.slice()):typeof t=="object"?Kn(t):gt(ho,null,String(t))}function Kn(t){return t.el===null||t.memo?t:jn(t)}function Jf(t,r){let i=0;const{shapeFlag:o}=t;if(r==null)r=null;else if(Fe(r))i=16;else if(typeof r=="object")if(o&(1|64)){const u=r.default;u&&(u._c&&(u._d=!1),Jf(t,u()),u._c&&(u._d=!0));return}else{i=32;const u=r._;!u&&!(ba in r)?r._ctx=Tr:u===3&&Tr&&(Tr.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else Ye(r)?(r={default:r,_ctx:Tr},i=32):(r=String(r),o&64?(i=16,r=[Xf(r)]):i=8);t.children=r,t.shapeFlag|=i}function Dg(...t){const r={};for(let i=0;i<t.length;i++){const o=t[i];for(const u in o)if(u==="class")r.class!==o.class&&(r.class=io([r.class,o.class]));else if(u==="style")r.style=no([r.style,o.style]);else if(Nn(u)){const f=r[u],c=o[u];f!==c&&(r[u]=f?[].concat(f,c):c)}else u!==""&&(r[u]=o[u])}return r}function Sx(t,r,i,o){let u;const f=i&&i[o];if(Fe(t)||Ze(t)){u=new Array(t.length);for(let c=0,p=t.length;c<p;c++)u[c]=r(t[c],c,void 0,f&&f[c])}else if(typeof t=="number"){u=new Array(t);for(let c=0;c<t;c++)u[c]=r(c+1,c,void 0,f&&f[c])}else if(pt(t))if(t[Symbol.iterator])u=Array.from(t,(c,p)=>r(c,p,void 0,f&&f[p]));else{const c=Object.keys(t);u=new Array(c.length);for(let p=0,h=c.length;p<h;p++){const g=c[p];u[p]=r(t[g],g,p,f&&f[p])}}else u=[];return i&&(i[o]=u),u}function xx(t,r){for(let i=0;i<r.length;i++){const o=r[i];if(Fe(o))for(let u=0;u<o.length;u++)t[o[u].name]=o[u].fn;else o&&(t[o.name]=o.fn)}return t}function wx(t,r,i={},o,u){if(Tr.isCE)return gt("slot",r==="default"?null:{name:r},o&&o());let f=t[r];f&&f._c&&(f._d=!1),ya();const c=f&&Fg(f(i)),p=Gf(Yt,{key:i.key||`_${r}`},c||(o?o():[]),c&&t._===1?64:-2);return!u&&p.scopeId&&(p.slotScopeIds=[p.scopeId+"-s"]),f&&f._c&&(f._d=!0),p}function Fg(t){return t.some(r=>Wn(r)?!(r.type===ar||r.type===Yt&&!Fg(r.children)):!0)?t:null}function Cx(t){const r={};for(const i in t)r[hi(i)]=t[i];return r}const Zf=t=>t?Hg(t)?ec(t)||t.proxy:Zf(t.parent):null,xa=lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Zf(t.parent),$root:t=>Zf(t.root),$emit:t=>t.emit,$options:t=>hg(t),$forceUpdate:t=>()=>ic(t.update),$nextTick:t=>Bs.bind(t.proxy),$watch:t=>Ux.bind(t)}),Qf={get({_:t},r){const{ctx:i,setupState:o,data:u,props:f,accessCache:c,type:p,appContext:h}=t;let g;if(r[0]!=="$"){const E=c[r];if(E!==void 0)switch(E){case 0:return o[r];case 1:return u[r];case 3:return i[r];case 2:return f[r]}else{if(o!==st&&nt(o,r))return c[r]=0,o[r];if(u!==st&&nt(u,r))return c[r]=1,u[r];if((g=t.propsOptions[0])&&nt(g,r))return c[r]=2,f[r];if(i!==st&&nt(i,r))return c[r]=3,i[r];Ff&&(c[r]=4)}}const m=xa[r];let b,x;if(m)return r==="$attrs"&&Cr(t,"get",r),m(t);if((b=p.__cssModules)&&(b=b[r]))return b;if(i!==st&&nt(i,r))return c[r]=3,i[r];if(x=h.config.globalProperties,nt(x,r))return x[r]},set({_:t},r,i){const{data:o,setupState:u,ctx:f}=t;if(u!==st&&nt(u,r))u[r]=i;else if(o!==st&&nt(o,r))o[r]=i;else if(nt(t.props,r))return!1;return r[0]==="$"&&r.slice(1)in t?!1:(f[r]=i,!0)},has({_:{data:t,setupState:r,accessCache:i,ctx:o,appContext:u,propsOptions:f}},c){let p;return i[c]!==void 0||t!==st&&nt(t,c)||r!==st&&nt(r,c)||(p=f[0])&&nt(p,c)||nt(o,c)||nt(xa,c)||nt(u.config.globalProperties,c)}},Tx=lt({},Qf,{get(t,r){if(r!==Symbol.unscopables)return Qf.get(t,r,t)},has(t,r){return r[0]!=="_"&&!fp(r)}}),Ex=Tg();let Ox=0;function zg(t,r,i){const o=t.type,u=(r?r.appContext:t.appContext)||Ex,f={uid:Ox++,vnode:t,type:o,parent:r,appContext:u,root:null,next:null,subTree:null,update:null,scope:new cf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:r?r.provides:Object.create(u.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vg(o,u),emitsOptions:Zp(o,u),emit:null,emitted:null,propsDefaults:st,inheritAttrs:o.inheritAttrs,ctx:st,data:st,props:st,attrs:st,slots:st,refs:st,setupState:st,setupContext:null,suspense:i,suspenseId:i?i.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 f.ctx={_:f},f.root=r?r.root:f,f.emit=OS.bind(null,f),t.ce&&t.ce(f),f}let zt=null;const tn=()=>zt||Tr,Un=t=>{zt=t,t.scope.on()},$n=()=>{zt&&zt.scope.off(),zt=null};function Hg(t){return t.vnode.shapeFlag&4}let Rs=!1;function Bg(t,r=!1){Rs=r;const{props:i,children:o}=t.vnode,u=Hg(t);QS(t,i,u,r),ex(t,o);const f=u?kx(t,r):void 0;return Rs=!1,f}function kx(t,r){const i=t.type;t.accessCache=Object.create(null),t.proxy=wf(new Proxy(t.ctx,Qf));const{setup:o}=i;if(o){const u=t.setupContext=o.length>1?jg(t):null;Un(t),mi();const f=rn(o,t,0,[t.props,u]);if(zn(),$n(),Gl(f)){if(f.then($n,$n),r)return f.then(c=>{qf(t,c,r)}).catch(c=>{wi(c,t,0)});t.asyncDep=f}else qf(t,f,r)}else Wg(t,r)}function qf(t,r,i){Ye(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:pt(r)&&(t.setupState=Ef(r)),Wg(t,i)}let wa,_f;function Px(t){wa=t,_f=r=>{r.render._rc&&(r.withProxy=new Proxy(r.ctx,Tx))}}const Mx=()=>!wa;function Wg(t,r,i){const o=t.type;if(!t.render){if(!r&&wa&&!o.render){const u=o.template;if(u){const{isCustomElement:f,compilerOptions:c}=t.appContext.config,{delimiters:p,compilerOptions:h}=o,g=lt(lt({isCustomElement:f,delimiters:p},c),h);o.render=wa(u,g)}}t.render=o.render||or,_f&&_f(t)}Un(t),mi(),GS(t),zn(),$n()}function Ax(t){return new Proxy(t.attrs,{get(r,i){return Cr(t,"get","$attrs"),r[i]}})}function jg(t){const r=o=>{t.exposed=o||{}};let i;return{get attrs(){return i||(i=Ax(t))},slots:t.slots,emit:t.emit,expose:r}}function ec(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ef(wf(t.exposed)),{get(r,i){if(i in r)return r[i];if(i in xa)return xa[i](t)}}))}const Lx=/(?:^|[-_])(\w)/g,Nx=t=>t.replace(Lx,r=>r.toUpperCase()).replace(/[-_]/g,"");function Ca(t){return Ye(t)&&t.displayName||t.name}function Kg(t,r,i=!1){let o=Ca(r);if(!o&&r.__file){const u=r.__file.match(/([^/\\]+)\.\w+$/);u&&(o=u[1])}if(!o&&t&&t.parent){const u=f=>{for(const c in f)if(f[c]===r)return c};o=u(t.components||t.parent.type.components)||u(t.appContext.components)}return o?Nx(o):i?"App":"Anonymous"}function Ix(t){return Ye(t)&&"__vccOpts"in t}const Ds=[];function Ug(t,...r){mi();const i=Ds.length?Ds[Ds.length-1].component:null,o=i&&i.appContext.config.warnHandler,u=Rx();if(o)rn(o,i,11,[t+r.join(""),i&&i.proxy,u.map(({vnode:f})=>`at <${Kg(i,f.type)}>`).join(`
1
+ function jt(t,r){const i=Object.create(null),o=t.split(",");for(let u=0;u<o.length;u++)i[o[u]]=!0;return r?u=>!!i[u.toLowerCase()]:u=>!!i[u]}const nf={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},Sb={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"},xb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",fp=jt(xb),cp=2;function dp(t,r=0,i=t.length){let o=t.split(/(\r?\n)/);const u=o.filter((p,h)=>h%2==1);o=o.filter((p,h)=>h%2==0);let f=0;const c=[];for(let p=0;p<o.length;p++)if(f+=o[p].length+(u[p]&&u[p].length||0),f>=r){for(let h=p-cp;h<=p+cp||i>f;h++){if(h<0||h>=o.length)continue;const g=h+1;c.push(`${g}${" ".repeat(Math.max(3-String(g).length,0))}| ${o[h]}`);const m=o[h].length,b=u[h]&&u[h].length||0;if(h===p){const x=r-(f-(m+b)),E=Math.max(1,i>f?m-x:i-r);c.push(" | "+" ".repeat(x)+"^".repeat(E))}else if(h>p){if(i>f){const x=Math.max(Math.min(i-f,m),1);c.push(" | "+"^".repeat(x))}f+=m+b}}break}return c.join(`
2
+ `)}const hp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",pp=jt(hp),wb=jt(hp+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function of(t){return!!t||t===""}const Cb=/[>/="'\u0009\u000a\u000c\u0020]/,sf={};function Tb(t){if(sf.hasOwnProperty(t))return sf[t];const r=Cb.test(t);return r&&console.error(`unsafe attribute name: ${t}`),sf[t]=!r}const Eb={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},gp=jt("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),Ob=jt("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,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"),kb=jt("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,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan");function no(t){if(De(t)){const r={};for(let i=0;i<t.length;i++){const o=t[i],u=Ze(o)?lf(o):no(o);if(u)for(const f in u)r[f]=u[f]}return r}else{if(Ze(t))return t;if(pt(t))return t}}const Pb=/;(?![^(]*\))/g,Mb=/:(.+)/;function lf(t){const r={};return t.split(Pb).forEach(i=>{if(i){const o=i.split(Mb);o.length>1&&(r[o[0].trim()]=o[1].trim())}}),r}function Ab(t){let r="";if(!t||Ze(t))return r;for(const i in t){const o=t[i],u=i.startsWith("--")?i:wr(i);(Ze(o)||typeof o=="number"&&gp(u))&&(r+=`${u}:${o};`)}return r}function io(t){let r="";if(Ze(t))r=t;else if(De(t))for(let i=0;i<t.length;i++){const o=io(t[i]);o&&(r+=o+" ")}else if(pt(t))for(const i in t)t[i]&&(r+=i+" ");return r.trim()}function vp(t){if(!t)return null;let{class:r,style:i}=t;return r&&!Ze(r)&&(t.class=io(r)),i&&(t.style=no(i)),t}const Lb="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Nb="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Ib="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",mp=jt(Lb),yp=jt(Nb),bp=jt(Ib),Rb=/["'&<>]/;function Db(t){const r=""+t,i=Rb.exec(r);if(!i)return r;let o="",u,f,c=0;for(f=i.index;f<r.length;f++){switch(r.charCodeAt(f)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#39;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}c!==f&&(o+=r.slice(c,f)),c=f+1,o+=u}return c!==f?o+r.slice(c,f):o}const Fb=/^-?>|<!--|-->|--!>|<!-$/g;function zb(t){return t.replace(Fb,"")}function Hb(t,r){if(t.length!==r.length)return!1;let i=!0;for(let o=0;i&&o<t.length;o++)i=dn(t[o],r[o]);return i}function dn(t,r){if(t===r)return!0;let i=uf(t),o=uf(r);if(i||o)return i&&o?t.getTime()===r.getTime():!1;if(i=De(t),o=De(r),i||o)return i&&o?Hb(t,r):!1;if(i=pt(t),o=pt(r),i||o){if(!i||!o)return!1;const u=Object.keys(t).length,f=Object.keys(r).length;if(u!==f)return!1;for(const c in t){const p=t.hasOwnProperty(c),h=r.hasOwnProperty(c);if(p&&!h||!p&&h||!dn(t[c],r[c]))return!1}}return String(t)===String(r)}function ms(t,r){return t.findIndex(i=>dn(i,r))}const Sp=t=>t==null?"":De(t)||pt(t)&&(t.toString===ff||!Ye(t.toString))?JSON.stringify(t,xp,2):String(t),xp=(t,r)=>r&&r.__v_isRef?xp(t,r.value):ci(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((i,[o,u])=>(i[`${o} =>`]=u,i),{})}:In(r)?{[`Set(${r.size})`]:[...r.values()]}:pt(r)&&!De(r)&&!cf(r)?String(r):r,st={},fi=[],or=()=>{},ys=()=>!1,Bb=/^on[^a-z]/,Nn=t=>Bb.test(t),Gl=t=>t.startsWith("onUpdate:"),lt=Object.assign,af=(t,r)=>{const i=t.indexOf(r);i>-1&&t.splice(i,1)},Wb=Object.prototype.hasOwnProperty,nt=(t,r)=>Wb.call(t,r),De=Array.isArray,ci=t=>bs(t)==="[object Map]",In=t=>bs(t)==="[object Set]",uf=t=>t instanceof Date,Ye=t=>typeof t=="function",Ze=t=>typeof t=="string",di=t=>typeof t=="symbol",pt=t=>t!==null&&typeof t=="object",Yl=t=>pt(t)&&Ye(t.then)&&Ye(t.catch),ff=Object.prototype.toString,bs=t=>ff.call(t),wp=t=>bs(t).slice(8,-1),cf=t=>bs(t)==="[object Object]",Xl=t=>Ze(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Rn=jt(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Jl=t=>{const r=Object.create(null);return i=>r[i]||(r[i]=t(i))},jb=/-(\w)/g,Gt=Jl(t=>t.replace(jb,(r,i)=>i?i.toUpperCase():"")),Kb=/\B([A-Z])/g,wr=Jl(t=>t.replace(Kb,"-$1").toLowerCase()),Dn=Jl(t=>t.charAt(0).toUpperCase()+t.slice(1)),hi=Jl(t=>t?`on${Dn(t)}`:""),oo=(t,r)=>!Object.is(t,r),pi=(t,r)=>{for(let i=0;i<t.length;i++)t[i](r)},Ss=(t,r,i)=>{Object.defineProperty(t,r,{configurable:!0,enumerable:!1,value:i})},hn=t=>{const r=parseFloat(t);return isNaN(r)?t:r};let Cp;const Tp=()=>Cp||(Cp=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});var Ub=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",EMPTY_ARR:fi,EMPTY_OBJ:st,NO:ys,NOOP:or,PatchFlagNames:nf,camelize:Gt,capitalize:Dn,def:Ss,escapeHtml:Db,escapeHtmlComment:zb,extend:lt,generateCodeFrame:dp,getGlobalThis:Tp,hasChanged:oo,hasOwn:nt,hyphenate:wr,includeBooleanAttr:of,invokeArrayFns:pi,isArray:De,isBooleanAttr:wb,isDate:uf,isFunction:Ye,isGloballyWhitelisted:fp,isHTMLTag:mp,isIntegerKey:Xl,isKnownHtmlAttr:Ob,isKnownSvgAttr:kb,isMap:ci,isModelListener:Gl,isNoUnitNumericStyleProp:gp,isObject:pt,isOn:Nn,isPlainObject:cf,isPromise:Yl,isReservedProp:Rn,isSSRSafeAttrName:Tb,isSVGTag:yp,isSet:In,isSpecialBooleanAttr:pp,isString:Ze,isSymbol:di,isVoidTag:bp,looseEqual:dn,looseIndexOf:ms,makeMap:jt,normalizeClass:io,normalizeProps:vp,normalizeStyle:no,objectToString:ff,parseStringStyle:lf,propsToAttrMap:Eb,remove:af,slotFlagsText:Sb,stringifyStyle:Ab,toDisplayString:Sp,toHandlerKey:hi,toNumber:hn,toRawType:wp,toTypeString:bs});let Qr;const Zl=[];class df{constructor(r=!1){this.active=!0,this.effects=[],this.cleanups=[],!r&&Qr&&(this.parent=Qr,this.index=(Qr.scopes||(Qr.scopes=[])).push(this)-1)}run(r){if(this.active)try{return this.on(),r()}finally{this.off()}}on(){this.active&&(Zl.push(this),Qr=this)}off(){this.active&&(Zl.pop(),Qr=Zl[Zl.length-1])}stop(r){if(this.active){if(this.effects.forEach(i=>i.stop()),this.cleanups.forEach(i=>i()),this.scopes&&this.scopes.forEach(i=>i.stop(!0)),this.parent&&!r){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.active=!1}}}function $b(t){return new df(t)}function Ep(t,r){r=r||Qr,r&&r.active&&r.effects.push(t)}function Op(){return Qr}function kp(t){Qr&&Qr.cleanups.push(t)}const hf=t=>{const r=new Set(t);return r.w=0,r.n=0,r},Pp=t=>(t.w&Fn)>0,Mp=t=>(t.n&Fn)>0,Vb=({deps:t})=>{if(t.length)for(let r=0;r<t.length;r++)t[r].w|=Fn},Gb=t=>{const{deps:r}=t;if(r.length){let i=0;for(let o=0;o<r.length;o++){const u=r[o];Pp(u)&&!Mp(u)?u.delete(t):r[i++]=u,u.w&=~Fn,u.n&=~Fn}r.length=i}},pf=new WeakMap;let xs=0,Fn=1;const gf=30,ws=[];let gi;const vi=Symbol(""),vf=Symbol("");class Cs{constructor(r,i=null,o){this.fn=r,this.scheduler=i,this.active=!0,this.deps=[],Ep(this,o)}run(){if(!this.active)return this.fn();if(!ws.includes(this))try{return ws.push(gi=this),Jb(),Fn=1<<++xs,xs<=gf?Vb(this):Ap(this),this.fn()}finally{xs<=gf&&Gb(this),Fn=1<<--xs,zn(),ws.pop();const r=ws.length;gi=r>0?ws[r-1]:void 0}}stop(){this.active&&(Ap(this),this.onStop&&this.onStop(),this.active=!1)}}function Ap(t){const{deps:r}=t;if(r.length){for(let i=0;i<r.length;i++)r[i].delete(t);r.length=0}}function Yb(t,r){t.effect&&(t=t.effect.fn);const i=new Cs(t);r&&(lt(i,r),r.scope&&Ep(i,r.scope)),(!r||!r.lazy)&&i.run();const o=i.run.bind(i);return o.effect=i,o}function Xb(t){t.effect.stop()}let so=!0;const mf=[];function mi(){mf.push(so),so=!1}function Jb(){mf.push(so),so=!0}function zn(){const t=mf.pop();so=t===void 0?!0:t}function Cr(t,r,i){if(!Lp())return;let o=pf.get(t);o||pf.set(t,o=new Map);let u=o.get(i);u||o.set(i,u=hf()),Np(u)}function Lp(){return so&&gi!==void 0}function Np(t,r){let i=!1;xs<=gf?Mp(t)||(t.n|=Fn,i=!Pp(t)):i=!t.has(gi),i&&(t.add(gi),gi.deps.push(t))}function pn(t,r,i,o,u,f){const c=pf.get(t);if(!c)return;let p=[];if(r==="clear")p=[...c.values()];else if(i==="length"&&De(t))c.forEach((h,g)=>{(g==="length"||g>=o)&&p.push(h)});else switch(i!==void 0&&p.push(c.get(i)),r){case"add":De(t)?Xl(i)&&p.push(c.get("length")):(p.push(c.get(vi)),ci(t)&&p.push(c.get(vf)));break;case"delete":De(t)||(p.push(c.get(vi)),ci(t)&&p.push(c.get(vf)));break;case"set":ci(t)&&p.push(c.get(vi));break}if(p.length===1)p[0]&&yf(p[0]);else{const h=[];for(const g of p)g&&h.push(...g);yf(hf(h))}}function yf(t,r){for(const i of De(t)?t:[...t])(i!==gi||i.allowRecurse)&&(i.scheduler?i.scheduler():i.run())}const Zb=jt("__proto__,__v_isRef,__isVue"),Ip=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(di)),Qb=Ql(),qb=Ql(!1,!0),_b=Ql(!0),eS=Ql(!0,!0),Rp=tS();function tS(){const t={};return["includes","indexOf","lastIndexOf"].forEach(r=>{t[r]=function(...i){const o=tt(this);for(let f=0,c=this.length;f<c;f++)Cr(o,"get",f+"");const u=o[r](...i);return u===-1||u===!1?o[r](...i.map(tt)):u}}),["push","pop","shift","unshift","splice"].forEach(r=>{t[r]=function(...i){mi();const o=tt(this)[r].apply(this,i);return zn(),o}}),t}function Ql(t=!1,r=!1){return function(o,u,f){if(u==="__v_isReactive")return!t;if(u==="__v_isReadonly")return t;if(u==="__v_raw"&&f===(t?r?Vp:$p:r?Up:Kp).get(o))return o;const c=De(o);if(!t&&c&&nt(Rp,u))return Reflect.get(Rp,u,f);const p=Reflect.get(o,u,f);return(di(u)?Ip.has(u):Zb(u))||(t||Cr(o,"get",u),r)?p:Mt(p)?!c||!Xl(u)?p.value:p:pt(p)?t?Sf(p):lo(p):p}}const rS=Dp(),nS=Dp(!0);function Dp(t=!1){return function(i,o,u,f){let c=i[o];if(!t&&!sa(u)&&(u=tt(u),c=tt(c),!De(i)&&Mt(c)&&!Mt(u)))return c.value=u,!0;const p=De(i)&&Xl(o)?Number(o)<i.length:nt(i,o),h=Reflect.set(i,o,u,f);return i===tt(f)&&(p?oo(u,c)&&pn(i,"set",o,u):pn(i,"add",o,u)),h}}function iS(t,r){const i=nt(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&i&&pn(t,"delete",r,void 0),o}function oS(t,r){const i=Reflect.has(t,r);return(!di(r)||!Ip.has(r))&&Cr(t,"has",r),i}function sS(t){return Cr(t,"iterate",De(t)?"length":vi),Reflect.ownKeys(t)}const Fp={get:Qb,set:rS,deleteProperty:iS,has:oS,ownKeys:sS},zp={get:_b,set(t,r){return!0},deleteProperty(t,r){return!0}},lS=lt({},Fp,{get:qb,set:nS}),aS=lt({},zp,{get:eS}),bf=t=>t,ql=t=>Reflect.getPrototypeOf(t);function _l(t,r,i=!1,o=!1){t=t.__v_raw;const u=tt(t),f=tt(r);r!==f&&!i&&Cr(u,"get",r),!i&&Cr(u,"get",f);const{has:c}=ql(u),p=o?bf:i?Cf:Ts;if(c.call(u,r))return p(t.get(r));if(c.call(u,f))return p(t.get(f));t!==u&&t.get(r)}function ea(t,r=!1){const i=this.__v_raw,o=tt(i),u=tt(t);return t!==u&&!r&&Cr(o,"has",t),!r&&Cr(o,"has",u),t===u?i.has(t):i.has(t)||i.has(u)}function ta(t,r=!1){return t=t.__v_raw,!r&&Cr(tt(t),"iterate",vi),Reflect.get(t,"size",t)}function Hp(t){t=tt(t);const r=tt(this);return ql(r).has.call(r,t)||(r.add(t),pn(r,"add",t,t)),this}function Bp(t,r){r=tt(r);const i=tt(this),{has:o,get:u}=ql(i);let f=o.call(i,t);f||(t=tt(t),f=o.call(i,t));const c=u.call(i,t);return i.set(t,r),f?oo(r,c)&&pn(i,"set",t,r):pn(i,"add",t,r),this}function Wp(t){const r=tt(this),{has:i,get:o}=ql(r);let u=i.call(r,t);u||(t=tt(t),u=i.call(r,t)),o&&o.call(r,t);const f=r.delete(t);return u&&pn(r,"delete",t,void 0),f}function jp(){const t=tt(this),r=t.size!==0,i=t.clear();return r&&pn(t,"clear",void 0,void 0),i}function ra(t,r){return function(o,u){const f=this,c=f.__v_raw,p=tt(c),h=r?bf:t?Cf:Ts;return!t&&Cr(p,"iterate",vi),c.forEach((g,m)=>o.call(u,h(g),h(m),f))}}function na(t,r,i){return function(...o){const u=this.__v_raw,f=tt(u),c=ci(f),p=t==="entries"||t===Symbol.iterator&&c,h=t==="keys"&&c,g=u[t](...o),m=i?bf:r?Cf:Ts;return!r&&Cr(f,"iterate",h?vf:vi),{next(){const{value:b,done:x}=g.next();return x?{value:b,done:x}:{value:p?[m(b[0]),m(b[1])]:m(b),done:x}},[Symbol.iterator](){return this}}}}function Hn(t){return function(...r){return t==="delete"?!1:this}}function uS(){const t={get(f){return _l(this,f)},get size(){return ta(this)},has:ea,add:Hp,set:Bp,delete:Wp,clear:jp,forEach:ra(!1,!1)},r={get(f){return _l(this,f,!1,!0)},get size(){return ta(this)},has:ea,add:Hp,set:Bp,delete:Wp,clear:jp,forEach:ra(!1,!0)},i={get(f){return _l(this,f,!0)},get size(){return ta(this,!0)},has(f){return ea.call(this,f,!0)},add:Hn("add"),set:Hn("set"),delete:Hn("delete"),clear:Hn("clear"),forEach:ra(!0,!1)},o={get(f){return _l(this,f,!0,!0)},get size(){return ta(this,!0)},has(f){return ea.call(this,f,!0)},add:Hn("add"),set:Hn("set"),delete:Hn("delete"),clear:Hn("clear"),forEach:ra(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(f=>{t[f]=na(f,!1,!1),i[f]=na(f,!0,!1),r[f]=na(f,!1,!0),o[f]=na(f,!0,!0)}),[t,i,r,o]}const[fS,cS,dS,hS]=uS();function ia(t,r){const i=r?t?hS:dS:t?cS:fS;return(o,u,f)=>u==="__v_isReactive"?!t:u==="__v_isReadonly"?t:u==="__v_raw"?o:Reflect.get(nt(i,u)&&u in o?i:o,u,f)}const pS={get:ia(!1,!1)},gS={get:ia(!1,!0)},vS={get:ia(!0,!1)},mS={get:ia(!0,!0)},Kp=new WeakMap,Up=new WeakMap,$p=new WeakMap,Vp=new WeakMap;function yS(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bS(t){return t.__v_skip||!Object.isExtensible(t)?0:yS(wp(t))}function lo(t){return t&&t.__v_isReadonly?t:oa(t,!1,Fp,pS,Kp)}function Gp(t){return oa(t,!1,lS,gS,Up)}function Sf(t){return oa(t,!0,zp,vS,$p)}function SS(t){return oa(t,!0,aS,mS,Vp)}function oa(t,r,i,o,u){if(!pt(t)||t.__v_raw&&!(r&&t.__v_isReactive))return t;const f=u.get(t);if(f)return f;const c=bS(t);if(c===0)return t;const p=new Proxy(t,c===2?o:i);return u.set(t,p),p}function yi(t){return sa(t)?yi(t.__v_raw):!!(t&&t.__v_isReactive)}function sa(t){return!!(t&&t.__v_isReadonly)}function xf(t){return yi(t)||sa(t)}function tt(t){const r=t&&t.__v_raw;return r?tt(r):t}function wf(t){return Ss(t,"__v_skip",!0),t}const Ts=t=>pt(t)?lo(t):t,Cf=t=>pt(t)?Sf(t):t;function Tf(t){Lp()&&(t=tt(t),t.dep||(t.dep=hf()),Np(t.dep))}function la(t,r){t=tt(t),t.dep&&yf(t.dep)}function Mt(t){return Boolean(t&&t.__v_isRef===!0)}function Ft(t){return Yp(t,!1)}function Es(t){return Yp(t,!0)}function Yp(t,r){return Mt(t)?t:new xS(t,r)}class xS{constructor(r,i){this._shallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?r:tt(r),this._value=i?r:Ts(r)}get value(){return Tf(this),this._value}set value(r){r=this._shallow?r:tt(r),oo(r,this._rawValue)&&(this._rawValue=r,this._value=this._shallow?r:Ts(r),la(this))}}function wS(t){la(t)}function Ct(t){return Mt(t)?t.value:t}const CS={get:(t,r,i)=>Ct(Reflect.get(t,r,i)),set:(t,r,i,o)=>{const u=t[r];return Mt(u)&&!Mt(i)?(u.value=i,!0):Reflect.set(t,r,i,o)}};function Ef(t){return yi(t)?t:new Proxy(t,CS)}class TS{constructor(r){this.dep=void 0,this.__v_isRef=!0;const{get:i,set:o}=r(()=>Tf(this),()=>la(this));this._get=i,this._set=o}get value(){return this._get()}set value(r){this._set(r)}}function ES(t){return new TS(t)}function OS(t){const r=De(t)?new Array(t.length):{};for(const i in t)r[i]=Xp(t,i);return r}class kS{constructor(r,i){this._object=r,this._key=i,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(r){this._object[this._key]=r}}function Xp(t,r){const i=t[r];return Mt(i)?i:new kS(t,r)}class PS{constructor(r,i,o){this._setter=i,this.dep=void 0,this._dirty=!0,this.__v_isRef=!0,this.effect=new Cs(r,()=>{this._dirty||(this._dirty=!0,la(this))}),this.__v_isReadonly=o}get value(){const r=tt(this);return Tf(r),r._dirty&&(r._dirty=!1,r._value=r.effect.run()),r._value}set value(r){this._setter(r)}}function sr(t,r){let i,o;const u=Ye(t);return u?(i=t,o=or):(i=t.get,o=t.set),new PS(i,o,u||!o)}Promise.resolve();let ao,aa=[];function Jp(t,r){var i,o;ao=t,ao?(ao.enabled=!0,aa.forEach(({event:u,args:f})=>ao.emit(u,...f)),aa=[]):typeof window!="undefined"&&window.HTMLElement&&!((o=(i=window.navigator)===null||i===void 0?void 0:i.userAgent)===null||o===void 0?void 0:o.includes("jsdom"))?((r.__VUE_DEVTOOLS_HOOK_REPLAY__=r.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(f=>{Jp(f,r)}),setTimeout(()=>{ao||(r.__VUE_DEVTOOLS_HOOK_REPLAY__=null,aa=[])},3e3)):aa=[]}function MS(t,r,...i){const o=t.vnode.props||st;let u=i;const f=r.startsWith("update:"),c=f&&r.slice(7);if(c&&c in o){const m=`${c==="modelValue"?"model":c}Modifiers`,{number:b,trim:x}=o[m]||st;x?u=i.map(E=>E.trim()):b&&(u=i.map(hn))}let p,h=o[p=hi(r)]||o[p=hi(Gt(r))];!h&&f&&(h=o[p=hi(wr(r))]),h&&Or(h,t,6,u);const g=o[p+"Once"];if(g){if(!t.emitted)t.emitted={};else if(t.emitted[p])return;t.emitted[p]=!0,Or(g,t,6,u)}}function Zp(t,r,i=!1){const o=r.emitsCache,u=o.get(t);if(u!==void 0)return u;const f=t.emits;let c={},p=!1;if(!Ye(t)){const h=g=>{const m=Zp(g,r,!0);m&&(p=!0,lt(c,m))};!i&&r.mixins.length&&r.mixins.forEach(h),t.extends&&h(t.extends),t.mixins&&t.mixins.forEach(h)}return!f&&!p?(o.set(t,null),null):(De(f)?f.forEach(h=>c[h]=null):lt(c,f),o.set(t,c),c)}function Of(t,r){return!t||!Nn(r)?!1:(r=r.slice(2).replace(/Once$/,""),nt(t,r[0].toLowerCase()+r.slice(1))||nt(t,wr(r))||nt(t,r))}let Tr=null,ua=null;function Os(t){const r=Tr;return Tr=t,ua=t&&t.type.__scopeId||null,r}function AS(t){ua=t}function LS(){ua=null}const NS=t=>kf;function kf(t,r=Tr,i){if(!r||t._n)return t;const o=(...u)=>{o._d&&Vf(-1);const f=Os(r),c=t(...u);return Os(f),o._d&&Vf(1),c};return o._n=!0,o._c=!0,o._d=!0,o}function fa(t){const{type:r,vnode:i,proxy:o,withProxy:u,props:f,propsOptions:[c],slots:p,attrs:h,emit:g,render:m,renderCache:b,data:x,setupState:E,ctx:P,inheritAttrs:B}=t;let L,F;const M=Os(t);try{if(i.shapeFlag&4){const H=u||o;L=Er(m.call(H,H,b,f,E,x,P)),F=h}else{const H=r;L=Er(H.length>1?H(f,{attrs:h,slots:p,emit:g}):H(f,null)),F=r.props?h:RS(h)}}catch(H){Rs.length=0,wi(H,t,1),L=gt(ar)}let N=L;if(F&&B!==!1){const H=Object.keys(F),{shapeFlag:Q}=N;H.length&&Q&(1|6)&&(c&&H.some(Gl)&&(F=DS(F,c)),N=jn(N,F))}return i.dirs&&(N.dirs=N.dirs?N.dirs.concat(i.dirs):i.dirs),i.transition&&(N.transition=i.transition),L=N,Os(M),L}function IS(t){let r;for(let i=0;i<t.length;i++){const o=t[i];if(Wn(o)){if(o.type!==ar||o.children==="v-if"){if(r)return;r=o}}else return}return r}const RS=t=>{let r;for(const i in t)(i==="class"||i==="style"||Nn(i))&&((r||(r={}))[i]=t[i]);return r},DS=(t,r)=>{const i={};for(const o in t)(!Gl(o)||!(o.slice(9)in r))&&(i[o]=t[o]);return i};function FS(t,r,i){const{props:o,children:u,component:f}=t,{props:c,children:p,patchFlag:h}=r,g=f.emitsOptions;if(r.dirs||r.transition)return!0;if(i&&h>=0){if(h&1024)return!0;if(h&16)return o?Qp(o,c,g):!!c;if(h&8){const m=r.dynamicProps;for(let b=0;b<m.length;b++){const x=m[b];if(c[x]!==o[x]&&!Of(g,x))return!0}}}else return(u||p)&&(!p||!p.$stable)?!0:o===c?!1:o?c?Qp(o,c,g):!0:!!c;return!1}function Qp(t,r,i){const o=Object.keys(r);if(o.length!==Object.keys(t).length)return!0;for(let u=0;u<o.length;u++){const f=o[u];if(r[f]!==t[f]&&!Of(i,f))return!0}return!1}function Pf({vnode:t,parent:r},i){for(;r&&r.subTree===t;)(t=r.vnode).el=i,r=r.parent}const zS=t=>t.__isSuspense,HS={name:"Suspense",__isSuspense:!0,process(t,r,i,o,u,f,c,p,h,g){t==null?WS(r,i,o,u,f,c,p,h,g):jS(t,r,i,o,u,c,p,h,g)},hydrate:KS,create:Mf,normalize:US},BS=HS;function ks(t,r){const i=t.props&&t.props[r];Ye(i)&&i()}function WS(t,r,i,o,u,f,c,p,h){const{p:g,o:{createElement:m}}=h,b=m("div"),x=t.suspense=Mf(t,u,o,r,b,i,f,c,p,h);g(null,x.pendingBranch=t.ssContent,b,null,o,x,f,c),x.deps>0?(ks(t,"onPending"),ks(t,"onFallback"),g(null,t.ssFallback,r,i,o,null,f,c),uo(x,t.ssFallback)):x.resolve()}function jS(t,r,i,o,u,f,c,p,{p:h,um:g,o:{createElement:m}}){const b=r.suspense=t.suspense;b.vnode=r,r.el=t.el;const x=r.ssContent,E=r.ssFallback,{activeBranch:P,pendingBranch:B,isInFallback:L,isHydrating:F}=b;if(B)b.pendingBranch=x,en(x,B)?(h(B,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0?b.resolve():L&&(h(P,E,i,o,u,null,f,c,p),uo(b,E))):(b.pendingId++,F?(b.isHydrating=!1,b.activeBranch=B):g(B,u,b),b.deps=0,b.effects.length=0,b.hiddenContainer=m("div"),L?(h(null,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0?b.resolve():(h(P,E,i,o,u,null,f,c,p),uo(b,E))):P&&en(x,P)?(h(P,x,i,o,u,b,f,c,p),b.resolve(!0)):(h(null,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0&&b.resolve()));else if(P&&en(x,P))h(P,x,i,o,u,b,f,c,p),uo(b,x);else if(ks(r,"onPending"),b.pendingBranch=x,b.pendingId++,h(null,x,b.hiddenContainer,null,u,b,f,c,p),b.deps<=0)b.resolve();else{const{timeout:M,pendingId:N}=b;M>0?setTimeout(()=>{b.pendingId===N&&b.fallback(E)},M):M===0&&b.fallback(E)}}function Mf(t,r,i,o,u,f,c,p,h,g,m=!1){const{p:b,m:x,um:E,n:P,o:{parentNode:B,remove:L}}=g,F=hn(t.props&&t.props.timeout),M={vnode:t,parent:r,parentComponent:i,isSVG:c,container:o,hiddenContainer:u,anchor:f,deps:0,pendingId:0,timeout:typeof F=="number"?F:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:m,isUnmounted:!1,effects:[],resolve(N=!1){const{vnode:H,activeBranch:Q,pendingBranch:J,pendingId:K,effects:U,parentComponent:q,container:te}=M;if(M.isHydrating)M.isHydrating=!1;else if(!N){const O=Q&&J.transition&&J.transition.mode==="out-in";O&&(Q.transition.afterLeave=()=>{K===M.pendingId&&x(J,te,k,0)});let{anchor:k}=M;Q&&(k=P(Q),E(Q,q,M,!0)),O||x(J,te,k,0)}uo(M,J),M.pendingBranch=null,M.isInFallback=!1;let ee=M.parent,_=!1;for(;ee;){if(ee.pendingBranch){ee.effects.push(...U),_=!0;break}ee=ee.parent}_||oc(U),M.effects=[],ks(H,"onResolve")},fallback(N){if(!M.pendingBranch)return;const{vnode:H,activeBranch:Q,parentComponent:J,container:K,isSVG:U}=M;ks(H,"onFallback");const q=P(Q),te=()=>{!M.isInFallback||(b(null,N,K,q,J,null,U,p,h),uo(M,N))},ee=N.transition&&N.transition.mode==="out-in";ee&&(Q.transition.afterLeave=te),M.isInFallback=!0,E(Q,J,null,!0),ee||te()},move(N,H,Q){M.activeBranch&&x(M.activeBranch,N,H,Q),M.container=N},next(){return M.activeBranch&&P(M.activeBranch)},registerDep(N,H){const Q=!!M.pendingBranch;Q&&M.deps++;const J=N.vnode.el;N.asyncDep.catch(K=>{wi(K,N,0)}).then(K=>{if(N.isUnmounted||M.isUnmounted||M.pendingId!==N.suspenseId)return;N.asyncResolved=!0;const{vnode:U}=N;qf(N,K,!1),J&&(U.el=J);const q=!J&&N.subTree.el;H(N,U,B(J||N.subTree.el),J?null:P(N.subTree),M,c,h),q&&L(q),Pf(N,U.el),Q&&--M.deps==0&&M.resolve()})},unmount(N,H){M.isUnmounted=!0,M.activeBranch&&E(M.activeBranch,i,N,H),M.pendingBranch&&E(M.pendingBranch,i,N,H)}};return M}function KS(t,r,i,o,u,f,c,p,h){const g=r.suspense=Mf(r,o,i,t.parentNode,document.createElement("div"),null,u,f,c,p,!0),m=h(t,g.pendingBranch=r.ssContent,i,g,f,c);return g.deps===0&&g.resolve(),m}function US(t){const{shapeFlag:r,children:i}=t,o=r&32;t.ssContent=qp(o?i.default:i),t.ssFallback=o?qp(i.fallback):gt(ar)}function qp(t){let r;if(Ye(t)){const i=po&&t._c;i&&(t._d=!1,Sa()),t=t(),i&&(t._d=!0,r=_r,Lg())}return De(t)&&(t=IS(t)),t=Er(t),r&&!t.dynamicChildren&&(t.dynamicChildren=r.filter(i=>i!==t)),t}function _p(t,r){r&&r.pendingBranch?De(t)?r.effects.push(...t):r.effects.push(t):oc(t)}function uo(t,r){t.activeBranch=r;const{vnode:i,parentComponent:o}=t,u=i.el=r.el;o&&o.subTree===i&&(o.vnode.el=u,Pf(o,u))}function Ps(t,r){if(zt){let i=zt.provides;const o=zt.parent&&zt.parent.provides;o===i&&(i=zt.provides=Object.create(o)),i[t]=r}}function Wr(t,r,i=!1){const o=zt||Tr;if(o){const u=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(u&&t in u)return u[t];if(arguments.length>1)return i&&Ye(r)?r.call(o.proxy):r}}function Af(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return co(()=>{t.isMounted=!0}),pa(()=>{t.isUnmounting=!0}),t}const Lr=[Function,Array],$S={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lr,onEnter:Lr,onAfterEnter:Lr,onEnterCancelled:Lr,onBeforeLeave:Lr,onLeave:Lr,onAfterLeave:Lr,onLeaveCancelled:Lr,onBeforeAppear:Lr,onAppear:Lr,onAfterAppear:Lr,onAppearCancelled:Lr},setup(t,{slots:r}){const i=tn(),o=Af();let u;return()=>{const f=r.default&&ca(r.default(),!0);if(!f||!f.length)return;const c=tt(t),{mode:p}=c,h=f[0];if(o.isLeaving)return Nf(h);const g=tg(h);if(!g)return Nf(h);const m=fo(g,c,o,i);bi(g,m);const b=i.subTree,x=b&&tg(b);let E=!1;const{getTransitionKey:P}=g.type;if(P){const B=P();u===void 0?u=B:B!==u&&(u=B,E=!0)}if(x&&x.type!==ar&&(!en(g,x)||E)){const B=fo(x,c,o,i);if(bi(x,B),p==="out-in")return o.isLeaving=!0,B.afterLeave=()=>{o.isLeaving=!1,i.update()},Nf(h);p==="in-out"&&g.type!==ar&&(B.delayLeave=(L,F,M)=>{const N=eg(o,x);N[String(x.key)]=x,L._leaveCb=()=>{F(),L._leaveCb=void 0,delete m.delayedLeave},m.delayedLeave=M})}return h}}},Lf=$S;function eg(t,r){const{leavingVNodes:i}=t;let o=i.get(r.type);return o||(o=Object.create(null),i.set(r.type,o)),o}function fo(t,r,i,o){const{appear:u,mode:f,persisted:c=!1,onBeforeEnter:p,onEnter:h,onAfterEnter:g,onEnterCancelled:m,onBeforeLeave:b,onLeave:x,onAfterLeave:E,onLeaveCancelled:P,onBeforeAppear:B,onAppear:L,onAfterAppear:F,onAppearCancelled:M}=r,N=String(t.key),H=eg(i,t),Q=(K,U)=>{K&&Or(K,o,9,U)},J={mode:f,persisted:c,beforeEnter(K){let U=p;if(!i.isMounted)if(u)U=B||p;else return;K._leaveCb&&K._leaveCb(!0);const q=H[N];q&&en(t,q)&&q.el._leaveCb&&q.el._leaveCb(),Q(U,[K])},enter(K){let U=h,q=g,te=m;if(!i.isMounted)if(u)U=L||h,q=F||g,te=M||m;else return;let ee=!1;const _=K._enterCb=O=>{ee||(ee=!0,O?Q(te,[K]):Q(q,[K]),J.delayedLeave&&J.delayedLeave(),K._enterCb=void 0)};U?(U(K,_),U.length<=1&&_()):_()},leave(K,U){const q=String(t.key);if(K._enterCb&&K._enterCb(!0),i.isUnmounting)return U();Q(b,[K]);let te=!1;const ee=K._leaveCb=_=>{te||(te=!0,U(),_?Q(P,[K]):Q(E,[K]),K._leaveCb=void 0,H[q]===t&&delete H[q])};H[q]=t,x?(x(K,ee),x.length<=1&&ee()):ee()},clone(K){return fo(K,r,i,o)}};return J}function Nf(t){if(Ls(t))return t=jn(t),t.children=null,t}function tg(t){return Ls(t)?t.children?t.children[0]:void 0:t}function bi(t,r){t.shapeFlag&6&&t.component?bi(t.component.subTree,r):t.shapeFlag&128?(t.ssContent.transition=r.clone(t.ssContent),t.ssFallback.transition=r.clone(t.ssFallback)):t.transition=r}function ca(t,r=!1){let i=[],o=0;for(let u=0;u<t.length;u++){const f=t[u];f.type===Yt?(f.patchFlag&128&&o++,i=i.concat(ca(f.children,r))):(r||f.type!==ar)&&i.push(f)}if(o>1)for(let u=0;u<i.length;u++)i[u].patchFlag=-2;return i}function Ms(t){return Ye(t)?{setup:t,name:t.name}:t}const As=t=>!!t.type.__asyncLoader;function VS(t){Ye(t)&&(t={loader:t});const{loader:r,loadingComponent:i,errorComponent:o,delay:u=200,timeout:f,suspensible:c=!0,onError:p}=t;let h=null,g,m=0;const b=()=>(m++,h=null,x()),x=()=>{let E;return h||(E=h=r().catch(P=>{if(P=P instanceof Error?P:new Error(String(P)),p)return new Promise((B,L)=>{p(P,()=>B(b()),()=>L(P),m+1)});throw P}).then(P=>E!==h&&h?h:(P&&(P.__esModule||P[Symbol.toStringTag]==="Module")&&(P=P.default),g=P,P)))};return Ms({name:"AsyncComponentWrapper",__asyncLoader:x,get __asyncResolved(){return g},setup(){const E=zt;if(g)return()=>If(g,E);const P=M=>{h=null,wi(M,E,13,!o)};if(c&&E.suspense||Ds)return x().then(M=>()=>If(M,E)).catch(M=>(P(M),()=>o?gt(o,{error:M}):null));const B=Ft(!1),L=Ft(),F=Ft(!!u);return u&&setTimeout(()=>{F.value=!1},u),f!=null&&setTimeout(()=>{if(!B.value&&!L.value){const M=new Error(`Async component timed out after ${f}ms.`);P(M),L.value=M}},f),x().then(()=>{B.value=!0,E.parent&&Ls(E.parent.vnode)&&ic(E.parent.update)}).catch(M=>{P(M),L.value=M}),()=>{if(B.value&&g)return If(g,E);if(L.value&&o)return gt(o,{error:L.value});if(i&&!F.value)return gt(i)}}})}function If(t,{vnode:{ref:r,props:i,children:o}}){const u=gt(t,i,o);return u.ref=r,u}const Ls=t=>t.type.__isKeepAlive,GS={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:r}){const i=tn(),o=i.ctx;if(!o.renderer)return r.default;const u=new Map,f=new Set;let c=null;const p=i.suspense,{renderer:{p:h,m:g,um:m,o:{createElement:b}}}=o,x=b("div");o.activate=(M,N,H,Q,J)=>{const K=M.component;g(M,N,H,0,p),h(K.vnode,M,N,H,K,p,Q,M.slotScopeIds,J),Kt(()=>{K.isDeactivated=!1,K.a&&pi(K.a);const U=M.props&&M.props.onVnodeMounted;U&&pr(U,K.parent,M)},p)},o.deactivate=M=>{const N=M.component;g(M,x,null,1,p),Kt(()=>{N.da&&pi(N.da);const H=M.props&&M.props.onVnodeUnmounted;H&&pr(H,N.parent,M),N.isDeactivated=!0},p)};function E(M){Rf(M),m(M,i,p)}function P(M){u.forEach((N,H)=>{const Q=Ea(N.type);Q&&(!M||!M(Q))&&B(H)})}function B(M){const N=u.get(M);!c||N.type!==c.type?E(N):c&&Rf(c),u.delete(M),f.delete(M)}gr(()=>[t.include,t.exclude],([M,N])=>{M&&P(H=>Ns(M,H)),N&&P(H=>!Ns(N,H))},{flush:"post",deep:!0});let L=null;const F=()=>{L!=null&&u.set(L,Df(i.subTree))};return co(F),ha(F),pa(()=>{u.forEach(M=>{const{subTree:N,suspense:H}=i,Q=Df(N);if(M.type===Q.type){Rf(Q);const J=Q.component.da;J&&Kt(J,H);return}E(M)})}),()=>{if(L=null,!r.default)return null;const M=r.default(),N=M[0];if(M.length>1)return c=null,M;if(!Wn(N)||!(N.shapeFlag&4)&&!(N.shapeFlag&128))return c=null,N;let H=Df(N);const Q=H.type,J=Ea(As(H)?H.type.__asyncResolved||{}:Q),{include:K,exclude:U,max:q}=t;if(K&&(!J||!Ns(K,J))||U&&J&&Ns(U,J))return c=H,N;const te=H.key==null?Q:H.key,ee=u.get(te);return H.el&&(H=jn(H),N.shapeFlag&128&&(N.ssContent=H)),L=te,ee?(H.el=ee.el,H.component=ee.component,H.transition&&bi(H,H.transition),H.shapeFlag|=512,f.delete(te),f.add(te)):(f.add(te),q&&f.size>parseInt(q,10)&&B(f.values().next().value)),H.shapeFlag|=256,c=H,N}}},YS=GS;function Ns(t,r){return De(t)?t.some(i=>Ns(i,r)):Ze(t)?t.split(",").indexOf(r)>-1:t.test?t.test(r):!1}function rg(t,r){ig(t,"a",r)}function ng(t,r){ig(t,"da",r)}function ig(t,r,i=zt){const o=t.__wdc||(t.__wdc=()=>{let u=i;for(;u;){if(u.isDeactivated)return;u=u.parent}return t()});if(da(r,o,i),i){let u=i.parent;for(;u&&u.parent;)Ls(u.parent.vnode)&&XS(o,r,i,u),u=u.parent}}function XS(t,r,i,o){const u=da(r,t,o,!0);ga(()=>{af(o[r],u)},i)}function Rf(t){let r=t.shapeFlag;r&256&&(r-=256),r&512&&(r-=512),t.shapeFlag=r}function Df(t){return t.shapeFlag&128?t.ssContent:t}function da(t,r,i=zt,o=!1){if(i){const u=i[t]||(i[t]=[]),f=r.__weh||(r.__weh=(...c)=>{if(i.isUnmounted)return;mi(),Un(i);const p=Or(r,i,t,c);return $n(),zn(),p});return o?u.unshift(f):u.push(f),f}}const gn=t=>(r,i=zt)=>(!Ds||t==="sp")&&da(t,r,i),og=gn("bm"),co=gn("m"),sg=gn("bu"),ha=gn("u"),pa=gn("bum"),ga=gn("um"),lg=gn("sp"),ag=gn("rtg"),ug=gn("rtc");function fg(t,r=zt){da("ec",t,r)}let Ff=!0;function JS(t){const r=hg(t),i=t.proxy,o=t.ctx;Ff=!1,r.beforeCreate&&cg(r.beforeCreate,t,"bc");const{data:u,computed:f,methods:c,watch:p,provide:h,inject:g,created:m,beforeMount:b,mounted:x,beforeUpdate:E,updated:P,activated:B,deactivated:L,beforeDestroy:F,beforeUnmount:M,destroyed:N,unmounted:H,render:Q,renderTracked:J,renderTriggered:K,errorCaptured:U,serverPrefetch:q,expose:te,inheritAttrs:ee,components:_,directives:O,filters:k}=r;if(g&&ZS(g,o,null,t.appContext.config.unwrapInjectedRef),c)for(const W in c){const Y=c[W];Ye(Y)&&(o[W]=Y.bind(i))}if(u){const W=u.call(i,i);pt(W)&&(t.data=lo(W))}if(Ff=!0,f)for(const W in f){const Y=f[W],ue=Ye(Y)?Y.bind(i,i):Ye(Y.get)?Y.get.bind(i,i):or,he=!Ye(Y)&&Ye(Y.set)?Y.set.bind(i):or,je=sr({get:ue,set:he});Object.defineProperty(o,W,{enumerable:!0,configurable:!0,get:()=>je.value,set:We=>je.value=We})}if(p)for(const W in p)dg(p[W],o,i,W);if(h){const W=Ye(h)?h.call(i):h;Reflect.ownKeys(W).forEach(Y=>{Ps(Y,W[Y])})}m&&cg(m,t,"c");function j(W,Y){De(Y)?Y.forEach(ue=>W(ue.bind(i))):Y&&W(Y.bind(i))}if(j(og,b),j(co,x),j(sg,E),j(ha,P),j(rg,B),j(ng,L),j(fg,U),j(ug,J),j(ag,K),j(pa,M),j(ga,H),j(lg,q),De(te))if(te.length){const W=t.exposed||(t.exposed={});te.forEach(Y=>{Object.defineProperty(W,Y,{get:()=>i[Y],set:ue=>i[Y]=ue})})}else t.exposed||(t.exposed={});Q&&t.render===or&&(t.render=Q),ee!=null&&(t.inheritAttrs=ee),_&&(t.components=_),O&&(t.directives=O)}function ZS(t,r,i=or,o=!1){De(t)&&(t=zf(t));for(const u in t){const f=t[u];let c;pt(f)?"default"in f?c=Wr(f.from||u,f.default,!0):c=Wr(f.from||u):c=Wr(f),Mt(c)&&o?Object.defineProperty(r,u,{enumerable:!0,configurable:!0,get:()=>c.value,set:p=>c.value=p}):r[u]=c}}function cg(t,r,i){Or(De(t)?t.map(o=>o.bind(r.proxy)):t.bind(r.proxy),r,i)}function dg(t,r,i,o){const u=o.includes(".")?qg(i,o):()=>i[o];if(Ze(t)){const f=r[t];Ye(f)&&gr(u,f)}else if(Ye(t))gr(u,t.bind(i));else if(pt(t))if(De(t))t.forEach(f=>dg(f,r,i,o));else{const f=Ye(t.handler)?t.handler.bind(i):r[t.handler];Ye(f)&&gr(u,f,t)}}function hg(t){const r=t.type,{mixins:i,extends:o}=r,{mixins:u,optionsCache:f,config:{optionMergeStrategies:c}}=t.appContext,p=f.get(r);let h;return p?h=p:!u.length&&!i&&!o?h=r:(h={},u.length&&u.forEach(g=>va(h,g,c,!0)),va(h,r,c)),f.set(r,h),h}function va(t,r,i,o=!1){const{mixins:u,extends:f}=r;f&&va(t,f,i,!0),u&&u.forEach(c=>va(t,c,i,!0));for(const c in r)if(!(o&&c==="expose")){const p=QS[c]||i&&i[c];t[c]=p?p(t[c],r[c]):r[c]}return t}const QS={data:pg,props:Si,emits:Si,methods:Si,computed:Si,beforeCreate:lr,created:lr,beforeMount:lr,mounted:lr,beforeUpdate:lr,updated:lr,beforeDestroy:lr,beforeUnmount:lr,destroyed:lr,unmounted:lr,activated:lr,deactivated:lr,errorCaptured:lr,serverPrefetch:lr,components:Si,directives:Si,watch:_S,provide:pg,inject:qS};function pg(t,r){return r?t?function(){return lt(Ye(t)?t.call(this,this):t,Ye(r)?r.call(this,this):r)}:r:t}function qS(t,r){return Si(zf(t),zf(r))}function zf(t){if(De(t)){const r={};for(let i=0;i<t.length;i++)r[t[i]]=t[i];return r}return t}function lr(t,r){return t?[...new Set([].concat(t,r))]:r}function Si(t,r){return t?lt(lt(Object.create(null),t),r):r}function _S(t,r){if(!t)return r;if(!r)return t;const i=lt(Object.create(null),t);for(const o in r)i[o]=lr(t[o],r[o]);return i}function ex(t,r,i,o=!1){const u={},f={};Ss(f,xa,1),t.propsDefaults=Object.create(null),gg(t,r,u,f);for(const c in t.propsOptions[0])c in u||(u[c]=void 0);i?t.props=o?u:Gp(u):t.type.props?t.props=u:t.props=f,t.attrs=f}function tx(t,r,i,o){const{props:u,attrs:f,vnode:{patchFlag:c}}=t,p=tt(u),[h]=t.propsOptions;let g=!1;if((o||c>0)&&!(c&16)){if(c&8){const m=t.vnode.dynamicProps;for(let b=0;b<m.length;b++){let x=m[b];const E=r[x];if(h)if(nt(f,x))E!==f[x]&&(f[x]=E,g=!0);else{const P=Gt(x);u[P]=Hf(h,p,P,E,t,!1)}else E!==f[x]&&(f[x]=E,g=!0)}}}else{gg(t,r,u,f)&&(g=!0);let m;for(const b in p)(!r||!nt(r,b)&&((m=wr(b))===b||!nt(r,m)))&&(h?i&&(i[b]!==void 0||i[m]!==void 0)&&(u[b]=Hf(h,p,b,void 0,t,!0)):delete u[b]);if(f!==p)for(const b in f)(!r||!nt(r,b))&&(delete f[b],g=!0)}g&&pn(t,"set","$attrs")}function gg(t,r,i,o){const[u,f]=t.propsOptions;let c=!1,p;if(r)for(let h in r){if(Rn(h))continue;const g=r[h];let m;u&&nt(u,m=Gt(h))?!f||!f.includes(m)?i[m]=g:(p||(p={}))[m]=g:Of(t.emitsOptions,h)||g!==o[h]&&(o[h]=g,c=!0)}if(f){const h=tt(i),g=p||st;for(let m=0;m<f.length;m++){const b=f[m];i[b]=Hf(u,h,b,g[b],t,!nt(g,b))}}return c}function Hf(t,r,i,o,u,f){const c=t[i];if(c!=null){const p=nt(c,"default");if(p&&o===void 0){const h=c.default;if(c.type!==Function&&Ye(h)){const{propsDefaults:g}=u;i in g?o=g[i]:(Un(u),o=g[i]=h.call(null,r),$n())}else o=h}c[0]&&(f&&!p?o=!1:c[1]&&(o===""||o===wr(i))&&(o=!0))}return o}function vg(t,r,i=!1){const o=r.propsCache,u=o.get(t);if(u)return u;const f=t.props,c={},p=[];let h=!1;if(!Ye(t)){const m=b=>{h=!0;const[x,E]=vg(b,r,!0);lt(c,x),E&&p.push(...E)};!i&&r.mixins.length&&r.mixins.forEach(m),t.extends&&m(t.extends),t.mixins&&t.mixins.forEach(m)}if(!f&&!h)return o.set(t,fi),fi;if(De(f))for(let m=0;m<f.length;m++){const b=Gt(f[m]);mg(b)&&(c[b]=st)}else if(f)for(const m in f){const b=Gt(m);if(mg(b)){const x=f[m],E=c[b]=De(x)||Ye(x)?{type:x}:x;if(E){const P=Sg(Boolean,E.type),B=Sg(String,E.type);E[0]=P>-1,E[1]=B<0||P<B,(P>-1||nt(E,"default"))&&p.push(b)}}}const g=[c,p];return o.set(t,g),g}function mg(t){return t[0]!=="$"}function yg(t){const r=t&&t.toString().match(/^\s*function (\w+)/);return r?r[1]:t===null?"null":""}function bg(t,r){return yg(t)===yg(r)}function Sg(t,r){return De(r)?r.findIndex(i=>bg(i,t)):Ye(r)&&bg(r,t)?0:-1}const xg=t=>t[0]==="_"||t==="$stable",Bf=t=>De(t)?t.map(Er):[Er(t)],rx=(t,r,i)=>{const o=kf((...u)=>Bf(r(...u)),i);return o._c=!1,o},wg=(t,r,i)=>{const o=t._ctx;for(const u in t){if(xg(u))continue;const f=t[u];if(Ye(f))r[u]=rx(u,f,o);else if(f!=null){const c=Bf(f);r[u]=()=>c}}},Cg=(t,r)=>{const i=Bf(r);t.slots.default=()=>i},nx=(t,r)=>{if(t.vnode.shapeFlag&32){const i=r._;i?(t.slots=tt(r),Ss(r,"_",i)):wg(r,t.slots={})}else t.slots={},r&&Cg(t,r);Ss(t.slots,xa,1)},ix=(t,r,i)=>{const{vnode:o,slots:u}=t;let f=!0,c=st;if(o.shapeFlag&32){const p=r._;p?i&&p===1?f=!1:(lt(u,r),!i&&p===1&&delete u._):(f=!r.$stable,wg(r,u)),c=r}else r&&(Cg(t,r),c={default:1});if(f)for(const p in u)!xg(p)&&!(p in c)&&delete u[p]};function ox(t,r){const i=Tr;if(i===null)return t;const o=i.proxy,u=t.dirs||(t.dirs=[]);for(let f=0;f<r.length;f++){let[c,p,h,g=st]=r[f];Ye(c)&&(c={mounted:c,updated:c}),c.deep&&Ci(p),u.push({dir:c,instance:o,value:p,oldValue:void 0,arg:h,modifiers:g})}return t}function qr(t,r,i,o){const u=t.dirs,f=r&&r.dirs;for(let c=0;c<u.length;c++){const p=u[c];f&&(p.oldValue=f[c].value);let h=p.dir[o];h&&(mi(),Or(h,i,8,[t.el,p,t,r]),zn())}}function Tg(){return{app:null,config:{isNativeTag:ys,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 sx=0;function lx(t,r){return function(o,u=null){u!=null&&!pt(u)&&(u=null);const f=Tg(),c=new Set;let p=!1;const h=f.app={_uid:sx++,_component:o,_props:u,_container:null,_context:f,_instance:null,version:rv,get config(){return f.config},set config(g){},use(g,...m){return c.has(g)||(g&&Ye(g.install)?(c.add(g),g.install(h,...m)):Ye(g)&&(c.add(g),g(h,...m))),h},mixin(g){return f.mixins.includes(g)||f.mixins.push(g),h},component(g,m){return m?(f.components[g]=m,h):f.components[g]},directive(g,m){return m?(f.directives[g]=m,h):f.directives[g]},mount(g,m,b){if(!p){const x=gt(o,u);return x.appContext=f,m&&r?r(x,g):t(x,g,b),p=!0,h._container=g,g.__vue_app__=h,ec(x.component)||x.component.proxy}},unmount(){p&&(t(null,h._container),delete h._container.__vue_app__)},provide(g,m){return f.provides[g]=m,h}};return h}}let Bn=!1;const ma=t=>/svg/.test(t.namespaceURI)&&t.tagName!=="foreignObject",Wf=t=>t.nodeType===8;function ax(t){const{mt:r,p:i,o:{patchProp:o,nextSibling:u,parentNode:f,remove:c,insert:p,createComment:h}}=t,g=(L,F)=>{if(!F.hasChildNodes()){i(null,L,F),ka();return}Bn=!1,m(F.firstChild,L,null,null,null),ka(),Bn&&console.error("Hydration completed but contains mismatches.")},m=(L,F,M,N,H,Q=!1)=>{const J=Wf(L)&&L.data==="[",K=()=>P(L,F,M,N,H,J),{type:U,ref:q,shapeFlag:te}=F,ee=L.nodeType;F.el=L;let _=null;switch(U){case ho:ee!==3?_=K():(L.data!==F.children&&(Bn=!0,L.data=F.children),_=u(L));break;case ar:ee!==8||J?_=K():_=u(L);break;case xi:if(ee!==1)_=K();else{_=L;const O=!F.children.length;for(let k=0;k<F.staticCount;k++)O&&(F.children+=_.outerHTML),k===F.staticCount-1&&(F.anchor=_),_=u(_);return _}break;case Yt:J?_=E(L,F,M,N,H,Q):_=K();break;default:if(te&1)ee!==1||F.type.toLowerCase()!==L.tagName.toLowerCase()?_=K():_=b(L,F,M,N,H,Q);else if(te&6){F.slotScopeIds=H;const O=f(L);if(r(F,O,null,M,N,ma(O),Q),_=J?B(L):u(L),As(F)){let k;J?(k=gt(Yt),k.anchor=_?_.previousSibling:O.lastChild):k=L.nodeType===3?Xf(""):gt("div"),k.el=L,F.component.subTree=k}}else te&64?ee!==8?_=K():_=F.type.hydrate(L,F,M,N,H,Q,t,x):te&128&&(_=F.type.hydrate(L,F,M,N,ma(f(L)),H,Q,t,m))}return q!=null&&ya(q,null,N,F),_},b=(L,F,M,N,H,Q)=>{Q=Q||!!F.dynamicChildren;const{type:J,props:K,patchFlag:U,shapeFlag:q,dirs:te}=F,ee=J==="input"&&te||J==="option";if(ee||U!==-1){if(te&&qr(F,null,M,"created"),K)if(ee||!Q||U&(16|32))for(const O in K)(ee&&O.endsWith("value")||Nn(O)&&!Rn(O))&&o(L,O,null,K[O],!1,void 0,M);else K.onClick&&o(L,"onClick",null,K.onClick,!1,void 0,M);let _;if((_=K&&K.onVnodeBeforeMount)&&pr(_,M,F),te&&qr(F,null,M,"beforeMount"),((_=K&&K.onVnodeMounted)||te)&&_p(()=>{_&&pr(_,M,F),te&&qr(F,null,M,"mounted")},N),q&16&&!(K&&(K.innerHTML||K.textContent))){let O=x(L.firstChild,F,L,M,N,H,Q);for(;O;){Bn=!0;const k=O;O=O.nextSibling,c(k)}}else q&8&&L.textContent!==F.children&&(Bn=!0,L.textContent=F.children)}return L.nextSibling},x=(L,F,M,N,H,Q,J)=>{J=J||!!F.dynamicChildren;const K=F.children,U=K.length;for(let q=0;q<U;q++){const te=J?K[q]:K[q]=Er(K[q]);if(L)L=m(L,te,N,H,Q,J);else{if(te.type===ho&&!te.children)continue;Bn=!0,i(null,te,M,null,N,H,ma(M),Q)}}return L},E=(L,F,M,N,H,Q)=>{const{slotScopeIds:J}=F;J&&(H=H?H.concat(J):J);const K=f(L),U=x(u(L),F,K,M,N,H,Q);return U&&Wf(U)&&U.data==="]"?u(F.anchor=U):(Bn=!0,p(F.anchor=h("]"),K,U),U)},P=(L,F,M,N,H,Q)=>{if(Bn=!0,F.el=null,Q){const U=B(L);for(;;){const q=u(L);if(q&&q!==U)c(q);else break}}const J=u(L),K=f(L);return c(L),i(null,F,K,J,M,N,ma(K),H),J},B=L=>{let F=0;for(;L;)if(L=u(L),L&&Wf(L)&&(L.data==="["&&F++,L.data==="]")){if(F===0)return u(L);F--}return L};return[g,m]}const Kt=_p;function Eg(t){return kg(t)}function Og(t){return kg(t,ax)}function kg(t,r){const i=Tp();i.__VUE__=!0;const{insert:o,remove:u,patchProp:f,createElement:c,createText:p,createComment:h,setText:g,setElementText:m,parentNode:b,nextSibling:x,setScopeId:E=or,cloneNode:P,insertStaticContent:B}=t,L=(z,$,Z,oe=null,ae=null,ve=null,Ce=!1,xe=null,de=!!$.dynamicChildren)=>{if(z===$)return;z&&!en(z,$)&&(oe=be(z),Ke(z,ae,ve,!0),z=null),$.patchFlag===-2&&(de=!1,$.dynamicChildren=null);const{type:I,ref:re,shapeFlag:G}=$;switch(I){case ho:F(z,$,Z,oe);break;case ar:M(z,$,Z,oe);break;case xi:z==null&&N($,Z,oe,Ce);break;case Yt:O(z,$,Z,oe,ae,ve,Ce,xe,de);break;default:G&1?J(z,$,Z,oe,ae,ve,Ce,xe,de):G&6?k(z,$,Z,oe,ae,ve,Ce,xe,de):(G&64||G&128)&&I.process(z,$,Z,oe,ae,ve,Ce,xe,de,ke)}re!=null&&ae&&ya(re,z&&z.ref,ve,$||z,!$)},F=(z,$,Z,oe)=>{if(z==null)o($.el=p($.children),Z,oe);else{const ae=$.el=z.el;$.children!==z.children&&g(ae,$.children)}},M=(z,$,Z,oe)=>{z==null?o($.el=h($.children||""),Z,oe):$.el=z.el},N=(z,$,Z,oe)=>{[z.el,z.anchor]=B(z.children,$,Z,oe)},H=({el:z,anchor:$},Z,oe)=>{let ae;for(;z&&z!==$;)ae=x(z),o(z,Z,oe),z=ae;o($,Z,oe)},Q=({el:z,anchor:$})=>{let Z;for(;z&&z!==$;)Z=x(z),u(z),z=Z;u($)},J=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{Ce=Ce||$.type==="svg",z==null?K($,Z,oe,ae,ve,Ce,xe,de):te(z,$,ae,ve,Ce,xe,de)},K=(z,$,Z,oe,ae,ve,Ce,xe)=>{let de,I;const{type:re,props:G,shapeFlag:we,transition:Re,patchFlag:Ve,dirs:at}=z;if(z.el&&P!==void 0&&Ve===-1)de=z.el=P(z.el);else{if(de=z.el=c(z.type,ve,G&&G.is,G),we&8?m(de,z.children):we&16&&q(z.children,de,null,oe,ae,ve&&re!=="foreignObject",Ce,xe),at&&qr(z,null,oe,"created"),G){for(const Ue in G)Ue!=="value"&&!Rn(Ue)&&f(de,Ue,null,G[Ue],ve,z.children,oe,ae,le);"value"in G&&f(de,"value",null,G.value),(I=G.onVnodeBeforeMount)&&pr(I,oe,z)}U(de,z,z.scopeId,Ce,oe)}at&&qr(z,null,oe,"beforeMount");const Je=(!ae||ae&&!ae.pendingBranch)&&Re&&!Re.persisted;Je&&Re.beforeEnter(de),o(de,$,Z),((I=G&&G.onVnodeMounted)||Je||at)&&Kt(()=>{I&&pr(I,oe,z),Je&&Re.enter(de),at&&qr(z,null,oe,"mounted")},ae)},U=(z,$,Z,oe,ae)=>{if(Z&&E(z,Z),oe)for(let ve=0;ve<oe.length;ve++)E(z,oe[ve]);if(ae){let ve=ae.subTree;if($===ve){const Ce=ae.vnode;U(z,Ce,Ce.scopeId,Ce.slotScopeIds,ae.parent)}}},q=(z,$,Z,oe,ae,ve,Ce,xe,de=0)=>{for(let I=de;I<z.length;I++){const re=z[I]=xe?Kn(z[I]):Er(z[I]);L(null,re,$,Z,oe,ae,ve,Ce,xe)}},te=(z,$,Z,oe,ae,ve,Ce)=>{const xe=$.el=z.el;let{patchFlag:de,dynamicChildren:I,dirs:re}=$;de|=z.patchFlag&16;const G=z.props||st,we=$.props||st;let Re;(Re=we.onVnodeBeforeUpdate)&&pr(Re,Z,$,z),re&&qr($,z,Z,"beforeUpdate");const Ve=ae&&$.type!=="foreignObject";if(I?ee(z.dynamicChildren,I,xe,Z,oe,Ve,ve):Ce||ue(z,$,xe,null,Z,oe,Ve,ve,!1),de>0){if(de&16)_(xe,$,G,we,Z,oe,ae);else if(de&2&&G.class!==we.class&&f(xe,"class",null,we.class,ae),de&4&&f(xe,"style",G.style,we.style,ae),de&8){const at=$.dynamicProps;for(let Je=0;Je<at.length;Je++){const Ue=at[Je],xt=G[Ue],vt=we[Ue];(vt!==xt||Ue==="value")&&f(xe,Ue,xt,vt,ae,z.children,Z,oe,le)}}de&1&&z.children!==$.children&&m(xe,$.children)}else!Ce&&I==null&&_(xe,$,G,we,Z,oe,ae);((Re=we.onVnodeUpdated)||re)&&Kt(()=>{Re&&pr(Re,Z,$,z),re&&qr($,z,Z,"updated")},oe)},ee=(z,$,Z,oe,ae,ve,Ce)=>{for(let xe=0;xe<$.length;xe++){const de=z[xe],I=$[xe],re=de.el&&(de.type===Yt||!en(de,I)||de.shapeFlag&(6|64))?b(de.el):Z;L(de,I,re,null,oe,ae,ve,Ce,!0)}},_=(z,$,Z,oe,ae,ve,Ce)=>{if(Z!==oe){for(const xe in oe){if(Rn(xe))continue;const de=oe[xe],I=Z[xe];de!==I&&xe!=="value"&&f(z,xe,I,de,Ce,$.children,ae,ve,le)}if(Z!==st)for(const xe in Z)!Rn(xe)&&!(xe in oe)&&f(z,xe,Z[xe],null,Ce,$.children,ae,ve,le);"value"in oe&&f(z,"value",Z.value,oe.value)}},O=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{const I=$.el=z?z.el:p(""),re=$.anchor=z?z.anchor:p("");let{patchFlag:G,dynamicChildren:we,slotScopeIds:Re}=$;Re&&(xe=xe?xe.concat(Re):Re),z==null?(o(I,Z,oe),o(re,Z,oe),q($.children,Z,re,ae,ve,Ce,xe,de)):G>0&&G&64&&we&&z.dynamicChildren?(ee(z.dynamicChildren,we,Z,ae,ve,Ce,xe),($.key!=null||ae&&$===ae.subTree)&&jf(z,$,!0)):ue(z,$,Z,re,ae,ve,Ce,xe,de)},k=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{$.slotScopeIds=xe,z==null?$.shapeFlag&512?ae.ctx.activate($,Z,oe,Ce,de):w($,Z,oe,ae,ve,Ce,de):j(z,$,de)},w=(z,$,Z,oe,ae,ve,Ce)=>{const xe=z.component=zg(z,oe,ae);if(Ls(z)&&(xe.ctx.renderer=ke),Bg(xe),xe.asyncDep){if(ae&&ae.registerDep(xe,W),!z.el){const de=xe.subTree=gt(ar);M(null,de,$,Z)}return}W(xe,z,$,Z,ae,ve,Ce)},j=(z,$,Z)=>{const oe=$.component=z.component;if(FS(z,$,Z))if(oe.asyncDep&&!oe.asyncResolved){Y(oe,$,Z);return}else oe.next=$,Ux(oe.update),oe.update();else $.component=z.component,$.el=z.el,oe.vnode=$},W=(z,$,Z,oe,ae,ve,Ce)=>{const xe=()=>{if(z.isMounted){let{next:re,bu:G,u:we,parent:Re,vnode:Ve}=z,at=re,Je;de.allowRecurse=!1,re?(re.el=Ve.el,Y(z,re,Ce)):re=Ve,G&&pi(G),(Je=re.props&&re.props.onVnodeBeforeUpdate)&&pr(Je,Re,re,Ve),de.allowRecurse=!0;const Ue=fa(z),xt=z.subTree;z.subTree=Ue,L(xt,Ue,b(xt.el),be(xt),z,ae,ve),re.el=Ue.el,at===null&&Pf(z,Ue.el),we&&Kt(we,ae),(Je=re.props&&re.props.onVnodeUpdated)&&Kt(()=>pr(Je,Re,re,Ve),ae)}else{let re;const{el:G,props:we}=$,{bm:Re,m:Ve,parent:at}=z,Je=As($);if(de.allowRecurse=!1,Re&&pi(Re),!Je&&(re=we&&we.onVnodeBeforeMount)&&pr(re,at,$),de.allowRecurse=!0,G&&Le){const Ue=()=>{z.subTree=fa(z),Le(G,z.subTree,z,ae,null)};Je?$.type.__asyncLoader().then(()=>!z.isUnmounted&&Ue()):Ue()}else{const Ue=z.subTree=fa(z);L(null,Ue,Z,oe,z,ae,ve),$.el=Ue.el}if(Ve&&Kt(Ve,ae),!Je&&(re=we&&we.onVnodeMounted)){const Ue=$;Kt(()=>pr(re,at,Ue),ae)}$.shapeFlag&256&&z.a&&Kt(z.a,ae),z.isMounted=!0,$=Z=oe=null}},de=new Cs(xe,()=>ic(z.update),z.scope),I=z.update=de.run.bind(de);I.id=z.uid,de.allowRecurse=I.allowRecurse=!0,I()},Y=(z,$,Z)=>{$.component=z;const oe=z.vnode.props;z.vnode=$,z.next=null,tx(z,$.props,oe,Z),ix(z,$.children,Z),mi(),sc(void 0,z.update),zn()},ue=(z,$,Z,oe,ae,ve,Ce,xe,de=!1)=>{const I=z&&z.children,re=z?z.shapeFlag:0,G=$.children,{patchFlag:we,shapeFlag:Re}=$;if(we>0){if(we&128){je(I,G,Z,oe,ae,ve,Ce,xe,de);return}else if(we&256){he(I,G,Z,oe,ae,ve,Ce,xe,de);return}}Re&8?(re&16&&le(I,ae,ve),G!==I&&m(Z,G)):re&16?Re&16?je(I,G,Z,oe,ae,ve,Ce,xe,de):le(I,ae,ve,!0):(re&8&&m(Z,""),Re&16&&q(G,Z,oe,ae,ve,Ce,xe,de))},he=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{z=z||fi,$=$||fi;const I=z.length,re=$.length,G=Math.min(I,re);let we;for(we=0;we<G;we++){const Re=$[we]=de?Kn($[we]):Er($[we]);L(z[we],Re,Z,null,ae,ve,Ce,xe,de)}I>re?le(z,ae,ve,!0,!1,G):q($,Z,oe,ae,ve,Ce,xe,de,G)},je=(z,$,Z,oe,ae,ve,Ce,xe,de)=>{let I=0;const re=$.length;let G=z.length-1,we=re-1;for(;I<=G&&I<=we;){const Re=z[I],Ve=$[I]=de?Kn($[I]):Er($[I]);if(en(Re,Ve))L(Re,Ve,Z,null,ae,ve,Ce,xe,de);else break;I++}for(;I<=G&&I<=we;){const Re=z[G],Ve=$[we]=de?Kn($[we]):Er($[we]);if(en(Re,Ve))L(Re,Ve,Z,null,ae,ve,Ce,xe,de);else break;G--,we--}if(I>G){if(I<=we){const Re=we+1,Ve=Re<re?$[Re].el:oe;for(;I<=we;)L(null,$[I]=de?Kn($[I]):Er($[I]),Z,Ve,ae,ve,Ce,xe,de),I++}}else if(I>we)for(;I<=G;)Ke(z[I],ae,ve,!0),I++;else{const Re=I,Ve=I,at=new Map;for(I=Ve;I<=we;I++){const Oe=$[I]=de?Kn($[I]):Er($[I]);Oe.key!=null&&at.set(Oe.key,I)}let Je,Ue=0;const xt=we-Ve+1;let vt=!1,Xt=0;const Fe=new Array(xt);for(I=0;I<xt;I++)Fe[I]=0;for(I=Re;I<=G;I++){const Oe=z[I];if(Ue>=xt){Ke(Oe,ae,ve,!0);continue}let ge;if(Oe.key!=null)ge=at.get(Oe.key);else for(Je=Ve;Je<=we;Je++)if(Fe[Je-Ve]===0&&en(Oe,$[Je])){ge=Je;break}ge===void 0?Ke(Oe,ae,ve,!0):(Fe[ge-Ve]=I+1,ge>=Xt?Xt=ge:vt=!0,L(Oe,$[ge],Z,null,ae,ve,Ce,xe,de),Ue++)}const Ge=vt?ux(Fe):fi;for(Je=Ge.length-1,I=xt-1;I>=0;I--){const Oe=Ve+I,ge=$[Oe],He=Oe+1<re?$[Oe+1].el:oe;Fe[I]===0?L(null,ge,Z,He,ae,ve,Ce,xe,de):vt&&(Je<0||I!==Ge[Je]?We(ge,Z,He,2):Je--)}}},We=(z,$,Z,oe,ae=null)=>{const{el:ve,type:Ce,transition:xe,children:de,shapeFlag:I}=z;if(I&6){We(z.component.subTree,$,Z,oe);return}if(I&128){z.suspense.move($,Z,oe);return}if(I&64){Ce.move(z,$,Z,ke);return}if(Ce===Yt){o(ve,$,Z);for(let G=0;G<de.length;G++)We(de[G],$,Z,oe);o(z.anchor,$,Z);return}if(Ce===xi){H(z,$,Z);return}if(oe!==2&&I&1&&xe)if(oe===0)xe.beforeEnter(ve),o(ve,$,Z),Kt(()=>xe.enter(ve),ae);else{const{leave:G,delayLeave:we,afterLeave:Re}=xe,Ve=()=>o(ve,$,Z),at=()=>{G(ve,()=>{Ve(),Re&&Re()})};we?we(ve,Ve,at):at()}else o(ve,$,Z)},Ke=(z,$,Z,oe=!1,ae=!1)=>{const{type:ve,props:Ce,ref:xe,children:de,dynamicChildren:I,shapeFlag:re,patchFlag:G,dirs:we}=z;if(xe!=null&&ya(xe,null,Z,z,!0),re&256){$.ctx.deactivate(z);return}const Re=re&1&&we,Ve=!As(z);let at;if(Ve&&(at=Ce&&Ce.onVnodeBeforeUnmount)&&pr(at,$,z),re&6)se(z.component,Z,oe);else{if(re&128){z.suspense.unmount(Z,oe);return}Re&&qr(z,null,$,"beforeUnmount"),re&64?z.type.remove(z,$,Z,ae,ke,oe):I&&(ve!==Yt||G>0&&G&64)?le(I,$,Z,!1,!0):(ve===Yt&&G&(128|256)||!ae&&re&16)&&le(de,$,Z),oe&&Xe(z)}(Ve&&(at=Ce&&Ce.onVnodeUnmounted)||Re)&&Kt(()=>{at&&pr(at,$,z),Re&&qr(z,null,$,"unmounted")},Z)},Xe=z=>{const{type:$,el:Z,anchor:oe,transition:ae}=z;if($===Yt){ie(Z,oe);return}if($===xi){Q(z);return}const ve=()=>{u(Z),ae&&!ae.persisted&&ae.afterLeave&&ae.afterLeave()};if(z.shapeFlag&1&&ae&&!ae.persisted){const{leave:Ce,delayLeave:xe}=ae,de=()=>Ce(Z,ve);xe?xe(z.el,ve,de):de()}else ve()},ie=(z,$)=>{let Z;for(;z!==$;)Z=x(z),u(z),z=Z;u($)},se=(z,$,Z)=>{const{bum:oe,scope:ae,update:ve,subTree:Ce,um:xe}=z;oe&&pi(oe),ae.stop(),ve&&(ve.active=!1,Ke(Ce,z,$,Z)),xe&&Kt(xe,$),Kt(()=>{z.isUnmounted=!0},$),$&&$.pendingBranch&&!$.isUnmounted&&z.asyncDep&&!z.asyncResolved&&z.suspenseId===$.pendingId&&($.deps--,$.deps===0&&$.resolve())},le=(z,$,Z,oe=!1,ae=!1,ve=0)=>{for(let Ce=ve;Ce<z.length;Ce++)Ke(z[Ce],$,Z,oe,ae)},be=z=>z.shapeFlag&6?be(z.component.subTree):z.shapeFlag&128?z.suspense.next():x(z.anchor||z.el),Ie=(z,$,Z)=>{z==null?$._vnode&&Ke($._vnode,null,null,!0):L($._vnode||null,z,$,null,null,null,Z),ka(),$._vnode=z},ke={p:L,um:Ke,m:We,r:Xe,mt:w,mc:q,pc:ue,pbc:ee,n:be,o:t};let me,Le;return r&&([me,Le]=r(ke)),{render:Ie,hydrate:me,createApp:lx(Ie,me)}}function ya(t,r,i,o,u=!1){if(De(t)){t.forEach((x,E)=>ya(x,r&&(De(r)?r[E]:r),i,o,u));return}if(As(o)&&!u)return;const f=o.shapeFlag&4?ec(o.component)||o.component.proxy:o.el,c=u?null:f,{i:p,r:h}=t,g=r&&r.r,m=p.refs===st?p.refs={}:p.refs,b=p.setupState;if(g!=null&&g!==h&&(Ze(g)?(m[g]=null,nt(b,g)&&(b[g]=null)):Mt(g)&&(g.value=null)),Ze(h)){const x=()=>{m[h]=c,nt(b,h)&&(b[h]=c)};c?(x.id=-1,Kt(x,i)):x()}else if(Mt(h)){const x=()=>{h.value=c};c?(x.id=-1,Kt(x,i)):x()}else Ye(h)&&rn(h,p,12,[c,m])}function pr(t,r,i,o=null){Or(t,r,7,[i,o])}function jf(t,r,i=!1){const o=t.children,u=r.children;if(De(o)&&De(u))for(let f=0;f<o.length;f++){const c=o[f];let p=u[f];p.shapeFlag&1&&!p.dynamicChildren&&((p.patchFlag<=0||p.patchFlag===32)&&(p=u[f]=Kn(u[f]),p.el=c.el),i||jf(c,p))}}function ux(t){const r=t.slice(),i=[0];let o,u,f,c,p;const h=t.length;for(o=0;o<h;o++){const g=t[o];if(g!==0){if(u=i[i.length-1],t[u]<g){r[o]=u,i.push(o);continue}for(f=0,c=i.length-1;f<c;)p=f+c>>1,t[i[p]]<g?f=p+1:c=p;g<t[i[f]]&&(f>0&&(r[o]=i[f-1]),i[f]=o)}}for(f=i.length,c=i[f-1];f-- >0;)i[f]=c,c=r[c];return i}const fx=t=>t.__isTeleport,Is=t=>t&&(t.disabled||t.disabled===""),Pg=t=>typeof SVGElement!="undefined"&&t instanceof SVGElement,Kf=(t,r)=>{const i=t&&t.to;return Ze(i)?r?r(i):null:i},cx={__isTeleport:!0,process(t,r,i,o,u,f,c,p,h,g){const{mc:m,pc:b,pbc:x,o:{insert:E,querySelector:P,createText:B,createComment:L}}=g,F=Is(r.props);let{shapeFlag:M,children:N,dynamicChildren:H}=r;if(t==null){const Q=r.el=B(""),J=r.anchor=B("");E(Q,i,o),E(J,i,o);const K=r.target=Kf(r.props,P),U=r.targetAnchor=B("");K&&(E(U,K),c=c||Pg(K));const q=(te,ee)=>{M&16&&m(N,te,ee,u,f,c,p,h)};F?q(i,J):K&&q(K,U)}else{r.el=t.el;const Q=r.anchor=t.anchor,J=r.target=t.target,K=r.targetAnchor=t.targetAnchor,U=Is(t.props),q=U?i:J,te=U?Q:K;if(c=c||Pg(J),H?(x(t.dynamicChildren,H,q,u,f,c,p),jf(t,r,!0)):h||b(t,r,q,te,u,f,c,p,!1),F)U||ba(r,i,Q,g,1);else if((r.props&&r.props.to)!==(t.props&&t.props.to)){const ee=r.target=Kf(r.props,P);ee&&ba(r,ee,null,g,0)}else U&&ba(r,J,K,g,1)}},remove(t,r,i,o,{um:u,o:{remove:f}},c){const{shapeFlag:p,children:h,anchor:g,targetAnchor:m,target:b,props:x}=t;if(b&&f(m),(c||!Is(x))&&(f(g),p&16))for(let E=0;E<h.length;E++){const P=h[E];u(P,r,i,!0,!!P.dynamicChildren)}},move:ba,hydrate:dx};function ba(t,r,i,{o:{insert:o},m:u},f=2){f===0&&o(t.targetAnchor,r,i);const{el:c,anchor:p,shapeFlag:h,children:g,props:m}=t,b=f===2;if(b&&o(c,r,i),(!b||Is(m))&&h&16)for(let x=0;x<g.length;x++)u(g[x],r,i,2);b&&o(p,r,i)}function dx(t,r,i,o,u,f,{o:{nextSibling:c,parentNode:p,querySelector:h}},g){const m=r.target=Kf(r.props,h);if(m){const b=m._lpa||m.firstChild;r.shapeFlag&16&&(Is(r.props)?(r.anchor=g(c(t),r,p(t),i,o,u,f),r.targetAnchor=b):(r.anchor=c(t),r.targetAnchor=g(b,r,m,i,o,u,f)),m._lpa=r.targetAnchor&&c(r.targetAnchor))}return r.anchor&&c(r.anchor)}const hx=cx,Uf="components",px="directives";function gx(t,r){return $f(Uf,t,!0,r)||t}const Mg=Symbol();function vx(t){return Ze(t)?$f(Uf,t,!1)||t:t||Mg}function mx(t){return $f(px,t)}function $f(t,r,i=!0,o=!1){const u=Tr||zt;if(u){const f=u.type;if(t===Uf){const p=Ea(f);if(p&&(p===r||p===Gt(r)||p===Dn(Gt(r))))return f}const c=Ag(u[t]||f[t],r)||Ag(u.appContext[t],r);return!c&&o?f:c}}function Ag(t,r){return t&&(t[r]||t[Gt(r)]||t[Dn(Gt(r))])}const Yt=Symbol(void 0),ho=Symbol(void 0),ar=Symbol(void 0),xi=Symbol(void 0),Rs=[];let _r=null;function Sa(t=!1){Rs.push(_r=t?null:[])}function Lg(){Rs.pop(),_r=Rs[Rs.length-1]||null}let po=1;function Vf(t){po+=t}function Ng(t){return t.dynamicChildren=po>0?_r||fi:null,Lg(),po>0&&_r&&_r.push(t),t}function yx(t,r,i,o,u,f){return Ng(Yf(t,r,i,o,u,f,!0))}function Gf(t,r,i,o,u){return Ng(gt(t,r,i,o,u,!0))}function Wn(t){return t?t.__v_isVNode===!0:!1}function en(t,r){return t.type===r.type&&t.key===r.key}function bx(t){}const xa="__vInternal",Ig=({key:t})=>t!=null?t:null,wa=({ref:t})=>t!=null?Ze(t)||Mt(t)||Ye(t)?{i:Tr,r:t}:t:null;function Yf(t,r=null,i=null,o=0,u=null,f=t===Yt?0:1,c=!1,p=!1){const h={__v_isVNode:!0,__v_skip:!0,type:t,props:r,key:r&&Ig(r),ref:r&&wa(r),scopeId:ua,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:f,patchFlag:o,dynamicProps:u,dynamicChildren:null,appContext:null};return p?(Jf(h,i),f&128&&t.normalize(h)):i&&(h.shapeFlag|=Ze(i)?8:16),po>0&&!c&&_r&&(h.patchFlag>0||f&6)&&h.patchFlag!==32&&_r.push(h),h}const gt=Sx;function Sx(t,r=null,i=null,o=0,u=null,f=!1){if((!t||t===Mg)&&(t=ar),Wn(t)){const p=jn(t,r,!0);return i&&Jf(p,i),p}if(Fx(t)&&(t=t.__vccOpts),r){r=Rg(r);let{class:p,style:h}=r;p&&!Ze(p)&&(r.class=io(p)),pt(h)&&(xf(h)&&!De(h)&&(h=lt({},h)),r.style=no(h))}const c=Ze(t)?1:zS(t)?128:fx(t)?64:pt(t)?4:Ye(t)?2:0;return Yf(t,r,i,o,u,c,f,!0)}function Rg(t){return t?xf(t)||xa in t?lt({},t):t:null}function jn(t,r,i=!1){const{props:o,ref:u,patchFlag:f,children:c}=t,p=r?Dg(o||{},r):o;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:p,key:p&&Ig(p),ref:r&&r.ref?i&&u?De(u)?u.concat(wa(r)):[u,wa(r)]:wa(r):u,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:r&&t.type!==Yt?f===-1?16:f|16:f,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&jn(t.ssContent),ssFallback:t.ssFallback&&jn(t.ssFallback),el:t.el,anchor:t.anchor}}function Xf(t=" ",r=0){return gt(ho,null,t,r)}function xx(t,r){const i=gt(xi,null,t);return i.staticCount=r,i}function wx(t="",r=!1){return r?(Sa(),Gf(ar,null,t)):gt(ar,null,t)}function Er(t){return t==null||typeof t=="boolean"?gt(ar):De(t)?gt(Yt,null,t.slice()):typeof t=="object"?Kn(t):gt(ho,null,String(t))}function Kn(t){return t.el===null||t.memo?t:jn(t)}function Jf(t,r){let i=0;const{shapeFlag:o}=t;if(r==null)r=null;else if(De(r))i=16;else if(typeof r=="object")if(o&(1|64)){const u=r.default;u&&(u._c&&(u._d=!1),Jf(t,u()),u._c&&(u._d=!0));return}else{i=32;const u=r._;!u&&!(xa in r)?r._ctx=Tr:u===3&&Tr&&(Tr.slots._===1?r._=1:(r._=2,t.patchFlag|=1024))}else Ye(r)?(r={default:r,_ctx:Tr},i=32):(r=String(r),o&64?(i=16,r=[Xf(r)]):i=8);t.children=r,t.shapeFlag|=i}function Dg(...t){const r={};for(let i=0;i<t.length;i++){const o=t[i];for(const u in o)if(u==="class")r.class!==o.class&&(r.class=io([r.class,o.class]));else if(u==="style")r.style=no([r.style,o.style]);else if(Nn(u)){const f=r[u],c=o[u];f!==c&&!(De(f)&&f.includes(c))&&(r[u]=f?[].concat(f,c):c)}else u!==""&&(r[u]=o[u])}return r}function Cx(t,r,i,o){let u;const f=i&&i[o];if(De(t)||Ze(t)){u=new Array(t.length);for(let c=0,p=t.length;c<p;c++)u[c]=r(t[c],c,void 0,f&&f[c])}else if(typeof t=="number"){u=new Array(t);for(let c=0;c<t;c++)u[c]=r(c+1,c,void 0,f&&f[c])}else if(pt(t))if(t[Symbol.iterator])u=Array.from(t,(c,p)=>r(c,p,void 0,f&&f[p]));else{const c=Object.keys(t);u=new Array(c.length);for(let p=0,h=c.length;p<h;p++){const g=c[p];u[p]=r(t[g],g,p,f&&f[p])}}else u=[];return i&&(i[o]=u),u}function Tx(t,r){for(let i=0;i<r.length;i++){const o=r[i];if(De(o))for(let u=0;u<o.length;u++)t[o[u].name]=o[u].fn;else o&&(t[o.name]=o.fn)}return t}function Ex(t,r,i={},o,u){if(Tr.isCE)return gt("slot",r==="default"?null:{name:r},o&&o());let f=t[r];f&&f._c&&(f._d=!1),Sa();const c=f&&Fg(f(i)),p=Gf(Yt,{key:i.key||`_${r}`},c||(o?o():[]),c&&t._===1?64:-2);return!u&&p.scopeId&&(p.slotScopeIds=[p.scopeId+"-s"]),f&&f._c&&(f._d=!0),p}function Fg(t){return t.some(r=>Wn(r)?!(r.type===ar||r.type===Yt&&!Fg(r.children)):!0)?t:null}function Ox(t){const r={};for(const i in t)r[hi(i)]=t[i];return r}const Zf=t=>t?Hg(t)?ec(t)||t.proxy:Zf(t.parent):null,Ca=lt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Zf(t.parent),$root:t=>Zf(t.root),$emit:t=>t.emit,$options:t=>hg(t),$forceUpdate:t=>()=>ic(t.update),$nextTick:t=>Ws.bind(t.proxy),$watch:t=>Gx.bind(t)}),Qf={get({_:t},r){const{ctx:i,setupState:o,data:u,props:f,accessCache:c,type:p,appContext:h}=t;let g;if(r[0]!=="$"){const E=c[r];if(E!==void 0)switch(E){case 1:return o[r];case 2:return u[r];case 4:return i[r];case 3:return f[r]}else{if(o!==st&&nt(o,r))return c[r]=1,o[r];if(u!==st&&nt(u,r))return c[r]=2,u[r];if((g=t.propsOptions[0])&&nt(g,r))return c[r]=3,f[r];if(i!==st&&nt(i,r))return c[r]=4,i[r];Ff&&(c[r]=0)}}const m=Ca[r];let b,x;if(m)return r==="$attrs"&&Cr(t,"get",r),m(t);if((b=p.__cssModules)&&(b=b[r]))return b;if(i!==st&&nt(i,r))return c[r]=4,i[r];if(x=h.config.globalProperties,nt(x,r))return x[r]},set({_:t},r,i){const{data:o,setupState:u,ctx:f}=t;if(u!==st&&nt(u,r))u[r]=i;else if(o!==st&&nt(o,r))o[r]=i;else if(nt(t.props,r))return!1;return r[0]==="$"&&r.slice(1)in t?!1:(f[r]=i,!0)},has({_:{data:t,setupState:r,accessCache:i,ctx:o,appContext:u,propsOptions:f}},c){let p;return!!i[c]||t!==st&&nt(t,c)||r!==st&&nt(r,c)||(p=f[0])&&nt(p,c)||nt(o,c)||nt(Ca,c)||nt(u.config.globalProperties,c)}},kx=lt({},Qf,{get(t,r){if(r!==Symbol.unscopables)return Qf.get(t,r,t)},has(t,r){return r[0]!=="_"&&!fp(r)}}),Px=Tg();let Mx=0;function zg(t,r,i){const o=t.type,u=(r?r.appContext:t.appContext)||Px,f={uid:Mx++,vnode:t,type:o,parent:r,appContext:u,root:null,next:null,subTree:null,update:null,scope:new df(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:r?r.provides:Object.create(u.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vg(o,u),emitsOptions:Zp(o,u),emit:null,emitted:null,propsDefaults:st,inheritAttrs:o.inheritAttrs,ctx:st,data:st,props:st,attrs:st,slots:st,refs:st,setupState:st,setupContext:null,suspense:i,suspenseId:i?i.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 f.ctx={_:f},f.root=r?r.root:f,f.emit=MS.bind(null,f),t.ce&&t.ce(f),f}let zt=null;const tn=()=>zt||Tr,Un=t=>{zt=t,t.scope.on()},$n=()=>{zt&&zt.scope.off(),zt=null};function Hg(t){return t.vnode.shapeFlag&4}let Ds=!1;function Bg(t,r=!1){Ds=r;const{props:i,children:o}=t.vnode,u=Hg(t);ex(t,i,u,r),nx(t,o);const f=u?Ax(t,r):void 0;return Ds=!1,f}function Ax(t,r){const i=t.type;t.accessCache=Object.create(null),t.proxy=wf(new Proxy(t.ctx,Qf));const{setup:o}=i;if(o){const u=t.setupContext=o.length>1?jg(t):null;Un(t),mi();const f=rn(o,t,0,[t.props,u]);if(zn(),$n(),Yl(f)){if(f.then($n,$n),r)return f.then(c=>{qf(t,c,r)}).catch(c=>{wi(c,t,0)});t.asyncDep=f}else qf(t,f,r)}else Wg(t,r)}function qf(t,r,i){Ye(r)?t.type.__ssrInlineRender?t.ssrRender=r:t.render=r:pt(r)&&(t.setupState=Ef(r)),Wg(t,i)}let Ta,_f;function Lx(t){Ta=t,_f=r=>{r.render._rc&&(r.withProxy=new Proxy(r.ctx,kx))}}const Nx=()=>!Ta;function Wg(t,r,i){const o=t.type;if(!t.render){if(!r&&Ta&&!o.render){const u=o.template;if(u){const{isCustomElement:f,compilerOptions:c}=t.appContext.config,{delimiters:p,compilerOptions:h}=o,g=lt(lt({isCustomElement:f,delimiters:p},c),h);o.render=Ta(u,g)}}t.render=o.render||or,_f&&_f(t)}Un(t),mi(),JS(t),zn(),$n()}function Ix(t){return new Proxy(t.attrs,{get(r,i){return Cr(t,"get","$attrs"),r[i]}})}function jg(t){const r=o=>{t.exposed=o||{}};let i;return{get attrs(){return i||(i=Ix(t))},slots:t.slots,emit:t.emit,expose:r}}function ec(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ef(wf(t.exposed)),{get(r,i){if(i in r)return r[i];if(i in Ca)return Ca[i](t)}}))}const Rx=/(?:^|[-_])(\w)/g,Dx=t=>t.replace(Rx,r=>r.toUpperCase()).replace(/[-_]/g,"");function Ea(t){return Ye(t)&&t.displayName||t.name}function Kg(t,r,i=!1){let o=Ea(r);if(!o&&r.__file){const u=r.__file.match(/([^/\\]+)\.\w+$/);u&&(o=u[1])}if(!o&&t&&t.parent){const u=f=>{for(const c in f)if(f[c]===r)return c};o=u(t.components||t.parent.type.components)||u(t.appContext.components)}return o?Dx(o):i?"App":"Anonymous"}function Fx(t){return Ye(t)&&"__vccOpts"in t}const Fs=[];function Ug(t,...r){mi();const i=Fs.length?Fs[Fs.length-1].component:null,o=i&&i.appContext.config.warnHandler,u=zx();if(o)rn(o,i,11,[t+r.join(""),i&&i.proxy,u.map(({vnode:f})=>`at <${Kg(i,f.type)}>`).join(`
3
3
  `),u]);else{const f=[`[Vue warn]: ${t}`,...r];u.length&&f.push(`
4
- `,...Dx(u)),console.warn(...f)}zn()}function Rx(){let t=Ds[Ds.length-1];if(!t)return[];const r=[];for(;t;){const i=r[0];i&&i.vnode===t?i.recurseCount++:r.push({vnode:t,recurseCount:0});const o=t.component&&t.component.parent;t=o&&o.vnode}return r}function Dx(t){const r=[];return t.forEach((i,o)=>{r.push(...o===0?[]:[`
5
- `],...Fx(i))}),r}function Fx({vnode:t,recurseCount:r}){const i=r>0?`... (${r} recursive calls)`:"",o=t.component?t.component.parent==null:!1,u=` at <${Kg(t.component,t.type,o)}`,f=">"+i;return t.props?[u,...zx(t.props),f]:[u+f]}function zx(t){const r=[],i=Object.keys(t);return i.slice(0,3).forEach(o=>{r.push(...$g(o,t[o]))}),i.length>3&&r.push(" ..."),r}function $g(t,r,i){return Ze(r)?(r=JSON.stringify(r),i?r:[`${t}=${r}`]):typeof r=="number"||typeof r=="boolean"||r==null?i?r:[`${t}=${r}`]:Mt(r)?(r=$g(t,tt(r.value),!0),i?r:[`${t}=Ref<`,r,">"]):Ye(r)?[`${t}=fn${r.name?`<${r.name}>`:""}`]:(r=tt(r),i?r:[`${t}=`,r])}function rn(t,r,i,o){let u;try{u=o?t(...o):t()}catch(f){wi(f,r,i)}return u}function Or(t,r,i,o){if(Ye(t)){const f=rn(t,r,i,o);return f&&Gl(f)&&f.catch(c=>{wi(c,r,i)}),f}const u=[];for(let f=0;f<t.length;f++)u.push(Or(t[f],r,i,o));return u}function wi(t,r,i,o=!0){const u=r?r.vnode:null;if(r){let f=r.parent;const c=r.proxy,p=i;for(;f;){const g=f.ec;if(g){for(let m=0;m<g.length;m++)if(g[m](t,c,p)===!1)return}f=f.parent}const h=r.appContext.config.errorHandler;if(h){rn(h,null,10,[t,c,p]);return}}Hx(t,i,u,o)}function Hx(t,r,i,o=!0){console.error(t)}let Ta=!1,tc=!1;const kr=[];let vn=0;const Fs=[];let zs=null,go=0;const Hs=[];let Vn=null,vo=0;const Vg=Promise.resolve();let rc=null,nc=null;function Bs(t){const r=rc||Vg;return t?r.then(this?t.bind(this):t):r}function Bx(t){let r=vn+1,i=kr.length;for(;r<i;){const o=r+i>>>1;Ws(kr[o])<t?r=o+1:i=o}return r}function ic(t){(!kr.length||!kr.includes(t,Ta&&t.allowRecurse?vn+1:vn))&&t!==nc&&(t.id==null?kr.push(t):kr.splice(Bx(t.id),0,t),Gg())}function Gg(){!Ta&&!tc&&(tc=!0,rc=Vg.then(Xg))}function Wx(t){const r=kr.indexOf(t);r>vn&&kr.splice(r,1)}function Yg(t,r,i,o){Fe(t)?i.push(...t):(!r||!r.includes(t,t.allowRecurse?o+1:o))&&i.push(t),Gg()}function jx(t){Yg(t,zs,Fs,go)}function oc(t){Yg(t,Vn,Hs,vo)}function sc(t,r=null){if(Fs.length){for(nc=r,zs=[...new Set(Fs)],Fs.length=0,go=0;go<zs.length;go++)zs[go]();zs=null,go=0,nc=null,sc(t,r)}}function Ea(t){if(Hs.length){const r=[...new Set(Hs)];if(Hs.length=0,Vn){Vn.push(...r);return}for(Vn=r,Vn.sort((i,o)=>Ws(i)-Ws(o)),vo=0;vo<Vn.length;vo++)Vn[vo]();Vn=null,vo=0}}const Ws=t=>t.id==null?1/0:t.id;function Xg(t){tc=!1,Ta=!0,sc(t),kr.sort((i,o)=>Ws(i)-Ws(o));const r=or;try{for(vn=0;vn<kr.length;vn++){const i=kr[vn];i&&i.active!==!1&&rn(i,null,14)}}finally{vn=0,kr.length=0,Ea(),Ta=!1,rc=null,(kr.length||Fs.length||Hs.length)&&Xg(t)}}function Jg(t,r){return js(t,null,r)}function Zg(t,r){return js(t,null,{flush:"post"})}function Kx(t,r){return js(t,null,{flush:"sync"})}const Qg={};function gr(t,r,i){return js(t,r,i)}function js(t,r,{immediate:i,deep:o,flush:u,onTrack:f,onTrigger:c}=st){const p=zt;let h,g=!1,m=!1;if(Mt(t)?(h=()=>t.value,g=!!t._shallow):yi(t)?(h=()=>t,o=!0):Fe(t)?(m=!0,g=t.some(yi),h=()=>t.map(F=>{if(Mt(F))return F.value;if(yi(F))return Ci(F);if(Ye(F))return rn(F,p,2)})):Ye(t)?r?h=()=>rn(t,p,2):h=()=>{if(!(p&&p.isUnmounted))return b&&b(),Or(t,p,3,[x])}:h=or,r&&o){const F=h;h=()=>Ci(F())}let b,x=F=>{b=L.onStop=()=>{rn(F,p,4)}};if(Rs)return x=or,r?i&&Or(r,p,3,[h(),m?[]:void 0,x]):h(),or;let E=m?[]:Qg;const P=()=>{if(!!L.active)if(r){const F=L.run();(o||g||(m?F.some((M,N)=>oo(M,E[N])):oo(F,E)))&&(b&&b(),Or(r,p,3,[F,E===Qg?void 0:E,x]),E=F)}else L.run()};P.allowRecurse=!!r;let B;u==="sync"?B=P:u==="post"?B=()=>Kt(P,p&&p.suspense):B=()=>{!p||p.isMounted?jx(P):P()};const L=new ws(h,B);return r?i?P():E=L.run():u==="post"?Kt(L.run.bind(L),p&&p.suspense):L.run(),()=>{L.stop(),p&&p.scope&&lf(p.scope.effects,L)}}function Ux(t,r,i){const o=this.proxy,u=Ze(t)?t.includes(".")?qg(o,t):()=>o[t]:t.bind(o,o);let f;Ye(r)?f=r:(f=r.handler,i=r);const c=zt;Un(this);const p=js(u,f.bind(o),i);return c?Un(c):$n(),p}function qg(t,r){const i=r.split(".");return()=>{let o=t;for(let u=0;u<i.length&&o;u++)o=o[i[u]];return o}}function Ci(t,r){if(!pt(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),Mt(t))Ci(t.value,r);else if(Fe(t))for(let i=0;i<t.length;i++)Ci(t[i],r);else if(In(t)||ci(t))t.forEach(i=>{Ci(i,r)});else if(ff(t))for(const i in t)Ci(t[i],r);return t}function $x(){return null}function Vx(){return null}function Gx(t){}function Yx(t,r){return null}function Xx(){return _g().slots}function Jx(){return _g().attrs}function _g(){const t=tn();return t.setupContext||(t.setupContext=jg(t))}function Zx(t,r){const i=Fe(t)?t.reduce((o,u)=>(o[u]={},o),{}):t;for(const o in r){const u=i[o];u?Fe(u)||Ye(u)?i[o]={type:u,default:r[o]}:u.default=r[o]:u===null&&(i[o]={default:r[o]})}return i}function Qx(t,r){const i={};for(const o in t)r.includes(o)||Object.defineProperty(i,o,{enumerable:!0,get:()=>t[o]});return i}function qx(t){const r=tn();let i=t();return $n(),Gl(i)&&(i=i.catch(o=>{throw Un(r),o})),[i,()=>Un(r)]}function Oa(t,r,i){const o=arguments.length;return o===2?pt(r)&&!Fe(r)?Wn(r)?gt(t,null,[r]):gt(t,r):gt(t,null,r):(o>3?i=Array.prototype.slice.call(arguments,2):o===3&&Wn(i)&&(i=[i]),gt(t,r,i))}const ev=Symbol(""),_x=()=>{{const t=Wr(ev);return t||Ug("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function ew(){}function tw(t,r,i,o){const u=i[o];if(u&&tv(u,t))return u;const f=r();return f.memo=t.slice(),i[o]=f}function tv(t,r){const i=t.memo;if(i.length!=r.length)return!1;for(let o=0;o<i.length;o++)if(i[o]!==r[o])return!1;return po>0&&_r&&_r.push(t),!0}const rv="3.2.21",rw={createComponentInstance:zg,setupComponent:Bg,renderComponentRoot:aa,setCurrentRenderingInstance:Es,isVNode:Wn,normalizeVNode:Er},nw=rw,iw=null,ow=null,sw="http://www.w3.org/2000/svg",mo=typeof document!="undefined"?document:null,nv=new Map,lw={insert:(t,r,i)=>{r.insertBefore(t,i||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,i,o)=>{const u=r?mo.createElementNS(sw,t):mo.createElement(t,i?{is:i}:void 0);return t==="select"&&o&&o.multiple!=null&&u.setAttribute("multiple",o.multiple),u},createText:t=>mo.createTextNode(t),createComment:t=>mo.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>mo.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},cloneNode(t){const r=t.cloneNode(!0);return"_value"in t&&(r._value=t._value),r},insertStaticContent(t,r,i,o){const u=i?i.previousSibling:r.lastChild;let f=nv.get(t);if(!f){const c=mo.createElement("template");if(c.innerHTML=o?`<svg>${t}</svg>`:t,f=c.content,o){const p=f.firstChild;for(;p.firstChild;)f.appendChild(p.firstChild);f.removeChild(p)}nv.set(t,f)}return r.insertBefore(f.cloneNode(!0),i),[u?u.nextSibling:r.firstChild,i?i.previousSibling:r.lastChild]}};function aw(t,r,i){const o=t._vtc;o&&(r=(r?[r,...o]:[...o]).join(" ")),r==null?t.removeAttribute("class"):i?t.setAttribute("class",r):t.className=r}function uw(t,r,i){const o=t.style,u=Ze(i);if(i&&!u){for(const f in i)lc(o,f,i[f]);if(r&&!Ze(r))for(const f in r)i[f]==null&&lc(o,f,"")}else{const f=o.display;u?r!==i&&(o.cssText=i):r&&t.removeAttribute("style"),"_vod"in t&&(o.display=f)}}const iv=/\s*!important$/;function lc(t,r,i){if(Fe(i))i.forEach(o=>lc(t,r,o));else if(r.startsWith("--"))t.setProperty(r,i);else{const o=fw(t,r);iv.test(i)?t.setProperty(wr(o),i.replace(iv,""),"important"):t[o]=i}}const ov=["Webkit","Moz","ms"],ac={};function fw(t,r){const i=ac[r];if(i)return i;let o=Gt(r);if(o!=="filter"&&o in t)return ac[r]=o;o=Dn(o);for(let u=0;u<ov.length;u++){const f=ov[u]+o;if(f in t)return ac[r]=f}return r}const sv="http://www.w3.org/1999/xlink";function cw(t,r,i,o,u){if(o&&r.startsWith("xlink:"))i==null?t.removeAttributeNS(sv,r.slice(6,r.length)):t.setAttributeNS(sv,r,i);else{const f=pp(r);i==null||f&&!nf(i)?t.removeAttribute(r):t.setAttribute(r,f?"":i)}}function dw(t,r,i,o,u,f,c){if(r==="innerHTML"||r==="textContent"){o&&c(o,u,f),t[r]=i==null?"":i;return}if(r==="value"&&t.tagName!=="PROGRESS"){t._value=i;const p=i==null?"":i;t.value!==p&&(t.value=p),i==null&&t.removeAttribute(r);return}if(i===""||i==null){const p=typeof t[r];if(p==="boolean"){t[r]=nf(i);return}else if(i==null&&p==="string"){t[r]="",t.removeAttribute(r);return}else if(p==="number"){try{t[r]=0}catch{}t.removeAttribute(r);return}}try{t[r]=i}catch{}}let ka=Date.now,lv=!1;if(typeof window!="undefined"){ka()>document.createEvent("Event").timeStamp&&(ka=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);lv=!!(t&&Number(t[1])<=53)}let uc=0;const hw=Promise.resolve(),pw=()=>{uc=0},gw=()=>uc||(hw.then(pw),uc=ka());function mn(t,r,i,o){t.addEventListener(r,i,o)}function vw(t,r,i,o){t.removeEventListener(r,i,o)}function mw(t,r,i,o,u=null){const f=t._vei||(t._vei={}),c=f[r];if(o&&c)c.value=o;else{const[p,h]=yw(r);if(o){const g=f[r]=bw(o,u);mn(t,p,g,h)}else c&&(vw(t,p,c,h),f[r]=void 0)}}const av=/(?:Once|Passive|Capture)$/;function yw(t){let r;if(av.test(t)){r={};let i;for(;i=t.match(av);)t=t.slice(0,t.length-i[0].length),r[i[0].toLowerCase()]=!0}return[wr(t.slice(2)),r]}function bw(t,r){const i=o=>{const u=o.timeStamp||ka();(lv||u>=i.attached-1)&&Or(Sw(o,i.value),r,5,[o])};return i.value=t,i.attached=gw(),i}function Sw(t,r){if(Fe(r)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},r.map(o=>u=>!u._stopped&&o(u))}else return r}const uv=/^on[a-z]/,xw=(t,r,i,o,u=!1,f,c,p,h)=>{r==="class"?aw(t,o,u):r==="style"?uw(t,i,o):Nn(r)?Vl(r)||mw(t,r,i,o,c):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):ww(t,r,o,u))?dw(t,r,o,f,c,p,h):(r==="true-value"?t._trueValue=o:r==="false-value"&&(t._falseValue=o),cw(t,r,o,u))};function ww(t,r,i,o){return o?!!(r==="innerHTML"||r==="textContent"||r in t&&uv.test(r)&&Ye(i)):r==="spellcheck"||r==="draggable"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||uv.test(r)&&Ze(i)?!1:r in t}function fv(t,r){const i=Ps(t);class o extends Pa{constructor(f){super(i,f,r)}}return o.def=i,o}const Cw=t=>fv(t,Iv),Tw=typeof HTMLElement!="undefined"?HTMLElement:class{};class Pa extends Tw{constructor(r,i={},o){super();this._def=r,this._props=i,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Bs(()=>{this._connected||(gc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);new MutationObserver(o=>{for(const u of o)this._setAttr(u.attributeName)}).observe(this,{attributes:!0});const r=o=>{const{props:u,styles:f}=o,c=!Fe(u),p=u?c?Object.keys(u):u:[];let h;if(c)for(const g in this._props){const m=u[g];(m===Number||m&&m.type===Number)&&(this._props[g]=hn(this._props[g]),(h||(h=Object.create(null)))[g]=!0)}this._numberProps=h;for(const g of Object.keys(this))g[0]!=="_"&&this._setProp(g,this[g],!0,!1);for(const g of p.map(Gt))Object.defineProperty(this,g,{get(){return this._getProp(g)},set(m){this._setProp(g,m)}});this._applyStyles(f),this._update()},i=this._def.__asyncLoader;i?i().then(r):r(this._def)}_setAttr(r){let i=this.getAttribute(r);this._numberProps&&this._numberProps[r]&&(i=hn(i)),this._setProp(Gt(r),i,!1)}_getProp(r){return this._props[r]}_setProp(r,i,o=!0,u=!0){i!==this._props[r]&&(this._props[r]=i,u&&this._instance&&this._update(),o&&(i===!0?this.setAttribute(wr(r),""):typeof i=="string"||typeof i=="number"?this.setAttribute(wr(r),i+""):i||this.removeAttribute(wr(r))))}_update(){gc(this._createVNode(),this.shadowRoot)}_createVNode(){const r=gt(this._def,lt({},this._props));return this._instance||(r.ce=i=>{this._instance=i,i.isCE=!0,i.emit=(u,...f)=>{this.dispatchEvent(new CustomEvent(u,{detail:f}))};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Pa){i.parent=o._instance;break}}),r}_applyStyles(r){r&&r.forEach(i=>{const o=document.createElement("style");o.textContent=i,this.shadowRoot.appendChild(o)})}}function Ew(t="$style"){{const r=tn();if(!r)return st;const i=r.type.__cssModules;if(!i)return st;const o=i[t];return o||st}}function Ow(t){const r=tn();if(!r)return;const i=()=>fc(r.subTree,t(r.proxy));Zg(i),co(()=>{const o=new MutationObserver(i);o.observe(r.subTree.el.parentNode,{childList:!0}),ha(()=>o.disconnect())})}function fc(t,r){if(t.shapeFlag&128){const i=t.suspense;t=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push(()=>{fc(i.activeBranch,r)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)cv(t.el,r);else if(t.type===Yt)t.children.forEach(i=>fc(i,r));else if(t.type===xi){let{el:i,anchor:o}=t;for(;i&&(cv(i,r),i!==o);)i=i.nextSibling}}function cv(t,r){if(t.nodeType===1){const i=t.style;for(const o in r)i.setProperty(`--${o}`,r[o])}}const Gn="transition",Ks="animation",cc=(t,{slots:r})=>Oa(Lf,pv(t),r);cc.displayName="Transition";const dv={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},kw=cc.props=lt({},Lf.props,dv),Ti=(t,r=[])=>{Fe(t)?t.forEach(i=>i(...r)):t&&t(...r)},hv=t=>t?Fe(t)?t.some(r=>r.length>1):t.length>1:!1;function pv(t){const r={};for(const _ in t)_ in dv||(r[_]=t[_]);if(t.css===!1)return r;const{name:i="v",type:o,duration:u,enterFromClass:f=`${i}-enter-from`,enterActiveClass:c=`${i}-enter-active`,enterToClass:p=`${i}-enter-to`,appearFromClass:h=f,appearActiveClass:g=c,appearToClass:m=p,leaveFromClass:b=`${i}-leave-from`,leaveActiveClass:x=`${i}-leave-active`,leaveToClass:E=`${i}-leave-to`}=t,P=Pw(u),B=P&&P[0],L=P&&P[1],{onBeforeEnter:F,onEnter:M,onEnterCancelled:N,onLeave:H,onLeaveCancelled:Q,onBeforeAppear:J=F,onAppear:K=M,onAppearCancelled:U=N}=r,q=(_,O,k)=>{Ei(_,O?m:p),Ei(_,O?g:c),k&&k()},te=(_,O)=>{Ei(_,E),Ei(_,x),O&&O()},ee=_=>(O,k)=>{const w=_?K:M,j=()=>q(O,_,k);Ti(w,[O,j]),gv(()=>{Ei(O,_?h:f),yn(O,_?m:p),hv(w)||vv(O,o,B,j)})};return lt(r,{onBeforeEnter(_){Ti(F,[_]),yn(_,f),yn(_,c)},onBeforeAppear(_){Ti(J,[_]),yn(_,h),yn(_,g)},onEnter:ee(!1),onAppear:ee(!0),onLeave(_,O){const k=()=>te(_,O);yn(_,b),Sv(),yn(_,x),gv(()=>{Ei(_,b),yn(_,E),hv(H)||vv(_,o,L,k)}),Ti(H,[_,k])},onEnterCancelled(_){q(_,!1),Ti(N,[_])},onAppearCancelled(_){q(_,!0),Ti(U,[_])},onLeaveCancelled(_){te(_),Ti(Q,[_])}})}function Pw(t){if(t==null)return null;if(pt(t))return[dc(t.enter),dc(t.leave)];{const r=dc(t);return[r,r]}}function dc(t){return hn(t)}function yn(t,r){r.split(/\s+/).forEach(i=>i&&t.classList.add(i)),(t._vtc||(t._vtc=new Set)).add(r)}function Ei(t,r){r.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const{_vtc:i}=t;i&&(i.delete(r),i.size||(t._vtc=void 0))}function gv(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Mw=0;function vv(t,r,i,o){const u=t._endId=++Mw,f=()=>{u===t._endId&&o()};if(i)return setTimeout(f,i);const{type:c,timeout:p,propCount:h}=mv(t,r);if(!c)return o();const g=c+"end";let m=0;const b=()=>{t.removeEventListener(g,x),f()},x=E=>{E.target===t&&++m>=h&&b()};setTimeout(()=>{m<h&&b()},p+1),t.addEventListener(g,x)}function mv(t,r){const i=window.getComputedStyle(t),o=P=>(i[P]||"").split(", "),u=o(Gn+"Delay"),f=o(Gn+"Duration"),c=yv(u,f),p=o(Ks+"Delay"),h=o(Ks+"Duration"),g=yv(p,h);let m=null,b=0,x=0;r===Gn?c>0&&(m=Gn,b=c,x=f.length):r===Ks?g>0&&(m=Ks,b=g,x=h.length):(b=Math.max(c,g),m=b>0?c>g?Gn:Ks:null,x=m?m===Gn?f.length:h.length:0);const E=m===Gn&&/\b(transform|all)(,|$)/.test(i[Gn+"Property"]);return{type:m,timeout:b,propCount:x,hasTransform:E}}function yv(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((i,o)=>bv(i)+bv(t[o])))}function bv(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Sv(){return document.body.offsetHeight}const xv=new WeakMap,wv=new WeakMap,Aw={name:"TransitionGroup",props:lt({},kw,{tag:String,moveClass:String}),setup(t,{slots:r}){const i=tn(),o=Af();let u,f;return ca(()=>{if(!u.length)return;const c=t.moveClass||`${t.name||"v"}-move`;if(!Dw(u[0].el,i.vnode.el,c))return;u.forEach(Nw),u.forEach(Iw);const p=u.filter(Rw);Sv(),p.forEach(h=>{const g=h.el,m=g.style;yn(g,c),m.transform=m.webkitTransform=m.transitionDuration="";const b=g._moveCb=x=>{x&&x.target!==g||(!x||/transform$/.test(x.propertyName))&&(g.removeEventListener("transitionend",b),g._moveCb=null,Ei(g,c))};g.addEventListener("transitionend",b)})}),()=>{const c=tt(t),p=pv(c);let h=c.tag||Yt;u=f,f=r.default?ua(r.default()):[];for(let g=0;g<f.length;g++){const m=f[g];m.key!=null&&bi(m,fo(m,p,o,i))}if(u)for(let g=0;g<u.length;g++){const m=u[g];bi(m,fo(m,p,o,i)),xv.set(m,m.el.getBoundingClientRect())}return gt(h,null,f)}}},Lw=Aw;function Nw(t){const r=t.el;r._moveCb&&r._moveCb(),r._enterCb&&r._enterCb()}function Iw(t){wv.set(t,t.el.getBoundingClientRect())}function Rw(t){const r=xv.get(t),i=wv.get(t),o=r.left-i.left,u=r.top-i.top;if(o||u){const f=t.el.style;return f.transform=f.webkitTransform=`translate(${o}px,${u}px)`,f.transitionDuration="0s",t}}function Dw(t,r,i){const o=t.cloneNode();t._vtc&&t._vtc.forEach(c=>{c.split(/\s+/).forEach(p=>p&&o.classList.remove(p))}),i.split(/\s+/).forEach(c=>c&&o.classList.add(c)),o.style.display="none";const u=r.nodeType===1?r:r.parentNode;u.appendChild(o);const{hasTransform:f}=mv(o);return u.removeChild(o),f}const Yn=t=>{const r=t.props["onUpdate:modelValue"];return Fe(r)?i=>pi(r,i):r};function Fw(t){t.target.composing=!0}function Cv(t){const r=t.target;r.composing&&(r.composing=!1,zw(r,"input"))}function zw(t,r){const i=document.createEvent("HTMLEvents");i.initEvent(r,!0,!0),t.dispatchEvent(i)}const Ma={created(t,{modifiers:{lazy:r,trim:i,number:o}},u){t._assign=Yn(u);const f=o||u.props&&u.props.type==="number";mn(t,r?"change":"input",c=>{if(c.target.composing)return;let p=t.value;i?p=p.trim():f&&(p=hn(p)),t._assign(p)}),i&&mn(t,"change",()=>{t.value=t.value.trim()}),r||(mn(t,"compositionstart",Fw),mn(t,"compositionend",Cv),mn(t,"change",Cv))},mounted(t,{value:r}){t.value=r==null?"":r},beforeUpdate(t,{value:r,modifiers:{lazy:i,trim:o,number:u}},f){if(t._assign=Yn(f),t.composing||document.activeElement===t&&(i||o&&t.value.trim()===r||(u||t.type==="number")&&hn(t.value)===r))return;const c=r==null?"":r;t.value!==c&&(t.value=c)}},hc={deep:!0,created(t,r,i){t._assign=Yn(i),mn(t,"change",()=>{const o=t._modelValue,u=yo(t),f=t.checked,c=t._assign;if(Fe(o)){const p=vs(o,u),h=p!==-1;if(f&&!h)c(o.concat(u));else if(!f&&h){const g=[...o];g.splice(p,1),c(g)}}else if(In(o)){const p=new Set(o);f?p.add(u):p.delete(u),c(p)}else c(kv(t,f))})},mounted:Tv,beforeUpdate(t,r,i){t._assign=Yn(i),Tv(t,r,i)}};function Tv(t,{value:r,oldValue:i},o){t._modelValue=r,Fe(r)?t.checked=vs(r,o.props.value)>-1:In(r)?t.checked=r.has(o.props.value):r!==i&&(t.checked=dn(r,kv(t,!0)))}const pc={created(t,{value:r},i){t.checked=dn(r,i.props.value),t._assign=Yn(i),mn(t,"change",()=>{t._assign(yo(t))})},beforeUpdate(t,{value:r,oldValue:i},o){t._assign=Yn(o),r!==i&&(t.checked=dn(r,o.props.value))}},Ev={deep:!0,created(t,{value:r,modifiers:{number:i}},o){const u=In(r);mn(t,"change",()=>{const f=Array.prototype.filter.call(t.options,c=>c.selected).map(c=>i?hn(yo(c)):yo(c));t._assign(t.multiple?u?new Set(f):f:f[0])}),t._assign=Yn(o)},mounted(t,{value:r}){Ov(t,r)},beforeUpdate(t,r,i){t._assign=Yn(i)},updated(t,{value:r}){Ov(t,r)}};function Ov(t,r){const i=t.multiple;if(!(i&&!Fe(r)&&!In(r))){for(let o=0,u=t.options.length;o<u;o++){const f=t.options[o],c=yo(f);if(i)Fe(r)?f.selected=vs(r,c)>-1:f.selected=r.has(c);else if(dn(yo(f),r)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function yo(t){return"_value"in t?t._value:t.value}function kv(t,r){const i=r?"_trueValue":"_falseValue";return i in t?t[i]:r}const Hw={created(t,r,i){Aa(t,r,i,null,"created")},mounted(t,r,i){Aa(t,r,i,null,"mounted")},beforeUpdate(t,r,i,o){Aa(t,r,i,o,"beforeUpdate")},updated(t,r,i,o){Aa(t,r,i,o,"updated")}};function Aa(t,r,i,o,u){let f;switch(t.tagName){case"SELECT":f=Ev;break;case"TEXTAREA":f=Ma;break;default:switch(i.props&&i.props.type){case"checkbox":f=hc;break;case"radio":f=pc;break;default:f=Ma}}const c=f[u];c&&c(t,r,i,o)}function Bw(){Ma.getSSRProps=({value:t})=>({value:t}),pc.getSSRProps=({value:t},r)=>{if(r.props&&dn(r.props.value,t))return{checked:!0}},hc.getSSRProps=({value:t},r)=>{if(Fe(t)){if(r.props&&vs(t,r.props.value)>-1)return{checked:!0}}else if(In(t)){if(r.props&&t.has(r.props.value))return{checked:!0}}else if(t)return{checked:!0}}}const Ww=["ctrl","shift","alt","meta"],jw={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>Ww.some(i=>t[`${i}Key`]&&!r.includes(i))},Kw=(t,r)=>(i,...o)=>{for(let u=0;u<r.length;u++){const f=jw[r[u]];if(f&&f(i,r))return}return t(i,...o)},Uw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$w=(t,r)=>i=>{if(!("key"in i))return;const o=wr(i.key);if(r.some(u=>u===o||Uw[u]===o))return t(i)},Pv={beforeMount(t,{value:r},{transition:i}){t._vod=t.style.display==="none"?"":t.style.display,i&&r?i.beforeEnter(t):Us(t,r)},mounted(t,{value:r},{transition:i}){i&&r&&i.enter(t)},updated(t,{value:r,oldValue:i},{transition:o}){!r!=!i&&(o?r?(o.beforeEnter(t),Us(t,!0),o.enter(t)):o.leave(t,()=>{Us(t,!1)}):Us(t,r))},beforeUnmount(t,{value:r}){Us(t,r)}};function Us(t,r){t.style.display=r?t._vod:"none"}function Vw(){Pv.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const Mv=lt({patchProp:xw},lw);let $s,Av=!1;function Lv(){return $s||($s=Eg(Mv))}function Nv(){return $s=Av?$s:Og(Mv),Av=!0,$s}const gc=(...t)=>{Lv().render(...t)},Iv=(...t)=>{Nv().hydrate(...t)},Gw=(...t)=>{const r=Lv().createApp(...t),{mount:i}=r;return r.mount=o=>{const u=Rv(o);if(!u)return;const f=r._component;!Ye(f)&&!f.render&&!f.template&&(f.template=u.innerHTML),u.innerHTML="";const c=i(u,!1,u instanceof SVGElement);return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),c},r},Yw=(...t)=>{const r=Nv().createApp(...t),{mount:i}=r;return r.mount=o=>{const u=Rv(o);if(u)return i(u,!0,u instanceof SVGElement)},r};function Rv(t){return Ze(t)?document.querySelector(t):t}let Dv=!1;const Xw=()=>{Dv||(Dv=!0,Bw(),Vw())};var Jw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Transition:cc,TransitionGroup:Lw,VueElement:Pa,createApp:Gw,createSSRApp:Yw,defineCustomElement:fv,defineSSRCustomElement:Cw,hydrate:Iv,initDirectivesForSSR:Xw,render:gc,useCssModule:Ew,useCssVars:Ow,vModelCheckbox:hc,vModelDynamic:Hw,vModelRadio:pc,vModelSelect:Ev,vModelText:Ma,vShow:Pv,withKeys:$w,withModifiers:Kw,EffectScope:cf,ReactiveEffect:ws,computed:sr,customRef:wS,effect:$b,effectScope:jb,getCurrentScope:Op,isProxy:xf,isReactive:yi,isReadonly:Sf,isRef:Mt,markRaw:wf,onScopeDispose:kp,proxyRefs:Ef,reactive:lo,readonly:bf,ref:At,shallowReactive:Gp,shallowReadonly:mS,shallowRef:Ts,stop:Vb,toRaw:tt,toRef:Xp,toRefs:CS,triggerRef:bS,unref:Ct,camelize:Gt,capitalize:Dn,normalizeClass:io,normalizeProps:vp,normalizeStyle:no,toDisplayString:Sp,toHandlerKey:hi,BaseTransition:Lf,Comment:ar,Fragment:Yt,KeepAlive:$S,Static:xi,Suspense:FS,Teleport:fx,Text:ho,callWithAsyncErrorHandling:Or,callWithErrorHandling:rn,cloneVNode:jn,compatUtils:ow,createBlock:Gf,createCommentVNode:bx,createElementBlock:gx,createElementVNode:Yf,createHydrationRenderer:Og,createPropsRestProxy:Qx,createRenderer:Eg,createSlots:xx,createStaticVNode:yx,createTextVNode:Xf,createVNode:gt,defineAsyncComponent:KS,defineComponent:Ps,defineEmits:Vx,defineExpose:Gx,defineProps:$x,get devtools(){return ao},getCurrentInstance:tn,getTransitionRawChildren:ua,guardReactiveProps:Rg,h:Oa,handleError:wi,initCustomFormatter:ew,inject:Wr,isMemoSame:tv,isRuntimeOnly:Mx,isVNode:Wn,mergeDefaults:Zx,mergeProps:Dg,nextTick:Bs,onActivated:rg,onBeforeMount:og,onBeforeUnmount:da,onBeforeUpdate:sg,onDeactivated:ng,onErrorCaptured:fg,onMounted:co,onRenderTracked:ug,onRenderTriggered:ag,onServerPrefetch:lg,onUnmounted:ha,onUpdated:ca,openBlock:ya,popScopeId:PS,provide:ks,pushScopeId:kS,queuePostFlushCb:oc,registerRuntimeCompiler:Px,renderList:Sx,renderSlot:wx,resolveComponent:dx,resolveDirective:px,resolveDynamicComponent:hx,resolveFilter:iw,resolveTransitionHooks:fo,setBlockTracking:Vf,setDevtoolsHook:Jp,setTransitionHooks:bi,ssrContextKey:ev,ssrUtils:nw,toHandlers:Cx,transformVNodeArgs:vx,useAttrs:Jx,useSSRContext:_x,useSlots:Xx,useTransitionState:Af,version:rv,warn:Ug,watch:gr,watchEffect:Jg,watchPostEffect:Zg,watchSyncEffect:Kx,withAsyncContext:qx,withCtx:kf,withDefaults:Yx,withDirectives:rx,withMemo:tw,withScopeId:MS});function vc(){const t=[],r=u=>{const f=t.indexOf(u);f!==-1&&t.splice(f,1)};return{on:u=>(t.push(u),{off:()=>r(u)}),off:r,trigger:u=>{t.forEach(f=>f(u))}}}function mc(t){return Op()?(kp(t),!0):!1}const La=typeof window!="undefined",Zw=t=>typeof t=="string",Na=()=>{};function Fv(t,r){function i(...o){t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})}return i}const Qw=t=>t();function qw(t,r={}){let i,o;return f=>{const c=Ct(t),p=Ct(r.maxWait);if(i&&clearTimeout(i),c<=0||p!==void 0&&p<=0)return o&&(clearTimeout(o),o=null),f();p&&!o&&(o=setTimeout(()=>{i&&clearTimeout(i),o=null,f()},p)),i=setTimeout(()=>{o&&clearTimeout(o),o=null,f()},c)}}function _w(t,...r){return r.some(i=>i in t)}function e1(t,r=200,i={}){return Fv(qw(r,i),t)}function dE(t,r=200,i={}){if(r<=0)return t;const o=At(t.value),u=e1(()=>{o.value=t.value},r,i);return gr(t,()=>u()),o}var zv=Object.getOwnPropertySymbols,t1=Object.prototype.hasOwnProperty,r1=Object.prototype.propertyIsEnumerable,n1=(t,r)=>{var i={};for(var o in t)t1.call(t,o)&&r.indexOf(o)<0&&(i[o]=t[o]);if(t!=null&&zv)for(var o of zv(t))r.indexOf(o)<0&&r1.call(t,o)&&(i[o]=t[o]);return i};function i1(t,r,i={}){const o=i,{eventFilter:u=Qw}=o,f=n1(o,["eventFilter"]);return gr(t,Fv(u,r),f)}function o1(t,r=!0){tn()?co(t):r?t():Bs(t)}function s1(t,r,i={}){const{immediate:o=!0}=i,u=At(!1);let f=null;function c(){f&&(clearTimeout(f),f=null)}function p(){u.value=!1,c()}function h(...g){c(),u.value=!0,f=setTimeout(()=>{u.value=!1,f=null,t(...g)},Ct(r))}return o&&(u.value=!0,La&&h()),mc(p),{isPending:u,start:h,stop:p}}function hE(t=!1){if(Mt(t))return r=>{t.value=typeof r=="boolean"?r:!t.value};{const r=At(t);return[r,o=>{r.value=typeof o=="boolean"?o:!r.value}]}}function pE(t,r,i){let o;Mt(i)?o={evaluating:i}:o=i||{};const{lazy:u=!1,evaluating:f=void 0,onError:c=Na}=o,p=At(!u),h=At(r);let g=0;return Jg(async m=>{if(!p.value)return;g++;const b=g;let x=!1;try{f&&Promise.resolve().then(()=>{f.value=!0});const E=await t(P=>{m(()=>{f&&(f.value=!1),x||P()})});b===g&&(h.value=E)}catch(E){c(E)}finally{f&&(f.value=!1),x=!0}}),u?sr(()=>(p.value=!0,h.value)):h}const Oi=La?window:void 0;La&&window.document;La&&window.navigator;function l1(...t){let r,i,o,u;if(Zw(t[0])?([i,o,u]=t,r=Oi):[r,i,o,u]=t,!r)return Na;let f=Na;const c=gr(()=>Ct(r),h=>{f(),!!h&&(h.addEventListener(i,o,u),f=()=>{h.removeEventListener(i,o,u),f=Na})},{immediate:!0,flush:"post"}),p=()=>{c(),f()};return mc(p),p}function a1(t,r={}){const{window:i=Oi}=r;if(!i)return At(!1);const o=i.matchMedia(t),u=At(o.matches),f=c=>{u.value=c.matches};return"addEventListener"in o?o.addEventListener("change",f):o.addListener(f),mc(()=>{"removeEventListener"in o?o.removeEventListener("change",f):o.removeListener(f)}),u}const u1={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))}};function f1(t,r,i=(u=>(u=Oi)==null?void 0:u.localStorage)(),o={}){var u;const{flush:f="pre",deep:c=!0,listenToStorageChanges:p=!0,writeDefaults:h=!0,shallow:g,window:m=Oi,eventFilter:b,onError:x=M=>{console.error(M)}}=o,E=Ct(r),P=E==null?"any":E instanceof Set?"set":E instanceof Map?"map":typeof E=="boolean"?"boolean":typeof E=="string"?"string":typeof E=="object"||Array.isArray(E)?"object":Number.isNaN(E)?"any":"number",B=(g?Ts:At)(r),L=(u=o.serializer)!=null?u:u1[P];function F(M){if(!(!i||M&&M.key!==t))try{const N=M?M.newValue:i.getItem(t);N==null?(B.value=E,h&&E!==null&&i.setItem(t,L.write(E))):B.value=L.read(N)}catch(N){x(N)}}return F(),m&&p&&l1(m,"storage",M=>setTimeout(()=>F(M),0)),i&&i1(B,()=>{try{B.value==null?i.removeItem(t):i.setItem(t,L.write(B.value))}catch(M){x(M)}},{flush:f,deep:c,eventFilter:b}),B}function c1(t){return a1("(prefers-color-scheme: dark)",t)}function gE(t={}){var r;const{selector:i="html",attribute:o="class",valueDark:u="dark",valueLight:f="",window:c=Oi,storage:p=(r=Oi)==null?void 0:r.localStorage,storageKey:h="vueuse-color-scheme",listenToStorageChanges:g=!0}=t,m=c1({window:c}),b=h==null?At("auto"):f1(h,"auto",p,{window:c,listenToStorageChanges:g}),x=sr({get(){return b.value==="auto"?m.value:b.value==="dark"},set(P){P===m.value?b.value="auto":b.value=P?"dark":"light"}}),E=t.onChanged||(P=>{const B=c==null?void 0:c.document.querySelector(i);o==="class"?(B==null||B.classList.toggle(u,P),f&&(B==null||B.classList.toggle(f,!P))):B==null||B.setAttribute(o,P?u:f)});return gr(x,E,{flush:"post"}),o1(()=>E(x.value)),x}var d1=Object.defineProperty,h1=Object.defineProperties,p1=Object.getOwnPropertyDescriptors,Hv=Object.getOwnPropertySymbols,g1=Object.prototype.hasOwnProperty,v1=Object.prototype.propertyIsEnumerable,Bv=(t,r,i)=>r in t?d1(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,bn=(t,r)=>{for(var i in r||(r={}))g1.call(r,i)&&Bv(t,i,r[i]);if(Hv)for(var i of Hv(r))v1.call(r,i)&&Bv(t,i,r[i]);return t},Wv=(t,r)=>h1(t,p1(r));const m1={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function jv(t){return _w(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError")}function yc(t){return t instanceof Headers?Object.fromEntries([...t.entries()]):t}function vE(t,...r){var i;const o=typeof AbortController=="function";let u={},f={immediate:!0,refetch:!1,timeout:0};const c={method:"get",type:"text",payload:void 0};r.length>0&&(jv(r[0])?f=bn(bn({},f),r[0]):u=r[0]),r.length>1&&jv(r[1])&&(f=bn(bn({},f),r[1]));const{fetch:p=(i=Oi)==null?void 0:i.fetch,initialData:h,timeout:g}=f,m=vc(),b=vc(),x=vc(),E=At(!1),P=At(!1),B=At(!1),L=At(null),F=Ts(null),M=At(null),N=Ts(h),H=sr(()=>o&&P.value);let Q,J;const K=()=>{o&&Q&&Q.abort()},U=O=>{P.value=O,E.value=!O};g&&(J=s1(K,g,{immediate:!1}));const q=async(O=!1)=>{var k;U(!0),M.value=null,L.value=null,B.value=!1,Q=void 0,o&&(Q=new AbortController,Q.signal.onabort=()=>B.value=!0,u=Wv(bn({},u),{signal:Q.signal}));const w={method:c.method,headers:{}};if(c.payload){const ue=yc(w.headers);c.payloadType&&(ue["Content-Type"]=(k=m1[c.payloadType])!=null?k:c.payloadType),w.body=c.payloadType==="json"?JSON.stringify(Ct(c.payload)):Ct(c.payload)}let j=!1;const W={url:Ct(t),options:u,cancel:()=>{j=!0}};if(f.beforeFetch&&Object.assign(W,await f.beforeFetch(W)),j||!p)return U(!1),Promise.resolve();let Y=null;return J&&J.start(),new Promise((ue,he)=>{var je;p(W.url,Wv(bn(bn({},w),W.options),{headers:bn(bn({},yc(w.headers)),yc((je=W.options)==null?void 0:je.headers))})).then(async We=>{if(F.value=We,L.value=We.status,Y=await We[c.type](),f.afterFetch&&({data:Y}=await f.afterFetch({data:Y,response:We})),N.value=Y,!We.ok)throw new Error(We.statusText);m.trigger(We),ue(We)}).catch(async We=>{let Ke=We.message||We.name;f.onFetchError&&({data:Y,error:Ke}=await f.onFetchError({data:Y,error:We})),N.value=Y,M.value=Ke,b.trigger(We),O?he(We):ue(void 0)}).finally(()=>{U(!1),J&&J.stop(),x.trigger(null)})})};gr(()=>[Ct(t),Ct(f.refetch)],()=>Ct(f.refetch)&&q(),{deep:!0});const te={isFinished:E,statusCode:L,response:F,error:M,data:N,isFetching:P,canAbort:H,aborted:B,abort:K,execute:q,onFetchResponse:m.on,onFetchError:b.on,onFetchFinally:x.on,get:ee("get"),put:ee("put"),post:ee("post"),delete:ee("delete"),json:_("json"),text:_("text"),blob:_("blob"),arrayBuffer:_("arrayBuffer"),formData:_("formData")};function ee(O){return(k,w)=>{if(!P.value)return c.method=O,c.payload=k,c.payloadType=w,Mt(c.payload)&&gr(()=>[Ct(c.payload),Ct(f.refetch)],()=>Ct(f.refetch)&&q(),{deep:!0}),!w&&Ct(k)&&Object.getPrototypeOf(Ct(k))===Object.prototype&&(c.payloadType="json"),te}}function _(O){return()=>{if(!P.value)return c.type=O,te}}return f.immediate&&setTimeout(q,0),te}var Kv;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(Kv||(Kv={}));function mE(t,r,i,o={}){var u;const{passive:f=!1,eventName:c,deep:p=!1}=o,h=tn(),g=i||(h==null?void 0:h.emit)||((u=h==null?void 0:h.$emit)==null?void 0:u.bind(h));let m=c;if(r||(r="modelValue"),m=c||m||`update:${r}`,f){const b=At(t[r]);return gr(()=>t[r],x=>b.value=x),gr(b,x=>{(x!==t[r]||p)&&g(m,x)},{deep:p}),b}else return sr({get(){return t[r]},set(b){g(m,b)}})}var y1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function bc(t){if(t.__esModule)return t;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(i){var o=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return t[i]}})}),r}var ki={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(y1,function(){var i=navigator.userAgent,o=navigator.platform,u=/gecko\/\d/i.test(i),f=/MSIE \d/.test(i),c=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(i),p=/Edge\/(\d+)/.exec(i),h=f||c||p,g=h&&(f?document.documentMode||6:+(p||c)[1]),m=!p&&/WebKit\//.test(i),b=m&&/Qt\/\d+\.\d+/.test(i),x=!p&&/Chrome\//.test(i),E=/Opera\//.test(i),P=/Apple Computer/.test(navigator.vendor),B=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(i),L=/PhantomJS/.test(i),F=P&&(/Mobile\/\w+/.test(i)||navigator.maxTouchPoints>2),M=/Android/.test(i),N=F||M||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(i),H=F||/Mac/.test(o),Q=/\bCrOS\b/.test(i),J=/win/i.test(o),K=E&&i.match(/Version\/(\d*\.\d*)/);K&&(K=Number(K[1])),K&&K>=15&&(E=!1,m=!0);var U=H&&(b||E&&(K==null||K<12.11)),q=u||h&&g>=9;function te(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var ee=function(e,n){var l=e.className,s=te(n).exec(l);if(s){var a=l.slice(s.index+s[0].length);e.className=l.slice(0,s.index)+(a?s[1]+a:"")}};function _(e){for(var n=e.childNodes.length;n>0;--n)e.removeChild(e.firstChild);return e}function O(e,n){return _(e).appendChild(n)}function k(e,n,l,s){var a=document.createElement(e);if(l&&(a.className=l),s&&(a.style.cssText=s),typeof n=="string")a.appendChild(document.createTextNode(n));else if(n)for(var d=0;d<n.length;++d)a.appendChild(n[d]);return a}function w(e,n,l,s){var a=k(e,n,l,s);return a.setAttribute("role","presentation"),a}var j;document.createRange?j=function(e,n,l,s){var a=document.createRange();return a.setEnd(s||e,l),a.setStart(e,n),a}:j=function(e,n,l){var s=document.body.createTextRange();try{s.moveToElementText(e.parentNode)}catch{return s}return s.collapse(!0),s.moveEnd("character",l),s.moveStart("character",n),s};function W(e,n){if(n.nodeType==3&&(n=n.parentNode),e.contains)return e.contains(n);do if(n.nodeType==11&&(n=n.host),n==e)return!0;while(n=n.parentNode)}function Y(){var e;try{e=document.activeElement}catch{e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function ue(e,n){var l=e.className;te(n).test(l)||(e.className+=(l?" ":"")+n)}function he(e,n){for(var l=e.split(" "),s=0;s<l.length;s++)l[s]&&!te(l[s]).test(n)&&(n+=" "+l[s]);return n}var je=function(e){e.select()};F?je=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:h&&(je=function(e){try{e.select()}catch{}});function We(e){var n=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,n)}}function Ke(e,n,l){n||(n={});for(var s in e)e.hasOwnProperty(s)&&(l!==!1||!n.hasOwnProperty(s))&&(n[s]=e[s]);return n}function Xe(e,n,l,s,a){n==null&&(n=e.search(/[^\s\u00a0]/),n==-1&&(n=e.length));for(var d=s||0,v=a||0;;){var y=e.indexOf(" ",d);if(y<0||y>=n)return v+(n-d);v+=y-d,v+=l-v%l,d=y+1}}var ie=function(){this.id=null,this.f=null,this.time=0,this.handler=We(this.onTimeout,this)};ie.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ie.prototype.set=function(e,n){this.f=n;var l=+new Date+e;(!this.id||l<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=l)};function se(e,n){for(var l=0;l<e.length;++l)if(e[l]==n)return l;return-1}var le=50,be={toString:function(){return"CodeMirror.Pass"}},Ie={scroll:!1},ke={origin:"*mouse"},me={origin:"+move"};function Le(e,n,l){for(var s=0,a=0;;){var d=e.indexOf(" ",s);d==-1&&(d=e.length);var v=d-s;if(d==e.length||a+v>=n)return s+Math.min(v,n-a);if(a+=d-s,a+=l-a%l,s=d+1,a>=n)return s}}var z=[""];function $(e){for(;z.length<=e;)z.push(Z(z)+" ");return z[e]}function Z(e){return e[e.length-1]}function oe(e,n){for(var l=[],s=0;s<e.length;s++)l[s]=n(e[s],s);return l}function ae(e,n,l){for(var s=0,a=l(n);s<e.length&&l(e[s])<=a;)s++;e.splice(s,0,n)}function ve(){}function Ce(e,n){var l;return Object.create?l=Object.create(e):(ve.prototype=e,l=new ve),n&&Ke(n,l),l}var xe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function de(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||xe.test(e))}function I(e,n){return n?n.source.indexOf("\\w")>-1&&de(e)?!0:n.test(e):de(e)}function re(e){for(var n in e)if(e.hasOwnProperty(n)&&e[n])return!1;return!0}var G=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function we(e){return e.charCodeAt(0)>=768&&G.test(e)}function Re(e,n,l){for(;(l<0?n>0:n<e.length)&&we(e.charAt(n));)n+=l;return n}function Ve(e,n,l){for(var s=n>l?-1:1;;){if(n==l)return n;var a=(n+l)/2,d=s<0?Math.ceil(a):Math.floor(a);if(d==n)return e(d)?n:l;e(d)?l=d:n=d+s}}function at(e,n,l,s){if(!e)return s(n,l,"ltr",0);for(var a=!1,d=0;d<e.length;++d){var v=e[d];(v.from<l&&v.to>n||n==l&&v.to==n)&&(s(Math.max(v.from,n),Math.min(v.to,l),v.level==1?"rtl":"ltr",d),a=!0)}a||s(n,l,"ltr")}var Je=null;function Ue(e,n,l){var s;Je=null;for(var a=0;a<e.length;++a){var d=e[a];if(d.from<n&&d.to>n)return a;d.to==n&&(d.from!=d.to&&l=="before"?s=a:Je=a),d.from==n&&(d.from!=d.to&&l!="before"?s=a:Je=a)}return s!=null?s:Je}var xt=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",n="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function l(C){return C<=247?e.charAt(C):1424<=C&&C<=1524?"R":1536<=C&&C<=1785?n.charAt(C-1536):1774<=C&&C<=2220?"r":8192<=C&&C<=8203?"w":C==8204?"b":"L"}var s=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,a=/[stwN]/,d=/[LRr]/,v=/[Lb1n]/,y=/[1n]/;function S(C,A,R){this.level=C,this.from=A,this.to=R}return function(C,A){var R=A=="ltr"?"L":"R";if(C.length==0||A=="ltr"&&!s.test(C))return!1;for(var X=C.length,V=[],ne=0;ne<X;++ne)V.push(l(C.charCodeAt(ne)));for(var ce=0,Se=R;ce<X;++ce){var Te=V[ce];Te=="m"?V[ce]=Se:Se=Te}for(var Pe=0,Ee=R;Pe<X;++Pe){var Ae=V[Pe];Ae=="1"&&Ee=="r"?V[Pe]="n":d.test(Ae)&&(Ee=Ae,Ae=="r"&&(V[Pe]="R"))}for(var Be=1,ze=V[0];Be<X-1;++Be){var Qe=V[Be];Qe=="+"&&ze=="1"&&V[Be+1]=="1"?V[Be]="1":Qe==","&&ze==V[Be+1]&&(ze=="1"||ze=="n")&&(V[Be]=ze),ze=Qe}for(var ct=0;ct<X;++ct){var Dt=V[ct];if(Dt==",")V[ct]="N";else if(Dt=="%"){var mt=void 0;for(mt=ct+1;mt<X&&V[mt]=="%";++mt);for(var hr=ct&&V[ct-1]=="!"||mt<X&&V[mt]=="1"?"1":"N",rr=ct;rr<mt;++rr)V[rr]=hr;ct=mt-1}}for(var Tt=0,nr=R;Tt<X;++Tt){var Wt=V[Tt];nr=="L"&&Wt=="1"?V[Tt]="L":d.test(Wt)&&(nr=Wt)}for(var Pt=0;Pt<X;++Pt)if(a.test(V[Pt])){var Et=void 0;for(Et=Pt+1;Et<X&&a.test(V[Et]);++Et);for(var St=(Pt?V[Pt-1]:R)=="L",ir=(Et<X?V[Et]:R)=="L",to=St==ir?St?"L":"R":R,Ln=Pt;Ln<Et;++Ln)V[Ln]=to;Pt=Et-1}for(var Vt=[],Zr,Ft=0;Ft<X;)if(v.test(V[Ft])){var ef=Ft;for(++Ft;Ft<X&&v.test(V[Ft]);++Ft);Vt.push(new S(0,ef,Ft))}else{var cn=Ft,ai=Vt.length,ui=A=="rtl"?1:0;for(++Ft;Ft<X&&V[Ft]!="L";++Ft);for(var Zt=cn;Zt<Ft;)if(y.test(V[Zt])){cn<Zt&&(Vt.splice(ai,0,new S(1,cn,Zt)),ai+=ui);var ro=Zt;for(++Zt;Zt<Ft&&y.test(V[Zt]);++Zt);Vt.splice(ai,0,new S(2,ro,Zt)),ai+=ui,cn=Zt}else++Zt;cn<Ft&&Vt.splice(ai,0,new S(1,cn,Ft))}return A=="ltr"&&(Vt[0].level==1&&(Zr=C.match(/^\s+/))&&(Vt[0].from=Zr[0].length,Vt.unshift(new S(0,0,Zr[0].length))),Z(Vt).level==1&&(Zr=C.match(/\s+$/))&&(Z(Vt).to-=Zr[0].length,Vt.push(new S(0,X-Zr[0].length,X)))),A=="rtl"?Vt.reverse():Vt}}();function vt(e,n){var l=e.order;return l==null&&(l=e.order=xt(e.text,n)),l}var Xt=[],De=function(e,n,l){if(e.addEventListener)e.addEventListener(n,l,!1);else if(e.attachEvent)e.attachEvent("on"+n,l);else{var s=e._handlers||(e._handlers={});s[n]=(s[n]||Xt).concat(l)}};function Ge(e,n){return e._handlers&&e._handlers[n]||Xt}function Oe(e,n,l){if(e.removeEventListener)e.removeEventListener(n,l,!1);else if(e.detachEvent)e.detachEvent("on"+n,l);else{var s=e._handlers,a=s&&s[n];if(a){var d=se(a,l);d>-1&&(s[n]=a.slice(0,d).concat(a.slice(d+1)))}}}function ge(e,n){var l=Ge(e,n);if(!!l.length)for(var s=Array.prototype.slice.call(arguments,2),a=0;a<l.length;++a)l[a].apply(null,s)}function He(e,n,l){return typeof n=="string"&&(n={type:n,preventDefault:function(){this.defaultPrevented=!0}}),ge(e,l||n.type,e,n),mr(n)||n.codemirrorIgnore}function et(e){var n=e._handlers&&e._handlers.cursorActivity;if(!!n)for(var l=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),s=0;s<n.length;++s)se(l,n[s])==-1&&l.push(n[s])}function rt(e,n){return Ge(e,n).length>0}function fr(e){e.prototype.on=function(n,l){De(this,n,l)},e.prototype.off=function(n,l){Oe(this,n,l)}}function Lt(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Rr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function mr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function qn(e){Lt(e),Rr(e)}function xn(e){return e.target||e.srcElement}function cl(e){var n=e.which;return n==null&&(e.button&1?n=1:e.button&2?n=3:e.button&4&&(n=2)),H&&e.ctrlKey&&n==1&&(n=3),n}var Do=function(){if(h&&g<9)return!1;var e=k("div");return"draggable"in e||"dragDrop"in e}(),_t;function dl(e){if(_t==null){var n=k("span","\u200B");O(e,k("span",[n,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(_t=n.offsetWidth<=1&&n.offsetHeight>2&&!(h&&g<8))}var l=_t?k("span","\u200B"):k("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return l.setAttribute("cm-text",""),l}var Fo;function Ur(e){if(Fo!=null)return Fo;var n=O(e,document.createTextNode("A\u062EA")),l=j(n,0,1).getBoundingClientRect(),s=j(n,1,2).getBoundingClientRect();return _(e),!l||l.left==l.right?!1:Fo=s.right-l.right<3}var zo=`
4
+ `,...Hx(u)),console.warn(...f)}zn()}function zx(){let t=Fs[Fs.length-1];if(!t)return[];const r=[];for(;t;){const i=r[0];i&&i.vnode===t?i.recurseCount++:r.push({vnode:t,recurseCount:0});const o=t.component&&t.component.parent;t=o&&o.vnode}return r}function Hx(t){const r=[];return t.forEach((i,o)=>{r.push(...o===0?[]:[`
5
+ `],...Bx(i))}),r}function Bx({vnode:t,recurseCount:r}){const i=r>0?`... (${r} recursive calls)`:"",o=t.component?t.component.parent==null:!1,u=` at <${Kg(t.component,t.type,o)}`,f=">"+i;return t.props?[u,...Wx(t.props),f]:[u+f]}function Wx(t){const r=[],i=Object.keys(t);return i.slice(0,3).forEach(o=>{r.push(...$g(o,t[o]))}),i.length>3&&r.push(" ..."),r}function $g(t,r,i){return Ze(r)?(r=JSON.stringify(r),i?r:[`${t}=${r}`]):typeof r=="number"||typeof r=="boolean"||r==null?i?r:[`${t}=${r}`]:Mt(r)?(r=$g(t,tt(r.value),!0),i?r:[`${t}=Ref<`,r,">"]):Ye(r)?[`${t}=fn${r.name?`<${r.name}>`:""}`]:(r=tt(r),i?r:[`${t}=`,r])}function rn(t,r,i,o){let u;try{u=o?t(...o):t()}catch(f){wi(f,r,i)}return u}function Or(t,r,i,o){if(Ye(t)){const f=rn(t,r,i,o);return f&&Yl(f)&&f.catch(c=>{wi(c,r,i)}),f}const u=[];for(let f=0;f<t.length;f++)u.push(Or(t[f],r,i,o));return u}function wi(t,r,i,o=!0){const u=r?r.vnode:null;if(r){let f=r.parent;const c=r.proxy,p=i;for(;f;){const g=f.ec;if(g){for(let m=0;m<g.length;m++)if(g[m](t,c,p)===!1)return}f=f.parent}const h=r.appContext.config.errorHandler;if(h){rn(h,null,10,[t,c,p]);return}}jx(t,i,u,o)}function jx(t,r,i,o=!0){console.error(t)}let Oa=!1,tc=!1;const kr=[];let vn=0;const zs=[];let Hs=null,go=0;const Bs=[];let Vn=null,vo=0;const Vg=Promise.resolve();let rc=null,nc=null;function Ws(t){const r=rc||Vg;return t?r.then(this?t.bind(this):t):r}function Kx(t){let r=vn+1,i=kr.length;for(;r<i;){const o=r+i>>>1;js(kr[o])<t?r=o+1:i=o}return r}function ic(t){(!kr.length||!kr.includes(t,Oa&&t.allowRecurse?vn+1:vn))&&t!==nc&&(t.id==null?kr.push(t):kr.splice(Kx(t.id),0,t),Gg())}function Gg(){!Oa&&!tc&&(tc=!0,rc=Vg.then(Xg))}function Ux(t){const r=kr.indexOf(t);r>vn&&kr.splice(r,1)}function Yg(t,r,i,o){De(t)?i.push(...t):(!r||!r.includes(t,t.allowRecurse?o+1:o))&&i.push(t),Gg()}function $x(t){Yg(t,Hs,zs,go)}function oc(t){Yg(t,Vn,Bs,vo)}function sc(t,r=null){if(zs.length){for(nc=r,Hs=[...new Set(zs)],zs.length=0,go=0;go<Hs.length;go++)Hs[go]();Hs=null,go=0,nc=null,sc(t,r)}}function ka(t){if(Bs.length){const r=[...new Set(Bs)];if(Bs.length=0,Vn){Vn.push(...r);return}for(Vn=r,Vn.sort((i,o)=>js(i)-js(o)),vo=0;vo<Vn.length;vo++)Vn[vo]();Vn=null,vo=0}}const js=t=>t.id==null?1/0:t.id;function Xg(t){tc=!1,Oa=!0,sc(t),kr.sort((i,o)=>js(i)-js(o));const r=or;try{for(vn=0;vn<kr.length;vn++){const i=kr[vn];i&&i.active!==!1&&rn(i,null,14)}}finally{vn=0,kr.length=0,ka(),Oa=!1,rc=null,(kr.length||zs.length||Bs.length)&&Xg(t)}}function Jg(t,r){return Ks(t,null,r)}function Zg(t,r){return Ks(t,null,{flush:"post"})}function Vx(t,r){return Ks(t,null,{flush:"sync"})}const Qg={};function gr(t,r,i){return Ks(t,r,i)}function Ks(t,r,{immediate:i,deep:o,flush:u,onTrack:f,onTrigger:c}=st){const p=zt;let h,g=!1,m=!1;if(Mt(t)?(h=()=>t.value,g=!!t._shallow):yi(t)?(h=()=>t,o=!0):De(t)?(m=!0,g=t.some(yi),h=()=>t.map(F=>{if(Mt(F))return F.value;if(yi(F))return Ci(F);if(Ye(F))return rn(F,p,2)})):Ye(t)?r?h=()=>rn(t,p,2):h=()=>{if(!(p&&p.isUnmounted))return b&&b(),Or(t,p,3,[x])}:h=or,r&&o){const F=h;h=()=>Ci(F())}let b,x=F=>{b=L.onStop=()=>{rn(F,p,4)}};if(Ds)return x=or,r?i&&Or(r,p,3,[h(),m?[]:void 0,x]):h(),or;let E=m?[]:Qg;const P=()=>{if(!!L.active)if(r){const F=L.run();(o||g||(m?F.some((M,N)=>oo(M,E[N])):oo(F,E)))&&(b&&b(),Or(r,p,3,[F,E===Qg?void 0:E,x]),E=F)}else L.run()};P.allowRecurse=!!r;let B;u==="sync"?B=P:u==="post"?B=()=>Kt(P,p&&p.suspense):B=()=>{!p||p.isMounted?$x(P):P()};const L=new Cs(h,B);return r?i?P():E=L.run():u==="post"?Kt(L.run.bind(L),p&&p.suspense):L.run(),()=>{L.stop(),p&&p.scope&&af(p.scope.effects,L)}}function Gx(t,r,i){const o=this.proxy,u=Ze(t)?t.includes(".")?qg(o,t):()=>o[t]:t.bind(o,o);let f;Ye(r)?f=r:(f=r.handler,i=r);const c=zt;Un(this);const p=Ks(u,f.bind(o),i);return c?Un(c):$n(),p}function qg(t,r){const i=r.split(".");return()=>{let o=t;for(let u=0;u<i.length&&o;u++)o=o[i[u]];return o}}function Ci(t,r){if(!pt(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),Mt(t))Ci(t.value,r);else if(De(t))for(let i=0;i<t.length;i++)Ci(t[i],r);else if(In(t)||ci(t))t.forEach(i=>{Ci(i,r)});else if(cf(t))for(const i in t)Ci(t[i],r);return t}function Yx(){return null}function Xx(){return null}function Jx(t){}function Zx(t,r){return null}function Qx(){return _g().slots}function qx(){return _g().attrs}function _g(){const t=tn();return t.setupContext||(t.setupContext=jg(t))}function _x(t,r){const i=De(t)?t.reduce((o,u)=>(o[u]={},o),{}):t;for(const o in r){const u=i[o];u?De(u)||Ye(u)?i[o]={type:u,default:r[o]}:u.default=r[o]:u===null&&(i[o]={default:r[o]})}return i}function ew(t,r){const i={};for(const o in t)r.includes(o)||Object.defineProperty(i,o,{enumerable:!0,get:()=>t[o]});return i}function tw(t){const r=tn();let i=t();return $n(),Yl(i)&&(i=i.catch(o=>{throw Un(r),o})),[i,()=>Un(r)]}function Pa(t,r,i){const o=arguments.length;return o===2?pt(r)&&!De(r)?Wn(r)?gt(t,null,[r]):gt(t,r):gt(t,null,r):(o>3?i=Array.prototype.slice.call(arguments,2):o===3&&Wn(i)&&(i=[i]),gt(t,r,i))}const ev=Symbol(""),rw=()=>{{const t=Wr(ev);return t||Ug("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}};function nw(){}function iw(t,r,i,o){const u=i[o];if(u&&tv(u,t))return u;const f=r();return f.memo=t.slice(),i[o]=f}function tv(t,r){const i=t.memo;if(i.length!=r.length)return!1;for(let o=0;o<i.length;o++)if(i[o]!==r[o])return!1;return po>0&&_r&&_r.push(t),!0}const rv="3.2.23",ow={createComponentInstance:zg,setupComponent:Bg,renderComponentRoot:fa,setCurrentRenderingInstance:Os,isVNode:Wn,normalizeVNode:Er},sw=ow,lw=null,aw=null,uw="http://www.w3.org/2000/svg",mo=typeof document!="undefined"?document:null,nv=new Map,fw={insert:(t,r,i)=>{r.insertBefore(t,i||null)},remove:t=>{const r=t.parentNode;r&&r.removeChild(t)},createElement:(t,r,i,o)=>{const u=r?mo.createElementNS(uw,t):mo.createElement(t,i?{is:i}:void 0);return t==="select"&&o&&o.multiple!=null&&u.setAttribute("multiple",o.multiple),u},createText:t=>mo.createTextNode(t),createComment:t=>mo.createComment(t),setText:(t,r)=>{t.nodeValue=r},setElementText:(t,r)=>{t.textContent=r},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>mo.querySelector(t),setScopeId(t,r){t.setAttribute(r,"")},cloneNode(t){const r=t.cloneNode(!0);return"_value"in t&&(r._value=t._value),r},insertStaticContent(t,r,i,o){const u=i?i.previousSibling:r.lastChild;let f=nv.get(t);if(!f){const c=mo.createElement("template");if(c.innerHTML=o?`<svg>${t}</svg>`:t,f=c.content,o){const p=f.firstChild;for(;p.firstChild;)f.appendChild(p.firstChild);f.removeChild(p)}nv.set(t,f)}return r.insertBefore(f.cloneNode(!0),i),[u?u.nextSibling:r.firstChild,i?i.previousSibling:r.lastChild]}};function cw(t,r,i){const o=t._vtc;o&&(r=(r?[r,...o]:[...o]).join(" ")),r==null?t.removeAttribute("class"):i?t.setAttribute("class",r):t.className=r}function dw(t,r,i){const o=t.style,u=Ze(i);if(i&&!u){for(const f in i)lc(o,f,i[f]);if(r&&!Ze(r))for(const f in r)i[f]==null&&lc(o,f,"")}else{const f=o.display;u?r!==i&&(o.cssText=i):r&&t.removeAttribute("style"),"_vod"in t&&(o.display=f)}}const iv=/\s*!important$/;function lc(t,r,i){if(De(i))i.forEach(o=>lc(t,r,o));else if(r.startsWith("--"))t.setProperty(r,i);else{const o=hw(t,r);iv.test(i)?t.setProperty(wr(o),i.replace(iv,""),"important"):t[o]=i}}const ov=["Webkit","Moz","ms"],ac={};function hw(t,r){const i=ac[r];if(i)return i;let o=Gt(r);if(o!=="filter"&&o in t)return ac[r]=o;o=Dn(o);for(let u=0;u<ov.length;u++){const f=ov[u]+o;if(f in t)return ac[r]=f}return r}const sv="http://www.w3.org/1999/xlink";function pw(t,r,i,o,u){if(o&&r.startsWith("xlink:"))i==null?t.removeAttributeNS(sv,r.slice(6,r.length)):t.setAttributeNS(sv,r,i);else{const f=pp(r);i==null||f&&!of(i)?t.removeAttribute(r):t.setAttribute(r,f?"":i)}}function gw(t,r,i,o,u,f,c){if(r==="innerHTML"||r==="textContent"){o&&c(o,u,f),t[r]=i==null?"":i;return}if(r==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=i;const p=i==null?"":i;(t.value!==p||t.tagName==="OPTION")&&(t.value=p),i==null&&t.removeAttribute(r);return}if(i===""||i==null){const p=typeof t[r];if(p==="boolean"){t[r]=of(i);return}else if(i==null&&p==="string"){t[r]="",t.removeAttribute(r);return}else if(p==="number"){try{t[r]=0}catch{}t.removeAttribute(r);return}}try{t[r]=i}catch{}}let Ma=Date.now,lv=!1;if(typeof window!="undefined"){Ma()>document.createEvent("Event").timeStamp&&(Ma=()=>performance.now());const t=navigator.userAgent.match(/firefox\/(\d+)/i);lv=!!(t&&Number(t[1])<=53)}let uc=0;const vw=Promise.resolve(),mw=()=>{uc=0},yw=()=>uc||(vw.then(mw),uc=Ma());function mn(t,r,i,o){t.addEventListener(r,i,o)}function bw(t,r,i,o){t.removeEventListener(r,i,o)}function Sw(t,r,i,o,u=null){const f=t._vei||(t._vei={}),c=f[r];if(o&&c)c.value=o;else{const[p,h]=xw(r);if(o){const g=f[r]=ww(o,u);mn(t,p,g,h)}else c&&(bw(t,p,c,h),f[r]=void 0)}}const av=/(?:Once|Passive|Capture)$/;function xw(t){let r;if(av.test(t)){r={};let i;for(;i=t.match(av);)t=t.slice(0,t.length-i[0].length),r[i[0].toLowerCase()]=!0}return[wr(t.slice(2)),r]}function ww(t,r){const i=o=>{const u=o.timeStamp||Ma();(lv||u>=i.attached-1)&&Or(Cw(o,i.value),r,5,[o])};return i.value=t,i.attached=yw(),i}function Cw(t,r){if(De(r)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},r.map(o=>u=>!u._stopped&&o(u))}else return r}const uv=/^on[a-z]/,Tw=(t,r,i,o,u=!1,f,c,p,h)=>{r==="class"?cw(t,o,u):r==="style"?dw(t,i,o):Nn(r)?Gl(r)||Sw(t,r,i,o,c):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):Ew(t,r,o,u))?gw(t,r,o,f,c,p,h):(r==="true-value"?t._trueValue=o:r==="false-value"&&(t._falseValue=o),pw(t,r,o,u))};function Ew(t,r,i,o){return o?!!(r==="innerHTML"||r==="textContent"||r in t&&uv.test(r)&&Ye(i)):r==="spellcheck"||r==="draggable"||r==="form"||r==="list"&&t.tagName==="INPUT"||r==="type"&&t.tagName==="TEXTAREA"||uv.test(r)&&Ze(i)?!1:r in t}function fv(t,r){const i=Ms(t);class o extends Aa{constructor(f){super(i,f,r)}}return o.def=i,o}const Ow=t=>fv(t,Iv),kw=typeof HTMLElement!="undefined"?HTMLElement:class{};class Aa extends kw{constructor(r,i={},o){super();this._def=r,this._props=i,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Ws(()=>{this._connected||(gc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);new MutationObserver(o=>{for(const u of o)this._setAttr(u.attributeName)}).observe(this,{attributes:!0});const r=o=>{const{props:u,styles:f}=o,c=!De(u),p=u?c?Object.keys(u):u:[];let h;if(c)for(const g in this._props){const m=u[g];(m===Number||m&&m.type===Number)&&(this._props[g]=hn(this._props[g]),(h||(h=Object.create(null)))[g]=!0)}this._numberProps=h;for(const g of Object.keys(this))g[0]!=="_"&&this._setProp(g,this[g],!0,!1);for(const g of p.map(Gt))Object.defineProperty(this,g,{get(){return this._getProp(g)},set(m){this._setProp(g,m)}});this._applyStyles(f),this._update()},i=this._def.__asyncLoader;i?i().then(r):r(this._def)}_setAttr(r){let i=this.getAttribute(r);this._numberProps&&this._numberProps[r]&&(i=hn(i)),this._setProp(Gt(r),i,!1)}_getProp(r){return this._props[r]}_setProp(r,i,o=!0,u=!0){i!==this._props[r]&&(this._props[r]=i,u&&this._instance&&this._update(),o&&(i===!0?this.setAttribute(wr(r),""):typeof i=="string"||typeof i=="number"?this.setAttribute(wr(r),i+""):i||this.removeAttribute(wr(r))))}_update(){gc(this._createVNode(),this.shadowRoot)}_createVNode(){const r=gt(this._def,lt({},this._props));return this._instance||(r.ce=i=>{this._instance=i,i.isCE=!0,i.emit=(u,...f)=>{this.dispatchEvent(new CustomEvent(u,{detail:f}))};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Aa){i.parent=o._instance;break}}),r}_applyStyles(r){r&&r.forEach(i=>{const o=document.createElement("style");o.textContent=i,this.shadowRoot.appendChild(o)})}}function Pw(t="$style"){{const r=tn();if(!r)return st;const i=r.type.__cssModules;if(!i)return st;const o=i[t];return o||st}}function Mw(t){const r=tn();if(!r)return;const i=()=>fc(r.subTree,t(r.proxy));Zg(i),co(()=>{const o=new MutationObserver(i);o.observe(r.subTree.el.parentNode,{childList:!0}),ga(()=>o.disconnect())})}function fc(t,r){if(t.shapeFlag&128){const i=t.suspense;t=i.activeBranch,i.pendingBranch&&!i.isHydrating&&i.effects.push(()=>{fc(i.activeBranch,r)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)cv(t.el,r);else if(t.type===Yt)t.children.forEach(i=>fc(i,r));else if(t.type===xi){let{el:i,anchor:o}=t;for(;i&&(cv(i,r),i!==o);)i=i.nextSibling}}function cv(t,r){if(t.nodeType===1){const i=t.style;for(const o in r)i.setProperty(`--${o}`,r[o])}}const Gn="transition",Us="animation",cc=(t,{slots:r})=>Pa(Lf,pv(t),r);cc.displayName="Transition";const dv={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},Aw=cc.props=lt({},Lf.props,dv),Ti=(t,r=[])=>{De(t)?t.forEach(i=>i(...r)):t&&t(...r)},hv=t=>t?De(t)?t.some(r=>r.length>1):t.length>1:!1;function pv(t){const r={};for(const _ in t)_ in dv||(r[_]=t[_]);if(t.css===!1)return r;const{name:i="v",type:o,duration:u,enterFromClass:f=`${i}-enter-from`,enterActiveClass:c=`${i}-enter-active`,enterToClass:p=`${i}-enter-to`,appearFromClass:h=f,appearActiveClass:g=c,appearToClass:m=p,leaveFromClass:b=`${i}-leave-from`,leaveActiveClass:x=`${i}-leave-active`,leaveToClass:E=`${i}-leave-to`}=t,P=Lw(u),B=P&&P[0],L=P&&P[1],{onBeforeEnter:F,onEnter:M,onEnterCancelled:N,onLeave:H,onLeaveCancelled:Q,onBeforeAppear:J=F,onAppear:K=M,onAppearCancelled:U=N}=r,q=(_,O,k)=>{Ei(_,O?m:p),Ei(_,O?g:c),k&&k()},te=(_,O)=>{Ei(_,E),Ei(_,x),O&&O()},ee=_=>(O,k)=>{const w=_?K:M,j=()=>q(O,_,k);Ti(w,[O,j]),gv(()=>{Ei(O,_?h:f),yn(O,_?m:p),hv(w)||vv(O,o,B,j)})};return lt(r,{onBeforeEnter(_){Ti(F,[_]),yn(_,f),yn(_,c)},onBeforeAppear(_){Ti(J,[_]),yn(_,h),yn(_,g)},onEnter:ee(!1),onAppear:ee(!0),onLeave(_,O){const k=()=>te(_,O);yn(_,b),Sv(),yn(_,x),gv(()=>{Ei(_,b),yn(_,E),hv(H)||vv(_,o,L,k)}),Ti(H,[_,k])},onEnterCancelled(_){q(_,!1),Ti(N,[_])},onAppearCancelled(_){q(_,!0),Ti(U,[_])},onLeaveCancelled(_){te(_),Ti(Q,[_])}})}function Lw(t){if(t==null)return null;if(pt(t))return[dc(t.enter),dc(t.leave)];{const r=dc(t);return[r,r]}}function dc(t){return hn(t)}function yn(t,r){r.split(/\s+/).forEach(i=>i&&t.classList.add(i)),(t._vtc||(t._vtc=new Set)).add(r)}function Ei(t,r){r.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const{_vtc:i}=t;i&&(i.delete(r),i.size||(t._vtc=void 0))}function gv(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Nw=0;function vv(t,r,i,o){const u=t._endId=++Nw,f=()=>{u===t._endId&&o()};if(i)return setTimeout(f,i);const{type:c,timeout:p,propCount:h}=mv(t,r);if(!c)return o();const g=c+"end";let m=0;const b=()=>{t.removeEventListener(g,x),f()},x=E=>{E.target===t&&++m>=h&&b()};setTimeout(()=>{m<h&&b()},p+1),t.addEventListener(g,x)}function mv(t,r){const i=window.getComputedStyle(t),o=P=>(i[P]||"").split(", "),u=o(Gn+"Delay"),f=o(Gn+"Duration"),c=yv(u,f),p=o(Us+"Delay"),h=o(Us+"Duration"),g=yv(p,h);let m=null,b=0,x=0;r===Gn?c>0&&(m=Gn,b=c,x=f.length):r===Us?g>0&&(m=Us,b=g,x=h.length):(b=Math.max(c,g),m=b>0?c>g?Gn:Us:null,x=m?m===Gn?f.length:h.length:0);const E=m===Gn&&/\b(transform|all)(,|$)/.test(i[Gn+"Property"]);return{type:m,timeout:b,propCount:x,hasTransform:E}}function yv(t,r){for(;t.length<r.length;)t=t.concat(t);return Math.max(...r.map((i,o)=>bv(i)+bv(t[o])))}function bv(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Sv(){return document.body.offsetHeight}const xv=new WeakMap,wv=new WeakMap,Iw={name:"TransitionGroup",props:lt({},Aw,{tag:String,moveClass:String}),setup(t,{slots:r}){const i=tn(),o=Af();let u,f;return ha(()=>{if(!u.length)return;const c=t.moveClass||`${t.name||"v"}-move`;if(!Hw(u[0].el,i.vnode.el,c))return;u.forEach(Dw),u.forEach(Fw);const p=u.filter(zw);Sv(),p.forEach(h=>{const g=h.el,m=g.style;yn(g,c),m.transform=m.webkitTransform=m.transitionDuration="";const b=g._moveCb=x=>{x&&x.target!==g||(!x||/transform$/.test(x.propertyName))&&(g.removeEventListener("transitionend",b),g._moveCb=null,Ei(g,c))};g.addEventListener("transitionend",b)})}),()=>{const c=tt(t),p=pv(c);let h=c.tag||Yt;u=f,f=r.default?ca(r.default()):[];for(let g=0;g<f.length;g++){const m=f[g];m.key!=null&&bi(m,fo(m,p,o,i))}if(u)for(let g=0;g<u.length;g++){const m=u[g];bi(m,fo(m,p,o,i)),xv.set(m,m.el.getBoundingClientRect())}return gt(h,null,f)}}},Rw=Iw;function Dw(t){const r=t.el;r._moveCb&&r._moveCb(),r._enterCb&&r._enterCb()}function Fw(t){wv.set(t,t.el.getBoundingClientRect())}function zw(t){const r=xv.get(t),i=wv.get(t),o=r.left-i.left,u=r.top-i.top;if(o||u){const f=t.el.style;return f.transform=f.webkitTransform=`translate(${o}px,${u}px)`,f.transitionDuration="0s",t}}function Hw(t,r,i){const o=t.cloneNode();t._vtc&&t._vtc.forEach(c=>{c.split(/\s+/).forEach(p=>p&&o.classList.remove(p))}),i.split(/\s+/).forEach(c=>c&&o.classList.add(c)),o.style.display="none";const u=r.nodeType===1?r:r.parentNode;u.appendChild(o);const{hasTransform:f}=mv(o);return u.removeChild(o),f}const Yn=t=>{const r=t.props["onUpdate:modelValue"];return De(r)?i=>pi(r,i):r};function Bw(t){t.target.composing=!0}function Cv(t){const r=t.target;r.composing&&(r.composing=!1,Ww(r,"input"))}function Ww(t,r){const i=document.createEvent("HTMLEvents");i.initEvent(r,!0,!0),t.dispatchEvent(i)}const La={created(t,{modifiers:{lazy:r,trim:i,number:o}},u){t._assign=Yn(u);const f=o||u.props&&u.props.type==="number";mn(t,r?"change":"input",c=>{if(c.target.composing)return;let p=t.value;i?p=p.trim():f&&(p=hn(p)),t._assign(p)}),i&&mn(t,"change",()=>{t.value=t.value.trim()}),r||(mn(t,"compositionstart",Bw),mn(t,"compositionend",Cv),mn(t,"change",Cv))},mounted(t,{value:r}){t.value=r==null?"":r},beforeUpdate(t,{value:r,modifiers:{lazy:i,trim:o,number:u}},f){if(t._assign=Yn(f),t.composing||document.activeElement===t&&(i||o&&t.value.trim()===r||(u||t.type==="number")&&hn(t.value)===r))return;const c=r==null?"":r;t.value!==c&&(t.value=c)}},hc={deep:!0,created(t,r,i){t._assign=Yn(i),mn(t,"change",()=>{const o=t._modelValue,u=yo(t),f=t.checked,c=t._assign;if(De(o)){const p=ms(o,u),h=p!==-1;if(f&&!h)c(o.concat(u));else if(!f&&h){const g=[...o];g.splice(p,1),c(g)}}else if(In(o)){const p=new Set(o);f?p.add(u):p.delete(u),c(p)}else c(kv(t,f))})},mounted:Tv,beforeUpdate(t,r,i){t._assign=Yn(i),Tv(t,r,i)}};function Tv(t,{value:r,oldValue:i},o){t._modelValue=r,De(r)?t.checked=ms(r,o.props.value)>-1:In(r)?t.checked=r.has(o.props.value):r!==i&&(t.checked=dn(r,kv(t,!0)))}const pc={created(t,{value:r},i){t.checked=dn(r,i.props.value),t._assign=Yn(i),mn(t,"change",()=>{t._assign(yo(t))})},beforeUpdate(t,{value:r,oldValue:i},o){t._assign=Yn(o),r!==i&&(t.checked=dn(r,o.props.value))}},Ev={deep:!0,created(t,{value:r,modifiers:{number:i}},o){const u=In(r);mn(t,"change",()=>{const f=Array.prototype.filter.call(t.options,c=>c.selected).map(c=>i?hn(yo(c)):yo(c));t._assign(t.multiple?u?new Set(f):f:f[0])}),t._assign=Yn(o)},mounted(t,{value:r}){Ov(t,r)},beforeUpdate(t,r,i){t._assign=Yn(i)},updated(t,{value:r}){Ov(t,r)}};function Ov(t,r){const i=t.multiple;if(!(i&&!De(r)&&!In(r))){for(let o=0,u=t.options.length;o<u;o++){const f=t.options[o],c=yo(f);if(i)De(r)?f.selected=ms(r,c)>-1:f.selected=r.has(c);else if(dn(yo(f),r)){t.selectedIndex!==o&&(t.selectedIndex=o);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function yo(t){return"_value"in t?t._value:t.value}function kv(t,r){const i=r?"_trueValue":"_falseValue";return i in t?t[i]:r}const jw={created(t,r,i){Na(t,r,i,null,"created")},mounted(t,r,i){Na(t,r,i,null,"mounted")},beforeUpdate(t,r,i,o){Na(t,r,i,o,"beforeUpdate")},updated(t,r,i,o){Na(t,r,i,o,"updated")}};function Na(t,r,i,o,u){let f;switch(t.tagName){case"SELECT":f=Ev;break;case"TEXTAREA":f=La;break;default:switch(i.props&&i.props.type){case"checkbox":f=hc;break;case"radio":f=pc;break;default:f=La}}const c=f[u];c&&c(t,r,i,o)}function Kw(){La.getSSRProps=({value:t})=>({value:t}),pc.getSSRProps=({value:t},r)=>{if(r.props&&dn(r.props.value,t))return{checked:!0}},hc.getSSRProps=({value:t},r)=>{if(De(t)){if(r.props&&ms(t,r.props.value)>-1)return{checked:!0}}else if(In(t)){if(r.props&&t.has(r.props.value))return{checked:!0}}else if(t)return{checked:!0}}}const Uw=["ctrl","shift","alt","meta"],$w={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,r)=>Uw.some(i=>t[`${i}Key`]&&!r.includes(i))},Vw=(t,r)=>(i,...o)=>{for(let u=0;u<r.length;u++){const f=$w[r[u]];if(f&&f(i,r))return}return t(i,...o)},Gw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Yw=(t,r)=>i=>{if(!("key"in i))return;const o=wr(i.key);if(r.some(u=>u===o||Gw[u]===o))return t(i)},Pv={beforeMount(t,{value:r},{transition:i}){t._vod=t.style.display==="none"?"":t.style.display,i&&r?i.beforeEnter(t):$s(t,r)},mounted(t,{value:r},{transition:i}){i&&r&&i.enter(t)},updated(t,{value:r,oldValue:i},{transition:o}){!r!=!i&&(o?r?(o.beforeEnter(t),$s(t,!0),o.enter(t)):o.leave(t,()=>{$s(t,!1)}):$s(t,r))},beforeUnmount(t,{value:r}){$s(t,r)}};function $s(t,r){t.style.display=r?t._vod:"none"}function Xw(){Pv.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const Mv=lt({patchProp:Tw},fw);let Vs,Av=!1;function Lv(){return Vs||(Vs=Eg(Mv))}function Nv(){return Vs=Av?Vs:Og(Mv),Av=!0,Vs}const gc=(...t)=>{Lv().render(...t)},Iv=(...t)=>{Nv().hydrate(...t)},Jw=(...t)=>{const r=Lv().createApp(...t),{mount:i}=r;return r.mount=o=>{const u=Rv(o);if(!u)return;const f=r._component;!Ye(f)&&!f.render&&!f.template&&(f.template=u.innerHTML),u.innerHTML="";const c=i(u,!1,u instanceof SVGElement);return u instanceof Element&&(u.removeAttribute("v-cloak"),u.setAttribute("data-v-app","")),c},r},Zw=(...t)=>{const r=Nv().createApp(...t),{mount:i}=r;return r.mount=o=>{const u=Rv(o);if(u)return i(u,!0,u instanceof SVGElement)},r};function Rv(t){return Ze(t)?document.querySelector(t):t}let Dv=!1;const Qw=()=>{Dv||(Dv=!0,Kw(),Xw())};var qw=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Transition:cc,TransitionGroup:Rw,VueElement:Aa,createApp:Jw,createSSRApp:Zw,defineCustomElement:fv,defineSSRCustomElement:Ow,hydrate:Iv,initDirectivesForSSR:Qw,render:gc,useCssModule:Pw,useCssVars:Mw,vModelCheckbox:hc,vModelDynamic:jw,vModelRadio:pc,vModelSelect:Ev,vModelText:La,vShow:Pv,withKeys:Yw,withModifiers:Vw,EffectScope:df,ReactiveEffect:Cs,computed:sr,customRef:ES,effect:Yb,effectScope:$b,getCurrentScope:Op,isProxy:xf,isReactive:yi,isReadonly:sa,isRef:Mt,markRaw:wf,onScopeDispose:kp,proxyRefs:Ef,reactive:lo,readonly:Sf,ref:Ft,shallowReactive:Gp,shallowReadonly:SS,shallowRef:Es,stop:Xb,toRaw:tt,toRef:Xp,toRefs:OS,triggerRef:wS,unref:Ct,camelize:Gt,capitalize:Dn,normalizeClass:io,normalizeProps:vp,normalizeStyle:no,toDisplayString:Sp,toHandlerKey:hi,BaseTransition:Lf,Comment:ar,Fragment:Yt,KeepAlive:YS,Static:xi,Suspense:BS,Teleport:hx,Text:ho,callWithAsyncErrorHandling:Or,callWithErrorHandling:rn,cloneVNode:jn,compatUtils:aw,createBlock:Gf,createCommentVNode:wx,createElementBlock:yx,createElementVNode:Yf,createHydrationRenderer:Og,createPropsRestProxy:ew,createRenderer:Eg,createSlots:Tx,createStaticVNode:xx,createTextVNode:Xf,createVNode:gt,defineAsyncComponent:VS,defineComponent:Ms,defineEmits:Xx,defineExpose:Jx,defineProps:Yx,get devtools(){return ao},getCurrentInstance:tn,getTransitionRawChildren:ca,guardReactiveProps:Rg,h:Pa,handleError:wi,initCustomFormatter:nw,inject:Wr,isMemoSame:tv,isRuntimeOnly:Nx,isVNode:Wn,mergeDefaults:_x,mergeProps:Dg,nextTick:Ws,onActivated:rg,onBeforeMount:og,onBeforeUnmount:pa,onBeforeUpdate:sg,onDeactivated:ng,onErrorCaptured:fg,onMounted:co,onRenderTracked:ug,onRenderTriggered:ag,onServerPrefetch:lg,onUnmounted:ga,onUpdated:ha,openBlock:Sa,popScopeId:LS,provide:Ps,pushScopeId:AS,queuePostFlushCb:oc,registerRuntimeCompiler:Lx,renderList:Cx,renderSlot:Ex,resolveComponent:gx,resolveDirective:mx,resolveDynamicComponent:vx,resolveFilter:lw,resolveTransitionHooks:fo,setBlockTracking:Vf,setDevtoolsHook:Jp,setTransitionHooks:bi,ssrContextKey:ev,ssrUtils:sw,toHandlers:Ox,transformVNodeArgs:bx,useAttrs:qx,useSSRContext:rw,useSlots:Qx,useTransitionState:Af,version:rv,warn:Ug,watch:gr,watchEffect:Jg,watchPostEffect:Zg,watchSyncEffect:Vx,withAsyncContext:tw,withCtx:kf,withDefaults:Zx,withDirectives:ox,withMemo:iw,withScopeId:NS});function vc(){const t=[],r=u=>{const f=t.indexOf(u);f!==-1&&t.splice(f,1)};return{on:u=>(t.push(u),{off:()=>r(u)}),off:r,trigger:u=>{t.forEach(f=>f(u))}}}function mc(t){return Op()?(kp(t),!0):!1}const bo=typeof window!="undefined",_w=t=>typeof t=="string",Ia=()=>{};function Fv(t,r){function i(...o){t(()=>r.apply(this,o),{fn:r,thisArg:this,args:o})}return i}const e1=t=>t();function t1(t,r={}){let i,o;return f=>{const c=Ct(t),p=Ct(r.maxWait);if(i&&clearTimeout(i),c<=0||p!==void 0&&p<=0)return o&&(clearTimeout(o),o=null),f();p&&!o&&(o=setTimeout(()=>{i&&clearTimeout(i),o=null,f()},p)),i=setTimeout(()=>{o&&clearTimeout(o),o=null,f()},c)}}function r1(t,...r){return r.some(i=>i in t)}function n1(t,r=200,i={}){return Fv(t1(r,i),t)}function pE(t,r=200,i={}){if(r<=0)return t;const o=Ft(t.value),u=n1(()=>{o.value=t.value},r,i);return gr(t,()=>u()),o}var zv=Object.getOwnPropertySymbols,i1=Object.prototype.hasOwnProperty,o1=Object.prototype.propertyIsEnumerable,s1=(t,r)=>{var i={};for(var o in t)i1.call(t,o)&&r.indexOf(o)<0&&(i[o]=t[o]);if(t!=null&&zv)for(var o of zv(t))r.indexOf(o)<0&&o1.call(t,o)&&(i[o]=t[o]);return i};function l1(t,r,i={}){const o=i,{eventFilter:u=e1}=o,f=s1(o,["eventFilter"]);return gr(t,Fv(u,r),f)}function Hv(t,r=!0){tn()?co(t):r?t():Ws(t)}function a1(t,r,i={}){const{immediate:o=!0}=i,u=Ft(!1);let f=null;function c(){f&&(clearTimeout(f),f=null)}function p(){u.value=!1,c()}function h(...g){c(),u.value=!0,f=setTimeout(()=>{u.value=!1,f=null,t(...g)},Ct(r))}return o&&(u.value=!0,bo&&h()),mc(p),{isPending:u,start:h,stop:p}}function gE(t=!1){if(Mt(t))return r=>{t.value=typeof r=="boolean"?r:!t.value};{const r=Ft(t);return[r,o=>{r.value=typeof o=="boolean"?o:!r.value}]}}function vE(t,r,i){let o;Mt(i)?o={evaluating:i}:o=i||{};const{lazy:u=!1,evaluating:f=void 0,onError:c=Ia}=o,p=Ft(!u),h=Ft(r);let g=0;return Jg(async m=>{if(!p.value)return;g++;const b=g;let x=!1;try{f&&Promise.resolve().then(()=>{f.value=!0});const E=await t(P=>{m(()=>{f&&(f.value=!1),x||P()})});b===g&&(h.value=E)}catch(E){c(E)}finally{f&&(f.value=!1),x=!0}}),u?sr(()=>(p.value=!0,h.value)):h}const Oi=bo?window:void 0;bo&&window.document;bo&&window.navigator;bo&&window.location;function u1(...t){let r,i,o,u;if(_w(t[0])?([i,o,u]=t,r=Oi):[r,i,o,u]=t,!r)return Ia;let f=Ia;const c=gr(()=>Ct(r),h=>{f(),!!h&&(h.addEventListener(i,o,u),f=()=>{h.removeEventListener(i,o,u),f=Ia})},{immediate:!0,flush:"post"}),p=()=>{c(),f()};return mc(p),p}function f1(t,r={}){const{window:i=Oi}=r;let o;const u=Ft(!1),f=()=>{!i||(o||(o=i.matchMedia(t)),u.value=o.matches)};return Hv(()=>{f(),!!o&&("addEventListener"in o?o.addEventListener("change",f):o.addListener(f),mc(()=>{"removeEventListener"in f?o.removeEventListener("change",f):o.removeListener(f)}))}),u}const c1={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))}};function d1(t,r,i=(u=>(u=Oi)==null?void 0:u.localStorage)(),o={}){var u;const{flush:f="pre",deep:c=!0,listenToStorageChanges:p=!0,writeDefaults:h=!0,shallow:g,window:m=Oi,eventFilter:b,onError:x=M=>{console.error(M)}}=o,E=Ct(r),P=E==null?"any":E instanceof Set?"set":E instanceof Map?"map":typeof E=="boolean"?"boolean":typeof E=="string"?"string":typeof E=="object"||Array.isArray(E)?"object":Number.isNaN(E)?"any":"number",B=(g?Es:Ft)(r),L=(u=o.serializer)!=null?u:c1[P];function F(M){if(!(!i||M&&M.key!==t))try{const N=M?M.newValue:i.getItem(t);N==null?(B.value=E,h&&E!==null&&i.setItem(t,L.write(E))):B.value=L.read(N)}catch(N){x(N)}}return F(),m&&p&&u1(m,"storage",M=>setTimeout(()=>F(M),0)),i&&l1(B,()=>{try{B.value==null?i.removeItem(t):i.setItem(t,L.write(B.value))}catch(M){x(M)}},{flush:f,deep:c,eventFilter:b}),B}function h1(t){return f1("(prefers-color-scheme: dark)",t)}function mE(t={}){var r;const{selector:i="html",attribute:o="class",valueDark:u="dark",valueLight:f="",window:c=Oi,storage:p=(r=Oi)==null?void 0:r.localStorage,storageKey:h="vueuse-color-scheme",listenToStorageChanges:g=!0}=t,m=h1({window:c}),b=h==null?Ft("auto"):d1(h,"auto",p,{window:c,listenToStorageChanges:g}),x=sr({get(){return b.value==="auto"?m.value:b.value==="dark"},set(P){P===m.value?b.value="auto":b.value=P?"dark":"light"}}),E=t.onChanged||(P=>{const B=c==null?void 0:c.document.querySelector(i);o==="class"?(B==null||B.classList.toggle(u,P),f&&(B==null||B.classList.toggle(f,!P))):B==null||B.setAttribute(o,P?u:f)});return gr(x,E,{flush:"post"}),Hv(()=>E(x.value)),x}var p1=Object.defineProperty,g1=Object.defineProperties,v1=Object.getOwnPropertyDescriptors,Bv=Object.getOwnPropertySymbols,m1=Object.prototype.hasOwnProperty,y1=Object.prototype.propertyIsEnumerable,Wv=(t,r,i)=>r in t?p1(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,bn=(t,r)=>{for(var i in r||(r={}))m1.call(r,i)&&Wv(t,i,r[i]);if(Bv)for(var i of Bv(r))y1.call(r,i)&&Wv(t,i,r[i]);return t},jv=(t,r)=>g1(t,v1(r));const b1={json:"application/json",text:"text/plain",formData:"multipart/form-data"};function Kv(t){return r1(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError")}function yc(t){return t instanceof Headers?Object.fromEntries([...t.entries()]):t}function yE(t,...r){var i;const o=typeof AbortController=="function";let u={},f={immediate:!0,refetch:!1,timeout:0};const c={method:"get",type:"text",payload:void 0};r.length>0&&(Kv(r[0])?f=bn(bn({},f),r[0]):u=r[0]),r.length>1&&Kv(r[1])&&(f=bn(bn({},f),r[1]));const{fetch:p=(i=Oi)==null?void 0:i.fetch,initialData:h,timeout:g}=f,m=vc(),b=vc(),x=vc(),E=Ft(!1),P=Ft(!1),B=Ft(!1),L=Ft(null),F=Es(null),M=Ft(null),N=Es(h),H=sr(()=>o&&P.value);let Q,J;const K=()=>{o&&Q&&Q.abort()},U=O=>{P.value=O,E.value=!O};g&&(J=a1(K,g,{immediate:!1}));const q=async(O=!1)=>{var k;U(!0),M.value=null,L.value=null,B.value=!1,Q=void 0,o&&(Q=new AbortController,Q.signal.onabort=()=>B.value=!0,u=jv(bn({},u),{signal:Q.signal}));const w={method:c.method,headers:{}};if(c.payload){const ue=yc(w.headers);c.payloadType&&(ue["Content-Type"]=(k=b1[c.payloadType])!=null?k:c.payloadType),w.body=c.payloadType==="json"?JSON.stringify(Ct(c.payload)):Ct(c.payload)}let j=!1;const W={url:Ct(t),options:u,cancel:()=>{j=!0}};if(f.beforeFetch&&Object.assign(W,await f.beforeFetch(W)),j||!p)return U(!1),Promise.resolve();let Y=null;return J&&J.start(),new Promise((ue,he)=>{var je;p(W.url,jv(bn(bn({},w),W.options),{headers:bn(bn({},yc(w.headers)),yc((je=W.options)==null?void 0:je.headers))})).then(async We=>{if(F.value=We,L.value=We.status,Y=await We[c.type](),f.afterFetch&&({data:Y}=await f.afterFetch({data:Y,response:We})),N.value=Y,!We.ok)throw new Error(We.statusText);m.trigger(We),ue(We)}).catch(async We=>{let Ke=We.message||We.name;f.onFetchError&&({data:Y,error:Ke}=await f.onFetchError({data:Y,error:We})),N.value=Y,M.value=Ke,b.trigger(We),O?he(We):ue(void 0)}).finally(()=>{U(!1),J&&J.stop(),x.trigger(null)})})};gr(()=>[Ct(t),Ct(f.refetch)],()=>Ct(f.refetch)&&q(),{deep:!0});const te={isFinished:E,statusCode:L,response:F,error:M,data:N,isFetching:P,canAbort:H,aborted:B,abort:K,execute:q,onFetchResponse:m.on,onFetchError:b.on,onFetchFinally:x.on,get:ee("get"),put:ee("put"),post:ee("post"),delete:ee("delete"),json:_("json"),text:_("text"),blob:_("blob"),arrayBuffer:_("arrayBuffer"),formData:_("formData")};function ee(O){return(k,w)=>{if(!P.value)return c.method=O,c.payload=k,c.payloadType=w,Mt(c.payload)&&gr(()=>[Ct(c.payload),Ct(f.refetch)],()=>Ct(f.refetch)&&q(),{deep:!0}),!w&&Ct(k)&&Object.getPrototypeOf(Ct(k))===Object.prototype&&(c.payloadType="json"),te}}function _(O){return()=>{if(!P.value)return c.type=O,te}}return f.immediate&&setTimeout(q,0),te}var Uv;(function(t){t.UP="UP",t.RIGHT="RIGHT",t.DOWN="DOWN",t.LEFT="LEFT",t.NONE="NONE"})(Uv||(Uv={}));var $v,Vv;bo&&(window==null?void 0:window.navigator)&&(($v=window==null?void 0:window.navigator)==null?void 0:$v.platform)&&/iP(ad|hone|od)/.test((Vv=window==null?void 0:window.navigator)==null?void 0:Vv.platform);function bE(t,r,i,o={}){var u;const{passive:f=!1,eventName:c,deep:p=!1}=o,h=tn(),g=i||(h==null?void 0:h.emit)||((u=h==null?void 0:h.$emit)==null?void 0:u.bind(h));let m=c;if(r||(r="modelValue"),m=c||m||`update:${r}`,f){const b=Ft(t[r]);return gr(()=>t[r],x=>b.value=x),gr(b,x=>{(x!==t[r]||p)&&g(m,x)},{deep:p}),b}else return sr({get(){return t[r]},set(b){g(m,b)}})}var S1=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function bc(t){if(t.__esModule)return t;var r=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(i){var o=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return t[i]}})}),r}var ki={exports:{}};(function(t,r){(function(i,o){t.exports=o()})(S1,function(){var i=navigator.userAgent,o=navigator.platform,u=/gecko\/\d/i.test(i),f=/MSIE \d/.test(i),c=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(i),p=/Edge\/(\d+)/.exec(i),h=f||c||p,g=h&&(f?document.documentMode||6:+(p||c)[1]),m=!p&&/WebKit\//.test(i),b=m&&/Qt\/\d+\.\d+/.test(i),x=!p&&/Chrome\//.test(i),E=/Opera\//.test(i),P=/Apple Computer/.test(navigator.vendor),B=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(i),L=/PhantomJS/.test(i),F=P&&(/Mobile\/\w+/.test(i)||navigator.maxTouchPoints>2),M=/Android/.test(i),N=F||M||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(i),H=F||/Mac/.test(o),Q=/\bCrOS\b/.test(i),J=/win/i.test(o),K=E&&i.match(/Version\/(\d*\.\d*)/);K&&(K=Number(K[1])),K&&K>=15&&(E=!1,m=!0);var U=H&&(b||E&&(K==null||K<12.11)),q=u||h&&g>=9;function te(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var ee=function(e,n){var l=e.className,s=te(n).exec(l);if(s){var a=l.slice(s.index+s[0].length);e.className=l.slice(0,s.index)+(a?s[1]+a:"")}};function _(e){for(var n=e.childNodes.length;n>0;--n)e.removeChild(e.firstChild);return e}function O(e,n){return _(e).appendChild(n)}function k(e,n,l,s){var a=document.createElement(e);if(l&&(a.className=l),s&&(a.style.cssText=s),typeof n=="string")a.appendChild(document.createTextNode(n));else if(n)for(var d=0;d<n.length;++d)a.appendChild(n[d]);return a}function w(e,n,l,s){var a=k(e,n,l,s);return a.setAttribute("role","presentation"),a}var j;document.createRange?j=function(e,n,l,s){var a=document.createRange();return a.setEnd(s||e,l),a.setStart(e,n),a}:j=function(e,n,l){var s=document.body.createTextRange();try{s.moveToElementText(e.parentNode)}catch{return s}return s.collapse(!0),s.moveEnd("character",l),s.moveStart("character",n),s};function W(e,n){if(n.nodeType==3&&(n=n.parentNode),e.contains)return e.contains(n);do if(n.nodeType==11&&(n=n.host),n==e)return!0;while(n=n.parentNode)}function Y(){var e;try{e=document.activeElement}catch{e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function ue(e,n){var l=e.className;te(n).test(l)||(e.className+=(l?" ":"")+n)}function he(e,n){for(var l=e.split(" "),s=0;s<l.length;s++)l[s]&&!te(l[s]).test(n)&&(n+=" "+l[s]);return n}var je=function(e){e.select()};F?je=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:h&&(je=function(e){try{e.select()}catch{}});function We(e){var n=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,n)}}function Ke(e,n,l){n||(n={});for(var s in e)e.hasOwnProperty(s)&&(l!==!1||!n.hasOwnProperty(s))&&(n[s]=e[s]);return n}function Xe(e,n,l,s,a){n==null&&(n=e.search(/[^\s\u00a0]/),n==-1&&(n=e.length));for(var d=s||0,v=a||0;;){var y=e.indexOf(" ",d);if(y<0||y>=n)return v+(n-d);v+=y-d,v+=l-v%l,d=y+1}}var ie=function(){this.id=null,this.f=null,this.time=0,this.handler=We(this.onTimeout,this)};ie.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},ie.prototype.set=function(e,n){this.f=n;var l=+new Date+e;(!this.id||l<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=l)};function se(e,n){for(var l=0;l<e.length;++l)if(e[l]==n)return l;return-1}var le=50,be={toString:function(){return"CodeMirror.Pass"}},Ie={scroll:!1},ke={origin:"*mouse"},me={origin:"+move"};function Le(e,n,l){for(var s=0,a=0;;){var d=e.indexOf(" ",s);d==-1&&(d=e.length);var v=d-s;if(d==e.length||a+v>=n)return s+Math.min(v,n-a);if(a+=d-s,a+=l-a%l,s=d+1,a>=n)return s}}var z=[""];function $(e){for(;z.length<=e;)z.push(Z(z)+" ");return z[e]}function Z(e){return e[e.length-1]}function oe(e,n){for(var l=[],s=0;s<e.length;s++)l[s]=n(e[s],s);return l}function ae(e,n,l){for(var s=0,a=l(n);s<e.length&&l(e[s])<=a;)s++;e.splice(s,0,n)}function ve(){}function Ce(e,n){var l;return Object.create?l=Object.create(e):(ve.prototype=e,l=new ve),n&&Ke(n,l),l}var xe=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function de(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||xe.test(e))}function I(e,n){return n?n.source.indexOf("\\w")>-1&&de(e)?!0:n.test(e):de(e)}function re(e){for(var n in e)if(e.hasOwnProperty(n)&&e[n])return!1;return!0}var G=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function we(e){return e.charCodeAt(0)>=768&&G.test(e)}function Re(e,n,l){for(;(l<0?n>0:n<e.length)&&we(e.charAt(n));)n+=l;return n}function Ve(e,n,l){for(var s=n>l?-1:1;;){if(n==l)return n;var a=(n+l)/2,d=s<0?Math.ceil(a):Math.floor(a);if(d==n)return e(d)?n:l;e(d)?l=d:n=d+s}}function at(e,n,l,s){if(!e)return s(n,l,"ltr",0);for(var a=!1,d=0;d<e.length;++d){var v=e[d];(v.from<l&&v.to>n||n==l&&v.to==n)&&(s(Math.max(v.from,n),Math.min(v.to,l),v.level==1?"rtl":"ltr",d),a=!0)}a||s(n,l,"ltr")}var Je=null;function Ue(e,n,l){var s;Je=null;for(var a=0;a<e.length;++a){var d=e[a];if(d.from<n&&d.to>n)return a;d.to==n&&(d.from!=d.to&&l=="before"?s=a:Je=a),d.from==n&&(d.from!=d.to&&l!="before"?s=a:Je=a)}return s!=null?s:Je}var xt=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",n="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function l(C){return C<=247?e.charAt(C):1424<=C&&C<=1524?"R":1536<=C&&C<=1785?n.charAt(C-1536):1774<=C&&C<=2220?"r":8192<=C&&C<=8203?"w":C==8204?"b":"L"}var s=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,a=/[stwN]/,d=/[LRr]/,v=/[Lb1n]/,y=/[1n]/;function S(C,A,R){this.level=C,this.from=A,this.to=R}return function(C,A){var R=A=="ltr"?"L":"R";if(C.length==0||A=="ltr"&&!s.test(C))return!1;for(var X=C.length,V=[],ne=0;ne<X;++ne)V.push(l(C.charCodeAt(ne)));for(var ce=0,Se=R;ce<X;++ce){var Te=V[ce];Te=="m"?V[ce]=Se:Se=Te}for(var Pe=0,Ee=R;Pe<X;++Pe){var Ae=V[Pe];Ae=="1"&&Ee=="r"?V[Pe]="n":d.test(Ae)&&(Ee=Ae,Ae=="r"&&(V[Pe]="R"))}for(var Be=1,ze=V[0];Be<X-1;++Be){var Qe=V[Be];Qe=="+"&&ze=="1"&&V[Be+1]=="1"?V[Be]="1":Qe==","&&ze==V[Be+1]&&(ze=="1"||ze=="n")&&(V[Be]=ze),ze=Qe}for(var ct=0;ct<X;++ct){var Rt=V[ct];if(Rt==",")V[ct]="N";else if(Rt=="%"){var mt=void 0;for(mt=ct+1;mt<X&&V[mt]=="%";++mt);for(var hr=ct&&V[ct-1]=="!"||mt<X&&V[mt]=="1"?"1":"N",rr=ct;rr<mt;++rr)V[rr]=hr;ct=mt-1}}for(var Tt=0,nr=R;Tt<X;++Tt){var Wt=V[Tt];nr=="L"&&Wt=="1"?V[Tt]="L":d.test(Wt)&&(nr=Wt)}for(var Pt=0;Pt<X;++Pt)if(a.test(V[Pt])){var Et=void 0;for(Et=Pt+1;Et<X&&a.test(V[Et]);++Et);for(var St=(Pt?V[Pt-1]:R)=="L",ir=(Et<X?V[Et]:R)=="L",to=St==ir?St?"L":"R":R,Ln=Pt;Ln<Et;++Ln)V[Ln]=to;Pt=Et-1}for(var Vt=[],Zr,Dt=0;Dt<X;)if(v.test(V[Dt])){var tf=Dt;for(++Dt;Dt<X&&v.test(V[Dt]);++Dt);Vt.push(new S(0,tf,Dt))}else{var cn=Dt,ai=Vt.length,ui=A=="rtl"?1:0;for(++Dt;Dt<X&&V[Dt]!="L";++Dt);for(var Zt=cn;Zt<Dt;)if(y.test(V[Zt])){cn<Zt&&(Vt.splice(ai,0,new S(1,cn,Zt)),ai+=ui);var ro=Zt;for(++Zt;Zt<Dt&&y.test(V[Zt]);++Zt);Vt.splice(ai,0,new S(2,ro,Zt)),ai+=ui,cn=Zt}else++Zt;cn<Dt&&Vt.splice(ai,0,new S(1,cn,Dt))}return A=="ltr"&&(Vt[0].level==1&&(Zr=C.match(/^\s+/))&&(Vt[0].from=Zr[0].length,Vt.unshift(new S(0,0,Zr[0].length))),Z(Vt).level==1&&(Zr=C.match(/\s+$/))&&(Z(Vt).to-=Zr[0].length,Vt.push(new S(0,X-Zr[0].length,X)))),A=="rtl"?Vt.reverse():Vt}}();function vt(e,n){var l=e.order;return l==null&&(l=e.order=xt(e.text,n)),l}var Xt=[],Fe=function(e,n,l){if(e.addEventListener)e.addEventListener(n,l,!1);else if(e.attachEvent)e.attachEvent("on"+n,l);else{var s=e._handlers||(e._handlers={});s[n]=(s[n]||Xt).concat(l)}};function Ge(e,n){return e._handlers&&e._handlers[n]||Xt}function Oe(e,n,l){if(e.removeEventListener)e.removeEventListener(n,l,!1);else if(e.detachEvent)e.detachEvent("on"+n,l);else{var s=e._handlers,a=s&&s[n];if(a){var d=se(a,l);d>-1&&(s[n]=a.slice(0,d).concat(a.slice(d+1)))}}}function ge(e,n){var l=Ge(e,n);if(!!l.length)for(var s=Array.prototype.slice.call(arguments,2),a=0;a<l.length;++a)l[a].apply(null,s)}function He(e,n,l){return typeof n=="string"&&(n={type:n,preventDefault:function(){this.defaultPrevented=!0}}),ge(e,l||n.type,e,n),mr(n)||n.codemirrorIgnore}function et(e){var n=e._handlers&&e._handlers.cursorActivity;if(!!n)for(var l=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),s=0;s<n.length;++s)se(l,n[s])==-1&&l.push(n[s])}function rt(e,n){return Ge(e,n).length>0}function fr(e){e.prototype.on=function(n,l){Fe(this,n,l)},e.prototype.off=function(n,l){Oe(this,n,l)}}function At(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Rr(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function mr(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function qn(e){At(e),Rr(e)}function xn(e){return e.target||e.srcElement}function dl(e){var n=e.which;return n==null&&(e.button&1?n=1:e.button&2?n=3:e.button&4&&(n=2)),H&&e.ctrlKey&&n==1&&(n=3),n}var Fo=function(){if(h&&g<9)return!1;var e=k("div");return"draggable"in e||"dragDrop"in e}(),_t;function hl(e){if(_t==null){var n=k("span","\u200B");O(e,k("span",[n,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(_t=n.offsetWidth<=1&&n.offsetHeight>2&&!(h&&g<8))}var l=_t?k("span","\u200B"):k("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return l.setAttribute("cm-text",""),l}var zo;function Ur(e){if(zo!=null)return zo;var n=O(e,document.createTextNode("A\u062EA")),l=j(n,0,1).getBoundingClientRect(),s=j(n,1,2).getBoundingClientRect();return _(e),!l||l.left==l.right?!1:zo=s.right-l.right<3}var Ho=`
6
6
 
7
7
  b`.split(/\n/).length!=3?function(e){for(var n=0,l=[],s=e.length;n<=s;){var a=e.indexOf(`
8
- `,n);a==-1&&(a=e.length);var d=e.slice(n,e.charAt(a-1)=="\r"?a-1:a),v=d.indexOf("\r");v!=-1?(l.push(d.slice(0,v)),n+=v+1):(l.push(d),n=a+1)}return l}:function(e){return e.split(/\r\n?|\n/)},hl=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var n;try{n=e.ownerDocument.selection.createRange()}catch{}return!n||n.parentElement()!=e?!1:n.compareEndPoints("StartToEnd",n)!=0},pl=function(){var e=k("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Ho=null;function wn(e){if(Ho!=null)return Ho;var n=O(e,k("span","x")),l=n.getBoundingClientRect(),s=j(n,0,1).getBoundingClientRect();return Ho=Math.abs(l.left-s.left)>1}var Ar={},yr={};function gl(e,n){arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)),Ar[e]=n}function on(e,n){yr[e]=n}function Di(e){if(typeof e=="string"&&yr.hasOwnProperty(e))e=yr[e];else if(e&&typeof e.name=="string"&&yr.hasOwnProperty(e.name)){var n=yr[e.name];typeof n=="string"&&(n={name:n}),e=Ce(n,e),e.name=n.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Di("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Di("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Fi(e,n){n=Di(n);var l=Ar[n.name];if(!l)return Fi(e,"text/plain");var s=l(e,n);if(Dr.hasOwnProperty(n.name)){var a=Dr[n.name];for(var d in a)!a.hasOwnProperty(d)||(s.hasOwnProperty(d)&&(s["_"+d]=s[d]),s[d]=a[d])}if(s.name=n.name,n.helperType&&(s.helperType=n.helperType),n.modeProps)for(var v in n.modeProps)s[v]=n.modeProps[v];return s}var Dr={};function Fr(e,n){var l=Dr.hasOwnProperty(e)?Dr[e]:Dr[e]={};Ke(n,l)}function br(e,n){if(n===!0)return n;if(e.copyState)return e.copyState(n);var l={};for(var s in n){var a=n[s];a instanceof Array&&(a=a.concat([])),l[s]=a}return l}function Bo(e,n){for(var l;e.innerMode&&(l=e.innerMode(n),!(!l||l.mode==e));)n=l.state,e=l.mode;return l||{mode:e,state:n}}function Wo(e,n,l){return e.startState?e.startState(n,l):!0}var bt=function(e,n,l){this.pos=this.start=0,this.string=e,this.tabSize=n||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=l};bt.prototype.eol=function(){return this.pos>=this.string.length},bt.prototype.sol=function(){return this.pos==this.lineStart},bt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},bt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},bt.prototype.eat=function(e){var n=this.string.charAt(this.pos),l;if(typeof e=="string"?l=n==e:l=n&&(e.test?e.test(n):e(n)),l)return++this.pos,n},bt.prototype.eatWhile=function(e){for(var n=this.pos;this.eat(e););return this.pos>n},bt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},bt.prototype.skipToEnd=function(){this.pos=this.string.length},bt.prototype.skipTo=function(e){var n=this.string.indexOf(e,this.pos);if(n>-1)return this.pos=n,!0},bt.prototype.backUp=function(e){this.pos-=e},bt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Xe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Xe(this.string,this.lineStart,this.tabSize):0)},bt.prototype.indentation=function(){return Xe(this.string,null,this.tabSize)-(this.lineStart?Xe(this.string,this.lineStart,this.tabSize):0)},bt.prototype.match=function(e,n,l){if(typeof e=="string"){var s=function(v){return l?v.toLowerCase():v},a=this.string.substr(this.pos,e.length);if(s(a)==s(e))return n!==!1&&(this.pos+=e.length),!0}else{var d=this.string.slice(this.pos).match(e);return d&&d.index>0?null:(d&&n!==!1&&(this.pos+=d[0].length),d)}},bt.prototype.current=function(){return this.string.slice(this.start,this.pos)},bt.prototype.hideFirstChars=function(e,n){this.lineStart+=e;try{return n()}finally{this.lineStart-=e}},bt.prototype.lookAhead=function(e){var n=this.lineOracle;return n&&n.lookAhead(e)},bt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Ne(e,n){if(n-=e.first,n<0||n>=e.size)throw new Error("There is no line "+(n+e.first)+" in the document.");for(var l=e;!l.lines;)for(var s=0;;++s){var a=l.children[s],d=a.chunkSize();if(n<d){l=a;break}n-=d}return l.lines[n]}function $r(e,n,l){var s=[],a=n.line;return e.iter(n.line,l.line+1,function(d){var v=d.text;a==l.line&&(v=v.slice(0,l.ch)),a==n.line&&(v=v.slice(n.ch)),s.push(v),++a}),s}function jo(e,n,l){var s=[];return e.iter(n,l,function(a){s.push(a.text)}),s}function cr(e,n){var l=n-e.height;if(l)for(var s=e;s;s=s.parent)s.height+=l}function it(e){if(e.parent==null)return null;for(var n=e.parent,l=se(n.lines,e),s=n.parent;s;n=s,s=s.parent)for(var a=0;s.children[a]!=n;++a)l+=s.children[a].chunkSize();return l+n.first}function Vr(e,n){var l=e.first;e:do{for(var s=0;s<e.children.length;++s){var a=e.children[s],d=a.height;if(n<d){e=a;continue e}n-=d,l+=a.chunkSize()}return l}while(!e.lines);for(var v=0;v<e.lines.length;++v){var y=e.lines[v],S=y.height;if(n<S)break;n-=S}return l+v}function _n(e,n){return n>=e.first&&n<e.first+e.size}function Ko(e,n){return String(e.lineNumberFormatter(n+e.firstLineNumber))}function pe(e,n,l){if(l===void 0&&(l=null),!(this instanceof pe))return new pe(e,n,l);this.line=e,this.ch=n,this.sticky=l}function T(e,n){return e.line-n.line||e.ch-n.ch}function D(e,n){return e.sticky==n.sticky&&T(e,n)==0}function fe(e){return pe(e.line,e.ch)}function ye(e,n){return T(e,n)<0?n:e}function $e(e,n){return T(e,n)<0?e:n}function _e(e,n){return Math.max(e.first,Math.min(n,e.first+e.size-1))}function Me(e,n){if(n.line<e.first)return pe(e.first,0);var l=e.first+e.size-1;return n.line>l?pe(l,Ne(e,l).text.length):Ut(n,Ne(e,n.line).text.length)}function Ut(e,n){var l=e.ch;return l==null||l>n?pe(e.line,n):l<0?pe(e.line,0):e}function Sr(e,n){for(var l=[],s=0;s<n.length;s++)l[s]=Me(e,n[s]);return l}var zi=function(e,n){this.state=e,this.lookAhead=n},Gr=function(e,n,l,s){this.state=n,this.doc=e,this.line=l,this.maxLookAhead=s||0,this.baseTokens=null,this.baseTokenPos=1};Gr.prototype.lookAhead=function(e){var n=this.doc.getLine(this.line+e);return n!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),n},Gr.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gr.fromSaved=function(e,n,l){return n instanceof zi?new Gr(e,br(e.mode,n.state),l,n.lookAhead):new Gr(e,br(e.mode,n),l)},Gr.prototype.save=function(e){var n=e!==!1?br(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new zi(n,this.maxLookAhead):n};function dd(e,n,l,s){var a=[e.state.modeGen],d={};yd(e,n.text,e.doc.mode,l,function(C,A){return a.push(C,A)},d,s);for(var v=l.state,y=function(C){l.baseTokens=a;var A=e.state.overlays[C],R=1,X=0;l.state=!0,yd(e,n.text,A.mode,l,function(V,ne){for(var ce=R;X<V;){var Se=a[R];Se>V&&a.splice(R,1,V,a[R+1],Se),R+=2,X=Math.min(V,Se)}if(!!ne)if(A.opaque)a.splice(ce,R-ce,V,"overlay "+ne),R=ce+2;else for(;ce<R;ce+=2){var Te=a[ce+1];a[ce+1]=(Te?Te+" ":"")+"overlay "+ne}},d),l.state=v,l.baseTokens=null,l.baseTokenPos=1},S=0;S<e.state.overlays.length;++S)y(S);return{styles:a,classes:d.bgClass||d.textClass?d:null}}function hd(e,n,l){if(!n.styles||n.styles[0]!=e.state.modeGen){var s=Uo(e,it(n)),a=n.text.length>e.options.maxHighlightLength&&br(e.doc.mode,s.state),d=dd(e,n,s);a&&(s.state=a),n.stateAfter=s.save(!a),n.styles=d.styles,d.classes?n.styleClasses=d.classes:n.styleClasses&&(n.styleClasses=null),l===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return n.styles}function Uo(e,n,l){var s=e.doc,a=e.display;if(!s.mode.startState)return new Gr(s,!0,n);var d=by(e,n,l),v=d>s.first&&Ne(s,d-1).stateAfter,y=v?Gr.fromSaved(s,v,d):new Gr(s,Wo(s.mode),d);return s.iter(d,n,function(S){fu(e,S.text,y);var C=y.line;S.stateAfter=C==n-1||C%5==0||C>=a.viewFrom&&C<a.viewTo?y.save():null,y.nextLine()}),l&&(s.modeFrontier=y.line),y}function fu(e,n,l,s){var a=e.doc.mode,d=new bt(n,e.options.tabSize,l);for(d.start=d.pos=s||0,n==""&&pd(a,l.state);!d.eol();)cu(a,d,l.state),d.start=d.pos}function pd(e,n){if(e.blankLine)return e.blankLine(n);if(!!e.innerMode){var l=Bo(e,n);if(l.mode.blankLine)return l.mode.blankLine(l.state)}}function cu(e,n,l,s){for(var a=0;a<10;a++){s&&(s[0]=Bo(e,l).mode);var d=e.token(n,l);if(n.pos>n.start)return d}throw new Error("Mode "+e.name+" failed to advance stream.")}var gd=function(e,n,l){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=n||null,this.state=l};function vd(e,n,l,s){var a=e.doc,d=a.mode,v;n=Me(a,n);var y=Ne(a,n.line),S=Uo(e,n.line,l),C=new bt(y.text,e.options.tabSize,S),A;for(s&&(A=[]);(s||C.pos<n.ch)&&!C.eol();)C.start=C.pos,v=cu(d,C,S.state),s&&A.push(new gd(C,v,br(a.mode,S.state)));return s?A:new gd(C,v,S.state)}function md(e,n){if(e)for(;;){var l=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!l)break;e=e.slice(0,l.index)+e.slice(l.index+l[0].length);var s=l[1]?"bgClass":"textClass";n[s]==null?n[s]=l[2]:new RegExp("(?:^|\\s)"+l[2]+"(?:$|\\s)").test(n[s])||(n[s]+=" "+l[2])}return e}function yd(e,n,l,s,a,d,v){var y=l.flattenSpans;y==null&&(y=e.options.flattenSpans);var S=0,C=null,A=new bt(n,e.options.tabSize,s),R,X=e.options.addModeClass&&[null];for(n==""&&md(pd(l,s.state),d);!A.eol();){if(A.pos>e.options.maxHighlightLength?(y=!1,v&&fu(e,n,s,A.pos),A.pos=n.length,R=null):R=md(cu(l,A,s.state,X),d),X){var V=X[0].name;V&&(R="m-"+(R?V+" "+R:V))}if(!y||C!=R){for(;S<A.start;)S=Math.min(A.start,S+5e3),a(S,C);C=R}A.start=A.pos}for(;S<A.pos;){var ne=Math.min(A.pos,S+5e3);a(ne,C),S=ne}}function by(e,n,l){for(var s,a,d=e.doc,v=l?-1:n-(e.doc.mode.innerMode?1e3:100),y=n;y>v;--y){if(y<=d.first)return d.first;var S=Ne(d,y-1),C=S.stateAfter;if(C&&(!l||y+(C instanceof zi?C.lookAhead:0)<=d.modeFrontier))return y;var A=Xe(S.text,null,e.options.tabSize);(a==null||s>A)&&(a=y-1,s=A)}return a}function Sy(e,n){if(e.modeFrontier=Math.min(e.modeFrontier,n),!(e.highlightFrontier<n-10)){for(var l=e.first,s=n-1;s>l;s--){var a=Ne(e,s).stateAfter;if(a&&(!(a instanceof zi)||s+a.lookAhead<n)){l=s+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,l)}}var bd=!1,sn=!1;function xy(){bd=!0}function wy(){sn=!0}function vl(e,n,l){this.marker=e,this.from=n,this.to=l}function $o(e,n){if(e)for(var l=0;l<e.length;++l){var s=e[l];if(s.marker==n)return s}}function Cy(e,n){for(var l,s=0;s<e.length;++s)e[s]!=n&&(l||(l=[])).push(e[s]);return l}function Ty(e,n,l){var s=l&&window.WeakSet&&(l.markedSpans||(l.markedSpans=new WeakSet));s&&s.has(e.markedSpans)?e.markedSpans.push(n):(e.markedSpans=e.markedSpans?e.markedSpans.concat([n]):[n],s&&s.add(e.markedSpans)),n.marker.attachLine(e)}function Ey(e,n,l){var s;if(e)for(var a=0;a<e.length;++a){var d=e[a],v=d.marker,y=d.from==null||(v.inclusiveLeft?d.from<=n:d.from<n);if(y||d.from==n&&v.type=="bookmark"&&(!l||!d.marker.insertLeft)){var S=d.to==null||(v.inclusiveRight?d.to>=n:d.to>n);(s||(s=[])).push(new vl(v,d.from,S?null:d.to))}}return s}function Oy(e,n,l){var s;if(e)for(var a=0;a<e.length;++a){var d=e[a],v=d.marker,y=d.to==null||(v.inclusiveRight?d.to>=n:d.to>n);if(y||d.from==n&&v.type=="bookmark"&&(!l||d.marker.insertLeft)){var S=d.from==null||(v.inclusiveLeft?d.from<=n:d.from<n);(s||(s=[])).push(new vl(v,S?null:d.from-n,d.to==null?null:d.to-n))}}return s}function du(e,n){if(n.full)return null;var l=_n(e,n.from.line)&&Ne(e,n.from.line).markedSpans,s=_n(e,n.to.line)&&Ne(e,n.to.line).markedSpans;if(!l&&!s)return null;var a=n.from.ch,d=n.to.ch,v=T(n.from,n.to)==0,y=Ey(l,a,v),S=Oy(s,d,v),C=n.text.length==1,A=Z(n.text).length+(C?a:0);if(y)for(var R=0;R<y.length;++R){var X=y[R];if(X.to==null){var V=$o(S,X.marker);V?C&&(X.to=V.to==null?null:V.to+A):X.to=a}}if(S)for(var ne=0;ne<S.length;++ne){var ce=S[ne];if(ce.to!=null&&(ce.to+=A),ce.from==null){var Se=$o(y,ce.marker);Se||(ce.from=A,C&&(y||(y=[])).push(ce))}else ce.from+=A,C&&(y||(y=[])).push(ce)}y&&(y=Sd(y)),S&&S!=y&&(S=Sd(S));var Te=[y];if(!C){var Pe=n.text.length-2,Ee;if(Pe>0&&y)for(var Ae=0;Ae<y.length;++Ae)y[Ae].to==null&&(Ee||(Ee=[])).push(new vl(y[Ae].marker,null,null));for(var Be=0;Be<Pe;++Be)Te.push(Ee);Te.push(S)}return Te}function Sd(e){for(var n=0;n<e.length;++n){var l=e[n];l.from!=null&&l.from==l.to&&l.marker.clearWhenEmpty!==!1&&e.splice(n--,1)}return e.length?e:null}function ky(e,n,l){var s=null;if(e.iter(n.line,l.line+1,function(V){if(V.markedSpans)for(var ne=0;ne<V.markedSpans.length;++ne){var ce=V.markedSpans[ne].marker;ce.readOnly&&(!s||se(s,ce)==-1)&&(s||(s=[])).push(ce)}}),!s)return null;for(var a=[{from:n,to:l}],d=0;d<s.length;++d)for(var v=s[d],y=v.find(0),S=0;S<a.length;++S){var C=a[S];if(!(T(C.to,y.from)<0||T(C.from,y.to)>0)){var A=[S,1],R=T(C.from,y.from),X=T(C.to,y.to);(R<0||!v.inclusiveLeft&&!R)&&A.push({from:C.from,to:y.from}),(X>0||!v.inclusiveRight&&!X)&&A.push({from:y.to,to:C.to}),a.splice.apply(a,A),S+=A.length-3}}return a}function xd(e){var n=e.markedSpans;if(!!n){for(var l=0;l<n.length;++l)n[l].marker.detachLine(e);e.markedSpans=null}}function wd(e,n){if(!!n){for(var l=0;l<n.length;++l)n[l].marker.attachLine(e);e.markedSpans=n}}function ml(e){return e.inclusiveLeft?-1:0}function yl(e){return e.inclusiveRight?1:0}function hu(e,n){var l=e.lines.length-n.lines.length;if(l!=0)return l;var s=e.find(),a=n.find(),d=T(s.from,a.from)||ml(e)-ml(n);if(d)return-d;var v=T(s.to,a.to)||yl(e)-yl(n);return v||n.id-e.id}function Cd(e,n){var l=sn&&e.markedSpans,s;if(l)for(var a=void 0,d=0;d<l.length;++d)a=l[d],a.marker.collapsed&&(n?a.from:a.to)==null&&(!s||hu(s,a.marker)<0)&&(s=a.marker);return s}function Td(e){return Cd(e,!0)}function bl(e){return Cd(e,!1)}function Py(e,n){var l=sn&&e.markedSpans,s;if(l)for(var a=0;a<l.length;++a){var d=l[a];d.marker.collapsed&&(d.from==null||d.from<n)&&(d.to==null||d.to>n)&&(!s||hu(s,d.marker)<0)&&(s=d.marker)}return s}function Ed(e,n,l,s,a){var d=Ne(e,n),v=sn&&d.markedSpans;if(v)for(var y=0;y<v.length;++y){var S=v[y];if(!!S.marker.collapsed){var C=S.marker.find(0),A=T(C.from,l)||ml(S.marker)-ml(a),R=T(C.to,s)||yl(S.marker)-yl(a);if(!(A>=0&&R<=0||A<=0&&R>=0)&&(A<=0&&(S.marker.inclusiveRight&&a.inclusiveLeft?T(C.to,l)>=0:T(C.to,l)>0)||A>=0&&(S.marker.inclusiveRight&&a.inclusiveLeft?T(C.from,s)<=0:T(C.from,s)<0)))return!0}}}function Yr(e){for(var n;n=Td(e);)e=n.find(-1,!0).line;return e}function My(e){for(var n;n=bl(e);)e=n.find(1,!0).line;return e}function Ay(e){for(var n,l;n=bl(e);)e=n.find(1,!0).line,(l||(l=[])).push(e);return l}function pu(e,n){var l=Ne(e,n),s=Yr(l);return l==s?n:it(s)}function Od(e,n){if(n>e.lastLine())return n;var l=Ne(e,n),s;if(!Cn(e,l))return n;for(;s=bl(l);)l=s.find(1,!0).line;return it(l)+1}function Cn(e,n){var l=sn&&n.markedSpans;if(l){for(var s=void 0,a=0;a<l.length;++a)if(s=l[a],!!s.marker.collapsed){if(s.from==null)return!0;if(!s.marker.widgetNode&&s.from==0&&s.marker.inclusiveLeft&&gu(e,n,s))return!0}}}function gu(e,n,l){if(l.to==null){var s=l.marker.find(1,!0);return gu(e,s.line,$o(s.line.markedSpans,l.marker))}if(l.marker.inclusiveRight&&l.to==n.text.length)return!0;for(var a=void 0,d=0;d<n.markedSpans.length;++d)if(a=n.markedSpans[d],a.marker.collapsed&&!a.marker.widgetNode&&a.from==l.to&&(a.to==null||a.to!=l.from)&&(a.marker.inclusiveLeft||l.marker.inclusiveRight)&&gu(e,n,a))return!0}function ln(e){e=Yr(e);for(var n=0,l=e.parent,s=0;s<l.lines.length;++s){var a=l.lines[s];if(a==e)break;n+=a.height}for(var d=l.parent;d;l=d,d=l.parent)for(var v=0;v<d.children.length;++v){var y=d.children[v];if(y==l)break;n+=y.height}return n}function Sl(e){if(e.height==0)return 0;for(var n=e.text.length,l,s=e;l=Td(s);){var a=l.find(0,!0);s=a.from.line,n+=a.from.ch-a.to.ch}for(s=e;l=bl(s);){var d=l.find(0,!0);n-=s.text.length-d.from.ch,s=d.to.line,n+=s.text.length-d.to.ch}return n}function vu(e){var n=e.display,l=e.doc;n.maxLine=Ne(l,l.first),n.maxLineLength=Sl(n.maxLine),n.maxLineChanged=!0,l.iter(function(s){var a=Sl(s);a>n.maxLineLength&&(n.maxLineLength=a,n.maxLine=s)})}var Hi=function(e,n,l){this.text=e,wd(this,n),this.height=l?l(this):1};Hi.prototype.lineNo=function(){return it(this)},fr(Hi);function Ly(e,n,l,s){e.text=n,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),xd(e),wd(e,l);var a=s?s(e):1;a!=e.height&&cr(e,a)}function Ny(e){e.parent=null,xd(e)}var Iy={},Ry={};function kd(e,n){if(!e||/^\s*$/.test(e))return null;var l=n.addModeClass?Ry:Iy;return l[e]||(l[e]=e.replace(/\S+/g,"cm-$&"))}function Pd(e,n){var l=w("span",null,null,m?"padding-right: .1px":null),s={pre:w("pre",[l],"CodeMirror-line"),content:l,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};n.measure={};for(var a=0;a<=(n.rest?n.rest.length:0);a++){var d=a?n.rest[a-1]:n.line,v=void 0;s.pos=0,s.addToken=Fy,Ur(e.display.measure)&&(v=vt(d,e.doc.direction))&&(s.addToken=Hy(s.addToken,v)),s.map=[];var y=n!=e.display.externalMeasured&&it(d);By(d,s,hd(e,d,y)),d.styleClasses&&(d.styleClasses.bgClass&&(s.bgClass=he(d.styleClasses.bgClass,s.bgClass||"")),d.styleClasses.textClass&&(s.textClass=he(d.styleClasses.textClass,s.textClass||""))),s.map.length==0&&s.map.push(0,0,s.content.appendChild(dl(e.display.measure))),a==0?(n.measure.map=s.map,n.measure.cache={}):((n.measure.maps||(n.measure.maps=[])).push(s.map),(n.measure.caches||(n.measure.caches=[])).push({}))}if(m){var S=s.content.lastChild;(/\bcm-tab\b/.test(S.className)||S.querySelector&&S.querySelector(".cm-tab"))&&(s.content.className="cm-tab-wrap-hack")}return ge(e,"renderLine",e,n.line,s.pre),s.pre.className&&(s.textClass=he(s.pre.className,s.textClass||"")),s}function Dy(e){var n=k("span","\u2022","cm-invalidchar");return n.title="\\u"+e.charCodeAt(0).toString(16),n.setAttribute("aria-label",n.title),n}function Fy(e,n,l,s,a,d,v){if(!!n){var y=e.splitSpaces?zy(n,e.trailingSpace):n,S=e.cm.state.specialChars,C=!1,A;if(!S.test(n))e.col+=n.length,A=document.createTextNode(y),e.map.push(e.pos,e.pos+n.length,A),h&&g<9&&(C=!0),e.pos+=n.length;else{A=document.createDocumentFragment();for(var R=0;;){S.lastIndex=R;var X=S.exec(n),V=X?X.index-R:n.length-R;if(V){var ne=document.createTextNode(y.slice(R,R+V));h&&g<9?A.appendChild(k("span",[ne])):A.appendChild(ne),e.map.push(e.pos,e.pos+V,ne),e.col+=V,e.pos+=V}if(!X)break;R+=V+1;var ce=void 0;if(X[0]==" "){var Se=e.cm.options.tabSize,Te=Se-e.col%Se;ce=A.appendChild(k("span",$(Te),"cm-tab")),ce.setAttribute("role","presentation"),ce.setAttribute("cm-text"," "),e.col+=Te}else X[0]=="\r"||X[0]==`
9
- `?(ce=A.appendChild(k("span",X[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ce.setAttribute("cm-text",X[0]),e.col+=1):(ce=e.cm.options.specialCharPlaceholder(X[0]),ce.setAttribute("cm-text",X[0]),h&&g<9?A.appendChild(k("span",[ce])):A.appendChild(ce),e.col+=1);e.map.push(e.pos,e.pos+1,ce),e.pos++}}if(e.trailingSpace=y.charCodeAt(n.length-1)==32,l||s||a||C||d||v){var Pe=l||"";s&&(Pe+=s),a&&(Pe+=a);var Ee=k("span",[A],Pe,d);if(v)for(var Ae in v)v.hasOwnProperty(Ae)&&Ae!="style"&&Ae!="class"&&Ee.setAttribute(Ae,v[Ae]);return e.content.appendChild(Ee)}e.content.appendChild(A)}}function zy(e,n){if(e.length>1&&!/ /.test(e))return e;for(var l=n,s="",a=0;a<e.length;a++){var d=e.charAt(a);d==" "&&l&&(a==e.length-1||e.charCodeAt(a+1)==32)&&(d="\xA0"),s+=d,l=d==" "}return s}function Hy(e,n){return function(l,s,a,d,v,y,S){a=a?a+" cm-force-border":"cm-force-border";for(var C=l.pos,A=C+s.length;;){for(var R=void 0,X=0;X<n.length&&(R=n[X],!(R.to>C&&R.from<=C));X++);if(R.to>=A)return e(l,s,a,d,v,y,S);e(l,s.slice(0,R.to-C),a,d,null,y,S),d=null,s=s.slice(R.to-C),C=R.to}}}function Md(e,n,l,s){var a=!s&&l.widgetNode;a&&e.map.push(e.pos,e.pos+n,a),!s&&e.cm.display.input.needsContentAttribute&&(a||(a=e.content.appendChild(document.createElement("span"))),a.setAttribute("cm-marker",l.id)),a&&(e.cm.display.input.setUneditable(a),e.content.appendChild(a)),e.pos+=n,e.trailingSpace=!1}function By(e,n,l){var s=e.markedSpans,a=e.text,d=0;if(!s){for(var v=1;v<l.length;v+=2)n.addToken(n,a.slice(d,d=l[v]),kd(l[v+1],n.cm.options));return}for(var y=a.length,S=0,C=1,A="",R,X,V=0,ne,ce,Se,Te,Pe;;){if(V==S){ne=ce=Se=X="",Pe=null,Te=null,V=1/0;for(var Ee=[],Ae=void 0,Be=0;Be<s.length;++Be){var ze=s[Be],Qe=ze.marker;if(Qe.type=="bookmark"&&ze.from==S&&Qe.widgetNode)Ee.push(Qe);else if(ze.from<=S&&(ze.to==null||ze.to>S||Qe.collapsed&&ze.to==S&&ze.from==S)){if(ze.to!=null&&ze.to!=S&&V>ze.to&&(V=ze.to,ce=""),Qe.className&&(ne+=" "+Qe.className),Qe.css&&(X=(X?X+";":"")+Qe.css),Qe.startStyle&&ze.from==S&&(Se+=" "+Qe.startStyle),Qe.endStyle&&ze.to==V&&(Ae||(Ae=[])).push(Qe.endStyle,ze.to),Qe.title&&((Pe||(Pe={})).title=Qe.title),Qe.attributes)for(var ct in Qe.attributes)(Pe||(Pe={}))[ct]=Qe.attributes[ct];Qe.collapsed&&(!Te||hu(Te.marker,Qe)<0)&&(Te=ze)}else ze.from>S&&V>ze.from&&(V=ze.from)}if(Ae)for(var Dt=0;Dt<Ae.length;Dt+=2)Ae[Dt+1]==V&&(ce+=" "+Ae[Dt]);if(!Te||Te.from==S)for(var mt=0;mt<Ee.length;++mt)Md(n,0,Ee[mt]);if(Te&&(Te.from||0)==S){if(Md(n,(Te.to==null?y+1:Te.to)-S,Te.marker,Te.from==null),Te.to==null)return;Te.to==S&&(Te=!1)}}if(S>=y)break;for(var hr=Math.min(y,V);;){if(A){var rr=S+A.length;if(!Te){var Tt=rr>hr?A.slice(0,hr-S):A;n.addToken(n,Tt,R?R+ne:ne,Se,S+Tt.length==V?ce:"",X,Pe)}if(rr>=hr){A=A.slice(hr-S),S=hr;break}S=rr,Se=""}A=a.slice(d,d=l[C++]),R=kd(l[C++],n.cm.options)}}}function Ad(e,n,l){this.line=n,this.rest=Ay(n),this.size=this.rest?it(Z(this.rest))-l+1:1,this.node=this.text=null,this.hidden=Cn(e,n)}function xl(e,n,l){for(var s=[],a,d=n;d<l;d=a){var v=new Ad(e.doc,Ne(e.doc,d),d);a=d+v.size,s.push(v)}return s}var Bi=null;function Wy(e){Bi?Bi.ops.push(e):e.ownsGroup=Bi={ops:[e],delayedCallbacks:[]}}function jy(e){var n=e.delayedCallbacks,l=0;do{for(;l<n.length;l++)n[l].call(null);for(var s=0;s<e.ops.length;s++){var a=e.ops[s];if(a.cursorActivityHandlers)for(;a.cursorActivityCalled<a.cursorActivityHandlers.length;)a.cursorActivityHandlers[a.cursorActivityCalled++].call(null,a.cm)}}while(l<n.length)}function Ky(e,n){var l=e.ownsGroup;if(!!l)try{jy(l)}finally{Bi=null,n(l)}}var Vo=null;function Nt(e,n){var l=Ge(e,n);if(!!l.length){var s=Array.prototype.slice.call(arguments,2),a;Bi?a=Bi.delayedCallbacks:Vo?a=Vo:(a=Vo=[],setTimeout(Uy,0));for(var d=function(y){a.push(function(){return l[y].apply(null,s)})},v=0;v<l.length;++v)d(v)}}function Uy(){var e=Vo;Vo=null;for(var n=0;n<e.length;++n)e[n]()}function Ld(e,n,l,s){for(var a=0;a<n.changes.length;a++){var d=n.changes[a];d=="text"?Vy(e,n):d=="gutter"?Id(e,n,l,s):d=="class"?mu(e,n):d=="widget"&&Gy(e,n,s)}n.changes=null}function Go(e){return e.node==e.text&&(e.node=k("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),h&&g<8&&(e.node.style.zIndex=2)),e.node}function $y(e,n){var l=n.bgClass?n.bgClass+" "+(n.line.bgClass||""):n.line.bgClass;if(l&&(l+=" CodeMirror-linebackground"),n.background)l?n.background.className=l:(n.background.parentNode.removeChild(n.background),n.background=null);else if(l){var s=Go(n);n.background=s.insertBefore(k("div",null,l),s.firstChild),e.display.input.setUneditable(n.background)}}function Nd(e,n){var l=e.display.externalMeasured;return l&&l.line==n.line?(e.display.externalMeasured=null,n.measure=l.measure,l.built):Pd(e,n)}function Vy(e,n){var l=n.text.className,s=Nd(e,n);n.text==n.node&&(n.node=s.pre),n.text.parentNode.replaceChild(s.pre,n.text),n.text=s.pre,s.bgClass!=n.bgClass||s.textClass!=n.textClass?(n.bgClass=s.bgClass,n.textClass=s.textClass,mu(e,n)):l&&(n.text.className=l)}function mu(e,n){$y(e,n),n.line.wrapClass?Go(n).className=n.line.wrapClass:n.node!=n.text&&(n.node.className="");var l=n.textClass?n.textClass+" "+(n.line.textClass||""):n.line.textClass;n.text.className=l||""}function Id(e,n,l,s){if(n.gutter&&(n.node.removeChild(n.gutter),n.gutter=null),n.gutterBackground&&(n.node.removeChild(n.gutterBackground),n.gutterBackground=null),n.line.gutterClass){var a=Go(n);n.gutterBackground=k("div",null,"CodeMirror-gutter-background "+n.line.gutterClass,"left: "+(e.options.fixedGutter?s.fixedPos:-s.gutterTotalWidth)+"px; width: "+s.gutterTotalWidth+"px"),e.display.input.setUneditable(n.gutterBackground),a.insertBefore(n.gutterBackground,n.text)}var d=n.line.gutterMarkers;if(e.options.lineNumbers||d){var v=Go(n),y=n.gutter=k("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?s.fixedPos:-s.gutterTotalWidth)+"px");if(y.setAttribute("aria-hidden","true"),e.display.input.setUneditable(y),v.insertBefore(y,n.text),n.line.gutterClass&&(y.className+=" "+n.line.gutterClass),e.options.lineNumbers&&(!d||!d["CodeMirror-linenumbers"])&&(n.lineNumber=y.appendChild(k("div",Ko(e.options,l),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+s.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),d)for(var S=0;S<e.display.gutterSpecs.length;++S){var C=e.display.gutterSpecs[S].className,A=d.hasOwnProperty(C)&&d[C];A&&y.appendChild(k("div",[A],"CodeMirror-gutter-elt","left: "+s.gutterLeft[C]+"px; width: "+s.gutterWidth[C]+"px"))}}}function Gy(e,n,l){n.alignable&&(n.alignable=null);for(var s=te("CodeMirror-linewidget"),a=n.node.firstChild,d=void 0;a;a=d)d=a.nextSibling,s.test(a.className)&&n.node.removeChild(a);Rd(e,n,l)}function Yy(e,n,l,s){var a=Nd(e,n);return n.text=n.node=a.pre,a.bgClass&&(n.bgClass=a.bgClass),a.textClass&&(n.textClass=a.textClass),mu(e,n),Id(e,n,l,s),Rd(e,n,s),n.node}function Rd(e,n,l){if(Dd(e,n.line,n,l,!0),n.rest)for(var s=0;s<n.rest.length;s++)Dd(e,n.rest[s],n,l,!1)}function Dd(e,n,l,s,a){if(!!n.widgets)for(var d=Go(l),v=0,y=n.widgets;v<y.length;++v){var S=y[v],C=k("div",[S.node],"CodeMirror-linewidget"+(S.className?" "+S.className:""));S.handleMouseEvents||C.setAttribute("cm-ignore-events","true"),Xy(S,C,l,s),e.display.input.setUneditable(C),a&&S.above?d.insertBefore(C,l.gutter||l.text):d.appendChild(C),Nt(S,"redraw")}}function Xy(e,n,l,s){if(e.noHScroll){(l.alignable||(l.alignable=[])).push(n);var a=s.wrapperWidth;n.style.left=s.fixedPos+"px",e.coverGutter||(a-=s.gutterTotalWidth,n.style.paddingLeft=s.gutterTotalWidth+"px"),n.style.width=a+"px"}e.coverGutter&&(n.style.zIndex=5,n.style.position="relative",e.noHScroll||(n.style.marginLeft=-s.gutterTotalWidth+"px"))}function Yo(e){if(e.height!=null)return e.height;var n=e.doc.cm;if(!n)return 0;if(!W(document.body,e.node)){var l="position: relative;";e.coverGutter&&(l+="margin-left: -"+n.display.gutters.offsetWidth+"px;"),e.noHScroll&&(l+="width: "+n.display.wrapper.clientWidth+"px;"),O(n.display.measure,k("div",[e.node],null,l))}return e.height=e.node.parentNode.offsetHeight}function an(e,n){for(var l=xn(n);l!=e.wrapper;l=l.parentNode)if(!l||l.nodeType==1&&l.getAttribute("cm-ignore-events")=="true"||l.parentNode==e.sizer&&l!=e.mover)return!0}function wl(e){return e.lineSpace.offsetTop}function yu(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Fd(e){if(e.cachedPaddingH)return e.cachedPaddingH;var n=O(e.measure,k("pre","x","CodeMirror-line-like")),l=window.getComputedStyle?window.getComputedStyle(n):n.currentStyle,s={left:parseInt(l.paddingLeft),right:parseInt(l.paddingRight)};return!isNaN(s.left)&&!isNaN(s.right)&&(e.cachedPaddingH=s),s}function Xr(e){return le-e.display.nativeBarWidth}function ei(e){return e.display.scroller.clientWidth-Xr(e)-e.display.barWidth}function bu(e){return e.display.scroller.clientHeight-Xr(e)-e.display.barHeight}function Jy(e,n,l){var s=e.options.lineWrapping,a=s&&ei(e);if(!n.measure.heights||s&&n.measure.width!=a){var d=n.measure.heights=[];if(s){n.measure.width=a;for(var v=n.text.firstChild.getClientRects(),y=0;y<v.length-1;y++){var S=v[y],C=v[y+1];Math.abs(S.bottom-C.bottom)>2&&d.push((S.bottom+C.top)/2-l.top)}}d.push(l.bottom-l.top)}}function zd(e,n,l){if(e.line==n)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var s=0;s<e.rest.length;s++)if(e.rest[s]==n)return{map:e.measure.maps[s],cache:e.measure.caches[s]};for(var a=0;a<e.rest.length;a++)if(it(e.rest[a])>l)return{map:e.measure.maps[a],cache:e.measure.caches[a],before:!0}}}function Zy(e,n){n=Yr(n);var l=it(n),s=e.display.externalMeasured=new Ad(e.doc,n,l);s.lineN=l;var a=s.built=Pd(e,s);return s.text=a.pre,O(e.display.lineMeasure,a.pre),s}function Hd(e,n,l,s){return Jr(e,Wi(e,n),l,s)}function Su(e,n){if(n>=e.display.viewFrom&&n<e.display.viewTo)return e.display.view[ni(e,n)];var l=e.display.externalMeasured;if(l&&n>=l.lineN&&n<l.lineN+l.size)return l}function Wi(e,n){var l=it(n),s=Su(e,l);s&&!s.text?s=null:s&&s.changes&&(Ld(e,s,l,Eu(e)),e.curOp.forceUpdate=!0),s||(s=Zy(e,n));var a=zd(s,n,l);return{line:n,view:s,rect:null,map:a.map,cache:a.cache,before:a.before,hasHeights:!1}}function Jr(e,n,l,s,a){n.before&&(l=-1);var d=l+(s||""),v;return n.cache.hasOwnProperty(d)?v=n.cache[d]:(n.rect||(n.rect=n.view.text.getBoundingClientRect()),n.hasHeights||(Jy(e,n.view,n.rect),n.hasHeights=!0),v=qy(e,n,l,s),v.bogus||(n.cache[d]=v)),{left:v.left,right:v.right,top:a?v.rtop:v.top,bottom:a?v.rbottom:v.bottom}}var Bd={left:0,right:0,top:0,bottom:0};function Wd(e,n,l){for(var s,a,d,v,y,S,C=0;C<e.length;C+=3)if(y=e[C],S=e[C+1],n<y?(a=0,d=1,v="left"):n<S?(a=n-y,d=a+1):(C==e.length-3||n==S&&e[C+3]>n)&&(d=S-y,a=d-1,n>=S&&(v="right")),a!=null){if(s=e[C+2],y==S&&l==(s.insertLeft?"left":"right")&&(v=l),l=="left"&&a==0)for(;C&&e[C-2]==e[C-3]&&e[C-1].insertLeft;)s=e[(C-=3)+2],v="left";if(l=="right"&&a==S-y)for(;C<e.length-3&&e[C+3]==e[C+4]&&!e[C+5].insertLeft;)s=e[(C+=3)+2],v="right";break}return{node:s,start:a,end:d,collapse:v,coverStart:y,coverEnd:S}}function Qy(e,n){var l=Bd;if(n=="left")for(var s=0;s<e.length&&(l=e[s]).left==l.right;s++);else for(var a=e.length-1;a>=0&&(l=e[a]).left==l.right;a--);return l}function qy(e,n,l,s){var a=Wd(n.map,l,s),d=a.node,v=a.start,y=a.end,S=a.collapse,C;if(d.nodeType==3){for(var A=0;A<4;A++){for(;v&&we(n.line.text.charAt(a.coverStart+v));)--v;for(;a.coverStart+y<a.coverEnd&&we(n.line.text.charAt(a.coverStart+y));)++y;if(h&&g<9&&v==0&&y==a.coverEnd-a.coverStart?C=d.parentNode.getBoundingClientRect():C=Qy(j(d,v,y).getClientRects(),s),C.left||C.right||v==0)break;y=v,v=v-1,S="right"}h&&g<11&&(C=_y(e.display.measure,C))}else{v>0&&(S=s="right");var R;e.options.lineWrapping&&(R=d.getClientRects()).length>1?C=R[s=="right"?R.length-1:0]:C=d.getBoundingClientRect()}if(h&&g<9&&!v&&(!C||!C.left&&!C.right)){var X=d.parentNode.getClientRects()[0];X?C={left:X.left,right:X.left+Ki(e.display),top:X.top,bottom:X.bottom}:C=Bd}for(var V=C.top-n.rect.top,ne=C.bottom-n.rect.top,ce=(V+ne)/2,Se=n.view.measure.heights,Te=0;Te<Se.length-1&&!(ce<Se[Te]);Te++);var Pe=Te?Se[Te-1]:0,Ee=Se[Te],Ae={left:(S=="right"?C.right:C.left)-n.rect.left,right:(S=="left"?C.left:C.right)-n.rect.left,top:Pe,bottom:Ee};return!C.left&&!C.right&&(Ae.bogus=!0),e.options.singleCursorHeightPerLine||(Ae.rtop=V,Ae.rbottom=ne),Ae}function _y(e,n){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!wn(e))return n;var l=screen.logicalXDPI/screen.deviceXDPI,s=screen.logicalYDPI/screen.deviceYDPI;return{left:n.left*l,right:n.right*l,top:n.top*s,bottom:n.bottom*s}}function jd(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var n=0;n<e.rest.length;n++)e.measure.caches[n]={}}function Kd(e){e.display.externalMeasure=null,_(e.display.lineMeasure);for(var n=0;n<e.display.view.length;n++)jd(e.display.view[n])}function Xo(e){Kd(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Ud(){return x&&M?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function $d(){return x&&M?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function xu(e){var n=0;if(e.widgets)for(var l=0;l<e.widgets.length;++l)e.widgets[l].above&&(n+=Yo(e.widgets[l]));return n}function Cl(e,n,l,s,a){if(!a){var d=xu(n);l.top+=d,l.bottom+=d}if(s=="line")return l;s||(s="local");var v=ln(n);if(s=="local"?v+=wl(e.display):v-=e.display.viewOffset,s=="page"||s=="window"){var y=e.display.lineSpace.getBoundingClientRect();v+=y.top+(s=="window"?0:$d());var S=y.left+(s=="window"?0:Ud());l.left+=S,l.right+=S}return l.top+=v,l.bottom+=v,l}function Vd(e,n,l){if(l=="div")return n;var s=n.left,a=n.top;if(l=="page")s-=Ud(),a-=$d();else if(l=="local"||!l){var d=e.display.sizer.getBoundingClientRect();s+=d.left,a+=d.top}var v=e.display.lineSpace.getBoundingClientRect();return{left:s-v.left,top:a-v.top}}function Tl(e,n,l,s,a){return s||(s=Ne(e.doc,n.line)),Cl(e,s,Hd(e,s,n.ch,a),l)}function zr(e,n,l,s,a,d){s=s||Ne(e.doc,n.line),a||(a=Wi(e,s));function v(ne,ce){var Se=Jr(e,a,ne,ce?"right":"left",d);return ce?Se.left=Se.right:Se.right=Se.left,Cl(e,s,Se,l)}var y=vt(s,e.doc.direction),S=n.ch,C=n.sticky;if(S>=s.text.length?(S=s.text.length,C="before"):S<=0&&(S=0,C="after"),!y)return v(C=="before"?S-1:S,C=="before");function A(ne,ce,Se){var Te=y[ce],Pe=Te.level==1;return v(Se?ne-1:ne,Pe!=Se)}var R=Ue(y,S,C),X=Je,V=A(S,R,C=="before");return X!=null&&(V.other=A(S,X,C!="before")),V}function Gd(e,n){var l=0;n=Me(e.doc,n),e.options.lineWrapping||(l=Ki(e.display)*n.ch);var s=Ne(e.doc,n.line),a=ln(s)+wl(e.display);return{left:l,right:l,top:a,bottom:a+s.height}}function wu(e,n,l,s,a){var d=pe(e,n,l);return d.xRel=a,s&&(d.outside=s),d}function Cu(e,n,l){var s=e.doc;if(l+=e.display.viewOffset,l<0)return wu(s.first,0,null,-1,-1);var a=Vr(s,l),d=s.first+s.size-1;if(a>d)return wu(s.first+s.size-1,Ne(s,d).text.length,null,1,1);n<0&&(n=0);for(var v=Ne(s,a);;){var y=e0(e,v,a,n,l),S=Py(v,y.ch+(y.xRel>0||y.outside>0?1:0));if(!S)return y;var C=S.find(1);if(C.line==a)return C;v=Ne(s,a=C.line)}}function Yd(e,n,l,s){s-=xu(n);var a=n.text.length,d=Ve(function(v){return Jr(e,l,v-1).bottom<=s},a,0);return a=Ve(function(v){return Jr(e,l,v).top>s},d,a),{begin:d,end:a}}function Xd(e,n,l,s){l||(l=Wi(e,n));var a=Cl(e,n,Jr(e,l,s),"line").top;return Yd(e,n,l,a)}function Tu(e,n,l,s){return e.bottom<=l?!1:e.top>l?!0:(s?e.left:e.right)>n}function e0(e,n,l,s,a){a-=ln(n);var d=Wi(e,n),v=xu(n),y=0,S=n.text.length,C=!0,A=vt(n,e.doc.direction);if(A){var R=(e.options.lineWrapping?r0:t0)(e,n,l,d,A,s,a);C=R.level!=1,y=C?R.from:R.to-1,S=C?R.to:R.from-1}var X=null,V=null,ne=Ve(function(Be){var ze=Jr(e,d,Be);return ze.top+=v,ze.bottom+=v,Tu(ze,s,a,!1)?(ze.top<=a&&ze.left<=s&&(X=Be,V=ze),!0):!1},y,S),ce,Se,Te=!1;if(V){var Pe=s-V.left<V.right-s,Ee=Pe==C;ne=X+(Ee?0:1),Se=Ee?"after":"before",ce=Pe?V.left:V.right}else{!C&&(ne==S||ne==y)&&ne++,Se=ne==0?"after":ne==n.text.length?"before":Jr(e,d,ne-(C?1:0)).bottom+v<=a==C?"after":"before";var Ae=zr(e,pe(l,ne,Se),"line",n,d);ce=Ae.left,Te=a<Ae.top?-1:a>=Ae.bottom?1:0}return ne=Re(n.text,ne,1),wu(l,ne,Se,Te,s-ce)}function t0(e,n,l,s,a,d,v){var y=Ve(function(R){var X=a[R],V=X.level!=1;return Tu(zr(e,pe(l,V?X.to:X.from,V?"before":"after"),"line",n,s),d,v,!0)},0,a.length-1),S=a[y];if(y>0){var C=S.level!=1,A=zr(e,pe(l,C?S.from:S.to,C?"after":"before"),"line",n,s);Tu(A,d,v,!0)&&A.top>v&&(S=a[y-1])}return S}function r0(e,n,l,s,a,d,v){var y=Yd(e,n,s,v),S=y.begin,C=y.end;/\s/.test(n.text.charAt(C-1))&&C--;for(var A=null,R=null,X=0;X<a.length;X++){var V=a[X];if(!(V.from>=C||V.to<=S)){var ne=V.level!=1,ce=Jr(e,s,ne?Math.min(C,V.to)-1:Math.max(S,V.from)).right,Se=ce<d?d-ce+1e9:ce-d;(!A||R>Se)&&(A=V,R=Se)}}return A||(A=a[a.length-1]),A.from<S&&(A={from:S,to:A.to,level:A.level}),A.to>C&&(A={from:A.from,to:C,level:A.level}),A}var ti;function ji(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(ti==null){ti=k("pre",null,"CodeMirror-line-like");for(var n=0;n<49;++n)ti.appendChild(document.createTextNode("x")),ti.appendChild(k("br"));ti.appendChild(document.createTextNode("x"))}O(e.measure,ti);var l=ti.offsetHeight/50;return l>3&&(e.cachedTextHeight=l),_(e.measure),l||1}function Ki(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var n=k("span","xxxxxxxxxx"),l=k("pre",[n],"CodeMirror-line-like");O(e.measure,l);var s=n.getBoundingClientRect(),a=(s.right-s.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function Eu(e){for(var n=e.display,l={},s={},a=n.gutters.clientLeft,d=n.gutters.firstChild,v=0;d;d=d.nextSibling,++v){var y=e.display.gutterSpecs[v].className;l[y]=d.offsetLeft+d.clientLeft+a,s[y]=d.clientWidth}return{fixedPos:Ou(n),gutterTotalWidth:n.gutters.offsetWidth,gutterLeft:l,gutterWidth:s,wrapperWidth:n.wrapper.clientWidth}}function Ou(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Jd(e){var n=ji(e.display),l=e.options.lineWrapping,s=l&&Math.max(5,e.display.scroller.clientWidth/Ki(e.display)-3);return function(a){if(Cn(e.doc,a))return 0;var d=0;if(a.widgets)for(var v=0;v<a.widgets.length;v++)a.widgets[v].height&&(d+=a.widgets[v].height);return l?d+(Math.ceil(a.text.length/s)||1)*n:d+n}}function ku(e){var n=e.doc,l=Jd(e);n.iter(function(s){var a=l(s);a!=s.height&&cr(s,a)})}function ri(e,n,l,s){var a=e.display;if(!l&&xn(n).getAttribute("cm-not-content")=="true")return null;var d,v,y=a.lineSpace.getBoundingClientRect();try{d=n.clientX-y.left,v=n.clientY-y.top}catch{return null}var S=Cu(e,d,v),C;if(s&&S.xRel>0&&(C=Ne(e.doc,S.line).text).length==S.ch){var A=Xe(C,C.length,e.options.tabSize)-C.length;S=pe(S.line,Math.max(0,Math.round((d-Fd(e.display).left)/Ki(e.display))-A))}return S}function ni(e,n){if(n>=e.display.viewTo||(n-=e.display.viewFrom,n<0))return null;for(var l=e.display.view,s=0;s<l.length;s++)if(n-=l[s].size,n<0)return s}function er(e,n,l,s){n==null&&(n=e.doc.first),l==null&&(l=e.doc.first+e.doc.size),s||(s=0);var a=e.display;if(s&&l<a.viewTo&&(a.updateLineNumbers==null||a.updateLineNumbers>n)&&(a.updateLineNumbers=n),e.curOp.viewChanged=!0,n>=a.viewTo)sn&&pu(e.doc,n)<a.viewTo&&En(e);else if(l<=a.viewFrom)sn&&Od(e.doc,l+s)>a.viewFrom?En(e):(a.viewFrom+=s,a.viewTo+=s);else if(n<=a.viewFrom&&l>=a.viewTo)En(e);else if(n<=a.viewFrom){var d=El(e,l,l+s,1);d?(a.view=a.view.slice(d.index),a.viewFrom=d.lineN,a.viewTo+=s):En(e)}else if(l>=a.viewTo){var v=El(e,n,n,-1);v?(a.view=a.view.slice(0,v.index),a.viewTo=v.lineN):En(e)}else{var y=El(e,n,n,-1),S=El(e,l,l+s,1);y&&S?(a.view=a.view.slice(0,y.index).concat(xl(e,y.lineN,S.lineN)).concat(a.view.slice(S.index)),a.viewTo+=s):En(e)}var C=a.externalMeasured;C&&(l<C.lineN?C.lineN+=s:n<C.lineN+C.size&&(a.externalMeasured=null))}function Tn(e,n,l){e.curOp.viewChanged=!0;var s=e.display,a=e.display.externalMeasured;if(a&&n>=a.lineN&&n<a.lineN+a.size&&(s.externalMeasured=null),!(n<s.viewFrom||n>=s.viewTo)){var d=s.view[ni(e,n)];if(d.node!=null){var v=d.changes||(d.changes=[]);se(v,l)==-1&&v.push(l)}}}function En(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function El(e,n,l,s){var a=ni(e,n),d,v=e.display.view;if(!sn||l==e.doc.first+e.doc.size)return{index:a,lineN:l};for(var y=e.display.viewFrom,S=0;S<a;S++)y+=v[S].size;if(y!=n){if(s>0){if(a==v.length-1)return null;d=y+v[a].size-n,a++}else d=y-n;n+=d,l+=d}for(;pu(e.doc,l)!=l;){if(a==(s<0?0:v.length-1))return null;l+=s*v[a-(s<0?1:0)].size,a+=s}return{index:a,lineN:l}}function n0(e,n,l){var s=e.display,a=s.view;a.length==0||n>=s.viewTo||l<=s.viewFrom?(s.view=xl(e,n,l),s.viewFrom=n):(s.viewFrom>n?s.view=xl(e,n,s.viewFrom).concat(s.view):s.viewFrom<n&&(s.view=s.view.slice(ni(e,n))),s.viewFrom=n,s.viewTo<l?s.view=s.view.concat(xl(e,s.viewTo,l)):s.viewTo>l&&(s.view=s.view.slice(0,ni(e,l)))),s.viewTo=l}function Zd(e){for(var n=e.display.view,l=0,s=0;s<n.length;s++){var a=n[s];!a.hidden&&(!a.node||a.changes)&&++l}return l}function Jo(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Qd(e,n){n===void 0&&(n=!0);var l=e.doc,s={},a=s.cursors=document.createDocumentFragment(),d=s.selection=document.createDocumentFragment(),v=e.options.$customCursor;v&&(n=!0);for(var y=0;y<l.sel.ranges.length;y++)if(!(!n&&y==l.sel.primIndex)){var S=l.sel.ranges[y];if(!(S.from().line>=e.display.viewTo||S.to().line<e.display.viewFrom)){var C=S.empty();if(v){var A=v(e,S);A&&Pu(e,A,a)}else(C||e.options.showCursorWhenSelecting)&&Pu(e,S.head,a);C||i0(e,S,d)}}return s}function Pu(e,n,l){var s=zr(e,n,"div",null,null,!e.options.singleCursorHeightPerLine),a=l.appendChild(k("div","\xA0","CodeMirror-cursor"));if(a.style.left=s.left+"px",a.style.top=s.top+"px",a.style.height=Math.max(0,s.bottom-s.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var d=Tl(e,n,"div",null,null),v=d.right-d.left;a.style.width=(v>0?v:e.defaultCharWidth())+"px"}if(s.other){var y=l.appendChild(k("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));y.style.display="",y.style.left=s.other.left+"px",y.style.top=s.other.top+"px",y.style.height=(s.other.bottom-s.other.top)*.85+"px"}}function Ol(e,n){return e.top-n.top||e.left-n.left}function i0(e,n,l){var s=e.display,a=e.doc,d=document.createDocumentFragment(),v=Fd(e.display),y=v.left,S=Math.max(s.sizerWidth,ei(e)-s.sizer.offsetLeft)-v.right,C=a.direction=="ltr";function A(Ee,Ae,Be,ze){Ae<0&&(Ae=0),Ae=Math.round(Ae),ze=Math.round(ze),d.appendChild(k("div",null,"CodeMirror-selected","position: absolute; left: "+Ee+`px;
8
+ `,n);a==-1&&(a=e.length);var d=e.slice(n,e.charAt(a-1)=="\r"?a-1:a),v=d.indexOf("\r");v!=-1?(l.push(d.slice(0,v)),n+=v+1):(l.push(d),n=a+1)}return l}:function(e){return e.split(/\r\n?|\n/)},pl=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var n;try{n=e.ownerDocument.selection.createRange()}catch{}return!n||n.parentElement()!=e?!1:n.compareEndPoints("StartToEnd",n)!=0},gl=function(){var e=k("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Bo=null;function wn(e){if(Bo!=null)return Bo;var n=O(e,k("span","x")),l=n.getBoundingClientRect(),s=j(n,0,1).getBoundingClientRect();return Bo=Math.abs(l.left-s.left)>1}var Ar={},yr={};function vl(e,n){arguments.length>2&&(n.dependencies=Array.prototype.slice.call(arguments,2)),Ar[e]=n}function on(e,n){yr[e]=n}function Di(e){if(typeof e=="string"&&yr.hasOwnProperty(e))e=yr[e];else if(e&&typeof e.name=="string"&&yr.hasOwnProperty(e.name)){var n=yr[e.name];typeof n=="string"&&(n={name:n}),e=Ce(n,e),e.name=n.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Di("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Di("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Fi(e,n){n=Di(n);var l=Ar[n.name];if(!l)return Fi(e,"text/plain");var s=l(e,n);if(Dr.hasOwnProperty(n.name)){var a=Dr[n.name];for(var d in a)!a.hasOwnProperty(d)||(s.hasOwnProperty(d)&&(s["_"+d]=s[d]),s[d]=a[d])}if(s.name=n.name,n.helperType&&(s.helperType=n.helperType),n.modeProps)for(var v in n.modeProps)s[v]=n.modeProps[v];return s}var Dr={};function Fr(e,n){var l=Dr.hasOwnProperty(e)?Dr[e]:Dr[e]={};Ke(n,l)}function br(e,n){if(n===!0)return n;if(e.copyState)return e.copyState(n);var l={};for(var s in n){var a=n[s];a instanceof Array&&(a=a.concat([])),l[s]=a}return l}function Wo(e,n){for(var l;e.innerMode&&(l=e.innerMode(n),!(!l||l.mode==e));)n=l.state,e=l.mode;return l||{mode:e,state:n}}function jo(e,n,l){return e.startState?e.startState(n,l):!0}var bt=function(e,n,l){this.pos=this.start=0,this.string=e,this.tabSize=n||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=l};bt.prototype.eol=function(){return this.pos>=this.string.length},bt.prototype.sol=function(){return this.pos==this.lineStart},bt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},bt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},bt.prototype.eat=function(e){var n=this.string.charAt(this.pos),l;if(typeof e=="string"?l=n==e:l=n&&(e.test?e.test(n):e(n)),l)return++this.pos,n},bt.prototype.eatWhile=function(e){for(var n=this.pos;this.eat(e););return this.pos>n},bt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},bt.prototype.skipToEnd=function(){this.pos=this.string.length},bt.prototype.skipTo=function(e){var n=this.string.indexOf(e,this.pos);if(n>-1)return this.pos=n,!0},bt.prototype.backUp=function(e){this.pos-=e},bt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=Xe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?Xe(this.string,this.lineStart,this.tabSize):0)},bt.prototype.indentation=function(){return Xe(this.string,null,this.tabSize)-(this.lineStart?Xe(this.string,this.lineStart,this.tabSize):0)},bt.prototype.match=function(e,n,l){if(typeof e=="string"){var s=function(v){return l?v.toLowerCase():v},a=this.string.substr(this.pos,e.length);if(s(a)==s(e))return n!==!1&&(this.pos+=e.length),!0}else{var d=this.string.slice(this.pos).match(e);return d&&d.index>0?null:(d&&n!==!1&&(this.pos+=d[0].length),d)}},bt.prototype.current=function(){return this.string.slice(this.start,this.pos)},bt.prototype.hideFirstChars=function(e,n){this.lineStart+=e;try{return n()}finally{this.lineStart-=e}},bt.prototype.lookAhead=function(e){var n=this.lineOracle;return n&&n.lookAhead(e)},bt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function Ne(e,n){if(n-=e.first,n<0||n>=e.size)throw new Error("There is no line "+(n+e.first)+" in the document.");for(var l=e;!l.lines;)for(var s=0;;++s){var a=l.children[s],d=a.chunkSize();if(n<d){l=a;break}n-=d}return l.lines[n]}function $r(e,n,l){var s=[],a=n.line;return e.iter(n.line,l.line+1,function(d){var v=d.text;a==l.line&&(v=v.slice(0,l.ch)),a==n.line&&(v=v.slice(n.ch)),s.push(v),++a}),s}function Ko(e,n,l){var s=[];return e.iter(n,l,function(a){s.push(a.text)}),s}function cr(e,n){var l=n-e.height;if(l)for(var s=e;s;s=s.parent)s.height+=l}function it(e){if(e.parent==null)return null;for(var n=e.parent,l=se(n.lines,e),s=n.parent;s;n=s,s=s.parent)for(var a=0;s.children[a]!=n;++a)l+=s.children[a].chunkSize();return l+n.first}function Vr(e,n){var l=e.first;e:do{for(var s=0;s<e.children.length;++s){var a=e.children[s],d=a.height;if(n<d){e=a;continue e}n-=d,l+=a.chunkSize()}return l}while(!e.lines);for(var v=0;v<e.lines.length;++v){var y=e.lines[v],S=y.height;if(n<S)break;n-=S}return l+v}function _n(e,n){return n>=e.first&&n<e.first+e.size}function Uo(e,n){return String(e.lineNumberFormatter(n+e.firstLineNumber))}function pe(e,n,l){if(l===void 0&&(l=null),!(this instanceof pe))return new pe(e,n,l);this.line=e,this.ch=n,this.sticky=l}function T(e,n){return e.line-n.line||e.ch-n.ch}function D(e,n){return e.sticky==n.sticky&&T(e,n)==0}function fe(e){return pe(e.line,e.ch)}function ye(e,n){return T(e,n)<0?n:e}function $e(e,n){return T(e,n)<0?e:n}function _e(e,n){return Math.max(e.first,Math.min(n,e.first+e.size-1))}function Me(e,n){if(n.line<e.first)return pe(e.first,0);var l=e.first+e.size-1;return n.line>l?pe(l,Ne(e,l).text.length):Ut(n,Ne(e,n.line).text.length)}function Ut(e,n){var l=e.ch;return l==null||l>n?pe(e.line,n):l<0?pe(e.line,0):e}function Sr(e,n){for(var l=[],s=0;s<n.length;s++)l[s]=Me(e,n[s]);return l}var zi=function(e,n){this.state=e,this.lookAhead=n},Gr=function(e,n,l,s){this.state=n,this.doc=e,this.line=l,this.maxLookAhead=s||0,this.baseTokens=null,this.baseTokenPos=1};Gr.prototype.lookAhead=function(e){var n=this.doc.getLine(this.line+e);return n!=null&&e>this.maxLookAhead&&(this.maxLookAhead=e),n},Gr.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var n=this.baseTokens[this.baseTokenPos+1];return{type:n&&n.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Gr.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Gr.fromSaved=function(e,n,l){return n instanceof zi?new Gr(e,br(e.mode,n.state),l,n.lookAhead):new Gr(e,br(e.mode,n),l)},Gr.prototype.save=function(e){var n=e!==!1?br(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new zi(n,this.maxLookAhead):n};function dd(e,n,l,s){var a=[e.state.modeGen],d={};yd(e,n.text,e.doc.mode,l,function(C,A){return a.push(C,A)},d,s);for(var v=l.state,y=function(C){l.baseTokens=a;var A=e.state.overlays[C],R=1,X=0;l.state=!0,yd(e,n.text,A.mode,l,function(V,ne){for(var ce=R;X<V;){var Se=a[R];Se>V&&a.splice(R,1,V,a[R+1],Se),R+=2,X=Math.min(V,Se)}if(!!ne)if(A.opaque)a.splice(ce,R-ce,V,"overlay "+ne),R=ce+2;else for(;ce<R;ce+=2){var Te=a[ce+1];a[ce+1]=(Te?Te+" ":"")+"overlay "+ne}},d),l.state=v,l.baseTokens=null,l.baseTokenPos=1},S=0;S<e.state.overlays.length;++S)y(S);return{styles:a,classes:d.bgClass||d.textClass?d:null}}function hd(e,n,l){if(!n.styles||n.styles[0]!=e.state.modeGen){var s=$o(e,it(n)),a=n.text.length>e.options.maxHighlightLength&&br(e.doc.mode,s.state),d=dd(e,n,s);a&&(s.state=a),n.stateAfter=s.save(!a),n.styles=d.styles,d.classes?n.styleClasses=d.classes:n.styleClasses&&(n.styleClasses=null),l===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return n.styles}function $o(e,n,l){var s=e.doc,a=e.display;if(!s.mode.startState)return new Gr(s,!0,n);var d=wy(e,n,l),v=d>s.first&&Ne(s,d-1).stateAfter,y=v?Gr.fromSaved(s,v,d):new Gr(s,jo(s.mode),d);return s.iter(d,n,function(S){cu(e,S.text,y);var C=y.line;S.stateAfter=C==n-1||C%5==0||C>=a.viewFrom&&C<a.viewTo?y.save():null,y.nextLine()}),l&&(s.modeFrontier=y.line),y}function cu(e,n,l,s){var a=e.doc.mode,d=new bt(n,e.options.tabSize,l);for(d.start=d.pos=s||0,n==""&&pd(a,l.state);!d.eol();)du(a,d,l.state),d.start=d.pos}function pd(e,n){if(e.blankLine)return e.blankLine(n);if(!!e.innerMode){var l=Wo(e,n);if(l.mode.blankLine)return l.mode.blankLine(l.state)}}function du(e,n,l,s){for(var a=0;a<10;a++){s&&(s[0]=Wo(e,l).mode);var d=e.token(n,l);if(n.pos>n.start)return d}throw new Error("Mode "+e.name+" failed to advance stream.")}var gd=function(e,n,l){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=n||null,this.state=l};function vd(e,n,l,s){var a=e.doc,d=a.mode,v;n=Me(a,n);var y=Ne(a,n.line),S=$o(e,n.line,l),C=new bt(y.text,e.options.tabSize,S),A;for(s&&(A=[]);(s||C.pos<n.ch)&&!C.eol();)C.start=C.pos,v=du(d,C,S.state),s&&A.push(new gd(C,v,br(a.mode,S.state)));return s?A:new gd(C,v,S.state)}function md(e,n){if(e)for(;;){var l=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!l)break;e=e.slice(0,l.index)+e.slice(l.index+l[0].length);var s=l[1]?"bgClass":"textClass";n[s]==null?n[s]=l[2]:new RegExp("(?:^|\\s)"+l[2]+"(?:$|\\s)").test(n[s])||(n[s]+=" "+l[2])}return e}function yd(e,n,l,s,a,d,v){var y=l.flattenSpans;y==null&&(y=e.options.flattenSpans);var S=0,C=null,A=new bt(n,e.options.tabSize,s),R,X=e.options.addModeClass&&[null];for(n==""&&md(pd(l,s.state),d);!A.eol();){if(A.pos>e.options.maxHighlightLength?(y=!1,v&&cu(e,n,s,A.pos),A.pos=n.length,R=null):R=md(du(l,A,s.state,X),d),X){var V=X[0].name;V&&(R="m-"+(R?V+" "+R:V))}if(!y||C!=R){for(;S<A.start;)S=Math.min(A.start,S+5e3),a(S,C);C=R}A.start=A.pos}for(;S<A.pos;){var ne=Math.min(A.pos,S+5e3);a(ne,C),S=ne}}function wy(e,n,l){for(var s,a,d=e.doc,v=l?-1:n-(e.doc.mode.innerMode?1e3:100),y=n;y>v;--y){if(y<=d.first)return d.first;var S=Ne(d,y-1),C=S.stateAfter;if(C&&(!l||y+(C instanceof zi?C.lookAhead:0)<=d.modeFrontier))return y;var A=Xe(S.text,null,e.options.tabSize);(a==null||s>A)&&(a=y-1,s=A)}return a}function Cy(e,n){if(e.modeFrontier=Math.min(e.modeFrontier,n),!(e.highlightFrontier<n-10)){for(var l=e.first,s=n-1;s>l;s--){var a=Ne(e,s).stateAfter;if(a&&(!(a instanceof zi)||s+a.lookAhead<n)){l=s+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,l)}}var bd=!1,sn=!1;function Ty(){bd=!0}function Ey(){sn=!0}function ml(e,n,l){this.marker=e,this.from=n,this.to=l}function Vo(e,n){if(e)for(var l=0;l<e.length;++l){var s=e[l];if(s.marker==n)return s}}function Oy(e,n){for(var l,s=0;s<e.length;++s)e[s]!=n&&(l||(l=[])).push(e[s]);return l}function ky(e,n,l){var s=l&&window.WeakSet&&(l.markedSpans||(l.markedSpans=new WeakSet));s&&s.has(e.markedSpans)?e.markedSpans.push(n):(e.markedSpans=e.markedSpans?e.markedSpans.concat([n]):[n],s&&s.add(e.markedSpans)),n.marker.attachLine(e)}function Py(e,n,l){var s;if(e)for(var a=0;a<e.length;++a){var d=e[a],v=d.marker,y=d.from==null||(v.inclusiveLeft?d.from<=n:d.from<n);if(y||d.from==n&&v.type=="bookmark"&&(!l||!d.marker.insertLeft)){var S=d.to==null||(v.inclusiveRight?d.to>=n:d.to>n);(s||(s=[])).push(new ml(v,d.from,S?null:d.to))}}return s}function My(e,n,l){var s;if(e)for(var a=0;a<e.length;++a){var d=e[a],v=d.marker,y=d.to==null||(v.inclusiveRight?d.to>=n:d.to>n);if(y||d.from==n&&v.type=="bookmark"&&(!l||d.marker.insertLeft)){var S=d.from==null||(v.inclusiveLeft?d.from<=n:d.from<n);(s||(s=[])).push(new ml(v,S?null:d.from-n,d.to==null?null:d.to-n))}}return s}function hu(e,n){if(n.full)return null;var l=_n(e,n.from.line)&&Ne(e,n.from.line).markedSpans,s=_n(e,n.to.line)&&Ne(e,n.to.line).markedSpans;if(!l&&!s)return null;var a=n.from.ch,d=n.to.ch,v=T(n.from,n.to)==0,y=Py(l,a,v),S=My(s,d,v),C=n.text.length==1,A=Z(n.text).length+(C?a:0);if(y)for(var R=0;R<y.length;++R){var X=y[R];if(X.to==null){var V=Vo(S,X.marker);V?C&&(X.to=V.to==null?null:V.to+A):X.to=a}}if(S)for(var ne=0;ne<S.length;++ne){var ce=S[ne];if(ce.to!=null&&(ce.to+=A),ce.from==null){var Se=Vo(y,ce.marker);Se||(ce.from=A,C&&(y||(y=[])).push(ce))}else ce.from+=A,C&&(y||(y=[])).push(ce)}y&&(y=Sd(y)),S&&S!=y&&(S=Sd(S));var Te=[y];if(!C){var Pe=n.text.length-2,Ee;if(Pe>0&&y)for(var Ae=0;Ae<y.length;++Ae)y[Ae].to==null&&(Ee||(Ee=[])).push(new ml(y[Ae].marker,null,null));for(var Be=0;Be<Pe;++Be)Te.push(Ee);Te.push(S)}return Te}function Sd(e){for(var n=0;n<e.length;++n){var l=e[n];l.from!=null&&l.from==l.to&&l.marker.clearWhenEmpty!==!1&&e.splice(n--,1)}return e.length?e:null}function Ay(e,n,l){var s=null;if(e.iter(n.line,l.line+1,function(V){if(V.markedSpans)for(var ne=0;ne<V.markedSpans.length;++ne){var ce=V.markedSpans[ne].marker;ce.readOnly&&(!s||se(s,ce)==-1)&&(s||(s=[])).push(ce)}}),!s)return null;for(var a=[{from:n,to:l}],d=0;d<s.length;++d)for(var v=s[d],y=v.find(0),S=0;S<a.length;++S){var C=a[S];if(!(T(C.to,y.from)<0||T(C.from,y.to)>0)){var A=[S,1],R=T(C.from,y.from),X=T(C.to,y.to);(R<0||!v.inclusiveLeft&&!R)&&A.push({from:C.from,to:y.from}),(X>0||!v.inclusiveRight&&!X)&&A.push({from:y.to,to:C.to}),a.splice.apply(a,A),S+=A.length-3}}return a}function xd(e){var n=e.markedSpans;if(!!n){for(var l=0;l<n.length;++l)n[l].marker.detachLine(e);e.markedSpans=null}}function wd(e,n){if(!!n){for(var l=0;l<n.length;++l)n[l].marker.attachLine(e);e.markedSpans=n}}function yl(e){return e.inclusiveLeft?-1:0}function bl(e){return e.inclusiveRight?1:0}function pu(e,n){var l=e.lines.length-n.lines.length;if(l!=0)return l;var s=e.find(),a=n.find(),d=T(s.from,a.from)||yl(e)-yl(n);if(d)return-d;var v=T(s.to,a.to)||bl(e)-bl(n);return v||n.id-e.id}function Cd(e,n){var l=sn&&e.markedSpans,s;if(l)for(var a=void 0,d=0;d<l.length;++d)a=l[d],a.marker.collapsed&&(n?a.from:a.to)==null&&(!s||pu(s,a.marker)<0)&&(s=a.marker);return s}function Td(e){return Cd(e,!0)}function Sl(e){return Cd(e,!1)}function Ly(e,n){var l=sn&&e.markedSpans,s;if(l)for(var a=0;a<l.length;++a){var d=l[a];d.marker.collapsed&&(d.from==null||d.from<n)&&(d.to==null||d.to>n)&&(!s||pu(s,d.marker)<0)&&(s=d.marker)}return s}function Ed(e,n,l,s,a){var d=Ne(e,n),v=sn&&d.markedSpans;if(v)for(var y=0;y<v.length;++y){var S=v[y];if(!!S.marker.collapsed){var C=S.marker.find(0),A=T(C.from,l)||yl(S.marker)-yl(a),R=T(C.to,s)||bl(S.marker)-bl(a);if(!(A>=0&&R<=0||A<=0&&R>=0)&&(A<=0&&(S.marker.inclusiveRight&&a.inclusiveLeft?T(C.to,l)>=0:T(C.to,l)>0)||A>=0&&(S.marker.inclusiveRight&&a.inclusiveLeft?T(C.from,s)<=0:T(C.from,s)<0)))return!0}}}function Yr(e){for(var n;n=Td(e);)e=n.find(-1,!0).line;return e}function Ny(e){for(var n;n=Sl(e);)e=n.find(1,!0).line;return e}function Iy(e){for(var n,l;n=Sl(e);)e=n.find(1,!0).line,(l||(l=[])).push(e);return l}function gu(e,n){var l=Ne(e,n),s=Yr(l);return l==s?n:it(s)}function Od(e,n){if(n>e.lastLine())return n;var l=Ne(e,n),s;if(!Cn(e,l))return n;for(;s=Sl(l);)l=s.find(1,!0).line;return it(l)+1}function Cn(e,n){var l=sn&&n.markedSpans;if(l){for(var s=void 0,a=0;a<l.length;++a)if(s=l[a],!!s.marker.collapsed){if(s.from==null)return!0;if(!s.marker.widgetNode&&s.from==0&&s.marker.inclusiveLeft&&vu(e,n,s))return!0}}}function vu(e,n,l){if(l.to==null){var s=l.marker.find(1,!0);return vu(e,s.line,Vo(s.line.markedSpans,l.marker))}if(l.marker.inclusiveRight&&l.to==n.text.length)return!0;for(var a=void 0,d=0;d<n.markedSpans.length;++d)if(a=n.markedSpans[d],a.marker.collapsed&&!a.marker.widgetNode&&a.from==l.to&&(a.to==null||a.to!=l.from)&&(a.marker.inclusiveLeft||l.marker.inclusiveRight)&&vu(e,n,a))return!0}function ln(e){e=Yr(e);for(var n=0,l=e.parent,s=0;s<l.lines.length;++s){var a=l.lines[s];if(a==e)break;n+=a.height}for(var d=l.parent;d;l=d,d=l.parent)for(var v=0;v<d.children.length;++v){var y=d.children[v];if(y==l)break;n+=y.height}return n}function xl(e){if(e.height==0)return 0;for(var n=e.text.length,l,s=e;l=Td(s);){var a=l.find(0,!0);s=a.from.line,n+=a.from.ch-a.to.ch}for(s=e;l=Sl(s);){var d=l.find(0,!0);n-=s.text.length-d.from.ch,s=d.to.line,n+=s.text.length-d.to.ch}return n}function mu(e){var n=e.display,l=e.doc;n.maxLine=Ne(l,l.first),n.maxLineLength=xl(n.maxLine),n.maxLineChanged=!0,l.iter(function(s){var a=xl(s);a>n.maxLineLength&&(n.maxLineLength=a,n.maxLine=s)})}var Hi=function(e,n,l){this.text=e,wd(this,n),this.height=l?l(this):1};Hi.prototype.lineNo=function(){return it(this)},fr(Hi);function Ry(e,n,l,s){e.text=n,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),xd(e),wd(e,l);var a=s?s(e):1;a!=e.height&&cr(e,a)}function Dy(e){e.parent=null,xd(e)}var Fy={},zy={};function kd(e,n){if(!e||/^\s*$/.test(e))return null;var l=n.addModeClass?zy:Fy;return l[e]||(l[e]=e.replace(/\S+/g,"cm-$&"))}function Pd(e,n){var l=w("span",null,null,m?"padding-right: .1px":null),s={pre:w("pre",[l],"CodeMirror-line"),content:l,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};n.measure={};for(var a=0;a<=(n.rest?n.rest.length:0);a++){var d=a?n.rest[a-1]:n.line,v=void 0;s.pos=0,s.addToken=By,Ur(e.display.measure)&&(v=vt(d,e.doc.direction))&&(s.addToken=jy(s.addToken,v)),s.map=[];var y=n!=e.display.externalMeasured&&it(d);Ky(d,s,hd(e,d,y)),d.styleClasses&&(d.styleClasses.bgClass&&(s.bgClass=he(d.styleClasses.bgClass,s.bgClass||"")),d.styleClasses.textClass&&(s.textClass=he(d.styleClasses.textClass,s.textClass||""))),s.map.length==0&&s.map.push(0,0,s.content.appendChild(hl(e.display.measure))),a==0?(n.measure.map=s.map,n.measure.cache={}):((n.measure.maps||(n.measure.maps=[])).push(s.map),(n.measure.caches||(n.measure.caches=[])).push({}))}if(m){var S=s.content.lastChild;(/\bcm-tab\b/.test(S.className)||S.querySelector&&S.querySelector(".cm-tab"))&&(s.content.className="cm-tab-wrap-hack")}return ge(e,"renderLine",e,n.line,s.pre),s.pre.className&&(s.textClass=he(s.pre.className,s.textClass||"")),s}function Hy(e){var n=k("span","\u2022","cm-invalidchar");return n.title="\\u"+e.charCodeAt(0).toString(16),n.setAttribute("aria-label",n.title),n}function By(e,n,l,s,a,d,v){if(!!n){var y=e.splitSpaces?Wy(n,e.trailingSpace):n,S=e.cm.state.specialChars,C=!1,A;if(!S.test(n))e.col+=n.length,A=document.createTextNode(y),e.map.push(e.pos,e.pos+n.length,A),h&&g<9&&(C=!0),e.pos+=n.length;else{A=document.createDocumentFragment();for(var R=0;;){S.lastIndex=R;var X=S.exec(n),V=X?X.index-R:n.length-R;if(V){var ne=document.createTextNode(y.slice(R,R+V));h&&g<9?A.appendChild(k("span",[ne])):A.appendChild(ne),e.map.push(e.pos,e.pos+V,ne),e.col+=V,e.pos+=V}if(!X)break;R+=V+1;var ce=void 0;if(X[0]==" "){var Se=e.cm.options.tabSize,Te=Se-e.col%Se;ce=A.appendChild(k("span",$(Te),"cm-tab")),ce.setAttribute("role","presentation"),ce.setAttribute("cm-text"," "),e.col+=Te}else X[0]=="\r"||X[0]==`
9
+ `?(ce=A.appendChild(k("span",X[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),ce.setAttribute("cm-text",X[0]),e.col+=1):(ce=e.cm.options.specialCharPlaceholder(X[0]),ce.setAttribute("cm-text",X[0]),h&&g<9?A.appendChild(k("span",[ce])):A.appendChild(ce),e.col+=1);e.map.push(e.pos,e.pos+1,ce),e.pos++}}if(e.trailingSpace=y.charCodeAt(n.length-1)==32,l||s||a||C||d||v){var Pe=l||"";s&&(Pe+=s),a&&(Pe+=a);var Ee=k("span",[A],Pe,d);if(v)for(var Ae in v)v.hasOwnProperty(Ae)&&Ae!="style"&&Ae!="class"&&Ee.setAttribute(Ae,v[Ae]);return e.content.appendChild(Ee)}e.content.appendChild(A)}}function Wy(e,n){if(e.length>1&&!/ /.test(e))return e;for(var l=n,s="",a=0;a<e.length;a++){var d=e.charAt(a);d==" "&&l&&(a==e.length-1||e.charCodeAt(a+1)==32)&&(d="\xA0"),s+=d,l=d==" "}return s}function jy(e,n){return function(l,s,a,d,v,y,S){a=a?a+" cm-force-border":"cm-force-border";for(var C=l.pos,A=C+s.length;;){for(var R=void 0,X=0;X<n.length&&(R=n[X],!(R.to>C&&R.from<=C));X++);if(R.to>=A)return e(l,s,a,d,v,y,S);e(l,s.slice(0,R.to-C),a,d,null,y,S),d=null,s=s.slice(R.to-C),C=R.to}}}function Md(e,n,l,s){var a=!s&&l.widgetNode;a&&e.map.push(e.pos,e.pos+n,a),!s&&e.cm.display.input.needsContentAttribute&&(a||(a=e.content.appendChild(document.createElement("span"))),a.setAttribute("cm-marker",l.id)),a&&(e.cm.display.input.setUneditable(a),e.content.appendChild(a)),e.pos+=n,e.trailingSpace=!1}function Ky(e,n,l){var s=e.markedSpans,a=e.text,d=0;if(!s){for(var v=1;v<l.length;v+=2)n.addToken(n,a.slice(d,d=l[v]),kd(l[v+1],n.cm.options));return}for(var y=a.length,S=0,C=1,A="",R,X,V=0,ne,ce,Se,Te,Pe;;){if(V==S){ne=ce=Se=X="",Pe=null,Te=null,V=1/0;for(var Ee=[],Ae=void 0,Be=0;Be<s.length;++Be){var ze=s[Be],Qe=ze.marker;if(Qe.type=="bookmark"&&ze.from==S&&Qe.widgetNode)Ee.push(Qe);else if(ze.from<=S&&(ze.to==null||ze.to>S||Qe.collapsed&&ze.to==S&&ze.from==S)){if(ze.to!=null&&ze.to!=S&&V>ze.to&&(V=ze.to,ce=""),Qe.className&&(ne+=" "+Qe.className),Qe.css&&(X=(X?X+";":"")+Qe.css),Qe.startStyle&&ze.from==S&&(Se+=" "+Qe.startStyle),Qe.endStyle&&ze.to==V&&(Ae||(Ae=[])).push(Qe.endStyle,ze.to),Qe.title&&((Pe||(Pe={})).title=Qe.title),Qe.attributes)for(var ct in Qe.attributes)(Pe||(Pe={}))[ct]=Qe.attributes[ct];Qe.collapsed&&(!Te||pu(Te.marker,Qe)<0)&&(Te=ze)}else ze.from>S&&V>ze.from&&(V=ze.from)}if(Ae)for(var Rt=0;Rt<Ae.length;Rt+=2)Ae[Rt+1]==V&&(ce+=" "+Ae[Rt]);if(!Te||Te.from==S)for(var mt=0;mt<Ee.length;++mt)Md(n,0,Ee[mt]);if(Te&&(Te.from||0)==S){if(Md(n,(Te.to==null?y+1:Te.to)-S,Te.marker,Te.from==null),Te.to==null)return;Te.to==S&&(Te=!1)}}if(S>=y)break;for(var hr=Math.min(y,V);;){if(A){var rr=S+A.length;if(!Te){var Tt=rr>hr?A.slice(0,hr-S):A;n.addToken(n,Tt,R?R+ne:ne,Se,S+Tt.length==V?ce:"",X,Pe)}if(rr>=hr){A=A.slice(hr-S),S=hr;break}S=rr,Se=""}A=a.slice(d,d=l[C++]),R=kd(l[C++],n.cm.options)}}}function Ad(e,n,l){this.line=n,this.rest=Iy(n),this.size=this.rest?it(Z(this.rest))-l+1:1,this.node=this.text=null,this.hidden=Cn(e,n)}function wl(e,n,l){for(var s=[],a,d=n;d<l;d=a){var v=new Ad(e.doc,Ne(e.doc,d),d);a=d+v.size,s.push(v)}return s}var Bi=null;function Uy(e){Bi?Bi.ops.push(e):e.ownsGroup=Bi={ops:[e],delayedCallbacks:[]}}function $y(e){var n=e.delayedCallbacks,l=0;do{for(;l<n.length;l++)n[l].call(null);for(var s=0;s<e.ops.length;s++){var a=e.ops[s];if(a.cursorActivityHandlers)for(;a.cursorActivityCalled<a.cursorActivityHandlers.length;)a.cursorActivityHandlers[a.cursorActivityCalled++].call(null,a.cm)}}while(l<n.length)}function Vy(e,n){var l=e.ownsGroup;if(!!l)try{$y(l)}finally{Bi=null,n(l)}}var Go=null;function Lt(e,n){var l=Ge(e,n);if(!!l.length){var s=Array.prototype.slice.call(arguments,2),a;Bi?a=Bi.delayedCallbacks:Go?a=Go:(a=Go=[],setTimeout(Gy,0));for(var d=function(y){a.push(function(){return l[y].apply(null,s)})},v=0;v<l.length;++v)d(v)}}function Gy(){var e=Go;Go=null;for(var n=0;n<e.length;++n)e[n]()}function Ld(e,n,l,s){for(var a=0;a<n.changes.length;a++){var d=n.changes[a];d=="text"?Xy(e,n):d=="gutter"?Id(e,n,l,s):d=="class"?yu(e,n):d=="widget"&&Jy(e,n,s)}n.changes=null}function Yo(e){return e.node==e.text&&(e.node=k("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),h&&g<8&&(e.node.style.zIndex=2)),e.node}function Yy(e,n){var l=n.bgClass?n.bgClass+" "+(n.line.bgClass||""):n.line.bgClass;if(l&&(l+=" CodeMirror-linebackground"),n.background)l?n.background.className=l:(n.background.parentNode.removeChild(n.background),n.background=null);else if(l){var s=Yo(n);n.background=s.insertBefore(k("div",null,l),s.firstChild),e.display.input.setUneditable(n.background)}}function Nd(e,n){var l=e.display.externalMeasured;return l&&l.line==n.line?(e.display.externalMeasured=null,n.measure=l.measure,l.built):Pd(e,n)}function Xy(e,n){var l=n.text.className,s=Nd(e,n);n.text==n.node&&(n.node=s.pre),n.text.parentNode.replaceChild(s.pre,n.text),n.text=s.pre,s.bgClass!=n.bgClass||s.textClass!=n.textClass?(n.bgClass=s.bgClass,n.textClass=s.textClass,yu(e,n)):l&&(n.text.className=l)}function yu(e,n){Yy(e,n),n.line.wrapClass?Yo(n).className=n.line.wrapClass:n.node!=n.text&&(n.node.className="");var l=n.textClass?n.textClass+" "+(n.line.textClass||""):n.line.textClass;n.text.className=l||""}function Id(e,n,l,s){if(n.gutter&&(n.node.removeChild(n.gutter),n.gutter=null),n.gutterBackground&&(n.node.removeChild(n.gutterBackground),n.gutterBackground=null),n.line.gutterClass){var a=Yo(n);n.gutterBackground=k("div",null,"CodeMirror-gutter-background "+n.line.gutterClass,"left: "+(e.options.fixedGutter?s.fixedPos:-s.gutterTotalWidth)+"px; width: "+s.gutterTotalWidth+"px"),e.display.input.setUneditable(n.gutterBackground),a.insertBefore(n.gutterBackground,n.text)}var d=n.line.gutterMarkers;if(e.options.lineNumbers||d){var v=Yo(n),y=n.gutter=k("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?s.fixedPos:-s.gutterTotalWidth)+"px");if(y.setAttribute("aria-hidden","true"),e.display.input.setUneditable(y),v.insertBefore(y,n.text),n.line.gutterClass&&(y.className+=" "+n.line.gutterClass),e.options.lineNumbers&&(!d||!d["CodeMirror-linenumbers"])&&(n.lineNumber=y.appendChild(k("div",Uo(e.options,l),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+s.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),d)for(var S=0;S<e.display.gutterSpecs.length;++S){var C=e.display.gutterSpecs[S].className,A=d.hasOwnProperty(C)&&d[C];A&&y.appendChild(k("div",[A],"CodeMirror-gutter-elt","left: "+s.gutterLeft[C]+"px; width: "+s.gutterWidth[C]+"px"))}}}function Jy(e,n,l){n.alignable&&(n.alignable=null);for(var s=te("CodeMirror-linewidget"),a=n.node.firstChild,d=void 0;a;a=d)d=a.nextSibling,s.test(a.className)&&n.node.removeChild(a);Rd(e,n,l)}function Zy(e,n,l,s){var a=Nd(e,n);return n.text=n.node=a.pre,a.bgClass&&(n.bgClass=a.bgClass),a.textClass&&(n.textClass=a.textClass),yu(e,n),Id(e,n,l,s),Rd(e,n,s),n.node}function Rd(e,n,l){if(Dd(e,n.line,n,l,!0),n.rest)for(var s=0;s<n.rest.length;s++)Dd(e,n.rest[s],n,l,!1)}function Dd(e,n,l,s,a){if(!!n.widgets)for(var d=Yo(l),v=0,y=n.widgets;v<y.length;++v){var S=y[v],C=k("div",[S.node],"CodeMirror-linewidget"+(S.className?" "+S.className:""));S.handleMouseEvents||C.setAttribute("cm-ignore-events","true"),Qy(S,C,l,s),e.display.input.setUneditable(C),a&&S.above?d.insertBefore(C,l.gutter||l.text):d.appendChild(C),Lt(S,"redraw")}}function Qy(e,n,l,s){if(e.noHScroll){(l.alignable||(l.alignable=[])).push(n);var a=s.wrapperWidth;n.style.left=s.fixedPos+"px",e.coverGutter||(a-=s.gutterTotalWidth,n.style.paddingLeft=s.gutterTotalWidth+"px"),n.style.width=a+"px"}e.coverGutter&&(n.style.zIndex=5,n.style.position="relative",e.noHScroll||(n.style.marginLeft=-s.gutterTotalWidth+"px"))}function Xo(e){if(e.height!=null)return e.height;var n=e.doc.cm;if(!n)return 0;if(!W(document.body,e.node)){var l="position: relative;";e.coverGutter&&(l+="margin-left: -"+n.display.gutters.offsetWidth+"px;"),e.noHScroll&&(l+="width: "+n.display.wrapper.clientWidth+"px;"),O(n.display.measure,k("div",[e.node],null,l))}return e.height=e.node.parentNode.offsetHeight}function an(e,n){for(var l=xn(n);l!=e.wrapper;l=l.parentNode)if(!l||l.nodeType==1&&l.getAttribute("cm-ignore-events")=="true"||l.parentNode==e.sizer&&l!=e.mover)return!0}function Cl(e){return e.lineSpace.offsetTop}function bu(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Fd(e){if(e.cachedPaddingH)return e.cachedPaddingH;var n=O(e.measure,k("pre","x","CodeMirror-line-like")),l=window.getComputedStyle?window.getComputedStyle(n):n.currentStyle,s={left:parseInt(l.paddingLeft),right:parseInt(l.paddingRight)};return!isNaN(s.left)&&!isNaN(s.right)&&(e.cachedPaddingH=s),s}function Xr(e){return le-e.display.nativeBarWidth}function ei(e){return e.display.scroller.clientWidth-Xr(e)-e.display.barWidth}function Su(e){return e.display.scroller.clientHeight-Xr(e)-e.display.barHeight}function qy(e,n,l){var s=e.options.lineWrapping,a=s&&ei(e);if(!n.measure.heights||s&&n.measure.width!=a){var d=n.measure.heights=[];if(s){n.measure.width=a;for(var v=n.text.firstChild.getClientRects(),y=0;y<v.length-1;y++){var S=v[y],C=v[y+1];Math.abs(S.bottom-C.bottom)>2&&d.push((S.bottom+C.top)/2-l.top)}}d.push(l.bottom-l.top)}}function zd(e,n,l){if(e.line==n)return{map:e.measure.map,cache:e.measure.cache};if(e.rest){for(var s=0;s<e.rest.length;s++)if(e.rest[s]==n)return{map:e.measure.maps[s],cache:e.measure.caches[s]};for(var a=0;a<e.rest.length;a++)if(it(e.rest[a])>l)return{map:e.measure.maps[a],cache:e.measure.caches[a],before:!0}}}function _y(e,n){n=Yr(n);var l=it(n),s=e.display.externalMeasured=new Ad(e.doc,n,l);s.lineN=l;var a=s.built=Pd(e,s);return s.text=a.pre,O(e.display.lineMeasure,a.pre),s}function Hd(e,n,l,s){return Jr(e,Wi(e,n),l,s)}function xu(e,n){if(n>=e.display.viewFrom&&n<e.display.viewTo)return e.display.view[ni(e,n)];var l=e.display.externalMeasured;if(l&&n>=l.lineN&&n<l.lineN+l.size)return l}function Wi(e,n){var l=it(n),s=xu(e,l);s&&!s.text?s=null:s&&s.changes&&(Ld(e,s,l,Ou(e)),e.curOp.forceUpdate=!0),s||(s=_y(e,n));var a=zd(s,n,l);return{line:n,view:s,rect:null,map:a.map,cache:a.cache,before:a.before,hasHeights:!1}}function Jr(e,n,l,s,a){n.before&&(l=-1);var d=l+(s||""),v;return n.cache.hasOwnProperty(d)?v=n.cache[d]:(n.rect||(n.rect=n.view.text.getBoundingClientRect()),n.hasHeights||(qy(e,n.view,n.rect),n.hasHeights=!0),v=t0(e,n,l,s),v.bogus||(n.cache[d]=v)),{left:v.left,right:v.right,top:a?v.rtop:v.top,bottom:a?v.rbottom:v.bottom}}var Bd={left:0,right:0,top:0,bottom:0};function Wd(e,n,l){for(var s,a,d,v,y,S,C=0;C<e.length;C+=3)if(y=e[C],S=e[C+1],n<y?(a=0,d=1,v="left"):n<S?(a=n-y,d=a+1):(C==e.length-3||n==S&&e[C+3]>n)&&(d=S-y,a=d-1,n>=S&&(v="right")),a!=null){if(s=e[C+2],y==S&&l==(s.insertLeft?"left":"right")&&(v=l),l=="left"&&a==0)for(;C&&e[C-2]==e[C-3]&&e[C-1].insertLeft;)s=e[(C-=3)+2],v="left";if(l=="right"&&a==S-y)for(;C<e.length-3&&e[C+3]==e[C+4]&&!e[C+5].insertLeft;)s=e[(C+=3)+2],v="right";break}return{node:s,start:a,end:d,collapse:v,coverStart:y,coverEnd:S}}function e0(e,n){var l=Bd;if(n=="left")for(var s=0;s<e.length&&(l=e[s]).left==l.right;s++);else for(var a=e.length-1;a>=0&&(l=e[a]).left==l.right;a--);return l}function t0(e,n,l,s){var a=Wd(n.map,l,s),d=a.node,v=a.start,y=a.end,S=a.collapse,C;if(d.nodeType==3){for(var A=0;A<4;A++){for(;v&&we(n.line.text.charAt(a.coverStart+v));)--v;for(;a.coverStart+y<a.coverEnd&&we(n.line.text.charAt(a.coverStart+y));)++y;if(h&&g<9&&v==0&&y==a.coverEnd-a.coverStart?C=d.parentNode.getBoundingClientRect():C=e0(j(d,v,y).getClientRects(),s),C.left||C.right||v==0)break;y=v,v=v-1,S="right"}h&&g<11&&(C=r0(e.display.measure,C))}else{v>0&&(S=s="right");var R;e.options.lineWrapping&&(R=d.getClientRects()).length>1?C=R[s=="right"?R.length-1:0]:C=d.getBoundingClientRect()}if(h&&g<9&&!v&&(!C||!C.left&&!C.right)){var X=d.parentNode.getClientRects()[0];X?C={left:X.left,right:X.left+Ki(e.display),top:X.top,bottom:X.bottom}:C=Bd}for(var V=C.top-n.rect.top,ne=C.bottom-n.rect.top,ce=(V+ne)/2,Se=n.view.measure.heights,Te=0;Te<Se.length-1&&!(ce<Se[Te]);Te++);var Pe=Te?Se[Te-1]:0,Ee=Se[Te],Ae={left:(S=="right"?C.right:C.left)-n.rect.left,right:(S=="left"?C.left:C.right)-n.rect.left,top:Pe,bottom:Ee};return!C.left&&!C.right&&(Ae.bogus=!0),e.options.singleCursorHeightPerLine||(Ae.rtop=V,Ae.rbottom=ne),Ae}function r0(e,n){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!wn(e))return n;var l=screen.logicalXDPI/screen.deviceXDPI,s=screen.logicalYDPI/screen.deviceYDPI;return{left:n.left*l,right:n.right*l,top:n.top*s,bottom:n.bottom*s}}function jd(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var n=0;n<e.rest.length;n++)e.measure.caches[n]={}}function Kd(e){e.display.externalMeasure=null,_(e.display.lineMeasure);for(var n=0;n<e.display.view.length;n++)jd(e.display.view[n])}function Jo(e){Kd(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function Ud(){return x&&M?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function $d(){return x&&M?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function wu(e){var n=0;if(e.widgets)for(var l=0;l<e.widgets.length;++l)e.widgets[l].above&&(n+=Xo(e.widgets[l]));return n}function Tl(e,n,l,s,a){if(!a){var d=wu(n);l.top+=d,l.bottom+=d}if(s=="line")return l;s||(s="local");var v=ln(n);if(s=="local"?v+=Cl(e.display):v-=e.display.viewOffset,s=="page"||s=="window"){var y=e.display.lineSpace.getBoundingClientRect();v+=y.top+(s=="window"?0:$d());var S=y.left+(s=="window"?0:Ud());l.left+=S,l.right+=S}return l.top+=v,l.bottom+=v,l}function Vd(e,n,l){if(l=="div")return n;var s=n.left,a=n.top;if(l=="page")s-=Ud(),a-=$d();else if(l=="local"||!l){var d=e.display.sizer.getBoundingClientRect();s+=d.left,a+=d.top}var v=e.display.lineSpace.getBoundingClientRect();return{left:s-v.left,top:a-v.top}}function El(e,n,l,s,a){return s||(s=Ne(e.doc,n.line)),Tl(e,s,Hd(e,s,n.ch,a),l)}function zr(e,n,l,s,a,d){s=s||Ne(e.doc,n.line),a||(a=Wi(e,s));function v(ne,ce){var Se=Jr(e,a,ne,ce?"right":"left",d);return ce?Se.left=Se.right:Se.right=Se.left,Tl(e,s,Se,l)}var y=vt(s,e.doc.direction),S=n.ch,C=n.sticky;if(S>=s.text.length?(S=s.text.length,C="before"):S<=0&&(S=0,C="after"),!y)return v(C=="before"?S-1:S,C=="before");function A(ne,ce,Se){var Te=y[ce],Pe=Te.level==1;return v(Se?ne-1:ne,Pe!=Se)}var R=Ue(y,S,C),X=Je,V=A(S,R,C=="before");return X!=null&&(V.other=A(S,X,C!="before")),V}function Gd(e,n){var l=0;n=Me(e.doc,n),e.options.lineWrapping||(l=Ki(e.display)*n.ch);var s=Ne(e.doc,n.line),a=ln(s)+Cl(e.display);return{left:l,right:l,top:a,bottom:a+s.height}}function Cu(e,n,l,s,a){var d=pe(e,n,l);return d.xRel=a,s&&(d.outside=s),d}function Tu(e,n,l){var s=e.doc;if(l+=e.display.viewOffset,l<0)return Cu(s.first,0,null,-1,-1);var a=Vr(s,l),d=s.first+s.size-1;if(a>d)return Cu(s.first+s.size-1,Ne(s,d).text.length,null,1,1);n<0&&(n=0);for(var v=Ne(s,a);;){var y=n0(e,v,a,n,l),S=Ly(v,y.ch+(y.xRel>0||y.outside>0?1:0));if(!S)return y;var C=S.find(1);if(C.line==a)return C;v=Ne(s,a=C.line)}}function Yd(e,n,l,s){s-=wu(n);var a=n.text.length,d=Ve(function(v){return Jr(e,l,v-1).bottom<=s},a,0);return a=Ve(function(v){return Jr(e,l,v).top>s},d,a),{begin:d,end:a}}function Xd(e,n,l,s){l||(l=Wi(e,n));var a=Tl(e,n,Jr(e,l,s),"line").top;return Yd(e,n,l,a)}function Eu(e,n,l,s){return e.bottom<=l?!1:e.top>l?!0:(s?e.left:e.right)>n}function n0(e,n,l,s,a){a-=ln(n);var d=Wi(e,n),v=wu(n),y=0,S=n.text.length,C=!0,A=vt(n,e.doc.direction);if(A){var R=(e.options.lineWrapping?o0:i0)(e,n,l,d,A,s,a);C=R.level!=1,y=C?R.from:R.to-1,S=C?R.to:R.from-1}var X=null,V=null,ne=Ve(function(Be){var ze=Jr(e,d,Be);return ze.top+=v,ze.bottom+=v,Eu(ze,s,a,!1)?(ze.top<=a&&ze.left<=s&&(X=Be,V=ze),!0):!1},y,S),ce,Se,Te=!1;if(V){var Pe=s-V.left<V.right-s,Ee=Pe==C;ne=X+(Ee?0:1),Se=Ee?"after":"before",ce=Pe?V.left:V.right}else{!C&&(ne==S||ne==y)&&ne++,Se=ne==0?"after":ne==n.text.length?"before":Jr(e,d,ne-(C?1:0)).bottom+v<=a==C?"after":"before";var Ae=zr(e,pe(l,ne,Se),"line",n,d);ce=Ae.left,Te=a<Ae.top?-1:a>=Ae.bottom?1:0}return ne=Re(n.text,ne,1),Cu(l,ne,Se,Te,s-ce)}function i0(e,n,l,s,a,d,v){var y=Ve(function(R){var X=a[R],V=X.level!=1;return Eu(zr(e,pe(l,V?X.to:X.from,V?"before":"after"),"line",n,s),d,v,!0)},0,a.length-1),S=a[y];if(y>0){var C=S.level!=1,A=zr(e,pe(l,C?S.from:S.to,C?"after":"before"),"line",n,s);Eu(A,d,v,!0)&&A.top>v&&(S=a[y-1])}return S}function o0(e,n,l,s,a,d,v){var y=Yd(e,n,s,v),S=y.begin,C=y.end;/\s/.test(n.text.charAt(C-1))&&C--;for(var A=null,R=null,X=0;X<a.length;X++){var V=a[X];if(!(V.from>=C||V.to<=S)){var ne=V.level!=1,ce=Jr(e,s,ne?Math.min(C,V.to)-1:Math.max(S,V.from)).right,Se=ce<d?d-ce+1e9:ce-d;(!A||R>Se)&&(A=V,R=Se)}}return A||(A=a[a.length-1]),A.from<S&&(A={from:S,to:A.to,level:A.level}),A.to>C&&(A={from:A.from,to:C,level:A.level}),A}var ti;function ji(e){if(e.cachedTextHeight!=null)return e.cachedTextHeight;if(ti==null){ti=k("pre",null,"CodeMirror-line-like");for(var n=0;n<49;++n)ti.appendChild(document.createTextNode("x")),ti.appendChild(k("br"));ti.appendChild(document.createTextNode("x"))}O(e.measure,ti);var l=ti.offsetHeight/50;return l>3&&(e.cachedTextHeight=l),_(e.measure),l||1}function Ki(e){if(e.cachedCharWidth!=null)return e.cachedCharWidth;var n=k("span","xxxxxxxxxx"),l=k("pre",[n],"CodeMirror-line-like");O(e.measure,l);var s=n.getBoundingClientRect(),a=(s.right-s.left)/10;return a>2&&(e.cachedCharWidth=a),a||10}function Ou(e){for(var n=e.display,l={},s={},a=n.gutters.clientLeft,d=n.gutters.firstChild,v=0;d;d=d.nextSibling,++v){var y=e.display.gutterSpecs[v].className;l[y]=d.offsetLeft+d.clientLeft+a,s[y]=d.clientWidth}return{fixedPos:ku(n),gutterTotalWidth:n.gutters.offsetWidth,gutterLeft:l,gutterWidth:s,wrapperWidth:n.wrapper.clientWidth}}function ku(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Jd(e){var n=ji(e.display),l=e.options.lineWrapping,s=l&&Math.max(5,e.display.scroller.clientWidth/Ki(e.display)-3);return function(a){if(Cn(e.doc,a))return 0;var d=0;if(a.widgets)for(var v=0;v<a.widgets.length;v++)a.widgets[v].height&&(d+=a.widgets[v].height);return l?d+(Math.ceil(a.text.length/s)||1)*n:d+n}}function Pu(e){var n=e.doc,l=Jd(e);n.iter(function(s){var a=l(s);a!=s.height&&cr(s,a)})}function ri(e,n,l,s){var a=e.display;if(!l&&xn(n).getAttribute("cm-not-content")=="true")return null;var d,v,y=a.lineSpace.getBoundingClientRect();try{d=n.clientX-y.left,v=n.clientY-y.top}catch{return null}var S=Tu(e,d,v),C;if(s&&S.xRel>0&&(C=Ne(e.doc,S.line).text).length==S.ch){var A=Xe(C,C.length,e.options.tabSize)-C.length;S=pe(S.line,Math.max(0,Math.round((d-Fd(e.display).left)/Ki(e.display))-A))}return S}function ni(e,n){if(n>=e.display.viewTo||(n-=e.display.viewFrom,n<0))return null;for(var l=e.display.view,s=0;s<l.length;s++)if(n-=l[s].size,n<0)return s}function er(e,n,l,s){n==null&&(n=e.doc.first),l==null&&(l=e.doc.first+e.doc.size),s||(s=0);var a=e.display;if(s&&l<a.viewTo&&(a.updateLineNumbers==null||a.updateLineNumbers>n)&&(a.updateLineNumbers=n),e.curOp.viewChanged=!0,n>=a.viewTo)sn&&gu(e.doc,n)<a.viewTo&&En(e);else if(l<=a.viewFrom)sn&&Od(e.doc,l+s)>a.viewFrom?En(e):(a.viewFrom+=s,a.viewTo+=s);else if(n<=a.viewFrom&&l>=a.viewTo)En(e);else if(n<=a.viewFrom){var d=Ol(e,l,l+s,1);d?(a.view=a.view.slice(d.index),a.viewFrom=d.lineN,a.viewTo+=s):En(e)}else if(l>=a.viewTo){var v=Ol(e,n,n,-1);v?(a.view=a.view.slice(0,v.index),a.viewTo=v.lineN):En(e)}else{var y=Ol(e,n,n,-1),S=Ol(e,l,l+s,1);y&&S?(a.view=a.view.slice(0,y.index).concat(wl(e,y.lineN,S.lineN)).concat(a.view.slice(S.index)),a.viewTo+=s):En(e)}var C=a.externalMeasured;C&&(l<C.lineN?C.lineN+=s:n<C.lineN+C.size&&(a.externalMeasured=null))}function Tn(e,n,l){e.curOp.viewChanged=!0;var s=e.display,a=e.display.externalMeasured;if(a&&n>=a.lineN&&n<a.lineN+a.size&&(s.externalMeasured=null),!(n<s.viewFrom||n>=s.viewTo)){var d=s.view[ni(e,n)];if(d.node!=null){var v=d.changes||(d.changes=[]);se(v,l)==-1&&v.push(l)}}}function En(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Ol(e,n,l,s){var a=ni(e,n),d,v=e.display.view;if(!sn||l==e.doc.first+e.doc.size)return{index:a,lineN:l};for(var y=e.display.viewFrom,S=0;S<a;S++)y+=v[S].size;if(y!=n){if(s>0){if(a==v.length-1)return null;d=y+v[a].size-n,a++}else d=y-n;n+=d,l+=d}for(;gu(e.doc,l)!=l;){if(a==(s<0?0:v.length-1))return null;l+=s*v[a-(s<0?1:0)].size,a+=s}return{index:a,lineN:l}}function s0(e,n,l){var s=e.display,a=s.view;a.length==0||n>=s.viewTo||l<=s.viewFrom?(s.view=wl(e,n,l),s.viewFrom=n):(s.viewFrom>n?s.view=wl(e,n,s.viewFrom).concat(s.view):s.viewFrom<n&&(s.view=s.view.slice(ni(e,n))),s.viewFrom=n,s.viewTo<l?s.view=s.view.concat(wl(e,s.viewTo,l)):s.viewTo>l&&(s.view=s.view.slice(0,ni(e,l)))),s.viewTo=l}function Zd(e){for(var n=e.display.view,l=0,s=0;s<n.length;s++){var a=n[s];!a.hidden&&(!a.node||a.changes)&&++l}return l}function Zo(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Qd(e,n){n===void 0&&(n=!0);var l=e.doc,s={},a=s.cursors=document.createDocumentFragment(),d=s.selection=document.createDocumentFragment(),v=e.options.$customCursor;v&&(n=!0);for(var y=0;y<l.sel.ranges.length;y++)if(!(!n&&y==l.sel.primIndex)){var S=l.sel.ranges[y];if(!(S.from().line>=e.display.viewTo||S.to().line<e.display.viewFrom)){var C=S.empty();if(v){var A=v(e,S);A&&Mu(e,A,a)}else(C||e.options.showCursorWhenSelecting)&&Mu(e,S.head,a);C||l0(e,S,d)}}return s}function Mu(e,n,l){var s=zr(e,n,"div",null,null,!e.options.singleCursorHeightPerLine),a=l.appendChild(k("div","\xA0","CodeMirror-cursor"));if(a.style.left=s.left+"px",a.style.top=s.top+"px",a.style.height=Math.max(0,s.bottom-s.top)*e.options.cursorHeight+"px",/\bcm-fat-cursor\b/.test(e.getWrapperElement().className)){var d=El(e,n,"div",null,null),v=d.right-d.left;a.style.width=(v>0?v:e.defaultCharWidth())+"px"}if(s.other){var y=l.appendChild(k("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));y.style.display="",y.style.left=s.other.left+"px",y.style.top=s.other.top+"px",y.style.height=(s.other.bottom-s.other.top)*.85+"px"}}function kl(e,n){return e.top-n.top||e.left-n.left}function l0(e,n,l){var s=e.display,a=e.doc,d=document.createDocumentFragment(),v=Fd(e.display),y=v.left,S=Math.max(s.sizerWidth,ei(e)-s.sizer.offsetLeft)-v.right,C=a.direction=="ltr";function A(Ee,Ae,Be,ze){Ae<0&&(Ae=0),Ae=Math.round(Ae),ze=Math.round(ze),d.appendChild(k("div",null,"CodeMirror-selected","position: absolute; left: "+Ee+`px;
10
10
  top: `+Ae+"px; width: "+(Be==null?S-Ee:Be)+`px;
11
- height: `+(ze-Ae)+"px"))}function R(Ee,Ae,Be){var ze=Ne(a,Ee),Qe=ze.text.length,ct,Dt;function mt(Tt,nr){return Tl(e,pe(Ee,Tt),"div",ze,nr)}function hr(Tt,nr,Wt){var Pt=Xd(e,ze,null,Tt),Et=nr=="ltr"==(Wt=="after")?"left":"right",St=Wt=="after"?Pt.begin:Pt.end-(/\s/.test(ze.text.charAt(Pt.end-1))?2:1);return mt(St,Et)[Et]}var rr=vt(ze,a.direction);return at(rr,Ae||0,Be==null?Qe:Be,function(Tt,nr,Wt,Pt){var Et=Wt=="ltr",St=mt(Tt,Et?"left":"right"),ir=mt(nr-1,Et?"right":"left"),to=Ae==null&&Tt==0,Ln=Be==null&&nr==Qe,Vt=Pt==0,Zr=!rr||Pt==rr.length-1;if(ir.top-St.top<=3){var Ft=(C?to:Ln)&&Vt,ef=(C?Ln:to)&&Zr,cn=Ft?y:(Et?St:ir).left,ai=ef?S:(Et?ir:St).right;A(cn,St.top,ai-cn,St.bottom)}else{var ui,Zt,ro,tf;Et?(ui=C&&to&&Vt?y:St.left,Zt=C?S:hr(Tt,Wt,"before"),ro=C?y:hr(nr,Wt,"after"),tf=C&&Ln&&Zr?S:ir.right):(ui=C?hr(Tt,Wt,"before"):y,Zt=!C&&to&&Vt?S:St.right,ro=!C&&Ln&&Zr?y:ir.left,tf=C?hr(nr,Wt,"after"):S),A(ui,St.top,Zt-ui,St.bottom),St.bottom<ir.top&&A(y,St.bottom,null,ir.top),A(ro,ir.top,tf-ro,ir.bottom)}(!ct||Ol(St,ct)<0)&&(ct=St),Ol(ir,ct)<0&&(ct=ir),(!Dt||Ol(St,Dt)<0)&&(Dt=St),Ol(ir,Dt)<0&&(Dt=ir)}),{start:ct,end:Dt}}var X=n.from(),V=n.to();if(X.line==V.line)R(X.line,X.ch,V.ch);else{var ne=Ne(a,X.line),ce=Ne(a,V.line),Se=Yr(ne)==Yr(ce),Te=R(X.line,X.ch,Se?ne.text.length+1:null).end,Pe=R(V.line,Se?0:null,V.ch).start;Se&&(Te.top<Pe.top-2?(A(Te.right,Te.top,null,Te.bottom),A(y,Pe.top,Pe.left,Pe.bottom)):A(Te.right,Te.top,Pe.left-Te.right,Te.bottom)),Te.bottom<Pe.top&&A(y,Te.bottom,null,Pe.top)}l.appendChild(d)}function Mu(e){if(!!e.state.focused){var n=e.display;clearInterval(n.blinker);var l=!0;n.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?n.blinker=setInterval(function(){e.hasFocus()||Ui(e),n.cursorDiv.style.visibility=(l=!l)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(n.cursorDiv.style.visibility="hidden")}}function qd(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Lu(e))}function Au(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Ui(e))},100)}function Lu(e,n){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(ge(e,"focus",e,n),e.state.focused=!0,ue(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),m&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Mu(e))}function Ui(e,n){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,n),e.state.focused=!1,ee(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function kl(e){for(var n=e.display,l=n.lineDiv.offsetTop,s=Math.max(0,n.scroller.getBoundingClientRect().top),a=n.lineDiv.getBoundingClientRect().top,d=0,v=0;v<n.view.length;v++){var y=n.view[v],S=e.options.lineWrapping,C=void 0,A=0;if(!y.hidden){if(a+=y.line.height,h&&g<8){var R=y.node.offsetTop+y.node.offsetHeight;C=R-l,l=R}else{var X=y.node.getBoundingClientRect();C=X.bottom-X.top,!S&&y.text.firstChild&&(A=y.text.firstChild.getBoundingClientRect().right-X.left-1)}var V=y.line.height-C;if((V>.005||V<-.005)&&(a<s&&(d-=V),cr(y.line,C),_d(y.line),y.rest))for(var ne=0;ne<y.rest.length;ne++)_d(y.rest[ne]);if(A>e.display.sizerWidth){var ce=Math.ceil(A/Ki(e.display));ce>e.display.maxLineLength&&(e.display.maxLineLength=ce,e.display.maxLine=y.line,e.display.maxLineChanged=!0)}}}Math.abs(d)>2&&(n.scroller.scrollTop+=d)}function _d(e){if(e.widgets)for(var n=0;n<e.widgets.length;++n){var l=e.widgets[n],s=l.node.parentNode;s&&(l.height=s.offsetHeight)}}function Pl(e,n,l){var s=l&&l.top!=null?Math.max(0,l.top):e.scroller.scrollTop;s=Math.floor(s-wl(e));var a=l&&l.bottom!=null?l.bottom:s+e.wrapper.clientHeight,d=Vr(n,s),v=Vr(n,a);if(l&&l.ensure){var y=l.ensure.from.line,S=l.ensure.to.line;y<d?(d=y,v=Vr(n,ln(Ne(n,y))+e.wrapper.clientHeight)):Math.min(S,n.lastLine())>=v&&(d=Vr(n,ln(Ne(n,S))-e.wrapper.clientHeight),v=S)}return{from:d,to:Math.max(v,d+1)}}function o0(e,n){if(!He(e,"scrollCursorIntoView")){var l=e.display,s=l.sizer.getBoundingClientRect(),a=null;if(n.top+s.top<0?a=!0:n.bottom+s.top>(window.innerHeight||document.documentElement.clientHeight)&&(a=!1),a!=null&&!L){var d=k("div","\u200B",null,`position: absolute;
12
- top: `+(n.top-l.viewOffset-wl(e.display))+`px;
11
+ height: `+(ze-Ae)+"px"))}function R(Ee,Ae,Be){var ze=Ne(a,Ee),Qe=ze.text.length,ct,Rt;function mt(Tt,nr){return El(e,pe(Ee,Tt),"div",ze,nr)}function hr(Tt,nr,Wt){var Pt=Xd(e,ze,null,Tt),Et=nr=="ltr"==(Wt=="after")?"left":"right",St=Wt=="after"?Pt.begin:Pt.end-(/\s/.test(ze.text.charAt(Pt.end-1))?2:1);return mt(St,Et)[Et]}var rr=vt(ze,a.direction);return at(rr,Ae||0,Be==null?Qe:Be,function(Tt,nr,Wt,Pt){var Et=Wt=="ltr",St=mt(Tt,Et?"left":"right"),ir=mt(nr-1,Et?"right":"left"),to=Ae==null&&Tt==0,Ln=Be==null&&nr==Qe,Vt=Pt==0,Zr=!rr||Pt==rr.length-1;if(ir.top-St.top<=3){var Dt=(C?to:Ln)&&Vt,tf=(C?Ln:to)&&Zr,cn=Dt?y:(Et?St:ir).left,ai=tf?S:(Et?ir:St).right;A(cn,St.top,ai-cn,St.bottom)}else{var ui,Zt,ro,rf;Et?(ui=C&&to&&Vt?y:St.left,Zt=C?S:hr(Tt,Wt,"before"),ro=C?y:hr(nr,Wt,"after"),rf=C&&Ln&&Zr?S:ir.right):(ui=C?hr(Tt,Wt,"before"):y,Zt=!C&&to&&Vt?S:St.right,ro=!C&&Ln&&Zr?y:ir.left,rf=C?hr(nr,Wt,"after"):S),A(ui,St.top,Zt-ui,St.bottom),St.bottom<ir.top&&A(y,St.bottom,null,ir.top),A(ro,ir.top,rf-ro,ir.bottom)}(!ct||kl(St,ct)<0)&&(ct=St),kl(ir,ct)<0&&(ct=ir),(!Rt||kl(St,Rt)<0)&&(Rt=St),kl(ir,Rt)<0&&(Rt=ir)}),{start:ct,end:Rt}}var X=n.from(),V=n.to();if(X.line==V.line)R(X.line,X.ch,V.ch);else{var ne=Ne(a,X.line),ce=Ne(a,V.line),Se=Yr(ne)==Yr(ce),Te=R(X.line,X.ch,Se?ne.text.length+1:null).end,Pe=R(V.line,Se?0:null,V.ch).start;Se&&(Te.top<Pe.top-2?(A(Te.right,Te.top,null,Te.bottom),A(y,Pe.top,Pe.left,Pe.bottom)):A(Te.right,Te.top,Pe.left-Te.right,Te.bottom)),Te.bottom<Pe.top&&A(y,Te.bottom,null,Pe.top)}l.appendChild(d)}function Au(e){if(!!e.state.focused){var n=e.display;clearInterval(n.blinker);var l=!0;n.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?n.blinker=setInterval(function(){e.hasFocus()||Ui(e),n.cursorDiv.style.visibility=(l=!l)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(n.cursorDiv.style.visibility="hidden")}}function qd(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Nu(e))}function Lu(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Ui(e))},100)}function Nu(e,n){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),e.options.readOnly!="nocursor"&&(e.state.focused||(ge(e,"focus",e,n),e.state.focused=!0,ue(e.display.wrapper,"CodeMirror-focused"),!e.curOp&&e.display.selForContextMenu!=e.doc.sel&&(e.display.input.reset(),m&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),Au(e))}function Ui(e,n){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,n),e.state.focused=!1,ee(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function Pl(e){for(var n=e.display,l=n.lineDiv.offsetTop,s=Math.max(0,n.scroller.getBoundingClientRect().top),a=n.lineDiv.getBoundingClientRect().top,d=0,v=0;v<n.view.length;v++){var y=n.view[v],S=e.options.lineWrapping,C=void 0,A=0;if(!y.hidden){if(a+=y.line.height,h&&g<8){var R=y.node.offsetTop+y.node.offsetHeight;C=R-l,l=R}else{var X=y.node.getBoundingClientRect();C=X.bottom-X.top,!S&&y.text.firstChild&&(A=y.text.firstChild.getBoundingClientRect().right-X.left-1)}var V=y.line.height-C;if((V>.005||V<-.005)&&(a<s&&(d-=V),cr(y.line,C),_d(y.line),y.rest))for(var ne=0;ne<y.rest.length;ne++)_d(y.rest[ne]);if(A>e.display.sizerWidth){var ce=Math.ceil(A/Ki(e.display));ce>e.display.maxLineLength&&(e.display.maxLineLength=ce,e.display.maxLine=y.line,e.display.maxLineChanged=!0)}}}Math.abs(d)>2&&(n.scroller.scrollTop+=d)}function _d(e){if(e.widgets)for(var n=0;n<e.widgets.length;++n){var l=e.widgets[n],s=l.node.parentNode;s&&(l.height=s.offsetHeight)}}function Ml(e,n,l){var s=l&&l.top!=null?Math.max(0,l.top):e.scroller.scrollTop;s=Math.floor(s-Cl(e));var a=l&&l.bottom!=null?l.bottom:s+e.wrapper.clientHeight,d=Vr(n,s),v=Vr(n,a);if(l&&l.ensure){var y=l.ensure.from.line,S=l.ensure.to.line;y<d?(d=y,v=Vr(n,ln(Ne(n,y))+e.wrapper.clientHeight)):Math.min(S,n.lastLine())>=v&&(d=Vr(n,ln(Ne(n,S))-e.wrapper.clientHeight),v=S)}return{from:d,to:Math.max(v,d+1)}}function a0(e,n){if(!He(e,"scrollCursorIntoView")){var l=e.display,s=l.sizer.getBoundingClientRect(),a=null;if(n.top+s.top<0?a=!0:n.bottom+s.top>(window.innerHeight||document.documentElement.clientHeight)&&(a=!1),a!=null&&!L){var d=k("div","\u200B",null,`position: absolute;
12
+ top: `+(n.top-l.viewOffset-Cl(e.display))+`px;
13
13
  height: `+(n.bottom-n.top+Xr(e)+l.barHeight)+`px;
14
- left: `+n.left+"px; width: "+Math.max(2,n.right-n.left)+"px;");e.display.lineSpace.appendChild(d),d.scrollIntoView(a),e.display.lineSpace.removeChild(d)}}}function s0(e,n,l,s){s==null&&(s=0);var a;!e.options.lineWrapping&&n==l&&(l=n.sticky=="before"?pe(n.line,n.ch+1,"before"):n,n=n.ch?pe(n.line,n.sticky=="before"?n.ch-1:n.ch,"after"):n);for(var d=0;d<5;d++){var v=!1,y=zr(e,n),S=!l||l==n?y:zr(e,l);a={left:Math.min(y.left,S.left),top:Math.min(y.top,S.top)-s,right:Math.max(y.left,S.left),bottom:Math.max(y.bottom,S.bottom)+s};var C=Nu(e,a),A=e.doc.scrollTop,R=e.doc.scrollLeft;if(C.scrollTop!=null&&(Qo(e,C.scrollTop),Math.abs(e.doc.scrollTop-A)>1&&(v=!0)),C.scrollLeft!=null&&(ii(e,C.scrollLeft),Math.abs(e.doc.scrollLeft-R)>1&&(v=!0)),!v)break}return a}function l0(e,n){var l=Nu(e,n);l.scrollTop!=null&&Qo(e,l.scrollTop),l.scrollLeft!=null&&ii(e,l.scrollLeft)}function Nu(e,n){var l=e.display,s=ji(e.display);n.top<0&&(n.top=0);var a=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:l.scroller.scrollTop,d=bu(e),v={};n.bottom-n.top>d&&(n.bottom=n.top+d);var y=e.doc.height+yu(l),S=n.top<s,C=n.bottom>y-s;if(n.top<a)v.scrollTop=S?0:n.top;else if(n.bottom>a+d){var A=Math.min(n.top,(C?y:n.bottom)-d);A!=a&&(v.scrollTop=A)}var R=e.options.fixedGutter?0:l.gutters.offsetWidth,X=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:l.scroller.scrollLeft-R,V=ei(e)-l.gutters.offsetWidth,ne=n.right-n.left>V;return ne&&(n.right=n.left+V),n.left<10?v.scrollLeft=0:n.left<X?v.scrollLeft=Math.max(0,n.left+R-(ne?0:10)):n.right>V+X-3&&(v.scrollLeft=n.right+(ne?0:10)-V),v}function Iu(e,n){n!=null&&(Ml(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+n)}function $i(e){Ml(e);var n=e.getCursor();e.curOp.scrollToPos={from:n,to:n,margin:e.options.cursorScrollMargin}}function Zo(e,n,l){(n!=null||l!=null)&&Ml(e),n!=null&&(e.curOp.scrollLeft=n),l!=null&&(e.curOp.scrollTop=l)}function a0(e,n){Ml(e),e.curOp.scrollToPos=n}function Ml(e){var n=e.curOp.scrollToPos;if(n){e.curOp.scrollToPos=null;var l=Gd(e,n.from),s=Gd(e,n.to);eh(e,l,s,n.margin)}}function eh(e,n,l,s){var a=Nu(e,{left:Math.min(n.left,l.left),top:Math.min(n.top,l.top)-s,right:Math.max(n.right,l.right),bottom:Math.max(n.bottom,l.bottom)+s});Zo(e,a.scrollLeft,a.scrollTop)}function Qo(e,n){Math.abs(e.doc.scrollTop-n)<2||(u||Du(e,{top:n}),th(e,n,!0),u&&Du(e),es(e,100))}function th(e,n,l){n=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,n)),!(e.display.scroller.scrollTop==n&&!l)&&(e.doc.scrollTop=n,e.display.scrollbars.setScrollTop(n),e.display.scroller.scrollTop!=n&&(e.display.scroller.scrollTop=n))}function ii(e,n,l,s){n=Math.max(0,Math.min(n,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((l?n==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-n)<2)&&!s)&&(e.doc.scrollLeft=n,sh(e),e.display.scroller.scrollLeft!=n&&(e.display.scroller.scrollLeft=n),e.display.scrollbars.setScrollLeft(n))}function qo(e){var n=e.display,l=n.gutters.offsetWidth,s=Math.round(e.doc.height+yu(e.display));return{clientHeight:n.scroller.clientHeight,viewHeight:n.wrapper.clientHeight,scrollWidth:n.scroller.scrollWidth,clientWidth:n.scroller.clientWidth,viewWidth:n.wrapper.clientWidth,barLeft:e.options.fixedGutter?l:0,docHeight:s,scrollHeight:s+Xr(e)+n.barHeight,nativeBarWidth:n.nativeBarWidth,gutterWidth:l}}var oi=function(e,n,l){this.cm=l;var s=this.vert=k("div",[k("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),a=this.horiz=k("div",[k("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");s.tabIndex=a.tabIndex=-1,e(s),e(a),De(s,"scroll",function(){s.clientHeight&&n(s.scrollTop,"vertical")}),De(a,"scroll",function(){a.clientWidth&&n(a.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,h&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};oi.prototype.update=function(e){var n=e.scrollWidth>e.clientWidth+1,l=e.scrollHeight>e.clientHeight+1,s=e.nativeBarWidth;if(l){this.vert.style.display="block",this.vert.style.bottom=n?s+"px":"0";var a=e.viewHeight-(n?s:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+a)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(n){this.horiz.style.display="block",this.horiz.style.right=l?s+"px":"0",this.horiz.style.left=e.barLeft+"px";var d=e.viewWidth-e.barLeft-(l?s:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+d)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(s==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:l?s:0,bottom:n?s:0}},oi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},oi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},oi.prototype.zeroWidthHack=function(){var e=H&&!B?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ie,this.disableVert=new ie},oi.prototype.enableZeroWidthBar=function(e,n,l){e.style.pointerEvents="auto";function s(){var a=e.getBoundingClientRect(),d=l=="vert"?document.elementFromPoint(a.right-1,(a.top+a.bottom)/2):document.elementFromPoint((a.right+a.left)/2,a.bottom-1);d!=e?e.style.pointerEvents="none":n.set(1e3,s)}n.set(1e3,s)},oi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var _o=function(){};_o.prototype.update=function(){return{bottom:0,right:0}},_o.prototype.setScrollLeft=function(){},_o.prototype.setScrollTop=function(){},_o.prototype.clear=function(){};function Vi(e,n){n||(n=qo(e));var l=e.display.barWidth,s=e.display.barHeight;rh(e,n);for(var a=0;a<4&&l!=e.display.barWidth||s!=e.display.barHeight;a++)l!=e.display.barWidth&&e.options.lineWrapping&&kl(e),rh(e,qo(e)),l=e.display.barWidth,s=e.display.barHeight}function rh(e,n){var l=e.display,s=l.scrollbars.update(n);l.sizer.style.paddingRight=(l.barWidth=s.right)+"px",l.sizer.style.paddingBottom=(l.barHeight=s.bottom)+"px",l.heightForcer.style.borderBottom=s.bottom+"px solid transparent",s.right&&s.bottom?(l.scrollbarFiller.style.display="block",l.scrollbarFiller.style.height=s.bottom+"px",l.scrollbarFiller.style.width=s.right+"px"):l.scrollbarFiller.style.display="",s.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(l.gutterFiller.style.display="block",l.gutterFiller.style.height=s.bottom+"px",l.gutterFiller.style.width=n.gutterWidth+"px"):l.gutterFiller.style.display=""}var nh={native:oi,null:_o};function ih(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&ee(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new nh[e.options.scrollbarStyle](function(n){e.display.wrapper.insertBefore(n,e.display.scrollbarFiller),De(n,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),n.setAttribute("cm-not-content","true")},function(n,l){l=="horizontal"?ii(e,n):Qo(e,n)},e),e.display.scrollbars.addClass&&ue(e.display.wrapper,e.display.scrollbars.addClass)}var u0=0;function si(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++u0,markArrays:null},Wy(e.curOp)}function li(e){var n=e.curOp;n&&Ky(n,function(l){for(var s=0;s<l.ops.length;s++)l.ops[s].cm.curOp=null;f0(l)})}function f0(e){for(var n=e.ops,l=0;l<n.length;l++)c0(n[l]);for(var s=0;s<n.length;s++)d0(n[s]);for(var a=0;a<n.length;a++)h0(n[a]);for(var d=0;d<n.length;d++)p0(n[d]);for(var v=0;v<n.length;v++)g0(n[v])}function c0(e){var n=e.cm,l=n.display;m0(n),e.updateMaxLine&&vu(n),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<l.viewFrom||e.scrollToPos.to.line>=l.viewTo)||l.maxLineChanged&&n.options.lineWrapping,e.update=e.mustUpdate&&new Al(n,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function d0(e){e.updatedDisplay=e.mustUpdate&&Ru(e.cm,e.update)}function h0(e){var n=e.cm,l=n.display;e.updatedDisplay&&kl(n),e.barMeasure=qo(n),l.maxLineChanged&&!n.options.lineWrapping&&(e.adjustWidthTo=Hd(n,l.maxLine,l.maxLine.text.length).left+3,n.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(l.scroller.clientWidth,l.sizer.offsetLeft+e.adjustWidthTo+Xr(n)+n.display.barWidth),e.maxScrollLeft=Math.max(0,l.sizer.offsetLeft+e.adjustWidthTo-ei(n))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=l.input.prepareSelection())}function p0(e){var n=e.cm;e.adjustWidthTo!=null&&(n.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<n.doc.scrollLeft&&ii(n,Math.min(n.display.scroller.scrollLeft,e.maxScrollLeft),!0),n.display.maxLineChanged=!1);var l=e.focus&&e.focus==Y();e.preparedSelection&&n.display.input.showSelection(e.preparedSelection,l),(e.updatedDisplay||e.startHeight!=n.doc.height)&&Vi(n,e.barMeasure),e.updatedDisplay&&zu(n,e.barMeasure),e.selectionChanged&&Mu(n),n.state.focused&&e.updateInput&&n.display.input.reset(e.typing),l&&qd(e.cm)}function g0(e){var n=e.cm,l=n.display,s=n.doc;if(e.updatedDisplay&&oh(n,e.update),l.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(l.wheelStartX=l.wheelStartY=null),e.scrollTop!=null&&th(n,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&ii(n,e.scrollLeft,!0,!0),e.scrollToPos){var a=s0(n,Me(s,e.scrollToPos.from),Me(s,e.scrollToPos.to),e.scrollToPos.margin);o0(n,a)}var d=e.maybeHiddenMarkers,v=e.maybeUnhiddenMarkers;if(d)for(var y=0;y<d.length;++y)d[y].lines.length||ge(d[y],"hide");if(v)for(var S=0;S<v.length;++S)v[S].lines.length&&ge(v[S],"unhide");l.wrapper.offsetHeight&&(s.scrollTop=n.display.scroller.scrollTop),e.changeObjs&&ge(n,"changes",n,e.changeObjs),e.update&&e.update.finish()}function dr(e,n){if(e.curOp)return n();si(e);try{return n()}finally{li(e)}}function It(e,n){return function(){if(e.curOp)return n.apply(e,arguments);si(e);try{return n.apply(e,arguments)}finally{li(e)}}}function Jt(e){return function(){if(this.curOp)return e.apply(this,arguments);si(this);try{return e.apply(this,arguments)}finally{li(this)}}}function Rt(e){return function(){var n=this.cm;if(!n||n.curOp)return e.apply(this,arguments);si(n);try{return e.apply(this,arguments)}finally{li(n)}}}function es(e,n){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(n,We(v0,e))}function v0(e){var n=e.doc;if(!(n.highlightFrontier>=e.display.viewTo)){var l=+new Date+e.options.workTime,s=Uo(e,n.highlightFrontier),a=[];n.iter(s.line,Math.min(n.first+n.size,e.display.viewTo+500),function(d){if(s.line>=e.display.viewFrom){var v=d.styles,y=d.text.length>e.options.maxHighlightLength?br(n.mode,s.state):null,S=dd(e,d,s,!0);y&&(s.state=y),d.styles=S.styles;var C=d.styleClasses,A=S.classes;A?d.styleClasses=A:C&&(d.styleClasses=null);for(var R=!v||v.length!=d.styles.length||C!=A&&(!C||!A||C.bgClass!=A.bgClass||C.textClass!=A.textClass),X=0;!R&&X<v.length;++X)R=v[X]!=d.styles[X];R&&a.push(s.line),d.stateAfter=s.save(),s.nextLine()}else d.text.length<=e.options.maxHighlightLength&&fu(e,d.text,s),d.stateAfter=s.line%5==0?s.save():null,s.nextLine();if(+new Date>l)return es(e,e.options.workDelay),!0}),n.highlightFrontier=s.line,n.modeFrontier=Math.max(n.modeFrontier,s.line),a.length&&dr(e,function(){for(var d=0;d<a.length;d++)Tn(e,a[d],"text")})}}var Al=function(e,n,l){var s=e.display;this.viewport=n,this.visible=Pl(s,e.doc,n),this.editorIsHidden=!s.wrapper.offsetWidth,this.wrapperHeight=s.wrapper.clientHeight,this.wrapperWidth=s.wrapper.clientWidth,this.oldDisplayWidth=ei(e),this.force=l,this.dims=Eu(e),this.events=[]};Al.prototype.signal=function(e,n){rt(e,n)&&this.events.push(arguments)},Al.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ge.apply(null,this.events[e])};function m0(e){var n=e.display;!n.scrollbarsClipped&&n.scroller.offsetWidth&&(n.nativeBarWidth=n.scroller.offsetWidth-n.scroller.clientWidth,n.heightForcer.style.height=Xr(e)+"px",n.sizer.style.marginBottom=-n.nativeBarWidth+"px",n.sizer.style.borderRightWidth=Xr(e)+"px",n.scrollbarsClipped=!0)}function y0(e){if(e.hasFocus())return null;var n=Y();if(!n||!W(e.display.lineDiv,n))return null;var l={activeElt:n};if(window.getSelection){var s=window.getSelection();s.anchorNode&&s.extend&&W(e.display.lineDiv,s.anchorNode)&&(l.anchorNode=s.anchorNode,l.anchorOffset=s.anchorOffset,l.focusNode=s.focusNode,l.focusOffset=s.focusOffset)}return l}function b0(e){if(!(!e||!e.activeElt||e.activeElt==Y())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&W(document.body,e.anchorNode)&&W(document.body,e.focusNode))){var n=window.getSelection(),l=document.createRange();l.setEnd(e.anchorNode,e.anchorOffset),l.collapse(!1),n.removeAllRanges(),n.addRange(l),n.extend(e.focusNode,e.focusOffset)}}function Ru(e,n){var l=e.display,s=e.doc;if(n.editorIsHidden)return En(e),!1;if(!n.force&&n.visible.from>=l.viewFrom&&n.visible.to<=l.viewTo&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo)&&l.renderedView==l.view&&Zd(e)==0)return!1;lh(e)&&(En(e),n.dims=Eu(e));var a=s.first+s.size,d=Math.max(n.visible.from-e.options.viewportMargin,s.first),v=Math.min(a,n.visible.to+e.options.viewportMargin);l.viewFrom<d&&d-l.viewFrom<20&&(d=Math.max(s.first,l.viewFrom)),l.viewTo>v&&l.viewTo-v<20&&(v=Math.min(a,l.viewTo)),sn&&(d=pu(e.doc,d),v=Od(e.doc,v));var y=d!=l.viewFrom||v!=l.viewTo||l.lastWrapHeight!=n.wrapperHeight||l.lastWrapWidth!=n.wrapperWidth;n0(e,d,v),l.viewOffset=ln(Ne(e.doc,l.viewFrom)),e.display.mover.style.top=l.viewOffset+"px";var S=Zd(e);if(!y&&S==0&&!n.force&&l.renderedView==l.view&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo))return!1;var C=y0(e);return S>4&&(l.lineDiv.style.display="none"),S0(e,l.updateLineNumbers,n.dims),S>4&&(l.lineDiv.style.display=""),l.renderedView=l.view,b0(C),_(l.cursorDiv),_(l.selectionDiv),l.gutters.style.height=l.sizer.style.minHeight=0,y&&(l.lastWrapHeight=n.wrapperHeight,l.lastWrapWidth=n.wrapperWidth,es(e,400)),l.updateLineNumbers=null,!0}function oh(e,n){for(var l=n.viewport,s=!0;;s=!1){if(!s||!e.options.lineWrapping||n.oldDisplayWidth==ei(e)){if(l&&l.top!=null&&(l={top:Math.min(e.doc.height+yu(e.display)-bu(e),l.top)}),n.visible=Pl(e.display,e.doc,l),n.visible.from>=e.display.viewFrom&&n.visible.to<=e.display.viewTo)break}else s&&(n.visible=Pl(e.display,e.doc,l));if(!Ru(e,n))break;kl(e);var a=qo(e);Jo(e),Vi(e,a),zu(e,a),n.force=!1}n.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(n.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Du(e,n){var l=new Al(e,n);if(Ru(e,l)){kl(e),oh(e,l);var s=qo(e);Jo(e),Vi(e,s),zu(e,s),l.finish()}}function S0(e,n,l){var s=e.display,a=e.options.lineNumbers,d=s.lineDiv,v=d.firstChild;function y(ne){var ce=ne.nextSibling;return m&&H&&e.display.currentWheelTarget==ne?ne.style.display="none":ne.parentNode.removeChild(ne),ce}for(var S=s.view,C=s.viewFrom,A=0;A<S.length;A++){var R=S[A];if(!R.hidden)if(!R.node||R.node.parentNode!=d){var X=Yy(e,R,C,l);d.insertBefore(X,v)}else{for(;v!=R.node;)v=y(v);var V=a&&n!=null&&n<=C&&R.lineNumber;R.changes&&(se(R.changes,"gutter")>-1&&(V=!1),Ld(e,R,C,l)),V&&(_(R.lineNumber),R.lineNumber.appendChild(document.createTextNode(Ko(e.options,C)))),v=R.node.nextSibling}C+=R.size}for(;v;)v=y(v)}function Fu(e){var n=e.gutters.offsetWidth;e.sizer.style.marginLeft=n+"px",Nt(e,"gutterChanged",e)}function zu(e,n){e.display.sizer.style.minHeight=n.docHeight+"px",e.display.heightForcer.style.top=n.docHeight+"px",e.display.gutters.style.height=n.docHeight+e.display.barHeight+Xr(e)+"px"}function sh(e){var n=e.display,l=n.view;if(!(!n.alignWidgets&&(!n.gutters.firstChild||!e.options.fixedGutter))){for(var s=Ou(n)-n.scroller.scrollLeft+e.doc.scrollLeft,a=n.gutters.offsetWidth,d=s+"px",v=0;v<l.length;v++)if(!l[v].hidden){e.options.fixedGutter&&(l[v].gutter&&(l[v].gutter.style.left=d),l[v].gutterBackground&&(l[v].gutterBackground.style.left=d));var y=l[v].alignable;if(y)for(var S=0;S<y.length;S++)y[S].style.left=d}e.options.fixedGutter&&(n.gutters.style.left=s+a+"px")}}function lh(e){if(!e.options.lineNumbers)return!1;var n=e.doc,l=Ko(e.options,n.first+n.size-1),s=e.display;if(l.length!=s.lineNumChars){var a=s.measure.appendChild(k("div",[k("div",l)],"CodeMirror-linenumber CodeMirror-gutter-elt")),d=a.firstChild.offsetWidth,v=a.offsetWidth-d;return s.lineGutter.style.width="",s.lineNumInnerWidth=Math.max(d,s.lineGutter.offsetWidth-v)+1,s.lineNumWidth=s.lineNumInnerWidth+v,s.lineNumChars=s.lineNumInnerWidth?l.length:-1,s.lineGutter.style.width=s.lineNumWidth+"px",Fu(e.display),!0}return!1}function Hu(e,n){for(var l=[],s=!1,a=0;a<e.length;a++){var d=e[a],v=null;if(typeof d!="string"&&(v=d.style,d=d.className),d=="CodeMirror-linenumbers")if(n)s=!0;else continue;l.push({className:d,style:v})}return n&&!s&&l.push({className:"CodeMirror-linenumbers",style:null}),l}function ah(e){var n=e.gutters,l=e.gutterSpecs;_(n),e.lineGutter=null;for(var s=0;s<l.length;++s){var a=l[s],d=a.className,v=a.style,y=n.appendChild(k("div",null,"CodeMirror-gutter "+d));v&&(y.style.cssText=v),d=="CodeMirror-linenumbers"&&(e.lineGutter=y,y.style.width=(e.lineNumWidth||1)+"px")}n.style.display=l.length?"":"none",Fu(e)}function ts(e){ah(e.display),er(e),sh(e)}function x0(e,n,l,s){var a=this;this.input=l,a.scrollbarFiller=k("div",null,"CodeMirror-scrollbar-filler"),a.scrollbarFiller.setAttribute("cm-not-content","true"),a.gutterFiller=k("div",null,"CodeMirror-gutter-filler"),a.gutterFiller.setAttribute("cm-not-content","true"),a.lineDiv=w("div",null,"CodeMirror-code"),a.selectionDiv=k("div",null,null,"position: relative; z-index: 1"),a.cursorDiv=k("div",null,"CodeMirror-cursors"),a.measure=k("div",null,"CodeMirror-measure"),a.lineMeasure=k("div",null,"CodeMirror-measure"),a.lineSpace=w("div",[a.measure,a.lineMeasure,a.selectionDiv,a.cursorDiv,a.lineDiv],null,"position: relative; outline: none");var d=w("div",[a.lineSpace],"CodeMirror-lines");a.mover=k("div",[d],null,"position: relative"),a.sizer=k("div",[a.mover],"CodeMirror-sizer"),a.sizerWidth=null,a.heightForcer=k("div",null,null,"position: absolute; height: "+le+"px; width: 1px;"),a.gutters=k("div",null,"CodeMirror-gutters"),a.lineGutter=null,a.scroller=k("div",[a.sizer,a.heightForcer,a.gutters],"CodeMirror-scroll"),a.scroller.setAttribute("tabIndex","-1"),a.wrapper=k("div",[a.scrollbarFiller,a.gutterFiller,a.scroller],"CodeMirror"),a.wrapper.setAttribute("translate","no"),h&&g<8&&(a.gutters.style.zIndex=-1,a.scroller.style.paddingRight=0),!m&&!(u&&N)&&(a.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(a.wrapper):e(a.wrapper)),a.viewFrom=a.viewTo=n.first,a.reportedViewFrom=a.reportedViewTo=n.first,a.view=[],a.renderedView=null,a.externalMeasured=null,a.viewOffset=0,a.lastWrapHeight=a.lastWrapWidth=0,a.updateLineNumbers=null,a.nativeBarWidth=a.barHeight=a.barWidth=0,a.scrollbarsClipped=!1,a.lineNumWidth=a.lineNumInnerWidth=a.lineNumChars=null,a.alignWidgets=!1,a.cachedCharWidth=a.cachedTextHeight=a.cachedPaddingH=null,a.maxLine=null,a.maxLineLength=0,a.maxLineChanged=!1,a.wheelDX=a.wheelDY=a.wheelStartX=a.wheelStartY=null,a.shift=!1,a.selForContextMenu=null,a.activeTouch=null,a.gutterSpecs=Hu(s.gutters,s.lineNumbers),ah(a),l.init(a)}var Ll=0,un=null;h?un=-.53:u?un=15:x?un=-.7:P&&(un=-1/3);function uh(e){var n=e.wheelDeltaX,l=e.wheelDeltaY;return n==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(n=e.detail),l==null&&e.detail&&e.axis==e.VERTICAL_AXIS?l=e.detail:l==null&&(l=e.wheelDelta),{x:n,y:l}}function w0(e){var n=uh(e);return n.x*=un,n.y*=un,n}function fh(e,n){var l=uh(n),s=l.x,a=l.y,d=un;n.deltaMode===0&&(s=n.deltaX,a=n.deltaY,d=1);var v=e.display,y=v.scroller,S=y.scrollWidth>y.clientWidth,C=y.scrollHeight>y.clientHeight;if(!!(s&&S||a&&C)){if(a&&H&&m){e:for(var A=n.target,R=v.view;A!=y;A=A.parentNode)for(var X=0;X<R.length;X++)if(R[X].node==A){e.display.currentWheelTarget=A;break e}}if(s&&!u&&!E&&d!=null){a&&C&&Qo(e,Math.max(0,y.scrollTop+a*d)),ii(e,Math.max(0,y.scrollLeft+s*d)),(!a||a&&C)&&Lt(n),v.wheelStartX=null;return}if(a&&d!=null){var V=a*d,ne=e.doc.scrollTop,ce=ne+v.wrapper.clientHeight;V<0?ne=Math.max(0,ne+V-50):ce=Math.min(e.doc.height,ce+V+50),Du(e,{top:ne,bottom:ce})}Ll<20&&n.deltaMode!==0&&(v.wheelStartX==null?(v.wheelStartX=y.scrollLeft,v.wheelStartY=y.scrollTop,v.wheelDX=s,v.wheelDY=a,setTimeout(function(){if(v.wheelStartX!=null){var Se=y.scrollLeft-v.wheelStartX,Te=y.scrollTop-v.wheelStartY,Pe=Te&&v.wheelDY&&Te/v.wheelDY||Se&&v.wheelDX&&Se/v.wheelDX;v.wheelStartX=v.wheelStartY=null,!!Pe&&(un=(un*Ll+Pe)/(Ll+1),++Ll)}},200)):(v.wheelDX+=s,v.wheelDY+=a))}}var xr=function(e,n){this.ranges=e,this.primIndex=n};xr.prototype.primary=function(){return this.ranges[this.primIndex]},xr.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var l=this.ranges[n],s=e.ranges[n];if(!D(l.anchor,s.anchor)||!D(l.head,s.head))return!1}return!0},xr.prototype.deepCopy=function(){for(var e=[],n=0;n<this.ranges.length;n++)e[n]=new ot(fe(this.ranges[n].anchor),fe(this.ranges[n].head));return new xr(e,this.primIndex)},xr.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},xr.prototype.contains=function(e,n){n||(n=e);for(var l=0;l<this.ranges.length;l++){var s=this.ranges[l];if(T(n,s.from())>=0&&T(e,s.to())<=0)return l}return-1};var ot=function(e,n){this.anchor=e,this.head=n};ot.prototype.from=function(){return $e(this.anchor,this.head)},ot.prototype.to=function(){return ye(this.anchor,this.head)},ot.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Hr(e,n,l){var s=e&&e.options.selectionsMayTouch,a=n[l];n.sort(function(X,V){return T(X.from(),V.from())}),l=se(n,a);for(var d=1;d<n.length;d++){var v=n[d],y=n[d-1],S=T(y.to(),v.from());if(s&&!v.empty()?S>0:S>=0){var C=$e(y.from(),v.from()),A=ye(y.to(),v.to()),R=y.empty()?v.from()==v.head:y.from()==y.head;d<=l&&--l,n.splice(--d,2,new ot(R?A:C,R?C:A))}}return new xr(n,l)}function On(e,n){return new xr([new ot(e,n||e)],0)}function kn(e){return e.text?pe(e.from.line+e.text.length-1,Z(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function ch(e,n){if(T(e,n.from)<0)return e;if(T(e,n.to)<=0)return kn(n);var l=e.line+n.text.length-(n.to.line-n.from.line)-1,s=e.ch;return e.line==n.to.line&&(s+=kn(n).ch-n.to.ch),pe(l,s)}function Bu(e,n){for(var l=[],s=0;s<e.sel.ranges.length;s++){var a=e.sel.ranges[s];l.push(new ot(ch(a.anchor,n),ch(a.head,n)))}return Hr(e.cm,l,e.sel.primIndex)}function dh(e,n,l){return e.line==n.line?pe(l.line,e.ch-n.ch+l.ch):pe(l.line+(e.line-n.line),e.ch)}function C0(e,n,l){for(var s=[],a=pe(e.first,0),d=a,v=0;v<n.length;v++){var y=n[v],S=dh(y.from,a,d),C=dh(kn(y),a,d);if(a=y.to,d=C,l=="around"){var A=e.sel.ranges[v],R=T(A.head,A.anchor)<0;s[v]=new ot(R?C:S,R?S:C)}else s[v]=new ot(S,S)}return new xr(s,e.sel.primIndex)}function Wu(e){e.doc.mode=Fi(e.options,e.doc.modeOption),rs(e)}function rs(e){e.doc.iter(function(n){n.stateAfter&&(n.stateAfter=null),n.styles&&(n.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,es(e,100),e.state.modeGen++,e.curOp&&er(e)}function hh(e,n){return n.from.ch==0&&n.to.ch==0&&Z(n.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function ju(e,n,l,s){function a(Pe){return l?l[Pe]:null}function d(Pe,Ee,Ae){Ly(Pe,Ee,Ae,s),Nt(Pe,"change",Pe,n)}function v(Pe,Ee){for(var Ae=[],Be=Pe;Be<Ee;++Be)Ae.push(new Hi(C[Be],a(Be),s));return Ae}var y=n.from,S=n.to,C=n.text,A=Ne(e,y.line),R=Ne(e,S.line),X=Z(C),V=a(C.length-1),ne=S.line-y.line;if(n.full)e.insert(0,v(0,C.length)),e.remove(C.length,e.size-C.length);else if(hh(e,n)){var ce=v(0,C.length-1);d(R,R.text,V),ne&&e.remove(y.line,ne),ce.length&&e.insert(y.line,ce)}else if(A==R)if(C.length==1)d(A,A.text.slice(0,y.ch)+X+A.text.slice(S.ch),V);else{var Se=v(1,C.length-1);Se.push(new Hi(X+A.text.slice(S.ch),V,s)),d(A,A.text.slice(0,y.ch)+C[0],a(0)),e.insert(y.line+1,Se)}else if(C.length==1)d(A,A.text.slice(0,y.ch)+C[0]+R.text.slice(S.ch),a(0)),e.remove(y.line+1,ne);else{d(A,A.text.slice(0,y.ch)+C[0],a(0)),d(R,X+R.text.slice(S.ch),V);var Te=v(1,C.length-1);ne>1&&e.remove(y.line+1,ne-1),e.insert(y.line+1,Te)}Nt(e,"change",e,n)}function Pn(e,n,l){function s(a,d,v){if(a.linked)for(var y=0;y<a.linked.length;++y){var S=a.linked[y];if(S.doc!=d){var C=v&&S.sharedHist;l&&!C||(n(S.doc,C),s(S.doc,a,C))}}}s(e,null,!0)}function ph(e,n){if(n.cm)throw new Error("This document is already in use.");e.doc=n,n.cm=e,ku(e),Wu(e),gh(e),e.options.direction=n.direction,e.options.lineWrapping||vu(e),e.options.mode=n.modeOption,er(e)}function gh(e){(e.doc.direction=="rtl"?ue:ee)(e.display.lineDiv,"CodeMirror-rtl")}function T0(e){dr(e,function(){gh(e),er(e)})}function Nl(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Ku(e,n){var l={from:fe(n.from),to:kn(n),text:$r(e,n.from,n.to)};return yh(e,l,n.from.line,n.to.line+1),Pn(e,function(s){return yh(s,l,n.from.line,n.to.line+1)},!0),l}function vh(e){for(;e.length;){var n=Z(e);if(n.ranges)e.pop();else break}}function E0(e,n){if(n)return vh(e.done),Z(e.done);if(e.done.length&&!Z(e.done).ranges)return Z(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Z(e.done)}function mh(e,n,l,s){var a=e.history;a.undone.length=0;var d=+new Date,v,y;if((a.lastOp==s||a.lastOrigin==n.origin&&n.origin&&(n.origin.charAt(0)=="+"&&a.lastModTime>d-(e.cm?e.cm.options.historyEventDelay:500)||n.origin.charAt(0)=="*"))&&(v=E0(a,a.lastOp==s)))y=Z(v.changes),T(n.from,n.to)==0&&T(n.from,y.to)==0?y.to=kn(n):v.changes.push(Ku(e,n));else{var S=Z(a.done);for((!S||!S.ranges)&&Il(e.sel,a.done),v={changes:[Ku(e,n)],generation:a.generation},a.done.push(v);a.done.length>a.undoDepth;)a.done.shift(),a.done[0].ranges||a.done.shift()}a.done.push(l),a.generation=++a.maxGeneration,a.lastModTime=a.lastSelTime=d,a.lastOp=a.lastSelOp=s,a.lastOrigin=a.lastSelOrigin=n.origin,y||ge(e,"historyAdded")}function O0(e,n,l,s){var a=n.charAt(0);return a=="*"||a=="+"&&l.ranges.length==s.ranges.length&&l.somethingSelected()==s.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function k0(e,n,l,s){var a=e.history,d=s&&s.origin;l==a.lastSelOp||d&&a.lastSelOrigin==d&&(a.lastModTime==a.lastSelTime&&a.lastOrigin==d||O0(e,d,Z(a.done),n))?a.done[a.done.length-1]=n:Il(n,a.done),a.lastSelTime=+new Date,a.lastSelOrigin=d,a.lastSelOp=l,s&&s.clearRedo!==!1&&vh(a.undone)}function Il(e,n){var l=Z(n);l&&l.ranges&&l.equals(e)||n.push(e)}function yh(e,n,l,s){var a=n["spans_"+e.id],d=0;e.iter(Math.max(e.first,l),Math.min(e.first+e.size,s),function(v){v.markedSpans&&((a||(a=n["spans_"+e.id]={}))[d]=v.markedSpans),++d})}function P0(e){if(!e)return null;for(var n,l=0;l<e.length;++l)e[l].marker.explicitlyCleared?n||(n=e.slice(0,l)):n&&n.push(e[l]);return n?n.length?n:null:e}function M0(e,n){var l=n["spans_"+e.id];if(!l)return null;for(var s=[],a=0;a<n.text.length;++a)s.push(P0(l[a]));return s}function bh(e,n){var l=M0(e,n),s=du(e,n);if(!l)return s;if(!s)return l;for(var a=0;a<l.length;++a){var d=l[a],v=s[a];if(d&&v){e:for(var y=0;y<v.length;++y){for(var S=v[y],C=0;C<d.length;++C)if(d[C].marker==S.marker)continue e;d.push(S)}}else v&&(l[a]=v)}return l}function Gi(e,n,l){for(var s=[],a=0;a<e.length;++a){var d=e[a];if(d.ranges){s.push(l?xr.prototype.deepCopy.call(d):d);continue}var v=d.changes,y=[];s.push({changes:y});for(var S=0;S<v.length;++S){var C=v[S],A=void 0;if(y.push({from:C.from,to:C.to,text:C.text}),n)for(var R in C)(A=R.match(/^spans_(\d+)$/))&&se(n,Number(A[1]))>-1&&(Z(y)[R]=C[R],delete C[R])}}return s}function Uu(e,n,l,s){if(s){var a=e.anchor;if(l){var d=T(n,a)<0;d!=T(l,a)<0?(a=n,n=l):d!=T(n,l)<0&&(n=l)}return new ot(a,n)}else return new ot(l||n,n)}function Rl(e,n,l,s,a){a==null&&(a=e.cm&&(e.cm.display.shift||e.extend)),$t(e,new xr([Uu(e.sel.primary(),n,l,a)],0),s)}function Sh(e,n,l){for(var s=[],a=e.cm&&(e.cm.display.shift||e.extend),d=0;d<e.sel.ranges.length;d++)s[d]=Uu(e.sel.ranges[d],n[d],null,a);var v=Hr(e.cm,s,e.sel.primIndex);$t(e,v,l)}function $u(e,n,l,s){var a=e.sel.ranges.slice(0);a[n]=l,$t(e,Hr(e.cm,a,e.sel.primIndex),s)}function xh(e,n,l,s){$t(e,On(n,l),s)}function A0(e,n,l){var s={ranges:n.ranges,update:function(a){this.ranges=[];for(var d=0;d<a.length;d++)this.ranges[d]=new ot(Me(e,a[d].anchor),Me(e,a[d].head))},origin:l&&l.origin};return ge(e,"beforeSelectionChange",e,s),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,s),s.ranges!=n.ranges?Hr(e.cm,s.ranges,s.ranges.length-1):n}function wh(e,n,l){var s=e.history.done,a=Z(s);a&&a.ranges?(s[s.length-1]=n,Dl(e,n,l)):$t(e,n,l)}function $t(e,n,l){Dl(e,n,l),k0(e,e.sel,e.cm?e.cm.curOp.id:NaN,l)}function Dl(e,n,l){(rt(e,"beforeSelectionChange")||e.cm&&rt(e.cm,"beforeSelectionChange"))&&(n=A0(e,n,l));var s=l&&l.bias||(T(n.primary().head,e.sel.primary().head)<0?-1:1);Ch(e,Eh(e,n,s,!0)),!(l&&l.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&$i(e.cm)}function Ch(e,n){n.equals(e.sel)||(e.sel=n,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,et(e.cm)),Nt(e,"cursorActivity",e))}function Th(e){Ch(e,Eh(e,e.sel,null,!1))}function Eh(e,n,l,s){for(var a,d=0;d<n.ranges.length;d++){var v=n.ranges[d],y=n.ranges.length==e.sel.ranges.length&&e.sel.ranges[d],S=Fl(e,v.anchor,y&&y.anchor,l,s),C=Fl(e,v.head,y&&y.head,l,s);(a||S!=v.anchor||C!=v.head)&&(a||(a=n.ranges.slice(0,d)),a[d]=new ot(S,C))}return a?Hr(e.cm,a,n.primIndex):n}function Yi(e,n,l,s,a){var d=Ne(e,n.line);if(d.markedSpans)for(var v=0;v<d.markedSpans.length;++v){var y=d.markedSpans[v],S=y.marker,C="selectLeft"in S?!S.selectLeft:S.inclusiveLeft,A="selectRight"in S?!S.selectRight:S.inclusiveRight;if((y.from==null||(C?y.from<=n.ch:y.from<n.ch))&&(y.to==null||(A?y.to>=n.ch:y.to>n.ch))){if(a&&(ge(S,"beforeCursorEnter"),S.explicitlyCleared))if(d.markedSpans){--v;continue}else break;if(!S.atomic)continue;if(l){var R=S.find(s<0?1:-1),X=void 0;if((s<0?A:C)&&(R=Oh(e,R,-s,R&&R.line==n.line?d:null)),R&&R.line==n.line&&(X=T(R,l))&&(s<0?X<0:X>0))return Yi(e,R,n,s,a)}var V=S.find(s<0?-1:1);return(s<0?C:A)&&(V=Oh(e,V,s,V.line==n.line?d:null)),V?Yi(e,V,n,s,a):null}}return n}function Fl(e,n,l,s,a){var d=s||1,v=Yi(e,n,l,d,a)||!a&&Yi(e,n,l,d,!0)||Yi(e,n,l,-d,a)||!a&&Yi(e,n,l,-d,!0);return v||(e.cantEdit=!0,pe(e.first,0))}function Oh(e,n,l,s){return l<0&&n.ch==0?n.line>e.first?Me(e,pe(n.line-1)):null:l>0&&n.ch==(s||Ne(e,n.line)).text.length?n.line<e.first+e.size-1?pe(n.line+1,0):null:new pe(n.line,n.ch+l)}function kh(e){e.setSelection(pe(e.firstLine(),0),pe(e.lastLine()),Ie)}function Ph(e,n,l){var s={canceled:!1,from:n.from,to:n.to,text:n.text,origin:n.origin,cancel:function(){return s.canceled=!0}};return l&&(s.update=function(a,d,v,y){a&&(s.from=Me(e,a)),d&&(s.to=Me(e,d)),v&&(s.text=v),y!==void 0&&(s.origin=y)}),ge(e,"beforeChange",e,s),e.cm&&ge(e.cm,"beforeChange",e.cm,s),s.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:s.from,to:s.to,text:s.text,origin:s.origin}}function Xi(e,n,l){if(e.cm){if(!e.cm.curOp)return It(e.cm,Xi)(e,n,l);if(e.cm.state.suppressEdits)return}if(!((rt(e,"beforeChange")||e.cm&&rt(e.cm,"beforeChange"))&&(n=Ph(e,n,!0),!n))){var s=bd&&!l&&ky(e,n.from,n.to);if(s)for(var a=s.length-1;a>=0;--a)Mh(e,{from:s[a].from,to:s[a].to,text:a?[""]:n.text,origin:n.origin});else Mh(e,n)}}function Mh(e,n){if(!(n.text.length==1&&n.text[0]==""&&T(n.from,n.to)==0)){var l=Bu(e,n);mh(e,n,l,e.cm?e.cm.curOp.id:NaN),ns(e,n,l,du(e,n));var s=[];Pn(e,function(a,d){!d&&se(s,a.history)==-1&&(Ih(a.history,n),s.push(a.history)),ns(a,n,null,du(a,n))})}}function zl(e,n,l){var s=e.cm&&e.cm.state.suppressEdits;if(!(s&&!l)){for(var a=e.history,d,v=e.sel,y=n=="undo"?a.done:a.undone,S=n=="undo"?a.undone:a.done,C=0;C<y.length&&(d=y[C],!(l?d.ranges&&!d.equals(e.sel):!d.ranges));C++);if(C!=y.length){for(a.lastOrigin=a.lastSelOrigin=null;;)if(d=y.pop(),d.ranges){if(Il(d,S),l&&!d.equals(e.sel)){$t(e,d,{clearRedo:!1});return}v=d}else if(s){y.push(d);return}else break;var A=[];Il(v,S),S.push({changes:A,generation:a.generation}),a.generation=d.generation||++a.maxGeneration;for(var R=rt(e,"beforeChange")||e.cm&&rt(e.cm,"beforeChange"),X=function(ce){var Se=d.changes[ce];if(Se.origin=n,R&&!Ph(e,Se,!1))return y.length=0,{};A.push(Ku(e,Se));var Te=ce?Bu(e,Se):Z(y);ns(e,Se,Te,bh(e,Se)),!ce&&e.cm&&e.cm.scrollIntoView({from:Se.from,to:kn(Se)});var Pe=[];Pn(e,function(Ee,Ae){!Ae&&se(Pe,Ee.history)==-1&&(Ih(Ee.history,Se),Pe.push(Ee.history)),ns(Ee,Se,null,bh(Ee,Se))})},V=d.changes.length-1;V>=0;--V){var ne=X(V);if(ne)return ne.v}}}}function Ah(e,n){if(n!=0&&(e.first+=n,e.sel=new xr(oe(e.sel.ranges,function(a){return new ot(pe(a.anchor.line+n,a.anchor.ch),pe(a.head.line+n,a.head.ch))}),e.sel.primIndex),e.cm)){er(e.cm,e.first,e.first-n,n);for(var l=e.cm.display,s=l.viewFrom;s<l.viewTo;s++)Tn(e.cm,s,"gutter")}}function ns(e,n,l,s){if(e.cm&&!e.cm.curOp)return It(e.cm,ns)(e,n,l,s);if(n.to.line<e.first){Ah(e,n.text.length-1-(n.to.line-n.from.line));return}if(!(n.from.line>e.lastLine())){if(n.from.line<e.first){var a=n.text.length-1-(e.first-n.from.line);Ah(e,a),n={from:pe(e.first,0),to:pe(n.to.line+a,n.to.ch),text:[Z(n.text)],origin:n.origin}}var d=e.lastLine();n.to.line>d&&(n={from:n.from,to:pe(d,Ne(e,d).text.length),text:[n.text[0]],origin:n.origin}),n.removed=$r(e,n.from,n.to),l||(l=Bu(e,n)),e.cm?L0(e.cm,n,s):ju(e,n,s),Dl(e,l,Ie),e.cantEdit&&Fl(e,pe(e.firstLine(),0))&&(e.cantEdit=!1)}}function L0(e,n,l){var s=e.doc,a=e.display,d=n.from,v=n.to,y=!1,S=d.line;e.options.lineWrapping||(S=it(Yr(Ne(s,d.line))),s.iter(S,v.line+1,function(V){if(V==a.maxLine)return y=!0,!0})),s.sel.contains(n.from,n.to)>-1&&et(e),ju(s,n,l,Jd(e)),e.options.lineWrapping||(s.iter(S,d.line+n.text.length,function(V){var ne=Sl(V);ne>a.maxLineLength&&(a.maxLine=V,a.maxLineLength=ne,a.maxLineChanged=!0,y=!1)}),y&&(e.curOp.updateMaxLine=!0)),Sy(s,d.line),es(e,400);var C=n.text.length-(v.line-d.line)-1;n.full?er(e):d.line==v.line&&n.text.length==1&&!hh(e.doc,n)?Tn(e,d.line,"text"):er(e,d.line,v.line+1,C);var A=rt(e,"changes"),R=rt(e,"change");if(R||A){var X={from:d,to:v,text:n.text,removed:n.removed,origin:n.origin};R&&Nt(e,"change",e,X),A&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(X)}e.display.selForContextMenu=null}function Ji(e,n,l,s,a){var d;s||(s=l),T(s,l)<0&&(d=[s,l],l=d[0],s=d[1]),typeof n=="string"&&(n=e.splitLines(n)),Xi(e,{from:l,to:s,text:n,origin:a})}function Lh(e,n,l,s){l<e.line?e.line+=s:n<e.line&&(e.line=n,e.ch=0)}function Nh(e,n,l,s){for(var a=0;a<e.length;++a){var d=e[a],v=!0;if(d.ranges){d.copied||(d=e[a]=d.deepCopy(),d.copied=!0);for(var y=0;y<d.ranges.length;y++)Lh(d.ranges[y].anchor,n,l,s),Lh(d.ranges[y].head,n,l,s);continue}for(var S=0;S<d.changes.length;++S){var C=d.changes[S];if(l<C.from.line)C.from=pe(C.from.line+s,C.from.ch),C.to=pe(C.to.line+s,C.to.ch);else if(n<=C.to.line){v=!1;break}}v||(e.splice(0,a+1),a=0)}}function Ih(e,n){var l=n.from.line,s=n.to.line,a=n.text.length-(s-l)-1;Nh(e.done,l,s,a),Nh(e.undone,l,s,a)}function is(e,n,l,s){var a=n,d=n;return typeof n=="number"?d=Ne(e,_e(e,n)):a=it(n),a==null?null:(s(d,a)&&e.cm&&Tn(e.cm,a,l),d)}function os(e){this.lines=e,this.parent=null;for(var n=0,l=0;l<e.length;++l)e[l].parent=this,n+=e[l].height;this.height=n}os.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,n){for(var l=e,s=e+n;l<s;++l){var a=this.lines[l];this.height-=a.height,Ny(a),Nt(a,"delete")}this.lines.splice(e,n)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,n,l){this.height+=l,this.lines=this.lines.slice(0,e).concat(n).concat(this.lines.slice(e));for(var s=0;s<n.length;++s)n[s].parent=this},iterN:function(e,n,l){for(var s=e+n;e<s;++e)if(l(this.lines[e]))return!0}};function ss(e){this.children=e;for(var n=0,l=0,s=0;s<e.length;++s){var a=e[s];n+=a.chunkSize(),l+=a.height,a.parent=this}this.size=n,this.height=l,this.parent=null}ss.prototype={chunkSize:function(){return this.size},removeInner:function(e,n){this.size-=n;for(var l=0;l<this.children.length;++l){var s=this.children[l],a=s.chunkSize();if(e<a){var d=Math.min(n,a-e),v=s.height;if(s.removeInner(e,d),this.height-=v-s.height,a==d&&(this.children.splice(l--,1),s.parent=null),(n-=d)==0)break;e=0}else e-=a}if(this.size-n<25&&(this.children.length>1||!(this.children[0]instanceof os))){var y=[];this.collapse(y),this.children=[new os(y)],this.children[0].parent=this}},collapse:function(e){for(var n=0;n<this.children.length;++n)this.children[n].collapse(e)},insertInner:function(e,n,l){this.size+=n.length,this.height+=l;for(var s=0;s<this.children.length;++s){var a=this.children[s],d=a.chunkSize();if(e<=d){if(a.insertInner(e,n,l),a.lines&&a.lines.length>50){for(var v=a.lines.length%25+25,y=v;y<a.lines.length;){var S=new os(a.lines.slice(y,y+=25));a.height-=S.height,this.children.splice(++s,0,S),S.parent=this}a.lines=a.lines.slice(0,v),this.maybeSpill()}break}e-=d}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var n=e.children.splice(e.children.length-5,5),l=new ss(n);if(e.parent){e.size-=l.size,e.height-=l.height;var a=se(e.parent.children,e);e.parent.children.splice(a+1,0,l)}else{var s=new ss(e.children);s.parent=e,e.children=[s,l],e=s}l.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,n,l){for(var s=0;s<this.children.length;++s){var a=this.children[s],d=a.chunkSize();if(e<d){var v=Math.min(n,d-e);if(a.iterN(e,v,l))return!0;if((n-=v)==0)break;e=0}else e-=d}}};var ls=function(e,n,l){if(l)for(var s in l)l.hasOwnProperty(s)&&(this[s]=l[s]);this.doc=e,this.node=n};ls.prototype.clear=function(){var e=this.doc.cm,n=this.line.widgets,l=this.line,s=it(l);if(!(s==null||!n)){for(var a=0;a<n.length;++a)n[a]==this&&n.splice(a--,1);n.length||(l.widgets=null);var d=Yo(this);cr(l,Math.max(0,l.height-d)),e&&(dr(e,function(){Rh(e,l,-d),Tn(e,s,"widget")}),Nt(e,"lineWidgetCleared",e,this,s))}},ls.prototype.changed=function(){var e=this,n=this.height,l=this.doc.cm,s=this.line;this.height=null;var a=Yo(this)-n;!a||(Cn(this.doc,s)||cr(s,s.height+a),l&&dr(l,function(){l.curOp.forceUpdate=!0,Rh(l,s,a),Nt(l,"lineWidgetChanged",l,e,it(s))}))},fr(ls);function Rh(e,n,l){ln(n)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Iu(e,l)}function N0(e,n,l,s){var a=new ls(e,l,s),d=e.cm;return d&&a.noHScroll&&(d.display.alignWidgets=!0),is(e,n,"widget",function(v){var y=v.widgets||(v.widgets=[]);if(a.insertAt==null?y.push(a):y.splice(Math.min(y.length,Math.max(0,a.insertAt)),0,a),a.line=v,d&&!Cn(e,v)){var S=ln(v)<e.scrollTop;cr(v,v.height+Yo(a)),S&&Iu(d,a.height),d.curOp.forceUpdate=!0}return!0}),d&&Nt(d,"lineWidgetAdded",d,a,typeof n=="number"?n:it(n)),a}var Dh=0,Mn=function(e,n){this.lines=[],this.type=n,this.doc=e,this.id=++Dh};Mn.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&si(e),rt(this,"clear")){var l=this.find();l&&Nt(this,"clear",l.from,l.to)}for(var s=null,a=null,d=0;d<this.lines.length;++d){var v=this.lines[d],y=$o(v.markedSpans,this);e&&!this.collapsed?Tn(e,it(v),"text"):e&&(y.to!=null&&(a=it(v)),y.from!=null&&(s=it(v))),v.markedSpans=Cy(v.markedSpans,y),y.from==null&&this.collapsed&&!Cn(this.doc,v)&&e&&cr(v,ji(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var S=0;S<this.lines.length;++S){var C=Yr(this.lines[S]),A=Sl(C);A>e.display.maxLineLength&&(e.display.maxLine=C,e.display.maxLineLength=A,e.display.maxLineChanged=!0)}s!=null&&e&&this.collapsed&&er(e,s,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Th(e.doc)),e&&Nt(e,"markerCleared",e,this,s,a),n&&li(e),this.parent&&this.parent.clear()}},Mn.prototype.find=function(e,n){e==null&&this.type=="bookmark"&&(e=1);for(var l,s,a=0;a<this.lines.length;++a){var d=this.lines[a],v=$o(d.markedSpans,this);if(v.from!=null&&(l=pe(n?d:it(d),v.from),e==-1))return l;if(v.to!=null&&(s=pe(n?d:it(d),v.to),e==1))return s}return l&&{from:l,to:s}},Mn.prototype.changed=function(){var e=this,n=this.find(-1,!0),l=this,s=this.doc.cm;!n||!s||dr(s,function(){var a=n.line,d=it(n.line),v=Su(s,d);if(v&&(jd(v),s.curOp.selectionChanged=s.curOp.forceUpdate=!0),s.curOp.updateMaxLine=!0,!Cn(l.doc,a)&&l.height!=null){var y=l.height;l.height=null;var S=Yo(l)-y;S&&cr(a,a.height+S)}Nt(s,"markerChanged",s,e)})},Mn.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(!n.maybeHiddenMarkers||se(n.maybeHiddenMarkers,this)==-1)&&(n.maybeUnhiddenMarkers||(n.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Mn.prototype.detachLine=function(e){if(this.lines.splice(se(this.lines,e),1),!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(n.maybeHiddenMarkers||(n.maybeHiddenMarkers=[])).push(this)}},fr(Mn);function Zi(e,n,l,s,a){if(s&&s.shared)return I0(e,n,l,s,a);if(e.cm&&!e.cm.curOp)return It(e.cm,Zi)(e,n,l,s,a);var d=new Mn(e,a),v=T(n,l);if(s&&Ke(s,d,!1),v>0||v==0&&d.clearWhenEmpty!==!1)return d;if(d.replacedWith&&(d.collapsed=!0,d.widgetNode=w("span",[d.replacedWith],"CodeMirror-widget"),s.handleMouseEvents||d.widgetNode.setAttribute("cm-ignore-events","true"),s.insertLeft&&(d.widgetNode.insertLeft=!0)),d.collapsed){if(Ed(e,n.line,n,l,d)||n.line!=l.line&&Ed(e,l.line,n,l,d))throw new Error("Inserting collapsed marker partially overlapping an existing one");wy()}d.addToHistory&&mh(e,{from:n,to:l,origin:"markText"},e.sel,NaN);var y=n.line,S=e.cm,C;if(e.iter(y,l.line+1,function(R){S&&d.collapsed&&!S.options.lineWrapping&&Yr(R)==S.display.maxLine&&(C=!0),d.collapsed&&y!=n.line&&cr(R,0),Ty(R,new vl(d,y==n.line?n.ch:null,y==l.line?l.ch:null),e.cm&&e.cm.curOp),++y}),d.collapsed&&e.iter(n.line,l.line+1,function(R){Cn(e,R)&&cr(R,0)}),d.clearOnEnter&&De(d,"beforeCursorEnter",function(){return d.clear()}),d.readOnly&&(xy(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),d.collapsed&&(d.id=++Dh,d.atomic=!0),S){if(C&&(S.curOp.updateMaxLine=!0),d.collapsed)er(S,n.line,l.line+1);else if(d.className||d.startStyle||d.endStyle||d.css||d.attributes||d.title)for(var A=n.line;A<=l.line;A++)Tn(S,A,"text");d.atomic&&Th(S.doc),Nt(S,"markerAdded",S,d)}return d}var as=function(e,n){this.markers=e,this.primary=n;for(var l=0;l<e.length;++l)e[l].parent=this};as.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Nt(this,"clear")}},as.prototype.find=function(e,n){return this.primary.find(e,n)},fr(as);function I0(e,n,l,s,a){s=Ke(s),s.shared=!1;var d=[Zi(e,n,l,s,a)],v=d[0],y=s.widgetNode;return Pn(e,function(S){y&&(s.widgetNode=y.cloneNode(!0)),d.push(Zi(S,Me(S,n),Me(S,l),s,a));for(var C=0;C<S.linked.length;++C)if(S.linked[C].isParent)return;v=Z(d)}),new as(d,v)}function Fh(e){return e.findMarks(pe(e.first,0),e.clipPos(pe(e.lastLine())),function(n){return n.parent})}function R0(e,n){for(var l=0;l<n.length;l++){var s=n[l],a=s.find(),d=e.clipPos(a.from),v=e.clipPos(a.to);if(T(d,v)){var y=Zi(e,d,v,s.primary,s.primary.type);s.markers.push(y),y.parent=s}}}function D0(e){for(var n=function(s){var a=e[s],d=[a.primary.doc];Pn(a.primary.doc,function(S){return d.push(S)});for(var v=0;v<a.markers.length;v++){var y=a.markers[v];se(d,y.doc)==-1&&(y.parent=null,a.markers.splice(v--,1))}},l=0;l<e.length;l++)n(l)}var F0=0,tr=function(e,n,l,s,a){if(!(this instanceof tr))return new tr(e,n,l,s,a);l==null&&(l=0),ss.call(this,[new os([new Hi("",null)])]),this.first=l,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=l;var d=pe(l,0);this.sel=On(d),this.history=new Nl(null),this.id=++F0,this.modeOption=n,this.lineSep=s,this.direction=a=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),ju(this,{from:d,to:d,text:e}),$t(this,On(d),Ie)};tr.prototype=Ce(ss.prototype,{constructor:tr,iter:function(e,n,l){l?this.iterN(e-this.first,n-e,l):this.iterN(this.first,this.first+this.size,e)},insert:function(e,n){for(var l=0,s=0;s<n.length;++s)l+=n[s].height;this.insertInner(e-this.first,n,l)},remove:function(e,n){this.removeInner(e-this.first,n)},getValue:function(e){var n=jo(this,this.first,this.first+this.size);return e===!1?n:n.join(e||this.lineSeparator())},setValue:Rt(function(e){var n=pe(this.first,0),l=this.first+this.size-1;Xi(this,{from:n,to:pe(l,Ne(this,l).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Zo(this.cm,0,0),$t(this,On(n),Ie)}),replaceRange:function(e,n,l,s){n=Me(this,n),l=l?Me(this,l):n,Ji(this,e,n,l,s)},getRange:function(e,n,l){var s=$r(this,Me(this,e),Me(this,n));return l===!1?s:l===""?s.join(""):s.join(l||this.lineSeparator())},getLine:function(e){var n=this.getLineHandle(e);return n&&n.text},getLineHandle:function(e){if(_n(this,e))return Ne(this,e)},getLineNumber:function(e){return it(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Ne(this,e)),Yr(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return Me(this,e)},getCursor:function(e){var n=this.sel.primary(),l;return e==null||e=="head"?l=n.head:e=="anchor"?l=n.anchor:e=="end"||e=="to"||e===!1?l=n.to():l=n.from(),l},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Rt(function(e,n,l){xh(this,Me(this,typeof e=="number"?pe(e,n||0):e),null,l)}),setSelection:Rt(function(e,n,l){xh(this,Me(this,e),Me(this,n||e),l)}),extendSelection:Rt(function(e,n,l){Rl(this,Me(this,e),n&&Me(this,n),l)}),extendSelections:Rt(function(e,n){Sh(this,Sr(this,e),n)}),extendSelectionsBy:Rt(function(e,n){var l=oe(this.sel.ranges,e);Sh(this,Sr(this,l),n)}),setSelections:Rt(function(e,n,l){if(!!e.length){for(var s=[],a=0;a<e.length;a++)s[a]=new ot(Me(this,e[a].anchor),Me(this,e[a].head||e[a].anchor));n==null&&(n=Math.min(e.length-1,this.sel.primIndex)),$t(this,Hr(this.cm,s,n),l)}}),addSelection:Rt(function(e,n,l){var s=this.sel.ranges.slice(0);s.push(new ot(Me(this,e),Me(this,n||e))),$t(this,Hr(this.cm,s,s.length-1),l)}),getSelection:function(e){for(var n=this.sel.ranges,l,s=0;s<n.length;s++){var a=$r(this,n[s].from(),n[s].to());l=l?l.concat(a):a}return e===!1?l:l.join(e||this.lineSeparator())},getSelections:function(e){for(var n=[],l=this.sel.ranges,s=0;s<l.length;s++){var a=$r(this,l[s].from(),l[s].to());e!==!1&&(a=a.join(e||this.lineSeparator())),n[s]=a}return n},replaceSelection:function(e,n,l){for(var s=[],a=0;a<this.sel.ranges.length;a++)s[a]=e;this.replaceSelections(s,n,l||"+input")},replaceSelections:Rt(function(e,n,l){for(var s=[],a=this.sel,d=0;d<a.ranges.length;d++){var v=a.ranges[d];s[d]={from:v.from(),to:v.to(),text:this.splitLines(e[d]),origin:l}}for(var y=n&&n!="end"&&C0(this,s,n),S=s.length-1;S>=0;S--)Xi(this,s[S]);y?wh(this,y):this.cm&&$i(this.cm)}),undo:Rt(function(){zl(this,"undo")}),redo:Rt(function(){zl(this,"redo")}),undoSelection:Rt(function(){zl(this,"undo",!0)}),redoSelection:Rt(function(){zl(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,n=0,l=0,s=0;s<e.done.length;s++)e.done[s].ranges||++n;for(var a=0;a<e.undone.length;a++)e.undone[a].ranges||++l;return{undo:n,redo:l}},clearHistory:function(){var e=this;this.history=new Nl(this.history),Pn(this,function(n){return n.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Gi(this.history.done),undone:Gi(this.history.undone)}},setHistory:function(e){var n=this.history=new Nl(this.history);n.done=Gi(e.done.slice(0),null,!0),n.undone=Gi(e.undone.slice(0),null,!0)},setGutterMarker:Rt(function(e,n,l){return is(this,e,"gutter",function(s){var a=s.gutterMarkers||(s.gutterMarkers={});return a[n]=l,!l&&re(a)&&(s.gutterMarkers=null),!0})}),clearGutter:Rt(function(e){var n=this;this.iter(function(l){l.gutterMarkers&&l.gutterMarkers[e]&&is(n,l,"gutter",function(){return l.gutterMarkers[e]=null,re(l.gutterMarkers)&&(l.gutterMarkers=null),!0})})}),lineInfo:function(e){var n;if(typeof e=="number"){if(!_n(this,e)||(n=e,e=Ne(this,e),!e))return null}else if(n=it(e),n==null)return null;return{line:n,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Rt(function(e,n,l){return is(this,e,n=="gutter"?"gutter":"class",function(s){var a=n=="text"?"textClass":n=="background"?"bgClass":n=="gutter"?"gutterClass":"wrapClass";if(!s[a])s[a]=l;else{if(te(l).test(s[a]))return!1;s[a]+=" "+l}return!0})}),removeLineClass:Rt(function(e,n,l){return is(this,e,n=="gutter"?"gutter":"class",function(s){var a=n=="text"?"textClass":n=="background"?"bgClass":n=="gutter"?"gutterClass":"wrapClass",d=s[a];if(d)if(l==null)s[a]=null;else{var v=d.match(te(l));if(!v)return!1;var y=v.index+v[0].length;s[a]=d.slice(0,v.index)+(!v.index||y==d.length?"":" ")+d.slice(y)||null}else return!1;return!0})}),addLineWidget:Rt(function(e,n,l){return N0(this,e,n,l)}),removeLineWidget:function(e){e.clear()},markText:function(e,n,l){return Zi(this,Me(this,e),Me(this,n),l,l&&l.type||"range")},setBookmark:function(e,n){var l={replacedWith:n&&(n.nodeType==null?n.widget:n),insertLeft:n&&n.insertLeft,clearWhenEmpty:!1,shared:n&&n.shared,handleMouseEvents:n&&n.handleMouseEvents};return e=Me(this,e),Zi(this,e,e,l,"bookmark")},findMarksAt:function(e){e=Me(this,e);var n=[],l=Ne(this,e.line).markedSpans;if(l)for(var s=0;s<l.length;++s){var a=l[s];(a.from==null||a.from<=e.ch)&&(a.to==null||a.to>=e.ch)&&n.push(a.marker.parent||a.marker)}return n},findMarks:function(e,n,l){e=Me(this,e),n=Me(this,n);var s=[],a=e.line;return this.iter(e.line,n.line+1,function(d){var v=d.markedSpans;if(v)for(var y=0;y<v.length;y++){var S=v[y];!(S.to!=null&&a==e.line&&e.ch>=S.to||S.from==null&&a!=e.line||S.from!=null&&a==n.line&&S.from>=n.ch)&&(!l||l(S.marker))&&s.push(S.marker.parent||S.marker)}++a}),s},getAllMarks:function(){var e=[];return this.iter(function(n){var l=n.markedSpans;if(l)for(var s=0;s<l.length;++s)l[s].from!=null&&e.push(l[s].marker)}),e},posFromIndex:function(e){var n,l=this.first,s=this.lineSeparator().length;return this.iter(function(a){var d=a.text.length+s;if(d>e)return n=e,!0;e-=d,++l}),Me(this,pe(l,n))},indexFromPos:function(e){e=Me(this,e);var n=e.ch;if(e.line<this.first||e.ch<0)return 0;var l=this.lineSeparator().length;return this.iter(this.first,e.line,function(s){n+=s.text.length+l}),n},copy:function(e){var n=new tr(jo(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return n.scrollTop=this.scrollTop,n.scrollLeft=this.scrollLeft,n.sel=this.sel,n.extend=!1,e&&(n.history.undoDepth=this.history.undoDepth,n.setHistory(this.getHistory())),n},linkedDoc:function(e){e||(e={});var n=this.first,l=this.first+this.size;e.from!=null&&e.from>n&&(n=e.from),e.to!=null&&e.to<l&&(l=e.to);var s=new tr(jo(this,n,l),e.mode||this.modeOption,n,this.lineSep,this.direction);return e.sharedHist&&(s.history=this.history),(this.linked||(this.linked=[])).push({doc:s,sharedHist:e.sharedHist}),s.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],R0(s,Fh(this)),s},unlinkDoc:function(e){if(e instanceof ht&&(e=e.doc),this.linked)for(var n=0;n<this.linked.length;++n){var l=this.linked[n];if(l.doc==e){this.linked.splice(n,1),e.unlinkDoc(this),D0(Fh(this));break}}if(e.history==this.history){var s=[e.id];Pn(e,function(a){return s.push(a.id)},!0),e.history=new Nl(null),e.history.done=Gi(this.history.done,s),e.history.undone=Gi(this.history.undone,s)}},iterLinkedDocs:function(e){Pn(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):zo(e)},lineSeparator:function(){return this.lineSep||`
15
- `},setDirection:Rt(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(n){return n.order=null}),this.cm&&T0(this.cm))})}),tr.prototype.eachLine=tr.prototype.iter;var zh=0;function z0(e){var n=this;if(Hh(n),!(He(n,e)||an(n.display,e))){Lt(e),h&&(zh=+new Date);var l=ri(n,e,!0),s=e.dataTransfer.files;if(!(!l||n.isReadOnly()))if(s&&s.length&&window.FileReader&&window.File)for(var a=s.length,d=Array(a),v=0,y=function(){++v==a&&It(n,function(){l=Me(n.doc,l);var V={from:l,to:l,text:n.doc.splitLines(d.filter(function(ne){return ne!=null}).join(n.doc.lineSeparator())),origin:"paste"};Xi(n.doc,V),wh(n.doc,On(Me(n.doc,l),Me(n.doc,kn(V))))})()},S=function(V,ne){if(n.options.allowDropFileTypes&&se(n.options.allowDropFileTypes,V.type)==-1){y();return}var ce=new FileReader;ce.onerror=function(){return y()},ce.onload=function(){var Se=ce.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Se)){y();return}d[ne]=Se,y()},ce.readAsText(V)},C=0;C<s.length;C++)S(s[C],C);else{if(n.state.draggingText&&n.doc.sel.contains(l)>-1){n.state.draggingText(e),setTimeout(function(){return n.display.input.focus()},20);return}try{var A=e.dataTransfer.getData("Text");if(A){var R;if(n.state.draggingText&&!n.state.draggingText.copy&&(R=n.listSelections()),Dl(n.doc,On(l,l)),R)for(var X=0;X<R.length;++X)Ji(n.doc,"",R[X].anchor,R[X].head,"drag");n.replaceSelection(A,"around","paste"),n.display.input.focus()}}catch{}}}}function H0(e,n){if(h&&(!e.state.draggingText||+new Date-zh<100)){qn(n);return}if(!(He(e,n)||an(e.display,n))&&(n.dataTransfer.setData("Text",e.getSelection()),n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setDragImage&&!P)){var l=k("img",null,null,"position: fixed; left: 0; top: 0;");l.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",E&&(l.width=l.height=1,e.display.wrapper.appendChild(l),l._top=l.offsetTop),n.dataTransfer.setDragImage(l,0,0),E&&l.parentNode.removeChild(l)}}function B0(e,n){var l=ri(e,n);if(!!l){var s=document.createDocumentFragment();Pu(e,l,s),e.display.dragCursor||(e.display.dragCursor=k("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,s)}}function Hh(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Bh(e){if(!!document.getElementsByClassName){for(var n=document.getElementsByClassName("CodeMirror"),l=[],s=0;s<n.length;s++){var a=n[s].CodeMirror;a&&l.push(a)}l.length&&l[0].operation(function(){for(var d=0;d<l.length;d++)e(l[d])})}}var Wh=!1;function W0(){Wh||(j0(),Wh=!0)}function j0(){var e;De(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Bh(K0)},100))}),De(window,"blur",function(){return Bh(Ui)})}function K0(e){var n=e.display;n.cachedCharWidth=n.cachedTextHeight=n.cachedPaddingH=null,n.scrollbarsClipped=!1,e.setSize()}for(var An={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},us=0;us<10;us++)An[us+48]=An[us+96]=String(us);for(var Hl=65;Hl<=90;Hl++)An[Hl]=String.fromCharCode(Hl);for(var fs=1;fs<=12;fs++)An[fs+111]=An[fs+63235]="F"+fs;var fn={};fn.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},fn.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},fn.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},fn.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},fn.default=H?fn.macDefault:fn.pcDefault;function U0(e){var n=e.split(/-(?!$)/);e=n[n.length-1];for(var l,s,a,d,v=0;v<n.length-1;v++){var y=n[v];if(/^(cmd|meta|m)$/i.test(y))d=!0;else if(/^a(lt)?$/i.test(y))l=!0;else if(/^(c|ctrl|control)$/i.test(y))s=!0;else if(/^s(hift)?$/i.test(y))a=!0;else throw new Error("Unrecognized modifier name: "+y)}return l&&(e="Alt-"+e),s&&(e="Ctrl-"+e),d&&(e="Cmd-"+e),a&&(e="Shift-"+e),e}function $0(e){var n={};for(var l in e)if(e.hasOwnProperty(l)){var s=e[l];if(/^(name|fallthrough|(de|at)tach)$/.test(l))continue;if(s=="..."){delete e[l];continue}for(var a=oe(l.split(" "),U0),d=0;d<a.length;d++){var v=void 0,y=void 0;d==a.length-1?(y=a.join(" "),v=s):(y=a.slice(0,d+1).join(" "),v="...");var S=n[y];if(!S)n[y]=v;else if(S!=v)throw new Error("Inconsistent bindings for "+y)}delete e[l]}for(var C in n)e[C]=n[C];return e}function Qi(e,n,l,s){n=Bl(n);var a=n.call?n.call(e,s):n[e];if(a===!1)return"nothing";if(a==="...")return"multi";if(a!=null&&l(a))return"handled";if(n.fallthrough){if(Object.prototype.toString.call(n.fallthrough)!="[object Array]")return Qi(e,n.fallthrough,l,s);for(var d=0;d<n.fallthrough.length;d++){var v=Qi(e,n.fallthrough[d],l,s);if(v)return v}}}function jh(e){var n=typeof e=="string"?e:An[e.keyCode];return n=="Ctrl"||n=="Alt"||n=="Shift"||n=="Mod"}function Kh(e,n,l){var s=e;return n.altKey&&s!="Alt"&&(e="Alt-"+e),(U?n.metaKey:n.ctrlKey)&&s!="Ctrl"&&(e="Ctrl-"+e),(U?n.ctrlKey:n.metaKey)&&s!="Mod"&&(e="Cmd-"+e),!l&&n.shiftKey&&s!="Shift"&&(e="Shift-"+e),e}function Uh(e,n){if(E&&e.keyCode==34&&e.char)return!1;var l=An[e.keyCode];return l==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(l=e.code),Kh(l,e,n))}function Bl(e){return typeof e=="string"?fn[e]:e}function qi(e,n){for(var l=e.doc.sel.ranges,s=[],a=0;a<l.length;a++){for(var d=n(l[a]);s.length&&T(d.from,Z(s).to)<=0;){var v=s.pop();if(T(v.from,d.from)<0){d.from=v.from;break}}s.push(d)}dr(e,function(){for(var y=s.length-1;y>=0;y--)Ji(e.doc,"",s[y].from,s[y].to,"+delete");$i(e)})}function Vu(e,n,l){var s=Re(e.text,n+l,l);return s<0||s>e.text.length?null:s}function Gu(e,n,l){var s=Vu(e,n.ch,l);return s==null?null:new pe(n.line,s,l<0?"after":"before")}function Yu(e,n,l,s,a){if(e){n.doc.direction=="rtl"&&(a=-a);var d=vt(l,n.doc.direction);if(d){var v=a<0?Z(d):d[0],y=a<0==(v.level==1),S=y?"after":"before",C;if(v.level>0||n.doc.direction=="rtl"){var A=Wi(n,l);C=a<0?l.text.length-1:0;var R=Jr(n,A,C).top;C=Ve(function(X){return Jr(n,A,X).top==R},a<0==(v.level==1)?v.from:v.to-1,C),S=="before"&&(C=Vu(l,C,1))}else C=a<0?v.to:v.from;return new pe(s,C,S)}}return new pe(s,a<0?l.text.length:0,a<0?"before":"after")}function V0(e,n,l,s){var a=vt(n,e.doc.direction);if(!a)return Gu(n,l,s);l.ch>=n.text.length?(l.ch=n.text.length,l.sticky="before"):l.ch<=0&&(l.ch=0,l.sticky="after");var d=Ue(a,l.ch,l.sticky),v=a[d];if(e.doc.direction=="ltr"&&v.level%2==0&&(s>0?v.to>l.ch:v.from<l.ch))return Gu(n,l,s);var y=function(Te,Pe){return Vu(n,Te instanceof pe?Te.ch:Te,Pe)},S,C=function(Te){return e.options.lineWrapping?(S=S||Wi(e,n),Xd(e,n,S,Te)):{begin:0,end:n.text.length}},A=C(l.sticky=="before"?y(l,-1):l.ch);if(e.doc.direction=="rtl"||v.level==1){var R=v.level==1==s<0,X=y(l,R?1:-1);if(X!=null&&(R?X<=v.to&&X<=A.end:X>=v.from&&X>=A.begin)){var V=R?"before":"after";return new pe(l.line,X,V)}}var ne=function(Te,Pe,Ee){for(var Ae=function(ct,Dt){return Dt?new pe(l.line,y(ct,1),"before"):new pe(l.line,ct,"after")};Te>=0&&Te<a.length;Te+=Pe){var Be=a[Te],ze=Pe>0==(Be.level!=1),Qe=ze?Ee.begin:y(Ee.end,-1);if(Be.from<=Qe&&Qe<Be.to||(Qe=ze?Be.from:y(Be.to,-1),Ee.begin<=Qe&&Qe<Ee.end))return Ae(Qe,ze)}},ce=ne(d+s,s,A);if(ce)return ce;var Se=s>0?A.end:y(A.begin,-1);return Se!=null&&!(s>0&&Se==n.text.length)&&(ce=ne(s>0?0:a.length-1,s,C(Se)),ce)?ce:null}var cs={selectAll:kh,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ie)},killLine:function(e){return qi(e,function(n){if(n.empty()){var l=Ne(e.doc,n.head.line).text.length;return n.head.ch==l&&n.head.line<e.lastLine()?{from:n.head,to:pe(n.head.line+1,0)}:{from:n.head,to:pe(n.head.line,l)}}else return{from:n.from(),to:n.to()}})},deleteLine:function(e){return qi(e,function(n){return{from:pe(n.from().line,0),to:Me(e.doc,pe(n.to().line+1,0))}})},delLineLeft:function(e){return qi(e,function(n){return{from:pe(n.from().line,0),to:n.from()}})},delWrappedLineLeft:function(e){return qi(e,function(n){var l=e.charCoords(n.head,"div").top+5,s=e.coordsChar({left:0,top:l},"div");return{from:s,to:n.from()}})},delWrappedLineRight:function(e){return qi(e,function(n){var l=e.charCoords(n.head,"div").top+5,s=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:l},"div");return{from:n.from(),to:s}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(pe(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(pe(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(n){return $h(e,n.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(n){return Vh(e,n.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(n){return G0(e,n.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(n){var l=e.cursorCoords(n.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:l},"div")},me)},goLineLeft:function(e){return e.extendSelectionsBy(function(n){var l=e.cursorCoords(n.head,"div").top+5;return e.coordsChar({left:0,top:l},"div")},me)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(n){var l=e.cursorCoords(n.head,"div").top+5,s=e.coordsChar({left:0,top:l},"div");return s.ch<e.getLine(s.line).search(/\S/)?Vh(e,n.head):s},me)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var n=[],l=e.listSelections(),s=e.options.tabSize,a=0;a<l.length;a++){var d=l[a].from(),v=Xe(e.getLine(d.line),d.ch,s);n.push($(s-v%s))}e.replaceSelections(n)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return dr(e,function(){for(var n=e.listSelections(),l=[],s=0;s<n.length;s++)if(!!n[s].empty()){var a=n[s].head,d=Ne(e.doc,a.line).text;if(d){if(a.ch==d.length&&(a=new pe(a.line,a.ch-1)),a.ch>0)a=new pe(a.line,a.ch+1),e.replaceRange(d.charAt(a.ch-1)+d.charAt(a.ch-2),pe(a.line,a.ch-2),a,"+transpose");else if(a.line>e.doc.first){var v=Ne(e.doc,a.line-1).text;v&&(a=new pe(a.line,1),e.replaceRange(d.charAt(0)+e.doc.lineSeparator()+v.charAt(v.length-1),pe(a.line-1,v.length-1),a,"+transpose"))}}l.push(new ot(a,a))}e.setSelections(l)})},newlineAndIndent:function(e){return dr(e,function(){for(var n=e.listSelections(),l=n.length-1;l>=0;l--)e.replaceRange(e.doc.lineSeparator(),n[l].anchor,n[l].head,"+input");n=e.listSelections();for(var s=0;s<n.length;s++)e.indentLine(n[s].from().line,null,!0);$i(e)})},openLine:function(e){return e.replaceSelection(`
16
- `,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function $h(e,n){var l=Ne(e.doc,n),s=Yr(l);return s!=l&&(n=it(s)),Yu(!0,e,s,n,1)}function G0(e,n){var l=Ne(e.doc,n),s=My(l);return s!=l&&(n=it(s)),Yu(!0,e,l,n,-1)}function Vh(e,n){var l=$h(e,n.line),s=Ne(e.doc,l.line),a=vt(s,e.doc.direction);if(!a||a[0].level==0){var d=Math.max(l.ch,s.text.search(/\S/)),v=n.line==l.line&&n.ch<=d&&n.ch;return pe(l.line,v?0:d,l.sticky)}return l}function Wl(e,n,l){if(typeof n=="string"&&(n=cs[n],!n))return!1;e.display.input.ensurePolled();var s=e.display.shift,a=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),l&&(e.display.shift=!1),a=n(e)!=be}finally{e.display.shift=s,e.state.suppressEdits=!1}return a}function Y0(e,n,l){for(var s=0;s<e.state.keyMaps.length;s++){var a=Qi(n,e.state.keyMaps[s],l,e);if(a)return a}return e.options.extraKeys&&Qi(n,e.options.extraKeys,l,e)||Qi(n,e.options.keyMap,l,e)}var X0=new ie;function ds(e,n,l,s){var a=e.state.keySeq;if(a){if(jh(n))return"handled";if(/\'$/.test(n)?e.state.keySeq=null:X0.set(50,function(){e.state.keySeq==a&&(e.state.keySeq=null,e.display.input.reset())}),Gh(e,a+" "+n,l,s))return!0}return Gh(e,n,l,s)}function Gh(e,n,l,s){var a=Y0(e,n,s);return a=="multi"&&(e.state.keySeq=n),a=="handled"&&Nt(e,"keyHandled",e,n,l),(a=="handled"||a=="multi")&&(Lt(l),Mu(e)),!!a}function Yh(e,n){var l=Uh(n,!0);return l?n.shiftKey&&!e.state.keySeq?ds(e,"Shift-"+l,n,function(s){return Wl(e,s,!0)})||ds(e,l,n,function(s){if(typeof s=="string"?/^go[A-Z]/.test(s):s.motion)return Wl(e,s)}):ds(e,l,n,function(s){return Wl(e,s)}):!1}function J0(e,n,l){return ds(e,"'"+l+"'",n,function(s){return Wl(e,s,!0)})}var Xu=null;function Xh(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&(n.curOp.focus=Y(),!He(n,e))){h&&g<11&&e.keyCode==27&&(e.returnValue=!1);var l=e.keyCode;n.display.shift=l==16||e.shiftKey;var s=Yh(n,e);E&&(Xu=s?l:null,!s&&l==88&&!pl&&(H?e.metaKey:e.ctrlKey)&&n.replaceSelection("",null,"cut")),u&&!H&&!s&&l==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),l==18&&!/\bCodeMirror-crosshair\b/.test(n.display.lineDiv.className)&&Z0(n)}}function Z0(e){var n=e.display.lineDiv;ue(n,"CodeMirror-crosshair");function l(s){(s.keyCode==18||!s.altKey)&&(ee(n,"CodeMirror-crosshair"),Oe(document,"keyup",l),Oe(document,"mouseover",l))}De(document,"keyup",l),De(document,"mouseover",l)}function Jh(e){e.keyCode==16&&(this.doc.sel.shift=!1),He(this,e)}function Zh(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&!(an(n.display,e)||He(n,e)||e.ctrlKey&&!e.altKey||H&&e.metaKey)){var l=e.keyCode,s=e.charCode;if(E&&l==Xu){Xu=null,Lt(e);return}if(!(E&&(!e.which||e.which<10)&&Yh(n,e))){var a=String.fromCharCode(s==null?l:s);a!="\b"&&(J0(n,e,a)||n.display.input.onKeyPress(e))}}}var Q0=400,Ju=function(e,n,l){this.time=e,this.pos=n,this.button=l};Ju.prototype.compare=function(e,n,l){return this.time+Q0>e&&T(n,this.pos)==0&&l==this.button};var hs,ps;function q0(e,n){var l=+new Date;return ps&&ps.compare(l,e,n)?(hs=ps=null,"triple"):hs&&hs.compare(l,e,n)?(ps=new Ju(l,e,n),hs=null,"double"):(hs=new Ju(l,e,n),ps=null,"single")}function Qh(e){var n=this,l=n.display;if(!(He(n,e)||l.activeTouch&&l.input.supportsTouch())){if(l.input.ensurePolled(),l.shift=e.shiftKey,an(l,e)){m||(l.scroller.draggable=!1,setTimeout(function(){return l.scroller.draggable=!0},100));return}if(!Zu(n,e)){var s=ri(n,e),a=cl(e),d=s?q0(s,a):"single";window.focus(),a==1&&n.state.selectingText&&n.state.selectingText(e),!(s&&_0(n,a,s,d,e))&&(a==1?s?tb(n,s,d,e):xn(e)==l.scroller&&Lt(e):a==2?(s&&Rl(n.doc,s),setTimeout(function(){return l.input.focus()},20)):a==3&&(q?n.display.input.onContextMenu(e):Au(n)))}}}function _0(e,n,l,s,a){var d="Click";return s=="double"?d="Double"+d:s=="triple"&&(d="Triple"+d),d=(n==1?"Left":n==2?"Middle":"Right")+d,ds(e,Kh(d,a),a,function(v){if(typeof v=="string"&&(v=cs[v]),!v)return!1;var y=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),y=v(e,l)!=be}finally{e.state.suppressEdits=!1}return y})}function eb(e,n,l){var s=e.getOption("configureMouse"),a=s?s(e,n,l):{};if(a.unit==null){var d=Q?l.shiftKey&&l.metaKey:l.altKey;a.unit=d?"rectangle":n=="single"?"char":n=="double"?"word":"line"}return(a.extend==null||e.doc.extend)&&(a.extend=e.doc.extend||l.shiftKey),a.addNew==null&&(a.addNew=H?l.metaKey:l.ctrlKey),a.moveOnDrag==null&&(a.moveOnDrag=!(H?l.altKey:l.ctrlKey)),a}function tb(e,n,l,s){h?setTimeout(We(qd,e),0):e.curOp.focus=Y();var a=eb(e,l,s),d=e.doc.sel,v;e.options.dragDrop&&Do&&!e.isReadOnly()&&l=="single"&&(v=d.contains(n))>-1&&(T((v=d.ranges[v]).from(),n)<0||n.xRel>0)&&(T(v.to(),n)>0||n.xRel<0)?rb(e,s,n,a):nb(e,s,n,a)}function rb(e,n,l,s){var a=e.display,d=!1,v=It(e,function(C){m&&(a.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Au(e)),Oe(a.wrapper.ownerDocument,"mouseup",v),Oe(a.wrapper.ownerDocument,"mousemove",y),Oe(a.scroller,"dragstart",S),Oe(a.scroller,"drop",v),d||(Lt(C),s.addNew||Rl(e.doc,l,null,null,s.extend),m&&!P||h&&g==9?setTimeout(function(){a.wrapper.ownerDocument.body.focus({preventScroll:!0}),a.input.focus()},20):a.input.focus())}),y=function(C){d=d||Math.abs(n.clientX-C.clientX)+Math.abs(n.clientY-C.clientY)>=10},S=function(){return d=!0};m&&(a.scroller.draggable=!0),e.state.draggingText=v,v.copy=!s.moveOnDrag,De(a.wrapper.ownerDocument,"mouseup",v),De(a.wrapper.ownerDocument,"mousemove",y),De(a.scroller,"dragstart",S),De(a.scroller,"drop",v),e.state.delayingBlurEvent=!0,setTimeout(function(){return a.input.focus()},20),a.scroller.dragDrop&&a.scroller.dragDrop()}function qh(e,n,l){if(l=="char")return new ot(n,n);if(l=="word")return e.findWordAt(n);if(l=="line")return new ot(pe(n.line,0),Me(e.doc,pe(n.line+1,0)));var s=l(e,n);return new ot(s.from,s.to)}function nb(e,n,l,s){h&&Au(e);var a=e.display,d=e.doc;Lt(n);var v,y,S=d.sel,C=S.ranges;if(s.addNew&&!s.extend?(y=d.sel.contains(l),y>-1?v=C[y]:v=new ot(l,l)):(v=d.sel.primary(),y=d.sel.primIndex),s.unit=="rectangle")s.addNew||(v=new ot(l,l)),l=ri(e,n,!0,!0),y=-1;else{var A=qh(e,l,s.unit);s.extend?v=Uu(v,A.anchor,A.head,s.extend):v=A}s.addNew?y==-1?(y=C.length,$t(d,Hr(e,C.concat([v]),y),{scroll:!1,origin:"*mouse"})):C.length>1&&C[y].empty()&&s.unit=="char"&&!s.extend?($t(d,Hr(e,C.slice(0,y).concat(C.slice(y+1)),0),{scroll:!1,origin:"*mouse"}),S=d.sel):$u(d,y,v,ke):(y=0,$t(d,new xr([v],0),ke),S=d.sel);var R=l;function X(Ee){if(T(R,Ee)!=0)if(R=Ee,s.unit=="rectangle"){for(var Ae=[],Be=e.options.tabSize,ze=Xe(Ne(d,l.line).text,l.ch,Be),Qe=Xe(Ne(d,Ee.line).text,Ee.ch,Be),ct=Math.min(ze,Qe),Dt=Math.max(ze,Qe),mt=Math.min(l.line,Ee.line),hr=Math.min(e.lastLine(),Math.max(l.line,Ee.line));mt<=hr;mt++){var rr=Ne(d,mt).text,Tt=Le(rr,ct,Be);ct==Dt?Ae.push(new ot(pe(mt,Tt),pe(mt,Tt))):rr.length>Tt&&Ae.push(new ot(pe(mt,Tt),pe(mt,Le(rr,Dt,Be))))}Ae.length||Ae.push(new ot(l,l)),$t(d,Hr(e,S.ranges.slice(0,y).concat(Ae),y),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Ee)}else{var nr=v,Wt=qh(e,Ee,s.unit),Pt=nr.anchor,Et;T(Wt.anchor,Pt)>0?(Et=Wt.head,Pt=$e(nr.from(),Wt.anchor)):(Et=Wt.anchor,Pt=ye(nr.to(),Wt.head));var St=S.ranges.slice(0);St[y]=ib(e,new ot(Me(d,Pt),Et)),$t(d,Hr(e,St,y),ke)}}var V=a.wrapper.getBoundingClientRect(),ne=0;function ce(Ee){var Ae=++ne,Be=ri(e,Ee,!0,s.unit=="rectangle");if(!!Be)if(T(Be,R)!=0){e.curOp.focus=Y(),X(Be);var ze=Pl(a,d);(Be.line>=ze.to||Be.line<ze.from)&&setTimeout(It(e,function(){ne==Ae&&ce(Ee)}),150)}else{var Qe=Ee.clientY<V.top?-20:Ee.clientY>V.bottom?20:0;Qe&&setTimeout(It(e,function(){ne==Ae&&(a.scroller.scrollTop+=Qe,ce(Ee))}),50)}}function Se(Ee){e.state.selectingText=!1,ne=1/0,Ee&&(Lt(Ee),a.input.focus()),Oe(a.wrapper.ownerDocument,"mousemove",Te),Oe(a.wrapper.ownerDocument,"mouseup",Pe),d.history.lastSelOrigin=null}var Te=It(e,function(Ee){Ee.buttons===0||!cl(Ee)?Se(Ee):ce(Ee)}),Pe=It(e,Se);e.state.selectingText=Pe,De(a.wrapper.ownerDocument,"mousemove",Te),De(a.wrapper.ownerDocument,"mouseup",Pe)}function ib(e,n){var l=n.anchor,s=n.head,a=Ne(e.doc,l.line);if(T(l,s)==0&&l.sticky==s.sticky)return n;var d=vt(a);if(!d)return n;var v=Ue(d,l.ch,l.sticky),y=d[v];if(y.from!=l.ch&&y.to!=l.ch)return n;var S=v+(y.from==l.ch==(y.level!=1)?0:1);if(S==0||S==d.length)return n;var C;if(s.line!=l.line)C=(s.line-l.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var A=Ue(d,s.ch,s.sticky),R=A-v||(s.ch-l.ch)*(y.level==1?-1:1);A==S-1||A==S?C=R<0:C=R>0}var X=d[S+(C?-1:0)],V=C==(X.level==1),ne=V?X.from:X.to,ce=V?"after":"before";return l.ch==ne&&l.sticky==ce?n:new ot(new pe(l.line,ne,ce),s)}function _h(e,n,l,s){var a,d;if(n.touches)a=n.touches[0].clientX,d=n.touches[0].clientY;else try{a=n.clientX,d=n.clientY}catch{return!1}if(a>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;s&&Lt(n);var v=e.display,y=v.lineDiv.getBoundingClientRect();if(d>y.bottom||!rt(e,l))return mr(n);d-=y.top-v.viewOffset;for(var S=0;S<e.display.gutterSpecs.length;++S){var C=v.gutters.childNodes[S];if(C&&C.getBoundingClientRect().right>=a){var A=Vr(e.doc,d),R=e.display.gutterSpecs[S];return ge(e,l,e,A,R.className,n),mr(n)}}}function Zu(e,n){return _h(e,n,"gutterClick",!0)}function ep(e,n){an(e.display,n)||ob(e,n)||He(e,n,"contextmenu")||q||e.display.input.onContextMenu(n)}function ob(e,n){return rt(e,"gutterContextMenu")?_h(e,n,"gutterContextMenu",!1):!1}function tp(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Xo(e)}var _i={toString:function(){return"CodeMirror.Init"}},rp={},jl={};function sb(e){var n=e.optionHandlers;function l(s,a,d,v){e.defaults[s]=a,d&&(n[s]=v?function(y,S,C){C!=_i&&d(y,S,C)}:d)}e.defineOption=l,e.Init=_i,l("value","",function(s,a){return s.setValue(a)},!0),l("mode",null,function(s,a){s.doc.modeOption=a,Wu(s)},!0),l("indentUnit",2,Wu,!0),l("indentWithTabs",!1),l("smartIndent",!0),l("tabSize",4,function(s){rs(s),Xo(s),er(s)},!0),l("lineSeparator",null,function(s,a){if(s.doc.lineSep=a,!!a){var d=[],v=s.doc.first;s.doc.iter(function(S){for(var C=0;;){var A=S.text.indexOf(a,C);if(A==-1)break;C=A+a.length,d.push(pe(v,A))}v++});for(var y=d.length-1;y>=0;y--)Ji(s.doc,a,d[y],pe(d[y].line,d[y].ch+a.length))}}),l("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(s,a,d){s.state.specialChars=new RegExp(a.source+(a.test(" ")?"":"| "),"g"),d!=_i&&s.refresh()}),l("specialCharPlaceholder",Dy,function(s){return s.refresh()},!0),l("electricChars",!0),l("inputStyle",N?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),l("spellcheck",!1,function(s,a){return s.getInputField().spellcheck=a},!0),l("autocorrect",!1,function(s,a){return s.getInputField().autocorrect=a},!0),l("autocapitalize",!1,function(s,a){return s.getInputField().autocapitalize=a},!0),l("rtlMoveVisually",!J),l("wholeLineUpdateBefore",!0),l("theme","default",function(s){tp(s),ts(s)},!0),l("keyMap","default",function(s,a,d){var v=Bl(a),y=d!=_i&&Bl(d);y&&y.detach&&y.detach(s,v),v.attach&&v.attach(s,y||null)}),l("extraKeys",null),l("configureMouse",null),l("lineWrapping",!1,ab,!0),l("gutters",[],function(s,a){s.display.gutterSpecs=Hu(a,s.options.lineNumbers),ts(s)},!0),l("fixedGutter",!0,function(s,a){s.display.gutters.style.left=a?Ou(s.display)+"px":"0",s.refresh()},!0),l("coverGutterNextToScrollbar",!1,function(s){return Vi(s)},!0),l("scrollbarStyle","native",function(s){ih(s),Vi(s),s.display.scrollbars.setScrollTop(s.doc.scrollTop),s.display.scrollbars.setScrollLeft(s.doc.scrollLeft)},!0),l("lineNumbers",!1,function(s,a){s.display.gutterSpecs=Hu(s.options.gutters,a),ts(s)},!0),l("firstLineNumber",1,ts,!0),l("lineNumberFormatter",function(s){return s},ts,!0),l("showCursorWhenSelecting",!1,Jo,!0),l("resetSelectionOnContextMenu",!0),l("lineWiseCopyCut",!0),l("pasteLinesPerSelection",!0),l("selectionsMayTouch",!1),l("readOnly",!1,function(s,a){a=="nocursor"&&(Ui(s),s.display.input.blur()),s.display.input.readOnlyChanged(a)}),l("screenReaderLabel",null,function(s,a){a=a===""?null:a,s.display.input.screenReaderLabelChanged(a)}),l("disableInput",!1,function(s,a){a||s.display.input.reset()},!0),l("dragDrop",!0,lb),l("allowDropFileTypes",null),l("cursorBlinkRate",530),l("cursorScrollMargin",0),l("cursorHeight",1,Jo,!0),l("singleCursorHeightPerLine",!0,Jo,!0),l("workTime",100),l("workDelay",100),l("flattenSpans",!0,rs,!0),l("addModeClass",!1,rs,!0),l("pollInterval",100),l("undoDepth",200,function(s,a){return s.doc.history.undoDepth=a}),l("historyEventDelay",1250),l("viewportMargin",10,function(s){return s.refresh()},!0),l("maxHighlightLength",1e4,rs,!0),l("moveInputWithCursor",!0,function(s,a){a||s.display.input.resetPosition()}),l("tabindex",null,function(s,a){return s.display.input.getField().tabIndex=a||""}),l("autofocus",null),l("direction","ltr",function(s,a){return s.doc.setDirection(a)},!0),l("phrases",null)}function lb(e,n,l){var s=l&&l!=_i;if(!n!=!s){var a=e.display.dragFunctions,d=n?De:Oe;d(e.display.scroller,"dragstart",a.start),d(e.display.scroller,"dragenter",a.enter),d(e.display.scroller,"dragover",a.over),d(e.display.scroller,"dragleave",a.leave),d(e.display.scroller,"drop",a.drop)}}function ab(e){e.options.lineWrapping?(ue(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(ee(e.display.wrapper,"CodeMirror-wrap"),vu(e)),ku(e),er(e),Xo(e),setTimeout(function(){return Vi(e)},100)}function ht(e,n){var l=this;if(!(this instanceof ht))return new ht(e,n);this.options=n=n?Ke(n):{},Ke(rp,n,!1);var s=n.value;typeof s=="string"?s=new tr(s,n.mode,null,n.lineSeparator,n.direction):n.mode&&(s.modeOption=n.mode),this.doc=s;var a=new ht.inputStyles[n.inputStyle](this),d=this.display=new x0(e,s,a,n);d.wrapper.CodeMirror=this,tp(this),n.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ih(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ie,keySeq:null,specialChars:null},n.autofocus&&!N&&d.input.focus(),h&&g<11&&setTimeout(function(){return l.display.input.reset(!0)},20),ub(this),W0(),si(this),this.curOp.forceUpdate=!0,ph(this,s),n.autofocus&&!N||this.hasFocus()?setTimeout(function(){l.hasFocus()&&!l.state.focused&&Lu(l)},20):Ui(this);for(var v in jl)jl.hasOwnProperty(v)&&jl[v](this,n[v],_i);lh(this),n.finishInit&&n.finishInit(this);for(var y=0;y<Qu.length;++y)Qu[y](this);li(this),m&&n.lineWrapping&&getComputedStyle(d.lineDiv).textRendering=="optimizelegibility"&&(d.lineDiv.style.textRendering="auto")}ht.defaults=rp,ht.optionHandlers=jl;function ub(e){var n=e.display;De(n.scroller,"mousedown",It(e,Qh)),h&&g<11?De(n.scroller,"dblclick",It(e,function(S){if(!He(e,S)){var C=ri(e,S);if(!(!C||Zu(e,S)||an(e.display,S))){Lt(S);var A=e.findWordAt(C);Rl(e.doc,A.anchor,A.head)}}})):De(n.scroller,"dblclick",function(S){return He(e,S)||Lt(S)}),De(n.scroller,"contextmenu",function(S){return ep(e,S)}),De(n.input.getField(),"contextmenu",function(S){n.scroller.contains(S.target)||ep(e,S)});var l,s={end:0};function a(){n.activeTouch&&(l=setTimeout(function(){return n.activeTouch=null},1e3),s=n.activeTouch,s.end=+new Date)}function d(S){if(S.touches.length!=1)return!1;var C=S.touches[0];return C.radiusX<=1&&C.radiusY<=1}function v(S,C){if(C.left==null)return!0;var A=C.left-S.left,R=C.top-S.top;return A*A+R*R>20*20}De(n.scroller,"touchstart",function(S){if(!He(e,S)&&!d(S)&&!Zu(e,S)){n.input.ensurePolled(),clearTimeout(l);var C=+new Date;n.activeTouch={start:C,moved:!1,prev:C-s.end<=300?s:null},S.touches.length==1&&(n.activeTouch.left=S.touches[0].pageX,n.activeTouch.top=S.touches[0].pageY)}}),De(n.scroller,"touchmove",function(){n.activeTouch&&(n.activeTouch.moved=!0)}),De(n.scroller,"touchend",function(S){var C=n.activeTouch;if(C&&!an(n,S)&&C.left!=null&&!C.moved&&new Date-C.start<300){var A=e.coordsChar(n.activeTouch,"page"),R;!C.prev||v(C,C.prev)?R=new ot(A,A):!C.prev.prev||v(C,C.prev.prev)?R=e.findWordAt(A):R=new ot(pe(A.line,0),Me(e.doc,pe(A.line+1,0))),e.setSelection(R.anchor,R.head),e.focus(),Lt(S)}a()}),De(n.scroller,"touchcancel",a),De(n.scroller,"scroll",function(){n.scroller.clientHeight&&(Qo(e,n.scroller.scrollTop),ii(e,n.scroller.scrollLeft,!0),ge(e,"scroll",e))}),De(n.scroller,"mousewheel",function(S){return fh(e,S)}),De(n.scroller,"DOMMouseScroll",function(S){return fh(e,S)}),De(n.wrapper,"scroll",function(){return n.wrapper.scrollTop=n.wrapper.scrollLeft=0}),n.dragFunctions={enter:function(S){He(e,S)||qn(S)},over:function(S){He(e,S)||(B0(e,S),qn(S))},start:function(S){return H0(e,S)},drop:It(e,z0),leave:function(S){He(e,S)||Hh(e)}};var y=n.input.getField();De(y,"keyup",function(S){return Jh.call(e,S)}),De(y,"keydown",It(e,Xh)),De(y,"keypress",It(e,Zh)),De(y,"focus",function(S){return Lu(e,S)}),De(y,"blur",function(S){return Ui(e,S)})}var Qu=[];ht.defineInitHook=function(e){return Qu.push(e)};function gs(e,n,l,s){var a=e.doc,d;l==null&&(l="add"),l=="smart"&&(a.mode.indent?d=Uo(e,n).state:l="prev");var v=e.options.tabSize,y=Ne(a,n),S=Xe(y.text,null,v);y.stateAfter&&(y.stateAfter=null);var C=y.text.match(/^\s*/)[0],A;if(!s&&!/\S/.test(y.text))A=0,l="not";else if(l=="smart"&&(A=a.mode.indent(d,y.text.slice(C.length),y.text),A==be||A>150)){if(!s)return;l="prev"}l=="prev"?n>a.first?A=Xe(Ne(a,n-1).text,null,v):A=0:l=="add"?A=S+e.options.indentUnit:l=="subtract"?A=S-e.options.indentUnit:typeof l=="number"&&(A=S+l),A=Math.max(0,A);var R="",X=0;if(e.options.indentWithTabs)for(var V=Math.floor(A/v);V;--V)X+=v,R+=" ";if(X<A&&(R+=$(A-X)),R!=C)return Ji(a,R,pe(n,0),pe(n,C.length),"+input"),y.stateAfter=null,!0;for(var ne=0;ne<a.sel.ranges.length;ne++){var ce=a.sel.ranges[ne];if(ce.head.line==n&&ce.head.ch<C.length){var Se=pe(n,C.length);$u(a,ne,new ot(Se,Se));break}}}var Br=null;function Kl(e){Br=e}function qu(e,n,l,s,a){var d=e.doc;e.display.shift=!1,s||(s=d.sel);var v=+new Date-200,y=a=="paste"||e.state.pasteIncoming>v,S=zo(n),C=null;if(y&&s.ranges.length>1)if(Br&&Br.text.join(`
14
+ left: `+n.left+"px; width: "+Math.max(2,n.right-n.left)+"px;");e.display.lineSpace.appendChild(d),d.scrollIntoView(a),e.display.lineSpace.removeChild(d)}}}function u0(e,n,l,s){s==null&&(s=0);var a;!e.options.lineWrapping&&n==l&&(l=n.sticky=="before"?pe(n.line,n.ch+1,"before"):n,n=n.ch?pe(n.line,n.sticky=="before"?n.ch-1:n.ch,"after"):n);for(var d=0;d<5;d++){var v=!1,y=zr(e,n),S=!l||l==n?y:zr(e,l);a={left:Math.min(y.left,S.left),top:Math.min(y.top,S.top)-s,right:Math.max(y.left,S.left),bottom:Math.max(y.bottom,S.bottom)+s};var C=Iu(e,a),A=e.doc.scrollTop,R=e.doc.scrollLeft;if(C.scrollTop!=null&&(qo(e,C.scrollTop),Math.abs(e.doc.scrollTop-A)>1&&(v=!0)),C.scrollLeft!=null&&(ii(e,C.scrollLeft),Math.abs(e.doc.scrollLeft-R)>1&&(v=!0)),!v)break}return a}function f0(e,n){var l=Iu(e,n);l.scrollTop!=null&&qo(e,l.scrollTop),l.scrollLeft!=null&&ii(e,l.scrollLeft)}function Iu(e,n){var l=e.display,s=ji(e.display);n.top<0&&(n.top=0);var a=e.curOp&&e.curOp.scrollTop!=null?e.curOp.scrollTop:l.scroller.scrollTop,d=Su(e),v={};n.bottom-n.top>d&&(n.bottom=n.top+d);var y=e.doc.height+bu(l),S=n.top<s,C=n.bottom>y-s;if(n.top<a)v.scrollTop=S?0:n.top;else if(n.bottom>a+d){var A=Math.min(n.top,(C?y:n.bottom)-d);A!=a&&(v.scrollTop=A)}var R=e.options.fixedGutter?0:l.gutters.offsetWidth,X=e.curOp&&e.curOp.scrollLeft!=null?e.curOp.scrollLeft:l.scroller.scrollLeft-R,V=ei(e)-l.gutters.offsetWidth,ne=n.right-n.left>V;return ne&&(n.right=n.left+V),n.left<10?v.scrollLeft=0:n.left<X?v.scrollLeft=Math.max(0,n.left+R-(ne?0:10)):n.right>V+X-3&&(v.scrollLeft=n.right+(ne?0:10)-V),v}function Ru(e,n){n!=null&&(Al(e),e.curOp.scrollTop=(e.curOp.scrollTop==null?e.doc.scrollTop:e.curOp.scrollTop)+n)}function $i(e){Al(e);var n=e.getCursor();e.curOp.scrollToPos={from:n,to:n,margin:e.options.cursorScrollMargin}}function Qo(e,n,l){(n!=null||l!=null)&&Al(e),n!=null&&(e.curOp.scrollLeft=n),l!=null&&(e.curOp.scrollTop=l)}function c0(e,n){Al(e),e.curOp.scrollToPos=n}function Al(e){var n=e.curOp.scrollToPos;if(n){e.curOp.scrollToPos=null;var l=Gd(e,n.from),s=Gd(e,n.to);eh(e,l,s,n.margin)}}function eh(e,n,l,s){var a=Iu(e,{left:Math.min(n.left,l.left),top:Math.min(n.top,l.top)-s,right:Math.max(n.right,l.right),bottom:Math.max(n.bottom,l.bottom)+s});Qo(e,a.scrollLeft,a.scrollTop)}function qo(e,n){Math.abs(e.doc.scrollTop-n)<2||(u||Fu(e,{top:n}),th(e,n,!0),u&&Fu(e),ts(e,100))}function th(e,n,l){n=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,n)),!(e.display.scroller.scrollTop==n&&!l)&&(e.doc.scrollTop=n,e.display.scrollbars.setScrollTop(n),e.display.scroller.scrollTop!=n&&(e.display.scroller.scrollTop=n))}function ii(e,n,l,s){n=Math.max(0,Math.min(n,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),!((l?n==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-n)<2)&&!s)&&(e.doc.scrollLeft=n,sh(e),e.display.scroller.scrollLeft!=n&&(e.display.scroller.scrollLeft=n),e.display.scrollbars.setScrollLeft(n))}function _o(e){var n=e.display,l=n.gutters.offsetWidth,s=Math.round(e.doc.height+bu(e.display));return{clientHeight:n.scroller.clientHeight,viewHeight:n.wrapper.clientHeight,scrollWidth:n.scroller.scrollWidth,clientWidth:n.scroller.clientWidth,viewWidth:n.wrapper.clientWidth,barLeft:e.options.fixedGutter?l:0,docHeight:s,scrollHeight:s+Xr(e)+n.barHeight,nativeBarWidth:n.nativeBarWidth,gutterWidth:l}}var oi=function(e,n,l){this.cm=l;var s=this.vert=k("div",[k("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),a=this.horiz=k("div",[k("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");s.tabIndex=a.tabIndex=-1,e(s),e(a),Fe(s,"scroll",function(){s.clientHeight&&n(s.scrollTop,"vertical")}),Fe(a,"scroll",function(){a.clientWidth&&n(a.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,h&&g<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};oi.prototype.update=function(e){var n=e.scrollWidth>e.clientWidth+1,l=e.scrollHeight>e.clientHeight+1,s=e.nativeBarWidth;if(l){this.vert.style.display="block",this.vert.style.bottom=n?s+"px":"0";var a=e.viewHeight-(n?s:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+a)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(n){this.horiz.style.display="block",this.horiz.style.right=l?s+"px":"0",this.horiz.style.left=e.barLeft+"px";var d=e.viewWidth-e.barLeft-(l?s:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+d)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(s==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:l?s:0,bottom:n?s:0}},oi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},oi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},oi.prototype.zeroWidthHack=function(){var e=H&&!B?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ie,this.disableVert=new ie},oi.prototype.enableZeroWidthBar=function(e,n,l){e.style.pointerEvents="auto";function s(){var a=e.getBoundingClientRect(),d=l=="vert"?document.elementFromPoint(a.right-1,(a.top+a.bottom)/2):document.elementFromPoint((a.right+a.left)/2,a.bottom-1);d!=e?e.style.pointerEvents="none":n.set(1e3,s)}n.set(1e3,s)},oi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var es=function(){};es.prototype.update=function(){return{bottom:0,right:0}},es.prototype.setScrollLeft=function(){},es.prototype.setScrollTop=function(){},es.prototype.clear=function(){};function Vi(e,n){n||(n=_o(e));var l=e.display.barWidth,s=e.display.barHeight;rh(e,n);for(var a=0;a<4&&l!=e.display.barWidth||s!=e.display.barHeight;a++)l!=e.display.barWidth&&e.options.lineWrapping&&Pl(e),rh(e,_o(e)),l=e.display.barWidth,s=e.display.barHeight}function rh(e,n){var l=e.display,s=l.scrollbars.update(n);l.sizer.style.paddingRight=(l.barWidth=s.right)+"px",l.sizer.style.paddingBottom=(l.barHeight=s.bottom)+"px",l.heightForcer.style.borderBottom=s.bottom+"px solid transparent",s.right&&s.bottom?(l.scrollbarFiller.style.display="block",l.scrollbarFiller.style.height=s.bottom+"px",l.scrollbarFiller.style.width=s.right+"px"):l.scrollbarFiller.style.display="",s.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(l.gutterFiller.style.display="block",l.gutterFiller.style.height=s.bottom+"px",l.gutterFiller.style.width=n.gutterWidth+"px"):l.gutterFiller.style.display=""}var nh={native:oi,null:es};function ih(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&ee(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new nh[e.options.scrollbarStyle](function(n){e.display.wrapper.insertBefore(n,e.display.scrollbarFiller),Fe(n,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),n.setAttribute("cm-not-content","true")},function(n,l){l=="horizontal"?ii(e,n):qo(e,n)},e),e.display.scrollbars.addClass&&ue(e.display.wrapper,e.display.scrollbars.addClass)}var d0=0;function si(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++d0,markArrays:null},Uy(e.curOp)}function li(e){var n=e.curOp;n&&Vy(n,function(l){for(var s=0;s<l.ops.length;s++)l.ops[s].cm.curOp=null;h0(l)})}function h0(e){for(var n=e.ops,l=0;l<n.length;l++)p0(n[l]);for(var s=0;s<n.length;s++)g0(n[s]);for(var a=0;a<n.length;a++)v0(n[a]);for(var d=0;d<n.length;d++)m0(n[d]);for(var v=0;v<n.length;v++)y0(n[v])}function p0(e){var n=e.cm,l=n.display;S0(n),e.updateMaxLine&&mu(n),e.mustUpdate=e.viewChanged||e.forceUpdate||e.scrollTop!=null||e.scrollToPos&&(e.scrollToPos.from.line<l.viewFrom||e.scrollToPos.to.line>=l.viewTo)||l.maxLineChanged&&n.options.lineWrapping,e.update=e.mustUpdate&&new Ll(n,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function g0(e){e.updatedDisplay=e.mustUpdate&&Du(e.cm,e.update)}function v0(e){var n=e.cm,l=n.display;e.updatedDisplay&&Pl(n),e.barMeasure=_o(n),l.maxLineChanged&&!n.options.lineWrapping&&(e.adjustWidthTo=Hd(n,l.maxLine,l.maxLine.text.length).left+3,n.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(l.scroller.clientWidth,l.sizer.offsetLeft+e.adjustWidthTo+Xr(n)+n.display.barWidth),e.maxScrollLeft=Math.max(0,l.sizer.offsetLeft+e.adjustWidthTo-ei(n))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=l.input.prepareSelection())}function m0(e){var n=e.cm;e.adjustWidthTo!=null&&(n.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<n.doc.scrollLeft&&ii(n,Math.min(n.display.scroller.scrollLeft,e.maxScrollLeft),!0),n.display.maxLineChanged=!1);var l=e.focus&&e.focus==Y();e.preparedSelection&&n.display.input.showSelection(e.preparedSelection,l),(e.updatedDisplay||e.startHeight!=n.doc.height)&&Vi(n,e.barMeasure),e.updatedDisplay&&Hu(n,e.barMeasure),e.selectionChanged&&Au(n),n.state.focused&&e.updateInput&&n.display.input.reset(e.typing),l&&qd(e.cm)}function y0(e){var n=e.cm,l=n.display,s=n.doc;if(e.updatedDisplay&&oh(n,e.update),l.wheelStartX!=null&&(e.scrollTop!=null||e.scrollLeft!=null||e.scrollToPos)&&(l.wheelStartX=l.wheelStartY=null),e.scrollTop!=null&&th(n,e.scrollTop,e.forceScroll),e.scrollLeft!=null&&ii(n,e.scrollLeft,!0,!0),e.scrollToPos){var a=u0(n,Me(s,e.scrollToPos.from),Me(s,e.scrollToPos.to),e.scrollToPos.margin);a0(n,a)}var d=e.maybeHiddenMarkers,v=e.maybeUnhiddenMarkers;if(d)for(var y=0;y<d.length;++y)d[y].lines.length||ge(d[y],"hide");if(v)for(var S=0;S<v.length;++S)v[S].lines.length&&ge(v[S],"unhide");l.wrapper.offsetHeight&&(s.scrollTop=n.display.scroller.scrollTop),e.changeObjs&&ge(n,"changes",n,e.changeObjs),e.update&&e.update.finish()}function dr(e,n){if(e.curOp)return n();si(e);try{return n()}finally{li(e)}}function Nt(e,n){return function(){if(e.curOp)return n.apply(e,arguments);si(e);try{return n.apply(e,arguments)}finally{li(e)}}}function Jt(e){return function(){if(this.curOp)return e.apply(this,arguments);si(this);try{return e.apply(this,arguments)}finally{li(this)}}}function It(e){return function(){var n=this.cm;if(!n||n.curOp)return e.apply(this,arguments);si(n);try{return e.apply(this,arguments)}finally{li(n)}}}function ts(e,n){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(n,We(b0,e))}function b0(e){var n=e.doc;if(!(n.highlightFrontier>=e.display.viewTo)){var l=+new Date+e.options.workTime,s=$o(e,n.highlightFrontier),a=[];n.iter(s.line,Math.min(n.first+n.size,e.display.viewTo+500),function(d){if(s.line>=e.display.viewFrom){var v=d.styles,y=d.text.length>e.options.maxHighlightLength?br(n.mode,s.state):null,S=dd(e,d,s,!0);y&&(s.state=y),d.styles=S.styles;var C=d.styleClasses,A=S.classes;A?d.styleClasses=A:C&&(d.styleClasses=null);for(var R=!v||v.length!=d.styles.length||C!=A&&(!C||!A||C.bgClass!=A.bgClass||C.textClass!=A.textClass),X=0;!R&&X<v.length;++X)R=v[X]!=d.styles[X];R&&a.push(s.line),d.stateAfter=s.save(),s.nextLine()}else d.text.length<=e.options.maxHighlightLength&&cu(e,d.text,s),d.stateAfter=s.line%5==0?s.save():null,s.nextLine();if(+new Date>l)return ts(e,e.options.workDelay),!0}),n.highlightFrontier=s.line,n.modeFrontier=Math.max(n.modeFrontier,s.line),a.length&&dr(e,function(){for(var d=0;d<a.length;d++)Tn(e,a[d],"text")})}}var Ll=function(e,n,l){var s=e.display;this.viewport=n,this.visible=Ml(s,e.doc,n),this.editorIsHidden=!s.wrapper.offsetWidth,this.wrapperHeight=s.wrapper.clientHeight,this.wrapperWidth=s.wrapper.clientWidth,this.oldDisplayWidth=ei(e),this.force=l,this.dims=Ou(e),this.events=[]};Ll.prototype.signal=function(e,n){rt(e,n)&&this.events.push(arguments)},Ll.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ge.apply(null,this.events[e])};function S0(e){var n=e.display;!n.scrollbarsClipped&&n.scroller.offsetWidth&&(n.nativeBarWidth=n.scroller.offsetWidth-n.scroller.clientWidth,n.heightForcer.style.height=Xr(e)+"px",n.sizer.style.marginBottom=-n.nativeBarWidth+"px",n.sizer.style.borderRightWidth=Xr(e)+"px",n.scrollbarsClipped=!0)}function x0(e){if(e.hasFocus())return null;var n=Y();if(!n||!W(e.display.lineDiv,n))return null;var l={activeElt:n};if(window.getSelection){var s=window.getSelection();s.anchorNode&&s.extend&&W(e.display.lineDiv,s.anchorNode)&&(l.anchorNode=s.anchorNode,l.anchorOffset=s.anchorOffset,l.focusNode=s.focusNode,l.focusOffset=s.focusOffset)}return l}function w0(e){if(!(!e||!e.activeElt||e.activeElt==Y())&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&W(document.body,e.anchorNode)&&W(document.body,e.focusNode))){var n=window.getSelection(),l=document.createRange();l.setEnd(e.anchorNode,e.anchorOffset),l.collapse(!1),n.removeAllRanges(),n.addRange(l),n.extend(e.focusNode,e.focusOffset)}}function Du(e,n){var l=e.display,s=e.doc;if(n.editorIsHidden)return En(e),!1;if(!n.force&&n.visible.from>=l.viewFrom&&n.visible.to<=l.viewTo&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo)&&l.renderedView==l.view&&Zd(e)==0)return!1;lh(e)&&(En(e),n.dims=Ou(e));var a=s.first+s.size,d=Math.max(n.visible.from-e.options.viewportMargin,s.first),v=Math.min(a,n.visible.to+e.options.viewportMargin);l.viewFrom<d&&d-l.viewFrom<20&&(d=Math.max(s.first,l.viewFrom)),l.viewTo>v&&l.viewTo-v<20&&(v=Math.min(a,l.viewTo)),sn&&(d=gu(e.doc,d),v=Od(e.doc,v));var y=d!=l.viewFrom||v!=l.viewTo||l.lastWrapHeight!=n.wrapperHeight||l.lastWrapWidth!=n.wrapperWidth;s0(e,d,v),l.viewOffset=ln(Ne(e.doc,l.viewFrom)),e.display.mover.style.top=l.viewOffset+"px";var S=Zd(e);if(!y&&S==0&&!n.force&&l.renderedView==l.view&&(l.updateLineNumbers==null||l.updateLineNumbers>=l.viewTo))return!1;var C=x0(e);return S>4&&(l.lineDiv.style.display="none"),C0(e,l.updateLineNumbers,n.dims),S>4&&(l.lineDiv.style.display=""),l.renderedView=l.view,w0(C),_(l.cursorDiv),_(l.selectionDiv),l.gutters.style.height=l.sizer.style.minHeight=0,y&&(l.lastWrapHeight=n.wrapperHeight,l.lastWrapWidth=n.wrapperWidth,ts(e,400)),l.updateLineNumbers=null,!0}function oh(e,n){for(var l=n.viewport,s=!0;;s=!1){if(!s||!e.options.lineWrapping||n.oldDisplayWidth==ei(e)){if(l&&l.top!=null&&(l={top:Math.min(e.doc.height+bu(e.display)-Su(e),l.top)}),n.visible=Ml(e.display,e.doc,l),n.visible.from>=e.display.viewFrom&&n.visible.to<=e.display.viewTo)break}else s&&(n.visible=Ml(e.display,e.doc,l));if(!Du(e,n))break;Pl(e);var a=_o(e);Zo(e),Vi(e,a),Hu(e,a),n.force=!1}n.signal(e,"update",e),(e.display.viewFrom!=e.display.reportedViewFrom||e.display.viewTo!=e.display.reportedViewTo)&&(n.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Fu(e,n){var l=new Ll(e,n);if(Du(e,l)){Pl(e),oh(e,l);var s=_o(e);Zo(e),Vi(e,s),Hu(e,s),l.finish()}}function C0(e,n,l){var s=e.display,a=e.options.lineNumbers,d=s.lineDiv,v=d.firstChild;function y(ne){var ce=ne.nextSibling;return m&&H&&e.display.currentWheelTarget==ne?ne.style.display="none":ne.parentNode.removeChild(ne),ce}for(var S=s.view,C=s.viewFrom,A=0;A<S.length;A++){var R=S[A];if(!R.hidden)if(!R.node||R.node.parentNode!=d){var X=Zy(e,R,C,l);d.insertBefore(X,v)}else{for(;v!=R.node;)v=y(v);var V=a&&n!=null&&n<=C&&R.lineNumber;R.changes&&(se(R.changes,"gutter")>-1&&(V=!1),Ld(e,R,C,l)),V&&(_(R.lineNumber),R.lineNumber.appendChild(document.createTextNode(Uo(e.options,C)))),v=R.node.nextSibling}C+=R.size}for(;v;)v=y(v)}function zu(e){var n=e.gutters.offsetWidth;e.sizer.style.marginLeft=n+"px",Lt(e,"gutterChanged",e)}function Hu(e,n){e.display.sizer.style.minHeight=n.docHeight+"px",e.display.heightForcer.style.top=n.docHeight+"px",e.display.gutters.style.height=n.docHeight+e.display.barHeight+Xr(e)+"px"}function sh(e){var n=e.display,l=n.view;if(!(!n.alignWidgets&&(!n.gutters.firstChild||!e.options.fixedGutter))){for(var s=ku(n)-n.scroller.scrollLeft+e.doc.scrollLeft,a=n.gutters.offsetWidth,d=s+"px",v=0;v<l.length;v++)if(!l[v].hidden){e.options.fixedGutter&&(l[v].gutter&&(l[v].gutter.style.left=d),l[v].gutterBackground&&(l[v].gutterBackground.style.left=d));var y=l[v].alignable;if(y)for(var S=0;S<y.length;S++)y[S].style.left=d}e.options.fixedGutter&&(n.gutters.style.left=s+a+"px")}}function lh(e){if(!e.options.lineNumbers)return!1;var n=e.doc,l=Uo(e.options,n.first+n.size-1),s=e.display;if(l.length!=s.lineNumChars){var a=s.measure.appendChild(k("div",[k("div",l)],"CodeMirror-linenumber CodeMirror-gutter-elt")),d=a.firstChild.offsetWidth,v=a.offsetWidth-d;return s.lineGutter.style.width="",s.lineNumInnerWidth=Math.max(d,s.lineGutter.offsetWidth-v)+1,s.lineNumWidth=s.lineNumInnerWidth+v,s.lineNumChars=s.lineNumInnerWidth?l.length:-1,s.lineGutter.style.width=s.lineNumWidth+"px",zu(e.display),!0}return!1}function Bu(e,n){for(var l=[],s=!1,a=0;a<e.length;a++){var d=e[a],v=null;if(typeof d!="string"&&(v=d.style,d=d.className),d=="CodeMirror-linenumbers")if(n)s=!0;else continue;l.push({className:d,style:v})}return n&&!s&&l.push({className:"CodeMirror-linenumbers",style:null}),l}function ah(e){var n=e.gutters,l=e.gutterSpecs;_(n),e.lineGutter=null;for(var s=0;s<l.length;++s){var a=l[s],d=a.className,v=a.style,y=n.appendChild(k("div",null,"CodeMirror-gutter "+d));v&&(y.style.cssText=v),d=="CodeMirror-linenumbers"&&(e.lineGutter=y,y.style.width=(e.lineNumWidth||1)+"px")}n.style.display=l.length?"":"none",zu(e)}function rs(e){ah(e.display),er(e),sh(e)}function T0(e,n,l,s){var a=this;this.input=l,a.scrollbarFiller=k("div",null,"CodeMirror-scrollbar-filler"),a.scrollbarFiller.setAttribute("cm-not-content","true"),a.gutterFiller=k("div",null,"CodeMirror-gutter-filler"),a.gutterFiller.setAttribute("cm-not-content","true"),a.lineDiv=w("div",null,"CodeMirror-code"),a.selectionDiv=k("div",null,null,"position: relative; z-index: 1"),a.cursorDiv=k("div",null,"CodeMirror-cursors"),a.measure=k("div",null,"CodeMirror-measure"),a.lineMeasure=k("div",null,"CodeMirror-measure"),a.lineSpace=w("div",[a.measure,a.lineMeasure,a.selectionDiv,a.cursorDiv,a.lineDiv],null,"position: relative; outline: none");var d=w("div",[a.lineSpace],"CodeMirror-lines");a.mover=k("div",[d],null,"position: relative"),a.sizer=k("div",[a.mover],"CodeMirror-sizer"),a.sizerWidth=null,a.heightForcer=k("div",null,null,"position: absolute; height: "+le+"px; width: 1px;"),a.gutters=k("div",null,"CodeMirror-gutters"),a.lineGutter=null,a.scroller=k("div",[a.sizer,a.heightForcer,a.gutters],"CodeMirror-scroll"),a.scroller.setAttribute("tabIndex","-1"),a.wrapper=k("div",[a.scrollbarFiller,a.gutterFiller,a.scroller],"CodeMirror"),a.wrapper.setAttribute("translate","no"),h&&g<8&&(a.gutters.style.zIndex=-1,a.scroller.style.paddingRight=0),!m&&!(u&&N)&&(a.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(a.wrapper):e(a.wrapper)),a.viewFrom=a.viewTo=n.first,a.reportedViewFrom=a.reportedViewTo=n.first,a.view=[],a.renderedView=null,a.externalMeasured=null,a.viewOffset=0,a.lastWrapHeight=a.lastWrapWidth=0,a.updateLineNumbers=null,a.nativeBarWidth=a.barHeight=a.barWidth=0,a.scrollbarsClipped=!1,a.lineNumWidth=a.lineNumInnerWidth=a.lineNumChars=null,a.alignWidgets=!1,a.cachedCharWidth=a.cachedTextHeight=a.cachedPaddingH=null,a.maxLine=null,a.maxLineLength=0,a.maxLineChanged=!1,a.wheelDX=a.wheelDY=a.wheelStartX=a.wheelStartY=null,a.shift=!1,a.selForContextMenu=null,a.activeTouch=null,a.gutterSpecs=Bu(s.gutters,s.lineNumbers),ah(a),l.init(a)}var Nl=0,un=null;h?un=-.53:u?un=15:x?un=-.7:P&&(un=-1/3);function uh(e){var n=e.wheelDeltaX,l=e.wheelDeltaY;return n==null&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(n=e.detail),l==null&&e.detail&&e.axis==e.VERTICAL_AXIS?l=e.detail:l==null&&(l=e.wheelDelta),{x:n,y:l}}function E0(e){var n=uh(e);return n.x*=un,n.y*=un,n}function fh(e,n){var l=uh(n),s=l.x,a=l.y,d=un;n.deltaMode===0&&(s=n.deltaX,a=n.deltaY,d=1);var v=e.display,y=v.scroller,S=y.scrollWidth>y.clientWidth,C=y.scrollHeight>y.clientHeight;if(!!(s&&S||a&&C)){if(a&&H&&m){e:for(var A=n.target,R=v.view;A!=y;A=A.parentNode)for(var X=0;X<R.length;X++)if(R[X].node==A){e.display.currentWheelTarget=A;break e}}if(s&&!u&&!E&&d!=null){a&&C&&qo(e,Math.max(0,y.scrollTop+a*d)),ii(e,Math.max(0,y.scrollLeft+s*d)),(!a||a&&C)&&At(n),v.wheelStartX=null;return}if(a&&d!=null){var V=a*d,ne=e.doc.scrollTop,ce=ne+v.wrapper.clientHeight;V<0?ne=Math.max(0,ne+V-50):ce=Math.min(e.doc.height,ce+V+50),Fu(e,{top:ne,bottom:ce})}Nl<20&&n.deltaMode!==0&&(v.wheelStartX==null?(v.wheelStartX=y.scrollLeft,v.wheelStartY=y.scrollTop,v.wheelDX=s,v.wheelDY=a,setTimeout(function(){if(v.wheelStartX!=null){var Se=y.scrollLeft-v.wheelStartX,Te=y.scrollTop-v.wheelStartY,Pe=Te&&v.wheelDY&&Te/v.wheelDY||Se&&v.wheelDX&&Se/v.wheelDX;v.wheelStartX=v.wheelStartY=null,!!Pe&&(un=(un*Nl+Pe)/(Nl+1),++Nl)}},200)):(v.wheelDX+=s,v.wheelDY+=a))}}var xr=function(e,n){this.ranges=e,this.primIndex=n};xr.prototype.primary=function(){return this.ranges[this.primIndex]},xr.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var n=0;n<this.ranges.length;n++){var l=this.ranges[n],s=e.ranges[n];if(!D(l.anchor,s.anchor)||!D(l.head,s.head))return!1}return!0},xr.prototype.deepCopy=function(){for(var e=[],n=0;n<this.ranges.length;n++)e[n]=new ot(fe(this.ranges[n].anchor),fe(this.ranges[n].head));return new xr(e,this.primIndex)},xr.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},xr.prototype.contains=function(e,n){n||(n=e);for(var l=0;l<this.ranges.length;l++){var s=this.ranges[l];if(T(n,s.from())>=0&&T(e,s.to())<=0)return l}return-1};var ot=function(e,n){this.anchor=e,this.head=n};ot.prototype.from=function(){return $e(this.anchor,this.head)},ot.prototype.to=function(){return ye(this.anchor,this.head)},ot.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Hr(e,n,l){var s=e&&e.options.selectionsMayTouch,a=n[l];n.sort(function(X,V){return T(X.from(),V.from())}),l=se(n,a);for(var d=1;d<n.length;d++){var v=n[d],y=n[d-1],S=T(y.to(),v.from());if(s&&!v.empty()?S>0:S>=0){var C=$e(y.from(),v.from()),A=ye(y.to(),v.to()),R=y.empty()?v.from()==v.head:y.from()==y.head;d<=l&&--l,n.splice(--d,2,new ot(R?A:C,R?C:A))}}return new xr(n,l)}function On(e,n){return new xr([new ot(e,n||e)],0)}function kn(e){return e.text?pe(e.from.line+e.text.length-1,Z(e.text).length+(e.text.length==1?e.from.ch:0)):e.to}function ch(e,n){if(T(e,n.from)<0)return e;if(T(e,n.to)<=0)return kn(n);var l=e.line+n.text.length-(n.to.line-n.from.line)-1,s=e.ch;return e.line==n.to.line&&(s+=kn(n).ch-n.to.ch),pe(l,s)}function Wu(e,n){for(var l=[],s=0;s<e.sel.ranges.length;s++){var a=e.sel.ranges[s];l.push(new ot(ch(a.anchor,n),ch(a.head,n)))}return Hr(e.cm,l,e.sel.primIndex)}function dh(e,n,l){return e.line==n.line?pe(l.line,e.ch-n.ch+l.ch):pe(l.line+(e.line-n.line),e.ch)}function O0(e,n,l){for(var s=[],a=pe(e.first,0),d=a,v=0;v<n.length;v++){var y=n[v],S=dh(y.from,a,d),C=dh(kn(y),a,d);if(a=y.to,d=C,l=="around"){var A=e.sel.ranges[v],R=T(A.head,A.anchor)<0;s[v]=new ot(R?C:S,R?S:C)}else s[v]=new ot(S,S)}return new xr(s,e.sel.primIndex)}function ju(e){e.doc.mode=Fi(e.options,e.doc.modeOption),ns(e)}function ns(e){e.doc.iter(function(n){n.stateAfter&&(n.stateAfter=null),n.styles&&(n.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,ts(e,100),e.state.modeGen++,e.curOp&&er(e)}function hh(e,n){return n.from.ch==0&&n.to.ch==0&&Z(n.text)==""&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function Ku(e,n,l,s){function a(Pe){return l?l[Pe]:null}function d(Pe,Ee,Ae){Ry(Pe,Ee,Ae,s),Lt(Pe,"change",Pe,n)}function v(Pe,Ee){for(var Ae=[],Be=Pe;Be<Ee;++Be)Ae.push(new Hi(C[Be],a(Be),s));return Ae}var y=n.from,S=n.to,C=n.text,A=Ne(e,y.line),R=Ne(e,S.line),X=Z(C),V=a(C.length-1),ne=S.line-y.line;if(n.full)e.insert(0,v(0,C.length)),e.remove(C.length,e.size-C.length);else if(hh(e,n)){var ce=v(0,C.length-1);d(R,R.text,V),ne&&e.remove(y.line,ne),ce.length&&e.insert(y.line,ce)}else if(A==R)if(C.length==1)d(A,A.text.slice(0,y.ch)+X+A.text.slice(S.ch),V);else{var Se=v(1,C.length-1);Se.push(new Hi(X+A.text.slice(S.ch),V,s)),d(A,A.text.slice(0,y.ch)+C[0],a(0)),e.insert(y.line+1,Se)}else if(C.length==1)d(A,A.text.slice(0,y.ch)+C[0]+R.text.slice(S.ch),a(0)),e.remove(y.line+1,ne);else{d(A,A.text.slice(0,y.ch)+C[0],a(0)),d(R,X+R.text.slice(S.ch),V);var Te=v(1,C.length-1);ne>1&&e.remove(y.line+1,ne-1),e.insert(y.line+1,Te)}Lt(e,"change",e,n)}function Pn(e,n,l){function s(a,d,v){if(a.linked)for(var y=0;y<a.linked.length;++y){var S=a.linked[y];if(S.doc!=d){var C=v&&S.sharedHist;l&&!C||(n(S.doc,C),s(S.doc,a,C))}}}s(e,null,!0)}function ph(e,n){if(n.cm)throw new Error("This document is already in use.");e.doc=n,n.cm=e,Pu(e),ju(e),gh(e),e.options.direction=n.direction,e.options.lineWrapping||mu(e),e.options.mode=n.modeOption,er(e)}function gh(e){(e.doc.direction=="rtl"?ue:ee)(e.display.lineDiv,"CodeMirror-rtl")}function k0(e){dr(e,function(){gh(e),er(e)})}function Il(e){this.done=[],this.undone=[],this.undoDepth=e?e.undoDepth:1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e?e.maxGeneration:1}function Uu(e,n){var l={from:fe(n.from),to:kn(n),text:$r(e,n.from,n.to)};return yh(e,l,n.from.line,n.to.line+1),Pn(e,function(s){return yh(s,l,n.from.line,n.to.line+1)},!0),l}function vh(e){for(;e.length;){var n=Z(e);if(n.ranges)e.pop();else break}}function P0(e,n){if(n)return vh(e.done),Z(e.done);if(e.done.length&&!Z(e.done).ranges)return Z(e.done);if(e.done.length>1&&!e.done[e.done.length-2].ranges)return e.done.pop(),Z(e.done)}function mh(e,n,l,s){var a=e.history;a.undone.length=0;var d=+new Date,v,y;if((a.lastOp==s||a.lastOrigin==n.origin&&n.origin&&(n.origin.charAt(0)=="+"&&a.lastModTime>d-(e.cm?e.cm.options.historyEventDelay:500)||n.origin.charAt(0)=="*"))&&(v=P0(a,a.lastOp==s)))y=Z(v.changes),T(n.from,n.to)==0&&T(n.from,y.to)==0?y.to=kn(n):v.changes.push(Uu(e,n));else{var S=Z(a.done);for((!S||!S.ranges)&&Rl(e.sel,a.done),v={changes:[Uu(e,n)],generation:a.generation},a.done.push(v);a.done.length>a.undoDepth;)a.done.shift(),a.done[0].ranges||a.done.shift()}a.done.push(l),a.generation=++a.maxGeneration,a.lastModTime=a.lastSelTime=d,a.lastOp=a.lastSelOp=s,a.lastOrigin=a.lastSelOrigin=n.origin,y||ge(e,"historyAdded")}function M0(e,n,l,s){var a=n.charAt(0);return a=="*"||a=="+"&&l.ranges.length==s.ranges.length&&l.somethingSelected()==s.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function A0(e,n,l,s){var a=e.history,d=s&&s.origin;l==a.lastSelOp||d&&a.lastSelOrigin==d&&(a.lastModTime==a.lastSelTime&&a.lastOrigin==d||M0(e,d,Z(a.done),n))?a.done[a.done.length-1]=n:Rl(n,a.done),a.lastSelTime=+new Date,a.lastSelOrigin=d,a.lastSelOp=l,s&&s.clearRedo!==!1&&vh(a.undone)}function Rl(e,n){var l=Z(n);l&&l.ranges&&l.equals(e)||n.push(e)}function yh(e,n,l,s){var a=n["spans_"+e.id],d=0;e.iter(Math.max(e.first,l),Math.min(e.first+e.size,s),function(v){v.markedSpans&&((a||(a=n["spans_"+e.id]={}))[d]=v.markedSpans),++d})}function L0(e){if(!e)return null;for(var n,l=0;l<e.length;++l)e[l].marker.explicitlyCleared?n||(n=e.slice(0,l)):n&&n.push(e[l]);return n?n.length?n:null:e}function N0(e,n){var l=n["spans_"+e.id];if(!l)return null;for(var s=[],a=0;a<n.text.length;++a)s.push(L0(l[a]));return s}function bh(e,n){var l=N0(e,n),s=hu(e,n);if(!l)return s;if(!s)return l;for(var a=0;a<l.length;++a){var d=l[a],v=s[a];if(d&&v){e:for(var y=0;y<v.length;++y){for(var S=v[y],C=0;C<d.length;++C)if(d[C].marker==S.marker)continue e;d.push(S)}}else v&&(l[a]=v)}return l}function Gi(e,n,l){for(var s=[],a=0;a<e.length;++a){var d=e[a];if(d.ranges){s.push(l?xr.prototype.deepCopy.call(d):d);continue}var v=d.changes,y=[];s.push({changes:y});for(var S=0;S<v.length;++S){var C=v[S],A=void 0;if(y.push({from:C.from,to:C.to,text:C.text}),n)for(var R in C)(A=R.match(/^spans_(\d+)$/))&&se(n,Number(A[1]))>-1&&(Z(y)[R]=C[R],delete C[R])}}return s}function $u(e,n,l,s){if(s){var a=e.anchor;if(l){var d=T(n,a)<0;d!=T(l,a)<0?(a=n,n=l):d!=T(n,l)<0&&(n=l)}return new ot(a,n)}else return new ot(l||n,n)}function Dl(e,n,l,s,a){a==null&&(a=e.cm&&(e.cm.display.shift||e.extend)),$t(e,new xr([$u(e.sel.primary(),n,l,a)],0),s)}function Sh(e,n,l){for(var s=[],a=e.cm&&(e.cm.display.shift||e.extend),d=0;d<e.sel.ranges.length;d++)s[d]=$u(e.sel.ranges[d],n[d],null,a);var v=Hr(e.cm,s,e.sel.primIndex);$t(e,v,l)}function Vu(e,n,l,s){var a=e.sel.ranges.slice(0);a[n]=l,$t(e,Hr(e.cm,a,e.sel.primIndex),s)}function xh(e,n,l,s){$t(e,On(n,l),s)}function I0(e,n,l){var s={ranges:n.ranges,update:function(a){this.ranges=[];for(var d=0;d<a.length;d++)this.ranges[d]=new ot(Me(e,a[d].anchor),Me(e,a[d].head))},origin:l&&l.origin};return ge(e,"beforeSelectionChange",e,s),e.cm&&ge(e.cm,"beforeSelectionChange",e.cm,s),s.ranges!=n.ranges?Hr(e.cm,s.ranges,s.ranges.length-1):n}function wh(e,n,l){var s=e.history.done,a=Z(s);a&&a.ranges?(s[s.length-1]=n,Fl(e,n,l)):$t(e,n,l)}function $t(e,n,l){Fl(e,n,l),A0(e,e.sel,e.cm?e.cm.curOp.id:NaN,l)}function Fl(e,n,l){(rt(e,"beforeSelectionChange")||e.cm&&rt(e.cm,"beforeSelectionChange"))&&(n=I0(e,n,l));var s=l&&l.bias||(T(n.primary().head,e.sel.primary().head)<0?-1:1);Ch(e,Eh(e,n,s,!0)),!(l&&l.scroll===!1)&&e.cm&&e.cm.getOption("readOnly")!="nocursor"&&$i(e.cm)}function Ch(e,n){n.equals(e.sel)||(e.sel=n,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,et(e.cm)),Lt(e,"cursorActivity",e))}function Th(e){Ch(e,Eh(e,e.sel,null,!1))}function Eh(e,n,l,s){for(var a,d=0;d<n.ranges.length;d++){var v=n.ranges[d],y=n.ranges.length==e.sel.ranges.length&&e.sel.ranges[d],S=zl(e,v.anchor,y&&y.anchor,l,s),C=zl(e,v.head,y&&y.head,l,s);(a||S!=v.anchor||C!=v.head)&&(a||(a=n.ranges.slice(0,d)),a[d]=new ot(S,C))}return a?Hr(e.cm,a,n.primIndex):n}function Yi(e,n,l,s,a){var d=Ne(e,n.line);if(d.markedSpans)for(var v=0;v<d.markedSpans.length;++v){var y=d.markedSpans[v],S=y.marker,C="selectLeft"in S?!S.selectLeft:S.inclusiveLeft,A="selectRight"in S?!S.selectRight:S.inclusiveRight;if((y.from==null||(C?y.from<=n.ch:y.from<n.ch))&&(y.to==null||(A?y.to>=n.ch:y.to>n.ch))){if(a&&(ge(S,"beforeCursorEnter"),S.explicitlyCleared))if(d.markedSpans){--v;continue}else break;if(!S.atomic)continue;if(l){var R=S.find(s<0?1:-1),X=void 0;if((s<0?A:C)&&(R=Oh(e,R,-s,R&&R.line==n.line?d:null)),R&&R.line==n.line&&(X=T(R,l))&&(s<0?X<0:X>0))return Yi(e,R,n,s,a)}var V=S.find(s<0?-1:1);return(s<0?C:A)&&(V=Oh(e,V,s,V.line==n.line?d:null)),V?Yi(e,V,n,s,a):null}}return n}function zl(e,n,l,s,a){var d=s||1,v=Yi(e,n,l,d,a)||!a&&Yi(e,n,l,d,!0)||Yi(e,n,l,-d,a)||!a&&Yi(e,n,l,-d,!0);return v||(e.cantEdit=!0,pe(e.first,0))}function Oh(e,n,l,s){return l<0&&n.ch==0?n.line>e.first?Me(e,pe(n.line-1)):null:l>0&&n.ch==(s||Ne(e,n.line)).text.length?n.line<e.first+e.size-1?pe(n.line+1,0):null:new pe(n.line,n.ch+l)}function kh(e){e.setSelection(pe(e.firstLine(),0),pe(e.lastLine()),Ie)}function Ph(e,n,l){var s={canceled:!1,from:n.from,to:n.to,text:n.text,origin:n.origin,cancel:function(){return s.canceled=!0}};return l&&(s.update=function(a,d,v,y){a&&(s.from=Me(e,a)),d&&(s.to=Me(e,d)),v&&(s.text=v),y!==void 0&&(s.origin=y)}),ge(e,"beforeChange",e,s),e.cm&&ge(e.cm,"beforeChange",e.cm,s),s.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:s.from,to:s.to,text:s.text,origin:s.origin}}function Xi(e,n,l){if(e.cm){if(!e.cm.curOp)return Nt(e.cm,Xi)(e,n,l);if(e.cm.state.suppressEdits)return}if(!((rt(e,"beforeChange")||e.cm&&rt(e.cm,"beforeChange"))&&(n=Ph(e,n,!0),!n))){var s=bd&&!l&&Ay(e,n.from,n.to);if(s)for(var a=s.length-1;a>=0;--a)Mh(e,{from:s[a].from,to:s[a].to,text:a?[""]:n.text,origin:n.origin});else Mh(e,n)}}function Mh(e,n){if(!(n.text.length==1&&n.text[0]==""&&T(n.from,n.to)==0)){var l=Wu(e,n);mh(e,n,l,e.cm?e.cm.curOp.id:NaN),is(e,n,l,hu(e,n));var s=[];Pn(e,function(a,d){!d&&se(s,a.history)==-1&&(Ih(a.history,n),s.push(a.history)),is(a,n,null,hu(a,n))})}}function Hl(e,n,l){var s=e.cm&&e.cm.state.suppressEdits;if(!(s&&!l)){for(var a=e.history,d,v=e.sel,y=n=="undo"?a.done:a.undone,S=n=="undo"?a.undone:a.done,C=0;C<y.length&&(d=y[C],!(l?d.ranges&&!d.equals(e.sel):!d.ranges));C++);if(C!=y.length){for(a.lastOrigin=a.lastSelOrigin=null;;)if(d=y.pop(),d.ranges){if(Rl(d,S),l&&!d.equals(e.sel)){$t(e,d,{clearRedo:!1});return}v=d}else if(s){y.push(d);return}else break;var A=[];Rl(v,S),S.push({changes:A,generation:a.generation}),a.generation=d.generation||++a.maxGeneration;for(var R=rt(e,"beforeChange")||e.cm&&rt(e.cm,"beforeChange"),X=function(ce){var Se=d.changes[ce];if(Se.origin=n,R&&!Ph(e,Se,!1))return y.length=0,{};A.push(Uu(e,Se));var Te=ce?Wu(e,Se):Z(y);is(e,Se,Te,bh(e,Se)),!ce&&e.cm&&e.cm.scrollIntoView({from:Se.from,to:kn(Se)});var Pe=[];Pn(e,function(Ee,Ae){!Ae&&se(Pe,Ee.history)==-1&&(Ih(Ee.history,Se),Pe.push(Ee.history)),is(Ee,Se,null,bh(Ee,Se))})},V=d.changes.length-1;V>=0;--V){var ne=X(V);if(ne)return ne.v}}}}function Ah(e,n){if(n!=0&&(e.first+=n,e.sel=new xr(oe(e.sel.ranges,function(a){return new ot(pe(a.anchor.line+n,a.anchor.ch),pe(a.head.line+n,a.head.ch))}),e.sel.primIndex),e.cm)){er(e.cm,e.first,e.first-n,n);for(var l=e.cm.display,s=l.viewFrom;s<l.viewTo;s++)Tn(e.cm,s,"gutter")}}function is(e,n,l,s){if(e.cm&&!e.cm.curOp)return Nt(e.cm,is)(e,n,l,s);if(n.to.line<e.first){Ah(e,n.text.length-1-(n.to.line-n.from.line));return}if(!(n.from.line>e.lastLine())){if(n.from.line<e.first){var a=n.text.length-1-(e.first-n.from.line);Ah(e,a),n={from:pe(e.first,0),to:pe(n.to.line+a,n.to.ch),text:[Z(n.text)],origin:n.origin}}var d=e.lastLine();n.to.line>d&&(n={from:n.from,to:pe(d,Ne(e,d).text.length),text:[n.text[0]],origin:n.origin}),n.removed=$r(e,n.from,n.to),l||(l=Wu(e,n)),e.cm?R0(e.cm,n,s):Ku(e,n,s),Fl(e,l,Ie),e.cantEdit&&zl(e,pe(e.firstLine(),0))&&(e.cantEdit=!1)}}function R0(e,n,l){var s=e.doc,a=e.display,d=n.from,v=n.to,y=!1,S=d.line;e.options.lineWrapping||(S=it(Yr(Ne(s,d.line))),s.iter(S,v.line+1,function(V){if(V==a.maxLine)return y=!0,!0})),s.sel.contains(n.from,n.to)>-1&&et(e),Ku(s,n,l,Jd(e)),e.options.lineWrapping||(s.iter(S,d.line+n.text.length,function(V){var ne=xl(V);ne>a.maxLineLength&&(a.maxLine=V,a.maxLineLength=ne,a.maxLineChanged=!0,y=!1)}),y&&(e.curOp.updateMaxLine=!0)),Cy(s,d.line),ts(e,400);var C=n.text.length-(v.line-d.line)-1;n.full?er(e):d.line==v.line&&n.text.length==1&&!hh(e.doc,n)?Tn(e,d.line,"text"):er(e,d.line,v.line+1,C);var A=rt(e,"changes"),R=rt(e,"change");if(R||A){var X={from:d,to:v,text:n.text,removed:n.removed,origin:n.origin};R&&Lt(e,"change",e,X),A&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(X)}e.display.selForContextMenu=null}function Ji(e,n,l,s,a){var d;s||(s=l),T(s,l)<0&&(d=[s,l],l=d[0],s=d[1]),typeof n=="string"&&(n=e.splitLines(n)),Xi(e,{from:l,to:s,text:n,origin:a})}function Lh(e,n,l,s){l<e.line?e.line+=s:n<e.line&&(e.line=n,e.ch=0)}function Nh(e,n,l,s){for(var a=0;a<e.length;++a){var d=e[a],v=!0;if(d.ranges){d.copied||(d=e[a]=d.deepCopy(),d.copied=!0);for(var y=0;y<d.ranges.length;y++)Lh(d.ranges[y].anchor,n,l,s),Lh(d.ranges[y].head,n,l,s);continue}for(var S=0;S<d.changes.length;++S){var C=d.changes[S];if(l<C.from.line)C.from=pe(C.from.line+s,C.from.ch),C.to=pe(C.to.line+s,C.to.ch);else if(n<=C.to.line){v=!1;break}}v||(e.splice(0,a+1),a=0)}}function Ih(e,n){var l=n.from.line,s=n.to.line,a=n.text.length-(s-l)-1;Nh(e.done,l,s,a),Nh(e.undone,l,s,a)}function os(e,n,l,s){var a=n,d=n;return typeof n=="number"?d=Ne(e,_e(e,n)):a=it(n),a==null?null:(s(d,a)&&e.cm&&Tn(e.cm,a,l),d)}function ss(e){this.lines=e,this.parent=null;for(var n=0,l=0;l<e.length;++l)e[l].parent=this,n+=e[l].height;this.height=n}ss.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,n){for(var l=e,s=e+n;l<s;++l){var a=this.lines[l];this.height-=a.height,Dy(a),Lt(a,"delete")}this.lines.splice(e,n)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,n,l){this.height+=l,this.lines=this.lines.slice(0,e).concat(n).concat(this.lines.slice(e));for(var s=0;s<n.length;++s)n[s].parent=this},iterN:function(e,n,l){for(var s=e+n;e<s;++e)if(l(this.lines[e]))return!0}};function ls(e){this.children=e;for(var n=0,l=0,s=0;s<e.length;++s){var a=e[s];n+=a.chunkSize(),l+=a.height,a.parent=this}this.size=n,this.height=l,this.parent=null}ls.prototype={chunkSize:function(){return this.size},removeInner:function(e,n){this.size-=n;for(var l=0;l<this.children.length;++l){var s=this.children[l],a=s.chunkSize();if(e<a){var d=Math.min(n,a-e),v=s.height;if(s.removeInner(e,d),this.height-=v-s.height,a==d&&(this.children.splice(l--,1),s.parent=null),(n-=d)==0)break;e=0}else e-=a}if(this.size-n<25&&(this.children.length>1||!(this.children[0]instanceof ss))){var y=[];this.collapse(y),this.children=[new ss(y)],this.children[0].parent=this}},collapse:function(e){for(var n=0;n<this.children.length;++n)this.children[n].collapse(e)},insertInner:function(e,n,l){this.size+=n.length,this.height+=l;for(var s=0;s<this.children.length;++s){var a=this.children[s],d=a.chunkSize();if(e<=d){if(a.insertInner(e,n,l),a.lines&&a.lines.length>50){for(var v=a.lines.length%25+25,y=v;y<a.lines.length;){var S=new ss(a.lines.slice(y,y+=25));a.height-=S.height,this.children.splice(++s,0,S),S.parent=this}a.lines=a.lines.slice(0,v),this.maybeSpill()}break}e-=d}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var n=e.children.splice(e.children.length-5,5),l=new ls(n);if(e.parent){e.size-=l.size,e.height-=l.height;var a=se(e.parent.children,e);e.parent.children.splice(a+1,0,l)}else{var s=new ls(e.children);s.parent=e,e.children=[s,l],e=s}l.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,n,l){for(var s=0;s<this.children.length;++s){var a=this.children[s],d=a.chunkSize();if(e<d){var v=Math.min(n,d-e);if(a.iterN(e,v,l))return!0;if((n-=v)==0)break;e=0}else e-=d}}};var as=function(e,n,l){if(l)for(var s in l)l.hasOwnProperty(s)&&(this[s]=l[s]);this.doc=e,this.node=n};as.prototype.clear=function(){var e=this.doc.cm,n=this.line.widgets,l=this.line,s=it(l);if(!(s==null||!n)){for(var a=0;a<n.length;++a)n[a]==this&&n.splice(a--,1);n.length||(l.widgets=null);var d=Xo(this);cr(l,Math.max(0,l.height-d)),e&&(dr(e,function(){Rh(e,l,-d),Tn(e,s,"widget")}),Lt(e,"lineWidgetCleared",e,this,s))}},as.prototype.changed=function(){var e=this,n=this.height,l=this.doc.cm,s=this.line;this.height=null;var a=Xo(this)-n;!a||(Cn(this.doc,s)||cr(s,s.height+a),l&&dr(l,function(){l.curOp.forceUpdate=!0,Rh(l,s,a),Lt(l,"lineWidgetChanged",l,e,it(s))}))},fr(as);function Rh(e,n,l){ln(n)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Ru(e,l)}function D0(e,n,l,s){var a=new as(e,l,s),d=e.cm;return d&&a.noHScroll&&(d.display.alignWidgets=!0),os(e,n,"widget",function(v){var y=v.widgets||(v.widgets=[]);if(a.insertAt==null?y.push(a):y.splice(Math.min(y.length,Math.max(0,a.insertAt)),0,a),a.line=v,d&&!Cn(e,v)){var S=ln(v)<e.scrollTop;cr(v,v.height+Xo(a)),S&&Ru(d,a.height),d.curOp.forceUpdate=!0}return!0}),d&&Lt(d,"lineWidgetAdded",d,a,typeof n=="number"?n:it(n)),a}var Dh=0,Mn=function(e,n){this.lines=[],this.type=n,this.doc=e,this.id=++Dh};Mn.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,n=e&&!e.curOp;if(n&&si(e),rt(this,"clear")){var l=this.find();l&&Lt(this,"clear",l.from,l.to)}for(var s=null,a=null,d=0;d<this.lines.length;++d){var v=this.lines[d],y=Vo(v.markedSpans,this);e&&!this.collapsed?Tn(e,it(v),"text"):e&&(y.to!=null&&(a=it(v)),y.from!=null&&(s=it(v))),v.markedSpans=Oy(v.markedSpans,y),y.from==null&&this.collapsed&&!Cn(this.doc,v)&&e&&cr(v,ji(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var S=0;S<this.lines.length;++S){var C=Yr(this.lines[S]),A=xl(C);A>e.display.maxLineLength&&(e.display.maxLine=C,e.display.maxLineLength=A,e.display.maxLineChanged=!0)}s!=null&&e&&this.collapsed&&er(e,s,a+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Th(e.doc)),e&&Lt(e,"markerCleared",e,this,s,a),n&&li(e),this.parent&&this.parent.clear()}},Mn.prototype.find=function(e,n){e==null&&this.type=="bookmark"&&(e=1);for(var l,s,a=0;a<this.lines.length;++a){var d=this.lines[a],v=Vo(d.markedSpans,this);if(v.from!=null&&(l=pe(n?d:it(d),v.from),e==-1))return l;if(v.to!=null&&(s=pe(n?d:it(d),v.to),e==1))return s}return l&&{from:l,to:s}},Mn.prototype.changed=function(){var e=this,n=this.find(-1,!0),l=this,s=this.doc.cm;!n||!s||dr(s,function(){var a=n.line,d=it(n.line),v=xu(s,d);if(v&&(jd(v),s.curOp.selectionChanged=s.curOp.forceUpdate=!0),s.curOp.updateMaxLine=!0,!Cn(l.doc,a)&&l.height!=null){var y=l.height;l.height=null;var S=Xo(l)-y;S&&cr(a,a.height+S)}Lt(s,"markerChanged",s,e)})},Mn.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(!n.maybeHiddenMarkers||se(n.maybeHiddenMarkers,this)==-1)&&(n.maybeUnhiddenMarkers||(n.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},Mn.prototype.detachLine=function(e){if(this.lines.splice(se(this.lines,e),1),!this.lines.length&&this.doc.cm){var n=this.doc.cm.curOp;(n.maybeHiddenMarkers||(n.maybeHiddenMarkers=[])).push(this)}},fr(Mn);function Zi(e,n,l,s,a){if(s&&s.shared)return F0(e,n,l,s,a);if(e.cm&&!e.cm.curOp)return Nt(e.cm,Zi)(e,n,l,s,a);var d=new Mn(e,a),v=T(n,l);if(s&&Ke(s,d,!1),v>0||v==0&&d.clearWhenEmpty!==!1)return d;if(d.replacedWith&&(d.collapsed=!0,d.widgetNode=w("span",[d.replacedWith],"CodeMirror-widget"),s.handleMouseEvents||d.widgetNode.setAttribute("cm-ignore-events","true"),s.insertLeft&&(d.widgetNode.insertLeft=!0)),d.collapsed){if(Ed(e,n.line,n,l,d)||n.line!=l.line&&Ed(e,l.line,n,l,d))throw new Error("Inserting collapsed marker partially overlapping an existing one");Ey()}d.addToHistory&&mh(e,{from:n,to:l,origin:"markText"},e.sel,NaN);var y=n.line,S=e.cm,C;if(e.iter(y,l.line+1,function(R){S&&d.collapsed&&!S.options.lineWrapping&&Yr(R)==S.display.maxLine&&(C=!0),d.collapsed&&y!=n.line&&cr(R,0),ky(R,new ml(d,y==n.line?n.ch:null,y==l.line?l.ch:null),e.cm&&e.cm.curOp),++y}),d.collapsed&&e.iter(n.line,l.line+1,function(R){Cn(e,R)&&cr(R,0)}),d.clearOnEnter&&Fe(d,"beforeCursorEnter",function(){return d.clear()}),d.readOnly&&(Ty(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),d.collapsed&&(d.id=++Dh,d.atomic=!0),S){if(C&&(S.curOp.updateMaxLine=!0),d.collapsed)er(S,n.line,l.line+1);else if(d.className||d.startStyle||d.endStyle||d.css||d.attributes||d.title)for(var A=n.line;A<=l.line;A++)Tn(S,A,"text");d.atomic&&Th(S.doc),Lt(S,"markerAdded",S,d)}return d}var us=function(e,n){this.markers=e,this.primary=n;for(var l=0;l<e.length;++l)e[l].parent=this};us.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Lt(this,"clear")}},us.prototype.find=function(e,n){return this.primary.find(e,n)},fr(us);function F0(e,n,l,s,a){s=Ke(s),s.shared=!1;var d=[Zi(e,n,l,s,a)],v=d[0],y=s.widgetNode;return Pn(e,function(S){y&&(s.widgetNode=y.cloneNode(!0)),d.push(Zi(S,Me(S,n),Me(S,l),s,a));for(var C=0;C<S.linked.length;++C)if(S.linked[C].isParent)return;v=Z(d)}),new us(d,v)}function Fh(e){return e.findMarks(pe(e.first,0),e.clipPos(pe(e.lastLine())),function(n){return n.parent})}function z0(e,n){for(var l=0;l<n.length;l++){var s=n[l],a=s.find(),d=e.clipPos(a.from),v=e.clipPos(a.to);if(T(d,v)){var y=Zi(e,d,v,s.primary,s.primary.type);s.markers.push(y),y.parent=s}}}function H0(e){for(var n=function(s){var a=e[s],d=[a.primary.doc];Pn(a.primary.doc,function(S){return d.push(S)});for(var v=0;v<a.markers.length;v++){var y=a.markers[v];se(d,y.doc)==-1&&(y.parent=null,a.markers.splice(v--,1))}},l=0;l<e.length;l++)n(l)}var B0=0,tr=function(e,n,l,s,a){if(!(this instanceof tr))return new tr(e,n,l,s,a);l==null&&(l=0),ls.call(this,[new ss([new Hi("",null)])]),this.first=l,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=l;var d=pe(l,0);this.sel=On(d),this.history=new Il(null),this.id=++B0,this.modeOption=n,this.lineSep=s,this.direction=a=="rtl"?"rtl":"ltr",this.extend=!1,typeof e=="string"&&(e=this.splitLines(e)),Ku(this,{from:d,to:d,text:e}),$t(this,On(d),Ie)};tr.prototype=Ce(ls.prototype,{constructor:tr,iter:function(e,n,l){l?this.iterN(e-this.first,n-e,l):this.iterN(this.first,this.first+this.size,e)},insert:function(e,n){for(var l=0,s=0;s<n.length;++s)l+=n[s].height;this.insertInner(e-this.first,n,l)},remove:function(e,n){this.removeInner(e-this.first,n)},getValue:function(e){var n=Ko(this,this.first,this.first+this.size);return e===!1?n:n.join(e||this.lineSeparator())},setValue:It(function(e){var n=pe(this.first,0),l=this.first+this.size-1;Xi(this,{from:n,to:pe(l,Ne(this,l).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Qo(this.cm,0,0),$t(this,On(n),Ie)}),replaceRange:function(e,n,l,s){n=Me(this,n),l=l?Me(this,l):n,Ji(this,e,n,l,s)},getRange:function(e,n,l){var s=$r(this,Me(this,e),Me(this,n));return l===!1?s:l===""?s.join(""):s.join(l||this.lineSeparator())},getLine:function(e){var n=this.getLineHandle(e);return n&&n.text},getLineHandle:function(e){if(_n(this,e))return Ne(this,e)},getLineNumber:function(e){return it(e)},getLineHandleVisualStart:function(e){return typeof e=="number"&&(e=Ne(this,e)),Yr(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return Me(this,e)},getCursor:function(e){var n=this.sel.primary(),l;return e==null||e=="head"?l=n.head:e=="anchor"?l=n.anchor:e=="end"||e=="to"||e===!1?l=n.to():l=n.from(),l},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:It(function(e,n,l){xh(this,Me(this,typeof e=="number"?pe(e,n||0):e),null,l)}),setSelection:It(function(e,n,l){xh(this,Me(this,e),Me(this,n||e),l)}),extendSelection:It(function(e,n,l){Dl(this,Me(this,e),n&&Me(this,n),l)}),extendSelections:It(function(e,n){Sh(this,Sr(this,e),n)}),extendSelectionsBy:It(function(e,n){var l=oe(this.sel.ranges,e);Sh(this,Sr(this,l),n)}),setSelections:It(function(e,n,l){if(!!e.length){for(var s=[],a=0;a<e.length;a++)s[a]=new ot(Me(this,e[a].anchor),Me(this,e[a].head||e[a].anchor));n==null&&(n=Math.min(e.length-1,this.sel.primIndex)),$t(this,Hr(this.cm,s,n),l)}}),addSelection:It(function(e,n,l){var s=this.sel.ranges.slice(0);s.push(new ot(Me(this,e),Me(this,n||e))),$t(this,Hr(this.cm,s,s.length-1),l)}),getSelection:function(e){for(var n=this.sel.ranges,l,s=0;s<n.length;s++){var a=$r(this,n[s].from(),n[s].to());l=l?l.concat(a):a}return e===!1?l:l.join(e||this.lineSeparator())},getSelections:function(e){for(var n=[],l=this.sel.ranges,s=0;s<l.length;s++){var a=$r(this,l[s].from(),l[s].to());e!==!1&&(a=a.join(e||this.lineSeparator())),n[s]=a}return n},replaceSelection:function(e,n,l){for(var s=[],a=0;a<this.sel.ranges.length;a++)s[a]=e;this.replaceSelections(s,n,l||"+input")},replaceSelections:It(function(e,n,l){for(var s=[],a=this.sel,d=0;d<a.ranges.length;d++){var v=a.ranges[d];s[d]={from:v.from(),to:v.to(),text:this.splitLines(e[d]),origin:l}}for(var y=n&&n!="end"&&O0(this,s,n),S=s.length-1;S>=0;S--)Xi(this,s[S]);y?wh(this,y):this.cm&&$i(this.cm)}),undo:It(function(){Hl(this,"undo")}),redo:It(function(){Hl(this,"redo")}),undoSelection:It(function(){Hl(this,"undo",!0)}),redoSelection:It(function(){Hl(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,n=0,l=0,s=0;s<e.done.length;s++)e.done[s].ranges||++n;for(var a=0;a<e.undone.length;a++)e.undone[a].ranges||++l;return{undo:n,redo:l}},clearHistory:function(){var e=this;this.history=new Il(this.history),Pn(this,function(n){return n.history=e.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Gi(this.history.done),undone:Gi(this.history.undone)}},setHistory:function(e){var n=this.history=new Il(this.history);n.done=Gi(e.done.slice(0),null,!0),n.undone=Gi(e.undone.slice(0),null,!0)},setGutterMarker:It(function(e,n,l){return os(this,e,"gutter",function(s){var a=s.gutterMarkers||(s.gutterMarkers={});return a[n]=l,!l&&re(a)&&(s.gutterMarkers=null),!0})}),clearGutter:It(function(e){var n=this;this.iter(function(l){l.gutterMarkers&&l.gutterMarkers[e]&&os(n,l,"gutter",function(){return l.gutterMarkers[e]=null,re(l.gutterMarkers)&&(l.gutterMarkers=null),!0})})}),lineInfo:function(e){var n;if(typeof e=="number"){if(!_n(this,e)||(n=e,e=Ne(this,e),!e))return null}else if(n=it(e),n==null)return null;return{line:n,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:It(function(e,n,l){return os(this,e,n=="gutter"?"gutter":"class",function(s){var a=n=="text"?"textClass":n=="background"?"bgClass":n=="gutter"?"gutterClass":"wrapClass";if(!s[a])s[a]=l;else{if(te(l).test(s[a]))return!1;s[a]+=" "+l}return!0})}),removeLineClass:It(function(e,n,l){return os(this,e,n=="gutter"?"gutter":"class",function(s){var a=n=="text"?"textClass":n=="background"?"bgClass":n=="gutter"?"gutterClass":"wrapClass",d=s[a];if(d)if(l==null)s[a]=null;else{var v=d.match(te(l));if(!v)return!1;var y=v.index+v[0].length;s[a]=d.slice(0,v.index)+(!v.index||y==d.length?"":" ")+d.slice(y)||null}else return!1;return!0})}),addLineWidget:It(function(e,n,l){return D0(this,e,n,l)}),removeLineWidget:function(e){e.clear()},markText:function(e,n,l){return Zi(this,Me(this,e),Me(this,n),l,l&&l.type||"range")},setBookmark:function(e,n){var l={replacedWith:n&&(n.nodeType==null?n.widget:n),insertLeft:n&&n.insertLeft,clearWhenEmpty:!1,shared:n&&n.shared,handleMouseEvents:n&&n.handleMouseEvents};return e=Me(this,e),Zi(this,e,e,l,"bookmark")},findMarksAt:function(e){e=Me(this,e);var n=[],l=Ne(this,e.line).markedSpans;if(l)for(var s=0;s<l.length;++s){var a=l[s];(a.from==null||a.from<=e.ch)&&(a.to==null||a.to>=e.ch)&&n.push(a.marker.parent||a.marker)}return n},findMarks:function(e,n,l){e=Me(this,e),n=Me(this,n);var s=[],a=e.line;return this.iter(e.line,n.line+1,function(d){var v=d.markedSpans;if(v)for(var y=0;y<v.length;y++){var S=v[y];!(S.to!=null&&a==e.line&&e.ch>=S.to||S.from==null&&a!=e.line||S.from!=null&&a==n.line&&S.from>=n.ch)&&(!l||l(S.marker))&&s.push(S.marker.parent||S.marker)}++a}),s},getAllMarks:function(){var e=[];return this.iter(function(n){var l=n.markedSpans;if(l)for(var s=0;s<l.length;++s)l[s].from!=null&&e.push(l[s].marker)}),e},posFromIndex:function(e){var n,l=this.first,s=this.lineSeparator().length;return this.iter(function(a){var d=a.text.length+s;if(d>e)return n=e,!0;e-=d,++l}),Me(this,pe(l,n))},indexFromPos:function(e){e=Me(this,e);var n=e.ch;if(e.line<this.first||e.ch<0)return 0;var l=this.lineSeparator().length;return this.iter(this.first,e.line,function(s){n+=s.text.length+l}),n},copy:function(e){var n=new tr(Ko(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return n.scrollTop=this.scrollTop,n.scrollLeft=this.scrollLeft,n.sel=this.sel,n.extend=!1,e&&(n.history.undoDepth=this.history.undoDepth,n.setHistory(this.getHistory())),n},linkedDoc:function(e){e||(e={});var n=this.first,l=this.first+this.size;e.from!=null&&e.from>n&&(n=e.from),e.to!=null&&e.to<l&&(l=e.to);var s=new tr(Ko(this,n,l),e.mode||this.modeOption,n,this.lineSep,this.direction);return e.sharedHist&&(s.history=this.history),(this.linked||(this.linked=[])).push({doc:s,sharedHist:e.sharedHist}),s.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],z0(s,Fh(this)),s},unlinkDoc:function(e){if(e instanceof ht&&(e=e.doc),this.linked)for(var n=0;n<this.linked.length;++n){var l=this.linked[n];if(l.doc==e){this.linked.splice(n,1),e.unlinkDoc(this),H0(Fh(this));break}}if(e.history==this.history){var s=[e.id];Pn(e,function(a){return s.push(a.id)},!0),e.history=new Il(null),e.history.done=Gi(this.history.done,s),e.history.undone=Gi(this.history.undone,s)}},iterLinkedDocs:function(e){Pn(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Ho(e)},lineSeparator:function(){return this.lineSep||`
15
+ `},setDirection:It(function(e){e!="rtl"&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(n){return n.order=null}),this.cm&&k0(this.cm))})}),tr.prototype.eachLine=tr.prototype.iter;var zh=0;function W0(e){var n=this;if(Hh(n),!(He(n,e)||an(n.display,e))){At(e),h&&(zh=+new Date);var l=ri(n,e,!0),s=e.dataTransfer.files;if(!(!l||n.isReadOnly()))if(s&&s.length&&window.FileReader&&window.File)for(var a=s.length,d=Array(a),v=0,y=function(){++v==a&&Nt(n,function(){l=Me(n.doc,l);var V={from:l,to:l,text:n.doc.splitLines(d.filter(function(ne){return ne!=null}).join(n.doc.lineSeparator())),origin:"paste"};Xi(n.doc,V),wh(n.doc,On(Me(n.doc,l),Me(n.doc,kn(V))))})()},S=function(V,ne){if(n.options.allowDropFileTypes&&se(n.options.allowDropFileTypes,V.type)==-1){y();return}var ce=new FileReader;ce.onerror=function(){return y()},ce.onload=function(){var Se=ce.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(Se)){y();return}d[ne]=Se,y()},ce.readAsText(V)},C=0;C<s.length;C++)S(s[C],C);else{if(n.state.draggingText&&n.doc.sel.contains(l)>-1){n.state.draggingText(e),setTimeout(function(){return n.display.input.focus()},20);return}try{var A=e.dataTransfer.getData("Text");if(A){var R;if(n.state.draggingText&&!n.state.draggingText.copy&&(R=n.listSelections()),Fl(n.doc,On(l,l)),R)for(var X=0;X<R.length;++X)Ji(n.doc,"",R[X].anchor,R[X].head,"drag");n.replaceSelection(A,"around","paste"),n.display.input.focus()}}catch{}}}}function j0(e,n){if(h&&(!e.state.draggingText||+new Date-zh<100)){qn(n);return}if(!(He(e,n)||an(e.display,n))&&(n.dataTransfer.setData("Text",e.getSelection()),n.dataTransfer.effectAllowed="copyMove",n.dataTransfer.setDragImage&&!P)){var l=k("img",null,null,"position: fixed; left: 0; top: 0;");l.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",E&&(l.width=l.height=1,e.display.wrapper.appendChild(l),l._top=l.offsetTop),n.dataTransfer.setDragImage(l,0,0),E&&l.parentNode.removeChild(l)}}function K0(e,n){var l=ri(e,n);if(!!l){var s=document.createDocumentFragment();Mu(e,l,s),e.display.dragCursor||(e.display.dragCursor=k("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),O(e.display.dragCursor,s)}}function Hh(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Bh(e){if(!!document.getElementsByClassName){for(var n=document.getElementsByClassName("CodeMirror"),l=[],s=0;s<n.length;s++){var a=n[s].CodeMirror;a&&l.push(a)}l.length&&l[0].operation(function(){for(var d=0;d<l.length;d++)e(l[d])})}}var Wh=!1;function U0(){Wh||($0(),Wh=!0)}function $0(){var e;Fe(window,"resize",function(){e==null&&(e=setTimeout(function(){e=null,Bh(V0)},100))}),Fe(window,"blur",function(){return Bh(Ui)})}function V0(e){var n=e.display;n.cachedCharWidth=n.cachedTextHeight=n.cachedPaddingH=null,n.scrollbarsClipped=!1,e.setSize()}for(var An={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},fs=0;fs<10;fs++)An[fs+48]=An[fs+96]=String(fs);for(var Bl=65;Bl<=90;Bl++)An[Bl]=String.fromCharCode(Bl);for(var cs=1;cs<=12;cs++)An[cs+111]=An[cs+63235]="F"+cs;var fn={};fn.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},fn.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},fn.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},fn.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},fn.default=H?fn.macDefault:fn.pcDefault;function G0(e){var n=e.split(/-(?!$)/);e=n[n.length-1];for(var l,s,a,d,v=0;v<n.length-1;v++){var y=n[v];if(/^(cmd|meta|m)$/i.test(y))d=!0;else if(/^a(lt)?$/i.test(y))l=!0;else if(/^(c|ctrl|control)$/i.test(y))s=!0;else if(/^s(hift)?$/i.test(y))a=!0;else throw new Error("Unrecognized modifier name: "+y)}return l&&(e="Alt-"+e),s&&(e="Ctrl-"+e),d&&(e="Cmd-"+e),a&&(e="Shift-"+e),e}function Y0(e){var n={};for(var l in e)if(e.hasOwnProperty(l)){var s=e[l];if(/^(name|fallthrough|(de|at)tach)$/.test(l))continue;if(s=="..."){delete e[l];continue}for(var a=oe(l.split(" "),G0),d=0;d<a.length;d++){var v=void 0,y=void 0;d==a.length-1?(y=a.join(" "),v=s):(y=a.slice(0,d+1).join(" "),v="...");var S=n[y];if(!S)n[y]=v;else if(S!=v)throw new Error("Inconsistent bindings for "+y)}delete e[l]}for(var C in n)e[C]=n[C];return e}function Qi(e,n,l,s){n=Wl(n);var a=n.call?n.call(e,s):n[e];if(a===!1)return"nothing";if(a==="...")return"multi";if(a!=null&&l(a))return"handled";if(n.fallthrough){if(Object.prototype.toString.call(n.fallthrough)!="[object Array]")return Qi(e,n.fallthrough,l,s);for(var d=0;d<n.fallthrough.length;d++){var v=Qi(e,n.fallthrough[d],l,s);if(v)return v}}}function jh(e){var n=typeof e=="string"?e:An[e.keyCode];return n=="Ctrl"||n=="Alt"||n=="Shift"||n=="Mod"}function Kh(e,n,l){var s=e;return n.altKey&&s!="Alt"&&(e="Alt-"+e),(U?n.metaKey:n.ctrlKey)&&s!="Ctrl"&&(e="Ctrl-"+e),(U?n.ctrlKey:n.metaKey)&&s!="Mod"&&(e="Cmd-"+e),!l&&n.shiftKey&&s!="Shift"&&(e="Shift-"+e),e}function Uh(e,n){if(E&&e.keyCode==34&&e.char)return!1;var l=An[e.keyCode];return l==null||e.altGraphKey?!1:(e.keyCode==3&&e.code&&(l=e.code),Kh(l,e,n))}function Wl(e){return typeof e=="string"?fn[e]:e}function qi(e,n){for(var l=e.doc.sel.ranges,s=[],a=0;a<l.length;a++){for(var d=n(l[a]);s.length&&T(d.from,Z(s).to)<=0;){var v=s.pop();if(T(v.from,d.from)<0){d.from=v.from;break}}s.push(d)}dr(e,function(){for(var y=s.length-1;y>=0;y--)Ji(e.doc,"",s[y].from,s[y].to,"+delete");$i(e)})}function Gu(e,n,l){var s=Re(e.text,n+l,l);return s<0||s>e.text.length?null:s}function Yu(e,n,l){var s=Gu(e,n.ch,l);return s==null?null:new pe(n.line,s,l<0?"after":"before")}function Xu(e,n,l,s,a){if(e){n.doc.direction=="rtl"&&(a=-a);var d=vt(l,n.doc.direction);if(d){var v=a<0?Z(d):d[0],y=a<0==(v.level==1),S=y?"after":"before",C;if(v.level>0||n.doc.direction=="rtl"){var A=Wi(n,l);C=a<0?l.text.length-1:0;var R=Jr(n,A,C).top;C=Ve(function(X){return Jr(n,A,X).top==R},a<0==(v.level==1)?v.from:v.to-1,C),S=="before"&&(C=Gu(l,C,1))}else C=a<0?v.to:v.from;return new pe(s,C,S)}}return new pe(s,a<0?l.text.length:0,a<0?"before":"after")}function X0(e,n,l,s){var a=vt(n,e.doc.direction);if(!a)return Yu(n,l,s);l.ch>=n.text.length?(l.ch=n.text.length,l.sticky="before"):l.ch<=0&&(l.ch=0,l.sticky="after");var d=Ue(a,l.ch,l.sticky),v=a[d];if(e.doc.direction=="ltr"&&v.level%2==0&&(s>0?v.to>l.ch:v.from<l.ch))return Yu(n,l,s);var y=function(Te,Pe){return Gu(n,Te instanceof pe?Te.ch:Te,Pe)},S,C=function(Te){return e.options.lineWrapping?(S=S||Wi(e,n),Xd(e,n,S,Te)):{begin:0,end:n.text.length}},A=C(l.sticky=="before"?y(l,-1):l.ch);if(e.doc.direction=="rtl"||v.level==1){var R=v.level==1==s<0,X=y(l,R?1:-1);if(X!=null&&(R?X<=v.to&&X<=A.end:X>=v.from&&X>=A.begin)){var V=R?"before":"after";return new pe(l.line,X,V)}}var ne=function(Te,Pe,Ee){for(var Ae=function(ct,Rt){return Rt?new pe(l.line,y(ct,1),"before"):new pe(l.line,ct,"after")};Te>=0&&Te<a.length;Te+=Pe){var Be=a[Te],ze=Pe>0==(Be.level!=1),Qe=ze?Ee.begin:y(Ee.end,-1);if(Be.from<=Qe&&Qe<Be.to||(Qe=ze?Be.from:y(Be.to,-1),Ee.begin<=Qe&&Qe<Ee.end))return Ae(Qe,ze)}},ce=ne(d+s,s,A);if(ce)return ce;var Se=s>0?A.end:y(A.begin,-1);return Se!=null&&!(s>0&&Se==n.text.length)&&(ce=ne(s>0?0:a.length-1,s,C(Se)),ce)?ce:null}var ds={selectAll:kh,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),Ie)},killLine:function(e){return qi(e,function(n){if(n.empty()){var l=Ne(e.doc,n.head.line).text.length;return n.head.ch==l&&n.head.line<e.lastLine()?{from:n.head,to:pe(n.head.line+1,0)}:{from:n.head,to:pe(n.head.line,l)}}else return{from:n.from(),to:n.to()}})},deleteLine:function(e){return qi(e,function(n){return{from:pe(n.from().line,0),to:Me(e.doc,pe(n.to().line+1,0))}})},delLineLeft:function(e){return qi(e,function(n){return{from:pe(n.from().line,0),to:n.from()}})},delWrappedLineLeft:function(e){return qi(e,function(n){var l=e.charCoords(n.head,"div").top+5,s=e.coordsChar({left:0,top:l},"div");return{from:s,to:n.from()}})},delWrappedLineRight:function(e){return qi(e,function(n){var l=e.charCoords(n.head,"div").top+5,s=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:l},"div");return{from:n.from(),to:s}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(pe(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(pe(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(n){return $h(e,n.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(n){return Vh(e,n.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(n){return J0(e,n.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(n){var l=e.cursorCoords(n.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:l},"div")},me)},goLineLeft:function(e){return e.extendSelectionsBy(function(n){var l=e.cursorCoords(n.head,"div").top+5;return e.coordsChar({left:0,top:l},"div")},me)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(n){var l=e.cursorCoords(n.head,"div").top+5,s=e.coordsChar({left:0,top:l},"div");return s.ch<e.getLine(s.line).search(/\S/)?Vh(e,n.head):s},me)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"codepoint")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection(" ")},insertSoftTab:function(e){for(var n=[],l=e.listSelections(),s=e.options.tabSize,a=0;a<l.length;a++){var d=l[a].from(),v=Xe(e.getLine(d.line),d.ch,s);n.push($(s-v%s))}e.replaceSelections(n)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return dr(e,function(){for(var n=e.listSelections(),l=[],s=0;s<n.length;s++)if(!!n[s].empty()){var a=n[s].head,d=Ne(e.doc,a.line).text;if(d){if(a.ch==d.length&&(a=new pe(a.line,a.ch-1)),a.ch>0)a=new pe(a.line,a.ch+1),e.replaceRange(d.charAt(a.ch-1)+d.charAt(a.ch-2),pe(a.line,a.ch-2),a,"+transpose");else if(a.line>e.doc.first){var v=Ne(e.doc,a.line-1).text;v&&(a=new pe(a.line,1),e.replaceRange(d.charAt(0)+e.doc.lineSeparator()+v.charAt(v.length-1),pe(a.line-1,v.length-1),a,"+transpose"))}}l.push(new ot(a,a))}e.setSelections(l)})},newlineAndIndent:function(e){return dr(e,function(){for(var n=e.listSelections(),l=n.length-1;l>=0;l--)e.replaceRange(e.doc.lineSeparator(),n[l].anchor,n[l].head,"+input");n=e.listSelections();for(var s=0;s<n.length;s++)e.indentLine(n[s].from().line,null,!0);$i(e)})},openLine:function(e){return e.replaceSelection(`
16
+ `,"start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function $h(e,n){var l=Ne(e.doc,n),s=Yr(l);return s!=l&&(n=it(s)),Xu(!0,e,s,n,1)}function J0(e,n){var l=Ne(e.doc,n),s=Ny(l);return s!=l&&(n=it(s)),Xu(!0,e,l,n,-1)}function Vh(e,n){var l=$h(e,n.line),s=Ne(e.doc,l.line),a=vt(s,e.doc.direction);if(!a||a[0].level==0){var d=Math.max(l.ch,s.text.search(/\S/)),v=n.line==l.line&&n.ch<=d&&n.ch;return pe(l.line,v?0:d,l.sticky)}return l}function jl(e,n,l){if(typeof n=="string"&&(n=ds[n],!n))return!1;e.display.input.ensurePolled();var s=e.display.shift,a=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),l&&(e.display.shift=!1),a=n(e)!=be}finally{e.display.shift=s,e.state.suppressEdits=!1}return a}function Z0(e,n,l){for(var s=0;s<e.state.keyMaps.length;s++){var a=Qi(n,e.state.keyMaps[s],l,e);if(a)return a}return e.options.extraKeys&&Qi(n,e.options.extraKeys,l,e)||Qi(n,e.options.keyMap,l,e)}var Q0=new ie;function hs(e,n,l,s){var a=e.state.keySeq;if(a){if(jh(n))return"handled";if(/\'$/.test(n)?e.state.keySeq=null:Q0.set(50,function(){e.state.keySeq==a&&(e.state.keySeq=null,e.display.input.reset())}),Gh(e,a+" "+n,l,s))return!0}return Gh(e,n,l,s)}function Gh(e,n,l,s){var a=Z0(e,n,s);return a=="multi"&&(e.state.keySeq=n),a=="handled"&&Lt(e,"keyHandled",e,n,l),(a=="handled"||a=="multi")&&(At(l),Au(e)),!!a}function Yh(e,n){var l=Uh(n,!0);return l?n.shiftKey&&!e.state.keySeq?hs(e,"Shift-"+l,n,function(s){return jl(e,s,!0)})||hs(e,l,n,function(s){if(typeof s=="string"?/^go[A-Z]/.test(s):s.motion)return jl(e,s)}):hs(e,l,n,function(s){return jl(e,s)}):!1}function q0(e,n,l){return hs(e,"'"+l+"'",n,function(s){return jl(e,s,!0)})}var Ju=null;function Xh(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&(n.curOp.focus=Y(),!He(n,e))){h&&g<11&&e.keyCode==27&&(e.returnValue=!1);var l=e.keyCode;n.display.shift=l==16||e.shiftKey;var s=Yh(n,e);E&&(Ju=s?l:null,!s&&l==88&&!gl&&(H?e.metaKey:e.ctrlKey)&&n.replaceSelection("",null,"cut")),u&&!H&&!s&&l==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),l==18&&!/\bCodeMirror-crosshair\b/.test(n.display.lineDiv.className)&&_0(n)}}function _0(e){var n=e.display.lineDiv;ue(n,"CodeMirror-crosshair");function l(s){(s.keyCode==18||!s.altKey)&&(ee(n,"CodeMirror-crosshair"),Oe(document,"keyup",l),Oe(document,"mouseover",l))}Fe(document,"keyup",l),Fe(document,"mouseover",l)}function Jh(e){e.keyCode==16&&(this.doc.sel.shift=!1),He(this,e)}function Zh(e){var n=this;if(!(e.target&&e.target!=n.display.input.getField())&&!(an(n.display,e)||He(n,e)||e.ctrlKey&&!e.altKey||H&&e.metaKey)){var l=e.keyCode,s=e.charCode;if(E&&l==Ju){Ju=null,At(e);return}if(!(E&&(!e.which||e.which<10)&&Yh(n,e))){var a=String.fromCharCode(s==null?l:s);a!="\b"&&(q0(n,e,a)||n.display.input.onKeyPress(e))}}}var eb=400,Zu=function(e,n,l){this.time=e,this.pos=n,this.button=l};Zu.prototype.compare=function(e,n,l){return this.time+eb>e&&T(n,this.pos)==0&&l==this.button};var ps,gs;function tb(e,n){var l=+new Date;return gs&&gs.compare(l,e,n)?(ps=gs=null,"triple"):ps&&ps.compare(l,e,n)?(gs=new Zu(l,e,n),ps=null,"double"):(ps=new Zu(l,e,n),gs=null,"single")}function Qh(e){var n=this,l=n.display;if(!(He(n,e)||l.activeTouch&&l.input.supportsTouch())){if(l.input.ensurePolled(),l.shift=e.shiftKey,an(l,e)){m||(l.scroller.draggable=!1,setTimeout(function(){return l.scroller.draggable=!0},100));return}if(!Qu(n,e)){var s=ri(n,e),a=dl(e),d=s?tb(s,a):"single";window.focus(),a==1&&n.state.selectingText&&n.state.selectingText(e),!(s&&rb(n,a,s,d,e))&&(a==1?s?ib(n,s,d,e):xn(e)==l.scroller&&At(e):a==2?(s&&Dl(n.doc,s),setTimeout(function(){return l.input.focus()},20)):a==3&&(q?n.display.input.onContextMenu(e):Lu(n)))}}}function rb(e,n,l,s,a){var d="Click";return s=="double"?d="Double"+d:s=="triple"&&(d="Triple"+d),d=(n==1?"Left":n==2?"Middle":"Right")+d,hs(e,Kh(d,a),a,function(v){if(typeof v=="string"&&(v=ds[v]),!v)return!1;var y=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),y=v(e,l)!=be}finally{e.state.suppressEdits=!1}return y})}function nb(e,n,l){var s=e.getOption("configureMouse"),a=s?s(e,n,l):{};if(a.unit==null){var d=Q?l.shiftKey&&l.metaKey:l.altKey;a.unit=d?"rectangle":n=="single"?"char":n=="double"?"word":"line"}return(a.extend==null||e.doc.extend)&&(a.extend=e.doc.extend||l.shiftKey),a.addNew==null&&(a.addNew=H?l.metaKey:l.ctrlKey),a.moveOnDrag==null&&(a.moveOnDrag=!(H?l.altKey:l.ctrlKey)),a}function ib(e,n,l,s){h?setTimeout(We(qd,e),0):e.curOp.focus=Y();var a=nb(e,l,s),d=e.doc.sel,v;e.options.dragDrop&&Fo&&!e.isReadOnly()&&l=="single"&&(v=d.contains(n))>-1&&(T((v=d.ranges[v]).from(),n)<0||n.xRel>0)&&(T(v.to(),n)>0||n.xRel<0)?ob(e,s,n,a):sb(e,s,n,a)}function ob(e,n,l,s){var a=e.display,d=!1,v=Nt(e,function(C){m&&(a.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Lu(e)),Oe(a.wrapper.ownerDocument,"mouseup",v),Oe(a.wrapper.ownerDocument,"mousemove",y),Oe(a.scroller,"dragstart",S),Oe(a.scroller,"drop",v),d||(At(C),s.addNew||Dl(e.doc,l,null,null,s.extend),m&&!P||h&&g==9?setTimeout(function(){a.wrapper.ownerDocument.body.focus({preventScroll:!0}),a.input.focus()},20):a.input.focus())}),y=function(C){d=d||Math.abs(n.clientX-C.clientX)+Math.abs(n.clientY-C.clientY)>=10},S=function(){return d=!0};m&&(a.scroller.draggable=!0),e.state.draggingText=v,v.copy=!s.moveOnDrag,Fe(a.wrapper.ownerDocument,"mouseup",v),Fe(a.wrapper.ownerDocument,"mousemove",y),Fe(a.scroller,"dragstart",S),Fe(a.scroller,"drop",v),e.state.delayingBlurEvent=!0,setTimeout(function(){return a.input.focus()},20),a.scroller.dragDrop&&a.scroller.dragDrop()}function qh(e,n,l){if(l=="char")return new ot(n,n);if(l=="word")return e.findWordAt(n);if(l=="line")return new ot(pe(n.line,0),Me(e.doc,pe(n.line+1,0)));var s=l(e,n);return new ot(s.from,s.to)}function sb(e,n,l,s){h&&Lu(e);var a=e.display,d=e.doc;At(n);var v,y,S=d.sel,C=S.ranges;if(s.addNew&&!s.extend?(y=d.sel.contains(l),y>-1?v=C[y]:v=new ot(l,l)):(v=d.sel.primary(),y=d.sel.primIndex),s.unit=="rectangle")s.addNew||(v=new ot(l,l)),l=ri(e,n,!0,!0),y=-1;else{var A=qh(e,l,s.unit);s.extend?v=$u(v,A.anchor,A.head,s.extend):v=A}s.addNew?y==-1?(y=C.length,$t(d,Hr(e,C.concat([v]),y),{scroll:!1,origin:"*mouse"})):C.length>1&&C[y].empty()&&s.unit=="char"&&!s.extend?($t(d,Hr(e,C.slice(0,y).concat(C.slice(y+1)),0),{scroll:!1,origin:"*mouse"}),S=d.sel):Vu(d,y,v,ke):(y=0,$t(d,new xr([v],0),ke),S=d.sel);var R=l;function X(Ee){if(T(R,Ee)!=0)if(R=Ee,s.unit=="rectangle"){for(var Ae=[],Be=e.options.tabSize,ze=Xe(Ne(d,l.line).text,l.ch,Be),Qe=Xe(Ne(d,Ee.line).text,Ee.ch,Be),ct=Math.min(ze,Qe),Rt=Math.max(ze,Qe),mt=Math.min(l.line,Ee.line),hr=Math.min(e.lastLine(),Math.max(l.line,Ee.line));mt<=hr;mt++){var rr=Ne(d,mt).text,Tt=Le(rr,ct,Be);ct==Rt?Ae.push(new ot(pe(mt,Tt),pe(mt,Tt))):rr.length>Tt&&Ae.push(new ot(pe(mt,Tt),pe(mt,Le(rr,Rt,Be))))}Ae.length||Ae.push(new ot(l,l)),$t(d,Hr(e,S.ranges.slice(0,y).concat(Ae),y),{origin:"*mouse",scroll:!1}),e.scrollIntoView(Ee)}else{var nr=v,Wt=qh(e,Ee,s.unit),Pt=nr.anchor,Et;T(Wt.anchor,Pt)>0?(Et=Wt.head,Pt=$e(nr.from(),Wt.anchor)):(Et=Wt.anchor,Pt=ye(nr.to(),Wt.head));var St=S.ranges.slice(0);St[y]=lb(e,new ot(Me(d,Pt),Et)),$t(d,Hr(e,St,y),ke)}}var V=a.wrapper.getBoundingClientRect(),ne=0;function ce(Ee){var Ae=++ne,Be=ri(e,Ee,!0,s.unit=="rectangle");if(!!Be)if(T(Be,R)!=0){e.curOp.focus=Y(),X(Be);var ze=Ml(a,d);(Be.line>=ze.to||Be.line<ze.from)&&setTimeout(Nt(e,function(){ne==Ae&&ce(Ee)}),150)}else{var Qe=Ee.clientY<V.top?-20:Ee.clientY>V.bottom?20:0;Qe&&setTimeout(Nt(e,function(){ne==Ae&&(a.scroller.scrollTop+=Qe,ce(Ee))}),50)}}function Se(Ee){e.state.selectingText=!1,ne=1/0,Ee&&(At(Ee),a.input.focus()),Oe(a.wrapper.ownerDocument,"mousemove",Te),Oe(a.wrapper.ownerDocument,"mouseup",Pe),d.history.lastSelOrigin=null}var Te=Nt(e,function(Ee){Ee.buttons===0||!dl(Ee)?Se(Ee):ce(Ee)}),Pe=Nt(e,Se);e.state.selectingText=Pe,Fe(a.wrapper.ownerDocument,"mousemove",Te),Fe(a.wrapper.ownerDocument,"mouseup",Pe)}function lb(e,n){var l=n.anchor,s=n.head,a=Ne(e.doc,l.line);if(T(l,s)==0&&l.sticky==s.sticky)return n;var d=vt(a);if(!d)return n;var v=Ue(d,l.ch,l.sticky),y=d[v];if(y.from!=l.ch&&y.to!=l.ch)return n;var S=v+(y.from==l.ch==(y.level!=1)?0:1);if(S==0||S==d.length)return n;var C;if(s.line!=l.line)C=(s.line-l.line)*(e.doc.direction=="ltr"?1:-1)>0;else{var A=Ue(d,s.ch,s.sticky),R=A-v||(s.ch-l.ch)*(y.level==1?-1:1);A==S-1||A==S?C=R<0:C=R>0}var X=d[S+(C?-1:0)],V=C==(X.level==1),ne=V?X.from:X.to,ce=V?"after":"before";return l.ch==ne&&l.sticky==ce?n:new ot(new pe(l.line,ne,ce),s)}function _h(e,n,l,s){var a,d;if(n.touches)a=n.touches[0].clientX,d=n.touches[0].clientY;else try{a=n.clientX,d=n.clientY}catch{return!1}if(a>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;s&&At(n);var v=e.display,y=v.lineDiv.getBoundingClientRect();if(d>y.bottom||!rt(e,l))return mr(n);d-=y.top-v.viewOffset;for(var S=0;S<e.display.gutterSpecs.length;++S){var C=v.gutters.childNodes[S];if(C&&C.getBoundingClientRect().right>=a){var A=Vr(e.doc,d),R=e.display.gutterSpecs[S];return ge(e,l,e,A,R.className,n),mr(n)}}}function Qu(e,n){return _h(e,n,"gutterClick",!0)}function ep(e,n){an(e.display,n)||ab(e,n)||He(e,n,"contextmenu")||q||e.display.input.onContextMenu(n)}function ab(e,n){return rt(e,"gutterContextMenu")?_h(e,n,"gutterContextMenu",!1):!1}function tp(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Jo(e)}var _i={toString:function(){return"CodeMirror.Init"}},rp={},Kl={};function ub(e){var n=e.optionHandlers;function l(s,a,d,v){e.defaults[s]=a,d&&(n[s]=v?function(y,S,C){C!=_i&&d(y,S,C)}:d)}e.defineOption=l,e.Init=_i,l("value","",function(s,a){return s.setValue(a)},!0),l("mode",null,function(s,a){s.doc.modeOption=a,ju(s)},!0),l("indentUnit",2,ju,!0),l("indentWithTabs",!1),l("smartIndent",!0),l("tabSize",4,function(s){ns(s),Jo(s),er(s)},!0),l("lineSeparator",null,function(s,a){if(s.doc.lineSep=a,!!a){var d=[],v=s.doc.first;s.doc.iter(function(S){for(var C=0;;){var A=S.text.indexOf(a,C);if(A==-1)break;C=A+a.length,d.push(pe(v,A))}v++});for(var y=d.length-1;y>=0;y--)Ji(s.doc,a,d[y],pe(d[y].line,d[y].ch+a.length))}}),l("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(s,a,d){s.state.specialChars=new RegExp(a.source+(a.test(" ")?"":"| "),"g"),d!=_i&&s.refresh()}),l("specialCharPlaceholder",Hy,function(s){return s.refresh()},!0),l("electricChars",!0),l("inputStyle",N?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),l("spellcheck",!1,function(s,a){return s.getInputField().spellcheck=a},!0),l("autocorrect",!1,function(s,a){return s.getInputField().autocorrect=a},!0),l("autocapitalize",!1,function(s,a){return s.getInputField().autocapitalize=a},!0),l("rtlMoveVisually",!J),l("wholeLineUpdateBefore",!0),l("theme","default",function(s){tp(s),rs(s)},!0),l("keyMap","default",function(s,a,d){var v=Wl(a),y=d!=_i&&Wl(d);y&&y.detach&&y.detach(s,v),v.attach&&v.attach(s,y||null)}),l("extraKeys",null),l("configureMouse",null),l("lineWrapping",!1,cb,!0),l("gutters",[],function(s,a){s.display.gutterSpecs=Bu(a,s.options.lineNumbers),rs(s)},!0),l("fixedGutter",!0,function(s,a){s.display.gutters.style.left=a?ku(s.display)+"px":"0",s.refresh()},!0),l("coverGutterNextToScrollbar",!1,function(s){return Vi(s)},!0),l("scrollbarStyle","native",function(s){ih(s),Vi(s),s.display.scrollbars.setScrollTop(s.doc.scrollTop),s.display.scrollbars.setScrollLeft(s.doc.scrollLeft)},!0),l("lineNumbers",!1,function(s,a){s.display.gutterSpecs=Bu(s.options.gutters,a),rs(s)},!0),l("firstLineNumber",1,rs,!0),l("lineNumberFormatter",function(s){return s},rs,!0),l("showCursorWhenSelecting",!1,Zo,!0),l("resetSelectionOnContextMenu",!0),l("lineWiseCopyCut",!0),l("pasteLinesPerSelection",!0),l("selectionsMayTouch",!1),l("readOnly",!1,function(s,a){a=="nocursor"&&(Ui(s),s.display.input.blur()),s.display.input.readOnlyChanged(a)}),l("screenReaderLabel",null,function(s,a){a=a===""?null:a,s.display.input.screenReaderLabelChanged(a)}),l("disableInput",!1,function(s,a){a||s.display.input.reset()},!0),l("dragDrop",!0,fb),l("allowDropFileTypes",null),l("cursorBlinkRate",530),l("cursorScrollMargin",0),l("cursorHeight",1,Zo,!0),l("singleCursorHeightPerLine",!0,Zo,!0),l("workTime",100),l("workDelay",100),l("flattenSpans",!0,ns,!0),l("addModeClass",!1,ns,!0),l("pollInterval",100),l("undoDepth",200,function(s,a){return s.doc.history.undoDepth=a}),l("historyEventDelay",1250),l("viewportMargin",10,function(s){return s.refresh()},!0),l("maxHighlightLength",1e4,ns,!0),l("moveInputWithCursor",!0,function(s,a){a||s.display.input.resetPosition()}),l("tabindex",null,function(s,a){return s.display.input.getField().tabIndex=a||""}),l("autofocus",null),l("direction","ltr",function(s,a){return s.doc.setDirection(a)},!0),l("phrases",null)}function fb(e,n,l){var s=l&&l!=_i;if(!n!=!s){var a=e.display.dragFunctions,d=n?Fe:Oe;d(e.display.scroller,"dragstart",a.start),d(e.display.scroller,"dragenter",a.enter),d(e.display.scroller,"dragover",a.over),d(e.display.scroller,"dragleave",a.leave),d(e.display.scroller,"drop",a.drop)}}function cb(e){e.options.lineWrapping?(ue(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(ee(e.display.wrapper,"CodeMirror-wrap"),mu(e)),Pu(e),er(e),Jo(e),setTimeout(function(){return Vi(e)},100)}function ht(e,n){var l=this;if(!(this instanceof ht))return new ht(e,n);this.options=n=n?Ke(n):{},Ke(rp,n,!1);var s=n.value;typeof s=="string"?s=new tr(s,n.mode,null,n.lineSeparator,n.direction):n.mode&&(s.modeOption=n.mode),this.doc=s;var a=new ht.inputStyles[n.inputStyle](this),d=this.display=new T0(e,s,a,n);d.wrapper.CodeMirror=this,tp(this),n.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),ih(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ie,keySeq:null,specialChars:null},n.autofocus&&!N&&d.input.focus(),h&&g<11&&setTimeout(function(){return l.display.input.reset(!0)},20),db(this),U0(),si(this),this.curOp.forceUpdate=!0,ph(this,s),n.autofocus&&!N||this.hasFocus()?setTimeout(function(){l.hasFocus()&&!l.state.focused&&Nu(l)},20):Ui(this);for(var v in Kl)Kl.hasOwnProperty(v)&&Kl[v](this,n[v],_i);lh(this),n.finishInit&&n.finishInit(this);for(var y=0;y<qu.length;++y)qu[y](this);li(this),m&&n.lineWrapping&&getComputedStyle(d.lineDiv).textRendering=="optimizelegibility"&&(d.lineDiv.style.textRendering="auto")}ht.defaults=rp,ht.optionHandlers=Kl;function db(e){var n=e.display;Fe(n.scroller,"mousedown",Nt(e,Qh)),h&&g<11?Fe(n.scroller,"dblclick",Nt(e,function(S){if(!He(e,S)){var C=ri(e,S);if(!(!C||Qu(e,S)||an(e.display,S))){At(S);var A=e.findWordAt(C);Dl(e.doc,A.anchor,A.head)}}})):Fe(n.scroller,"dblclick",function(S){return He(e,S)||At(S)}),Fe(n.scroller,"contextmenu",function(S){return ep(e,S)}),Fe(n.input.getField(),"contextmenu",function(S){n.scroller.contains(S.target)||ep(e,S)});var l,s={end:0};function a(){n.activeTouch&&(l=setTimeout(function(){return n.activeTouch=null},1e3),s=n.activeTouch,s.end=+new Date)}function d(S){if(S.touches.length!=1)return!1;var C=S.touches[0];return C.radiusX<=1&&C.radiusY<=1}function v(S,C){if(C.left==null)return!0;var A=C.left-S.left,R=C.top-S.top;return A*A+R*R>20*20}Fe(n.scroller,"touchstart",function(S){if(!He(e,S)&&!d(S)&&!Qu(e,S)){n.input.ensurePolled(),clearTimeout(l);var C=+new Date;n.activeTouch={start:C,moved:!1,prev:C-s.end<=300?s:null},S.touches.length==1&&(n.activeTouch.left=S.touches[0].pageX,n.activeTouch.top=S.touches[0].pageY)}}),Fe(n.scroller,"touchmove",function(){n.activeTouch&&(n.activeTouch.moved=!0)}),Fe(n.scroller,"touchend",function(S){var C=n.activeTouch;if(C&&!an(n,S)&&C.left!=null&&!C.moved&&new Date-C.start<300){var A=e.coordsChar(n.activeTouch,"page"),R;!C.prev||v(C,C.prev)?R=new ot(A,A):!C.prev.prev||v(C,C.prev.prev)?R=e.findWordAt(A):R=new ot(pe(A.line,0),Me(e.doc,pe(A.line+1,0))),e.setSelection(R.anchor,R.head),e.focus(),At(S)}a()}),Fe(n.scroller,"touchcancel",a),Fe(n.scroller,"scroll",function(){n.scroller.clientHeight&&(qo(e,n.scroller.scrollTop),ii(e,n.scroller.scrollLeft,!0),ge(e,"scroll",e))}),Fe(n.scroller,"mousewheel",function(S){return fh(e,S)}),Fe(n.scroller,"DOMMouseScroll",function(S){return fh(e,S)}),Fe(n.wrapper,"scroll",function(){return n.wrapper.scrollTop=n.wrapper.scrollLeft=0}),n.dragFunctions={enter:function(S){He(e,S)||qn(S)},over:function(S){He(e,S)||(K0(e,S),qn(S))},start:function(S){return j0(e,S)},drop:Nt(e,W0),leave:function(S){He(e,S)||Hh(e)}};var y=n.input.getField();Fe(y,"keyup",function(S){return Jh.call(e,S)}),Fe(y,"keydown",Nt(e,Xh)),Fe(y,"keypress",Nt(e,Zh)),Fe(y,"focus",function(S){return Nu(e,S)}),Fe(y,"blur",function(S){return Ui(e,S)})}var qu=[];ht.defineInitHook=function(e){return qu.push(e)};function vs(e,n,l,s){var a=e.doc,d;l==null&&(l="add"),l=="smart"&&(a.mode.indent?d=$o(e,n).state:l="prev");var v=e.options.tabSize,y=Ne(a,n),S=Xe(y.text,null,v);y.stateAfter&&(y.stateAfter=null);var C=y.text.match(/^\s*/)[0],A;if(!s&&!/\S/.test(y.text))A=0,l="not";else if(l=="smart"&&(A=a.mode.indent(d,y.text.slice(C.length),y.text),A==be||A>150)){if(!s)return;l="prev"}l=="prev"?n>a.first?A=Xe(Ne(a,n-1).text,null,v):A=0:l=="add"?A=S+e.options.indentUnit:l=="subtract"?A=S-e.options.indentUnit:typeof l=="number"&&(A=S+l),A=Math.max(0,A);var R="",X=0;if(e.options.indentWithTabs)for(var V=Math.floor(A/v);V;--V)X+=v,R+=" ";if(X<A&&(R+=$(A-X)),R!=C)return Ji(a,R,pe(n,0),pe(n,C.length),"+input"),y.stateAfter=null,!0;for(var ne=0;ne<a.sel.ranges.length;ne++){var ce=a.sel.ranges[ne];if(ce.head.line==n&&ce.head.ch<C.length){var Se=pe(n,C.length);Vu(a,ne,new ot(Se,Se));break}}}var Br=null;function Ul(e){Br=e}function _u(e,n,l,s,a){var d=e.doc;e.display.shift=!1,s||(s=d.sel);var v=+new Date-200,y=a=="paste"||e.state.pasteIncoming>v,S=Ho(n),C=null;if(y&&s.ranges.length>1)if(Br&&Br.text.join(`
17
17
  `)==n){if(s.ranges.length%Br.text.length==0){C=[];for(var A=0;A<Br.text.length;A++)C.push(d.splitLines(Br.text[A]))}}else S.length==s.ranges.length&&e.options.pasteLinesPerSelection&&(C=oe(S,function(Te){return[Te]}));for(var R=e.curOp.updateInput,X=s.ranges.length-1;X>=0;X--){var V=s.ranges[X],ne=V.from(),ce=V.to();V.empty()&&(l&&l>0?ne=pe(ne.line,ne.ch-l):e.state.overwrite&&!y?ce=pe(ce.line,Math.min(Ne(d,ce.line).text.length,ce.ch+Z(S).length)):y&&Br&&Br.lineWise&&Br.text.join(`
18
18
  `)==S.join(`
19
- `)&&(ne=ce=pe(ne.line,0)));var Se={from:ne,to:ce,text:C?C[X%C.length]:S,origin:a||(y?"paste":e.state.cutIncoming>v?"cut":"+input")};Xi(e.doc,Se),Nt(e,"inputRead",e,Se)}n&&!y&&ip(e,n),$i(e),e.curOp.updateInput<2&&(e.curOp.updateInput=R),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function np(e,n){var l=e.clipboardData&&e.clipboardData.getData("Text");if(l)return e.preventDefault(),!n.isReadOnly()&&!n.options.disableInput&&dr(n,function(){return qu(n,l,0,null,"paste")}),!0}function ip(e,n){if(!(!e.options.electricChars||!e.options.smartIndent))for(var l=e.doc.sel,s=l.ranges.length-1;s>=0;s--){var a=l.ranges[s];if(!(a.head.ch>100||s&&l.ranges[s-1].head.line==a.head.line)){var d=e.getModeAt(a.head),v=!1;if(d.electricChars){for(var y=0;y<d.electricChars.length;y++)if(n.indexOf(d.electricChars.charAt(y))>-1){v=gs(e,a.head.line,"smart");break}}else d.electricInput&&d.electricInput.test(Ne(e.doc,a.head.line).text.slice(0,a.head.ch))&&(v=gs(e,a.head.line,"smart"));v&&Nt(e,"electricInput",e,a.head.line)}}}function op(e){for(var n=[],l=[],s=0;s<e.doc.sel.ranges.length;s++){var a=e.doc.sel.ranges[s].head.line,d={anchor:pe(a,0),head:pe(a+1,0)};l.push(d),n.push(e.getRange(d.anchor,d.head))}return{text:n,ranges:l}}function sp(e,n,l,s){e.setAttribute("autocorrect",l?"":"off"),e.setAttribute("autocapitalize",s?"":"off"),e.setAttribute("spellcheck",!!n)}function lp(){var e=k("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),n=k("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return m?e.style.width="1000px":e.setAttribute("wrap","off"),F&&(e.style.border="1px solid black"),sp(e),n}function fb(e){var n=e.optionHandlers,l=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(s,a){var d=this.options,v=d[s];d[s]==a&&s!="mode"||(d[s]=a,n.hasOwnProperty(s)&&It(this,n[s])(this,a,v),ge(this,"optionChange",this,s))},getOption:function(s){return this.options[s]},getDoc:function(){return this.doc},addKeyMap:function(s,a){this.state.keyMaps[a?"push":"unshift"](Bl(s))},removeKeyMap:function(s){for(var a=this.state.keyMaps,d=0;d<a.length;++d)if(a[d]==s||a[d].name==s)return a.splice(d,1),!0},addOverlay:Jt(function(s,a){var d=s.token?s:e.getMode(this.options,s);if(d.startState)throw new Error("Overlays may not be stateful.");ae(this.state.overlays,{mode:d,modeSpec:s,opaque:a&&a.opaque,priority:a&&a.priority||0},function(v){return v.priority}),this.state.modeGen++,er(this)}),removeOverlay:Jt(function(s){for(var a=this.state.overlays,d=0;d<a.length;++d){var v=a[d].modeSpec;if(v==s||typeof s=="string"&&v.name==s){a.splice(d,1),this.state.modeGen++,er(this);return}}}),indentLine:Jt(function(s,a,d){typeof a!="string"&&typeof a!="number"&&(a==null?a=this.options.smartIndent?"smart":"prev":a=a?"add":"subtract"),_n(this.doc,s)&&gs(this,s,a,d)}),indentSelection:Jt(function(s){for(var a=this.doc.sel.ranges,d=-1,v=0;v<a.length;v++){var y=a[v];if(y.empty())y.head.line>d&&(gs(this,y.head.line,s,!0),d=y.head.line,v==this.doc.sel.primIndex&&$i(this));else{var S=y.from(),C=y.to(),A=Math.max(d,S.line);d=Math.min(this.lastLine(),C.line-(C.ch?0:1))+1;for(var R=A;R<d;++R)gs(this,R,s);var X=this.doc.sel.ranges;S.ch==0&&a.length==X.length&&X[v].from().ch>0&&$u(this.doc,v,new ot(S,X[v].to()),Ie)}}}),getTokenAt:function(s,a){return vd(this,s,a)},getLineTokens:function(s,a){return vd(this,pe(s),a,!0)},getTokenTypeAt:function(s){s=Me(this.doc,s);var a=hd(this,Ne(this.doc,s.line)),d=0,v=(a.length-1)/2,y=s.ch,S;if(y==0)S=a[2];else for(;;){var C=d+v>>1;if((C?a[C*2-1]:0)>=y)v=C;else if(a[C*2+1]<y)d=C+1;else{S=a[C*2+2];break}}var A=S?S.indexOf("overlay "):-1;return A<0?S:A==0?null:S.slice(0,A-1)},getModeAt:function(s){var a=this.doc.mode;return a.innerMode?e.innerMode(a,this.getTokenAt(s).state).mode:a},getHelper:function(s,a){return this.getHelpers(s,a)[0]},getHelpers:function(s,a){var d=[];if(!l.hasOwnProperty(a))return d;var v=l[a],y=this.getModeAt(s);if(typeof y[a]=="string")v[y[a]]&&d.push(v[y[a]]);else if(y[a])for(var S=0;S<y[a].length;S++){var C=v[y[a][S]];C&&d.push(C)}else y.helperType&&v[y.helperType]?d.push(v[y.helperType]):v[y.name]&&d.push(v[y.name]);for(var A=0;A<v._global.length;A++){var R=v._global[A];R.pred(y,this)&&se(d,R.val)==-1&&d.push(R.val)}return d},getStateAfter:function(s,a){var d=this.doc;return s=_e(d,s==null?d.first+d.size-1:s),Uo(this,s+1,a).state},cursorCoords:function(s,a){var d,v=this.doc.sel.primary();return s==null?d=v.head:typeof s=="object"?d=Me(this.doc,s):d=s?v.from():v.to(),zr(this,d,a||"page")},charCoords:function(s,a){return Tl(this,Me(this.doc,s),a||"page")},coordsChar:function(s,a){return s=Vd(this,s,a||"page"),Cu(this,s.left,s.top)},lineAtHeight:function(s,a){return s=Vd(this,{top:s,left:0},a||"page").top,Vr(this.doc,s+this.display.viewOffset)},heightAtLine:function(s,a,d){var v=!1,y;if(typeof s=="number"){var S=this.doc.first+this.doc.size-1;s<this.doc.first?s=this.doc.first:s>S&&(s=S,v=!0),y=Ne(this.doc,s)}else y=s;return Cl(this,y,{top:0,left:0},a||"page",d||v).top+(v?this.doc.height-ln(y):0)},defaultTextHeight:function(){return ji(this.display)},defaultCharWidth:function(){return Ki(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(s,a,d,v,y){var S=this.display;s=zr(this,Me(this.doc,s));var C=s.bottom,A=s.left;if(a.style.position="absolute",a.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(a),S.sizer.appendChild(a),v=="over")C=s.top;else if(v=="above"||v=="near"){var R=Math.max(S.wrapper.clientHeight,this.doc.height),X=Math.max(S.sizer.clientWidth,S.lineSpace.clientWidth);(v=="above"||s.bottom+a.offsetHeight>R)&&s.top>a.offsetHeight?C=s.top-a.offsetHeight:s.bottom+a.offsetHeight<=R&&(C=s.bottom),A+a.offsetWidth>X&&(A=X-a.offsetWidth)}a.style.top=C+"px",a.style.left=a.style.right="",y=="right"?(A=S.sizer.clientWidth-a.offsetWidth,a.style.right="0px"):(y=="left"?A=0:y=="middle"&&(A=(S.sizer.clientWidth-a.offsetWidth)/2),a.style.left=A+"px"),d&&l0(this,{left:A,top:C,right:A+a.offsetWidth,bottom:C+a.offsetHeight})},triggerOnKeyDown:Jt(Xh),triggerOnKeyPress:Jt(Zh),triggerOnKeyUp:Jh,triggerOnMouseDown:Jt(Qh),execCommand:function(s){if(cs.hasOwnProperty(s))return cs[s].call(null,this)},triggerElectric:Jt(function(s){ip(this,s)}),findPosH:function(s,a,d,v){var y=1;a<0&&(y=-1,a=-a);for(var S=Me(this.doc,s),C=0;C<a&&(S=_u(this.doc,S,y,d,v),!S.hitSide);++C);return S},moveH:Jt(function(s,a){var d=this;this.extendSelectionsBy(function(v){return d.display.shift||d.doc.extend||v.empty()?_u(d.doc,v.head,s,a,d.options.rtlMoveVisually):s<0?v.from():v.to()},me)}),deleteH:Jt(function(s,a){var d=this.doc.sel,v=this.doc;d.somethingSelected()?v.replaceSelection("",null,"+delete"):qi(this,function(y){var S=_u(v,y.head,s,a,!1);return s<0?{from:S,to:y.head}:{from:y.head,to:S}})}),findPosV:function(s,a,d,v){var y=1,S=v;a<0&&(y=-1,a=-a);for(var C=Me(this.doc,s),A=0;A<a;++A){var R=zr(this,C,"div");if(S==null?S=R.left:R.left=S,C=ap(this,R,y,d),C.hitSide)break}return C},moveV:Jt(function(s,a){var d=this,v=this.doc,y=[],S=!this.display.shift&&!v.extend&&v.sel.somethingSelected();if(v.extendSelectionsBy(function(A){if(S)return s<0?A.from():A.to();var R=zr(d,A.head,"div");A.goalColumn!=null&&(R.left=A.goalColumn),y.push(R.left);var X=ap(d,R,s,a);return a=="page"&&A==v.sel.primary()&&Iu(d,Tl(d,X,"div").top-R.top),X},me),y.length)for(var C=0;C<v.sel.ranges.length;C++)v.sel.ranges[C].goalColumn=y[C]}),findWordAt:function(s){var a=this.doc,d=Ne(a,s.line).text,v=s.ch,y=s.ch;if(d){var S=this.getHelper(s,"wordChars");(s.sticky=="before"||y==d.length)&&v?--v:++y;for(var C=d.charAt(v),A=I(C,S)?function(R){return I(R,S)}:/\s/.test(C)?function(R){return/\s/.test(R)}:function(R){return!/\s/.test(R)&&!I(R)};v>0&&A(d.charAt(v-1));)--v;for(;y<d.length&&A(d.charAt(y));)++y}return new ot(pe(s.line,v),pe(s.line,y))},toggleOverwrite:function(s){s!=null&&s==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ue(this.display.cursorDiv,"CodeMirror-overwrite"):ee(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Y()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Jt(function(s,a){Zo(this,s,a)}),getScrollInfo:function(){var s=this.display.scroller;return{left:s.scrollLeft,top:s.scrollTop,height:s.scrollHeight-Xr(this)-this.display.barHeight,width:s.scrollWidth-Xr(this)-this.display.barWidth,clientHeight:bu(this),clientWidth:ei(this)}},scrollIntoView:Jt(function(s,a){s==null?(s={from:this.doc.sel.primary().head,to:null},a==null&&(a=this.options.cursorScrollMargin)):typeof s=="number"?s={from:pe(s,0),to:null}:s.from==null&&(s={from:s,to:null}),s.to||(s.to=s.from),s.margin=a||0,s.from.line!=null?a0(this,s):eh(this,s.from,s.to,s.margin)}),setSize:Jt(function(s,a){var d=this,v=function(S){return typeof S=="number"||/^\d+$/.test(String(S))?S+"px":S};s!=null&&(this.display.wrapper.style.width=v(s)),a!=null&&(this.display.wrapper.style.height=v(a)),this.options.lineWrapping&&Kd(this);var y=this.display.viewFrom;this.doc.iter(y,this.display.viewTo,function(S){if(S.widgets){for(var C=0;C<S.widgets.length;C++)if(S.widgets[C].noHScroll){Tn(d,y,"widget");break}}++y}),this.curOp.forceUpdate=!0,ge(this,"refresh",this)}),operation:function(s){return dr(this,s)},startOperation:function(){return si(this)},endOperation:function(){return li(this)},refresh:Jt(function(){var s=this.display.cachedTextHeight;er(this),this.curOp.forceUpdate=!0,Xo(this),Zo(this,this.doc.scrollLeft,this.doc.scrollTop),Fu(this.display),(s==null||Math.abs(s-ji(this.display))>.5||this.options.lineWrapping)&&ku(this),ge(this,"refresh",this)}),swapDoc:Jt(function(s){var a=this.doc;return a.cm=null,this.state.selectingText&&this.state.selectingText(),ph(this,s),Xo(this),this.display.input.reset(),Zo(this,s.scrollLeft,s.scrollTop),this.curOp.forceScroll=!0,Nt(this,"swapDoc",this,a),a}),phrase:function(s){var a=this.options.phrases;return a&&Object.prototype.hasOwnProperty.call(a,s)?a[s]:s},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},fr(e),e.registerHelper=function(s,a,d){l.hasOwnProperty(s)||(l[s]=e[s]={_global:[]}),l[s][a]=d},e.registerGlobalHelper=function(s,a,d,v){e.registerHelper(s,a,v),l[s]._global.push({pred:d,val:v})}}function _u(e,n,l,s,a){var d=n,v=l,y=Ne(e,n.line),S=a&&e.direction=="rtl"?-l:l;function C(){var Pe=n.line+S;return Pe<e.first||Pe>=e.first+e.size?!1:(n=new pe(Pe,n.ch,n.sticky),y=Ne(e,Pe))}function A(Pe){var Ee;if(s=="codepoint"){var Ae=y.text.charCodeAt(n.ch+(l>0?0:-1));if(isNaN(Ae))Ee=null;else{var Be=l>0?Ae>=55296&&Ae<56320:Ae>=56320&&Ae<57343;Ee=new pe(n.line,Math.max(0,Math.min(y.text.length,n.ch+l*(Be?2:1))),-l)}}else a?Ee=V0(e.cm,y,n,l):Ee=Gu(y,n,l);if(Ee==null)if(!Pe&&C())n=Yu(a,e.cm,y,n.line,S);else return!1;else n=Ee;return!0}if(s=="char"||s=="codepoint")A();else if(s=="column")A(!0);else if(s=="word"||s=="group")for(var R=null,X=s=="group",V=e.cm&&e.cm.getHelper(n,"wordChars"),ne=!0;!(l<0&&!A(!ne));ne=!1){var ce=y.text.charAt(n.ch)||`
19
+ `)&&(ne=ce=pe(ne.line,0)));var Se={from:ne,to:ce,text:C?C[X%C.length]:S,origin:a||(y?"paste":e.state.cutIncoming>v?"cut":"+input")};Xi(e.doc,Se),Lt(e,"inputRead",e,Se)}n&&!y&&ip(e,n),$i(e),e.curOp.updateInput<2&&(e.curOp.updateInput=R),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function np(e,n){var l=e.clipboardData&&e.clipboardData.getData("Text");if(l)return e.preventDefault(),!n.isReadOnly()&&!n.options.disableInput&&dr(n,function(){return _u(n,l,0,null,"paste")}),!0}function ip(e,n){if(!(!e.options.electricChars||!e.options.smartIndent))for(var l=e.doc.sel,s=l.ranges.length-1;s>=0;s--){var a=l.ranges[s];if(!(a.head.ch>100||s&&l.ranges[s-1].head.line==a.head.line)){var d=e.getModeAt(a.head),v=!1;if(d.electricChars){for(var y=0;y<d.electricChars.length;y++)if(n.indexOf(d.electricChars.charAt(y))>-1){v=vs(e,a.head.line,"smart");break}}else d.electricInput&&d.electricInput.test(Ne(e.doc,a.head.line).text.slice(0,a.head.ch))&&(v=vs(e,a.head.line,"smart"));v&&Lt(e,"electricInput",e,a.head.line)}}}function op(e){for(var n=[],l=[],s=0;s<e.doc.sel.ranges.length;s++){var a=e.doc.sel.ranges[s].head.line,d={anchor:pe(a,0),head:pe(a+1,0)};l.push(d),n.push(e.getRange(d.anchor,d.head))}return{text:n,ranges:l}}function sp(e,n,l,s){e.setAttribute("autocorrect",l?"":"off"),e.setAttribute("autocapitalize",s?"":"off"),e.setAttribute("spellcheck",!!n)}function lp(){var e=k("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none"),n=k("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return m?e.style.width="1000px":e.setAttribute("wrap","off"),F&&(e.style.border="1px solid black"),sp(e),n}function hb(e){var n=e.optionHandlers,l=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(s,a){var d=this.options,v=d[s];d[s]==a&&s!="mode"||(d[s]=a,n.hasOwnProperty(s)&&Nt(this,n[s])(this,a,v),ge(this,"optionChange",this,s))},getOption:function(s){return this.options[s]},getDoc:function(){return this.doc},addKeyMap:function(s,a){this.state.keyMaps[a?"push":"unshift"](Wl(s))},removeKeyMap:function(s){for(var a=this.state.keyMaps,d=0;d<a.length;++d)if(a[d]==s||a[d].name==s)return a.splice(d,1),!0},addOverlay:Jt(function(s,a){var d=s.token?s:e.getMode(this.options,s);if(d.startState)throw new Error("Overlays may not be stateful.");ae(this.state.overlays,{mode:d,modeSpec:s,opaque:a&&a.opaque,priority:a&&a.priority||0},function(v){return v.priority}),this.state.modeGen++,er(this)}),removeOverlay:Jt(function(s){for(var a=this.state.overlays,d=0;d<a.length;++d){var v=a[d].modeSpec;if(v==s||typeof s=="string"&&v.name==s){a.splice(d,1),this.state.modeGen++,er(this);return}}}),indentLine:Jt(function(s,a,d){typeof a!="string"&&typeof a!="number"&&(a==null?a=this.options.smartIndent?"smart":"prev":a=a?"add":"subtract"),_n(this.doc,s)&&vs(this,s,a,d)}),indentSelection:Jt(function(s){for(var a=this.doc.sel.ranges,d=-1,v=0;v<a.length;v++){var y=a[v];if(y.empty())y.head.line>d&&(vs(this,y.head.line,s,!0),d=y.head.line,v==this.doc.sel.primIndex&&$i(this));else{var S=y.from(),C=y.to(),A=Math.max(d,S.line);d=Math.min(this.lastLine(),C.line-(C.ch?0:1))+1;for(var R=A;R<d;++R)vs(this,R,s);var X=this.doc.sel.ranges;S.ch==0&&a.length==X.length&&X[v].from().ch>0&&Vu(this.doc,v,new ot(S,X[v].to()),Ie)}}}),getTokenAt:function(s,a){return vd(this,s,a)},getLineTokens:function(s,a){return vd(this,pe(s),a,!0)},getTokenTypeAt:function(s){s=Me(this.doc,s);var a=hd(this,Ne(this.doc,s.line)),d=0,v=(a.length-1)/2,y=s.ch,S;if(y==0)S=a[2];else for(;;){var C=d+v>>1;if((C?a[C*2-1]:0)>=y)v=C;else if(a[C*2+1]<y)d=C+1;else{S=a[C*2+2];break}}var A=S?S.indexOf("overlay "):-1;return A<0?S:A==0?null:S.slice(0,A-1)},getModeAt:function(s){var a=this.doc.mode;return a.innerMode?e.innerMode(a,this.getTokenAt(s).state).mode:a},getHelper:function(s,a){return this.getHelpers(s,a)[0]},getHelpers:function(s,a){var d=[];if(!l.hasOwnProperty(a))return d;var v=l[a],y=this.getModeAt(s);if(typeof y[a]=="string")v[y[a]]&&d.push(v[y[a]]);else if(y[a])for(var S=0;S<y[a].length;S++){var C=v[y[a][S]];C&&d.push(C)}else y.helperType&&v[y.helperType]?d.push(v[y.helperType]):v[y.name]&&d.push(v[y.name]);for(var A=0;A<v._global.length;A++){var R=v._global[A];R.pred(y,this)&&se(d,R.val)==-1&&d.push(R.val)}return d},getStateAfter:function(s,a){var d=this.doc;return s=_e(d,s==null?d.first+d.size-1:s),$o(this,s+1,a).state},cursorCoords:function(s,a){var d,v=this.doc.sel.primary();return s==null?d=v.head:typeof s=="object"?d=Me(this.doc,s):d=s?v.from():v.to(),zr(this,d,a||"page")},charCoords:function(s,a){return El(this,Me(this.doc,s),a||"page")},coordsChar:function(s,a){return s=Vd(this,s,a||"page"),Tu(this,s.left,s.top)},lineAtHeight:function(s,a){return s=Vd(this,{top:s,left:0},a||"page").top,Vr(this.doc,s+this.display.viewOffset)},heightAtLine:function(s,a,d){var v=!1,y;if(typeof s=="number"){var S=this.doc.first+this.doc.size-1;s<this.doc.first?s=this.doc.first:s>S&&(s=S,v=!0),y=Ne(this.doc,s)}else y=s;return Tl(this,y,{top:0,left:0},a||"page",d||v).top+(v?this.doc.height-ln(y):0)},defaultTextHeight:function(){return ji(this.display)},defaultCharWidth:function(){return Ki(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(s,a,d,v,y){var S=this.display;s=zr(this,Me(this.doc,s));var C=s.bottom,A=s.left;if(a.style.position="absolute",a.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(a),S.sizer.appendChild(a),v=="over")C=s.top;else if(v=="above"||v=="near"){var R=Math.max(S.wrapper.clientHeight,this.doc.height),X=Math.max(S.sizer.clientWidth,S.lineSpace.clientWidth);(v=="above"||s.bottom+a.offsetHeight>R)&&s.top>a.offsetHeight?C=s.top-a.offsetHeight:s.bottom+a.offsetHeight<=R&&(C=s.bottom),A+a.offsetWidth>X&&(A=X-a.offsetWidth)}a.style.top=C+"px",a.style.left=a.style.right="",y=="right"?(A=S.sizer.clientWidth-a.offsetWidth,a.style.right="0px"):(y=="left"?A=0:y=="middle"&&(A=(S.sizer.clientWidth-a.offsetWidth)/2),a.style.left=A+"px"),d&&f0(this,{left:A,top:C,right:A+a.offsetWidth,bottom:C+a.offsetHeight})},triggerOnKeyDown:Jt(Xh),triggerOnKeyPress:Jt(Zh),triggerOnKeyUp:Jh,triggerOnMouseDown:Jt(Qh),execCommand:function(s){if(ds.hasOwnProperty(s))return ds[s].call(null,this)},triggerElectric:Jt(function(s){ip(this,s)}),findPosH:function(s,a,d,v){var y=1;a<0&&(y=-1,a=-a);for(var S=Me(this.doc,s),C=0;C<a&&(S=ef(this.doc,S,y,d,v),!S.hitSide);++C);return S},moveH:Jt(function(s,a){var d=this;this.extendSelectionsBy(function(v){return d.display.shift||d.doc.extend||v.empty()?ef(d.doc,v.head,s,a,d.options.rtlMoveVisually):s<0?v.from():v.to()},me)}),deleteH:Jt(function(s,a){var d=this.doc.sel,v=this.doc;d.somethingSelected()?v.replaceSelection("",null,"+delete"):qi(this,function(y){var S=ef(v,y.head,s,a,!1);return s<0?{from:S,to:y.head}:{from:y.head,to:S}})}),findPosV:function(s,a,d,v){var y=1,S=v;a<0&&(y=-1,a=-a);for(var C=Me(this.doc,s),A=0;A<a;++A){var R=zr(this,C,"div");if(S==null?S=R.left:R.left=S,C=ap(this,R,y,d),C.hitSide)break}return C},moveV:Jt(function(s,a){var d=this,v=this.doc,y=[],S=!this.display.shift&&!v.extend&&v.sel.somethingSelected();if(v.extendSelectionsBy(function(A){if(S)return s<0?A.from():A.to();var R=zr(d,A.head,"div");A.goalColumn!=null&&(R.left=A.goalColumn),y.push(R.left);var X=ap(d,R,s,a);return a=="page"&&A==v.sel.primary()&&Ru(d,El(d,X,"div").top-R.top),X},me),y.length)for(var C=0;C<v.sel.ranges.length;C++)v.sel.ranges[C].goalColumn=y[C]}),findWordAt:function(s){var a=this.doc,d=Ne(a,s.line).text,v=s.ch,y=s.ch;if(d){var S=this.getHelper(s,"wordChars");(s.sticky=="before"||y==d.length)&&v?--v:++y;for(var C=d.charAt(v),A=I(C,S)?function(R){return I(R,S)}:/\s/.test(C)?function(R){return/\s/.test(R)}:function(R){return!/\s/.test(R)&&!I(R)};v>0&&A(d.charAt(v-1));)--v;for(;y<d.length&&A(d.charAt(y));)++y}return new ot(pe(s.line,v),pe(s.line,y))},toggleOverwrite:function(s){s!=null&&s==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?ue(this.display.cursorDiv,"CodeMirror-overwrite"):ee(this.display.cursorDiv,"CodeMirror-overwrite"),ge(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Y()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:Jt(function(s,a){Qo(this,s,a)}),getScrollInfo:function(){var s=this.display.scroller;return{left:s.scrollLeft,top:s.scrollTop,height:s.scrollHeight-Xr(this)-this.display.barHeight,width:s.scrollWidth-Xr(this)-this.display.barWidth,clientHeight:Su(this),clientWidth:ei(this)}},scrollIntoView:Jt(function(s,a){s==null?(s={from:this.doc.sel.primary().head,to:null},a==null&&(a=this.options.cursorScrollMargin)):typeof s=="number"?s={from:pe(s,0),to:null}:s.from==null&&(s={from:s,to:null}),s.to||(s.to=s.from),s.margin=a||0,s.from.line!=null?c0(this,s):eh(this,s.from,s.to,s.margin)}),setSize:Jt(function(s,a){var d=this,v=function(S){return typeof S=="number"||/^\d+$/.test(String(S))?S+"px":S};s!=null&&(this.display.wrapper.style.width=v(s)),a!=null&&(this.display.wrapper.style.height=v(a)),this.options.lineWrapping&&Kd(this);var y=this.display.viewFrom;this.doc.iter(y,this.display.viewTo,function(S){if(S.widgets){for(var C=0;C<S.widgets.length;C++)if(S.widgets[C].noHScroll){Tn(d,y,"widget");break}}++y}),this.curOp.forceUpdate=!0,ge(this,"refresh",this)}),operation:function(s){return dr(this,s)},startOperation:function(){return si(this)},endOperation:function(){return li(this)},refresh:Jt(function(){var s=this.display.cachedTextHeight;er(this),this.curOp.forceUpdate=!0,Jo(this),Qo(this,this.doc.scrollLeft,this.doc.scrollTop),zu(this.display),(s==null||Math.abs(s-ji(this.display))>.5||this.options.lineWrapping)&&Pu(this),ge(this,"refresh",this)}),swapDoc:Jt(function(s){var a=this.doc;return a.cm=null,this.state.selectingText&&this.state.selectingText(),ph(this,s),Jo(this),this.display.input.reset(),Qo(this,s.scrollLeft,s.scrollTop),this.curOp.forceScroll=!0,Lt(this,"swapDoc",this,a),a}),phrase:function(s){var a=this.options.phrases;return a&&Object.prototype.hasOwnProperty.call(a,s)?a[s]:s},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},fr(e),e.registerHelper=function(s,a,d){l.hasOwnProperty(s)||(l[s]=e[s]={_global:[]}),l[s][a]=d},e.registerGlobalHelper=function(s,a,d,v){e.registerHelper(s,a,v),l[s]._global.push({pred:d,val:v})}}function ef(e,n,l,s,a){var d=n,v=l,y=Ne(e,n.line),S=a&&e.direction=="rtl"?-l:l;function C(){var Pe=n.line+S;return Pe<e.first||Pe>=e.first+e.size?!1:(n=new pe(Pe,n.ch,n.sticky),y=Ne(e,Pe))}function A(Pe){var Ee;if(s=="codepoint"){var Ae=y.text.charCodeAt(n.ch+(l>0?0:-1));if(isNaN(Ae))Ee=null;else{var Be=l>0?Ae>=55296&&Ae<56320:Ae>=56320&&Ae<57343;Ee=new pe(n.line,Math.max(0,Math.min(y.text.length,n.ch+l*(Be?2:1))),-l)}}else a?Ee=X0(e.cm,y,n,l):Ee=Yu(y,n,l);if(Ee==null)if(!Pe&&C())n=Xu(a,e.cm,y,n.line,S);else return!1;else n=Ee;return!0}if(s=="char"||s=="codepoint")A();else if(s=="column")A(!0);else if(s=="word"||s=="group")for(var R=null,X=s=="group",V=e.cm&&e.cm.getHelper(n,"wordChars"),ne=!0;!(l<0&&!A(!ne));ne=!1){var ce=y.text.charAt(n.ch)||`
20
20
  `,Se=I(ce,V)?"w":X&&ce==`
21
- `?"n":!X||/\s/.test(ce)?null:"p";if(X&&!ne&&!Se&&(Se="s"),R&&R!=Se){l<0&&(l=1,A(),n.sticky="after");break}if(Se&&(R=Se),l>0&&!A(!ne))break}var Te=Fl(e,n,d,v,!0);return D(d,Te)&&(Te.hitSide=!0),Te}function ap(e,n,l,s){var a=e.doc,d=n.left,v;if(s=="page"){var y=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),S=Math.max(y-.5*ji(e.display),3);v=(l>0?n.bottom:n.top)+l*S}else s=="line"&&(v=l>0?n.bottom+3:n.top-3);for(var C;C=Cu(e,d,v),!!C.outside;){if(l<0?v<=0:v>=a.height){C.hitSide=!0;break}v+=l*5}return C}var ut=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ie,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ut.prototype.init=function(e){var n=this,l=this,s=l.cm,a=l.div=e.lineDiv;a.contentEditable=!0,sp(a,s.options.spellcheck,s.options.autocorrect,s.options.autocapitalize);function d(y){for(var S=y.target;S;S=S.parentNode){if(S==a)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(S.className))break}return!1}De(a,"paste",function(y){!d(y)||He(s,y)||np(y,s)||g<=11&&setTimeout(It(s,function(){return n.updateFromDOM()}),20)}),De(a,"compositionstart",function(y){n.composing={data:y.data,done:!1}}),De(a,"compositionupdate",function(y){n.composing||(n.composing={data:y.data,done:!1})}),De(a,"compositionend",function(y){n.composing&&(y.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),De(a,"touchstart",function(){return l.forceCompositionEnd()}),De(a,"input",function(){n.composing||n.readFromDOMSoon()});function v(y){if(!(!d(y)||He(s,y))){if(s.somethingSelected())Kl({lineWise:!1,text:s.getSelections()}),y.type=="cut"&&s.replaceSelection("",null,"cut");else if(s.options.lineWiseCopyCut){var S=op(s);Kl({lineWise:!0,text:S.text}),y.type=="cut"&&s.operation(function(){s.setSelections(S.ranges,0,Ie),s.replaceSelection("",null,"cut")})}else return;if(y.clipboardData){y.clipboardData.clearData();var C=Br.text.join(`
21
+ `?"n":!X||/\s/.test(ce)?null:"p";if(X&&!ne&&!Se&&(Se="s"),R&&R!=Se){l<0&&(l=1,A(),n.sticky="after");break}if(Se&&(R=Se),l>0&&!A(!ne))break}var Te=zl(e,n,d,v,!0);return D(d,Te)&&(Te.hitSide=!0),Te}function ap(e,n,l,s){var a=e.doc,d=n.left,v;if(s=="page"){var y=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),S=Math.max(y-.5*ji(e.display),3);v=(l>0?n.bottom:n.top)+l*S}else s=="line"&&(v=l>0?n.bottom+3:n.top-3);for(var C;C=Tu(e,d,v),!!C.outside;){if(l<0?v<=0:v>=a.height){C.hitSide=!0;break}v+=l*5}return C}var ut=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ie,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};ut.prototype.init=function(e){var n=this,l=this,s=l.cm,a=l.div=e.lineDiv;a.contentEditable=!0,sp(a,s.options.spellcheck,s.options.autocorrect,s.options.autocapitalize);function d(y){for(var S=y.target;S;S=S.parentNode){if(S==a)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(S.className))break}return!1}Fe(a,"paste",function(y){!d(y)||He(s,y)||np(y,s)||g<=11&&setTimeout(Nt(s,function(){return n.updateFromDOM()}),20)}),Fe(a,"compositionstart",function(y){n.composing={data:y.data,done:!1}}),Fe(a,"compositionupdate",function(y){n.composing||(n.composing={data:y.data,done:!1})}),Fe(a,"compositionend",function(y){n.composing&&(y.data!=n.composing.data&&n.readFromDOMSoon(),n.composing.done=!0)}),Fe(a,"touchstart",function(){return l.forceCompositionEnd()}),Fe(a,"input",function(){n.composing||n.readFromDOMSoon()});function v(y){if(!(!d(y)||He(s,y))){if(s.somethingSelected())Ul({lineWise:!1,text:s.getSelections()}),y.type=="cut"&&s.replaceSelection("",null,"cut");else if(s.options.lineWiseCopyCut){var S=op(s);Ul({lineWise:!0,text:S.text}),y.type=="cut"&&s.operation(function(){s.setSelections(S.ranges,0,Ie),s.replaceSelection("",null,"cut")})}else return;if(y.clipboardData){y.clipboardData.clearData();var C=Br.text.join(`
22
22
  `);if(y.clipboardData.setData("Text",C),y.clipboardData.getData("Text")==C){y.preventDefault();return}}var A=lp(),R=A.firstChild;s.display.lineSpace.insertBefore(A,s.display.lineSpace.firstChild),R.value=Br.text.join(`
23
- `);var X=Y();je(R),setTimeout(function(){s.display.lineSpace.removeChild(A),X.focus(),X==a&&l.showPrimarySelection()},50)}}De(a,"copy",v),De(a,"cut",v)},ut.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},ut.prototype.prepareSelection=function(){var e=Qd(this.cm,!1);return e.focus=Y()==this.div,e},ut.prototype.showSelection=function(e,n){!e||!this.cm.display.view.length||((e.focus||n)&&this.showPrimarySelection(),this.showMultipleSelections(e))},ut.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ut.prototype.showPrimarySelection=function(){var e=this.getSelection(),n=this.cm,l=n.doc.sel.primary(),s=l.from(),a=l.to();if(n.display.viewTo==n.display.viewFrom||s.line>=n.display.viewTo||a.line<n.display.viewFrom){e.removeAllRanges();return}var d=Ul(n,e.anchorNode,e.anchorOffset),v=Ul(n,e.focusNode,e.focusOffset);if(!(d&&!d.bad&&v&&!v.bad&&T($e(d,v),s)==0&&T(ye(d,v),a)==0)){var y=n.display.view,S=s.line>=n.display.viewFrom&&up(n,s)||{node:y[0].measure.map[2],offset:0},C=a.line<n.display.viewTo&&up(n,a);if(!C){var A=y[y.length-1].measure,R=A.maps?A.maps[A.maps.length-1]:A.map;C={node:R[R.length-1],offset:R[R.length-2]-R[R.length-3]}}if(!S||!C){e.removeAllRanges();return}var X=e.rangeCount&&e.getRangeAt(0),V;try{V=j(S.node,S.offset,C.offset,C.node)}catch{}V&&(!u&&n.state.focused?(e.collapse(S.node,S.offset),V.collapsed||(e.removeAllRanges(),e.addRange(V))):(e.removeAllRanges(),e.addRange(V)),X&&e.anchorNode==null?e.addRange(X):u&&this.startGracePeriod()),this.rememberSelection()}},ut.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},ut.prototype.showMultipleSelections=function(e){O(this.cm.display.cursorDiv,e.cursors),O(this.cm.display.selectionDiv,e.selection)},ut.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},ut.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var n=e.getRangeAt(0).commonAncestorContainer;return W(this.div,n)},ut.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Y()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ut.prototype.blur=function(){this.div.blur()},ut.prototype.getField=function(){return this.div},ut.prototype.supportsTouch=function(){return!0},ut.prototype.receivedFocus=function(){var e=this,n=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):dr(this.cm,function(){return n.cm.curOp.selectionChanged=!0});function l(){n.cm.state.focused&&(n.pollSelection(),n.polling.set(n.cm.options.pollInterval,l))}this.polling.set(this.cm.options.pollInterval,l)},ut.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},ut.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),n=this.cm;if(M&&x&&this.cm.display.gutterSpecs.length&&cb(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var l=Ul(n,e.anchorNode,e.anchorOffset),s=Ul(n,e.focusNode,e.focusOffset);l&&s&&dr(n,function(){$t(n.doc,On(l,s),Ie),(l.bad||s.bad)&&(n.curOp.selectionChanged=!0)})}}},ut.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,n=e.display,l=e.doc.sel.primary(),s=l.from(),a=l.to();if(s.ch==0&&s.line>e.firstLine()&&(s=pe(s.line-1,Ne(e.doc,s.line-1).length)),a.ch==Ne(e.doc,a.line).text.length&&a.line<e.lastLine()&&(a=pe(a.line+1,0)),s.line<n.viewFrom||a.line>n.viewTo-1)return!1;var d,v,y;s.line==n.viewFrom||(d=ni(e,s.line))==0?(v=it(n.view[0].line),y=n.view[0].node):(v=it(n.view[d].line),y=n.view[d-1].node.nextSibling);var S=ni(e,a.line),C,A;if(S==n.view.length-1?(C=n.viewTo-1,A=n.lineDiv.lastChild):(C=it(n.view[S+1].line)-1,A=n.view[S+1].node.previousSibling),!y)return!1;for(var R=e.doc.splitLines(db(e,y,A,v,C)),X=$r(e.doc,pe(v,0),pe(C,Ne(e.doc,C).text.length));R.length>1&&X.length>1;)if(Z(R)==Z(X))R.pop(),X.pop(),C--;else if(R[0]==X[0])R.shift(),X.shift(),v++;else break;for(var V=0,ne=0,ce=R[0],Se=X[0],Te=Math.min(ce.length,Se.length);V<Te&&ce.charCodeAt(V)==Se.charCodeAt(V);)++V;for(var Pe=Z(R),Ee=Z(X),Ae=Math.min(Pe.length-(R.length==1?V:0),Ee.length-(X.length==1?V:0));ne<Ae&&Pe.charCodeAt(Pe.length-ne-1)==Ee.charCodeAt(Ee.length-ne-1);)++ne;if(R.length==1&&X.length==1&&v==s.line)for(;V&&V>s.ch&&Pe.charCodeAt(Pe.length-ne-1)==Ee.charCodeAt(Ee.length-ne-1);)V--,ne++;R[R.length-1]=Pe.slice(0,Pe.length-ne).replace(/^\u200b+/,""),R[0]=R[0].slice(V).replace(/\u200b+$/,"");var Be=pe(v,V),ze=pe(C,X.length?Z(X).length-ne:0);if(R.length>1||R[0]||T(Be,ze))return Ji(e.doc,R,Be,ze,"+input"),!0},ut.prototype.ensurePolled=function(){this.forceCompositionEnd()},ut.prototype.reset=function(){this.forceCompositionEnd()},ut.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ut.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},ut.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&dr(this.cm,function(){return er(e.cm)})},ut.prototype.setUneditable=function(e){e.contentEditable="false"},ut.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||It(this.cm,qu)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},ut.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},ut.prototype.onContextMenu=function(){},ut.prototype.resetPosition=function(){},ut.prototype.needsContentAttribute=!0;function up(e,n){var l=Su(e,n.line);if(!l||l.hidden)return null;var s=Ne(e.doc,n.line),a=zd(l,s,n.line),d=vt(s,e.doc.direction),v="left";if(d){var y=Ue(d,n.ch);v=y%2?"right":"left"}var S=Wd(a.map,n.ch,v);return S.offset=S.collapse=="right"?S.end:S.start,S}function cb(e){for(var n=e;n;n=n.parentNode)if(/CodeMirror-gutter-wrapper/.test(n.className))return!0;return!1}function eo(e,n){return n&&(e.bad=!0),e}function db(e,n,l,s,a){var d="",v=!1,y=e.doc.lineSeparator(),S=!1;function C(V){return function(ne){return ne.id==V}}function A(){v&&(d+=y,S&&(d+=y),v=S=!1)}function R(V){V&&(A(),d+=V)}function X(V){if(V.nodeType==1){var ne=V.getAttribute("cm-text");if(ne){R(ne);return}var ce=V.getAttribute("cm-marker"),Se;if(ce){var Te=e.findMarks(pe(s,0),pe(a+1,0),C(+ce));Te.length&&(Se=Te[0].find(0))&&R($r(e.doc,Se.from,Se.to).join(y));return}if(V.getAttribute("contenteditable")=="false")return;var Pe=/^(pre|div|p|li|table|br)$/i.test(V.nodeName);if(!/^br$/i.test(V.nodeName)&&V.textContent.length==0)return;Pe&&A();for(var Ee=0;Ee<V.childNodes.length;Ee++)X(V.childNodes[Ee]);/^(pre|p)$/i.test(V.nodeName)&&(S=!0),Pe&&(v=!0)}else V.nodeType==3&&R(V.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;X(n),n!=l;)n=n.nextSibling,S=!1;return d}function Ul(e,n,l){var s;if(n==e.display.lineDiv){if(s=e.display.lineDiv.childNodes[l],!s)return eo(e.clipPos(pe(e.display.viewTo-1)),!0);n=null,l=0}else for(s=n;;s=s.parentNode){if(!s||s==e.display.lineDiv)return null;if(s.parentNode&&s.parentNode==e.display.lineDiv)break}for(var a=0;a<e.display.view.length;a++){var d=e.display.view[a];if(d.node==s)return hb(d,n,l)}}function hb(e,n,l){var s=e.text.firstChild,a=!1;if(!n||!W(s,n))return eo(pe(it(e.line),0),!0);if(n==s&&(a=!0,n=s.childNodes[l],l=0,!n)){var d=e.rest?Z(e.rest):e.line;return eo(pe(it(d),d.text.length),a)}var v=n.nodeType==3?n:null,y=n;for(!v&&n.childNodes.length==1&&n.firstChild.nodeType==3&&(v=n.firstChild,l&&(l=v.nodeValue.length));y.parentNode!=s;)y=y.parentNode;var S=e.measure,C=S.maps;function A(Se,Te,Pe){for(var Ee=-1;Ee<(C?C.length:0);Ee++)for(var Ae=Ee<0?S.map:C[Ee],Be=0;Be<Ae.length;Be+=3){var ze=Ae[Be+2];if(ze==Se||ze==Te){var Qe=it(Ee<0?e.line:e.rest[Ee]),ct=Ae[Be]+Pe;return(Pe<0||ze!=Se)&&(ct=Ae[Be+(Pe?1:0)]),pe(Qe,ct)}}}var R=A(v,y,l);if(R)return eo(R,a);for(var X=y.nextSibling,V=v?v.nodeValue.length-l:0;X;X=X.nextSibling){if(R=A(X,X.firstChild,0),R)return eo(pe(R.line,R.ch-V),a);V+=X.textContent.length}for(var ne=y.previousSibling,ce=l;ne;ne=ne.previousSibling){if(R=A(ne,ne.firstChild,-1),R)return eo(pe(R.line,R.ch+ce),a);ce+=ne.textContent.length}}var wt=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new ie,this.hasSelection=!1,this.composing=null};wt.prototype.init=function(e){var n=this,l=this,s=this.cm;this.createField(e);var a=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),F&&(a.style.width="0px"),De(a,"input",function(){h&&g>=9&&n.hasSelection&&(n.hasSelection=null),l.poll()}),De(a,"paste",function(v){He(s,v)||np(v,s)||(s.state.pasteIncoming=+new Date,l.fastPoll())});function d(v){if(!He(s,v)){if(s.somethingSelected())Kl({lineWise:!1,text:s.getSelections()});else if(s.options.lineWiseCopyCut){var y=op(s);Kl({lineWise:!0,text:y.text}),v.type=="cut"?s.setSelections(y.ranges,null,Ie):(l.prevInput="",a.value=y.text.join(`
24
- `),je(a))}else return;v.type=="cut"&&(s.state.cutIncoming=+new Date)}}De(a,"cut",d),De(a,"copy",d),De(e.scroller,"paste",function(v){if(!(an(e,v)||He(s,v))){if(!a.dispatchEvent){s.state.pasteIncoming=+new Date,l.focus();return}var y=new Event("paste");y.clipboardData=v.clipboardData,a.dispatchEvent(y)}}),De(e.lineSpace,"selectstart",function(v){an(e,v)||Lt(v)}),De(a,"compositionstart",function(){var v=s.getCursor("from");l.composing&&l.composing.range.clear(),l.composing={start:v,range:s.markText(v,s.getCursor("to"),{className:"CodeMirror-composing"})}}),De(a,"compositionend",function(){l.composing&&(l.poll(),l.composing.range.clear(),l.composing=null)})},wt.prototype.createField=function(e){this.wrapper=lp(),this.textarea=this.wrapper.firstChild},wt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},wt.prototype.prepareSelection=function(){var e=this.cm,n=e.display,l=e.doc,s=Qd(e);if(e.options.moveInputWithCursor){var a=zr(e,l.sel.primary().head,"div"),d=n.wrapper.getBoundingClientRect(),v=n.lineDiv.getBoundingClientRect();s.teTop=Math.max(0,Math.min(n.wrapper.clientHeight-10,a.top+v.top-d.top)),s.teLeft=Math.max(0,Math.min(n.wrapper.clientWidth-10,a.left+v.left-d.left))}return s},wt.prototype.showSelection=function(e){var n=this.cm,l=n.display;O(l.cursorDiv,e.cursors),O(l.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},wt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var n=this.cm;if(n.somethingSelected()){this.prevInput="";var l=n.getSelection();this.textarea.value=l,n.state.focused&&je(this.textarea),h&&g>=9&&(this.hasSelection=l)}else e||(this.prevInput=this.textarea.value="",h&&g>=9&&(this.hasSelection=null))}},wt.prototype.getField=function(){return this.textarea},wt.prototype.supportsTouch=function(){return!1},wt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!N||Y()!=this.textarea))try{this.textarea.focus()}catch{}},wt.prototype.blur=function(){this.textarea.blur()},wt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},wt.prototype.receivedFocus=function(){this.slowPoll()},wt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},wt.prototype.fastPoll=function(){var e=!1,n=this;n.pollingFast=!0;function l(){var s=n.poll();!s&&!e?(e=!0,n.polling.set(60,l)):(n.pollingFast=!1,n.slowPoll())}n.polling.set(20,l)},wt.prototype.poll=function(){var e=this,n=this.cm,l=this.textarea,s=this.prevInput;if(this.contextMenuPending||!n.state.focused||hl(l)&&!s&&!this.composing||n.isReadOnly()||n.options.disableInput||n.state.keySeq)return!1;var a=l.value;if(a==s&&!n.somethingSelected())return!1;if(h&&g>=9&&this.hasSelection===a||H&&/[\uf700-\uf7ff]/.test(a))return n.display.input.reset(),!1;if(n.doc.sel==n.display.selForContextMenu){var d=a.charCodeAt(0);if(d==8203&&!s&&(s="\u200B"),d==8666)return this.reset(),this.cm.execCommand("undo")}for(var v=0,y=Math.min(s.length,a.length);v<y&&s.charCodeAt(v)==a.charCodeAt(v);)++v;return dr(n,function(){qu(n,a.slice(v),s.length-v,null,e.composing?"*compose":null),a.length>1e3||a.indexOf(`
25
- `)>-1?l.value=e.prevInput="":e.prevInput=a,e.composing&&(e.composing.range.clear(),e.composing.range=n.markText(e.composing.start,n.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},wt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},wt.prototype.onKeyPress=function(){h&&g>=9&&(this.hasSelection=null),this.fastPoll()},wt.prototype.onContextMenu=function(e){var n=this,l=n.cm,s=l.display,a=n.textarea;n.contextMenuPending&&n.contextMenuPending();var d=ri(l,e),v=s.scroller.scrollTop;if(!d||E)return;var y=l.options.resetSelectionOnContextMenu;y&&l.doc.sel.contains(d)==-1&&It(l,$t)(l.doc,On(d),Ie);var S=a.style.cssText,C=n.wrapper.style.cssText,A=n.wrapper.offsetParent.getBoundingClientRect();n.wrapper.style.cssText="position: static",a.style.cssText=`position: absolute; width: 30px; height: 30px;
23
+ `);var X=Y();je(R),setTimeout(function(){s.display.lineSpace.removeChild(A),X.focus(),X==a&&l.showPrimarySelection()},50)}}Fe(a,"copy",v),Fe(a,"cut",v)},ut.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},ut.prototype.prepareSelection=function(){var e=Qd(this.cm,!1);return e.focus=Y()==this.div,e},ut.prototype.showSelection=function(e,n){!e||!this.cm.display.view.length||((e.focus||n)&&this.showPrimarySelection(),this.showMultipleSelections(e))},ut.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},ut.prototype.showPrimarySelection=function(){var e=this.getSelection(),n=this.cm,l=n.doc.sel.primary(),s=l.from(),a=l.to();if(n.display.viewTo==n.display.viewFrom||s.line>=n.display.viewTo||a.line<n.display.viewFrom){e.removeAllRanges();return}var d=$l(n,e.anchorNode,e.anchorOffset),v=$l(n,e.focusNode,e.focusOffset);if(!(d&&!d.bad&&v&&!v.bad&&T($e(d,v),s)==0&&T(ye(d,v),a)==0)){var y=n.display.view,S=s.line>=n.display.viewFrom&&up(n,s)||{node:y[0].measure.map[2],offset:0},C=a.line<n.display.viewTo&&up(n,a);if(!C){var A=y[y.length-1].measure,R=A.maps?A.maps[A.maps.length-1]:A.map;C={node:R[R.length-1],offset:R[R.length-2]-R[R.length-3]}}if(!S||!C){e.removeAllRanges();return}var X=e.rangeCount&&e.getRangeAt(0),V;try{V=j(S.node,S.offset,C.offset,C.node)}catch{}V&&(!u&&n.state.focused?(e.collapse(S.node,S.offset),V.collapsed||(e.removeAllRanges(),e.addRange(V))):(e.removeAllRanges(),e.addRange(V)),X&&e.anchorNode==null?e.addRange(X):u&&this.startGracePeriod()),this.rememberSelection()}},ut.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},ut.prototype.showMultipleSelections=function(e){O(this.cm.display.cursorDiv,e.cursors),O(this.cm.display.selectionDiv,e.selection)},ut.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},ut.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var n=e.getRangeAt(0).commonAncestorContainer;return W(this.div,n)},ut.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||Y()!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},ut.prototype.blur=function(){this.div.blur()},ut.prototype.getField=function(){return this.div},ut.prototype.supportsTouch=function(){return!0},ut.prototype.receivedFocus=function(){var e=this,n=this;this.selectionInEditor()?setTimeout(function(){return e.pollSelection()},20):dr(this.cm,function(){return n.cm.curOp.selectionChanged=!0});function l(){n.cm.state.focused&&(n.pollSelection(),n.polling.set(n.cm.options.pollInterval,l))}this.polling.set(this.cm.options.pollInterval,l)},ut.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},ut.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var e=this.getSelection(),n=this.cm;if(M&&x&&this.cm.display.gutterSpecs.length&&pb(e.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var l=$l(n,e.anchorNode,e.anchorOffset),s=$l(n,e.focusNode,e.focusOffset);l&&s&&dr(n,function(){$t(n.doc,On(l,s),Ie),(l.bad||s.bad)&&(n.curOp.selectionChanged=!0)})}}},ut.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e=this.cm,n=e.display,l=e.doc.sel.primary(),s=l.from(),a=l.to();if(s.ch==0&&s.line>e.firstLine()&&(s=pe(s.line-1,Ne(e.doc,s.line-1).length)),a.ch==Ne(e.doc,a.line).text.length&&a.line<e.lastLine()&&(a=pe(a.line+1,0)),s.line<n.viewFrom||a.line>n.viewTo-1)return!1;var d,v,y;s.line==n.viewFrom||(d=ni(e,s.line))==0?(v=it(n.view[0].line),y=n.view[0].node):(v=it(n.view[d].line),y=n.view[d-1].node.nextSibling);var S=ni(e,a.line),C,A;if(S==n.view.length-1?(C=n.viewTo-1,A=n.lineDiv.lastChild):(C=it(n.view[S+1].line)-1,A=n.view[S+1].node.previousSibling),!y)return!1;for(var R=e.doc.splitLines(gb(e,y,A,v,C)),X=$r(e.doc,pe(v,0),pe(C,Ne(e.doc,C).text.length));R.length>1&&X.length>1;)if(Z(R)==Z(X))R.pop(),X.pop(),C--;else if(R[0]==X[0])R.shift(),X.shift(),v++;else break;for(var V=0,ne=0,ce=R[0],Se=X[0],Te=Math.min(ce.length,Se.length);V<Te&&ce.charCodeAt(V)==Se.charCodeAt(V);)++V;for(var Pe=Z(R),Ee=Z(X),Ae=Math.min(Pe.length-(R.length==1?V:0),Ee.length-(X.length==1?V:0));ne<Ae&&Pe.charCodeAt(Pe.length-ne-1)==Ee.charCodeAt(Ee.length-ne-1);)++ne;if(R.length==1&&X.length==1&&v==s.line)for(;V&&V>s.ch&&Pe.charCodeAt(Pe.length-ne-1)==Ee.charCodeAt(Ee.length-ne-1);)V--,ne++;R[R.length-1]=Pe.slice(0,Pe.length-ne).replace(/^\u200b+/,""),R[0]=R[0].slice(V).replace(/\u200b+$/,"");var Be=pe(v,V),ze=pe(C,X.length?Z(X).length-ne:0);if(R.length>1||R[0]||T(Be,ze))return Ji(e.doc,R,Be,ze,"+input"),!0},ut.prototype.ensurePolled=function(){this.forceCompositionEnd()},ut.prototype.reset=function(){this.forceCompositionEnd()},ut.prototype.forceCompositionEnd=function(){!this.composing||(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},ut.prototype.readFromDOMSoon=function(){var e=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing)if(e.composing.done)e.composing=null;else return;e.updateFromDOM()},80))},ut.prototype.updateFromDOM=function(){var e=this;(this.cm.isReadOnly()||!this.pollContent())&&dr(this.cm,function(){return er(e.cm)})},ut.prototype.setUneditable=function(e){e.contentEditable="false"},ut.prototype.onKeyPress=function(e){e.charCode==0||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Nt(this.cm,_u)(this.cm,String.fromCharCode(e.charCode==null?e.keyCode:e.charCode),0))},ut.prototype.readOnlyChanged=function(e){this.div.contentEditable=String(e!="nocursor")},ut.prototype.onContextMenu=function(){},ut.prototype.resetPosition=function(){},ut.prototype.needsContentAttribute=!0;function up(e,n){var l=xu(e,n.line);if(!l||l.hidden)return null;var s=Ne(e.doc,n.line),a=zd(l,s,n.line),d=vt(s,e.doc.direction),v="left";if(d){var y=Ue(d,n.ch);v=y%2?"right":"left"}var S=Wd(a.map,n.ch,v);return S.offset=S.collapse=="right"?S.end:S.start,S}function pb(e){for(var n=e;n;n=n.parentNode)if(/CodeMirror-gutter-wrapper/.test(n.className))return!0;return!1}function eo(e,n){return n&&(e.bad=!0),e}function gb(e,n,l,s,a){var d="",v=!1,y=e.doc.lineSeparator(),S=!1;function C(V){return function(ne){return ne.id==V}}function A(){v&&(d+=y,S&&(d+=y),v=S=!1)}function R(V){V&&(A(),d+=V)}function X(V){if(V.nodeType==1){var ne=V.getAttribute("cm-text");if(ne){R(ne);return}var ce=V.getAttribute("cm-marker"),Se;if(ce){var Te=e.findMarks(pe(s,0),pe(a+1,0),C(+ce));Te.length&&(Se=Te[0].find(0))&&R($r(e.doc,Se.from,Se.to).join(y));return}if(V.getAttribute("contenteditable")=="false")return;var Pe=/^(pre|div|p|li|table|br)$/i.test(V.nodeName);if(!/^br$/i.test(V.nodeName)&&V.textContent.length==0)return;Pe&&A();for(var Ee=0;Ee<V.childNodes.length;Ee++)X(V.childNodes[Ee]);/^(pre|p)$/i.test(V.nodeName)&&(S=!0),Pe&&(v=!0)}else V.nodeType==3&&R(V.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;X(n),n!=l;)n=n.nextSibling,S=!1;return d}function $l(e,n,l){var s;if(n==e.display.lineDiv){if(s=e.display.lineDiv.childNodes[l],!s)return eo(e.clipPos(pe(e.display.viewTo-1)),!0);n=null,l=0}else for(s=n;;s=s.parentNode){if(!s||s==e.display.lineDiv)return null;if(s.parentNode&&s.parentNode==e.display.lineDiv)break}for(var a=0;a<e.display.view.length;a++){var d=e.display.view[a];if(d.node==s)return vb(d,n,l)}}function vb(e,n,l){var s=e.text.firstChild,a=!1;if(!n||!W(s,n))return eo(pe(it(e.line),0),!0);if(n==s&&(a=!0,n=s.childNodes[l],l=0,!n)){var d=e.rest?Z(e.rest):e.line;return eo(pe(it(d),d.text.length),a)}var v=n.nodeType==3?n:null,y=n;for(!v&&n.childNodes.length==1&&n.firstChild.nodeType==3&&(v=n.firstChild,l&&(l=v.nodeValue.length));y.parentNode!=s;)y=y.parentNode;var S=e.measure,C=S.maps;function A(Se,Te,Pe){for(var Ee=-1;Ee<(C?C.length:0);Ee++)for(var Ae=Ee<0?S.map:C[Ee],Be=0;Be<Ae.length;Be+=3){var ze=Ae[Be+2];if(ze==Se||ze==Te){var Qe=it(Ee<0?e.line:e.rest[Ee]),ct=Ae[Be]+Pe;return(Pe<0||ze!=Se)&&(ct=Ae[Be+(Pe?1:0)]),pe(Qe,ct)}}}var R=A(v,y,l);if(R)return eo(R,a);for(var X=y.nextSibling,V=v?v.nodeValue.length-l:0;X;X=X.nextSibling){if(R=A(X,X.firstChild,0),R)return eo(pe(R.line,R.ch-V),a);V+=X.textContent.length}for(var ne=y.previousSibling,ce=l;ne;ne=ne.previousSibling){if(R=A(ne,ne.firstChild,-1),R)return eo(pe(R.line,R.ch+ce),a);ce+=ne.textContent.length}}var wt=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new ie,this.hasSelection=!1,this.composing=null};wt.prototype.init=function(e){var n=this,l=this,s=this.cm;this.createField(e);var a=this.textarea;e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),F&&(a.style.width="0px"),Fe(a,"input",function(){h&&g>=9&&n.hasSelection&&(n.hasSelection=null),l.poll()}),Fe(a,"paste",function(v){He(s,v)||np(v,s)||(s.state.pasteIncoming=+new Date,l.fastPoll())});function d(v){if(!He(s,v)){if(s.somethingSelected())Ul({lineWise:!1,text:s.getSelections()});else if(s.options.lineWiseCopyCut){var y=op(s);Ul({lineWise:!0,text:y.text}),v.type=="cut"?s.setSelections(y.ranges,null,Ie):(l.prevInput="",a.value=y.text.join(`
24
+ `),je(a))}else return;v.type=="cut"&&(s.state.cutIncoming=+new Date)}}Fe(a,"cut",d),Fe(a,"copy",d),Fe(e.scroller,"paste",function(v){if(!(an(e,v)||He(s,v))){if(!a.dispatchEvent){s.state.pasteIncoming=+new Date,l.focus();return}var y=new Event("paste");y.clipboardData=v.clipboardData,a.dispatchEvent(y)}}),Fe(e.lineSpace,"selectstart",function(v){an(e,v)||At(v)}),Fe(a,"compositionstart",function(){var v=s.getCursor("from");l.composing&&l.composing.range.clear(),l.composing={start:v,range:s.markText(v,s.getCursor("to"),{className:"CodeMirror-composing"})}}),Fe(a,"compositionend",function(){l.composing&&(l.poll(),l.composing.range.clear(),l.composing=null)})},wt.prototype.createField=function(e){this.wrapper=lp(),this.textarea=this.wrapper.firstChild},wt.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},wt.prototype.prepareSelection=function(){var e=this.cm,n=e.display,l=e.doc,s=Qd(e);if(e.options.moveInputWithCursor){var a=zr(e,l.sel.primary().head,"div"),d=n.wrapper.getBoundingClientRect(),v=n.lineDiv.getBoundingClientRect();s.teTop=Math.max(0,Math.min(n.wrapper.clientHeight-10,a.top+v.top-d.top)),s.teLeft=Math.max(0,Math.min(n.wrapper.clientWidth-10,a.left+v.left-d.left))}return s},wt.prototype.showSelection=function(e){var n=this.cm,l=n.display;O(l.cursorDiv,e.cursors),O(l.selectionDiv,e.selection),e.teTop!=null&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},wt.prototype.reset=function(e){if(!(this.contextMenuPending||this.composing)){var n=this.cm;if(n.somethingSelected()){this.prevInput="";var l=n.getSelection();this.textarea.value=l,n.state.focused&&je(this.textarea),h&&g>=9&&(this.hasSelection=l)}else e||(this.prevInput=this.textarea.value="",h&&g>=9&&(this.hasSelection=null))}},wt.prototype.getField=function(){return this.textarea},wt.prototype.supportsTouch=function(){return!1},wt.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!N||Y()!=this.textarea))try{this.textarea.focus()}catch{}},wt.prototype.blur=function(){this.textarea.blur()},wt.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},wt.prototype.receivedFocus=function(){this.slowPoll()},wt.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},wt.prototype.fastPoll=function(){var e=!1,n=this;n.pollingFast=!0;function l(){var s=n.poll();!s&&!e?(e=!0,n.polling.set(60,l)):(n.pollingFast=!1,n.slowPoll())}n.polling.set(20,l)},wt.prototype.poll=function(){var e=this,n=this.cm,l=this.textarea,s=this.prevInput;if(this.contextMenuPending||!n.state.focused||pl(l)&&!s&&!this.composing||n.isReadOnly()||n.options.disableInput||n.state.keySeq)return!1;var a=l.value;if(a==s&&!n.somethingSelected())return!1;if(h&&g>=9&&this.hasSelection===a||H&&/[\uf700-\uf7ff]/.test(a))return n.display.input.reset(),!1;if(n.doc.sel==n.display.selForContextMenu){var d=a.charCodeAt(0);if(d==8203&&!s&&(s="\u200B"),d==8666)return this.reset(),this.cm.execCommand("undo")}for(var v=0,y=Math.min(s.length,a.length);v<y&&s.charCodeAt(v)==a.charCodeAt(v);)++v;return dr(n,function(){_u(n,a.slice(v),s.length-v,null,e.composing?"*compose":null),a.length>1e3||a.indexOf(`
25
+ `)>-1?l.value=e.prevInput="":e.prevInput=a,e.composing&&(e.composing.range.clear(),e.composing.range=n.markText(e.composing.start,n.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},wt.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},wt.prototype.onKeyPress=function(){h&&g>=9&&(this.hasSelection=null),this.fastPoll()},wt.prototype.onContextMenu=function(e){var n=this,l=n.cm,s=l.display,a=n.textarea;n.contextMenuPending&&n.contextMenuPending();var d=ri(l,e),v=s.scroller.scrollTop;if(!d||E)return;var y=l.options.resetSelectionOnContextMenu;y&&l.doc.sel.contains(d)==-1&&Nt(l,$t)(l.doc,On(d),Ie);var S=a.style.cssText,C=n.wrapper.style.cssText,A=n.wrapper.offsetParent.getBoundingClientRect();n.wrapper.style.cssText="position: static",a.style.cssText=`position: absolute; width: 30px; height: 30px;
26
26
  top: `+(e.clientY-A.top-5)+"px; left: "+(e.clientX-A.left-5)+`px;
27
27
  z-index: 1000; background: `+(h?"rgba(255, 255, 255, .05)":"transparent")+`;
28
- outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var R;m&&(R=window.scrollY),s.input.focus(),m&&window.scrollTo(null,R),s.input.reset(),l.somethingSelected()||(a.value=n.prevInput=" "),n.contextMenuPending=V,s.selForContextMenu=l.doc.sel,clearTimeout(s.detectingSelectAll);function X(){if(a.selectionStart!=null){var ce=l.somethingSelected(),Se="\u200B"+(ce?a.value:"");a.value="\u21DA",a.value=Se,n.prevInput=ce?"":"\u200B",a.selectionStart=1,a.selectionEnd=Se.length,s.selForContextMenu=l.doc.sel}}function V(){if(n.contextMenuPending==V&&(n.contextMenuPending=!1,n.wrapper.style.cssText=C,a.style.cssText=S,h&&g<9&&s.scrollbars.setScrollTop(s.scroller.scrollTop=v),a.selectionStart!=null)){(!h||h&&g<9)&&X();var ce=0,Se=function(){s.selForContextMenu==l.doc.sel&&a.selectionStart==0&&a.selectionEnd>0&&n.prevInput=="\u200B"?It(l,kh)(l):ce++<10?s.detectingSelectAll=setTimeout(Se,500):(s.selForContextMenu=null,s.input.reset())};s.detectingSelectAll=setTimeout(Se,200)}}if(h&&g>=9&&X(),q){qn(e);var ne=function(){Oe(window,"mouseup",ne),setTimeout(V,20)};De(window,"mouseup",ne)}else setTimeout(V,50)},wt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},wt.prototype.setUneditable=function(){},wt.prototype.needsContentAttribute=!1;function pb(e,n){if(n=n?Ke(n):{},n.value=e.value,!n.tabindex&&e.tabIndex&&(n.tabindex=e.tabIndex),!n.placeholder&&e.placeholder&&(n.placeholder=e.placeholder),n.autofocus==null){var l=Y();n.autofocus=l==e||e.getAttribute("autofocus")!=null&&l==document.body}function s(){e.value=y.getValue()}var a;if(e.form&&(De(e.form,"submit",s),!n.leaveSubmitMethodAlone)){var d=e.form;a=d.submit;try{var v=d.submit=function(){s(),d.submit=a,d.submit(),d.submit=v}}catch{}}n.finishInit=function(S){S.save=s,S.getTextArea=function(){return e},S.toTextArea=function(){S.toTextArea=isNaN,s(),e.parentNode.removeChild(S.getWrapperElement()),e.style.display="",e.form&&(Oe(e.form,"submit",s),!n.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=a))}},e.style.display="none";var y=ht(function(S){return e.parentNode.insertBefore(S,e.nextSibling)},n);return y}function gb(e){e.off=Oe,e.on=De,e.wheelEventPixels=w0,e.Doc=tr,e.splitLines=zo,e.countColumn=Xe,e.findColumn=Le,e.isWordChar=de,e.Pass=be,e.signal=ge,e.Line=Hi,e.changeEnd=kn,e.scrollbarModel=nh,e.Pos=pe,e.cmpPos=T,e.modes=Ar,e.mimeModes=yr,e.resolveMode=Di,e.getMode=Fi,e.modeExtensions=Dr,e.extendMode=Fr,e.copyState=br,e.startState=Wo,e.innerMode=Bo,e.commands=cs,e.keyMap=fn,e.keyName=Uh,e.isModifierKey=jh,e.lookupKey=Qi,e.normalizeKeyMap=$0,e.StringStream=bt,e.SharedTextMarker=as,e.TextMarker=Mn,e.LineWidget=ls,e.e_preventDefault=Lt,e.e_stopPropagation=Rr,e.e_stop=qn,e.addClass=ue,e.contains=W,e.rmClass=ee,e.keyNames=An}sb(ht),fb(ht);var vb="iter insert remove copy getEditor constructor".split(" ");for(var $l in tr.prototype)tr.prototype.hasOwnProperty($l)&&se(vb,$l)<0&&(ht.prototype[$l]=function(e){return function(){return e.apply(this.doc,arguments)}}(tr.prototype[$l]));return fr(tr),ht.inputStyles={textarea:wt,contenteditable:ut},ht.defineMode=function(e){!ht.defaults.mode&&e!="null"&&(ht.defaults.mode=e),gl.apply(this,arguments)},ht.defineMIME=on,ht.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),ht.defineMIME("text/plain","null"),ht.defineExtension=function(e,n){ht.prototype[e]=n},ht.defineDocExtension=function(e,n){tr.prototype[e]=n},ht.fromTextArea=pb,gb(ht),ht.version="5.64.0",ht})})(ki);var yE=ki.exports,b1={exports:{}};(function(t,r){(function(i){i(ki.exports)})(function(i){i.defineMode("javascript",function(o,u){var f=o.indentUnit,c=u.statementIndent,p=u.jsonld,h=u.json||p,g=u.trackScope!==!1,m=u.typescript,b=u.wordCharacters||/[\w$\xa1-\uffff]/,x=function(){function T(Ut){return{type:Ut,style:"keyword"}}var D=T("keyword a"),fe=T("keyword b"),ye=T("keyword c"),$e=T("keyword d"),_e=T("operator"),Me={type:"atom",style:"atom"};return{if:T("if"),while:D,with:D,else:fe,do:fe,try:fe,finally:fe,return:$e,break:$e,continue:$e,new:T("new"),delete:ye,void:ye,throw:ye,debugger:T("debugger"),var:T("var"),const:T("var"),let:T("var"),function:T("function"),catch:T("catch"),for:T("for"),switch:T("switch"),case:T("case"),default:T("default"),in:_e,typeof:_e,instanceof:_e,true:Me,false:Me,null:Me,undefined:Me,NaN:Me,Infinity:Me,this:T("this"),class:T("class"),super:T("atom"),yield:ye,export:T("export"),import:T("import"),extends:ye,await:ye}}(),E=/[+\-*&%=<>!?|~^@]/,P=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function B(T){for(var D=!1,fe,ye=!1;(fe=T.next())!=null;){if(!D){if(fe=="/"&&!ye)return;fe=="["?ye=!0:ye&&fe=="]"&&(ye=!1)}D=!D&&fe=="\\"}}var L,F;function M(T,D,fe){return L=T,F=fe,D}function N(T,D){var fe=T.next();if(fe=='"'||fe=="'")return D.tokenize=H(fe),D.tokenize(T,D);if(fe=="."&&T.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return M("number","number");if(fe=="."&&T.match(".."))return M("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(fe))return M(fe);if(fe=="="&&T.eat(">"))return M("=>","operator");if(fe=="0"&&T.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return M("number","number");if(/\d/.test(fe))return T.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),M("number","number");if(fe=="/")return T.eat("*")?(D.tokenize=Q,Q(T,D)):T.eat("/")?(T.skipToEnd(),M("comment","comment")):pe(T,D,1)?(B(T),T.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),M("regexp","string-2")):(T.eat("="),M("operator","operator",T.current()));if(fe=="`")return D.tokenize=J,J(T,D);if(fe=="#"&&T.peek()=="!")return T.skipToEnd(),M("meta","meta");if(fe=="#"&&T.eatWhile(b))return M("variable","property");if(fe=="<"&&T.match("!--")||fe=="-"&&T.match("->")&&!/\S/.test(T.string.slice(0,T.start)))return T.skipToEnd(),M("comment","comment");if(E.test(fe))return(fe!=">"||!D.lexical||D.lexical.type!=">")&&(T.eat("=")?(fe=="!"||fe=="=")&&T.eat("="):/[<>*+\-|&?]/.test(fe)&&(T.eat(fe),fe==">"&&T.eat(fe))),fe=="?"&&T.eat(".")?M("."):M("operator","operator",T.current());if(b.test(fe)){T.eatWhile(b);var ye=T.current();if(D.lastType!="."){if(x.propertyIsEnumerable(ye)){var $e=x[ye];return M($e.type,$e.style,ye)}if(ye=="async"&&T.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return M("async","keyword",ye)}return M("variable","variable",ye)}}function H(T){return function(D,fe){var ye=!1,$e;if(p&&D.peek()=="@"&&D.match(P))return fe.tokenize=N,M("jsonld-keyword","meta");for(;($e=D.next())!=null&&!($e==T&&!ye);)ye=!ye&&$e=="\\";return ye||(fe.tokenize=N),M("string","string")}}function Q(T,D){for(var fe=!1,ye;ye=T.next();){if(ye=="/"&&fe){D.tokenize=N;break}fe=ye=="*"}return M("comment","comment")}function J(T,D){for(var fe=!1,ye;(ye=T.next())!=null;){if(!fe&&(ye=="`"||ye=="$"&&T.eat("{"))){D.tokenize=N;break}fe=!fe&&ye=="\\"}return M("quasi","string-2",T.current())}var K="([{}])";function U(T,D){D.fatArrowAt&&(D.fatArrowAt=null);var fe=T.string.indexOf("=>",T.start);if(!(fe<0)){if(m){var ye=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(T.string.slice(T.start,fe));ye&&(fe=ye.index)}for(var $e=0,_e=!1,Me=fe-1;Me>=0;--Me){var Ut=T.string.charAt(Me),Sr=K.indexOf(Ut);if(Sr>=0&&Sr<3){if(!$e){++Me;break}if(--$e==0){Ut=="("&&(_e=!0);break}}else if(Sr>=3&&Sr<6)++$e;else if(b.test(Ut))_e=!0;else if(/["'\/`]/.test(Ut))for(;;--Me){if(Me==0)return;var zi=T.string.charAt(Me-1);if(zi==Ut&&T.string.charAt(Me-2)!="\\"){Me--;break}}else if(_e&&!$e){++Me;break}}_e&&!$e&&(D.fatArrowAt=Me)}}var q={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function te(T,D,fe,ye,$e,_e){this.indented=T,this.column=D,this.type=fe,this.prev=$e,this.info=_e,ye!=null&&(this.align=ye)}function ee(T,D){if(!g)return!1;for(var fe=T.localVars;fe;fe=fe.next)if(fe.name==D)return!0;for(var ye=T.context;ye;ye=ye.prev)for(var fe=ye.vars;fe;fe=fe.next)if(fe.name==D)return!0}function _(T,D,fe,ye,$e){var _e=T.cc;for(O.state=T,O.stream=$e,O.marked=null,O.cc=_e,O.style=D,T.lexical.hasOwnProperty("align")||(T.lexical.align=!0);;){var Me=_e.length?_e.pop():h?me:Ie;if(Me(fe,ye)){for(;_e.length&&_e[_e.length-1].lex;)_e.pop()();return O.marked?O.marked:fe=="variable"&&ee(T,ye)?"variable-2":D}}}var O={state:null,column:null,marked:null,cc:null};function k(){for(var T=arguments.length-1;T>=0;T--)O.cc.push(arguments[T])}function w(){return k.apply(null,arguments),!0}function j(T,D){for(var fe=D;fe;fe=fe.next)if(fe.name==T)return!0;return!1}function W(T){var D=O.state;if(O.marked="def",!!g){if(D.context){if(D.lexical.info=="var"&&D.context&&D.context.block){var fe=Y(T,D.context);if(fe!=null){D.context=fe;return}}else if(!j(T,D.localVars)){D.localVars=new je(T,D.localVars);return}}u.globalVars&&!j(T,D.globalVars)&&(D.globalVars=new je(T,D.globalVars))}}function Y(T,D){if(D)if(D.block){var fe=Y(T,D.prev);return fe?fe==D.prev?D:new he(fe,D.vars,!0):null}else return j(T,D.vars)?D:new he(D.prev,new je(T,D.vars),!1);else return null}function ue(T){return T=="public"||T=="private"||T=="protected"||T=="abstract"||T=="readonly"}function he(T,D,fe){this.prev=T,this.vars=D,this.block=fe}function je(T,D){this.name=T,this.next=D}var We=new je("this",new je("arguments",null));function Ke(){O.state.context=new he(O.state.context,O.state.localVars,!1),O.state.localVars=We}function Xe(){O.state.context=new he(O.state.context,O.state.localVars,!0),O.state.localVars=null}function ie(){O.state.localVars=O.state.context.vars,O.state.context=O.state.context.prev}ie.lex=!0;function se(T,D){var fe=function(){var ye=O.state,$e=ye.indented;if(ye.lexical.type=="stat")$e=ye.lexical.indented;else for(var _e=ye.lexical;_e&&_e.type==")"&&_e.align;_e=_e.prev)$e=_e.indented;ye.lexical=new te($e,O.stream.column(),T,null,ye.lexical,D)};return fe.lex=!0,fe}function le(){var T=O.state;T.lexical.prev&&(T.lexical.type==")"&&(T.indented=T.lexical.indented),T.lexical=T.lexical.prev)}le.lex=!0;function be(T){function D(fe){return fe==T?w():T==";"||fe=="}"||fe==")"||fe=="]"?k():w(D)}return D}function Ie(T,D){return T=="var"?w(se("vardef",D),Do,be(";"),le):T=="keyword a"?w(se("form"),z,Ie,le):T=="keyword b"?w(se("form"),Ie,le):T=="keyword d"?O.stream.match(/^\s*$/,!1)?w():w(se("stat"),Z,be(";"),le):T=="debugger"?w(be(";")):T=="{"?w(se("}"),Xe,vt,le,ie):T==";"?w():T=="if"?(O.state.lexical.info=="else"&&O.state.cc[O.state.cc.length-1]==le&&O.state.cc.pop()(),w(se("form"),z,Ie,le,hl)):T=="function"?w(Ar):T=="for"?w(se("form"),Xe,pl,Ie,ie,le):T=="class"||m&&D=="interface"?(O.marked="keyword",w(se("form",T=="class"?T:D),Fi,le)):T=="variable"?m&&D=="declare"?(O.marked="keyword",w(Ie)):m&&(D=="module"||D=="enum"||D=="type")&&O.stream.match(/^\s*\w/,!1)?(O.marked="keyword",D=="enum"?w(Vr):D=="type"?w(gl,be("operator"),ge,be(";")):w(se("form"),_t,be("{"),se("}"),vt,le,le)):m&&D=="namespace"?(O.marked="keyword",w(se("form"),me,Ie,le)):m&&D=="abstract"?(O.marked="keyword",w(Ie)):w(se("stat"),we):T=="switch"?w(se("form"),z,be("{"),se("}","switch"),Xe,vt,le,le,ie):T=="case"?w(me,be(":")):T=="default"?w(be(":")):T=="catch"?w(se("form"),Ke,ke,Ie,le,ie):T=="export"?w(se("stat"),Bo,le):T=="import"?w(se("stat"),bt,le):T=="async"?w(Ie):D=="@"?w(me,Ie):k(se("stat"),me,be(";"),le)}function ke(T){if(T=="(")return w(on,be(")"))}function me(T,D){return $(T,D,!1)}function Le(T,D){return $(T,D,!0)}function z(T){return T!="("?k():w(se(")"),Z,be(")"),le)}function $(T,D,fe){if(O.state.fatArrowAt==O.stream.start){var ye=fe?de:xe;if(T=="(")return w(Ke,se(")"),Ue(on,")"),le,be("=>"),ye,ie);if(T=="variable")return k(Ke,_t,be("=>"),ye,ie)}var $e=fe?ae:oe;return q.hasOwnProperty(T)?w($e):T=="function"?w(Ar,$e):T=="class"||m&&D=="interface"?(O.marked="keyword",w(se("form"),Di,le)):T=="keyword c"||T=="async"?w(fe?Le:me):T=="("?w(se(")"),Z,be(")"),le,$e):T=="operator"||T=="spread"?w(fe?Le:me):T=="["?w(se("]"),it,le,$e):T=="{"?xt(Ve,"}",null,$e):T=="quasi"?k(ve,$e):T=="new"?w(I(fe)):w()}function Z(T){return T.match(/[;\}\)\],]/)?k():k(me)}function oe(T,D){return T==","?w(Z):ae(T,D,!1)}function ae(T,D,fe){var ye=fe==!1?oe:ae,$e=fe==!1?me:Le;if(T=="=>")return w(Ke,fe?de:xe,ie);if(T=="operator")return/\+\+|--/.test(D)||m&&D=="!"?w(ye):m&&D=="<"&&O.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?w(se(">"),Ue(ge,">"),le,ye):D=="?"?w(me,be(":"),$e):w($e);if(T=="quasi")return k(ve,ye);if(T!=";"){if(T=="(")return xt(Le,")","call",ye);if(T==".")return w(Re,ye);if(T=="[")return w(se("]"),Z,be("]"),le,ye);if(m&&D=="as")return O.marked="keyword",w(ge,ye);if(T=="regexp")return O.state.lastType=O.marked="operator",O.stream.backUp(O.stream.pos-O.stream.start-1),w($e)}}function ve(T,D){return T!="quasi"?k():D.slice(D.length-2)!="${"?w(ve):w(Z,Ce)}function Ce(T){if(T=="}")return O.marked="string-2",O.state.tokenize=J,w(ve)}function xe(T){return U(O.stream,O.state),k(T=="{"?Ie:me)}function de(T){return U(O.stream,O.state),k(T=="{"?Ie:Le)}function I(T){return function(D){return D=="."?w(T?G:re):D=="variable"&&m?w(qn,T?ae:oe):k(T?Le:me)}}function re(T,D){if(D=="target")return O.marked="keyword",w(oe)}function G(T,D){if(D=="target")return O.marked="keyword",w(ae)}function we(T){return T==":"?w(le,Ie):k(oe,be(";"),le)}function Re(T){if(T=="variable")return O.marked="property",w()}function Ve(T,D){if(T=="async")return O.marked="property",w(Ve);if(T=="variable"||O.style=="keyword"){if(O.marked="property",D=="get"||D=="set")return w(at);var fe;return m&&O.state.fatArrowAt==O.stream.start&&(fe=O.stream.match(/^\s*:\s*/,!1))&&(O.state.fatArrowAt=O.stream.pos+fe[0].length),w(Je)}else{if(T=="number"||T=="string")return O.marked=p?"property":O.style+" property",w(Je);if(T=="jsonld-keyword")return w(Je);if(m&&ue(D))return O.marked="keyword",w(Ve);if(T=="[")return w(me,Xt,be("]"),Je);if(T=="spread")return w(Le,Je);if(D=="*")return O.marked="keyword",w(Ve);if(T==":")return k(Je)}}function at(T){return T!="variable"?k(Je):(O.marked="property",w(Ar))}function Je(T){if(T==":")return w(Le);if(T=="(")return k(Ar)}function Ue(T,D,fe){function ye($e,_e){if(fe?fe.indexOf($e)>-1:$e==","){var Me=O.state.lexical;return Me.info=="call"&&(Me.pos=(Me.pos||0)+1),w(function(Ut,Sr){return Ut==D||Sr==D?k():k(T)},ye)}return $e==D||_e==D?w():fe&&fe.indexOf(";")>-1?k(T):w(be(D))}return function($e,_e){return $e==D||_e==D?w():k(T,ye)}}function xt(T,D,fe){for(var ye=3;ye<arguments.length;ye++)O.cc.push(arguments[ye]);return w(se(D,fe),Ue(T,D),le)}function vt(T){return T=="}"?w():k(Ie,vt)}function Xt(T,D){if(m){if(T==":")return w(ge);if(D=="?")return w(Xt)}}function De(T,D){if(m&&(T==":"||D=="in"))return w(ge)}function Ge(T){if(m&&T==":")return O.stream.match(/^\s*\w+\s+is\b/,!1)?w(me,Oe,ge):w(ge)}function Oe(T,D){if(D=="is")return O.marked="keyword",w()}function ge(T,D){if(D=="keyof"||D=="typeof"||D=="infer"||D=="readonly")return O.marked="keyword",w(D=="typeof"?Le:ge);if(T=="variable"||D=="void")return O.marked="type",w(mr);if(D=="|"||D=="&")return w(ge);if(T=="string"||T=="number"||T=="atom")return w(mr);if(T=="[")return w(se("]"),Ue(ge,"]",","),le,mr);if(T=="{")return w(se("}"),et,le,mr);if(T=="(")return w(Ue(Rr,")"),He,mr);if(T=="<")return w(Ue(ge,">"),ge);if(T=="quasi")return k(fr,mr)}function He(T){if(T=="=>")return w(ge)}function et(T){return T.match(/[\}\)\]]/)?w():T==","||T==";"?w(et):k(rt,et)}function rt(T,D){if(T=="variable"||O.style=="keyword")return O.marked="property",w(rt);if(D=="?"||T=="number"||T=="string")return w(rt);if(T==":")return w(ge);if(T=="[")return w(be("variable"),De,be("]"),rt);if(T=="(")return k(yr,rt);if(!T.match(/[;\}\)\],]/))return w()}function fr(T,D){return T!="quasi"?k():D.slice(D.length-2)!="${"?w(fr):w(ge,Lt)}function Lt(T){if(T=="}")return O.marked="string-2",O.state.tokenize=J,w(fr)}function Rr(T,D){return T=="variable"&&O.stream.match(/^\s*[?:]/,!1)||D=="?"?w(Rr):T==":"?w(ge):T=="spread"?w(Rr):k(ge)}function mr(T,D){if(D=="<")return w(se(">"),Ue(ge,">"),le,mr);if(D=="|"||T=="."||D=="&")return w(ge);if(T=="[")return w(ge,be("]"),mr);if(D=="extends"||D=="implements")return O.marked="keyword",w(ge);if(D=="?")return w(ge,be(":"),ge)}function qn(T,D){if(D=="<")return w(se(">"),Ue(ge,">"),le,mr)}function xn(){return k(ge,cl)}function cl(T,D){if(D=="=")return w(ge)}function Do(T,D){return D=="enum"?(O.marked="keyword",w(Vr)):k(_t,Xt,Ur,zo)}function _t(T,D){if(m&&ue(D))return O.marked="keyword",w(_t);if(T=="variable")return W(D),w();if(T=="spread")return w(_t);if(T=="[")return xt(Fo,"]");if(T=="{")return xt(dl,"}")}function dl(T,D){return T=="variable"&&!O.stream.match(/^\s*:/,!1)?(W(D),w(Ur)):(T=="variable"&&(O.marked="property"),T=="spread"?w(_t):T=="}"?k():T=="["?w(me,be("]"),be(":"),dl):w(be(":"),_t,Ur))}function Fo(){return k(_t,Ur)}function Ur(T,D){if(D=="=")return w(Le)}function zo(T){if(T==",")return w(Do)}function hl(T,D){if(T=="keyword b"&&D=="else")return w(se("form","else"),Ie,le)}function pl(T,D){if(D=="await")return w(pl);if(T=="(")return w(se(")"),Ho,le)}function Ho(T){return T=="var"?w(Do,wn):T=="variable"?w(wn):k(wn)}function wn(T,D){return T==")"?w():T==";"?w(wn):D=="in"||D=="of"?(O.marked="keyword",w(me,wn)):k(me,wn)}function Ar(T,D){if(D=="*")return O.marked="keyword",w(Ar);if(T=="variable")return W(D),w(Ar);if(T=="(")return w(Ke,se(")"),Ue(on,")"),le,Ge,Ie,ie);if(m&&D=="<")return w(se(">"),Ue(xn,">"),le,Ar)}function yr(T,D){if(D=="*")return O.marked="keyword",w(yr);if(T=="variable")return W(D),w(yr);if(T=="(")return w(Ke,se(")"),Ue(on,")"),le,Ge,ie);if(m&&D=="<")return w(se(">"),Ue(xn,">"),le,yr)}function gl(T,D){if(T=="keyword"||T=="variable")return O.marked="type",w(gl);if(D=="<")return w(se(">"),Ue(xn,">"),le)}function on(T,D){return D=="@"&&w(me,on),T=="spread"?w(on):m&&ue(D)?(O.marked="keyword",w(on)):m&&T=="this"?w(Xt,Ur):k(_t,Xt,Ur)}function Di(T,D){return T=="variable"?Fi(T,D):Dr(T,D)}function Fi(T,D){if(T=="variable")return W(D),w(Dr)}function Dr(T,D){if(D=="<")return w(se(">"),Ue(xn,">"),le,Dr);if(D=="extends"||D=="implements"||m&&T==",")return D=="implements"&&(O.marked="keyword"),w(m?ge:me,Dr);if(T=="{")return w(se("}"),Fr,le)}function Fr(T,D){if(T=="async"||T=="variable"&&(D=="static"||D=="get"||D=="set"||m&&ue(D))&&O.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return O.marked="keyword",w(Fr);if(T=="variable"||O.style=="keyword")return O.marked="property",w(br,Fr);if(T=="number"||T=="string")return w(br,Fr);if(T=="[")return w(me,Xt,be("]"),br,Fr);if(D=="*")return O.marked="keyword",w(Fr);if(m&&T=="(")return k(yr,Fr);if(T==";"||T==",")return w(Fr);if(T=="}")return w();if(D=="@")return w(me,Fr)}function br(T,D){if(D=="!"||D=="?")return w(br);if(T==":")return w(ge,Ur);if(D=="=")return w(Le);var fe=O.state.lexical.prev,ye=fe&&fe.info=="interface";return k(ye?yr:Ar)}function Bo(T,D){return D=="*"?(O.marked="keyword",w(cr,be(";"))):D=="default"?(O.marked="keyword",w(me,be(";"))):T=="{"?w(Ue(Wo,"}"),cr,be(";")):k(Ie)}function Wo(T,D){if(D=="as")return O.marked="keyword",w(be("variable"));if(T=="variable")return k(Le,Wo)}function bt(T){return T=="string"?w():T=="("?k(me):T=="."?k(oe):k(Ne,$r,cr)}function Ne(T,D){return T=="{"?xt(Ne,"}"):(T=="variable"&&W(D),D=="*"&&(O.marked="keyword"),w(jo))}function $r(T){if(T==",")return w(Ne,$r)}function jo(T,D){if(D=="as")return O.marked="keyword",w(Ne)}function cr(T,D){if(D=="from")return O.marked="keyword",w(me)}function it(T){return T=="]"?w():k(Ue(Le,"]"))}function Vr(){return k(se("form"),_t,be("{"),se("}"),Ue(_n,"}"),le,le)}function _n(){return k(_t,Ur)}function Ko(T,D){return T.lastType=="operator"||T.lastType==","||E.test(D.charAt(0))||/[,.]/.test(D.charAt(0))}function pe(T,D,fe){return D.tokenize==N&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(D.lastType)||D.lastType=="quasi"&&/\{\s*$/.test(T.string.slice(0,T.pos-(fe||0)))}return{startState:function(T){var D={tokenize:N,lastType:"sof",cc:[],lexical:new te((T||0)-f,0,"block",!1),localVars:u.localVars,context:u.localVars&&new he(null,null,!1),indented:T||0};return u.globalVars&&typeof u.globalVars=="object"&&(D.globalVars=u.globalVars),D},token:function(T,D){if(T.sol()&&(D.lexical.hasOwnProperty("align")||(D.lexical.align=!1),D.indented=T.indentation(),U(T,D)),D.tokenize!=Q&&T.eatSpace())return null;var fe=D.tokenize(T,D);return L=="comment"?fe:(D.lastType=L=="operator"&&(F=="++"||F=="--")?"incdec":L,_(D,fe,L,F,T))},indent:function(T,D){if(T.tokenize==Q||T.tokenize==J)return i.Pass;if(T.tokenize!=N)return 0;var fe=D&&D.charAt(0),ye=T.lexical,$e;if(!/^\s*else\b/.test(D))for(var _e=T.cc.length-1;_e>=0;--_e){var Me=T.cc[_e];if(Me==le)ye=ye.prev;else if(Me!=hl&&Me!=ie)break}for(;(ye.type=="stat"||ye.type=="form")&&(fe=="}"||($e=T.cc[T.cc.length-1])&&($e==oe||$e==ae)&&!/^[,\.=+\-*:?[\(]/.test(D));)ye=ye.prev;c&&ye.type==")"&&ye.prev.type=="stat"&&(ye=ye.prev);var Ut=ye.type,Sr=fe==Ut;return Ut=="vardef"?ye.indented+(T.lastType=="operator"||T.lastType==","?ye.info.length+1:0):Ut=="form"&&fe=="{"?ye.indented:Ut=="form"?ye.indented+f:Ut=="stat"?ye.indented+(Ko(T,D)?c||f:0):ye.info=="switch"&&!Sr&&u.doubleIndentSwitch!=!1?ye.indented+(/^(?:case|default)\b/.test(D)?f:2*f):ye.align?ye.column+(Sr?0:1):ye.indented+(Sr?0:f)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:h?null:"/*",blockCommentEnd:h?null:"*/",blockCommentContinue:h?null:" * ",lineComment:h?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:h?"json":"javascript",jsonldMode:p,jsonMode:h,expressionAllowed:pe,skipExpression:function(T){_(T,"atom","atom","true",new i.StringStream("",2,null))}}}),i.registerHelper("wordChars","javascript",/[\w$]/),i.defineMIME("text/javascript","javascript"),i.defineMIME("text/ecmascript","javascript"),i.defineMIME("application/javascript","javascript"),i.defineMIME("application/x-javascript","javascript"),i.defineMIME("application/ecmascript","javascript"),i.defineMIME("application/json",{name:"javascript",json:!0}),i.defineMIME("application/x-json",{name:"javascript",json:!0}),i.defineMIME("application/manifest+json",{name:"javascript",json:!0}),i.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),i.defineMIME("text/typescript",{name:"javascript",typescript:!0}),i.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var S1={exports:{}};(function(t,r){(function(i){i(ki.exports)})(function(i){i.defineMode("css",function(te,ee){var _=ee.inline;ee.propertyKeywords||(ee=i.resolveMode("text/css"));var O=te.indentUnit,k=ee.tokenHooks,w=ee.documentTypes||{},j=ee.mediaTypes||{},W=ee.mediaFeatures||{},Y=ee.mediaValueKeywords||{},ue=ee.propertyKeywords||{},he=ee.nonStandardPropertyKeywords||{},je=ee.fontProperties||{},We=ee.counterDescriptors||{},Ke=ee.colorKeywords||{},Xe=ee.valueKeywords||{},ie=ee.allowNested,se=ee.lineComment,le=ee.supportsAtComponent===!0,be=te.highlightNonStandardPropertyKeywords!==!1,Ie,ke;function me(I,re){return Ie=re,I}function Le(I,re){var G=I.next();if(k[G]){var we=k[G](I,re);if(we!==!1)return we}if(G=="@")return I.eatWhile(/[\w\\\-]/),me("def",I.current());if(G=="="||(G=="~"||G=="|")&&I.eat("="))return me(null,"compare");if(G=='"'||G=="'")return re.tokenize=z(G),re.tokenize(I,re);if(G=="#")return I.eatWhile(/[\w\\\-]/),me("atom","hash");if(G=="!")return I.match(/^\s*\w*/),me("keyword","important");if(/\d/.test(G)||G=="."&&I.eat(/\d/))return I.eatWhile(/[\w.%]/),me("number","unit");if(G==="-"){if(/[\d.]/.test(I.peek()))return I.eatWhile(/[\w.%]/),me("number","unit");if(I.match(/^-[\w\\\-]*/))return I.eatWhile(/[\w\\\-]/),I.match(/^\s*:/,!1)?me("variable-2","variable-definition"):me("variable-2","variable");if(I.match(/^\w+-/))return me("meta","meta")}else return/[,+>*\/]/.test(G)?me(null,"select-op"):G=="."&&I.match(/^-?[_a-z][_a-z0-9-]*/i)?me("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(G)?me(null,G):I.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(I.current())&&(re.tokenize=$),me("variable callee","variable")):/[\w\\\-]/.test(G)?(I.eatWhile(/[\w\\\-]/),me("property","word")):me(null,null)}function z(I){return function(re,G){for(var we=!1,Re;(Re=re.next())!=null;){if(Re==I&&!we){I==")"&&re.backUp(1);break}we=!we&&Re=="\\"}return(Re==I||!we&&I!=")")&&(G.tokenize=null),me("string","string")}}function $(I,re){return I.next(),I.match(/^\s*[\"\')]/,!1)?re.tokenize=null:re.tokenize=z(")"),me(null,"(")}function Z(I,re,G){this.type=I,this.indent=re,this.prev=G}function oe(I,re,G,we){return I.context=new Z(G,re.indentation()+(we===!1?0:O),I.context),G}function ae(I){return I.context.prev&&(I.context=I.context.prev),I.context.type}function ve(I,re,G){return de[G.context.type](I,re,G)}function Ce(I,re,G,we){for(var Re=we||1;Re>0;Re--)G.context=G.context.prev;return ve(I,re,G)}function xe(I){var re=I.current().toLowerCase();Xe.hasOwnProperty(re)?ke="atom":Ke.hasOwnProperty(re)?ke="keyword":ke="variable"}var de={};return de.top=function(I,re,G){if(I=="{")return oe(G,re,"block");if(I=="}"&&G.context.prev)return ae(G);if(le&&/@component/i.test(I))return oe(G,re,"atComponentBlock");if(/^@(-moz-)?document$/i.test(I))return oe(G,re,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(I))return oe(G,re,"atBlock");if(/^@(font-face|counter-style)/i.test(I))return G.stateArg=I,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(I))return"keyframes";if(I&&I.charAt(0)=="@")return oe(G,re,"at");if(I=="hash")ke="builtin";else if(I=="word")ke="tag";else{if(I=="variable-definition")return"maybeprop";if(I=="interpolation")return oe(G,re,"interpolation");if(I==":")return"pseudo";if(ie&&I=="(")return oe(G,re,"parens")}return G.context.type},de.block=function(I,re,G){if(I=="word"){var we=re.current().toLowerCase();return ue.hasOwnProperty(we)?(ke="property","maybeprop"):he.hasOwnProperty(we)?(ke=be?"string-2":"property","maybeprop"):ie?(ke=re.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ke+=" error","maybeprop")}else return I=="meta"?"block":!ie&&(I=="hash"||I=="qualifier")?(ke="error","block"):de.top(I,re,G)},de.maybeprop=function(I,re,G){return I==":"?oe(G,re,"prop"):ve(I,re,G)},de.prop=function(I,re,G){if(I==";")return ae(G);if(I=="{"&&ie)return oe(G,re,"propBlock");if(I=="}"||I=="{")return Ce(I,re,G);if(I=="(")return oe(G,re,"parens");if(I=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(re.current()))ke+=" error";else if(I=="word")xe(re);else if(I=="interpolation")return oe(G,re,"interpolation");return"prop"},de.propBlock=function(I,re,G){return I=="}"?ae(G):I=="word"?(ke="property","maybeprop"):G.context.type},de.parens=function(I,re,G){return I=="{"||I=="}"?Ce(I,re,G):I==")"?ae(G):I=="("?oe(G,re,"parens"):I=="interpolation"?oe(G,re,"interpolation"):(I=="word"&&xe(re),"parens")},de.pseudo=function(I,re,G){return I=="meta"?"pseudo":I=="word"?(ke="variable-3",G.context.type):ve(I,re,G)},de.documentTypes=function(I,re,G){return I=="word"&&w.hasOwnProperty(re.current())?(ke="tag",G.context.type):de.atBlock(I,re,G)},de.atBlock=function(I,re,G){if(I=="(")return oe(G,re,"atBlock_parens");if(I=="}"||I==";")return Ce(I,re,G);if(I=="{")return ae(G)&&oe(G,re,ie?"block":"top");if(I=="interpolation")return oe(G,re,"interpolation");if(I=="word"){var we=re.current().toLowerCase();we=="only"||we=="not"||we=="and"||we=="or"?ke="keyword":j.hasOwnProperty(we)?ke="attribute":W.hasOwnProperty(we)?ke="property":Y.hasOwnProperty(we)?ke="keyword":ue.hasOwnProperty(we)?ke="property":he.hasOwnProperty(we)?ke=be?"string-2":"property":Xe.hasOwnProperty(we)?ke="atom":Ke.hasOwnProperty(we)?ke="keyword":ke="error"}return G.context.type},de.atComponentBlock=function(I,re,G){return I=="}"?Ce(I,re,G):I=="{"?ae(G)&&oe(G,re,ie?"block":"top",!1):(I=="word"&&(ke="error"),G.context.type)},de.atBlock_parens=function(I,re,G){return I==")"?ae(G):I=="{"||I=="}"?Ce(I,re,G,2):de.atBlock(I,re,G)},de.restricted_atBlock_before=function(I,re,G){return I=="{"?oe(G,re,"restricted_atBlock"):I=="word"&&G.stateArg=="@counter-style"?(ke="variable","restricted_atBlock_before"):ve(I,re,G)},de.restricted_atBlock=function(I,re,G){return I=="}"?(G.stateArg=null,ae(G)):I=="word"?(G.stateArg=="@font-face"&&!je.hasOwnProperty(re.current().toLowerCase())||G.stateArg=="@counter-style"&&!We.hasOwnProperty(re.current().toLowerCase())?ke="error":ke="property","maybeprop"):"restricted_atBlock"},de.keyframes=function(I,re,G){return I=="word"?(ke="variable","keyframes"):I=="{"?oe(G,re,"top"):ve(I,re,G)},de.at=function(I,re,G){return I==";"?ae(G):I=="{"||I=="}"?Ce(I,re,G):(I=="word"?ke="tag":I=="hash"&&(ke="builtin"),"at")},de.interpolation=function(I,re,G){return I=="}"?ae(G):I=="{"||I==";"?Ce(I,re,G):(I=="word"?ke="variable":I!="variable"&&I!="("&&I!=")"&&(ke="error"),"interpolation")},{startState:function(I){return{tokenize:null,state:_?"block":"top",stateArg:null,context:new Z(_?"block":"top",I||0,null)}},token:function(I,re){if(!re.tokenize&&I.eatSpace())return null;var G=(re.tokenize||Le)(I,re);return G&&typeof G=="object"&&(Ie=G[1],G=G[0]),ke=G,Ie!="comment"&&(re.state=de[re.state](Ie,I,re)),ke},indent:function(I,re){var G=I.context,we=re&&re.charAt(0),Re=G.indent;return G.type=="prop"&&(we=="}"||we==")")&&(G=G.prev),G.prev&&(we=="}"&&(G.type=="block"||G.type=="top"||G.type=="interpolation"||G.type=="restricted_atBlock")?(G=G.prev,Re=G.indent):(we==")"&&(G.type=="parens"||G.type=="atBlock_parens")||we=="{"&&(G.type=="at"||G.type=="atBlock"))&&(Re=Math.max(0,G.indent-O))),Re},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:se,fold:"brace"}});function o(te){for(var ee={},_=0;_<te.length;++_)ee[te[_].toLowerCase()]=!0;return ee}var u=["domain","regexp","url","url-prefix"],f=o(u),c=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],p=o(c),h=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],g=o(h),m=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],b=o(m),x=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],E=o(x),P=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],B=o(P),L=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],F=o(L),M=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],N=o(M),H=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],Q=o(H),J=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],K=o(J),U=u.concat(c).concat(h).concat(m).concat(x).concat(P).concat(H).concat(J);i.registerHelper("hintWords","css",U);function q(te,ee){for(var _=!1,O;(O=te.next())!=null;){if(_&&O=="/"){ee.tokenize=null;break}_=O=="*"}return["comment","comment"]}i.defineMIME("text/css",{documentTypes:f,mediaTypes:p,mediaFeatures:g,mediaValueKeywords:b,propertyKeywords:E,nonStandardPropertyKeywords:B,fontProperties:F,counterDescriptors:N,colorKeywords:Q,valueKeywords:K,tokenHooks:{"/":function(te,ee){return te.eat("*")?(ee.tokenize=q,q(te,ee)):!1}},name:"css"}),i.defineMIME("text/x-scss",{mediaTypes:p,mediaFeatures:g,mediaValueKeywords:b,propertyKeywords:E,nonStandardPropertyKeywords:B,colorKeywords:Q,valueKeywords:K,fontProperties:F,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(te,ee){return te.eat("/")?(te.skipToEnd(),["comment","comment"]):te.eat("*")?(ee.tokenize=q,q(te,ee)):["operator","operator"]},":":function(te){return te.match(/^\s*\{/,!1)?[null,null]:!1},$:function(te){return te.match(/^[\w-]+/),te.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(te){return te.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),i.defineMIME("text/x-less",{mediaTypes:p,mediaFeatures:g,mediaValueKeywords:b,propertyKeywords:E,nonStandardPropertyKeywords:B,colorKeywords:Q,valueKeywords:K,fontProperties:F,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(te,ee){return te.eat("/")?(te.skipToEnd(),["comment","comment"]):te.eat("*")?(ee.tokenize=q,q(te,ee)):["operator","operator"]},"@":function(te){return te.eat("{")?[null,"interpolation"]:te.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(te.eatWhile(/[\w\\\-]/),te.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),i.defineMIME("text/x-gss",{documentTypes:f,mediaTypes:p,mediaFeatures:g,propertyKeywords:E,nonStandardPropertyKeywords:B,fontProperties:F,counterDescriptors:N,colorKeywords:Q,valueKeywords:K,supportsAtComponent:!0,tokenHooks:{"/":function(te,ee){return te.eat("*")?(ee.tokenize=q,q(te,ee)):!1}},name:"css",helperType:"gss"})})})();var x1={exports:{}};(function(t,r){(function(i){i(ki.exports)})(function(i){var o={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},u={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};i.defineMode("xml",function(f,c){var p=f.indentUnit,h={},g=c.htmlMode?o:u;for(var m in g)h[m]=g[m];for(var m in c)h[m]=c[m];var b,x;function E(w,j){function W(he){return j.tokenize=he,he(w,j)}var Y=w.next();if(Y=="<")return w.eat("!")?w.eat("[")?w.match("CDATA[")?W(L("atom","]]>")):null:w.match("--")?W(L("comment","-->")):w.match("DOCTYPE",!0,!0)?(w.eatWhile(/[\w\._\-]/),W(F(1))):null:w.eat("?")?(w.eatWhile(/[\w\._\-]/),j.tokenize=L("meta","?>"),"meta"):(b=w.eat("/")?"closeTag":"openTag",j.tokenize=P,"tag bracket");if(Y=="&"){var ue;return w.eat("#")?w.eat("x")?ue=w.eatWhile(/[a-fA-F\d]/)&&w.eat(";"):ue=w.eatWhile(/[\d]/)&&w.eat(";"):ue=w.eatWhile(/[\w\.\-:]/)&&w.eat(";"),ue?"atom":"error"}else return w.eatWhile(/[^&<]/),null}E.isInText=!0;function P(w,j){var W=w.next();if(W==">"||W=="/"&&w.eat(">"))return j.tokenize=E,b=W==">"?"endTag":"selfcloseTag","tag bracket";if(W=="=")return b="equals",null;if(W=="<"){j.tokenize=E,j.state=J,j.tagName=j.tagStart=null;var Y=j.tokenize(w,j);return Y?Y+" tag error":"tag error"}else return/[\'\"]/.test(W)?(j.tokenize=B(W),j.stringStartCol=w.column(),j.tokenize(w,j)):(w.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function B(w){var j=function(W,Y){for(;!W.eol();)if(W.next()==w){Y.tokenize=P;break}return"string"};return j.isInAttribute=!0,j}function L(w,j){return function(W,Y){for(;!W.eol();){if(W.match(j)){Y.tokenize=E;break}W.next()}return w}}function F(w){return function(j,W){for(var Y;(Y=j.next())!=null;){if(Y=="<")return W.tokenize=F(w+1),W.tokenize(j,W);if(Y==">")if(w==1){W.tokenize=E;break}else return W.tokenize=F(w-1),W.tokenize(j,W)}return"meta"}}function M(w){return w&&w.toLowerCase()}function N(w,j,W){this.prev=w.context,this.tagName=j||"",this.indent=w.indented,this.startOfLine=W,(h.doNotIndent.hasOwnProperty(j)||w.context&&w.context.noIndent)&&(this.noIndent=!0)}function H(w){w.context&&(w.context=w.context.prev)}function Q(w,j){for(var W;;){if(!w.context||(W=w.context.tagName,!h.contextGrabbers.hasOwnProperty(M(W))||!h.contextGrabbers[M(W)].hasOwnProperty(M(j))))return;H(w)}}function J(w,j,W){return w=="openTag"?(W.tagStart=j.column(),K):w=="closeTag"?U:J}function K(w,j,W){return w=="word"?(W.tagName=j.current(),x="tag",ee):h.allowMissingTagName&&w=="endTag"?(x="tag bracket",ee(w,j,W)):(x="error",K)}function U(w,j,W){if(w=="word"){var Y=j.current();return W.context&&W.context.tagName!=Y&&h.implicitlyClosed.hasOwnProperty(M(W.context.tagName))&&H(W),W.context&&W.context.tagName==Y||h.matchClosing===!1?(x="tag",q):(x="tag error",te)}else return h.allowMissingTagName&&w=="endTag"?(x="tag bracket",q(w,j,W)):(x="error",te)}function q(w,j,W){return w!="endTag"?(x="error",q):(H(W),J)}function te(w,j,W){return x="error",q(w,j,W)}function ee(w,j,W){if(w=="word")return x="attribute",_;if(w=="endTag"||w=="selfcloseTag"){var Y=W.tagName,ue=W.tagStart;return W.tagName=W.tagStart=null,w=="selfcloseTag"||h.autoSelfClosers.hasOwnProperty(M(Y))?Q(W,Y):(Q(W,Y),W.context=new N(W,Y,ue==W.indented)),J}return x="error",ee}function _(w,j,W){return w=="equals"?O:(h.allowMissing||(x="error"),ee(w,j,W))}function O(w,j,W){return w=="string"?k:w=="word"&&h.allowUnquoted?(x="string",ee):(x="error",ee(w,j,W))}function k(w,j,W){return w=="string"?k:ee(w,j,W)}return{startState:function(w){var j={tokenize:E,state:J,indented:w||0,tagName:null,tagStart:null,context:null};return w!=null&&(j.baseIndent=w),j},token:function(w,j){if(!j.tagName&&w.sol()&&(j.indented=w.indentation()),w.eatSpace())return null;b=null;var W=j.tokenize(w,j);return(W||b)&&W!="comment"&&(x=null,j.state=j.state(b||W,w,j),x&&(W=x=="error"?W+" error":x)),W},indent:function(w,j,W){var Y=w.context;if(w.tokenize.isInAttribute)return w.tagStart==w.indented?w.stringStartCol+1:w.indented+p;if(Y&&Y.noIndent)return i.Pass;if(w.tokenize!=P&&w.tokenize!=E)return W?W.match(/^(\s*)/)[0].length:0;if(w.tagName)return h.multilineTagIndentPastTag!==!1?w.tagStart+w.tagName.length+2:w.tagStart+p*(h.multilineTagIndentFactor||1);if(h.alignCDATA&&/<!\[CDATA\[/.test(j))return 0;var ue=j&&/^<(\/)?([\w_:\.-]*)/.exec(j);if(ue&&ue[1])for(;Y;)if(Y.tagName==ue[2]){Y=Y.prev;break}else if(h.implicitlyClosed.hasOwnProperty(M(Y.tagName)))Y=Y.prev;else break;else if(ue)for(;Y;){var he=h.contextGrabbers[M(Y.tagName)];if(he&&he.hasOwnProperty(M(ue[2])))Y=Y.prev;else break}for(;Y&&Y.prev&&!Y.startOfLine;)Y=Y.prev;return Y?Y.indent+p:w.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:h.htmlMode?"html":"xml",helperType:h.htmlMode?"html":"xml",skipAttribute:function(w){w.state==O&&(w.state=ee)},xmlCurrentTag:function(w){return w.tagName?{name:w.tagName,close:w.type=="closeTag"}:null},xmlCurrentContext:function(w){for(var j=[],W=w.context;W;W=W.prev)j.push(W.tagName);return j.reverse()}}}),i.defineMIME("text/xml","xml"),i.defineMIME("application/xml","xml"),i.mimeModes.hasOwnProperty("text/html")||i.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(t,r){(function(i){i(ki.exports,x1.exports,b1.exports,S1.exports)})(function(i){var o={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function u(b,x,E){var P=b.current(),B=P.search(x);return B>-1?b.backUp(P.length-B):P.match(/<\/?$/)&&(b.backUp(P.length),b.match(x,!1)||b.match(P)),E}var f={};function c(b){var x=f[b];return x||(f[b]=new RegExp("\\s+"+b+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function p(b,x){var E=b.match(c(x));return E?/^\s*(.*?)\s*$/.exec(E[2])[1]:""}function h(b,x){return new RegExp((x?"^":"")+"</s*"+b+"s*>","i")}function g(b,x){for(var E in b)for(var P=x[E]||(x[E]=[]),B=b[E],L=B.length-1;L>=0;L--)P.unshift(B[L])}function m(b,x){for(var E=0;E<b.length;E++){var P=b[E];if(!P[0]||P[1].test(p(x,P[0])))return P[2]}}i.defineMode("htmlmixed",function(b,x){var E=i.getMode(b,{name:"xml",htmlMode:!0,multilineTagIndentFactor:x.multilineTagIndentFactor,multilineTagIndentPastTag:x.multilineTagIndentPastTag,allowMissingTagName:x.allowMissingTagName}),P={},B=x&&x.tags,L=x&&x.scriptTypes;if(g(o,P),B&&g(B,P),L)for(var F=L.length-1;F>=0;F--)P.script.unshift(["type",L[F].matches,L[F].mode]);function M(N,H){var Q=E.token(N,H.htmlState),J=/\btag\b/.test(Q),K;if(J&&!/[<>\s\/]/.test(N.current())&&(K=H.htmlState.tagName&&H.htmlState.tagName.toLowerCase())&&P.hasOwnProperty(K))H.inTag=K+" ";else if(H.inTag&&J&&/>$/.test(N.current())){var U=/^([\S]+) (.*)/.exec(H.inTag);H.inTag=null;var q=N.current()==">"&&m(P[U[1]],U[2]),te=i.getMode(b,q),ee=h(U[1],!0),_=h(U[1],!1);H.token=function(O,k){return O.match(ee,!1)?(k.token=M,k.localState=k.localMode=null,null):u(O,_,k.localMode.token(O,k.localState))},H.localMode=te,H.localState=i.startState(te,E.indent(H.htmlState,"",""))}else H.inTag&&(H.inTag+=N.current(),N.eol()&&(H.inTag+=" "));return Q}return{startState:function(){var N=i.startState(E);return{token:M,inTag:null,localMode:null,localState:null,htmlState:N}},copyState:function(N){var H;return N.localState&&(H=i.copyState(N.localMode,N.localState)),{token:N.token,inTag:N.inTag,localMode:N.localMode,localState:H,htmlState:i.copyState(E,N.htmlState)}},token:function(N,H){return H.token(N,H)},indent:function(N,H,Q){return!N.localMode||/^\s*<\//.test(H)?E.indent(N.htmlState,H,Q):N.localMode.indent?N.localMode.indent(N.localState,H,Q):i.Pass},innerMode:function(N){return{state:N.localState||N.htmlState,mode:N.localMode||E}}}},"xml","javascript","css"),i.defineMIME("text/html","htmlmixed")})})();(function(t,r){(function(i){i(ki.exports)})(function(i){i.defineOption("placeholder","",function(g,m,b){var x=b&&b!=i.Init;if(m&&!x)g.on("blur",c),g.on("change",p),g.on("swapDoc",p),i.on(g.getInputField(),"compositionupdate",g.state.placeholderCompose=function(){f(g)}),p(g);else if(!m&&x){g.off("blur",c),g.off("change",p),g.off("swapDoc",p),i.off(g.getInputField(),"compositionupdate",g.state.placeholderCompose),o(g);var E=g.getWrapperElement();E.className=E.className.replace(" CodeMirror-empty","")}m&&!g.hasFocus()&&c(g)});function o(g){g.state.placeholder&&(g.state.placeholder.parentNode.removeChild(g.state.placeholder),g.state.placeholder=null)}function u(g){o(g);var m=g.state.placeholder=document.createElement("pre");m.style.cssText="height: 0; overflow: visible",m.style.direction=g.getOption("direction"),m.className="CodeMirror-placeholder CodeMirror-line-like";var b=g.getOption("placeholder");typeof b=="string"&&(b=document.createTextNode(b)),m.appendChild(b),g.display.lineSpace.insertBefore(m,g.display.lineSpace.firstChild)}function f(g){setTimeout(function(){var m=!1;if(g.lineCount()==1){var b=g.getInputField();m=b.nodeName=="TEXTAREA"?!g.getLine(0).length:!/[^\u200b]/.test(b.querySelector(".CodeMirror-line").textContent)}m?u(g):o(g)},20)}function c(g){h(g)&&u(g)}function p(g){var m=g.getWrapperElement(),b=h(g);m.className=m.className.replace(" CodeMirror-empty","")+(b?" CodeMirror-empty":""),b?u(g):o(g)}function h(g){return g.lineCount()===1&&g.getLine(0)===""}})})();/*!
28
+ outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var R;m&&(R=window.scrollY),s.input.focus(),m&&window.scrollTo(null,R),s.input.reset(),l.somethingSelected()||(a.value=n.prevInput=" "),n.contextMenuPending=V,s.selForContextMenu=l.doc.sel,clearTimeout(s.detectingSelectAll);function X(){if(a.selectionStart!=null){var ce=l.somethingSelected(),Se="\u200B"+(ce?a.value:"");a.value="\u21DA",a.value=Se,n.prevInput=ce?"":"\u200B",a.selectionStart=1,a.selectionEnd=Se.length,s.selForContextMenu=l.doc.sel}}function V(){if(n.contextMenuPending==V&&(n.contextMenuPending=!1,n.wrapper.style.cssText=C,a.style.cssText=S,h&&g<9&&s.scrollbars.setScrollTop(s.scroller.scrollTop=v),a.selectionStart!=null)){(!h||h&&g<9)&&X();var ce=0,Se=function(){s.selForContextMenu==l.doc.sel&&a.selectionStart==0&&a.selectionEnd>0&&n.prevInput=="\u200B"?Nt(l,kh)(l):ce++<10?s.detectingSelectAll=setTimeout(Se,500):(s.selForContextMenu=null,s.input.reset())};s.detectingSelectAll=setTimeout(Se,200)}}if(h&&g>=9&&X(),q){qn(e);var ne=function(){Oe(window,"mouseup",ne),setTimeout(V,20)};Fe(window,"mouseup",ne)}else setTimeout(V,50)},wt.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled=e=="nocursor",this.textarea.readOnly=!!e},wt.prototype.setUneditable=function(){},wt.prototype.needsContentAttribute=!1;function mb(e,n){if(n=n?Ke(n):{},n.value=e.value,!n.tabindex&&e.tabIndex&&(n.tabindex=e.tabIndex),!n.placeholder&&e.placeholder&&(n.placeholder=e.placeholder),n.autofocus==null){var l=Y();n.autofocus=l==e||e.getAttribute("autofocus")!=null&&l==document.body}function s(){e.value=y.getValue()}var a;if(e.form&&(Fe(e.form,"submit",s),!n.leaveSubmitMethodAlone)){var d=e.form;a=d.submit;try{var v=d.submit=function(){s(),d.submit=a,d.submit(),d.submit=v}}catch{}}n.finishInit=function(S){S.save=s,S.getTextArea=function(){return e},S.toTextArea=function(){S.toTextArea=isNaN,s(),e.parentNode.removeChild(S.getWrapperElement()),e.style.display="",e.form&&(Oe(e.form,"submit",s),!n.leaveSubmitMethodAlone&&typeof e.form.submit=="function"&&(e.form.submit=a))}},e.style.display="none";var y=ht(function(S){return e.parentNode.insertBefore(S,e.nextSibling)},n);return y}function yb(e){e.off=Oe,e.on=Fe,e.wheelEventPixels=E0,e.Doc=tr,e.splitLines=Ho,e.countColumn=Xe,e.findColumn=Le,e.isWordChar=de,e.Pass=be,e.signal=ge,e.Line=Hi,e.changeEnd=kn,e.scrollbarModel=nh,e.Pos=pe,e.cmpPos=T,e.modes=Ar,e.mimeModes=yr,e.resolveMode=Di,e.getMode=Fi,e.modeExtensions=Dr,e.extendMode=Fr,e.copyState=br,e.startState=jo,e.innerMode=Wo,e.commands=ds,e.keyMap=fn,e.keyName=Uh,e.isModifierKey=jh,e.lookupKey=Qi,e.normalizeKeyMap=Y0,e.StringStream=bt,e.SharedTextMarker=us,e.TextMarker=Mn,e.LineWidget=as,e.e_preventDefault=At,e.e_stopPropagation=Rr,e.e_stop=qn,e.addClass=ue,e.contains=W,e.rmClass=ee,e.keyNames=An}ub(ht),hb(ht);var bb="iter insert remove copy getEditor constructor".split(" ");for(var Vl in tr.prototype)tr.prototype.hasOwnProperty(Vl)&&se(bb,Vl)<0&&(ht.prototype[Vl]=function(e){return function(){return e.apply(this.doc,arguments)}}(tr.prototype[Vl]));return fr(tr),ht.inputStyles={textarea:wt,contenteditable:ut},ht.defineMode=function(e){!ht.defaults.mode&&e!="null"&&(ht.defaults.mode=e),vl.apply(this,arguments)},ht.defineMIME=on,ht.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),ht.defineMIME("text/plain","null"),ht.defineExtension=function(e,n){ht.prototype[e]=n},ht.defineDocExtension=function(e,n){tr.prototype[e]=n},ht.fromTextArea=mb,yb(ht),ht.version="5.64.0",ht})})(ki);var SE=ki.exports,x1={exports:{}};(function(t,r){(function(i){i(ki.exports)})(function(i){i.defineMode("javascript",function(o,u){var f=o.indentUnit,c=u.statementIndent,p=u.jsonld,h=u.json||p,g=u.trackScope!==!1,m=u.typescript,b=u.wordCharacters||/[\w$\xa1-\uffff]/,x=function(){function T(Ut){return{type:Ut,style:"keyword"}}var D=T("keyword a"),fe=T("keyword b"),ye=T("keyword c"),$e=T("keyword d"),_e=T("operator"),Me={type:"atom",style:"atom"};return{if:T("if"),while:D,with:D,else:fe,do:fe,try:fe,finally:fe,return:$e,break:$e,continue:$e,new:T("new"),delete:ye,void:ye,throw:ye,debugger:T("debugger"),var:T("var"),const:T("var"),let:T("var"),function:T("function"),catch:T("catch"),for:T("for"),switch:T("switch"),case:T("case"),default:T("default"),in:_e,typeof:_e,instanceof:_e,true:Me,false:Me,null:Me,undefined:Me,NaN:Me,Infinity:Me,this:T("this"),class:T("class"),super:T("atom"),yield:ye,export:T("export"),import:T("import"),extends:ye,await:ye}}(),E=/[+\-*&%=<>!?|~^@]/,P=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function B(T){for(var D=!1,fe,ye=!1;(fe=T.next())!=null;){if(!D){if(fe=="/"&&!ye)return;fe=="["?ye=!0:ye&&fe=="]"&&(ye=!1)}D=!D&&fe=="\\"}}var L,F;function M(T,D,fe){return L=T,F=fe,D}function N(T,D){var fe=T.next();if(fe=='"'||fe=="'")return D.tokenize=H(fe),D.tokenize(T,D);if(fe=="."&&T.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return M("number","number");if(fe=="."&&T.match(".."))return M("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(fe))return M(fe);if(fe=="="&&T.eat(">"))return M("=>","operator");if(fe=="0"&&T.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return M("number","number");if(/\d/.test(fe))return T.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),M("number","number");if(fe=="/")return T.eat("*")?(D.tokenize=Q,Q(T,D)):T.eat("/")?(T.skipToEnd(),M("comment","comment")):pe(T,D,1)?(B(T),T.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),M("regexp","string-2")):(T.eat("="),M("operator","operator",T.current()));if(fe=="`")return D.tokenize=J,J(T,D);if(fe=="#"&&T.peek()=="!")return T.skipToEnd(),M("meta","meta");if(fe=="#"&&T.eatWhile(b))return M("variable","property");if(fe=="<"&&T.match("!--")||fe=="-"&&T.match("->")&&!/\S/.test(T.string.slice(0,T.start)))return T.skipToEnd(),M("comment","comment");if(E.test(fe))return(fe!=">"||!D.lexical||D.lexical.type!=">")&&(T.eat("=")?(fe=="!"||fe=="=")&&T.eat("="):/[<>*+\-|&?]/.test(fe)&&(T.eat(fe),fe==">"&&T.eat(fe))),fe=="?"&&T.eat(".")?M("."):M("operator","operator",T.current());if(b.test(fe)){T.eatWhile(b);var ye=T.current();if(D.lastType!="."){if(x.propertyIsEnumerable(ye)){var $e=x[ye];return M($e.type,$e.style,ye)}if(ye=="async"&&T.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return M("async","keyword",ye)}return M("variable","variable",ye)}}function H(T){return function(D,fe){var ye=!1,$e;if(p&&D.peek()=="@"&&D.match(P))return fe.tokenize=N,M("jsonld-keyword","meta");for(;($e=D.next())!=null&&!($e==T&&!ye);)ye=!ye&&$e=="\\";return ye||(fe.tokenize=N),M("string","string")}}function Q(T,D){for(var fe=!1,ye;ye=T.next();){if(ye=="/"&&fe){D.tokenize=N;break}fe=ye=="*"}return M("comment","comment")}function J(T,D){for(var fe=!1,ye;(ye=T.next())!=null;){if(!fe&&(ye=="`"||ye=="$"&&T.eat("{"))){D.tokenize=N;break}fe=!fe&&ye=="\\"}return M("quasi","string-2",T.current())}var K="([{}])";function U(T,D){D.fatArrowAt&&(D.fatArrowAt=null);var fe=T.string.indexOf("=>",T.start);if(!(fe<0)){if(m){var ye=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(T.string.slice(T.start,fe));ye&&(fe=ye.index)}for(var $e=0,_e=!1,Me=fe-1;Me>=0;--Me){var Ut=T.string.charAt(Me),Sr=K.indexOf(Ut);if(Sr>=0&&Sr<3){if(!$e){++Me;break}if(--$e==0){Ut=="("&&(_e=!0);break}}else if(Sr>=3&&Sr<6)++$e;else if(b.test(Ut))_e=!0;else if(/["'\/`]/.test(Ut))for(;;--Me){if(Me==0)return;var zi=T.string.charAt(Me-1);if(zi==Ut&&T.string.charAt(Me-2)!="\\"){Me--;break}}else if(_e&&!$e){++Me;break}}_e&&!$e&&(D.fatArrowAt=Me)}}var q={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function te(T,D,fe,ye,$e,_e){this.indented=T,this.column=D,this.type=fe,this.prev=$e,this.info=_e,ye!=null&&(this.align=ye)}function ee(T,D){if(!g)return!1;for(var fe=T.localVars;fe;fe=fe.next)if(fe.name==D)return!0;for(var ye=T.context;ye;ye=ye.prev)for(var fe=ye.vars;fe;fe=fe.next)if(fe.name==D)return!0}function _(T,D,fe,ye,$e){var _e=T.cc;for(O.state=T,O.stream=$e,O.marked=null,O.cc=_e,O.style=D,T.lexical.hasOwnProperty("align")||(T.lexical.align=!0);;){var Me=_e.length?_e.pop():h?me:Ie;if(Me(fe,ye)){for(;_e.length&&_e[_e.length-1].lex;)_e.pop()();return O.marked?O.marked:fe=="variable"&&ee(T,ye)?"variable-2":D}}}var O={state:null,column:null,marked:null,cc:null};function k(){for(var T=arguments.length-1;T>=0;T--)O.cc.push(arguments[T])}function w(){return k.apply(null,arguments),!0}function j(T,D){for(var fe=D;fe;fe=fe.next)if(fe.name==T)return!0;return!1}function W(T){var D=O.state;if(O.marked="def",!!g){if(D.context){if(D.lexical.info=="var"&&D.context&&D.context.block){var fe=Y(T,D.context);if(fe!=null){D.context=fe;return}}else if(!j(T,D.localVars)){D.localVars=new je(T,D.localVars);return}}u.globalVars&&!j(T,D.globalVars)&&(D.globalVars=new je(T,D.globalVars))}}function Y(T,D){if(D)if(D.block){var fe=Y(T,D.prev);return fe?fe==D.prev?D:new he(fe,D.vars,!0):null}else return j(T,D.vars)?D:new he(D.prev,new je(T,D.vars),!1);else return null}function ue(T){return T=="public"||T=="private"||T=="protected"||T=="abstract"||T=="readonly"}function he(T,D,fe){this.prev=T,this.vars=D,this.block=fe}function je(T,D){this.name=T,this.next=D}var We=new je("this",new je("arguments",null));function Ke(){O.state.context=new he(O.state.context,O.state.localVars,!1),O.state.localVars=We}function Xe(){O.state.context=new he(O.state.context,O.state.localVars,!0),O.state.localVars=null}function ie(){O.state.localVars=O.state.context.vars,O.state.context=O.state.context.prev}ie.lex=!0;function se(T,D){var fe=function(){var ye=O.state,$e=ye.indented;if(ye.lexical.type=="stat")$e=ye.lexical.indented;else for(var _e=ye.lexical;_e&&_e.type==")"&&_e.align;_e=_e.prev)$e=_e.indented;ye.lexical=new te($e,O.stream.column(),T,null,ye.lexical,D)};return fe.lex=!0,fe}function le(){var T=O.state;T.lexical.prev&&(T.lexical.type==")"&&(T.indented=T.lexical.indented),T.lexical=T.lexical.prev)}le.lex=!0;function be(T){function D(fe){return fe==T?w():T==";"||fe=="}"||fe==")"||fe=="]"?k():w(D)}return D}function Ie(T,D){return T=="var"?w(se("vardef",D),Fo,be(";"),le):T=="keyword a"?w(se("form"),z,Ie,le):T=="keyword b"?w(se("form"),Ie,le):T=="keyword d"?O.stream.match(/^\s*$/,!1)?w():w(se("stat"),Z,be(";"),le):T=="debugger"?w(be(";")):T=="{"?w(se("}"),Xe,vt,le,ie):T==";"?w():T=="if"?(O.state.lexical.info=="else"&&O.state.cc[O.state.cc.length-1]==le&&O.state.cc.pop()(),w(se("form"),z,Ie,le,pl)):T=="function"?w(Ar):T=="for"?w(se("form"),Xe,gl,Ie,ie,le):T=="class"||m&&D=="interface"?(O.marked="keyword",w(se("form",T=="class"?T:D),Fi,le)):T=="variable"?m&&D=="declare"?(O.marked="keyword",w(Ie)):m&&(D=="module"||D=="enum"||D=="type")&&O.stream.match(/^\s*\w/,!1)?(O.marked="keyword",D=="enum"?w(Vr):D=="type"?w(vl,be("operator"),ge,be(";")):w(se("form"),_t,be("{"),se("}"),vt,le,le)):m&&D=="namespace"?(O.marked="keyword",w(se("form"),me,Ie,le)):m&&D=="abstract"?(O.marked="keyword",w(Ie)):w(se("stat"),we):T=="switch"?w(se("form"),z,be("{"),se("}","switch"),Xe,vt,le,le,ie):T=="case"?w(me,be(":")):T=="default"?w(be(":")):T=="catch"?w(se("form"),Ke,ke,Ie,le,ie):T=="export"?w(se("stat"),Wo,le):T=="import"?w(se("stat"),bt,le):T=="async"?w(Ie):D=="@"?w(me,Ie):k(se("stat"),me,be(";"),le)}function ke(T){if(T=="(")return w(on,be(")"))}function me(T,D){return $(T,D,!1)}function Le(T,D){return $(T,D,!0)}function z(T){return T!="("?k():w(se(")"),Z,be(")"),le)}function $(T,D,fe){if(O.state.fatArrowAt==O.stream.start){var ye=fe?de:xe;if(T=="(")return w(Ke,se(")"),Ue(on,")"),le,be("=>"),ye,ie);if(T=="variable")return k(Ke,_t,be("=>"),ye,ie)}var $e=fe?ae:oe;return q.hasOwnProperty(T)?w($e):T=="function"?w(Ar,$e):T=="class"||m&&D=="interface"?(O.marked="keyword",w(se("form"),Di,le)):T=="keyword c"||T=="async"?w(fe?Le:me):T=="("?w(se(")"),Z,be(")"),le,$e):T=="operator"||T=="spread"?w(fe?Le:me):T=="["?w(se("]"),it,le,$e):T=="{"?xt(Ve,"}",null,$e):T=="quasi"?k(ve,$e):T=="new"?w(I(fe)):w()}function Z(T){return T.match(/[;\}\)\],]/)?k():k(me)}function oe(T,D){return T==","?w(Z):ae(T,D,!1)}function ae(T,D,fe){var ye=fe==!1?oe:ae,$e=fe==!1?me:Le;if(T=="=>")return w(Ke,fe?de:xe,ie);if(T=="operator")return/\+\+|--/.test(D)||m&&D=="!"?w(ye):m&&D=="<"&&O.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?w(se(">"),Ue(ge,">"),le,ye):D=="?"?w(me,be(":"),$e):w($e);if(T=="quasi")return k(ve,ye);if(T!=";"){if(T=="(")return xt(Le,")","call",ye);if(T==".")return w(Re,ye);if(T=="[")return w(se("]"),Z,be("]"),le,ye);if(m&&D=="as")return O.marked="keyword",w(ge,ye);if(T=="regexp")return O.state.lastType=O.marked="operator",O.stream.backUp(O.stream.pos-O.stream.start-1),w($e)}}function ve(T,D){return T!="quasi"?k():D.slice(D.length-2)!="${"?w(ve):w(Z,Ce)}function Ce(T){if(T=="}")return O.marked="string-2",O.state.tokenize=J,w(ve)}function xe(T){return U(O.stream,O.state),k(T=="{"?Ie:me)}function de(T){return U(O.stream,O.state),k(T=="{"?Ie:Le)}function I(T){return function(D){return D=="."?w(T?G:re):D=="variable"&&m?w(qn,T?ae:oe):k(T?Le:me)}}function re(T,D){if(D=="target")return O.marked="keyword",w(oe)}function G(T,D){if(D=="target")return O.marked="keyword",w(ae)}function we(T){return T==":"?w(le,Ie):k(oe,be(";"),le)}function Re(T){if(T=="variable")return O.marked="property",w()}function Ve(T,D){if(T=="async")return O.marked="property",w(Ve);if(T=="variable"||O.style=="keyword"){if(O.marked="property",D=="get"||D=="set")return w(at);var fe;return m&&O.state.fatArrowAt==O.stream.start&&(fe=O.stream.match(/^\s*:\s*/,!1))&&(O.state.fatArrowAt=O.stream.pos+fe[0].length),w(Je)}else{if(T=="number"||T=="string")return O.marked=p?"property":O.style+" property",w(Je);if(T=="jsonld-keyword")return w(Je);if(m&&ue(D))return O.marked="keyword",w(Ve);if(T=="[")return w(me,Xt,be("]"),Je);if(T=="spread")return w(Le,Je);if(D=="*")return O.marked="keyword",w(Ve);if(T==":")return k(Je)}}function at(T){return T!="variable"?k(Je):(O.marked="property",w(Ar))}function Je(T){if(T==":")return w(Le);if(T=="(")return k(Ar)}function Ue(T,D,fe){function ye($e,_e){if(fe?fe.indexOf($e)>-1:$e==","){var Me=O.state.lexical;return Me.info=="call"&&(Me.pos=(Me.pos||0)+1),w(function(Ut,Sr){return Ut==D||Sr==D?k():k(T)},ye)}return $e==D||_e==D?w():fe&&fe.indexOf(";")>-1?k(T):w(be(D))}return function($e,_e){return $e==D||_e==D?w():k(T,ye)}}function xt(T,D,fe){for(var ye=3;ye<arguments.length;ye++)O.cc.push(arguments[ye]);return w(se(D,fe),Ue(T,D),le)}function vt(T){return T=="}"?w():k(Ie,vt)}function Xt(T,D){if(m){if(T==":")return w(ge);if(D=="?")return w(Xt)}}function Fe(T,D){if(m&&(T==":"||D=="in"))return w(ge)}function Ge(T){if(m&&T==":")return O.stream.match(/^\s*\w+\s+is\b/,!1)?w(me,Oe,ge):w(ge)}function Oe(T,D){if(D=="is")return O.marked="keyword",w()}function ge(T,D){if(D=="keyof"||D=="typeof"||D=="infer"||D=="readonly")return O.marked="keyword",w(D=="typeof"?Le:ge);if(T=="variable"||D=="void")return O.marked="type",w(mr);if(D=="|"||D=="&")return w(ge);if(T=="string"||T=="number"||T=="atom")return w(mr);if(T=="[")return w(se("]"),Ue(ge,"]",","),le,mr);if(T=="{")return w(se("}"),et,le,mr);if(T=="(")return w(Ue(Rr,")"),He,mr);if(T=="<")return w(Ue(ge,">"),ge);if(T=="quasi")return k(fr,mr)}function He(T){if(T=="=>")return w(ge)}function et(T){return T.match(/[\}\)\]]/)?w():T==","||T==";"?w(et):k(rt,et)}function rt(T,D){if(T=="variable"||O.style=="keyword")return O.marked="property",w(rt);if(D=="?"||T=="number"||T=="string")return w(rt);if(T==":")return w(ge);if(T=="[")return w(be("variable"),Fe,be("]"),rt);if(T=="(")return k(yr,rt);if(!T.match(/[;\}\)\],]/))return w()}function fr(T,D){return T!="quasi"?k():D.slice(D.length-2)!="${"?w(fr):w(ge,At)}function At(T){if(T=="}")return O.marked="string-2",O.state.tokenize=J,w(fr)}function Rr(T,D){return T=="variable"&&O.stream.match(/^\s*[?:]/,!1)||D=="?"?w(Rr):T==":"?w(ge):T=="spread"?w(Rr):k(ge)}function mr(T,D){if(D=="<")return w(se(">"),Ue(ge,">"),le,mr);if(D=="|"||T=="."||D=="&")return w(ge);if(T=="[")return w(ge,be("]"),mr);if(D=="extends"||D=="implements")return O.marked="keyword",w(ge);if(D=="?")return w(ge,be(":"),ge)}function qn(T,D){if(D=="<")return w(se(">"),Ue(ge,">"),le,mr)}function xn(){return k(ge,dl)}function dl(T,D){if(D=="=")return w(ge)}function Fo(T,D){return D=="enum"?(O.marked="keyword",w(Vr)):k(_t,Xt,Ur,Ho)}function _t(T,D){if(m&&ue(D))return O.marked="keyword",w(_t);if(T=="variable")return W(D),w();if(T=="spread")return w(_t);if(T=="[")return xt(zo,"]");if(T=="{")return xt(hl,"}")}function hl(T,D){return T=="variable"&&!O.stream.match(/^\s*:/,!1)?(W(D),w(Ur)):(T=="variable"&&(O.marked="property"),T=="spread"?w(_t):T=="}"?k():T=="["?w(me,be("]"),be(":"),hl):w(be(":"),_t,Ur))}function zo(){return k(_t,Ur)}function Ur(T,D){if(D=="=")return w(Le)}function Ho(T){if(T==",")return w(Fo)}function pl(T,D){if(T=="keyword b"&&D=="else")return w(se("form","else"),Ie,le)}function gl(T,D){if(D=="await")return w(gl);if(T=="(")return w(se(")"),Bo,le)}function Bo(T){return T=="var"?w(Fo,wn):T=="variable"?w(wn):k(wn)}function wn(T,D){return T==")"?w():T==";"?w(wn):D=="in"||D=="of"?(O.marked="keyword",w(me,wn)):k(me,wn)}function Ar(T,D){if(D=="*")return O.marked="keyword",w(Ar);if(T=="variable")return W(D),w(Ar);if(T=="(")return w(Ke,se(")"),Ue(on,")"),le,Ge,Ie,ie);if(m&&D=="<")return w(se(">"),Ue(xn,">"),le,Ar)}function yr(T,D){if(D=="*")return O.marked="keyword",w(yr);if(T=="variable")return W(D),w(yr);if(T=="(")return w(Ke,se(")"),Ue(on,")"),le,Ge,ie);if(m&&D=="<")return w(se(">"),Ue(xn,">"),le,yr)}function vl(T,D){if(T=="keyword"||T=="variable")return O.marked="type",w(vl);if(D=="<")return w(se(">"),Ue(xn,">"),le)}function on(T,D){return D=="@"&&w(me,on),T=="spread"?w(on):m&&ue(D)?(O.marked="keyword",w(on)):m&&T=="this"?w(Xt,Ur):k(_t,Xt,Ur)}function Di(T,D){return T=="variable"?Fi(T,D):Dr(T,D)}function Fi(T,D){if(T=="variable")return W(D),w(Dr)}function Dr(T,D){if(D=="<")return w(se(">"),Ue(xn,">"),le,Dr);if(D=="extends"||D=="implements"||m&&T==",")return D=="implements"&&(O.marked="keyword"),w(m?ge:me,Dr);if(T=="{")return w(se("}"),Fr,le)}function Fr(T,D){if(T=="async"||T=="variable"&&(D=="static"||D=="get"||D=="set"||m&&ue(D))&&O.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return O.marked="keyword",w(Fr);if(T=="variable"||O.style=="keyword")return O.marked="property",w(br,Fr);if(T=="number"||T=="string")return w(br,Fr);if(T=="[")return w(me,Xt,be("]"),br,Fr);if(D=="*")return O.marked="keyword",w(Fr);if(m&&T=="(")return k(yr,Fr);if(T==";"||T==",")return w(Fr);if(T=="}")return w();if(D=="@")return w(me,Fr)}function br(T,D){if(D=="!"||D=="?")return w(br);if(T==":")return w(ge,Ur);if(D=="=")return w(Le);var fe=O.state.lexical.prev,ye=fe&&fe.info=="interface";return k(ye?yr:Ar)}function Wo(T,D){return D=="*"?(O.marked="keyword",w(cr,be(";"))):D=="default"?(O.marked="keyword",w(me,be(";"))):T=="{"?w(Ue(jo,"}"),cr,be(";")):k(Ie)}function jo(T,D){if(D=="as")return O.marked="keyword",w(be("variable"));if(T=="variable")return k(Le,jo)}function bt(T){return T=="string"?w():T=="("?k(me):T=="."?k(oe):k(Ne,$r,cr)}function Ne(T,D){return T=="{"?xt(Ne,"}"):(T=="variable"&&W(D),D=="*"&&(O.marked="keyword"),w(Ko))}function $r(T){if(T==",")return w(Ne,$r)}function Ko(T,D){if(D=="as")return O.marked="keyword",w(Ne)}function cr(T,D){if(D=="from")return O.marked="keyword",w(me)}function it(T){return T=="]"?w():k(Ue(Le,"]"))}function Vr(){return k(se("form"),_t,be("{"),se("}"),Ue(_n,"}"),le,le)}function _n(){return k(_t,Ur)}function Uo(T,D){return T.lastType=="operator"||T.lastType==","||E.test(D.charAt(0))||/[,.]/.test(D.charAt(0))}function pe(T,D,fe){return D.tokenize==N&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(D.lastType)||D.lastType=="quasi"&&/\{\s*$/.test(T.string.slice(0,T.pos-(fe||0)))}return{startState:function(T){var D={tokenize:N,lastType:"sof",cc:[],lexical:new te((T||0)-f,0,"block",!1),localVars:u.localVars,context:u.localVars&&new he(null,null,!1),indented:T||0};return u.globalVars&&typeof u.globalVars=="object"&&(D.globalVars=u.globalVars),D},token:function(T,D){if(T.sol()&&(D.lexical.hasOwnProperty("align")||(D.lexical.align=!1),D.indented=T.indentation(),U(T,D)),D.tokenize!=Q&&T.eatSpace())return null;var fe=D.tokenize(T,D);return L=="comment"?fe:(D.lastType=L=="operator"&&(F=="++"||F=="--")?"incdec":L,_(D,fe,L,F,T))},indent:function(T,D){if(T.tokenize==Q||T.tokenize==J)return i.Pass;if(T.tokenize!=N)return 0;var fe=D&&D.charAt(0),ye=T.lexical,$e;if(!/^\s*else\b/.test(D))for(var _e=T.cc.length-1;_e>=0;--_e){var Me=T.cc[_e];if(Me==le)ye=ye.prev;else if(Me!=pl&&Me!=ie)break}for(;(ye.type=="stat"||ye.type=="form")&&(fe=="}"||($e=T.cc[T.cc.length-1])&&($e==oe||$e==ae)&&!/^[,\.=+\-*:?[\(]/.test(D));)ye=ye.prev;c&&ye.type==")"&&ye.prev.type=="stat"&&(ye=ye.prev);var Ut=ye.type,Sr=fe==Ut;return Ut=="vardef"?ye.indented+(T.lastType=="operator"||T.lastType==","?ye.info.length+1:0):Ut=="form"&&fe=="{"?ye.indented:Ut=="form"?ye.indented+f:Ut=="stat"?ye.indented+(Uo(T,D)?c||f:0):ye.info=="switch"&&!Sr&&u.doubleIndentSwitch!=!1?ye.indented+(/^(?:case|default)\b/.test(D)?f:2*f):ye.align?ye.column+(Sr?0:1):ye.indented+(Sr?0:f)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:h?null:"/*",blockCommentEnd:h?null:"*/",blockCommentContinue:h?null:" * ",lineComment:h?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:h?"json":"javascript",jsonldMode:p,jsonMode:h,expressionAllowed:pe,skipExpression:function(T){_(T,"atom","atom","true",new i.StringStream("",2,null))}}}),i.registerHelper("wordChars","javascript",/[\w$]/),i.defineMIME("text/javascript","javascript"),i.defineMIME("text/ecmascript","javascript"),i.defineMIME("application/javascript","javascript"),i.defineMIME("application/x-javascript","javascript"),i.defineMIME("application/ecmascript","javascript"),i.defineMIME("application/json",{name:"javascript",json:!0}),i.defineMIME("application/x-json",{name:"javascript",json:!0}),i.defineMIME("application/manifest+json",{name:"javascript",json:!0}),i.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),i.defineMIME("text/typescript",{name:"javascript",typescript:!0}),i.defineMIME("application/typescript",{name:"javascript",typescript:!0})})})();var w1={exports:{}};(function(t,r){(function(i){i(ki.exports)})(function(i){i.defineMode("css",function(te,ee){var _=ee.inline;ee.propertyKeywords||(ee=i.resolveMode("text/css"));var O=te.indentUnit,k=ee.tokenHooks,w=ee.documentTypes||{},j=ee.mediaTypes||{},W=ee.mediaFeatures||{},Y=ee.mediaValueKeywords||{},ue=ee.propertyKeywords||{},he=ee.nonStandardPropertyKeywords||{},je=ee.fontProperties||{},We=ee.counterDescriptors||{},Ke=ee.colorKeywords||{},Xe=ee.valueKeywords||{},ie=ee.allowNested,se=ee.lineComment,le=ee.supportsAtComponent===!0,be=te.highlightNonStandardPropertyKeywords!==!1,Ie,ke;function me(I,re){return Ie=re,I}function Le(I,re){var G=I.next();if(k[G]){var we=k[G](I,re);if(we!==!1)return we}if(G=="@")return I.eatWhile(/[\w\\\-]/),me("def",I.current());if(G=="="||(G=="~"||G=="|")&&I.eat("="))return me(null,"compare");if(G=='"'||G=="'")return re.tokenize=z(G),re.tokenize(I,re);if(G=="#")return I.eatWhile(/[\w\\\-]/),me("atom","hash");if(G=="!")return I.match(/^\s*\w*/),me("keyword","important");if(/\d/.test(G)||G=="."&&I.eat(/\d/))return I.eatWhile(/[\w.%]/),me("number","unit");if(G==="-"){if(/[\d.]/.test(I.peek()))return I.eatWhile(/[\w.%]/),me("number","unit");if(I.match(/^-[\w\\\-]*/))return I.eatWhile(/[\w\\\-]/),I.match(/^\s*:/,!1)?me("variable-2","variable-definition"):me("variable-2","variable");if(I.match(/^\w+-/))return me("meta","meta")}else return/[,+>*\/]/.test(G)?me(null,"select-op"):G=="."&&I.match(/^-?[_a-z][_a-z0-9-]*/i)?me("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(G)?me(null,G):I.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(I.current())&&(re.tokenize=$),me("variable callee","variable")):/[\w\\\-]/.test(G)?(I.eatWhile(/[\w\\\-]/),me("property","word")):me(null,null)}function z(I){return function(re,G){for(var we=!1,Re;(Re=re.next())!=null;){if(Re==I&&!we){I==")"&&re.backUp(1);break}we=!we&&Re=="\\"}return(Re==I||!we&&I!=")")&&(G.tokenize=null),me("string","string")}}function $(I,re){return I.next(),I.match(/^\s*[\"\')]/,!1)?re.tokenize=null:re.tokenize=z(")"),me(null,"(")}function Z(I,re,G){this.type=I,this.indent=re,this.prev=G}function oe(I,re,G,we){return I.context=new Z(G,re.indentation()+(we===!1?0:O),I.context),G}function ae(I){return I.context.prev&&(I.context=I.context.prev),I.context.type}function ve(I,re,G){return de[G.context.type](I,re,G)}function Ce(I,re,G,we){for(var Re=we||1;Re>0;Re--)G.context=G.context.prev;return ve(I,re,G)}function xe(I){var re=I.current().toLowerCase();Xe.hasOwnProperty(re)?ke="atom":Ke.hasOwnProperty(re)?ke="keyword":ke="variable"}var de={};return de.top=function(I,re,G){if(I=="{")return oe(G,re,"block");if(I=="}"&&G.context.prev)return ae(G);if(le&&/@component/i.test(I))return oe(G,re,"atComponentBlock");if(/^@(-moz-)?document$/i.test(I))return oe(G,re,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(I))return oe(G,re,"atBlock");if(/^@(font-face|counter-style)/i.test(I))return G.stateArg=I,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(I))return"keyframes";if(I&&I.charAt(0)=="@")return oe(G,re,"at");if(I=="hash")ke="builtin";else if(I=="word")ke="tag";else{if(I=="variable-definition")return"maybeprop";if(I=="interpolation")return oe(G,re,"interpolation");if(I==":")return"pseudo";if(ie&&I=="(")return oe(G,re,"parens")}return G.context.type},de.block=function(I,re,G){if(I=="word"){var we=re.current().toLowerCase();return ue.hasOwnProperty(we)?(ke="property","maybeprop"):he.hasOwnProperty(we)?(ke=be?"string-2":"property","maybeprop"):ie?(ke=re.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(ke+=" error","maybeprop")}else return I=="meta"?"block":!ie&&(I=="hash"||I=="qualifier")?(ke="error","block"):de.top(I,re,G)},de.maybeprop=function(I,re,G){return I==":"?oe(G,re,"prop"):ve(I,re,G)},de.prop=function(I,re,G){if(I==";")return ae(G);if(I=="{"&&ie)return oe(G,re,"propBlock");if(I=="}"||I=="{")return Ce(I,re,G);if(I=="(")return oe(G,re,"parens");if(I=="hash"&&!/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(re.current()))ke+=" error";else if(I=="word")xe(re);else if(I=="interpolation")return oe(G,re,"interpolation");return"prop"},de.propBlock=function(I,re,G){return I=="}"?ae(G):I=="word"?(ke="property","maybeprop"):G.context.type},de.parens=function(I,re,G){return I=="{"||I=="}"?Ce(I,re,G):I==")"?ae(G):I=="("?oe(G,re,"parens"):I=="interpolation"?oe(G,re,"interpolation"):(I=="word"&&xe(re),"parens")},de.pseudo=function(I,re,G){return I=="meta"?"pseudo":I=="word"?(ke="variable-3",G.context.type):ve(I,re,G)},de.documentTypes=function(I,re,G){return I=="word"&&w.hasOwnProperty(re.current())?(ke="tag",G.context.type):de.atBlock(I,re,G)},de.atBlock=function(I,re,G){if(I=="(")return oe(G,re,"atBlock_parens");if(I=="}"||I==";")return Ce(I,re,G);if(I=="{")return ae(G)&&oe(G,re,ie?"block":"top");if(I=="interpolation")return oe(G,re,"interpolation");if(I=="word"){var we=re.current().toLowerCase();we=="only"||we=="not"||we=="and"||we=="or"?ke="keyword":j.hasOwnProperty(we)?ke="attribute":W.hasOwnProperty(we)?ke="property":Y.hasOwnProperty(we)?ke="keyword":ue.hasOwnProperty(we)?ke="property":he.hasOwnProperty(we)?ke=be?"string-2":"property":Xe.hasOwnProperty(we)?ke="atom":Ke.hasOwnProperty(we)?ke="keyword":ke="error"}return G.context.type},de.atComponentBlock=function(I,re,G){return I=="}"?Ce(I,re,G):I=="{"?ae(G)&&oe(G,re,ie?"block":"top",!1):(I=="word"&&(ke="error"),G.context.type)},de.atBlock_parens=function(I,re,G){return I==")"?ae(G):I=="{"||I=="}"?Ce(I,re,G,2):de.atBlock(I,re,G)},de.restricted_atBlock_before=function(I,re,G){return I=="{"?oe(G,re,"restricted_atBlock"):I=="word"&&G.stateArg=="@counter-style"?(ke="variable","restricted_atBlock_before"):ve(I,re,G)},de.restricted_atBlock=function(I,re,G){return I=="}"?(G.stateArg=null,ae(G)):I=="word"?(G.stateArg=="@font-face"&&!je.hasOwnProperty(re.current().toLowerCase())||G.stateArg=="@counter-style"&&!We.hasOwnProperty(re.current().toLowerCase())?ke="error":ke="property","maybeprop"):"restricted_atBlock"},de.keyframes=function(I,re,G){return I=="word"?(ke="variable","keyframes"):I=="{"?oe(G,re,"top"):ve(I,re,G)},de.at=function(I,re,G){return I==";"?ae(G):I=="{"||I=="}"?Ce(I,re,G):(I=="word"?ke="tag":I=="hash"&&(ke="builtin"),"at")},de.interpolation=function(I,re,G){return I=="}"?ae(G):I=="{"||I==";"?Ce(I,re,G):(I=="word"?ke="variable":I!="variable"&&I!="("&&I!=")"&&(ke="error"),"interpolation")},{startState:function(I){return{tokenize:null,state:_?"block":"top",stateArg:null,context:new Z(_?"block":"top",I||0,null)}},token:function(I,re){if(!re.tokenize&&I.eatSpace())return null;var G=(re.tokenize||Le)(I,re);return G&&typeof G=="object"&&(Ie=G[1],G=G[0]),ke=G,Ie!="comment"&&(re.state=de[re.state](Ie,I,re)),ke},indent:function(I,re){var G=I.context,we=re&&re.charAt(0),Re=G.indent;return G.type=="prop"&&(we=="}"||we==")")&&(G=G.prev),G.prev&&(we=="}"&&(G.type=="block"||G.type=="top"||G.type=="interpolation"||G.type=="restricted_atBlock")?(G=G.prev,Re=G.indent):(we==")"&&(G.type=="parens"||G.type=="atBlock_parens")||we=="{"&&(G.type=="at"||G.type=="atBlock"))&&(Re=Math.max(0,G.indent-O))),Re},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:se,fold:"brace"}});function o(te){for(var ee={},_=0;_<te.length;++_)ee[te[_].toLowerCase()]=!0;return ee}var u=["domain","regexp","url","url-prefix"],f=o(u),c=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],p=o(c),h=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover","prefers-color-scheme","dynamic-range","video-dynamic-range"],g=o(h),m=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive","dark","light","standard","high"],b=o(m),x=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","all","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","binding","bleed","block-size","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-content","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-height-step","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotate","rotation","rotation-point","row-gap","ruby-align","ruby-overhang","ruby-position","ruby-span","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-orientation","text-outline","text-overflow","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","paint-order","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],E=o(x),P=["accent-color","aspect-ratio","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","content-visibility","margin-block","margin-block-end","margin-block-start","margin-inline","margin-inline-end","margin-inline-start","overflow-anchor","overscroll-behavior","padding-block","padding-block-end","padding-block-start","padding-inline","padding-inline-end","padding-inline-start","scroll-snap-stop","scrollbar-3d-light-color","scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","shape-inside","zoom"],B=o(P),L=["font-display","font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],F=o(L),M=["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"],N=o(M),H=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],Q=o(H),J=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","blur","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","brightness","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","contrast","copy","counter","counters","cover","crop","cross","crosshair","cubic-bezier","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","drop-shadow","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","grayscale","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","hue-rotate","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","manipulation","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiple_mask_images","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturate","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","sepia","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],K=o(J),U=u.concat(c).concat(h).concat(m).concat(x).concat(P).concat(H).concat(J);i.registerHelper("hintWords","css",U);function q(te,ee){for(var _=!1,O;(O=te.next())!=null;){if(_&&O=="/"){ee.tokenize=null;break}_=O=="*"}return["comment","comment"]}i.defineMIME("text/css",{documentTypes:f,mediaTypes:p,mediaFeatures:g,mediaValueKeywords:b,propertyKeywords:E,nonStandardPropertyKeywords:B,fontProperties:F,counterDescriptors:N,colorKeywords:Q,valueKeywords:K,tokenHooks:{"/":function(te,ee){return te.eat("*")?(ee.tokenize=q,q(te,ee)):!1}},name:"css"}),i.defineMIME("text/x-scss",{mediaTypes:p,mediaFeatures:g,mediaValueKeywords:b,propertyKeywords:E,nonStandardPropertyKeywords:B,colorKeywords:Q,valueKeywords:K,fontProperties:F,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(te,ee){return te.eat("/")?(te.skipToEnd(),["comment","comment"]):te.eat("*")?(ee.tokenize=q,q(te,ee)):["operator","operator"]},":":function(te){return te.match(/^\s*\{/,!1)?[null,null]:!1},$:function(te){return te.match(/^[\w-]+/),te.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(te){return te.eat("{")?[null,"interpolation"]:!1}},name:"css",helperType:"scss"}),i.defineMIME("text/x-less",{mediaTypes:p,mediaFeatures:g,mediaValueKeywords:b,propertyKeywords:E,nonStandardPropertyKeywords:B,colorKeywords:Q,valueKeywords:K,fontProperties:F,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(te,ee){return te.eat("/")?(te.skipToEnd(),["comment","comment"]):te.eat("*")?(ee.tokenize=q,q(te,ee)):["operator","operator"]},"@":function(te){return te.eat("{")?[null,"interpolation"]:te.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)?!1:(te.eatWhile(/[\w\\\-]/),te.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),i.defineMIME("text/x-gss",{documentTypes:f,mediaTypes:p,mediaFeatures:g,propertyKeywords:E,nonStandardPropertyKeywords:B,fontProperties:F,counterDescriptors:N,colorKeywords:Q,valueKeywords:K,supportsAtComponent:!0,tokenHooks:{"/":function(te,ee){return te.eat("*")?(ee.tokenize=q,q(te,ee)):!1}},name:"css",helperType:"gss"})})})();var C1={exports:{}};(function(t,r){(function(i){i(ki.exports)})(function(i){var o={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},u={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};i.defineMode("xml",function(f,c){var p=f.indentUnit,h={},g=c.htmlMode?o:u;for(var m in g)h[m]=g[m];for(var m in c)h[m]=c[m];var b,x;function E(w,j){function W(he){return j.tokenize=he,he(w,j)}var Y=w.next();if(Y=="<")return w.eat("!")?w.eat("[")?w.match("CDATA[")?W(L("atom","]]>")):null:w.match("--")?W(L("comment","-->")):w.match("DOCTYPE",!0,!0)?(w.eatWhile(/[\w\._\-]/),W(F(1))):null:w.eat("?")?(w.eatWhile(/[\w\._\-]/),j.tokenize=L("meta","?>"),"meta"):(b=w.eat("/")?"closeTag":"openTag",j.tokenize=P,"tag bracket");if(Y=="&"){var ue;return w.eat("#")?w.eat("x")?ue=w.eatWhile(/[a-fA-F\d]/)&&w.eat(";"):ue=w.eatWhile(/[\d]/)&&w.eat(";"):ue=w.eatWhile(/[\w\.\-:]/)&&w.eat(";"),ue?"atom":"error"}else return w.eatWhile(/[^&<]/),null}E.isInText=!0;function P(w,j){var W=w.next();if(W==">"||W=="/"&&w.eat(">"))return j.tokenize=E,b=W==">"?"endTag":"selfcloseTag","tag bracket";if(W=="=")return b="equals",null;if(W=="<"){j.tokenize=E,j.state=J,j.tagName=j.tagStart=null;var Y=j.tokenize(w,j);return Y?Y+" tag error":"tag error"}else return/[\'\"]/.test(W)?(j.tokenize=B(W),j.stringStartCol=w.column(),j.tokenize(w,j)):(w.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function B(w){var j=function(W,Y){for(;!W.eol();)if(W.next()==w){Y.tokenize=P;break}return"string"};return j.isInAttribute=!0,j}function L(w,j){return function(W,Y){for(;!W.eol();){if(W.match(j)){Y.tokenize=E;break}W.next()}return w}}function F(w){return function(j,W){for(var Y;(Y=j.next())!=null;){if(Y=="<")return W.tokenize=F(w+1),W.tokenize(j,W);if(Y==">")if(w==1){W.tokenize=E;break}else return W.tokenize=F(w-1),W.tokenize(j,W)}return"meta"}}function M(w){return w&&w.toLowerCase()}function N(w,j,W){this.prev=w.context,this.tagName=j||"",this.indent=w.indented,this.startOfLine=W,(h.doNotIndent.hasOwnProperty(j)||w.context&&w.context.noIndent)&&(this.noIndent=!0)}function H(w){w.context&&(w.context=w.context.prev)}function Q(w,j){for(var W;;){if(!w.context||(W=w.context.tagName,!h.contextGrabbers.hasOwnProperty(M(W))||!h.contextGrabbers[M(W)].hasOwnProperty(M(j))))return;H(w)}}function J(w,j,W){return w=="openTag"?(W.tagStart=j.column(),K):w=="closeTag"?U:J}function K(w,j,W){return w=="word"?(W.tagName=j.current(),x="tag",ee):h.allowMissingTagName&&w=="endTag"?(x="tag bracket",ee(w,j,W)):(x="error",K)}function U(w,j,W){if(w=="word"){var Y=j.current();return W.context&&W.context.tagName!=Y&&h.implicitlyClosed.hasOwnProperty(M(W.context.tagName))&&H(W),W.context&&W.context.tagName==Y||h.matchClosing===!1?(x="tag",q):(x="tag error",te)}else return h.allowMissingTagName&&w=="endTag"?(x="tag bracket",q(w,j,W)):(x="error",te)}function q(w,j,W){return w!="endTag"?(x="error",q):(H(W),J)}function te(w,j,W){return x="error",q(w,j,W)}function ee(w,j,W){if(w=="word")return x="attribute",_;if(w=="endTag"||w=="selfcloseTag"){var Y=W.tagName,ue=W.tagStart;return W.tagName=W.tagStart=null,w=="selfcloseTag"||h.autoSelfClosers.hasOwnProperty(M(Y))?Q(W,Y):(Q(W,Y),W.context=new N(W,Y,ue==W.indented)),J}return x="error",ee}function _(w,j,W){return w=="equals"?O:(h.allowMissing||(x="error"),ee(w,j,W))}function O(w,j,W){return w=="string"?k:w=="word"&&h.allowUnquoted?(x="string",ee):(x="error",ee(w,j,W))}function k(w,j,W){return w=="string"?k:ee(w,j,W)}return{startState:function(w){var j={tokenize:E,state:J,indented:w||0,tagName:null,tagStart:null,context:null};return w!=null&&(j.baseIndent=w),j},token:function(w,j){if(!j.tagName&&w.sol()&&(j.indented=w.indentation()),w.eatSpace())return null;b=null;var W=j.tokenize(w,j);return(W||b)&&W!="comment"&&(x=null,j.state=j.state(b||W,w,j),x&&(W=x=="error"?W+" error":x)),W},indent:function(w,j,W){var Y=w.context;if(w.tokenize.isInAttribute)return w.tagStart==w.indented?w.stringStartCol+1:w.indented+p;if(Y&&Y.noIndent)return i.Pass;if(w.tokenize!=P&&w.tokenize!=E)return W?W.match(/^(\s*)/)[0].length:0;if(w.tagName)return h.multilineTagIndentPastTag!==!1?w.tagStart+w.tagName.length+2:w.tagStart+p*(h.multilineTagIndentFactor||1);if(h.alignCDATA&&/<!\[CDATA\[/.test(j))return 0;var ue=j&&/^<(\/)?([\w_:\.-]*)/.exec(j);if(ue&&ue[1])for(;Y;)if(Y.tagName==ue[2]){Y=Y.prev;break}else if(h.implicitlyClosed.hasOwnProperty(M(Y.tagName)))Y=Y.prev;else break;else if(ue)for(;Y;){var he=h.contextGrabbers[M(Y.tagName)];if(he&&he.hasOwnProperty(M(ue[2])))Y=Y.prev;else break}for(;Y&&Y.prev&&!Y.startOfLine;)Y=Y.prev;return Y?Y.indent+p:w.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:h.htmlMode?"html":"xml",helperType:h.htmlMode?"html":"xml",skipAttribute:function(w){w.state==O&&(w.state=ee)},xmlCurrentTag:function(w){return w.tagName?{name:w.tagName,close:w.type=="closeTag"}:null},xmlCurrentContext:function(w){for(var j=[],W=w.context;W;W=W.prev)j.push(W.tagName);return j.reverse()}}}),i.defineMIME("text/xml","xml"),i.defineMIME("application/xml","xml"),i.mimeModes.hasOwnProperty("text/html")||i.defineMIME("text/html",{name:"xml",htmlMode:!0})})})();(function(t,r){(function(i){i(ki.exports,C1.exports,x1.exports,w1.exports)})(function(i){var o={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function u(b,x,E){var P=b.current(),B=P.search(x);return B>-1?b.backUp(P.length-B):P.match(/<\/?$/)&&(b.backUp(P.length),b.match(x,!1)||b.match(P)),E}var f={};function c(b){var x=f[b];return x||(f[b]=new RegExp("\\s+"+b+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function p(b,x){var E=b.match(c(x));return E?/^\s*(.*?)\s*$/.exec(E[2])[1]:""}function h(b,x){return new RegExp((x?"^":"")+"</s*"+b+"s*>","i")}function g(b,x){for(var E in b)for(var P=x[E]||(x[E]=[]),B=b[E],L=B.length-1;L>=0;L--)P.unshift(B[L])}function m(b,x){for(var E=0;E<b.length;E++){var P=b[E];if(!P[0]||P[1].test(p(x,P[0])))return P[2]}}i.defineMode("htmlmixed",function(b,x){var E=i.getMode(b,{name:"xml",htmlMode:!0,multilineTagIndentFactor:x.multilineTagIndentFactor,multilineTagIndentPastTag:x.multilineTagIndentPastTag,allowMissingTagName:x.allowMissingTagName}),P={},B=x&&x.tags,L=x&&x.scriptTypes;if(g(o,P),B&&g(B,P),L)for(var F=L.length-1;F>=0;F--)P.script.unshift(["type",L[F].matches,L[F].mode]);function M(N,H){var Q=E.token(N,H.htmlState),J=/\btag\b/.test(Q),K;if(J&&!/[<>\s\/]/.test(N.current())&&(K=H.htmlState.tagName&&H.htmlState.tagName.toLowerCase())&&P.hasOwnProperty(K))H.inTag=K+" ";else if(H.inTag&&J&&/>$/.test(N.current())){var U=/^([\S]+) (.*)/.exec(H.inTag);H.inTag=null;var q=N.current()==">"&&m(P[U[1]],U[2]),te=i.getMode(b,q),ee=h(U[1],!0),_=h(U[1],!1);H.token=function(O,k){return O.match(ee,!1)?(k.token=M,k.localState=k.localMode=null,null):u(O,_,k.localMode.token(O,k.localState))},H.localMode=te,H.localState=i.startState(te,E.indent(H.htmlState,"",""))}else H.inTag&&(H.inTag+=N.current(),N.eol()&&(H.inTag+=" "));return Q}return{startState:function(){var N=i.startState(E);return{token:M,inTag:null,localMode:null,localState:null,htmlState:N}},copyState:function(N){var H;return N.localState&&(H=i.copyState(N.localMode,N.localState)),{token:N.token,inTag:N.inTag,localMode:N.localMode,localState:H,htmlState:i.copyState(E,N.htmlState)}},token:function(N,H){return H.token(N,H)},indent:function(N,H,Q){return!N.localMode||/^\s*<\//.test(H)?E.indent(N.htmlState,H,Q):N.localMode.indent?N.localMode.indent(N.localState,H,Q):i.Pass},innerMode:function(N){return{state:N.localState||N.htmlState,mode:N.localMode||E}}}},"xml","javascript","css"),i.defineMIME("text/html","htmlmixed")})})();(function(t,r){(function(i){i(ki.exports)})(function(i){i.defineOption("placeholder","",function(g,m,b){var x=b&&b!=i.Init;if(m&&!x)g.on("blur",c),g.on("change",p),g.on("swapDoc",p),i.on(g.getInputField(),"compositionupdate",g.state.placeholderCompose=function(){f(g)}),p(g);else if(!m&&x){g.off("blur",c),g.off("change",p),g.off("swapDoc",p),i.off(g.getInputField(),"compositionupdate",g.state.placeholderCompose),o(g);var E=g.getWrapperElement();E.className=E.className.replace(" CodeMirror-empty","")}m&&!g.hasFocus()&&c(g)});function o(g){g.state.placeholder&&(g.state.placeholder.parentNode.removeChild(g.state.placeholder),g.state.placeholder=null)}function u(g){o(g);var m=g.state.placeholder=document.createElement("pre");m.style.cssText="height: 0; overflow: visible",m.style.direction=g.getOption("direction"),m.className="CodeMirror-placeholder CodeMirror-line-like";var b=g.getOption("placeholder");typeof b=="string"&&(b=document.createTextNode(b)),m.appendChild(b),g.display.lineSpace.insertBefore(m,g.display.lineSpace.firstChild)}function f(g){setTimeout(function(){var m=!1;if(g.lineCount()==1){var b=g.getInputField();m=b.nodeName=="TEXTAREA"?!g.getLine(0).length:!/[^\u200b]/.test(b.querySelector(".CodeMirror-line").textContent)}m?u(g):o(g)},20)}function c(g){h(g)&&u(g)}function p(g){var m=g.getWrapperElement(),b=h(g);m.className=m.className.replace(" CodeMirror-empty","")+(b?" CodeMirror-empty":""),b?u(g):o(g)}function h(g){return g.lineCount()===1&&g.getLine(0)===""}})})();/*!
29
29
  * vue-router v4.0.12
30
30
  * (c) 2021 Eduardo San Martin Morote
31
31
  * @license MIT
32
- */const Uv=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",bo=t=>Uv?Symbol(t):"_vr_"+t,w1=bo("rvlm"),$v=bo("rvd"),Sc=bo("r"),xc=bo("rl"),wc=bo("rvl"),So=typeof window!="undefined";function C1(t){return t.__esModule||Uv&&t[Symbol.toStringTag]==="Module"}const dt=Object.assign;function Cc(t,r){const i={};for(const o in r){const u=r[o];i[o]=Array.isArray(u)?u.map(t):t(u)}return i}const Vs=()=>{},T1=/\/$/,E1=t=>t.replace(T1,"");function Tc(t,r,i="/"){let o,u={},f="",c="";const p=r.indexOf("?"),h=r.indexOf("#",p>-1?p:0);return p>-1&&(o=r.slice(0,p),f=r.slice(p+1,h>-1?h:r.length),u=t(f)),h>-1&&(o=o||r.slice(0,h),c=r.slice(h,r.length)),o=M1(o!=null?o:r,i),{fullPath:o+(f&&"?")+f+c,path:o,query:u,hash:c}}function O1(t,r){const i=r.query?t(r.query):"";return r.path+(i&&"?")+i+(r.hash||"")}function Vv(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function k1(t,r,i){const o=r.matched.length-1,u=i.matched.length-1;return o>-1&&o===u&&xo(r.matched[o],i.matched[u])&&Gv(r.params,i.params)&&t(r.query)===t(i.query)&&r.hash===i.hash}function xo(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function Gv(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const i in t)if(!P1(t[i],r[i]))return!1;return!0}function P1(t,r){return Array.isArray(t)?Yv(t,r):Array.isArray(r)?Yv(r,t):t===r}function Yv(t,r){return Array.isArray(r)?t.length===r.length&&t.every((i,o)=>i===r[o]):t.length===1&&t[0]===r}function M1(t,r){if(t.startsWith("/"))return t;if(!t)return r;const i=r.split("/"),o=t.split("/");let u=i.length-1,f,c;for(f=0;f<o.length;f++)if(c=o[f],!(u===1||c==="."))if(c==="..")u--;else break;return i.slice(0,u).join("/")+"/"+o.slice(f-(f===o.length?1:0)).join("/")}var Gs;(function(t){t.pop="pop",t.push="push"})(Gs||(Gs={}));var Ys;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Ys||(Ys={}));function A1(t){if(!t)if(So){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),E1(t)}const L1=/^[^#]+#/;function N1(t,r){return t.replace(L1,"#")+r}function I1(t,r){const i=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:r.behavior,left:o.left-i.left-(r.left||0),top:o.top-i.top-(r.top||0)}}const Ia=()=>({left:window.pageXOffset,top:window.pageYOffset});function R1(t){let r;if("el"in t){const i=t.el,o=typeof i=="string"&&i.startsWith("#"),u=typeof i=="string"?o?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!u)return;r=I1(u,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.pageXOffset,r.top!=null?r.top:window.pageYOffset)}function Xv(t,r){return(history.state?history.state.position-r:-1)+t}const Ec=new Map;function D1(t,r){Ec.set(t,r)}function F1(t){const r=Ec.get(t);return Ec.delete(t),r}let z1=()=>location.protocol+"//"+location.host;function Jv(t,r){const{pathname:i,search:o,hash:u}=r,f=t.indexOf("#");if(f>-1){let p=u.includes(t.slice(f))?t.slice(f).length:1,h=u.slice(p);return h[0]!=="/"&&(h="/"+h),Vv(h,"")}return Vv(i,t)+o+u}function H1(t,r,i,o){let u=[],f=[],c=null;const p=({state:x})=>{const E=Jv(t,location),P=i.value,B=r.value;let L=0;if(x){if(i.value=E,r.value=x,c&&c===P){c=null;return}L=B?x.position-B.position:0}else o(E);u.forEach(F=>{F(i.value,P,{delta:L,type:Gs.pop,direction:L?L>0?Ys.forward:Ys.back:Ys.unknown})})};function h(){c=i.value}function g(x){u.push(x);const E=()=>{const P=u.indexOf(x);P>-1&&u.splice(P,1)};return f.push(E),E}function m(){const{history:x}=window;!x.state||x.replaceState(dt({},x.state,{scroll:Ia()}),"")}function b(){for(const x of f)x();f=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",m),{pauseListeners:h,listen:g,destroy:b}}function Zv(t,r,i,o=!1,u=!1){return{back:t,current:r,forward:i,replaced:o,position:window.history.length,scroll:u?Ia():null}}function B1(t){const{history:r,location:i}=window,o={value:Jv(t,i)},u={value:r.state};u.value||f(o.value,{back:null,current:o.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function f(h,g,m){const b=t.indexOf("#"),x=b>-1?(i.host&&document.querySelector("base")?t:t.slice(b))+h:z1()+t+h;try{r[m?"replaceState":"pushState"](g,"",x),u.value=g}catch(E){console.error(E),i[m?"replace":"assign"](x)}}function c(h,g){const m=dt({},r.state,Zv(u.value.back,h,u.value.forward,!0),g,{position:u.value.position});f(h,m,!0),o.value=h}function p(h,g){const m=dt({},u.value,r.state,{forward:h,scroll:Ia()});f(m.current,m,!0);const b=dt({},Zv(o.value,h,null),{position:m.position+1},g);f(h,b,!1),o.value=h}return{location:o,state:u,push:p,replace:c}}function W1(t){t=A1(t);const r=B1(t),i=H1(t,r.state,r.location,r.replace);function o(f,c=!0){c||i.pauseListeners(),history.go(f)}const u=dt({location:"",base:t,go:o,createHref:N1.bind(null,t)},r,i);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>r.state.value}),u}function bE(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),W1(t)}function j1(t){return typeof t=="string"||t&&typeof t=="object"}function Qv(t){return typeof t=="string"||typeof t=="symbol"}const Xn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},qv=bo("nf");var _v;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(_v||(_v={}));function wo(t,r){return dt(new Error,{type:t,[qv]:!0},r)}function Pi(t,r){return t instanceof Error&&qv in t&&(r==null||!!(t.type&r))}const em="[^/]+?",K1={sensitive:!1,strict:!1,start:!0,end:!0},U1=/[.+*?^${}()[\]/\\]/g;function $1(t,r){const i=dt({},K1,r),o=[];let u=i.start?"^":"";const f=[];for(const g of t){const m=g.length?[]:[90];i.strict&&!g.length&&(u+="/");for(let b=0;b<g.length;b++){const x=g[b];let E=40+(i.sensitive?.25:0);if(x.type===0)b||(u+="/"),u+=x.value.replace(U1,"\\$&"),E+=40;else if(x.type===1){const{value:P,repeatable:B,optional:L,regexp:F}=x;f.push({name:P,repeatable:B,optional:L});const M=F||em;if(M!==em){E+=10;try{new RegExp(`(${M})`)}catch(H){throw new Error(`Invalid custom RegExp for param "${P}" (${M}): `+H.message)}}let N=B?`((?:${M})(?:/(?:${M}))*)`:`(${M})`;b||(N=L&&g.length<2?`(?:/${N})`:"/"+N),L&&(N+="?"),u+=N,E+=20,L&&(E+=-8),B&&(E+=-20),M===".*"&&(E+=-50)}m.push(E)}o.push(m)}if(i.strict&&i.end){const g=o.length-1;o[g][o[g].length-1]+=.7000000000000001}i.strict||(u+="/?"),i.end?u+="$":i.strict&&(u+="(?:/|$)");const c=new RegExp(u,i.sensitive?"":"i");function p(g){const m=g.match(c),b={};if(!m)return null;for(let x=1;x<m.length;x++){const E=m[x]||"",P=f[x-1];b[P.name]=E&&P.repeatable?E.split("/"):E}return b}function h(g){let m="",b=!1;for(const x of t){(!b||!m.endsWith("/"))&&(m+="/"),b=!1;for(const E of x)if(E.type===0)m+=E.value;else if(E.type===1){const{value:P,repeatable:B,optional:L}=E,F=P in g?g[P]:"";if(Array.isArray(F)&&!B)throw new Error(`Provided param "${P}" is an array but it is not repeatable (* or + modifiers)`);const M=Array.isArray(F)?F.join("/"):F;if(!M)if(L)x.length<2&&(m.endsWith("/")?m=m.slice(0,-1):b=!0);else throw new Error(`Missing required param "${P}"`);m+=M}}return m}return{re:c,score:o,keys:f,parse:p,stringify:h}}function V1(t,r){let i=0;for(;i<t.length&&i<r.length;){const o=r[i]-t[i];if(o)return o;i++}return t.length<r.length?t.length===1&&t[0]===40+40?-1:1:t.length>r.length?r.length===1&&r[0]===40+40?1:-1:0}function G1(t,r){let i=0;const o=t.score,u=r.score;for(;i<o.length&&i<u.length;){const f=V1(o[i],u[i]);if(f)return f;i++}return u.length-o.length}const Y1={type:0,value:""},X1=/[a-zA-Z0-9_]/;function J1(t){if(!t)return[[]];if(t==="/")return[[Y1]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(E){throw new Error(`ERR (${i})/"${g}": ${E}`)}let i=0,o=i;const u=[];let f;function c(){f&&u.push(f),f=[]}let p=0,h,g="",m="";function b(){!g||(i===0?f.push({type:0,value:g}):i===1||i===2||i===3?(f.length>1&&(h==="*"||h==="+")&&r(`A repeatable param (${g}) must be alone in its segment. eg: '/:ids+.`),f.push({type:1,value:g,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):r("Invalid state to consume buffer"),g="")}function x(){g+=h}for(;p<t.length;){if(h=t[p++],h==="\\"&&i!==2){o=i,i=4;continue}switch(i){case 0:h==="/"?(g&&b(),c()):h===":"?(b(),i=1):x();break;case 4:x(),i=o;break;case 1:h==="("?i=2:X1.test(h)?x():(b(),i=0,h!=="*"&&h!=="?"&&h!=="+"&&p--);break;case 2:h===")"?m[m.length-1]=="\\"?m=m.slice(0,-1)+h:i=3:m+=h;break;case 3:b(),i=0,h!=="*"&&h!=="?"&&h!=="+"&&p--,m="";break;default:r("Unknown state");break}}return i===2&&r(`Unfinished custom RegExp for param "${g}"`),b(),c(),u}function Z1(t,r,i){const o=$1(J1(t.path),i),u=dt(o,{record:t,parent:r,children:[],alias:[]});return r&&!u.record.aliasOf==!r.record.aliasOf&&r.children.push(u),u}function Q1(t,r){const i=[],o=new Map;r=rm({strict:!1,end:!0,sensitive:!1},r);function u(m){return o.get(m)}function f(m,b,x){const E=!x,P=_1(m);P.aliasOf=x&&x.record;const B=rm(r,m),L=[P];if("alias"in m){const N=typeof m.alias=="string"?[m.alias]:m.alias;for(const H of N)L.push(dt({},P,{components:x?x.record.components:P.components,path:H,aliasOf:x?x.record:P}))}let F,M;for(const N of L){const{path:H}=N;if(b&&H[0]!=="/"){const Q=b.record.path,J=Q[Q.length-1]==="/"?"":"/";N.path=b.record.path+(H&&J+H)}if(F=Z1(N,b,B),x?x.alias.push(F):(M=M||F,M!==F&&M.alias.push(F),E&&m.name&&!tm(F)&&c(m.name)),"children"in P){const Q=P.children;for(let J=0;J<Q.length;J++)f(Q[J],F,x&&x.children[J])}x=x||F,h(F)}return M?()=>{c(M)}:Vs}function c(m){if(Qv(m)){const b=o.get(m);b&&(o.delete(m),i.splice(i.indexOf(b),1),b.children.forEach(c),b.alias.forEach(c))}else{const b=i.indexOf(m);b>-1&&(i.splice(b,1),m.record.name&&o.delete(m.record.name),m.children.forEach(c),m.alias.forEach(c))}}function p(){return i}function h(m){let b=0;for(;b<i.length&&G1(m,i[b])>=0;)b++;i.splice(b,0,m),m.record.name&&!tm(m)&&o.set(m.record.name,m)}function g(m,b){let x,E={},P,B;if("name"in m&&m.name){if(x=o.get(m.name),!x)throw wo(1,{location:m});B=x.record.name,E=dt(q1(b.params,x.keys.filter(M=>!M.optional).map(M=>M.name)),m.params),P=x.stringify(E)}else if("path"in m)P=m.path,x=i.find(M=>M.re.test(P)),x&&(E=x.parse(P),B=x.record.name);else{if(x=b.name?o.get(b.name):i.find(M=>M.re.test(b.path)),!x)throw wo(1,{location:m,currentLocation:b});B=x.record.name,E=dt({},b.params,m.params),P=x.stringify(E)}const L=[];let F=x;for(;F;)L.unshift(F.record),F=F.parent;return{name:B,path:P,params:E,matched:L,meta:tC(L)}}return t.forEach(m=>f(m)),{addRoute:f,resolve:g,removeRoute:c,getRoutes:p,getRecordMatcher:u}}function q1(t,r){const i={};for(const o of r)o in t&&(i[o]=t[o]);return i}function _1(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:eC(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function eC(t){const r={},i=t.props||!1;if("component"in t)r.default=i;else for(const o in t.components)r[o]=typeof i=="boolean"?i:i[o];return r}function tm(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function tC(t){return t.reduce((r,i)=>dt(r,i.meta),{})}function rm(t,r){const i={};for(const o in t)i[o]=o in r?r[o]:t[o];return i}const nm=/#/g,rC=/&/g,nC=/\//g,iC=/=/g,oC=/\?/g,im=/\+/g,sC=/%5B/g,lC=/%5D/g,om=/%5E/g,aC=/%60/g,sm=/%7B/g,uC=/%7C/g,lm=/%7D/g,fC=/%20/g;function Oc(t){return encodeURI(""+t).replace(uC,"|").replace(sC,"[").replace(lC,"]")}function cC(t){return Oc(t).replace(sm,"{").replace(lm,"}").replace(om,"^")}function kc(t){return Oc(t).replace(im,"%2B").replace(fC,"+").replace(nm,"%23").replace(rC,"%26").replace(aC,"`").replace(sm,"{").replace(lm,"}").replace(om,"^")}function dC(t){return kc(t).replace(iC,"%3D")}function hC(t){return Oc(t).replace(nm,"%23").replace(oC,"%3F")}function pC(t){return t==null?"":hC(t).replace(nC,"%2F")}function Ra(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function gC(t){const r={};if(t===""||t==="?")return r;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let u=0;u<o.length;++u){const f=o[u].replace(im," "),c=f.indexOf("="),p=Ra(c<0?f:f.slice(0,c)),h=c<0?null:Ra(f.slice(c+1));if(p in r){let g=r[p];Array.isArray(g)||(g=r[p]=[g]),g.push(h)}else r[p]=h}return r}function am(t){let r="";for(let i in t){const o=t[i];if(i=dC(i),o==null){o!==void 0&&(r+=(r.length?"&":"")+i);continue}(Array.isArray(o)?o.map(f=>f&&kc(f)):[o&&kc(o)]).forEach(f=>{f!==void 0&&(r+=(r.length?"&":"")+i,f!=null&&(r+="="+f))})}return r}function vC(t){const r={};for(const i in t){const o=t[i];o!==void 0&&(r[i]=Array.isArray(o)?o.map(u=>u==null?null:""+u):o==null?o:""+o)}return r}function Xs(){let t=[];function r(o){return t.push(o),()=>{const u=t.indexOf(o);u>-1&&t.splice(u,1)}}function i(){t=[]}return{add:r,list:()=>t,reset:i}}function Jn(t,r,i,o,u){const f=o&&(o.enterCallbacks[u]=o.enterCallbacks[u]||[]);return()=>new Promise((c,p)=>{const h=b=>{b===!1?p(wo(4,{from:i,to:r})):b instanceof Error?p(b):j1(b)?p(wo(2,{from:r,to:b})):(f&&o.enterCallbacks[u]===f&&typeof b=="function"&&f.push(b),c())},g=t.call(o&&o.instances[u],r,i,h);let m=Promise.resolve(g);t.length<3&&(m=m.then(h)),m.catch(b=>p(b))})}function Pc(t,r,i,o){const u=[];for(const f of t)for(const c in f.components){let p=f.components[c];if(!(r!=="beforeRouteEnter"&&!f.instances[c]))if(mC(p)){const g=(p.__vccOpts||p)[r];g&&u.push(Jn(g,i,o,f,c))}else{let h=p();u.push(()=>h.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${f.path}"`));const m=C1(g)?g.default:g;f.components[c]=m;const x=(m.__vccOpts||m)[r];return x&&Jn(x,i,o,f,c)()}))}}return u}function mC(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function um(t){const r=Wr(Sc),i=Wr(xc),o=sr(()=>r.resolve(Ct(t.to))),u=sr(()=>{const{matched:h}=o.value,{length:g}=h,m=h[g-1],b=i.matched;if(!m||!b.length)return-1;const x=b.findIndex(xo.bind(null,m));if(x>-1)return x;const E=fm(h[g-2]);return g>1&&fm(m)===E&&b[b.length-1].path!==E?b.findIndex(xo.bind(null,h[g-2])):x}),f=sr(()=>u.value>-1&&xC(i.params,o.value.params)),c=sr(()=>u.value>-1&&u.value===i.matched.length-1&&Gv(i.params,o.value.params));function p(h={}){return SC(h)?r[Ct(t.replace)?"replace":"push"](Ct(t.to)).catch(Vs):Promise.resolve()}return{route:o,href:sr(()=>o.value.href),isActive:f,isExactActive:c,navigate:p}}const yC=Ps({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:um,setup(t,{slots:r}){const i=lo(um(t)),{options:o}=Wr(Sc),u=sr(()=>({[cm(t.activeClass,o.linkActiveClass,"router-link-active")]:i.isActive,[cm(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const f=r.default&&r.default(i);return t.custom?f:Oa("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:u.value},f)}}}),bC=yC;function SC(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function xC(t,r){for(const i in r){const o=r[i],u=t[i];if(typeof o=="string"){if(o!==u)return!1}else if(!Array.isArray(u)||u.length!==o.length||o.some((f,c)=>f!==u[c]))return!1}return!0}function fm(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const cm=(t,r,i)=>t!=null?t:r!=null?r:i,wC=Ps({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(t,{attrs:r,slots:i}){const o=Wr(wc),u=sr(()=>t.route||o.value),f=Wr($v,0),c=sr(()=>u.value.matched[f]);ks($v,f+1),ks(w1,c),ks(wc,u);const p=At();return gr(()=>[p.value,c.value,t.name],([h,g,m],[b,x,E])=>{g&&(g.instances[m]=h,x&&x!==g&&h&&h===b&&(g.leaveGuards.size||(g.leaveGuards=x.leaveGuards),g.updateGuards.size||(g.updateGuards=x.updateGuards))),h&&g&&(!x||!xo(g,x)||!b)&&(g.enterCallbacks[m]||[]).forEach(P=>P(h))},{flush:"post"}),()=>{const h=u.value,g=c.value,m=g&&g.components[t.name],b=t.name;if(!m)return dm(i.default,{Component:m,route:h});const x=g.props[t.name],E=x?x===!0?h.params:typeof x=="function"?x(h):x:null,B=Oa(m,dt({},E,r,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(g.instances[b]=null)},ref:p}));return dm(i.default,{Component:B,route:h})||B}}});function dm(t,r){if(!t)return null;const i=t(r);return i.length===1?i[0]:i}const CC=wC;function SE(t){const r=Q1(t.routes,t),i=t.parseQuery||gC,o=t.stringifyQuery||am,u=t.history,f=Xs(),c=Xs(),p=Xs(),h=Ts(Xn);let g=Xn;So&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Cc.bind(null,ie=>""+ie),b=Cc.bind(null,pC),x=Cc.bind(null,Ra);function E(ie,se){let le,be;return Qv(ie)?(le=r.getRecordMatcher(ie),be=se):be=ie,r.addRoute(be,le)}function P(ie){const se=r.getRecordMatcher(ie);se&&r.removeRoute(se)}function B(){return r.getRoutes().map(ie=>ie.record)}function L(ie){return!!r.getRecordMatcher(ie)}function F(ie,se){if(se=dt({},se||h.value),typeof ie=="string"){const Le=Tc(i,ie,se.path),z=r.resolve({path:Le.path},se),$=u.createHref(Le.fullPath);return dt(Le,z,{params:x(z.params),hash:Ra(Le.hash),redirectedFrom:void 0,href:$})}let le;if("path"in ie)le=dt({},ie,{path:Tc(i,ie.path,se.path).path});else{const Le=dt({},ie.params);for(const z in Le)Le[z]==null&&delete Le[z];le=dt({},ie,{params:b(ie.params)}),se.params=b(se.params)}const be=r.resolve(le,se),Ie=ie.hash||"";be.params=m(x(be.params));const ke=O1(o,dt({},ie,{hash:cC(Ie),path:be.path})),me=u.createHref(ke);return dt({fullPath:ke,hash:Ie,query:o===am?vC(ie.query):ie.query||{}},be,{redirectedFrom:void 0,href:me})}function M(ie){return typeof ie=="string"?Tc(i,ie,h.value.path):dt({},ie)}function N(ie,se){if(g!==ie)return wo(8,{from:se,to:ie})}function H(ie){return K(ie)}function Q(ie){return H(dt(M(ie),{replace:!0}))}function J(ie){const se=ie.matched[ie.matched.length-1];if(se&&se.redirect){const{redirect:le}=se;let be=typeof le=="function"?le(ie):le;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=M(be):{path:be},be.params={}),dt({query:ie.query,hash:ie.hash,params:ie.params},be)}}function K(ie,se){const le=g=F(ie),be=h.value,Ie=ie.state,ke=ie.force,me=ie.replace===!0,Le=J(le);if(Le)return K(dt(M(Le),{state:Ie,force:ke,replace:me}),se||le);const z=le;z.redirectedFrom=se;let $;return!ke&&k1(o,be,le)&&($=wo(16,{to:z,from:be}),he(be,be,!0,!1)),($?Promise.resolve($):q(z,be)).catch(Z=>Pi(Z)?Z:W(Z,z,be)).then(Z=>{if(Z){if(Pi(Z,2))return K(dt(M(Z.to),{state:Ie,force:ke,replace:me}),se||z)}else Z=ee(z,be,!0,me,Ie);return te(z,be,Z),Z})}function U(ie,se){const le=N(ie,se);return le?Promise.reject(le):Promise.resolve()}function q(ie,se){let le;const[be,Ie,ke]=TC(ie,se);le=Pc(be.reverse(),"beforeRouteLeave",ie,se);for(const Le of be)Le.leaveGuards.forEach(z=>{le.push(Jn(z,ie,se))});const me=U.bind(null,ie,se);return le.push(me),Co(le).then(()=>{le=[];for(const Le of f.list())le.push(Jn(Le,ie,se));return le.push(me),Co(le)}).then(()=>{le=Pc(Ie,"beforeRouteUpdate",ie,se);for(const Le of Ie)Le.updateGuards.forEach(z=>{le.push(Jn(z,ie,se))});return le.push(me),Co(le)}).then(()=>{le=[];for(const Le of ie.matched)if(Le.beforeEnter&&!se.matched.includes(Le))if(Array.isArray(Le.beforeEnter))for(const z of Le.beforeEnter)le.push(Jn(z,ie,se));else le.push(Jn(Le.beforeEnter,ie,se));return le.push(me),Co(le)}).then(()=>(ie.matched.forEach(Le=>Le.enterCallbacks={}),le=Pc(ke,"beforeRouteEnter",ie,se),le.push(me),Co(le))).then(()=>{le=[];for(const Le of c.list())le.push(Jn(Le,ie,se));return le.push(me),Co(le)}).catch(Le=>Pi(Le,8)?Le:Promise.reject(Le))}function te(ie,se,le){for(const be of p.list())be(ie,se,le)}function ee(ie,se,le,be,Ie){const ke=N(ie,se);if(ke)return ke;const me=se===Xn,Le=So?history.state:{};le&&(be||me?u.replace(ie.fullPath,dt({scroll:me&&Le&&Le.scroll},Ie)):u.push(ie.fullPath,Ie)),h.value=ie,he(ie,se,le,me),ue()}let _;function O(){_=u.listen((ie,se,le)=>{const be=F(ie),Ie=J(be);if(Ie){K(dt(Ie,{replace:!0}),be).catch(Vs);return}g=be;const ke=h.value;So&&D1(Xv(ke.fullPath,le.delta),Ia()),q(be,ke).catch(me=>Pi(me,4|8)?me:Pi(me,2)?(K(me.to,be).then(Le=>{Pi(Le,4|16)&&!le.delta&&le.type===Gs.pop&&u.go(-1,!1)}).catch(Vs),Promise.reject()):(le.delta&&u.go(-le.delta,!1),W(me,be,ke))).then(me=>{me=me||ee(be,ke,!1),me&&(le.delta?u.go(-le.delta,!1):le.type===Gs.pop&&Pi(me,4|16)&&u.go(-1,!1)),te(be,ke,me)}).catch(Vs)})}let k=Xs(),w=Xs(),j;function W(ie,se,le){ue(ie);const be=w.list();return be.length?be.forEach(Ie=>Ie(ie,se,le)):console.error(ie),Promise.reject(ie)}function Y(){return j&&h.value!==Xn?Promise.resolve():new Promise((ie,se)=>{k.add([ie,se])})}function ue(ie){j||(j=!0,O(),k.list().forEach(([se,le])=>ie?le(ie):se()),k.reset())}function he(ie,se,le,be){const{scrollBehavior:Ie}=t;if(!So||!Ie)return Promise.resolve();const ke=!le&&F1(Xv(ie.fullPath,0))||(be||!le)&&history.state&&history.state.scroll||null;return Bs().then(()=>Ie(ie,se,ke)).then(me=>me&&R1(me)).catch(me=>W(me,ie,se))}const je=ie=>u.go(ie);let We;const Ke=new Set;return{currentRoute:h,addRoute:E,removeRoute:P,hasRoute:L,getRoutes:B,resolve:F,options:t,push:H,replace:Q,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:f.add,beforeResolve:c.add,afterEach:p.add,onError:w.add,isReady:Y,install(ie){const se=this;ie.component("RouterLink",bC),ie.component("RouterView",CC),ie.config.globalProperties.$router=se,Object.defineProperty(ie.config.globalProperties,"$route",{enumerable:!0,get:()=>Ct(h)}),So&&!We&&h.value===Xn&&(We=!0,H(u.location).catch(Ie=>{}));const le={};for(const Ie in Xn)le[Ie]=sr(()=>h.value[Ie]);ie.provide(Sc,se),ie.provide(xc,lo(le)),ie.provide(wc,h);const be=ie.unmount;Ke.add(ie),ie.unmount=function(){Ke.delete(ie),Ke.size<1&&(g=Xn,_&&_(),h.value=Xn,We=!1,j=!1),be()}}}}function Co(t){return t.reduce((r,i)=>r.then(()=>i()),Promise.resolve())}function TC(t,r){const i=[],o=[],u=[],f=Math.max(r.matched.length,t.matched.length);for(let c=0;c<f;c++){const p=r.matched[c];p&&(t.matched.find(g=>xo(g,p))?o.push(p):i.push(p));const h=t.matched[c];h&&(r.matched.find(g=>xo(g,h))||u.push(h))}return[i,o,u]}function xE(){return Wr(xc)}var EC={exports:{}},hm={exports:{}},pm={};function Mc(t){throw t}function gm(t){}function yt(t,r,i,o){const u=t,f=new SyntaxError(String(u));return f.code=t,f.loc=r,f}const To=Symbol(""),Eo=Symbol(""),Da=Symbol(""),Js=Symbol(""),Ac=Symbol(""),Zn=Symbol(""),Lc=Symbol(""),Nc=Symbol(""),Fa=Symbol(""),za=Symbol(""),Oo=Symbol(""),Ha=Symbol(""),Ic=Symbol(""),Ba=Symbol(""),Zs=Symbol(""),Wa=Symbol(""),ja=Symbol(""),Ka=Symbol(""),Ua=Symbol(""),Rc=Symbol(""),Dc=Symbol(""),Qs=Symbol(""),qs=Symbol(""),$a=Symbol(""),Va=Symbol(""),ko=Symbol(""),Po=Symbol(""),Ga=Symbol(""),Ya=Symbol(""),vm=Symbol(""),Xa=Symbol(""),_s=Symbol(""),mm=Symbol(""),ym=Symbol(""),Ja=Symbol(""),bm=Symbol(""),Sm=Symbol(""),Za=Symbol(""),Fc=Symbol(""),Sn={[To]:"Fragment",[Eo]:"Teleport",[Da]:"Suspense",[Js]:"KeepAlive",[Ac]:"BaseTransition",[Zn]:"openBlock",[Lc]:"createBlock",[Nc]:"createElementBlock",[Fa]:"createVNode",[za]:"createElementVNode",[Oo]:"createCommentVNode",[Ha]:"createTextVNode",[Ic]:"createStaticVNode",[Ba]:"resolveComponent",[Zs]:"resolveDynamicComponent",[Wa]:"resolveDirective",[ja]:"resolveFilter",[Ka]:"withDirectives",[Ua]:"renderList",[Rc]:"renderSlot",[Dc]:"createSlots",[Qs]:"toDisplayString",[qs]:"mergeProps",[$a]:"normalizeClass",[Va]:"normalizeStyle",[ko]:"normalizeProps",[Po]:"guardReactiveProps",[Ga]:"toHandlers",[Ya]:"camelize",[vm]:"capitalize",[Xa]:"toHandlerKey",[_s]:"setBlockTracking",[mm]:"pushScopeId",[ym]:"popScopeId",[Ja]:"withCtx",[bm]:"unref",[Sm]:"isRef",[Za]:"withMemo",[Fc]:"isMemoSame"};function xm(t){Object.getOwnPropertySymbols(t).forEach(r=>{Sn[r]=t[r]})}const Ht={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function wm(t,r=Ht){return{type:0,children:t,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:r}}function Mo(t,r,i,o,u,f,c,p=!1,h=!1,g=!1,m=Ht){return t&&(p?(t.helper(Zn),t.helper(Ni(t.inSSR,g))):t.helper(Li(t.inSSR,g)),c&&t.helper(Ka)),{type:13,tag:r,props:i,children:o,patchFlag:u,dynamicProps:f,directives:c,isBlock:p,disableTracking:h,isComponent:g,loc:m}}function Ao(t,r=Ht){return{type:17,loc:r,elements:t}}function Pr(t,r=Ht){return{type:15,loc:r,properties:t}}function Ot(t,r){return{type:16,loc:Ht,key:Ze(t)?qe(t,!0):t,value:r}}function qe(t,r=!1,i=Ht,o=0){return{type:4,loc:i,content:t,isStatic:r,constType:r?3:o}}function OC(t,r){return{type:5,loc:r,content:Ze(t)?qe(t,!1,r):t}}function jr(t,r=Ht){return{type:8,loc:r,children:t}}function kt(t,r=[],i=Ht){return{type:14,loc:i,callee:t,arguments:r}}function Mi(t,r=void 0,i=!1,o=!1,u=Ht){return{type:18,params:t,returns:r,newline:i,isSlot:o,loc:u}}function Qa(t,r,i,o=!0){return{type:19,test:t,consequent:r,alternate:i,newline:o,loc:Ht}}function Cm(t,r,i=!1){return{type:20,index:t,value:r,isVNode:i,loc:Ht}}function Tm(t){return{type:21,body:t,loc:Ht}}function kC(t){return{type:22,elements:t,loc:Ht}}function PC(t,r,i){return{type:23,test:t,consequent:r,alternate:i,loc:Ht}}function MC(t,r){return{type:24,left:t,right:r,loc:Ht}}function AC(t){return{type:25,expressions:t,loc:Ht}}function LC(t){return{type:26,returns:t,loc:Ht}}const ur=t=>t.type===4&&t.isStatic,Ai=(t,r)=>t===r||t===wr(r);function zc(t){if(Ai(t,"Teleport"))return Eo;if(Ai(t,"Suspense"))return Da;if(Ai(t,"KeepAlive"))return Js;if(Ai(t,"BaseTransition"))return Ac}const NC=/^\d|[^\$\w]/,el=t=>!NC.test(t),IC=/[A-Za-z_$\xA0-\uFFFF]/,RC=/[\.\?\w$\xA0-\uFFFF]/,DC=/\s+[.[]\s*|\s*[.[]\s+/g,Em=t=>{t=t.trim().replace(DC,c=>c.trim());let r=0,i=[],o=0,u=0,f=null;for(let c=0;c<t.length;c++){const p=t.charAt(c);switch(r){case 0:if(p==="[")i.push(r),r=1,o++;else if(p==="(")i.push(r),r=2,u++;else if(!(c===0?IC:RC).test(p))return!1;break;case 1:p==="'"||p==='"'||p==="`"?(i.push(r),r=3,f=p):p==="["?o++:p==="]"&&(--o||(r=i.pop()));break;case 2:if(p==="'"||p==='"'||p==="`")i.push(r),r=3,f=p;else if(p==="(")u++;else if(p===")"){if(c===t.length-1)return!1;--u||(r=i.pop())}break;case 3:p===f&&(r=i.pop(),f=null);break}}return!o&&!u},FC=or,Hc=Em;function Bc(t,r,i){const u={source:t.source.slice(r,r+i),start:tl(t.start,t.source,r),end:t.end};return i!=null&&(u.end=tl(t.start,t.source,r+i)),u}function tl(t,r,i=r.length){return rl(lt({},t),r,i)}function rl(t,r,i=r.length){let o=0,u=-1;for(let f=0;f<i;f++)r.charCodeAt(f)===10&&(o++,u=f);return t.offset+=i,t.line+=o,t.column=u===-1?t.column+i:i-u,t}function zC(t,r){if(!t)throw new Error(r||"unexpected compiler condition")}function vr(t,r,i=!1){for(let o=0;o<t.props.length;o++){const u=t.props[o];if(u.type===7&&(i||u.exp)&&(Ze(r)?u.name===r:r.test(u.name)))return u}}function Lo(t,r,i=!1,o=!1){for(let u=0;u<t.props.length;u++){const f=t.props[u];if(f.type===6){if(i)continue;if(f.name===r&&(f.value||o))return f}else if(f.name==="bind"&&(f.exp||o)&&nl(f.arg,r))return f}}function nl(t,r){return!!(t&&ur(t)&&t.content===r)}function Om(t){return t.props.some(r=>r.type===7&&r.name==="bind"&&(!r.arg||r.arg.type!==4||!r.arg.isStatic))}function qa(t){return t.type===5||t.type===2}function Wc(t){return t.type===7&&t.name==="slot"}function No(t){return t.type===1&&t.tagType===3}function il(t){return t.type===1&&t.tagType===2}function Li(t,r){return t||r?Fa:za}function Ni(t,r){return t||r?Lc:Nc}const HC=new Set([ko,Po]);function km(t,r=[]){if(t&&!Ze(t)&&t.type===14){const i=t.callee;if(!Ze(i)&&HC.has(i))return km(t.arguments[0],r.concat(t))}return[t,r]}function ol(t,r,i){let o,f=t.type===13?t.props:t.arguments[2],c=[],p;if(f&&!Ze(f)&&f.type===14){const h=km(f);f=h[0],c=h[1],p=c[c.length-1]}if(f==null||Ze(f))o=Pr([r]);else if(f.type===14){const h=f.arguments[0];!Ze(h)&&h.type===15?h.properties.unshift(r):f.callee===Ga?o=kt(i.helper(qs),[Pr([r]),f]):f.arguments.unshift(Pr([r])),!o&&(o=f)}else if(f.type===15){let h=!1;if(r.key.type===4){const g=r.key.content;h=f.properties.some(m=>m.key.type===4&&m.key.content===g)}h||f.properties.unshift(r),o=f}else o=kt(i.helper(qs),[Pr([r]),f]),p&&p.callee===Po&&(p=c[c.length-2]);t.type===13?p?p.arguments[0]=o:t.props=o:p?p.arguments[0]=o:t.arguments[2]=o}function Io(t,r){return`_${r}_${t.replace(/[^\w]/g,(i,o)=>i==="-"?"_":t.charCodeAt(o).toString())}`}function Kr(t,r){if(!t||Object.keys(r).length===0)return!1;switch(t.type){case 1:for(let i=0;i<t.props.length;i++){const o=t.props[i];if(o.type===7&&(Kr(o.arg,r)||Kr(o.exp,r)))return!0}return t.children.some(i=>Kr(i,r));case 11:return Kr(t.source,r)?!0:t.children.some(i=>Kr(i,r));case 9:return t.branches.some(i=>Kr(i,r));case 10:return Kr(t.condition,r)?!0:t.children.some(i=>Kr(i,r));case 4:return!t.isStatic&&el(t.content)&&!!r[t.content];case 8:return t.children.some(i=>pt(i)&&Kr(i,r));case 5:case 12:return Kr(t.content,r);case 2:case 3:return!1;default:return!1}}function Pm(t){return t.type===14&&t.callee===Za?t.arguments[1].returns:t}function _a(t,{helper:r,removeHelper:i,inSSR:o}){t.isBlock||(t.isBlock=!0,i(Li(o,t.isComponent)),r(Zn),r(Ni(o,t.isComponent)))}const BC={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.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:t=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},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.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/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.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.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.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{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.vuejs.org/guide/migration/filters.html"}};function jc(t,r){const i=r.options?r.options.compatConfig:r.compatConfig,o=i&&i[t];return t==="MODE"?o||3:o}function Ii(t,r){const i=jc("MODE",r),o=jc(t,r);return i===3?o===!0:o!==!1}function Ri(t,r,i,...o){return Ii(t,r)}function WC(t,r,i,...o){if(jc(t,r)==="suppress-warning")return;const{message:f,link:c}=BC[t],p=`(deprecation ${t}) ${typeof f=="function"?f(...o):f}${c?`
33
- Details: ${c}`:""}`,h=new SyntaxError(p);h.code=t,i&&(h.loc=i),r.onWarn(h)}const jC=/&(gt|lt|amp|apos|quot);/g,KC={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Mm={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:ms,isPreTag:ms,isCustomElement:ms,decodeEntities:t=>t.replace(jC,(r,i)=>KC[i]),onError:Mc,onWarn:gm,comments:!1};function Kc(t,r={}){const i=UC(t,r),o=Mr(i);return wm(Uc(i,0,[]),Nr(i,o))}function UC(t,r){const i=lt({},Mm);let o;for(o in r)i[o]=r[o]===void 0?Mm[o]:r[o];return{options:i,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:i.onWarn}}function Uc(t,r,i){const o=eu(i),u=o?o.ns:0,f=[];for(;!qC(t,r,i);){const p=t.source;let h;if(r===0||r===1){if(!t.inVPre&&Qt(p,t.options.delimiters[0]))h=ZC(t,r);else if(r===0&&p[0]==="<")if(p.length===1)ft(t,5,1);else if(p[1]==="!")Qt(p,"<!--")?h=VC(t):Qt(p,"<!DOCTYPE")?h=sl(t):Qt(p,"<![CDATA[")?u!==0?h=$C(t,i):(ft(t,1),h=sl(t)):(ft(t,11),h=sl(t));else if(p[1]==="/")if(p.length===2)ft(t,5,2);else if(p[2]===">"){ft(t,14,2),Bt(t,3);continue}else if(/[a-z]/i.test(p[2])){ft(t,23),$c(t,1,o);continue}else ft(t,12,2),h=sl(t);else/[a-z]/i.test(p[1])?(h=GC(t,i),Ii("COMPILER_NATIVE_TEMPLATE",t)&&h&&h.tag==="template"&&!h.props.some(g=>g.type===7&&Lm(g.name))&&(h=h.children)):p[1]==="?"?(ft(t,21,1),h=sl(t)):ft(t,12,1)}if(h||(h=QC(t,r)),Fe(h))for(let g=0;g<h.length;g++)Am(f,h[g]);else Am(f,h)}let c=!1;if(r!==2&&r!==1){const p=t.options.whitespace!=="preserve";for(let h=0;h<f.length;h++){const g=f[h];if(!t.inPre&&g.type===2)if(/[^\t\r\n\f ]/.test(g.content))p&&(g.content=g.content.replace(/[\t\r\n\f ]+/g," "));else{const m=f[h-1],b=f[h+1];!m||!b||p&&(m.type===3||b.type===3||m.type===1&&b.type===1&&/[\r\n]/.test(g.content))?(c=!0,f[h]=null):g.content=" "}else g.type===3&&!t.options.comments&&(c=!0,f[h]=null)}if(t.inPre&&o&&t.options.isPreTag(o.tag)){const h=f[0];h&&h.type===2&&(h.content=h.content.replace(/^\r?\n/,""))}}return c?f.filter(Boolean):f}function Am(t,r){if(r.type===2){const i=eu(t);if(i&&i.type===2&&i.loc.end.offset===r.loc.start.offset){i.content+=r.content,i.loc.end=r.loc.end,i.loc.source+=r.loc.source;return}}t.push(r)}function $C(t,r){Bt(t,9);const i=Uc(t,3,r);return t.source.length===0?ft(t,6):Bt(t,3),i}function VC(t){const r=Mr(t);let i;const o=/--(\!)?>/.exec(t.source);if(!o)i=t.source.slice(4),Bt(t,t.source.length),ft(t,7);else{o.index<=3&&ft(t,0),o[1]&&ft(t,10),i=t.source.slice(4,o.index);const u=t.source.slice(0,o.index);let f=1,c=0;for(;(c=u.indexOf("<!--",f))!==-1;)Bt(t,c-f+1),c+4<u.length&&ft(t,16),f=c+1;Bt(t,o.index+o[0].length-f+1)}return{type:3,content:i,loc:Nr(t,r)}}function sl(t){const r=Mr(t),i=t.source[1]==="?"?1:2;let o;const u=t.source.indexOf(">");return u===-1?(o=t.source.slice(i),Bt(t,t.source.length)):(o=t.source.slice(i,u),Bt(t,u+1)),{type:3,content:o,loc:Nr(t,r)}}function GC(t,r){const i=t.inPre,o=t.inVPre,u=eu(r),f=$c(t,0,u),c=t.inPre&&!i,p=t.inVPre&&!o;if(f.isSelfClosing||t.options.isVoidTag(f.tag))return c&&(t.inPre=!1),p&&(t.inVPre=!1),f;r.push(f);const h=t.options.getTextMode(f,u),g=Uc(t,h,r);r.pop();{const m=f.props.find(b=>b.type===6&&b.name==="inline-template");if(m&&Ri("COMPILER_INLINE_TEMPLATE",t,m.loc)){const b=Nr(t,f.loc.end);m.value={type:2,content:b.source,loc:b}}}if(f.children=g,Vc(t.source,f.tag))$c(t,1,u);else if(ft(t,24,0,f.loc.start),t.source.length===0&&f.tag.toLowerCase()==="script"){const m=g[0];m&&Qt(m.loc.source,"<!--")&&ft(t,8)}return f.loc=Nr(t,f.loc.start),c&&(t.inPre=!1),p&&(t.inVPre=!1),f}const Lm=jt("if,else,else-if,for,slot");function $c(t,r,i){const o=Mr(t),u=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(t.source),f=u[1],c=t.options.getNamespace(f,i);Bt(t,u[0].length),al(t);const p=Mr(t),h=t.source;t.options.isPreTag(f)&&(t.inPre=!0);let g=Nm(t,r);r===0&&!t.inVPre&&g.some(x=>x.type===7&&x.name==="pre")&&(t.inVPre=!0,lt(t,p),t.source=h,g=Nm(t,r).filter(x=>x.name!=="v-pre"));let m=!1;if(t.source.length===0?ft(t,9):(m=Qt(t.source,"/>"),r===1&&m&&ft(t,4),Bt(t,m?2:1)),r===1)return;let b=0;return t.inVPre||(f==="slot"?b=2:f==="template"?g.some(x=>x.type===7&&Lm(x.name))&&(b=3):YC(f,g,t)&&(b=1)),{type:1,ns:c,tag:f,tagType:b,props:g,isSelfClosing:m,children:[],loc:Nr(t,o),codegenNode:void 0}}function YC(t,r,i){const o=i.options;if(o.isCustomElement(t))return!1;if(t==="component"||/^[A-Z]/.test(t)||zc(t)||o.isBuiltInComponent&&o.isBuiltInComponent(t)||o.isNativeTag&&!o.isNativeTag(t))return!0;for(let u=0;u<r.length;u++){const f=r[u];if(f.type===6){if(f.name==="is"&&f.value){if(f.value.content.startsWith("vue:"))return!0;if(Ri("COMPILER_IS_ON_ELEMENT",i,f.loc))return!0}}else{if(f.name==="is")return!0;if(f.name==="bind"&&nl(f.arg,"is")&&!0&&Ri("COMPILER_IS_ON_ELEMENT",i,f.loc))return!0}}}function Nm(t,r){const i=[],o=new Set;for(;t.source.length>0&&!Qt(t.source,">")&&!Qt(t.source,"/>");){if(Qt(t.source,"/")){ft(t,22),Bt(t,1),al(t);continue}r===1&&ft(t,3);const u=XC(t,o);u.type===6&&u.value&&u.name==="class"&&(u.value.content=u.value.content.replace(/\s+/g," ").trim()),r===0&&i.push(u),/^[^\t\r\n\f />]/.test(t.source)&&ft(t,15),al(t)}return i}function XC(t,r){const i=Mr(t),u=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(t.source)[0];r.has(u)&&ft(t,2),r.add(u),u[0]==="="&&ft(t,19);{const p=/["'<]/g;let h;for(;h=p.exec(u);)ft(t,17,h.index)}Bt(t,u.length);let f;/^[\t\r\n\f ]*=/.test(t.source)&&(al(t),Bt(t,1),al(t),f=JC(t),f||ft(t,13));const c=Nr(t,i);if(!t.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(u)){const p=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(u);let h=Qt(u,"."),g=p[1]||(h||Qt(u,":")?"bind":Qt(u,"@")?"on":"slot"),m;if(p[2]){const x=g==="slot",E=u.lastIndexOf(p[2]),P=Nr(t,Im(t,i,E),Im(t,i,E+p[2].length+(x&&p[3]||"").length));let B=p[2],L=!0;B.startsWith("[")?(L=!1,B.endsWith("]")?B=B.slice(1,B.length-1):(ft(t,27),B=B.slice(1))):x&&(B+=p[3]||""),m={type:4,content:B,isStatic:L,constType:L?3:0,loc:P}}if(f&&f.isQuoted){const x=f.loc;x.start.offset++,x.start.column++,x.end=tl(x.start,f.content),x.source=x.source.slice(1,-1)}const b=p[3]?p[3].slice(1).split("."):[];return h&&b.push("prop"),g==="bind"&&m&&b.includes("sync")&&Ri("COMPILER_V_BIND_SYNC",t,c,m.loc.source)&&(g="model",b.splice(b.indexOf("sync"),1)),{type:7,name:g,exp:f&&{type:4,content:f.content,isStatic:!1,constType:0,loc:f.loc},arg:m,modifiers:b,loc:c}}return!t.inVPre&&Qt(u,"v-")&&ft(t,26),{type:6,name:u,value:f&&{type:2,content:f.content,loc:f.loc},loc:c}}function JC(t){const r=Mr(t);let i;const o=t.source[0],u=o==='"'||o==="'";if(u){Bt(t,1);const f=t.source.indexOf(o);f===-1?i=ll(t,t.source.length,4):(i=ll(t,f,4),Bt(t,1))}else{const f=/^[^\t\r\n\f >]+/.exec(t.source);if(!f)return;const c=/["'<=`]/g;let p;for(;p=c.exec(f[0]);)ft(t,18,p.index);i=ll(t,f[0].length,4)}return{content:i,isQuoted:u,loc:Nr(t,r)}}function ZC(t,r){const[i,o]=t.options.delimiters,u=t.source.indexOf(o,i.length);if(u===-1){ft(t,25);return}const f=Mr(t);Bt(t,i.length);const c=Mr(t),p=Mr(t),h=u-i.length,g=t.source.slice(0,h),m=ll(t,h,r),b=m.trim(),x=m.indexOf(b);x>0&&rl(c,g,x);const E=h-(m.length-b.length-x);return rl(p,g,E),Bt(t,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:b,loc:Nr(t,c,p)},loc:Nr(t,f)}}function QC(t,r){const i=r===3?["]]>"]:["<",t.options.delimiters[0]];let o=t.source.length;for(let c=0;c<i.length;c++){const p=t.source.indexOf(i[c],1);p!==-1&&o>p&&(o=p)}const u=Mr(t),f=ll(t,o,r);return{type:2,content:f,loc:Nr(t,u)}}function ll(t,r,i){const o=t.source.slice(0,r);return Bt(t,r),i===2||i===3||o.indexOf("&")===-1?o:t.options.decodeEntities(o,i===4)}function Mr(t){const{column:r,line:i,offset:o}=t;return{column:r,line:i,offset:o}}function Nr(t,r,i){return i=i||Mr(t),{start:r,end:i,source:t.originalSource.slice(r.offset,i.offset)}}function eu(t){return t[t.length-1]}function Qt(t,r){return t.startsWith(r)}function Bt(t,r){const{source:i}=t;rl(t,i,r),t.source=i.slice(r)}function al(t){const r=/^[\t\r\n\f ]+/.exec(t.source);r&&Bt(t,r[0].length)}function Im(t,r,i){return tl(r,t.originalSource.slice(r.offset,i),i)}function ft(t,r,i,o=Mr(t)){i&&(o.offset+=i,o.column+=i),t.options.onError(yt(r,{start:o,end:o,source:""}))}function qC(t,r,i){const o=t.source;switch(r){case 0:if(Qt(o,"</")){for(let u=i.length-1;u>=0;--u)if(Vc(o,i[u].tag))return!0}break;case 1:case 2:{const u=eu(i);if(u&&Vc(o,u.tag))return!0;break}case 3:if(Qt(o,"]]>"))return!0;break}return!o}function Vc(t,r){return Qt(t,"</")&&t.slice(2,2+r.length).toLowerCase()===r.toLowerCase()&&/[\t\r\n\f />]/.test(t[2+r.length]||">")}function _C(t,r){tu(t,r,Rm(t,t.children[0]))}function Rm(t,r){const{children:i}=t;return i.length===1&&r.type===1&&!il(r)}function tu(t,r,i=!1){let o=!0;const{children:u}=t,f=u.length;let c=0;for(let p=0;p<u.length;p++){const h=u[p];if(h.type===1&&h.tagType===0){const g=i?0:Ir(h,r);if(g>0){if(g<3&&(o=!1),g>=2){h.codegenNode.patchFlag=-1+"",h.codegenNode=r.hoist(h.codegenNode),c++;continue}}else{const m=h.codegenNode;if(m.type===13){const b=Hm(m);if((!b||b===512||b===1)&&Fm(h,r)>=2){const x=zm(h);x&&(m.props=r.hoist(x))}m.dynamicProps&&(m.dynamicProps=r.hoist(m.dynamicProps))}}}else if(h.type===12){const g=Ir(h.content,r);g>0&&(g<3&&(o=!1),g>=2&&(h.codegenNode=r.hoist(h.codegenNode),c++))}if(h.type===1){const g=h.tagType===1;g&&r.scopes.vSlot++,tu(h,r),g&&r.scopes.vSlot--}else if(h.type===11)tu(h,r,h.children.length===1);else if(h.type===9)for(let g=0;g<h.branches.length;g++)tu(h.branches[g],r,h.branches[g].children.length===1)}o&&c&&r.transformHoist&&r.transformHoist(u,r,t),c&&c===f&&t.type===1&&t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&Fe(t.codegenNode.children)&&(t.codegenNode.children=r.hoist(Ao(t.codegenNode.children)))}function Ir(t,r){const{constantCache:i}=r;switch(t.type){case 1:if(t.tagType!==0)return 0;const o=i.get(t);if(o!==void 0)return o;const u=t.codegenNode;if(u.type!==13)return 0;if(Hm(u))return i.set(t,0),0;{let p=3;const h=Fm(t,r);if(h===0)return i.set(t,0),0;h<p&&(p=h);for(let g=0;g<t.children.length;g++){const m=Ir(t.children[g],r);if(m===0)return i.set(t,0),0;m<p&&(p=m)}if(p>1)for(let g=0;g<t.props.length;g++){const m=t.props[g];if(m.type===7&&m.name==="bind"&&m.exp){const b=Ir(m.exp,r);if(b===0)return i.set(t,0),0;b<p&&(p=b)}}return u.isBlock&&(r.removeHelper(Zn),r.removeHelper(Ni(r.inSSR,u.isComponent)),u.isBlock=!1,r.helper(Li(r.inSSR,u.isComponent))),i.set(t,p),p}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ir(t.content,r);case 4:return t.constType;case 8:let c=3;for(let p=0;p<t.children.length;p++){const h=t.children[p];if(Ze(h)||di(h))continue;const g=Ir(h,r);if(g===0)return 0;g<c&&(c=g)}return c;default:return 0}}const eT=new Set([$a,Va,ko,Po]);function Dm(t,r){if(t.type===14&&!Ze(t.callee)&&eT.has(t.callee)){const i=t.arguments[0];if(i.type===4)return Ir(i,r);if(i.type===14)return Dm(i,r)}return 0}function Fm(t,r){let i=3;const o=zm(t);if(o&&o.type===15){const{properties:u}=o;for(let f=0;f<u.length;f++){const{key:c,value:p}=u[f],h=Ir(c,r);if(h===0)return h;h<i&&(i=h);let g;if(p.type===4?g=Ir(p,r):p.type===14?g=Dm(p,r):g=0,g===0)return g;g<i&&(i=g)}}return i}function zm(t){const r=t.codegenNode;if(r.type===13)return r.props}function Hm(t){const r=t.patchFlag;return r?parseInt(r,10):void 0}function Bm(t,{filename:r="",prefixIdentifiers:i=!1,hoistStatic:o=!1,cacheHandlers:u=!1,nodeTransforms:f=[],directiveTransforms:c={},transformHoist:p=null,isBuiltInComponent:h=or,isCustomElement:g=or,expressionPlugins:m=[],scopeId:b=null,slotted:x=!0,ssr:E=!1,inSSR:P=!1,ssrCssVars:B="",bindingMetadata:L=st,inline:F=!1,isTS:M=!1,onError:N=Mc,onWarn:H=gm,compatConfig:Q}){const J=r.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),K={selfName:J&&Dn(Gt(J[1])),prefixIdentifiers:i,hoistStatic:o,cacheHandlers:u,nodeTransforms:f,directiveTransforms:c,transformHoist:p,isBuiltInComponent:h,isCustomElement:g,expressionPlugins:m,scopeId:b,slotted:x,ssr:E,inSSR:P,ssrCssVars:B,bindingMetadata:L,inline:F,isTS:M,onError:N,onWarn:H,compatConfig:Q,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(U){const q=K.helpers.get(U)||0;return K.helpers.set(U,q+1),U},removeHelper(U){const q=K.helpers.get(U);if(q){const te=q-1;te?K.helpers.set(U,te):K.helpers.delete(U)}},helperString(U){return`_${Sn[K.helper(U)]}`},replaceNode(U){K.parent.children[K.childIndex]=K.currentNode=U},removeNode(U){const q=K.parent.children,te=U?q.indexOf(U):K.currentNode?K.childIndex:-1;!U||U===K.currentNode?(K.currentNode=null,K.onNodeRemoved()):K.childIndex>te&&(K.childIndex--,K.onNodeRemoved()),K.parent.children.splice(te,1)},onNodeRemoved:()=>{},addIdentifiers(U){},removeIdentifiers(U){},hoist(U){Ze(U)&&(U=qe(U)),K.hoists.push(U);const q=qe(`_hoisted_${K.hoists.length}`,!1,U.loc,2);return q.hoisted=U,q},cache(U,q=!1){return Cm(K.cached++,U,q)}};return K.filters=new Set,K}function Wm(t,r){const i=Bm(t,r);ul(t,i),r.hoistStatic&&_C(t,i),r.ssr||tT(t,i),t.helpers=[...i.helpers.keys()],t.components=[...i.components],t.directives=[...i.directives],t.imports=i.imports,t.hoists=i.hoists,t.temps=i.temps,t.cached=i.cached,t.filters=[...i.filters]}function tT(t,r){const{helper:i}=r,{children:o}=t;if(o.length===1){const u=o[0];if(Rm(t,u)&&u.codegenNode){const f=u.codegenNode;f.type===13&&_a(f,r),t.codegenNode=f}else t.codegenNode=u}else if(o.length>1){let u=64;rf[64],t.codegenNode=Mo(r,i(To),void 0,t.children,u+"",void 0,void 0,!0,void 0,!1)}}function rT(t,r){let i=0;const o=()=>{i--};for(;i<t.children.length;i++){const u=t.children[i];Ze(u)||(r.parent=t,r.childIndex=i,r.onNodeRemoved=o,ul(u,r))}}function ul(t,r){r.currentNode=t;const{nodeTransforms:i}=r,o=[];for(let f=0;f<i.length;f++){const c=i[f](t,r);if(c&&(Fe(c)?o.push(...c):o.push(c)),r.currentNode)t=r.currentNode;else return}switch(t.type){case 3:r.ssr||r.helper(Oo);break;case 5:r.ssr||r.helper(Qs);break;case 9:for(let f=0;f<t.branches.length;f++)ul(t.branches[f],r);break;case 10:case 11:case 1:case 0:rT(t,r);break}r.currentNode=t;let u=o.length;for(;u--;)o[u]()}function Gc(t,r){const i=Ze(t)?o=>o===t:o=>t.test(o);return(o,u)=>{if(o.type===1){const{props:f}=o;if(o.tagType===3&&f.some(Wc))return;const c=[];for(let p=0;p<f.length;p++){const h=f[p];if(h.type===7&&i(h.name)){f.splice(p,1),p--;const g=r(o,h,u);g&&c.push(g)}}return c}}}const ru="/*#__PURE__*/";function nT(t,{mode:r="function",prefixIdentifiers:i=r==="module",sourceMap:o=!1,filename:u="template.vue.html",scopeId:f=null,optimizeImports:c=!1,runtimeGlobalName:p="Vue",runtimeModuleName:h="vue",ssrRuntimeModuleName:g="vue/server-renderer",ssr:m=!1,isTS:b=!1,inSSR:x=!1}){const E={mode:r,prefixIdentifiers:i,sourceMap:o,filename:u,scopeId:f,optimizeImports:c,runtimeGlobalName:p,runtimeModuleName:h,ssrRuntimeModuleName:g,ssr:m,isTS:b,inSSR:x,source:t.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(B){return`_${Sn[B]}`},push(B,L){E.code+=B},indent(){P(++E.indentLevel)},deindent(B=!1){B?--E.indentLevel:P(--E.indentLevel)},newline(){P(E.indentLevel)}};function P(B){E.push(`
34
- `+" ".repeat(B))}return E}function jm(t,r={}){const i=nT(t,r);r.onContextCreated&&r.onContextCreated(i);const{mode:o,push:u,prefixIdentifiers:f,indent:c,deindent:p,newline:h,scopeId:g,ssr:m}=i,b=t.helpers.length>0,x=!f&&o!=="module";iT(t,i);const P=m?"ssrRender":"render",L=(m?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(u(`function ${P}(${L}) {`),c(),x&&(u("with (_ctx) {"),c(),b&&(u(`const { ${t.helpers.map(F=>`${Sn[F]}: _${Sn[F]}`).join(", ")} } = _Vue`),u(`
32
+ */const Gv=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",So=t=>Gv?Symbol(t):"_vr_"+t,T1=So("rvlm"),Yv=So("rvd"),Sc=So("r"),xc=So("rl"),wc=So("rvl"),xo=typeof window!="undefined";function E1(t){return t.__esModule||Gv&&t[Symbol.toStringTag]==="Module"}const dt=Object.assign;function Cc(t,r){const i={};for(const o in r){const u=r[o];i[o]=Array.isArray(u)?u.map(t):t(u)}return i}const Gs=()=>{},O1=/\/$/,k1=t=>t.replace(O1,"");function Tc(t,r,i="/"){let o,u={},f="",c="";const p=r.indexOf("?"),h=r.indexOf("#",p>-1?p:0);return p>-1&&(o=r.slice(0,p),f=r.slice(p+1,h>-1?h:r.length),u=t(f)),h>-1&&(o=o||r.slice(0,h),c=r.slice(h,r.length)),o=L1(o!=null?o:r,i),{fullPath:o+(f&&"?")+f+c,path:o,query:u,hash:c}}function P1(t,r){const i=r.query?t(r.query):"";return r.path+(i&&"?")+i+(r.hash||"")}function Xv(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function M1(t,r,i){const o=r.matched.length-1,u=i.matched.length-1;return o>-1&&o===u&&wo(r.matched[o],i.matched[u])&&Jv(r.params,i.params)&&t(r.query)===t(i.query)&&r.hash===i.hash}function wo(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function Jv(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const i in t)if(!A1(t[i],r[i]))return!1;return!0}function A1(t,r){return Array.isArray(t)?Zv(t,r):Array.isArray(r)?Zv(r,t):t===r}function Zv(t,r){return Array.isArray(r)?t.length===r.length&&t.every((i,o)=>i===r[o]):t.length===1&&t[0]===r}function L1(t,r){if(t.startsWith("/"))return t;if(!t)return r;const i=r.split("/"),o=t.split("/");let u=i.length-1,f,c;for(f=0;f<o.length;f++)if(c=o[f],!(u===1||c==="."))if(c==="..")u--;else break;return i.slice(0,u).join("/")+"/"+o.slice(f-(f===o.length?1:0)).join("/")}var Ys;(function(t){t.pop="pop",t.push="push"})(Ys||(Ys={}));var Xs;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Xs||(Xs={}));function N1(t){if(!t)if(xo){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),k1(t)}const I1=/^[^#]+#/;function R1(t,r){return t.replace(I1,"#")+r}function D1(t,r){const i=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:r.behavior,left:o.left-i.left-(r.left||0),top:o.top-i.top-(r.top||0)}}const Ra=()=>({left:window.pageXOffset,top:window.pageYOffset});function F1(t){let r;if("el"in t){const i=t.el,o=typeof i=="string"&&i.startsWith("#"),u=typeof i=="string"?o?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!u)return;r=D1(u,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.pageXOffset,r.top!=null?r.top:window.pageYOffset)}function Qv(t,r){return(history.state?history.state.position-r:-1)+t}const Ec=new Map;function z1(t,r){Ec.set(t,r)}function H1(t){const r=Ec.get(t);return Ec.delete(t),r}let B1=()=>location.protocol+"//"+location.host;function qv(t,r){const{pathname:i,search:o,hash:u}=r,f=t.indexOf("#");if(f>-1){let p=u.includes(t.slice(f))?t.slice(f).length:1,h=u.slice(p);return h[0]!=="/"&&(h="/"+h),Xv(h,"")}return Xv(i,t)+o+u}function W1(t,r,i,o){let u=[],f=[],c=null;const p=({state:x})=>{const E=qv(t,location),P=i.value,B=r.value;let L=0;if(x){if(i.value=E,r.value=x,c&&c===P){c=null;return}L=B?x.position-B.position:0}else o(E);u.forEach(F=>{F(i.value,P,{delta:L,type:Ys.pop,direction:L?L>0?Xs.forward:Xs.back:Xs.unknown})})};function h(){c=i.value}function g(x){u.push(x);const E=()=>{const P=u.indexOf(x);P>-1&&u.splice(P,1)};return f.push(E),E}function m(){const{history:x}=window;!x.state||x.replaceState(dt({},x.state,{scroll:Ra()}),"")}function b(){for(const x of f)x();f=[],window.removeEventListener("popstate",p),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",p),window.addEventListener("beforeunload",m),{pauseListeners:h,listen:g,destroy:b}}function _v(t,r,i,o=!1,u=!1){return{back:t,current:r,forward:i,replaced:o,position:window.history.length,scroll:u?Ra():null}}function j1(t){const{history:r,location:i}=window,o={value:qv(t,i)},u={value:r.state};u.value||f(o.value,{back:null,current:o.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function f(h,g,m){const b=t.indexOf("#"),x=b>-1?(i.host&&document.querySelector("base")?t:t.slice(b))+h:B1()+t+h;try{r[m?"replaceState":"pushState"](g,"",x),u.value=g}catch(E){console.error(E),i[m?"replace":"assign"](x)}}function c(h,g){const m=dt({},r.state,_v(u.value.back,h,u.value.forward,!0),g,{position:u.value.position});f(h,m,!0),o.value=h}function p(h,g){const m=dt({},u.value,r.state,{forward:h,scroll:Ra()});f(m.current,m,!0);const b=dt({},_v(o.value,h,null),{position:m.position+1},g);f(h,b,!1),o.value=h}return{location:o,state:u,push:p,replace:c}}function K1(t){t=N1(t);const r=j1(t),i=W1(t,r.state,r.location,r.replace);function o(f,c=!0){c||i.pauseListeners(),history.go(f)}const u=dt({location:"",base:t,go:o,createHref:R1.bind(null,t)},r,i);return Object.defineProperty(u,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(u,"state",{enumerable:!0,get:()=>r.state.value}),u}function xE(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),K1(t)}function U1(t){return typeof t=="string"||t&&typeof t=="object"}function em(t){return typeof t=="string"||typeof t=="symbol"}const Xn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tm=So("nf");var rm;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(rm||(rm={}));function Co(t,r){return dt(new Error,{type:t,[tm]:!0},r)}function Pi(t,r){return t instanceof Error&&tm in t&&(r==null||!!(t.type&r))}const nm="[^/]+?",$1={sensitive:!1,strict:!1,start:!0,end:!0},V1=/[.+*?^${}()[\]/\\]/g;function G1(t,r){const i=dt({},$1,r),o=[];let u=i.start?"^":"";const f=[];for(const g of t){const m=g.length?[]:[90];i.strict&&!g.length&&(u+="/");for(let b=0;b<g.length;b++){const x=g[b];let E=40+(i.sensitive?.25:0);if(x.type===0)b||(u+="/"),u+=x.value.replace(V1,"\\$&"),E+=40;else if(x.type===1){const{value:P,repeatable:B,optional:L,regexp:F}=x;f.push({name:P,repeatable:B,optional:L});const M=F||nm;if(M!==nm){E+=10;try{new RegExp(`(${M})`)}catch(H){throw new Error(`Invalid custom RegExp for param "${P}" (${M}): `+H.message)}}let N=B?`((?:${M})(?:/(?:${M}))*)`:`(${M})`;b||(N=L&&g.length<2?`(?:/${N})`:"/"+N),L&&(N+="?"),u+=N,E+=20,L&&(E+=-8),B&&(E+=-20),M===".*"&&(E+=-50)}m.push(E)}o.push(m)}if(i.strict&&i.end){const g=o.length-1;o[g][o[g].length-1]+=.7000000000000001}i.strict||(u+="/?"),i.end?u+="$":i.strict&&(u+="(?:/|$)");const c=new RegExp(u,i.sensitive?"":"i");function p(g){const m=g.match(c),b={};if(!m)return null;for(let x=1;x<m.length;x++){const E=m[x]||"",P=f[x-1];b[P.name]=E&&P.repeatable?E.split("/"):E}return b}function h(g){let m="",b=!1;for(const x of t){(!b||!m.endsWith("/"))&&(m+="/"),b=!1;for(const E of x)if(E.type===0)m+=E.value;else if(E.type===1){const{value:P,repeatable:B,optional:L}=E,F=P in g?g[P]:"";if(Array.isArray(F)&&!B)throw new Error(`Provided param "${P}" is an array but it is not repeatable (* or + modifiers)`);const M=Array.isArray(F)?F.join("/"):F;if(!M)if(L)x.length<2&&(m.endsWith("/")?m=m.slice(0,-1):b=!0);else throw new Error(`Missing required param "${P}"`);m+=M}}return m}return{re:c,score:o,keys:f,parse:p,stringify:h}}function Y1(t,r){let i=0;for(;i<t.length&&i<r.length;){const o=r[i]-t[i];if(o)return o;i++}return t.length<r.length?t.length===1&&t[0]===40+40?-1:1:t.length>r.length?r.length===1&&r[0]===40+40?1:-1:0}function X1(t,r){let i=0;const o=t.score,u=r.score;for(;i<o.length&&i<u.length;){const f=Y1(o[i],u[i]);if(f)return f;i++}return u.length-o.length}const J1={type:0,value:""},Z1=/[a-zA-Z0-9_]/;function Q1(t){if(!t)return[[]];if(t==="/")return[[J1]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(E){throw new Error(`ERR (${i})/"${g}": ${E}`)}let i=0,o=i;const u=[];let f;function c(){f&&u.push(f),f=[]}let p=0,h,g="",m="";function b(){!g||(i===0?f.push({type:0,value:g}):i===1||i===2||i===3?(f.length>1&&(h==="*"||h==="+")&&r(`A repeatable param (${g}) must be alone in its segment. eg: '/:ids+.`),f.push({type:1,value:g,regexp:m,repeatable:h==="*"||h==="+",optional:h==="*"||h==="?"})):r("Invalid state to consume buffer"),g="")}function x(){g+=h}for(;p<t.length;){if(h=t[p++],h==="\\"&&i!==2){o=i,i=4;continue}switch(i){case 0:h==="/"?(g&&b(),c()):h===":"?(b(),i=1):x();break;case 4:x(),i=o;break;case 1:h==="("?i=2:Z1.test(h)?x():(b(),i=0,h!=="*"&&h!=="?"&&h!=="+"&&p--);break;case 2:h===")"?m[m.length-1]=="\\"?m=m.slice(0,-1)+h:i=3:m+=h;break;case 3:b(),i=0,h!=="*"&&h!=="?"&&h!=="+"&&p--,m="";break;default:r("Unknown state");break}}return i===2&&r(`Unfinished custom RegExp for param "${g}"`),b(),c(),u}function q1(t,r,i){const o=G1(Q1(t.path),i),u=dt(o,{record:t,parent:r,children:[],alias:[]});return r&&!u.record.aliasOf==!r.record.aliasOf&&r.children.push(u),u}function _1(t,r){const i=[],o=new Map;r=om({strict:!1,end:!0,sensitive:!1},r);function u(m){return o.get(m)}function f(m,b,x){const E=!x,P=tC(m);P.aliasOf=x&&x.record;const B=om(r,m),L=[P];if("alias"in m){const N=typeof m.alias=="string"?[m.alias]:m.alias;for(const H of N)L.push(dt({},P,{components:x?x.record.components:P.components,path:H,aliasOf:x?x.record:P}))}let F,M;for(const N of L){const{path:H}=N;if(b&&H[0]!=="/"){const Q=b.record.path,J=Q[Q.length-1]==="/"?"":"/";N.path=b.record.path+(H&&J+H)}if(F=q1(N,b,B),x?x.alias.push(F):(M=M||F,M!==F&&M.alias.push(F),E&&m.name&&!im(F)&&c(m.name)),"children"in P){const Q=P.children;for(let J=0;J<Q.length;J++)f(Q[J],F,x&&x.children[J])}x=x||F,h(F)}return M?()=>{c(M)}:Gs}function c(m){if(em(m)){const b=o.get(m);b&&(o.delete(m),i.splice(i.indexOf(b),1),b.children.forEach(c),b.alias.forEach(c))}else{const b=i.indexOf(m);b>-1&&(i.splice(b,1),m.record.name&&o.delete(m.record.name),m.children.forEach(c),m.alias.forEach(c))}}function p(){return i}function h(m){let b=0;for(;b<i.length&&X1(m,i[b])>=0;)b++;i.splice(b,0,m),m.record.name&&!im(m)&&o.set(m.record.name,m)}function g(m,b){let x,E={},P,B;if("name"in m&&m.name){if(x=o.get(m.name),!x)throw Co(1,{location:m});B=x.record.name,E=dt(eC(b.params,x.keys.filter(M=>!M.optional).map(M=>M.name)),m.params),P=x.stringify(E)}else if("path"in m)P=m.path,x=i.find(M=>M.re.test(P)),x&&(E=x.parse(P),B=x.record.name);else{if(x=b.name?o.get(b.name):i.find(M=>M.re.test(b.path)),!x)throw Co(1,{location:m,currentLocation:b});B=x.record.name,E=dt({},b.params,m.params),P=x.stringify(E)}const L=[];let F=x;for(;F;)L.unshift(F.record),F=F.parent;return{name:B,path:P,params:E,matched:L,meta:nC(L)}}return t.forEach(m=>f(m)),{addRoute:f,resolve:g,removeRoute:c,getRoutes:p,getRecordMatcher:u}}function eC(t,r){const i={};for(const o of r)o in t&&(i[o]=t[o]);return i}function tC(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:rC(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||{}:{default:t.component}}}function rC(t){const r={},i=t.props||!1;if("component"in t)r.default=i;else for(const o in t.components)r[o]=typeof i=="boolean"?i:i[o];return r}function im(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function nC(t){return t.reduce((r,i)=>dt(r,i.meta),{})}function om(t,r){const i={};for(const o in t)i[o]=o in r?r[o]:t[o];return i}const sm=/#/g,iC=/&/g,oC=/\//g,sC=/=/g,lC=/\?/g,lm=/\+/g,aC=/%5B/g,uC=/%5D/g,am=/%5E/g,fC=/%60/g,um=/%7B/g,cC=/%7C/g,fm=/%7D/g,dC=/%20/g;function Oc(t){return encodeURI(""+t).replace(cC,"|").replace(aC,"[").replace(uC,"]")}function hC(t){return Oc(t).replace(um,"{").replace(fm,"}").replace(am,"^")}function kc(t){return Oc(t).replace(lm,"%2B").replace(dC,"+").replace(sm,"%23").replace(iC,"%26").replace(fC,"`").replace(um,"{").replace(fm,"}").replace(am,"^")}function pC(t){return kc(t).replace(sC,"%3D")}function gC(t){return Oc(t).replace(sm,"%23").replace(lC,"%3F")}function vC(t){return t==null?"":gC(t).replace(oC,"%2F")}function Da(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function mC(t){const r={};if(t===""||t==="?")return r;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let u=0;u<o.length;++u){const f=o[u].replace(lm," "),c=f.indexOf("="),p=Da(c<0?f:f.slice(0,c)),h=c<0?null:Da(f.slice(c+1));if(p in r){let g=r[p];Array.isArray(g)||(g=r[p]=[g]),g.push(h)}else r[p]=h}return r}function cm(t){let r="";for(let i in t){const o=t[i];if(i=pC(i),o==null){o!==void 0&&(r+=(r.length?"&":"")+i);continue}(Array.isArray(o)?o.map(f=>f&&kc(f)):[o&&kc(o)]).forEach(f=>{f!==void 0&&(r+=(r.length?"&":"")+i,f!=null&&(r+="="+f))})}return r}function yC(t){const r={};for(const i in t){const o=t[i];o!==void 0&&(r[i]=Array.isArray(o)?o.map(u=>u==null?null:""+u):o==null?o:""+o)}return r}function Js(){let t=[];function r(o){return t.push(o),()=>{const u=t.indexOf(o);u>-1&&t.splice(u,1)}}function i(){t=[]}return{add:r,list:()=>t,reset:i}}function Jn(t,r,i,o,u){const f=o&&(o.enterCallbacks[u]=o.enterCallbacks[u]||[]);return()=>new Promise((c,p)=>{const h=b=>{b===!1?p(Co(4,{from:i,to:r})):b instanceof Error?p(b):U1(b)?p(Co(2,{from:r,to:b})):(f&&o.enterCallbacks[u]===f&&typeof b=="function"&&f.push(b),c())},g=t.call(o&&o.instances[u],r,i,h);let m=Promise.resolve(g);t.length<3&&(m=m.then(h)),m.catch(b=>p(b))})}function Pc(t,r,i,o){const u=[];for(const f of t)for(const c in f.components){let p=f.components[c];if(!(r!=="beforeRouteEnter"&&!f.instances[c]))if(bC(p)){const g=(p.__vccOpts||p)[r];g&&u.push(Jn(g,i,o,f,c))}else{let h=p();u.push(()=>h.then(g=>{if(!g)return Promise.reject(new Error(`Couldn't resolve component "${c}" at "${f.path}"`));const m=E1(g)?g.default:g;f.components[c]=m;const x=(m.__vccOpts||m)[r];return x&&Jn(x,i,o,f,c)()}))}}return u}function bC(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function dm(t){const r=Wr(Sc),i=Wr(xc),o=sr(()=>r.resolve(Ct(t.to))),u=sr(()=>{const{matched:h}=o.value,{length:g}=h,m=h[g-1],b=i.matched;if(!m||!b.length)return-1;const x=b.findIndex(wo.bind(null,m));if(x>-1)return x;const E=hm(h[g-2]);return g>1&&hm(m)===E&&b[b.length-1].path!==E?b.findIndex(wo.bind(null,h[g-2])):x}),f=sr(()=>u.value>-1&&CC(i.params,o.value.params)),c=sr(()=>u.value>-1&&u.value===i.matched.length-1&&Jv(i.params,o.value.params));function p(h={}){return wC(h)?r[Ct(t.replace)?"replace":"push"](Ct(t.to)).catch(Gs):Promise.resolve()}return{route:o,href:sr(()=>o.value.href),isActive:f,isExactActive:c,navigate:p}}const SC=Ms({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:dm,setup(t,{slots:r}){const i=lo(dm(t)),{options:o}=Wr(Sc),u=sr(()=>({[pm(t.activeClass,o.linkActiveClass,"router-link-active")]:i.isActive,[pm(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const f=r.default&&r.default(i);return t.custom?f:Pa("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:u.value},f)}}}),xC=SC;function wC(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function CC(t,r){for(const i in r){const o=r[i],u=t[i];if(typeof o=="string"){if(o!==u)return!1}else if(!Array.isArray(u)||u.length!==o.length||o.some((f,c)=>f!==u[c]))return!1}return!0}function hm(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const pm=(t,r,i)=>t!=null?t:r!=null?r:i,TC=Ms({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(t,{attrs:r,slots:i}){const o=Wr(wc),u=sr(()=>t.route||o.value),f=Wr(Yv,0),c=sr(()=>u.value.matched[f]);Ps(Yv,f+1),Ps(T1,c),Ps(wc,u);const p=Ft();return gr(()=>[p.value,c.value,t.name],([h,g,m],[b,x,E])=>{g&&(g.instances[m]=h,x&&x!==g&&h&&h===b&&(g.leaveGuards.size||(g.leaveGuards=x.leaveGuards),g.updateGuards.size||(g.updateGuards=x.updateGuards))),h&&g&&(!x||!wo(g,x)||!b)&&(g.enterCallbacks[m]||[]).forEach(P=>P(h))},{flush:"post"}),()=>{const h=u.value,g=c.value,m=g&&g.components[t.name],b=t.name;if(!m)return gm(i.default,{Component:m,route:h});const x=g.props[t.name],E=x?x===!0?h.params:typeof x=="function"?x(h):x:null,B=Pa(m,dt({},E,r,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(g.instances[b]=null)},ref:p}));return gm(i.default,{Component:B,route:h})||B}}});function gm(t,r){if(!t)return null;const i=t(r);return i.length===1?i[0]:i}const EC=TC;function wE(t){const r=_1(t.routes,t),i=t.parseQuery||mC,o=t.stringifyQuery||cm,u=t.history,f=Js(),c=Js(),p=Js(),h=Es(Xn);let g=Xn;xo&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Cc.bind(null,ie=>""+ie),b=Cc.bind(null,vC),x=Cc.bind(null,Da);function E(ie,se){let le,be;return em(ie)?(le=r.getRecordMatcher(ie),be=se):be=ie,r.addRoute(be,le)}function P(ie){const se=r.getRecordMatcher(ie);se&&r.removeRoute(se)}function B(){return r.getRoutes().map(ie=>ie.record)}function L(ie){return!!r.getRecordMatcher(ie)}function F(ie,se){if(se=dt({},se||h.value),typeof ie=="string"){const Le=Tc(i,ie,se.path),z=r.resolve({path:Le.path},se),$=u.createHref(Le.fullPath);return dt(Le,z,{params:x(z.params),hash:Da(Le.hash),redirectedFrom:void 0,href:$})}let le;if("path"in ie)le=dt({},ie,{path:Tc(i,ie.path,se.path).path});else{const Le=dt({},ie.params);for(const z in Le)Le[z]==null&&delete Le[z];le=dt({},ie,{params:b(ie.params)}),se.params=b(se.params)}const be=r.resolve(le,se),Ie=ie.hash||"";be.params=m(x(be.params));const ke=P1(o,dt({},ie,{hash:hC(Ie),path:be.path})),me=u.createHref(ke);return dt({fullPath:ke,hash:Ie,query:o===cm?yC(ie.query):ie.query||{}},be,{redirectedFrom:void 0,href:me})}function M(ie){return typeof ie=="string"?Tc(i,ie,h.value.path):dt({},ie)}function N(ie,se){if(g!==ie)return Co(8,{from:se,to:ie})}function H(ie){return K(ie)}function Q(ie){return H(dt(M(ie),{replace:!0}))}function J(ie){const se=ie.matched[ie.matched.length-1];if(se&&se.redirect){const{redirect:le}=se;let be=typeof le=="function"?le(ie):le;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=M(be):{path:be},be.params={}),dt({query:ie.query,hash:ie.hash,params:ie.params},be)}}function K(ie,se){const le=g=F(ie),be=h.value,Ie=ie.state,ke=ie.force,me=ie.replace===!0,Le=J(le);if(Le)return K(dt(M(Le),{state:Ie,force:ke,replace:me}),se||le);const z=le;z.redirectedFrom=se;let $;return!ke&&M1(o,be,le)&&($=Co(16,{to:z,from:be}),he(be,be,!0,!1)),($?Promise.resolve($):q(z,be)).catch(Z=>Pi(Z)?Z:W(Z,z,be)).then(Z=>{if(Z){if(Pi(Z,2))return K(dt(M(Z.to),{state:Ie,force:ke,replace:me}),se||z)}else Z=ee(z,be,!0,me,Ie);return te(z,be,Z),Z})}function U(ie,se){const le=N(ie,se);return le?Promise.reject(le):Promise.resolve()}function q(ie,se){let le;const[be,Ie,ke]=OC(ie,se);le=Pc(be.reverse(),"beforeRouteLeave",ie,se);for(const Le of be)Le.leaveGuards.forEach(z=>{le.push(Jn(z,ie,se))});const me=U.bind(null,ie,se);return le.push(me),To(le).then(()=>{le=[];for(const Le of f.list())le.push(Jn(Le,ie,se));return le.push(me),To(le)}).then(()=>{le=Pc(Ie,"beforeRouteUpdate",ie,se);for(const Le of Ie)Le.updateGuards.forEach(z=>{le.push(Jn(z,ie,se))});return le.push(me),To(le)}).then(()=>{le=[];for(const Le of ie.matched)if(Le.beforeEnter&&!se.matched.includes(Le))if(Array.isArray(Le.beforeEnter))for(const z of Le.beforeEnter)le.push(Jn(z,ie,se));else le.push(Jn(Le.beforeEnter,ie,se));return le.push(me),To(le)}).then(()=>(ie.matched.forEach(Le=>Le.enterCallbacks={}),le=Pc(ke,"beforeRouteEnter",ie,se),le.push(me),To(le))).then(()=>{le=[];for(const Le of c.list())le.push(Jn(Le,ie,se));return le.push(me),To(le)}).catch(Le=>Pi(Le,8)?Le:Promise.reject(Le))}function te(ie,se,le){for(const be of p.list())be(ie,se,le)}function ee(ie,se,le,be,Ie){const ke=N(ie,se);if(ke)return ke;const me=se===Xn,Le=xo?history.state:{};le&&(be||me?u.replace(ie.fullPath,dt({scroll:me&&Le&&Le.scroll},Ie)):u.push(ie.fullPath,Ie)),h.value=ie,he(ie,se,le,me),ue()}let _;function O(){_=u.listen((ie,se,le)=>{const be=F(ie),Ie=J(be);if(Ie){K(dt(Ie,{replace:!0}),be).catch(Gs);return}g=be;const ke=h.value;xo&&z1(Qv(ke.fullPath,le.delta),Ra()),q(be,ke).catch(me=>Pi(me,4|8)?me:Pi(me,2)?(K(me.to,be).then(Le=>{Pi(Le,4|16)&&!le.delta&&le.type===Ys.pop&&u.go(-1,!1)}).catch(Gs),Promise.reject()):(le.delta&&u.go(-le.delta,!1),W(me,be,ke))).then(me=>{me=me||ee(be,ke,!1),me&&(le.delta?u.go(-le.delta,!1):le.type===Ys.pop&&Pi(me,4|16)&&u.go(-1,!1)),te(be,ke,me)}).catch(Gs)})}let k=Js(),w=Js(),j;function W(ie,se,le){ue(ie);const be=w.list();return be.length?be.forEach(Ie=>Ie(ie,se,le)):console.error(ie),Promise.reject(ie)}function Y(){return j&&h.value!==Xn?Promise.resolve():new Promise((ie,se)=>{k.add([ie,se])})}function ue(ie){j||(j=!0,O(),k.list().forEach(([se,le])=>ie?le(ie):se()),k.reset())}function he(ie,se,le,be){const{scrollBehavior:Ie}=t;if(!xo||!Ie)return Promise.resolve();const ke=!le&&H1(Qv(ie.fullPath,0))||(be||!le)&&history.state&&history.state.scroll||null;return Ws().then(()=>Ie(ie,se,ke)).then(me=>me&&F1(me)).catch(me=>W(me,ie,se))}const je=ie=>u.go(ie);let We;const Ke=new Set;return{currentRoute:h,addRoute:E,removeRoute:P,hasRoute:L,getRoutes:B,resolve:F,options:t,push:H,replace:Q,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:f.add,beforeResolve:c.add,afterEach:p.add,onError:w.add,isReady:Y,install(ie){const se=this;ie.component("RouterLink",xC),ie.component("RouterView",EC),ie.config.globalProperties.$router=se,Object.defineProperty(ie.config.globalProperties,"$route",{enumerable:!0,get:()=>Ct(h)}),xo&&!We&&h.value===Xn&&(We=!0,H(u.location).catch(Ie=>{}));const le={};for(const Ie in Xn)le[Ie]=sr(()=>h.value[Ie]);ie.provide(Sc,se),ie.provide(xc,lo(le)),ie.provide(wc,h);const be=ie.unmount;Ke.add(ie),ie.unmount=function(){Ke.delete(ie),Ke.size<1&&(g=Xn,_&&_(),h.value=Xn,We=!1,j=!1),be()}}}}function To(t){return t.reduce((r,i)=>r.then(()=>i()),Promise.resolve())}function OC(t,r){const i=[],o=[],u=[],f=Math.max(r.matched.length,t.matched.length);for(let c=0;c<f;c++){const p=r.matched[c];p&&(t.matched.find(g=>wo(g,p))?o.push(p):i.push(p));const h=t.matched[c];h&&(r.matched.find(g=>wo(g,h))||u.push(h))}return[i,o,u]}function CE(){return Wr(xc)}var kC={exports:{}},vm={exports:{}},mm={};function Mc(t){throw t}function ym(t){}function yt(t,r,i,o){const u=t,f=new SyntaxError(String(u));return f.code=t,f.loc=r,f}const Eo=Symbol(""),Oo=Symbol(""),Fa=Symbol(""),Zs=Symbol(""),Ac=Symbol(""),Zn=Symbol(""),Lc=Symbol(""),Nc=Symbol(""),za=Symbol(""),Ha=Symbol(""),ko=Symbol(""),Ba=Symbol(""),Ic=Symbol(""),Wa=Symbol(""),Qs=Symbol(""),ja=Symbol(""),Ka=Symbol(""),Ua=Symbol(""),$a=Symbol(""),Rc=Symbol(""),Dc=Symbol(""),qs=Symbol(""),_s=Symbol(""),Va=Symbol(""),Ga=Symbol(""),Po=Symbol(""),Mo=Symbol(""),Ya=Symbol(""),Xa=Symbol(""),bm=Symbol(""),Ja=Symbol(""),el=Symbol(""),Sm=Symbol(""),xm=Symbol(""),Za=Symbol(""),wm=Symbol(""),Cm=Symbol(""),Qa=Symbol(""),Fc=Symbol(""),Sn={[Eo]:"Fragment",[Oo]:"Teleport",[Fa]:"Suspense",[Zs]:"KeepAlive",[Ac]:"BaseTransition",[Zn]:"openBlock",[Lc]:"createBlock",[Nc]:"createElementBlock",[za]:"createVNode",[Ha]:"createElementVNode",[ko]:"createCommentVNode",[Ba]:"createTextVNode",[Ic]:"createStaticVNode",[Wa]:"resolveComponent",[Qs]:"resolveDynamicComponent",[ja]:"resolveDirective",[Ka]:"resolveFilter",[Ua]:"withDirectives",[$a]:"renderList",[Rc]:"renderSlot",[Dc]:"createSlots",[qs]:"toDisplayString",[_s]:"mergeProps",[Va]:"normalizeClass",[Ga]:"normalizeStyle",[Po]:"normalizeProps",[Mo]:"guardReactiveProps",[Ya]:"toHandlers",[Xa]:"camelize",[bm]:"capitalize",[Ja]:"toHandlerKey",[el]:"setBlockTracking",[Sm]:"pushScopeId",[xm]:"popScopeId",[Za]:"withCtx",[wm]:"unref",[Cm]:"isRef",[Qa]:"withMemo",[Fc]:"isMemoSame"};function Tm(t){Object.getOwnPropertySymbols(t).forEach(r=>{Sn[r]=t[r]})}const Ht={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Em(t,r=Ht){return{type:0,children:t,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:r}}function Ao(t,r,i,o,u,f,c,p=!1,h=!1,g=!1,m=Ht){return t&&(p?(t.helper(Zn),t.helper(Ni(t.inSSR,g))):t.helper(Li(t.inSSR,g)),c&&t.helper(Ua)),{type:13,tag:r,props:i,children:o,patchFlag:u,dynamicProps:f,directives:c,isBlock:p,disableTracking:h,isComponent:g,loc:m}}function Lo(t,r=Ht){return{type:17,loc:r,elements:t}}function Pr(t,r=Ht){return{type:15,loc:r,properties:t}}function Ot(t,r){return{type:16,loc:Ht,key:Ze(t)?qe(t,!0):t,value:r}}function qe(t,r=!1,i=Ht,o=0){return{type:4,loc:i,content:t,isStatic:r,constType:r?3:o}}function PC(t,r){return{type:5,loc:r,content:Ze(t)?qe(t,!1,r):t}}function jr(t,r=Ht){return{type:8,loc:r,children:t}}function kt(t,r=[],i=Ht){return{type:14,loc:i,callee:t,arguments:r}}function Mi(t,r=void 0,i=!1,o=!1,u=Ht){return{type:18,params:t,returns:r,newline:i,isSlot:o,loc:u}}function qa(t,r,i,o=!0){return{type:19,test:t,consequent:r,alternate:i,newline:o,loc:Ht}}function Om(t,r,i=!1){return{type:20,index:t,value:r,isVNode:i,loc:Ht}}function km(t){return{type:21,body:t,loc:Ht}}function MC(t){return{type:22,elements:t,loc:Ht}}function AC(t,r,i){return{type:23,test:t,consequent:r,alternate:i,loc:Ht}}function LC(t,r){return{type:24,left:t,right:r,loc:Ht}}function NC(t){return{type:25,expressions:t,loc:Ht}}function IC(t){return{type:26,returns:t,loc:Ht}}const ur=t=>t.type===4&&t.isStatic,Ai=(t,r)=>t===r||t===wr(r);function zc(t){if(Ai(t,"Teleport"))return Oo;if(Ai(t,"Suspense"))return Fa;if(Ai(t,"KeepAlive"))return Zs;if(Ai(t,"BaseTransition"))return Ac}const RC=/^\d|[^\$\w]/,tl=t=>!RC.test(t),DC=/[A-Za-z_$\xA0-\uFFFF]/,FC=/[\.\?\w$\xA0-\uFFFF]/,zC=/\s+[.[]\s*|\s*[.[]\s+/g,Pm=t=>{t=t.trim().replace(zC,c=>c.trim());let r=0,i=[],o=0,u=0,f=null;for(let c=0;c<t.length;c++){const p=t.charAt(c);switch(r){case 0:if(p==="[")i.push(r),r=1,o++;else if(p==="(")i.push(r),r=2,u++;else if(!(c===0?DC:FC).test(p))return!1;break;case 1:p==="'"||p==='"'||p==="`"?(i.push(r),r=3,f=p):p==="["?o++:p==="]"&&(--o||(r=i.pop()));break;case 2:if(p==="'"||p==='"'||p==="`")i.push(r),r=3,f=p;else if(p==="(")u++;else if(p===")"){if(c===t.length-1)return!1;--u||(r=i.pop())}break;case 3:p===f&&(r=i.pop(),f=null);break}}return!o&&!u},HC=or,Hc=Pm;function Bc(t,r,i){const u={source:t.source.slice(r,r+i),start:rl(t.start,t.source,r),end:t.end};return i!=null&&(u.end=rl(t.start,t.source,r+i)),u}function rl(t,r,i=r.length){return nl(lt({},t),r,i)}function nl(t,r,i=r.length){let o=0,u=-1;for(let f=0;f<i;f++)r.charCodeAt(f)===10&&(o++,u=f);return t.offset+=i,t.line+=o,t.column=u===-1?t.column+i:i-u,t}function BC(t,r){if(!t)throw new Error(r||"unexpected compiler condition")}function vr(t,r,i=!1){for(let o=0;o<t.props.length;o++){const u=t.props[o];if(u.type===7&&(i||u.exp)&&(Ze(r)?u.name===r:r.test(u.name)))return u}}function No(t,r,i=!1,o=!1){for(let u=0;u<t.props.length;u++){const f=t.props[u];if(f.type===6){if(i)continue;if(f.name===r&&(f.value||o))return f}else if(f.name==="bind"&&(f.exp||o)&&il(f.arg,r))return f}}function il(t,r){return!!(t&&ur(t)&&t.content===r)}function Mm(t){return t.props.some(r=>r.type===7&&r.name==="bind"&&(!r.arg||r.arg.type!==4||!r.arg.isStatic))}function _a(t){return t.type===5||t.type===2}function Wc(t){return t.type===7&&t.name==="slot"}function Io(t){return t.type===1&&t.tagType===3}function ol(t){return t.type===1&&t.tagType===2}function Li(t,r){return t||r?za:Ha}function Ni(t,r){return t||r?Lc:Nc}const WC=new Set([Po,Mo]);function Am(t,r=[]){if(t&&!Ze(t)&&t.type===14){const i=t.callee;if(!Ze(i)&&WC.has(i))return Am(t.arguments[0],r.concat(t))}return[t,r]}function sl(t,r,i){let o,f=t.type===13?t.props:t.arguments[2],c=[],p;if(f&&!Ze(f)&&f.type===14){const h=Am(f);f=h[0],c=h[1],p=c[c.length-1]}if(f==null||Ze(f))o=Pr([r]);else if(f.type===14){const h=f.arguments[0];!Ze(h)&&h.type===15?h.properties.unshift(r):f.callee===Ya?o=kt(i.helper(_s),[Pr([r]),f]):f.arguments.unshift(Pr([r])),!o&&(o=f)}else if(f.type===15){let h=!1;if(r.key.type===4){const g=r.key.content;h=f.properties.some(m=>m.key.type===4&&m.key.content===g)}h||f.properties.unshift(r),o=f}else o=kt(i.helper(_s),[Pr([r]),f]),p&&p.callee===Mo&&(p=c[c.length-2]);t.type===13?p?p.arguments[0]=o:t.props=o:p?p.arguments[0]=o:t.arguments[2]=o}function Ro(t,r){return`_${r}_${t.replace(/[^\w]/g,(i,o)=>i==="-"?"_":t.charCodeAt(o).toString())}`}function Kr(t,r){if(!t||Object.keys(r).length===0)return!1;switch(t.type){case 1:for(let i=0;i<t.props.length;i++){const o=t.props[i];if(o.type===7&&(Kr(o.arg,r)||Kr(o.exp,r)))return!0}return t.children.some(i=>Kr(i,r));case 11:return Kr(t.source,r)?!0:t.children.some(i=>Kr(i,r));case 9:return t.branches.some(i=>Kr(i,r));case 10:return Kr(t.condition,r)?!0:t.children.some(i=>Kr(i,r));case 4:return!t.isStatic&&tl(t.content)&&!!r[t.content];case 8:return t.children.some(i=>pt(i)&&Kr(i,r));case 5:case 12:return Kr(t.content,r);case 2:case 3:return!1;default:return!1}}function Lm(t){return t.type===14&&t.callee===Qa?t.arguments[1].returns:t}function eu(t,{helper:r,removeHelper:i,inSSR:o}){t.isBlock||(t.isBlock=!0,i(Li(o,t.isComponent)),r(Zn),r(Ni(o,t.isComponent)))}const jC={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.vuejs.org/guide/migration/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:t=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,link:"https://v3.vuejs.org/guide/migration/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},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.vuejs.org/guide/migration/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3.vuejs.org/guide/migration/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.vuejs.org/guide/migration/v-if-v-for.html"},COMPILER_V_FOR_REF:{message:"Ref usage on v-for no longer creates array ref values in Vue 3. Consider using function refs or refactor to avoid ref usage altogether.",link:"https://v3.vuejs.org/guide/migration/array-refs.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.vuejs.org/guide/migration/inline-template-attribute.html"},COMPILER_FILTER:{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.vuejs.org/guide/migration/filters.html"}};function jc(t,r){const i=r.options?r.options.compatConfig:r.compatConfig,o=i&&i[t];return t==="MODE"?o||3:o}function Ii(t,r){const i=jc("MODE",r),o=jc(t,r);return i===3?o===!0:o!==!1}function Ri(t,r,i,...o){return Ii(t,r)}function KC(t,r,i,...o){if(jc(t,r)==="suppress-warning")return;const{message:f,link:c}=jC[t],p=`(deprecation ${t}) ${typeof f=="function"?f(...o):f}${c?`
33
+ Details: ${c}`:""}`,h=new SyntaxError(p);h.code=t,i&&(h.loc=i),r.onWarn(h)}const UC=/&(gt|lt|amp|apos|quot);/g,$C={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},Nm={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:ys,isPreTag:ys,isCustomElement:ys,decodeEntities:t=>t.replace(UC,(r,i)=>$C[i]),onError:Mc,onWarn:ym,comments:!1};function Kc(t,r={}){const i=VC(t,r),o=Mr(i);return Em(Uc(i,0,[]),Nr(i,o))}function VC(t,r){const i=lt({},Nm);let o;for(o in r)i[o]=r[o]===void 0?Nm[o]:r[o];return{options:i,column:1,line:1,offset:0,originalSource:t,source:t,inPre:!1,inVPre:!1,onWarn:i.onWarn}}function Uc(t,r,i){const o=tu(i),u=o?o.ns:0,f=[];for(;!eT(t,r,i);){const p=t.source;let h;if(r===0||r===1){if(!t.inVPre&&Qt(p,t.options.delimiters[0]))h=qC(t,r);else if(r===0&&p[0]==="<")if(p.length===1)ft(t,5,1);else if(p[1]==="!")Qt(p,"<!--")?h=YC(t):Qt(p,"<!DOCTYPE")?h=ll(t):Qt(p,"<![CDATA[")?u!==0?h=GC(t,i):(ft(t,1),h=ll(t)):(ft(t,11),h=ll(t));else if(p[1]==="/")if(p.length===2)ft(t,5,2);else if(p[2]===">"){ft(t,14,2),Bt(t,3);continue}else if(/[a-z]/i.test(p[2])){ft(t,23),$c(t,1,o);continue}else ft(t,12,2),h=ll(t);else/[a-z]/i.test(p[1])?(h=XC(t,i),Ii("COMPILER_NATIVE_TEMPLATE",t)&&h&&h.tag==="template"&&!h.props.some(g=>g.type===7&&Rm(g.name))&&(h=h.children)):p[1]==="?"?(ft(t,21,1),h=ll(t)):ft(t,12,1)}if(h||(h=_C(t,r)),De(h))for(let g=0;g<h.length;g++)Im(f,h[g]);else Im(f,h)}let c=!1;if(r!==2&&r!==1){const p=t.options.whitespace!=="preserve";for(let h=0;h<f.length;h++){const g=f[h];if(!t.inPre&&g.type===2)if(/[^\t\r\n\f ]/.test(g.content))p&&(g.content=g.content.replace(/[\t\r\n\f ]+/g," "));else{const m=f[h-1],b=f[h+1];!m||!b||p&&(m.type===3||b.type===3||m.type===1&&b.type===1&&/[\r\n]/.test(g.content))?(c=!0,f[h]=null):g.content=" "}else g.type===3&&!t.options.comments&&(c=!0,f[h]=null)}if(t.inPre&&o&&t.options.isPreTag(o.tag)){const h=f[0];h&&h.type===2&&(h.content=h.content.replace(/^\r?\n/,""))}}return c?f.filter(Boolean):f}function Im(t,r){if(r.type===2){const i=tu(t);if(i&&i.type===2&&i.loc.end.offset===r.loc.start.offset){i.content+=r.content,i.loc.end=r.loc.end,i.loc.source+=r.loc.source;return}}t.push(r)}function GC(t,r){Bt(t,9);const i=Uc(t,3,r);return t.source.length===0?ft(t,6):Bt(t,3),i}function YC(t){const r=Mr(t);let i;const o=/--(\!)?>/.exec(t.source);if(!o)i=t.source.slice(4),Bt(t,t.source.length),ft(t,7);else{o.index<=3&&ft(t,0),o[1]&&ft(t,10),i=t.source.slice(4,o.index);const u=t.source.slice(0,o.index);let f=1,c=0;for(;(c=u.indexOf("<!--",f))!==-1;)Bt(t,c-f+1),c+4<u.length&&ft(t,16),f=c+1;Bt(t,o.index+o[0].length-f+1)}return{type:3,content:i,loc:Nr(t,r)}}function ll(t){const r=Mr(t),i=t.source[1]==="?"?1:2;let o;const u=t.source.indexOf(">");return u===-1?(o=t.source.slice(i),Bt(t,t.source.length)):(o=t.source.slice(i,u),Bt(t,u+1)),{type:3,content:o,loc:Nr(t,r)}}function XC(t,r){const i=t.inPre,o=t.inVPre,u=tu(r),f=$c(t,0,u),c=t.inPre&&!i,p=t.inVPre&&!o;if(f.isSelfClosing||t.options.isVoidTag(f.tag))return c&&(t.inPre=!1),p&&(t.inVPre=!1),f;r.push(f);const h=t.options.getTextMode(f,u),g=Uc(t,h,r);r.pop();{const m=f.props.find(b=>b.type===6&&b.name==="inline-template");if(m&&Ri("COMPILER_INLINE_TEMPLATE",t,m.loc)){const b=Nr(t,f.loc.end);m.value={type:2,content:b.source,loc:b}}}if(f.children=g,Vc(t.source,f.tag))$c(t,1,u);else if(ft(t,24,0,f.loc.start),t.source.length===0&&f.tag.toLowerCase()==="script"){const m=g[0];m&&Qt(m.loc.source,"<!--")&&ft(t,8)}return f.loc=Nr(t,f.loc.start),c&&(t.inPre=!1),p&&(t.inVPre=!1),f}const Rm=jt("if,else,else-if,for,slot");function $c(t,r,i){const o=Mr(t),u=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(t.source),f=u[1],c=t.options.getNamespace(f,i);Bt(t,u[0].length),ul(t);const p=Mr(t),h=t.source;t.options.isPreTag(f)&&(t.inPre=!0);let g=Dm(t,r);r===0&&!t.inVPre&&g.some(x=>x.type===7&&x.name==="pre")&&(t.inVPre=!0,lt(t,p),t.source=h,g=Dm(t,r).filter(x=>x.name!=="v-pre"));let m=!1;if(t.source.length===0?ft(t,9):(m=Qt(t.source,"/>"),r===1&&m&&ft(t,4),Bt(t,m?2:1)),r===1)return;let b=0;return t.inVPre||(f==="slot"?b=2:f==="template"?g.some(x=>x.type===7&&Rm(x.name))&&(b=3):JC(f,g,t)&&(b=1)),{type:1,ns:c,tag:f,tagType:b,props:g,isSelfClosing:m,children:[],loc:Nr(t,o),codegenNode:void 0}}function JC(t,r,i){const o=i.options;if(o.isCustomElement(t))return!1;if(t==="component"||/^[A-Z]/.test(t)||zc(t)||o.isBuiltInComponent&&o.isBuiltInComponent(t)||o.isNativeTag&&!o.isNativeTag(t))return!0;for(let u=0;u<r.length;u++){const f=r[u];if(f.type===6){if(f.name==="is"&&f.value){if(f.value.content.startsWith("vue:"))return!0;if(Ri("COMPILER_IS_ON_ELEMENT",i,f.loc))return!0}}else{if(f.name==="is")return!0;if(f.name==="bind"&&il(f.arg,"is")&&!0&&Ri("COMPILER_IS_ON_ELEMENT",i,f.loc))return!0}}}function Dm(t,r){const i=[],o=new Set;for(;t.source.length>0&&!Qt(t.source,">")&&!Qt(t.source,"/>");){if(Qt(t.source,"/")){ft(t,22),Bt(t,1),ul(t);continue}r===1&&ft(t,3);const u=ZC(t,o);u.type===6&&u.value&&u.name==="class"&&(u.value.content=u.value.content.replace(/\s+/g," ").trim()),r===0&&i.push(u),/^[^\t\r\n\f />]/.test(t.source)&&ft(t,15),ul(t)}return i}function ZC(t,r){const i=Mr(t),u=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(t.source)[0];r.has(u)&&ft(t,2),r.add(u),u[0]==="="&&ft(t,19);{const p=/["'<]/g;let h;for(;h=p.exec(u);)ft(t,17,h.index)}Bt(t,u.length);let f;/^[\t\r\n\f ]*=/.test(t.source)&&(ul(t),Bt(t,1),ul(t),f=QC(t),f||ft(t,13));const c=Nr(t,i);if(!t.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(u)){const p=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(u);let h=Qt(u,"."),g=p[1]||(h||Qt(u,":")?"bind":Qt(u,"@")?"on":"slot"),m;if(p[2]){const x=g==="slot",E=u.lastIndexOf(p[2]),P=Nr(t,Fm(t,i,E),Fm(t,i,E+p[2].length+(x&&p[3]||"").length));let B=p[2],L=!0;B.startsWith("[")?(L=!1,B.endsWith("]")?B=B.slice(1,B.length-1):(ft(t,27),B=B.slice(1))):x&&(B+=p[3]||""),m={type:4,content:B,isStatic:L,constType:L?3:0,loc:P}}if(f&&f.isQuoted){const x=f.loc;x.start.offset++,x.start.column++,x.end=rl(x.start,f.content),x.source=x.source.slice(1,-1)}const b=p[3]?p[3].slice(1).split("."):[];return h&&b.push("prop"),g==="bind"&&m&&b.includes("sync")&&Ri("COMPILER_V_BIND_SYNC",t,c,m.loc.source)&&(g="model",b.splice(b.indexOf("sync"),1)),{type:7,name:g,exp:f&&{type:4,content:f.content,isStatic:!1,constType:0,loc:f.loc},arg:m,modifiers:b,loc:c}}return!t.inVPre&&Qt(u,"v-")&&ft(t,26),{type:6,name:u,value:f&&{type:2,content:f.content,loc:f.loc},loc:c}}function QC(t){const r=Mr(t);let i;const o=t.source[0],u=o==='"'||o==="'";if(u){Bt(t,1);const f=t.source.indexOf(o);f===-1?i=al(t,t.source.length,4):(i=al(t,f,4),Bt(t,1))}else{const f=/^[^\t\r\n\f >]+/.exec(t.source);if(!f)return;const c=/["'<=`]/g;let p;for(;p=c.exec(f[0]);)ft(t,18,p.index);i=al(t,f[0].length,4)}return{content:i,isQuoted:u,loc:Nr(t,r)}}function qC(t,r){const[i,o]=t.options.delimiters,u=t.source.indexOf(o,i.length);if(u===-1){ft(t,25);return}const f=Mr(t);Bt(t,i.length);const c=Mr(t),p=Mr(t),h=u-i.length,g=t.source.slice(0,h),m=al(t,h,r),b=m.trim(),x=m.indexOf(b);x>0&&nl(c,g,x);const E=h-(m.length-b.length-x);return nl(p,g,E),Bt(t,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:b,loc:Nr(t,c,p)},loc:Nr(t,f)}}function _C(t,r){const i=r===3?["]]>"]:["<",t.options.delimiters[0]];let o=t.source.length;for(let c=0;c<i.length;c++){const p=t.source.indexOf(i[c],1);p!==-1&&o>p&&(o=p)}const u=Mr(t),f=al(t,o,r);return{type:2,content:f,loc:Nr(t,u)}}function al(t,r,i){const o=t.source.slice(0,r);return Bt(t,r),i===2||i===3||o.indexOf("&")===-1?o:t.options.decodeEntities(o,i===4)}function Mr(t){const{column:r,line:i,offset:o}=t;return{column:r,line:i,offset:o}}function Nr(t,r,i){return i=i||Mr(t),{start:r,end:i,source:t.originalSource.slice(r.offset,i.offset)}}function tu(t){return t[t.length-1]}function Qt(t,r){return t.startsWith(r)}function Bt(t,r){const{source:i}=t;nl(t,i,r),t.source=i.slice(r)}function ul(t){const r=/^[\t\r\n\f ]+/.exec(t.source);r&&Bt(t,r[0].length)}function Fm(t,r,i){return rl(r,t.originalSource.slice(r.offset,i),i)}function ft(t,r,i,o=Mr(t)){i&&(o.offset+=i,o.column+=i),t.options.onError(yt(r,{start:o,end:o,source:""}))}function eT(t,r,i){const o=t.source;switch(r){case 0:if(Qt(o,"</")){for(let u=i.length-1;u>=0;--u)if(Vc(o,i[u].tag))return!0}break;case 1:case 2:{const u=tu(i);if(u&&Vc(o,u.tag))return!0;break}case 3:if(Qt(o,"]]>"))return!0;break}return!o}function Vc(t,r){return Qt(t,"</")&&t.slice(2,2+r.length).toLowerCase()===r.toLowerCase()&&/[\t\r\n\f />]/.test(t[2+r.length]||">")}function tT(t,r){ru(t,r,zm(t,t.children[0]))}function zm(t,r){const{children:i}=t;return i.length===1&&r.type===1&&!ol(r)}function ru(t,r,i=!1){let o=!0;const{children:u}=t,f=u.length;let c=0;for(let p=0;p<u.length;p++){const h=u[p];if(h.type===1&&h.tagType===0){const g=i?0:Ir(h,r);if(g>0){if(g<3&&(o=!1),g>=2){h.codegenNode.patchFlag=-1+"",h.codegenNode=r.hoist(h.codegenNode),c++;continue}}else{const m=h.codegenNode;if(m.type===13){const b=jm(m);if((!b||b===512||b===1)&&Bm(h,r)>=2){const x=Wm(h);x&&(m.props=r.hoist(x))}m.dynamicProps&&(m.dynamicProps=r.hoist(m.dynamicProps))}}}else if(h.type===12){const g=Ir(h.content,r);g>0&&(g<3&&(o=!1),g>=2&&(h.codegenNode=r.hoist(h.codegenNode),c++))}if(h.type===1){const g=h.tagType===1;g&&r.scopes.vSlot++,ru(h,r),g&&r.scopes.vSlot--}else if(h.type===11)ru(h,r,h.children.length===1);else if(h.type===9)for(let g=0;g<h.branches.length;g++)ru(h.branches[g],r,h.branches[g].children.length===1)}o&&c&&r.transformHoist&&r.transformHoist(u,r,t),c&&c===f&&t.type===1&&t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&De(t.codegenNode.children)&&(t.codegenNode.children=r.hoist(Lo(t.codegenNode.children)))}function Ir(t,r){const{constantCache:i}=r;switch(t.type){case 1:if(t.tagType!==0)return 0;const o=i.get(t);if(o!==void 0)return o;const u=t.codegenNode;if(u.type!==13)return 0;if(jm(u))return i.set(t,0),0;{let p=3;const h=Bm(t,r);if(h===0)return i.set(t,0),0;h<p&&(p=h);for(let g=0;g<t.children.length;g++){const m=Ir(t.children[g],r);if(m===0)return i.set(t,0),0;m<p&&(p=m)}if(p>1)for(let g=0;g<t.props.length;g++){const m=t.props[g];if(m.type===7&&m.name==="bind"&&m.exp){const b=Ir(m.exp,r);if(b===0)return i.set(t,0),0;b<p&&(p=b)}}return u.isBlock&&(r.removeHelper(Zn),r.removeHelper(Ni(r.inSSR,u.isComponent)),u.isBlock=!1,r.helper(Li(r.inSSR,u.isComponent))),i.set(t,p),p}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ir(t.content,r);case 4:return t.constType;case 8:let c=3;for(let p=0;p<t.children.length;p++){const h=t.children[p];if(Ze(h)||di(h))continue;const g=Ir(h,r);if(g===0)return 0;g<c&&(c=g)}return c;default:return 0}}const rT=new Set([Va,Ga,Po,Mo]);function Hm(t,r){if(t.type===14&&!Ze(t.callee)&&rT.has(t.callee)){const i=t.arguments[0];if(i.type===4)return Ir(i,r);if(i.type===14)return Hm(i,r)}return 0}function Bm(t,r){let i=3;const o=Wm(t);if(o&&o.type===15){const{properties:u}=o;for(let f=0;f<u.length;f++){const{key:c,value:p}=u[f],h=Ir(c,r);if(h===0)return h;h<i&&(i=h);let g;if(p.type===4?g=Ir(p,r):p.type===14?g=Hm(p,r):g=0,g===0)return g;g<i&&(i=g)}}return i}function Wm(t){const r=t.codegenNode;if(r.type===13)return r.props}function jm(t){const r=t.patchFlag;return r?parseInt(r,10):void 0}function Km(t,{filename:r="",prefixIdentifiers:i=!1,hoistStatic:o=!1,cacheHandlers:u=!1,nodeTransforms:f=[],directiveTransforms:c={},transformHoist:p=null,isBuiltInComponent:h=or,isCustomElement:g=or,expressionPlugins:m=[],scopeId:b=null,slotted:x=!0,ssr:E=!1,inSSR:P=!1,ssrCssVars:B="",bindingMetadata:L=st,inline:F=!1,isTS:M=!1,onError:N=Mc,onWarn:H=ym,compatConfig:Q}){const J=r.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),K={selfName:J&&Dn(Gt(J[1])),prefixIdentifiers:i,hoistStatic:o,cacheHandlers:u,nodeTransforms:f,directiveTransforms:c,transformHoist:p,isBuiltInComponent:h,isCustomElement:g,expressionPlugins:m,scopeId:b,slotted:x,ssr:E,inSSR:P,ssrCssVars:B,bindingMetadata:L,inline:F,isTS:M,onError:N,onWarn:H,compatConfig:Q,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(U){const q=K.helpers.get(U)||0;return K.helpers.set(U,q+1),U},removeHelper(U){const q=K.helpers.get(U);if(q){const te=q-1;te?K.helpers.set(U,te):K.helpers.delete(U)}},helperString(U){return`_${Sn[K.helper(U)]}`},replaceNode(U){K.parent.children[K.childIndex]=K.currentNode=U},removeNode(U){const q=K.parent.children,te=U?q.indexOf(U):K.currentNode?K.childIndex:-1;!U||U===K.currentNode?(K.currentNode=null,K.onNodeRemoved()):K.childIndex>te&&(K.childIndex--,K.onNodeRemoved()),K.parent.children.splice(te,1)},onNodeRemoved:()=>{},addIdentifiers(U){},removeIdentifiers(U){},hoist(U){Ze(U)&&(U=qe(U)),K.hoists.push(U);const q=qe(`_hoisted_${K.hoists.length}`,!1,U.loc,2);return q.hoisted=U,q},cache(U,q=!1){return Om(K.cached++,U,q)}};return K.filters=new Set,K}function Um(t,r){const i=Km(t,r);fl(t,i),r.hoistStatic&&tT(t,i),r.ssr||nT(t,i),t.helpers=[...i.helpers.keys()],t.components=[...i.components],t.directives=[...i.directives],t.imports=i.imports,t.hoists=i.hoists,t.temps=i.temps,t.cached=i.cached,t.filters=[...i.filters]}function nT(t,r){const{helper:i}=r,{children:o}=t;if(o.length===1){const u=o[0];if(zm(t,u)&&u.codegenNode){const f=u.codegenNode;f.type===13&&eu(f,r),t.codegenNode=f}else t.codegenNode=u}else if(o.length>1){let u=64;nf[64],t.codegenNode=Ao(r,i(Eo),void 0,t.children,u+"",void 0,void 0,!0,void 0,!1)}}function iT(t,r){let i=0;const o=()=>{i--};for(;i<t.children.length;i++){const u=t.children[i];Ze(u)||(r.parent=t,r.childIndex=i,r.onNodeRemoved=o,fl(u,r))}}function fl(t,r){r.currentNode=t;const{nodeTransforms:i}=r,o=[];for(let f=0;f<i.length;f++){const c=i[f](t,r);if(c&&(De(c)?o.push(...c):o.push(c)),r.currentNode)t=r.currentNode;else return}switch(t.type){case 3:r.ssr||r.helper(ko);break;case 5:r.ssr||r.helper(qs);break;case 9:for(let f=0;f<t.branches.length;f++)fl(t.branches[f],r);break;case 10:case 11:case 1:case 0:iT(t,r);break}r.currentNode=t;let u=o.length;for(;u--;)o[u]()}function Gc(t,r){const i=Ze(t)?o=>o===t:o=>t.test(o);return(o,u)=>{if(o.type===1){const{props:f}=o;if(o.tagType===3&&f.some(Wc))return;const c=[];for(let p=0;p<f.length;p++){const h=f[p];if(h.type===7&&i(h.name)){f.splice(p,1),p--;const g=r(o,h,u);g&&c.push(g)}}return c}}}const nu="/*#__PURE__*/";function oT(t,{mode:r="function",prefixIdentifiers:i=r==="module",sourceMap:o=!1,filename:u="template.vue.html",scopeId:f=null,optimizeImports:c=!1,runtimeGlobalName:p="Vue",runtimeModuleName:h="vue",ssrRuntimeModuleName:g="vue/server-renderer",ssr:m=!1,isTS:b=!1,inSSR:x=!1}){const E={mode:r,prefixIdentifiers:i,sourceMap:o,filename:u,scopeId:f,optimizeImports:c,runtimeGlobalName:p,runtimeModuleName:h,ssrRuntimeModuleName:g,ssr:m,isTS:b,inSSR:x,source:t.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(B){return`_${Sn[B]}`},push(B,L){E.code+=B},indent(){P(++E.indentLevel)},deindent(B=!1){B?--E.indentLevel:P(--E.indentLevel)},newline(){P(E.indentLevel)}};function P(B){E.push(`
34
+ `+" ".repeat(B))}return E}function $m(t,r={}){const i=oT(t,r);r.onContextCreated&&r.onContextCreated(i);const{mode:o,push:u,prefixIdentifiers:f,indent:c,deindent:p,newline:h,scopeId:g,ssr:m}=i,b=t.helpers.length>0,x=!f&&o!=="module";sT(t,i);const P=m?"ssrRender":"render",L=(m?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(u(`function ${P}(${L}) {`),c(),x&&(u("with (_ctx) {"),c(),b&&(u(`const { ${t.helpers.map(F=>`${Sn[F]}: _${Sn[F]}`).join(", ")} } = _Vue`),u(`
35
35
  `),h())),t.components.length&&(Yc(t.components,"component",i),(t.directives.length||t.temps>0)&&h()),t.directives.length&&(Yc(t.directives,"directive",i),t.temps>0&&h()),t.filters&&t.filters.length&&(h(),Yc(t.filters,"filter",i),h()),t.temps>0){u("let ");for(let F=0;F<t.temps;F++)u(`${F>0?", ":""}_temp${F}`)}return(t.components.length||t.directives.length||t.temps)&&(u(`
36
- `),h()),m||u("return "),t.codegenNode?qt(t.codegenNode,i):u("null"),x&&(p(),u("}")),p(),u("}"),{ast:t,code:i.code,preamble:"",map:i.map?i.map.toJSON():void 0}}function iT(t,r){const{ssr:i,prefixIdentifiers:o,push:u,newline:f,runtimeModuleName:c,runtimeGlobalName:p,ssrRuntimeModuleName:h}=r,g=p,m=b=>`${Sn[b]}: _${Sn[b]}`;if(t.helpers.length>0&&(u(`const _Vue = ${g}
37
- `),t.hoists.length)){const b=[Fa,za,Oo,Ha,Ic].filter(x=>t.helpers.includes(x)).map(m).join(", ");u(`const { ${b} } = _Vue
38
- `)}oT(t.hoists,r),f(),u("return ")}function Yc(t,r,{helper:i,push:o,newline:u,isTS:f}){const c=i(r==="filter"?ja:r==="component"?Ba:Wa);for(let p=0;p<t.length;p++){let h=t[p];const g=h.endsWith("__self");g&&(h=h.slice(0,-6)),o(`const ${Io(h,r)} = ${c}(${JSON.stringify(h)}${g?", true":""})${f?"!":""}`),p<t.length-1&&u()}}function oT(t,r){if(!t.length)return;r.pure=!0;const{push:i,newline:o,helper:u,scopeId:f,mode:c}=r;o();for(let p=0;p<t.length;p++){const h=t[p];h&&(i(`const _hoisted_${p+1} = `),qt(h,r),o())}r.pure=!1}function Xc(t,r){const i=t.length>3||!1;r.push("["),i&&r.indent(),fl(t,r,i),i&&r.deindent(),r.push("]")}function fl(t,r,i=!1,o=!0){const{push:u,newline:f}=r;for(let c=0;c<t.length;c++){const p=t[c];Ze(p)?u(p):Fe(p)?Xc(p,r):qt(p,r),c<t.length-1&&(i?(o&&u(","),f()):o&&u(", "))}}function qt(t,r){if(Ze(t)){r.push(t);return}if(di(t)){r.push(r.helper(t));return}switch(t.type){case 1:case 9:case 11:qt(t.codegenNode,r);break;case 2:sT(t,r);break;case 4:Km(t,r);break;case 5:lT(t,r);break;case 12:qt(t.codegenNode,r);break;case 8:Um(t,r);break;case 3:uT(t,r);break;case 13:fT(t,r);break;case 14:dT(t,r);break;case 15:hT(t,r);break;case 17:pT(t,r);break;case 18:gT(t,r);break;case 19:vT(t,r);break;case 20:mT(t,r);break;case 21:fl(t.body,r,!0,!1);break}}function sT(t,r){r.push(JSON.stringify(t.content),t)}function Km(t,r){const{content:i,isStatic:o}=t;r.push(o?JSON.stringify(i):i,t)}function lT(t,r){const{push:i,helper:o,pure:u}=r;u&&i(ru),i(`${o(Qs)}(`),qt(t.content,r),i(")")}function Um(t,r){for(let i=0;i<t.children.length;i++){const o=t.children[i];Ze(o)?r.push(o):qt(o,r)}}function aT(t,r){const{push:i}=r;if(t.type===8)i("["),Um(t,r),i("]");else if(t.isStatic){const o=el(t.content)?t.content:JSON.stringify(t.content);i(o,t)}else i(`[${t.content}]`,t)}function uT(t,r){const{push:i,helper:o,pure:u}=r;u&&i(ru),i(`${o(Oo)}(${JSON.stringify(t.content)})`,t)}function fT(t,r){const{push:i,helper:o,pure:u}=r,{tag:f,props:c,children:p,patchFlag:h,dynamicProps:g,directives:m,isBlock:b,disableTracking:x,isComponent:E}=t;m&&i(o(Ka)+"("),b&&i(`(${o(Zn)}(${x?"true":""}), `),u&&i(ru);const P=b?Ni(r.inSSR,E):Li(r.inSSR,E);i(o(P)+"(",t),fl(cT([f,c,p,h,g]),r),i(")"),b&&i(")"),m&&(i(", "),qt(m,r),i(")"))}function cT(t){let r=t.length;for(;r--&&t[r]==null;);return t.slice(0,r+1).map(i=>i||"null")}function dT(t,r){const{push:i,helper:o,pure:u}=r,f=Ze(t.callee)?t.callee:o(t.callee);u&&i(ru),i(f+"(",t),fl(t.arguments,r),i(")")}function hT(t,r){const{push:i,indent:o,deindent:u,newline:f}=r,{properties:c}=t;if(!c.length){i("{}",t);return}const p=c.length>1||!1;i(p?"{":"{ "),p&&o();for(let h=0;h<c.length;h++){const{key:g,value:m}=c[h];aT(g,r),i(": "),qt(m,r),h<c.length-1&&(i(","),f())}p&&u(),i(p?"}":" }")}function pT(t,r){Xc(t.elements,r)}function gT(t,r){const{push:i,indent:o,deindent:u}=r,{params:f,returns:c,body:p,newline:h,isSlot:g}=t;g&&i(`_${Sn[Ja]}(`),i("(",t),Fe(f)?fl(f,r):f&&qt(f,r),i(") => "),(h||p)&&(i("{"),o()),c?(h&&i("return "),Fe(c)?Xc(c,r):qt(c,r)):p&&qt(p,r),(h||p)&&(u(),i("}")),g&&(t.isNonScopedSlot&&i(", undefined, true"),i(")"))}function vT(t,r){const{test:i,consequent:o,alternate:u,newline:f}=t,{push:c,indent:p,deindent:h,newline:g}=r;if(i.type===4){const b=!el(i.content);b&&c("("),Km(i,r),b&&c(")")}else c("("),qt(i,r),c(")");f&&p(),r.indentLevel++,f||c(" "),c("? "),qt(o,r),r.indentLevel--,f&&g(),f||c(" "),c(": ");const m=u.type===19;m||r.indentLevel++,qt(u,r),m||r.indentLevel--,f&&h(!0)}function mT(t,r){const{push:i,helper:o,indent:u,deindent:f,newline:c}=r;i(`_cache[${t.index}] || (`),t.isVNode&&(u(),i(`${o(_s)}(-1),`),c()),i(`_cache[${t.index}] = `),qt(t.value,r),t.isVNode&&(i(","),c(),i(`${o(_s)}(1),`),c(),i(`_cache[${t.index}]`),f()),i(")")}function yT(t,r,i=!1,o=[],u=Object.create(null)){}function bT(t,r,i){return!1}function ST(t,r){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let i=r.length;for(;i--;){const o=r[i];if(o.type==="AssignmentExpression")return!0;if(o.type!=="ObjectProperty"&&!o.type.endsWith("Pattern"))break}}return!1}function xT(t,r){for(const i of t.params)for(const o of Qn(i))r(o)}function wT(t,r){for(const i of t.body)if(i.type==="VariableDeclaration"){if(i.declare)continue;for(const o of i.declarations)for(const u of Qn(o.id))r(u)}else if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){if(i.declare||!i.id)continue;r(i.id)}}function Qn(t,r=[]){switch(t.type){case"Identifier":r.push(t);break;case"MemberExpression":let i=t;for(;i.type==="MemberExpression";)i=i.object;r.push(i);break;case"ObjectPattern":for(const o of t.properties)o.type==="RestElement"?Qn(o.argument,r):Qn(o.value,r);break;case"ArrayPattern":t.elements.forEach(o=>{o&&Qn(o,r)});break;case"RestElement":Qn(t.argument,r);break;case"AssignmentPattern":Qn(t.left,r);break}return r}const CT=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),$m=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,TT=(t,r)=>$m(r)&&r.key===t;new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const ET=(t,r)=>{if(t.type===5)t.content=nu(t.content,r);else if(t.type===1)for(let i=0;i<t.props.length;i++){const o=t.props[i];if(o.type===7&&o.name!=="for"){const u=o.exp,f=o.arg;u&&u.type===4&&!(o.name==="on"&&f)&&(o.exp=nu(u,r,o.name==="slot")),f&&f.type===4&&!f.isStatic&&(o.arg=nu(f,r))}}};function nu(t,r,i=!1,o=!1,u=Object.create(r.identifiers)){return t}const OT=Gc(/^(if|else|else-if)$/,(t,r,i)=>Vm(t,r,i,(o,u,f)=>{const c=i.parent.children;let p=c.indexOf(o),h=0;for(;p-->=0;){const g=c[p];g&&g.type===9&&(h+=g.branches.length)}return()=>{if(f)o.codegenNode=Ym(u,h,i);else{const g=kT(o.codegenNode);g.alternate=Ym(u,h+o.branches.length-1,i)}}}));function Vm(t,r,i,o){if(r.name!=="else"&&(!r.exp||!r.exp.content.trim())){const u=r.exp?r.exp.loc:t.loc;i.onError(yt(28,r.loc)),r.exp=qe("true",!1,u)}if(r.name==="if"){const u=Gm(t,r),f={type:9,loc:t.loc,branches:[u]};if(i.replaceNode(f),o)return o(f,u,!0)}else{const u=i.parent.children;let f=u.indexOf(t);for(;f-->=-1;){const c=u[f];if(c&&c.type===2&&!c.content.trim().length){i.removeNode(c);continue}if(c&&c.type===9){r.name==="else-if"&&c.branches[c.branches.length-1].condition===void 0&&i.onError(yt(30,t.loc)),i.removeNode();const p=Gm(t,r);c.branches.push(p);const h=o&&o(c,p,!1);ul(p,i),h&&h(),i.currentNode=null}else i.onError(yt(30,t.loc));break}}}function Gm(t,r){return{type:10,loc:t.loc,condition:r.name==="else"?void 0:r.exp,children:t.tagType===3&&!vr(t,"for")?t.children:[t],userKey:Lo(t,"key")}}function Ym(t,r,i){return t.condition?Qa(t.condition,Xm(t,r,i),kt(i.helper(Oo),['""',"true"])):Xm(t,r,i)}function Xm(t,r,i){const{helper:o}=i,u=Ot("key",qe(`${r}`,!1,Ht,2)),{children:f}=t,c=f[0];if(f.length!==1||c.type!==1)if(f.length===1&&c.type===11){const h=c.codegenNode;return ol(h,u,i),h}else{let h=64;return rf[64],Mo(i,o(To),Pr([u]),f,h+"",void 0,void 0,!0,!1,!1,t.loc)}else{const h=c.codegenNode,g=Pm(h);return g.type===13&&_a(g,i),ol(g,u,i),h}}function kT(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const PT=Gc("for",(t,r,i)=>{const{helper:o,removeHelper:u}=i;return Jm(t,r,i,f=>{const c=kt(o(Ua),[f.source]),p=vr(t,"memo"),h=Lo(t,"key"),g=h&&(h.type===6?qe(h.value.content,!0):h.exp),m=h?Ot("key",g):null,b=f.source.type===4&&f.source.constType>0,x=b?64:h?128:256;return f.codegenNode=Mo(i,o(To),void 0,c,x+"",void 0,void 0,!0,!b,!1,t.loc),()=>{let E;const P=No(t),{children:B}=f,L=B.length!==1||B[0].type!==1,F=il(t)?t:P&&t.children.length===1&&il(t.children[0])?t.children[0]:null;if(F?(E=F.codegenNode,P&&m&&ol(E,m,i)):L?E=Mo(i,o(To),m?Pr([m]):void 0,t.children,64+"",void 0,void 0,!0,void 0,!1):(E=B[0].codegenNode,P&&m&&ol(E,m,i),E.isBlock!==!b&&(E.isBlock?(u(Zn),u(Ni(i.inSSR,E.isComponent))):u(Li(i.inSSR,E.isComponent))),E.isBlock=!b,E.isBlock?(o(Zn),o(Ni(i.inSSR,E.isComponent))):o(Li(i.inSSR,E.isComponent))),p){const M=Mi(ou(f.parseResult,[qe("_cached")]));M.body=Tm([jr(["const _memo = (",p.exp,")"]),jr(["if (_cached",...g?[" && _cached.key === ",g]:[],` && ${i.helperString(Fc)}(_cached, _memo)) return _cached`]),jr(["const _item = ",E]),qe("_item.memo = _memo"),qe("return _item")]),c.arguments.push(M,qe("_cache"),qe(String(i.cached++)))}else c.arguments.push(Mi(ou(f.parseResult),E,!0))}})});function Jm(t,r,i,o){if(!r.exp){i.onError(yt(31,r.loc));return}const u=Jc(r.exp);if(!u){i.onError(yt(32,r.loc));return}const{addIdentifiers:f,removeIdentifiers:c,scopes:p}=i,{source:h,value:g,key:m,index:b}=u,x={type:11,loc:r.loc,source:h,valueAlias:g,keyAlias:m,objectIndexAlias:b,parseResult:u,children:No(t)?t.children:[t]};i.replaceNode(x),p.vFor++;const E=o&&o(x);return()=>{p.vFor--,E&&E()}}const MT=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Zm=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,AT=/^\(|\)$/g;function Jc(t,r){const i=t.loc,o=t.content,u=o.match(MT);if(!u)return;const[,f,c]=u,p={source:iu(i,c.trim(),o.indexOf(c,f.length)),value:void 0,key:void 0,index:void 0};let h=f.trim().replace(AT,"").trim();const g=f.indexOf(h),m=h.match(Zm);if(m){h=h.replace(Zm,"").trim();const b=m[1].trim();let x;if(b&&(x=o.indexOf(b,g+h.length),p.key=iu(i,b,x)),m[2]){const E=m[2].trim();E&&(p.index=iu(i,E,o.indexOf(E,p.key?x+b.length:g+h.length)))}}return h&&(p.value=iu(i,h,g)),p}function iu(t,r,i){return qe(r,!1,Bc(t,i,r.length))}function ou({value:t,key:r,index:i},o=[]){return LT([t,r,i,...o])}function LT(t){let r=t.length;for(;r--&&!t[r];);return t.slice(0,r+1).map((i,o)=>i||qe("_".repeat(o+1),!1))}const Qm=qe("undefined",!1),qm=(t,r)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const i=vr(t,"slot");if(i)return i.exp,r.scopes.vSlot++,()=>{r.scopes.vSlot--}}},NT=(t,r)=>{let i;if(No(t)&&t.props.some(Wc)&&(i=vr(t,"for"))){const o=i.parseResult=Jc(i.exp);if(o){const{value:u,key:f,index:c}=o,{addIdentifiers:p,removeIdentifiers:h}=r;return u&&p(u),f&&p(f),c&&p(c),()=>{u&&h(u),f&&h(f),c&&h(c)}}}},IT=(t,r,i)=>Mi(t,r,!1,!0,r.length?r[0].loc:i);function _m(t,r,i=IT){r.helper(Ja);const{children:o,loc:u}=t,f=[],c=[];let p=r.scopes.vSlot>0||r.scopes.vFor>0;const h=vr(t,"slot",!0);if(h){const{arg:B,exp:L}=h;B&&!ur(B)&&(p=!0),f.push(Ot(B||qe("default",!0),i(L,o,u)))}let g=!1,m=!1;const b=[],x=new Set;for(let B=0;B<o.length;B++){const L=o[B];let F;if(!No(L)||!(F=vr(L,"slot",!0))){L.type!==3&&b.push(L);continue}if(h){r.onError(yt(37,F.loc));break}g=!0;const{children:M,loc:N}=L,{arg:H=qe("default",!0),exp:Q,loc:J}=F;let K;ur(H)?K=H?H.content:"default":p=!0;const U=i(Q,M,N);let q,te,ee;if(q=vr(L,"if"))p=!0,c.push(Qa(q.exp,su(H,U),Qm));else if(te=vr(L,/^else(-if)?$/,!0)){let _=B,O;for(;_--&&(O=o[_],O.type===3););if(O&&No(O)&&vr(O,"if")){o.splice(B,1),B--;let k=c[c.length-1];for(;k.alternate.type===19;)k=k.alternate;k.alternate=te.exp?Qa(te.exp,su(H,U),Qm):su(H,U)}else r.onError(yt(30,te.loc))}else if(ee=vr(L,"for")){p=!0;const _=ee.parseResult||Jc(ee.exp);_?c.push(kt(r.helper(Ua),[_.source,Mi(ou(_),su(H,U),!0)])):r.onError(yt(32,ee.loc))}else{if(K){if(x.has(K)){r.onError(yt(38,J));continue}x.add(K),K==="default"&&(m=!0)}f.push(Ot(H,U))}}if(!h){const B=(L,F)=>{const M=i(L,F,u);return r.compatConfig&&(M.isNonScopedSlot=!0),Ot("default",M)};g?b.length&&b.some(L=>ey(L))&&(m?r.onError(yt(39,b[0].loc)):f.push(B(void 0,b))):f.push(B(void 0,o))}const E=p?2:lu(t.children)?3:1;let P=Pr(f.concat(Ot("_",qe(E+"",!1))),u);return c.length&&(P=kt(r.helper(Dc),[P,Ao(c)])),{slots:P,hasDynamicSlots:p}}function su(t,r){return Pr([Ot("name",t),Ot("fn",r)])}function lu(t){for(let r=0;r<t.length;r++){const i=t[r];switch(i.type){case 1:if(i.tagType===2||lu(i.children))return!0;break;case 9:if(lu(i.branches))return!0;break;case 10:case 11:if(lu(i.children))return!0;break}}return!1}function ey(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():ey(t.content)}const ty=new WeakMap,ry=(t,r)=>function(){if(t=r.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:o,props:u}=t,f=t.tagType===1;let c=f?ny(t,r):`"${o}"`;const p=pt(c)&&c.callee===Zs;let h,g,m,b=0,x,E,P,B=p||c===Eo||c===Da||!f&&(o==="svg"||o==="foreignObject"||Lo(t,"key",!0));if(u.length>0){const L=Zc(t,r);h=L.props,b=L.patchFlag,E=L.dynamicPropNames;const F=L.directives;P=F&&F.length?Ao(F.map(M=>DT(M,r))):void 0}if(t.children.length>0)if(c===Js&&(B=!0,b|=1024),f&&c!==Eo&&c!==Js){const{slots:F,hasDynamicSlots:M}=_m(t,r);g=F,M&&(b|=1024)}else if(t.children.length===1&&c!==Eo){const F=t.children[0],M=F.type,N=M===5||M===8;N&&Ir(F,r)===0&&(b|=1),N||M===2?g=F:g=t.children}else g=t.children;b!==0&&(m=String(b),E&&E.length&&(x=FT(E))),t.codegenNode=Mo(r,c,h,g,m,x,P,!!B,!1,f,t.loc)};function ny(t,r,i=!1){let{tag:o}=t;const u=qc(o),f=Lo(t,"is");if(f)if(u||Ii("COMPILER_IS_ON_ELEMENT",r)){const h=f.type===6?f.value&&qe(f.value.content,!0):f.exp;if(h)return kt(r.helper(Zs),[h])}else f.type===6&&f.value.content.startsWith("vue:")&&(o=f.value.content.slice(4));const c=!u&&vr(t,"is");if(c&&c.exp)return kt(r.helper(Zs),[c.exp]);const p=zc(o)||r.isBuiltInComponent(o);return p?(i||r.helper(p),p):(r.helper(Ba),r.components.add(o),Io(o,"component"))}function Zc(t,r,i=t.props,o=!1){const{tag:u,loc:f}=t,c=t.tagType===1;let p=[];const h=[],g=[];let m=0,b=!1,x=!1,E=!1,P=!1,B=!1,L=!1;const F=[],M=({key:H,value:Q})=>{if(ur(H)){const J=H.content,K=Nn(J);if(!c&&K&&J.toLowerCase()!=="onclick"&&J!=="onUpdate:modelValue"&&!Rn(J)&&(P=!0),K&&Rn(J)&&(L=!0),Q.type===20||(Q.type===4||Q.type===8)&&Ir(Q,r)>0)return;J==="ref"?b=!0:J==="class"?x=!0:J==="style"?E=!0:J!=="key"&&!F.includes(J)&&F.push(J),c&&(J==="class"||J==="style")&&!F.includes(J)&&F.push(J)}else B=!0};for(let H=0;H<i.length;H++){const Q=i[H];if(Q.type===6){const{loc:J,name:K,value:U}=Q;let q=qe(U?U.content:"",!0,U?U.loc:J);if(K==="ref"&&(b=!0),K==="is"&&(qc(u)||U&&U.content.startsWith("vue:")||Ii("COMPILER_IS_ON_ELEMENT",r)))continue;p.push(Ot(qe(K,!0,Bc(J,0,K.length)),q))}else{const{name:J,arg:K,exp:U,loc:q}=Q,te=J==="bind",ee=J==="on";if(J==="slot"){c||r.onError(yt(40,q));continue}if(J==="once"||J==="memo"||J==="is"||te&&nl(K,"is")&&(qc(u)||Ii("COMPILER_IS_ON_ELEMENT",r))||ee&&o)continue;if(!K&&(te||ee)){if(B=!0,U)if(p.length&&(h.push(Pr(Qc(p),f)),p=[]),te){if(Ii("COMPILER_V_BIND_OBJECT_ORDER",r)){h.unshift(U);continue}h.push(U)}else h.push({type:14,loc:q,callee:r.helper(Ga),arguments:[U]});else r.onError(yt(te?34:35,q));continue}const _=r.directiveTransforms[J];if(_){const{props:O,needRuntime:k}=_(Q,t,r);!o&&O.forEach(M),p.push(...O),k&&(g.push(Q),di(k)&&ty.set(Q,k))}else g.push(Q)}Q.type===6&&Q.name==="ref"&&r.scopes.vFor>0&&Ri("COMPILER_V_FOR_REF",r,Q.loc)&&p.push(Ot(qe("refInFor",!0),qe("true",!1)))}let N;if(h.length?(p.length&&h.push(Pr(Qc(p),f)),h.length>1?N=kt(r.helper(qs),h,f):N=h[0]):p.length&&(N=Pr(Qc(p),f)),B?m|=16:(x&&!c&&(m|=2),E&&!c&&(m|=4),F.length&&(m|=8),P&&(m|=32)),(m===0||m===32)&&(b||L||g.length>0)&&(m|=512),!r.inSSR&&N)switch(N.type){case 15:let H=-1,Q=-1,J=!1;for(let q=0;q<N.properties.length;q++){const te=N.properties[q].key;ur(te)?te.content==="class"?H=q:te.content==="style"&&(Q=q):te.isHandlerKey||(J=!0)}const K=N.properties[H],U=N.properties[Q];J?N=kt(r.helper(ko),[N]):(K&&!ur(K.value)&&(K.value=kt(r.helper($a),[K.value])),U&&!ur(U.value)&&(E||U.value.type===17)&&(U.value=kt(r.helper(Va),[U.value])));break;case 14:break;default:N=kt(r.helper(ko),[kt(r.helper(Po),[N])]);break}return{props:N,directives:g,patchFlag:m,dynamicPropNames:F}}function Qc(t){const r=new Map,i=[];for(let o=0;o<t.length;o++){const u=t[o];if(u.key.type===8||!u.key.isStatic){i.push(u);continue}const f=u.key.content,c=r.get(f);c?(f==="style"||f==="class"||Nn(f))&&RT(c,u):(r.set(f,u),i.push(u))}return i}function RT(t,r){t.value.type===17?t.value.elements.push(r.value):t.value=Ao([t.value,r.value],t.loc)}function DT(t,r){const i=[],o=ty.get(t);o?i.push(r.helperString(o)):(r.helper(Wa),r.directives.add(t.name),i.push(Io(t.name,"directive")));const{loc:u}=t;if(t.exp&&i.push(t.exp),t.arg&&(t.exp||i.push("void 0"),i.push(t.arg)),Object.keys(t.modifiers).length){t.arg||(t.exp||i.push("void 0"),i.push("void 0"));const f=qe("true",!1,u);i.push(Pr(t.modifiers.map(c=>Ot(c,f)),u))}return Ao(i,t.loc)}function FT(t){let r="[";for(let i=0,o=t.length;i<o;i++)r+=JSON.stringify(t[i]),i<o-1&&(r+=", ");return r+"]"}function qc(t){return t[0].toLowerCase()+t.slice(1)==="component"}const zT=t=>{const r=Object.create(null);return i=>r[i]||(r[i]=t(i))},HT=/-(\w)/g,iy=zT(t=>t.replace(HT,(r,i)=>i?i.toUpperCase():"")),BT=(t,r)=>{if(il(t)){const{children:i,loc:o}=t,{slotName:u,slotProps:f}=oy(t,r),c=[r.prefixIdentifiers?"_ctx.$slots":"$slots",u,"{}","undefined","true"];let p=2;f&&(c[2]=f,p=3),i.length&&(c[3]=Mi([],i,!1,!1,o),p=4),r.scopeId&&!r.slotted&&(p=5),c.splice(p),t.codegenNode=kt(r.helper(Rc),c,o)}};function oy(t,r){let i='"default"',o;const u=[];for(let f=0;f<t.props.length;f++){const c=t.props[f];c.type===6?c.value&&(c.name==="name"?i=JSON.stringify(c.value.content):(c.name=iy(c.name),u.push(c))):c.name==="bind"&&nl(c.arg,"name")?c.exp&&(i=c.exp):(c.name==="bind"&&c.arg&&ur(c.arg)&&(c.arg.content=iy(c.arg.content)),u.push(c))}if(u.length>0){const{props:f,directives:c}=Zc(t,r,u);o=f,c.length&&r.onError(yt(36,c[0].loc))}return{slotName:i,slotProps:o}}const WT=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,_c=(t,r,i,o)=>{const{loc:u,modifiers:f,arg:c}=t;!t.exp&&!f.length&&i.onError(yt(35,u));let p;if(c.type===4)if(c.isStatic){const b=c.content;p=qe(hi(Gt(b)),!0,c.loc)}else p=jr([`${i.helperString(Xa)}(`,c,")"]);else p=c,p.children.unshift(`${i.helperString(Xa)}(`),p.children.push(")");let h=t.exp;h&&!h.content.trim()&&(h=void 0);let g=i.cacheHandlers&&!h&&!i.inVOnce;if(h){const b=Hc(h.content),x=!(b||WT.test(h.content)),E=h.content.includes(";");(x||g&&b)&&(h=jr([`${x?"$event":"(...args)"} => ${E?"{":"("}`,h,E?"}":")"]))}let m={props:[Ot(p,h||qe("() => {}",!1,u))]};return o&&(m=o(m)),g&&(m.props[0].value=i.cache(m.props[0].value)),m.props.forEach(b=>b.key.isHandlerKey=!0),m},sy=(t,r,i)=>{const{exp:o,modifiers:u,loc:f}=t,c=t.arg;return c.type!==4?(c.children.unshift("("),c.children.push(') || ""')):c.isStatic||(c.content=`${c.content} || ""`),u.includes("camel")&&(c.type===4?c.isStatic?c.content=Gt(c.content):c.content=`${i.helperString(Ya)}(${c.content})`:(c.children.unshift(`${i.helperString(Ya)}(`),c.children.push(")"))),i.inSSR||(u.includes("prop")&&ly(c,"."),u.includes("attr")&&ly(c,"^")),!o||o.type===4&&!o.content.trim()?(i.onError(yt(34,f)),{props:[Ot(c,qe("",!0,f))]}):{props:[Ot(c,o)]}},ly=(t,r)=>{t.type===4?t.isStatic?t.content=r+t.content:t.content=`\`${r}\${${t.content}}\``:(t.children.unshift(`'${r}' + (`),t.children.push(")"))},jT=(t,r)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const i=t.children;let o,u=!1;for(let f=0;f<i.length;f++){const c=i[f];if(qa(c)){u=!0;for(let p=f+1;p<i.length;p++){const h=i[p];if(qa(h))o||(o=i[f]={type:8,loc:c.loc,children:[c]}),o.children.push(" + ",h),i.splice(p,1),p--;else{o=void 0;break}}}}if(!(!u||i.length===1&&(t.type===0||t.type===1&&t.tagType===0&&!t.props.find(f=>f.type===7&&!r.directiveTransforms[f.name])&&t.tag!=="template")))for(let f=0;f<i.length;f++){const c=i[f];if(qa(c)||c.type===8){const p=[];(c.type!==2||c.content!==" ")&&p.push(c),!r.ssr&&Ir(c,r)===0&&p.push(1+""),i[f]={type:12,content:c,loc:c.loc,codegenNode:kt(r.helper(Ha),p)}}}}},ay=new WeakSet,KT=(t,r)=>{if(t.type===1&&vr(t,"once",!0))return ay.has(t)||r.inVOnce?void 0:(ay.add(t),r.inVOnce=!0,r.helper(_s),()=>{r.inVOnce=!1;const i=r.currentNode;i.codegenNode&&(i.codegenNode=r.cache(i.codegenNode,!0))})},ed=(t,r,i)=>{const{exp:o,arg:u}=t;if(!o)return i.onError(yt(41,t.loc)),td();const f=o.loc.source,c=o.type===4?o.content:f;i.bindingMetadata[f];const p=!1;if(!c.trim()||!Hc(c)&&!p)return i.onError(yt(42,o.loc)),td();const h=u||qe("modelValue",!0),g=u?ur(u)?`onUpdate:${u.content}`:jr(['"onUpdate:" + ',u]):"onUpdate:modelValue";let m;const b=i.isTS?"($event: any)":"$event";m=jr([`${b} => ((`,o,") = $event)"]);const x=[Ot(h,t.exp),Ot(g,m)];if(t.modifiers.length&&r.tagType===1){const E=t.modifiers.map(B=>(el(B)?B:JSON.stringify(B))+": true").join(", "),P=u?ur(u)?`${u.content}Modifiers`:jr([u,' + "Modifiers"']):"modelModifiers";x.push(Ot(P,qe(`{ ${E} }`,!1,t.loc,2)))}return td(x)};function td(t=[]){return{props:t}}const UT=/[\w).+\-_$\]]/,$T=(t,r)=>{!Ii("COMPILER_FILTER",r)||(t.type===5&&au(t.content,r),t.type===1&&t.props.forEach(i=>{i.type===7&&i.name!=="for"&&i.exp&&au(i.exp,r)}))};function au(t,r){if(t.type===4)uy(t,r);else for(let i=0;i<t.children.length;i++){const o=t.children[i];typeof o=="object"&&(o.type===4?uy(o,r):o.type===8?au(t,r):o.type===5&&au(o.content,r))}}function uy(t,r){const i=t.content;let o=!1,u=!1,f=!1,c=!1,p=0,h=0,g=0,m=0,b,x,E,P,B=[];for(E=0;E<i.length;E++)if(x=b,b=i.charCodeAt(E),o)b===39&&x!==92&&(o=!1);else if(u)b===34&&x!==92&&(u=!1);else if(f)b===96&&x!==92&&(f=!1);else if(c)b===47&&x!==92&&(c=!1);else if(b===124&&i.charCodeAt(E+1)!==124&&i.charCodeAt(E-1)!==124&&!p&&!h&&!g)P===void 0?(m=E+1,P=i.slice(0,E).trim()):L();else{switch(b){case 34:u=!0;break;case 39:o=!0;break;case 96:f=!0;break;case 40:g++;break;case 41:g--;break;case 91:h++;break;case 93:h--;break;case 123:p++;break;case 125:p--;break}if(b===47){let F=E-1,M;for(;F>=0&&(M=i.charAt(F),M===" ");F--);(!M||!UT.test(M))&&(c=!0)}}P===void 0?P=i.slice(0,E).trim():m!==0&&L();function L(){B.push(i.slice(m,E).trim()),m=E+1}if(B.length){for(E=0;E<B.length;E++)P=VT(P,B[E],r);t.content=P}}function VT(t,r,i){i.helper(ja);const o=r.indexOf("(");if(o<0)return i.filters.add(r),`${Io(r,"filter")}(${t})`;{const u=r.slice(0,o),f=r.slice(o+1);return i.filters.add(u),`${Io(u,"filter")}(${t}${f!==")"?","+f:f}`}}const fy=new WeakSet,GT=(t,r)=>{if(t.type===1){const i=vr(t,"memo");return!i||fy.has(t)?void 0:(fy.add(t),()=>{const o=t.codegenNode||r.currentNode.codegenNode;o&&o.type===13&&(t.tagType!==1&&_a(o,r),t.codegenNode=kt(r.helper(Za),[i.exp,Mi(void 0,o),"_cache",String(r.cached++)]))})}};function cy(t){return[[KT,OT,GT,PT,$T,BT,ry,qm,jT],{on:_c,bind:sy,model:ed}]}function dy(t,r={}){const i=r.onError||Mc,o=r.mode==="module";r.prefixIdentifiers===!0?i(yt(46)):o&&i(yt(47));const u=!1;r.cacheHandlers&&i(yt(48)),r.scopeId&&!o&&i(yt(49));const f=Ze(t)?Kc(t,r):t,[c,p]=cy();return Wm(f,lt({},r,{prefixIdentifiers:u,nodeTransforms:[...c,...r.nodeTransforms||[]],directiveTransforms:lt({},p,r.directiveTransforms||{})})),jm(f,lt({},r,{prefixIdentifiers:u}))}const hy=()=>({props:[]}),rd=Symbol(""),nd=Symbol(""),id=Symbol(""),od=Symbol(""),uu=Symbol(""),sd=Symbol(""),ld=Symbol(""),ad=Symbol(""),ud=Symbol(""),fd=Symbol("");xm({[rd]:"vModelRadio",[nd]:"vModelCheckbox",[id]:"vModelText",[od]:"vModelSelect",[uu]:"vModelDynamic",[sd]:"withModifiers",[ld]:"withKeys",[ad]:"vShow",[ud]:"Transition",[fd]:"TransitionGroup"});let Ro;function YT(t,r=!1){return Ro||(Ro=document.createElement("div")),r?(Ro.innerHTML=`<div foo="${t.replace(/"/g,"&quot;")}">`,Ro.children[0].getAttribute("foo")):(Ro.innerHTML=t,Ro.textContent)}const XT=jt("style,iframe,script,noscript",!0),cd={isVoidTag:bp,isNativeTag:t=>mp(t)||yp(t),isPreTag:t=>t==="pre",decodeEntities:YT,isBuiltInComponent:t=>{if(Ai(t,"Transition"))return ud;if(Ai(t,"TransitionGroup"))return fd},getNamespace(t,r){let i=r?r.ns:0;if(r&&i===2)if(r.tag==="annotation-xml"){if(t==="svg")return 1;r.props.some(o=>o.type===6&&o.name==="encoding"&&o.value!=null&&(o.value.content==="text/html"||o.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(r.tag)&&t!=="mglyph"&&t!=="malignmark"&&(i=0);else r&&i===1&&(r.tag==="foreignObject"||r.tag==="desc"||r.tag==="title")&&(i=0);if(i===0){if(t==="svg")return 1;if(t==="math")return 2}return i},getTextMode({tag:t,ns:r}){if(r===0){if(t==="textarea"||t==="title")return 1;if(XT(t))return 2}return 0}},py=t=>{t.type===1&&t.props.forEach((r,i)=>{r.type===6&&r.name==="style"&&r.value&&(t.props[i]={type:7,name:"bind",arg:qe("style",!0,r.loc),exp:JT(r.value.content,r.loc),modifiers:[],loc:r.loc})})},JT=(t,r)=>{const i=sf(t);return qe(JSON.stringify(i),!1,r,3)};function nn(t,r){return yt(t,r)}const ZT=(t,r,i)=>{const{exp:o,loc:u}=t;return o||i.onError(nn(50,u)),r.children.length&&(i.onError(nn(51,u)),r.children.length=0),{props:[Ot(qe("innerHTML",!0,u),o||qe("",!0))]}},QT=(t,r,i)=>{const{exp:o,loc:u}=t;return o||i.onError(nn(52,u)),r.children.length&&(i.onError(nn(53,u)),r.children.length=0),{props:[Ot(qe("textContent",!0),o?kt(i.helperString(Qs),[o],u):qe("",!0))]}},qT=(t,r,i)=>{const o=ed(t,r,i);if(!o.props.length||r.tagType===1)return o;t.arg&&i.onError(nn(55,t.arg.loc));const{tag:u}=r,f=i.isCustomElement(u);if(u==="input"||u==="textarea"||u==="select"||f){let c=id,p=!1;if(u==="input"||f){const h=Lo(r,"type");if(h){if(h.type===7)c=uu;else if(h.value)switch(h.value.content){case"radio":c=rd;break;case"checkbox":c=nd;break;case"file":p=!0,i.onError(nn(56,t.loc));break}}else Om(r)&&(c=uu)}else u==="select"&&(c=od);p||(o.needRuntime=i.helper(c))}else i.onError(nn(54,t.loc));return o.props=o.props.filter(c=>!(c.key.type===4&&c.key.content==="modelValue")),o},_T=jt("passive,once,capture"),eE=jt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),tE=jt("left,right"),gy=jt("onkeyup,onkeydown,onkeypress",!0),rE=(t,r,i,o)=>{const u=[],f=[],c=[];for(let p=0;p<r.length;p++){const h=r[p];h==="native"&&Ri("COMPILER_V_ON_NATIVE",i)||_T(h)?c.push(h):tE(h)?ur(t)?gy(t.content)?u.push(h):f.push(h):(u.push(h),f.push(h)):eE(h)?f.push(h):u.push(h)}return{keyModifiers:u,nonKeyModifiers:f,eventOptionModifiers:c}},vy=(t,r)=>ur(t)&&t.content.toLowerCase()==="onclick"?qe(r,!0):t.type!==4?jr(["(",t,`) === "onClick" ? "${r}" : (`,t,")"]):t,nE=(t,r,i)=>_c(t,r,i,o=>{const{modifiers:u}=t;if(!u.length)return o;let{key:f,value:c}=o.props[0];const{keyModifiers:p,nonKeyModifiers:h,eventOptionModifiers:g}=rE(f,u,i,t.loc);if(h.includes("right")&&(f=vy(f,"onContextmenu")),h.includes("middle")&&(f=vy(f,"onMouseup")),h.length&&(c=kt(i.helper(sd),[c,JSON.stringify(h)])),p.length&&(!ur(f)||gy(f.content))&&(c=kt(i.helper(ld),[c,JSON.stringify(p)])),g.length){const m=g.map(Dn).join("");f=ur(f)?qe(`${f.content}${m}`,!0):jr(["(",f,`) + "${m}"`])}return{props:[Ot(f,c)]}}),iE=(t,r,i)=>{const{exp:o,loc:u}=t;return o||i.onError(nn(58,u)),{props:[],needRuntime:i.helper(ad)}},oE=(t,r)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&(r.onError(nn(60,t.loc)),r.removeNode())},my=[py],yy={cloak:hy,html:ZT,text:QT,model:qT,on:nE,show:iE};function sE(t,r={}){return dy(t,lt({},cd,r,{nodeTransforms:[oE,...my,...r.nodeTransforms||[]],directiveTransforms:lt({},yy,r.directiveTransforms||{}),transformHoist:null}))}function lE(t,r={}){return Kc(t,lt({},cd,r))}var aE=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",DOMDirectiveTransforms:yy,DOMNodeTransforms:my,TRANSITION:ud,TRANSITION_GROUP:fd,V_MODEL_CHECKBOX:nd,V_MODEL_DYNAMIC:uu,V_MODEL_RADIO:rd,V_MODEL_SELECT:od,V_MODEL_TEXT:id,V_ON_WITH_KEYS:ld,V_ON_WITH_MODIFIERS:sd,V_SHOW:ad,compile:sE,createDOMCompilerError:nn,parse:lE,parserOptions:cd,transformStyle:py,generateCodeFrame:dp,BASE_TRANSITION:Ac,CAMELIZE:Ya,CAPITALIZE:vm,CREATE_BLOCK:Lc,CREATE_COMMENT:Oo,CREATE_ELEMENT_BLOCK:Nc,CREATE_ELEMENT_VNODE:za,CREATE_SLOTS:Dc,CREATE_STATIC:Ic,CREATE_TEXT:Ha,CREATE_VNODE:Fa,FRAGMENT:To,GUARD_REACTIVE_PROPS:Po,IS_MEMO_SAME:Fc,IS_REF:Sm,KEEP_ALIVE:Js,MERGE_PROPS:qs,NORMALIZE_CLASS:$a,NORMALIZE_PROPS:ko,NORMALIZE_STYLE:Va,OPEN_BLOCK:Zn,POP_SCOPE_ID:ym,PUSH_SCOPE_ID:mm,RENDER_LIST:Ua,RENDER_SLOT:Rc,RESOLVE_COMPONENT:Ba,RESOLVE_DIRECTIVE:Wa,RESOLVE_DYNAMIC_COMPONENT:Zs,RESOLVE_FILTER:ja,SET_BLOCK_TRACKING:_s,SUSPENSE:Da,TELEPORT:Eo,TO_DISPLAY_STRING:Qs,TO_HANDLERS:Ga,TO_HANDLER_KEY:Xa,UNREF:bm,WITH_CTX:Ja,WITH_DIRECTIVES:Ka,WITH_MEMO:Za,advancePositionWithClone:tl,advancePositionWithMutation:rl,assert:zC,baseCompile:dy,baseParse:Kc,buildProps:Zc,buildSlots:_m,checkCompatEnabled:Ri,createArrayExpression:Ao,createAssignmentExpression:MC,createBlockStatement:Tm,createCacheExpression:Cm,createCallExpression:kt,createCompilerError:yt,createCompoundExpression:jr,createConditionalExpression:Qa,createForLoopParams:ou,createFunctionExpression:Mi,createIfStatement:PC,createInterpolation:OC,createObjectExpression:Pr,createObjectProperty:Ot,createReturnStatement:LC,createRoot:wm,createSequenceExpression:AC,createSimpleExpression:qe,createStructuralDirectiveTransform:Gc,createTemplateLiteral:kC,createTransformContext:Bm,createVNodeCall:Mo,extractIdentifiers:Qn,findDir:vr,findProp:Lo,generate:jm,getBaseTransformPreset:cy,getInnerRange:Bc,getMemoedVNodeCall:Pm,getVNodeBlockHelper:Ni,getVNodeHelper:Li,hasDynamicKeyVBind:Om,hasScopeRef:Kr,helperNameMap:Sn,injectProp:ol,isBindKey:nl,isBuiltInType:Ai,isCoreComponent:zc,isFunctionType:CT,isInDestructureAssignment:ST,isMemberExpression:Hc,isMemberExpressionBrowser:Em,isMemberExpressionNode:FC,isReferencedIdentifier:bT,isSimpleIdentifier:el,isSlotOutlet:il,isStaticExp:ur,isStaticProperty:$m,isStaticPropertyKey:TT,isTemplateNode:No,isText:qa,isVSlot:Wc,locStub:Ht,makeBlock:_a,noopDirectiveTransform:hy,processExpression:nu,processFor:Jm,processIf:Vm,processSlotOutlet:oy,registerRuntimeHelpers:xm,resolveComponentType:ny,toValidAssetId:Io,trackSlotScopes:qm,trackVForSlotScopes:NT,transform:Wm,transformBind:sy,transformElement:ry,transformExpression:ET,transformModel:ed,transformOn:_c,traverseNode:ul,walkBlockDeclarations:wT,walkFunctionParams:xT,walkIdentifiers:yT,warnDeprecation:WC}),uE=bc(aE),fE=bc(Jw),cE=bc(Wb);(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=uE,i=fE,o=cE;function u(h){if(h&&h.__esModule)return h;var g=Object.create(null);return h&&Object.keys(h).forEach(function(m){g[m]=h[m]}),g.default=h,Object.freeze(g)}var f=u(i);const c=Object.create(null);function p(h,g){if(!o.isString(h))if(h.nodeType)h=h.innerHTML;else return o.NOOP;const m=h,b=c[m];if(b)return b;if(h[0]==="#"){const P=document.querySelector(h);h=P?P.innerHTML:""}const{code:x}=r.compile(h,o.extend({hoistStatic:!0,onError:void 0,onWarn:o.NOOP},g)),E=new Function("Vue",x)(f);return E._rc=!0,c[m]=E}i.registerRuntimeCompiler(p),Object.keys(i).forEach(function(h){h!=="default"&&(t[h]=i[h])}),t.compile=p})(pm);hm.exports=pm;(function(t){t.exports=function(r){var i={};function o(u){if(i[u])return i[u].exports;var f=i[u]={i:u,l:!1,exports:{}};return r[u].call(f.exports,f,f.exports,o),f.l=!0,f.exports}return o.m=r,o.c=i,o.d=function(u,f,c){o.o(u,f)||Object.defineProperty(u,f,{enumerable:!0,get:c})},o.r=function(u){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},o.t=function(u,f){if(f&1&&(u=o(u)),f&8||f&4&&typeof u=="object"&&u&&u.__esModule)return u;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:u}),f&2&&typeof u!="string")for(var p in u)o.d(c,p,function(h){return u[h]}.bind(null,p));return c},o.n=function(u){var f=u&&u.__esModule?function(){return u.default}:function(){return u};return o.d(f,"a",f),f},o.o=function(u,f){return Object.prototype.hasOwnProperty.call(u,f)},o.p="",o(o.s="fae3")}({"00ee":function(r,i,o){var u=o("b622"),f=u("toStringTag"),c={};c[f]="z",r.exports=String(c)==="[object z]"},"0366":function(r,i,o){var u=o("1c0b");r.exports=function(f,c,p){if(u(f),c===void 0)return f;switch(p){case 0:return function(){return f.call(c)};case 1:return function(h){return f.call(c,h)};case 2:return function(h,g){return f.call(c,h,g)};case 3:return function(h,g,m){return f.call(c,h,g,m)}}return function(){return f.apply(c,arguments)}}},"057f":function(r,i,o){var u=o("fc6a"),f=o("241c").f,c={}.toString,p=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],h=function(g){try{return f(g)}catch{return p.slice()}};r.exports.f=function(m){return p&&c.call(m)=="[object Window]"?h(m):f(u(m))}},"06cf":function(r,i,o){var u=o("83ab"),f=o("d1e7"),c=o("5c6c"),p=o("fc6a"),h=o("c04e"),g=o("5135"),m=o("0cfb"),b=Object.getOwnPropertyDescriptor;i.f=u?b:function(E,P){if(E=p(E),P=h(P,!0),m)try{return b(E,P)}catch{}if(g(E,P))return c(!f.f.call(E,P),E[P])}},"0cfb":function(r,i,o){var u=o("83ab"),f=o("d039"),c=o("cc12");r.exports=!u&&!f(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"159b":function(r,i,o){var u=o("da84"),f=o("fdbc"),c=o("17c2"),p=o("9112");for(var h in f){var g=u[h],m=g&&g.prototype;if(m&&m.forEach!==c)try{p(m,"forEach",c)}catch{m.forEach=c}}},"17c2":function(r,i,o){var u=o("b727").forEach,f=o("a640"),c=f("forEach");r.exports=c?[].forEach:function(h){return u(this,h,arguments.length>1?arguments[1]:void 0)}},"1be4":function(r,i,o){var u=o("d066");r.exports=u("document","documentElement")},"1c0b":function(r,i){r.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(r,i,o){var u=o("b622"),f=u("iterator"),c=!1;try{var p=0,h={next:function(){return{done:!!p++}},return:function(){c=!0}};h[f]=function(){return this},Array.from(h,function(){throw 2})}catch{}r.exports=function(g,m){if(!m&&!c)return!1;var b=!1;try{var x={};x[f]=function(){return{next:function(){return{done:b=!0}}}},g(x)}catch{}return b}},"1d80":function(r,i){r.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(r,i,o){var u=o("d039"),f=o("b622"),c=o("2d00"),p=f("species");r.exports=function(h){return c>=51||!u(function(){var g=[],m=g.constructor={};return m[p]=function(){return{foo:1}},g[h](Boolean).foo!==1})}},"23cb":function(r,i,o){var u=o("a691"),f=Math.max,c=Math.min;r.exports=function(p,h){var g=u(p);return g<0?f(g+h,0):c(g,h)}},"23e7":function(r,i,o){var u=o("da84"),f=o("06cf").f,c=o("9112"),p=o("6eeb"),h=o("ce4e"),g=o("e893"),m=o("94ca");r.exports=function(b,x){var E=b.target,P=b.global,B=b.stat,L,F,M,N,H,Q;if(P?F=u:B?F=u[E]||h(E,{}):F=(u[E]||{}).prototype,F)for(M in x){if(H=x[M],b.noTargetGet?(Q=f(F,M),N=Q&&Q.value):N=F[M],L=m(P?M:E+(B?".":"#")+M,b.forced),!L&&N!==void 0){if(typeof H==typeof N)continue;g(H,N)}(b.sham||N&&N.sham)&&c(H,"sham",!0),p(F,M,H,b)}}},"241c":function(r,i,o){var u=o("ca84"),f=o("7839"),c=f.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(h){return u(h,c)}},"2532":function(r,i,o){var u=o("23e7"),f=o("5a34"),c=o("1d80"),p=o("ab13");u({target:"String",proto:!0,forced:!p("includes")},{includes:function(g){return!!~String(c(this)).indexOf(f(g),arguments.length>1?arguments[1]:void 0)}})},"2a62":function(r,i,o){var u=o("825a");r.exports=function(f){var c=f.return;if(c!==void 0)return u(c.call(f)).value}},"2d00":function(r,i,o){var u=o("da84"),f=o("342f"),c=u.process,p=c&&c.versions,h=p&&p.v8,g,m;h?(g=h.split("."),m=g[0]<4?1:g[0]+g[1]):f&&(g=f.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=f.match(/Chrome\/(\d+)/),g&&(m=g[1]))),r.exports=m&&+m},"342f":function(r,i,o){var u=o("d066");r.exports=u("navigator","userAgent")||""},"35a1":function(r,i,o){var u=o("f5df"),f=o("3f8c"),c=o("b622"),p=c("iterator");r.exports=function(h){if(h!=null)return h[p]||h["@@iterator"]||f[u(h)]}},"37e8":function(r,i,o){var u=o("83ab"),f=o("9bf2"),c=o("825a"),p=o("df75");r.exports=u?Object.defineProperties:function(g,m){c(g);for(var b=p(m),x=b.length,E=0,P;x>E;)f.f(g,P=b[E++],m[P]);return g}},"3bbe":function(r,i,o){var u=o("861d");r.exports=function(f){if(!u(f)&&f!==null)throw TypeError("Can't set "+String(f)+" as a prototype");return f}},"3ca3":function(r,i,o){var u=o("6547").charAt,f=o("69f3"),c=o("7dd0"),p="String Iterator",h=f.set,g=f.getterFor(p);c(String,"String",function(m){h(this,{type:p,string:String(m),index:0})},function(){var b=g(this),x=b.string,E=b.index,P;return E>=x.length?{value:void 0,done:!0}:(P=u(x,E),b.index+=P.length,{value:P,done:!1})})},"3f8c":function(r,i){r.exports={}},"428f":function(r,i,o){var u=o("da84");r.exports=u},"44ad":function(r,i,o){var u=o("d039"),f=o("c6b6"),c="".split;r.exports=u(function(){return!Object("z").propertyIsEnumerable(0)})?function(p){return f(p)=="String"?c.call(p,""):Object(p)}:Object},"44d2":function(r,i,o){var u=o("b622"),f=o("7c73"),c=o("9bf2"),p=u("unscopables"),h=Array.prototype;h[p]==null&&c.f(h,p,{configurable:!0,value:f(null)}),r.exports=function(g){h[p][g]=!0}},"44e7":function(r,i,o){var u=o("861d"),f=o("c6b6"),c=o("b622"),p=c("match");r.exports=function(h){var g;return u(h)&&((g=h[p])!==void 0?!!g:f(h)=="RegExp")}},"4930":function(r,i,o){var u=o("2d00"),f=o("d039");r.exports=!!Object.getOwnPropertySymbols&&!f(function(){var c=Symbol();return!String(c)||!(Object(c)instanceof Symbol)||!Symbol.sham&&u&&u<41})},"4d64":function(r,i,o){var u=o("fc6a"),f=o("50c4"),c=o("23cb"),p=function(h){return function(g,m,b){var x=u(g),E=f(x.length),P=c(b,E),B;if(h&&m!=m){for(;E>P;)if(B=x[P++],B!=B)return!0}else for(;E>P;P++)if((h||P in x)&&x[P]===m)return h||P||0;return!h&&-1}};r.exports={includes:p(!0),indexOf:p(!1)}},"4de4":function(r,i,o){var u=o("23e7"),f=o("b727").filter,c=o("1dde"),p=c("filter");u({target:"Array",proto:!0,forced:!p},{filter:function(g){return f(this,g,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(r,i,o){var u=o("0366"),f=o("7b0b"),c=o("9bdd"),p=o("e95a"),h=o("50c4"),g=o("8418"),m=o("35a1");r.exports=function(x){var E=f(x),P=typeof this=="function"?this:Array,B=arguments.length,L=B>1?arguments[1]:void 0,F=L!==void 0,M=m(E),N=0,H,Q,J,K,U,q;if(F&&(L=u(L,B>2?arguments[2]:void 0,2)),M!=null&&!(P==Array&&p(M)))for(K=M.call(E),U=K.next,Q=new P;!(J=U.call(K)).done;N++)q=F?c(K,L,[J.value,N],!0):J.value,g(Q,N,q);else for(H=h(E.length),Q=new P(H);H>N;N++)q=F?L(E[N],N):E[N],g(Q,N,q);return Q.length=N,Q}},"4fad":function(r,i,o){var u=o("23e7"),f=o("6f53").entries;u({target:"Object",stat:!0},{entries:function(p){return f(p)}})},"50c4":function(r,i,o){var u=o("a691"),f=Math.min;r.exports=function(c){return c>0?f(u(c),9007199254740991):0}},"5135":function(r,i,o){var u=o("7b0b"),f={}.hasOwnProperty;r.exports=Object.hasOwn||function(p,h){return f.call(u(p),h)}},"5692":function(r,i,o){var u=o("c430"),f=o("c6cd");(r.exports=function(c,p){return f[c]||(f[c]=p!==void 0?p:{})})("versions",[]).push({version:"3.15.2",mode:u?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,i,o){var u=o("d066"),f=o("241c"),c=o("7418"),p=o("825a");r.exports=u("Reflect","ownKeys")||function(g){var m=f.f(p(g)),b=c.f;return b?m.concat(b(g)):m}},"5899":function(r,i){r.exports=`
39
- \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"58a8":function(r,i,o){var u=o("1d80"),f=o("5899"),c="["+f+"]",p=RegExp("^"+c+c+"*"),h=RegExp(c+c+"*$"),g=function(m){return function(b){var x=String(u(b));return m&1&&(x=x.replace(p,"")),m&2&&(x=x.replace(h,"")),x}};r.exports={start:g(1),end:g(2),trim:g(3)}},"5a34":function(r,i,o){var u=o("44e7");r.exports=function(f){if(u(f))throw TypeError("The method doesn't accept regular expressions");return f}},"5c6c":function(r,i){r.exports=function(o,u){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:u}}},"6547":function(r,i,o){var u=o("a691"),f=o("1d80"),c=function(p){return function(h,g){var m=String(f(h)),b=u(g),x=m.length,E,P;return b<0||b>=x?p?"":void 0:(E=m.charCodeAt(b),E<55296||E>56319||b+1===x||(P=m.charCodeAt(b+1))<56320||P>57343?p?m.charAt(b):E:p?m.slice(b,b+2):(E-55296<<10)+(P-56320)+65536)}};r.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(r,i,o){var u=o("861d"),f=o("e8b5"),c=o("b622"),p=c("species");r.exports=function(h,g){var m;return f(h)&&(m=h.constructor,typeof m=="function"&&(m===Array||f(m.prototype))?m=void 0:u(m)&&(m=m[p],m===null&&(m=void 0))),new(m===void 0?Array:m)(g===0?0:g)}},"69f3":function(r,i,o){var u=o("7f9a"),f=o("da84"),c=o("861d"),p=o("9112"),h=o("5135"),g=o("c6cd"),m=o("f772"),b=o("d012"),x="Object already initialized",E=f.WeakMap,P,B,L,F=function(U){return L(U)?B(U):P(U,{})},M=function(U){return function(q){var te;if(!c(q)||(te=B(q)).type!==U)throw TypeError("Incompatible receiver, "+U+" required");return te}};if(u||g.state){var N=g.state||(g.state=new E),H=N.get,Q=N.has,J=N.set;P=function(U,q){if(Q.call(N,U))throw new TypeError(x);return q.facade=U,J.call(N,U,q),q},B=function(U){return H.call(N,U)||{}},L=function(U){return Q.call(N,U)}}else{var K=m("state");b[K]=!0,P=function(U,q){if(h(U,K))throw new TypeError(x);return q.facade=U,p(U,K,q),q},B=function(U){return h(U,K)?U[K]:{}},L=function(U){return h(U,K)}}r.exports={set:P,get:B,has:L,enforce:F,getterFor:M}},"6eeb":function(r,i,o){var u=o("da84"),f=o("9112"),c=o("5135"),p=o("ce4e"),h=o("8925"),g=o("69f3"),m=g.get,b=g.enforce,x=String(String).split("String");(r.exports=function(E,P,B,L){var F=L?!!L.unsafe:!1,M=L?!!L.enumerable:!1,N=L?!!L.noTargetGet:!1,H;if(typeof B=="function"&&(typeof P=="string"&&!c(B,"name")&&f(B,"name",P),H=b(B),H.source||(H.source=x.join(typeof P=="string"?P:""))),E===u){M?E[P]=B:p(P,B);return}else F?!N&&E[P]&&(M=!0):delete E[P];M?E[P]=B:f(E,P,B)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||h(this)})},"6f53":function(r,i,o){var u=o("83ab"),f=o("df75"),c=o("fc6a"),p=o("d1e7").f,h=function(g){return function(m){for(var b=c(m),x=f(b),E=x.length,P=0,B=[],L;E>P;)L=x[P++],(!u||p.call(b,L))&&B.push(g?[L,b[L]]:b[L]);return B}};r.exports={entries:h(!0),values:h(!1)}},"7156":function(r,i,o){var u=o("861d"),f=o("d2bb");r.exports=function(c,p,h){var g,m;return f&&typeof(g=p.constructor)=="function"&&g!==h&&u(m=g.prototype)&&m!==h.prototype&&f(c,m),c}},"7418":function(r,i){i.f=Object.getOwnPropertySymbols},"746f":function(r,i,o){var u=o("428f"),f=o("5135"),c=o("e538"),p=o("9bf2").f;r.exports=function(h){var g=u.Symbol||(u.Symbol={});f(g,h)||p(g,h,{value:c.f(h)})}},"7839":function(r,i){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(r,i,o){var u=o("1d80");r.exports=function(f){return Object(u(f))}},"7c73":function(r,i,o){var u=o("825a"),f=o("37e8"),c=o("7839"),p=o("d012"),h=o("1be4"),g=o("cc12"),m=o("f772"),b=">",x="<",E="prototype",P="script",B=m("IE_PROTO"),L=function(){},F=function(J){return x+P+b+J+x+"/"+P+b},M=function(J){J.write(F("")),J.close();var K=J.parentWindow.Object;return J=null,K},N=function(){var J=g("iframe"),K="java"+P+":",U;return J.style.display="none",h.appendChild(J),J.src=String(K),U=J.contentWindow.document,U.open(),U.write(F("document.F=Object")),U.close(),U.F},H,Q=function(){try{H=document.domain&&new ActiveXObject("htmlfile")}catch{}Q=H?M(H):N();for(var J=c.length;J--;)delete Q[E][c[J]];return Q()};p[B]=!0,r.exports=Object.create||function(K,U){var q;return K!==null?(L[E]=u(K),q=new L,L[E]=null,q[B]=K):q=Q(),U===void 0?q:f(q,U)}},"7db0":function(r,i,o){var u=o("23e7"),f=o("b727").find,c=o("44d2"),p="find",h=!0;p in[]&&Array(1)[p](function(){h=!1}),u({target:"Array",proto:!0,forced:h},{find:function(m){return f(this,m,arguments.length>1?arguments[1]:void 0)}}),c(p)},"7dd0":function(r,i,o){var u=o("23e7"),f=o("9ed3"),c=o("e163"),p=o("d2bb"),h=o("d44e"),g=o("9112"),m=o("6eeb"),b=o("b622"),x=o("c430"),E=o("3f8c"),P=o("ae93"),B=P.IteratorPrototype,L=P.BUGGY_SAFARI_ITERATORS,F=b("iterator"),M="keys",N="values",H="entries",Q=function(){return this};r.exports=function(J,K,U,q,te,ee,_){f(U,K,q);var O=function(Ke){if(Ke===te&&Y)return Y;if(!L&&Ke in j)return j[Ke];switch(Ke){case M:return function(){return new U(this,Ke)};case N:return function(){return new U(this,Ke)};case H:return function(){return new U(this,Ke)}}return function(){return new U(this)}},k=K+" Iterator",w=!1,j=J.prototype,W=j[F]||j["@@iterator"]||te&&j[te],Y=!L&&W||O(te),ue=K=="Array"&&j.entries||W,he,je,We;if(ue&&(he=c(ue.call(new J)),B!==Object.prototype&&he.next&&(!x&&c(he)!==B&&(p?p(he,B):typeof he[F]!="function"&&g(he,F,Q)),h(he,k,!0,!0),x&&(E[k]=Q))),te==N&&W&&W.name!==N&&(w=!0,Y=function(){return W.call(this)}),(!x||_)&&j[F]!==Y&&g(j,F,Y),E[K]=Y,te)if(je={values:O(N),keys:ee?Y:O(M),entries:O(H)},_)for(We in je)(L||w||!(We in j))&&m(j,We,je[We]);else u({target:K,proto:!0,forced:L||w},je);return je}},"7f9a":function(r,i,o){var u=o("da84"),f=o("8925"),c=u.WeakMap;r.exports=typeof c=="function"&&/native code/.test(f(c))},"825a":function(r,i,o){var u=o("861d");r.exports=function(f){if(!u(f))throw TypeError(String(f)+" is not an object");return f}},"83ab":function(r,i,o){var u=o("d039");r.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"8418":function(r,i,o){var u=o("c04e"),f=o("9bf2"),c=o("5c6c");r.exports=function(p,h,g){var m=u(h);m in p?f.f(p,m,c(0,g)):p[m]=g}},"861d":function(r,i){r.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},"8875":function(r,i,o){var u,f,c;(function(p,h){f=[],u=h,c=typeof u=="function"?u.apply(i,f):u,c!==void 0&&(r.exports=c)})(typeof self!="undefined"?self:this,function(){function p(){var h=Object.getOwnPropertyDescriptor(document,"currentScript");if(!h&&"currentScript"in document&&document.currentScript||h&&h.get!==p&&document.currentScript)return document.currentScript;try{throw new Error}catch(H){var g=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,m=/@([^@]*):(\d+):(\d+)\s*$/ig,b=g.exec(H.stack)||m.exec(H.stack),x=b&&b[1]||!1,E=b&&b[2]||!1,P=document.location.href.replace(document.location.hash,""),B,L,F,M=document.getElementsByTagName("script");x===P&&(B=document.documentElement.outerHTML,L=new RegExp("(?:[^\\n]+?\\n){0,"+(E-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),F=B.replace(L,"$1").trim());for(var N=0;N<M.length;N++)if(M[N].readyState==="interactive"||M[N].src===x||x===P&&M[N].innerHTML&&M[N].innerHTML.trim()===F)return M[N];return null}}return p})},"8925":function(r,i,o){var u=o("c6cd"),f=Function.toString;typeof u.inspectSource!="function"&&(u.inspectSource=function(c){return f.call(c)}),r.exports=u.inspectSource},"8bbf":function(r,i){r.exports=hm.exports},"90e3":function(r,i){var o=0,u=Math.random();r.exports=function(f){return"Symbol("+String(f===void 0?"":f)+")_"+(++o+u).toString(36)}},"9112":function(r,i,o){var u=o("83ab"),f=o("9bf2"),c=o("5c6c");r.exports=u?function(p,h,g){return f.f(p,h,c(1,g))}:function(p,h,g){return p[h]=g,p}},"94ca":function(r,i,o){var u=o("d039"),f=/#|\.prototype\./,c=function(b,x){var E=h[p(b)];return E==m?!0:E==g?!1:typeof x=="function"?u(x):!!x},p=c.normalize=function(b){return String(b).replace(f,".").toLowerCase()},h=c.data={},g=c.NATIVE="N",m=c.POLYFILL="P";r.exports=c},"9bdd":function(r,i,o){var u=o("825a"),f=o("2a62");r.exports=function(c,p,h,g){try{return g?p(u(h)[0],h[1]):p(h)}catch(m){throw f(c),m}}},"9bf2":function(r,i,o){var u=o("83ab"),f=o("0cfb"),c=o("825a"),p=o("c04e"),h=Object.defineProperty;i.f=u?h:function(m,b,x){if(c(m),b=p(b,!0),c(x),f)try{return h(m,b,x)}catch{}if("get"in x||"set"in x)throw TypeError("Accessors not supported");return"value"in x&&(m[b]=x.value),m}},"9ed3":function(r,i,o){var u=o("ae93").IteratorPrototype,f=o("7c73"),c=o("5c6c"),p=o("d44e"),h=o("3f8c"),g=function(){return this};r.exports=function(m,b,x){var E=b+" Iterator";return m.prototype=f(u,{next:c(1,x)}),p(m,E,!1,!0),h[E]=g,m}},a434:function(r,i,o){var u=o("23e7"),f=o("23cb"),c=o("a691"),p=o("50c4"),h=o("7b0b"),g=o("65f0"),m=o("8418"),b=o("1dde"),x=b("splice"),E=Math.max,P=Math.min,B=9007199254740991,L="Maximum allowed length exceeded";u({target:"Array",proto:!0,forced:!x},{splice:function(M,N){var H=h(this),Q=p(H.length),J=f(M,Q),K=arguments.length,U,q,te,ee,_,O;if(K===0?U=q=0:K===1?(U=0,q=Q-J):(U=K-2,q=P(E(c(N),0),Q-J)),Q+U-q>B)throw TypeError(L);for(te=g(H,q),ee=0;ee<q;ee++)_=J+ee,_ in H&&m(te,ee,H[_]);if(te.length=q,U<q){for(ee=J;ee<Q-q;ee++)_=ee+q,O=ee+U,_ in H?H[O]=H[_]:delete H[O];for(ee=Q;ee>Q-q+U;ee--)delete H[ee-1]}else if(U>q)for(ee=Q-q;ee>J;ee--)_=ee+q-1,O=ee+U-1,_ in H?H[O]=H[_]:delete H[O];for(ee=0;ee<U;ee++)H[ee+J]=arguments[ee+2];return H.length=Q-q+U,te}})},a4d3:function(r,i,o){var u=o("23e7"),f=o("da84"),c=o("d066"),p=o("c430"),h=o("83ab"),g=o("4930"),m=o("fdbf"),b=o("d039"),x=o("5135"),E=o("e8b5"),P=o("861d"),B=o("825a"),L=o("7b0b"),F=o("fc6a"),M=o("c04e"),N=o("5c6c"),H=o("7c73"),Q=o("df75"),J=o("241c"),K=o("057f"),U=o("7418"),q=o("06cf"),te=o("9bf2"),ee=o("d1e7"),_=o("9112"),O=o("6eeb"),k=o("5692"),w=o("f772"),j=o("d012"),W=o("90e3"),Y=o("b622"),ue=o("e538"),he=o("746f"),je=o("d44e"),We=o("69f3"),Ke=o("b727").forEach,Xe=w("hidden"),ie="Symbol",se="prototype",le=Y("toPrimitive"),be=We.set,Ie=We.getterFor(ie),ke=Object[se],me=f.Symbol,Le=c("JSON","stringify"),z=q.f,$=te.f,Z=K.f,oe=ee.f,ae=k("symbols"),ve=k("op-symbols"),Ce=k("string-to-symbol-registry"),xe=k("symbol-to-string-registry"),de=k("wks"),I=f.QObject,re=!I||!I[se]||!I[se].findChild,G=h&&b(function(){return H($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a!=7})?function(Ge,Oe,ge){var He=z(ke,Oe);He&&delete ke[Oe],$(Ge,Oe,ge),He&&Ge!==ke&&$(ke,Oe,He)}:$,we=function(Ge,Oe){var ge=ae[Ge]=H(me[se]);return be(ge,{type:ie,tag:Ge,description:Oe}),h||(ge.description=Oe),ge},Re=m?function(Ge){return typeof Ge=="symbol"}:function(Ge){return Object(Ge)instanceof me},Ve=function(Oe,ge,He){Oe===ke&&Ve(ve,ge,He),B(Oe);var et=M(ge,!0);return B(He),x(ae,et)?(He.enumerable?(x(Oe,Xe)&&Oe[Xe][et]&&(Oe[Xe][et]=!1),He=H(He,{enumerable:N(0,!1)})):(x(Oe,Xe)||$(Oe,Xe,N(1,{})),Oe[Xe][et]=!0),G(Oe,et,He)):$(Oe,et,He)},at=function(Oe,ge){B(Oe);var He=F(ge),et=Q(He).concat(Xt(He));return Ke(et,function(rt){(!h||Ue.call(He,rt))&&Ve(Oe,rt,He[rt])}),Oe},Je=function(Oe,ge){return ge===void 0?H(Oe):at(H(Oe),ge)},Ue=function(Oe){var ge=M(Oe,!0),He=oe.call(this,ge);return this===ke&&x(ae,ge)&&!x(ve,ge)?!1:He||!x(this,ge)||!x(ae,ge)||x(this,Xe)&&this[Xe][ge]?He:!0},xt=function(Oe,ge){var He=F(Oe),et=M(ge,!0);if(!(He===ke&&x(ae,et)&&!x(ve,et))){var rt=z(He,et);return rt&&x(ae,et)&&!(x(He,Xe)&&He[Xe][et])&&(rt.enumerable=!0),rt}},vt=function(Oe){var ge=Z(F(Oe)),He=[];return Ke(ge,function(et){!x(ae,et)&&!x(j,et)&&He.push(et)}),He},Xt=function(Oe){var ge=Oe===ke,He=Z(ge?ve:F(Oe)),et=[];return Ke(He,function(rt){x(ae,rt)&&(!ge||x(ke,rt))&&et.push(ae[rt])}),et};if(g||(me=function(){if(this instanceof me)throw TypeError("Symbol is not a constructor");var Oe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ge=W(Oe),He=function(et){this===ke&&He.call(ve,et),x(this,Xe)&&x(this[Xe],ge)&&(this[Xe][ge]=!1),G(this,ge,N(1,et))};return h&&re&&G(ke,ge,{configurable:!0,set:He}),we(ge,Oe)},O(me[se],"toString",function(){return Ie(this).tag}),O(me,"withoutSetter",function(Ge){return we(W(Ge),Ge)}),ee.f=Ue,te.f=Ve,q.f=xt,J.f=K.f=vt,U.f=Xt,ue.f=function(Ge){return we(Y(Ge),Ge)},h&&($(me[se],"description",{configurable:!0,get:function(){return Ie(this).description}}),p||O(ke,"propertyIsEnumerable",Ue,{unsafe:!0}))),u({global:!0,wrap:!0,forced:!g,sham:!g},{Symbol:me}),Ke(Q(de),function(Ge){he(Ge)}),u({target:ie,stat:!0,forced:!g},{for:function(Ge){var Oe=String(Ge);if(x(Ce,Oe))return Ce[Oe];var ge=me(Oe);return Ce[Oe]=ge,xe[ge]=Oe,ge},keyFor:function(Oe){if(!Re(Oe))throw TypeError(Oe+" is not a symbol");if(x(xe,Oe))return xe[Oe]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),u({target:"Object",stat:!0,forced:!g,sham:!h},{create:Je,defineProperty:Ve,defineProperties:at,getOwnPropertyDescriptor:xt}),u({target:"Object",stat:!0,forced:!g},{getOwnPropertyNames:vt,getOwnPropertySymbols:Xt}),u({target:"Object",stat:!0,forced:b(function(){U.f(1)})},{getOwnPropertySymbols:function(Oe){return U.f(L(Oe))}}),Le){var De=!g||b(function(){var Ge=me();return Le([Ge])!="[null]"||Le({a:Ge})!="{}"||Le(Object(Ge))!="{}"});u({target:"JSON",stat:!0,forced:De},{stringify:function(Oe,ge,He){for(var et=[Oe],rt=1,fr;arguments.length>rt;)et.push(arguments[rt++]);if(fr=ge,!(!P(ge)&&Oe===void 0||Re(Oe)))return E(ge)||(ge=function(Lt,Rr){if(typeof fr=="function"&&(Rr=fr.call(this,Lt,Rr)),!Re(Rr))return Rr}),et[1]=ge,Le.apply(null,et)}})}me[se][le]||_(me[se],le,me[se].valueOf),je(me,ie),j[Xe]=!0},a630:function(r,i,o){var u=o("23e7"),f=o("4df4"),c=o("1c7e"),p=!c(function(h){Array.from(h)});u({target:"Array",stat:!0,forced:p},{from:f})},a640:function(r,i,o){var u=o("d039");r.exports=function(f,c){var p=[][f];return!!p&&u(function(){p.call(null,c||function(){throw 1},1)})}},a691:function(r,i){var o=Math.ceil,u=Math.floor;r.exports=function(f){return isNaN(f=+f)?0:(f>0?u:o)(f)}},a9e3:function(r,i,o){var u=o("83ab"),f=o("da84"),c=o("94ca"),p=o("6eeb"),h=o("5135"),g=o("c6b6"),m=o("7156"),b=o("c04e"),x=o("d039"),E=o("7c73"),P=o("241c").f,B=o("06cf").f,L=o("9bf2").f,F=o("58a8").trim,M="Number",N=f[M],H=N.prototype,Q=g(E(H))==M,J=function(ee){var _=b(ee,!1),O,k,w,j,W,Y,ue,he;if(typeof _=="string"&&_.length>2){if(_=F(_),O=_.charCodeAt(0),O===43||O===45){if(k=_.charCodeAt(2),k===88||k===120)return NaN}else if(O===48){switch(_.charCodeAt(1)){case 66:case 98:w=2,j=49;break;case 79:case 111:w=8,j=55;break;default:return+_}for(W=_.slice(2),Y=W.length,ue=0;ue<Y;ue++)if(he=W.charCodeAt(ue),he<48||he>j)return NaN;return parseInt(W,w)}}return+_};if(c(M,!N(" 0o1")||!N("0b1")||N("+0x1"))){for(var K=function(_){var O=arguments.length<1?0:_,k=this;return k instanceof K&&(Q?x(function(){H.valueOf.call(k)}):g(k)!=M)?m(new N(J(O)),k,K):J(O)},U=u?P(N):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),q=0,te;U.length>q;q++)h(N,te=U[q])&&!h(K,te)&&L(K,te,B(N,te));K.prototype=H,H.constructor=K,p(f,M,K)}},ab13:function(r,i,o){var u=o("b622"),f=u("match");r.exports=function(c){var p=/./;try{"/./"[c](p)}catch{try{return p[f]=!1,"/./"[c](p)}catch{}}return!1}},ae93:function(r,i,o){var u=o("d039"),f=o("e163"),c=o("9112"),p=o("5135"),h=o("b622"),g=o("c430"),m=h("iterator"),b=!1,x=function(){return this},E,P,B;[].keys&&(B=[].keys(),"next"in B?(P=f(f(B)),P!==Object.prototype&&(E=P)):b=!0);var L=E==null||u(function(){var F={};return E[m].call(F)!==F});L&&(E={}),(!g||L)&&!p(E,m)&&c(E,m,x),r.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(r,i,o){var u=o("00ee"),f=o("f5df");r.exports=u?{}.toString:function(){return"[object "+f(this)+"]"}},b0c0:function(r,i,o){var u=o("83ab"),f=o("9bf2").f,c=Function.prototype,p=c.toString,h=/^\s*function ([^ (]*)/,g="name";u&&!(g in c)&&f(c,g,{configurable:!0,get:function(){try{return p.call(this).match(h)[1]}catch{return""}}})},b622:function(r,i,o){var u=o("da84"),f=o("5692"),c=o("5135"),p=o("90e3"),h=o("4930"),g=o("fdbf"),m=f("wks"),b=u.Symbol,x=g?b:b&&b.withoutSetter||p;r.exports=function(E){return(!c(m,E)||!(h||typeof m[E]=="string"))&&(h&&c(b,E)?m[E]=b[E]:m[E]=x("Symbol."+E)),m[E]}},b64b:function(r,i,o){var u=o("23e7"),f=o("7b0b"),c=o("df75"),p=o("d039"),h=p(function(){c(1)});u({target:"Object",stat:!0,forced:h},{keys:function(m){return c(f(m))}})},b727:function(r,i,o){var u=o("0366"),f=o("44ad"),c=o("7b0b"),p=o("50c4"),h=o("65f0"),g=[].push,m=function(b){var x=b==1,E=b==2,P=b==3,B=b==4,L=b==6,F=b==7,M=b==5||L;return function(N,H,Q,J){for(var K=c(N),U=f(K),q=u(H,Q,3),te=p(U.length),ee=0,_=J||h,O=x?_(N,te):E||F?_(N,0):void 0,k,w;te>ee;ee++)if((M||ee in U)&&(k=U[ee],w=q(k,ee,K),b))if(x)O[ee]=w;else if(w)switch(b){case 3:return!0;case 5:return k;case 6:return ee;case 2:g.call(O,k)}else switch(b){case 4:return!1;case 7:g.call(O,k)}return L?-1:P||B?B:O}};r.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6),filterOut:m(7)}},c04e:function(r,i,o){var u=o("861d");r.exports=function(f,c){if(!u(f))return f;var p,h;if(c&&typeof(p=f.toString)=="function"&&!u(h=p.call(f))||typeof(p=f.valueOf)=="function"&&!u(h=p.call(f))||!c&&typeof(p=f.toString)=="function"&&!u(h=p.call(f)))return h;throw TypeError("Can't convert object to primitive value")}},c14f:function(r,i,o){o("ce77")},c430:function(r,i){r.exports=!1},c6b6:function(r,i){var o={}.toString;r.exports=function(u){return o.call(u).slice(8,-1)}},c6cd:function(r,i,o){var u=o("da84"),f=o("ce4e"),c="__core-js_shared__",p=u[c]||f(c,{});r.exports=p},c740:function(r,i,o){var u=o("23e7"),f=o("b727").findIndex,c=o("44d2"),p="findIndex",h=!0;p in[]&&Array(1)[p](function(){h=!1}),u({target:"Array",proto:!0,forced:h},{findIndex:function(m){return f(this,m,arguments.length>1?arguments[1]:void 0)}}),c(p)},c8ba:function(r,i){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}r.exports=o},ca84:function(r,i,o){var u=o("5135"),f=o("fc6a"),c=o("4d64").indexOf,p=o("d012");r.exports=function(h,g){var m=f(h),b=0,x=[],E;for(E in m)!u(p,E)&&u(m,E)&&x.push(E);for(;g.length>b;)u(m,E=g[b++])&&(~c(x,E)||x.push(E));return x}},caad:function(r,i,o){var u=o("23e7"),f=o("4d64").includes,c=o("44d2");u({target:"Array",proto:!0},{includes:function(h){return f(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(r,i,o){var u=o("da84"),f=o("861d"),c=u.document,p=f(c)&&f(c.createElement);r.exports=function(h){return p?c.createElement(h):{}}},ce4e:function(r,i,o){var u=o("da84"),f=o("9112");r.exports=function(c,p){try{f(u,c,p)}catch{u[c]=p}return p}},ce77:function(r,i,o){},d012:function(r,i){r.exports={}},d039:function(r,i){r.exports=function(o){try{return!!o()}catch{return!0}}},d066:function(r,i,o){var u=o("428f"),f=o("da84"),c=function(p){return typeof p=="function"?p:void 0};r.exports=function(p,h){return arguments.length<2?c(u[p])||c(f[p]):u[p]&&u[p][h]||f[p]&&f[p][h]}},d1e7:function(r,i,o){var u={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,c=f&&!u.call({1:2},1);i.f=c?function(h){var g=f(this,h);return!!g&&g.enumerable}:u},d28b:function(r,i,o){var u=o("746f");u("iterator")},d2bb:function(r,i,o){var u=o("825a"),f=o("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,p={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(p,[]),c=p instanceof Array}catch{}return function(m,b){return u(m),f(b),c?h.call(m,b):m.__proto__=b,m}}():void 0)},d3b7:function(r,i,o){var u=o("00ee"),f=o("6eeb"),c=o("b041");u||f(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(r,i,o){var u=o("9bf2").f,f=o("5135"),c=o("b622"),p=c("toStringTag");r.exports=function(h,g,m){h&&!f(h=m?h:h.prototype,p)&&u(h,p,{configurable:!0,value:g})}},d81d:function(r,i,o){var u=o("23e7"),f=o("b727").map,c=o("1dde"),p=c("map");u({target:"Array",proto:!0,forced:!p},{map:function(g){return f(this,g,arguments.length>1?arguments[1]:void 0)}})},da84:function(r,i,o){(function(u){var f=function(c){return c&&c.Math==Math&&c};r.exports=f(typeof globalThis=="object"&&globalThis)||f(typeof window=="object"&&window)||f(typeof self=="object"&&self)||f(typeof u=="object"&&u)||function(){return this}()||Function("return this")()}).call(this,o("c8ba"))},dbb4:function(r,i,o){var u=o("23e7"),f=o("83ab"),c=o("56ef"),p=o("fc6a"),h=o("06cf"),g=o("8418");u({target:"Object",stat:!0,sham:!f},{getOwnPropertyDescriptors:function(b){for(var x=p(b),E=h.f,P=c(x),B={},L=0,F,M;P.length>L;)M=E(x,F=P[L++]),M!==void 0&&g(B,F,M);return B}})},ddb0:function(r,i,o){var u=o("da84"),f=o("fdbc"),c=o("e260"),p=o("9112"),h=o("b622"),g=h("iterator"),m=h("toStringTag"),b=c.values;for(var x in f){var E=u[x],P=E&&E.prototype;if(P){if(P[g]!==b)try{p(P,g,b)}catch{P[g]=b}if(P[m]||p(P,m,x),f[x]){for(var B in c)if(P[B]!==c[B])try{p(P,B,c[B])}catch{P[B]=c[B]}}}}},df75:function(r,i,o){var u=o("ca84"),f=o("7839");r.exports=Object.keys||function(p){return u(p,f)}},e01a:function(r,i,o){var u=o("23e7"),f=o("83ab"),c=o("da84"),p=o("5135"),h=o("861d"),g=o("9bf2").f,m=o("e893"),b=c.Symbol;if(f&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var x={},E=function(){var N=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),H=this instanceof E?new b(N):N===void 0?b():b(N);return N===""&&(x[H]=!0),H};m(E,b);var P=E.prototype=b.prototype;P.constructor=E;var B=P.toString,L=String(b("test"))=="Symbol(test)",F=/^Symbol\((.*)\)[^)]+$/;g(P,"description",{configurable:!0,get:function(){var N=h(this)?this.valueOf():this,H=B.call(N);if(p(x,N))return"";var Q=L?H.slice(7,-1):H.replace(F,"$1");return Q===""?void 0:Q}}),u({global:!0,forced:!0},{Symbol:E})}},e163:function(r,i,o){var u=o("5135"),f=o("7b0b"),c=o("f772"),p=o("e177"),h=c("IE_PROTO"),g=Object.prototype;r.exports=p?Object.getPrototypeOf:function(m){return m=f(m),u(m,h)?m[h]:typeof m.constructor=="function"&&m instanceof m.constructor?m.constructor.prototype:m instanceof Object?g:null}},e177:function(r,i,o){var u=o("d039");r.exports=!u(function(){function f(){}return f.prototype.constructor=null,Object.getPrototypeOf(new f)!==f.prototype})},e260:function(r,i,o){var u=o("fc6a"),f=o("44d2"),c=o("3f8c"),p=o("69f3"),h=o("7dd0"),g="Array Iterator",m=p.set,b=p.getterFor(g);r.exports=h(Array,"Array",function(x,E){m(this,{type:g,target:u(x),index:0,kind:E})},function(){var x=b(this),E=x.target,P=x.kind,B=x.index++;return!E||B>=E.length?(x.target=void 0,{value:void 0,done:!0}):P=="keys"?{value:B,done:!1}:P=="values"?{value:E[B],done:!1}:{value:[B,E[B]],done:!1}},"values"),c.Arguments=c.Array,f("keys"),f("values"),f("entries")},e439:function(r,i,o){var u=o("23e7"),f=o("d039"),c=o("fc6a"),p=o("06cf").f,h=o("83ab"),g=f(function(){p(1)}),m=!h||g;u({target:"Object",stat:!0,forced:m,sham:!h},{getOwnPropertyDescriptor:function(x,E){return p(c(x),E)}})},e538:function(r,i,o){var u=o("b622");i.f=u},e893:function(r,i,o){var u=o("5135"),f=o("56ef"),c=o("06cf"),p=o("9bf2");r.exports=function(h,g){for(var m=f(g),b=p.f,x=c.f,E=0;E<m.length;E++){var P=m[E];u(h,P)||b(h,P,x(g,P))}}},e8b5:function(r,i,o){var u=o("c6b6");r.exports=Array.isArray||function(c){return u(c)=="Array"}},e95a:function(r,i,o){var u=o("b622"),f=o("3f8c"),c=u("iterator"),p=Array.prototype;r.exports=function(h){return h!==void 0&&(f.Array===h||p[c]===h)}},f5df:function(r,i,o){var u=o("00ee"),f=o("c6b6"),c=o("b622"),p=c("toStringTag"),h=f(function(){return arguments}())=="Arguments",g=function(m,b){try{return m[b]}catch{}};r.exports=u?f:function(m){var b,x,E;return m===void 0?"Undefined":m===null?"Null":typeof(x=g(b=Object(m),p))=="string"?x:h?f(b):(E=f(b))=="Object"&&typeof b.callee=="function"?"Arguments":E}},f772:function(r,i,o){var u=o("5692"),f=o("90e3"),c=u("keys");r.exports=function(p){return c[p]||(c[p]=f(p))}},fae3:function(r,i,o){if(o.r(i),o.d(i,"Splitpanes",function(){return q}),o.d(i,"Pane",function(){return _}),typeof window!="undefined"){var u=window.document.currentScript;{var f=o("8875");u=f(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:f})}var c=u&&u.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(o.p=c[1])}o("b64b"),o("a4d3"),o("4de4"),o("e439"),o("159b"),o("dbb4");function p(O,k,w){return k in O?Object.defineProperty(O,k,{value:w,enumerable:!0,configurable:!0,writable:!0}):O[k]=w,O}function h(O,k){var w=Object.keys(O);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(O);k&&(j=j.filter(function(W){return Object.getOwnPropertyDescriptor(O,W).enumerable})),w.push.apply(w,j)}return w}function g(O){for(var k=1;k<arguments.length;k++){var w=arguments[k]!=null?arguments[k]:{};k%2?h(Object(w),!0).forEach(function(j){p(O,j,w[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(w)):h(Object(w)).forEach(function(j){Object.defineProperty(O,j,Object.getOwnPropertyDescriptor(w,j))})}return O}function m(O){if(Array.isArray(O))return O}o("e01a"),o("d3b7"),o("d28b"),o("e260"),o("3ca3"),o("ddb0");function b(O,k){var w=O==null?null:typeof Symbol!="undefined"&&O[Symbol.iterator]||O["@@iterator"];if(w!=null){var j=[],W=!0,Y=!1,ue,he;try{for(w=w.call(O);!(W=(ue=w.next()).done)&&(j.push(ue.value),!(k&&j.length===k));W=!0);}catch(je){Y=!0,he=je}finally{try{!W&&w.return!=null&&w.return()}finally{if(Y)throw he}}return j}}o("fb6a"),o("b0c0"),o("a630");function x(O,k){(k==null||k>O.length)&&(k=O.length);for(var w=0,j=new Array(k);w<k;w++)j[w]=O[w];return j}function E(O,k){if(!!O){if(typeof O=="string")return x(O,k);var w=Object.prototype.toString.call(O).slice(8,-1);if(w==="Object"&&O.constructor&&(w=O.constructor.name),w==="Map"||w==="Set")return Array.from(O);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return x(O,k)}}function P(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
36
+ `),h()),m||u("return "),t.codegenNode?qt(t.codegenNode,i):u("null"),x&&(p(),u("}")),p(),u("}"),{ast:t,code:i.code,preamble:"",map:i.map?i.map.toJSON():void 0}}function sT(t,r){const{ssr:i,prefixIdentifiers:o,push:u,newline:f,runtimeModuleName:c,runtimeGlobalName:p,ssrRuntimeModuleName:h}=r,g=p,m=b=>`${Sn[b]}: _${Sn[b]}`;if(t.helpers.length>0&&(u(`const _Vue = ${g}
37
+ `),t.hoists.length)){const b=[za,Ha,ko,Ba,Ic].filter(x=>t.helpers.includes(x)).map(m).join(", ");u(`const { ${b} } = _Vue
38
+ `)}lT(t.hoists,r),f(),u("return ")}function Yc(t,r,{helper:i,push:o,newline:u,isTS:f}){const c=i(r==="filter"?Ka:r==="component"?Wa:ja);for(let p=0;p<t.length;p++){let h=t[p];const g=h.endsWith("__self");g&&(h=h.slice(0,-6)),o(`const ${Ro(h,r)} = ${c}(${JSON.stringify(h)}${g?", true":""})${f?"!":""}`),p<t.length-1&&u()}}function lT(t,r){if(!t.length)return;r.pure=!0;const{push:i,newline:o,helper:u,scopeId:f,mode:c}=r;o();for(let p=0;p<t.length;p++){const h=t[p];h&&(i(`const _hoisted_${p+1} = `),qt(h,r),o())}r.pure=!1}function Xc(t,r){const i=t.length>3||!1;r.push("["),i&&r.indent(),cl(t,r,i),i&&r.deindent(),r.push("]")}function cl(t,r,i=!1,o=!0){const{push:u,newline:f}=r;for(let c=0;c<t.length;c++){const p=t[c];Ze(p)?u(p):De(p)?Xc(p,r):qt(p,r),c<t.length-1&&(i?(o&&u(","),f()):o&&u(", "))}}function qt(t,r){if(Ze(t)){r.push(t);return}if(di(t)){r.push(r.helper(t));return}switch(t.type){case 1:case 9:case 11:qt(t.codegenNode,r);break;case 2:aT(t,r);break;case 4:Vm(t,r);break;case 5:uT(t,r);break;case 12:qt(t.codegenNode,r);break;case 8:Gm(t,r);break;case 3:cT(t,r);break;case 13:dT(t,r);break;case 14:pT(t,r);break;case 15:gT(t,r);break;case 17:vT(t,r);break;case 18:mT(t,r);break;case 19:yT(t,r);break;case 20:bT(t,r);break;case 21:cl(t.body,r,!0,!1);break}}function aT(t,r){r.push(JSON.stringify(t.content),t)}function Vm(t,r){const{content:i,isStatic:o}=t;r.push(o?JSON.stringify(i):i,t)}function uT(t,r){const{push:i,helper:o,pure:u}=r;u&&i(nu),i(`${o(qs)}(`),qt(t.content,r),i(")")}function Gm(t,r){for(let i=0;i<t.children.length;i++){const o=t.children[i];Ze(o)?r.push(o):qt(o,r)}}function fT(t,r){const{push:i}=r;if(t.type===8)i("["),Gm(t,r),i("]");else if(t.isStatic){const o=tl(t.content)?t.content:JSON.stringify(t.content);i(o,t)}else i(`[${t.content}]`,t)}function cT(t,r){const{push:i,helper:o,pure:u}=r;u&&i(nu),i(`${o(ko)}(${JSON.stringify(t.content)})`,t)}function dT(t,r){const{push:i,helper:o,pure:u}=r,{tag:f,props:c,children:p,patchFlag:h,dynamicProps:g,directives:m,isBlock:b,disableTracking:x,isComponent:E}=t;m&&i(o(Ua)+"("),b&&i(`(${o(Zn)}(${x?"true":""}), `),u&&i(nu);const P=b?Ni(r.inSSR,E):Li(r.inSSR,E);i(o(P)+"(",t),cl(hT([f,c,p,h,g]),r),i(")"),b&&i(")"),m&&(i(", "),qt(m,r),i(")"))}function hT(t){let r=t.length;for(;r--&&t[r]==null;);return t.slice(0,r+1).map(i=>i||"null")}function pT(t,r){const{push:i,helper:o,pure:u}=r,f=Ze(t.callee)?t.callee:o(t.callee);u&&i(nu),i(f+"(",t),cl(t.arguments,r),i(")")}function gT(t,r){const{push:i,indent:o,deindent:u,newline:f}=r,{properties:c}=t;if(!c.length){i("{}",t);return}const p=c.length>1||!1;i(p?"{":"{ "),p&&o();for(let h=0;h<c.length;h++){const{key:g,value:m}=c[h];fT(g,r),i(": "),qt(m,r),h<c.length-1&&(i(","),f())}p&&u(),i(p?"}":" }")}function vT(t,r){Xc(t.elements,r)}function mT(t,r){const{push:i,indent:o,deindent:u}=r,{params:f,returns:c,body:p,newline:h,isSlot:g}=t;g&&i(`_${Sn[Za]}(`),i("(",t),De(f)?cl(f,r):f&&qt(f,r),i(") => "),(h||p)&&(i("{"),o()),c?(h&&i("return "),De(c)?Xc(c,r):qt(c,r)):p&&qt(p,r),(h||p)&&(u(),i("}")),g&&(t.isNonScopedSlot&&i(", undefined, true"),i(")"))}function yT(t,r){const{test:i,consequent:o,alternate:u,newline:f}=t,{push:c,indent:p,deindent:h,newline:g}=r;if(i.type===4){const b=!tl(i.content);b&&c("("),Vm(i,r),b&&c(")")}else c("("),qt(i,r),c(")");f&&p(),r.indentLevel++,f||c(" "),c("? "),qt(o,r),r.indentLevel--,f&&g(),f||c(" "),c(": ");const m=u.type===19;m||r.indentLevel++,qt(u,r),m||r.indentLevel--,f&&h(!0)}function bT(t,r){const{push:i,helper:o,indent:u,deindent:f,newline:c}=r;i(`_cache[${t.index}] || (`),t.isVNode&&(u(),i(`${o(el)}(-1),`),c()),i(`_cache[${t.index}] = `),qt(t.value,r),t.isVNode&&(i(","),c(),i(`${o(el)}(1),`),c(),i(`_cache[${t.index}]`),f()),i(")")}function ST(t,r,i=!1,o=[],u=Object.create(null)){}function xT(t,r,i){return!1}function wT(t,r){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let i=r.length;for(;i--;){const o=r[i];if(o.type==="AssignmentExpression")return!0;if(o.type!=="ObjectProperty"&&!o.type.endsWith("Pattern"))break}}return!1}function CT(t,r){for(const i of t.params)for(const o of Qn(i))r(o)}function TT(t,r){for(const i of t.body)if(i.type==="VariableDeclaration"){if(i.declare)continue;for(const o of i.declarations)for(const u of Qn(o.id))r(u)}else if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){if(i.declare||!i.id)continue;r(i.id)}}function Qn(t,r=[]){switch(t.type){case"Identifier":r.push(t);break;case"MemberExpression":let i=t;for(;i.type==="MemberExpression";)i=i.object;r.push(i);break;case"ObjectPattern":for(const o of t.properties)o.type==="RestElement"?Qn(o.argument,r):Qn(o.value,r);break;case"ArrayPattern":t.elements.forEach(o=>{o&&Qn(o,r)});break;case"RestElement":Qn(t.argument,r);break;case"AssignmentPattern":Qn(t.left,r);break}return r}const ET=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),Ym=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,OT=(t,r)=>Ym(r)&&r.key===t;new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const kT=(t,r)=>{if(t.type===5)t.content=iu(t.content,r);else if(t.type===1)for(let i=0;i<t.props.length;i++){const o=t.props[i];if(o.type===7&&o.name!=="for"){const u=o.exp,f=o.arg;u&&u.type===4&&!(o.name==="on"&&f)&&(o.exp=iu(u,r,o.name==="slot")),f&&f.type===4&&!f.isStatic&&(o.arg=iu(f,r))}}};function iu(t,r,i=!1,o=!1,u=Object.create(r.identifiers)){return t}const PT=Gc(/^(if|else|else-if)$/,(t,r,i)=>Xm(t,r,i,(o,u,f)=>{const c=i.parent.children;let p=c.indexOf(o),h=0;for(;p-->=0;){const g=c[p];g&&g.type===9&&(h+=g.branches.length)}return()=>{if(f)o.codegenNode=Zm(u,h,i);else{const g=MT(o.codegenNode);g.alternate=Zm(u,h+o.branches.length-1,i)}}}));function Xm(t,r,i,o){if(r.name!=="else"&&(!r.exp||!r.exp.content.trim())){const u=r.exp?r.exp.loc:t.loc;i.onError(yt(28,r.loc)),r.exp=qe("true",!1,u)}if(r.name==="if"){const u=Jm(t,r),f={type:9,loc:t.loc,branches:[u]};if(i.replaceNode(f),o)return o(f,u,!0)}else{const u=i.parent.children;let f=u.indexOf(t);for(;f-->=-1;){const c=u[f];if(c&&c.type===2&&!c.content.trim().length){i.removeNode(c);continue}if(c&&c.type===9){r.name==="else-if"&&c.branches[c.branches.length-1].condition===void 0&&i.onError(yt(30,t.loc)),i.removeNode();const p=Jm(t,r);c.branches.push(p);const h=o&&o(c,p,!1);fl(p,i),h&&h(),i.currentNode=null}else i.onError(yt(30,t.loc));break}}}function Jm(t,r){return{type:10,loc:t.loc,condition:r.name==="else"?void 0:r.exp,children:t.tagType===3&&!vr(t,"for")?t.children:[t],userKey:No(t,"key")}}function Zm(t,r,i){return t.condition?qa(t.condition,Qm(t,r,i),kt(i.helper(ko),['""',"true"])):Qm(t,r,i)}function Qm(t,r,i){const{helper:o}=i,u=Ot("key",qe(`${r}`,!1,Ht,2)),{children:f}=t,c=f[0];if(f.length!==1||c.type!==1)if(f.length===1&&c.type===11){const h=c.codegenNode;return sl(h,u,i),h}else{let h=64;return nf[64],Ao(i,o(Eo),Pr([u]),f,h+"",void 0,void 0,!0,!1,!1,t.loc)}else{const h=c.codegenNode,g=Lm(h);return g.type===13&&eu(g,i),sl(g,u,i),h}}function MT(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const AT=Gc("for",(t,r,i)=>{const{helper:o,removeHelper:u}=i;return qm(t,r,i,f=>{const c=kt(o($a),[f.source]),p=vr(t,"memo"),h=No(t,"key"),g=h&&(h.type===6?qe(h.value.content,!0):h.exp),m=h?Ot("key",g):null,b=f.source.type===4&&f.source.constType>0,x=b?64:h?128:256;return f.codegenNode=Ao(i,o(Eo),void 0,c,x+"",void 0,void 0,!0,!b,!1,t.loc),()=>{let E;const P=Io(t),{children:B}=f,L=B.length!==1||B[0].type!==1,F=ol(t)?t:P&&t.children.length===1&&ol(t.children[0])?t.children[0]:null;if(F?(E=F.codegenNode,P&&m&&sl(E,m,i)):L?E=Ao(i,o(Eo),m?Pr([m]):void 0,t.children,64+"",void 0,void 0,!0,void 0,!1):(E=B[0].codegenNode,P&&m&&sl(E,m,i),E.isBlock!==!b&&(E.isBlock?(u(Zn),u(Ni(i.inSSR,E.isComponent))):u(Li(i.inSSR,E.isComponent))),E.isBlock=!b,E.isBlock?(o(Zn),o(Ni(i.inSSR,E.isComponent))):o(Li(i.inSSR,E.isComponent))),p){const M=Mi(su(f.parseResult,[qe("_cached")]));M.body=km([jr(["const _memo = (",p.exp,")"]),jr(["if (_cached",...g?[" && _cached.key === ",g]:[],` && ${i.helperString(Fc)}(_cached, _memo)) return _cached`]),jr(["const _item = ",E]),qe("_item.memo = _memo"),qe("return _item")]),c.arguments.push(M,qe("_cache"),qe(String(i.cached++)))}else c.arguments.push(Mi(su(f.parseResult),E,!0))}})});function qm(t,r,i,o){if(!r.exp){i.onError(yt(31,r.loc));return}const u=Jc(r.exp);if(!u){i.onError(yt(32,r.loc));return}const{addIdentifiers:f,removeIdentifiers:c,scopes:p}=i,{source:h,value:g,key:m,index:b}=u,x={type:11,loc:r.loc,source:h,valueAlias:g,keyAlias:m,objectIndexAlias:b,parseResult:u,children:Io(t)?t.children:[t]};i.replaceNode(x),p.vFor++;const E=o&&o(x);return()=>{p.vFor--,E&&E()}}const LT=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,_m=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,NT=/^\(|\)$/g;function Jc(t,r){const i=t.loc,o=t.content,u=o.match(LT);if(!u)return;const[,f,c]=u,p={source:ou(i,c.trim(),o.indexOf(c,f.length)),value:void 0,key:void 0,index:void 0};let h=f.trim().replace(NT,"").trim();const g=f.indexOf(h),m=h.match(_m);if(m){h=h.replace(_m,"").trim();const b=m[1].trim();let x;if(b&&(x=o.indexOf(b,g+h.length),p.key=ou(i,b,x)),m[2]){const E=m[2].trim();E&&(p.index=ou(i,E,o.indexOf(E,p.key?x+b.length:g+h.length)))}}return h&&(p.value=ou(i,h,g)),p}function ou(t,r,i){return qe(r,!1,Bc(t,i,r.length))}function su({value:t,key:r,index:i},o=[]){return IT([t,r,i,...o])}function IT(t){let r=t.length;for(;r--&&!t[r];);return t.slice(0,r+1).map((i,o)=>i||qe("_".repeat(o+1),!1))}const ey=qe("undefined",!1),ty=(t,r)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const i=vr(t,"slot");if(i)return i.exp,r.scopes.vSlot++,()=>{r.scopes.vSlot--}}},RT=(t,r)=>{let i;if(Io(t)&&t.props.some(Wc)&&(i=vr(t,"for"))){const o=i.parseResult=Jc(i.exp);if(o){const{value:u,key:f,index:c}=o,{addIdentifiers:p,removeIdentifiers:h}=r;return u&&p(u),f&&p(f),c&&p(c),()=>{u&&h(u),f&&h(f),c&&h(c)}}}},DT=(t,r,i)=>Mi(t,r,!1,!0,r.length?r[0].loc:i);function ry(t,r,i=DT){r.helper(Za);const{children:o,loc:u}=t,f=[],c=[];let p=r.scopes.vSlot>0||r.scopes.vFor>0;const h=vr(t,"slot",!0);if(h){const{arg:B,exp:L}=h;B&&!ur(B)&&(p=!0),f.push(Ot(B||qe("default",!0),i(L,o,u)))}let g=!1,m=!1;const b=[],x=new Set;for(let B=0;B<o.length;B++){const L=o[B];let F;if(!Io(L)||!(F=vr(L,"slot",!0))){L.type!==3&&b.push(L);continue}if(h){r.onError(yt(37,F.loc));break}g=!0;const{children:M,loc:N}=L,{arg:H=qe("default",!0),exp:Q,loc:J}=F;let K;ur(H)?K=H?H.content:"default":p=!0;const U=i(Q,M,N);let q,te,ee;if(q=vr(L,"if"))p=!0,c.push(qa(q.exp,lu(H,U),ey));else if(te=vr(L,/^else(-if)?$/,!0)){let _=B,O;for(;_--&&(O=o[_],O.type===3););if(O&&Io(O)&&vr(O,"if")){o.splice(B,1),B--;let k=c[c.length-1];for(;k.alternate.type===19;)k=k.alternate;k.alternate=te.exp?qa(te.exp,lu(H,U),ey):lu(H,U)}else r.onError(yt(30,te.loc))}else if(ee=vr(L,"for")){p=!0;const _=ee.parseResult||Jc(ee.exp);_?c.push(kt(r.helper($a),[_.source,Mi(su(_),lu(H,U),!0)])):r.onError(yt(32,ee.loc))}else{if(K){if(x.has(K)){r.onError(yt(38,J));continue}x.add(K),K==="default"&&(m=!0)}f.push(Ot(H,U))}}if(!h){const B=(L,F)=>{const M=i(L,F,u);return r.compatConfig&&(M.isNonScopedSlot=!0),Ot("default",M)};g?b.length&&b.some(L=>ny(L))&&(m?r.onError(yt(39,b[0].loc)):f.push(B(void 0,b))):f.push(B(void 0,o))}const E=p?2:au(t.children)?3:1;let P=Pr(f.concat(Ot("_",qe(E+"",!1))),u);return c.length&&(P=kt(r.helper(Dc),[P,Lo(c)])),{slots:P,hasDynamicSlots:p}}function lu(t,r){return Pr([Ot("name",t),Ot("fn",r)])}function au(t){for(let r=0;r<t.length;r++){const i=t[r];switch(i.type){case 1:if(i.tagType===2||au(i.children))return!0;break;case 9:if(au(i.branches))return!0;break;case 10:case 11:if(au(i.children))return!0;break}}return!1}function ny(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():ny(t.content)}const iy=new WeakMap,oy=(t,r)=>function(){if(t=r.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:o,props:u}=t,f=t.tagType===1;let c=f?sy(t,r):`"${o}"`;const p=pt(c)&&c.callee===Qs;let h,g,m,b=0,x,E,P,B=p||c===Oo||c===Fa||!f&&(o==="svg"||o==="foreignObject"||No(t,"key",!0));if(u.length>0){const L=Zc(t,r);h=L.props,b=L.patchFlag,E=L.dynamicPropNames;const F=L.directives;P=F&&F.length?Lo(F.map(M=>zT(M,r))):void 0}if(t.children.length>0)if(c===Zs&&(B=!0,b|=1024),f&&c!==Oo&&c!==Zs){const{slots:F,hasDynamicSlots:M}=ry(t,r);g=F,M&&(b|=1024)}else if(t.children.length===1&&c!==Oo){const F=t.children[0],M=F.type,N=M===5||M===8;N&&Ir(F,r)===0&&(b|=1),N||M===2?g=F:g=t.children}else g=t.children;b!==0&&(m=String(b),E&&E.length&&(x=HT(E))),t.codegenNode=Ao(r,c,h,g,m,x,P,!!B,!1,f,t.loc)};function sy(t,r,i=!1){let{tag:o}=t;const u=qc(o),f=No(t,"is");if(f)if(u||Ii("COMPILER_IS_ON_ELEMENT",r)){const h=f.type===6?f.value&&qe(f.value.content,!0):f.exp;if(h)return kt(r.helper(Qs),[h])}else f.type===6&&f.value.content.startsWith("vue:")&&(o=f.value.content.slice(4));const c=!u&&vr(t,"is");if(c&&c.exp)return kt(r.helper(Qs),[c.exp]);const p=zc(o)||r.isBuiltInComponent(o);return p?(i||r.helper(p),p):(r.helper(Wa),r.components.add(o),Ro(o,"component"))}function Zc(t,r,i=t.props,o=!1){const{tag:u,loc:f}=t,c=t.tagType===1;let p=[];const h=[],g=[];let m=0,b=!1,x=!1,E=!1,P=!1,B=!1,L=!1;const F=[],M=({key:H,value:Q})=>{if(ur(H)){const J=H.content,K=Nn(J);if(!c&&K&&J.toLowerCase()!=="onclick"&&J!=="onUpdate:modelValue"&&!Rn(J)&&(P=!0),K&&Rn(J)&&(L=!0),Q.type===20||(Q.type===4||Q.type===8)&&Ir(Q,r)>0)return;J==="ref"?b=!0:J==="class"?x=!0:J==="style"?E=!0:J!=="key"&&!F.includes(J)&&F.push(J),c&&(J==="class"||J==="style")&&!F.includes(J)&&F.push(J)}else B=!0};for(let H=0;H<i.length;H++){const Q=i[H];if(Q.type===6){const{loc:J,name:K,value:U}=Q;let q=qe(U?U.content:"",!0,U?U.loc:J);if(K==="ref"&&(b=!0),K==="is"&&(qc(u)||U&&U.content.startsWith("vue:")||Ii("COMPILER_IS_ON_ELEMENT",r)))continue;p.push(Ot(qe(K,!0,Bc(J,0,K.length)),q))}else{const{name:J,arg:K,exp:U,loc:q}=Q,te=J==="bind",ee=J==="on";if(J==="slot"){c||r.onError(yt(40,q));continue}if(J==="once"||J==="memo"||J==="is"||te&&il(K,"is")&&(qc(u)||Ii("COMPILER_IS_ON_ELEMENT",r))||ee&&o)continue;if(!K&&(te||ee)){if(B=!0,U)if(p.length&&(h.push(Pr(Qc(p),f)),p=[]),te){if(Ii("COMPILER_V_BIND_OBJECT_ORDER",r)){h.unshift(U);continue}h.push(U)}else h.push({type:14,loc:q,callee:r.helper(Ya),arguments:[U]});else r.onError(yt(te?34:35,q));continue}const _=r.directiveTransforms[J];if(_){const{props:O,needRuntime:k}=_(Q,t,r);!o&&O.forEach(M),p.push(...O),k&&(g.push(Q),di(k)&&iy.set(Q,k))}else g.push(Q)}Q.type===6&&Q.name==="ref"&&r.scopes.vFor>0&&Ri("COMPILER_V_FOR_REF",r,Q.loc)&&p.push(Ot(qe("refInFor",!0),qe("true",!1)))}let N;if(h.length?(p.length&&h.push(Pr(Qc(p),f)),h.length>1?N=kt(r.helper(_s),h,f):N=h[0]):p.length&&(N=Pr(Qc(p),f)),B?m|=16:(x&&!c&&(m|=2),E&&!c&&(m|=4),F.length&&(m|=8),P&&(m|=32)),(m===0||m===32)&&(b||L||g.length>0)&&(m|=512),!r.inSSR&&N)switch(N.type){case 15:let H=-1,Q=-1,J=!1;for(let q=0;q<N.properties.length;q++){const te=N.properties[q].key;ur(te)?te.content==="class"?H=q:te.content==="style"&&(Q=q):te.isHandlerKey||(J=!0)}const K=N.properties[H],U=N.properties[Q];J?N=kt(r.helper(Po),[N]):(K&&!ur(K.value)&&(K.value=kt(r.helper(Va),[K.value])),U&&!ur(U.value)&&(E||U.value.type===17)&&(U.value=kt(r.helper(Ga),[U.value])));break;case 14:break;default:N=kt(r.helper(Po),[kt(r.helper(Mo),[N])]);break}return{props:N,directives:g,patchFlag:m,dynamicPropNames:F}}function Qc(t){const r=new Map,i=[];for(let o=0;o<t.length;o++){const u=t[o];if(u.key.type===8||!u.key.isStatic){i.push(u);continue}const f=u.key.content,c=r.get(f);c?(f==="style"||f==="class"||Nn(f))&&FT(c,u):(r.set(f,u),i.push(u))}return i}function FT(t,r){t.value.type===17?t.value.elements.push(r.value):t.value=Lo([t.value,r.value],t.loc)}function zT(t,r){const i=[],o=iy.get(t);o?i.push(r.helperString(o)):(r.helper(ja),r.directives.add(t.name),i.push(Ro(t.name,"directive")));const{loc:u}=t;if(t.exp&&i.push(t.exp),t.arg&&(t.exp||i.push("void 0"),i.push(t.arg)),Object.keys(t.modifiers).length){t.arg||(t.exp||i.push("void 0"),i.push("void 0"));const f=qe("true",!1,u);i.push(Pr(t.modifiers.map(c=>Ot(c,f)),u))}return Lo(i,t.loc)}function HT(t){let r="[";for(let i=0,o=t.length;i<o;i++)r+=JSON.stringify(t[i]),i<o-1&&(r+=", ");return r+"]"}function qc(t){return t==="component"||t==="Component"}const BT=t=>{const r=Object.create(null);return i=>r[i]||(r[i]=t(i))},WT=/-(\w)/g,ly=BT(t=>t.replace(WT,(r,i)=>i?i.toUpperCase():"")),jT=(t,r)=>{if(ol(t)){const{children:i,loc:o}=t,{slotName:u,slotProps:f}=ay(t,r),c=[r.prefixIdentifiers?"_ctx.$slots":"$slots",u,"{}","undefined","true"];let p=2;f&&(c[2]=f,p=3),i.length&&(c[3]=Mi([],i,!1,!1,o),p=4),r.scopeId&&!r.slotted&&(p=5),c.splice(p),t.codegenNode=kt(r.helper(Rc),c,o)}};function ay(t,r){let i='"default"',o;const u=[];for(let f=0;f<t.props.length;f++){const c=t.props[f];c.type===6?c.value&&(c.name==="name"?i=JSON.stringify(c.value.content):(c.name=ly(c.name),u.push(c))):c.name==="bind"&&il(c.arg,"name")?c.exp&&(i=c.exp):(c.name==="bind"&&c.arg&&ur(c.arg)&&(c.arg.content=ly(c.arg.content)),u.push(c))}if(u.length>0){const{props:f,directives:c}=Zc(t,r,u);o=f,c.length&&r.onError(yt(36,c[0].loc))}return{slotName:i,slotProps:o}}const KT=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,_c=(t,r,i,o)=>{const{loc:u,modifiers:f,arg:c}=t;!t.exp&&!f.length&&i.onError(yt(35,u));let p;if(c.type===4)if(c.isStatic){const b=c.content;p=qe(hi(Gt(b)),!0,c.loc)}else p=jr([`${i.helperString(Ja)}(`,c,")"]);else p=c,p.children.unshift(`${i.helperString(Ja)}(`),p.children.push(")");let h=t.exp;h&&!h.content.trim()&&(h=void 0);let g=i.cacheHandlers&&!h&&!i.inVOnce;if(h){const b=Hc(h.content),x=!(b||KT.test(h.content)),E=h.content.includes(";");(x||g&&b)&&(h=jr([`${x?"$event":"(...args)"} => ${E?"{":"("}`,h,E?"}":")"]))}let m={props:[Ot(p,h||qe("() => {}",!1,u))]};return o&&(m=o(m)),g&&(m.props[0].value=i.cache(m.props[0].value)),m.props.forEach(b=>b.key.isHandlerKey=!0),m},uy=(t,r,i)=>{const{exp:o,modifiers:u,loc:f}=t,c=t.arg;return c.type!==4?(c.children.unshift("("),c.children.push(') || ""')):c.isStatic||(c.content=`${c.content} || ""`),u.includes("camel")&&(c.type===4?c.isStatic?c.content=Gt(c.content):c.content=`${i.helperString(Xa)}(${c.content})`:(c.children.unshift(`${i.helperString(Xa)}(`),c.children.push(")"))),i.inSSR||(u.includes("prop")&&fy(c,"."),u.includes("attr")&&fy(c,"^")),!o||o.type===4&&!o.content.trim()?(i.onError(yt(34,f)),{props:[Ot(c,qe("",!0,f))]}):{props:[Ot(c,o)]}},fy=(t,r)=>{t.type===4?t.isStatic?t.content=r+t.content:t.content=`\`${r}\${${t.content}}\``:(t.children.unshift(`'${r}' + (`),t.children.push(")"))},UT=(t,r)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const i=t.children;let o,u=!1;for(let f=0;f<i.length;f++){const c=i[f];if(_a(c)){u=!0;for(let p=f+1;p<i.length;p++){const h=i[p];if(_a(h))o||(o=i[f]={type:8,loc:c.loc,children:[c]}),o.children.push(" + ",h),i.splice(p,1),p--;else{o=void 0;break}}}}if(!(!u||i.length===1&&(t.type===0||t.type===1&&t.tagType===0&&!t.props.find(f=>f.type===7&&!r.directiveTransforms[f.name])&&t.tag!=="template")))for(let f=0;f<i.length;f++){const c=i[f];if(_a(c)||c.type===8){const p=[];(c.type!==2||c.content!==" ")&&p.push(c),!r.ssr&&Ir(c,r)===0&&p.push(1+""),i[f]={type:12,content:c,loc:c.loc,codegenNode:kt(r.helper(Ba),p)}}}}},cy=new WeakSet,$T=(t,r)=>{if(t.type===1&&vr(t,"once",!0))return cy.has(t)||r.inVOnce?void 0:(cy.add(t),r.inVOnce=!0,r.helper(el),()=>{r.inVOnce=!1;const i=r.currentNode;i.codegenNode&&(i.codegenNode=r.cache(i.codegenNode,!0))})},ed=(t,r,i)=>{const{exp:o,arg:u}=t;if(!o)return i.onError(yt(41,t.loc)),td();const f=o.loc.source,c=o.type===4?o.content:f;i.bindingMetadata[f];const p=!1;if(!c.trim()||!Hc(c)&&!p)return i.onError(yt(42,o.loc)),td();const h=u||qe("modelValue",!0),g=u?ur(u)?`onUpdate:${u.content}`:jr(['"onUpdate:" + ',u]):"onUpdate:modelValue";let m;const b=i.isTS?"($event: any)":"$event";m=jr([`${b} => ((`,o,") = $event)"]);const x=[Ot(h,t.exp),Ot(g,m)];if(t.modifiers.length&&r.tagType===1){const E=t.modifiers.map(B=>(tl(B)?B:JSON.stringify(B))+": true").join(", "),P=u?ur(u)?`${u.content}Modifiers`:jr([u,' + "Modifiers"']):"modelModifiers";x.push(Ot(P,qe(`{ ${E} }`,!1,t.loc,2)))}return td(x)};function td(t=[]){return{props:t}}const VT=/[\w).+\-_$\]]/,GT=(t,r)=>{!Ii("COMPILER_FILTER",r)||(t.type===5&&uu(t.content,r),t.type===1&&t.props.forEach(i=>{i.type===7&&i.name!=="for"&&i.exp&&uu(i.exp,r)}))};function uu(t,r){if(t.type===4)dy(t,r);else for(let i=0;i<t.children.length;i++){const o=t.children[i];typeof o=="object"&&(o.type===4?dy(o,r):o.type===8?uu(t,r):o.type===5&&uu(o.content,r))}}function dy(t,r){const i=t.content;let o=!1,u=!1,f=!1,c=!1,p=0,h=0,g=0,m=0,b,x,E,P,B=[];for(E=0;E<i.length;E++)if(x=b,b=i.charCodeAt(E),o)b===39&&x!==92&&(o=!1);else if(u)b===34&&x!==92&&(u=!1);else if(f)b===96&&x!==92&&(f=!1);else if(c)b===47&&x!==92&&(c=!1);else if(b===124&&i.charCodeAt(E+1)!==124&&i.charCodeAt(E-1)!==124&&!p&&!h&&!g)P===void 0?(m=E+1,P=i.slice(0,E).trim()):L();else{switch(b){case 34:u=!0;break;case 39:o=!0;break;case 96:f=!0;break;case 40:g++;break;case 41:g--;break;case 91:h++;break;case 93:h--;break;case 123:p++;break;case 125:p--;break}if(b===47){let F=E-1,M;for(;F>=0&&(M=i.charAt(F),M===" ");F--);(!M||!VT.test(M))&&(c=!0)}}P===void 0?P=i.slice(0,E).trim():m!==0&&L();function L(){B.push(i.slice(m,E).trim()),m=E+1}if(B.length){for(E=0;E<B.length;E++)P=YT(P,B[E],r);t.content=P}}function YT(t,r,i){i.helper(Ka);const o=r.indexOf("(");if(o<0)return i.filters.add(r),`${Ro(r,"filter")}(${t})`;{const u=r.slice(0,o),f=r.slice(o+1);return i.filters.add(u),`${Ro(u,"filter")}(${t}${f!==")"?","+f:f}`}}const hy=new WeakSet,XT=(t,r)=>{if(t.type===1){const i=vr(t,"memo");return!i||hy.has(t)?void 0:(hy.add(t),()=>{const o=t.codegenNode||r.currentNode.codegenNode;o&&o.type===13&&(t.tagType!==1&&eu(o,r),t.codegenNode=kt(r.helper(Qa),[i.exp,Mi(void 0,o),"_cache",String(r.cached++)]))})}};function py(t){return[[$T,PT,XT,AT,GT,jT,oy,ty,UT],{on:_c,bind:uy,model:ed}]}function gy(t,r={}){const i=r.onError||Mc,o=r.mode==="module";r.prefixIdentifiers===!0?i(yt(46)):o&&i(yt(47));const u=!1;r.cacheHandlers&&i(yt(48)),r.scopeId&&!o&&i(yt(49));const f=Ze(t)?Kc(t,r):t,[c,p]=py();return Um(f,lt({},r,{prefixIdentifiers:u,nodeTransforms:[...c,...r.nodeTransforms||[]],directiveTransforms:lt({},p,r.directiveTransforms||{})})),$m(f,lt({},r,{prefixIdentifiers:u}))}const vy=()=>({props:[]}),rd=Symbol(""),nd=Symbol(""),id=Symbol(""),od=Symbol(""),fu=Symbol(""),sd=Symbol(""),ld=Symbol(""),ad=Symbol(""),ud=Symbol(""),fd=Symbol("");Tm({[rd]:"vModelRadio",[nd]:"vModelCheckbox",[id]:"vModelText",[od]:"vModelSelect",[fu]:"vModelDynamic",[sd]:"withModifiers",[ld]:"withKeys",[ad]:"vShow",[ud]:"Transition",[fd]:"TransitionGroup"});let Do;function JT(t,r=!1){return Do||(Do=document.createElement("div")),r?(Do.innerHTML=`<div foo="${t.replace(/"/g,"&quot;")}">`,Do.children[0].getAttribute("foo")):(Do.innerHTML=t,Do.textContent)}const ZT=jt("style,iframe,script,noscript",!0),cd={isVoidTag:bp,isNativeTag:t=>mp(t)||yp(t),isPreTag:t=>t==="pre",decodeEntities:JT,isBuiltInComponent:t=>{if(Ai(t,"Transition"))return ud;if(Ai(t,"TransitionGroup"))return fd},getNamespace(t,r){let i=r?r.ns:0;if(r&&i===2)if(r.tag==="annotation-xml"){if(t==="svg")return 1;r.props.some(o=>o.type===6&&o.name==="encoding"&&o.value!=null&&(o.value.content==="text/html"||o.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(r.tag)&&t!=="mglyph"&&t!=="malignmark"&&(i=0);else r&&i===1&&(r.tag==="foreignObject"||r.tag==="desc"||r.tag==="title")&&(i=0);if(i===0){if(t==="svg")return 1;if(t==="math")return 2}return i},getTextMode({tag:t,ns:r}){if(r===0){if(t==="textarea"||t==="title")return 1;if(ZT(t))return 2}return 0}},my=t=>{t.type===1&&t.props.forEach((r,i)=>{r.type===6&&r.name==="style"&&r.value&&(t.props[i]={type:7,name:"bind",arg:qe("style",!0,r.loc),exp:QT(r.value.content,r.loc),modifiers:[],loc:r.loc})})},QT=(t,r)=>{const i=lf(t);return qe(JSON.stringify(i),!1,r,3)};function nn(t,r){return yt(t,r)}const qT=(t,r,i)=>{const{exp:o,loc:u}=t;return o||i.onError(nn(50,u)),r.children.length&&(i.onError(nn(51,u)),r.children.length=0),{props:[Ot(qe("innerHTML",!0,u),o||qe("",!0))]}},_T=(t,r,i)=>{const{exp:o,loc:u}=t;return o||i.onError(nn(52,u)),r.children.length&&(i.onError(nn(53,u)),r.children.length=0),{props:[Ot(qe("textContent",!0),o?kt(i.helperString(qs),[o],u):qe("",!0))]}},eE=(t,r,i)=>{const o=ed(t,r,i);if(!o.props.length||r.tagType===1)return o;t.arg&&i.onError(nn(55,t.arg.loc));const{tag:u}=r,f=i.isCustomElement(u);if(u==="input"||u==="textarea"||u==="select"||f){let c=id,p=!1;if(u==="input"||f){const h=No(r,"type");if(h){if(h.type===7)c=fu;else if(h.value)switch(h.value.content){case"radio":c=rd;break;case"checkbox":c=nd;break;case"file":p=!0,i.onError(nn(56,t.loc));break}}else Mm(r)&&(c=fu)}else u==="select"&&(c=od);p||(o.needRuntime=i.helper(c))}else i.onError(nn(54,t.loc));return o.props=o.props.filter(c=>!(c.key.type===4&&c.key.content==="modelValue")),o},tE=jt("passive,once,capture"),rE=jt("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),nE=jt("left,right"),yy=jt("onkeyup,onkeydown,onkeypress",!0),iE=(t,r,i,o)=>{const u=[],f=[],c=[];for(let p=0;p<r.length;p++){const h=r[p];h==="native"&&Ri("COMPILER_V_ON_NATIVE",i)||tE(h)?c.push(h):nE(h)?ur(t)?yy(t.content)?u.push(h):f.push(h):(u.push(h),f.push(h)):rE(h)?f.push(h):u.push(h)}return{keyModifiers:u,nonKeyModifiers:f,eventOptionModifiers:c}},by=(t,r)=>ur(t)&&t.content.toLowerCase()==="onclick"?qe(r,!0):t.type!==4?jr(["(",t,`) === "onClick" ? "${r}" : (`,t,")"]):t,oE=(t,r,i)=>_c(t,r,i,o=>{const{modifiers:u}=t;if(!u.length)return o;let{key:f,value:c}=o.props[0];const{keyModifiers:p,nonKeyModifiers:h,eventOptionModifiers:g}=iE(f,u,i,t.loc);if(h.includes("right")&&(f=by(f,"onContextmenu")),h.includes("middle")&&(f=by(f,"onMouseup")),h.length&&(c=kt(i.helper(sd),[c,JSON.stringify(h)])),p.length&&(!ur(f)||yy(f.content))&&(c=kt(i.helper(ld),[c,JSON.stringify(p)])),g.length){const m=g.map(Dn).join("");f=ur(f)?qe(`${f.content}${m}`,!0):jr(["(",f,`) + "${m}"`])}return{props:[Ot(f,c)]}}),sE=(t,r,i)=>{const{exp:o,loc:u}=t;return o||i.onError(nn(58,u)),{props:[],needRuntime:i.helper(ad)}},lE=(t,r)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&(r.onError(nn(60,t.loc)),r.removeNode())},Sy=[my],xy={cloak:vy,html:qT,text:_T,model:eE,on:oE,show:sE};function aE(t,r={}){return gy(t,lt({},cd,r,{nodeTransforms:[lE,...Sy,...r.nodeTransforms||[]],directiveTransforms:lt({},xy,r.directiveTransforms||{}),transformHoist:null}))}function uE(t,r={}){return Kc(t,lt({},cd,r))}var fE=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",DOMDirectiveTransforms:xy,DOMNodeTransforms:Sy,TRANSITION:ud,TRANSITION_GROUP:fd,V_MODEL_CHECKBOX:nd,V_MODEL_DYNAMIC:fu,V_MODEL_RADIO:rd,V_MODEL_SELECT:od,V_MODEL_TEXT:id,V_ON_WITH_KEYS:ld,V_ON_WITH_MODIFIERS:sd,V_SHOW:ad,compile:aE,createDOMCompilerError:nn,parse:uE,parserOptions:cd,transformStyle:my,generateCodeFrame:dp,BASE_TRANSITION:Ac,CAMELIZE:Xa,CAPITALIZE:bm,CREATE_BLOCK:Lc,CREATE_COMMENT:ko,CREATE_ELEMENT_BLOCK:Nc,CREATE_ELEMENT_VNODE:Ha,CREATE_SLOTS:Dc,CREATE_STATIC:Ic,CREATE_TEXT:Ba,CREATE_VNODE:za,FRAGMENT:Eo,GUARD_REACTIVE_PROPS:Mo,IS_MEMO_SAME:Fc,IS_REF:Cm,KEEP_ALIVE:Zs,MERGE_PROPS:_s,NORMALIZE_CLASS:Va,NORMALIZE_PROPS:Po,NORMALIZE_STYLE:Ga,OPEN_BLOCK:Zn,POP_SCOPE_ID:xm,PUSH_SCOPE_ID:Sm,RENDER_LIST:$a,RENDER_SLOT:Rc,RESOLVE_COMPONENT:Wa,RESOLVE_DIRECTIVE:ja,RESOLVE_DYNAMIC_COMPONENT:Qs,RESOLVE_FILTER:Ka,SET_BLOCK_TRACKING:el,SUSPENSE:Fa,TELEPORT:Oo,TO_DISPLAY_STRING:qs,TO_HANDLERS:Ya,TO_HANDLER_KEY:Ja,UNREF:wm,WITH_CTX:Za,WITH_DIRECTIVES:Ua,WITH_MEMO:Qa,advancePositionWithClone:rl,advancePositionWithMutation:nl,assert:BC,baseCompile:gy,baseParse:Kc,buildProps:Zc,buildSlots:ry,checkCompatEnabled:Ri,createArrayExpression:Lo,createAssignmentExpression:LC,createBlockStatement:km,createCacheExpression:Om,createCallExpression:kt,createCompilerError:yt,createCompoundExpression:jr,createConditionalExpression:qa,createForLoopParams:su,createFunctionExpression:Mi,createIfStatement:AC,createInterpolation:PC,createObjectExpression:Pr,createObjectProperty:Ot,createReturnStatement:IC,createRoot:Em,createSequenceExpression:NC,createSimpleExpression:qe,createStructuralDirectiveTransform:Gc,createTemplateLiteral:MC,createTransformContext:Km,createVNodeCall:Ao,extractIdentifiers:Qn,findDir:vr,findProp:No,generate:$m,getBaseTransformPreset:py,getInnerRange:Bc,getMemoedVNodeCall:Lm,getVNodeBlockHelper:Ni,getVNodeHelper:Li,hasDynamicKeyVBind:Mm,hasScopeRef:Kr,helperNameMap:Sn,injectProp:sl,isBindKey:il,isBuiltInType:Ai,isCoreComponent:zc,isFunctionType:ET,isInDestructureAssignment:wT,isMemberExpression:Hc,isMemberExpressionBrowser:Pm,isMemberExpressionNode:HC,isReferencedIdentifier:xT,isSimpleIdentifier:tl,isSlotOutlet:ol,isStaticExp:ur,isStaticProperty:Ym,isStaticPropertyKey:OT,isTemplateNode:Io,isText:_a,isVSlot:Wc,locStub:Ht,makeBlock:eu,noopDirectiveTransform:vy,processExpression:iu,processFor:qm,processIf:Xm,processSlotOutlet:ay,registerRuntimeHelpers:Tm,resolveComponentType:sy,toValidAssetId:Ro,trackSlotScopes:ty,trackVForSlotScopes:RT,transform:Um,transformBind:uy,transformElement:oy,transformExpression:kT,transformModel:ed,transformOn:_c,traverseNode:fl,walkBlockDeclarations:TT,walkFunctionParams:CT,walkIdentifiers:ST,warnDeprecation:KC}),cE=bc(fE),dE=bc(qw),hE=bc(Ub);(function(t){Object.defineProperty(t,"__esModule",{value:!0});var r=cE,i=dE,o=hE;function u(h){if(h&&h.__esModule)return h;var g=Object.create(null);return h&&Object.keys(h).forEach(function(m){g[m]=h[m]}),g.default=h,Object.freeze(g)}var f=u(i);const c=Object.create(null);function p(h,g){if(!o.isString(h))if(h.nodeType)h=h.innerHTML;else return o.NOOP;const m=h,b=c[m];if(b)return b;if(h[0]==="#"){const P=document.querySelector(h);h=P?P.innerHTML:""}const{code:x}=r.compile(h,o.extend({hoistStatic:!0,onError:void 0,onWarn:o.NOOP},g)),E=new Function("Vue",x)(f);return E._rc=!0,c[m]=E}i.registerRuntimeCompiler(p),Object.keys(i).forEach(function(h){h!=="default"&&(t[h]=i[h])}),t.compile=p})(mm);vm.exports=mm;(function(t){t.exports=function(r){var i={};function o(u){if(i[u])return i[u].exports;var f=i[u]={i:u,l:!1,exports:{}};return r[u].call(f.exports,f,f.exports,o),f.l=!0,f.exports}return o.m=r,o.c=i,o.d=function(u,f,c){o.o(u,f)||Object.defineProperty(u,f,{enumerable:!0,get:c})},o.r=function(u){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},o.t=function(u,f){if(f&1&&(u=o(u)),f&8||f&4&&typeof u=="object"&&u&&u.__esModule)return u;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:u}),f&2&&typeof u!="string")for(var p in u)o.d(c,p,function(h){return u[h]}.bind(null,p));return c},o.n=function(u){var f=u&&u.__esModule?function(){return u.default}:function(){return u};return o.d(f,"a",f),f},o.o=function(u,f){return Object.prototype.hasOwnProperty.call(u,f)},o.p="",o(o.s="fae3")}({"00ee":function(r,i,o){var u=o("b622"),f=u("toStringTag"),c={};c[f]="z",r.exports=String(c)==="[object z]"},"0366":function(r,i,o){var u=o("1c0b");r.exports=function(f,c,p){if(u(f),c===void 0)return f;switch(p){case 0:return function(){return f.call(c)};case 1:return function(h){return f.call(c,h)};case 2:return function(h,g){return f.call(c,h,g)};case 3:return function(h,g,m){return f.call(c,h,g,m)}}return function(){return f.apply(c,arguments)}}},"057f":function(r,i,o){var u=o("fc6a"),f=o("241c").f,c={}.toString,p=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],h=function(g){try{return f(g)}catch{return p.slice()}};r.exports.f=function(m){return p&&c.call(m)=="[object Window]"?h(m):f(u(m))}},"06cf":function(r,i,o){var u=o("83ab"),f=o("d1e7"),c=o("5c6c"),p=o("fc6a"),h=o("c04e"),g=o("5135"),m=o("0cfb"),b=Object.getOwnPropertyDescriptor;i.f=u?b:function(E,P){if(E=p(E),P=h(P,!0),m)try{return b(E,P)}catch{}if(g(E,P))return c(!f.f.call(E,P),E[P])}},"0cfb":function(r,i,o){var u=o("83ab"),f=o("d039"),c=o("cc12");r.exports=!u&&!f(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"159b":function(r,i,o){var u=o("da84"),f=o("fdbc"),c=o("17c2"),p=o("9112");for(var h in f){var g=u[h],m=g&&g.prototype;if(m&&m.forEach!==c)try{p(m,"forEach",c)}catch{m.forEach=c}}},"17c2":function(r,i,o){var u=o("b727").forEach,f=o("a640"),c=f("forEach");r.exports=c?[].forEach:function(h){return u(this,h,arguments.length>1?arguments[1]:void 0)}},"1be4":function(r,i,o){var u=o("d066");r.exports=u("document","documentElement")},"1c0b":function(r,i){r.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(r,i,o){var u=o("b622"),f=u("iterator"),c=!1;try{var p=0,h={next:function(){return{done:!!p++}},return:function(){c=!0}};h[f]=function(){return this},Array.from(h,function(){throw 2})}catch{}r.exports=function(g,m){if(!m&&!c)return!1;var b=!1;try{var x={};x[f]=function(){return{next:function(){return{done:b=!0}}}},g(x)}catch{}return b}},"1d80":function(r,i){r.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(r,i,o){var u=o("d039"),f=o("b622"),c=o("2d00"),p=f("species");r.exports=function(h){return c>=51||!u(function(){var g=[],m=g.constructor={};return m[p]=function(){return{foo:1}},g[h](Boolean).foo!==1})}},"23cb":function(r,i,o){var u=o("a691"),f=Math.max,c=Math.min;r.exports=function(p,h){var g=u(p);return g<0?f(g+h,0):c(g,h)}},"23e7":function(r,i,o){var u=o("da84"),f=o("06cf").f,c=o("9112"),p=o("6eeb"),h=o("ce4e"),g=o("e893"),m=o("94ca");r.exports=function(b,x){var E=b.target,P=b.global,B=b.stat,L,F,M,N,H,Q;if(P?F=u:B?F=u[E]||h(E,{}):F=(u[E]||{}).prototype,F)for(M in x){if(H=x[M],b.noTargetGet?(Q=f(F,M),N=Q&&Q.value):N=F[M],L=m(P?M:E+(B?".":"#")+M,b.forced),!L&&N!==void 0){if(typeof H==typeof N)continue;g(H,N)}(b.sham||N&&N.sham)&&c(H,"sham",!0),p(F,M,H,b)}}},"241c":function(r,i,o){var u=o("ca84"),f=o("7839"),c=f.concat("length","prototype");i.f=Object.getOwnPropertyNames||function(h){return u(h,c)}},"2532":function(r,i,o){var u=o("23e7"),f=o("5a34"),c=o("1d80"),p=o("ab13");u({target:"String",proto:!0,forced:!p("includes")},{includes:function(g){return!!~String(c(this)).indexOf(f(g),arguments.length>1?arguments[1]:void 0)}})},"2a62":function(r,i,o){var u=o("825a");r.exports=function(f){var c=f.return;if(c!==void 0)return u(c.call(f)).value}},"2d00":function(r,i,o){var u=o("da84"),f=o("342f"),c=u.process,p=c&&c.versions,h=p&&p.v8,g,m;h?(g=h.split("."),m=g[0]<4?1:g[0]+g[1]):f&&(g=f.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=f.match(/Chrome\/(\d+)/),g&&(m=g[1]))),r.exports=m&&+m},"342f":function(r,i,o){var u=o("d066");r.exports=u("navigator","userAgent")||""},"35a1":function(r,i,o){var u=o("f5df"),f=o("3f8c"),c=o("b622"),p=c("iterator");r.exports=function(h){if(h!=null)return h[p]||h["@@iterator"]||f[u(h)]}},"37e8":function(r,i,o){var u=o("83ab"),f=o("9bf2"),c=o("825a"),p=o("df75");r.exports=u?Object.defineProperties:function(g,m){c(g);for(var b=p(m),x=b.length,E=0,P;x>E;)f.f(g,P=b[E++],m[P]);return g}},"3bbe":function(r,i,o){var u=o("861d");r.exports=function(f){if(!u(f)&&f!==null)throw TypeError("Can't set "+String(f)+" as a prototype");return f}},"3ca3":function(r,i,o){var u=o("6547").charAt,f=o("69f3"),c=o("7dd0"),p="String Iterator",h=f.set,g=f.getterFor(p);c(String,"String",function(m){h(this,{type:p,string:String(m),index:0})},function(){var b=g(this),x=b.string,E=b.index,P;return E>=x.length?{value:void 0,done:!0}:(P=u(x,E),b.index+=P.length,{value:P,done:!1})})},"3f8c":function(r,i){r.exports={}},"428f":function(r,i,o){var u=o("da84");r.exports=u},"44ad":function(r,i,o){var u=o("d039"),f=o("c6b6"),c="".split;r.exports=u(function(){return!Object("z").propertyIsEnumerable(0)})?function(p){return f(p)=="String"?c.call(p,""):Object(p)}:Object},"44d2":function(r,i,o){var u=o("b622"),f=o("7c73"),c=o("9bf2"),p=u("unscopables"),h=Array.prototype;h[p]==null&&c.f(h,p,{configurable:!0,value:f(null)}),r.exports=function(g){h[p][g]=!0}},"44e7":function(r,i,o){var u=o("861d"),f=o("c6b6"),c=o("b622"),p=c("match");r.exports=function(h){var g;return u(h)&&((g=h[p])!==void 0?!!g:f(h)=="RegExp")}},"4930":function(r,i,o){var u=o("2d00"),f=o("d039");r.exports=!!Object.getOwnPropertySymbols&&!f(function(){var c=Symbol();return!String(c)||!(Object(c)instanceof Symbol)||!Symbol.sham&&u&&u<41})},"4d64":function(r,i,o){var u=o("fc6a"),f=o("50c4"),c=o("23cb"),p=function(h){return function(g,m,b){var x=u(g),E=f(x.length),P=c(b,E),B;if(h&&m!=m){for(;E>P;)if(B=x[P++],B!=B)return!0}else for(;E>P;P++)if((h||P in x)&&x[P]===m)return h||P||0;return!h&&-1}};r.exports={includes:p(!0),indexOf:p(!1)}},"4de4":function(r,i,o){var u=o("23e7"),f=o("b727").filter,c=o("1dde"),p=c("filter");u({target:"Array",proto:!0,forced:!p},{filter:function(g){return f(this,g,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(r,i,o){var u=o("0366"),f=o("7b0b"),c=o("9bdd"),p=o("e95a"),h=o("50c4"),g=o("8418"),m=o("35a1");r.exports=function(x){var E=f(x),P=typeof this=="function"?this:Array,B=arguments.length,L=B>1?arguments[1]:void 0,F=L!==void 0,M=m(E),N=0,H,Q,J,K,U,q;if(F&&(L=u(L,B>2?arguments[2]:void 0,2)),M!=null&&!(P==Array&&p(M)))for(K=M.call(E),U=K.next,Q=new P;!(J=U.call(K)).done;N++)q=F?c(K,L,[J.value,N],!0):J.value,g(Q,N,q);else for(H=h(E.length),Q=new P(H);H>N;N++)q=F?L(E[N],N):E[N],g(Q,N,q);return Q.length=N,Q}},"4fad":function(r,i,o){var u=o("23e7"),f=o("6f53").entries;u({target:"Object",stat:!0},{entries:function(p){return f(p)}})},"50c4":function(r,i,o){var u=o("a691"),f=Math.min;r.exports=function(c){return c>0?f(u(c),9007199254740991):0}},"5135":function(r,i,o){var u=o("7b0b"),f={}.hasOwnProperty;r.exports=Object.hasOwn||function(p,h){return f.call(u(p),h)}},"5692":function(r,i,o){var u=o("c430"),f=o("c6cd");(r.exports=function(c,p){return f[c]||(f[c]=p!==void 0?p:{})})("versions",[]).push({version:"3.15.2",mode:u?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,i,o){var u=o("d066"),f=o("241c"),c=o("7418"),p=o("825a");r.exports=u("Reflect","ownKeys")||function(g){var m=f.f(p(g)),b=c.f;return b?m.concat(b(g)):m}},"5899":function(r,i){r.exports=`
39
+ \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"58a8":function(r,i,o){var u=o("1d80"),f=o("5899"),c="["+f+"]",p=RegExp("^"+c+c+"*"),h=RegExp(c+c+"*$"),g=function(m){return function(b){var x=String(u(b));return m&1&&(x=x.replace(p,"")),m&2&&(x=x.replace(h,"")),x}};r.exports={start:g(1),end:g(2),trim:g(3)}},"5a34":function(r,i,o){var u=o("44e7");r.exports=function(f){if(u(f))throw TypeError("The method doesn't accept regular expressions");return f}},"5c6c":function(r,i){r.exports=function(o,u){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:u}}},"6547":function(r,i,o){var u=o("a691"),f=o("1d80"),c=function(p){return function(h,g){var m=String(f(h)),b=u(g),x=m.length,E,P;return b<0||b>=x?p?"":void 0:(E=m.charCodeAt(b),E<55296||E>56319||b+1===x||(P=m.charCodeAt(b+1))<56320||P>57343?p?m.charAt(b):E:p?m.slice(b,b+2):(E-55296<<10)+(P-56320)+65536)}};r.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(r,i,o){var u=o("861d"),f=o("e8b5"),c=o("b622"),p=c("species");r.exports=function(h,g){var m;return f(h)&&(m=h.constructor,typeof m=="function"&&(m===Array||f(m.prototype))?m=void 0:u(m)&&(m=m[p],m===null&&(m=void 0))),new(m===void 0?Array:m)(g===0?0:g)}},"69f3":function(r,i,o){var u=o("7f9a"),f=o("da84"),c=o("861d"),p=o("9112"),h=o("5135"),g=o("c6cd"),m=o("f772"),b=o("d012"),x="Object already initialized",E=f.WeakMap,P,B,L,F=function(U){return L(U)?B(U):P(U,{})},M=function(U){return function(q){var te;if(!c(q)||(te=B(q)).type!==U)throw TypeError("Incompatible receiver, "+U+" required");return te}};if(u||g.state){var N=g.state||(g.state=new E),H=N.get,Q=N.has,J=N.set;P=function(U,q){if(Q.call(N,U))throw new TypeError(x);return q.facade=U,J.call(N,U,q),q},B=function(U){return H.call(N,U)||{}},L=function(U){return Q.call(N,U)}}else{var K=m("state");b[K]=!0,P=function(U,q){if(h(U,K))throw new TypeError(x);return q.facade=U,p(U,K,q),q},B=function(U){return h(U,K)?U[K]:{}},L=function(U){return h(U,K)}}r.exports={set:P,get:B,has:L,enforce:F,getterFor:M}},"6eeb":function(r,i,o){var u=o("da84"),f=o("9112"),c=o("5135"),p=o("ce4e"),h=o("8925"),g=o("69f3"),m=g.get,b=g.enforce,x=String(String).split("String");(r.exports=function(E,P,B,L){var F=L?!!L.unsafe:!1,M=L?!!L.enumerable:!1,N=L?!!L.noTargetGet:!1,H;if(typeof B=="function"&&(typeof P=="string"&&!c(B,"name")&&f(B,"name",P),H=b(B),H.source||(H.source=x.join(typeof P=="string"?P:""))),E===u){M?E[P]=B:p(P,B);return}else F?!N&&E[P]&&(M=!0):delete E[P];M?E[P]=B:f(E,P,B)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||h(this)})},"6f53":function(r,i,o){var u=o("83ab"),f=o("df75"),c=o("fc6a"),p=o("d1e7").f,h=function(g){return function(m){for(var b=c(m),x=f(b),E=x.length,P=0,B=[],L;E>P;)L=x[P++],(!u||p.call(b,L))&&B.push(g?[L,b[L]]:b[L]);return B}};r.exports={entries:h(!0),values:h(!1)}},"7156":function(r,i,o){var u=o("861d"),f=o("d2bb");r.exports=function(c,p,h){var g,m;return f&&typeof(g=p.constructor)=="function"&&g!==h&&u(m=g.prototype)&&m!==h.prototype&&f(c,m),c}},"7418":function(r,i){i.f=Object.getOwnPropertySymbols},"746f":function(r,i,o){var u=o("428f"),f=o("5135"),c=o("e538"),p=o("9bf2").f;r.exports=function(h){var g=u.Symbol||(u.Symbol={});f(g,h)||p(g,h,{value:c.f(h)})}},"7839":function(r,i){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(r,i,o){var u=o("1d80");r.exports=function(f){return Object(u(f))}},"7c73":function(r,i,o){var u=o("825a"),f=o("37e8"),c=o("7839"),p=o("d012"),h=o("1be4"),g=o("cc12"),m=o("f772"),b=">",x="<",E="prototype",P="script",B=m("IE_PROTO"),L=function(){},F=function(J){return x+P+b+J+x+"/"+P+b},M=function(J){J.write(F("")),J.close();var K=J.parentWindow.Object;return J=null,K},N=function(){var J=g("iframe"),K="java"+P+":",U;return J.style.display="none",h.appendChild(J),J.src=String(K),U=J.contentWindow.document,U.open(),U.write(F("document.F=Object")),U.close(),U.F},H,Q=function(){try{H=document.domain&&new ActiveXObject("htmlfile")}catch{}Q=H?M(H):N();for(var J=c.length;J--;)delete Q[E][c[J]];return Q()};p[B]=!0,r.exports=Object.create||function(K,U){var q;return K!==null?(L[E]=u(K),q=new L,L[E]=null,q[B]=K):q=Q(),U===void 0?q:f(q,U)}},"7db0":function(r,i,o){var u=o("23e7"),f=o("b727").find,c=o("44d2"),p="find",h=!0;p in[]&&Array(1)[p](function(){h=!1}),u({target:"Array",proto:!0,forced:h},{find:function(m){return f(this,m,arguments.length>1?arguments[1]:void 0)}}),c(p)},"7dd0":function(r,i,o){var u=o("23e7"),f=o("9ed3"),c=o("e163"),p=o("d2bb"),h=o("d44e"),g=o("9112"),m=o("6eeb"),b=o("b622"),x=o("c430"),E=o("3f8c"),P=o("ae93"),B=P.IteratorPrototype,L=P.BUGGY_SAFARI_ITERATORS,F=b("iterator"),M="keys",N="values",H="entries",Q=function(){return this};r.exports=function(J,K,U,q,te,ee,_){f(U,K,q);var O=function(Ke){if(Ke===te&&Y)return Y;if(!L&&Ke in j)return j[Ke];switch(Ke){case M:return function(){return new U(this,Ke)};case N:return function(){return new U(this,Ke)};case H:return function(){return new U(this,Ke)}}return function(){return new U(this)}},k=K+" Iterator",w=!1,j=J.prototype,W=j[F]||j["@@iterator"]||te&&j[te],Y=!L&&W||O(te),ue=K=="Array"&&j.entries||W,he,je,We;if(ue&&(he=c(ue.call(new J)),B!==Object.prototype&&he.next&&(!x&&c(he)!==B&&(p?p(he,B):typeof he[F]!="function"&&g(he,F,Q)),h(he,k,!0,!0),x&&(E[k]=Q))),te==N&&W&&W.name!==N&&(w=!0,Y=function(){return W.call(this)}),(!x||_)&&j[F]!==Y&&g(j,F,Y),E[K]=Y,te)if(je={values:O(N),keys:ee?Y:O(M),entries:O(H)},_)for(We in je)(L||w||!(We in j))&&m(j,We,je[We]);else u({target:K,proto:!0,forced:L||w},je);return je}},"7f9a":function(r,i,o){var u=o("da84"),f=o("8925"),c=u.WeakMap;r.exports=typeof c=="function"&&/native code/.test(f(c))},"825a":function(r,i,o){var u=o("861d");r.exports=function(f){if(!u(f))throw TypeError(String(f)+" is not an object");return f}},"83ab":function(r,i,o){var u=o("d039");r.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"8418":function(r,i,o){var u=o("c04e"),f=o("9bf2"),c=o("5c6c");r.exports=function(p,h,g){var m=u(h);m in p?f.f(p,m,c(0,g)):p[m]=g}},"861d":function(r,i){r.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},"8875":function(r,i,o){var u,f,c;(function(p,h){f=[],u=h,c=typeof u=="function"?u.apply(i,f):u,c!==void 0&&(r.exports=c)})(typeof self!="undefined"?self:this,function(){function p(){var h=Object.getOwnPropertyDescriptor(document,"currentScript");if(!h&&"currentScript"in document&&document.currentScript||h&&h.get!==p&&document.currentScript)return document.currentScript;try{throw new Error}catch(H){var g=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,m=/@([^@]*):(\d+):(\d+)\s*$/ig,b=g.exec(H.stack)||m.exec(H.stack),x=b&&b[1]||!1,E=b&&b[2]||!1,P=document.location.href.replace(document.location.hash,""),B,L,F,M=document.getElementsByTagName("script");x===P&&(B=document.documentElement.outerHTML,L=new RegExp("(?:[^\\n]+?\\n){0,"+(E-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),F=B.replace(L,"$1").trim());for(var N=0;N<M.length;N++)if(M[N].readyState==="interactive"||M[N].src===x||x===P&&M[N].innerHTML&&M[N].innerHTML.trim()===F)return M[N];return null}}return p})},"8925":function(r,i,o){var u=o("c6cd"),f=Function.toString;typeof u.inspectSource!="function"&&(u.inspectSource=function(c){return f.call(c)}),r.exports=u.inspectSource},"8bbf":function(r,i){r.exports=vm.exports},"90e3":function(r,i){var o=0,u=Math.random();r.exports=function(f){return"Symbol("+String(f===void 0?"":f)+")_"+(++o+u).toString(36)}},"9112":function(r,i,o){var u=o("83ab"),f=o("9bf2"),c=o("5c6c");r.exports=u?function(p,h,g){return f.f(p,h,c(1,g))}:function(p,h,g){return p[h]=g,p}},"94ca":function(r,i,o){var u=o("d039"),f=/#|\.prototype\./,c=function(b,x){var E=h[p(b)];return E==m?!0:E==g?!1:typeof x=="function"?u(x):!!x},p=c.normalize=function(b){return String(b).replace(f,".").toLowerCase()},h=c.data={},g=c.NATIVE="N",m=c.POLYFILL="P";r.exports=c},"9bdd":function(r,i,o){var u=o("825a"),f=o("2a62");r.exports=function(c,p,h,g){try{return g?p(u(h)[0],h[1]):p(h)}catch(m){throw f(c),m}}},"9bf2":function(r,i,o){var u=o("83ab"),f=o("0cfb"),c=o("825a"),p=o("c04e"),h=Object.defineProperty;i.f=u?h:function(m,b,x){if(c(m),b=p(b,!0),c(x),f)try{return h(m,b,x)}catch{}if("get"in x||"set"in x)throw TypeError("Accessors not supported");return"value"in x&&(m[b]=x.value),m}},"9ed3":function(r,i,o){var u=o("ae93").IteratorPrototype,f=o("7c73"),c=o("5c6c"),p=o("d44e"),h=o("3f8c"),g=function(){return this};r.exports=function(m,b,x){var E=b+" Iterator";return m.prototype=f(u,{next:c(1,x)}),p(m,E,!1,!0),h[E]=g,m}},a434:function(r,i,o){var u=o("23e7"),f=o("23cb"),c=o("a691"),p=o("50c4"),h=o("7b0b"),g=o("65f0"),m=o("8418"),b=o("1dde"),x=b("splice"),E=Math.max,P=Math.min,B=9007199254740991,L="Maximum allowed length exceeded";u({target:"Array",proto:!0,forced:!x},{splice:function(M,N){var H=h(this),Q=p(H.length),J=f(M,Q),K=arguments.length,U,q,te,ee,_,O;if(K===0?U=q=0:K===1?(U=0,q=Q-J):(U=K-2,q=P(E(c(N),0),Q-J)),Q+U-q>B)throw TypeError(L);for(te=g(H,q),ee=0;ee<q;ee++)_=J+ee,_ in H&&m(te,ee,H[_]);if(te.length=q,U<q){for(ee=J;ee<Q-q;ee++)_=ee+q,O=ee+U,_ in H?H[O]=H[_]:delete H[O];for(ee=Q;ee>Q-q+U;ee--)delete H[ee-1]}else if(U>q)for(ee=Q-q;ee>J;ee--)_=ee+q-1,O=ee+U-1,_ in H?H[O]=H[_]:delete H[O];for(ee=0;ee<U;ee++)H[ee+J]=arguments[ee+2];return H.length=Q-q+U,te}})},a4d3:function(r,i,o){var u=o("23e7"),f=o("da84"),c=o("d066"),p=o("c430"),h=o("83ab"),g=o("4930"),m=o("fdbf"),b=o("d039"),x=o("5135"),E=o("e8b5"),P=o("861d"),B=o("825a"),L=o("7b0b"),F=o("fc6a"),M=o("c04e"),N=o("5c6c"),H=o("7c73"),Q=o("df75"),J=o("241c"),K=o("057f"),U=o("7418"),q=o("06cf"),te=o("9bf2"),ee=o("d1e7"),_=o("9112"),O=o("6eeb"),k=o("5692"),w=o("f772"),j=o("d012"),W=o("90e3"),Y=o("b622"),ue=o("e538"),he=o("746f"),je=o("d44e"),We=o("69f3"),Ke=o("b727").forEach,Xe=w("hidden"),ie="Symbol",se="prototype",le=Y("toPrimitive"),be=We.set,Ie=We.getterFor(ie),ke=Object[se],me=f.Symbol,Le=c("JSON","stringify"),z=q.f,$=te.f,Z=K.f,oe=ee.f,ae=k("symbols"),ve=k("op-symbols"),Ce=k("string-to-symbol-registry"),xe=k("symbol-to-string-registry"),de=k("wks"),I=f.QObject,re=!I||!I[se]||!I[se].findChild,G=h&&b(function(){return H($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a!=7})?function(Ge,Oe,ge){var He=z(ke,Oe);He&&delete ke[Oe],$(Ge,Oe,ge),He&&Ge!==ke&&$(ke,Oe,He)}:$,we=function(Ge,Oe){var ge=ae[Ge]=H(me[se]);return be(ge,{type:ie,tag:Ge,description:Oe}),h||(ge.description=Oe),ge},Re=m?function(Ge){return typeof Ge=="symbol"}:function(Ge){return Object(Ge)instanceof me},Ve=function(Oe,ge,He){Oe===ke&&Ve(ve,ge,He),B(Oe);var et=M(ge,!0);return B(He),x(ae,et)?(He.enumerable?(x(Oe,Xe)&&Oe[Xe][et]&&(Oe[Xe][et]=!1),He=H(He,{enumerable:N(0,!1)})):(x(Oe,Xe)||$(Oe,Xe,N(1,{})),Oe[Xe][et]=!0),G(Oe,et,He)):$(Oe,et,He)},at=function(Oe,ge){B(Oe);var He=F(ge),et=Q(He).concat(Xt(He));return Ke(et,function(rt){(!h||Ue.call(He,rt))&&Ve(Oe,rt,He[rt])}),Oe},Je=function(Oe,ge){return ge===void 0?H(Oe):at(H(Oe),ge)},Ue=function(Oe){var ge=M(Oe,!0),He=oe.call(this,ge);return this===ke&&x(ae,ge)&&!x(ve,ge)?!1:He||!x(this,ge)||!x(ae,ge)||x(this,Xe)&&this[Xe][ge]?He:!0},xt=function(Oe,ge){var He=F(Oe),et=M(ge,!0);if(!(He===ke&&x(ae,et)&&!x(ve,et))){var rt=z(He,et);return rt&&x(ae,et)&&!(x(He,Xe)&&He[Xe][et])&&(rt.enumerable=!0),rt}},vt=function(Oe){var ge=Z(F(Oe)),He=[];return Ke(ge,function(et){!x(ae,et)&&!x(j,et)&&He.push(et)}),He},Xt=function(Oe){var ge=Oe===ke,He=Z(ge?ve:F(Oe)),et=[];return Ke(He,function(rt){x(ae,rt)&&(!ge||x(ke,rt))&&et.push(ae[rt])}),et};if(g||(me=function(){if(this instanceof me)throw TypeError("Symbol is not a constructor");var Oe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ge=W(Oe),He=function(et){this===ke&&He.call(ve,et),x(this,Xe)&&x(this[Xe],ge)&&(this[Xe][ge]=!1),G(this,ge,N(1,et))};return h&&re&&G(ke,ge,{configurable:!0,set:He}),we(ge,Oe)},O(me[se],"toString",function(){return Ie(this).tag}),O(me,"withoutSetter",function(Ge){return we(W(Ge),Ge)}),ee.f=Ue,te.f=Ve,q.f=xt,J.f=K.f=vt,U.f=Xt,ue.f=function(Ge){return we(Y(Ge),Ge)},h&&($(me[se],"description",{configurable:!0,get:function(){return Ie(this).description}}),p||O(ke,"propertyIsEnumerable",Ue,{unsafe:!0}))),u({global:!0,wrap:!0,forced:!g,sham:!g},{Symbol:me}),Ke(Q(de),function(Ge){he(Ge)}),u({target:ie,stat:!0,forced:!g},{for:function(Ge){var Oe=String(Ge);if(x(Ce,Oe))return Ce[Oe];var ge=me(Oe);return Ce[Oe]=ge,xe[ge]=Oe,ge},keyFor:function(Oe){if(!Re(Oe))throw TypeError(Oe+" is not a symbol");if(x(xe,Oe))return xe[Oe]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),u({target:"Object",stat:!0,forced:!g,sham:!h},{create:Je,defineProperty:Ve,defineProperties:at,getOwnPropertyDescriptor:xt}),u({target:"Object",stat:!0,forced:!g},{getOwnPropertyNames:vt,getOwnPropertySymbols:Xt}),u({target:"Object",stat:!0,forced:b(function(){U.f(1)})},{getOwnPropertySymbols:function(Oe){return U.f(L(Oe))}}),Le){var Fe=!g||b(function(){var Ge=me();return Le([Ge])!="[null]"||Le({a:Ge})!="{}"||Le(Object(Ge))!="{}"});u({target:"JSON",stat:!0,forced:Fe},{stringify:function(Oe,ge,He){for(var et=[Oe],rt=1,fr;arguments.length>rt;)et.push(arguments[rt++]);if(fr=ge,!(!P(ge)&&Oe===void 0||Re(Oe)))return E(ge)||(ge=function(At,Rr){if(typeof fr=="function"&&(Rr=fr.call(this,At,Rr)),!Re(Rr))return Rr}),et[1]=ge,Le.apply(null,et)}})}me[se][le]||_(me[se],le,me[se].valueOf),je(me,ie),j[Xe]=!0},a630:function(r,i,o){var u=o("23e7"),f=o("4df4"),c=o("1c7e"),p=!c(function(h){Array.from(h)});u({target:"Array",stat:!0,forced:p},{from:f})},a640:function(r,i,o){var u=o("d039");r.exports=function(f,c){var p=[][f];return!!p&&u(function(){p.call(null,c||function(){throw 1},1)})}},a691:function(r,i){var o=Math.ceil,u=Math.floor;r.exports=function(f){return isNaN(f=+f)?0:(f>0?u:o)(f)}},a9e3:function(r,i,o){var u=o("83ab"),f=o("da84"),c=o("94ca"),p=o("6eeb"),h=o("5135"),g=o("c6b6"),m=o("7156"),b=o("c04e"),x=o("d039"),E=o("7c73"),P=o("241c").f,B=o("06cf").f,L=o("9bf2").f,F=o("58a8").trim,M="Number",N=f[M],H=N.prototype,Q=g(E(H))==M,J=function(ee){var _=b(ee,!1),O,k,w,j,W,Y,ue,he;if(typeof _=="string"&&_.length>2){if(_=F(_),O=_.charCodeAt(0),O===43||O===45){if(k=_.charCodeAt(2),k===88||k===120)return NaN}else if(O===48){switch(_.charCodeAt(1)){case 66:case 98:w=2,j=49;break;case 79:case 111:w=8,j=55;break;default:return+_}for(W=_.slice(2),Y=W.length,ue=0;ue<Y;ue++)if(he=W.charCodeAt(ue),he<48||he>j)return NaN;return parseInt(W,w)}}return+_};if(c(M,!N(" 0o1")||!N("0b1")||N("+0x1"))){for(var K=function(_){var O=arguments.length<1?0:_,k=this;return k instanceof K&&(Q?x(function(){H.valueOf.call(k)}):g(k)!=M)?m(new N(J(O)),k,K):J(O)},U=u?P(N):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),q=0,te;U.length>q;q++)h(N,te=U[q])&&!h(K,te)&&L(K,te,B(N,te));K.prototype=H,H.constructor=K,p(f,M,K)}},ab13:function(r,i,o){var u=o("b622"),f=u("match");r.exports=function(c){var p=/./;try{"/./"[c](p)}catch{try{return p[f]=!1,"/./"[c](p)}catch{}}return!1}},ae93:function(r,i,o){var u=o("d039"),f=o("e163"),c=o("9112"),p=o("5135"),h=o("b622"),g=o("c430"),m=h("iterator"),b=!1,x=function(){return this},E,P,B;[].keys&&(B=[].keys(),"next"in B?(P=f(f(B)),P!==Object.prototype&&(E=P)):b=!0);var L=E==null||u(function(){var F={};return E[m].call(F)!==F});L&&(E={}),(!g||L)&&!p(E,m)&&c(E,m,x),r.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(r,i,o){var u=o("00ee"),f=o("f5df");r.exports=u?{}.toString:function(){return"[object "+f(this)+"]"}},b0c0:function(r,i,o){var u=o("83ab"),f=o("9bf2").f,c=Function.prototype,p=c.toString,h=/^\s*function ([^ (]*)/,g="name";u&&!(g in c)&&f(c,g,{configurable:!0,get:function(){try{return p.call(this).match(h)[1]}catch{return""}}})},b622:function(r,i,o){var u=o("da84"),f=o("5692"),c=o("5135"),p=o("90e3"),h=o("4930"),g=o("fdbf"),m=f("wks"),b=u.Symbol,x=g?b:b&&b.withoutSetter||p;r.exports=function(E){return(!c(m,E)||!(h||typeof m[E]=="string"))&&(h&&c(b,E)?m[E]=b[E]:m[E]=x("Symbol."+E)),m[E]}},b64b:function(r,i,o){var u=o("23e7"),f=o("7b0b"),c=o("df75"),p=o("d039"),h=p(function(){c(1)});u({target:"Object",stat:!0,forced:h},{keys:function(m){return c(f(m))}})},b727:function(r,i,o){var u=o("0366"),f=o("44ad"),c=o("7b0b"),p=o("50c4"),h=o("65f0"),g=[].push,m=function(b){var x=b==1,E=b==2,P=b==3,B=b==4,L=b==6,F=b==7,M=b==5||L;return function(N,H,Q,J){for(var K=c(N),U=f(K),q=u(H,Q,3),te=p(U.length),ee=0,_=J||h,O=x?_(N,te):E||F?_(N,0):void 0,k,w;te>ee;ee++)if((M||ee in U)&&(k=U[ee],w=q(k,ee,K),b))if(x)O[ee]=w;else if(w)switch(b){case 3:return!0;case 5:return k;case 6:return ee;case 2:g.call(O,k)}else switch(b){case 4:return!1;case 7:g.call(O,k)}return L?-1:P||B?B:O}};r.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6),filterOut:m(7)}},c04e:function(r,i,o){var u=o("861d");r.exports=function(f,c){if(!u(f))return f;var p,h;if(c&&typeof(p=f.toString)=="function"&&!u(h=p.call(f))||typeof(p=f.valueOf)=="function"&&!u(h=p.call(f))||!c&&typeof(p=f.toString)=="function"&&!u(h=p.call(f)))return h;throw TypeError("Can't convert object to primitive value")}},c14f:function(r,i,o){o("ce77")},c430:function(r,i){r.exports=!1},c6b6:function(r,i){var o={}.toString;r.exports=function(u){return o.call(u).slice(8,-1)}},c6cd:function(r,i,o){var u=o("da84"),f=o("ce4e"),c="__core-js_shared__",p=u[c]||f(c,{});r.exports=p},c740:function(r,i,o){var u=o("23e7"),f=o("b727").findIndex,c=o("44d2"),p="findIndex",h=!0;p in[]&&Array(1)[p](function(){h=!1}),u({target:"Array",proto:!0,forced:h},{findIndex:function(m){return f(this,m,arguments.length>1?arguments[1]:void 0)}}),c(p)},c8ba:function(r,i){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}r.exports=o},ca84:function(r,i,o){var u=o("5135"),f=o("fc6a"),c=o("4d64").indexOf,p=o("d012");r.exports=function(h,g){var m=f(h),b=0,x=[],E;for(E in m)!u(p,E)&&u(m,E)&&x.push(E);for(;g.length>b;)u(m,E=g[b++])&&(~c(x,E)||x.push(E));return x}},caad:function(r,i,o){var u=o("23e7"),f=o("4d64").includes,c=o("44d2");u({target:"Array",proto:!0},{includes:function(h){return f(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(r,i,o){var u=o("da84"),f=o("861d"),c=u.document,p=f(c)&&f(c.createElement);r.exports=function(h){return p?c.createElement(h):{}}},ce4e:function(r,i,o){var u=o("da84"),f=o("9112");r.exports=function(c,p){try{f(u,c,p)}catch{u[c]=p}return p}},ce77:function(r,i,o){},d012:function(r,i){r.exports={}},d039:function(r,i){r.exports=function(o){try{return!!o()}catch{return!0}}},d066:function(r,i,o){var u=o("428f"),f=o("da84"),c=function(p){return typeof p=="function"?p:void 0};r.exports=function(p,h){return arguments.length<2?c(u[p])||c(f[p]):u[p]&&u[p][h]||f[p]&&f[p][h]}},d1e7:function(r,i,o){var u={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,c=f&&!u.call({1:2},1);i.f=c?function(h){var g=f(this,h);return!!g&&g.enumerable}:u},d28b:function(r,i,o){var u=o("746f");u("iterator")},d2bb:function(r,i,o){var u=o("825a"),f=o("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,p={},h;try{h=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,h.call(p,[]),c=p instanceof Array}catch{}return function(m,b){return u(m),f(b),c?h.call(m,b):m.__proto__=b,m}}():void 0)},d3b7:function(r,i,o){var u=o("00ee"),f=o("6eeb"),c=o("b041");u||f(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(r,i,o){var u=o("9bf2").f,f=o("5135"),c=o("b622"),p=c("toStringTag");r.exports=function(h,g,m){h&&!f(h=m?h:h.prototype,p)&&u(h,p,{configurable:!0,value:g})}},d81d:function(r,i,o){var u=o("23e7"),f=o("b727").map,c=o("1dde"),p=c("map");u({target:"Array",proto:!0,forced:!p},{map:function(g){return f(this,g,arguments.length>1?arguments[1]:void 0)}})},da84:function(r,i,o){(function(u){var f=function(c){return c&&c.Math==Math&&c};r.exports=f(typeof globalThis=="object"&&globalThis)||f(typeof window=="object"&&window)||f(typeof self=="object"&&self)||f(typeof u=="object"&&u)||function(){return this}()||Function("return this")()}).call(this,o("c8ba"))},dbb4:function(r,i,o){var u=o("23e7"),f=o("83ab"),c=o("56ef"),p=o("fc6a"),h=o("06cf"),g=o("8418");u({target:"Object",stat:!0,sham:!f},{getOwnPropertyDescriptors:function(b){for(var x=p(b),E=h.f,P=c(x),B={},L=0,F,M;P.length>L;)M=E(x,F=P[L++]),M!==void 0&&g(B,F,M);return B}})},ddb0:function(r,i,o){var u=o("da84"),f=o("fdbc"),c=o("e260"),p=o("9112"),h=o("b622"),g=h("iterator"),m=h("toStringTag"),b=c.values;for(var x in f){var E=u[x],P=E&&E.prototype;if(P){if(P[g]!==b)try{p(P,g,b)}catch{P[g]=b}if(P[m]||p(P,m,x),f[x]){for(var B in c)if(P[B]!==c[B])try{p(P,B,c[B])}catch{P[B]=c[B]}}}}},df75:function(r,i,o){var u=o("ca84"),f=o("7839");r.exports=Object.keys||function(p){return u(p,f)}},e01a:function(r,i,o){var u=o("23e7"),f=o("83ab"),c=o("da84"),p=o("5135"),h=o("861d"),g=o("9bf2").f,m=o("e893"),b=c.Symbol;if(f&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var x={},E=function(){var N=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),H=this instanceof E?new b(N):N===void 0?b():b(N);return N===""&&(x[H]=!0),H};m(E,b);var P=E.prototype=b.prototype;P.constructor=E;var B=P.toString,L=String(b("test"))=="Symbol(test)",F=/^Symbol\((.*)\)[^)]+$/;g(P,"description",{configurable:!0,get:function(){var N=h(this)?this.valueOf():this,H=B.call(N);if(p(x,N))return"";var Q=L?H.slice(7,-1):H.replace(F,"$1");return Q===""?void 0:Q}}),u({global:!0,forced:!0},{Symbol:E})}},e163:function(r,i,o){var u=o("5135"),f=o("7b0b"),c=o("f772"),p=o("e177"),h=c("IE_PROTO"),g=Object.prototype;r.exports=p?Object.getPrototypeOf:function(m){return m=f(m),u(m,h)?m[h]:typeof m.constructor=="function"&&m instanceof m.constructor?m.constructor.prototype:m instanceof Object?g:null}},e177:function(r,i,o){var u=o("d039");r.exports=!u(function(){function f(){}return f.prototype.constructor=null,Object.getPrototypeOf(new f)!==f.prototype})},e260:function(r,i,o){var u=o("fc6a"),f=o("44d2"),c=o("3f8c"),p=o("69f3"),h=o("7dd0"),g="Array Iterator",m=p.set,b=p.getterFor(g);r.exports=h(Array,"Array",function(x,E){m(this,{type:g,target:u(x),index:0,kind:E})},function(){var x=b(this),E=x.target,P=x.kind,B=x.index++;return!E||B>=E.length?(x.target=void 0,{value:void 0,done:!0}):P=="keys"?{value:B,done:!1}:P=="values"?{value:E[B],done:!1}:{value:[B,E[B]],done:!1}},"values"),c.Arguments=c.Array,f("keys"),f("values"),f("entries")},e439:function(r,i,o){var u=o("23e7"),f=o("d039"),c=o("fc6a"),p=o("06cf").f,h=o("83ab"),g=f(function(){p(1)}),m=!h||g;u({target:"Object",stat:!0,forced:m,sham:!h},{getOwnPropertyDescriptor:function(x,E){return p(c(x),E)}})},e538:function(r,i,o){var u=o("b622");i.f=u},e893:function(r,i,o){var u=o("5135"),f=o("56ef"),c=o("06cf"),p=o("9bf2");r.exports=function(h,g){for(var m=f(g),b=p.f,x=c.f,E=0;E<m.length;E++){var P=m[E];u(h,P)||b(h,P,x(g,P))}}},e8b5:function(r,i,o){var u=o("c6b6");r.exports=Array.isArray||function(c){return u(c)=="Array"}},e95a:function(r,i,o){var u=o("b622"),f=o("3f8c"),c=u("iterator"),p=Array.prototype;r.exports=function(h){return h!==void 0&&(f.Array===h||p[c]===h)}},f5df:function(r,i,o){var u=o("00ee"),f=o("c6b6"),c=o("b622"),p=c("toStringTag"),h=f(function(){return arguments}())=="Arguments",g=function(m,b){try{return m[b]}catch{}};r.exports=u?f:function(m){var b,x,E;return m===void 0?"Undefined":m===null?"Null":typeof(x=g(b=Object(m),p))=="string"?x:h?f(b):(E=f(b))=="Object"&&typeof b.callee=="function"?"Arguments":E}},f772:function(r,i,o){var u=o("5692"),f=o("90e3"),c=u("keys");r.exports=function(p){return c[p]||(c[p]=f(p))}},fae3:function(r,i,o){if(o.r(i),o.d(i,"Splitpanes",function(){return q}),o.d(i,"Pane",function(){return _}),typeof window!="undefined"){var u=window.document.currentScript;{var f=o("8875");u=f(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:f})}var c=u&&u.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(o.p=c[1])}o("b64b"),o("a4d3"),o("4de4"),o("e439"),o("159b"),o("dbb4");function p(O,k,w){return k in O?Object.defineProperty(O,k,{value:w,enumerable:!0,configurable:!0,writable:!0}):O[k]=w,O}function h(O,k){var w=Object.keys(O);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(O);k&&(j=j.filter(function(W){return Object.getOwnPropertyDescriptor(O,W).enumerable})),w.push.apply(w,j)}return w}function g(O){for(var k=1;k<arguments.length;k++){var w=arguments[k]!=null?arguments[k]:{};k%2?h(Object(w),!0).forEach(function(j){p(O,j,w[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(w)):h(Object(w)).forEach(function(j){Object.defineProperty(O,j,Object.getOwnPropertyDescriptor(w,j))})}return O}function m(O){if(Array.isArray(O))return O}o("e01a"),o("d3b7"),o("d28b"),o("e260"),o("3ca3"),o("ddb0");function b(O,k){var w=O==null?null:typeof Symbol!="undefined"&&O[Symbol.iterator]||O["@@iterator"];if(w!=null){var j=[],W=!0,Y=!1,ue,he;try{for(w=w.call(O);!(W=(ue=w.next()).done)&&(j.push(ue.value),!(k&&j.length===k));W=!0);}catch(je){Y=!0,he=je}finally{try{!W&&w.return!=null&&w.return()}finally{if(Y)throw he}}return j}}o("fb6a"),o("b0c0"),o("a630");function x(O,k){(k==null||k>O.length)&&(k=O.length);for(var w=0,j=new Array(k);w<k;w++)j[w]=O[w];return j}function E(O,k){if(!!O){if(typeof O=="string")return x(O,k);var w=Object.prototype.toString.call(O).slice(8,-1);if(w==="Object"&&O.constructor&&(w=O.constructor.name),w==="Map"||w==="Set")return Array.from(O);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return x(O,k)}}function P(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
40
40
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(O,k){return m(O)||b(O,k)||E(O,k)||P()}function L(O,k){if(O==null)return{};var w={},j=Object.keys(O),W,Y;for(Y=0;Y<j.length;Y++)W=j[Y],!(k.indexOf(W)>=0)&&(w[W]=O[W]);return w}function F(O,k){if(O==null)return{};var w=L(O,k),j,W;if(Object.getOwnPropertySymbols){var Y=Object.getOwnPropertySymbols(O);for(W=0;W<Y.length;W++)j=Y[W],!(k.indexOf(j)>=0)&&(!Object.prototype.propertyIsEnumerable.call(O,j)||(w[j]=O[j]))}return w}function M(O){if(Array.isArray(O))return x(O)}function N(O){if(typeof Symbol!="undefined"&&O[Symbol.iterator]!=null||O["@@iterator"]!=null)return Array.from(O)}function H(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
41
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q(O){return M(O)||N(O)||E(O)||H()}o("d81d"),o("7db0"),o("caad"),o("2532"),o("4fad"),o("a434"),o("c740");var J=o("8bbf"),K=["target"],U={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide:function(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:function(){return{container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}},computed:{panesCount:function(){return this.panes.length},indexedPanes:function(){return this.panes.reduce(function(k,w){return(k[w.id]=w)&&k},{})}},methods:{updatePaneComponents:function(){var k=this;this.panes.forEach(function(w){w.update&&w.update(p({},k.horizontal?"height":"width","".concat(k.indexedPanes[w.id].size,"%")))})},bindEvents:function(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents:function(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown:function(k,w){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=w},onMouseMove:function(k){this.touch.mouseDown&&(k.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(k)),this.$emit("resize",this.panes.map(function(w){return{min:w.min,max:w.max,size:w.size}})))},onMouseUp:function(){var k=this;this.touch.dragging&&this.$emit("resized",this.panes.map(function(w){return{min:w.min,max:w.max,size:w.size}})),this.touch.mouseDown=!1,setTimeout(function(){k.touch.dragging=!1,k.unbindEvents()},100)},onSplitterClick:function(k,w){var j=this;"ontouchstart"in window&&(k.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===w?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(k,w),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=w,this.splitterTaps.timeoutId=setTimeout(function(){j.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[w])},onSplitterDblClick:function(k,w){var j=0;this.panes=this.panes.map(function(W,Y){return W.size=Y===w?W.max:W.min,Y!==w&&(j+=W.min),W}),this.panes[w].size-=j,this.$emit("pane-maximize",this.panes[w])},onPaneClick:function(k,w){this.$emit("pane-click",this.indexedPanes[w])},getCurrentMouseDrag:function(k){var w=this.container.getBoundingClientRect(),j="ontouchstart"in window&&k.touches?k.touches[0]:k,W=j.clientX,Y=j.clientY;return{x:W-w.left,y:Y-w.top}},getCurrentDragPercentage:function(k){k=k[this.horizontal?"y":"x"];var w=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(k=w-k),k*100/w},calculatePanesSize:function(k){var w=this.touch.activeSplitter,j={prevPanesSize:this.sumPrevPanesSize(w),nextPanesSize:this.sumNextPanesSize(w),prevReachedMinPanes:0,nextReachedMinPanes:0},W=0+(this.pushOtherPanes?0:j.prevPanesSize),Y=100-(this.pushOtherPanes?0:j.nextPanesSize),ue=Math.max(Math.min(this.getCurrentDragPercentage(k),Y),W),he=[w,w+1],je=this.panes[he[0]]||null,We=this.panes[he[1]]||null,Ke=je.max<100&&ue>=je.max+j.prevPanesSize,Xe=We.max<100&&ue<=100-(We.max+this.sumNextPanesSize(w+1));if(Ke||Xe){Ke?(je.size=je.max,We.size=Math.max(100-je.max-j.prevPanesSize-j.nextPanesSize,0)):(je.size=Math.max(100-We.max-j.prevPanesSize-this.sumNextPanesSize(w+1),0),We.size=We.max);return}if(this.pushOtherPanes){var ie=this.doPushOtherPanes(j,ue);if(!ie)return;j=ie.sums,he=ie.panesToResize,je=this.panes[he[0]]||null,We=this.panes[he[1]]||null}je!==null&&(je.size=Math.min(Math.max(ue-j.prevPanesSize-j.prevReachedMinPanes,je.min),je.max)),We!==null&&(We.size=Math.min(Math.max(100-ue-j.nextPanesSize-j.nextReachedMinPanes,We.min),We.max))},doPushOtherPanes:function(k,w){var j=this,W=this.touch.activeSplitter,Y=[W,W+1];return w<k.prevPanesSize+this.panes[Y[0]].min&&(Y[0]=this.findPrevExpandedPane(W).index,k.prevReachedMinPanes=0,Y[0]<W&&this.panes.forEach(function(ue,he){he>Y[0]&&he<=W&&(ue.size=ue.min,k.prevReachedMinPanes+=ue.min)}),k.prevPanesSize=this.sumPrevPanesSize(Y[0]),Y[0]===void 0)?(k.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach(function(ue,he){he>0&&he<=W&&(ue.size=ue.min,k.prevReachedMinPanes+=ue.min)}),this.panes[Y[1]].size=100-k.prevReachedMinPanes-this.panes[0].min-k.prevPanesSize-k.nextPanesSize,null):w>100-k.nextPanesSize-this.panes[Y[1]].min&&(Y[1]=this.findNextExpandedPane(W).index,k.nextReachedMinPanes=0,Y[1]>W+1&&this.panes.forEach(function(ue,he){he>W&&he<Y[1]&&(ue.size=ue.min,k.nextReachedMinPanes+=ue.min)}),k.nextPanesSize=this.sumNextPanesSize(Y[1]-1),Y[1]===void 0)?(k.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach(function(ue,he){he<j.panesCount-1&&he>=W+1&&(ue.size=ue.min,k.nextReachedMinPanes+=ue.min)}),this.panes[Y[0]].size=100-k.prevPanesSize-k.nextReachedMinPanes-this.panes[this.panesCount-1].min-k.nextPanesSize,null):{sums:k,panesToResize:Y}},sumPrevPanesSize:function(k){return this.panes.reduce(function(w,j,W){return w+(W<k?j.size:0)},0)},sumNextPanesSize:function(k){return this.panes.reduce(function(w,j,W){return w+(W>k+1?j.size:0)},0)},findPrevExpandedPane:function(k){var w=Q(this.panes).reverse().find(function(j){return j.index<k&&j.size>j.min});return w||{}},findNextExpandedPane:function(k){var w=this.panes.find(function(j){return j.index>k+1&&j.size>j.min});return w||{}},checkSplitpanesNodes:function(){var k=Array.from(this.container.children);k.forEach(function(w){var j=w.classList.contains("splitpanes__pane"),W=w.classList.contains("splitpanes__splitter");if(!j&&!W){w.parentNode.removeChild(w),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.");return}})},addSplitter:function(k,w){var j=this,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Y=k-1,ue=document.createElement("div");ue.classList.add("splitpanes__splitter"),W||(ue.onmousedown=function(he){return j.onMouseDown(he,Y)},typeof window!="undefined"&&"ontouchstart"in window&&(ue.ontouchstart=function(he){return j.onMouseDown(he,Y)}),ue.onclick=function(he){return j.onSplitterClick(he,Y+1)}),this.dblClickSplitter&&(ue.ondblclick=function(he){return j.onSplitterDblClick(he,Y+1)}),w.parentNode.insertBefore(ue,w)},removeSplitter:function(k){k.onmousedown=void 0,k.onclick=void 0,k.ondblclick=void 0,k.parentNode.removeChild(k)},redoSplitters:function(){var k=this,w=Array.from(this.container.children);w.forEach(function(W){W.className.includes("splitpanes__splitter")&&k.removeSplitter(W)});var j=0;w.forEach(function(W){W.className.includes("splitpanes__pane")&&(!j&&k.firstSplitter?k.addSplitter(j,W,!0):j&&k.addSplitter(j,W),j++)})},requestUpdate:function(k){var w=k.target,j=F(k,K),W=this.indexedPanes[w._.uid];Object.entries(j).forEach(function(Y){var ue=B(Y,2),he=ue[0],je=ue[1];return W[he]=je})},onPaneAdd:function(k){var w=this,j=-1;Array.from(k.$el.parentNode.children).some(function(ue){return ue.className.includes("splitpanes__pane")&&j++,ue===k.$el});var W=parseFloat(k.minSize),Y=parseFloat(k.maxSize);this.panes.splice(j,0,{id:k._.uid,index:j,min:isNaN(W)?0:W,max:isNaN(Y)?100:Y,size:k.size===null?null:parseFloat(k.size),givenSize:k.size,update:k.update}),this.panes.forEach(function(ue,he){return ue.index=he}),this.ready&&this.$nextTick(function(){w.redoSplitters(),w.resetPaneSizes({addedPane:w.panes[j]}),w.$emit("pane-add",{index:j,panes:w.panes.map(function(ue){return{min:ue.min,max:ue.max,size:ue.size}})})})},onPaneRemove:function(k){var w=this,j=this.panes.findIndex(function(Y){return Y.id===k._.uid}),W=this.panes.splice(j,1)[0];this.panes.forEach(function(Y,ue){return Y.index=ue}),this.$nextTick(function(){w.redoSplitters(),w.resetPaneSizes({removedPane:g(g({},W),{},{index:j})}),w.$emit("pane-remove",{removed:W,panes:w.panes.map(function(Y){return{min:Y.min,max:Y.max,size:Y.size}})})})},resetPaneSizes:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};!k.addedPane&&!k.removedPane?this.initialPanesSizing():this.panes.some(function(w){return w.givenSize!==null||w.min||w.max<100})?this.equalizeAfterAddOrRemove(k):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(function(w){return{min:w.min,max:w.max,size:w.size}}))},equalize:function(){var k=100/this.panesCount,w=0,j=[],W=[];this.panes.forEach(function(Y){Y.size=Math.max(Math.min(k,Y.max),Y.min),w-=Y.size,Y.size>=Y.max&&j.push(Y.id),Y.size<=Y.min&&W.push(Y.id)}),w>.1&&this.readjustSizes(w,j,W)},initialPanesSizing:function(){var k=this;100/this.panesCount;var w=100,j=[],W=[],Y=0;this.panes.forEach(function(he){w-=he.size,he.size!==null&&Y++,he.size>=he.max&&j.push(he.id),he.size<=he.min&&W.push(he.id)});var ue=100;w>.1&&(this.panes.forEach(function(he){he.size===null&&(he.size=Math.max(Math.min(w/(k.panesCount-Y),he.max),he.min)),ue-=he.size}),ue>.1&&this.readjustSizes(w,j,W))},equalizeAfterAddOrRemove:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=k.addedPane;k.removedPane;var j=100/this.panesCount,W=0,Y=[],ue=[];w&&w.givenSize!==null&&(j=(100-w.givenSize)/(this.panesCount-1)),this.panes.forEach(function(he){W-=he.size,he.size>=he.max&&Y.push(he.id),he.size<=he.min&&ue.push(he.id)}),!(Math.abs(W)<.1)&&(this.panes.forEach(function(he){w&&w.givenSize!==null&&w.id===he.id||(he.size=Math.max(Math.min(j,he.max),he.min)),W-=he.size,he.size>=he.max&&Y.push(he.id),he.size<=he.min&&ue.push(he.id)}),W>.1&&this.readjustSizes(W,Y,ue))},readjustSizes:function(k,w,j){var W=this,Y;k>0?Y=k/(this.panesCount-w.length):Y=k/(this.panesCount-j.length),this.panes.forEach(function(ue,he){if(k>0&&!w.includes(ue.id)){var je=Math.max(Math.min(ue.size+Y,ue.max),ue.min),We=je-ue.size;k-=We,ue.size=je}else if(!j.includes(ue.id)){var Ke=Math.max(Math.min(ue.size+Y,ue.max),ue.min),Xe=Ke-ue.size;k-=Xe,ue.size=Ke}ue.update(p({},W.horizontal?"height":"width","".concat(W.indexedPanes[ue.id].size,"%")))}),Math.abs(k)>.1&&this.$nextTick(function(){W.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler:function(){this.updatePaneComponents()}},horizontal:function(){this.updatePaneComponents()},firstSplitter:function(){this.redoSplitters()},dblClickSplitter:function(k){var w=this,j=Q(this.container.querySelectorAll(".splitpanes__splitter"));j.forEach(function(W,Y){W.ondblclick=k?function(ue){return w.onSplitterDblClick(ue,Y)}:void 0})}},beforeUnmount:function(){this.ready=!1},mounted:function(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render:function(){return Object(J.h)("div",{ref:"container",class:["splitpanes","splitpanes--".concat(this.horizontal?"horizontal":"vertical"),{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};o("c14f");var q=U;function te(O,k,w,j,W,Y){return Object(J.openBlock)(),Object(J.createBlock)("div",{class:"splitpanes__pane",onClick:k[1]||(k[1]=function(ue){return Y.onPaneClick(ue,O._.uid)}),style:O.style},[Object(J.renderSlot)(O.$slots,"default")],4)}o("a9e3");var ee={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:function(){return{style:{}}},mounted:function(){this.onPaneAdd(this)},beforeUnmount:function(){this.onPaneRemove(this)},methods:{update:function(k){this.style=k}},computed:{sizeNumber:function(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber:function(){return parseFloat(this.minSize)},maxSizeNumber:function(){return parseFloat(this.maxSize)}},watch:{sizeNumber:function(k){this.requestUpdate({target:this,size:k})},minSizeNumber:function(k){this.requestUpdate({target:this,min:k})},maxSizeNumber:function(k){this.requestUpdate({target:this,max:k})}}};ee.render=te;var _=ee},fb6a:function(r,i,o){var u=o("23e7"),f=o("861d"),c=o("e8b5"),p=o("23cb"),h=o("50c4"),g=o("fc6a"),m=o("8418"),b=o("b622"),x=o("1dde"),E=x("slice"),P=b("species"),B=[].slice,L=Math.max;u({target:"Array",proto:!0,forced:!E},{slice:function(M,N){var H=g(this),Q=h(H.length),J=p(M,Q),K=p(N===void 0?Q:N,Q),U,q,te;if(c(H)&&(U=H.constructor,typeof U=="function"&&(U===Array||c(U.prototype))?U=void 0:f(U)&&(U=U[P],U===null&&(U=void 0)),U===Array||U===void 0))return B.call(H,J,K);for(q=new(U===void 0?Array:U)(L(K-J,0)),te=0;J<K;J++,te++)J in H&&m(q,te,H[J]);return q.length=te,q}})},fc6a:function(r,i,o){var u=o("44ad"),f=o("1d80");r.exports=function(c){return u(f(c))}},fdbc:function(r,i){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(r,i,o){var u=o("4930");r.exports=u&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})})(EC);export{hE as A,EC as B,yE as C,Gw as D,SE as E,Yt as F,bE as G,f1 as H,Mt as I,Xp as J,pE as K,ya as a,Yf as b,gx as c,Ps as d,wx as e,vc as f,vE as g,sr as h,Ct as i,dE as j,bx as k,gt as l,kf as m,Bs as n,co as o,Xf as p,Gf as q,At as r,io as s,Sp as t,mE as u,xE as v,gr as w,dx as x,Sx as y,gE as z};
41
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Q(O){return M(O)||N(O)||E(O)||H()}o("d81d"),o("7db0"),o("caad"),o("2532"),o("4fad"),o("a434"),o("c740");var J=o("8bbf"),K=["target"],U={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide:function(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:function(){return{container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}},computed:{panesCount:function(){return this.panes.length},indexedPanes:function(){return this.panes.reduce(function(k,w){return(k[w.id]=w)&&k},{})}},methods:{updatePaneComponents:function(){var k=this;this.panes.forEach(function(w){w.update&&w.update(p({},k.horizontal?"height":"width","".concat(k.indexedPanes[w.id].size,"%")))})},bindEvents:function(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents:function(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown:function(k,w){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=w},onMouseMove:function(k){this.touch.mouseDown&&(k.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(k)),this.$emit("resize",this.panes.map(function(w){return{min:w.min,max:w.max,size:w.size}})))},onMouseUp:function(){var k=this;this.touch.dragging&&this.$emit("resized",this.panes.map(function(w){return{min:w.min,max:w.max,size:w.size}})),this.touch.mouseDown=!1,setTimeout(function(){k.touch.dragging=!1,k.unbindEvents()},100)},onSplitterClick:function(k,w){var j=this;"ontouchstart"in window&&(k.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===w?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(k,w),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=w,this.splitterTaps.timeoutId=setTimeout(function(){j.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[w])},onSplitterDblClick:function(k,w){var j=0;this.panes=this.panes.map(function(W,Y){return W.size=Y===w?W.max:W.min,Y!==w&&(j+=W.min),W}),this.panes[w].size-=j,this.$emit("pane-maximize",this.panes[w])},onPaneClick:function(k,w){this.$emit("pane-click",this.indexedPanes[w])},getCurrentMouseDrag:function(k){var w=this.container.getBoundingClientRect(),j="ontouchstart"in window&&k.touches?k.touches[0]:k,W=j.clientX,Y=j.clientY;return{x:W-w.left,y:Y-w.top}},getCurrentDragPercentage:function(k){k=k[this.horizontal?"y":"x"];var w=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(k=w-k),k*100/w},calculatePanesSize:function(k){var w=this.touch.activeSplitter,j={prevPanesSize:this.sumPrevPanesSize(w),nextPanesSize:this.sumNextPanesSize(w),prevReachedMinPanes:0,nextReachedMinPanes:0},W=0+(this.pushOtherPanes?0:j.prevPanesSize),Y=100-(this.pushOtherPanes?0:j.nextPanesSize),ue=Math.max(Math.min(this.getCurrentDragPercentage(k),Y),W),he=[w,w+1],je=this.panes[he[0]]||null,We=this.panes[he[1]]||null,Ke=je.max<100&&ue>=je.max+j.prevPanesSize,Xe=We.max<100&&ue<=100-(We.max+this.sumNextPanesSize(w+1));if(Ke||Xe){Ke?(je.size=je.max,We.size=Math.max(100-je.max-j.prevPanesSize-j.nextPanesSize,0)):(je.size=Math.max(100-We.max-j.prevPanesSize-this.sumNextPanesSize(w+1),0),We.size=We.max);return}if(this.pushOtherPanes){var ie=this.doPushOtherPanes(j,ue);if(!ie)return;j=ie.sums,he=ie.panesToResize,je=this.panes[he[0]]||null,We=this.panes[he[1]]||null}je!==null&&(je.size=Math.min(Math.max(ue-j.prevPanesSize-j.prevReachedMinPanes,je.min),je.max)),We!==null&&(We.size=Math.min(Math.max(100-ue-j.nextPanesSize-j.nextReachedMinPanes,We.min),We.max))},doPushOtherPanes:function(k,w){var j=this,W=this.touch.activeSplitter,Y=[W,W+1];return w<k.prevPanesSize+this.panes[Y[0]].min&&(Y[0]=this.findPrevExpandedPane(W).index,k.prevReachedMinPanes=0,Y[0]<W&&this.panes.forEach(function(ue,he){he>Y[0]&&he<=W&&(ue.size=ue.min,k.prevReachedMinPanes+=ue.min)}),k.prevPanesSize=this.sumPrevPanesSize(Y[0]),Y[0]===void 0)?(k.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach(function(ue,he){he>0&&he<=W&&(ue.size=ue.min,k.prevReachedMinPanes+=ue.min)}),this.panes[Y[1]].size=100-k.prevReachedMinPanes-this.panes[0].min-k.prevPanesSize-k.nextPanesSize,null):w>100-k.nextPanesSize-this.panes[Y[1]].min&&(Y[1]=this.findNextExpandedPane(W).index,k.nextReachedMinPanes=0,Y[1]>W+1&&this.panes.forEach(function(ue,he){he>W&&he<Y[1]&&(ue.size=ue.min,k.nextReachedMinPanes+=ue.min)}),k.nextPanesSize=this.sumNextPanesSize(Y[1]-1),Y[1]===void 0)?(k.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach(function(ue,he){he<j.panesCount-1&&he>=W+1&&(ue.size=ue.min,k.nextReachedMinPanes+=ue.min)}),this.panes[Y[0]].size=100-k.prevPanesSize-k.nextReachedMinPanes-this.panes[this.panesCount-1].min-k.nextPanesSize,null):{sums:k,panesToResize:Y}},sumPrevPanesSize:function(k){return this.panes.reduce(function(w,j,W){return w+(W<k?j.size:0)},0)},sumNextPanesSize:function(k){return this.panes.reduce(function(w,j,W){return w+(W>k+1?j.size:0)},0)},findPrevExpandedPane:function(k){var w=Q(this.panes).reverse().find(function(j){return j.index<k&&j.size>j.min});return w||{}},findNextExpandedPane:function(k){var w=this.panes.find(function(j){return j.index>k+1&&j.size>j.min});return w||{}},checkSplitpanesNodes:function(){var k=Array.from(this.container.children);k.forEach(function(w){var j=w.classList.contains("splitpanes__pane"),W=w.classList.contains("splitpanes__splitter");if(!j&&!W){w.parentNode.removeChild(w),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.");return}})},addSplitter:function(k,w){var j=this,W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Y=k-1,ue=document.createElement("div");ue.classList.add("splitpanes__splitter"),W||(ue.onmousedown=function(he){return j.onMouseDown(he,Y)},typeof window!="undefined"&&"ontouchstart"in window&&(ue.ontouchstart=function(he){return j.onMouseDown(he,Y)}),ue.onclick=function(he){return j.onSplitterClick(he,Y+1)}),this.dblClickSplitter&&(ue.ondblclick=function(he){return j.onSplitterDblClick(he,Y+1)}),w.parentNode.insertBefore(ue,w)},removeSplitter:function(k){k.onmousedown=void 0,k.onclick=void 0,k.ondblclick=void 0,k.parentNode.removeChild(k)},redoSplitters:function(){var k=this,w=Array.from(this.container.children);w.forEach(function(W){W.className.includes("splitpanes__splitter")&&k.removeSplitter(W)});var j=0;w.forEach(function(W){W.className.includes("splitpanes__pane")&&(!j&&k.firstSplitter?k.addSplitter(j,W,!0):j&&k.addSplitter(j,W),j++)})},requestUpdate:function(k){var w=k.target,j=F(k,K),W=this.indexedPanes[w._.uid];Object.entries(j).forEach(function(Y){var ue=B(Y,2),he=ue[0],je=ue[1];return W[he]=je})},onPaneAdd:function(k){var w=this,j=-1;Array.from(k.$el.parentNode.children).some(function(ue){return ue.className.includes("splitpanes__pane")&&j++,ue===k.$el});var W=parseFloat(k.minSize),Y=parseFloat(k.maxSize);this.panes.splice(j,0,{id:k._.uid,index:j,min:isNaN(W)?0:W,max:isNaN(Y)?100:Y,size:k.size===null?null:parseFloat(k.size),givenSize:k.size,update:k.update}),this.panes.forEach(function(ue,he){return ue.index=he}),this.ready&&this.$nextTick(function(){w.redoSplitters(),w.resetPaneSizes({addedPane:w.panes[j]}),w.$emit("pane-add",{index:j,panes:w.panes.map(function(ue){return{min:ue.min,max:ue.max,size:ue.size}})})})},onPaneRemove:function(k){var w=this,j=this.panes.findIndex(function(Y){return Y.id===k._.uid}),W=this.panes.splice(j,1)[0];this.panes.forEach(function(Y,ue){return Y.index=ue}),this.$nextTick(function(){w.redoSplitters(),w.resetPaneSizes({removedPane:g(g({},W),{},{index:j})}),w.$emit("pane-remove",{removed:W,panes:w.panes.map(function(Y){return{min:Y.min,max:Y.max,size:Y.size}})})})},resetPaneSizes:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};!k.addedPane&&!k.removedPane?this.initialPanesSizing():this.panes.some(function(w){return w.givenSize!==null||w.min||w.max<100})?this.equalizeAfterAddOrRemove(k):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(function(w){return{min:w.min,max:w.max,size:w.size}}))},equalize:function(){var k=100/this.panesCount,w=0,j=[],W=[];this.panes.forEach(function(Y){Y.size=Math.max(Math.min(k,Y.max),Y.min),w-=Y.size,Y.size>=Y.max&&j.push(Y.id),Y.size<=Y.min&&W.push(Y.id)}),w>.1&&this.readjustSizes(w,j,W)},initialPanesSizing:function(){var k=this;100/this.panesCount;var w=100,j=[],W=[],Y=0;this.panes.forEach(function(he){w-=he.size,he.size!==null&&Y++,he.size>=he.max&&j.push(he.id),he.size<=he.min&&W.push(he.id)});var ue=100;w>.1&&(this.panes.forEach(function(he){he.size===null&&(he.size=Math.max(Math.min(w/(k.panesCount-Y),he.max),he.min)),ue-=he.size}),ue>.1&&this.readjustSizes(w,j,W))},equalizeAfterAddOrRemove:function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},w=k.addedPane;k.removedPane;var j=100/this.panesCount,W=0,Y=[],ue=[];w&&w.givenSize!==null&&(j=(100-w.givenSize)/(this.panesCount-1)),this.panes.forEach(function(he){W-=he.size,he.size>=he.max&&Y.push(he.id),he.size<=he.min&&ue.push(he.id)}),!(Math.abs(W)<.1)&&(this.panes.forEach(function(he){w&&w.givenSize!==null&&w.id===he.id||(he.size=Math.max(Math.min(j,he.max),he.min)),W-=he.size,he.size>=he.max&&Y.push(he.id),he.size<=he.min&&ue.push(he.id)}),W>.1&&this.readjustSizes(W,Y,ue))},readjustSizes:function(k,w,j){var W=this,Y;k>0?Y=k/(this.panesCount-w.length):Y=k/(this.panesCount-j.length),this.panes.forEach(function(ue,he){if(k>0&&!w.includes(ue.id)){var je=Math.max(Math.min(ue.size+Y,ue.max),ue.min),We=je-ue.size;k-=We,ue.size=je}else if(!j.includes(ue.id)){var Ke=Math.max(Math.min(ue.size+Y,ue.max),ue.min),Xe=Ke-ue.size;k-=Xe,ue.size=Ke}ue.update(p({},W.horizontal?"height":"width","".concat(W.indexedPanes[ue.id].size,"%")))}),Math.abs(k)>.1&&this.$nextTick(function(){W.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler:function(){this.updatePaneComponents()}},horizontal:function(){this.updatePaneComponents()},firstSplitter:function(){this.redoSplitters()},dblClickSplitter:function(k){var w=this,j=Q(this.container.querySelectorAll(".splitpanes__splitter"));j.forEach(function(W,Y){W.ondblclick=k?function(ue){return w.onSplitterDblClick(ue,Y)}:void 0})}},beforeUnmount:function(){this.ready=!1},mounted:function(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render:function(){return Object(J.h)("div",{ref:"container",class:["splitpanes","splitpanes--".concat(this.horizontal?"horizontal":"vertical"),{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}};o("c14f");var q=U;function te(O,k,w,j,W,Y){return Object(J.openBlock)(),Object(J.createBlock)("div",{class:"splitpanes__pane",onClick:k[1]||(k[1]=function(ue){return Y.onPaneClick(ue,O._.uid)}),style:O.style},[Object(J.renderSlot)(O.$slots,"default")],4)}o("a9e3");var ee={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:function(){return{style:{}}},mounted:function(){this.onPaneAdd(this)},beforeUnmount:function(){this.onPaneRemove(this)},methods:{update:function(k){this.style=k}},computed:{sizeNumber:function(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber:function(){return parseFloat(this.minSize)},maxSizeNumber:function(){return parseFloat(this.maxSize)}},watch:{sizeNumber:function(k){this.requestUpdate({target:this,size:k})},minSizeNumber:function(k){this.requestUpdate({target:this,min:k})},maxSizeNumber:function(k){this.requestUpdate({target:this,max:k})}}};ee.render=te;var _=ee},fb6a:function(r,i,o){var u=o("23e7"),f=o("861d"),c=o("e8b5"),p=o("23cb"),h=o("50c4"),g=o("fc6a"),m=o("8418"),b=o("b622"),x=o("1dde"),E=x("slice"),P=b("species"),B=[].slice,L=Math.max;u({target:"Array",proto:!0,forced:!E},{slice:function(M,N){var H=g(this),Q=h(H.length),J=p(M,Q),K=p(N===void 0?Q:N,Q),U,q,te;if(c(H)&&(U=H.constructor,typeof U=="function"&&(U===Array||c(U.prototype))?U=void 0:f(U)&&(U=U[P],U===null&&(U=void 0)),U===Array||U===void 0))return B.call(H,J,K);for(q=new(U===void 0?Array:U)(L(K-J,0)),te=0;J<K;J++,te++)J in H&&m(q,te,H[J]);return q.length=te,q}})},fc6a:function(r,i,o){var u=o("44ad"),f=o("1d80");r.exports=function(c){return u(f(c))}},fdbc:function(r,i){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(r,i,o){var u=o("4930");r.exports=u&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})})(kC);export{gE as A,kC as B,SE as C,Jw as D,wE as E,Yt as F,xE as G,d1 as H,Mt as I,Xp as J,vE as K,Sa as a,Yf as b,yx as c,Ms as d,Ex as e,vc as f,yE as g,sr as h,Ct as i,pE as j,wx as k,gt as l,kf as m,Ws as n,co as o,Xf as p,Gf as q,Ft as r,io as s,Sp as t,bE as u,CE as v,gr as w,gx as x,Cx as y,mE as z};