const ac="contacts",hp="8.4.0",ti=globalThis||void 0||self;function ut(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const me={},Sn=[],ht=()=>{},Di=()=>!1,tr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Xo=e=>e.startsWith("onUpdate:"),_e=Object.assign,Yo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mp=Object.prototype.hasOwnProperty,be=(e,t)=>mp.call(e,t),Q=Array.isArray,On=e=>Pn(e)==="[object Map]",yn=e=>Pn(e)==="[object Set]",ni=e=>Pn(e)==="[object Date]",lc=e=>Pn(e)==="[object RegExp]",se=e=>typeof e=="function",Se=e=>typeof e=="string",_t=e=>typeof e=="symbol",Ee=e=>e!==null&&typeof e=="object",Jo=e=>(Ee(e)||se(e))&&se(e.then)&&se(e.catch),Ui=Object.prototype.toString,Pn=e=>Ui.call(e),cc=e=>Pn(e).slice(8,-1),Vr=e=>Pn(e)==="[object Object]",zr=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=ut(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gp=ut("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Zo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yp=/-\w/g,He=Zo(e=>e.replace(yp,t=>t.slice(1).toUpperCase())),bp=/\B([A-Z])/g,Ye=Zo(e=>e.replace(bp,"-$1").toLowerCase()),nr=Zo(e=>e.charAt(0).toUpperCase()+e.slice(1)),zn=Zo(e=>e?`on${nr(e)}`:""),Ke=(e,t)=>!Object.is(e,t),An=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Gr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ir=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let ka;const qr=()=>ka||(ka=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof ti<"u"?ti:{}),Ep=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function vp(e){return Ep.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}function _p(e,t){return e+JSON.stringify(t,(n,r)=>typeof r=="function"?r.toString():r)}const wp={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},Tp={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},Sp={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},Op={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},Ap={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},Cp="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Bi=ut(Cp),Rp=Bi,Pa=2;function xp(e,t=0,n=e.length){if(t=Math.max(0,Math.min(t,e.length)),n=Math.max(0,Math.min(n,e.length)),t>n)return"";let r=e.split(/(\r?\n)/);const o=r.filter((u,c)=>c%2===1);r=r.filter((u,c)=>c%2===0);let s=0;const a=[];for(let u=0;u=t){for(let c=u-Pa;c<=u+Pa||n>s;c++){if(c<0||c>=r.length)continue;const p=c+1;a.push(`${p}${" ".repeat(Math.max(3-String(p).length,0))}| ${r[c]}`);const l=r[c].length,h=o[c]&&o[c].length||0;if(c===u){const _=t-(s-(l+h)),E=Math.max(1,n>s?l-_:n-t);a.push(" | "+" ".repeat(_)+"^".repeat(E))}else if(c>u){if(n>s){const _=Math.max(Math.min(n-s,l),1);a.push(" | "+"^".repeat(_))}s+=l+h}}break}return a.join(` `)}function rr(e){if(Q(e)){const t={};for(let n=0;n{if(n){const r=n.split(Ip);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function kp(e){if(!e)return"";if(Se(e))return e;let t="";for(const n in e){const r=e[n];if(Se(r)||typeof r=="number"){const o=n.startsWith("--")?n:Ye(n);t+=`${o}:${r};`}}return t}function or(e){let t="";if(Se(e))t=e;else if(Q(e))for(let n=0;n/="'\u0009\u000a\u000c\u0020]/,ws={};function zp(e){if(ws.hasOwnProperty(e))return ws[e];const t=Vp.test(e);return t&&console.error(`unsafe attribute name: ${e}`),ws[e]=!t}const Gp={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},qp=ut("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),Wp=ut("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),Kp=ut("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function Xp(e){if(e==null)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}const Yp=/["'&<>]/;function Jp(e){const t=""+e,n=Yp.exec(t);if(!n)return t;let r="",o,s,a=0;for(s=n.index;s||--!>|?@[\\\]^`{|}~]/g;function ed(e,t){return e.replace(hc,n=>t?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function td(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&rjt(n,t))}const mc=e=>!!(e&&e.__v_isRef===!0),ji=e=>Se(e)?e:e==null?"":Q(e)||Ee(e)&&(e.toString===Ui||!se(e.toString))?mc(e)?ji(e.value):JSON.stringify(e,gc,2):String(e),gc=(e,t)=>mc(t)?gc(e,t.value):On(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Ts(r,s)+" =>"]=o,n),{})}:yn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ts(n))}:_t(t)?Ts(t):Ee(t)&&!Q(t)&&!Vr(t)?String(t):t,Ts=(e,t="")=>{var n;return _t(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};function yc(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}const yb=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:Sn,EMPTY_OBJ:me,NO:Di,NOOP:ht,PatchFlagNames:Tp,PatchFlags:wp,ShapeFlags:Sp,SlotFlags:Op,camelize:He,capitalize:nr,cssVarNameEscapeSymbolsRE:hc,def:Fi,escapeHtml:Jp,escapeHtmlComment:Qp,extend:_e,genCacheKey:_p,genPropsAccessExp:vp,generateCodeFrame:xp,getEscapedCssVarName:ed,getGlobalThis:qr,hasChanged:Ke,hasOwn:be,hyphenate:Ye,includeBooleanAttr:$i,invokeArrayFns:An,isArray:Q,isBooleanAttr:Hp,isBuiltInDirective:gp,isDate:ni,isFunction:se,isGloballyAllowed:Bi,isGloballyWhitelisted:Rp,isHTMLTag:Fp,isIntegerKey:zr,isKnownHtmlAttr:qp,isKnownMathMLAttr:Kp,isKnownSvgAttr:Wp,isMap:On,isMathMLTag:$p,isModelListener:Xo,isObject:Ee,isOn:tr,isPlainObject:Vr,isPromise:Jo,isRegExp:lc,isRenderableAttrValue:Xp,isReservedProp:hn,isSSRSafeAttrName:zp,isSVGTag:Bp,isSet:yn,isSpecialBooleanAttr:dc,isString:Se,isSymbol:_t,isVoidTag:jp,looseEqual:jt,looseIndexOf:Wr,looseToNumber:Gr,makeMap:ut,normalizeClass:or,normalizeCssVarValue:yc,normalizeProps:fc,normalizeStyle:rr,objectToString:Ui,parseStringStyle:uc,propsToAttrMap:Gp,remove:Yo,slotFlagsText:Ap,stringifyStyle:kp,toDisplayString:ji,toHandlerKey:zn,toNumber:Ir,toRawType:cc,toTypeString:Pn},Symbol.toStringTag,{value:"Module"}));let We;class Hi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0&&(We=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(Tr){let t=Tr;for(Tr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wr;){let t=wr;for(wr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function _c(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wc(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Gi(r),od(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function ri(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Tc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Tc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kr)||(e.globalVersion=kr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ri(e))))return;e.flags|=2;const t=e.dep,n=Re,r=xt;Re=e,xt=!0;try{_c(e);const o=e.fn(e._value);(t.version===0||Ke(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Re=n,xt=r,wc(e),e.flags&=-3}}function Gi(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Gi(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function od(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function sd(e,t){e.effect instanceof Lr&&(e=e.effect.fn);const n=new Lr(e);t&&_e(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function id(e){e.effect.stop()}let xt=!0;const Sc=[];function nn(){Sc.push(xt),xt=!1}function rn(){const e=Sc.pop();xt=e===void 0?!0:e}function Ma(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Re;Re=void 0;try{t()}finally{Re=n}}}let kr=0;class ad{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Qo{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Re||!xt||Re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Re)n=this.activeLink=new ad(Re,this),Re.deps?(n.prevDep=Re.depsTail,Re.depsTail.nextDep=n,Re.depsTail=n):Re.deps=Re.depsTail=n,Oc(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Re.depsTail,n.nextDep=void 0,Re.depsTail.nextDep=n,Re.depsTail=n,Re.deps===n&&(Re.deps=r)}return n}trigger(t){this.version++,kr++,this.notify(t)}notify(t){Vi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{zi()}}}function Oc(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Oc(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const No=new WeakMap,Cn=Symbol(""),oi=Symbol(""),Pr=Symbol("");function Xe(e,t,n){if(xt&&Re){let r=No.get(e);r||No.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Qo),o.map=r,o.key=n),o.track()}}function Yt(e,t,n,r,o,s){const a=No.get(e);if(!a){kr++;return}const u=c=>{c&&c.trigger()};if(Vi(),t==="clear")a.forEach(u);else{const c=Q(e),p=c&&zr(n);if(c&&n==="length"){const l=Number(r);a.forEach((h,_)=>{(_==="length"||_===Pr||!_t(_)&&_>=l)&&u(h)})}else switch((n!==void 0||a.has(void 0))&&u(a.get(n)),p&&u(a.get(Pr)),t){case"add":c?p&&u(a.get("length")):(u(a.get(Cn)),On(e)&&u(a.get(oi)));break;case"delete":c||(u(a.get(Cn)),On(e)&&u(a.get(oi)));break;case"set":On(e)&&u(a.get(Cn));break}}zi()}function ld(e,t){const n=No.get(e);return n&&n.get(t)}function Un(e){const t=ye(e);return t===e?t:(Xe(t,"iterate",Pr),at(e)?t:t.map(Nt))}function es(e){return Xe(e=ye(e),"iterate",Pr),e}function fn(e,t){return Ht(e)?Mr(en(e)?Nt(t):t):Nt(t)}const cd={__proto__:null,[Symbol.iterator](){return Os(this,Symbol.iterator,e=>fn(this,e))},concat(...e){return Un(this).concat(...e.map(t=>Q(t)?Un(t):t))},entries(){return Os(this,"entries",e=>(e[1]=fn(this,e[1]),e))},every(e,t){return qt(this,"every",e,t,void 0,arguments)},filter(e,t){return qt(this,"filter",e,t,n=>n.map(r=>fn(this,r)),arguments)},find(e,t){return qt(this,"find",e,t,n=>fn(this,n),arguments)},findIndex(e,t){return qt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return qt(this,"findLast",e,t,n=>fn(this,n),arguments)},findLastIndex(e,t){return qt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return qt(this,"forEach",e,t,void 0,arguments)},includes(...e){return As(this,"includes",e)},indexOf(...e){return As(this,"indexOf",e)},join(e){return Un(this).join(e)},lastIndexOf(...e){return As(this,"lastIndexOf",e)},map(e,t){return qt(this,"map",e,t,void 0,arguments)},pop(){return lr(this,"pop")},push(...e){return lr(this,"push",e)},reduce(e,...t){return Da(this,"reduce",e,t)},reduceRight(e,...t){return Da(this,"reduceRight",e,t)},shift(){return lr(this,"shift")},some(e,t){return qt(this,"some",e,t,void 0,arguments)},splice(...e){return lr(this,"splice",e)},toReversed(){return Un(this).toReversed()},toSorted(e){return Un(this).toSorted(e)},toSpliced(...e){return Un(this).toSpliced(...e)},unshift(...e){return lr(this,"unshift",e)},values(){return Os(this,"values",e=>fn(this,e))}};function Os(e,t,n){const r=es(e),o=r[t]();return r!==e&&!at(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const ud=Array.prototype;function qt(e,t,n,r,o,s){const a=es(e),u=a!==e&&!at(e),c=a[t];if(c!==ud[t]){const h=c.apply(e,s);return u?Nt(h):h}let p=n;a!==e&&(u?p=function(h,_){return n.call(this,fn(e,h),_,e)}:n.length>2&&(p=function(h,_){return n.call(this,h,_,e)}));const l=c.call(a,p,r);return u&&o?o(l):l}function Da(e,t,n,r){const o=es(e);let s=n;return o!==e&&(at(e)?n.length>3&&(s=function(a,u,c){return n.call(this,a,u,c,e)}):s=function(a,u,c){return n.call(this,a,fn(e,u),c,e)}),o[t](s,...r)}function As(e,t,n){const r=ye(e);Xe(r,"iterate",Pr);const o=r[t](...n);return(o===-1||o===!1)&&Kr(n[0])?(n[0]=ye(n[0]),r[t](...n)):o}function lr(e,t,n=[]){nn(),Vi();const r=ye(e)[t].apply(e,n);return zi(),rn(),r}const fd=ut("__proto__,__v_isRef,__isVue"),Ac=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_t));function pd(e){_t(e)||(e=String(e));const t=ye(this);return Xe(t,"has",e),t.hasOwnProperty(e)}class Cc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?kc:Lc:s?Ic:Nc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Q(t);if(!o){let c;if(a&&(c=cd[n]))return c;if(n==="hasOwnProperty")return pd}const u=Reflect.get(t,n,Be(t)?t:r);if((_t(n)?Ac.has(n):fd(n))||(o||Xe(t,"get",n),s))return u;if(Be(u)){const c=a&&zr(n)?u:u.value;return o&&Ee(c)?Io(c):c}return Ee(u)?o?Io(u):ns(u):u}}class Rc extends Cc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const a=Q(t)&&zr(n);if(!this._isShallow){const p=Ht(s);if(!at(r)&&!Ht(r)&&(s=ye(s),r=ye(r)),!a&&Be(s)&&!Be(r))return p||(s.value=r),!0}const u=a?Number(n)e,so=e=>Reflect.getPrototypeOf(e);function yd(e,t,n){return function(...r){const o=this.__v_raw,s=ye(o),a=On(s),u=e==="entries"||e===Symbol.iterator&&a,c=e==="keys"&&a,p=o[e](...r),l=n?si:t?Mr:Nt;return!t&&Xe(s,"iterate",c?oi:Cn),_e(Object.create(p),{next(){const{value:h,done:_}=p.next();return _?{value:h,done:_}:{value:u?[l(h[0]),l(h[1])]:l(h),done:_}}})}}function io(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bd(e,t){const n={get(r){const o=this.__v_raw,s=ye(o),a=ye(r);e||(Ke(r,a)&&Xe(s,"get",r),Xe(s,"get",a));const{has:u}=so(s),c=t?si:e?Mr:Nt;if(u.call(s,r))return c(o.get(r));if(u.call(s,a))return c(o.get(a));o!==s&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Xe(ye(r),"iterate",Cn),r.size},has(r){const o=this.__v_raw,s=ye(o),a=ye(r);return e||(Ke(r,a)&&Xe(s,"has",r),Xe(s,"has",a)),r===a?o.has(r):o.has(r)||o.has(a)},forEach(r,o){const s=this,a=s.__v_raw,u=ye(a),c=t?si:e?Mr:Nt;return!e&&Xe(u,"iterate",Cn),a.forEach((p,l)=>r.call(o,c(p),c(l),s))}};return _e(n,e?{add:io("add"),set:io("set"),delete:io("delete"),clear:io("clear")}:{add(r){!t&&!at(r)&&!Ht(r)&&(r=ye(r));const o=ye(this);return so(o).has.call(o,r)||(o.add(r),Yt(o,"add",r,r)),this},set(r,o){!t&&!at(o)&&!Ht(o)&&(o=ye(o));const s=ye(this),{has:a,get:u}=so(s);let c=a.call(s,r);c||(r=ye(r),c=a.call(s,r));const p=u.call(s,r);return s.set(r,o),c?Ke(o,p)&&Yt(s,"set",r,o):Yt(s,"add",r,o),this},delete(r){const o=ye(this),{has:s,get:a}=so(o);let u=s.call(o,r);u||(r=ye(r),u=s.call(o,r)),a&&a.call(o,r);const c=o.delete(r);return u&&Yt(o,"delete",r,void 0),c},clear(){const r=ye(this),o=r.size!==0,s=r.clear();return o&&Yt(r,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=yd(r,e,t)}),n}function ts(e,t){const n=bd(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(be(n,o)&&o in r?n:r,o,s)}const Ed={get:ts(!1,!1)},vd={get:ts(!1,!0)},_d={get:ts(!0,!1)},wd={get:ts(!0,!0)},Nc=new WeakMap,Ic=new WeakMap,Lc=new WeakMap,kc=new WeakMap;function Td(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Sd(e){return e.__v_skip||!Object.isExtensible(e)?0:Td(cc(e))}function ns(e){return Ht(e)?e:rs(e,!1,dd,Ed,Nc)}function Pc(e){return rs(e,!1,md,vd,Ic)}function Io(e){return rs(e,!0,hd,_d,Lc)}function Od(e){return rs(e,!0,gd,wd,kc)}function rs(e,t,n,r,o){if(!Ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=Sd(e);if(s===0)return e;const a=o.get(e);if(a)return a;const u=new Proxy(e,s===2?r:n);return o.set(e,u),u}function en(e){return Ht(e)?en(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function at(e){return!!(e&&e.__v_isShallow)}function Kr(e){return e?!!e.__v_raw:!1}function ye(e){const t=e&&e.__v_raw;return t?ye(t):e}function Mc(e){return!be(e,"__v_skip")&&Object.isExtensible(e)&&Fi(e,"__v_skip",!0),e}const Nt=e=>Ee(e)?ns(e):e,Mr=e=>Ee(e)?Io(e):e;function Be(e){return e?e.__v_isRef===!0:!1}function Sr(e){return Uc(e,!1)}function Dc(e){return Uc(e,!0)}function Uc(e,t){return Be(e)?e:new Ad(e,t)}class Ad{constructor(t,n){this.dep=new Qo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ye(t),this._value=n?t:Nt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||at(t)||Ht(t);t=r?t:ye(t),Ke(t,n)&&(this._rawValue=t,this._value=r?t:Nt(t),this.dep.trigger())}}function Cd(e){e.dep&&e.dep.trigger()}function Xr(e){return Be(e)?e.value:e}function Rd(e){return se(e)?e():Xr(e)}const xd={get:(e,t,n)=>t==="__v_raw"?e:Xr(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Be(o)&&!Be(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function qi(e){return en(e)?e:new Proxy(e,xd)}class Nd{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Qo,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Fc(e){return new Nd(e)}function Id(e){const t=Q(e)?new Array(e.length):{};for(const n in e)t[n]=Bc(e,n);return t}class Ld{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=ye(t);let o=!0,s=t;if(!Q(t)||!zr(String(n)))do o=!Kr(s)||at(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=Xr(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Be(this._raw[this._key])){const n=this._object[this._key];if(Be(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ld(this._raw,this._key)}}class kd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Pd(e,t,n){return Be(e)?e:se(e)?new kd(e):Ee(e)&&arguments.length>1?Bc(e,t,n):Sr(e)}function Bc(e,t,n){return new Ld(e,t,n)}class Md{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Qo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Re!==this)return vc(this,!0),!0}get value(){const t=this.dep.track();return Tc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Dd(e,t,n=!1){let r,o;return se(e)?r=e:(r=e.get,o=e.set),new Md(r,o,n)}const Ud={GET:"get",HAS:"has",ITERATE:"iterate"},Fd={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ao={},Lo=new WeakMap;let pn;function Bd(){return pn}function $c(e,t=!1,n=pn){if(n){let r=Lo.get(n);r||Lo.set(n,r=[]),r.push(e)}}function $d(e,t,n=me){const{immediate:r,deep:o,once:s,scheduler:a,augmentJob:u,call:c}=n,p=w=>o?w:at(w)||o===!1||o===0?Jt(w,1):Jt(w);let l,h,_,E,S=!1,g=!1;if(Be(e)?(h=()=>e.value,S=at(e)):en(e)?(h=()=>p(e),S=!0):Q(e)?(g=!0,S=e.some(w=>en(w)||at(w)),h=()=>e.map(w=>{if(Be(w))return w.value;if(en(w))return p(w);if(se(w))return c?c(w,2):w()})):se(e)?t?h=c?()=>c(e,2):e:h=()=>{if(_){nn();try{_()}finally{rn()}}const w=pn;pn=l;try{return c?c(e,3,[E]):e(E)}finally{pn=w}}:h=ht,t&&o){const w=h,N=o===!0?1/0:o;h=()=>Jt(w(),N)}const j=bc(),$=()=>{l.stop(),j&&j.active&&Yo(j.effects,l)};if(s&&t){const w=t;t=(...N)=>{w(...N),$()}}let C=g?new Array(e.length).fill(ao):ao;const v=w=>{if(!(!(l.flags&1)||!l.dirty&&!w))if(t){const N=l.run();if(o||S||(g?N.some((F,G)=>Ke(F,C[G])):Ke(N,C))){_&&_();const F=pn;pn=l;try{const G=[N,C===ao?void 0:g&&C[0]===ao?[]:C,E];C=N,c?c(t,3,G):t(...G)}finally{pn=F}}}else l.run()};return u&&u(v),l=new Lr(h),l.scheduler=a?()=>a(v,!1):v,E=w=>$c(w,!1,l),_=l.onStop=()=>{const w=Lo.get(l);if(w){if(c)c(w,4);else for(const N of w)N();Lo.delete(l)}},t?r?v(!0):C=l.run():a?a(v.bind(null,!0),!0):l.run(),$.pause=l.pause.bind(l),$.resume=l.resume.bind(l),$.stop=$,$}function Jt(e,t=1/0,n){if(t<=0||!Ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Be(e))Jt(e.value,t,n);else if(Q(e))for(let r=0;r{Jt(r,t,n)});else if(Vr(e)){for(const r in e)Jt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Jt(e[r],t,n)}return e}const jc=[];function jd(e){jc.push(e)}function Hd(){jc.pop()}function Vd(e,t){}const zd={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Gd={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function sr(e,t,n,r){try{return r?e(...r):e()}catch(o){Mn(o,t,n)}}function wt(e,t,n,r){if(se(e)){const o=sr(e,t,n,r);return o&&Jo(o)&&o.catch(s=>{Mn(s,t,n)}),o}if(Q(e)){const o=[];for(let s=0;s>>1,o=tt[r],s=Ur(o);s=Ur(n)?tt.push(e):tt.splice(Wd(t),0,e),e.flags|=1,Vc()}}function Vc(){ko||(ko=Hc.then(zc))}function Dr(e){Q(e)?Gn.push(...e):dn&&e.id===-1?dn.splice(jn+1,0,e):e.flags&1||(Gn.push(e),e.flags|=1),Vc()}function Ua(e,t,n=Mt+1){for(;nUr(n)-Ur(r));if(Gn.length=0,dn){dn.push(...t);return}for(dn=t,jn=0;jne.id==null?e.flags&2?-1:1/0:e.id;function zc(e){try{for(Mt=0;MtHn.emit(o,...s)),lo=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{Gc(o,t)}),setTimeout(()=>{Hn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,lo=[])},3e3)):lo=[]}let qe=null,ss=null;function Fr(e){const t=qe;return qe=e,ss=e&&e.type.__scopeId||null,t}function Kd(e){ss=e}function Xd(){ss=null}const Yd=e=>Ki;function Ki(e,t=qe,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Hr(-1);const s=Fr(t);let a;try{a=e(...o)}finally{Fr(s),r._d&&Hr(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Jd(e,t){if(qe===null)return e;const n=Qr(qe),r=e.dirs||(e.dirs=[]);for(let o=0;o1)return n&&se(t)?t.call(r&&r.proxy):t}}function Zd(){return!!(ft()||Rn)}const Wc=Symbol.for("v-scx"),Kc=()=>Or(Wc);function Qd(e,t){return Yr(e,null,t)}function eh(e,t){return Yr(e,null,{flush:"post"})}function Xc(e,t){return Yr(e,null,{flush:"sync"})}function qn(e,t,n){return Yr(e,t,n)}function Yr(e,t,n=me){const{immediate:r,deep:o,flush:s,once:a}=n,u=_e({},n),c=t&&r||!t&&s!=="post";let p;if(Jn){if(s==="sync"){const E=Kc();p=E.__watcherHandles||(E.__watcherHandles=[])}else if(!c){const E=()=>{};return E.stop=ht,E.resume=ht,E.pause=ht,E}}const l=Ge;u.call=(E,S,g)=>wt(E,l,S,g);let h=!1;s==="post"?u.scheduler=E=>{Me(E,l&&l.suspense)}:s!=="sync"&&(h=!0,u.scheduler=(E,S)=>{S?E():Wi(E)}),u.augmentJob=E=>{t&&(E.flags|=4),h&&(E.flags|=2,l&&(E.id=l.uid,E.i=l))};const _=$d(e,t,u);return Jn&&(p?p.push(_):c&&_()),_}function th(e,t,n){const r=this.proxy,o=Se(e)?e.includes(".")?Yc(r,e):()=>r[e]:e.bind(r,r);let s;se(t)?s=t:(s=t.handler,n=t);const a=Ln(this),u=Yr(o,s.bind(r),n);return a(),u}function Yc(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;oe.__isTeleport,Ar=e=>e&&(e.disabled||e.disabled===""),Fa=e=>e&&(e.defer||e.defer===""),Ba=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$a=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ii=(e,t)=>{const n=e&&e.to;return Se(n)?t?t(n):null:n},Qc={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,a,u,c,p){const{mc:l,pc:h,pbc:_,o:{insert:E,querySelector:S,createText:g,createComment:j}}=p,$=Ar(t.props);let{shapeFlag:C,children:v,dynamicChildren:w}=t;if(e==null){const N=t.el=g(""),F=t.anchor=g("");E(N,n,r),E(F,n,r);const G=(M,B)=>{C&16&&l(v,M,B,o,s,a,u,c)},X=()=>{const M=t.target=ii(t.props,S),B=ai(M,t,g,E);M&&(a!=="svg"&&Ba(M)?a="svg":a!=="mathml"&&$a(M)&&(a="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(M),$||(G(M,B),Eo(t,!1)))};$&&(G(n,F),Eo(t,!0)),Fa(t.props)?(t.el.__isMounted=!1,Me(()=>{X(),delete t.el.__isMounted},s)):X()}else{if(Fa(t.props)&&e.el.__isMounted===!1){Me(()=>{Qc.process(e,t,n,r,o,s,a,u,c,p)},s);return}t.el=e.el,t.targetStart=e.targetStart;const N=t.anchor=e.anchor,F=t.target=e.target,G=t.targetAnchor=e.targetAnchor,X=Ar(e.props),M=X?n:F,B=X?N:G;if(a==="svg"||Ba(F)?a="svg":(a==="mathml"||$a(F))&&(a="mathml"),w?(_(e.dynamicChildren,w,M,o,s,a,u),ia(e,t,!0)):c||h(e,t,M,B,o,s,a,u,!1),$)X?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):co(t,n,N,p,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const K=t.target=ii(t.props,S);K&&co(t,K,null,p,0)}else X&&co(t,F,G,p,1);Eo(t,$)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:a,children:u,anchor:c,targetStart:p,targetAnchor:l,target:h,props:_}=e;if(h&&(o(p),o(l)),s&&o(c),a&16){const E=s||!Ar(_);for(let S=0;S{e.isMounted=!0}),cs(()=>{e.isUnmounting=!0}),e}const yt=[Function,Array],Yi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yt,onEnter:yt,onAfterEnter:yt,onEnterCancelled:yt,onBeforeLeave:yt,onLeave:yt,onAfterLeave:yt,onLeaveCancelled:yt,onBeforeAppear:yt,onAppear:yt,onAfterAppear:yt,onAppearCancelled:yt},eu=e=>{const t=e.subTree;return t.component?eu(t.component):t},oh={name:"BaseTransition",props:Yi,setup(e,{slots:t}){const n=ft(),r=Xi();return()=>{const o=t.default&&is(t.default(),!0);if(!o||!o.length)return;const s=tu(o),a=ye(e),{mode:u}=a;if(r.isLeaving)return Cs(s);const c=ja(s);if(!c)return Cs(s);let p=Yn(c,a,r,n,h=>p=h);c.type!==De&&on(c,p);let l=n.subTree&&ja(n.subTree);if(l&&l.type!==De&&!Rt(l,c)&&eu(n).type!==De){let h=Yn(l,a,r,n);if(on(l,h),u==="out-in"&&c.type!==De)return r.isLeaving=!0,h.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,l=void 0},Cs(s);u==="in-out"&&c.type!==De?h.delayLeave=(_,E,S)=>{const g=ru(r,l);g[String(l.key)]=l,_[Ut]=()=>{E(),_[Ut]=void 0,delete p.delayedLeave,l=void 0},p.delayedLeave=()=>{S(),delete p.delayedLeave,l=void 0}}:l=void 0}else l&&(l=void 0);return s}}};function tu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==De){t=n;break}}return t}const nu=oh;function ru(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Yn(e,t,n,r,o){const{appear:s,mode:a,persisted:u=!1,onBeforeEnter:c,onEnter:p,onAfterEnter:l,onEnterCancelled:h,onBeforeLeave:_,onLeave:E,onAfterLeave:S,onLeaveCancelled:g,onBeforeAppear:j,onAppear:$,onAfterAppear:C,onAppearCancelled:v}=t,w=String(e.key),N=ru(n,e),F=(M,B)=>{M&&wt(M,r,9,B)},G=(M,B)=>{const K=B[1];F(M,B),Q(M)?M.every(U=>U.length<=1)&&K():M.length<=1&&K()},X={mode:a,persisted:u,beforeEnter(M){let B=c;if(!n.isMounted)if(s)B=j||c;else return;M[Ut]&&M[Ut](!0);const K=N[w];K&&Rt(e,K)&&K.el[Ut]&&K.el[Ut](),F(B,[M])},enter(M){let B=p,K=l,U=h;if(!n.isMounted)if(s)B=$||p,K=C||l,U=v||h;else return;let ee=!1;M[cr]=ce=>{ee||(ee=!0,ce?F(U,[M]):F(K,[M]),X.delayedLeave&&X.delayedLeave(),M[cr]=void 0)};const le=M[cr].bind(null,!1);B?G(B,[M,le]):le()},leave(M,B){const K=String(e.key);if(M[cr]&&M[cr](!0),n.isUnmounting)return B();F(_,[M]);let U=!1;M[Ut]=le=>{U||(U=!0,B(),le?F(g,[M]):F(S,[M]),M[Ut]=void 0,N[K]===e&&delete N[K])};const ee=M[Ut].bind(null,!1);N[K]=e,E?G(E,[M,ee]):ee()},clone(M){const B=Yn(M,t,n,r,o);return o&&o(B),B}};return X}function Cs(e){if(Jr(e))return e=Vt(e),e.children=null,e}function ja(e){if(!Jr(e))return Zc(e.type)&&e.children?tu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&se(n.default))return n.default()}}function on(e,t){e.shapeFlag&6&&e.component?(e.transition=t,on(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function is(e,t=!1,n){let r=[],o=0;for(let s=0;s1)for(let s=0;sn.value,set:o=>n.value=o})}return n}function Ha(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Mo=new WeakMap;function Wn(e,t,n,r,o=!1){if(Q(e)){e.forEach((g,j)=>Wn(g,t&&(Q(t)?t[j]:t),n,r,o));return}if(tn(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Wn(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Qr(r.component):r.el,a=o?null:s,{i:u,r:c}=e,p=t&&t.r,l=u.refs===me?u.refs={}:u.refs,h=u.setupState,_=ye(h),E=h===me?Di:g=>Ha(l,g)?!1:be(_,g),S=(g,j)=>!(j&&Ha(l,j));if(p!=null&&p!==c){if(Va(t),Se(p))l[p]=null,E(p)&&(h[p]=null);else if(Be(p)){const g=t;S(p,g.k)&&(p.value=null),g.k&&(l[g.k]=null)}}if(se(c))sr(c,u,12,[a,l]);else{const g=Se(c),j=Be(c);if(g||j){const $=()=>{if(e.f){const C=g?E(c)?h[c]:l[c]:S()||!e.k?c.value:l[e.k];if(o)Q(C)&&Yo(C,s);else if(Q(C))C.includes(s)||C.push(s);else if(g)l[c]=[s],E(c)&&(h[c]=l[c]);else{const v=[s];S(c,e.k)&&(c.value=v),e.k&&(l[e.k]=v)}}else g?(l[c]=a,E(c)&&(h[c]=a)):j&&(S(c,e.k)&&(c.value=a),e.k&&(l[e.k]=a))};if(a){const C=()=>{$(),Mo.delete(e)};C.id=-1,Mo.set(e,C),Me(C,n)}else Va(e),$()}}}function Va(e){const t=Mo.get(e);t&&(t.flags|=8,Mo.delete(e))}let za=!1;const Fn=()=>{za||(console.error("Hydration completed but contains mismatches."),za=!0)},ah=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",lh=e=>e.namespaceURI.includes("MathML"),uo=e=>{if(e.nodeType===1){if(ah(e))return"svg";if(lh(e))return"mathml"}},Vn=e=>e.nodeType===8;function ch(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:a,remove:u,insert:c,createComment:p}}=e,l=(v,w)=>{if(!w.hasChildNodes()){n(null,v,w),Po(),w._vnode=v;return}h(w.firstChild,v,null,null,null),Po(),w._vnode=v},h=(v,w,N,F,G,X=!1)=>{X=X||!!w.dynamicChildren;const M=Vn(v)&&v.data==="[",B=()=>g(v,w,N,F,G,M),{type:K,ref:U,shapeFlag:ee,patchFlag:le}=w;let ce=v.nodeType;w.el=v,le===-2&&(X=!1,w.dynamicChildren=null);let z=null;switch(K){case mn:ce!==3?w.children===""?(c(w.el=o(""),a(v),v),z=v):z=B():(v.data!==w.children&&(Fn(),v.data=w.children),z=s(v));break;case De:C(v)?(z=s(v),$(w.el=v.content.firstChild,v,N)):ce!==8||M?z=B():z=s(v);break;case xn:if(M&&(v=s(v),ce=v.nodeType),ce===1||ce===3){z=v;const oe=!w.children.length;for(let ne=0;ne{X=X||!!w.dynamicChildren;const{type:M,props:B,patchFlag:K,shapeFlag:U,dirs:ee,transition:le}=w,ce=M==="input"||M==="option";if(ce||K!==-1){ee&&Dt(w,null,N,"created");let z=!1;if(C(v)){z=Nu(null,le)&&N&&N.vnode.props&&N.vnode.props.appear;const ne=v.content.firstChild;if(z){const Ae=ne.getAttribute("class");Ae&&(ne.$cls=Ae),le.beforeEnter(ne)}$(ne,v,N),w.el=v=ne}if(U&16&&!(B&&(B.innerHTML||B.textContent))){let ne=E(v.firstChild,w,v,N,F,G,X);for(;ne;){fo(v,1)||Fn();const Ae=ne;ne=ne.nextSibling,u(Ae)}}else if(U&8){let ne=w.children;ne[0]===` `&&(v.tagName==="PRE"||v.tagName==="TEXTAREA")&&(ne=ne.slice(1));const{textContent:Ae}=v;Ae!==ne&&Ae!==ne.replace(/\r\n|\r/g,` `)&&(fo(v,0)||Fn(),v.textContent=w.children)}if(B){if(ce||!X||K&48){const ne=v.tagName.includes("-");for(const Ae in B)(ce&&(Ae.endsWith("value")||Ae==="indeterminate")||tr(Ae)&&!hn(Ae)||Ae[0]==="."||ne&&!hn(Ae))&&r(v,Ae,null,B[Ae],void 0,N)}else if(B.onClick)r(v,"onClick",null,B.onClick,void 0,N);else if(K&4&&en(B.style))for(const ne in B.style)B.style[ne]}let oe;(oe=B&&B.onVnodeBeforeMount)&&st(oe,N,w),ee&&Dt(w,null,N,"beforeMount"),((oe=B&&B.onVnodeMounted)||ee||z)&&Pu(()=>{oe&&st(oe,N,w),z&&le.enter(v),ee&&Dt(w,null,N,"mounted")},F)}return v.nextSibling},E=(v,w,N,F,G,X,M)=>{M=M||!!w.dynamicChildren;const B=w.children,K=B.length;for(let U=0;U{const{slotScopeIds:M}=w;M&&(G=G?G.concat(M):M);const B=a(v),K=E(s(v),w,B,N,F,G,X);return K&&Vn(K)&&K.data==="]"?s(w.anchor=K):(Fn(),c(w.anchor=p("]"),B,K),K)},g=(v,w,N,F,G,X)=>{if(fo(v.parentElement,1)||Fn(),w.el=null,X){const K=j(v);for(;;){const U=s(v);if(U&&U!==K)u(U);else break}}const M=s(v),B=a(v);return u(v),n(null,w,B,M,N,F,uo(B),G),N&&(N.vnode.el=w.el,ps(N,w.el)),M},j=(v,w="[",N="]")=>{let F=0;for(;v;)if(v=s(v),v&&Vn(v)&&(v.data===w&&F++,v.data===N)){if(F===0)return s(v);F--}return v},$=(v,w,N)=>{const F=w.parentNode;F&&F.replaceChild(v,w);let G=N;for(;G;)G.vnode.el===w&&(G.vnode.el=G.subTree.el=v),G=G.parent},C=v=>v.nodeType===1&&v.tagName==="TEMPLATE";return[l,h]}const Ga="data-allow-mismatch",uh={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function fo(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ga);)e=e.parentElement;const n=e&&e.getAttribute(Ga);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:r.includes(uh[t])}}const fh=qr().requestIdleCallback||(e=>setTimeout(e,1)),ph=qr().cancelIdleCallback||(e=>clearTimeout(e)),dh=(e=1e4)=>t=>{const n=fh(t,{timeout:e});return()=>ph(n)};function hh(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:a}=window;return(t>0&&t0&&r0&&n0&&o(t,n)=>{const r=new IntersectionObserver(o=>{for(const s of o)if(s.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(hh(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},gh=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},yh=(e=[])=>(t,n)=>{Se(e)&&(e=[e]);let r=!1;const o=a=>{r||(r=!0,s(),t(),a.target.dispatchEvent(new a.constructor(a.type,a)))},s=()=>{n(a=>{for(const u of e)a.removeEventListener(u,o)})};return n(a=>{for(const u of e)a.addEventListener(u,o,{once:!0})}),s};function bh(e,t){if(Vn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Vn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const tn=e=>!!e.type.__asyncLoader;function Eh(e){se(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:a,suspensible:u=!0,onError:c}=e;let p=null,l,h=0;const _=()=>(h++,p=null,E()),E=()=>{let S;return p||(S=p=t().catch(g=>{if(g=g instanceof Error?g:new Error(String(g)),c)return new Promise((j,$)=>{c(g,()=>j(_()),()=>$(g),h+1)});throw g}).then(g=>S!==p&&p?p:(g&&(g.__esModule||g[Symbol.toStringTag]==="Module")&&(g=g.default),l=g,g)))};return Ji({name:"AsyncComponentWrapper",__asyncLoader:E,__asyncHydrate(S,g,j){let $=!1;(g.bu||(g.bu=[])).push(()=>$=!0);const C=()=>{$||j()},v=s?()=>{const w=s(C,N=>bh(S,N));w&&(g.bum||(g.bum=[])).push(w)}:C;l?v():E().then(()=>!g.isUnmounted&&v())},get __asyncResolved(){return l},setup(){const S=Ge;if(Zi(S),l)return()=>po(l,S);const g=v=>{p=null,Mn(v,S,13,!r)};if(u&&S.suspense||Jn)return E().then(v=>()=>po(v,S)).catch(v=>(g(v),()=>r?Ie(r,{error:v}):null));const j=Sr(!1),$=Sr(),C=Sr(!!o);return o&&setTimeout(()=>{C.value=!1},o),a!=null&&setTimeout(()=>{if(!j.value&&!$.value){const v=new Error(`Async component timed out after ${a}ms.`);g(v),$.value=v}},a),E().then(()=>{j.value=!0,S.parent&&Jr(S.parent.vnode)&&S.parent.update()}).catch(v=>{g(v),$.value=v}),()=>{if(j.value&&l)return po(l,S);if($.value&&r)return Ie(r,{error:$.value});if(n&&!C.value)return po(n,S)}}})}function po(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,a=Ie(e,r,o);return a.ref=n,a.ce=s,delete t.vnode.ce,a}const Jr=e=>e.type.__isKeepAlive,vh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ft(),r=n.ctx;if(!r.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const o=new Map,s=new Set;let a=null;const u=n.suspense,{renderer:{p:c,m:p,um:l,o:{createElement:h}}}=r,_=h("div");r.activate=(C,v,w,N,F)=>{const G=C.component;p(C,v,w,0,u),c(G.vnode,C,v,w,G,u,N,C.slotScopeIds,F),Me(()=>{G.isDeactivated=!1,G.a&&An(G.a);const X=C.props&&C.props.onVnodeMounted;X&&st(X,G.parent,C)},u)},r.deactivate=C=>{const v=C.component;Uo(v.m),Uo(v.a),p(C,_,null,1,u),Me(()=>{v.da&&An(v.da);const w=C.props&&C.props.onVnodeUnmounted;w&&st(w,v.parent,C),v.isDeactivated=!0},u)};function E(C){Rs(C),l(C,n,u,!0)}function S(C){o.forEach((v,w)=>{const N=bi(tn(v)?v.type.__asyncResolved||{}:v.type);N&&!C(N)&&g(w)})}function g(C){const v=o.get(C);v&&(!a||!Rt(v,a))?E(v):a&&Rs(a),o.delete(C),s.delete(C)}qn(()=>[e.include,e.exclude],([C,v])=>{C&&S(w=>vr(C,w)),v&&S(w=>!vr(v,w))},{flush:"post",deep:!0});let j=null;const $=()=>{j!=null&&(Fo(n.subTree.type)?Me(()=>{o.set(j,ho(n.subTree))},n.subTree.suspense):o.set(j,ho(n.subTree)))};return Zr($),ls($),cs(()=>{o.forEach(C=>{const{subTree:v,suspense:w}=n,N=ho(v);if(C.type===N.type&&C.key===N.key){Rs(N);const F=N.component.da;F&&Me(F,w);return}E(C)})}),()=>{if(j=null,!t.default)return a=null;const C=t.default(),v=C[0];if(C.length>1)return a=null,C;if(!sn(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return a=null,v;let w=ho(v);if(w.type===De)return a=null,w;const N=w.type,F=bi(tn(w)?w.type.__asyncResolved||{}:N),{include:G,exclude:X,max:M}=e;if(G&&(!F||!vr(G,F))||X&&F&&vr(X,F))return w.shapeFlag&=-257,a=w,v;const B=w.key==null?N:w.key,K=o.get(B);return w.el&&(w=Vt(w),v.shapeFlag&128&&(v.ssContent=w)),j=B,K?(w.el=K.el,w.component=K.component,w.transition&&on(w,w.transition),w.shapeFlag|=512,s.delete(B),s.add(B)):(s.add(B),M&&s.size>parseInt(M,10)&&g(s.values().next().value)),w.shapeFlag|=256,a=w,Fo(v.type)?v:w}}},_h=vh;function vr(e,t){return Q(e)?e.some(n=>vr(n,t)):Se(e)?e.split(",").includes(t):lc(e)?(e.lastIndex=0,e.test(t)):!1}function ou(e,t){iu(e,"a",t)}function su(e,t){iu(e,"da",t)}function iu(e,t,n=Ge){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(as(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Jr(o.parent.vnode)&&wh(r,t,n,o),o=o.parent}}function wh(e,t,n,r){const o=as(t,e,r,!0);us(()=>{Yo(r[t],o)},n)}function Rs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ho(e){return e.shapeFlag&128?e.ssContent:e}function as(e,t,n=Ge,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{nn();const u=Ln(n),c=wt(t,n,e,a);return u(),rn(),c});return r?o.unshift(s):o.push(s),s}}const an=e=>(t,n=Ge)=>{(!Jn||e==="sp")&&as(e,(...r)=>t(...r),n)},au=an("bm"),Zr=an("m"),Qi=an("bu"),ls=an("u"),cs=an("bum"),us=an("um"),lu=an("sp"),cu=an("rtg"),uu=an("rtc");function fu(e,t=Ge){as("ec",e,t)}const ea="components",Th="directives";function Sh(e,t){return ta(ea,e,!0,t)||e}const pu=Symbol.for("v-ndc");function Oh(e){return Se(e)?ta(ea,e,!1)||e:e||pu}function Ah(e){return ta(Th,e)}function ta(e,t,n=!0,r=!1){const o=qe||Ge;if(o){const s=o.type;if(e===ea){const u=bi(s,!1);if(u&&(u===t||u===He(t)||u===nr(He(t))))return s}const a=qa(o[e]||s[e],t)||qa(o.appContext[e],t);return!a&&r?s:a}}function qa(e,t){return e&&(e[t]||e[He(t)]||e[nr(He(t))])}function Ch(e,t,n,r){let o;const s=n&&n[r],a=Q(e);if(a||Se(e)){const u=a&&en(e);let c=!1,p=!1;u&&(c=!at(e),p=Ht(e),e=es(e)),o=new Array(e.length);for(let l=0,h=e.length;lt(u,c,void 0,s&&s[c]));else{const u=Object.keys(e);o=new Array(u.length);for(let c=0,p=u.length;c{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function xh(e,t,n={},r,o){if(qe.ce||qe.parent&&tn(qe.parent)&&qe.parent.ce){const p=Object.keys(n).length>0;return t!=="default"&&(n.name=t),jr(),Bo(je,null,[Ie("slot",n,r&&r())],p?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),jr();const a=s&&na(s(n)),u=n.key||a&&a.key,c=Bo(je,{key:(u&&!_t(u)?u:`_${t}`)+(!a&&r?"_fb":"")},a||(r?r():[]),a&&e._===1?64:-2);return!o&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function na(e){return e.some(t=>sn(t)?!(t.type===De||t.type===je&&!na(t.children)):!0)?e:null}function Nh(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:zn(r)]=e[r];return n}const li=e=>e?ju(e)?Qr(e):li(e.parent):null,Cr=_e(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>li(e.parent),$root:e=>li(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ra(e),$forceUpdate:e=>e.f||(e.f=()=>{Wi(e.update)}),$nextTick:e=>e.n||(e.n=os.bind(e.proxy)),$watch:e=>th.bind(e)}),xs=(e,t)=>e!==me&&!e.__isScriptSetup&&be(e,t),ci={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:u,appContext:c}=e;if(t[0]!=="$"){const _=a[t];if(_!==void 0)switch(_){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(xs(r,t))return a[t]=1,r[t];if(o!==me&&be(o,t))return a[t]=2,o[t];if(be(s,t))return a[t]=3,s[t];if(n!==me&&be(n,t))return a[t]=4,n[t];ui&&(a[t]=0)}}const p=Cr[t];let l,h;if(p)return t==="$attrs"&&Xe(e.attrs,"get",""),p(e);if((l=u.__cssModules)&&(l=l[t]))return l;if(n!==me&&be(n,t))return a[t]=4,n[t];if(h=c.config.globalProperties,be(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return xs(o,t)?(o[t]=n,!0):r!==me&&be(r,t)?(r[t]=n,!0):be(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,props:s,type:a}},u){let c;return!!(n[u]||e!==me&&u[0]!=="$"&&be(e,u)||xs(t,u)||be(s,u)||be(r,u)||be(Cr,u)||be(o.config.globalProperties,u)||(c=a.__cssModules)&&c[u])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:be(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ih=_e({},ci,{get(e,t){if(t!==Symbol.unscopables)return ci.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Bi(t)}});function Lh(){return null}function kh(){return null}function Ph(e){}function Mh(e){}function Dh(){return null}function Uh(){}function Fh(e,t){return null}function Bh(){return du().slots}function $h(){return du().attrs}function du(e){const t=ft();return t.setupContext||(t.setupContext=zu(t))}function Br(e){return Q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function jh(e,t){const n=Br(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?Q(o)||se(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function Hh(e,t){return!e||!t?e||t:Q(e)&&Q(t)?e.concat(t):_e({},Br(e),Br(t))}function Vh(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function zh(e){const t=ft();let n=e();return mi(),Jo(n)&&(n=n.catch(r=>{throw Ln(t),r})),[n,()=>Ln(t)]}let ui=!0;function Gh(e){const t=ra(e),n=e.proxy,r=e.ctx;ui=!1,t.beforeCreate&&Wa(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:u,provide:c,inject:p,created:l,beforeMount:h,mounted:_,beforeUpdate:E,updated:S,activated:g,deactivated:j,beforeDestroy:$,beforeUnmount:C,destroyed:v,unmounted:w,render:N,renderTracked:F,renderTriggered:G,errorCaptured:X,serverPrefetch:M,expose:B,inheritAttrs:K,components:U,directives:ee,filters:le}=t;if(p&&qh(p,r,null),a)for(const z in a){const oe=a[z];se(oe)&&(r[z]=oe.bind(n))}if(o){const z=o.call(n,n);Ee(z)&&(e.data=ns(z))}if(ui=!0,s)for(const z in s){const oe=s[z],ne=se(oe)?oe.bind(n,n):se(oe.get)?oe.get.bind(n,n):ht,Ae=!se(oe)&&se(oe.set)?oe.set.bind(n):ht,mt=Gu({get:ne,set:Ae});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>mt.value,set:de=>mt.value=de})}if(u)for(const z in u)hu(u[z],r,n,z);if(c){const z=se(c)?c.call(n):c;Reflect.ownKeys(z).forEach(oe=>{qc(oe,z[oe])})}l&&Wa(l,e,"c");function ce(z,oe){Q(oe)?oe.forEach(ne=>z(ne.bind(n))):oe&&z(oe.bind(n))}if(ce(au,h),ce(Zr,_),ce(Qi,E),ce(ls,S),ce(ou,g),ce(su,j),ce(fu,X),ce(uu,F),ce(cu,G),ce(cs,C),ce(us,w),ce(lu,M),Q(B))if(B.length){const z=e.exposed||(e.exposed={});B.forEach(oe=>{Object.defineProperty(z,oe,{get:()=>n[oe],set:ne=>n[oe]=ne,enumerable:!0})})}else e.exposed||(e.exposed={});N&&e.render===ht&&(e.render=N),K!=null&&(e.inheritAttrs=K),U&&(e.components=U),ee&&(e.directives=ee),M&&Zi(e)}function qh(e,t,n=ht){Q(e)&&(e=fi(e));for(const r in e){const o=e[r];let s;Ee(o)?"default"in o?s=Or(o.from||r,o.default,!0):s=Or(o.from||r):s=Or(o),Be(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function Wa(e,t,n){wt(Q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function hu(e,t,n,r){let o=r.includes(".")?Yc(n,r):()=>n[r];if(Se(e)){const s=t[e];se(s)&&qn(o,s)}else if(se(e))qn(o,e.bind(n));else if(Ee(e))if(Q(e))e.forEach(s=>hu(s,t,n,r));else{const s=se(e.handler)?e.handler.bind(n):t[e.handler];se(s)&&qn(o,s,e)}}function ra(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,u=s.get(t);let c;return u?c=u:!o.length&&!n&&!r?c=t:(c={},o.length&&o.forEach(p=>Do(c,p,a,!0)),Do(c,t,a)),Ee(t)&&s.set(t,c),c}function Do(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Do(e,s,n,!0),o&&o.forEach(a=>Do(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const u=Wh[a]||n&&n[a];e[a]=u?u(e[a],t[a]):t[a]}return e}const Wh={data:Ka,props:Xa,emits:Xa,methods:_r,computed:_r,beforeCreate:et,created:et,beforeMount:et,mounted:et,beforeUpdate:et,updated:et,beforeDestroy:et,beforeUnmount:et,destroyed:et,unmounted:et,activated:et,deactivated:et,errorCaptured:et,serverPrefetch:et,components:_r,directives:_r,watch:Xh,provide:Ka,inject:Kh};function Ka(e,t){return t?e?function(){return _e(se(e)?e.call(this,this):e,se(t)?t.call(this,this):t)}:t:e}function Kh(e,t){return _r(fi(e),fi(t))}function fi(e){if(Q(e)){const t={};for(let n=0;n{let l,h=me,_;return Xc(()=>{const E=e[o];Ke(l,E)&&(l=E,p())}),{get(){return c(),n.get?n.get(l):l},set(E){const S=n.set?n.set(E):E;if(!Ke(S,l)&&!(h!==me&&Ke(E,h)))return;const g=r.vnode.props;g&&(t in g||o in g||s in g)&&(`onUpdate:${t}`in g||`onUpdate:${o}`in g||`onUpdate:${s}`in g)||(l=E,p()),r.emit(`update:${t}`,S),Ke(E,S)&&Ke(E,h)&&!Ke(S,_)&&p(),h=E,_=S}}});return u[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?a||me:u,done:!1}:{done:!0}}}},u}const gu=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${He(t)}Modifiers`]||e[`${Ye(t)}Modifiers`];function Qh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||me;let o=n;const s=t.startsWith("update:"),a=s&&gu(r,t.slice(7));a&&(a.trim&&(o=n.map(l=>Se(l)?l.trim():l)),a.number&&(o=n.map(Gr)));let u,c=r[u=zn(t)]||r[u=zn(He(t))];!c&&s&&(c=r[u=zn(Ye(t))]),c&&wt(c,e,6,o);const p=r[u+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,wt(p,e,6,o)}}const em=new WeakMap;function yu(e,t,n=!1){const r=n?em:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},u=!1;if(!se(e)){const c=p=>{const l=yu(p,t,!0);l&&(u=!0,_e(a,l))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!s&&!u?(Ee(e)&&r.set(e,null),null):(Q(s)?s.forEach(c=>a[c]=null):_e(a,s),Ee(e)&&r.set(e,a),a)}function fs(e,t){return!e||!tr(t)?!1:(t=t.slice(2).replace(/Once$/,""),be(e,t[0].toLowerCase()+t.slice(1))||be(e,Ye(t))||be(e,t))}function vo(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:u,emit:c,render:p,renderCache:l,props:h,data:_,setupState:E,ctx:S,inheritAttrs:g}=e,j=Fr(e);let $,C;try{if(n.shapeFlag&4){const w=o||r,N=w;$=it(p.call(N,w,l,h,E,_,S)),C=u}else{const w=t;$=it(w.length>1?w(h,{attrs:u,slots:a,emit:c}):w(h,null)),C=t.props?u:nm(u)}}catch(w){Rr.length=0,Mn(w,e,1),$=Ie(De)}let v=$;if(C&&g!==!1){const w=Object.keys(C),{shapeFlag:N}=v;w.length&&N&7&&(s&&w.some(Xo)&&(C=rm(C,s)),v=Vt(v,C,!1,!0))}return n.dirs&&(v=Vt(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&on(v,n.transition),$=v,Fr(j),$}function tm(e,t=!0){let n;for(let r=0;r{let t;for(const n in e)(n==="class"||n==="style"||tr(n))&&((t||(t={}))[n]=e[n]);return t},rm=(e,t)=>{const n={};for(const r in e)(!Xo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function om(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:u,patchFlag:c}=t,p=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ya(r,a,p):!!a;if(c&8){const l=t.dynamicProps;for(let h=0;hObject.create(Eu),_u=e=>Object.getPrototypeOf(e)===Eu;function sm(e,t,n,r=!1){const o={},s=vu();e.propsDefaults=Object.create(null),wu(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:Pc(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function im(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,u=ye(o),[c]=e.propsOptions;let p=!1;if((r||a>0)&&!(a&16)){if(a&8){const l=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[_,E]=Tu(h,t,!0);_e(a,_),E&&u.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}if(!s&&!c)return Ee(e)&&r.set(e,Sn),Sn;if(Q(s))for(let l=0;le==="_"||e==="_ctx"||e==="$stable",sa=e=>Q(e)?e.map(it):[it(e)],lm=(e,t,n)=>{if(t._n)return t;const r=Ki((...o)=>sa(t(...o)),n);return r._c=!1,r},Su=(e,t,n)=>{const r=e._ctx;for(const o in e){if(oa(o))continue;const s=e[o];if(se(s))t[o]=lm(o,s,r);else if(s!=null){const a=sa(s);t[o]=()=>a}}},Ou=(e,t)=>{const n=sa(t);e.slots.default=()=>n},Au=(e,t,n)=>{for(const r in t)(n||!oa(r))&&(e[r]=t[r])},cm=(e,t,n)=>{const r=e.slots=vu();if(e.vnode.shapeFlag&32){const o=t._;o?(Au(r,t,n),n&&Fi(r,"_",o,!0)):Su(t,r)}else t&&Ou(e,t)},um=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=me;if(r.shapeFlag&32){const u=t._;u?n&&u===1?s=!1:Au(o,t,n):(s=!t.$stable,Su(t,o)),a=t}else t&&(Ou(e,t),a={default:1});if(s)for(const u in o)!oa(u)&&a[u]==null&&delete o[u]},Me=Pu;function Cu(e){return xu(e)}function Ru(e){return xu(e,ch)}function xu(e,t){const n=qr();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:u,createComment:c,setText:p,setElementText:l,parentNode:h,nextSibling:_,setScopeId:E=ht,insertStaticContent:S}=e,g=(m,T,R,k=null,I=null,L=null,q=void 0,H=null,V=!!T.dynamicChildren)=>{if(m===T)return;m&&!Rt(m,T)&&(k=St(m),Ue(m,I,L,!0),m=null),T.patchFlag===-2&&(V=!1,T.dynamicChildren=null);const{type:D,ref:te,shapeFlag:Y}=T;switch(D){case mn:j(m,T,R,k);break;case De:$(m,T,R,k);break;case xn:m==null&&C(T,R,k,q);break;case je:U(m,T,R,k,I,L,q,H,V);break;default:Y&1?N(m,T,R,k,I,L,q,H,V):Y&6?ee(m,T,R,k,I,L,q,H,V):(Y&64||Y&128)&&D.process(m,T,R,k,I,L,q,H,V,gt)}te!=null&&I?Wn(te,m&&m.ref,L,T||m,!T):te==null&&m&&m.ref!=null&&Wn(m.ref,null,L,m,!0)},j=(m,T,R,k)=>{if(m==null)r(T.el=u(T.children),R,k);else{const I=T.el=m.el;T.children!==m.children&&p(I,T.children)}},$=(m,T,R,k)=>{m==null?r(T.el=c(T.children||""),R,k):T.el=m.el},C=(m,T,R,k)=>{[m.el,m.anchor]=S(m.children,T,R,k,m.el,m.anchor)},v=({el:m,anchor:T},R,k)=>{let I;for(;m&&m!==T;)I=_(m),r(m,R,k),m=I;r(T,R,k)},w=({el:m,anchor:T})=>{let R;for(;m&&m!==T;)R=_(m),o(m),m=R;o(T)},N=(m,T,R,k,I,L,q,H,V)=>{if(T.type==="svg"?q="svg":T.type==="math"&&(q="mathml"),m==null)F(T,R,k,I,L,q,H,V);else{const D=m.el&&m.el._isVueCE?m.el:null;try{D&&D._beginPatch(),M(m,T,I,L,q,H,V)}finally{D&&D._endPatch()}}},F=(m,T,R,k,I,L,q,H)=>{let V,D;const{props:te,shapeFlag:Y,transition:J,dirs:re}=m;if(V=m.el=a(m.type,L,te&&te.is,te),Y&8?l(V,m.children):Y&16&&X(m.children,V,null,k,I,Ns(m,L),q,H),re&&Dt(m,null,k,"created"),G(V,m,m.scopeId,q,k),te){for(const he in te)he!=="value"&&!hn(he)&&s(V,he,null,te[he],L,k);"value"in te&&s(V,"value",null,te.value,L),(D=te.onVnodeBeforeMount)&&st(D,k,m)}re&&Dt(m,null,k,"beforeMount");const ae=Nu(I,J);ae&&J.beforeEnter(V),r(V,T,R),((D=te&&te.onVnodeMounted)||ae||re)&&Me(()=>{D&&st(D,k,m),ae&&J.enter(V),re&&Dt(m,null,k,"mounted")},I)},G=(m,T,R,k,I)=>{if(R&&E(m,R),k)for(let L=0;L{for(let D=V;D{const H=T.el=m.el;let{patchFlag:V,dynamicChildren:D,dirs:te}=T;V|=m.patchFlag&16;const Y=m.props||me,J=T.props||me;let re;if(R&&vn(R,!1),(re=J.onVnodeBeforeUpdate)&&st(re,R,T,m),te&&Dt(T,m,R,"beforeUpdate"),R&&vn(R,!0),(Y.innerHTML&&J.innerHTML==null||Y.textContent&&J.textContent==null)&&l(H,""),D?B(m.dynamicChildren,D,H,R,k,Ns(T,I),L):q||ne(m,T,H,null,R,k,Ns(T,I),L,!1),V>0){if(V&16)K(H,Y,J,R,I);else if(V&2&&Y.class!==J.class&&s(H,"class",null,J.class,I),V&4&&s(H,"style",Y.style,J.style,I),V&8){const ae=T.dynamicProps;for(let he=0;he{re&&st(re,R,T,m),te&&Dt(T,m,R,"updated")},k)},B=(m,T,R,k,I,L,q)=>{for(let H=0;H{if(T!==R){if(T!==me)for(const L in T)!hn(L)&&!(L in R)&&s(m,L,T[L],null,I,k);for(const L in R){if(hn(L))continue;const q=R[L],H=T[L];q!==H&&L!=="value"&&s(m,L,H,q,I,k)}"value"in R&&s(m,"value",T.value,R.value,I)}},U=(m,T,R,k,I,L,q,H,V)=>{const D=T.el=m?m.el:u(""),te=T.anchor=m?m.anchor:u("");let{patchFlag:Y,dynamicChildren:J,slotScopeIds:re}=T;re&&(H=H?H.concat(re):re),m==null?(r(D,R,k),r(te,R,k),X(T.children||[],R,te,I,L,q,H,V)):Y>0&&Y&64&&J&&m.dynamicChildren&&m.dynamicChildren.length===J.length?(B(m.dynamicChildren,J,R,I,L,q,H),(T.key!=null||I&&T===I.subTree)&&ia(m,T,!0)):ne(m,T,R,te,I,L,q,H,V)},ee=(m,T,R,k,I,L,q,H,V)=>{T.slotScopeIds=H,m==null?T.shapeFlag&512?I.ctx.activate(T,R,k,q,V):le(T,R,k,I,L,q,V):ce(m,T,V)},le=(m,T,R,k,I,L,q)=>{const H=m.component=$u(m,k,I);if(Jr(m)&&(H.ctx.renderer=gt),Hu(H,!1,q),H.asyncDep){if(I&&I.registerDep(H,z,q),!m.el){const V=H.subTree=Ie(De);$(null,V,T,R),m.placeholder=V.el}}else z(H,m,T,R,I,L,q)},ce=(m,T,R)=>{const k=T.component=m.component;if(om(m,T,R))if(k.asyncDep&&!k.asyncResolved){oe(k,T,R);return}else k.next=T,k.update();else T.el=m.el,k.vnode=T},z=(m,T,R,k,I,L,q)=>{const H=()=>{if(m.isMounted){let{next:Y,bu:J,u:re,parent:ae,vnode:he}=m;{const b=Iu(m);if(b){Y&&(Y.el=he.el,oe(m,Y,q)),b.asyncDep.then(()=>{Me(()=>{m.isUnmounted||D()},I)});return}}let ge=Y,i;vn(m,!1),Y?(Y.el=he.el,oe(m,Y,q)):Y=he,J&&An(J),(i=Y.props&&Y.props.onVnodeBeforeUpdate)&&st(i,ae,Y,he),vn(m,!0);const f=vo(m),d=m.subTree;m.subTree=f,g(d,f,h(d.el),St(d),m,I,L),Y.el=f.el,ge===null&&ps(m,f.el),re&&Me(re,I),(i=Y.props&&Y.props.onVnodeUpdated)&&Me(()=>st(i,ae,Y,he),I)}else{let Y;const{el:J,props:re}=T,{bm:ae,m:he,parent:ge,root:i,type:f}=m,d=tn(T);if(vn(m,!1),ae&&An(ae),!d&&(Y=re&&re.onVnodeBeforeMount)&&st(Y,ge,T),vn(m,!0),J&&Lt){const b=()=>{m.subTree=vo(m),Lt(J,m.subTree,m,I,null)};d&&f.__asyncHydrate?f.__asyncHydrate(J,m,b):b()}else{i.ce&&i.ce._hasShadowRoot()&&i.ce._injectChildStyle(f);const b=m.subTree=vo(m);g(null,b,R,k,m,I,L),T.el=b.el}if(he&&Me(he,I),!d&&(Y=re&&re.onVnodeMounted)){const b=T;Me(()=>st(Y,ge,b),I)}(T.shapeFlag&256||ge&&tn(ge.vnode)&&ge.vnode.shapeFlag&256)&&m.a&&Me(m.a,I),m.isMounted=!0,T=R=k=null}};m.scope.on();const V=m.effect=new Lr(H);m.scope.off();const D=m.update=V.run.bind(V),te=m.job=V.runIfDirty.bind(V);te.i=m,te.id=m.uid,V.scheduler=()=>Wi(te),vn(m,!0),D()},oe=(m,T,R)=>{T.component=m;const k=m.vnode.props;m.vnode=T,m.next=null,im(m,T.props,k,R),um(m,T.children,R),nn(),Ua(m),rn()},ne=(m,T,R,k,I,L,q,H,V=!1)=>{const D=m&&m.children,te=m?m.shapeFlag:0,Y=T.children,{patchFlag:J,shapeFlag:re}=T;if(J>0){if(J&128){mt(D,Y,R,k,I,L,q,H,V);return}else if(J&256){Ae(D,Y,R,k,I,L,q,H,V);return}}re&8?(te&16&&ot(D,I,L),Y!==D&&l(R,Y)):te&16?re&16?mt(D,Y,R,k,I,L,q,H,V):ot(D,I,L,!0):(te&8&&l(R,""),re&16&&X(Y,R,k,I,L,q,H,V))},Ae=(m,T,R,k,I,L,q,H,V)=>{m=m||Sn,T=T||Sn;const D=m.length,te=T.length,Y=Math.min(D,te);let J;for(J=0;Jte?ot(m,I,L,!0,!1,Y):X(T,R,k,I,L,q,H,V,Y)},mt=(m,T,R,k,I,L,q,H,V)=>{let D=0;const te=T.length;let Y=m.length-1,J=te-1;for(;D<=Y&&D<=J;){const re=m[D],ae=T[D]=V?Xt(T[D]):it(T[D]);if(Rt(re,ae))g(re,ae,R,null,I,L,q,H,V);else break;D++}for(;D<=Y&&D<=J;){const re=m[Y],ae=T[J]=V?Xt(T[J]):it(T[J]);if(Rt(re,ae))g(re,ae,R,null,I,L,q,H,V);else break;Y--,J--}if(D>Y){if(D<=J){const re=J+1,ae=reJ)for(;D<=Y;)Ue(m[D],I,L,!0),D++;else{const re=D,ae=D,he=new Map;for(D=ae;D<=J;D++){const P=T[D]=V?Xt(T[D]):it(T[D]);P.key!=null&&he.set(P.key,D)}let ge,i=0;const f=J-ae+1;let d=!1,b=0;const O=new Array(f);for(D=0;D=f){Ue(P,I,L,!0);continue}let fe;if(P.key!=null)fe=he.get(P.key);else for(ge=ae;ge<=J;ge++)if(O[ge-ae]===0&&Rt(P,T[ge])){fe=ge;break}fe===void 0?Ue(P,I,L,!0):(O[fe-ae]=D+1,fe>=b?b=fe:d=!0,g(P,T[fe],R,null,I,L,q,H,V),i++)}const x=d?fm(O):Sn;for(ge=x.length-1,D=f-1;D>=0;D--){const P=ae+D,fe=T[P],Ne=T[P+1],we=P+1{const{el:L,type:q,transition:H,children:V,shapeFlag:D}=m;if(D&6){de(m.component.subTree,T,R,k);return}if(D&128){m.suspense.move(T,R,k);return}if(D&64){q.move(m,T,R,gt);return}if(q===je){r(L,T,R);for(let te=0;teH.enter(L),I);else{const{leave:te,delayLeave:Y,afterLeave:J}=H,re=()=>{m.ctx.isUnmounted?o(L):r(L,T,R)},ae=()=>{L._isLeaving&&L[Ut](!0),te(L,()=>{re(),J&&J()})};Y?Y(L,re,ae):ae()}else r(L,T,R)},Ue=(m,T,R,k=!1,I=!1)=>{const{type:L,props:q,ref:H,children:V,dynamicChildren:D,shapeFlag:te,patchFlag:Y,dirs:J,cacheIndex:re}=m;if(Y===-2&&(I=!1),H!=null&&(nn(),Wn(H,null,R,m,!0),rn()),re!=null&&(T.renderCache[re]=void 0),te&256){T.ctx.deactivate(m);return}const ae=te&1&&J,he=!tn(m);let ge;if(he&&(ge=q&&q.onVnodeBeforeUnmount)&&st(ge,T,m),te&6)ue(m.component,R,k);else{if(te&128){m.suspense.unmount(R,k);return}ae&&Dt(m,null,T,"beforeUnmount"),te&64?m.type.remove(m,T,R,gt,k):D&&!D.hasOnce&&(L!==je||Y>0&&Y&64)?ot(D,T,R,!1,!0):(L===je&&Y&384||!I&&te&16)&&ot(V,T,R),k&&Ce(m)}(he&&(ge=q&&q.onVnodeUnmounted)||ae)&&Me(()=>{ge&&st(ge,T,m),ae&&Dt(m,null,T,"unmounted")},R)},Ce=m=>{const{type:T,el:R,anchor:k,transition:I}=m;if(T===je){Oe(R,k);return}if(T===xn){w(m);return}const L=()=>{o(R),I&&!I.persisted&&I.afterLeave&&I.afterLeave()};if(m.shapeFlag&1&&I&&!I.persisted){const{leave:q,delayLeave:H}=I,V=()=>q(R,L);H?H(m.el,L,V):V()}else L()},Oe=(m,T)=>{let R;for(;m!==T;)R=_(m),o(m),m=R;o(T)},ue=(m,T,R)=>{const{bum:k,scope:I,job:L,subTree:q,um:H,m:V,a:D}=m;Uo(V),Uo(D),k&&An(k),I.stop(),L&&(L.flags|=8,Ue(q,m,T,R)),H&&Me(H,T),Me(()=>{m.isUnmounted=!0},T)},ot=(m,T,R,k=!1,I=!1,L=0)=>{for(let q=L;q{if(m.shapeFlag&6)return St(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const T=_(m.anchor||m.el),R=T&&T[Jc];return R?_(R):T};let pt=!1;const ln=(m,T,R)=>{let k;m==null?T._vnode&&(Ue(T._vnode,null,null,!0),k=T._vnode.component):g(T._vnode||null,m,T,null,null,null,R),T._vnode=m,pt||(pt=!0,Ua(k),Po(),pt=!1)},gt={p:g,um:Ue,m:de,r:Ce,mt:le,mc:X,pc:ne,pbc:B,n:St,o:e};let dt,Lt;return t&&([dt,Lt]=t(gt)),{render:ln,hydrate:dt,createApp:Jh(ln,dt)}}function Ns({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function vn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Nu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ia(e,t,n=!1){const r=e.children,o=t.children;if(Q(r)&&Q(o))for(let s=0;s>1,e[n[u]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function Iu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Iu(t)}function Uo(e){if(e)for(let t=0;te.__isSuspense;let di=0;const pm={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,a,u,c,p){if(e==null)hm(t,n,r,o,s,a,u,c,p);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}mm(e,t,n,r,o,a,u,c,p)}},hydrate:gm,normalize:ym},dm=pm;function $r(e,t){const n=e.props&&e.props[t];se(n)&&n()}function hm(e,t,n,r,o,s,a,u,c){const{p,o:{createElement:l}}=c,h=l("div"),_=e.suspense=ku(e,o,r,t,h,n,s,a,u,c);p(null,_.pendingBranch=e.ssContent,h,null,r,_,s,a),_.deps>0?($r(e,"onPending"),$r(e,"onFallback"),p(null,e.ssFallback,t,n,r,null,s,a),Kn(_,e.ssFallback)):_.resolve(!1,!0)}function mm(e,t,n,r,o,s,a,u,{p:c,um:p,o:{createElement:l}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const _=t.ssContent,E=t.ssFallback,{activeBranch:S,pendingBranch:g,isInFallback:j,isHydrating:$}=h;if(g)h.pendingBranch=_,Rt(g,_)?(c(g,_,h.hiddenContainer,null,o,h,s,a,u),h.deps<=0?h.resolve():j&&($||(c(S,E,n,r,o,null,s,a,u),Kn(h,E)))):(h.pendingId=di++,$?(h.isHydrating=!1,h.activeBranch=g):p(g,o,h),h.deps=0,h.effects.length=0,h.hiddenContainer=l("div"),j?(c(null,_,h.hiddenContainer,null,o,h,s,a,u),h.deps<=0?h.resolve():(c(S,E,n,r,o,null,s,a,u),Kn(h,E))):S&&Rt(S,_)?(c(S,_,n,r,o,h,s,a,u),h.resolve(!0)):(c(null,_,h.hiddenContainer,null,o,h,s,a,u),h.deps<=0&&h.resolve()));else if(S&&Rt(S,_))c(S,_,n,r,o,h,s,a,u),Kn(h,_);else if($r(t,"onPending"),h.pendingBranch=_,_.shapeFlag&512?h.pendingId=_.component.suspenseId:h.pendingId=di++,c(null,_,h.hiddenContainer,null,o,h,s,a,u),h.deps<=0)h.resolve();else{const{timeout:C,pendingId:v}=h;C>0?setTimeout(()=>{h.pendingId===v&&h.fallback(E)},C):C===0&&h.fallback(E)}}function ku(e,t,n,r,o,s,a,u,c,p,l=!1){const{p:h,m:_,um:E,n:S,o:{parentNode:g,remove:j}}=p;let $;const C=bm(e);C&&t&&t.pendingBranch&&($=t.pendingId,t.deps++);const v=e.props?Ir(e.props.timeout):void 0,w=s,N={vnode:e,parent:t,parentComponent:n,namespace:a,container:r,hiddenContainer:o,deps:0,pendingId:di++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!l,isHydrating:l,isUnmounted:!1,effects:[],resolve(F=!1,G=!1){const{vnode:X,activeBranch:M,pendingBranch:B,pendingId:K,effects:U,parentComponent:ee,container:le,isInFallback:ce}=N;let z=!1;N.isHydrating?N.isHydrating=!1:F||(z=M&&B.transition&&B.transition.mode==="out-in",z&&(M.transition.afterLeave=()=>{K===N.pendingId&&(_(B,le,s===w?S(M):s,0),Dr(U),ce&&X.ssFallback&&(X.ssFallback.el=null))}),M&&(g(M.el)===le&&(s=S(M)),E(M,ee,N,!0),!z&&ce&&X.ssFallback&&Me(()=>X.ssFallback.el=null,N)),z||_(B,le,s,0)),Kn(N,B),N.pendingBranch=null,N.isInFallback=!1;let oe=N.parent,ne=!1;for(;oe;){if(oe.pendingBranch){oe.effects.push(...U),ne=!0;break}oe=oe.parent}!ne&&!z&&Dr(U),N.effects=[],C&&t&&t.pendingBranch&&$===t.pendingId&&(t.deps--,t.deps===0&&!G&&t.resolve()),$r(X,"onResolve")},fallback(F){if(!N.pendingBranch)return;const{vnode:G,activeBranch:X,parentComponent:M,container:B,namespace:K}=N;$r(G,"onFallback");const U=S(X),ee=()=>{N.isInFallback&&(h(null,F,B,U,M,null,K,u,c),Kn(N,F))},le=F.transition&&F.transition.mode==="out-in";le&&(X.transition.afterLeave=ee),N.isInFallback=!0,E(X,M,null,!0),le||ee()},move(F,G,X){N.activeBranch&&_(N.activeBranch,F,G,X),N.container=F},next(){return N.activeBranch&&S(N.activeBranch)},registerDep(F,G,X){const M=!!N.pendingBranch;M&&N.deps++;const B=F.vnode.el;F.asyncDep.catch(K=>{Mn(K,F,0)}).then(K=>{if(F.isUnmounted||N.isUnmounted||N.pendingId!==F.suspenseId)return;F.asyncResolved=!0;const{vnode:U}=F;gi(F,K,!1),B&&(U.el=B);const ee=!B&&F.subTree.el;G(F,U,g(B||F.subTree.el),B?null:S(F.subTree),N,a,X),ee&&(U.placeholder=null,j(ee)),ps(F,U.el),M&&--N.deps===0&&N.resolve()})},unmount(F,G){N.isUnmounted=!0,N.activeBranch&&E(N.activeBranch,n,F,G),N.pendingBranch&&E(N.pendingBranch,n,F,G)}};return N}function gm(e,t,n,r,o,s,a,u,c){const p=t.suspense=ku(t,r,n,e.parentNode,document.createElement("div"),null,o,s,a,u,!0),l=c(e,p.pendingBranch=t.ssContent,n,p,s,a);return p.deps===0&&p.resolve(!1,!0),l}function ym(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Za(r?n.default:n),e.ssFallback=r?Za(n.fallback):Ie(De)}function Za(e){let t;if(se(e)){const n=In&&e._c;n&&(e._d=!1,jr()),e=e(),n&&(e._d=!0,t=Ze,Mu())}return Q(e)&&(e=tm(e)),e=it(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Pu(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Dr(e)}function Kn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,ps(r,o))}function bm(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const je=Symbol.for("v-fgt"),mn=Symbol.for("v-txt"),De=Symbol.for("v-cmt"),xn=Symbol.for("v-stc"),Rr=[];let Ze=null;function jr(e=!1){Rr.push(Ze=e?null:[])}function Mu(){Rr.pop(),Ze=Rr[Rr.length-1]||null}let In=1;function Hr(e,t=!1){In+=e,e<0&&Ze&&t&&(Ze.hasOnce=!0)}function Du(e){return e.dynamicChildren=In>0?Ze||Sn:null,Mu(),In>0&&Ze&&Ze.push(e),e}function Em(e,t,n,r,o,s){return Du(aa(e,t,n,r,o,s,!0))}function Bo(e,t,n,r,o){return Du(Ie(e,t,n,r,o,!0))}function sn(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}function vm(e){}const Uu=({key:e})=>e??null,_o=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Be(e)||se(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function aa(e,t=null,n=null,r=0,o=null,s=e===je?0:1,a=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Uu(t),ref:t&&_o(t),scopeId:ss,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:qe};return u?(ca(c,n),s&128&&e.normalize(c)):n&&(c.shapeFlag|=Se(n)?8:16),In>0&&!a&&Ze&&(c.patchFlag>0||s&6)&&c.patchFlag!==32&&Ze.push(c),c}const Ie=_m;function _m(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===pu)&&(e=De),sn(e)){const u=Vt(e,t,!0);return n&&ca(u,n),In>0&&!s&&Ze&&(u.shapeFlag&6?Ze[Ze.indexOf(e)]=u:Ze.push(u)),u.patchFlag=-2,u}if(Nm(e)&&(e=e.__vccOpts),t){t=Fu(t);let{class:u,style:c}=t;u&&!Se(u)&&(t.class=or(u)),Ee(c)&&(Kr(c)&&!Q(c)&&(c=_e({},c)),t.style=rr(c))}const a=Se(e)?1:Fo(e)?128:Zc(e)?64:Ee(e)?4:se(e)?2:0;return aa(e,t,n,r,o,a,s,!0)}function Fu(e){return e?Kr(e)||_u(e)?_e({},e):e:null}function Vt(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:a,children:u,transition:c}=e,p=t?Bu(o||{},t):o,l={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Uu(p),ref:t&&t.ref?n&&s?Q(s)?s.concat(_o(t)):[s,_o(t)]:_o(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:u,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Vt(e.ssContent),ssFallback:e.ssFallback&&Vt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&on(l,c.clone(l)),l}function la(e=" ",t=0){return Ie(mn,null,e,t)}function wm(e,t){const n=Ie(xn,null,e);return n.staticCount=t,n}function Tm(e="",t=!1){return t?(jr(),Bo(De,null,e)):Ie(De,null,e)}function it(e){return e==null||typeof e=="boolean"?Ie(De):Q(e)?Ie(je,null,e.slice()):sn(e)?Xt(e):Ie(mn,null,String(e))}function Xt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Vt(e)}function ca(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ca(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!_u(t)?t._ctx=qe:o===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else se(t)?(t={default:t,_ctx:qe},n=32):(t=String(t),r&64?(n=16,t=[la(t)]):n=8);e.children=t,e.shapeFlag|=n}function Bu(...e){const t={};for(let n=0;nGe||qe;let $o,hi;{const e=qr(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};$o=t("__VUE_INSTANCE_SETTERS__",n=>Ge=n),hi=t("__VUE_SSR_SETTERS__",n=>Jn=n)}const Ln=e=>{const t=Ge;return $o(e),e.scope.on(),()=>{e.scope.off(),$o(t)}},mi=()=>{Ge&&Ge.scope.off(),$o(null)};function ju(e){return e.vnode.shapeFlag&4}let Jn=!1;function Hu(e,t=!1,n=!1){t&&hi(t);const{props:r,children:o}=e.vnode,s=ju(e);sm(e,r,s,t),cm(e,o,n||t);const a=s?Am(e,t):void 0;return t&&hi(!1),a}function Am(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ci);const{setup:r}=n;if(r){nn();const o=e.setupContext=r.length>1?zu(e):null,s=Ln(e),a=sr(r,e,0,[e.props,o]),u=Jo(a);if(rn(),s(),(u||e.sp)&&!tn(e)&&Zi(e),u){if(a.then(mi,mi),t)return a.then(c=>{gi(e,c,t)}).catch(c=>{Mn(c,e,0)});e.asyncDep=a}else gi(e,a,t)}else Vu(e,t)}function gi(e,t,n){se(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ee(t)&&(e.setupState=qi(t)),Vu(e,n)}let jo,yi;function Cm(e){jo=e,yi=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ih))}}const Rm=()=>!jo;function Vu(e,t,n){const r=e.type;if(!e.render){if(!t&&jo&&!r.render){const o=r.template||ra(e).template;if(o){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:u,compilerOptions:c}=r,p=_e(_e({isCustomElement:s,delimiters:u},a),c);r.render=jo(o,p)}}e.render=r.render||ht,yi&&yi(e)}{const o=Ln(e);nn();try{Gh(e)}finally{rn(),o()}}}const xm={get(e,t){return Xe(e,"get",""),e[t]}};function zu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,xm),slots:e.slots,emit:e.emit,expose:t}}function Qr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(qi(Mc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cr)return Cr[n](e)},has(t,n){return n in t||n in Cr}})):e.proxy}function bi(e,t=!0){return se(e)?e.displayName||e.name:e.name||t&&e.__name}function Nm(e){return se(e)&&"__vccOpts"in e}const Gu=(e,t)=>Dd(e,t,Jn);function qu(e,t,n){try{Hr(-1);const r=arguments.length;return r===2?Ee(t)&&!Q(t)?sn(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&sn(n)&&(n=[n]),Ie(e,t,n))}finally{Hr(1)}}function Im(){}function Lm(e,t,n,r){const o=n[r];if(o&&Wu(o,e))return o;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function Wu(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r0&&Ze&&Ze.push(e),!0}const Ku="3.5.28",km=ht,Pm=Gd,Mm=Hn,Dm=Gc,Um={createComponentInstance:$u,setupComponent:Hu,renderComponentRoot:vo,setCurrentRenderingInstance:Fr,isVNode:sn,normalizeVNode:it,getComponentPublicInstance:Qr,ensureValidVNode:na,pushWarningContext:jd,popWarningContext:Hd},Fm=Um,Bm=null,$m=null,jm=null;let Ei;const Qa=typeof window<"u"&&window.trustedTypes;if(Qa)try{Ei=Qa.createPolicy("vue",{createHTML:e=>e})}catch{}const Xu=Ei?e=>Ei.createHTML(e):e=>e,Hm="http://www.w3.org/2000/svg",Vm="http://www.w3.org/1998/Math/MathML",Kt=typeof document<"u"?document:null,el=Kt&&Kt.createElement("template"),Yu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Kt.createElementNS(Hm,e):t==="mathml"?Kt.createElementNS(Vm,e):n?Kt.createElement(e,{is:n}):Kt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Kt.createTextNode(e),createComment:e=>Kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{el.innerHTML=Xu(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const u=el.content;if(r==="svg"||r==="mathml"){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}t.insertBefore(u,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},cn="transition",ur="animation",Zn=Symbol("_vtc"),Ju={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},Zu=_e({},Yi,Ju),zm=e=>(e.displayName="Transition",e.props=Zu,e),Gm=zm((e,{slots:t})=>qu(nu,Qu(e),t)),_n=(e,t=[])=>{Q(e)?e.forEach(n=>n(...t)):e&&e(...t)},tl=e=>e?Q(e)?e.some(t=>t.length>1):e.length>1:!1;function Qu(e){const t={};for(const U in e)U in Ju||(t[U]=e[U]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:u=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:p=a,appearToClass:l=u,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,S=qm(o),g=S&&S[0],j=S&&S[1],{onBeforeEnter:$,onEnter:C,onEnterCancelled:v,onLeave:w,onLeaveCancelled:N,onBeforeAppear:F=$,onAppear:G=C,onAppearCancelled:X=v}=t,M=(U,ee,le,ce)=>{U._enterCancelled=ce,un(U,ee?l:u),un(U,ee?p:a),le&&le()},B=(U,ee)=>{U._isLeaving=!1,un(U,h),un(U,E),un(U,_),ee&&ee()},K=U=>(ee,le)=>{const ce=U?G:C,z=()=>M(ee,U,le);_n(ce,[ee,z]),nl(()=>{un(ee,U?c:s),kt(ee,U?l:u),tl(ce)||rl(ee,r,g,z)})};return _e(t,{onBeforeEnter(U){_n($,[U]),kt(U,s),kt(U,a)},onBeforeAppear(U){_n(F,[U]),kt(U,c),kt(U,p)},onEnter:K(!1),onAppear:K(!0),onLeave(U,ee){U._isLeaving=!0;const le=()=>B(U,ee);kt(U,h),U._enterCancelled?(kt(U,_),vi(U)):(vi(U),kt(U,_)),nl(()=>{U._isLeaving&&(un(U,h),kt(U,E),tl(w)||rl(U,r,j,le))}),_n(w,[U,le])},onEnterCancelled(U){M(U,!1,void 0,!0),_n(v,[U])},onAppearCancelled(U){M(U,!0,void 0,!0),_n(X,[U])},onLeaveCancelled(U){B(U),_n(N,[U])}})}function qm(e){if(e==null)return null;if(Ee(e))return[Is(e.enter),Is(e.leave)];{const t=Is(e);return[t,t]}}function Is(e){return Ir(e)}function kt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zn]||(e[Zn]=new Set)).add(t)}function un(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Zn];n&&(n.delete(t),n.size||(e[Zn]=void 0))}function nl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Wm=0;function rl(e,t,n,r){const o=e._endId=++Wm,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:a,timeout:u,propCount:c}=ef(e,t);if(!a)return r();const p=a+"end";let l=0;const h=()=>{e.removeEventListener(p,_),s()},_=E=>{E.target===e&&++l>=c&&h()};setTimeout(()=>{l(n[S]||"").split(", "),o=r(`${cn}Delay`),s=r(`${cn}Duration`),a=ol(o,s),u=r(`${ur}Delay`),c=r(`${ur}Duration`),p=ol(u,c);let l=null,h=0,_=0;t===cn?a>0&&(l=cn,h=a,_=s.length):t===ur?p>0&&(l=ur,h=p,_=c.length):(h=Math.max(a,p),l=h>0?a>p?cn:ur:null,_=l?l===cn?s.length:c.length:0);const E=l===cn&&/\b(?:transform|all)(?:,|$)/.test(r(`${cn}Property`).toString());return{type:l,timeout:h,propCount:_,hasTransform:E}}function ol(e,t){for(;e.lengthsl(n)+sl(e[r])))}function sl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vi(e){return(e?e.ownerDocument:document).body.offsetHeight}function Km(e,t,n){const r=e[Zn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ho=Symbol("_vod"),tf=Symbol("_vsh"),nf={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ho]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):fr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),fr(e,!0),r.enter(e)):r.leave(e,()=>{fr(e,!1)}):fr(e,t))},beforeUnmount(e,{value:t}){fr(e,t)}};function fr(e,t){e.style.display=t?e[Ho]:"none",e[tf]=!t}function Xm(){nf.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const rf=Symbol("");function Ym(e){const t=ft();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Vo(s,o))},r=()=>{const o=e(t.proxy);t.ce?Vo(t.ce,o):_i(t.subTree,o),n(o)};Qi(()=>{Dr(r)}),Zr(()=>{qn(r,ht,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),us(()=>o.disconnect())})}function _i(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{_i(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Vo(e.el,t);else if(e.type===je)e.children.forEach(n=>_i(n,t));else if(e.type===xn){let{el:n,anchor:r}=e;for(;n&&(Vo(n,t),n!==r);)n=n.nextSibling}}function Vo(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t){const s=yc(t[o]);n.setProperty(`--${o}`,s),r+=`--${o}: ${s};`}n[rf]=r}}const Jm=/(?:^|;)\s*display\s*:/;function Zm(e,t,n){const r=e.style,o=Se(n);let s=!1;if(n&&!o){if(t)if(Se(t))for(const a of t.split(";")){const u=a.slice(0,a.indexOf(":")).trim();n[u]==null&&wo(r,u,"")}else for(const a in t)n[a]==null&&wo(r,a,"");for(const a in n)a==="display"&&(s=!0),wo(r,a,n[a])}else if(o){if(t!==n){const a=r[rf];a&&(n+=";"+a),r.cssText=n,s=Jm.test(n)}}else t&&e.removeAttribute("style");Ho in e&&(e[Ho]=s?r.display:"",e[tf]&&(r.display="none"))}const il=/\s*!important$/;function wo(e,t,n){if(Q(n))n.forEach(r=>wo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Qm(e,t);il.test(n)?e.setProperty(Ye(r),n.replace(il,""),"important"):e[r]=n}}const al=["Webkit","Moz","ms"],Ls={};function Qm(e,t){const n=Ls[t];if(n)return n;let r=He(t);if(r!=="filter"&&r in e)return Ls[t]=r;r=nr(r);for(let o=0;oks||(rg.then(()=>ks=0),ks=Date.now());function sg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;wt(ig(r,n.value),t,5,[r])};return n.value=e,n.attached=og(),n}function ig(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const dl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,of=(e,t,n,r,o,s)=>{const a=o==="svg";t==="class"?Km(e,r,a):t==="style"?Zm(e,n,r):tr(t)?Xo(t)||tg(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ag(e,t,r,a))?(ul(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&cl(e,t,r,a,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Se(r))?ul(e,He(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),cl(e,t,r,a))};function ag(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&dl(t)&&se(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return dl(t)&&Se(n)?!1:t in e}const hl={};function sf(e,t,n){let r=Ji(e,t);Vr(r)&&(r=_e({},r,t));class o extends ds{constructor(a){super(r,a,n)}}return o.def=r,o}const lg=(e,t)=>sf(e,t,Ef),cg=typeof HTMLElement<"u"?HTMLElement:class{};class ds extends cg{constructor(t,n={},r=wi){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==wi?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(_e({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof ds){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,os(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let r=0;r{this._resolved=!0,this._pendingResolve=void 0;const{props:s,styles:a}=r;let u;if(s&&!Q(s))for(const c in s){const p=s[c];(p===Number||p&&p.type===Number)&&(c in this._props&&(this._props[c]=Ir(this._props[c])),(u||(u=Object.create(null)))[He(c)]=!0)}this._numberProps=u,this._resolveProps(r),this.shadowRoot&&this._applyStyles(a),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>{r.configureApp=this._def.configureApp,t(this._def=r,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)be(this,r)||Object.defineProperty(this,r,{get:()=>Xr(n[r])})}_resolveProps(t){const{props:n}=t,r=Q(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o]);for(const o of r.map(He))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):hl;const o=He(t);n&&this._numberProps&&this._numberProps[o]&&(r=Ir(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){if(n!==this._props[t]&&(this._dirty=!0,n===hl?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const s=this._ob;s&&(this._processMutations(s.takeRecords()),s.disconnect()),n===!0?this.setAttribute(Ye(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Ye(t),n+""):n||this.removeAttribute(Ye(t)),s&&s.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),bf(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=Ie(this._def,_e(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(s,a)=>{this.dispatchEvent(new CustomEvent(s,Vr(a[0])?_e({detail:a},a[0]):{detail:a}))};r.emit=(s,...a)=>{o(s,a),Ye(s)!==s&&o(Ye(s),a)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const s=document.createElement("style");r&&s.setAttribute("nonce",r),s.textContent=t[o],this.shadowRoot.prepend(s)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let r=0;r(delete e.props.mode,e),dg=pg({name:"TransitionGroup",props:_e({},Zu,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ft(),r=Xi();let o,s;return ls(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!bg(o[0].el,n.vnode.el,a)){o=[];return}o.forEach(mg),o.forEach(gg);const u=o.filter(yg);vi(n.vnode.el),u.forEach(c=>{const p=c.el,l=p.style;kt(p,a),l.transform=l.webkitTransform=l.transitionDuration="";const h=p[zo]=_=>{_&&_.target!==p||(!_||_.propertyName.endsWith("transform"))&&(p.removeEventListener("transitionend",h),p[zo]=null,un(p,a))};p.addEventListener("transitionend",h)}),o=[]}),()=>{const a=ye(e),u=Qu(a);let c=a.tag||je;if(o=[],s)for(let p=0;p{u.split(/\s+/).forEach(c=>c&&r.classList.remove(c))}),n.split(/\s+/).forEach(u=>u&&r.classList.add(u)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:a}=ef(r);return s.removeChild(r),a}const gn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Q(t)?n=>An(t,n):t};function Eg(e){e.target.composing=!0}function gl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vt=Symbol("_assign");function yl(e,t,n){return t&&(e=e.trim()),n&&(e=Gr(e)),e}const Go={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[vt]=gn(o);const s=r||o.props&&o.props.type==="number";Zt(e,t?"change":"input",a=>{a.target.composing||e[vt](yl(e.value,n,s))}),(n||s)&&Zt(e,"change",()=>{e.value=yl(e.value,n,s)}),t||(Zt(e,"compositionstart",Eg),Zt(e,"compositionend",gl),Zt(e,"change",gl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},a){if(e[vt]=gn(a),e.composing)return;const u=(s||e.type==="number")&&!/^0\d/.test(e.value)?Gr(e.value):e.value,c=t??"";u!==c&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===c)||(e.value=c))}},ua={deep:!0,created(e,t,n){e[vt]=gn(n),Zt(e,"change",()=>{const r=e._modelValue,o=Qn(e),s=e.checked,a=e[vt];if(Q(r)){const u=Wr(r,o),c=u!==-1;if(s&&!c)a(r.concat(o));else if(!s&&c){const p=[...r];p.splice(u,1),a(p)}}else if(yn(r)){const u=new Set(r);s?u.add(o):u.delete(o),a(u)}else a(pf(e,s))})},mounted:bl,beforeUpdate(e,t,n){e[vt]=gn(n),bl(e,t,n)}};function bl(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(Q(t))o=Wr(t,r.props.value)>-1;else if(yn(t))o=t.has(r.props.value);else{if(t===n)return;o=jt(t,pf(e,!0))}e.checked!==o&&(e.checked=o)}const fa={created(e,{value:t},n){e.checked=jt(t,n.props.value),e[vt]=gn(n),Zt(e,"change",()=>{e[vt](Qn(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[vt]=gn(r),t!==n&&(e.checked=jt(t,r.props.value))}},ff={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=yn(t);Zt(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Gr(Qn(a)):Qn(a));e[vt](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,os(()=>{e._assigning=!1})}),e[vt]=gn(r)},mounted(e,{value:t}){El(e,t)},beforeUpdate(e,t,n){e[vt]=gn(n)},updated(e,{value:t}){e._assigning||El(e,t)}};function El(e,t){const n=e.multiple,r=Q(t);if(!(n&&!r&&!yn(t))){for(let o=0,s=e.options.length;oString(p)===String(u)):a.selected=Wr(t,u)>-1}else a.selected=t.has(u);else if(jt(Qn(a),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qn(e){return"_value"in e?e._value:e.value}function pf(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const df={created(e,t,n){mo(e,t,n,null,"created")},mounted(e,t,n){mo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){mo(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){mo(e,t,n,r,"updated")}};function hf(e,t){switch(e){case"SELECT":return ff;case"TEXTAREA":return Go;default:switch(t){case"checkbox":return ua;case"radio":return fa;default:return Go}}}function mo(e,t,n,r,o){const s=hf(e.tagName,n.props&&n.props.type)[o];s&&s(e,t,n,r)}function vg(){Go.getSSRProps=({value:e})=>({value:e}),fa.getSSRProps=({value:e},t)=>{if(t.props&&jt(t.props.value,e))return{checked:!0}},ua.getSSRProps=({value:e},t)=>{if(Q(e)){if(t.props&&Wr(e,t.props.value)>-1)return{checked:!0}}else if(yn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},df.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=hf(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const _g=["ctrl","shift","alt","meta"],wg={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>_g.some(n=>e[`${n}Key`]&&!t.includes(n))},Tg=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=Ye(o.key);if(t.some(a=>a===s||Sg[a]===s))return e(o)})},mf=_e({patchProp:of},Yu);let xr,vl=!1;function gf(){return xr||(xr=Cu(mf))}function yf(){return xr=vl?xr:Ru(mf),vl=!0,xr}const bf=(...e)=>{gf().render(...e)},Ag=(...e)=>{yf().hydrate(...e)},wi=(...e)=>{const t=gf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=_f(r);if(!o)return;const s=t._component;!se(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,vf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},Ef=(...e)=>{const t=yf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=_f(r);if(o)return n(o,!0,vf(o))},t};function vf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _f(e){return Se(e)?document.querySelector(e):e}let _l=!1;const Cg=()=>{_l||(_l=!0,vg(),Xm())},bb=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:nu,BaseTransitionPropsValidators:Yi,Comment:De,DeprecationTypes:jm,EffectScope:Hi,ErrorCodes:zd,ErrorTypeStrings:Pm,Fragment:je,KeepAlive:_h,ReactiveEffect:Lr,Static:xn,Suspense:dm,Teleport:rh,Text:mn,TrackOpTypes:Ud,Transition:Gm,TransitionGroup:hg,TriggerOpTypes:Fd,VueElement:ds,assertNumber:Vd,callWithAsyncErrorHandling:wt,callWithErrorHandling:sr,camelize:He,capitalize:nr,cloneVNode:Vt,compatUtils:$m,computed:Gu,createApp:wi,createBlock:Bo,createCommentVNode:Tm,createElementBlock:Em,createElementVNode:aa,createHydrationRenderer:Ru,createPropsRestProxy:Vh,createRenderer:Cu,createSSRApp:Ef,createSlots:Rh,createStaticVNode:wm,createTextVNode:la,createVNode:Ie,customRef:Fc,defineAsyncComponent:Eh,defineComponent:Ji,defineCustomElement:sf,defineEmits:kh,defineExpose:Ph,defineModel:Uh,defineOptions:Mh,defineProps:Lh,defineSSRCustomElement:lg,defineSlots:Dh,devtools:Mm,effect:sd,effectScope:nd,getCurrentInstance:ft,getCurrentScope:bc,getCurrentWatcher:Bd,getTransitionRawChildren:is,guardReactiveProps:Fu,h:qu,handleError:Mn,hasInjectionContext:Zd,hydrate:Ag,hydrateOnIdle:dh,hydrateOnInteraction:yh,hydrateOnMediaQuery:gh,hydrateOnVisible:mh,initCustomFormatter:Im,initDirectivesForSSR:Cg,inject:Or,isMemoSame:Wu,isProxy:Kr,isReactive:en,isReadonly:Ht,isRef:Be,isRuntimeOnly:Rm,isShallow:at,isVNode:sn,markRaw:Mc,mergeDefaults:jh,mergeModels:Hh,mergeProps:Bu,nextTick:os,nodeOps:Yu,normalizeClass:or,normalizeProps:fc,normalizeStyle:rr,onActivated:ou,onBeforeMount:au,onBeforeUnmount:cs,onBeforeUpdate:Qi,onDeactivated:su,onErrorCaptured:fu,onMounted:Zr,onRenderTracked:uu,onRenderTriggered:cu,onScopeDispose:rd,onServerPrefetch:lu,onUnmounted:us,onUpdated:ls,onWatcherCleanup:$c,openBlock:jr,patchProp:of,popScopeId:Xd,provide:qc,proxyRefs:qi,pushScopeId:Kd,queuePostFlushCb:Dr,reactive:ns,readonly:Io,ref:Sr,registerRuntimeCompiler:Cm,render:bf,renderList:Ch,renderSlot:xh,resolveComponent:Sh,resolveDirective:Ah,resolveDynamicComponent:Oh,resolveFilter:Bm,resolveTransitionHooks:Yn,setBlockTracking:Hr,setDevtoolsHook:Dm,setTransitionHooks:on,shallowReactive:Pc,shallowReadonly:Od,shallowRef:Dc,ssrContextKey:Wc,ssrUtils:Fm,stop:id,toDisplayString:ji,toHandlerKey:zn,toHandlers:Nh,toRaw:ye,toRef:Pd,toRefs:Id,toValue:Rd,transformVNodeArgs:vm,triggerRef:Cd,unref:Xr,useAttrs:$h,useCssModule:fg,useCssVars:Ym,useHost:af,useId:sh,useModel:Zh,useSSRContext:Kc,useShadowRoot:ug,useSlots:Bh,useTemplateRef:ih,useTransitionState:Xi,vModelCheckbox:ua,vModelDynamic:df,vModelRadio:fa,vModelSelect:ff,vModelText:Go,vShow:nf,version:Ku,warn:km,watch:qn,watchEffect:Qd,watchPostEffect:eh,watchSyncEffect:Xc,withAsyncContext:zh,withCtx:Ki,withDefaults:Fh,withDirectives:Jd,withKeys:Og,withMemo:Lm,withModifiers:Tg,withScopeId:Yd},Symbol.toStringTag,{value:"Module"}));var pa={},To={};To.byteLength=Ng,To.toByteArray=Lg,To.fromByteArray=Mg;for(var $t=[],Et=[],Rg=typeof Uint8Array<"u"?Uint8Array:Array,Ps="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bn=0,xg=Ps.length;Bn0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function Ng(e){var t=wf(e),n=t[0],r=t[1];return(n+r)*3/4-r}function Ig(e,t,n){return(t+n)*3/4-n}function Lg(e){var t,n=wf(e),r=n[0],o=n[1],s=new Rg(Ig(e,r,o)),a=0,u=o>0?r-4:r,c;for(c=0;c>16&255,s[a++]=t>>8&255,s[a++]=t&255;return o===2&&(t=Et[e.charCodeAt(c)]<<2|Et[e.charCodeAt(c+1)]>>4,s[a++]=t&255),o===1&&(t=Et[e.charCodeAt(c)]<<10|Et[e.charCodeAt(c+1)]<<4|Et[e.charCodeAt(c+2)]>>2,s[a++]=t>>8&255,s[a++]=t&255),s}function kg(e){return $t[e>>18&63]+$t[e>>12&63]+$t[e>>6&63]+$t[e&63]}function Pg(e,t,n){for(var r,o=[],s=t;su?u:a+s));return r===1?(t=e[n-1],o.push($t[t>>2]+$t[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],o.push($t[t>>10]+$t[t>>4&63]+$t[t<<2&63]+"=")),o.join("")}var Ti={};Ti.read=function(e,t,n,r,o){var s,a,u=o*8-r-1,c=(1<>1,l=-7,h=n?o-1:0,_=n?-1:1,E=e[t+h];for(h+=_,s=E&(1<<-l)-1,E>>=-l,l+=u;l>0;s=s*256+e[t+h],h+=_,l-=8);for(a=s&(1<<-l)-1,s>>=-l,l+=r;l>0;a=a*256+e[t+h],h+=_,l-=8);if(s===0)s=1-p;else{if(s===c)return a?NaN:(E?-1:1)*(1/0);a=a+Math.pow(2,r),s=s-p}return(E?-1:1)*a*Math.pow(2,s-r)},Ti.write=function(e,t,n,r,o,s){var a,u,c,p=s*8-o-1,l=(1<>1,_=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=r?0:s-1,S=r?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),a+h>=1?t+=_/c:t+=_*Math.pow(2,1-h),t*c>=2&&(a++,c/=2),a+h>=l?(u=0,a=l):a+h>=1?(u=(t*c-1)*Math.pow(2,o),a=a+h):(u=t*Math.pow(2,h-1)*Math.pow(2,o),a=0));o>=8;e[n+E]=u&255,E+=S,u/=256,o-=8);for(a=a<0;e[n+E]=a&255,E+=S,a/=256,p-=8);e[n+E-S]|=g*128};(function(e){const t=To,n=Ti,r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=N,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o;const{Uint8Array:s,ArrayBuffer:a,SharedArrayBuffer:u}=globalThis;l.TYPED_ARRAY_SUPPORT=c(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function c(){try{const i=new s(1),f={foo:function(){return 42}};return Object.setPrototypeOf(f,s.prototype),Object.setPrototypeOf(i,f),i.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function p(i){if(i>o)throw new RangeError('The value "'+i+'" is invalid for option "size"');const f=new s(i);return Object.setPrototypeOf(f,l.prototype),f}function l(i,f,d){if(typeof i=="number"){if(typeof f=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return S(i)}return h(i,f,d)}l.poolSize=8192;function h(i,f,d){if(typeof i=="string")return g(i,f);if(a.isView(i))return $(i);if(i==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(J(i,a)||i&&J(i.buffer,a)||typeof u<"u"&&(J(i,u)||i&&J(i.buffer,u)))return C(i,f,d);if(typeof i=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const b=i.valueOf&&i.valueOf();if(b!=null&&b!==i)return l.from(b,f,d);const O=v(i);if(O)return O;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof i[Symbol.toPrimitive]=="function")return l.from(i[Symbol.toPrimitive]("string"),f,d);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}l.from=function(i,f,d){return h(i,f,d)},Object.setPrototypeOf(l.prototype,s.prototype),Object.setPrototypeOf(l,s);function _(i){if(typeof i!="number")throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"')}function E(i,f,d){return _(i),i<=0?p(i):f!==void 0?typeof d=="string"?p(i).fill(f,d):p(i).fill(f):p(i)}l.alloc=function(i,f,d){return E(i,f,d)};function S(i){return _(i),p(i<0?0:w(i)|0)}l.allocUnsafe=function(i){return S(i)},l.allocUnsafeSlow=function(i){return S(i)};function g(i,f){if((typeof f!="string"||f==="")&&(f="utf8"),!l.isEncoding(f))throw new TypeError("Unknown encoding: "+f);const d=F(i,f)|0;let b=p(d);const O=b.write(i,f);return O!==d&&(b=b.slice(0,O)),b}function j(i){const f=i.length<0?0:w(i.length)|0,d=p(f);for(let b=0;b=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return i|0}function N(i){return+i!=i&&(i=0),l.alloc(+i)}l.isBuffer=function(i){return i!=null&&i._isBuffer===!0&&i!==l.prototype},l.compare=function(i,f){if(J(i,s)&&(i=l.from(i,i.offset,i.byteLength)),J(f,s)&&(f=l.from(f,f.offset,f.byteLength)),!l.isBuffer(i)||!l.isBuffer(f))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(i===f)return 0;let d=i.length,b=f.length;for(let O=0,x=Math.min(d,b);Ob.length?(l.isBuffer(x)||(x=l.from(x)),x.copy(b,O)):s.prototype.set.call(b,x,O);else if(l.isBuffer(x))x.copy(b,O);else throw new TypeError('"list" argument must be an Array of Buffers');O+=x.length}return b};function F(i,f){if(l.isBuffer(i))return i.length;if(a.isView(i)||J(i,a))return i.byteLength;if(typeof i!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);const d=i.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&d===0)return 0;let O=!1;for(;;)switch(f){case"ascii":case"latin1":case"binary":return d;case"utf8":case"utf-8":return H(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return d*2;case"hex":return d>>>1;case"base64":return te(i).length;default:if(O)return b?-1:H(i).length;f=(""+f).toLowerCase(),O=!0}}l.byteLength=F;function G(i,f,d){let b=!1;if((f===void 0||f<0)&&(f=0),f>this.length||((d===void 0||d>this.length)&&(d=this.length),d<=0)||(d>>>=0,f>>>=0,d<=f))return"";for(i||(i="utf8");;)switch(i){case"hex":return Ue(this,f,d);case"utf8":case"utf-8":return oe(this,f,d);case"ascii":return mt(this,f,d);case"latin1":case"binary":return de(this,f,d);case"base64":return z(this,f,d);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ce(this,f,d);default:if(b)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),b=!0}}l.prototype._isBuffer=!0;function X(i,f,d){const b=i[f];i[f]=i[d],i[d]=b}l.prototype.swap16=function(){const i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let f=0;ff&&(i+=" ... "),""},r&&(l.prototype[r]=l.prototype.inspect),l.prototype.compare=function(i,f,d,b,O){if(J(i,s)&&(i=l.from(i,i.offset,i.byteLength)),!l.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(f===void 0&&(f=0),d===void 0&&(d=i?i.length:0),b===void 0&&(b=0),O===void 0&&(O=this.length),f<0||d>i.length||b<0||O>this.length)throw new RangeError("out of range index");if(b>=O&&f>=d)return 0;if(b>=O)return-1;if(f>=d)return 1;if(f>>>=0,d>>>=0,b>>>=0,O>>>=0,this===i)return 0;let x=O-b,P=d-f;const fe=Math.min(x,P),Ne=this.slice(b,O),we=i.slice(f,d);for(let ve=0;ve2147483647?d=2147483647:d<-2147483648&&(d=-2147483648),d=+d,re(d)&&(d=O?0:i.length-1),d<0&&(d=i.length+d),d>=i.length){if(O)return-1;d=i.length-1}else if(d<0)if(O)d=0;else return-1;if(typeof f=="string"&&(f=l.from(f,b)),l.isBuffer(f))return f.length===0?-1:B(i,f,d,b,O);if(typeof f=="number")return f=f&255,typeof s.prototype.indexOf=="function"?O?s.prototype.indexOf.call(i,f,d):s.prototype.lastIndexOf.call(i,f,d):B(i,[f],d,b,O);throw new TypeError("val must be string, number or Buffer")}function B(i,f,d,b,O){let x=1,P=i.length,fe=f.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(i.length<2||f.length<2)return-1;x=2,P/=2,fe/=2,d/=2}function Ne(ve,xe){return x===1?ve[xe]:ve.readUInt16BE(xe*x)}let we;if(O){let ve=-1;for(we=d;weP&&(d=P-fe),we=d;we>=0;we--){let ve=!0;for(let xe=0;xeO&&(b=O)):b=O;const x=f.length;b>x/2&&(b=x/2);let P;for(P=0;P>>0,isFinite(d)?(d=d>>>0,b===void 0&&(b="utf8")):(b=d,d=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const O=this.length-f;if((d===void 0||d>O)&&(d=O),i.length>0&&(d<0||f<0)||f>this.length)throw new RangeError("Attempt to write outside buffer bounds");b||(b="utf8");let x=!1;for(;;)switch(b){case"hex":return K(this,i,f,d);case"utf8":case"utf-8":return U(this,i,f,d);case"ascii":case"latin1":case"binary":return ee(this,i,f,d);case"base64":return le(this,i,f,d);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,i,f,d);default:if(x)throw new TypeError("Unknown encoding: "+b);b=(""+b).toLowerCase(),x=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function z(i,f,d){return f===0&&d===i.length?t.fromByteArray(i):t.fromByteArray(i.slice(f,d))}function oe(i,f,d){d=Math.min(i.length,d);const b=[];let O=f;for(;O239?4:x>223?3:x>191?2:1;if(O+fe<=d){let Ne,we,ve,xe;switch(fe){case 1:x<128&&(P=x);break;case 2:Ne=i[O+1],(Ne&192)===128&&(xe=(x&31)<<6|Ne&63,xe>127&&(P=xe));break;case 3:Ne=i[O+1],we=i[O+2],(Ne&192)===128&&(we&192)===128&&(xe=(x&15)<<12|(Ne&63)<<6|we&63,xe>2047&&(xe<55296||xe>57343)&&(P=xe));break;case 4:Ne=i[O+1],we=i[O+2],ve=i[O+3],(Ne&192)===128&&(we&192)===128&&(ve&192)===128&&(xe=(x&15)<<18|(Ne&63)<<12|(we&63)<<6|ve&63,xe>65535&&xe<1114112&&(P=xe))}}P===null?(P=65533,fe=1):P>65535&&(P-=65536,b.push(P>>>10&1023|55296),P=56320|P&1023),b.push(P),O+=fe}return Ae(b)}const ne=4096;function Ae(i){const f=i.length;if(f<=ne)return String.fromCharCode.apply(String,i);let d="",b=0;for(;bb)&&(d=b);let O="";for(let x=f;xd&&(i=d),f<0?(f+=d,f<0&&(f=0)):f>d&&(f=d),fd)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(i,f,d){i=i>>>0,f=f>>>0,d||Oe(i,f,this.length);let b=this[i],O=1,x=0;for(;++x>>0,f=f>>>0,d||Oe(i,f,this.length);let b=this[i+--f],O=1;for(;f>0&&(O*=256);)b+=this[i+--f]*O;return b},l.prototype.readUint8=l.prototype.readUInt8=function(i,f){return i=i>>>0,f||Oe(i,1,this.length),this[i]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(i,f){return i=i>>>0,f||Oe(i,2,this.length),this[i]|this[i+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(i,f){return i=i>>>0,f||Oe(i,2,this.length),this[i]<<8|this[i+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(i,f){return i=i>>>0,f||Oe(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(i,f){return i=i>>>0,f||Oe(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])},l.prototype.readBigUInt64LE=he(function(i){i=i>>>0,k(i,"offset");const f=this[i],d=this[i+7];(f===void 0||d===void 0)&&I(i,this.length-8);const b=f+this[++i]*2**8+this[++i]*2**16+this[++i]*2**24,O=this[++i]+this[++i]*2**8+this[++i]*2**16+d*2**24;return BigInt(b)+(BigInt(O)<>>0,k(i,"offset");const f=this[i],d=this[i+7];(f===void 0||d===void 0)&&I(i,this.length-8);const b=f*2**24+this[++i]*2**16+this[++i]*2**8+this[++i],O=this[++i]*2**24+this[++i]*2**16+this[++i]*2**8+d;return(BigInt(b)<>>0,f=f>>>0,d||Oe(i,f,this.length);let b=this[i],O=1,x=0;for(;++x=O&&(b-=Math.pow(2,8*f)),b},l.prototype.readIntBE=function(i,f,d){i=i>>>0,f=f>>>0,d||Oe(i,f,this.length);let b=f,O=1,x=this[i+--b];for(;b>0&&(O*=256);)x+=this[i+--b]*O;return O*=128,x>=O&&(x-=Math.pow(2,8*f)),x},l.prototype.readInt8=function(i,f){return i=i>>>0,f||Oe(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]},l.prototype.readInt16LE=function(i,f){i=i>>>0,f||Oe(i,2,this.length);const d=this[i]|this[i+1]<<8;return d&32768?d|4294901760:d},l.prototype.readInt16BE=function(i,f){i=i>>>0,f||Oe(i,2,this.length);const d=this[i+1]|this[i]<<8;return d&32768?d|4294901760:d},l.prototype.readInt32LE=function(i,f){return i=i>>>0,f||Oe(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},l.prototype.readInt32BE=function(i,f){return i=i>>>0,f||Oe(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},l.prototype.readBigInt64LE=he(function(i){i=i>>>0,k(i,"offset");const f=this[i],d=this[i+7];(f===void 0||d===void 0)&&I(i,this.length-8);const b=this[i+4]+this[i+5]*2**8+this[i+6]*2**16+(d<<24);return(BigInt(b)<>>0,k(i,"offset");const f=this[i],d=this[i+7];(f===void 0||d===void 0)&&I(i,this.length-8);const b=(f<<24)+this[++i]*2**16+this[++i]*2**8+this[++i];return(BigInt(b)<>>0,f||Oe(i,4,this.length),n.read(this,i,!0,23,4)},l.prototype.readFloatBE=function(i,f){return i=i>>>0,f||Oe(i,4,this.length),n.read(this,i,!1,23,4)},l.prototype.readDoubleLE=function(i,f){return i=i>>>0,f||Oe(i,8,this.length),n.read(this,i,!0,52,8)},l.prototype.readDoubleBE=function(i,f){return i=i>>>0,f||Oe(i,8,this.length),n.read(this,i,!1,52,8)};function ue(i,f,d,b,O,x){if(!l.isBuffer(i))throw new TypeError('"buffer" argument must be a Buffer instance');if(f>O||fi.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(i,f,d,b){if(i=+i,f=f>>>0,d=d>>>0,!b){const P=Math.pow(2,8*d)-1;ue(this,i,f,d,P,0)}let O=1,x=0;for(this[f]=i&255;++x>>0,d=d>>>0,!b){const P=Math.pow(2,8*d)-1;ue(this,i,f,d,P,0)}let O=d-1,x=1;for(this[f+O]=i&255;--O>=0&&(x*=256);)this[f+O]=i/x&255;return f+d},l.prototype.writeUint8=l.prototype.writeUInt8=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,1,255,0),this[f]=i&255,f+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,2,65535,0),this[f]=i&255,this[f+1]=i>>>8,f+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,2,65535,0),this[f]=i>>>8,this[f+1]=i&255,f+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,4,4294967295,0),this[f+3]=i>>>24,this[f+2]=i>>>16,this[f+1]=i>>>8,this[f]=i&255,f+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,4,4294967295,0),this[f]=i>>>24,this[f+1]=i>>>16,this[f+2]=i>>>8,this[f+3]=i&255,f+4};function ot(i,f,d,b,O){R(f,b,O,i,d,7);let x=Number(f&BigInt(4294967295));i[d++]=x,x=x>>8,i[d++]=x,x=x>>8,i[d++]=x,x=x>>8,i[d++]=x;let P=Number(f>>BigInt(32)&BigInt(4294967295));return i[d++]=P,P=P>>8,i[d++]=P,P=P>>8,i[d++]=P,P=P>>8,i[d++]=P,d}function St(i,f,d,b,O){R(f,b,O,i,d,7);let x=Number(f&BigInt(4294967295));i[d+7]=x,x=x>>8,i[d+6]=x,x=x>>8,i[d+5]=x,x=x>>8,i[d+4]=x;let P=Number(f>>BigInt(32)&BigInt(4294967295));return i[d+3]=P,P=P>>8,i[d+2]=P,P=P>>8,i[d+1]=P,P=P>>8,i[d]=P,d+8}l.prototype.writeBigUInt64LE=he(function(i,f=0){return ot(this,i,f,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=he(function(i,f=0){return St(this,i,f,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(i,f,d,b){if(i=+i,f=f>>>0,!b){const fe=Math.pow(2,8*d-1);ue(this,i,f,d,fe-1,-fe)}let O=0,x=1,P=0;for(this[f]=i&255;++O>0)-P&255;return f+d},l.prototype.writeIntBE=function(i,f,d,b){if(i=+i,f=f>>>0,!b){const fe=Math.pow(2,8*d-1);ue(this,i,f,d,fe-1,-fe)}let O=d-1,x=1,P=0;for(this[f+O]=i&255;--O>=0&&(x*=256);)i<0&&P===0&&this[f+O+1]!==0&&(P=1),this[f+O]=(i/x>>0)-P&255;return f+d},l.prototype.writeInt8=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,1,127,-128),i<0&&(i=255+i+1),this[f]=i&255,f+1},l.prototype.writeInt16LE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,2,32767,-32768),this[f]=i&255,this[f+1]=i>>>8,f+2},l.prototype.writeInt16BE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,2,32767,-32768),this[f]=i>>>8,this[f+1]=i&255,f+2},l.prototype.writeInt32LE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,4,2147483647,-2147483648),this[f]=i&255,this[f+1]=i>>>8,this[f+2]=i>>>16,this[f+3]=i>>>24,f+4},l.prototype.writeInt32BE=function(i,f,d){return i=+i,f=f>>>0,d||ue(this,i,f,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[f]=i>>>24,this[f+1]=i>>>16,this[f+2]=i>>>8,this[f+3]=i&255,f+4},l.prototype.writeBigInt64LE=he(function(i,f=0){return ot(this,i,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=he(function(i,f=0){return St(this,i,f,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function pt(i,f,d,b,O,x){if(d+b>i.length)throw new RangeError("Index out of range");if(d<0)throw new RangeError("Index out of range")}function ln(i,f,d,b,O){return f=+f,d=d>>>0,O||pt(i,f,d,4),n.write(i,f,d,b,23,4),d+4}l.prototype.writeFloatLE=function(i,f,d){return ln(this,i,f,!0,d)},l.prototype.writeFloatBE=function(i,f,d){return ln(this,i,f,!1,d)};function gt(i,f,d,b,O){return f=+f,d=d>>>0,O||pt(i,f,d,8),n.write(i,f,d,b,52,8),d+8}l.prototype.writeDoubleLE=function(i,f,d){return gt(this,i,f,!0,d)},l.prototype.writeDoubleBE=function(i,f,d){return gt(this,i,f,!1,d)},l.prototype.copy=function(i,f,d,b){if(!l.isBuffer(i))throw new TypeError("argument should be a Buffer");if(d||(d=0),!b&&b!==0&&(b=this.length),f>=i.length&&(f=i.length),f||(f=0),b>0&&b=this.length)throw new RangeError("Index out of range");if(b<0)throw new RangeError("sourceEnd out of bounds");b>this.length&&(b=this.length),i.length-f>>0,d=d===void 0?this.length:d>>>0,i||(i=0);let O;if(typeof i=="number")for(O=f;O2**32?O=m(String(d)):typeof d=="bigint"&&(O=String(d),(d>BigInt(2)**BigInt(32)||d<-(BigInt(2)**BigInt(32)))&&(O=m(O)),O+="n"),b+=` It must be ${f}. Received ${O}`,b},RangeError);function m(i){let f="",d=i.length;const b=i[0]==="-"?1:0;for(;d>=b+4;d-=3)f=`_${i.slice(d-3,d)}${f}`;return`${i.slice(0,d)}${f}`}function T(i,f,d){k(f,"offset"),(i[f]===void 0||i[f+d]===void 0)&&I(f,i.length-(d+1))}function R(i,f,d,b,O,x){if(i>d||i= 0${P} and < 2${P} ** ${(x+1)*8}${P}`:fe=`>= -(2${P} ** ${(x+1)*8-1}${P}) and < 2 ** ${(x+1)*8-1}${P}`,new dt.ERR_OUT_OF_RANGE("value",fe,i)}T(b,O,x)}function k(i,f){if(typeof i!="number")throw new dt.ERR_INVALID_ARG_TYPE(f,"number",i)}function I(i,f,d){throw Math.floor(i)!==i?(k(i,d),new dt.ERR_OUT_OF_RANGE("offset","an integer",i)):f<0?new dt.ERR_BUFFER_OUT_OF_BOUNDS:new dt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${f}`,i)}const L=/[^+/0-9A-Za-z-_]/g;function q(i){if(i=i.split("=")[0],i=i.trim().replace(L,""),i.length<2)return"";for(;i.length%4!==0;)i=i+"=";return i}function H(i,f){f=f||1/0;let d;const b=i.length;let O=null;const x=[];for(let P=0;P55295&&d<57344){if(!O){if(d>56319){(f-=3)>-1&&x.push(239,191,189);continue}else if(P+1===b){(f-=3)>-1&&x.push(239,191,189);continue}O=d;continue}if(d<56320){(f-=3)>-1&&x.push(239,191,189),O=d;continue}d=(O-55296<<10|d-56320)+65536}else O&&(f-=3)>-1&&x.push(239,191,189);if(O=null,d<128){if((f-=1)<0)break;x.push(d)}else if(d<2048){if((f-=2)<0)break;x.push(d>>6|192,d&63|128)}else if(d<65536){if((f-=3)<0)break;x.push(d>>12|224,d>>6&63|128,d&63|128)}else if(d<1114112){if((f-=4)<0)break;x.push(d>>18|240,d>>12&63|128,d>>6&63|128,d&63|128)}else throw new Error("Invalid code point")}return x}function V(i){const f=[];for(let d=0;d>8,O=d%256,x.push(O),x.push(b);return x}function te(i){return t.toByteArray(q(i))}function Y(i,f,d,b){let O;for(O=0;O=f.length||O>=i.length);++O)f[O+d]=i[O];return O}function J(i,f){return i instanceof f||i!=null&&i.constructor!=null&&i.constructor.name!=null&&i.constructor.name===f.name}function re(i){return i!==i}const ae=(function(){const i="0123456789abcdef",f=new Array(256);for(let d=0;d<16;++d){const b=d*16;for(let O=0;O<16;++O)f[b+O]=i[d]+i[O]}return f})();function he(i){return typeof BigInt>"u"?ge:i}function ge(){throw new Error("BigInt not supported")}})(pa);const Dg=pa.Buffer,Eb=pa.Buffer,vb=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Ug=e=>"/remote.php/"+e,Fg=(e,t)=>(t?.baseURL??da())+Ug(e),Bg=(e,t,n)=>{const r=Object.assign({ocsVersion:2},{}).ocsVersion===1?1:2;return da()+"/ocs/v"+r+".php"+Si(e,t)},Si=(e,t,n)=>{const r=Object.assign({escape:!0},{}),o=function(s,a){return a=a||{},s.replace(/{([^{}]*)}/g,function(u,c){const p=a[c];return r.escape?encodeURIComponent(typeof p=="string"||typeof p=="number"?p.toString():u):typeof p=="string"||typeof p=="number"?p.toString():u})};return e.charAt(0)!=="/"&&(e="/"+e),o(e,t||{})},Tf=(e,t,n)=>{const r=Object.assign({noRewrite:!1},{}),o=hs();return window?.OC?.config?.modRewriteWorking===!0&&!r.noRewrite?o+Si(e,t):o+"/index.php"+Si(e,t)},$g=(e,t)=>t.includes(".")?Oi(e,"img",t):Oi(e,"img",`${t}.svg`),Oi=(e,t,n)=>{const r=window?.OC?.coreApps?.includes(e)??!1,o=n.slice(-3)==="php";let s=hs();return o&&!r?(s+=`/index.php/apps/${e}`,s+=`/${encodeURI(t)}`,n!=="index.php"&&(s+=`/${n}`)):!o&&!r?(s=Sf(e),s+=`/${t}/`,s.at(-1)!=="/"&&(s+="/"),s+=n):(s+=`/${e}`,s+=`/${t}`,s+=`/${n}`),s},da=()=>window.location.protocol+"//"+window.location.host+hs();function hs(){let e=window._oc_webroot;if(typeof e>"u"){e=location.pathname;const t=e.indexOf("/index.php/");if(t!==-1)e=e.slice(0,t);else{const n=e.indexOf("/",1);e=e.slice(0,n>0?n:void 0)}}return e}function Sf(e){return(window._oc_appswebroots??{})[e]??""}const _b=Object.freeze(Object.defineProperty({__proto__:null,generateFilePath:Oi,generateOcsUrl:Bg,generateRemoteUrl:Fg,generateUrl:Tf,getAppRootUrl:Sf,getBaseUrl:da,getRootUrl:hs,imagePath:$g},Symbol.toStringTag,{value:"Module"})),{entries:Of,setPrototypeOf:wl,isFrozen:jg,getPrototypeOf:Hg,getOwnPropertyDescriptor:Vg}=Object;let{freeze:nt,seal:Tt,create:Ai}=Object,{apply:Ci,construct:Ri}=typeof Reflect<"u"&&Reflect;nt||(nt=function(e){return e}),Tt||(Tt=function(e){return e}),Ci||(Ci=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1?t-1:0),r=1;r1?n-1:0),o=1;o2&&arguments[2]!==void 0?arguments[2]:So;wl&&wl(e,null);let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const s=n(o);s!==o&&(jg(t)||(t[r]=s),o=s)}e[o]=!0}return e}function Xg(e){for(let t=0;t/gm),ey=Tt(/\$\{[\w\W]*/gm),ty=Tt(/^data-[\-\w.\u00B7-\uFFFF]+$/),ny=Tt(/^aria-[\-\w]+$/),Af=Tt(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ry=Tt(/^(?:\w+script|data):/i),oy=Tt(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Cf=Tt(/^html$/i),sy=Tt(/^[a-z][.\w]*(-[.\w]+)+$/i);var Rl=Object.freeze({__proto__:null,ARIA_ATTR:ny,ATTR_WHITESPACE:oy,CUSTOM_ELEMENT:sy,DATA_ATTR:ty,DOCTYPE_NAME:Cf,ERB_EXPR:Qg,IS_ALLOWED_URI:Af,IS_SCRIPT_OR_DATA:ry,MUSTACHE_EXPR:Zg,TMPLIT_EXPR:ey});const gr={element:1,text:3,progressingInstruction:7,comment:8,document:9},iy=function(){return typeof window>"u"?null:window},ay=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},xl=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Rf(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:iy();const t=y=>Rf(y);if(t.version="3.3.1",t.removed=[],!e||!e.document||e.document.nodeType!==gr.document||!e.Element)return t.isSupported=!1,t;let{document:n}=e;const r=n,o=r.currentScript,{DocumentFragment:s,HTMLTemplateElement:a,Node:u,Element:c,NodeFilter:p,NamedNodeMap:l=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:h,DOMParser:_,trustedTypes:E}=e,S=c.prototype,g=mr(S,"cloneNode"),j=mr(S,"remove"),$=mr(S,"nextSibling"),C=mr(S,"childNodes"),v=mr(S,"parentNode");if(typeof a=="function"){const y=n.createElement("template");y.content&&y.content.ownerDocument&&(n=y.content.ownerDocument)}let w,N="";const{implementation:F,createNodeIterator:G,createDocumentFragment:X,getElementsByTagName:M}=n,{importNode:B}=r;let K=xl();t.isSupported=typeof Of=="function"&&typeof v=="function"&&F&&F.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:U,ERB_EXPR:ee,TMPLIT_EXPR:le,DATA_ATTR:ce,ARIA_ATTR:z,IS_SCRIPT_OR_DATA:oe,ATTR_WHITESPACE:ne,CUSTOM_ELEMENT:Ae}=Rl;let{IS_ALLOWED_URI:mt}=Rl,de=null;const Ue=pe({},[...Sl,...Us,...Fs,...Bs,...Ol]);let Ce=null;const Oe=pe({},[...Al,...$s,...Cl,...yo]);let ue=Object.seal(Ai(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ot=null,St=null;const pt=Object.seal(Ai(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ln=!0,gt=!0,dt=!1,Lt=!0,m=!1,T=!0,R=!1,k=!1,I=!1,L=!1,q=!1,H=!1,V=!0,D=!1;const te="user-content-";let Y=!0,J=!1,re={},ae=null;const he=pe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ge=null;const i=pe({},["audio","video","img","source","image","track"]);let f=null;const d=pe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),b="http://www.w3.org/1998/Math/MathML",O="http://www.w3.org/2000/svg",x="http://www.w3.org/1999/xhtml";let P=x,fe=!1,Ne=null;const we=pe({},[b,O,x],Ms);let ve=pe({},["mi","mo","mn","ms","mtext"]),xe=pe({},["annotation-xml"]);const ap=pe({},["title","style","font","a","script"]);let ar=null;const lp=["application/xhtml+xml","text/html"],cp="text/html";let $e=null,Dn=null;const up=n.createElement("form"),wa=function(y){return y instanceof RegExp||y instanceof Function},Es=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Dn&&Dn===y)){if((!y||typeof y!="object")&&(y={}),y=Pt(y),ar=lp.indexOf(y.PARSER_MEDIA_TYPE)===-1?cp:y.PARSER_MEDIA_TYPE,$e=ar==="application/xhtml+xml"?Ms:So,de=Ct(y,"ALLOWED_TAGS")?pe({},y.ALLOWED_TAGS,$e):Ue,Ce=Ct(y,"ALLOWED_ATTR")?pe({},y.ALLOWED_ATTR,$e):Oe,Ne=Ct(y,"ALLOWED_NAMESPACES")?pe({},y.ALLOWED_NAMESPACES,Ms):we,f=Ct(y,"ADD_URI_SAFE_ATTR")?pe(Pt(d),y.ADD_URI_SAFE_ATTR,$e):d,ge=Ct(y,"ADD_DATA_URI_TAGS")?pe(Pt(i),y.ADD_DATA_URI_TAGS,$e):i,ae=Ct(y,"FORBID_CONTENTS")?pe({},y.FORBID_CONTENTS,$e):he,ot=Ct(y,"FORBID_TAGS")?pe({},y.FORBID_TAGS,$e):Pt({}),St=Ct(y,"FORBID_ATTR")?pe({},y.FORBID_ATTR,$e):Pt({}),re=Ct(y,"USE_PROFILES")?y.USE_PROFILES:!1,ln=y.ALLOW_ARIA_ATTR!==!1,gt=y.ALLOW_DATA_ATTR!==!1,dt=y.ALLOW_UNKNOWN_PROTOCOLS||!1,Lt=y.ALLOW_SELF_CLOSE_IN_ATTR!==!1,m=y.SAFE_FOR_TEMPLATES||!1,T=y.SAFE_FOR_XML!==!1,R=y.WHOLE_DOCUMENT||!1,L=y.RETURN_DOM||!1,q=y.RETURN_DOM_FRAGMENT||!1,H=y.RETURN_TRUSTED_TYPE||!1,I=y.FORCE_BODY||!1,V=y.SANITIZE_DOM!==!1,D=y.SANITIZE_NAMED_PROPS||!1,Y=y.KEEP_CONTENT!==!1,J=y.IN_PLACE||!1,mt=y.ALLOWED_URI_REGEXP||Af,P=y.NAMESPACE||x,ve=y.MATHML_TEXT_INTEGRATION_POINTS||ve,xe=y.HTML_INTEGRATION_POINTS||xe,ue=y.CUSTOM_ELEMENT_HANDLING||{},y.CUSTOM_ELEMENT_HANDLING&&wa(y.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(ue.tagNameCheck=y.CUSTOM_ELEMENT_HANDLING.tagNameCheck),y.CUSTOM_ELEMENT_HANDLING&&wa(y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(ue.attributeNameCheck=y.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),y.CUSTOM_ELEMENT_HANDLING&&typeof y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(ue.allowCustomizedBuiltInElements=y.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),m&&(gt=!1),q&&(L=!0),re&&(de=pe({},Ol),Ce=[],re.html===!0&&(pe(de,Sl),pe(Ce,Al)),re.svg===!0&&(pe(de,Us),pe(Ce,$s),pe(Ce,yo)),re.svgFilters===!0&&(pe(de,Fs),pe(Ce,$s),pe(Ce,yo)),re.mathMl===!0&&(pe(de,Bs),pe(Ce,Cl),pe(Ce,yo))),y.ADD_TAGS&&(typeof y.ADD_TAGS=="function"?pt.tagCheck=y.ADD_TAGS:(de===Ue&&(de=Pt(de)),pe(de,y.ADD_TAGS,$e))),y.ADD_ATTR&&(typeof y.ADD_ATTR=="function"?pt.attributeCheck=y.ADD_ATTR:(Ce===Oe&&(Ce=Pt(Ce)),pe(Ce,y.ADD_ATTR,$e))),y.ADD_URI_SAFE_ATTR&&pe(f,y.ADD_URI_SAFE_ATTR,$e),y.FORBID_CONTENTS&&(ae===he&&(ae=Pt(ae)),pe(ae,y.FORBID_CONTENTS,$e)),y.ADD_FORBID_CONTENTS&&(ae===he&&(ae=Pt(ae)),pe(ae,y.ADD_FORBID_CONTENTS,$e)),Y&&(de["#text"]=!0),R&&pe(de,["html","head","body"]),de.table&&(pe(de,["tbody"]),delete ot.tbody),y.TRUSTED_TYPES_POLICY){if(typeof y.TRUSTED_TYPES_POLICY.createHTML!="function")throw hr('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof y.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw hr('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=y.TRUSTED_TYPES_POLICY,N=w.createHTML("")}else w===void 0&&(w=ay(E,o)),w!==null&&typeof N=="string"&&(N=w.createHTML(""));nt&&nt(y),Dn=y}},Ta=pe({},[...Us,...Fs,...Yg]),Sa=pe({},[...Bs,...Jg]),fp=function(y){let Z=v(y);(!Z||!Z.tagName)&&(Z={namespaceURI:P,tagName:"template"});const W=So(y.tagName),Te=So(Z.tagName);return Ne[y.namespaceURI]?y.namespaceURI===O?Z.namespaceURI===x?W==="svg":Z.namespaceURI===b?W==="svg"&&(Te==="annotation-xml"||ve[Te]):!!Ta[W]:y.namespaceURI===b?Z.namespaceURI===x?W==="math":Z.namespaceURI===O?W==="math"&&xe[Te]:!!Sa[W]:y.namespaceURI===x?Z.namespaceURI===O&&!xe[Te]||Z.namespaceURI===b&&!ve[Te]?!1:!Sa[W]&&(ap[W]||!Ta[W]):!!(ar==="application/xhtml+xml"&&Ne[y.namespaceURI]):!1},bn=function(y){pr(t.removed,{element:y});try{v(y).removeChild(y)}catch{j(y)}},En=function(y,Z){try{pr(t.removed,{attribute:Z.getAttributeNode(y),from:Z})}catch{pr(t.removed,{attribute:null,from:Z})}if(Z.removeAttribute(y),y==="is")if(L||q)try{bn(Z)}catch{}else try{Z.setAttribute(y,"")}catch{}},Oa=function(y){let Z=null,W=null;if(I)y=""+y;else{const Le=Ds(y,/^[\r\n\t ]+/);W=Le&&Le[0]}ar==="application/xhtml+xml"&&P===x&&(y=''+y+"");const Te=w?w.createHTML(y):y;if(P===x)try{Z=new _().parseFromString(Te,ar)}catch{}if(!Z||!Z.documentElement){Z=F.createDocument(P,"template",null);try{Z.documentElement.innerHTML=fe?N:Te}catch{}}const Ve=Z.body||Z.documentElement;return y&&W&&Ve.insertBefore(n.createTextNode(W),Ve.childNodes[0]||null),P===x?M.call(Z,R?"html":"body")[0]:R?Z.documentElement:Ve},Aa=function(y){return G.call(y.ownerDocument||y,y,p.SHOW_ELEMENT|p.SHOW_COMMENT|p.SHOW_TEXT|p.SHOW_PROCESSING_INSTRUCTION|p.SHOW_CDATA_SECTION,null)},vs=function(y){return y instanceof h&&(typeof y.nodeName!="string"||typeof y.textContent!="string"||typeof y.removeChild!="function"||!(y.attributes instanceof l)||typeof y.removeAttribute!="function"||typeof y.setAttribute!="function"||typeof y.namespaceURI!="string"||typeof y.insertBefore!="function"||typeof y.hasChildNodes!="function")},Ca=function(y){return typeof u=="function"&&y instanceof u};function zt(y,Z,W){go(y,Te=>{Te.call(t,Z,W,Dn)})}const Ra=function(y){let Z=null;if(zt(K.beforeSanitizeElements,y,null),vs(y))return bn(y),!0;const W=$e(y.nodeName);if(zt(K.uponSanitizeElement,y,{tagName:W,allowedTags:de}),T&&y.hasChildNodes()&&!Ca(y.firstElementChild)&&Qe(/<[/\w!]/g,y.innerHTML)&&Qe(/<[/\w!]/g,y.textContent)||y.nodeType===gr.progressingInstruction||T&&y.nodeType===gr.comment&&Qe(/<[/\w]/g,y.data))return bn(y),!0;if(!(pt.tagCheck instanceof Function&&pt.tagCheck(W))&&(!de[W]||ot[W])){if(!ot[W]&&Na(W)&&(ue.tagNameCheck instanceof RegExp&&Qe(ue.tagNameCheck,W)||ue.tagNameCheck instanceof Function&&ue.tagNameCheck(W)))return!1;if(Y&&!ae[W]){const Te=v(y)||y.parentNode,Ve=C(y)||y.childNodes;if(Ve&&Te){const Le=Ve.length;for(let Gt=Le-1;Gt>=0;--Gt){const Ot=g(Ve[Gt],!0);Ot.__removalCount=(y.__removalCount||0)+1,Te.insertBefore(Ot,$(y))}}}return bn(y),!0}return y instanceof c&&!fp(y)||(W==="noscript"||W==="noembed"||W==="noframes")&&Qe(/<\/no(script|embed|frames)/i,y.innerHTML)?(bn(y),!0):(m&&y.nodeType===gr.text&&(Z=y.textContent,go([U,ee,le],Te=>{Z=dr(Z,Te," ")}),y.textContent!==Z&&(pr(t.removed,{element:y.cloneNode()}),y.textContent=Z)),zt(K.afterSanitizeElements,y,null),!1)},xa=function(y,Z,W){if(V&&(Z==="id"||Z==="name")&&(W in n||W in up))return!1;if(!(gt&&!St[Z]&&Qe(ce,Z))&&!(ln&&Qe(z,Z))&&!(pt.attributeCheck instanceof Function&&pt.attributeCheck(Z,y))){if(!Ce[Z]||St[Z]){if(!(Na(y)&&(ue.tagNameCheck instanceof RegExp&&Qe(ue.tagNameCheck,y)||ue.tagNameCheck instanceof Function&&ue.tagNameCheck(y))&&(ue.attributeNameCheck instanceof RegExp&&Qe(ue.attributeNameCheck,Z)||ue.attributeNameCheck instanceof Function&&ue.attributeNameCheck(Z,y))||Z==="is"&&ue.allowCustomizedBuiltInElements&&(ue.tagNameCheck instanceof RegExp&&Qe(ue.tagNameCheck,W)||ue.tagNameCheck instanceof Function&&ue.tagNameCheck(W))))return!1}else if(!f[Z]&&!Qe(mt,dr(W,ne,""))&&!((Z==="src"||Z==="xlink:href"||Z==="href")&&y!=="script"&&qg(W,"data:")===0&&ge[y])&&!(dt&&!Qe(oe,dr(W,ne,"")))&&W)return!1}return!0},Na=function(y){return y!=="annotation-xml"&&Ds(y,Ae)},Ia=function(y){zt(K.beforeSanitizeAttributes,y,null);const{attributes:Z}=y;if(!Z||vs(y))return;const W={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ce,forceKeepAttr:void 0};let Te=Z.length;for(;Te--;){const Ve=Z[Te],{name:Le,namespaceURI:Gt,value:Ot}=Ve,At=$e(Le),_s=Ot;let ze=Le==="value"?_s:Wg(_s);if(W.attrName=At,W.attrValue=ze,W.keepAttr=!0,W.forceKeepAttr=void 0,zt(K.uponSanitizeAttribute,y,W),ze=W.attrValue,D&&(At==="id"||At==="name")&&(En(Le,y),ze=te+ze),T&&Qe(/((--!?|])>)|<\/(style|title|textarea)/i,ze)){En(Le,y);continue}if(At==="attributename"&&Ds(ze,"href")){En(Le,y);continue}if(W.forceKeepAttr)continue;if(!W.keepAttr){En(Le,y);continue}if(!Lt&&Qe(/\/>/i,ze)){En(Le,y);continue}m&&go([U,ee,le],dp=>{ze=dr(ze,dp," ")});const La=$e(y.nodeName);if(!xa(La,At,ze)){En(Le,y);continue}if(w&&typeof E=="object"&&typeof E.getAttributeType=="function"&&!Gt)switch(E.getAttributeType(La,At)){case"TrustedHTML":{ze=w.createHTML(ze);break}case"TrustedScriptURL":{ze=w.createScriptURL(ze);break}}if(ze!==_s)try{Gt?y.setAttributeNS(Gt,Le,ze):y.setAttribute(Le,ze),vs(y)?bn(y):Tl(t.removed)}catch{En(Le,y)}}zt(K.afterSanitizeAttributes,y,null)},pp=function y(Z){let W=null;const Te=Aa(Z);for(zt(K.beforeSanitizeShadowDOM,Z,null);W=Te.nextNode();)zt(K.uponSanitizeShadowNode,W,null),Ra(W),Ia(W),W.content instanceof s&&y(W.content);zt(K.afterSanitizeShadowDOM,Z,null)};return t.sanitize=function(y){let Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=null,Te=null,Ve=null,Le=null;if(fe=!y,fe&&(y=""),typeof y!="string"&&!Ca(y))if(typeof y.toString=="function"){if(y=y.toString(),typeof y!="string")throw hr("dirty is not a string, aborting")}else throw hr("toString is not a function");if(!t.isSupported)return y;if(k||Es(Z),t.removed=[],typeof y=="string"&&(J=!1),J){if(y.nodeName){const At=$e(y.nodeName);if(!de[At]||ot[At])throw hr("root node is forbidden and cannot be sanitized in-place")}}else if(y instanceof u)W=Oa(""),Te=W.ownerDocument.importNode(y,!0),Te.nodeType===gr.element&&Te.nodeName==="BODY"||Te.nodeName==="HTML"?W=Te:W.appendChild(Te);else{if(!L&&!m&&!R&&y.indexOf("<")===-1)return w&&H?w.createHTML(y):y;if(W=Oa(y),!W)return L?null:H?N:""}W&&I&&bn(W.firstChild);const Gt=Aa(J?y:W);for(;Ve=Gt.nextNode();)Ra(Ve),Ia(Ve),Ve.content instanceof s&&pp(Ve.content);if(J)return y;if(L){if(q)for(Le=X.call(W.ownerDocument);W.firstChild;)Le.appendChild(W.firstChild);else Le=W;return(Ce.shadowroot||Ce.shadowrootmode)&&(Le=B.call(r,Le,!0)),Le}let Ot=R?W.outerHTML:W.innerHTML;return R&&de["!doctype"]&&W.ownerDocument&&W.ownerDocument.doctype&&W.ownerDocument.doctype.name&&Qe(Cf,W.ownerDocument.doctype.name)&&(Ot=" `+Ot),m&&go([U,ee,le],At=>{Ot=dr(Ot,At," ")}),w&&H?w.createHTML(Ot):Ot},t.setConfig=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Es(y),k=!0},t.clearConfig=function(){Dn=null,k=!1},t.isValidAttribute=function(y,Z,W){Dn||Es({});const Te=$e(y),Ve=$e(Z);return xa(Te,Ve,W)},t.addHook=function(y,Z){typeof Z=="function"&&pr(K[y],Z)},t.removeHook=function(y,Z){if(Z!==void 0){const W=zg(K[y],Z);return W===-1?void 0:Gg(K[y],W,1)[0]}return Tl(K[y])},t.removeHooks=function(y){K[y]=[]},t.removeAllHooks=function(){K=xl()},t}var ly=Rf(),wb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ha(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Tb(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var js,Nl;function cy(){if(Nl)return js;Nl=1;var e=/["'&<>]/;js=t;function t(n){var r=""+n,o=e.exec(r);if(!o)return r;var s,a="",u=0,c=0;for(u=o.index;ut)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function Oo(e,t,n,r,o){const s=typeof n=="object"?n:void 0,a=typeof r=="number"?r:typeof n=="number"?n:void 0,u={escape:!0,sanitize:!0,...typeof o=="object"?o:typeof r=="object"?r:{}},c=S=>S,p=(u.sanitize?ly.sanitize:c)||c,l=u.escape?Il:c,h=S=>typeof S=="string"||typeof S=="number",_=(S,g,j)=>S.replace(/%n/g,""+j).replace(/{([^{}]*)}/g,($,C)=>{if(g===void 0||!(C in g))return l($);const v=g[C];return h(v)?l(`${v}`):typeof v=="object"&&h(v.value)?(v.escape!==!1?Il:c)(`${v.value}`):l($)});let E=(o?.bundle??Nf(e)).translations[t]||t;return E=Array.isArray(E)?E[0]:E,p(typeof s=="object"||a!==void 0?_(E,s,a):E)}function py(e,t,n,r,o,s){const a="_"+t+"_::_"+n+"_",u=s?.bundle??Nf(e),c=u.translations[a];if(typeof c<"u"){const p=c;if(Array.isArray(p)){const l=u.pluralFunction(r);return Oo(e,p[l],o,r,s)}}return r===1?Oo(e,t,o,r,s):Oo(e,n,o,r,s)}function Ab(e,t=xf()){switch(t==="pt-BR"&&(t="xbr"),t.length>3&&(t=t.substring(0,t.lastIndexOf("-"))),t){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return e===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return e===0||e===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return e%10===1&&e%100!==11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return e===1?0:e>=2&&e<=4?1:2;case"ga":return e===1?0:e===2?1:2;case"lt":return e%10===1&&e%100!==11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100===1?0:e%100===2?1:e%100===3||e%100===4?2:3;case"mk":return e%10===1?0:1;case"mt":return e===1?0:e===0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"lv":return e===0?0:e%10===1&&e%100!==11?1:2;case"pl":return e===1?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2;case"cy":return e===1?0:e===2?1:e===8||e===11?2:3;case"ro":return e===1?0:e===0||e%100>0&&e%100<20?1:2;case"ar":return e===0?0:e===1?1:e===2?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5;default:return 0}}function dy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var If={exports:{}},Pe=If.exports={},Ft,Bt;function xi(){throw new Error("setTimeout has not been defined")}function Ni(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ft=setTimeout:Ft=xi}catch{Ft=xi}try{typeof clearTimeout=="function"?Bt=clearTimeout:Bt=Ni}catch{Bt=Ni}})();function Lf(e){if(Ft===setTimeout)return setTimeout(e,0);if((Ft===xi||!Ft)&&setTimeout)return Ft=setTimeout,setTimeout(e,0);try{return Ft(e,0)}catch{try{return Ft.call(null,e,0)}catch{return Ft.call(this,e,0)}}}function hy(e){if(Bt===clearTimeout)return clearTimeout(e);if((Bt===Ni||!Bt)&&clearTimeout)return Bt=clearTimeout,clearTimeout(e);try{return Bt(e)}catch{try{return Bt.call(null,e)}catch{return Bt.call(this,e)}}}var Qt=[],Xn=!1,wn,Ao=-1;function my(){!Xn||!wn||(Xn=!1,wn.length?Qt=wn.concat(Qt):Ao=-1,Qt.length&&kf())}function kf(){if(!Xn){var e=Lf(my);Xn=!0;for(var t=Qt.length;t;){for(wn=Qt,Qt=[];++Ao1)for(var n=1;nconsole.error("SEMVER",...t):()=>{},Hs}var Vs,kl;function Df(){if(kl)return Vs;kl=1;const e="2.0.0",t=256,n=Number.MAX_SAFE_INTEGER||9007199254740991,r=16,o=t-6;return Vs={MAX_LENGTH:t,MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:o,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Vs}var zs={exports:{}},Pl;function yy(){return Pl||(Pl=1,(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=Df(),s=Mf();t=e.exports={};const a=t.re=[],u=t.safeRe=[],c=t.src=[],p=t.safeSrc=[],l=t.t={};let h=0;const _="[a-zA-Z0-9-]",E=[["\\s",1],["\\d",o],[_,r]],S=j=>{for(const[$,C]of E)j=j.split(`${$}*`).join(`${$}{0,${C}}`).split(`${$}+`).join(`${$}{1,${C}}`);return j},g=(j,$,C)=>{const v=S($),w=h++;s(j,w,$),l[j]=w,c[w]=$,p[w]=v,a[w]=new RegExp($,C?"g":void 0),u[w]=new RegExp(v,C?"g":void 0)};g("NUMERICIDENTIFIER","0|[1-9]\\d*"),g("NUMERICIDENTIFIERLOOSE","\\d+"),g("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${_}*`),g("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),g("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASEIDENTIFIER",`(?:${c[l.NONNUMERICIDENTIFIER]}|${c[l.NUMERICIDENTIFIER]})`),g("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NONNUMERICIDENTIFIER]}|${c[l.NUMERICIDENTIFIERLOOSE]})`),g("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),g("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),g("BUILDIDENTIFIER",`${_}+`),g("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),g("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),g("FULL",`^${c[l.FULLPLAIN]}$`),g("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),g("LOOSE",`^${c[l.LOOSEPLAIN]}$`),g("GTLT","((?:<|>)?=?)"),g("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),g("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),g("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),g("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),g("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),g("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),g("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),g("COERCE",`${c[l.COERCEPLAIN]}(?:$|[^\\d])`),g("COERCEFULL",c[l.COERCEPLAIN]+`(?:${c[l.PRERELEASE]})?(?:${c[l.BUILD]})?(?:$|[^\\d])`),g("COERCERTL",c[l.COERCE],!0),g("COERCERTLFULL",c[l.COERCEFULL],!0),g("LONETILDE","(?:~>?)"),g("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",g("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),g("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),g("LONECARET","(?:\\^)"),g("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",g("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),g("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),g("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),g("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),g("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",g("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),g("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),g("STAR","(<|>)?=?\\s*\\*"),g("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),g("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(zs,zs.exports)),zs.exports}var Gs,Ml;function by(){if(Ml)return Gs;Ml=1;const e=Object.freeze({loose:!0}),t=Object.freeze({});return Gs=n=>n?typeof n!="object"?e:n:t,Gs}var qs,Dl;function Ey(){if(Dl)return qs;Dl=1;const e=/^[0-9]+$/,t=(n,r)=>{if(typeof n=="number"&&typeof r=="number")return n===r?0:nt(r,n)},qs}var Ws,Ul;function Uf(){if(Ul)return Ws;Ul=1;const e=Mf(),{MAX_LENGTH:t,MAX_SAFE_INTEGER:n}=Df(),{safeRe:r,t:o}=yy(),s=by(),{compareIdentifiers:a}=Ey();class u{constructor(p,l){if(l=s(l),p instanceof u){if(p.loose===!!l.loose&&p.includePrerelease===!!l.includePrerelease)return p;p=p.version}else if(typeof p!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof p}".`);if(p.length>t)throw new TypeError(`version is longer than ${t} characters`);e("SemVer",p,l),this.options=l,this.loose=!!l.loose,this.includePrerelease=!!l.includePrerelease;const h=p.trim().match(l.loose?r[o.LOOSE]:r[o.FULL]);if(!h)throw new TypeError(`Invalid Version: ${p}`);if(this.raw=p,this.major=+h[1],this.minor=+h[2],this.patch=+h[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");h[4]?this.prerelease=h[4].split(".").map(_=>{if(/^[0-9]+$/.test(_)){const E=+_;if(E>=0&&Ep.major?1:this.minorp.minor?1:this.patchp.patch?1:0}comparePre(p){if(p instanceof u||(p=new u(p,this.options)),this.prerelease.length&&!p.prerelease.length)return-1;if(!this.prerelease.length&&p.prerelease.length)return 1;if(!this.prerelease.length&&!p.prerelease.length)return 0;let l=0;do{const h=this.prerelease[l],_=p.prerelease[l];if(e("prerelease compare",l,h,_),h===void 0&&_===void 0)return 0;if(_===void 0)return 1;if(h===void 0)return-1;if(h!==_)return a(h,_)}while(++l)}compareBuild(p){p instanceof u||(p=new u(p,this.options));let l=0;do{const h=this.build[l],_=p.build[l];if(e("build compare",l,h,_),h===void 0&&_===void 0)return 0;if(_===void 0)return 1;if(h===void 0)return-1;if(h!==_)return a(h,_)}while(++l)}inc(p,l,h){if(p.startsWith("pre")){if(!l&&h===!1)throw new Error("invalid increment argument: identifier is empty");if(l){const _=`-${l}`.match(this.options.loose?r[o.PRERELEASELOOSE]:r[o.PRERELEASE]);if(!_||_[1]!==l)throw new Error(`invalid identifier: ${l}`)}}switch(p){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",l,h);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",l,h);break;case"prepatch":this.prerelease.length=0,this.inc("patch",l,h),this.inc("pre",l,h);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",l,h),this.inc("pre",l,h);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const _=Number(h)?1:0;if(this.prerelease.length===0)this.prerelease=[_];else{let E=this.prerelease.length;for(;--E>=0;)typeof this.prerelease[E]=="number"&&(this.prerelease[E]++,E=-2);if(E===-1){if(l===this.prerelease.join(".")&&h===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(_)}}if(l){let E=[l,_];h===!1&&(E=[l]),a(this.prerelease[0],l)===0?isNaN(this.prerelease[1])&&(this.prerelease=E):this.prerelease=E}break}default:throw new Error(`invalid increment argument: ${p}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}return Ws=u,Ws}var Ks,Fl;function vy(){if(Fl)return Ks;Fl=1;const e=Uf();return Ks=(t,n)=>new e(t,n).major,Ks}var _y=vy();const Bl=ha(_y);var Xs,$l;function wy(){if($l)return Xs;$l=1;const e=Uf();return Xs=(t,n,r=!1)=>{if(t instanceof e)return t;try{return new e(t,n)}catch(o){if(!r)return null;throw o}},Xs}var Ys,jl;function Ty(){if(jl)return Ys;jl=1;const e=wy();return Ys=(t,n)=>{const r=e(t,n);return r?r.version:null},Ys}var Sy=Ty();const Oy=ha(Sy);class Ay{bus;constructor(t){typeof t.getVersion!="function"||!Oy(t.getVersion())?console.warn("Proxying an event bus with an unknown or invalid version"):Bl(t.getVersion())!==Bl(this.getVersion())&&console.warn("Proxying an event bus of version "+t.getVersion()+" with "+this.getVersion()),this.bus=t}getVersion(){return"3.3.3"}subscribe(t,n){this.bus.subscribe(t,n)}unsubscribe(t,n){this.bus.unsubscribe(t,n)}emit(t,...n){this.bus.emit(t,...n)}}class Cy{handlers=new Map;getVersion(){return"3.3.3"}subscribe(t,n){this.handlers.set(t,(this.handlers.get(t)||[]).concat(n))}unsubscribe(t,n){this.handlers.set(t,(this.handlers.get(t)||[]).filter(r=>r!==n))}emit(t,...n){(this.handlers.get(t)||[]).forEach(r=>{try{r(n[0])}catch(o){console.error("could not invoke event listener",o)}})}}let yr=null;function ma(){return yr!==null?yr:typeof window>"u"?new Proxy({},{get:()=>()=>console.error("Window not available, EventBus can not be established!")}):(window.OC?._eventBus&&typeof window._nc_event_bus>"u"&&(console.warn("found old event bus instance at OC._eventBus. Update your version!"),window._nc_event_bus=window.OC._eventBus),typeof window?._nc_event_bus<"u"?yr=new Ay(window._nc_event_bus):yr=window._nc_event_bus=new Cy,yr)}function Ry(e,t){ma().subscribe(e,t)}function Cb(e,t){ma().unsubscribe(e,t)}function Rb(e,...t){ma().emit(e,...t)}class qo{static GLOBAL_SCOPE_VOLATILE="nextcloud_vol";static GLOBAL_SCOPE_PERSISTENT="nextcloud_per";scope;wrapped;constructor(t,n,r){this.scope=`${r?qo.GLOBAL_SCOPE_PERSISTENT:qo.GLOBAL_SCOPE_VOLATILE}_${btoa(t)}_`,this.wrapped=n}scopeKey(t){return`${this.scope}${t}`}setItem(t,n){this.wrapped.setItem(this.scopeKey(t),n)}getItem(t){return this.wrapped.getItem(this.scopeKey(t))}removeItem(t){this.wrapped.removeItem(this.scopeKey(t))}clear(){Object.keys(this.wrapped).filter(t=>t.startsWith(this.scope)).map(this.wrapped.removeItem.bind(this.wrapped))}}class xy{appId;persisted=!1;clearedOnLogout=!1;constructor(t){this.appId=t}persist(t=!0){return this.persisted=t,this}clearOnLogout(t=!0){return this.clearedOnLogout=t,this}build(){return new qo(this.appId,this.persisted?window.localStorage:window.sessionStorage,!this.clearedOnLogout)}}function Ny(e){return new xy(e)}let Nr;const Ff=[];function Iy(){return Nr===void 0&&(Nr=document.head.dataset.requesttoken??null),Nr}function Ly(e){Ff.push(e)}Ry("csrf-token-update",e=>{Nr=e.token,Ff.forEach(t=>{try{t(Nr)}catch(n){console.error("Error updating CSRF token observer",n)}})});Ny("public").persist().build();let $n;function Hl(e,t){return e?e.getAttribute(t):null}function ky(){if($n!==void 0)return $n;const e=document?.getElementsByTagName("head")[0];if(!e)return null;const t=Hl(e,"data-user");return t===null?($n=null,$n):($n={uid:t,displayName:Hl(e,"data-user-displayname"),isAdmin:!!window._oc_isadmin},$n)}var Fe=(e=>(e[e.Debug=0]="Debug",e[e.Info=1]="Info",e[e.Warn=2]="Warn",e[e.Error=3]="Error",e[e.Fatal=4]="Fatal",e))(Fe||{});class Py{context;constructor(t){this.context=t||{}}formatMessage(t,n,r){let o="["+Fe[n].toUpperCase()+"] ";return r&&r.app&&(o+=r.app+": "),typeof t=="string"?o+t:(o+=`Unexpected ${t.name}`,t.message&&(o+=` "${t.message}"`),n===Fe.Debug&&t.stack&&(o+=` Stack trace: ${t.stack}`),o)}log(t,n,r){if(!(typeof this.context?.level=="number"&&t{document.readyState==="complete"||document.readyState==="interactive"?(t.context.level=window._oc_config?.loglevel??Fe.Warn,window._oc_debug&&(t.context.level=Fe.Debug),document.removeEventListener("readystatechange",n)):document.addEventListener("readystatechange",n)};return n(),this}build(){return this.context.level===void 0&&this.detectLogLevel(),this.factory(this.context)}}function Uy(){return new Dy(My)}const Fy=Uy().setApp(ac).detectUser().build(),xb={methods:{t:Oo,n:py},computed:{appName:()=>ac,appVersion:()=>hp,logger:()=>Fy,OC:()=>window.OC,OCA:()=>window.OCA}};function Bf(e,t){return function(){return e.apply(t,arguments)}}const{toString:By}=Object.prototype,{getPrototypeOf:ga}=Object,{iterator:ms,toStringTag:$f}=Symbol,gs=(e=>t=>{const n=By.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),It=e=>(e=e.toLowerCase(),t=>gs(t)===e),ys=e=>t=>typeof t===e,{isArray:ir}=Array,er=ys("undefined");function eo(e){return e!==null&&!er(e)&&e.constructor!==null&&!er(e.constructor)&<(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jf=It("ArrayBuffer");function $y(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jf(e.buffer),t}const jy=ys("string"),lt=ys("function"),Hf=ys("number"),to=e=>e!==null&&typeof e=="object",Hy=e=>e===!0||e===!1,Co=e=>{if(gs(e)!=="object")return!1;const t=ga(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!($f in e)&&!(ms in e)},Vy=e=>{if(!to(e)||eo(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},zy=It("Date"),Gy=It("File"),qy=It("Blob"),Wy=It("FileList"),Ky=e=>to(e)&<(e.pipe),Xy=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||lt(e.append)&&((t=gs(e))==="formdata"||t==="object"&<(e.toString)&&e.toString()==="[object FormData]"))},Yy=It("URLSearchParams"),[Jy,Zy,Qy,e0]=["ReadableStream","Request","Response","Headers"].map(It),t0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function no(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ir(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Tn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ti,zf=e=>!er(e)&&e!==Tn;function Li(){const{caseless:e,skipUndefined:t}=zf(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=e&&Vf(n,s)||s;Co(n[a])&&Co(o)?n[a]=Li(n[a],o):Co(o)?n[a]=Li({},o):ir(o)?n[a]=o.slice():(!t||!er(o))&&(n[a]=o)};for(let o=0,s=arguments.length;o(no(t,(o,s)=>{n&<(o)?Object.defineProperty(e,s,{value:Bf(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),r0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),o0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},s0=(e,t,n,r)=>{let o,s,a;const u={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!u[a]&&(t[a]=e[a],u[a]=!0);e=n!==!1&&ga(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},i0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},a0=e=>{if(!e)return null;if(ir(e))return e;let t=e.length;if(!Hf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},l0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ga(Uint8Array)),c0=(e,t)=>{const n=(e&&e[ms]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},u0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},f0=It("HTMLFormElement"),p0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),Vl=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),d0=It("RegExp"),Gf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};no(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},h0=e=>{Gf(e,(t,n)=>{if(lt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(lt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},m0=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return ir(e)?r(e):r(String(e).split(t)),n},g0=()=>{},y0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function b0(e){return!!(e&<(e.append)&&e[$f]==="FormData"&&e[ms])}const E0=e=>{const t=new Array(10),n=(r,o)=>{if(to(r)){if(t.indexOf(r)>=0)return;if(eo(r))return r;if(!("toJSON"in r)){t[o]=r;const s=ir(r)?[]:{};return no(r,(a,u)=>{const c=n(a,o+1);!er(c)&&(s[u]=c)}),t[o]=void 0,s}}return r};return n(e,0)},v0=It("AsyncFunction"),_0=e=>e&&(to(e)||lt(e))&<(e.then)&<(e.catch),qf=((e,t)=>e?setImmediate:t?((n,r)=>(Tn.addEventListener("message",({source:o,data:s})=>{o===Tn&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Tn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",lt(Tn.postMessage)),w0=typeof queueMicrotask<"u"?queueMicrotask.bind(Tn):typeof Ii<"u"&&Ii.nextTick||qf,T0=e=>e!=null&<(e[ms]),A={isArray:ir,isArrayBuffer:jf,isBuffer:eo,isFormData:Xy,isArrayBufferView:$y,isString:jy,isNumber:Hf,isBoolean:Hy,isObject:to,isPlainObject:Co,isEmptyObject:Vy,isReadableStream:Jy,isRequest:Zy,isResponse:Qy,isHeaders:e0,isUndefined:er,isDate:zy,isFile:Gy,isBlob:qy,isRegExp:d0,isFunction:lt,isStream:Ky,isURLSearchParams:Yy,isTypedArray:l0,isFileList:Wy,forEach:no,merge:Li,extend:n0,trim:t0,stripBOM:r0,inherits:o0,toFlatObject:s0,kindOf:gs,kindOfTest:It,endsWith:i0,toArray:a0,forEachEntry:c0,matchAll:u0,isHTMLForm:f0,hasOwnProperty:Vl,hasOwnProp:Vl,reduceDescriptors:Gf,freezeMethods:h0,toObjectSet:m0,toCamelCase:p0,noop:g0,toFiniteNumber:y0,findKey:Vf,global:Tn,isContextDefined:zf,isSpecCompliantForm:b0,toJSONObject:E0,isAsyncFn:v0,isThenable:_0,setImmediate:qf,asap:w0,isIterable:T0};let ie=class Wf extends Error{static from(t,n,r,o,s,a){const u=new Wf(t.message,n||t.code,r,o,s);return u.cause=t,u.name=t.name,a&&Object.assign(u,a),u}constructor(t,n,r,o,s){super(t),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:A.toJSONObject(this.config),code:this.code,status:this.status}}};ie.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",ie.ERR_BAD_OPTION="ERR_BAD_OPTION",ie.ECONNABORTED="ECONNABORTED",ie.ETIMEDOUT="ETIMEDOUT",ie.ERR_NETWORK="ERR_NETWORK",ie.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",ie.ERR_DEPRECATED="ERR_DEPRECATED",ie.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",ie.ERR_BAD_REQUEST="ERR_BAD_REQUEST",ie.ERR_CANCELED="ERR_CANCELED",ie.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",ie.ERR_INVALID_URL="ERR_INVALID_URL";const S0=null;function ki(e){return A.isPlainObject(e)||A.isArray(e)}function Kf(e){return A.endsWith(e,"[]")?e.slice(0,-2):e}function zl(e,t,n){return e?e.concat(t).map(function(r,o){return r=Kf(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function O0(e){return A.isArray(e)&&!e.some(ki)}const A0=A.toFlatObject(A,{},null,function(e){return/^is[A-Z]/.test(e)});function bs(e,t,n){if(!A.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=A.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,S){return!A.isUndefined(S[E])});const r=n.metaTokens,o=n.visitor||p,s=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&A.isSpecCompliantForm(t);if(!A.isFunction(o))throw new TypeError("visitor must be a function");function c(E){if(E===null)return"";if(A.isDate(E))return E.toISOString();if(A.isBoolean(E))return E.toString();if(!u&&A.isBlob(E))throw new ie("Blob is not supported. Use a Buffer instead.");return A.isArrayBuffer(E)||A.isTypedArray(E)?u&&typeof Blob=="function"?new Blob([E]):Dg.from(E):E}function p(E,S,g){let j=E;if(E&&!g&&typeof E=="object"){if(A.endsWith(S,"{}"))S=r?S:S.slice(0,-2),E=JSON.stringify(E);else if(A.isArray(E)&&O0(E)||(A.isFileList(E)||A.endsWith(S,"[]"))&&(j=A.toArray(E)))return S=Kf(S),j.forEach(function($,C){!(A.isUndefined($)||$===null)&&t.append(a===!0?zl([S],C,s):a===null?S:S+"[]",c($))}),!1}return ki(E)?!0:(t.append(zl(g,S,s),c(E)),!1)}const l=[],h=Object.assign(A0,{defaultVisitor:p,convertValue:c,isVisitable:ki});function _(E,S){if(!A.isUndefined(E)){if(l.indexOf(E)!==-1)throw Error("Circular reference detected in "+S.join("."));l.push(E),A.forEach(E,function(g,j){(!(A.isUndefined(g)||g===null)&&o.call(t,g,A.isString(j)?j.trim():j,S,h))===!0&&_(g,S?S.concat(j):[j])}),l.pop()}}if(!A.isObject(e))throw new TypeError("data must be an object");return _(e),t}function Gl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ya(e,t){this._pairs=[],e&&bs(e,this,t)}const ql=ya.prototype;ql.append=function(e,t){this._pairs.push([e,t])},ql.toString=function(e){const t=e?function(n){return e.call(this,n,Gl)}:Gl;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function C0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Xf(e,t,n){if(!t)return e;const r=n&&n.encode||C0,o=A.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let a;if(s?a=s(t,o):a=A.isURLSearchParams(t)?t.toString():new ya(t,o).toString(r),a){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Wl{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){A.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ba={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},R0=typeof URLSearchParams<"u"?URLSearchParams:ya,x0=typeof FormData<"u"?FormData:null,N0=typeof Blob<"u"?Blob:null,I0={isBrowser:!0,classes:{URLSearchParams:R0,FormData:x0,Blob:N0},protocols:["http","https","file","blob","url","data"]},Ea=typeof window<"u"&&typeof document<"u",Pi=typeof navigator=="object"&&navigator||void 0,L0=Ea&&(!Pi||["ReactNative","NativeScript","NS"].indexOf(Pi.product)<0),k0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",P0=Ea&&window.location.href||"http://localhost",M0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ea,hasStandardBrowserEnv:L0,hasStandardBrowserWebWorkerEnv:k0,navigator:Pi,origin:P0},Symbol.toStringTag,{value:"Module"})),Je={...M0,...I0};function D0(e,t){return bs(e,new Je.classes.URLSearchParams,{visitor:function(n,r,o,s){return Je.isNode&&A.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function U0(e){return A.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function F0(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r=n.length;return a=!a&&A.isArray(o)?o.length:a,c?(A.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!u):((!o[a]||!A.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&A.isArray(o[a])&&(o[a]=F0(o[a])),!u)}if(A.isFormData(e)&&A.isFunction(e.entries)){const n={};return A.forEachEntry(e,(r,o)=>{t(U0(r),o,n,0)}),n}return null}function B0(e,t,n){if(A.isString(e))try{return(t||JSON.parse)(e),A.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ro={transitional:ba,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=A.isObject(e);if(o&&A.isHTMLForm(e)&&(e=new FormData(e)),A.isFormData(e))return r?JSON.stringify(Yf(e)):e;if(A.isArrayBuffer(e)||A.isBuffer(e)||A.isStream(e)||A.isFile(e)||A.isBlob(e)||A.isReadableStream(e))return e;if(A.isArrayBufferView(e))return e.buffer;if(A.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return D0(e,this.formSerializer).toString();if((s=A.isFileList(e))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return bs(s?{"files[]":e}:e,a&&new a,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),B0(e)):e}],transformResponse:[function(e){const t=this.transitional||ro.transitional,n=t&&t.forcedJSONParsing,r=this.responseType==="json";if(A.isResponse(e)||A.isReadableStream(e))return e;if(e&&A.isString(e)&&(n&&!this.responseType||r)){const o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(s){if(o)throw s.name==="SyntaxError"?ie.from(s,ie.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Je.classes.FormData,Blob:Je.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};A.forEach(["delete","get","head","post","put","patch"],e=>{ro.headers[e]={}});const $0=A.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),j0=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&$0[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Kl=Symbol("internals");function br(e){return e&&String(e).trim().toLowerCase()}function Ro(e){return e===!1||e==null?e:A.isArray(e)?e.map(Ro):String(e)}function H0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const V0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Js(e,t,n,r,o){if(A.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!A.isString(t)){if(A.isString(r))return t.indexOf(r)!==-1;if(A.isRegExp(r))return r.test(t)}}function z0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function G0(e,t){const n=A.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}let ct=class{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(a,u,c){const p=br(u);if(!p)throw new Error("header name must be a non-empty string");const l=A.findKey(r,p);(!l||r[l]===void 0||c===!0||c===void 0&&r[l]!==!1)&&(r[l||u]=Ro(a))}const s=(a,u)=>A.forEach(a,(c,p)=>o(c,p,u));if(A.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(A.isString(e)&&(e=e.trim())&&!V0(e))s(j0(e),t);else if(A.isObject(e)&&A.isIterable(e)){let a={},u,c;for(const p of e){if(!A.isArray(p))throw TypeError("Object iterator must return a key-value pair");a[c=p[0]]=(u=a[c])?A.isArray(u)?[...u,p[1]]:[u,p[1]]:p[1]}s(a,t)}else e!=null&&o(t,e,n);return this}get(e,t){if(e=br(e),e){const n=A.findKey(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return H0(r);if(A.isFunction(t))return t.call(this,r,n);if(A.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=br(e),e){const n=A.findKey(this,e);return!!(n&&this[n]!==void 0&&(!t||Js(this,this[n],n,t)))}return!1}delete(e,t){const n=this;let r=!1;function o(s){if(s=br(s),s){const a=A.findKey(n,s);a&&(!t||Js(n,n[a],a,t))&&(delete n[a],r=!0)}}return A.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];(!e||Js(this,this[o],o,e,!0))&&(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return A.forEach(this,(r,o)=>{const s=A.findKey(n,o);if(s){t[s]=Ro(r),delete t[o];return}const a=e?z0(o):String(o).trim();a!==o&&delete t[o],t[a]=Ro(r),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return A.forEach(this,(n,r)=>{n!=null&&n!==!1&&(t[r]=e&&A.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(r=>n.set(r)),n}static accessor(e){const t=(this[Kl]=this[Kl]={accessors:{}}).accessors,n=this.prototype;function r(o){const s=br(o);t[s]||(G0(n,o),t[s]=!0)}return A.isArray(e)?e.forEach(r):r(e),this}};ct.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),A.reduceDescriptors(ct.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),A.freezeMethods(ct);function Zs(e,t){const n=this||ro,r=t||n,o=ct.from(r.headers);let s=r.data;return A.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Jf(e){return!!(e&&e.__CANCEL__)}let oo=class extends ie{constructor(e,t,n){super(e??"canceled",ie.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Zf(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ie("Request failed with status code "+n.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function q0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function W0(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),p=r[s];a||(a=c),n[o]=u,r[o]=c;let l=s,h=0;for(;l!==o;)h+=n[l++],l=l%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-a{n=c,o=null,s&&(clearTimeout(s),s=null),e(...u)};return[(...u)=>{const c=Date.now(),p=c-n;p>=r?a(u,c):(o=u,s||(s=setTimeout(()=>{s=null,a(o)},r-p)))},()=>o&&a(o)]}const Wo=(e,t,n=3)=>{let r=0;const o=W0(50,250);return K0(s=>{const a=s.loaded,u=s.lengthComputable?s.total:void 0,c=a-r,p=o(c),l=a<=u;r=a;const h={loaded:a,total:u,progress:u?a/u:void 0,bytes:c,rate:p||void 0,estimated:p&&u&&l?(u-a)/p:void 0,event:s,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(h)},n)},Xl=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Yl=e=>(...t)=>A.asap(()=>e(...t)),X0=Je.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Je.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Je.origin),Je.navigator&&/(msie|trident)/i.test(Je.navigator.userAgent)):()=>!0,Y0=Je.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const u=[`${e}=${encodeURIComponent(t)}`];A.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),A.isString(r)&&u.push(`path=${r}`),A.isString(o)&&u.push(`domain=${o}`),s===!0&&u.push("secure"),A.isString(a)&&u.push(`SameSite=${a}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function J0(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Z0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Qf(e,t,n){let r=!J0(t);return e&&(r||n==!1)?Z0(e,t):t}const Jl=e=>e instanceof ct?{...e}:e;function kn(e,t){t=t||{};const n={};function r(p,l,h,_){return A.isPlainObject(p)&&A.isPlainObject(l)?A.merge.call({caseless:_},p,l):A.isPlainObject(l)?A.merge({},l):A.isArray(l)?l.slice():l}function o(p,l,h,_){if(A.isUndefined(l)){if(!A.isUndefined(p))return r(void 0,p,h,_)}else return r(p,l,h,_)}function s(p,l){if(!A.isUndefined(l))return r(void 0,l)}function a(p,l){if(A.isUndefined(l)){if(!A.isUndefined(p))return r(void 0,p)}else return r(void 0,l)}function u(p,l,h){if(h in t)return r(p,l);if(h in e)return r(void 0,p)}const c={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:(p,l,h)=>o(Jl(p),Jl(l),h,!0)};return A.forEach(Object.keys({...e,...t}),function(p){if(p==="__proto__"||p==="constructor"||p==="prototype")return;const l=A.hasOwnProp(c,p)?c[p]:o,h=l(e[p],t[p],p);A.isUndefined(h)&&l!==u||(n[p]=h)}),n}const ep=e=>{const t=kn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:a,auth:u}=t;if(t.headers=a=ct.from(a),t.url=Xf(Qf(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),A.isFormData(n)){if(Je.hasStandardBrowserEnv||Je.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(A.isFunction(n.getHeaders)){const c=n.getHeaders(),p=["content-type","content-length"];Object.entries(c).forEach(([l,h])=>{p.includes(l.toLowerCase())&&a.set(l,h)})}}if(Je.hasStandardBrowserEnv&&(r&&A.isFunction(r)&&(r=r(t)),r||r!==!1&&X0(t.url))){const c=o&&s&&Y0.read(s);c&&a.set(o,c)}return t},Q0=typeof XMLHttpRequest<"u",eb=Q0&&function(e){return new Promise(function(t,n){const r=ep(e);let o=r.data;const s=ct.from(r.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=r,p,l,h,_,E;function S(){_&&_(),E&&E(),r.cancelToken&&r.cancelToken.unsubscribe(p),r.signal&&r.signal.removeEventListener("abort",p)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout;function j(){if(!g)return;const C=ct.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),v={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:C,config:e,request:g};Zf(function(w){t(w),S()},function(w){n(w),S()},v),g=null}"onloadend"in g?g.onloadend=j:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(j)},g.onabort=function(){g&&(n(new ie("Request aborted",ie.ECONNABORTED,e,g)),g=null)},g.onerror=function(C){const v=C&&C.message?C.message:"Network Error",w=new ie(v,ie.ERR_NETWORK,e,g);w.event=C||null,n(w),g=null},g.ontimeout=function(){let C=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const v=r.transitional||ba;r.timeoutErrorMessage&&(C=r.timeoutErrorMessage),n(new ie(C,v.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,g)),g=null},o===void 0&&s.setContentType(null),"setRequestHeader"in g&&A.forEach(s.toJSON(),function(C,v){g.setRequestHeader(v,C)}),A.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),a&&a!=="json"&&(g.responseType=r.responseType),c&&([h,E]=Wo(c,!0),g.addEventListener("progress",h)),u&&g.upload&&([l,_]=Wo(u),g.upload.addEventListener("progress",l),g.upload.addEventListener("loadend",_)),(r.cancelToken||r.signal)&&(p=C=>{g&&(n(!C||C.type?new oo(null,e,g):C),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(p),r.signal&&(r.signal.aborted?p():r.signal.addEventListener("abort",p)));const $=q0(r.url);if($&&Je.protocols.indexOf($)===-1){n(new ie("Unsupported protocol "+$+":",ie.ERR_BAD_REQUEST,e));return}g.send(o||null)})},tb=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(p){if(!o){o=!0,u();const l=p instanceof Error?p:this.reason;r.abort(l instanceof ie?l:new oo(l instanceof Error?l.message:l))}};let a=t&&setTimeout(()=>{a=null,s(new ie(`timeout of ${t}ms exceeded`,ie.ETIMEDOUT))},t);const u=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(s):p.removeEventListener("abort",s)}),e=null)};e.forEach(p=>p.addEventListener("abort",s));const{signal:c}=r;return c.unsubscribe=()=>A.asap(u),c}},nb=function*(e,t){let n=e.byteLength;if(n{const o=rb(e,t);let s=0,a,u=c=>{a||(a=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:p,value:l}=await o.next();if(p){u(),c.close();return}let h=l.byteLength;if(n){let _=s+=h;n(_)}c.enqueue(new Uint8Array(l))}catch(p){throw u(p),p}},cancel(c){return u(c),o.return()}},{highWaterMark:2})},Ql=64*1024,{isFunction:bo}=A,sb=(({Request:e,Response:t})=>({Request:e,Response:t}))(A.global),{ReadableStream:ec,TextEncoder:tc}=A.global,nc=(e,...t)=>{try{return!!e(...t)}catch{return!1}},ib=e=>{e=A.merge.call({skipUndefined:!0},sb,e);const{fetch:t,Request:n,Response:r}=e,o=t?bo(t):typeof fetch=="function",s=bo(n),a=bo(r);if(!o)return!1;const u=o&&bo(ec),c=o&&(typeof tc=="function"?(S=>g=>S.encode(g))(new tc):async S=>new Uint8Array(await new n(S).arrayBuffer())),p=s&&u&&nc(()=>{let S=!1;const g=new n(Je.origin,{body:new ec,method:"POST",get duplex(){return S=!0,"half"}}).headers.has("Content-Type");return S&&!g}),l=a&&u&&nc(()=>A.isReadableStream(new r("").body)),h={stream:l&&(S=>S.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(S=>{!h[S]&&(h[S]=(g,j)=>{let $=g&&g[S];if($)return $.call(g);throw new ie(`Response type '${S}' is not supported`,ie.ERR_NOT_SUPPORT,j)})});const _=async S=>{if(S==null)return 0;if(A.isBlob(S))return S.size;if(A.isSpecCompliantForm(S))return(await new n(Je.origin,{method:"POST",body:S}).arrayBuffer()).byteLength;if(A.isArrayBufferView(S)||A.isArrayBuffer(S))return S.byteLength;if(A.isURLSearchParams(S)&&(S=S+""),A.isString(S))return(await c(S)).byteLength},E=async(S,g)=>A.toFiniteNumber(S.getContentLength())??_(g);return async S=>{let{url:g,method:j,data:$,signal:C,cancelToken:v,timeout:w,onDownloadProgress:N,onUploadProgress:F,responseType:G,headers:X,withCredentials:M="same-origin",fetchOptions:B}=ep(S),K=t||fetch;G=G?(G+"").toLowerCase():"text";let U=tb([C,v&&v.toAbortSignal()],w),ee=null;const le=U&&U.unsubscribe&&(()=>{U.unsubscribe()});let ce;try{if(F&&p&&j!=="get"&&j!=="head"&&(ce=await E(X,$))!==0){let de=new n(g,{method:"POST",body:$,duplex:"half"}),Ue;if(A.isFormData($)&&(Ue=de.headers.get("content-type"))&&X.setContentType(Ue),de.body){const[Ce,Oe]=Xl(ce,Wo(Yl(F)));$=Zl(de.body,Ql,Ce,Oe)}}A.isString(M)||(M=M?"include":"omit");const z=s&&"credentials"in n.prototype,oe={...B,signal:U,method:j.toUpperCase(),headers:X.normalize().toJSON(),body:$,duplex:"half",credentials:z?M:void 0};ee=s&&new n(g,oe);let ne=await(s?K(ee,B):K(g,oe));const Ae=l&&(G==="stream"||G==="response");if(l&&(N||Ae&&le)){const de={};["status","statusText","headers"].forEach(ue=>{de[ue]=ne[ue]});const Ue=A.toFiniteNumber(ne.headers.get("content-length")),[Ce,Oe]=N&&Xl(Ue,Wo(Yl(N),!0))||[];ne=new r(Zl(ne.body,Ql,Ce,()=>{Oe&&Oe(),le&&le()}),de)}G=G||"text";let mt=await h[A.findKey(h,G)||"text"](ne,S);return!Ae&&le&&le(),await new Promise((de,Ue)=>{Zf(de,Ue,{data:mt,headers:ct.from(ne.headers),status:ne.status,statusText:ne.statusText,config:S,request:ee})})}catch(z){throw le&&le(),z&&z.name==="TypeError"&&/Load failed|fetch/i.test(z.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,S,ee,z&&z.response),{cause:z.cause||z}):ie.from(z,z&&z.code,S,ee,z&&z.response)}}},ab=new Map,tp=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,u=a,c,p,l=ab;for(;u--;)c=s[u],p=l.get(c),p===void 0&&l.set(c,p=u?new Map:ib(t)),l=p;return p};tp();const va={http:S0,xhr:eb,fetch:{get:tp}};A.forEach(va,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const rc=e=>`- ${e}`,lb=e=>A.isFunction(e)||e===null||e===!1;function cb(e,t){e=A.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a`adapter ${c} `+(p===!1?"is not supported by the environment":"is not available in the build"));let u=n?a.length>1?`since : `+a.map(rc).join(` `):" "+rc(a[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return o}const np={getAdapter:cb,adapters:va};function Qs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new oo(null,e)}function oc(e){return Qs(e),e.headers=ct.from(e.headers),e.data=Zs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),np.getAdapter(e.adapter||ro.adapter,e)(e).then(function(t){return Qs(e),t.data=Zs.call(e,e.transformResponse,t),t.headers=ct.from(t.headers),t},function(t){return Jf(t)||(Qs(e),t&&t.response&&(t.response.data=Zs.call(e,e.transformResponse,t.response),t.response.headers=ct.from(t.response.headers))),Promise.reject(t)})}const rp="1.13.5",Ko={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ko[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const sc={};Ko.transitional=function(e,t,n){function r(o,s){return"[Axios v"+rp+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(e===!1)throw new ie(r(s," has been removed"+(t?" in "+t:"")),ie.ERR_DEPRECATED);return t&&!sc[s]&&(sc[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,s,a):!0}},Ko.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function ub(e,t,n){if(typeof e!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=t[s];if(a){const u=e[s],c=u===void 0||a(u,s,e);if(c!==!0)throw new ie("option "+s+" must be "+c,ie.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ie("Unknown option "+s,ie.ERR_BAD_OPTION)}}const xo={assertOptions:ub,validators:Ko},bt=xo.validators;let Nn=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Wl,response:new Wl}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=` `+o):n.stack=o}catch{}}throw n}}_request(e,t){typeof e=="string"?(t=t||{},t.url=e):t=e||{},t=kn(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;n!==void 0&&xo.assertOptions(n,{silentJSONParsing:bt.transitional(bt.boolean),forcedJSONParsing:bt.transitional(bt.boolean),clarifyTimeoutError:bt.transitional(bt.boolean),legacyInterceptorReqResOrdering:bt.transitional(bt.boolean)},!1),r!=null&&(A.isFunction(r)?t.paramsSerializer={serialize:r}:xo.assertOptions(r,{encode:bt.function,serialize:bt.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),xo.assertOptions(t,{baseUrl:bt.spelling("baseURL"),withXsrfToken:bt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&A.merge(o.common,o[t.method]);o&&A.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),t.headers=ct.concat(s,o);const a=[];let u=!0;this.interceptors.request.forEach(function(E){if(typeof E.runWhen=="function"&&E.runWhen(t)===!1)return;u=u&&E.synchronous;const S=t.transitional||ba;S&&S.legacyInterceptorReqResOrdering?a.unshift(E.fulfilled,E.rejected):a.push(E.fulfilled,E.rejected)});const c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let p,l=0,h;if(!u){const E=[oc.bind(this),void 0];for(E.unshift(...a),E.push(...c),h=E.length,p=Promise.resolve(t);l{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(u=>{r.subscribe(u),s=u}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(o,s,a){r.reason||(r.reason=new oo(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new op(function(n){t=n}),cancel:t}}};function pb(e){return function(t){return e.apply(null,t)}}function db(e){return A.isObject(e)&&e.isAxiosError===!0}const Mi={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Mi).forEach(([e,t])=>{Mi[t]=e});function sp(e){const t=new Nn(e),n=Bf(Nn.prototype.request,t);return A.extend(n,Nn.prototype,t,{allOwnKeys:!0}),A.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return sp(kn(e,r))},n}const ke=sp(ro);ke.Axios=Nn,ke.CanceledError=oo,ke.CancelToken=fb,ke.isCancel=Jf,ke.VERSION=rp,ke.toFormData=bs,ke.AxiosError=ie,ke.Cancel=ke.CanceledError,ke.all=function(e){return Promise.all(e)},ke.spread=pb,ke.isAxiosError=db,ke.mergeConfig=kn,ke.AxiosHeaders=ct,ke.formToJSON=e=>Yf(A.isHTMLForm(e)?new FormData(e):e),ke.getAdapter=np.getAdapter,ke.HttpStatusCode=Mi,ke.default=ke;const{Axios:Nb,AxiosError:Ib,CanceledError:Lb,isCancel:kb,CancelToken:Pb,VERSION:Mb,all:Db,Cancel:Ub,isAxiosError:_a,spread:Fb,toFormData:Bb,AxiosHeaders:$b,HttpStatusCode:jb,formToJSON:Hb,getAdapter:Vb,mergeConfig:zb}=ke,ip=ke.create({headers:{requesttoken:Iy()??"","X-Requested-With":"XMLHttpRequest"}});Ly(e=>{ip.defaults.headers.requesttoken=e});const Er=Object.assign(ip,{CancelToken:ke.CancelToken,isCancel:ke.isCancel}),ic=Symbol("csrf-retry");function hb(e){return async t=>{if(!_a(t))throw t;const{config:n,response:r,request:o}=t,s=o?.responseURL;if(n&&!n[ic]&&r?.status===412&&r?.data?.message==="CSRF check failed"){console.warn(`Request to ${s} failed because of a CSRF mismatch. Fetching a new token`);const{data:{token:a}}=await e.get(Tf("/csrftoken"));return console.debug(`New request token ${a} fetched`),e.defaults.headers.requesttoken=a,e({...n,headers:{...n.headers,requesttoken:a},[ic]:!0})}throw t}}const ei=Symbol("retryDelay");function mb(e){return async t=>{if(!_a(t))throw t;const{config:n,response:r,request:o}=t,s=o?.responseURL,a=r?.status,u=r?.headers;let c=typeof n?.[ei]=="number"?n?.[ei]:1;if(a===503&&u?.["x-nextcloud-maintenance-mode"]==="1"&&n?.retryIfMaintenanceMode){if(c*=2,c>32)throw console.error("Retry delay exceeded one minute, giving up.",{responseURL:s}),t;return console.warn(`Request to ${s} failed because of maintenance mode. Retrying in ${c}s`),await new Promise(p=>{setTimeout(p,c*1e3)}),e({...n,[ei]:c})}throw t}}async function gb(e){if(_a(e)){const{config:t,response:n,request:r}=e,o=r?.responseURL;n?.status===401&&n?.data?.message==="Current user is not logged in"&&t?.reloadExpiredSession&&window?.location&&(console.error(`Request to ${o} failed because the user session expired. Reloading the page …`),window.location.reload())}throw e}Er.interceptors.response.use(e=>e,hb(Er)),Er.interceptors.response.use(e=>e,mb(Er)),Er.interceptors.response.use(e=>e,gb);function Gb(e,t,n){const r=`#initial-state-${e}-${t}`;if(window._nc_initial_state?.has(r))return window._nc_initial_state.get(r);window._nc_initial_state||(window._nc_initial_state=new Map);const o=document.querySelector(r);if(o===null){if(n!==void 0)return n;throw new Error(`Could not find initial state ${t} of ${e}`)}try{const s=JSON.parse(atob(o.value));return window._nc_initial_state.set(r,s),s}catch(s){if(console.error("[@nextcloud/initial-state] Could not parse initial state",{key:t,app:e,error:s}),n!==void 0)return n;throw new Error(`Could not parse initial state ${t} of ${e}`,{cause:s})}}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function t(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(r){if(r.ep)return;r.ep=!0;const o=t(r);fetch(r.href,o)}})();export{us as $,Cb as A,Ry as B,Ji as C,Gu as D,Xr as E,je as F,Pd as G,Uy as H,Sb as I,xf as J,Qd as K,xb as L,Sr as M,Rd as N,ky as O,Fg as P,Iy as Q,Ly as R,qn as S,Zr as T,Dc as U,Rb as V,Hh as W,Zh as X,ih as Y,os as Z,vb as _,aa as a,Ab as a$,Nh as a0,rr as a1,ha as a2,Dg as a3,Oo as a4,Pc as a5,ns as a6,Or as a7,qc as a8,Bh as a9,tr as aA,hn as aB,Fp as aC,Bp as aD,$p as aE,jp as aF,uc as aG,ut as aH,xp as aI,Tb as aJ,bb as aK,yb as aL,Ah as aM,ye as aN,Ny as aO,Gm as aP,Zd as aQ,nd as aR,Be as aS,en as aT,bc as aU,rd as aV,Id as aW,Mc as aX,$h as aY,wb as aZ,Eb as a_,cs as aa,fg as ab,Oh as ac,Og as ad,nf as ae,fc as af,Fu as ag,km as ah,fy as ai,Go as aj,sn as ak,hg as al,Bg as am,Fy as an,ht as ao,_e as ap,Se as aq,Di as ar,_t as as,gp as at,nr as au,He as av,me as aw,Ee as ax,zn as ay,Q as az,Er as b,py as b0,Od as b1,ft as b2,Ym as b3,ly as b4,Kd as b5,Xd as b6,Yd as b7,Ob as b8,De as b9,mn as ba,Io as bb,rh as bc,Eh as bd,da as be,hs as bf,au as bg,bf as bh,Qi as bi,$g as bj,_b as bk,Em as c,Tf as d,wi as e,Bo as f,ti as g,Ie as h,Ki as i,Ch as j,Tm as k,Gb as l,Rh as m,xh as n,jr as o,Ii as p,or as q,Sh as r,la as s,ji as t,Bu as u,ua as v,Jd as w,Tg as x,Vt as y,qu as z}; //# sourceMappingURL=modulepreload-polyfill-DS8mCOmY.chunk.mjs.map