2025-05-17 00:24:58 +02:00

90 lines
785 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();/**
* @vue/shared v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function rn(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const Yt={},yr=[],en=()=>{},io=()=>!1,Qi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),au=t=>t.startsWith("onUpdate:"),Zt=Object.assign,lu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},HS=Object.prototype.hasOwnProperty,de=(t,e)=>HS.call(t,e),gt=Array.isArray,br=t=>Mr(t)==="[object Map]",tr=t=>Mr(t)==="[object Set]",kf=t=>Mr(t)==="[object Date]",Rb=t=>Mr(t)==="[object RegExp]",xt=t=>typeof t=="function",Dt=t=>typeof t=="string",Nn=t=>typeof t=="symbol",me=t=>t!==null&&typeof t=="object",cu=t=>(me(t)||xt(t))&&xt(t.then)&&xt(t.catch),Ph=Object.prototype.toString,Mr=t=>Ph.call(t),Lb=t=>Mr(t).slice(8,-1),tl=t=>Mr(t)==="[object Object]",uu=t=>Dt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ui=rn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$b=rn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),du=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},US=/-(\w)/g,Te=du(t=>t.replace(US,(e,n)=>n?n.toUpperCase():"")),jS=/\B([A-Z])/g,bn=du(t=>t.replace(jS,"-$1").toLowerCase()),er=du(t=>t.charAt(0).toUpperCase()+t.slice(1)),vr=du(t=>t?`on${er(t)}`:""),gn=(t,e)=>!Object.is(t,e),_r=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Dh=(t,e,n,s=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},xa=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Ia=t=>{const e=Dt(t)?Number(t):NaN;return isNaN(e)?t:e};let _m;const el=()=>_m||(_m=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),BS=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function WS(t){return BS.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}function GS(t,e){return t+JSON.stringify(e,(n,s)=>typeof s=="function"?s.toString():s)}const KS={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"},zS={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},qS={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"},XS={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},YS={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},ZS="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",Mh=rn(ZS),JS=Mh,Sm=2;function Fb(t,e=0,n=t.length){if(e=Math.max(0,Math.min(e,t.length)),n=Math.max(0,Math.min(n,t.length)),e>n)return"";let s=t.split(/(\r?\n)/);const i=s.filter((a,l)=>l%2===1);s=s.filter((a,l)=>l%2===0);let r=0;const o=[];for(let a=0;a<s.length;a++)if(r+=s[a].length+(i[a]&&i[a].length||0),r>=e){for(let l=a-Sm;l<=a+Sm||n>r;l++){if(l<0||l>=s.length)continue;const c=l+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[l]}`);const u=s[l].length,d=i[l]&&i[l].length||0;if(l===a){const f=e-(r-(u+d)),h=Math.max(1,n>r?u-f:n-e);o.push(" | "+" ".repeat(f)+"^".repeat(h))}else if(l>a){if(n>r){const f=Math.max(Math.min(n-r,u),1);o.push(" | "+"^".repeat(f))}r+=u+d}}break}return o.join(`
`)}function Rr(t){if(gt(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],i=Dt(s)?Rh(s):Rr(s);if(i)for(const r in i)e[r]=i[r]}return e}else if(Dt(t)||me(t))return t}const QS=/;(?![^(]*\))/g,tE=/:([^]+)/,eE=/\/\*[^]*?\*\//g;function Rh(t){const e={};return t.replace(eE,"").split(QS).forEach(n=>{if(n){const s=n.split(tE);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function nE(t){if(!t)return"";if(Dt(t))return t;let e="";for(const n in t){const s=t[n];if(Dt(s)||typeof s=="number"){const i=n.startsWith("--")?n:bn(n);e+=`${i}:${s};`}}return e}function Kt(t){let e="";if(Dt(t))e=t;else if(gt(t))for(let n=0;n<t.length;n++){const s=Kt(t[n]);s&&(e+=s+" ")}else if(me(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function ro(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Dt(e)&&(t.class=Kt(e)),n&&(t.style=Rr(n)),t}const sE="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",iE="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",rE="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",oE="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Vb=rn(sE),Hb=rn(iE),Ub=rn(rE),jb=rn(oE),Bb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Wb=rn(Bb),aE=rn(Bb+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function Lh(t){return!!t||t===""}const lE=/[>/="'\u0009\u000a\u000c\u0020]/,Sd={};function cE(t){if(Sd.hasOwnProperty(t))return Sd[t];const e=lE.test(t);return e&&console.error(`unsafe attribute name: ${t}`),Sd[t]=!e}const uE={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},dE=rn("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"),fE=rn("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"),hE=rn("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 pE(t){if(t==null)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"}const mE=/["'&<>]/;function gE(t){const e=""+t,n=mE.exec(e);if(!n)return e;let s="",i,r,o=0;for(r=n.index;r<e.length;r++){switch(e.charCodeAt(r)){case 34:i="&quot;";break;case 38:i="&amp;";break;case 39:i="&#39;";break;case 60:i="&lt;";break;case 62:i="&gt;";break;default:continue}o!==r&&(s+=e.slice(o,r)),o=r+1,s+=i}return o!==r?s+e.slice(o,r):s}const yE=/^-?>|<!--|-->|--!>|<!-$/g;function bE(t){return t.replace(yE,"")}const Gb=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function vE(t,e){return t.replace(Gb,n=>e?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function _E(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=mi(t[s],e[s]);return n}function mi(t,e){if(t===e)return!0;let n=kf(t),s=kf(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=Nn(t),s=Nn(e),n||s)return t===e;if(n=gt(t),s=gt(e),n||s)return n&&s?_E(t,e):!1;if(n=me(t),s=me(e),n||s){if(!n||!s)return!1;const i=Object.keys(t).length,r=Object.keys(e).length;if(i!==r)return!1;for(const o in t){const a=t.hasOwnProperty(o),l=e.hasOwnProperty(o);if(a&&!l||!a&&l||!mi(t[o],e[o]))return!1}}return String(t)===String(e)}function nl(t,e){return t.findIndex(n=>mi(n,e))}const Kb=t=>!!(t&&t.__v_isRef===!0),J=t=>Dt(t)?t:t==null?"":gt(t)||me(t)&&(t.toString===Ph||!xt(t.toString))?Kb(t)?J(t.value):JSON.stringify(t,zb,2):String(t),zb=(t,e)=>Kb(e)?zb(t,e.value):br(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i],r)=>(n[Ed(s,r)+" =>"]=i,n),{})}:tr(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Ed(n))}:Nn(e)?Ed(e):me(e)&&!gt(e)&&!tl(e)?String(e):e,Ed=(t,e="")=>{var n;return Nn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t},SE=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:yr,EMPTY_OBJ:Yt,NO:io,NOOP:en,PatchFlagNames:zS,PatchFlags:KS,ShapeFlags:qS,SlotFlags:XS,camelize:Te,capitalize:er,cssVarNameEscapeSymbolsRE:Gb,def:Dh,escapeHtml:gE,escapeHtmlComment:bE,extend:Zt,genCacheKey:GS,genPropsAccessExp:WS,generateCodeFrame:Fb,getEscapedCssVarName:vE,getGlobalThis:el,hasChanged:gn,hasOwn:de,hyphenate:bn,includeBooleanAttr:Lh,invokeArrayFns:_r,isArray:gt,isBooleanAttr:aE,isBuiltInDirective:$b,isDate:kf,isFunction:xt,isGloballyAllowed:Mh,isGloballyWhitelisted:JS,isHTMLTag:Vb,isIntegerKey:uu,isKnownHtmlAttr:dE,isKnownMathMLAttr:hE,isKnownSvgAttr:fE,isMap:br,isMathMLTag:Ub,isModelListener:au,isObject:me,isOn:Qi,isPlainObject:tl,isPromise:cu,isRegExp:Rb,isRenderableAttrValue:pE,isReservedProp:ui,isSSRSafeAttrName:cE,isSVGTag:Hb,isSet:tr,isSpecialBooleanAttr:Wb,isString:Dt,isSymbol:Nn,isVoidTag:jb,looseEqual:mi,looseIndexOf:nl,looseToNumber:xa,makeMap:rn,normalizeClass:Kt,normalizeProps:ro,normalizeStyle:Rr,objectToString:Ph,parseStringStyle:Rh,propsToAttrMap:uE,remove:lu,slotFlagsText:YS,stringifyStyle:nE,toDisplayString:J,toHandlerKey:vr,toNumber:Ia,toRawType:Lb,toTypeString:Mr},Symbol.toStringTag,{value:"Module"}));/**
* @vue/reactivity v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let hn;class $h{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=hn,!e&&hn&&(this.index=(hn.scopes||(hn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=hn;try{return hn=this,e()}finally{hn=n}}}on(){++this._on===1&&(this.prevScope=hn,hn=this)}off(){this._on>0&&--this._on===0&&(hn=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function fu(t){return new $h(t)}function Fh(){return hn}function qb(t,e=!1){hn&&hn.cleanups.push(t)}let ke;const wd=new WeakSet;class Na{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,hn&&hn.active&&hn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,wd.has(this)&&(wd.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yb(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Em(this),Zb(this);const e=ke,n=As;ke=this,As=!0;try{return this.fn()}finally{Jb(this),ke=e,As=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Uh(e);this.deps=this.depsTail=void 0,Em(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?wd.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Tf(this)&&this.run()}get dirty(){return Tf(this)}}let Xb=0,fa,ha;function Yb(t,e=!1){if(t.flags|=8,e){t.next=ha,ha=t;return}t.next=fa,fa=t}function Vh(){Xb++}function Hh(){if(--Xb>0)return;if(ha){let e=ha;for(ha=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;fa;){let e=fa;for(fa=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(s){t||(t=s)}e=n}}if(t)throw t}function Zb(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Jb(t){let e,n=t.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Uh(s),EE(s)):e=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}t.deps=e,t.depsTail=n}function Tf(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Qb(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Qb(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Pa)||(t.globalVersion=Pa,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Tf(t))))return;t.flags|=2;const e=t.dep,n=ke,s=As;ke=t,As=!0;try{Zb(t);const i=t.fn(t._value);(e.version===0||gn(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ke=n,As=s,Jb(t),t.flags&=-3}}function Uh(t,e=!1){const{dep:n,prevSub:s,nextSub:i}=t;if(s&&(s.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=s,t.nextSub=void 0),n.subs===t&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Uh(r,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function EE(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}function wE(t,e){t.effect instanceof Na&&(t=t.effect.fn);const n=new Na(t);e&&Zt(n,e);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function kE(t){t.effect.stop()}let As=!0;const tv=[];function gi(){tv.push(As),As=!1}function yi(){const t=tv.pop();As=t===void 0?!0:t}function Em(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=ke;ke=void 0;try{e()}finally{ke=n}}}let Pa=0;class TE{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class hu{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ke||!As||ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ke)n=this.activeLink=new TE(ke,this),ke.deps?(n.prevDep=ke.depsTail,ke.depsTail.nextDep=n,ke.depsTail=n):ke.deps=ke.depsTail=n,ev(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ke.depsTail,n.nextDep=void 0,ke.depsTail.nextDep=n,ke.depsTail=n,ke.deps===n&&(ke.deps=s)}return n}trigger(e){this.version++,Pa++,this.notify(e)}notify(e){Vh();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Hh()}}}function ev(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let s=e.deps;s;s=s.nextDep)ev(s)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const vc=new WeakMap,Sr=Symbol(""),Cf=Symbol(""),Da=Symbol("");function yn(t,e,n){if(As&&ke){let s=vc.get(t);s||vc.set(t,s=new Map);let i=s.get(n);i||(s.set(n,i=new hu),i.map=s,i.key=n),i.track()}}function ii(t,e,n,s,i,r){const o=vc.get(t);if(!o){Pa++;return}const a=l=>{l&&l.trigger()};if(Vh(),e==="clear")o.forEach(a);else{const l=gt(t),c=l&&uu(n);if(l&&n==="length"){const u=Number(s);o.forEach((d,f)=>{(f==="length"||f===Da||!Nn(f)&&f>=u)&&a(d)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(Da)),e){case"add":l?c&&a(o.get("length")):(a(o.get(Sr)),br(t)&&a(o.get(Cf)));break;case"delete":l||(a(o.get(Sr)),br(t)&&a(o.get(Cf)));break;case"set":br(t)&&a(o.get(Sr));break}}Hh()}function CE(t,e){const n=vc.get(t);return n&&n.get(e)}function jr(t){const e=ee(t);return e===t?e:(yn(e,"iterate",Da),Yn(t)?e:e.map(cn))}function pu(t){return yn(t=ee(t),"iterate",Da),t}const AE={__proto__:null,[Symbol.iterator](){return kd(this,Symbol.iterator,cn)},concat(...t){return jr(this).concat(...t.map(e=>gt(e)?jr(e):e))},entries(){return kd(this,"entries",t=>(t[1]=cn(t[1]),t))},every(t,e){return Js(this,"every",t,e,void 0,arguments)},filter(t,e){return Js(this,"filter",t,e,n=>n.map(cn),arguments)},find(t,e){return Js(this,"find",t,e,cn,arguments)},findIndex(t,e){return Js(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Js(this,"findLast",t,e,cn,arguments)},findLastIndex(t,e){return Js(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Js(this,"forEach",t,e,void 0,arguments)},includes(...t){return Td(this,"includes",t)},indexOf(...t){return Td(this,"indexOf",t)},join(t){return jr(this).join(t)},lastIndexOf(...t){return Td(this,"lastIndexOf",t)},map(t,e){return Js(this,"map",t,e,void 0,arguments)},pop(){return zo(this,"pop")},push(...t){return zo(this,"push",t)},reduce(t,...e){return wm(this,"reduce",t,e)},reduceRight(t,...e){return wm(this,"reduceRight",t,e)},shift(){return zo(this,"shift")},some(t,e){return Js(this,"some",t,e,void 0,arguments)},splice(...t){return zo(this,"splice",t)},toReversed(){return jr(this).toReversed()},toSorted(t){return jr(this).toSorted(t)},toSpliced(...t){return jr(this).toSpliced(...t)},unshift(...t){return zo(this,"unshift",t)},values(){return kd(this,"values",cn)}};function kd(t,e,n){const s=pu(t),i=s[e]();return s!==t&&!Yn(t)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=n(r.value)),r}),i}const OE=Array.prototype;function Js(t,e,n,s,i,r){const o=pu(t),a=o!==t&&!Yn(t),l=o[e];if(l!==OE[e]){const d=l.apply(t,r);return a?cn(d):d}let c=n;o!==t&&(a?c=function(d,f){return n.call(this,cn(d),f,t)}:n.length>2&&(c=function(d,f){return n.call(this,d,f,t)}));const u=l.call(o,c,s);return a&&i?i(u):u}function wm(t,e,n,s){const i=pu(t);let r=n;return i!==t&&(Yn(t)?n.length>3&&(r=function(o,a,l){return n.call(this,o,a,l,t)}):r=function(o,a,l){return n.call(this,o,cn(a),l,t)}),i[e](r,...s)}function Td(t,e,n){const s=ee(t);yn(s,"iterate",Da);const i=s[e](...n);return(i===-1||i===!1)&&yu(n[0])?(n[0]=ee(n[0]),s[e](...n)):i}function zo(t,e,n=[]){gi(),Vh();const s=ee(t)[e].apply(t,n);return Hh(),yi(),s}const xE=rn("__proto__,__v_isRef,__isVue"),nv=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Nn));function IE(t){Nn(t)||(t=String(t));const e=ee(this);return yn(e,"has",t),e.hasOwnProperty(t)}class sv{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,s){if(n==="__v_skip")return e.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?cv:lv:r?av:ov).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const o=gt(e);if(!i){let l;if(o&&(l=AE[n]))return l;if(n==="hasOwnProperty")return IE}const a=Reflect.get(e,n,Ie(e)?e:s);return(Nn(n)?nv.has(n):xE(n))||(i||yn(e,"get",n),r)?a:Ie(a)?o&&uu(n)?a:a.value:me(a)?i?Bh(a):Po(a):a}}class iv extends sv{constructor(e=!1){super(!1,e)}set(e,n,s,i){let r=e[n];if(!this._isShallow){const l=bi(r);if(!Yn(s)&&!bi(s)&&(r=ee(r),s=ee(s)),!gt(e)&&Ie(r)&&!Ie(s))return l?!1:(r.value=s,!0)}const o=gt(e)&&uu(n)?Number(n)<e.length:de(e,n),a=Reflect.set(e,n,s,Ie(e)?e:i);return e===ee(i)&&(o?gn(s,r)&&ii(e,"set",n,s):ii(e,"add",n,s)),a}deleteProperty(e,n){const s=de(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&s&&ii(e,"delete",n,void 0),i}has(e,n){const s=Reflect.has(e,n);return(!Nn(n)||!nv.has(n))&&yn(e,"has",n),s}ownKeys(e){return yn(e,"iterate",gt(e)?"length":Sr),Reflect.ownKeys(e)}}class rv extends sv{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const NE=new iv,PE=new rv,DE=new iv(!0),ME=new rv(!0),Af=t=>t,Sl=t=>Reflect.getPrototypeOf(t);function RE(t,e,n){return function(...s){const i=this.__v_raw,r=ee(i),o=br(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...s),u=n?Af:e?_c:cn;return!e&&yn(r,"iterate",l?Cf:Sr),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:a?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function El(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function LE(t,e){const n={get(i){const r=this.__v_raw,o=ee(r),a=ee(i);t||(gn(i,a)&&yn(o,"get",i),yn(o,"get",a));const{has:l}=Sl(o),c=e?Af:t?_c:cn;if(l.call(o,i))return c(r.get(i));if(l.call(o,a))return c(r.get(a));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!t&&yn(ee(i),"iterate",Sr),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,o=ee(r),a=ee(i);return t||(gn(i,a)&&yn(o,"has",i),yn(o,"has",a)),i===a?r.has(i):r.has(i)||r.has(a)},forEach(i,r){const o=this,a=o.__v_raw,l=ee(a),c=e?Af:t?_c:cn;return!t&&yn(l,"iterate",Sr),a.forEach((u,d)=>i.call(r,c(u),c(d),o))}};return Zt(n,t?{add:El("add"),set:El("set"),delete:El("delete"),clear:El("clear")}:{add(i){!e&&!Yn(i)&&!bi(i)&&(i=ee(i));const r=ee(this);return Sl(r).has.call(r,i)||(r.add(i),ii(r,"add",i,i)),this},set(i,r){!e&&!Yn(r)&&!bi(r)&&(r=ee(r));const o=ee(this),{has:a,get:l}=Sl(o);let c=a.call(o,i);c||(i=ee(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,r),c?gn(r,u)&&ii(o,"set",i,r):ii(o,"add",i,r),this},delete(i){const r=ee(this),{has:o,get:a}=Sl(r);let l=o.call(r,i);l||(i=ee(i),l=o.call(r,i)),a&&a.call(r,i);const c=r.delete(i);return l&&ii(r,"delete",i,void 0),c},clear(){const i=ee(this),r=i.size!==0,o=i.clear();return r&&ii(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=RE(i,t,e)}),n}function mu(t,e){const n=LE(t,e);return(s,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(de(n,i)&&i in s?n:s,i,r)}const $E={get:mu(!1,!1)},FE={get:mu(!1,!0)},VE={get:mu(!0,!1)},HE={get:mu(!0,!0)},ov=new WeakMap,av=new WeakMap,lv=new WeakMap,cv=new WeakMap;function UE(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jE(t){return t.__v_skip||!Object.isExtensible(t)?0:UE(Lb(t))}function Po(t){return bi(t)?t:gu(t,!1,NE,$E,ov)}function jh(t){return gu(t,!1,DE,FE,av)}function Bh(t){return gu(t,!0,PE,VE,lv)}function BE(t){return gu(t,!0,ME,HE,cv)}function gu(t,e,n,s,i){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=jE(t);if(r===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,r===2?s:n);return i.set(t,a),a}function Ws(t){return bi(t)?Ws(t.__v_raw):!!(t&&t.__v_isReactive)}function bi(t){return!!(t&&t.__v_isReadonly)}function Yn(t){return!!(t&&t.__v_isShallow)}function yu(t){return t?!!t.__v_raw:!1}function ee(t){const e=t&&t.__v_raw;return e?ee(e):t}function bu(t){return!de(t,"__v_skip")&&Object.isExtensible(t)&&Dh(t,"__v_skip",!0),t}const cn=t=>me(t)?Po(t):t,_c=t=>me(t)?Bh(t):t;function Ie(t){return t?t.__v_isRef===!0:!1}function ls(t){return uv(t,!1)}function vu(t){return uv(t,!0)}function uv(t,e){return Ie(t)?t:new WE(t,e)}class WE{constructor(e,n){this.dep=new hu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:ee(e),this._value=n?e:cn(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,s=this.__v_isShallow||Yn(e)||bi(e);e=s?e:ee(e),gn(e,n)&&(this._rawValue=e,this._value=s?e:cn(e),this.dep.trigger())}}function GE(t){t.dep&&t.dep.trigger()}function Vn(t){return Ie(t)?t.value:t}function KE(t){return xt(t)?t():Vn(t)}const zE={get:(t,e,n)=>e==="__v_raw"?t:Vn(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Ie(i)&&!Ie(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function Wh(t){return Ws(t)?t:new Proxy(t,zE)}class qE{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new hu,{get:s,set:i}=e(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=i}get value(){return this._value=this._get()}set value(e){this._set(e)}}function dv(t){return new qE(t)}function fv(t){const e=gt(t)?new Array(t.length):{};for(const n in t)e[n]=hv(t,n);return e}class XE{constructor(e,n,s){this._object=e,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return CE(ee(this._object),this._key)}}class YE{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function ZE(t,e,n){return Ie(t)?t:xt(t)?new YE(t):me(t)&&arguments.length>1?hv(t,e,n):ls(t)}function hv(t,e,n){const s=t[e];return Ie(s)?s:new XE(t,e,n)}class JE{constructor(e,n,s){this.fn=e,this.setter=n,this._value=void 0,this.dep=new hu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pa-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ke!==this)return Yb(this,!0),!0}get value(){const e=this.dep.track();return Qb(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function QE(t,e,n=!1){let s,i;return xt(t)?s=t:(s=t.get,i=t.set),new JE(s,i,n)}const t3={GET:"get",HAS:"has",ITERATE:"iterate"},e3={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},wl={},Sc=new WeakMap;let Li;function n3(){return Li}function pv(t,e=!1,n=Li){if(n){let s=Sc.get(n);s||Sc.set(n,s=[]),s.push(t)}}function s3(t,e,n=Yt){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:a,call:l}=n,c=v=>i?v:Yn(v)||i===!1||i===0?ri(v,1):ri(v);let u,d,f,h,p=!1,m=!1;if(Ie(t)?(d=()=>t.value,p=Yn(t)):Ws(t)?(d=()=>c(t),p=!0):gt(t)?(m=!0,p=t.some(v=>Ws(v)||Yn(v)),d=()=>t.map(v=>{if(Ie(v))return v.value;if(Ws(v))return c(v);if(xt(v))return l?l(v,2):v()})):xt(t)?e?d=l?()=>l(t,2):t:d=()=>{if(f){gi();try{f()}finally{yi()}}const v=Li;Li=u;try{return l?l(t,3,[h]):t(h)}finally{Li=v}}:d=en,e&&i){const v=d,S=i===!0?1/0:i;d=()=>ri(v(),S)}const b=Fh(),y=()=>{u.stop(),b&&b.active&&lu(b.effects,u)};if(r&&e){const v=e;e=(...S)=>{v(...S),y()}}let _=m?new Array(t.length).fill(wl):wl;const g=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(e){const S=u.run();if(i||p||(m?S.some((k,N)=>gn(k,_[N])):gn(S,_))){f&&f();const k=Li;Li=u;try{const N=[S,_===wl?void 0:m&&_[0]===wl?[]:_,h];l?l(e,3,N):e(...N),_=S}finally{Li=k}}}else u.run()};return a&&a(g),u=new Na(d),u.scheduler=o?()=>o(g,!1):g,h=v=>pv(v,!1,u),f=u.onStop=()=>{const v=Sc.get(u);if(v){if(l)l(v,4);else for(const S of v)S();Sc.delete(u)}},e?s?g(!0):_=u.run():o?o(g.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function ri(t,e=1/0,n){if(e<=0||!me(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Ie(t))ri(t.value,e,n);else if(gt(t))for(let s=0;s<t.length;s++)ri(t[s],e,n);else if(tr(t)||br(t))t.forEach(s=>{ri(s,e,n)});else if(tl(t)){for(const s in t)ri(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&ri(t[s],e,n)}return t}/**
* @vue/runtime-core v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const mv=[];function i3(t){mv.push(t)}function r3(){mv.pop()}function o3(t,e){}const a3={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"},l3={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 Do(t,e,n,s){try{return s?t(...s):t()}catch(i){Lr(i,e,n)}}function fs(t,e,n,s){if(xt(t)){const i=Do(t,e,n,s);return i&&cu(i)&&i.catch(r=>{Lr(r,e,n)}),i}if(gt(t)){const i=[];for(let r=0;r<t.length;r++)i.push(fs(t[r],e,n,s));return i}}function Lr(t,e,n,s=!0){const i=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||Yt;if(e){let a=e.parent;const l=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](t,l,c)===!1)return}a=a.parent}if(r){gi(),Do(r,null,10,[t,l,c]),yi();return}}c3(t,n,i,s,o)}function c3(t,e,n,s=!0,i=!1){if(i)throw t;console.error(t)}const An=[];let Us=-1;const uo=[];let $i=null,Qr=0;const gv=Promise.resolve();let Ec=null;function $r(t){const e=Ec||gv;return t?e.then(this?t.bind(this):t):e}function u3(t){let e=Us+1,n=An.length;for(;e<n;){const s=e+n>>>1,i=An[s],r=Ra(i);r<t||r===t&&i.flags&2?e=s+1:n=s}return e}function Gh(t){if(!(t.flags&1)){const e=Ra(t),n=An[An.length-1];!n||!(t.flags&2)&&e>=Ra(n)?An.push(t):An.splice(u3(e),0,t),t.flags|=1,yv()}}function yv(){Ec||(Ec=gv.then(bv))}function Ma(t){gt(t)?uo.push(...t):$i&&t.id===-1?$i.splice(Qr+1,0,t):t.flags&1||(uo.push(t),t.flags|=1),yv()}function km(t,e,n=Us+1){for(;n<An.length;n++){const s=An[n];if(s&&s.flags&2){if(t&&s.id!==t.uid)continue;An.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function wc(t){if(uo.length){const e=[...new Set(uo)].sort((n,s)=>Ra(n)-Ra(s));if(uo.length=0,$i){$i.push(...e);return}for($i=e,Qr=0;Qr<$i.length;Qr++){const n=$i[Qr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$i=null,Qr=0}}const Ra=t=>t.id==null?t.flags&2?-1:1/0:t.id;function bv(t){try{for(Us=0;Us<An.length;Us++){const e=An[Us];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Do(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Us<An.length;Us++){const e=An[Us];e&&(e.flags&=-2)}Us=-1,An.length=0,wc(),Ec=null,(An.length||uo.length)&&bv()}}let to,kl=[];function vv(t,e){var n,s;to=t,to?(to.enabled=!0,kl.forEach(({event:i,args:r})=>to.emit(i,...r)),kl=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{vv(r,e)}),setTimeout(()=>{to||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,kl=[])},3e3)):kl=[]}let Ye=null,_u=null;function La(t){const e=Ye;return Ye=t,_u=t&&t.type.__scopeId||null,e}function d3(t){_u=t}function f3(){_u=null}const h3=t=>M;function M(t,e=Ye,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&Rf(-1);const r=La(e);let o;try{o=t(...i)}finally{La(r),s._d&&Rf(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Qn(t,e){if(Ye===null)return t;const n=ol(Ye),s=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[r,o,a,l=Yt]=e[i];r&&(xt(r)&&(r={mounted:r,updated:r}),r.deep&&ri(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function js(t,e,n,s){const i=t.dirs,r=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];r&&(a.oldValue=r[o].value);let l=a.dir[s];l&&(gi(),fs(l,n,8,[t.el,a,t,e]),yi())}}const _v=Symbol("_vte"),Sv=t=>t.__isTeleport,pa=t=>t&&(t.disabled||t.disabled===""),Tm=t=>t&&(t.defer||t.defer===""),Cm=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Am=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Of=(t,e)=>{const n=t&&t.to;return Dt(n)?e?e(n):null:n},Ev={name:"Teleport",__isTeleport:!0,process(t,e,n,s,i,r,o,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:b}}=c,y=pa(e.props);let{shapeFlag:_,children:g,dynamicChildren:v}=e;if(t==null){const S=e.el=m(""),k=e.anchor=m("");h(S,n,s),h(k,n,s);const N=(T,D)=>{_&16&&(i&&i.isCE&&(i.ce._teleportTarget=T),u(g,T,D,i,r,o,a,l))},R=()=>{const T=e.target=Of(e.props,p),D=wv(T,e,m,h);T&&(o!=="svg"&&Cm(T)?o="svg":o!=="mathml"&&Am(T)&&(o="mathml"),y||(N(T,D),Zl(e,!1)))};y&&(N(n,k),Zl(e,!0)),Tm(e.props)?qe(()=>{R(),e.el.__isMounted=!0},r):R()}else{if(Tm(e.props)&&!t.el.__isMounted){qe(()=>{Ev.process(t,e,n,s,i,r,o,a,l,c),delete t.el.__isMounted},r);return}e.el=t.el,e.targetStart=t.targetStart;const S=e.anchor=t.anchor,k=e.target=t.target,N=e.targetAnchor=t.targetAnchor,R=pa(t.props),T=R?n:k,D=R?S:N;if(o==="svg"||Cm(k)?o="svg":(o==="mathml"||Am(k))&&(o="mathml"),v?(f(t.dynamicChildren,v,T,i,r,o,a),sp(t,e,!0)):l||d(t,e,T,D,i,r,o,a,!1),y)R?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Tl(e,n,S,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const j=e.target=Of(e.props,p);j&&Tl(e,j,null,c,0)}else R&&Tl(e,k,N,c,1);Zl(e,y)}},remove(t,e,n,{um:s,o:{remove:i}},r){const{shapeFlag:o,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=t;if(d&&(i(c),i(u)),r&&i(l),o&16){const h=r||!pa(f);for(let p=0;p<a.length;p++){const m=a[p];s(m,e,n,h,!!m.dynamicChildren)}}},move:Tl,hydrate:p3};function Tl(t,e,n,{o:{insert:s},m:i},r=2){r===0&&s(t.targetAnchor,e,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=t,d=r===2;if(d&&s(o,e,n),(!d||pa(u))&&l&16)for(let f=0;f<c.length;f++)i(c[f],e,n,2);d&&s(a,e,n)}function p3(t,e,n,s,i,r,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:c,createText:u}},d){const f=e.target=Of(e.props,l);if(f){const h=pa(e.props),p=f._lpa||f.firstChild;if(e.shapeFlag&16)if(h)e.anchor=d(o(t),e,a(t),n,s,i,r),e.targetStart=p,e.targetAnchor=p&&o(p);else{e.anchor=o(t);let m=p;for(;m;){if(m&&m.nodeType===8){if(m.data==="teleport start anchor")e.targetStart=m;else if(m.data==="teleport anchor"){e.targetAnchor=m,f._lpa=e.targetAnchor&&o(e.targetAnchor);break}}m=o(m)}e.targetAnchor||wv(f,e,u,c),d(p&&o(p),e,f,n,s,i,r)}Zl(e,h)}return e.anchor&&o(e.anchor)}const m3=Ev;function Zl(t,e){const n=t.ctx;if(n&&n.ut){let s,i;for(e?(s=t.el,i=t.anchor):(s=t.targetStart,i=t.targetAnchor);s&&s!==i;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function wv(t,e,n,s){const i=e.targetStart=n(""),r=e.targetAnchor=n("");return i[_v]=r,t&&(s(i,t),s(r,t)),r}const Fi=Symbol("_leaveCb"),Cl=Symbol("_enterCb");function Kh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mo(()=>{t.isMounted=!0}),ku(()=>{t.isUnmounting=!0}),t}const es=[Function,Array],zh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:es,onEnter:es,onAfterEnter:es,onEnterCancelled:es,onBeforeLeave:es,onLeave:es,onAfterLeave:es,onLeaveCancelled:es,onBeforeAppear:es,onAppear:es,onAfterAppear:es,onAppearCancelled:es},kv=t=>{const e=t.subTree;return e.component?kv(e.component):e},g3={name:"BaseTransition",props:zh,setup(t,{slots:e}){const n=Pn(),s=Kh();return()=>{const i=e.default&&Su(e.default(),!0);if(!i||!i.length)return;const r=Tv(i),o=ee(t),{mode:a}=o;if(s.isLeaving)return Cd(r);const l=Om(r);if(!l)return Cd(r);let c=go(l,o,s,n,d=>c=d);l.type!==je&&vi(l,c);let u=n.subTree&&Om(n.subTree);if(u&&u.type!==je&&!ks(l,u)&&kv(n).type!==je){let d=go(u,o,s,n);if(vi(u,d),a==="out-in"&&l.type!==je)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},Cd(r);a==="in-out"&&l.type!==je?d.delayLeave=(f,h,p)=>{const m=Av(s,u);m[String(u.key)]=u,f[Fi]=()=>{h(),f[Fi]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{p(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function Tv(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==je){e=n;break}}return e}const Cv=g3;function Av(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function go(t,e,n,s,i){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:b,onAppear:y,onAfterAppear:_,onAppearCancelled:g}=e,v=String(t.key),S=Av(n,t),k=(T,D)=>{T&&fs(T,s,9,D)},N=(T,D)=>{const j=D[1];k(T,D),gt(T)?T.every(F=>F.length<=1)&&j():T.length<=1&&j()},R={mode:o,persisted:a,beforeEnter(T){let D=l;if(!n.isMounted)if(r)D=b||l;else return;T[Fi]&&T[Fi](!0);const j=S[v];j&&ks(t,j)&&j.el[Fi]&&j.el[Fi](),k(D,[T])},enter(T){let D=c,j=u,F=d;if(!n.isMounted)if(r)D=y||c,j=_||u,F=g||d;else return;let U=!1;const Y=T[Cl]=ot=>{U||(U=!0,ot?k(F,[T]):k(j,[T]),R.delayedLeave&&R.delayedLeave(),T[Cl]=void 0)};D?N(D,[T,Y]):Y()},leave(T,D){const j=String(t.key);if(T[Cl]&&T[Cl](!0),n.isUnmounting)return D();k(f,[T]);let F=!1;const U=T[Fi]=Y=>{F||(F=!0,D(),Y?k(m,[T]):k(p,[T]),T[Fi]=void 0,S[j]===t&&delete S[j])};S[j]=t,h?N(h,[T,U]):U()},clone(T){const D=go(T,e,n,s,i);return i&&i(D),D}};return R}function Cd(t){if(sl(t))return t=zs(t),t.children=null,t}function Om(t){if(!sl(t))return Sv(t.type)&&t.children?Tv(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&xt(n.default))return n.default()}}function vi(t,e){t.shapeFlag&6&&t.component?(t.transition=e,vi(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Su(t,e=!1,n){let s=[],i=0;for(let r=0;r<t.length;r++){let o=t[r];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:r);o.type===it?(o.patchFlag&128&&i++,s=s.concat(Su(o.children,e,a))):(e||o.type!==je)&&s.push(a!=null?zs(o,{key:a}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function wi(t,e){return xt(t)?Zt({name:t.name},e,{setup:t}):t}function y3(){const t=Pn();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function qh(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function b3(t){const e=Pn(),n=vu(null);if(e){const i=e.refs===Yt?e.refs={}:e.refs;Object.defineProperty(i,t,{enumerable:!0,get:()=>n.value,set:r=>n.value=r})}return n}function $a(t,e,n,s,i=!1){if(gt(t)){t.forEach((p,m)=>$a(p,e&&(gt(e)?e[m]:e),n,s,i));return}if(qi(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&$a(t,e,n,s.component.subTree);return}const r=s.shapeFlag&4?ol(s.component):s.el,o=i?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Yt?a.refs={}:a.refs,d=a.setupState,f=ee(d),h=d===Yt?()=>!1:p=>de(f,p);if(c!=null&&c!==l&&(Dt(c)?(u[c]=null,h(c)&&(d[c]=null)):Ie(c)&&(c.value=null)),xt(l))Do(l,a,12,[o,u]);else{const p=Dt(l),m=Ie(l);if(p||m){const b=()=>{if(t.f){const y=p?h(l)?d[l]:u[l]:l.value;i?gt(y)&&lu(y,r):gt(y)?y.includes(r)||y.push(r):p?(u[l]=[r],h(l)&&(d[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else p?(u[l]=o,h(l)&&(d[l]=o)):m&&(l.value=o,t.k&&(u[t.k]=o))};o?(b.id=-1,qe(b,n)):b()}}}let xm=!1;const Br=()=>{xm||(console.error("Hydration completed but contains mismatches."),xm=!0)},v3=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",_3=t=>t.namespaceURI.includes("MathML"),Al=t=>{if(t.nodeType===1){if(v3(t))return"svg";if(_3(t))return"mathml"}},oo=t=>t.nodeType===8;function S3(t){const{mt:e,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(g,v)=>{if(!v.hasChildNodes()){n(null,g,v),wc(),v._vnode=g;return}d(v.firstChild,g,null,null,null),wc(),v._vnode=g},d=(g,v,S,k,N,R=!1)=>{R=R||!!v.dynamicChildren;const T=oo(g)&&g.data==="[",D=()=>m(g,v,S,k,N,T),{type:j,ref:F,shapeFlag:U,patchFlag:Y}=v;let ot=g.nodeType;v.el=g,Y===-2&&(R=!1,v.dynamicChildren=null);let G=null;switch(j){case di:ot!==3?v.children===""?(l(v.el=i(""),o(g),g),G=g):G=D():(g.data!==v.children&&(Br(),g.data=v.children),G=r(g));break;case je:_(g)?(G=r(g),y(v.el=g.content.firstChild,g,S)):ot!==8||T?G=D():G=r(g);break;case wr:if(T&&(g=r(g),ot=g.nodeType),ot===1||ot===3){G=g;const tt=!v.children.length;for(let at=0;at<v.staticCount;at++)tt&&(v.children+=G.nodeType===1?G.outerHTML:G.data),at===v.staticCount-1&&(v.anchor=G),G=r(G);return T?r(G):G}else D();break;case it:T?G=p(g,v,S,k,N,R):G=D();break;default:if(U&1)(ot!==1||v.type.toLowerCase()!==g.tagName.toLowerCase())&&!_(g)?G=D():G=f(g,v,S,k,N,R);else if(U&6){v.slotScopeIds=N;const tt=o(g);if(T?G=b(g):oo(g)&&g.data==="teleport start"?G=b(g,g.data,"teleport end"):G=r(g),e(v,tt,null,S,k,Al(tt),R),qi(v)&&!v.type.__asyncResolved){let at;T?(at=E(it),at.anchor=G?G.previousSibling:tt.lastChild):at=g.nodeType===3?qs(""):E("div"),at.el=g,v.component.subTree=at}}else U&64?ot!==8?G=D():G=v.type.hydrate(g,v,S,k,N,R,t,h):U&128&&(G=v.type.hydrate(g,v,S,k,Al(o(g)),N,R,t,d))}return F!=null&&$a(F,null,k,v),G},f=(g,v,S,k,N,R)=>{R=R||!!v.dynamicChildren;const{type:T,props:D,patchFlag:j,shapeFlag:F,dirs:U,transition:Y}=v,ot=T==="input"||T==="option";if(ot||j!==-1){U&&js(v,null,S,"created");let G=!1;if(_(g)){G=Jv(null,Y)&&S&&S.vnode.props&&S.vnode.props.appear;const at=g.content.firstChild;G&&Y.beforeEnter(at),y(at,g,S),v.el=g=at}if(F&16&&!(D&&(D.innerHTML||D.textContent))){let at=h(g.firstChild,v,g,S,k,N,R);for(;at;){Ol(g,1)||Br();const Tt=at;at=at.nextSibling,a(Tt)}}else if(F&8){let at=v.children;at[0]===`
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(at=at.slice(1)),g.textContent!==at&&(Ol(g,0)||Br(),g.textContent=v.children)}if(D){if(ot||!R||j&48){const at=g.tagName.includes("-");for(const Tt in D)(ot&&(Tt.endsWith("value")||Tt==="indeterminate")||Qi(Tt)&&!ui(Tt)||Tt[0]==="."||at)&&s(g,Tt,null,D[Tt],void 0,S)}else if(D.onClick)s(g,"onClick",null,D.onClick,void 0,S);else if(j&4&&Ws(D.style))for(const at in D.style)D.style[at]}let tt;(tt=D&&D.onVnodeBeforeMount)&&$n(tt,S,v),U&&js(v,null,S,"beforeMount"),((tt=D&&D.onVnodeMounted)||U||G)&&l1(()=>{tt&&$n(tt,S,v),G&&Y.enter(g),U&&js(v,null,S,"mounted")},k)}return g.nextSibling},h=(g,v,S,k,N,R,T)=>{T=T||!!v.dynamicChildren;const D=v.children,j=D.length;for(let F=0;F<j;F++){const U=T?D[F]:D[F]=Fn(D[F]),Y=U.type===di;g?(Y&&!T&&F+1<j&&Fn(D[F+1]).type===di&&(l(i(g.data.slice(U.children.length)),S,r(g)),g.data=U.children),g=d(g,U,k,N,R,T)):Y&&!U.children?l(U.el=i(""),S):(Ol(S,1)||Br(),n(null,U,S,null,k,N,Al(S),R))}return g},p=(g,v,S,k,N,R)=>{const{slotScopeIds:T}=v;T&&(N=N?N.concat(T):T);const D=o(g),j=h(r(g),v,D,S,k,N,R);return j&&oo(j)&&j.data==="]"?r(v.anchor=j):(Br(),l(v.anchor=c("]"),D,j),j)},m=(g,v,S,k,N,R)=>{if(Ol(g.parentElement,1)||Br(),v.el=null,R){const j=b(g);for(;;){const F=r(g);if(F&&F!==j)a(F);else break}}const T=r(g),D=o(g);return a(g),n(null,v,D,T,S,k,Al(D),N),S&&(S.vnode.el=v.el,Au(S,v.el)),T},b=(g,v="[",S="]")=>{let k=0;for(;g;)if(g=r(g),g&&oo(g)&&(g.data===v&&k++,g.data===S)){if(k===0)return r(g);k--}return g},y=(g,v,S)=>{const k=v.parentNode;k&&k.replaceChild(g,v);let N=S;for(;N;)N.vnode.el===v&&(N.vnode.el=N.subTree.el=g),N=N.parent},_=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,d]}const Im="data-allow-mismatch",E3={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ol(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Im);)t=t.parentElement;const n=t&&t.getAttribute(Im);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return e===0&&s.includes("children")?!0:n.split(",").includes(E3[e])}}const w3=el().requestIdleCallback||(t=>setTimeout(t,1)),k3=el().cancelIdleCallback||(t=>clearTimeout(t)),T3=(t=1e4)=>e=>{const n=w3(e,{timeout:t});return()=>k3(n)};function C3(t){const{top:e,left:n,bottom:s,right:i}=t.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(e>0&&e<r||s>0&&s<r)&&(n>0&&n<o||i>0&&i<o)}const A3=t=>(e,n)=>{const s=new IntersectionObserver(i=>{for(const r of i)if(r.isIntersecting){s.disconnect(),e();break}},t);return n(i=>{if(i instanceof Element){if(C3(i))return e(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},O3=t=>e=>{if(t){const n=matchMedia(t);if(n.matches)e();else return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e)}},x3=(t=[])=>(e,n)=>{Dt(t)&&(t=[t]);let s=!1;const i=o=>{s||(s=!0,r(),e(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{n(o=>{for(const a of t)o.removeEventListener(a,i)})};return n(o=>{for(const a of t)o.addEventListener(a,i,{once:!0})}),r};function I3(t,e){if(oo(t)&&t.data==="["){let n=1,s=t.nextSibling;for(;s;){if(s.nodeType===1){if(e(s)===!1)break}else if(oo(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else e(t)}const qi=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function N3(t){xt(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:s,delay:i=200,hydrate:r,timeout:o,suspensible:a=!0,onError:l}=t;let c=null,u,d=0;const f=()=>(d++,c=null,h()),h=()=>{let p;return c||(p=c=e().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((b,y)=>{l(m,()=>b(f()),()=>y(m),d+1)});throw m}).then(m=>p!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return wi({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,m,b){const y=r?()=>{const _=r(b,g=>I3(p,g));_&&(m.bum||(m.bum=[])).push(_)}:b;u?y():h().then(()=>!m.isUnmounted&&y())},get __asyncResolved(){return u},setup(){const p=Xe;if(qh(p),u)return()=>Ad(u,p);const m=g=>{c=null,Lr(g,p,13,!s)};if(a&&p.suspense||yo)return h().then(g=>()=>Ad(g,p)).catch(g=>(m(g),()=>s?E(s,{error:g}):null));const b=ls(!1),y=ls(),_=ls(!!i);return i&&setTimeout(()=>{_.value=!1},i),o!=null&&setTimeout(()=>{if(!b.value&&!y.value){const g=new Error(`Async component timed out after ${o}ms.`);m(g),y.value=g}},o),h().then(()=>{b.value=!0,p.parent&&sl(p.parent.vnode)&&p.parent.update()}).catch(g=>{m(g),y.value=g}),()=>{if(b.value&&u)return Ad(u,p);if(y.value&&s)return E(s,{error:y.value});if(n&&!_.value)return E(n)}}})}function Ad(t,e){const{ref:n,props:s,children:i,ce:r}=e.vnode,o=E(t,s,i);return o.ref=n,o.ce=r,delete e.vnode.ce,o}const sl=t=>t.type.__isKeepAlive,P3={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Pn(),s=n.ctx;if(!s.renderer)return()=>{const _=e.default&&e.default();return _&&_.length===1?_[0]:_};const i=new Map,r=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=s,f=d("div");s.activate=(_,g,v,S,k)=>{const N=_.component;c(_,g,v,0,a),l(N.vnode,_,g,v,N,a,S,_.slotScopeIds,k),qe(()=>{N.isDeactivated=!1,N.a&&_r(N.a);const R=_.props&&_.props.onVnodeMounted;R&&$n(R,N.parent,_)},a)},s.deactivate=_=>{const g=_.component;Tc(g.m),Tc(g.a),c(_,f,null,1,a),qe(()=>{g.da&&_r(g.da);const v=_.props&&_.props.onVnodeUnmounted;v&&$n(v,g.parent,_),g.isDeactivated=!0},a)};function h(_){Od(_),u(_,n,a,!0)}function p(_){i.forEach((g,v)=>{const S=Hf(g.type);S&&!_(S)&&m(v)})}function m(_){const g=i.get(_);g&&(!o||!ks(g,o))?h(g):o&&Od(o),i.delete(_),r.delete(_)}Zn(()=>[t.include,t.exclude],([_,g])=>{_&&p(v=>sa(_,v)),g&&p(v=>!sa(g,v))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(Cc(n.subTree.type)?qe(()=>{i.set(b,xl(n.subTree))},n.subTree.suspense):i.set(b,xl(n.subTree)))};return Mo(y),wu(y),ku(()=>{i.forEach(_=>{const{subTree:g,suspense:v}=n,S=xl(g);if(_.type===S.type&&_.key===S.key){Od(S);const k=S.component.da;k&&qe(k,v);return}h(_)})}),()=>{if(b=null,!e.default)return o=null;const _=e.default(),g=_[0];if(_.length>1)return o=null,_;if(!_i(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let v=xl(g);if(v.type===je)return o=null,v;const S=v.type,k=Hf(qi(v)?v.type.__asyncResolved||{}:S),{include:N,exclude:R,max:T}=t;if(N&&(!k||!sa(N,k))||R&&k&&sa(R,k))return v.shapeFlag&=-257,o=v,g;const D=v.key==null?S:v.key,j=i.get(D);return v.el&&(v=zs(v),g.shapeFlag&128&&(g.ssContent=v)),b=D,j?(v.el=j.el,v.component=j.component,v.transition&&vi(v,v.transition),v.shapeFlag|=512,r.delete(D),r.add(D)):(r.add(D),T&&r.size>parseInt(T,10)&&m(r.values().next().value)),v.shapeFlag|=256,o=v,Cc(g.type)?g:v}}},D3=P3;function sa(t,e){return gt(t)?t.some(n=>sa(n,e)):Dt(t)?t.split(",").includes(e):Rb(t)?(t.lastIndex=0,t.test(e)):!1}function Ov(t,e){Iv(t,"a",e)}function xv(t,e){Iv(t,"da",e)}function Iv(t,e,n=Xe){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Eu(e,s,n),n){let i=n.parent;for(;i&&i.parent;)sl(i.parent.vnode)&&M3(s,e,n,i),i=i.parent}}function M3(t,e,n,s){const i=Eu(e,t,s,!0);il(()=>{lu(s[e],i)},n)}function Od(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function xl(t){return t.shapeFlag&128?t.ssContent:t}function Eu(t,e,n=Xe,s=!1){if(n){const i=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{gi();const a=Or(n),l=fs(e,n,t,o);return a(),yi(),l});return s?i.unshift(r):i.push(r),r}}const ki=t=>(e,n=Xe)=>{(!yo||t==="sp")&&Eu(t,(...s)=>e(...s),n)},Nv=ki("bm"),Mo=ki("m"),Xh=ki("bu"),wu=ki("u"),ku=ki("bum"),il=ki("um"),Pv=ki("sp"),Dv=ki("rtg"),Mv=ki("rtc");function Rv(t,e=Xe){Eu("ec",t,e)}const Yh="components",R3="directives";function w(t,e){return Jh(Yh,t,!0,e)||t}const Lv=Symbol.for("v-ndc");function Tu(t){return Dt(t)?Jh(Yh,t,!1)||t:t||Lv}function Zh(t){return Jh(R3,t)}function Jh(t,e,n=!0,s=!1){const i=Ye||Xe;if(i){const r=i.type;if(t===Yh){const a=Hf(r,!1);if(a&&(a===e||a===Te(e)||a===er(Te(e))))return r}const o=Nm(i[t]||r[t],e)||Nm(i.appContext[t],e);return!o&&s?r:o}}function Nm(t,e){return t&&(t[e]||t[Te(e)]||t[er(Te(e))])}function ae(t,e,n,s){let i;const r=n&&n[s],o=gt(t);if(o||Dt(t)){const a=o&&Ws(t);let l=!1,c=!1;a&&(l=!Yn(t),c=bi(t),t=pu(t)),i=new Array(t.length);for(let u=0,d=t.length;u<d;u++)i[u]=e(l?c?_c(cn(t[u])):cn(t[u]):t[u],u,void 0,r&&r[u])}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,r&&r[a])}else if(me(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,r&&r[l]));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];i[l]=e(t[u],u,l,r&&r[l])}}else i=[];return n&&(n[s]=i),i}function Ro(t,e){for(let n=0;n<e.length;n++){const s=e[n];if(gt(s))for(let i=0;i<s.length;i++)t[s[i].name]=s[i].fn;else s&&(t[s.name]=s.key?(...i)=>{const r=s.fn(...i);return r&&(r.key=s.key),r}:s.fn)}return t}function ne(t,e,n={},s,i){if(Ye.ce||Ye.parent&&qi(Ye.parent)&&Ye.parent.ce)return e!=="default"&&(n.name=e),x(),yt(it,null,[E("slot",n,s&&s())],64);let r=t[e];r&&r._c&&(r._d=!1),x();const o=r&&Qh(r(n)),a=n.key||o&&o.key,l=yt(it,{key:(a&&!Nn(a)?a:`_${e}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&t._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Qh(t){return t.some(e=>_i(e)?!(e.type===je||e.type===it&&!Qh(e.children)):!0)?t:null}function L3(t,e){const n={};for(const s in t)n[e&&/[A-Z]/.test(s)?`on:${s}`:vr(s)]=t[s];return n}const xf=t=>t?p1(t)?ol(t):xf(t.parent):null,ma=Zt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>xf(t.parent),$root:t=>xf(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>tp(t),$forceUpdate:t=>t.f||(t.f=()=>{Gh(t.update)}),$nextTick:t=>t.n||(t.n=$r.bind(t.proxy)),$watch:t=>fw.bind(t)}),xd=(t,e)=>t!==Yt&&!t.__isScriptSetup&&de(t,e),If={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return s[e];case 2:return i[e];case 4:return n[e];case 3:return r[e]}else{if(xd(s,e))return o[e]=1,s[e];if(i!==Yt&&de(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&de(c,e))return o[e]=3,r[e];if(n!==Yt&&de(n,e))return o[e]=4,n[e];Nf&&(o[e]=0)}}const u=ma[e];let d,f;if(u)return e==="$attrs"&&yn(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Yt&&de(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,de(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:r}=t;return xd(i,e)?(i[e]=n,!0):s!==Yt&&de(s,e)?(s[e]=n,!0):de(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:i,propsOptions:r}},o){let a;return!!n[o]||t!==Yt&&de(t,o)||xd(e,o)||(a=r[0])&&de(a,o)||de(s,o)||de(ma,o)||de(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:de(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},$3=Zt({},If,{get(t,e){if(e!==Symbol.unscopables)return If.get(t,e,t)},has(t,e){return e[0]!=="_"&&!Mh(e)}});function F3(){return null}function V3(){return null}function H3(t){}function U3(t){}function j3(){return null}function B3(){}function W3(t,e){return null}function G3(){return $v().slots}function K3(){return $v().attrs}function $v(){const t=Pn();return t.setupContext||(t.setupContext=y1(t))}function Fa(t){return gt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function z3(t,e){const n=Fa(t);for(const s in e){if(s.startsWith("__skip"))continue;let i=n[s];i?gt(i)||xt(i)?i=n[s]={type:i,default:e[s]}:i.default=e[s]:i===null&&(i=n[s]={default:e[s]}),i&&e[`__skip_${s}`]&&(i.skipFactory=!0)}return n}function q3(t,e){return!t||!e?t||e:gt(t)&&gt(e)?t.concat(e):Zt({},Fa(t),Fa(e))}function X3(t,e){const n={};for(const s in t)e.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>t[s]});return n}function Y3(t){const e=Pn();let n=t();return $f(),cu(n)&&(n=n.catch(s=>{throw Or(e),s})),[n,()=>Or(e)]}let Nf=!0;function Z3(t){const e=tp(t),n=t.proxy,s=t.ctx;Nf=!1,e.beforeCreate&&Pm(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:m,deactivated:b,beforeDestroy:y,beforeUnmount:_,destroyed:g,unmounted:v,render:S,renderTracked:k,renderTriggered:N,errorCaptured:R,serverPrefetch:T,expose:D,inheritAttrs:j,components:F,directives:U,filters:Y}=e;if(c&&J3(c,s,null),o)for(const tt in o){const at=o[tt];xt(at)&&(s[tt]=at.bind(n))}if(i){const tt=i.call(n,n);me(tt)&&(t.data=Po(tt))}if(Nf=!0,r)for(const tt in r){const at=r[tt],Tt=xt(at)?at.bind(n,n):xt(at.get)?at.get.bind(n,n):en,qt=!xt(at)&&xt(at.set)?at.set.bind(n):en,Vt=tn({get:Tt,set:qt});Object.defineProperty(s,tt,{enumerable:!0,configurable:!0,get:()=>Vt.value,set:Bt=>Vt.value=Bt})}if(a)for(const tt in a)Fv(a[tt],s,n,tt);if(l){const tt=xt(l)?l.call(n):l;Reflect.ownKeys(tt).forEach(at=>{ga(at,tt[at])})}u&&Pm(u,t,"c");function G(tt,at){gt(at)?at.forEach(Tt=>tt(Tt.bind(n))):at&&tt(at.bind(n))}if(G(Nv,d),G(Mo,f),G(Xh,h),G(wu,p),G(Ov,m),G(xv,b),G(Rv,R),G(Mv,k),G(Dv,N),G(ku,_),G(il,v),G(Pv,T),gt(D))if(D.length){const tt=t.exposed||(t.exposed={});D.forEach(at=>{Object.defineProperty(tt,at,{get:()=>n[at],set:Tt=>n[at]=Tt})})}else t.exposed||(t.exposed={});S&&t.render===en&&(t.render=S),j!=null&&(t.inheritAttrs=j),F&&(t.components=F),U&&(t.directives=U),T&&qh(t)}function J3(t,e,n=en){gt(t)&&(t=Pf(t));for(const s in t){const i=t[s];let r;me(i)?"default"in i?r=cs(i.from||s,i.default,!0):r=cs(i.from||s):r=cs(i),Ie(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function Pm(t,e,n){fs(gt(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Fv(t,e,n,s){let i=s.includes(".")?i1(n,s):()=>n[s];if(Dt(t)){const r=e[t];xt(r)&&Zn(i,r)}else if(xt(t))Zn(i,t.bind(n));else if(me(t))if(gt(t))t.forEach(r=>Fv(r,e,n,s));else{const r=xt(t.handler)?t.handler.bind(n):e[t.handler];xt(r)&&Zn(i,r,t)}}function tp(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let l;return a?l=a:!i.length&&!n&&!s?l=e:(l={},i.length&&i.forEach(c=>kc(l,c,o,!0)),kc(l,e,o)),me(e)&&r.set(e,l),l}function kc(t,e,n,s=!1){const{mixins:i,extends:r}=e;r&&kc(t,r,n,!0),i&&i.forEach(o=>kc(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=Q3[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const Q3={data:Dm,props:Mm,emits:Mm,methods:ia,computed:ia,beforeCreate:kn,created:kn,beforeMount:kn,mounted:kn,beforeUpdate:kn,updated:kn,beforeDestroy:kn,beforeUnmount:kn,destroyed:kn,unmounted:kn,activated:kn,deactivated:kn,errorCaptured:kn,serverPrefetch:kn,components:ia,directives:ia,watch:ew,provide:Dm,inject:tw};function Dm(t,e){return e?t?function(){return Zt(xt(t)?t.call(this,this):t,xt(e)?e.call(this,this):e)}:e:t}function tw(t,e){return ia(Pf(t),Pf(e))}function Pf(t){if(gt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function kn(t,e){return t?[...new Set([].concat(t,e))]:e}function ia(t,e){return t?Zt(Object.create(null),t,e):e}function Mm(t,e){return t?gt(t)&&gt(e)?[...new Set([...t,...e])]:Zt(Object.create(null),Fa(t),Fa(e??{})):e}function ew(t,e){if(!t)return e;if(!e)return t;const n=Zt(Object.create(null),t);for(const s in e)n[s]=kn(t[s],e[s]);return n}function Vv(){return{app:null,config:{isNativeTag:io,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let nw=0;function sw(t,e){return function(s,i=null){xt(s)||(s=Zt({},s)),i!=null&&!me(i)&&(i=null);const r=Vv(),o=new WeakSet,a=[];let l=!1;const c=r.app={_uid:nw++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:v1,get config(){return r.config},set config(u){},use(u,...d){return o.has(u)||(u&&xt(u.install)?(o.add(u),u.install(c,...d)):xt(u)&&(o.add(u),u(c,...d))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,d){return d?(r.components[u]=d,c):r.components[u]},directive(u,d){return d?(r.directives[u]=d,c):r.directives[u]},mount(u,d,f){if(!l){const h=c._ceVNode||E(s,i);return h.appContext=r,f===!0?f="svg":f===!1&&(f=void 0),d&&e?e(h,u):t(h,u,f),l=!0,c._container=u,u.__vue_app__=c,ol(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(fs(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(u,d){return r.provides[u]=d,c},runWithContext(u){const d=Er;Er=c;try{return u()}finally{Er=d}}};return c}}let Er=null;function ga(t,e){if(Xe){let n=Xe.provides;const s=Xe.parent&&Xe.parent.provides;s===n&&(n=Xe.provides=Object.create(s)),n[t]=e}}function cs(t,e,n=!1){const s=Xe||Ye;if(s||Er){const i=Er?Er._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&xt(e)?e.call(s&&s.proxy):e}}function Hv(){return!!(Xe||Ye||Er)}const Uv={},jv=()=>Object.create(Uv),Bv=t=>Object.getPrototypeOf(t)===Uv;function iw(t,e,n,s=!1){const i={},r=jv();t.propsDefaults=Object.create(null),Wv(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=s?i:jh(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function rw(t,e,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,a=ee(i),[l]=t.propsOptions;let c=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let d=0;d<u.length;d++){let f=u[d];if(Cu(t.emitsOptions,f))continue;const h=e[f];if(l)if(de(r,f))h!==r[f]&&(r[f]=h,c=!0);else{const p=Te(f);i[p]=Df(l,a,p,h,t,!1)}else h!==r[f]&&(r[f]=h,c=!0)}}}else{Wv(t,e,i,r)&&(c=!0);let u;for(const d in a)(!e||!de(e,d)&&((u=bn(d))===d||!de(e,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(i[d]=Df(l,a,d,void 0,t,!0)):delete i[d]);if(r!==a)for(const d in r)(!e||!de(e,d))&&(delete r[d],c=!0)}c&&ii(t.attrs,"set","")}function Wv(t,e,n,s){const[i,r]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(ui(l))continue;const c=e[l];let u;i&&de(i,u=Te(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:Cu(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}if(r){const l=ee(n),c=a||Yt;for(let u=0;u<r.length;u++){const d=r[u];n[d]=Df(i,l,d,c[d],t,!de(c,d))}}return o}function Df(t,e,n,s,i,r){const o=t[n];if(o!=null){const a=de(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&xt(l)){const{propsDefaults:c}=i;if(n in c)s=c[n];else{const u=Or(i);s=c[n]=l.call(null,e),u()}}else s=l;i.ce&&i.ce._setProp(n,s)}o[0]&&(r&&!a?s=!1:o[1]&&(s===""||s===bn(n))&&(s=!0))}return s}const ow=new WeakMap;function Gv(t,e,n=!1){const s=n?ow:e.propsCache,i=s.get(t);if(i)return i;const r=t.props,o={},a=[];let l=!1;if(!xt(t)){const u=d=>{l=!0;const[f,h]=Gv(d,e,!0);Zt(o,f),h&&a.push(...h)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return me(t)&&s.set(t,yr),yr;if(gt(r))for(let u=0;u<r.length;u++){const d=Te(r[u]);Rm(d)&&(o[d]=Yt)}else if(r)for(const u in r){const d=Te(u);if(Rm(d)){const f=r[u],h=o[d]=gt(f)||xt(f)?{type:f}:Zt({},f),p=h.type;let m=!1,b=!0;if(gt(p))for(let y=0;y<p.length;++y){const _=p[y],g=xt(_)&&_.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(b=!1)}else m=xt(p)&&p.name==="Boolean";h[0]=m,h[1]=b,(m||de(h,"default"))&&a.push(d)}}const c=[o,a];return me(t)&&s.set(t,c),c}function Rm(t){return t[0]!=="$"&&!ui(t)}const ep=t=>t[0]==="_"||t==="$stable",np=t=>gt(t)?t.map(Fn):[Fn(t)],aw=(t,e,n)=>{if(e._n)return e;const s=M((...i)=>np(e(...i)),n);return s._c=!1,s},Kv=(t,e,n)=>{const s=t._ctx;for(const i in t){if(ep(i))continue;const r=t[i];if(xt(r))e[i]=aw(i,r,s);else if(r!=null){const o=np(r);e[i]=()=>o}}},zv=(t,e)=>{const n=np(e);t.slots.default=()=>n},qv=(t,e,n)=>{for(const s in e)(n||!ep(s))&&(t[s]=e[s])},lw=(t,e,n)=>{const s=t.slots=jv();if(t.vnode.shapeFlag&32){const i=e._;i?(qv(s,e,n),n&&Dh(s,"_",i,!0)):Kv(e,s)}else e&&zv(t,e)},cw=(t,e,n)=>{const{vnode:s,slots:i}=t;let r=!0,o=Yt;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:qv(i,e,n):(r=!e.$stable,Kv(e,i)),o=e}else e&&(zv(t,e),o={default:1});if(r)for(const a in i)!ep(a)&&o[a]==null&&delete i[a]},qe=l1;function Xv(t){return Zv(t)}function Yv(t){return Zv(t,S3)}function Zv(t,e){const n=el();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=en,insertStaticContent:p}=t,m=(O,P,W,nt=null,Q=null,C=null,I=void 0,V=null,q=!!P.dynamicChildren)=>{if(O===P)return;O&&!ks(O,P)&&(nt=X(O),Bt(O,Q,C,!0),O=null),P.patchFlag===-2&&(q=!1,P.dynamicChildren=null);const{type:et,ref:lt,shapeFlag:L}=P;switch(et){case di:b(O,P,W,nt);break;case je:y(O,P,W,nt);break;case wr:O==null&&_(P,W,nt,I);break;case it:F(O,P,W,nt,Q,C,I,V,q);break;default:L&1?S(O,P,W,nt,Q,C,I,V,q):L&6?U(O,P,W,nt,Q,C,I,V,q):(L&64||L&128)&&et.process(O,P,W,nt,Q,C,I,V,q,bt)}lt!=null&&Q&&$a(lt,O&&O.ref,C,P||O,!P)},b=(O,P,W,nt)=>{if(O==null)s(P.el=a(P.children),W,nt);else{const Q=P.el=O.el;P.children!==O.children&&c(Q,P.children)}},y=(O,P,W,nt)=>{O==null?s(P.el=l(P.children||""),W,nt):P.el=O.el},_=(O,P,W,nt)=>{[O.el,O.anchor]=p(O.children,P,W,nt,O.el,O.anchor)},g=({el:O,anchor:P},W,nt)=>{let Q;for(;O&&O!==P;)Q=f(O),s(O,W,nt),O=Q;s(P,W,nt)},v=({el:O,anchor:P})=>{let W;for(;O&&O!==P;)W=f(O),i(O),O=W;i(P)},S=(O,P,W,nt,Q,C,I,V,q)=>{P.type==="svg"?I="svg":P.type==="math"&&(I="mathml"),O==null?k(P,W,nt,Q,C,I,V,q):T(O,P,Q,C,I,V,q)},k=(O,P,W,nt,Q,C,I,V)=>{let q,et;const{props:lt,shapeFlag:L,transition:K,dirs:ht}=O;if(q=O.el=o(O.type,C,lt&&lt.is,lt),L&8?u(q,O.children):L&16&&R(O.children,q,null,nt,Q,Id(O,C),I,V),ht&&js(O,null,nt,"created"),N(q,O,O.scopeId,I,nt),lt){for(const Gt in lt)Gt!=="value"&&!ui(Gt)&&r(q,Gt,null,lt[Gt],C,nt);"value"in lt&&r(q,"value",null,lt.value,C),(et=lt.onVnodeBeforeMount)&&$n(et,nt,O)}ht&&js(O,null,nt,"beforeMount");const St=Jv(Q,K);St&&K.beforeEnter(q),s(q,P,W),((et=lt&&lt.onVnodeMounted)||St||ht)&&qe(()=>{et&&$n(et,nt,O),St&&K.enter(q),ht&&js(O,null,nt,"mounted")},Q)},N=(O,P,W,nt,Q)=>{if(W&&h(O,W),nt)for(let C=0;C<nt.length;C++)h(O,nt[C]);if(Q){let C=Q.subTree;if(P===C||Cc(C.type)&&(C.ssContent===P||C.ssFallback===P)){const I=Q.vnode;N(O,I,I.scopeId,I.slotScopeIds,Q.parent)}}},R=(O,P,W,nt,Q,C,I,V,q=0)=>{for(let et=q;et<O.length;et++){const lt=O[et]=V?Vi(O[et]):Fn(O[et]);m(null,lt,P,W,nt,Q,C,I,V)}},T=(O,P,W,nt,Q,C,I)=>{const V=P.el=O.el;let{patchFlag:q,dynamicChildren:et,dirs:lt}=P;q|=O.patchFlag&16;const L=O.props||Yt,K=P.props||Yt;let ht;if(W&&or(W,!1),(ht=K.onVnodeBeforeUpdate)&&$n(ht,W,P,O),lt&&js(P,O,W,"beforeUpdate"),W&&or(W,!0),(L.innerHTML&&K.innerHTML==null||L.textContent&&K.textContent==null)&&u(V,""),et?D(O.dynamicChildren,et,V,W,nt,Id(P,Q),C):I||at(O,P,V,null,W,nt,Id(P,Q),C,!1),q>0){if(q&16)j(V,L,K,W,Q);else if(q&2&&L.class!==K.class&&r(V,"class",null,K.class,Q),q&4&&r(V,"style",L.style,K.style,Q),q&8){const St=P.dynamicProps;for(let Gt=0;Gt<St.length;Gt++){const H=St[Gt],B=L[H],z=K[H];(z!==B||H==="value")&&r(V,H,B,z,Q,W)}}q&1&&O.children!==P.children&&u(V,P.children)}else!I&&et==null&&j(V,L,K,W,Q);((ht=K.onVnodeUpdated)||lt)&&qe(()=>{ht&&$n(ht,W,P,O),lt&&js(P,O,W,"updated")},nt)},D=(O,P,W,nt,Q,C,I)=>{for(let V=0;V<P.length;V++){const q=O[V],et=P[V],lt=q.el&&(q.type===it||!ks(q,et)||q.shapeFlag&70)?d(q.el):W;m(q,et,lt,null,nt,Q,C,I,!0)}},j=(O,P,W,nt,Q)=>{if(P!==W){if(P!==Yt)for(const C in P)!ui(C)&&!(C in W)&&r(O,C,P[C],null,Q,nt);for(const C in W){if(ui(C))continue;const I=W[C],V=P[C];I!==V&&C!=="value"&&r(O,C,V,I,Q,nt)}"value"in W&&r(O,"value",P.value,W.value,Q)}},F=(O,P,W,nt,Q,C,I,V,q)=>{const et=P.el=O?O.el:a(""),lt=P.anchor=O?O.anchor:a("");let{patchFlag:L,dynamicChildren:K,slotScopeIds:ht}=P;ht&&(V=V?V.concat(ht):ht),O==null?(s(et,W,nt),s(lt,W,nt),R(P.children||[],W,lt,Q,C,I,V,q)):L>0&&L&64&&K&&O.dynamicChildren?(D(O.dynamicChildren,K,W,Q,C,I,V),(P.key!=null||Q&&P===Q.subTree)&&sp(O,P,!0)):at(O,P,W,lt,Q,C,I,V,q)},U=(O,P,W,nt,Q,C,I,V,q)=>{P.slotScopeIds=V,O==null?P.shapeFlag&512?Q.ctx.activate(P,W,nt,I,q):Y(P,W,nt,Q,C,I,q):ot(O,P,q)},Y=(O,P,W,nt,Q,C,I)=>{const V=O.component=h1(O,nt,Q);if(sl(O)&&(V.ctx.renderer=bt),m1(V,!1,I),V.asyncDep){if(Q&&Q.registerDep(V,G,I),!O.el){const q=V.subTree=E(je);y(null,q,P,W)}}else G(V,O,P,W,Q,C,I)},ot=(O,P,W)=>{const nt=P.component=O.component;if(bw(O,P,W))if(nt.asyncDep&&!nt.asyncResolved){tt(nt,P,W);return}else nt.next=P,nt.update();else P.el=O.el,nt.vnode=P},G=(O,P,W,nt,Q,C,I)=>{const V=()=>{if(O.isMounted){let{next:L,bu:K,u:ht,parent:St,vnode:Gt}=O;{const pt=Qv(O);if(pt){L&&(L.el=Gt.el,tt(O,L,I)),pt.asyncDep.then(()=>{O.isUnmounted||V()});return}}let H=L,B;or(O,!1),L?(L.el=Gt.el,tt(O,L,I)):L=Gt,K&&_r(K),(B=L.props&&L.props.onVnodeBeforeUpdate)&&$n(B,St,L,Gt),or(O,!0);const z=Jl(O),rt=O.subTree;O.subTree=z,m(rt,z,d(rt.el),X(rt),O,Q,C),L.el=z.el,H===null&&Au(O,z.el),ht&&qe(ht,Q),(B=L.props&&L.props.onVnodeUpdated)&&qe(()=>$n(B,St,L,Gt),Q)}else{let L;const{el:K,props:ht}=P,{bm:St,m:Gt,parent:H,root:B,type:z}=O,rt=qi(P);if(or(O,!1),St&&_r(St),!rt&&(L=ht&&ht.onVnodeBeforeMount)&&$n(L,H,P),or(O,!0),K&&Xt){const pt=()=>{O.subTree=Jl(O),Xt(K,O.subTree,O,Q,null)};rt&&z.__asyncHydrate?z.__asyncHydrate(K,O,pt):pt()}else{B.ce&&B.ce._injectChildStyle(z);const pt=O.subTree=Jl(O);m(null,pt,W,nt,O,Q,C),P.el=pt.el}if(Gt&&qe(Gt,Q),!rt&&(L=ht&&ht.onVnodeMounted)){const pt=P;qe(()=>$n(L,H,pt),Q)}(P.shapeFlag&256||H&&qi(H.vnode)&&H.vnode.shapeFlag&256)&&O.a&&qe(O.a,Q),O.isMounted=!0,P=W=nt=null}};O.scope.on();const q=O.effect=new Na(V);O.scope.off();const et=O.update=q.run.bind(q),lt=O.job=q.runIfDirty.bind(q);lt.i=O,lt.id=O.uid,q.scheduler=()=>Gh(lt),or(O,!0),et()},tt=(O,P,W)=>{P.component=O;const nt=O.vnode.props;O.vnode=P,O.next=null,rw(O,P.props,nt,W),cw(O,P.children,W),gi(),km(O),yi()},at=(O,P,W,nt,Q,C,I,V,q=!1)=>{const et=O&&O.children,lt=O?O.shapeFlag:0,L=P.children,{patchFlag:K,shapeFlag:ht}=P;if(K>0){if(K&128){qt(et,L,W,nt,Q,C,I,V,q);return}else if(K&256){Tt(et,L,W,nt,Q,C,I,V,q);return}}ht&8?(lt&16&&Wt(et,Q,C),L!==et&&u(W,L)):lt&16?ht&16?qt(et,L,W,nt,Q,C,I,V,q):Wt(et,Q,C,!0):(lt&8&&u(W,""),ht&16&&R(L,W,nt,Q,C,I,V,q))},Tt=(O,P,W,nt,Q,C,I,V,q)=>{O=O||yr,P=P||yr;const et=O.length,lt=P.length,L=Math.min(et,lt);let K;for(K=0;K<L;K++){const ht=P[K]=q?Vi(P[K]):Fn(P[K]);m(O[K],ht,W,null,Q,C,I,V,q)}et>lt?Wt(O,Q,C,!0,!1,L):R(P,W,nt,Q,C,I,V,q,L)},qt=(O,P,W,nt,Q,C,I,V,q)=>{let et=0;const lt=P.length;let L=O.length-1,K=lt-1;for(;et<=L&&et<=K;){const ht=O[et],St=P[et]=q?Vi(P[et]):Fn(P[et]);if(ks(ht,St))m(ht,St,W,null,Q,C,I,V,q);else break;et++}for(;et<=L&&et<=K;){const ht=O[L],St=P[K]=q?Vi(P[K]):Fn(P[K]);if(ks(ht,St))m(ht,St,W,null,Q,C,I,V,q);else break;L--,K--}if(et>L){if(et<=K){const ht=K+1,St=ht<lt?P[ht].el:nt;for(;et<=K;)m(null,P[et]=q?Vi(P[et]):Fn(P[et]),W,St,Q,C,I,V,q),et++}}else if(et>K)for(;et<=L;)Bt(O[et],Q,C,!0),et++;else{const ht=et,St=et,Gt=new Map;for(et=St;et<=K;et++){const Rt=P[et]=q?Vi(P[et]):Fn(P[et]);Rt.key!=null&&Gt.set(Rt.key,et)}let H,B=0;const z=K-St+1;let rt=!1,pt=0;const At=new Array(z);for(et=0;et<z;et++)At[et]=0;for(et=ht;et<=L;et++){const Rt=O[et];if(B>=z){Bt(Rt,Q,C,!0);continue}let ue;if(Rt.key!=null)ue=Gt.get(Rt.key);else for(H=St;H<=K;H++)if(At[H-St]===0&&ks(Rt,P[H])){ue=H;break}ue===void 0?Bt(Rt,Q,C,!0):(At[ue-St]=et+1,ue>=pt?pt=ue:rt=!0,m(Rt,P[ue],W,null,Q,C,I,V,q),B++)}const $t=rt?uw(At):yr;for(H=$t.length-1,et=z-1;et>=0;et--){const Rt=St+et,ue=P[Rt],Nt=Rt+1<lt?P[Rt+1].el:nt;At[et]===0?m(null,ue,W,Nt,Q,C,I,V,q):rt&&(H<0||et!==$t[H]?Vt(ue,W,Nt,2):H--)}}},Vt=(O,P,W,nt,Q=null)=>{const{el:C,type:I,transition:V,children:q,shapeFlag:et}=O;if(et&6){Vt(O.component.subTree,P,W,nt);return}if(et&128){O.suspense.move(P,W,nt);return}if(et&64){I.move(O,P,W,bt);return}if(I===it){s(C,P,W);for(let L=0;L<q.length;L++)Vt(q[L],P,W,nt);s(O.anchor,P,W);return}if(I===wr){g(O,P,W);return}if(nt!==2&&et&1&&V)if(nt===0)V.beforeEnter(C),s(C,P,W),qe(()=>V.enter(C),Q);else{const{leave:L,delayLeave:K,afterLeave:ht}=V,St=()=>{O.ctx.isUnmounted?i(C):s(C,P,W)},Gt=()=>{L(C,()=>{St(),ht&&ht()})};K?K(C,St,Gt):Gt()}else s(C,P,W)},Bt=(O,P,W,nt=!1,Q=!1)=>{const{type:C,props:I,ref:V,children:q,dynamicChildren:et,shapeFlag:lt,patchFlag:L,dirs:K,cacheIndex:ht}=O;if(L===-2&&(Q=!1),V!=null&&(gi(),$a(V,null,W,O,!0),yi()),ht!=null&&(P.renderCache[ht]=void 0),lt&256){P.ctx.deactivate(O);return}const St=lt&1&&K,Gt=!qi(O);let H;if(Gt&&(H=I&&I.onVnodeBeforeUnmount)&&$n(H,P,O),lt&6)Se(O.component,W,nt);else{if(lt&128){O.suspense.unmount(W,nt);return}St&&js(O,null,P,"beforeUnmount"),lt&64?O.type.remove(O,P,W,bt,nt):et&&!et.hasOnce&&(C!==it||L>0&&L&64)?Wt(et,P,W,!1,!0):(C===it&&L&384||!Q&&lt&16)&&Wt(q,P,W),nt&&ge(O)}(Gt&&(H=I&&I.onVnodeUnmounted)||St)&&qe(()=>{H&&$n(H,P,O),St&&js(O,null,P,"unmounted")},W)},ge=O=>{const{type:P,el:W,anchor:nt,transition:Q}=O;if(P===it){ve(W,nt);return}if(P===wr){v(O);return}const C=()=>{i(W),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(O.shapeFlag&1&&Q&&!Q.persisted){const{leave:I,delayLeave:V}=Q,q=()=>I(W,C);V?V(O.el,C,q):q()}else C()},ve=(O,P)=>{let W;for(;O!==P;)W=f(O),i(O),O=W;i(P)},Se=(O,P,W)=>{const{bum:nt,scope:Q,job:C,subTree:I,um:V,m:q,a:et,parent:lt,slots:{__:L}}=O;Tc(q),Tc(et),nt&&_r(nt),lt&&gt(L)&&L.forEach(K=>{lt.renderCache[K]=void 0}),Q.stop(),C&&(C.flags|=8,Bt(I,O,P,W)),V&&qe(V,P),qe(()=>{O.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},Wt=(O,P,W,nt=!1,Q=!1,C=0)=>{for(let I=C;I<O.length;I++)Bt(O[I],P,W,nt,Q)},X=O=>{if(O.shapeFlag&6)return X(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const P=f(O.anchor||O.el),W=P&&P[_v];return W?f(W):P};let dt=!1;const ct=(O,P,W)=>{O==null?P._vnode&&Bt(P._vnode,null,null,!0):m(P._vnode||null,O,P,null,null,null,W),P._vnode=O,dt||(dt=!0,km(),wc(),dt=!1)},bt={p:m,um:Bt,m:Vt,r:ge,mt:Y,mc:R,pc:at,pbc:D,n:X,o:t};let Ht,Xt;return e&&([Ht,Xt]=e(bt)),{render:ct,hydrate:Ht,createApp:sw(ct,Ht)}}function Id({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function or({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Jv(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function sp(t,e,n=!1){const s=t.children,i=e.children;if(gt(s)&&gt(i))for(let r=0;r<s.length;r++){const o=s[r];let a=i[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[r]=Vi(i[r]),a.el=o.el),!n&&a.patchFlag!==-2&&sp(o,a)),a.type===di&&(a.el=o.el),a.type===je&&!a.el&&(a.el=o.el)}}function uw(t){const e=t.slice(),n=[0];let s,i,r,o,a;const l=t.length;for(s=0;s<l;s++){const c=t[s];if(c!==0){if(i=n[n.length-1],t[i]<c){e[s]=i,n.push(s);continue}for(r=0,o=n.length-1;r<o;)a=r+o>>1,t[n[a]]<c?r=a+1:o=a;c<t[n[r]]&&(r>0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=e[o];return n}function Qv(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Qv(e)}function Tc(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const t1=Symbol.for("v-scx"),e1=()=>cs(t1);function n1(t,e){return rl(t,null,e)}function dw(t,e){return rl(t,null,{flush:"post"})}function s1(t,e){return rl(t,null,{flush:"sync"})}function Zn(t,e,n){return rl(t,e,n)}function rl(t,e,n=Yt){const{immediate:s,deep:i,flush:r,once:o}=n,a=Zt({},n),l=e&&s||!e&&r!=="post";let c;if(yo){if(r==="sync"){const h=e1();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=en,h.resume=en,h.pause=en,h}}const u=Xe;a.call=(h,p,m)=>fs(h,u,p,m);let d=!1;r==="post"?a.scheduler=h=>{qe(h,u&&u.suspense)}:r!=="sync"&&(d=!0,a.scheduler=(h,p)=>{p?h():Gh(h)}),a.augmentJob=h=>{e&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=s3(t,e,a);return yo&&(c?c.push(f):l&&f()),f}function fw(t,e,n){const s=this.proxy,i=Dt(t)?t.includes(".")?i1(s,t):()=>s[t]:t.bind(s,s);let r;xt(e)?r=e:(r=e.handler,n=e);const o=Or(this),a=rl(i,r.bind(s),n);return o(),a}function i1(t,e){const n=e.split(".");return()=>{let s=t;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}function hw(t,e,n=Yt){const s=Pn(),i=Te(e),r=bn(e),o=r1(t,i),a=dv((l,c)=>{let u,d=Yt,f;return s1(()=>{const h=t[i];gn(u,h)&&(u=h,c())}),{get(){return l(),n.get?n.get(u):u},set(h){const p=n.set?n.set(h):h;if(!gn(p,u)&&!(d!==Yt&&gn(h,d)))return;const m=s.vnode.props;m&&(e in m||i in m||r in m)&&(`onUpdate:${e}`in m||`onUpdate:${i}`in m||`onUpdate:${r}`in m)||(u=h,c()),s.emit(`update:${e}`,p),gn(h,p)&&gn(h,d)&&!gn(p,f)&&c(),d=h,f=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||Yt:a,done:!1}:{done:!0}}}},a}const r1=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Te(e)}Modifiers`]||t[`${bn(e)}Modifiers`];function pw(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Yt;let i=n;const r=e.startsWith("update:"),o=r&&r1(s,e.slice(7));o&&(o.trim&&(i=n.map(u=>Dt(u)?u.trim():u)),o.number&&(i=n.map(xa)));let a,l=s[a=vr(e)]||s[a=vr(Te(e))];!l&&r&&(l=s[a=vr(bn(e))]),l&&fs(l,t,6,i);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,fs(c,t,6,i)}}function o1(t,e,n=!1){const s=e.emitsCache,i=s.get(t);if(i!==void 0)return i;const r=t.emits;let o={},a=!1;if(!xt(t)){const l=c=>{const u=o1(c,e,!0);u&&(a=!0,Zt(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(me(t)&&s.set(t,null),null):(gt(r)?r.forEach(l=>o[l]=null):Zt(o,r),me(t)&&s.set(t,o),o)}function Cu(t,e){return!t||!Qi(e)?!1:(e=e.slice(2).replace(/Once$/,""),de(t,e[0].toLowerCase()+e.slice(1))||de(t,bn(e))||de(t,e))}function Jl(t){const{type:e,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:m}=t,b=La(t);let y,_;try{if(n.shapeFlag&4){const v=i||s,S=v;y=Fn(c.call(S,v,u,d,h,f,p)),_=a}else{const v=e;y=Fn(v.length>1?v(d,{attrs:a,slots:o,emit:l}):v(d,null)),_=e.props?a:gw(a)}}catch(v){ya.length=0,Lr(v,t,1),y=E(je)}let g=y;if(_&&m!==!1){const v=Object.keys(_),{shapeFlag:S}=g;v.length&&S&7&&(r&&v.some(au)&&(_=yw(_,r)),g=zs(g,_,!1,!0))}return n.dirs&&(g=zs(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&vi(g,n.transition),y=g,La(b),y}function mw(t,e=!0){let n;for(let s=0;s<t.length;s++){const i=t[s];if(_i(i)){if(i.type!==je||i.children==="v-if"){if(n)return;n=i}}else return}return n}const gw=t=>{let e;for(const n in t)(n==="class"||n==="style"||Qi(n))&&((e||(e={}))[n]=t[n]);return e},yw=(t,e)=>{const n={};for(const s in t)(!au(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function bw(t,e,n){const{props:s,children:i,component:r}=t,{props:o,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Lm(s,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(o[f]!==s[f]&&!Cu(c,f))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?Lm(s,o,c):!0:!!o;return!1}function Lm(t,e,n){const s=Object.keys(e);if(s.length!==Object.keys(t).length)return!0;for(let i=0;i<s.length;i++){const r=s[i];if(e[r]!==t[r]&&!Cu(n,r))return!0}return!1}function Au({vnode:t,parent:e},n){for(;e;){const s=e.subTree;if(s.suspense&&s.suspense.activeBranch===t&&(s.el=t.el),s===t)(t=e.vnode).el=n,e=e.parent;else break}}const Cc=t=>t.__isSuspense;let Mf=0;const vw={name:"Suspense",__isSuspense:!0,process(t,e,n,s,i,r,o,a,l,c){if(t==null)Sw(e,n,s,i,r,o,a,l,c);else{if(r&&r.deps>0&&!t.suspense.isInFallback){e.suspense=t.suspense,e.suspense.vnode=e,e.el=t.el;return}Ew(t,e,n,s,i,o,a,l,c)}},hydrate:ww,normalize:kw},_w=vw;function Va(t,e){const n=t.props&&t.props[e];xt(n)&&n()}function Sw(t,e,n,s,i,r,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=a1(t,i,s,e,d,n,r,o,a,l);c(null,f.pendingBranch=t.ssContent,d,null,s,f,r,o),f.deps>0?(Va(t,"onPending"),Va(t,"onFallback"),c(null,t.ssFallback,e,n,s,null,r,o),fo(f,t.ssFallback)):f.resolve(!1,!0)}function Ew(t,e,n,s,i,r,o,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const f=e.ssContent,h=e.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:b,isHydrating:y}=d;if(m)d.pendingBranch=f,ks(f,m)?(l(m,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():b&&(y||(l(p,h,n,s,i,null,r,o,a),fo(d,h)))):(d.pendingId=Mf++,y?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),b?(l(null,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():(l(p,h,n,s,i,null,r,o,a),fo(d,h))):p&&ks(f,p)?(l(p,f,n,s,i,d,r,o,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0&&d.resolve()));else if(p&&ks(f,p))l(p,f,n,s,i,d,r,o,a),fo(d,f);else if(Va(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Mf++,l(null,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0)d.resolve();else{const{timeout:_,pendingId:g}=d;_>0?setTimeout(()=>{d.pendingId===g&&d.fallback(h)},_):_===0&&d.fallback(h)}}function a1(t,e,n,s,i,r,o,a,l,c,u=!1){const{p:d,m:f,um:h,n:p,o:{parentNode:m,remove:b}}=c;let y;const _=Tw(t);_&&e&&e.pendingBranch&&(y=e.pendingId,e.deps++);const g=t.props?Ia(t.props.timeout):void 0,v=r,S={vnode:t,parent:e,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:Mf++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,N=!1){const{vnode:R,activeBranch:T,pendingBranch:D,pendingId:j,effects:F,parentComponent:U,container:Y}=S;let ot=!1;S.isHydrating?S.isHydrating=!1:k||(ot=T&&D.transition&&D.transition.mode==="out-in",ot&&(T.transition.afterLeave=()=>{j===S.pendingId&&(f(D,Y,r===v?p(T):r,0),Ma(F))}),T&&(m(T.el)===Y&&(r=p(T)),h(T,U,S,!0)),ot||f(D,Y,r,0)),fo(S,D),S.pendingBranch=null,S.isInFallback=!1;let G=S.parent,tt=!1;for(;G;){if(G.pendingBranch){G.effects.push(...F),tt=!0;break}G=G.parent}!tt&&!ot&&Ma(F),S.effects=[],_&&e&&e.pendingBranch&&y===e.pendingId&&(e.deps--,e.deps===0&&!N&&e.resolve()),Va(R,"onResolve")},fallback(k){if(!S.pendingBranch)return;const{vnode:N,activeBranch:R,parentComponent:T,container:D,namespace:j}=S;Va(N,"onFallback");const F=p(R),U=()=>{S.isInFallback&&(d(null,k,D,F,T,null,j,a,l),fo(S,k))},Y=k.transition&&k.transition.mode==="out-in";Y&&(R.transition.afterLeave=U),S.isInFallback=!0,h(R,T,null,!0),Y||U()},move(k,N,R){S.activeBranch&&f(S.activeBranch,k,N,R),S.container=k},next(){return S.activeBranch&&p(S.activeBranch)},registerDep(k,N,R){const T=!!S.pendingBranch;T&&S.deps++;const D=k.vnode.el;k.asyncDep.catch(j=>{Lr(j,k,0)}).then(j=>{if(k.isUnmounted||S.isUnmounted||S.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:F}=k;Ff(k,j,!1),D&&(F.el=D);const U=!D&&k.subTree.el;N(k,F,m(D||k.subTree.el),D?null:p(k.subTree),S,o,R),U&&b(U),Au(k,F.el),T&&--S.deps===0&&S.resolve()})},unmount(k,N){S.isUnmounted=!0,S.activeBranch&&h(S.activeBranch,n,k,N),S.pendingBranch&&h(S.pendingBranch,n,k,N)}};return S}function ww(t,e,n,s,i,r,o,a,l){const c=e.suspense=a1(e,s,n,t.parentNode,document.createElement("div"),null,i,r,o,a,!0),u=l(t,c.pendingBranch=e.ssContent,n,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function kw(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=$m(s?n.default:n),t.ssFallback=s?$m(n.fallback):E(je)}function $m(t){let e;if(xt(t)){const n=Ar&&t._c;n&&(t._d=!1,x()),t=t(),n&&(t._d=!0,e=En,c1())}return gt(t)&&(t=mw(t)),t=Fn(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function l1(t,e){e&&e.pendingBranch?gt(t)?e.effects.push(...t):e.effects.push(t):Ma(t)}function fo(t,e){t.activeBranch=e;const{vnode:n,parentComponent:s}=t;let i=e.el;for(;!i&&e.component;)e=e.component.subTree,i=e.el;n.el=i,s&&s.subTree===n&&(s.vnode.el=i,Au(s,i))}function Tw(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const it=Symbol.for("v-fgt"),di=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),wr=Symbol.for("v-stc"),ya=[];let En=null;function x(t=!1){ya.push(En=t?null:[])}function c1(){ya.pop(),En=ya[ya.length-1]||null}let Ar=1;function Rf(t,e=!1){Ar+=t,t<0&&En&&e&&(En.hasOnce=!0)}function u1(t){return t.dynamicChildren=Ar>0?En||yr:null,c1(),Ar>0&&En&&En.push(t),t}function $(t,e,n,s,i,r){return u1(A(t,e,n,s,i,r,!0))}function yt(t,e,n,s,i){return u1(E(t,e,n,s,i,!0))}function _i(t){return t?t.__v_isVNode===!0:!1}function ks(t,e){return t.type===e.type&&t.key===e.key}function Cw(t){}const d1=({key:t})=>t??null,Ql=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Dt(t)||Ie(t)||xt(t)?{i:Ye,r:t,k:e,f:!!n}:t:null);function A(t,e=null,n=null,s=0,i=null,r=t===it?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&d1(e),ref:e&&Ql(e),scopeId:_u,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ye};return a?(ip(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Dt(n)?8:16),Ar>0&&!o&&En&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&En.push(l),l}const E=Aw;function Aw(t,e=null,n=null,s=0,i=null,r=!1){if((!t||t===Lv)&&(t=je),_i(t)){const a=zs(t,e,!0);return n&&ip(a,n),Ar>0&&!r&&En&&(a.shapeFlag&6?En[En.indexOf(t)]=a:En.push(a)),a.patchFlag=-2,a}if(Rw(t)&&(t=t.__vccOpts),e){e=f1(e);let{class:a,style:l}=e;a&&!Dt(a)&&(e.class=Kt(a)),me(l)&&(yu(l)&&!gt(l)&&(l=Zt({},l)),e.style=Rr(l))}const o=Dt(t)?1:Cc(t)?128:Sv(t)?64:me(t)?4:xt(t)?2:0;return A(t,e,n,s,i,o,r,!0)}function f1(t){return t?yu(t)||Bv(t)?Zt({},t):t:null}function zs(t,e,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?ao(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&d1(c),ref:e&&e.ref?n&&r?gt(r)?r.concat(Ql(e)):[r,Ql(e)]:Ql(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==it?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&zs(t.ssContent),ssFallback:t.ssFallback&&zs(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&vi(u,l.clone(u)),u}function qs(t=" ",e=0){return E(di,null,t,e)}function Ow(t,e){const n=E(wr,null,t);return n.staticCount=e,n}function vt(t="",e=!1){return e?(x(),yt(je,null,t)):E(je,null,t)}function Fn(t){return t==null||typeof t=="boolean"?E(je):gt(t)?E(it,null,t.slice()):_i(t)?Vi(t):E(di,null,String(t))}function Vi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:zs(t)}function ip(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(gt(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),ip(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!Bv(e)?e._ctx=Ye:i===3&&Ye&&(Ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else xt(e)?(e={default:e,_ctx:Ye},n=32):(e=String(e),s&64?(n=16,e=[qs(e)]):n=8);t.children=e,t.shapeFlag|=n}function ao(...t){const e={};for(let n=0;n<t.length;n++){const s=t[n];for(const i in s)if(i==="class")e.class!==s.class&&(e.class=Kt([e.class,s.class]));else if(i==="style")e.style=Rr([e.style,s.style]);else if(Qi(i)){const r=e[i],o=s[i];o&&r!==o&&!(gt(r)&&r.includes(o))&&(e[i]=r?[].concat(r,o):o)}else i!==""&&(e[i]=s[i])}return e}function $n(t,e,n,s=null){fs(t,e,7,[n,s])}const xw=Vv();let Iw=0;function h1(t,e,n){const s=t.type,i=(e?e.appContext:t.appContext)||xw,r={uid:Iw++,vnode:t,type:s,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new $h(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Gv(s,i),emitsOptions:o1(s,i),emit:null,emitted:null,propsDefaults:Yt,inheritAttrs:s.inheritAttrs,ctx:Yt,data:Yt,props:Yt,attrs:Yt,slots:Yt,refs:Yt,setupState:Yt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=e?e.root:r,r.emit=pw.bind(null,r),t.ce&&t.ce(r),r}let Xe=null;const Pn=()=>Xe||Ye;let Ac,Lf;{const t=el(),e=(n,s)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Ac=e("__VUE_INSTANCE_SETTERS__",n=>Xe=n),Lf=e("__VUE_SSR_SETTERS__",n=>yo=n)}const Or=t=>{const e=Xe;return Ac(t),t.scope.on(),()=>{t.scope.off(),Ac(e)}},$f=()=>{Xe&&Xe.scope.off(),Ac(null)};function p1(t){return t.vnode.shapeFlag&4}let yo=!1;function m1(t,e=!1,n=!1){e&&Lf(e);const{props:s,children:i}=t.vnode,r=p1(t);iw(t,s,r,e),lw(t,i,n||e);const o=r?Nw(t,e):void 0;return e&&Lf(!1),o}function Nw(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,If);const{setup:s}=n;if(s){gi();const i=t.setupContext=s.length>1?y1(t):null,r=Or(t),o=Do(s,t,0,[t.props,i]),a=cu(o);if(yi(),r(),(a||t.sp)&&!qi(t)&&qh(t),a){if(o.then($f,$f),e)return o.then(l=>{Ff(t,l,e)}).catch(l=>{Lr(l,t,0)});t.asyncDep=o}else Ff(t,o,e)}else g1(t,e)}function Ff(t,e,n){xt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=Wh(e)),g1(t,n)}let Oc,Vf;function Pw(t){Oc=t,Vf=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,$3))}}const Dw=()=>!Oc;function g1(t,e,n){const s=t.type;if(!t.render){if(!e&&Oc&&!s.render){const i=s.template||tp(t).template;if(i){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Zt(Zt({isCustomElement:r,delimiters:a},o),l);s.render=Oc(i,c)}}t.render=s.render||en,Vf&&Vf(t)}{const i=Or(t);gi();try{Z3(t)}finally{yi(),i()}}}const Mw={get(t,e){return yn(t,"get",""),t[e]}};function y1(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Mw),slots:t.slots,emit:t.emit,expose:e}}function ol(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Wh(bu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ma)return ma[n](t)},has(e,n){return n in e||n in ma}})):t.proxy}function Hf(t,e=!0){return xt(t)?t.displayName||t.name:t.name||e&&t.__name}function Rw(t){return xt(t)&&"__vccOpts"in t}const tn=(t,e)=>QE(t,e,yo);function Bs(t,e,n){const s=arguments.length;return s===2?me(e)&&!gt(e)?_i(e)?E(t,null,[e]):E(t,e):E(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_i(n)&&(n=[n]),E(t,e,n))}function Lw(){}function $w(t,e,n,s){const i=n[s];if(i&&b1(i,t))return i;const r=e();return r.memo=t.slice(),r.cacheIndex=s,n[s]=r}function b1(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let s=0;s<n.length;s++)if(gn(n[s],e[s]))return!1;return Ar>0&&En&&En.push(t),!0}const v1="3.5.14",Fw=en,Vw=l3,Hw=to,Uw=vv,jw={createComponentInstance:h1,setupComponent:m1,renderComponentRoot:Jl,setCurrentRenderingInstance:La,isVNode:_i,normalizeVNode:Fn,getComponentPublicInstance:ol,ensureValidVNode:Qh,pushWarningContext:i3,popWarningContext:r3},Bw=jw,Ww=null,Gw=null,Kw=null;/**
* @vue/runtime-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Uf;const Fm=typeof window<"u"&&window.trustedTypes;if(Fm)try{Uf=Fm.createPolicy("vue",{createHTML:t=>t})}catch{}const _1=Uf?t=>Uf.createHTML(t):t=>t,zw="http://www.w3.org/2000/svg",qw="http://www.w3.org/1998/Math/MathML",si=typeof document<"u"?document:null,Vm=si&&si.createElement("template"),Xw={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const i=e==="svg"?si.createElementNS(zw,t):e==="mathml"?si.createElementNS(qw,t):n?si.createElement(t,{is:n}):si.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>si.createTextNode(t),createComment:t=>si.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>si.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,r){const o=n?n.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Vm.innerHTML=_1(s==="svg"?`<svg>${t}</svg>`:s==="mathml"?`<math>${t}</math>`:t);const a=Vm.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Ci="transition",qo="animation",bo=Symbol("_vtc"),S1={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},E1=Zt({},zh,S1),Yw=t=>(t.displayName="Transition",t.props=E1,t),w1=Yw((t,{slots:e})=>Bs(Cv,k1(t),e)),ar=(t,e=[])=>{gt(t)?t.forEach(n=>n(...e)):t&&t(...e)},Hm=t=>t?gt(t)?t.some(e=>e.length>1):t.length>1:!1;function k1(t){const e={};for(const F in t)F in S1||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,p=Zw(i),m=p&&p[0],b=p&&p[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:g,onLeave:v,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:N=_,onAppearCancelled:R=g}=e,T=(F,U,Y,ot)=>{F._enterCancelled=ot,Mi(F,U?u:a),Mi(F,U?c:o),Y&&Y()},D=(F,U)=>{F._isLeaving=!1,Mi(F,d),Mi(F,h),Mi(F,f),U&&U()},j=F=>(U,Y)=>{const ot=F?N:_,G=()=>T(U,F,Y);ar(ot,[U,G]),Um(()=>{Mi(U,F?l:r),Vs(U,F?u:a),Hm(ot)||jm(U,s,m,G)})};return Zt(e,{onBeforeEnter(F){ar(y,[F]),Vs(F,r),Vs(F,o)},onBeforeAppear(F){ar(k,[F]),Vs(F,l),Vs(F,c)},onEnter:j(!1),onAppear:j(!0),onLeave(F,U){F._isLeaving=!0;const Y=()=>D(F,U);Vs(F,d),F._enterCancelled?(Vs(F,f),jf()):(jf(),Vs(F,f)),Um(()=>{F._isLeaving&&(Mi(F,d),Vs(F,h),Hm(v)||jm(F,s,b,Y))}),ar(v,[F,Y])},onEnterCancelled(F){T(F,!1,void 0,!0),ar(g,[F])},onAppearCancelled(F){T(F,!0,void 0,!0),ar(R,[F])},onLeaveCancelled(F){D(F),ar(S,[F])}})}function Zw(t){if(t==null)return null;if(me(t))return[Nd(t.enter),Nd(t.leave)];{const e=Nd(t);return[e,e]}}function Nd(t){return Ia(t)}function Vs(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[bo]||(t[bo]=new Set)).add(e)}function Mi(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[bo];n&&(n.delete(e),n.size||(t[bo]=void 0))}function Um(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Jw=0;function jm(t,e,n,s){const i=t._endId=++Jw,r=()=>{i===t._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=T1(t,e);if(!o)return s();const c=o+"end";let u=0;const d=()=>{t.removeEventListener(c,f),r()},f=h=>{h.target===t&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),t.addEventListener(c,f)}function T1(t,e){const n=window.getComputedStyle(t),s=p=>(n[p]||"").split(", "),i=s(`${Ci}Delay`),r=s(`${Ci}Duration`),o=Bm(i,r),a=s(`${qo}Delay`),l=s(`${qo}Duration`),c=Bm(a,l);let u=null,d=0,f=0;e===Ci?o>0&&(u=Ci,d=o,f=r.length):e===qo?c>0&&(u=qo,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?Ci:qo:null,f=u?u===Ci?r.length:l.length:0);const h=u===Ci&&/\b(transform|all)(,|$)/.test(s(`${Ci}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Bm(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>Wm(n)+Wm(t[s])))}function Wm(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function jf(){return document.body.offsetHeight}function Qw(t,e,n){const s=t[bo];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const xc=Symbol("_vod"),C1=Symbol("_vsh"),Ic={beforeMount(t,{value:e},{transition:n}){t[xc]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Xo(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:s}){!e!=!n&&(s?e?(s.beforeEnter(t),Xo(t,!0),s.enter(t)):s.leave(t,()=>{Xo(t,!1)}):Xo(t,e))},beforeUnmount(t,{value:e}){Xo(t,e)}};function Xo(t,e){t.style.display=e?t[xc]:"none",t[C1]=!e}function tk(){Ic.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const A1=Symbol("");function rp(t){const e=Pn();if(!e)return;const n=e.ut=(i=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>Nc(r,i))},s=()=>{const i=t(e.proxy);e.ce?Nc(e.ce,i):Bf(e.subTree,i),n(i)};Xh(()=>{Ma(s)}),Mo(()=>{Zn(s,en,{flush:"post"});const i=new MutationObserver(s);i.observe(e.subTree.el.parentNode,{childList:!0}),il(()=>i.disconnect())})}function Bf(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Bf(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Nc(t.el,e);else if(t.type===it)t.children.forEach(n=>Bf(n,e));else if(t.type===wr){let{el:n,anchor:s}=t;for(;n&&(Nc(n,e),n!==s);)n=n.nextSibling}}function Nc(t,e){if(t.nodeType===1){const n=t.style;let s="";for(const i in e)n.setProperty(`--${i}`,e[i]),s+=`--${i}: ${e[i]};`;n[A1]=s}}const ek=/(^|;)\s*display\s*:/;function nk(t,e,n){const s=t.style,i=Dt(n);let r=!1;if(n&&!i){if(e)if(Dt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&tc(s,a,"")}else for(const o in e)n[o]==null&&tc(s,o,"");for(const o in n)o==="display"&&(r=!0),tc(s,o,n[o])}else if(i){if(e!==n){const o=s[A1];o&&(n+=";"+o),s.cssText=n,r=ek.test(n)}}else e&&t.removeAttribute("style");xc in t&&(t[xc]=r?s.display:"",t[C1]&&(s.display="none"))}const Gm=/\s*!important$/;function tc(t,e,n){if(gt(n))n.forEach(s=>tc(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=sk(t,e);Gm.test(n)?t.setProperty(bn(s),n.replace(Gm,""),"important"):t[s]=n}}const Km=["Webkit","Moz","ms"],Pd={};function sk(t,e){const n=Pd[e];if(n)return n;let s=Te(e);if(s!=="filter"&&s in t)return Pd[e]=s;s=er(s);for(let i=0;i<Km.length;i++){const r=Km[i]+s;if(r in t)return Pd[e]=r}return e}const zm="http://www.w3.org/1999/xlink";function qm(t,e,n,s,i,r=Wb(e)){s&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(zm,e.slice(6,e.length)):t.setAttributeNS(zm,e,n):n==null||r&&!Lh(n)?t.removeAttribute(e):t.setAttribute(e,r?"":Nn(n)?String(n):n)}function Xm(t,e,n,s,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?_1(n):n);return}const r=t.tagName;if(e==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=Lh(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function oi(t,e,n,s){t.addEventListener(e,n,s)}function ik(t,e,n,s){t.removeEventListener(e,n,s)}const Ym=Symbol("_vei");function rk(t,e,n,s,i=null){const r=t[Ym]||(t[Ym]={}),o=r[e];if(s&&o)o.value=s;else{const[a,l]=ok(e);if(s){const c=r[e]=ck(s,i);oi(t,a,c,l)}else o&&(ik(t,a,o,l),r[e]=void 0)}}const Zm=/(?:Once|Passive|Capture)$/;function ok(t){let e;if(Zm.test(t)){e={};let s;for(;s=t.match(Zm);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):bn(t.slice(2)),e]}let Dd=0;const ak=Promise.resolve(),lk=()=>Dd||(ak.then(()=>Dd=0),Dd=Date.now());function ck(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;fs(uk(s,n.value),e,5,[s])};return n.value=t,n.attached=lk(),n}function uk(t,e){if(gt(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>i=>!i._stopped&&s&&s(i))}else return e}const Jm=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,dk=(t,e,n,s,i,r)=>{const o=i==="svg";e==="class"?Qw(t,s,o):e==="style"?nk(t,n,s):Qi(e)?au(e)||rk(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):fk(t,e,s,o))?(Xm(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&qm(t,e,s,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Dt(s))?Xm(t,Te(e),s,r,e):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),qm(t,e,s,o))};function fk(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Jm(e)&&xt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Jm(e)&&Dt(n)?!1:e in t}const Qm={};/*! #__NO_SIDE_EFFECTS__ */function O1(t,e,n){const s=wi(t,e);tl(s)&&Zt(s,e);class i extends Ou{constructor(o){super(s,o,n)}}return i.def=s,i}/*! #__NO_SIDE_EFFECTS__ */const hk=(t,e)=>O1(t,e,H1),pk=typeof HTMLElement<"u"?HTMLElement:class{};class Ou extends pk{constructor(e,n={},s=Dc){super(),this._def=e,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&s!==Dc?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Ou){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,$r(()=>{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)})}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(s=>{for(const i of s)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const e=(s,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=s;let a;if(r&&!gt(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=Ia(this._props[l])),(a||(a=Object.create(null)))[Te(l)]=!0)}this._numberProps=a,i&&this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>e(this._def=s,!0)):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)de(this,s)||Object.defineProperty(this,s,{get:()=>Vn(n[s])})}_resolveProps(e){const{props:n}=e,s=gt(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(Te))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let s=n?this.getAttribute(e):Qm;const i=Te(e);n&&this._numberProps&&this._numberProps[i]&&(s=Ia(s)),this._setProp(i,s,!1,!0)}_getProp(e){return this._props[e]}_setProp(e,n,s=!0,i=!1){if(n!==this._props[e]&&(n===Qm?delete this._props[e]:(this._props[e]=n,e==="key"&&this._app&&(this._app._ceVNode.key=n)),i&&this._instance&&this._update(),s)){const r=this._ob;r&&r.disconnect(),n===!0?this.setAttribute(bn(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(bn(e),n+""):n||this.removeAttribute(bn(e)),r&&r.observe(this,{attributes:!0})}}_update(){V1(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=E(this._def,Zt(e,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,tl(o[0])?Zt({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),bn(r)!==r&&i(bn(r),o)},this._setParent()}),n}_applyStyles(e,n){if(!e)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const s=this._nonce;for(let i=e.length-1;i>=0;i--){const r=document.createElement("style");s&&r.setAttribute("nonce",s),r.textContent=e[i],this.shadowRoot.prepend(r)}}_parseSlots(){const e=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(e[s]||(e[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const e=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let s=0;s<e.length;s++){const i=e[s],r=i.getAttribute("name")||"default",o=this._slots[r],a=i.parentNode;if(o)for(const l of o){if(n&&l.nodeType===1){const c=n+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let d;for(;d=u.nextNode();)d.setAttribute(c,"")}a.insertBefore(l,i)}else for(;i.firstChild;)a.insertBefore(i.firstChild,i);a.removeChild(i)}}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){}}function x1(t){const e=Pn(),n=e&&e.ce;return n||null}function mk(){const t=x1();return t&&t.shadowRoot}function gk(t="$style"){{const e=Pn();if(!e)return Yt;const n=e.type.__cssModules;if(!n)return Yt;const s=n[t];return s||Yt}}const I1=new WeakMap,N1=new WeakMap,Pc=Symbol("_moveCb"),tg=Symbol("_enterCb"),yk=t=>(delete t.props.mode,t),bk=yk({name:"TransitionGroup",props:Zt({},E1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Pn(),s=Kh();let i,r;return wu(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!wk(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(_k),i.forEach(Sk);const a=i.filter(Ek);jf(),a.forEach(l=>{const c=l.el,u=c.style;Vs(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[Pc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[Pc]=null,Mi(c,o))};c.addEventListener("transitionend",d)}),i=[]}),()=>{const o=ee(t),a=k1(o);let l=o.tag||it;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),vi(u,go(u,a,s,n)),I1.set(u,u.el.getBoundingClientRect()))}r=e.default?Su(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&vi(u,go(u,a,s,n))}return E(l,null,r)}}}),vk=bk;function _k(t){const e=t.el;e[Pc]&&e[Pc](),e[tg]&&e[tg]()}function Sk(t){N1.set(t,t.el.getBoundingClientRect())}function Ek(t){const e=I1.get(t),n=N1.get(t),s=e.left-n.left,i=e.top-n.top;if(s||i){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${i}px)`,r.transitionDuration="0s",t}}function wk(t,e,n){const s=t.cloneNode(),i=t[bo];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&s.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&s.classList.add(a)),s.style.display="none";const r=e.nodeType===1?e:e.parentNode;r.appendChild(s);const{hasTransform:o}=T1(s);return r.removeChild(s),o}const Zi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return gt(e)?n=>_r(e,n):e};function kk(t){t.target.composing=!0}function eg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const us=Symbol("_assign"),xs={created(t,{modifiers:{lazy:e,trim:n,number:s}},i){t[us]=Zi(i);const r=s||i.props&&i.props.type==="number";oi(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=xa(a)),t[us](a)}),n&&oi(t,"change",()=>{t.value=t.value.trim()}),e||(oi(t,"compositionstart",kk),oi(t,"compositionend",eg),oi(t,"change",eg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(t[us]=Zi(o),t.composing)return;const a=(r||t.type==="number")&&!/^0\d/.test(t.value)?xa(t.value):t.value,l=e??"";a!==l&&(document.activeElement===t&&t.type!=="range"&&(s&&e===n||i&&t.value.trim()===l)||(t.value=l))}},op={deep:!0,created(t,e,n){t[us]=Zi(n),oi(t,"change",()=>{const s=t._modelValue,i=vo(t),r=t.checked,o=t[us];if(gt(s)){const a=nl(s,i),l=a!==-1;if(r&&!l)o(s.concat(i));else if(!r&&l){const c=[...s];c.splice(a,1),o(c)}}else if(tr(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(P1(t,r))})},mounted:ng,beforeUpdate(t,e,n){t[us]=Zi(n),ng(t,e,n)}};function ng(t,{value:e,oldValue:n},s){t._modelValue=e;let i;if(gt(e))i=nl(e,s.props.value)>-1;else if(tr(e))i=e.has(s.props.value);else{if(e===n)return;i=mi(e,P1(t,!0))}t.checked!==i&&(t.checked=i)}const ap={created(t,{value:e},n){t.checked=mi(e,n.props.value),t[us]=Zi(n),oi(t,"change",()=>{t[us](vo(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[us]=Zi(s),e!==n&&(t.checked=mi(e,s.props.value))}},lp={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const i=tr(e);oi(t,"change",()=>{const r=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?xa(vo(o)):vo(o));t[us](t.multiple?i?new Set(r):r:r[0]),t._assigning=!0,$r(()=>{t._assigning=!1})}),t[us]=Zi(s)},mounted(t,{value:e}){sg(t,e)},beforeUpdate(t,e,n){t[us]=Zi(n)},updated(t,{value:e}){t._assigning||sg(t,e)}};function sg(t,e){const n=t.multiple,s=gt(e);if(!(n&&!s&&!tr(e))){for(let i=0,r=t.options.length;i<r;i++){const o=t.options[i],a=vo(o);if(n)if(s){const l=typeof a;l==="string"||l==="number"?o.selected=e.some(c=>String(c)===String(a)):o.selected=nl(e,a)>-1}else o.selected=e.has(a);else if(mi(vo(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function vo(t){return"_value"in t?t._value:t.value}function P1(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const D1={created(t,e,n){Il(t,e,n,null,"created")},mounted(t,e,n){Il(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){Il(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){Il(t,e,n,s,"updated")}};function M1(t,e){switch(t){case"SELECT":return lp;case"TEXTAREA":return xs;default:switch(e){case"checkbox":return op;case"radio":return ap;default:return xs}}}function Il(t,e,n,s,i){const o=M1(t.tagName,n.props&&n.props.type)[i];o&&o(t,e,n,s)}function Tk(){xs.getSSRProps=({value:t})=>({value:t}),ap.getSSRProps=({value:t},e)=>{if(e.props&&mi(e.props.value,t))return{checked:!0}},op.getSSRProps=({value:t},e)=>{if(gt(t)){if(e.props&&nl(t,e.props.value)>-1)return{checked:!0}}else if(tr(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},D1.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=M1(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const Ck=["ctrl","shift","alt","meta"],Ak={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Ck.some(n=>t[`${n}Key`]&&!e.includes(n))},un=(t,e)=>{const n=t._withMods||(t._withMods={}),s=e.join(".");return n[s]||(n[s]=(i,...r)=>{for(let o=0;o<e.length;o++){const a=Ak[e[o]];if(a&&a(i,e))return}return t(i,...r)})},Ok={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},R1=(t,e)=>{const n=t._withKeys||(t._withKeys={}),s=e.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const r=bn(i.key);if(e.some(o=>o===r||Ok[o]===r))return t(i)})},L1=Zt({patchProp:dk},Xw);let ba,ig=!1;function $1(){return ba||(ba=Xv(L1))}function F1(){return ba=ig?ba:Yv(L1),ig=!0,ba}const V1=(...t)=>{$1().render(...t)},xk=(...t)=>{F1().hydrate(...t)},Dc=(...t)=>{const e=$1().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=j1(s);if(!i)return;const r=e._component;!xt(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,U1(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},H1=(...t)=>{const e=F1().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=j1(s);if(i)return n(i,!0,U1(i))},e};function U1(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function j1(t){return Dt(t)?document.querySelector(t):t}let rg=!1;const Ik=()=>{rg||(rg=!0,Tk(),tk())},Nk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Cv,BaseTransitionPropsValidators:zh,Comment:je,DeprecationTypes:Kw,EffectScope:$h,ErrorCodes:a3,ErrorTypeStrings:Vw,Fragment:it,KeepAlive:D3,ReactiveEffect:Na,Static:wr,Suspense:_w,Teleport:m3,Text:di,TrackOpTypes:t3,Transition:w1,TransitionGroup:vk,TriggerOpTypes:e3,VueElement:Ou,assertNumber:o3,callWithAsyncErrorHandling:fs,callWithErrorHandling:Do,camelize:Te,capitalize:er,cloneVNode:zs,compatUtils:Gw,computed:tn,createApp:Dc,createBlock:yt,createCommentVNode:vt,createElementBlock:$,createElementVNode:A,createHydrationRenderer:Yv,createPropsRestProxy:X3,createRenderer:Xv,createSSRApp:H1,createSlots:Ro,createStaticVNode:Ow,createTextVNode:qs,createVNode:E,customRef:dv,defineAsyncComponent:N3,defineComponent:wi,defineCustomElement:O1,defineEmits:V3,defineExpose:H3,defineModel:B3,defineOptions:U3,defineProps:F3,defineSSRCustomElement:hk,defineSlots:j3,devtools:Hw,effect:wE,effectScope:fu,getCurrentInstance:Pn,getCurrentScope:Fh,getCurrentWatcher:n3,getTransitionRawChildren:Su,guardReactiveProps:f1,h:Bs,handleError:Lr,hasInjectionContext:Hv,hydrate:xk,hydrateOnIdle:T3,hydrateOnInteraction:x3,hydrateOnMediaQuery:O3,hydrateOnVisible:A3,initCustomFormatter:Lw,initDirectivesForSSR:Ik,inject:cs,isMemoSame:b1,isProxy:yu,isReactive:Ws,isReadonly:bi,isRef:Ie,isRuntimeOnly:Dw,isShallow:Yn,isVNode:_i,markRaw:bu,mergeDefaults:z3,mergeModels:q3,mergeProps:ao,nextTick:$r,normalizeClass:Kt,normalizeProps:ro,normalizeStyle:Rr,onActivated:Ov,onBeforeMount:Nv,onBeforeUnmount:ku,onBeforeUpdate:Xh,onDeactivated:xv,onErrorCaptured:Rv,onMounted:Mo,onRenderTracked:Mv,onRenderTriggered:Dv,onScopeDispose:qb,onServerPrefetch:Pv,onUnmounted:il,onUpdated:wu,onWatcherCleanup:pv,openBlock:x,popScopeId:f3,provide:ga,proxyRefs:Wh,pushScopeId:d3,queuePostFlushCb:Ma,reactive:Po,readonly:Bh,ref:ls,registerRuntimeCompiler:Pw,render:V1,renderList:ae,renderSlot:ne,resolveComponent:w,resolveDirective:Zh,resolveDynamicComponent:Tu,resolveFilter:Ww,resolveTransitionHooks:go,setBlockTracking:Rf,setDevtoolsHook:Uw,setTransitionHooks:vi,shallowReactive:jh,shallowReadonly:BE,shallowRef:vu,ssrContextKey:t1,ssrUtils:Bw,stop:kE,toDisplayString:J,toHandlerKey:vr,toHandlers:L3,toRaw:ee,toRef:ZE,toRefs:fv,toValue:KE,transformVNodeArgs:Cw,triggerRef:GE,unref:Vn,useAttrs:K3,useCssModule:gk,useCssVars:rp,useHost:x1,useId:y3,useModel:hw,useSSRContext:e1,useShadowRoot:mk,useSlots:G3,useTemplateRef:b3,useTransitionState:Kh,vModelCheckbox:op,vModelDynamic:D1,vModelRadio:ap,vModelSelect:lp,vModelText:xs,vShow:Ic,version:v1,warn:Fw,watch:Zn,watchEffect:n1,watchPostEffect:dw,watchSyncEffect:s1,withAsyncContext:Y3,withCtx:M,withDefaults:W3,withDirectives:Qn,withKeys:R1,withMemo:$w,withModifiers:un,withScopeId:h3},Symbol.toStringTag,{value:"Module"}));/*!
* pinia v3.0.2
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let B1;const xu=t=>B1=t,W1=Symbol();function Wf(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var va;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(va||(va={}));function Pk(){const t=fu(!0),e=t.run(()=>ls({}));let n=[],s=[];const i=bu({install(r){xu(i),i._a=r,r.provide(W1,i),r.config.globalProperties.$pinia=i,s.forEach(o=>n.push(o)),s=[]},use(r){return this._a?n.push(r):s.push(r),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}const G1=()=>{};function og(t,e,n,s=G1){t.push(e);const i=()=>{const r=t.indexOf(e);r>-1&&(t.splice(r,1),s())};return!n&&Fh()&&qb(i),i}function Wr(t,...e){t.slice().forEach(n=>{n(...e)})}const Dk=t=>t(),ag=Symbol(),Md=Symbol();function Gf(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,s)=>t.set(s,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const s=e[n],i=t[n];Wf(i)&&Wf(s)&&t.hasOwnProperty(n)&&!Ie(s)&&!Ws(s)?t[n]=Gf(i,s):t[n]=s}return t}const Mk=Symbol();function Rk(t){return!Wf(t)||!Object.prototype.hasOwnProperty.call(t,Mk)}const{assign:Ri}=Object;function Lk(t){return!!(Ie(t)&&t.effect)}function $k(t,e,n,s){const{state:i,actions:r,getters:o}=e,a=n.state.value[t];let l;function c(){a||(n.state.value[t]=i?i():{});const u=fv(n.state.value[t]);return Ri(u,r,Object.keys(o||{}).reduce((d,f)=>(d[f]=bu(tn(()=>{xu(n);const h=n._s.get(t);return o[f].call(h,h)})),d),{}))}return l=K1(t,c,e,n,s,!0),l}function K1(t,e,n={},s,i,r){let o;const a=Ri({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=s.state.value[t];!r&&!p&&(s.state.value[t]={}),ls({});let m;function b(R){let T;c=u=!1,typeof R=="function"?(R(s.state.value[t]),T={type:va.patchFunction,storeId:t,events:h}):(Gf(s.state.value[t],R),T={type:va.patchObject,payload:R,storeId:t,events:h});const D=m=Symbol();$r().then(()=>{m===D&&(c=!0)}),u=!0,Wr(d,T,s.state.value[t])}const y=r?function(){const{state:T}=n,D=T?T():{};this.$patch(j=>{Ri(j,D)})}:G1;function _(){o.stop(),d=[],f=[],s._s.delete(t)}const g=(R,T="")=>{if(ag in R)return R[Md]=T,R;const D=function(){xu(s);const j=Array.from(arguments),F=[],U=[];function Y(tt){F.push(tt)}function ot(tt){U.push(tt)}Wr(f,{args:j,name:D[Md],store:S,after:Y,onError:ot});let G;try{G=R.apply(this&&this.$id===t?this:S,j)}catch(tt){throw Wr(U,tt),tt}return G instanceof Promise?G.then(tt=>(Wr(F,tt),tt)).catch(tt=>(Wr(U,tt),Promise.reject(tt))):(Wr(F,G),G)};return D[ag]=!0,D[Md]=T,D},v={_p:s,$id:t,$onAction:og.bind(null,f),$patch:b,$reset:y,$subscribe(R,T={}){const D=og(d,R,T.detached,()=>j()),j=o.run(()=>Zn(()=>s.state.value[t],F=>{(T.flush==="sync"?u:c)&&R({storeId:t,type:va.direct,events:h},F)},Ri({},l,T)));return D},$dispose:_},S=Po(v);s._s.set(t,S);const N=(s._a&&s._a.runWithContext||Dk)(()=>s._e.run(()=>(o=fu()).run(()=>e({action:g}))));for(const R in N){const T=N[R];if(Ie(T)&&!Lk(T)||Ws(T))r||(p&&Rk(T)&&(Ie(T)?T.value=p[R]:Gf(T,p[R])),s.state.value[t][R]=T);else if(typeof T=="function"){const D=g(T,R);N[R]=D,a.actions[R]=T}}return Ri(S,N),Ri(ee(S),N),Object.defineProperty(S,"$state",{get:()=>s.state.value[t],set:R=>{b(T=>{Ri(T,R)})}}),s._p.forEach(R=>{Ri(S,o.run(()=>R({store:S,app:s._a,pinia:s,options:a})))}),p&&r&&n.hydrate&&n.hydrate(S.$state,p),c=!0,u=!0,S}/*! #__NO_SIDE_EFFECTS__ */function Ds(t,e,n){let s;const i=typeof e=="function";s=i?n:e;function r(o,a){const l=Hv();return o=o||(l?cs(W1,null):null),o&&xu(o),o=B1,o._s.has(t)||(i?K1(t,e,s,o):$k(t,s,o)),o._s.get(t)}return r.$id=t,r}const _o=Ds("NotificationsStore",{actions:{add(t){const e={text:t.text,timeout:t.timeout,topic:t.topic,type:t.type};if(e.topic){const n=this.list.findIndex(s=>s.topic===e.topic);if(n>=0){this.list.splice(n,1,e);return}}this.list.push(e),t.timeout>0&&setTimeout(()=>{this.remove(e)},t.timeout)},remove(t){const e=this.list.indexOf(t);e!==-1&&this.list.splice(e,1)}},getters:{isEmpty:t=>t.list.length<=0},state:()=>({list:[]})}),st=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},Fk={name:"ListNotifications",setup(){return{notificationsStore:_o()}}},Vk={key:0,class:"notifications"},Hk={class:"columns is-centered"},Uk={class:"column is-half"},jk=["onClick"],Bk=["textContent"];function Wk(t,e,n,s,i,r){return s.notificationsStore.isEmpty?vt("",!0):(x(),$("section",Vk,[A("div",Hk,[A("div",Uk,[(x(!0),$(it,null,ae(s.notificationsStore.list,(o,a)=>(x(),$("div",{key:a,class:Kt(["notification",o.type?`is-${o.type}`:""])},[A("button",{class:"delete",onClick:l=>s.notificationsStore.remove(o)},null,8,jk),A("div",{class:"text",textContent:J(o.text)},null,8,Bk)],2))),128))])])]))}const Gk=st(Fk,[["render",Wk],["__scopeId","data-v-1e835d55"]]),Kk={name:"ControlPinField",props:{placeholder:{required:!0,type:String}},emits:["input"],data(){return{value:""}},mounted(){setTimeout(()=>{this.$refs.input.focus()},10)},methods:{validate(t){const{validity:e}=t.target,n=e.patternMismatch||e.valueMissing;this.$emit("input",this.value,n)}}},zk={class:"field is-grouped"},qk={class:"control"},Xk=["placeholder"];function Yk(t,e,n,s,i,r){return x(),$("div",zk,[A("div",qk,[Qn(A("input",{ref:"input","onUpdate:modelValue":e[0]||(e[0]=o=>i.value=o),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:n.placeholder,onInput:e[1]||(e[1]=(...o)=>r.validate&&r.validate(...o))},null,40,Xk),[[xs,i.value]])]),ne(t.$slots,"default")])}const z1=st(Kk,[["render",Yk]]),Zk={name:"ModalDialog",props:{actions:{required:!0,type:Array},show:Boolean,title:{default:"",type:String}},emits:["close"],watch:{show(t){const{classList:e}=document.querySelector("html");t?e.add("is-clipped"):e.remove("is-clipped")}}},Jk={key:0,class:"modal is-active"},Qk={class:"modal-content"},tT={class:"card is-shadowless"},eT={class:"card-header"},nT=["textContent"],sT={class:"card-header-icon"},iT={class:"card-content"},rT={key:0,class:"card-footer"},oT=["disabled","onClick"],aT=["textContent"];function lT(t,e,n,s,i,r){const o=w("mdicon");return x(),yt(w1,{name:"fade"},{default:M(()=>[n.show?(x(),$("div",Jk,[A("div",{class:"modal-background",onClick:e[0]||(e[0]=a=>t.$emit("close"))}),A("div",Qk,[A("div",tT,[A("div",eT,[n.title?(x(),$("div",{key:0,class:"card-header-title",textContent:J(n.title)},null,8,nT)):vt("",!0),A("div",sT,[A("button",{class:"delete",onClick:e[1]||(e[1]=a=>t.$emit("close"))})])]),A("div",iT,[ne(t.$slots,"content",{},void 0,!0)]),n.actions.length?(x(),$("footer",rT,[(x(!0),$(it,null,ae(n.actions,a=>(x(),$("button",{key:a.key,class:Kt(["card-footer-item is-small",{"is-disabled":a.disabled}]),disabled:a.disabled,onClick:a.handler},[E(o,{class:"icon",name:a.icon,size:"16"},null,8,["name"]),A("span",{class:"is-size-7",textContent:J(t.$t(a.key))},null,8,aT)],10,oT))),128))])):vt("",!0)])])])):vt("",!0)]),_:3})}const nr=st(Zk,[["render",lT],["__scopeId","data-v-b44d4d43"]]);function q1(t,e){return function(){return t.apply(e,arguments)}}const{toString:cT}=Object.prototype,{getPrototypeOf:cp}=Object,{iterator:Iu,toStringTag:X1}=Symbol,Nu=(t=>e=>{const n=cT.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ms=t=>(t=t.toLowerCase(),e=>Nu(e)===t),Pu=t=>e=>typeof e===t,{isArray:Lo}=Array,Ha=Pu("undefined");function uT(t){return t!==null&&!Ha(t)&&t.constructor!==null&&!Ha(t.constructor)&&Un(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Y1=Ms("ArrayBuffer");function dT(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Y1(t.buffer),e}const fT=Pu("string"),Un=Pu("function"),Z1=Pu("number"),Du=t=>t!==null&&typeof t=="object",hT=t=>t===!0||t===!1,ec=t=>{if(Nu(t)!=="object")return!1;const e=cp(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(X1 in t)&&!(Iu in t)},pT=Ms("Date"),mT=Ms("File"),gT=Ms("Blob"),yT=Ms("FileList"),bT=t=>Du(t)&&Un(t.pipe),vT=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Un(t.append)&&((e=Nu(t))==="formdata"||e==="object"&&Un(t.toString)&&t.toString()==="[object FormData]"))},_T=Ms("URLSearchParams"),[ST,ET,wT,kT]=["ReadableStream","Request","Response","Headers"].map(Ms),TT=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function al(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,i;if(typeof t!="object"&&(t=[t]),Lo(t))for(s=0,i=t.length;s<i;s++)e.call(null,t[s],s,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(s=0;s<o;s++)a=r[s],e.call(null,t[a],a,t)}}function J1(t,e){e=e.toLowerCase();const n=Object.keys(t);let s=n.length,i;for(;s-- >0;)if(i=n[s],e===i.toLowerCase())return i;return null}const pr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Q1=t=>!Ha(t)&&t!==pr;function Kf(){const{caseless:t}=Q1(this)&&this||{},e={},n=(s,i)=>{const r=t&&J1(e,i)||i;ec(e[r])&&ec(s)?e[r]=Kf(e[r],s):ec(s)?e[r]=Kf({},s):Lo(s)?e[r]=s.slice():e[r]=s};for(let s=0,i=arguments.length;s<i;s++)arguments[s]&&al(arguments[s],n);return e}const CT=(t,e,n,{allOwnKeys:s}={})=>(al(e,(i,r)=>{n&&Un(i)?t[r]=q1(i,n):t[r]=i},{allOwnKeys:s}),t),AT=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),OT=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},xT=(t,e,n,s)=>{let i,r,o;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),r=i.length;r-- >0;)o=i[r],(!s||s(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=n!==!1&&cp(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},IT=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},NT=t=>{if(!t)return null;if(Lo(t))return t;let e=t.length;if(!Z1(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},PT=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&cp(Uint8Array)),DT=(t,e)=>{const s=(t&&t[Iu]).call(t);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(t,r[0],r[1])}},MT=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},RT=Ms("HTMLFormElement"),LT=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,i){return s.toUpperCase()+i}),lg=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),$T=Ms("RegExp"),t0=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};al(n,(i,r)=>{let o;(o=e(i,r,t))!==!1&&(s[r]=o||i)}),Object.defineProperties(t,s)},FT=t=>{t0(t,(e,n)=>{if(Un(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(Un(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},VT=(t,e)=>{const n={},s=i=>{i.forEach(r=>{n[r]=!0})};return Lo(t)?s(t):s(String(t).split(e)),n},HT=()=>{},UT=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function jT(t){return!!(t&&Un(t.append)&&t[X1]==="FormData"&&t[Iu])}const BT=t=>{const e=new Array(10),n=(s,i)=>{if(Du(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[i]=s;const r=Lo(s)?[]:{};return al(s,(o,a)=>{const l=n(o,i+1);!Ha(l)&&(r[a]=l)}),e[i]=void 0,r}}return s};return n(t,0)},WT=Ms("AsyncFunction"),GT=t=>t&&(Du(t)||Un(t))&&Un(t.then)&&Un(t.catch),e0=((t,e)=>t?setImmediate:e?((n,s)=>(pr.addEventListener("message",({source:i,data:r})=>{i===pr&&r===n&&s.length&&s.shift()()},!1),i=>{s.push(i),pr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Un(pr.postMessage)),KT=typeof queueMicrotask<"u"?queueMicrotask.bind(pr):typeof process<"u"&&process.nextTick||e0,zT=t=>t!=null&&Un(t[Iu]),Z={isArray:Lo,isArrayBuffer:Y1,isBuffer:uT,isFormData:vT,isArrayBufferView:dT,isString:fT,isNumber:Z1,isBoolean:hT,isObject:Du,isPlainObject:ec,isReadableStream:ST,isRequest:ET,isResponse:wT,isHeaders:kT,isUndefined:Ha,isDate:pT,isFile:mT,isBlob:gT,isRegExp:$T,isFunction:Un,isStream:bT,isURLSearchParams:_T,isTypedArray:PT,isFileList:yT,forEach:al,merge:Kf,extend:CT,trim:TT,stripBOM:AT,inherits:OT,toFlatObject:xT,kindOf:Nu,kindOfTest:Ms,endsWith:IT,toArray:NT,forEachEntry:DT,matchAll:MT,isHTMLForm:RT,hasOwnProperty:lg,hasOwnProp:lg,reduceDescriptors:t0,freezeMethods:FT,toObjectSet:VT,toCamelCase:LT,noop:HT,toFiniteNumber:UT,findKey:J1,global:pr,isContextDefined:Q1,isSpecCompliantForm:jT,toJSONObject:BT,isAsyncFn:WT,isThenable:GT,setImmediate:e0,asap:KT,isIterable:zT};function jt(t,e,n,s,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),i&&(this.response=i,this.status=i.status?i.status:null)}Z.inherits(jt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}});const n0=jt.prototype,s0={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{s0[t]={value:t}});Object.defineProperties(jt,s0);Object.defineProperty(n0,"isAxiosError",{value:!0});jt.from=(t,e,n,s,i,r)=>{const o=Object.create(n0);return Z.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),jt.call(o,t.message,e,n,s,i),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const qT=null;function zf(t){return Z.isPlainObject(t)||Z.isArray(t)}function i0(t){return Z.endsWith(t,"[]")?t.slice(0,-2):t}function cg(t,e,n){return t?t.concat(e).map(function(i,r){return i=i0(i),!n&&r?"["+i+"]":i}).join(n?".":""):e}function XT(t){return Z.isArray(t)&&!t.some(zf)}const YT=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)});function Mu(t,e,n){if(!Z.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!Z.isUndefined(b[m])});const s=n.metaTokens,i=n.visitor||u,r=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Z.isSpecCompliantForm(e);if(!Z.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(Z.isDate(p))return p.toISOString();if(!l&&Z.isBlob(p))throw new jt("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(p)||Z.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,b){let y=p;if(p&&!b&&typeof p=="object"){if(Z.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(Z.isArray(p)&&XT(p)||(Z.isFileList(p)||Z.endsWith(m,"[]"))&&(y=Z.toArray(p)))return m=i0(m),y.forEach(function(g,v){!(Z.isUndefined(g)||g===null)&&e.append(o===!0?cg([m],v,r):o===null?m:m+"[]",c(g))}),!1}return zf(p)?!0:(e.append(cg(b,m,r),c(p)),!1)}const d=[],f=Object.assign(YT,{defaultVisitor:u,convertValue:c,isVisitable:zf});function h(p,m){if(!Z.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(p),Z.forEach(p,function(y,_){(!(Z.isUndefined(y)||y===null)&&i.call(e,y,Z.isString(_)?_.trim():_,m,f))===!0&&h(y,m?m.concat(_):[_])}),d.pop()}}if(!Z.isObject(t))throw new TypeError("data must be an object");return h(t),e}function ug(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function up(t,e){this._pairs=[],t&&Mu(t,this,e)}const r0=up.prototype;r0.append=function(e,n){this._pairs.push([e,n])};r0.toString=function(e){const n=e?function(s){return e.call(this,s,ug)}:ug;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function ZT(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function o0(t,e,n){if(!e)return t;const s=n&&n.encode||ZT;Z.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let r;if(i?r=i(e,n):r=Z.isURLSearchParams(e)?e.toString():new up(e,n).toString(s),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class dg{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,function(s){s!==null&&e(s)})}}const a0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},JT=typeof URLSearchParams<"u"?URLSearchParams:up,QT=typeof FormData<"u"?FormData:null,tC=typeof Blob<"u"?Blob:null,eC={isBrowser:!0,classes:{URLSearchParams:JT,FormData:QT,Blob:tC},protocols:["http","https","file","blob","url","data"]},dp=typeof window<"u"&&typeof document<"u",qf=typeof navigator=="object"&&navigator||void 0,nC=dp&&(!qf||["ReactNative","NativeScript","NS"].indexOf(qf.product)<0),sC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",iC=dp&&window.location.href||"http://localhost",rC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:dp,hasStandardBrowserEnv:nC,hasStandardBrowserWebWorkerEnv:sC,navigator:qf,origin:iC},Symbol.toStringTag,{value:"Module"})),vn={...rC,...eC};function oC(t,e){return Mu(t,new vn.classes.URLSearchParams,Object.assign({visitor:function(n,s,i,r){return vn.isNode&&Z.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function aC(t){return Z.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function lC(t){const e={},n=Object.keys(t);let s;const i=n.length;let r;for(s=0;s<i;s++)r=n[s],e[r]=t[r];return e}function l0(t){function e(n,s,i,r){let o=n[r++];if(o==="__proto__")return!0;const a=Number.isFinite(+o),l=r>=n.length;return o=!o&&Z.isArray(i)?i.length:o,l?(Z.hasOwnProp(i,o)?i[o]=[i[o],s]:i[o]=s,!a):((!i[o]||!Z.isObject(i[o]))&&(i[o]=[]),e(n,s,i[o],r)&&Z.isArray(i[o])&&(i[o]=lC(i[o])),!a)}if(Z.isFormData(t)&&Z.isFunction(t.entries)){const n={};return Z.forEachEntry(t,(s,i)=>{e(aC(s),i,n,0)}),n}return null}function cC(t,e,n){if(Z.isString(t))try{return(e||JSON.parse)(t),Z.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const ll={transitional:a0,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const s=n.getContentType()||"",i=s.indexOf("application/json")>-1,r=Z.isObject(e);if(r&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return i?JSON.stringify(l0(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return oC(e,this.formSerializer).toString();if((a=Z.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Mu(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),cC(e)):e}],transformResponse:[function(e){const n=this.transitional||ll.transitional,s=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Z.isResponse(e)||Z.isReadableStream(e))return e;if(e&&Z.isString(e)&&(s&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?jt.from(a,jt.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vn.classes.FormData,Blob:vn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],t=>{ll.headers[t]={}});const uC=Z.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"]),dC=t=>{const e={};let n,s,i;return t&&t.split(`
`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),s=o.substring(i+1).trim(),!(!n||e[n]&&uC[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},fg=Symbol("internals");function Yo(t){return t&&String(t).trim().toLowerCase()}function nc(t){return t===!1||t==null?t:Z.isArray(t)?t.map(nc):String(t)}function fC(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const hC=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Rd(t,e,n,s,i){if(Z.isFunction(s))return s.call(this,e,n);if(i&&(e=n),!!Z.isString(e)){if(Z.isString(s))return e.indexOf(s)!==-1;if(Z.isRegExp(s))return s.test(e)}}function pC(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function mC(t,e){const n=Z.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(i,r,o){return this[s].call(this,e,i,r,o)},configurable:!0})})}let jn=class{constructor(e){e&&this.set(e)}set(e,n,s){const i=this;function r(a,l,c){const u=Yo(l);if(!u)throw new Error("header name must be a non-empty string");const d=Z.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=nc(a))}const o=(a,l)=>Z.forEach(a,(c,u)=>r(c,u,l));if(Z.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(Z.isString(e)&&(e=e.trim())&&!hC(e))o(dC(e),n);else if(Z.isObject(e)&&Z.isIterable(e)){let a={},l,c;for(const u of e){if(!Z.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?Z.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}o(a,n)}else e!=null&&r(n,e,s);return this}get(e,n){if(e=Yo(e),e){const s=Z.findKey(this,e);if(s){const i=this[s];if(!n)return i;if(n===!0)return fC(i);if(Z.isFunction(n))return n.call(this,i,s);if(Z.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Yo(e),e){const s=Z.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Rd(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let i=!1;function r(o){if(o=Yo(o),o){const a=Z.findKey(s,o);a&&(!n||Rd(s,s[a],a,n))&&(delete s[a],i=!0)}}return Z.isArray(e)?e.forEach(r):r(e),i}clear(e){const n=Object.keys(this);let s=n.length,i=!1;for(;s--;){const r=n[s];(!e||Rd(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){const n=this,s={};return Z.forEach(this,(i,r)=>{const o=Z.findKey(s,r);if(o){n[o]=nc(i),delete n[r];return}const a=e?pC(r):String(r).trim();a!==r&&delete n[r],n[a]=nc(i),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Z.forEach(this,(s,i)=>{s!=null&&s!==!1&&(n[i]=e&&Z.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).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,...n){const s=new this(e);return n.forEach(i=>s.set(i)),s}static accessor(e){const s=(this[fg]=this[fg]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=Yo(o);s[a]||(mC(i,o),s[a]=!0)}return Z.isArray(e)?e.forEach(r):r(e),this}};jn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Z.reduceDescriptors(jn.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});Z.freezeMethods(jn);function Ld(t,e){const n=this||ll,s=e||n,i=jn.from(s.headers);let r=s.data;return Z.forEach(t,function(a){r=a.call(n,r,i.normalize(),e?e.status:void 0)}),i.normalize(),r}function c0(t){return!!(t&&t.__CANCEL__)}function $o(t,e,n){jt.call(this,t??"canceled",jt.ERR_CANCELED,e,n),this.name="CanceledError"}Z.inherits($o,jt,{__CANCEL__:!0});function u0(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new jt("Request failed with status code "+n.status,[jt.ERR_BAD_REQUEST,jt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function gC(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function yC(t,e){t=t||10;const n=new Array(t),s=new Array(t);let i=0,r=0,o;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];o||(o=c),n[i]=l,s[i]=c;let d=r,f=0;for(;d!==i;)f+=n[d++],d=d%t;if(i=(i+1)%t,i===r&&(r=(r+1)%t),c-o<e)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function bC(t,e){let n=0,s=1e3/e,i,r;const o=(c,u=Date.now())=>{n=u,i=null,r&&(clearTimeout(r),r=null),t.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=s?o(c,u):(i=c,r||(r=setTimeout(()=>{r=null,o(i)},s-d)))},()=>i&&o(i)]}const Mc=(t,e,n=3)=>{let s=0;const i=yC(50,250);return bC(r=>{const o=r.loaded,a=r.lengthComputable?r.total:void 0,l=o-s,c=i(l),u=o<=a;s=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a&&u?(a-o)/c:void 0,event:r,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(d)},n)},hg=(t,e)=>{const n=t!=null;return[s=>e[0]({lengthComputable:n,total:t,loaded:s}),e[1]]},pg=t=>(...e)=>Z.asap(()=>t(...e)),vC=vn.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,vn.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(vn.origin),vn.navigator&&/(msie|trident)/i.test(vn.navigator.userAgent)):()=>!0,_C=vn.hasStandardBrowserEnv?{write(t,e,n,s,i,r){const o=[t+"="+encodeURIComponent(e)];Z.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Z.isString(s)&&o.push("path="+s),Z.isString(i)&&o.push("domain="+i),r===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function SC(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function EC(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function d0(t,e,n){let s=!SC(e);return t&&(s||n==!1)?EC(t,e):e}const mg=t=>t instanceof jn?{...t}:t;function xr(t,e){e=e||{};const n={};function s(c,u,d,f){return Z.isPlainObject(c)&&Z.isPlainObject(u)?Z.merge.call({caseless:f},c,u):Z.isPlainObject(u)?Z.merge({},u):Z.isArray(u)?u.slice():u}function i(c,u,d,f){if(Z.isUndefined(u)){if(!Z.isUndefined(c))return s(void 0,c,d,f)}else return s(c,u,d,f)}function r(c,u){if(!Z.isUndefined(u))return s(void 0,u)}function o(c,u){if(Z.isUndefined(u)){if(!Z.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,d){if(d in e)return s(c,u);if(d in t)return s(void 0,c)}const l={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(c,u,d)=>i(mg(c),mg(u),d,!0)};return Z.forEach(Object.keys(Object.assign({},t,e)),function(u){const d=l[u]||i,f=d(t[u],e[u],u);Z.isUndefined(f)&&d!==a||(n[u]=f)}),n}const f0=t=>{const e=xr({},t);let{data:n,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:r,headers:o,auth:a}=e;e.headers=o=jn.from(o),e.url=o0(d0(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(Z.isFormData(n)){if(vn.hasStandardBrowserEnv||vn.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([c||"multipart/form-data",...u].join("; "))}}if(vn.hasStandardBrowserEnv&&(s&&Z.isFunction(s)&&(s=s(e)),s||s!==!1&&vC(e.url))){const c=i&&r&&_C.read(r);c&&o.set(i,c)}return e},wC=typeof XMLHttpRequest<"u",kC=wC&&function(t){return new Promise(function(n,s){const i=f0(t);let r=i.data;const o=jn.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=i,u,d,f,h,p;function m(){h&&h(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function y(){if(!b)return;const g=jn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:g,config:t,request:b};u0(function(N){n(N),m()},function(N){s(N),m()},S),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(s(new jt("Request aborted",jt.ECONNABORTED,t,b)),b=null)},b.onerror=function(){s(new jt("Network Error",jt.ERR_NETWORK,t,b)),b=null},b.ontimeout=function(){let v=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||a0;i.timeoutErrorMessage&&(v=i.timeoutErrorMessage),s(new jt(v,S.clarifyTimeoutError?jt.ETIMEDOUT:jt.ECONNABORTED,t,b)),b=null},r===void 0&&o.setContentType(null),"setRequestHeader"in b&&Z.forEach(o.toJSON(),function(v,S){b.setRequestHeader(S,v)}),Z.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),c&&([f,p]=Mc(c,!0),b.addEventListener("progress",f)),l&&b.upload&&([d,h]=Mc(l),b.upload.addEventListener("progress",d),b.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=g=>{b&&(s(!g||g.type?new $o(null,t,b):g),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const _=gC(i.url);if(_&&vn.protocols.indexOf(_)===-1){s(new jt("Unsupported protocol "+_+":",jt.ERR_BAD_REQUEST,t));return}b.send(r||null)})},TC=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let s=new AbortController,i;const r=function(c){if(!i){i=!0,a();const u=c instanceof Error?c:this.reason;s.abort(u instanceof jt?u:new $o(u instanceof Error?u.message:u))}};let o=e&&setTimeout(()=>{o=null,r(new jt(`timeout ${e} of ms exceeded`,jt.ETIMEDOUT))},e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(r):c.removeEventListener("abort",r)}),t=null)};t.forEach(c=>c.addEventListener("abort",r));const{signal:l}=s;return l.unsubscribe=()=>Z.asap(a),l}},CC=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let s=0,i;for(;s<n;)i=s+e,yield t.slice(s,i),s=i},AC=async function*(t,e){for await(const n of OC(t))yield*CC(n,e)},OC=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:s}=await e.read();if(n)break;yield s}}finally{await e.cancel()}},gg=(t,e,n,s)=>{const i=AC(t,e);let r=0,o,a=l=>{o||(o=!0,s&&s(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){a(),l.close();return}let d=u.byteLength;if(n){let f=r+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw a(c),c}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},Ru=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",h0=Ru&&typeof ReadableStream=="function",xC=Ru&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),p0=(t,...e)=>{try{return!!t(...e)}catch{return!1}},IC=h0&&p0(()=>{let t=!1;const e=new Request(vn.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),yg=64*1024,Xf=h0&&p0(()=>Z.isReadableStream(new Response("").body)),Rc={stream:Xf&&(t=>t.body)};Ru&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Rc[e]&&(Rc[e]=Z.isFunction(t[e])?n=>n[e]():(n,s)=>{throw new jt(`Response type '${e}' is not supported`,jt.ERR_NOT_SUPPORT,s)})})})(new Response);const NC=async t=>{if(t==null)return 0;if(Z.isBlob(t))return t.size;if(Z.isSpecCompliantForm(t))return(await new Request(vn.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(Z.isArrayBufferView(t)||Z.isArrayBuffer(t))return t.byteLength;if(Z.isURLSearchParams(t)&&(t=t+""),Z.isString(t))return(await xC(t)).byteLength},PC=async(t,e)=>{const n=Z.toFiniteNumber(t.getContentLength());return n??NC(e)},DC=Ru&&(async t=>{let{url:e,method:n,data:s,signal:i,cancelToken:r,timeout:o,onDownloadProgress:a,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=f0(t);c=c?(c+"").toLowerCase():"text";let h=TC([i,r&&r.toAbortSignal()],o),p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(l&&IC&&n!=="get"&&n!=="head"&&(b=await PC(u,s))!==0){let S=new Request(e,{method:"POST",body:s,duplex:"half"}),k;if(Z.isFormData(s)&&(k=S.headers.get("content-type"))&&u.setContentType(k),S.body){const[N,R]=hg(b,Mc(pg(l)));s=gg(S.body,yg,N,R)}}Z.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;p=new Request(e,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:y?d:void 0});let _=await fetch(p);const g=Xf&&(c==="stream"||c==="response");if(Xf&&(a||g&&m)){const S={};["status","statusText","headers"].forEach(T=>{S[T]=_[T]});const k=Z.toFiniteNumber(_.headers.get("content-length")),[N,R]=a&&hg(k,Mc(pg(a),!0))||[];_=new Response(gg(_.body,yg,N,()=>{R&&R(),m&&m()}),S)}c=c||"text";let v=await Rc[Z.findKey(Rc,c)||"text"](_,t);return!g&&m&&m(),await new Promise((S,k)=>{u0(S,k,{data:v,headers:jn.from(_.headers),status:_.status,statusText:_.statusText,config:t,request:p})})}catch(y){throw m&&m(),y&&y.name==="TypeError"&&/Load failed|fetch/i.test(y.message)?Object.assign(new jt("Network Error",jt.ERR_NETWORK,t,p),{cause:y.cause||y}):jt.from(y,y&&y.code,t,p)}}),Yf={http:qT,xhr:kC,fetch:DC};Z.forEach(Yf,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const bg=t=>`- ${t}`,MC=t=>Z.isFunction(t)||t===null||t===!1,m0={getAdapter:t=>{t=Z.isArray(t)?t:[t];const{length:e}=t;let n,s;const i={};for(let r=0;r<e;r++){n=t[r];let o;if(s=n,!MC(n)&&(s=Yf[(o=String(n)).toLowerCase()],s===void 0))throw new jt(`Unknown adapter '${o}'`);if(s)break;i[o||"#"+r]=s}if(!s){const r=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=e?r.length>1?`since :
`+r.map(bg).join(`
`):" "+bg(r[0]):"as no adapter specified";throw new jt("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:Yf};function $d(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new $o(null,t)}function vg(t){return $d(t),t.headers=jn.from(t.headers),t.data=Ld.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),m0.getAdapter(t.adapter||ll.adapter)(t).then(function(s){return $d(t),s.data=Ld.call(t,t.transformResponse,s),s.headers=jn.from(s.headers),s},function(s){return c0(s)||($d(t),s&&s.response&&(s.response.data=Ld.call(t,t.transformResponse,s.response),s.response.headers=jn.from(s.response.headers))),Promise.reject(s)})}const g0="1.9.0",Lu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Lu[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const _g={};Lu.transitional=function(e,n,s){function i(r,o){return"[Axios v"+g0+"] Transitional option '"+r+"'"+o+(s?". "+s:"")}return(r,o,a)=>{if(e===!1)throw new jt(i(o," has been removed"+(n?" in "+n:"")),jt.ERR_DEPRECATED);return n&&!_g[o]&&(_g[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,o,a):!0}};Lu.spelling=function(e){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function RC(t,e,n){if(typeof t!="object")throw new jt("options must be an object",jt.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let i=s.length;for(;i-- >0;){const r=s[i],o=e[r];if(o){const a=t[r],l=a===void 0||o(a,r,t);if(l!==!0)throw new jt("option "+r+" must be "+l,jt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new jt("Unknown option "+r,jt.ERR_BAD_OPTION)}}const sc={assertOptions:RC,validators:Lu},$s=sc.validators;let kr=class{constructor(e){this.defaults=e||{},this.interceptors={request:new dg,response:new dg}}async request(e,n){try{return await this._request(e,n)}catch(s){if(s instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const r=i.stack?i.stack.replace(/^.+\n/,""):"";try{s.stack?r&&!String(s.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(s.stack+=`
`+r):s.stack=r}catch{}}throw s}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=xr(this.defaults,n);const{transitional:s,paramsSerializer:i,headers:r}=n;s!==void 0&&sc.assertOptions(s,{silentJSONParsing:$s.transitional($s.boolean),forcedJSONParsing:$s.transitional($s.boolean),clarifyTimeoutError:$s.transitional($s.boolean)},!1),i!=null&&(Z.isFunction(i)?n.paramsSerializer={serialize:i}:sc.assertOptions(i,{encode:$s.function,serialize:$s.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),sc.assertOptions(n,{baseUrl:$s.spelling("baseURL"),withXsrfToken:$s.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=r&&Z.merge(r.common,r[n.method]);r&&Z.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),n.headers=jn.concat(o,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,d=0,f;if(!l){const p=[vg.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d<f;)u=u.then(p[d++],p[d++]);return u}f=a.length;let h=n;for(d=0;d<f;){const p=a[d++],m=a[d++];try{h=p(h)}catch(b){m.call(this,b);break}}try{u=vg.call(this,h)}catch(p){return Promise.reject(p)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(e){e=xr(this.defaults,e);const n=d0(e.baseURL,e.url,e.allowAbsoluteUrls);return o0(n,e.params,e.paramsSerializer)}};Z.forEach(["delete","get","head","options"],function(e){kr.prototype[e]=function(n,s){return this.request(xr(s||{},{method:e,url:n,data:(s||{}).data}))}});Z.forEach(["post","put","patch"],function(e){function n(s){return function(r,o,a){return this.request(xr(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}kr.prototype[e]=n(),kr.prototype[e+"Form"]=n(!0)});let LC=class y0{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const s=this;this.promise.then(i=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](i);s._listeners=null}),this.promise.then=i=>{let r;const o=new Promise(a=>{s.subscribe(a),r=a}).then(i);return o.cancel=function(){s.unsubscribe(r)},o},e(function(r,o,a){s.reason||(s.reason=new $o(r,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=s=>{e.abort(s)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new y0(function(i){e=i}),cancel:e}}};function $C(t){return function(n){return t.apply(null,n)}}function FC(t){return Z.isObject(t)&&t.isAxiosError===!0}const Zf={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};Object.entries(Zf).forEach(([t,e])=>{Zf[e]=t});function b0(t){const e=new kr(t),n=q1(kr.prototype.request,e);return Z.extend(n,kr.prototype,e,{allOwnKeys:!0}),Z.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return b0(xr(t,i))},n}const ut=b0(ll);ut.Axios=kr;ut.CanceledError=$o;ut.CancelToken=LC;ut.isCancel=c0;ut.VERSION=g0;ut.toFormData=Mu;ut.AxiosError=jt;ut.Cancel=ut.CanceledError;ut.all=function(e){return Promise.all(e)};ut.spread=$C;ut.isAxiosError=FC;ut.mergeConfig=xr;ut.AxiosHeaders=jn;ut.formToJSON=t=>l0(Z.isHTMLForm(t)?new FormData(t):t);ut.getAdapter=m0.getAdapter;ut.HttpStatusCode=Zf;ut.default=ut;const{Axios:VU,AxiosError:HU,CanceledError:UU,isCancel:jU,CancelToken:BU,VERSION:WU,all:GU,Cancel:KU,isAxiosError:zU,spread:qU,toFormData:XU,AxiosHeaders:YU,HttpStatusCode:ZU,formToJSON:JU,getAdapter:QU,mergeConfig:tj}=ut;/*!
* shared v11.1.3
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/const Lc=typeof window<"u",sr=(t,e=!1)=>e?Symbol.for(t):Symbol(t),VC=(t,e,n)=>HC({l:t,k:e,s:n}),HC=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ze=t=>typeof t=="number"&&isFinite(t),UC=t=>hp(t)==="[object Date]",$c=t=>hp(t)==="[object RegExp]",$u=t=>oe(t)&&Object.keys(t).length===0,nn=Object.assign,jC=Object.create,Ee=(t=null)=>jC(t);let Sg;const fp=()=>Sg||(Sg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ee());function Eg(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const BC=Object.prototype.hasOwnProperty;function Ts(t,e){return BC.call(t,e)}const Ze=Array.isArray,Pe=t=>typeof t=="function",_t=t=>typeof t=="string",De=t=>typeof t=="boolean",pe=t=>t!==null&&typeof t=="object",WC=t=>pe(t)&&Pe(t.then)&&Pe(t.catch),v0=Object.prototype.toString,hp=t=>v0.call(t),oe=t=>hp(t)==="[object Object]",GC=t=>t==null?"":Ze(t)||oe(t)&&t.toString===v0?JSON.stringify(t,null,2):String(t);function pp(t,e=""){return t.reduce((n,s,i)=>i===0?n+s:n+e+s,"")}function KC(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const Nl=t=>!pe(t)||Ze(t);function ic(t,e){if(Nl(t)||Nl(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:s,des:i}=n.pop();Object.keys(s).forEach(r=>{r!=="__proto__"&&(pe(s[r])&&!pe(i[r])&&(i[r]=Array.isArray(s[r])?[]:Ee()),Nl(i[r])||Nl(s[r])?i[r]=s[r]:n.push({src:s[r],des:i[r]}))})}}/*!
* message-compiler v11.1.3
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function zC(t,e,n){return{line:t,column:e,offset:n}}function Jf(t,e,n){return{start:t,end:e}}const _e={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},qC=17;function Fu(t,e,n={}){const{domain:s,messages:i,args:r}=n,o=t,a=new SyntaxError(String(o));return a.code=t,e&&(a.location=e),a.domain=s,a}function XC(t){throw t}const Qs=" ",YC="\r",Cn=`
`,ZC="\u2028",JC="\u2029";function QC(t){const e=t;let n=0,s=1,i=1,r=0;const o=N=>e[N]===YC&&e[N+1]===Cn,a=N=>e[N]===Cn,l=N=>e[N]===JC,c=N=>e[N]===ZC,u=N=>o(N)||a(N)||l(N)||c(N),d=()=>n,f=()=>s,h=()=>i,p=()=>r,m=N=>o(N)||l(N)||c(N)?Cn:e[N],b=()=>m(n),y=()=>m(n+r);function _(){return r=0,u(n)&&(s++,i=0),o(n)&&n++,n++,i++,e[n]}function g(){return o(n+r)&&r++,r++,e[n+r]}function v(){n=0,s=1,i=1,r=0}function S(N=0){r=N}function k(){const N=n+r;for(;N!==n;)_();r=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:b,currentPeek:y,next:_,peek:g,reset:v,resetPeek:S,skipToPeek:k}}const Ai=void 0,tA=".",wg="'",eA="tokenizer";function nA(t,e={}){const n=e.location!==!1,s=QC(t),i=()=>s.index(),r=()=>zC(s.line(),s.column(),s.index()),o=r(),a=i(),l={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=e;function d(C,I,V,...q){const et=c();if(I.column+=V,I.offset+=V,u){const lt=n?Jf(et.startLoc,I):null,L=Fu(C,lt,{domain:eA,args:q});u(L)}}function f(C,I,V){C.endLoc=r(),C.currentType=I;const q={type:I};return n&&(q.loc=Jf(C.startLoc,C.endLoc)),V!=null&&(q.value=V),q}const h=C=>f(C,13);function p(C,I){return C.currentChar()===I?(C.next(),I):(d(_e.EXPECTED_TOKEN,r(),0,I),"")}function m(C){let I="";for(;C.currentPeek()===Qs||C.currentPeek()===Cn;)I+=C.currentPeek(),C.peek();return I}function b(C){const I=m(C);return C.skipToPeek(),I}function y(C){if(C===Ai)return!1;const I=C.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function _(C){if(C===Ai)return!1;const I=C.charCodeAt(0);return I>=48&&I<=57}function g(C,I){const{currentType:V}=I;if(V!==2)return!1;m(C);const q=y(C.currentPeek());return C.resetPeek(),q}function v(C,I){const{currentType:V}=I;if(V!==2)return!1;m(C);const q=C.currentPeek()==="-"?C.peek():C.currentPeek(),et=_(q);return C.resetPeek(),et}function S(C,I){const{currentType:V}=I;if(V!==2)return!1;m(C);const q=C.currentPeek()===wg;return C.resetPeek(),q}function k(C,I){const{currentType:V}=I;if(V!==7)return!1;m(C);const q=C.currentPeek()===".";return C.resetPeek(),q}function N(C,I){const{currentType:V}=I;if(V!==8)return!1;m(C);const q=y(C.currentPeek());return C.resetPeek(),q}function R(C,I){const{currentType:V}=I;if(!(V===7||V===11))return!1;m(C);const q=C.currentPeek()===":";return C.resetPeek(),q}function T(C,I){const{currentType:V}=I;if(V!==9)return!1;const q=()=>{const lt=C.currentPeek();return lt==="{"?y(C.peek()):lt==="@"||lt==="|"||lt===":"||lt==="."||lt===Qs||!lt?!1:lt===Cn?(C.peek(),q()):j(C,!1)},et=q();return C.resetPeek(),et}function D(C){m(C);const I=C.currentPeek()==="|";return C.resetPeek(),I}function j(C,I=!0){const V=(et=!1,lt="")=>{const L=C.currentPeek();return L==="{"||L==="@"||!L?et:L==="|"?!(lt===Qs||lt===Cn):L===Qs?(C.peek(),V(!0,Qs)):L===Cn?(C.peek(),V(!0,Cn)):!0},q=V();return I&&C.resetPeek(),q}function F(C,I){const V=C.currentChar();return V===Ai?Ai:I(V)?(C.next(),V):null}function U(C){const I=C.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36}function Y(C){return F(C,U)}function ot(C){const I=C.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36||I===45}function G(C){return F(C,ot)}function tt(C){const I=C.charCodeAt(0);return I>=48&&I<=57}function at(C){return F(C,tt)}function Tt(C){const I=C.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102}function qt(C){return F(C,Tt)}function Vt(C){let I="",V="";for(;I=at(C);)V+=I;return V}function Bt(C){let I="";for(;;){const V=C.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V===Qs||V===Cn)if(j(C))I+=V,C.next();else{if(D(C))break;I+=V,C.next()}else I+=V,C.next()}return I}function ge(C){b(C);let I="",V="";for(;I=G(C);)V+=I;return C.currentChar()===Ai&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V}function ve(C){b(C);let I="";return C.currentChar()==="-"?(C.next(),I+=`-${Vt(C)}`):I+=Vt(C),C.currentChar()===Ai&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),I}function Se(C){return C!==wg&&C!==Cn}function Wt(C){b(C),p(C,"'");let I="",V="";for(;I=F(C,Se);)I==="\\"?V+=X(C):V+=I;const q=C.currentChar();return q===Cn||q===Ai?(d(_e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),q===Cn&&(C.next(),p(C,"'")),V):(p(C,"'"),V)}function X(C){const I=C.currentChar();switch(I){case"\\":case"'":return C.next(),`\\${I}`;case"u":return dt(C,I,4);case"U":return dt(C,I,6);default:return d(_e.UNKNOWN_ESCAPE_SEQUENCE,r(),0,I),""}}function dt(C,I,V){p(C,I);let q="";for(let et=0;et<V;et++){const lt=qt(C);if(!lt){d(_e.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${I}${q}${C.currentChar()}`);break}q+=lt}return`\\${I}${q}`}function ct(C){return C!=="{"&&C!=="}"&&C!==Qs&&C!==Cn}function bt(C){b(C);let I="",V="";for(;I=F(C,ct);)V+=I;return V}function Ht(C){let I="",V="";for(;I=Y(C);)V+=I;return V}function Xt(C){const I=V=>{const q=C.currentChar();return q==="{"||q==="@"||q==="|"||q==="("||q===")"||!q||q===Qs?V:(V+=q,C.next(),I(V))};return I("")}function O(C){b(C);const I=p(C,"|");return b(C),I}function P(C,I){let V=null;switch(C.currentChar()){case"{":return I.braceNest>=1&&d(_e.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),C.next(),V=f(I,2,"{"),b(C),I.braceNest++,V;case"}":return I.braceNest>0&&I.currentType===2&&d(_e.EMPTY_PLACEHOLDER,r(),0),C.next(),V=f(I,3,"}"),I.braceNest--,I.braceNest>0&&b(C),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),V;case"@":return I.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=W(C,I)||h(I),I.braceNest=0,V;default:{let et=!0,lt=!0,L=!0;if(D(C))return I.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=f(I,1,O(C)),I.braceNest=0,I.inLinked=!1,V;if(I.braceNest>0&&(I.currentType===4||I.currentType===5||I.currentType===6))return d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),I.braceNest=0,nt(C,I);if(et=g(C,I))return V=f(I,4,ge(C)),b(C),V;if(lt=v(C,I))return V=f(I,5,ve(C)),b(C),V;if(L=S(C,I))return V=f(I,6,Wt(C)),b(C),V;if(!et&&!lt&&!L)return V=f(I,12,bt(C)),d(_e.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,V.value),b(C),V;break}}return V}function W(C,I){const{currentType:V}=I;let q=null;const et=C.currentChar();switch((V===7||V===8||V===11||V===9)&&(et===Cn||et===Qs)&&d(_e.INVALID_LINKED_FORMAT,r(),0),et){case"@":return C.next(),q=f(I,7,"@"),I.inLinked=!0,q;case".":return b(C),C.next(),f(I,8,".");case":":return b(C),C.next(),f(I,9,":");default:return D(C)?(q=f(I,1,O(C)),I.braceNest=0,I.inLinked=!1,q):k(C,I)||R(C,I)?(b(C),W(C,I)):N(C,I)?(b(C),f(I,11,Ht(C))):T(C,I)?(b(C),et==="{"?P(C,I)||q:f(I,10,Xt(C))):(V===7&&d(_e.INVALID_LINKED_FORMAT,r(),0),I.braceNest=0,I.inLinked=!1,nt(C,I))}}function nt(C,I){let V={type:13};if(I.braceNest>0)return P(C,I)||h(I);if(I.inLinked)return W(C,I)||h(I);switch(C.currentChar()){case"{":return P(C,I)||h(I);case"}":return d(_e.UNBALANCED_CLOSING_BRACE,r(),0),C.next(),f(I,3,"}");case"@":return W(C,I)||h(I);default:{if(D(C))return V=f(I,1,O(C)),I.braceNest=0,I.inLinked=!1,V;if(j(C))return f(I,0,Bt(C));break}}return V}function Q(){const{currentType:C,offset:I,startLoc:V,endLoc:q}=l;return l.lastType=C,l.lastOffset=I,l.lastStartLoc=V,l.lastEndLoc=q,l.offset=i(),l.startLoc=r(),s.currentChar()===Ai?f(l,13):nt(s,l)}return{nextToken:Q,currentOffset:i,currentPosition:r,context:c}}const sA="parser",iA=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function rA(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(e||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"<22>"}}}function oA(t={}){const e=t.location!==!1,{onError:n}=t;function s(y,_,g,v,...S){const k=y.currentPosition();if(k.offset+=v,k.column+=v,n){const N=e?Jf(g,k):null,R=Fu(_,N,{domain:sA,args:S});n(R)}}function i(y,_,g){const v={type:y};return e&&(v.start=_,v.end=_,v.loc={start:g,end:g}),v}function r(y,_,g,v){e&&(y.end=_,y.loc&&(y.loc.end=g))}function o(y,_){const g=y.context(),v=i(3,g.offset,g.startLoc);return v.value=_,r(v,y.currentOffset(),y.currentPosition()),v}function a(y,_){const g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(5,v,S);return k.index=parseInt(_,10),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function l(y,_){const g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(4,v,S);return k.key=_,y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function c(y,_){const g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(9,v,S);return k.value=_.replace(iA,rA),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function u(y){const _=y.nextToken(),g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(8,v,S);return _.type!==11?(s(y,_e.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),k.value="",r(k,v,S),{nextConsumeToken:_,node:k}):(_.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Fs(_)),k.value=_.value||"",r(k,y.currentOffset(),y.currentPosition()),{node:k})}function d(y,_){const g=y.context(),v=i(7,g.offset,g.startLoc);return v.value=_,r(v,y.currentOffset(),y.currentPosition()),v}function f(y){const _=y.context(),g=i(6,_.offset,_.startLoc);let v=y.nextToken();if(v.type===8){const S=u(y);g.modifier=S.node,v=S.nextConsumeToken||y.nextToken()}switch(v.type!==9&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(v)),v=y.nextToken(),v.type===2&&(v=y.nextToken()),v.type){case 10:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(v)),g.key=d(y,v.value||"");break;case 4:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(v)),g.key=l(y,v.value||"");break;case 5:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(v)),g.key=a(y,v.value||"");break;case 6:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(v)),g.key=c(y,v.value||"");break;default:{s(y,_e.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const S=y.context(),k=i(7,S.offset,S.startLoc);return k.value="",r(k,S.offset,S.startLoc),g.key=k,r(g,S.offset,S.startLoc),{nextConsumeToken:v,node:g}}}return r(g,y.currentOffset(),y.currentPosition()),{node:g}}function h(y){const _=y.context(),g=_.currentType===1?y.currentOffset():_.offset,v=_.currentType===1?_.endLoc:_.startLoc,S=i(2,g,v);S.items=[];let k=null;do{const T=k||y.nextToken();switch(k=null,T.type){case 0:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(T)),S.items.push(o(y,T.value||""));break;case 5:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(T)),S.items.push(a(y,T.value||""));break;case 4:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(T)),S.items.push(l(y,T.value||""));break;case 6:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Fs(T)),S.items.push(c(y,T.value||""));break;case 7:{const D=f(y);S.items.push(D.node),k=D.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const N=_.currentType===1?_.lastOffset:y.currentOffset(),R=_.currentType===1?_.lastEndLoc:y.currentPosition();return r(S,N,R),S}function p(y,_,g,v){const S=y.context();let k=v.items.length===0;const N=i(1,_,g);N.cases=[],N.cases.push(v);do{const R=h(y);k||(k=R.items.length===0),N.cases.push(R)}while(S.currentType!==13);return k&&s(y,_e.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),r(N,y.currentOffset(),y.currentPosition()),N}function m(y){const _=y.context(),{offset:g,startLoc:v}=_,S=h(y);return _.currentType===13?S:p(y,g,v,S)}function b(y){const _=nA(y,nn({},t)),g=_.context(),v=i(0,g.offset,g.startLoc);return e&&v.loc&&(v.loc.source=y),v.body=m(_),t.onCacheKey&&(v.cacheKey=t.onCacheKey(y)),g.currentType!==13&&s(_,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,y[g.offset]||""),r(v,_.currentOffset(),_.currentPosition()),v}return{parse:b}}function Fs(t){if(t.type===13)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"…":e}function aA(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function kg(t,e){for(let n=0;n<t.length;n++)mp(t[n],e)}function mp(t,e){switch(t.type){case 1:kg(t.cases,e),e.helper("plural");break;case 2:kg(t.items,e);break;case 6:{mp(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function lA(t,e={}){const n=aA(t);n.helper("normalize"),t.body&&mp(t.body,n);const s=n.context();t.helpers=Array.from(s.helpers)}function cA(t){const e=t.body;return e.type===2?Tg(e):e.cases.forEach(n=>Tg(n)),t}function Tg(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const s=t.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;e.push(s.value)}if(e.length===t.items.length){t.static=pp(e);for(let n=0;n<t.items.length;n++){const s=t.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function eo(t){switch(t.t=t.type,t.type){case 0:{const e=t;eo(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let s=0;s<n.length;s++)eo(n[s]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let s=0;s<n.length;s++)eo(n[s]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;eo(e.key),e.k=e.key,delete e.key,e.modifier&&(eo(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}}delete t.type}function uA(t,e){const{filename:n,breakLineCode:s,needIndent:i}=e,r=e.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:i,indentLevel:0};r&&t.loc&&(o.source=t.loc.source);const a=()=>o;function l(m,b){o.code+=m}function c(m,b=!0){const y=b?s:"";l(i?y+" ".repeat(m):y)}function u(m=!0){const b=++o.indentLevel;m&&c(b)}function d(m=!0){const b=--o.indentLevel;m&&c(b)}function f(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:d,newline:f,helper:m=>`_${m}`,needIndent:()=>o.needIndent}}function dA(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),So(t,e.key),e.modifier?(t.push(", "),So(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function fA(t,e){const{helper:n,needIndent:s}=t;t.push(`${n("normalize")}([`),t.indent(s());const i=e.items.length;for(let r=0;r<i&&(So(t,e.items[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}function hA(t,e){const{helper:n,needIndent:s}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(s());const i=e.cases.length;for(let r=0;r<i&&(So(t,e.cases[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}}function pA(t,e){e.body?So(t,e.body):t.push("null")}function So(t,e){const{helper:n}=t;switch(e.type){case 0:pA(t,e);break;case 1:hA(t,e);break;case 2:fA(t,e);break;case 6:dA(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break}}const mA=(t,e={})=>{const n=_t(e.mode)?e.mode:"normal",s=_t(e.filename)?e.filename:"message.intl";e.sourceMap;const i=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
`,r=e.needIndent?e.needIndent:n!=="arrow",o=t.helpers||[],a=uA(t,{filename:s,breakLineCode:i,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),o.length>0&&(a.push(`const { ${pp(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),So(a,t),a.deindent(r),a.push("}"),delete t.helpers;const{code:l,map:c}=a.context();return{ast:t,code:l,map:c?c.toJSON():void 0}};function gA(t,e={}){const n=nn({},e),s=!!n.jit,i=!!n.minify,r=n.optimize==null?!0:n.optimize,a=oA(n).parse(t);return s?(r&&cA(a),i&&eo(a),{ast:a,code:""}):(lA(a,n),mA(a,n))}/*!
* core-base v11.1.3
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function yA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fp().__INTLIFY_PROD_DEVTOOLS__=!1)}function Gs(t){return pe(t)&&gp(t)===0&&(Ts(t,"b")||Ts(t,"body"))}const _0=["b","body"];function bA(t){return ir(t,_0)}const S0=["c","cases"];function vA(t){return ir(t,S0,[])}const E0=["s","static"];function _A(t){return ir(t,E0)}const w0=["i","items"];function SA(t){return ir(t,w0,[])}const k0=["t","type"];function gp(t){return ir(t,k0)}const T0=["v","value"];function Pl(t,e){const n=ir(t,T0);if(n!=null)return n;throw Ua(e)}const C0=["m","modifier"];function EA(t){return ir(t,C0)}const A0=["k","key"];function wA(t){const e=ir(t,A0);if(e)return e;throw Ua(6)}function ir(t,e,n){for(let s=0;s<e.length;s++){const i=e[s];if(Ts(t,i)&&t[i]!=null)return t[i]}return n}const O0=[..._0,...S0,...E0,...w0,...A0,...C0,...T0,...k0];function Ua(t){return new Error(`unhandled node type: ${t}`)}function Fd(t){return n=>kA(n,t)}function kA(t,e){const n=bA(e);if(n==null)throw Ua(0);if(gp(n)===1){const r=vA(n);return t.plural(r.reduce((o,a)=>[...o,Cg(t,a)],[]))}else return Cg(t,n)}function Cg(t,e){const n=_A(e);if(n!=null)return t.type==="text"?n:t.normalize([n]);{const s=SA(e).reduce((i,r)=>[...i,Qf(t,r)],[]);return t.normalize(s)}}function Qf(t,e){const n=gp(e);switch(n){case 3:return Pl(e,n);case 9:return Pl(e,n);case 4:{const s=e;if(Ts(s,"k")&&s.k)return t.interpolate(t.named(s.k));if(Ts(s,"key")&&s.key)return t.interpolate(t.named(s.key));throw Ua(n)}case 5:{const s=e;if(Ts(s,"i")&&ze(s.i))return t.interpolate(t.list(s.i));if(Ts(s,"index")&&ze(s.index))return t.interpolate(t.list(s.index));throw Ua(n)}case 6:{const s=e,i=EA(s),r=wA(s);return t.linked(Qf(t,r),i?Qf(t,i):void 0,t.type)}case 7:return Pl(e,n);case 8:return Pl(e,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const TA=t=>t;let Dl=Ee();function CA(t,e={}){let n=!1;const s=e.onError||XC;return e.onError=i=>{n=!0,s(i)},{...gA(t,e),detectError:n}}function AA(t,e){if(_t(t)){De(e.warnHtmlMessage)&&e.warnHtmlMessage;const s=(e.onCacheKey||TA)(t),i=Dl[s];if(i)return i;const{ast:r,detectError:o}=CA(t,{...e,location:!1,jit:!0}),a=Fd(r);return o?a:Dl[s]=a}else{const n=t.cacheKey;if(n){const s=Dl[n];return s||(Dl[n]=Fd(t))}else return Fd(t)}}let ja=null;function OA(t){ja=t}function xA(t,e,n){ja&&ja.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const IA=NA("function:translate");function NA(t){return e=>ja&&ja.emit(t,e)}const li={INVALID_ARGUMENT:qC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},PA=24;function ci(t){return Fu(t,null,void 0)}function yp(t,e){return e.locale!=null?Ag(e.locale):Ag(t.locale)}let Vd;function Ag(t){if(_t(t))return t;if(Pe(t)){if(t.resolvedOnce&&Vd!=null)return Vd;if(t.constructor.name==="Function"){const e=t();if(WC(e))throw ci(li.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Vd=e}else throw ci(li.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ci(li.NOT_SUPPORT_LOCALE_TYPE)}function DA(t,e,n){return[...new Set([n,...Ze(e)?e:pe(e)?Object.keys(e):_t(e)?[e]:[n]])]}function x0(t,e,n){const s=_t(n)?n:Fc,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(s);if(!r){r=[];let o=[n];for(;Ze(o);)o=Og(r,o,e);const a=Ze(e)||!oe(e)?e:e.default?e.default:null;o=_t(a)?[a]:a,Ze(o)&&Og(r,o,!1),i.__localeChainCache.set(s,r)}return r}function Og(t,e,n){let s=!0;for(let i=0;i<e.length&&De(s);i++){const r=e[i];_t(r)&&(s=MA(t,e[i],n))}return s}function MA(t,e,n){let s;const i=e.split("-");do{const r=i.join("-");s=RA(t,r,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function RA(t,e,n){let s=!1;if(!t.includes(e)&&(s=!0,e)){s=e[e.length-1]!=="!";const i=e.replace(/!/g,"");t.push(i),(Ze(n)||oe(n))&&n[i]&&(s=n[i])}return s}const rr=[];rr[0]={w:[0],i:[3,0],"[":[4],o:[7]};rr[1]={w:[1],".":[2],"[":[4],o:[7]};rr[2]={w:[2],i:[3,0],0:[3,0]};rr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};rr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};rr[5]={"'":[4,0],o:8,l:[5,0]};rr[6]={'"':[4,0],o:8,l:[6,0]};const LA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function $A(t){return LA.test(t)}function FA(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function VA(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function HA(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:$A(e)?FA(e):"*"+e}function UA(t){const e=[];let n=-1,s=0,i=0,r,o,a,l,c,u,d;const f=[];f[0]=()=>{o===void 0?o=a:o+=a},f[1]=()=>{o!==void 0&&(e.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,s=4,f[0]();else{if(i=0,o===void 0||(o=HA(o),o===!1))return!1;f[1]()}};function h(){const p=t[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,a="\\"+p,f[0](),!0}for(;s!==null;)if(n++,r=t[n],!(r==="\\"&&h())){if(l=VA(r),d=rr[s],c=d[l]||d.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(a=r,u()===!1))))return;if(s===7)return e}}const xg=new Map;function jA(t,e){return pe(t)?t[e]:null}function BA(t,e){if(!pe(t))return null;let n=xg.get(e);if(n||(n=UA(e),n&&xg.set(e,n)),!n)return null;const s=n.length;let i=t,r=0;for(;r<s;){const o=n[r];if(O0.includes(o)&&Gs(i))return null;const a=i[o];if(a===void 0||Pe(i))return null;i=a,r++}return i}const WA="11.1.3",Vu=-1,Fc="en-US",Ig="",Ng=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function GA(){return{upper:(t,e)=>e==="text"&&_t(t)?t.toUpperCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&_t(t)?t.toLowerCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&_t(t)?Ng(t):e==="vnode"&&pe(t)&&"__v_isVNode"in t?Ng(t.children):t}}let I0;function KA(t){I0=t}let N0;function zA(t){N0=t}let P0;function qA(t){P0=t}let D0=null;const XA=t=>{D0=t},YA=()=>D0;let M0=null;const Pg=t=>{M0=t},ZA=()=>M0;let Dg=0;function JA(t={}){const e=Pe(t.onWarn)?t.onWarn:KC,n=_t(t.version)?t.version:WA,s=_t(t.locale)||Pe(t.locale)?t.locale:Fc,i=Pe(s)?Fc:s,r=Ze(t.fallbackLocale)||oe(t.fallbackLocale)||_t(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i,o=oe(t.messages)?t.messages:Hd(i),a=oe(t.datetimeFormats)?t.datetimeFormats:Hd(i),l=oe(t.numberFormats)?t.numberFormats:Hd(i),c=nn(Ee(),t.modifiers,GA()),u=t.pluralRules||Ee(),d=Pe(t.missing)?t.missing:null,f=De(t.missingWarn)||$c(t.missingWarn)?t.missingWarn:!0,h=De(t.fallbackWarn)||$c(t.fallbackWarn)?t.fallbackWarn:!0,p=!!t.fallbackFormat,m=!!t.unresolving,b=Pe(t.postTranslation)?t.postTranslation:null,y=oe(t.processor)?t.processor:null,_=De(t.warnHtmlMessage)?t.warnHtmlMessage:!0,g=!!t.escapeParameter,v=Pe(t.messageCompiler)?t.messageCompiler:I0,S=Pe(t.messageResolver)?t.messageResolver:N0||jA,k=Pe(t.localeFallbacker)?t.localeFallbacker:P0||DA,N=pe(t.fallbackContext)?t.fallbackContext:void 0,R=t,T=pe(R.__datetimeFormatters)?R.__datetimeFormatters:new Map,D=pe(R.__numberFormatters)?R.__numberFormatters:new Map,j=pe(R.__meta)?R.__meta:{};Dg++;const F={version:n,cid:Dg,locale:s,fallbackLocale:r,messages:o,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:m,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:g,messageCompiler:v,messageResolver:S,localeFallbacker:k,fallbackContext:N,onWarn:e,__meta:j};return F.datetimeFormats=a,F.numberFormats=l,F.__datetimeFormatters=T,F.__numberFormatters=D,__INTLIFY_PROD_DEVTOOLS__&&xA(F,n,j),F}const Hd=t=>({[t]:Ee()});function bp(t,e,n,s,i){const{missing:r,onWarn:o}=t;if(r!==null){const a=r(t,n,e,i);return _t(a)?a:e}else return e}function Zo(t,e,n){const s=t;s.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function QA(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function tO(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let s=n+1;s<e.length;s++)if(QA(t,e[s]))return!0;return!1}function Mg(t,...e){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[l,c,u,d]=th(...e),f=De(u.missingWarn)?u.missingWarn:t.missingWarn;De(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=yp(t,u),m=o(t,i,p);if(!_t(l)||l==="")return new Intl.DateTimeFormat(p,d).format(c);let b={},y,_=null;const g="datetime format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!oe(_));k++)bp(t,l,y,f,g);if(!oe(_)||!_t(y))return s?Vu:l;let v=`${y}__${l}`;$u(d)||(v=`${v}__${JSON.stringify(d)}`);let S=a.get(v);return S||(S=new Intl.DateTimeFormat(y,nn({},_,d)),a.set(v,S)),h?S.formatToParts(c):S.format(c)}const R0=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function th(...t){const[e,n,s,i]=t,r=Ee();let o=Ee(),a;if(_t(e)){const l=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ci(li.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw ci(li.INVALID_ISO_DATE_ARGUMENT)}}else if(UC(e)){if(isNaN(e.getTime()))throw ci(li.INVALID_DATE_ARGUMENT);a=e}else if(ze(e))a=e;else throw ci(li.INVALID_ARGUMENT);return _t(n)?r.key=n:oe(n)&&Object.keys(n).forEach(l=>{R0.includes(l)?o[l]=n[l]:r[l]=n[l]}),_t(s)?r.locale=s:oe(s)&&(o=s),oe(i)&&(o=i),[r.key||"",a,r,o]}function Rg(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function Lg(t,...e){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:a}=t,[l,c,u,d]=eh(...e),f=De(u.missingWarn)?u.missingWarn:t.missingWarn;De(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=yp(t,u),m=o(t,i,p);if(!_t(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let b={},y,_=null;const g="number format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!oe(_));k++)bp(t,l,y,f,g);if(!oe(_)||!_t(y))return s?Vu:l;let v=`${y}__${l}`;$u(d)||(v=`${v}__${JSON.stringify(d)}`);let S=a.get(v);return S||(S=new Intl.NumberFormat(y,nn({},_,d)),a.set(v,S)),h?S.formatToParts(c):S.format(c)}const L0=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function eh(...t){const[e,n,s,i]=t,r=Ee();let o=Ee();if(!ze(e))throw ci(li.INVALID_ARGUMENT);const a=e;return _t(n)?r.key=n:oe(n)&&Object.keys(n).forEach(l=>{L0.includes(l)?o[l]=n[l]:r[l]=n[l]}),_t(s)?r.locale=s:oe(s)&&(o=s),oe(i)&&(o=i),[r.key||"",a,r,o]}function $g(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}const eO=t=>t,nO=t=>"",sO="text",iO=t=>t.length===0?"":pp(t),rO=GC;function Fg(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function oO(t){const e=ze(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(ze(t.named.count)||ze(t.named.n))?ze(t.named.count)?t.named.count:ze(t.named.n)?t.named.n:e:e}function aO(t,e){e.count||(e.count=t),e.n||(e.n=t)}function lO(t={}){const e=t.locale,n=oO(t),s=pe(t.pluralRules)&&_t(e)&&Pe(t.pluralRules[e])?t.pluralRules[e]:Fg,i=pe(t.pluralRules)&&_t(e)&&Pe(t.pluralRules[e])?Fg:void 0,r=y=>y[s(n,y.length,i)],o=t.list||[],a=y=>o[y],l=t.named||Ee();ze(t.pluralIndex)&&aO(n,l);const c=y=>l[y];function u(y,_){const g=Pe(t.messages)?t.messages(y,!!_):pe(t.messages)?t.messages[y]:!1;return g||(t.parent?t.parent.message(y):nO)}const d=y=>t.modifiers?t.modifiers[y]:eO,f=oe(t.processor)&&Pe(t.processor.normalize)?t.processor.normalize:iO,h=oe(t.processor)&&Pe(t.processor.interpolate)?t.processor.interpolate:rO,p=oe(t.processor)&&_t(t.processor.type)?t.processor.type:sO,b={list:a,named:c,plural:r,linked:(y,..._)=>{const[g,v]=_;let S="text",k="";_.length===1?pe(g)?(k=g.modifier||k,S=g.type||S):_t(g)&&(k=g||k):_.length===2&&(_t(g)&&(k=g||k),_t(v)&&(S=v||S));const N=u(y,!0)(b),R=S==="vnode"&&Ze(N)&&k?N[0]:N;return k?d(k)(R,S):R},message:u,type:p,interpolate:h,normalize:f,values:nn(Ee(),o,l)};return b}const Vg=()=>"",rs=t=>Pe(t);function Hg(t,...e){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:r,fallbackLocale:o,messages:a}=t,[l,c]=nh(...e),u=De(c.missingWarn)?c.missingWarn:t.missingWarn,d=De(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,f=De(c.escapeParameter)?c.escapeParameter:t.escapeParameter,h=!!c.resolvedMessage,p=_t(c.default)||De(c.default)?De(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:null,m=n||p!=null&&(_t(p)||Pe(p)),b=yp(t,c);f&&cO(c);let[y,_,g]=h?[l,b,a[b]||Ee()]:$0(t,l,b,o,d,u),v=y,S=l;if(!h&&!(_t(v)||Gs(v)||rs(v))&&m&&(v=p,S=v),!h&&(!(_t(v)||Gs(v)||rs(v))||!_t(_)))return i?Vu:l;let k=!1;const N=()=>{k=!0},R=rs(v)?v:F0(t,l,_,v,S,N);if(k)return v;const T=fO(t,_,g,c),D=lO(T),j=uO(t,R,D),F=s?s(j,l):j;if(__INTLIFY_PROD_DEVTOOLS__){const U={timestamp:Date.now(),key:_t(l)?l:rs(v)?v.key:"",locale:_||(rs(v)?v.locale:""),format:_t(v)?v:rs(v)?v.source:"",message:F};U.meta=nn({},t.__meta,YA()||{}),IA(U)}return F}function cO(t){Ze(t.list)?t.list=t.list.map(e=>_t(e)?Eg(e):e):pe(t.named)&&Object.keys(t.named).forEach(e=>{_t(t.named[e])&&(t.named[e]=Eg(t.named[e]))})}function $0(t,e,n,s,i,r){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=t,u=c(t,s,n);let d=Ee(),f,h=null;const p="translate";for(let m=0;m<u.length&&(f=u[m],d=o[f]||Ee(),(h=l(d,e))===null&&(h=d[e]),!(_t(h)||Gs(h)||rs(h)));m++)if(!tO(f,u)){const b=bp(t,e,f,r,p);b!==e&&(h=b)}return[h,f,d]}function F0(t,e,n,s,i,r){const{messageCompiler:o,warnHtmlMessage:a}=t;if(rs(s)){const c=s;return c.locale=c.locale||n,c.key=c.key||e,c}if(o==null){const c=()=>s;return c.locale=n,c.key=e,c}const l=o(s,dO(t,n,i,s,a,r));return l.locale=n,l.key=e,l.source=s,l}function uO(t,e,n){return e(n)}function nh(...t){const[e,n,s]=t,i=Ee();if(!_t(e)&&!ze(e)&&!rs(e)&&!Gs(e))throw ci(li.INVALID_ARGUMENT);const r=ze(e)?String(e):(rs(e),e);return ze(n)?i.plural=n:_t(n)?i.default=n:oe(n)&&!$u(n)?i.named=n:Ze(n)&&(i.list=n),ze(s)?i.plural=s:_t(s)?i.default=s:oe(s)&&nn(i,s),[r,i]}function dO(t,e,n,s,i,r){return{locale:e,key:n,warnHtmlMessage:i,onError:o=>{throw r&&r(o),o},onCacheKey:o=>VC(e,n,o)}}function fO(t,e,n,s){const{modifiers:i,pluralRules:r,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=t,f={locale:e,modifiers:i,pluralRules:r,messages:(h,p)=>{let m=o(n,h);if(m==null&&(u||p)){const[,,b]=$0(u||t,h,e,a,l,c);m=o(b,h)}if(_t(m)||Gs(m)){let b=!1;const _=F0(t,h,e,m,h,()=>{b=!0});return b?Vg:_}else return rs(m)?m:Vg}};return t.processor&&(f.processor=t.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),ze(s.plural)&&(f.pluralIndex=s.plural),f}yA();/*!
* vue-i18n v11.1.3
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/const hO="11.1.3";function pO(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(fp().__INTLIFY_PROD_DEVTOOLS__=!1)}const hs={UNEXPECTED_RETURN_TYPE:PA,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Is(t,...e){return Fu(t,null,void 0)}const sh=sr("__translateVNode"),ih=sr("__datetimeParts"),rh=sr("__numberParts"),mO=sr("__setPluralRules"),gO=sr("__injectWithOption"),oh=sr("__dispose");function Ba(t){if(!pe(t)||Gs(t))return t;for(const e in t)if(Ts(t,e))if(!e.includes("."))pe(t[e])&&Ba(t[e]);else{const n=e.split("."),s=n.length-1;let i=t,r=!1;for(let o=0;o<s;o++){if(n[o]==="__proto__")throw new Error(`unsafe key: ${n[o]}`);if(n[o]in i||(i[n[o]]=Ee()),!pe(i[n[o]])){r=!0;break}i=i[n[o]]}if(r||(Gs(i)?O0.includes(n[s])||delete t[e]:(i[n[s]]=t[e],delete t[e])),!Gs(i)){const o=i[n[s]];pe(o)&&Ba(o)}}return t}function V0(t,e){const{messages:n,__i18n:s,messageResolver:i,flatJson:r}=e,o=oe(n)?n:Ze(s)?Ee():{[t]:Ee()};if(Ze(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Ee(),ic(c,o[l])):ic(c,o)}else _t(a)&&ic(JSON.parse(a),o)}),i==null&&r)for(const a in o)Ts(o,a)&&Ba(o[a]);return o}function H0(t){return t.type}function yO(t,e,n){let s=pe(e.messages)?e.messages:Ee();"__i18nGlobal"in n&&(s=V0(t.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const i=Object.keys(s);i.length&&i.forEach(r=>{t.mergeLocaleMessage(r,s[r])});{if(pe(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(pe(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function Ug(t){return E(di,null,t,0)}const jg="__INTLIFY_META__",Bg=()=>[],bO=()=>!1;let Wg=0;function Gg(t){return(e,n,s,i)=>t(n,s,Pn()||void 0,i)}const vO=()=>{const t=Pn();let e=null;return t&&(e=H0(t)[jg])?{[jg]:e}:null};function U0(t={}){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson,r=Lc?ls:vu;let o=De(t.inheritLocale)?t.inheritLocale:!0;const a=r(e&&o?e.locale.value:_t(t.locale)?t.locale:Fc),l=r(e&&o?e.fallbackLocale.value:_t(t.fallbackLocale)||Ze(t.fallbackLocale)||oe(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=r(V0(a.value,t)),u=r(oe(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),d=r(oe(t.numberFormats)?t.numberFormats:{[a.value]:{}});let f=e?e.missingWarn:De(t.missingWarn)||$c(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:De(t.fallbackWarn)||$c(t.fallbackWarn)?t.fallbackWarn:!0,p=e?e.fallbackRoot:De(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,b=Pe(t.missing)?t.missing:null,y=Pe(t.missing)?Gg(t.missing):null,_=Pe(t.postTranslation)?t.postTranslation:null,g=e?e.warnHtmlMessage:De(t.warnHtmlMessage)?t.warnHtmlMessage:!0,v=!!t.escapeParameter;const S=e?e.modifiers:oe(t.modifiers)?t.modifiers:{};let k=t.pluralRules||e&&e.pluralRules,N;N=(()=>{s&&Pg(null);const L={version:hO,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:k,missing:y===null?void 0:y,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:v,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=d.value,L.__datetimeFormatters=oe(N)?N.__datetimeFormatters:void 0,L.__numberFormatters=oe(N)?N.__numberFormatters:void 0;const K=JA(L);return s&&Pg(K),K})(),Zo(N,a.value,l.value);function T(){return[a.value,l.value,c.value,u.value,d.value]}const D=tn({get:()=>a.value,set:L=>{N.locale=L,a.value=L}}),j=tn({get:()=>l.value,set:L=>{N.fallbackLocale=L,l.value=L,Zo(N,a.value,L)}}),F=tn(()=>c.value),U=tn(()=>u.value),Y=tn(()=>d.value);function ot(){return Pe(_)?_:null}function G(L){_=L,N.postTranslation=L}function tt(){return b}function at(L){L!==null&&(y=Gg(L)),b=L,N.missing=y}const Tt=(L,K,ht,St,Gt,H)=>{T();let B;try{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=e?ZA():void 0),B=L(N)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=void 0)}if(ht!=="translate exists"&&ze(B)&&B===Vu||ht==="translate exists"&&!B){const[z,rt]=K();return e&&p?St(e):Gt(z)}else{if(H(B))return B;throw Is(hs.UNEXPECTED_RETURN_TYPE)}};function qt(...L){return Tt(K=>Reflect.apply(Hg,null,[K,...L]),()=>nh(...L),"translate",K=>Reflect.apply(K.t,K,[...L]),K=>K,K=>_t(K))}function Vt(...L){const[K,ht,St]=L;if(St&&!pe(St))throw Is(hs.INVALID_ARGUMENT);return qt(K,ht,nn({resolvedMessage:!0},St||{}))}function Bt(...L){return Tt(K=>Reflect.apply(Mg,null,[K,...L]),()=>th(...L),"datetime format",K=>Reflect.apply(K.d,K,[...L]),()=>Ig,K=>_t(K))}function ge(...L){return Tt(K=>Reflect.apply(Lg,null,[K,...L]),()=>eh(...L),"number format",K=>Reflect.apply(K.n,K,[...L]),()=>Ig,K=>_t(K))}function ve(L){return L.map(K=>_t(K)||ze(K)||De(K)?Ug(String(K)):K)}const Wt={normalize:ve,interpolate:L=>L,type:"vnode"};function X(...L){return Tt(K=>{let ht;const St=K;try{St.processor=Wt,ht=Reflect.apply(Hg,null,[St,...L])}finally{St.processor=null}return ht},()=>nh(...L),"translate",K=>K[sh](...L),K=>[Ug(K)],K=>Ze(K))}function dt(...L){return Tt(K=>Reflect.apply(Lg,null,[K,...L]),()=>eh(...L),"number format",K=>K[rh](...L),Bg,K=>_t(K)||Ze(K))}function ct(...L){return Tt(K=>Reflect.apply(Mg,null,[K,...L]),()=>th(...L),"datetime format",K=>K[ih](...L),Bg,K=>_t(K)||Ze(K))}function bt(L){k=L,N.pluralRules=k}function Ht(L,K){return Tt(()=>{if(!L)return!1;const ht=_t(K)?K:a.value,St=P(ht),Gt=N.messageResolver(St,L);return Gs(Gt)||rs(Gt)||_t(Gt)},()=>[L],"translate exists",ht=>Reflect.apply(ht.te,ht,[L,K]),bO,ht=>De(ht))}function Xt(L){let K=null;const ht=x0(N,l.value,a.value);for(let St=0;St<ht.length;St++){const Gt=c.value[ht[St]]||{},H=N.messageResolver(Gt,L);if(H!=null){K=H;break}}return K}function O(L){const K=Xt(L);return K??(e?e.tm(L)||{}:{})}function P(L){return c.value[L]||{}}function W(L,K){if(i){const ht={[L]:K};for(const St in ht)Ts(ht,St)&&Ba(ht[St]);K=ht[L]}c.value[L]=K,N.messages=c.value}function nt(L,K){c.value[L]=c.value[L]||{};const ht={[L]:K};if(i)for(const St in ht)Ts(ht,St)&&Ba(ht[St]);K=ht[L],ic(K,c.value[L]),N.messages=c.value}function Q(L){return u.value[L]||{}}function C(L,K){u.value[L]=K,N.datetimeFormats=u.value,Rg(N,L,K)}function I(L,K){u.value[L]=nn(u.value[L]||{},K),N.datetimeFormats=u.value,Rg(N,L,K)}function V(L){return d.value[L]||{}}function q(L,K){d.value[L]=K,N.numberFormats=d.value,$g(N,L,K)}function et(L,K){d.value[L]=nn(d.value[L]||{},K),N.numberFormats=d.value,$g(N,L,K)}Wg++,e&&Lc&&(Zn(e.locale,L=>{o&&(a.value=L,N.locale=L,Zo(N,a.value,l.value))}),Zn(e.fallbackLocale,L=>{o&&(l.value=L,N.fallbackLocale=L,Zo(N,a.value,l.value))}));const lt={id:Wg,locale:D,fallbackLocale:j,get inheritLocale(){return o},set inheritLocale(L){o=L,L&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,Zo(N,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:F,get modifiers(){return S},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return f},set missingWarn(L){f=L,N.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(L){h=L,N.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,N.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage(L){g=L,N.warnHtmlMessage=L},get escapeParameter(){return v},set escapeParameter(L){v=L,N.escapeParameter=L},t:qt,getLocaleMessage:P,setLocaleMessage:W,mergeLocaleMessage:nt,getPostTranslationHandler:ot,setPostTranslationHandler:G,getMissingHandler:tt,setMissingHandler:at,[mO]:bt};return lt.datetimeFormats=U,lt.numberFormats=Y,lt.rt=Vt,lt.te=Ht,lt.tm=O,lt.d=Bt,lt.n=ge,lt.getDateTimeFormat=Q,lt.setDateTimeFormat=C,lt.mergeDateTimeFormat=I,lt.getNumberFormat=V,lt.setNumberFormat=q,lt.mergeNumberFormat=et,lt[gO]=n,lt[sh]=X,lt[ih]=ct,lt[rh]=dt,lt}const vp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function _O({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((s,i)=>[...s,...i.type===it?i.children:[i]],[]):e.reduce((n,s)=>{const i=t[s];return i&&(n[s]=i()),n},Ee())}function j0(){return it}const SO=wi({name:"i18n-t",props:nn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ze(t)||!isNaN(t)}},vp),setup(t,e){const{slots:n,attrs:s}=e,i=t.i18n||_p({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(d=>d!=="_"),o=Ee();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=_t(t.plural)?+t.plural:t.plural);const a=_O(e,r),l=i[sh](t.keypath,a,o),c=nn(Ee(),s),u=_t(t.tag)||pe(t.tag)?t.tag:j0();return Bs(u,c,l)}}}),Kg=SO;function EO(t){return Ze(t)&&!_t(t[0])}function B0(t,e,n,s){const{slots:i,attrs:r}=e;return()=>{const o={part:!0};let a=Ee();t.locale&&(o.locale=t.locale),_t(t.format)?o.key=t.format:pe(t.format)&&(_t(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((f,h)=>n.includes(h)?nn(Ee(),f,{[h]:t.format[h]}):f,Ee()));const l=s(t.value,o,a);let c=[o.key];Ze(l)?c=l.map((f,h)=>{const p=i[f.type],m=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return EO(m)&&(m[0].key=`${f.type}-${h}`),m}):_t(l)&&(c=[l]);const u=nn(Ee(),r),d=_t(t.tag)||pe(t.tag)?t.tag:j0();return Bs(d,u,c)}}const wO=wi({name:"i18n-n",props:nn({value:{type:Number,required:!0},format:{type:[String,Object]}},vp),setup(t,e){const n=t.i18n||_p({useScope:t.scope,__useComponent:!0});return B0(t,e,L0,(...s)=>n[rh](...s))}}),zg=wO;function kO(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const s=n.__getInstance(e);return s!=null?s.__composer:t.global.__composer}}function TO(t){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Is(hs.UNEXPECTED_ERROR);const c=kO(t,a.$),u=qg(l);return[Reflect.apply(c.t,c,[...Xg(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);Lc&&t.global===c&&(o.__i18nWatcher=Zn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{Lc&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=qg(a);o.textContent=Reflect.apply(l.t,l,[...Xg(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function qg(t){if(_t(t))return{path:t};if(oe(t)){if(!("path"in t))throw Is(hs.REQUIRED_VALUE,"path");return t}else throw Is(hs.INVALID_VALUE)}function Xg(t){const{path:e,locale:n,args:s,choice:i,plural:r}=t,o={},a=s||{};return _t(n)&&(o.locale=n),ze(i)&&(o.plural=i),ze(r)&&(o.plural=r),[e,a,o]}function CO(t,e,...n){const s=oe(n[0])?n[0]:{};(De(s.globalInstall)?s.globalInstall:!0)&&([Kg.name,"I18nT"].forEach(r=>t.component(r,Kg)),[zg.name,"I18nN"].forEach(r=>t.component(r,zg)),[Zg.name,"I18nD"].forEach(r=>t.component(r,Zg))),t.directive("t",TO(e))}const AO=sr("global-vue-i18n");function OO(t={}){const e=De(t.globalInjection)?t.globalInjection:!0,n=new Map,[s,i]=xO(t),r=sr("");function o(u){return n.get(u)||null}function a(u,d){n.set(u,d)}function l(u){n.delete(u)}const c={get mode(){return"composition"},async install(u,...d){if(u.__VUE_I18N_SYMBOL__=r,u.provide(u.__VUE_I18N_SYMBOL__,c),oe(d[0])){const p=d[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let f=null;e&&(f=$O(u,c.global)),CO(u,c,...d);const h=u.unmount;u.unmount=()=>{f&&f(),c.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:n,__getInstance:o,__setInstance:a,__deleteInstance:l};return c}function _p(t={}){const e=Pn();if(e==null)throw Is(hs.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Is(hs.NOT_INSTALLED);const n=IO(e),s=PO(n),i=H0(e),r=NO(t,i);if(r==="global")return yO(s,t,i),s;if(r==="parent"){let l=DO(n,e,t.__useComponent);return l==null&&(l=s),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=nn({},t);"__i18n"in i&&(l.__i18n=i.__i18n),s&&(l.__root=s),a=U0(l),o.__composerExtend&&(a[oh]=o.__composerExtend(a)),RO(o,e,a),o.__setInstance(e,a)}return a}function xO(t,e){const n=fu(),s=n.run(()=>U0(t));if(s==null)throw Is(hs.UNEXPECTED_ERROR);return[n,s]}function IO(t){const e=cs(t.isCE?AO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Is(t.isCE?hs.NOT_INSTALLED_WITH_PROVIDE:hs.UNEXPECTED_ERROR);return e}function NO(t,e){return $u(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function PO(t){return t.mode==="composition"?t.global:t.global.__composer}function DO(t,e,n=!1){let s=null;const i=e.root;let r=MO(e,n);for(;r!=null;){const o=t;if(t.mode==="composition"&&(s=o.__getInstance(r)),s!=null||i===r)break;r=r.parent}return s}function MO(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function RO(t,e,n){Mo(()=>{},e),il(()=>{const s=n;t.__deleteInstance(e);const i=s[oh];i&&(i(),delete s[oh])},e)}const LO=["locale","fallbackLocale","availableLocales"],Yg=["t","rt","d","n","tm","te"];function $O(t,e){const n=Object.create(null);return LO.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r)throw Is(hs.UNEXPECTED_ERROR);const o=Ie(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,i,o)}),t.config.globalProperties.$i18n=n,Yg.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r||!r.value)throw Is(hs.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,r)}),()=>{delete t.config.globalProperties.$i18n,Yg.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}const FO=wi({name:"i18n-d",props:nn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vp),setup(t,e){const n=t.i18n||_p({useScope:t.scope,__useComponent:!0});return B0(t,e,R0,(...s)=>n[ih](...s))}}),Zg=FO;pO();KA(AA);zA(BA);qA(x0);if(__INTLIFY_PROD_DEVTOOLS__){const t=fp();t.__INTLIFY__=!0,OA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ud=t=>t&&typeof t=="object"&&!Array.isArray(t),ah=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Ud(t)&&Ud(n))for(const s in n)Ud(n[s])?(t[s]||Object.assign(t,{[s]:{}}),ah(t[s],n[s])):Object.assign(t,{[s]:n[s]});return ah(t,...e)},VO=ah({},{de:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Als nächstes hinzufügen"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Abbrechen"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Alle entfernen"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Bearbeiten"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Einloggen"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Ausloggen"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Vorherige verbergen"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Alle abgespielten markieren"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als neu"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als gespielt"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Remote paaren"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Spielen"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Entfernen"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Speichern"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Zeige mehr"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Zufallswiedergabe"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verifizieren"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Alben"}]}]}},artists:{t:0,b:{t:2,i:[{t:4,k:"count"},{t:3,v:" Künstler"}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autoren"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genres"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Stationen"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Datei"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast hinzufügen"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Lade…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}}}},podcast:{remove:{title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast enfernen"}},info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlistname"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Speichere…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange als Playlist speichern"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote-Paarungs-Anfrage"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Alles neu einlesen"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Nur RSS-Feeds neu einlesen"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Suche nach neuen, gelöschten und veränderten Dateien"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Nur lokale Bibliothek neu einlesen"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek wird neu eingelesen…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Metadata von unveränderten Dateien neu einlesen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Nur Spotify neu einlesen"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Deutsch"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Englisch (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Französisch (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Vereinfachtes Chinesisch (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditionelles Chinesisch (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Diesen Podcast dauerhaft aus der Bibliothek löschen?"},{t:4,k:"separator"},{t:3,v:"(Damit wird auch die RSS-Playliste "},{t:4,k:"name"},{t:3,v:" gelöscht)"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track kann nicht gespielt werden"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", Beschränkungsgrund: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Hörbuch"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"Über"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Lautstärke"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Einstellungen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Singles und alles, was mit ihnen verbunden ist, aus."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Spotify-Inhalt"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Inhalte aus, die von Spotify stammen."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtern"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Künstler Name"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Künstler Erscheinungsdatum"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Namen"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich erschienen"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sortieren"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Oberfläche erstellt mit "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" und "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiliert mit Unterstützung von "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},more:{t:0,b:{t:2,i:[{t:3}],s:"mehr"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich gespielt"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"Tracks durch Auswählen aus der Bibliothek anfügen"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Deine Playliste ist leer."}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlisten"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Neue Episoden"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"Ausdrücken"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach "},{t:4,k:"help"},{t:3,v:" suchen wenn Du dem Ausdruck ein "},{t:4,k:"query"},{t:3,v:" voranstellst."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Keine Ergebnisse gefunden"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Album"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Alben"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Künstler"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Künstler"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Buch"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Komponist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige die Playlist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Podcast"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Track"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Tracks"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"Zeige Cover-Artwork in der Albumliste"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"Bereitgestellte Artwork von Radiostationen ignorieren"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Keine aktive Pairing-Anfrage"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote-Pairing-Anfrage von "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Pairing Remote"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Lautsprecher-Pairing und Geräteverifikation"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verifikationscode"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Sprache"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Wähle hier die Einträge des oberen Navigationsmenüs "}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigationsmenüs"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"Aktuell läuft-Seite"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"Beschränkte die Zahl der Alben"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt-Seite"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Komma getrennte Liste der Genres, für die der Komponist angezeigt werden soll."},{t:5,i:0},{t:3,v:"Leer lassen, um den Komponisten immer anzuzeigen."},{t:5,i:0},{t:3,v:'Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"Zeige den Komponisten für die aufgelisteten Genres an"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiviert, wird der Komponist angezeigt."}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"Komponisten anzeigen"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"Dateipfad anzeigen"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde ohne Unterstützung für Last.fm erstellt."}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorisiere API-Zugriff"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Zugriff auf die Spotify API gestatten."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Bitte den Zugriff der API durch setzen folgender Zugriffsrechte für OwnTone: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Spotify Premium Abo erforderlich. Zugriff auf die Spotify API ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Zugriff gestattet für "},{t:4,k:"user"},{t:3,v:"."}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Passwort"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Benutzername"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Fernbedienungen und Ausgänge"}},general:{t:0,b:{t:2,i:[{t:3}],s:"Allgemein"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online-Services"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Ausgezeichnete Playlisten"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Neuvorstellung"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Einfache"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf löschen"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe anhalten"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergeben"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Alle Tracks wiederholen"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Tracks einmal lesen"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Aktuellen Track wiederholen"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Rückwärts im Track suchen"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Vorwärts im Track suchen"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Tracks zufällig wiedergeben"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Tracks in Reihenfolge wiedergeben"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Zum vorherigen Track springen"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Zum nächsten Track springen"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe stoppen"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Liedtexte anzeigen/verbergen"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Hinzugefügt am"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album-Künstler"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Kommentar"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Komponist"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Dauer"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Besitzer"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Pfad"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Spielzeit"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularität / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualität"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Art"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Neu eingelesen"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Laufzeit"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Jahr"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Fehler bei Verbindung zum OwnTone-Server"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Anfrage gescheitert (Status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Warteschlange zu Playlist "},{t:4,k:"name"},{t:3,v:" gesichert"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track an die Abspielliste angehängt"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks an die Abspielliste angehängt"}]}]}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"Heute"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Letzte Woche"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Letzer Monat"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Unbestimmt"}}}}},{en:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Add"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Add Next"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Clear"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Edit"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Logout"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Hide previous"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark All Played"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Mark as new"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark as played"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Pair Remote"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Remove"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Rescan"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Show more"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Shuffle"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verify"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artists"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" authors"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" channel"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" channels"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composers"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlists"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"File"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Loading…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}}}},podcast:{remove:{title:{t:0,b:{t:2,i:[{t:3}],s:"Delete the podcast"}},info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlist name"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Saving…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Save queue to playlist"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Update everything"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Only update RSS feeds"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Scan for new, deleted and modified files"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Only update local library"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Library update in progress…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Rescan metadata of unmodified files"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Only update Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Update library"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"German (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"French (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Simplified Chinese (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditional Chinese (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track is not playable"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", restriction reason: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiobook"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"About"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream error: failed to load stream or stopped loading due to network problem"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Files"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Settings"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Update Library"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Hide singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides singles and anything associated with them."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Hide Spotify content"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides content from Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filter"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artist Name"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artist Release date"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Recently released"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release date"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sort"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Web interface built with "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" and "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiled with support for "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},more:{t:0,b:{t:2,i:[{t:3}],s:"more"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Files"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"History"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"Add some tracks by browsing your library"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Your play queue is empty"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlists"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"New Episodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Queue"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: you can search by a smart playlist query language "},{t:4,k:"help"},{t:3,v:" if you prefix it with "},{t:4,k:"query"},{t:3,v:"."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"No results found"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the album"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the artist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" artists"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the audiobook"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the composer"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" composers"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the playlist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" playlists"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the podcast"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the track"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" tracks"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"In addition to that, you can enable fetching artwork from the following artwork providers:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"Show cover artwork in album list"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"Ignore artwork provided by radio stations"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"No active pairing request."}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request from "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Remote Pairing"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"If your speaker requires pairing then activate it below and enter the PIN that it displays."}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Speaker pairing and device verification"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verification code"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Files"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"If you select more items than can be shown on your screen then the burger menu will disappear."}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Select the top navigation bar menu items"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigation Bar"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"Now playing page"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"Limit the number of albums displayed"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Recently added page"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Comma-separated list of genres, for which the composer must be displayed."},{t:5,i:0},{t:3,v:"Leave empty to always show the composer."},{t:5,i:0},{t:3,v:'The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"Show composer only for listed genres"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"If enabled, the composer of the current playing track is displayed"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"Show composer"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"Show filepath"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Login with your Last.fm username and password to enable scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was built without support for Last.fm."}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorize API access"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Grant access to the Spotify API."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was either built without support for Spotify or libspotify is not installed."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Please reauthorize API access to grant OwnTone the following additional access rights: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"You must have a Spotify premium account. Access to the Spotify API enables scanning of your Spotify library. Required scopes are: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Access granted for "},{t:4,k:"user"}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Remotes and Outputs"}},general:{t:0,b:{t:2,i:[{t:3}],s:"General"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online Services"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Featured Playlists"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"New Releases"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Folder"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Plain"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Smart"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Clear history"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Repeat all tracks"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Read tracks once"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Repeat current track"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Seek backward in the track"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Seek forward in the track"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Play tracks randomly"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Play tracks in order"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to previous track"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to next track"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Stop"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Toggle lyrics"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Added On"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album Artist"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artist"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Comment"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Composer"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Duration"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Folders"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Owner"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Path"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Playtime"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularity / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Quality"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release Date"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Uptime"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Year"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Failed to connect to OwnTone server"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Request failed (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Queue saved to playlist "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track appended to the queue"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks appended to the queue"}]}]}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"Today"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Last week"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Last month"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Undefined"}}}}},{fr:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter ensuite"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Annuler"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Effacer"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Éditer"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Se connecter"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Se déconnecter"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Masquer lhistorique"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lus"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme nouveau"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lu"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Jumeler la télécommande"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Analyser"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Afficher plus"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lecture aléatoire"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Vérifier"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artistes"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteurs"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Fichier"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Flux"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Lajout dun podcast inclut la création dune liste de lecture RSS, qui permettra à OwnTone de gérer labonnement au podcast."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Chargement…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}}}},podcast:{remove:{title:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer le podcast"}},info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer ce podcast de manière permanente de la bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Nom de la liste de lecture"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer la file dattente dans une liste de lecture"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Tout actualiser"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement les flux RSS"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Recherche les fichiers ajoutés, supprimés et modifiés"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement la bibliothèque locale"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Actualisation de la bibliothèque en cours…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Analyser les métadonnées des fichiers non modifiés"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Allemand (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Anglais (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Français"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Chinois simplifié (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Chinois traditionnel (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer définitivement ce podcast de votre bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"La piste ne peut pas être lue"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", raison de la restriction : "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Livre audio"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"À propos"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison dun problème réseau"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"Flux HTTP"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Réglages"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Masquer les singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque les singles et tout ce qui leur est associé."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Masquer le contenu de Spotify"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque le contenu qui provient de Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtrer"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artiste Nom"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artiste Date de sortie"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Sorties récentes"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Trier"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Interface utilisateur construite avec "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" et "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compilé avec les options "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},more:{t:0,b:{t:2,i:[{t:3}],s:"plus"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Lectures récentes"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Historique"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"Ajoutez des pistes en parcourant votre bibliothèque"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"En direct"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"La file dattente est vide"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Listes de lecture"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Nouveaux épisodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"File dattente"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Astuce : vous pouvez effectuer une recherche avec une "},{t:4,k:"help"},{t:3,v:" du langage de requête de liste de lecture intelligente en préfixant votre requête avec "},{t:4,k:"query"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Aucun résultat trouvé"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher lalbum"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher lartiste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" artistes"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le livre audio"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le compositeur"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la liste de lecture"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le podcast"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la piste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" pistes"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs dillustrations suivants :"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"Afficher les illustrations dans la liste dalbums"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"Ignorer les illustrations fournies par les stations de radio"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Aucune demande de jumelage active."}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Jumelage de télécommande"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN quelle affiche."}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Jumelage denceinte et vérification dappareil"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de vérification"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Langue"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Si vous sélectionnez plus déléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Sélectionnez les éléments de la barre de navigation supérieure"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Barre de navigation"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « En cours de lecture »"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"Limiter le nombre dalbums affichés"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « Ajouts récents »"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Liste de genres séparés par des virgules pour lesquels le compositeur doit être affiché."},{t:5,i:0},{t:3,v:"Laissez vide pour toujours afficher le compositeur."},{t:5,i:0},{t:3,v:'Létiquette de genre de la piste actuelle est comparée en vérifiant si lun des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont létiquette de genre est "classique contemporain" sera affiché.'}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur uniquement pour les genres listés"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, le compositeur de la piste en cours de lecture est affiché"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le chemin du fichier"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Connectez-vous avec votre nom dutilisateur et votre mot de passe Last.fm pour activer le scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"Le nom dutilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session nexpire pas."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"Loption Last.fm nest pas présente."}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Autoriser laccès à lAPI"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Accordez laccès à lAPI de Spotify."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"Loption Spotify nest pas présente."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Veuillez autoriser à nouveau laccès à lAPI pour accorder à OwnTone les droits daccès supplémentaires suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Vous devez posséder un compte Spotify Premium. Laccès à lAPI de Spotify permet lanalyse de votre bibliothèque Spotify. Les champs dapplication requis sont les suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Accès autorisé pour "},{t:4,k:"user"},{t:3,v:"."}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Mot de passe"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Nom dutilisateur"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Télécommandes et sorties"}},general:{t:0,b:{t:2,i:[{t:3}],s:"Général"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Services en ligne"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture en vedette"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Nouvelle sorties"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Dossier"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Simple"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Effacer lhistorique"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Mettre la lecture en pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Répéter toutes les pistes"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes une fois"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Répéter la piste en cours"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer dans la piste"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer dans la piste"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes aléatoirement"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes dans lordre"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer à la piste précédente"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer à la piste suivante"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Arrêter la lecture"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Voir/Cacher les paroles"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Ajouté le"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Artiste de lalbum"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artiste"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Commentaire"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Compositeur"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Durée"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Dossiers"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Propriétaire"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Emplacement"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de lecture"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularité / Abonnements"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disque / Piste"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualité"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Mise à jour"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de fonctionnement"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Année"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Échec de connexion au serveur"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"La requête a échoué (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"La file dattente enregistrée dans la liste de lecture "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste ajoutée à la file dattente"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes ajoutées à la file dattente"}]}]}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"Aujourdhui"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"La semaine dernière"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Le mois dernier"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Indéfini"}}}}},{"zh-CN":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"添加"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"添加流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"编辑"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隐藏历史"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部标记为已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"标记为最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"标记为已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新扫描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"保存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"显示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"验证"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},url:{t:0,b:{t:2,i:[{t:3}],s:"链接"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"流"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"添加一个可生成播放列表的播客RSS链接这将允许OwnTone管理订阅"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加播客"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"加载中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加流"}}}},podcast:{remove:{title:{t:0,b:{t:2,i:[{t:3}],s:"移除播客"}},info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客?"},{t:4,k:"separator"},{t:3,v:"(这也将移除该播客RSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名称"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"保存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"保存播放清单到列表"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对码"}},title:{t:0,b:{t:2,i:[{t:3}],s:"请求遥控配对"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有内容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"仅更新RSS订阅内容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"扫描新的、删除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"仅更新本地资料库"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地资料库…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新扫描未修改文件的元数据"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"仅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德语 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英语 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法语 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"简体中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客吗?"},{t:4,k:"separator"},{t:3,v:"(这也将移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目无法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP流错误流载入失败或者由于网络原因无法载入"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP流"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"设置"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隐藏单曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏单曲和与其关联的任何内容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隐藏来自Spotify的内容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏 Spotify 中的内容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"艺人 名称"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"艺人 发行日期"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近发行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分类"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面贡献者包括 "},{t:4,k:"bulma"},{t:3,v:""},{t:4,k:"mdi"},{t:3,v:""},{t:4,k:"vuejs"},{t:3,v:""},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"编译支持来自于 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},history:{t:0,b:{t:2,i:[{t:3}],s:"历史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"浏览资料库添加曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清单是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新单集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清单"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表达式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前缀,则可以通过智能播放列表查询语言 "},{t:4,k:"help"},{t:3,v:" 进行搜索"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到结果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示专辑"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个专辑"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示艺人"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示有声书"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 本有声书"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示作曲家"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播放列表"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播客"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示曲目"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中也可以通过广播电台在线提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您还可以从以下素材提供者获取封面:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"在专辑列表中显示封面艺术作品"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"忽略广播电台提供的作品"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"没有活跃的配对请求"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对代码"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"远程配对请求来自于 "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"扬声器配对和设备验证"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"验证码"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},language:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"选择顶部导航栏菜单项"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"导航条"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”页面"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"限制显示的相册数量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近添加”页面"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗号分隔的流派列表,必须显示作曲家所属的流派"},{t:5,i:0},{t:3,v:"留空以始终显示作曲家"},{t:5,i:0},{t:3,v:"通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"仅显示列出的流派的作曲家"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"如果启用,则会显示当前播放曲目的作曲家"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"显示作曲家"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"显示文件路径"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用户名和密码登录以启用记录功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自Last.fm的官方支持"}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授权 API 访问"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予对 Spotify API 的访问权限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"请重新授权 API 访问权限,以授予 OwnTone 以下附加访问权限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必须拥有 Spotify付费帐户。访问 Spotify API 可以扫描您的 Spotify库。所需范围是"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予访问权限 "},{t:4,k:"user"}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密码"}},username:{t:0,b:{t:2,i:[{t:3}],s:"用户名"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遥控和输出"}},general:{t:0,b:{t:2,i:[{t:3}],s:"概览"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在线服务"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新发行"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"简单"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除历史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暂停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重复播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目仅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重复当前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目后退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目前进"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按顺序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏歌词"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"添加时间"}},album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"评论"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"时长"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路径"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"总播放时长"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉丝数"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盘符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"质量"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"只曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"类型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"运行时长"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"无法连接到 OwnTone 服务器"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"请求失败 (状态:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清单以添加到播放列表 "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定义"}}}}},{"zh-TW":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"新增"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"編輯"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隱藏歷史"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部標記為已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"標記為最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"標記為已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新掃描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"儲存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"顯示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"驗證"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},url:{t:0,b:{t:2,i:[{t:3}],s:"鏈接"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"串流"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"新增一個可生成播放列表的Podcast RSS鏈接這將允許OwnTone管理訂閱"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增Podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"載入中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}}}},podcast:{remove:{title:{t:0,b:{t:2,i:[{t:3}],s:"移除Podcast"}},info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast"},{t:4,k:"separator"},{t:3,v:"(這也將移除該PodcastRSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名稱"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"儲存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"儲存播放清單到列表"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對碼"}},title:{t:0,b:{t:2,i:[{t:3}],s:"請求遙控配對"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有內容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"僅更新RSS訂閱內容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"掃描新的、刪除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"僅更新本地資料庫"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地資料庫…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新掃描未修改文件的中繼資料"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"僅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德語 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英語 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法語 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"簡體中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast嗎"},{t:4,k:"separator"},{t:3,v:"(這也將移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目無法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"關於"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流錯誤串流載入失敗或者由於網絡原因無法載入"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"電台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"設定"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隱藏單曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏單曲和與其關聯的任何內容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隱藏來自Spotify的內容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏 Spotify 中的內容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"篩選"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"藝人 名稱"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"藝人 發行日期"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近發行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分類"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面貢獻者包括 "},{t:4,k:"bulma"},{t:3,v:""},{t:4,k:"mdi"},{t:3,v:""},{t:4,k:"vuejs"},{t:3,v:""},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"編譯支持來自於 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},history:{t:0,b:{t:2,i:[{t:3}],s:"歷史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"瀏覽資料庫新增曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清單是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新單集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清單"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"電台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表達式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前綴,則可以通過智能播放列表查詢語言 "},{t:4,k:"help"},{t:3,v:" 進行搜尋"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到結果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示專輯"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個專輯"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示藝人"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示有聲書"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 本有聲書"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示作曲家"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示播放列表"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示Podcast"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示曲目"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面這些封面可以作為單獨的圖像文件放置在庫中或嵌入到媒體文件中也可以通過電台在線提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您還可以從以下素材提供者獲取封面:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"在專輯列表中顯示封面藝術作品"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"忽略電台提供的作品"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"沒有活躍的配對請求"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對代碼"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"遠程配對請求來自於 "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"揚聲器配對和設備驗證"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"驗證碼"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},language:{t:0,b:{t:2,i:[{t:3}],s:"語言"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您選擇的項目多於屏幕上可以顯示的項目,則側邊欄菜單將會消失"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"選擇頂部導航欄菜單項"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"導航條"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”頁面"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"電台"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"限制顯示的相簿數量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近新增”頁面"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗號分隔的音樂類型清單,將顯示作曲家的音樂類型"},{t:5,i:0},{t:3,v:"留空以始終顯示作曲家"},{t:5,i:0},{t:3,v:"通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"僅顯示列出的音樂類型的作曲家"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"如果啟用,則會顯示目前播放曲目的作曲家"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"顯示作曲家"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"顯示檔案路徑"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用戶名和密碼登入以啓用記錄功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不會存儲您的 Last.fm 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無Last.fm的官方支持"}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授權 API 訪問"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予對 Spotify API 的訪問權限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無 Spotify 官方的支持,也未安裝 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"請重新授權 API 訪問權限,以授予 OwnTone 以下附加訪問權限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必須擁有 Spotify付費帳戶。訪問 Spotify API 可以掃描您的 Spotify庫。所需範圍是"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予訪問權限 "},{t:4,k:"user"}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密碼"}},username:{t:0,b:{t:2,i:[{t:3}],s:"用戶名"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遙控和輸出"}},general:{t:0,b:{t:2,i:[{t:3}],s:"概覽"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在線服務"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新發行"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"簡單"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除歷史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暫停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重復播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目僅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重復當前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目後退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目前進"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按順序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"顯示/隱藏歌詞"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"新增時間"}},album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"張專輯"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"評論"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"時長"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路徑"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"總播放時長"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉絲數"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盤符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"品質"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"類型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新於"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"運行時長"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"無法連接到 OwnTone 伺服器"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"請求失敗 (狀態:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清單以新增到播放列表 "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定義"}}}}}),Fo=OO({fallbackLocale:"en",fallbackWarn:!1,locale:navigator.language,messages:VO,missingWarn:!1}),{t:HO}=Fo.global;ut.interceptors.response.use(t=>t.data,t=>(t.request.status&&t.request.responseURL&&_o().add({text:HO("server.request-failed",{cause:t.request.statusText,status:t.request.status,url:t.request.responseURL}),type:"danger"}),Promise.reject(t)));const Jg="./api/pairing",W0={pair(t){return ut.post(Jg,{pin:t})},state(){return ut.get(Jg)}},Sp=Ds("RemotesStore",{actions:{async initialise(){this.$state=await W0.state()}},state:()=>({active:!1,remote:""})}),UO={name:"ModalDialogRemotePairing",components:{ControlPinField:z1,ModalDialog:nr},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:Sp()}},data(){return{disabled:!0,pin:""}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.pair,icon:"vector-link",key:"actions.pair"}]}},methods:{cancel(){this.$emit("close")},onPinChange(t,e){this.pin=t,this.disabled=e},pair(){W0.pair(this.pin).then(()=>{this.pin=""})}}},jO=["textContent"];function BO(t,e,n,s,i,r){const o=w("control-pin-field"),a=w("modal-dialog");return x(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.remote-pairing.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:M(()=>[A("form",{onSubmit:e[0]||(e[0]=un((...l)=>r.pair&&r.pair(...l),["prevent"]))},[A("label",{class:"label",textContent:J(s.remoteStore.remote)},null,8,jO),E(o,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onPinChange},null,8,["placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const WO=st(UO,[["render",BO]]),GO={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},KO={class:"field mb-0 is-flex is-align-items-center"},zO={class:"toggle is-flex is-align-items-center"},qO={class:"control is-flex is-align-items-center"},XO=["checked"],YO={key:0,class:"help mb-4"};function ZO(t,e,n,s,i,r){return x(),$(it,null,[A("div",KO,[A("label",zO,[A("div",qO,[A("input",{checked:n.modelValue,type:"checkbox",class:"toggle-checkbox is-hidden",onChange:e[0]||(e[0]=o=>t.$emit("update:modelValue",!n.modelValue))},null,40,XO),e[1]||(e[1]=A("div",{class:"toggle-switch"},null,-1))]),ne(t.$slots,"label",{},void 0,!0)])]),t.$slots.help?(x(),$("div",YO,[ne(t.$slots,"help",{},void 0,!0)])):vt("",!0)],64)}const Fr=st(GO,[["render",ZO],["__scopeId","data-v-7ef2c522"]]),Be="./api/library",ys="./api/search",Ct={add(t){return ut.post(`${Be}/add`,null,{params:{url:t}})},album(t){return ut.get(`${Be}/albums/${t}`)},albumTracks(t,e={limit:-1,offset:0}){return ut.get(`${Be}/albums/${t}/tracks`,{params:e})},albums(t){return ut.get(`${Be}/albums`,{params:{media_kind:t}})},artist(t){return ut.get(`${Be}/artists/${t}`)},artistAlbums(t){return ut.get(`${Be}/artists/${t}/albums`)},async artistTracks(t){const e={expression:`songartistid is "${t}"`,type:"tracks"};return(await ut.get(ys,{params:e})).tracks},artists(t){return ut.get(`${Be}/artists`,{params:{media_kind:t}})},composer(t){return ut.get(`${Be}/composers/${encodeURIComponent(t)}`)},async composerAlbums(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"albums"};return(await ut.get(ys,{params:e})).albums},async composerTracks(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"tracks"};return(await ut.get(ys,{params:e})).tracks},composers(t){return ut.get(`${Be}/composers`,{params:{media_kind:t}})},files(t){return ut.get(`${Be}/files`,{params:{directory:t}})},async genre(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"genres"};return(await ut.get(ys,{params:n})).genres},async genreAlbums(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"albums"};return(await ut.get(ys,{params:n})).albums},async genreTracks(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"tracks"};return(await ut.get(ys,{params:n})).tracks},async genres(t){const e={expression:`media_kind is ${t}`,type:"genres"};return(await ut.get(ys,{params:e})).genres},async newPodcastEpisodes(){const t={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return(await ut.get(ys,{params:t})).tracks},playlist(t){return ut.get(`${Be}/playlists/${t}`)},playlistDelete(t){return ut.delete(`${Be}/playlists/${t}`)},playlistFolder(t=0){return ut.get(`${Be}/playlists/${t}/playlists`)},playlistTracks(t){return ut.get(`${Be}/playlists/${t}/tracks`)},async podcastEpisodes(t){const e={expression:`media_kind is podcast and songalbumid is "${t}" ORDER BY date_released DESC`,type:"tracks"};return(await ut.get(ys,{params:e})).tracks},async radioStreams(){const t={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return(await ut.get(ys,{params:t})).tracks},rescan(t){return ut.put("./api/rescan",null,{params:{scan_kind:t}})},rssCount(){return ut.get(`${Be}/count`,{params:{expression:"scan_kind is rss"}})},search(t){return ut.get(ys,{params:t})},state(){return ut.get(Be)},track(t){return ut.get(`${Be}/tracks/${t}`)},trackPlaylists(t){return ut.get(`${Be}/tracks/${t}/playlists`)},update(t){return ut.put("./api/update",null,{params:{scan_kind:t}})},updateAlbum(t,e){return ut.put(`${Be}/albums/${t}/tracks`,null,{params:e})},updateTrack(t,e={}){return ut.put(`${Be}/tracks/${t}`,null,{params:e})}},Hu=Ds("LibraryStore",{actions:{async initialise(){this.$state=await Ct.state()}},state:()=>({albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",update_dialog_scan_kind:"",updated_at:"01",updating:!1})}),Os={lastfm(){return ut.get("./api/lastfm")},loginLastfm(t){return ut.post("./api/lastfm-login",t)},logoutLastfm(){return ut.get("./api/lastfm-logout")},logoutSpotify(){return ut.get("./api/spotify-logout")},spotify(){return ut.get("./api/spotify")}},Je=Ds("ServicesStore",{actions:{async initialiseLastfm(){this.lastfm=await Os.lastfm()},initialiseSpotify(){Os.spotify().then(t=>{this.spotify=t,this.spotifyTimerId>0&&(clearTimeout(this.spotifyTimerId),this.spotifyTimerId=0),t.webapi_token_expires_in>0&&t.webapi_token&&(this.spotifyTimerId=setTimeout(()=>this.updateSpotify(),1e3*t.webapi_token_expires_in))})}},getters:{hasMissingSpotifyScopes:t=>t.missingSpotifyScopes.length>0,isAuthorizationRequired:t=>!t.isSpotifyActive||t.hasMissingSpotifyScopes,isLastfmActive:t=>t.lastfm.scrobbling_enabled,isLastfmEnabled:t=>t.lastfm.enabled,isSpotifyActive:t=>t.spotify.webapi_token_valid,isSpotifyEnabled:t=>t.spotify.spotify_installed,grantedSpotifyScopes:t=>{var e;return((e=t.spotify.webapi_granted_scope)==null?void 0:e.split(" "))??[]},missingSpotifyScopes(t){const e=new Set(t.grantedSpotifyScopes);return t.requiredSpotifyScopes.filter(n=>!e.has(n))??[]},requiredSpotifyScopes:t=>{var e;return((e=t.spotify.webapi_required_scope)==null?void 0:e.split(" "))??[]}},state:()=>({lastfm:{},spotify:{},spotifyTimerId:0})}),JO={name:"ModalDialogUpdate",components:{ControlSwitch:Fr,ModalDialog:nr},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:Hu(),servicesStore:Je()}},data(){return{rescanMetadata:!1}},computed:{actions(){const t=[{handler:this.cancel,icon:"cancel",key:"actions.cancel"}];return this.libraryStore.updating||t.push({handler:this.analyse,icon:"check",key:"actions.rescan"}),t}},methods:{analyse(){this.rescanMetadata?Ct.rescan(this.libraryStore.update_dialog_scan_kind):Ct.update(this.libraryStore.update_dialog_scan_kind)},cancel(){this.$emit("close"),this.libraryStore.update_dialog_scan_kind=""}}},QO={key:0},tx={key:0,class:"field"},ex=["textContent"],nx={class:"control"},sx={class:"select is-small"},ix=["textContent"],rx=["textContent"],ox=["textContent"],ax=["textContent"],lx=["textContent"],cx={key:1},ux=["textContent"];function dx(t,e,n,s,i,r){const o=w("control-switch"),a=w("modal-dialog");return x(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.update.title"),onClose:e[2]||(e[2]=l=>t.$emit("close"))},{content:M(()=>[s.libraryStore.updating?(x(),$("div",cx,[A("div",{class:"mb-3",textContent:J(t.$t("dialog.update.progress"))},null,8,ux)])):(x(),$("div",QO,[s.servicesStore.isSpotifyActive?(x(),$("div",tx,[A("label",{class:"label",textContent:J(t.$t("dialog.update.info"))},null,8,ex),A("div",nx,[A("div",sx,[Qn(A("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.libraryStore.update_dialog_scan_kind=l)},[A("option",{value:"",textContent:J(t.$t("dialog.update.all"))},null,8,ix),A("option",{value:"files",textContent:J(t.$t("dialog.update.local"))},null,8,rx),s.servicesStore.isSpotifyActive?(x(),$("option",{key:0,value:"spotify",textContent:J(t.$t("dialog.update.spotify"))},null,8,ox)):vt("",!0),A("option",{value:"rss",textContent:J(t.$t("dialog.update.feeds"))},null,8,ax)],512),[[lp,s.libraryStore.update_dialog_scan_kind]])])])])):vt("",!0),E(o,{modelValue:i.rescanMetadata,"onUpdate:modelValue":e[1]||(e[1]=l=>i.rescanMetadata=l)},{label:M(()=>[A("span",{textContent:J(t.$t("dialog.update.rescan-metadata"))},null,8,lx)]),_:1},8,["modelValue"])]))]),_:1},8,["actions","show","title"])}const fx=st(JO,[["render",dx]]),ts=Ds("UIStore",{actions:{hideMenus(){this.showBurgerMenu=!1,this.showPlayerMenu=!1},toggleBurgerMenu(){this.showPlayerMenu=!1,this.showBurgerMenu=!this.showBurgerMenu},togglePlayerMenu(){this.showBurgerMenu=!1,this.showPlayerMenu=!this.showPlayerMenu},toggleHideReadItems(){this.hideReadItems=!this.hideReadItems}},state:()=>({albumsSort:1,artistAlbumsSort:1,artistTracksSort:1,artistsSort:1,composerTracksSort:1,genreTracksSort:1,hideReadItems:!1,hideSingles:!1,hideSpotify:!1,showBurgerMenu:!1,showPlayerMenu:!1,showUpdateDialog:!1})}),hx={name:"ControlLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:ts()}},methods:{open(){this.uiStore.hideMenus(),this.$router.push(this.to)}}},px=["href"];function mx(t,e,n,s,i,r){return x(),$("a",{href:t.$router.resolve(n.to).href,onClick:e[0]||(e[0]=un((...o)=>r.open&&r.open(...o),["stop","prevent"]))},[ne(t.$slots,"default")],8,px)}const G0=st(hx,[["render",mx]]),Ep={name:"ControlSlider",props:{disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},Qg=()=>{rp(t=>({bd29f1ec:t.ratio}))},ty=Ep.setup;Ep.setup=ty?(t,e)=>(Qg(),ty(t,e)):Qg;const gx=["value","disabled","max"];function yx(t,e,n,s,i,r){return x(),$("input",{value:n.value,disabled:n.disabled,class:Kt(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",onInput:e[0]||(e[0]=o=>t.$emit("update:value",o.target.valueAsNumber))},null,42,gx)}const Uu=st(Ep,[["render",yx],["__scopeId","data-v-5e59e39b"]]),ns="./api/player",sn={consume(t){return ut.put(`${ns}/consume`,null,{params:{state:t}})},next(){return ut.put(`${ns}/next`)},pause(){return ut.put(`${ns}/pause`)},play(t={}){return ut.put(`${ns}/play`,null,{params:t})},previous(){return ut.put(`${ns}/previous`)},repeat(t){return ut.put(`${ns}/repeat`,null,{params:{state:t}})},seek(t){return ut.put(`${ns}/seek`,null,{params:{seek_ms:t}})},seekToPosition(t){return ut.put(`${ns}/seek`,null,{params:{position_ms:t}})},setVolume(t,e=null){const n={volume:t,...e!==null&&{output_id:e}};return ut.put(`${ns}/volume`,null,{params:n})},shuffle(t){return ut.put(`${ns}/shuffle`,null,{params:{state:t}})},state(){return ut.get(ns)},stop(){return ut.put(`${ns}/stop`)}},{t:ey}=Fo.global,Oi="./api/queue",ce={addUri(t,e=!1){return this.addToQueue({uris:t},e)},addExpression(t,e=!1){return this.addToQueue({expression:t},e)},async addToQueue(t,e=!1){if(e){const{current:s}=Rs();s!=null&&s.id&&(t.position=s.position+1)}const n=await ut.post(`${Oi}/items/add`,null,{params:t});return _o().add({text:ey("server.appended-tracks",{count:n.count}),timeout:2e3,type:"info"}),n},clear(){return ut.put(`${Oi}/clear`)},move(t,e){return ut.put(`${Oi}/items/${t}`,null,{params:{new_position:e}})},playExpression(t,e,n){const s={clear:"true",expression:t,playback:"start",playback_from_position:n,shuffle:e};return ut.post(`${Oi}/items/add`,null,{params:s})},playUri(t,e,n){const s={clear:"true",playback:"start",playback_from_position:n,shuffle:e,uris:t};return ut.post(`${Oi}/items/add`,null,{params:s})},remove(t){return ut.delete(`${Oi}/items/${t}`)},async saveToPlaylist(t){const{data:e}=await ut.post(`${Oi}/save`,null,{params:{name:t}});return _o().add({text:ey("server.queue-saved",{name:t}),timeout:2e3,type:"info"}),e},state(){return ut.get(Oi)}},Vo=Ds("ConfigurationStore",{state:()=>({allow_modifying_stored_playlists:!1,buildoptions:[],default_playlist_directory:"",library_name:"",version:"",websocket_port:0})}),Rs=Ds("QueueStore",{actions:{async initialise(){this.$state=await ce.state()}},getters:{current(t){const e=Wn();return t.items.find(n=>n.id===e.item_id)??{}},isEmpty(t){return t.items.length===0},isPauseAllowed(t){return t.current&&t.current.data_kind!=="pipe"},isSavingAllowed(){const t=Vo();return t.allow_modifying_stored_playlists&&t.default_playlist_directory}},state:()=>({count:0,items:[],version:0})}),Wn=Ds("PlayerStore",{actions:{async initialise(){this.$state=await sn.state();const t=Rs();t.current.track_id&&Ct.track(t.current.track_id).then(e=>{this.lyricsContent=e.lyrics||""})}},getters:{isPlaying:t=>t.state==="play",isRepeatAll:t=>t.repeat==="all",isRepeatOff:t=>t.repeat==="off",isRepeatSingle:t=>t.repeat==="single",isStopped:t=>t.state==="stop"},state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,lyricsContent:"",repeat:"off",showLyrics:!1,shuffle:!1,state:"stop",volume:0})}),bx={name:"ControlVolume",components:{ControlSlider:Uu},setup(){return{player:Wn()}},data(){return{volume:0}},computed:{icon(){return this.player.volume>0?"volume-high":"volume-off"}},watch:{"player.volume"(){this.player.volume>0&&(this.volume=this.player.volume)}},methods:{changeVolume(){sn.setVolume(this.player.volume)},toggle(){this.player.volume=this.player.volume>0?0:this.volume,this.changeVolume()}}},vx={class:"media is-align-items-center mb-0"},_x={class:"media-left"},Sx={class:"media-content"},Ex=["textContent"];function wx(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return x(),$("div",vx,[A("div",_x,[A("button",{class:"button is-small",onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[E(o,{class:"icon",name:r.icon},null,8,["name"])])]),A("div",Sx,[A("div",{class:"is-size-7 is-uppercase",textContent:J(t.$t("navigation.volume"))},null,8,Ex),E(a,{value:s.player.volume,"onUpdate:value":e[1]||(e[1]=l=>s.player.volume=l),max:100,onChange:r.changeVolume},null,8,["value","onChange"])])])}const kx=st(bx,[["render",wx]]),jd="./api/outputs",Vc={toggle(t){return ut.put(`${jd}/${t}/toggle`)},state(){return ut.get(jd)},update(t,e){return ut.put(`${jd}/${t}`,e)}},Tx={name:"ControlOutputVolume",components:{ControlSlider:Uu},props:{output:{required:!0,type:Object}},data(){return{volume:this.output.selected?this.output.volume:0}},computed:{icon(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{changeVolume(){sn.setVolume(this.volume,this.output.id)},toggle(){Vc.update(this.output.id,{selected:!this.output.selected})}}},Cx={class:"media is-align-items-center mb-0"},Ax={class:"media-left"},Ox={class:"media-content"},xx=["textContent"];function Ix(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return x(),$("div",Cx,[A("div",Ax,[A("button",{class:Kt(["button is-small",{"has-text-grey-light":!n.output.selected}]),onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[E(o,{class:"icon",name:r.icon,title:n.output.type},null,8,["name","title"])],2)]),A("div",Ox,[A("div",{class:Kt(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:J(n.output.name)},null,10,xx),E(a,{value:i.volume,"onUpdate:value":e[1]||(e[1]=l=>i.volume=l),disabled:!n.output.selected,max:100,onChange:r.changeVolume},null,8,["value","disabled","onChange"])])])}const Nx=st(Tx,[["render",Ix]]),Px={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Rs()}},computed:{disabled(){var t;return((t=this.queueStore)==null?void 0:t.count)<=0||this.playerStore.isStopped||this.queueStore.current.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){sn.seek(this.offset*-1)}}},Dx=["disabled"];function Mx(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(x(),$("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[E(o,{class:"icon",name:"rewind-10",title:t.$t("player.button.seek-backward")},null,8,["title"])],8,Dx)):vt("",!0)}const Rx=st(Px,[["render",Mx]]),Lx={name:"ControlPlayerConsume",setup(){return{playerStore:Wn()}},methods:{toggle(){sn.consume(!this.playerStore.consume)}}};function $x(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{class:Kt({"is-dark":s.playerStore.consume}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:"fire",size:"16",title:t.$t("player.button.consume")},null,8,["title"])],2)}const Fx=st(Lx,[["render",$x]]),Vx={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Rs()}},computed:{disabled(){var t;return((t=this.queueStore)==null?void 0:t.count)<=0||this.playerStore.isStopped||this.queueStore.current.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){sn.seek(this.offset)}}},Hx=["disabled"];function Ux(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(x(),$("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[E(o,{class:"icon",name:"fast-forward-30",title:t.$t("player.button.seek-forward")},null,8,["title"])],8,Hx)):vt("",!0)}const jx=st(Vx,[["render",Ux]]),Bx={name:"ControlPlayerLyrics",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.showLyrics?"script-text-play":"script-text-outline"}},methods:{toggle(){this.playerStore.showLyrics=!this.playerStore.showLyrics}}};function Wx(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{class:Kt({"is-dark":s.playerStore.showLyrics}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t("player.button.toggle-lyrics")},null,8,["name","title"])],2)}const Gx=st(Bx,[["render",Wx]]),Kx={name:"ControlPlayerNext",setup(){return{queueStore:Rs()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{next(){sn.next()}}},zx=["disabled"];function qx(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.next&&r.next(...a))},[E(o,{class:"icon",name:"skip-forward",title:t.$t("player.button.skip-forward")},null,8,["title"])],8,zx)}const Xx=st(Kx,[["render",qx]]),Yx={name:"ControlPlayerPlay",setup(){return{playerStore:Wn(),queueStore:Rs()}},computed:{disabled(){var t;return((t=this.queueStore)==null?void 0:t.count)<=0},icon(){if(this.playerStore.isPlaying){if(this.queueStore.isPauseAllowed)return"pause"}else return"play";return"stop"}},methods:{toggle(){this.playerStore.isPlaying&&this.queueStore.isPauseAllowed?sn.pause():this.playerStore.isPlaying&&!this.queueStore.isPauseAllowed?sn.stop():sn.play()}}},Zx=["disabled"];function Jx(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],8,Zx)}const Qx=st(Yx,[["render",Jx]]),tI={name:"ControlPlayerPrevious",setup(){return{queueStore:Rs()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{previous(){sn.previous()}}},eI=["disabled"];function nI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.previous&&r.previous(...a))},[E(o,{class:"icon",name:"skip-backward",title:t.$t("player.button.skip-backward")},null,8,["title"])],8,eI)}const sI=st(tI,[["render",nI]]),iI={name:"ControlPlayerRepeat",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.isRepeatAll?"repeat":this.playerStore.isRepeatSingle?"repeat-once":"repeat-off"}},methods:{toggle(){this.playerStore.isRepeatAll?sn.repeat("single"):this.playerStore.isRepeatSingle?sn.repeat("off"):sn.repeat("all")}}};function rI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{class:Kt({"is-dark":!s.playerStore.isRepeatOff}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const oI=st(iI,[["render",rI]]),aI={name:"ControlPlayerShuffle",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle(){sn.shuffle(!this.playerStore.shuffle)}}};function lI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{class:Kt({"is-dark":s.playerStore.shuffle}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const cI=st(aI,[["render",lI]]),Ml={audio:null,play(t){this.audio=new Audio(`${String(t||"")}?x=${Date.now()}`),this.audio.crossOrigin="anonymous";const e=new(window.AudioContext||window.webkitAudioContext);e.createMediaElementSource(this.audio).connect(e.destination),this.audio.addEventListener("canplay",()=>{e.resume().then(()=>{this.audio.play()})}),this.audio.load()},setVolume(t){this.audio&&(this.audio.volume=Math.max(0,Math.min(1,Number(t)||0)))},stop(){var t;try{(t=this.audio)==null||t.pause()}catch{}}},uI={name:"ControlStreamVolume",components:{ControlSlider:Uu},emits:["change","mute"],data(){return{loading:!1,playing:!1,volume:10}},unmounted(){this.closeAudio()},methods:{changeVolume(){Ml.setVolume(this.volume/100)},closeAudio(){Ml.stop(),this.playing=!1,this.loading=!1},playChannel(){this.loading=!0,Ml.play("/stream.mp3"),this.changeVolume();const t=Ml.audio;t&&(t.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),t.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),t.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),t.addEventListener("error",()=>{this.closeAudio()}))},togglePlay(){this.playing||this.loading?this.closeAudio():this.playChannel()}}},dI={class:"media is-align-items-center mb-0"},fI={class:"media-left"},hI={class:"media-content is-align-items-center"},pI=["textContent"],mI={href:"stream.mp3",class:"ml-2",target:"_blank"};function gI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return x(),$("div",dI,[A("div",fI,[A("button",{class:Kt(["button is-small",{"has-text-grey-light":!i.playing&&!i.loading,"is-loading":i.loading}]),onClick:e[0]||(e[0]=(...l)=>r.togglePlay&&r.togglePlay(...l))},[E(o,{class:"icon",name:"broadcast"})],2)]),A("div",hI,[A("div",{class:Kt(["is-flex",{"has-text-grey-light":!i.playing}])},[A("div",{class:"is-size-7 is-uppercase",textContent:J(t.$t("navigation.stream"))},null,8,pI),A("a",mI,[E(o,{class:"icon is-small",name:"open-in-new"})])],2),E(a,{value:i.volume,"onUpdate:value":e[1]||(e[1]=l=>i.volume=l),disabled:!i.playing,max:100,onChange:r.changeVolume},null,8,["value","disabled","onChange"])])])}const yI=st(uI,[["render",gI]]),wp=Ds("OutputsStore",{actions:{async initialise(){this.$state=await Vc.state()}},state:()=>({outputs:[]})}),bI={name:"NavbarBottom",components:{ControlLink:G0,ControlMainVolume:kx,ControlOutputVolume:Nx,ControlPlayerBack:Rx,ControlPlayerConsume:Fx,ControlPlayerForward:jx,ControlPlayerLyrics:Gx,ControlPlayerNext:Xx,ControlPlayerPlay:Qx,ControlPlayerPrevious:sI,ControlPlayerRepeat:oI,ControlPlayerShuffle:cI,ControlStreamVolume:yI},setup(){return{notificationsStore:_o(),outputsStore:wp(),queueStore:Rs(),uiStore:ts()}},computed:{isNowPlayingPage(){return this.$route.name==="now-playing"}}},vI={class:"navbar-brand is-flex-grow-1"},_I={class:"is-text-clipped"},SI=["textContent"],EI=["textContent"],wI=["textContent"],kI={class:"dropdown-menu is-mobile"},TI={class:"dropdown-content"},CI={class:"dropdown-item pt-0"},AI={class:"dropdown-item is-flex is-justify-content-center"},OI={class:"buttons has-addons"};function xI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link"),l=w("control-player-previous"),c=w("control-player-back"),u=w("control-player-play"),d=w("control-player-forward"),f=w("control-player-next"),h=w("control-main-volume"),p=w("control-output-volume"),m=w("control-stream-volume"),b=w("control-player-repeat"),y=w("control-player-shuffle"),_=w("control-player-consume"),g=w("control-player-lyrics");return x(),$("nav",{class:Kt(["navbar is-fixed-bottom",{"is-dark":!r.isNowPlayingPage}])},[A("div",vI,[E(a,{class:"navbar-item",to:{name:"queue"}},{default:M(()=>[E(o,{class:"icon",name:"playlist-play"})]),_:1}),r.isNowPlayingPage?(x(),$(it,{key:0},[E(l,{class:"navbar-item ml-auto"}),E(c,{class:"navbar-item",offset:1e4}),E(u,{class:"navbar-item"}),E(d,{class:"navbar-item",offset:3e4}),E(f,{class:"navbar-item mr-auto"})],64)):(x(),$(it,{key:1},[E(a,{to:{name:"now-playing"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:M(()=>[A("div",_I,[A("strong",{textContent:J(s.queueStore.current.title)},null,8,SI),e[1]||(e[1]=A("br",null,null,-1)),A("span",{textContent:J(s.queueStore.current.artist)},null,8,EI),s.queueStore.current.album?(x(),$("span",{key:0,textContent:J(t.$t("navigation.now-playing",{album:s.queueStore.current.album}))},null,8,wI)):vt("",!0)])]),_:1}),E(u,{class:"navbar-item"})],64)),A("a",{class:"navbar-item",onClick:e[0]||(e[0]=(...v)=>s.uiStore.togglePlayerMenu&&s.uiStore.togglePlayerMenu(...v))},[E(o,{class:"icon",name:s.uiStore.showPlayerMenu?"chevron-down":"chevron-up"},null,8,["name"])]),A("div",{class:Kt(["dropdown is-up is-right",{"is-active":s.uiStore.showPlayerMenu}])},[A("div",kI,[A("div",TI,[A("div",CI,[E(h),(x(!0),$(it,null,ae(s.outputsStore.outputs,v=>(x(),yt(p,{key:v.id,output:v},null,8,["output"]))),128)),E(m)]),e[2]||(e[2]=A("hr",{class:"dropdown-divider"},null,-1)),A("div",AI,[A("div",OI,[E(b,{class:"button"}),E(y,{class:"button"}),E(_,{class:"button"}),E(g,{class:"button"})])])])])],2)])],2)}const II=st(bI,[["render",xI],["__scopeId","data-v-6c736c26"]]),kp=Ds("SearchStore",{actions:{add(t){const e=this.history.indexOf(t);e!==-1&&this.history.splice(e,1),this.history.unshift(t),this.history.length>5&&this.history.pop()},remove(t){const e=this.history.indexOf(t);e!==-1&&this.history.splice(e,1)}},state:()=>({history:[],query:"",source:"search-library"})}),ny="./api/settings",K0={state(){return ut.get(ny)},update(t){return ut.put(`${ny}/${t.category}/${t.name}`,t)}},{t:NI,availableLocales:PI}=Fo.global,Si=Ds("SettingsStore",{actions:{get(t,e){var n;return((n=this.categories.find(s=>s.name===t))==null?void 0:n.options.find(s=>s.name===e))??{}},async initialise(){this.$state=await K0.state()},update(t){const e=this.categories.find(s=>s.name===t.category);if(!e)return;const n=e.options.find(s=>s.name===t.name);n&&(n.value=t.value)}},getters:{locales(){return PI.map(t=>({id:t,name:NI(`language.${t}`)}))},recentlyAddedLimit:t=>{var e;return((e=t.get("webinterface","recently_added_limit"))==null?void 0:e.value)??100},showComposerForGenre:t=>{var e;return((e=t.get("webinterface","show_composer_for_genre"))==null?void 0:e.value)??null},showComposerNowPlaying:t=>{var e;return((e=t.get("webinterface","show_composer_now_playing"))==null?void 0:e.value)??!1},showCoverArtworkInAlbumLists:t=>{var e;return((e=t.get("artwork","show_cover_artwork_in_album_lists"))==null?void 0:e.value)??!1},showFilepathNowPlaying:t=>{var e;return((e=t.get("webinterface","show_filepath_now_playing"))==null?void 0:e.value)??!1},showMenuItemAudiobooks:t=>{var e;return((e=t.get("webinterface","show_menu_item_audiobooks"))==null?void 0:e.value)??!1},showMenuItemFiles:t=>{var e;return((e=t.get("webinterface","show_menu_item_files"))==null?void 0:e.value)??!1},showMenuItemMusic:t=>{var e;return((e=t.get("webinterface","show_menu_item_music"))==null?void 0:e.value)??!1},showMenuItemPlaylists:t=>{var e;return((e=t.get("webinterface","show_menu_item_playlists"))==null?void 0:e.value)??!1},showMenuItemPodcasts:t=>{var e;return((e=t.get("webinterface","show_menu_item_podcasts"))==null?void 0:e.value)??!1},showMenuItemRadio:t=>{var e;return((e=t.get("webinterface","show_menu_item_radio"))==null?void 0:e.value)??!1},showMenuItemSearch:t=>{var e;return((e=t.get("webinterface","show_menu_item_search"))==null?void 0:e.value)??!1}},state:()=>({categories:[]})}),DI={name:"NavbarTop",components:{ControlLink:G0},setup(){return{searchStore:kp(),servicesStore:Je(),settingsStore:Si(),uiStore:ts()}},computed:{menus(){return[{icon:"music-box-multiple",key:"navigation.playlists",name:"playlists",show:this.settingsStore.showMenuItemPlaylists},{icon:"music",key:"navigation.music",name:"music",show:this.settingsStore.showMenuItemMusic},{key:"navigation.artists",name:"music-artists",show:!0,sub:!0},{key:"navigation.albums",name:"music-albums",show:!0,sub:!0},{key:"navigation.genres",name:"music-genres",show:!0,sub:!0},{key:"navigation.composers",name:"music-composers",show:!0,sub:!0},{key:"navigation.spotify",name:"music-spotify",show:this.servicesStore.isSpotifyActive,sub:!0},{icon:"microphone",key:"navigation.podcasts",name:"podcasts",show:this.settingsStore.showMenuItemPodcasts},{icon:"book-open-variant",key:"navigation.audiobooks",name:"audiobooks",show:this.settingsStore.showMenuItemAudiobooks},{icon:"radio",key:"navigation.radio",name:"radio",show:this.settingsStore.showMenuItemRadio},{icon:"folder-open",key:"navigation.files",name:"files",show:this.settingsStore.showMenuItemFiles},{icon:"magnify",key:"navigation.search",name:this.searchStore.source,show:this.settingsStore.showMenuItemSearch},{separator:!0,show:!0},{key:"navigation.settings",name:"settings-webinterface",show:!0},{action:this.openUpdateDialog,key:"navigation.update-library",show:!0},{key:"navigation.about",name:"about",show:!0}]},zindex(){return this.uiStore.showPlayerMenu?"z-index: 21":""}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0,this.uiStore.hideMenus()}}},MI={class:"navbar-brand is-flex-grow-1"},RI={class:"dropdown-menu is-mobile"},LI={class:"dropdown-content"},$I={key:0,class:"my-3"},FI=["onClick","textContent"],VI={key:0,class:"icon-text"},HI=["textContent"];function UI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link");return x(),$("nav",{class:"navbar is-fixed-top is-light",style:Rr(r.zindex)},[A("div",MI,[(x(!0),$(it,null,ae(r.menus.filter(l=>l.show&&l.icon),l=>(x(),yt(a,{key:l.name,to:{name:l.name},class:"navbar-item"},{default:M(()=>[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])]),_:2},1032,["to"]))),128)),A("a",{class:"navbar-item ml-auto",onClick:e[0]||(e[0]=(...l)=>s.uiStore.toggleBurgerMenu&&s.uiStore.toggleBurgerMenu(...l))},[E(o,{class:"icon",name:s.uiStore.showBurgerMenu?"close":"menu"},null,8,["name"])]),A("div",{class:Kt(["dropdown is-right",{"is-active":s.uiStore.showBurgerMenu}])},[A("div",RI,[A("div",LI,[(x(!0),$(it,null,ae(r.menus.filter(l=>l.show),l=>(x(),$(it,{key:l.name},[l.separator?(x(),$("hr",$I)):l.action?(x(),$("a",{key:1,class:"dropdown-item",onClick:un(l.action,["stop","prevent"]),textContent:J(t.$t(l.key))},null,8,FI)):(x(),yt(a,{key:2,to:{name:l.name},class:"dropdown-item"},{default:M(()=>[l.icon?(x(),$("span",VI,[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])])):vt("",!0),A("span",{class:Kt({"pl-5":l.sub,"has-text-weight-semibold":l.icon}),textContent:J(t.$t(l.key))},null,10,HI)]),_:2},1032,["to"]))],64))),128))])])],2)])],4)}const jI=st(DI,[["render",UI]]);function ju(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Bu(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var rc={exports:{}},BI=rc.exports,sy;function WI(){return sy||(sy=1,function(t){(function(e,n){t.exports?t.exports=n():e.ReconnectingWebSocket=n()})(BI,function(){if(!("WebSocket"in window))return;function e(n,s,i){var r={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};i||(i={});for(var o in r)typeof i[o]<"u"?this[o]=i[o]:this[o]=r[o];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,u=!1,d=document.createElement("div");d.addEventListener("open",function(h){a.onopen(h)}),d.addEventListener("close",function(h){a.onclose(h)}),d.addEventListener("connecting",function(h){a.onconnecting(h)}),d.addEventListener("message",function(h){a.onmessage(h)}),d.addEventListener("error",function(h){a.onerror(h)}),this.addEventListener=d.addEventListener.bind(d),this.removeEventListener=d.removeEventListener.bind(d),this.dispatchEvent=d.dispatchEvent.bind(d);function f(h,p){var m=document.createEvent("CustomEvent");return m.initCustomEvent(h,!1,!1,p),m}this.open=function(h){if(l=new WebSocket(a.url,s||[]),h){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else d.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var p=l,m=setTimeout(function(){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),u=!0,p.close(),u=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(m),(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var y=f("open");y.isReconnect=h,h=!1,d.dispatchEvent(y)},l.onclose=function(b){if(clearTimeout(_),l=null,c)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var y=f("connecting");y.code=b.code,y.reason=b.reason,y.wasClean=b.wasClean,d.dispatchEvent(y),!h&&!u&&((a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),d.dispatchEvent(f("close")));var _=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},_>a.maxReconnectInterval?a.maxReconnectInterval:_)}},l.onmessage=function(b){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var y=f("message");y.data=b.data,d.dispatchEvent(y)},l.onerror=function(b){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),d.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(h){if(l)return(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,h),l.send(h);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(h,p){typeof h>"u"&&(h=1e3),c=!0,l&&l.close(h,p)},this.refresh=function(){l&&l.close()}}return e.prototype.onopen=function(n){},e.prototype.onclose=function(n){},e.prototype.onconnecting=function(n){},e.prototype.onmessage=function(n){},e.prototype.onerror=function(n){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})}(rc)),rc.exports}var GI=WI();const KI=ju(GI),z0={list(){return ut.get("./api/config")}},zI={name:"App",components:{ListNotifications:Gk,ModalDialogRemotePairing:WO,ModalDialogUpdate:fx,NavbarBottom:II,NavbarTop:jI},setup(){return{configurationStore:Vo(),libraryStore:Hu(),notificationsStore:_o(),outputsStore:wp(),playerStore:Wn(),queueStore:Rs(),remotesStore:Sp(),servicesStore:Je(),settingsStore:Si(),uiStore:ts()}},data(){return{updateThrottled:!1}},watch:{"uiStore.showBurgerMenu"(){this.updateClipping()},"uiStore.showPlayerMenu"(){this.updateClipping()}},created(){this.connect(),this.$router.beforeEach((t,e,n)=>{this.updateClipping(),t.path===e.path&&t.hash||(t.meta.progress&&this.$Progress.parseMeta(t.meta.progress),this.$Progress.start()),n()}),this.$router.afterEach(()=>{this.$Progress.finish()})},methods:{connect(){z0.list().then(t=>{this.configurationStore.$state=t,this.uiStore.hideSingles=t.hide_singles,document.title=t.library_name,this.openWebsocket(),this.$Progress.finish()}).catch(()=>{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})})},openWebsocket(){const t=this.createWebsocket(),e=["database","lastfm","options","outputs","pairing","player","queue","settings","spotify","update","volume"];t.onopen=()=>{t.send(JSON.stringify({notify:e})),this.handleEvents(e)},window.addEventListener("focus",()=>{this.handleEvents(e)}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.handleEvents(e)}),t.onmessage=n=>{this.handleEvents(JSON.parse(n.data).notify)}},createWebsocket(){const t=window.location.protocol.replace("http","ws"),e=window.location.hostname,n=this.configurationStore.websocket_port||`${window.location.port}/ws`,s=`${t}${e}:${n}`;return new KI(s,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},handleEvents(t=[]){if(this.updateThrottled)return;const e=[{events:["update","database"],handler:this.libraryStore.initialise},{events:["player","options","volume"],handler:this.playerStore.initialise},{events:["outputs","volume"],handler:this.outputsStore.initialise},{events:["queue"],handler:this.queueStore.initialise},{events:["settings"],handler:this.settingsStore.initialise},{events:["spotify"],handler:this.servicesStore.initialiseSpotify},{events:["lastfm"],handler:this.servicesStore.initialiseLastfm},{events:["pairing"],handler:this.remotesStore.initialise}],n=new Set(t);e.forEach(({handler:s,events:i})=>{i.some(r=>n.has(r))&&s.call(this)}),this.updateThrottled=!0,setTimeout(()=>{this.updateThrottled=!1},500)},updateClipping(){this.uiStore.showBurgerMenu||this.uiStore.showPlayerMenu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}}};function qI(t,e,n,s,i,r){const o=w("vue-progress-bar"),a=w("navbar-top"),l=w("router-view"),c=w("modal-dialog-remote-pairing"),u=w("modal-dialog-update"),d=w("list-notifications"),f=w("navbar-bottom");return x(),$(it,null,[E(o,{class:"has-background-primary"}),E(a),E(l,null,{default:M(({Component:h})=>[(x(),yt(Tu(h)))]),_:1}),E(c,{show:s.remotesStore.active,onClose:e[0]||(e[0]=h=>s.remotesStore.active=!1)},null,8,["show"]),E(u,{show:s.uiStore.showUpdateDialog,onClose:e[1]||(e[1]=h=>s.uiStore.showUpdateDialog=!1)},null,8,["show"]),Qn(E(d,null,null,512),[[Ic,!s.uiStore.showBurgerMenu]]),E(f),Qn(A("div",{class:"overlay-fullscreen",onClick:e[2]||(e[2]=(...h)=>s.uiStore.hideMenus&&s.uiStore.hideMenus(...h))},null,512),[[Ic,s.uiStore.showBurgerMenu||s.uiStore.showPlayerMenu]])],64)}const XI=st(zI,[["render",qI]]),q0=function(){return document.ontouchstart!==null?"click":"touchstart"},Hc="__vue_click_away__",X0=function(t,e,n){Y0(t);let s=n.context,i=e.value,r=!1;setTimeout(function(){r=!0},0),t[Hc]=function(o){if((!t||!t.contains(o.target))&&i&&r&&typeof i=="function")return i.call(s,o)},document.addEventListener(q0(),t[Hc],!1)},Y0=function(t){document.removeEventListener(q0(),t[Hc],!1),delete t[Hc]},YI=function(t,e,n){e.value!==e.oldValue&&X0(t,e,n)},ZI={install:function(t){t.directive("click-away",JI)}},JI={mounted:X0,updated:YI,unmounted:Y0};var Hs=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(Hs||{});const QI=typeof window<"u"&&window!==null,tN=iN(),eN=Object.prototype.propertyIsEnumerable,iy=Object.getOwnPropertySymbols;function _a(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function nN(t){return typeof t=="object"?t===null:typeof t!="function"}function sN(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function iN(){return QI&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function rN(t,...e){if(!_a(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof iy!="function")return t;for(const n of e){const s=iy(n);for(const i of s)eN.call(n,i)&&(t[i]=n[i])}return t}function Z0(t,...e){let n=0;for(nN(t)&&(t=e[n++]),t||(t={});n<e.length;n++)if(_a(e[n])){for(const s of Object.keys(e[n]))sN(s)&&(_a(t[s])&&_a(e[n][s])?Z0(t[s],e[n][s]):t[s]=e[n][s]);rN(t,e[n])}return t}const ry="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",oN="",aN={rootMargin:"0px",threshold:0},Gr="data-lazy-timeout-id";class lN{constructor(e){this.options={loading:ry,error:oN,observerOptions:aN,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(e)}config(e={}){Z0(this.options,e)}mount(e,n){if(!e)return;const{src:s,loading:i,error:r,lifecycle:o,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Hs.LOADING,o,e),e.setAttribute("src",i||ry),tN||(this.loadImages(e,s,r,o),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,s,r,o,a)}update(e,n){var a;if(!e)return;(a=this._realObserver(e))==null||a.unobserve(e);const{src:s,error:i,lifecycle:r,delay:o}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(e,s,i,r,o)}unmount(e){var n;e&&((n=this._realObserver(e))==null||n.unobserve(e),this._images.delete(e))}loadImages(e,n,s,i){this._setImageSrc(e,n,s,i)}_setImageSrc(e,n,s,i){e.tagName.toLowerCase()==="img"?(n&&e.getAttribute("src")!==n&&e.setAttribute("src",n),this._listenImageStatus(e,()=>{this._lifecycle(Hs.LOADED,i,e)},()=>{var r;e.onload=null,this._lifecycle(Hs.ERROR,i,e),(r=this._realObserver(e))==null||r.disconnect(),s&&e.getAttribute("src")!==s&&e.setAttribute("src",s),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):e.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(e,n,s,i,r){var a;const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{r&&r>0?this._delayedIntersectionCallback(e,c,r,n,s,i):this._intersectionCallback(e,c,n,s,i)})},o)),(a=this._realObserver(e))==null||a.observe(e)}_intersectionCallback(e,n,s,i,r){var o;n.isIntersecting&&((o=this._realObserver(e))==null||o.unobserve(n.target),this._setImageSrc(e,s,i,r))}_delayedIntersectionCallback(e,n,s,i,r,o){if(n.isIntersecting){if(n.target.hasAttribute(Gr))return;const a=setTimeout(()=>{this._intersectionCallback(e,n,i,r,o),n.target.removeAttribute(Gr)},s);n.target.setAttribute(Gr,String(a))}else n.target.hasAttribute(Gr)&&(clearTimeout(Number(n.target.getAttribute(Gr))),n.target.removeAttribute(Gr))}_listenImageStatus(e,n,s){e.onload=n,e.onerror=s}_valueFormatter(e){let n=e,s=this.options.loading,i=this.options.error,r=this.options.lifecycle,o=this.options.delay;return _a(e)&&(n=e.src,s=e.loading||this.options.loading,i=e.error||this.options.error,r=e.lifecycle||this.options.lifecycle,o=e.delay||this.options.delay),{src:n,loading:s,error:i,lifecycle:r,delay:o}}_log(e){this.options.log&&e()}_lifecycle(e,n,s){switch(e){case Hs.LOADING:s==null||s.setAttribute("lazy",Hs.LOADING),n!=null&&n.loading&&n.loading(s);break;case Hs.LOADED:s==null||s.setAttribute("lazy",Hs.LOADED),n!=null&&n.loaded&&n.loaded(s);break;case Hs.ERROR:s==null||s.setAttribute("lazy",Hs.ERROR),n!=null&&n.error&&n.error(s);break}}_realObserver(e){return this._images.get(e)}_logger(e,...n){let s=console.error;switch(this.options.logLevel){case"error":s=console.error;break;case"warn":s=console.warn;break;case"info":s=console.info;break;case"debug":s=console.debug;break}s(e,n)}}const cN={install(t,e){const n=new lN(e);t.config.globalProperties.$Lazyload=n,t.provide("Lazyload",n),t.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var Bd={exports:{}},Wd={exports:{}},Gd={};/**
* @vue/compiler-core v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Eo=Symbol(""),ho=Symbol(""),Wu=Symbol(""),Wa=Symbol(""),Tp=Symbol(""),Ji=Symbol(""),Cp=Symbol(""),Ap=Symbol(""),Gu=Symbol(""),Ku=Symbol(""),Ho=Symbol(""),zu=Symbol(""),Op=Symbol(""),qu=Symbol(""),Xu=Symbol(""),Yu=Symbol(""),Zu=Symbol(""),Ju=Symbol(""),Qu=Symbol(""),xp=Symbol(""),Ip=Symbol(""),cl=Symbol(""),Ga=Symbol(""),td=Symbol(""),ed=Symbol(""),wo=Symbol(""),Uo=Symbol(""),nd=Symbol(""),Uc=Symbol(""),J0=Symbol(""),jc=Symbol(""),Ka=Symbol(""),Q0=Symbol(""),t_=Symbol(""),sd=Symbol(""),e_=Symbol(""),n_=Symbol(""),id=Symbol(""),Np=Symbol(""),Ir={[Eo]:"Fragment",[ho]:"Teleport",[Wu]:"Suspense",[Wa]:"KeepAlive",[Tp]:"BaseTransition",[Ji]:"openBlock",[Cp]:"createBlock",[Ap]:"createElementBlock",[Gu]:"createVNode",[Ku]:"createElementVNode",[Ho]:"createCommentVNode",[zu]:"createTextVNode",[Op]:"createStaticVNode",[qu]:"resolveComponent",[Xu]:"resolveDynamicComponent",[Yu]:"resolveDirective",[Zu]:"resolveFilter",[Ju]:"withDirectives",[Qu]:"renderList",[xp]:"renderSlot",[Ip]:"createSlots",[cl]:"toDisplayString",[Ga]:"mergeProps",[td]:"normalizeClass",[ed]:"normalizeStyle",[wo]:"normalizeProps",[Uo]:"guardReactiveProps",[nd]:"toHandlers",[Uc]:"camelize",[J0]:"capitalize",[jc]:"toHandlerKey",[Ka]:"setBlockTracking",[Q0]:"pushScopeId",[t_]:"popScopeId",[sd]:"withCtx",[e_]:"unref",[n_]:"isRef",[id]:"withMemo",[Np]:"isMemoSame"};function s_(t){Object.getOwnPropertySymbols(t).forEach(e=>{Ir[e]=t[e]})}const uN={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},dN={ROOT:0,0:"ROOT",ELEMENT:1,1:"ELEMENT",TEXT:2,2:"TEXT",COMMENT:3,3:"COMMENT",SIMPLE_EXPRESSION:4,4:"SIMPLE_EXPRESSION",INTERPOLATION:5,5:"INTERPOLATION",ATTRIBUTE:6,6:"ATTRIBUTE",DIRECTIVE:7,7:"DIRECTIVE",COMPOUND_EXPRESSION:8,8:"COMPOUND_EXPRESSION",IF:9,9:"IF",IF_BRANCH:10,10:"IF_BRANCH",FOR:11,11:"FOR",TEXT_CALL:12,12:"TEXT_CALL",VNODE_CALL:13,13:"VNODE_CALL",JS_CALL_EXPRESSION:14,14:"JS_CALL_EXPRESSION",JS_OBJECT_EXPRESSION:15,15:"JS_OBJECT_EXPRESSION",JS_PROPERTY:16,16:"JS_PROPERTY",JS_ARRAY_EXPRESSION:17,17:"JS_ARRAY_EXPRESSION",JS_FUNCTION_EXPRESSION:18,18:"JS_FUNCTION_EXPRESSION",JS_CONDITIONAL_EXPRESSION:19,19:"JS_CONDITIONAL_EXPRESSION",JS_CACHE_EXPRESSION:20,20:"JS_CACHE_EXPRESSION",JS_BLOCK_STATEMENT:21,21:"JS_BLOCK_STATEMENT",JS_TEMPLATE_LITERAL:22,22:"JS_TEMPLATE_LITERAL",JS_IF_STATEMENT:23,23:"JS_IF_STATEMENT",JS_ASSIGNMENT_EXPRESSION:24,24:"JS_ASSIGNMENT_EXPRESSION",JS_SEQUENCE_EXPRESSION:25,25:"JS_SEQUENCE_EXPRESSION",JS_RETURN_STATEMENT:26,26:"JS_RETURN_STATEMENT"},fN={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},hN={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Qe={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function i_(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Qe}}function ko(t,e,n,s,i,r,o,a=!1,l=!1,c=!1,u=Qe){return t&&(a?(t.helper(Ji),t.helper(Dr(t.inSSR,c))):t.helper(Pr(t.inSSR,c)),o&&t.helper(Ju)),{type:13,tag:e,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Xi(t,e=Qe){return{type:17,loc:e,elements:t}}function qn(t,e=Qe){return{type:15,loc:e,properties:t}}function Me(t,e){return{type:16,loc:Qe,key:Dt(t)?Lt(t,!0):t,value:e}}function Lt(t,e=!1,n=Qe,s=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:s}}function pN(t,e){return{type:5,loc:e,content:Dt(t)?Lt(t,!1,e):t}}function ds(t,e=Qe){return{type:8,loc:e,children:t}}function Ke(t,e=[],n=Qe){return{type:14,loc:n,callee:t,arguments:e}}function Nr(t,e=void 0,n=!1,s=!1,i=Qe){return{type:18,params:t,returns:e,newline:n,isSlot:s,loc:i}}function Bc(t,e,n,s=!0){return{type:19,test:t,consequent:e,alternate:n,newline:s,loc:Qe}}function r_(t,e,n=!1,s=!1){return{type:20,index:t,value:e,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Qe}}function o_(t){return{type:21,body:t,loc:Qe}}function mN(t){return{type:22,elements:t,loc:Qe}}function gN(t,e,n){return{type:23,test:t,consequent:e,alternate:n,loc:Qe}}function yN(t,e){return{type:24,left:t,right:e,loc:Qe}}function bN(t){return{type:25,expressions:t,loc:Qe}}function vN(t){return{type:26,returns:t,loc:Qe}}function Pr(t,e){return t||e?Gu:Ku}function Dr(t,e){return t||e?Cp:Ap}function rd(t,{helper:e,removeHelper:n,inSSR:s}){t.isBlock||(t.isBlock=!0,n(Pr(s,t.isComponent)),e(Ji),e(Dr(s,t.isComponent)))}const oy=new Uint8Array([123,123]),ay=new Uint8Array([125,125]);function ly(t){return t>=97&&t<=122||t>=65&&t<=90}function zn(t){return t===32||t===10||t===9||t===12||t===13}function xi(t){return t===47||t===62||zn(t)}function Wc(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const dn={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class _N{constructor(e,n){this.stack=e,this.cbs=n,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=oy,this.delimiterClose=ay,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=oy,this.delimiterClose=ay}getPos(e){let n=1,s=e+1;for(let i=this.newlines.length-1;i>=0;i--){const r=this.newlines[i];if(e>r){n=i+2,s=e-r;break}}return{column:s,line:n,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const n=this.index+1-this.delimiterOpen.length;n>this.sectionStart&&this.cbs.ontext(this.sectionStart,n),this.state=3,this.sectionStart=n}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const n=this.sequenceIndex===this.currentSequence.length;if(!(n?xi(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||zn(e)){const n=this.index-this.currentSequence.length;if(this.sectionStart<n){const s=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=s}this.sectionStart=n+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===dn.TitleEnd||this.currentSequence===dn.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===dn.Cdata[this.sequenceIndex]?++this.sequenceIndex===dn.Cdata.length&&(this.state=28,this.currentSequence=dn.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);if(n===10&&this.newlines.push(this.index),n===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===dn.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,n){this.enterRCDATA(e,n),this.state=31}enterRCDATA(e,n){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=n}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):ly(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){xi(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(xi(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(Wc("</"+n),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){zn(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=ly(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||zn(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?this.state=7:e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):zn(e)||this.handleAttrStart(e)}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):zn(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||xi(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||xi(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||xi(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||xi(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||xi(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):zn(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):zn(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,n){(e===n||this.fastForwardTo(n))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){zn(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):(e===39||e===60||e===61||e===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=dn.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===dn.ScriptEnd[3]?this.startSpecial(dn.ScriptEnd,4):e===dn.StyleEnd[3]?this.startSpecial(dn.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===dn.TitleEnd[3]?this.startSpecial(dn.TitleEnd,4):e===dn.TextareaEnd[3]?this.startSpecial(dn.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===dn.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,n){}}const SN={COMPILER_IS_ON_ELEMENT:"COMPILER_IS_ON_ELEMENT",COMPILER_V_BIND_SYNC:"COMPILER_V_BIND_SYNC",COMPILER_V_BIND_OBJECT_ORDER:"COMPILER_V_BIND_OBJECT_ORDER",COMPILER_V_ON_NATIVE:"COMPILER_V_ON_NATIVE",COMPILER_V_IF_V_FOR_PRECEDENCE:"COMPILER_V_IF_V_FOR_PRECEDENCE",COMPILER_NATIVE_TEMPLATE:"COMPILER_NATIVE_TEMPLATE",COMPILER_INLINE_TEMPLATE:"COMPILER_INLINE_TEMPLATE",COMPILER_FILTERS:"COMPILER_FILTERS"},EN={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:t=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function lh(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Tr(t,e){const n=lh("MODE",e),s=lh(t,e);return n===3?s===!0:s!==!1}function To(t,e,n,...s){return Tr(t,e)}function wN(t,e,n,...s){if(lh(t,e)==="suppress-warning")return;const{message:r,link:o}=EN[t],a=`(deprecation ${t}) ${typeof r=="function"?r(...s):r}${o?`
Details: ${o}`:""}`,l=new SyntaxError(a);l.code=t,n&&(l.loc=n),e.onWarn(l)}function Pp(t){throw t}function a_(t){}function Ce(t,e,n,s){const i=`https://vuejs.org/error-reference/#compiler-${t}`,r=new SyntaxError(String(i));return r.code=t,r.loc=e,r}const kN={ABRUPT_CLOSING_OF_EMPTY_COMMENT:0,0:"ABRUPT_CLOSING_OF_EMPTY_COMMENT",CDATA_IN_HTML_CONTENT:1,1:"CDATA_IN_HTML_CONTENT",DUPLICATE_ATTRIBUTE:2,2:"DUPLICATE_ATTRIBUTE",END_TAG_WITH_ATTRIBUTES:3,3:"END_TAG_WITH_ATTRIBUTES",END_TAG_WITH_TRAILING_SOLIDUS:4,4:"END_TAG_WITH_TRAILING_SOLIDUS",EOF_BEFORE_TAG_NAME:5,5:"EOF_BEFORE_TAG_NAME",EOF_IN_CDATA:6,6:"EOF_IN_CDATA",EOF_IN_COMMENT:7,7:"EOF_IN_COMMENT",EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT:8,8:"EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT",EOF_IN_TAG:9,9:"EOF_IN_TAG",INCORRECTLY_CLOSED_COMMENT:10,10:"INCORRECTLY_CLOSED_COMMENT",INCORRECTLY_OPENED_COMMENT:11,11:"INCORRECTLY_OPENED_COMMENT",INVALID_FIRST_CHARACTER_OF_TAG_NAME:12,12:"INVALID_FIRST_CHARACTER_OF_TAG_NAME",MISSING_ATTRIBUTE_VALUE:13,13:"MISSING_ATTRIBUTE_VALUE",MISSING_END_TAG_NAME:14,14:"MISSING_END_TAG_NAME",MISSING_WHITESPACE_BETWEEN_ATTRIBUTES:15,15:"MISSING_WHITESPACE_BETWEEN_ATTRIBUTES",NESTED_COMMENT:16,16:"NESTED_COMMENT",UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME:17,17:"UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME",UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE:18,18:"UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE",UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME:19,19:"UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME",UNEXPECTED_NULL_CHARACTER:20,20:"UNEXPECTED_NULL_CHARACTER",UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME:21,21:"UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME",UNEXPECTED_SOLIDUS_IN_TAG:22,22:"UNEXPECTED_SOLIDUS_IN_TAG",X_INVALID_END_TAG:23,23:"X_INVALID_END_TAG",X_MISSING_END_TAG:24,24:"X_MISSING_END_TAG",X_MISSING_INTERPOLATION_END:25,25:"X_MISSING_INTERPOLATION_END",X_MISSING_DIRECTIVE_NAME:26,26:"X_MISSING_DIRECTIVE_NAME",X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END:27,27:"X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END",X_V_IF_NO_EXPRESSION:28,28:"X_V_IF_NO_EXPRESSION",X_V_IF_SAME_KEY:29,29:"X_V_IF_SAME_KEY",X_V_ELSE_NO_ADJACENT_IF:30,30:"X_V_ELSE_NO_ADJACENT_IF",X_V_FOR_NO_EXPRESSION:31,31:"X_V_FOR_NO_EXPRESSION",X_V_FOR_MALFORMED_EXPRESSION:32,32:"X_V_FOR_MALFORMED_EXPRESSION",X_V_FOR_TEMPLATE_KEY_PLACEMENT:33,33:"X_V_FOR_TEMPLATE_KEY_PLACEMENT",X_V_BIND_NO_EXPRESSION:34,34:"X_V_BIND_NO_EXPRESSION",X_V_ON_NO_EXPRESSION:35,35:"X_V_ON_NO_EXPRESSION",X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET:36,36:"X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET",X_V_SLOT_MIXED_SLOT_USAGE:37,37:"X_V_SLOT_MIXED_SLOT_USAGE",X_V_SLOT_DUPLICATE_SLOT_NAMES:38,38:"X_V_SLOT_DUPLICATE_SLOT_NAMES",X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN:39,39:"X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN",X_V_SLOT_MISPLACED:40,40:"X_V_SLOT_MISPLACED",X_V_MODEL_NO_EXPRESSION:41,41:"X_V_MODEL_NO_EXPRESSION",X_V_MODEL_MALFORMED_EXPRESSION:42,42:"X_V_MODEL_MALFORMED_EXPRESSION",X_V_MODEL_ON_SCOPE_VARIABLE:43,43:"X_V_MODEL_ON_SCOPE_VARIABLE",X_V_MODEL_ON_PROPS:44,44:"X_V_MODEL_ON_PROPS",X_INVALID_EXPRESSION:45,45:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:46,46:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:47,47:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:48,48:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:49,49:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:50,50:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:51,51:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:52,52:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:53,53:"__EXTEND_POINT__"},TN={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",52:"v-bind with same-name shorthand only allows static argument.",35:"v-on is missing expression.",36:"Unexpected custom directive on <slot> outlet.",37:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",38:"Duplicate slot names found. ",39:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",40:"v-slot can only be used on components or <template> tags.",41:"v-model is missing expression.",42:"v-model value must be a valid JavaScript member expression.",43:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",44:`v-model cannot be used on a prop, because local prop bindings are not writable.
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",51:"@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',53:""};function CN(t,e,n=!1,s=[],i=Object.create(null)){}function AN(t,e,n){return!1}function ON(t,e){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let n=e.length;for(;n--;){const s=e[n];if(s.type==="AssignmentExpression")return!0;if(s.type!=="ObjectProperty"&&!s.type.endsWith("Pattern"))break}}return!1}function xN(t){let e=t.length;for(;e--;){const n=t[e];if(n.type==="NewExpression")return!0;if(n.type!=="MemberExpression")break}return!1}function IN(t,e){for(const n of t.params)for(const s of ai(n))e(s)}function NN(t,e){for(const n of t.body)if(n.type==="VariableDeclaration"){if(n.declare)continue;for(const s of n.declarations)for(const i of ai(s.id))e(i)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;e(n.id)}else PN(n)&&DN(n,!0,e)}function PN(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function DN(t,e,n){const s=t.type==="ForStatement"?t.init:t.left;if(s&&s.type==="VariableDeclaration"&&(s.kind==="var"&&e))for(const i of s.declarations)for(const r of ai(i.id))n(r)}function ai(t,e=[]){switch(t.type){case"Identifier":e.push(t);break;case"MemberExpression":let n=t;for(;n.type==="MemberExpression";)n=n.object;e.push(n);break;case"ObjectPattern":for(const s of t.properties)s.type==="RestElement"?ai(s.argument,e):ai(s.value,e);break;case"ArrayPattern":t.elements.forEach(s=>{s&&ai(s,e)});break;case"RestElement":ai(t.argument,e);break;case"AssignmentPattern":ai(t.left,e);break}return e}const MN=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),l_=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,RN=(t,e)=>l_(e)&&e.key===t,c_=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function u_(t){return c_.includes(t.type)?u_(t.expression):t}const xn=t=>t.type===4&&t.isStatic;function Dp(t){switch(t){case"Teleport":case"teleport":return ho;case"Suspense":case"suspense":return Wu;case"KeepAlive":case"keep-alive":return Wa;case"BaseTransition":case"base-transition":return Tp}}const LN=/^\d|[^\$\w\xA0-\uFFFF]/,ul=t=>!LN.test(t),$N=/[A-Za-z_$\xA0-\uFFFF]/,FN=/[\.\?\w$\xA0-\uFFFF]/,VN=/\s+[.[]\s*|\s*[.[]\s+/g,d_=t=>t.type===4?t.content:t.loc.source,f_=t=>{const e=d_(t).trim().replace(VN,a=>a.trim());let n=0,s=[],i=0,r=0,o=null;for(let a=0;a<e.length;a++){const l=e.charAt(a);switch(n){case 0:if(l==="[")s.push(n),n=1,i++;else if(l==="(")s.push(n),n=2,r++;else if(!(a===0?$N:FN).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(s.push(n),n=3,o=l):l==="["?i++:l==="]"&&(--i||(n=s.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")s.push(n),n=3,o=l;else if(l==="(")r++;else if(l===")"){if(a===e.length-1)return!1;--r||(n=s.pop())}break;case 3:l===o&&(n=s.pop(),o=null);break}}return!i&&!r},HN=en,Mp=f_,UN=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,h_=t=>UN.test(d_(t)),jN=en,p_=h_;function BN(t,e,n=e.length){return m_({offset:t.offset,line:t.line,column:t.column},e,n)}function m_(t,e,n=e.length){let s=0,i=-1;for(let r=0;r<n;r++)e.charCodeAt(r)===10&&(s++,i=r);return t.offset+=n,t.line+=s,t.column=i===-1?t.column+n:n-i,t}function WN(t,e){if(!t)throw new Error(e||"unexpected compiler condition")}function On(t,e,n=!1){for(let s=0;s<t.props.length;s++){const i=t.props[s];if(i.type===7&&(n||i.exp)&&(Dt(e)?i.name===e:e.test(i.name)))return i}}function dl(t,e,n=!1,s=!1){for(let i=0;i<t.props.length;i++){const r=t.props[i];if(r.type===6){if(n)continue;if(r.name===e&&(r.value||s))return r}else if(r.name==="bind"&&(r.exp||s)&&Ki(r.arg,e))return r}}function Ki(t,e){return!!(t&&xn(t)&&t.content===e)}function g_(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function oc(t){return t.type===5||t.type===2}function Rp(t){return t.type===7&&t.name==="slot"}function Co(t){return t.type===1&&t.tagType===3}function za(t){return t.type===1&&t.tagType===2}const GN=new Set([wo,Uo]);function y_(t,e=[]){if(t&&!Dt(t)&&t.type===14){const n=t.callee;if(!Dt(n)&&GN.has(n))return y_(t.arguments[0],e.concat(t))}return[t,e]}function qa(t,e,n){let s,i=t.type===13?t.props:t.arguments[2],r=[],o;if(i&&!Dt(i)&&i.type===14){const a=y_(i);i=a[0],r=a[1],o=r[r.length-1]}if(i==null||Dt(i))s=qn([e]);else if(i.type===14){const a=i.arguments[0];!Dt(a)&&a.type===15?cy(e,a)||a.properties.unshift(e):i.callee===nd?s=Ke(n.helper(Ga),[qn([e]),i]):i.arguments.unshift(qn([e])),!s&&(s=i)}else i.type===15?(cy(e,i)||i.properties.unshift(e),s=i):(s=Ke(n.helper(Ga),[qn([e]),i]),o&&o.callee===Uo&&(o=r[r.length-2]));t.type===13?o?o.arguments[0]=s:t.props=s:o?o.arguments[0]=s:t.arguments[2]=s}function cy(t,e){let n=!1;if(t.key.type===4){const s=t.key.content;n=e.properties.some(i=>i.key.type===4&&i.key.content===s)}return n}function Ao(t,e){return`_${e}_${t.replace(/[^\w]/g,(n,s)=>n==="-"?"_":t.charCodeAt(s).toString())}`}function Es(t,e){if(!t||Object.keys(e).length===0)return!1;switch(t.type){case 1:for(let n=0;n<t.props.length;n++){const s=t.props[n];if(s.type===7&&(Es(s.arg,e)||Es(s.exp,e)))return!0}return t.children.some(n=>Es(n,e));case 11:return Es(t.source,e)?!0:t.children.some(n=>Es(n,e));case 9:return t.branches.some(n=>Es(n,e));case 10:return Es(t.condition,e)?!0:t.children.some(n=>Es(n,e));case 4:return!t.isStatic&&ul(t.content)&&!!e[t.content];case 8:return t.children.some(n=>me(n)&&Es(n,e));case 5:case 12:return Es(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function b_(t){return t.type===14&&t.callee===id?t.arguments[1].returns:t}const v_=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,__={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:io,isPreTag:io,isIgnoreNewlineTag:io,isCustomElement:io,onError:Pp,onWarn:a_,comments:!1,prefixIdentifiers:!1};let he=__,Xa=null,fi="",pn=null,re=null,Ln="",ni=-1,fr=-1,Lp=0,Hi=!1,ch=null;const Oe=[],He=new _N(Oe,{onerr:ti,ontext(t,e){Rl(ln(t,e),t,e)},ontextentity(t,e,n){Rl(t,e,n)},oninterpolation(t,e){if(Hi)return Rl(ln(t,e),t,e);let n=t+He.delimiterOpen.length,s=e-He.delimiterClose.length;for(;zn(fi.charCodeAt(n));)n++;for(;zn(fi.charCodeAt(s-1));)s--;let i=ln(n,s);i.includes("&")&&(i=he.decodeEntities(i,!1)),uh({type:5,content:lc(i,!1,Ue(n,s)),loc:Ue(t,e)})},onopentagname(t,e){const n=ln(t,e);pn={type:1,tag:n,ns:he.getNamespace(n,Oe[0],he.ns),tagType:0,props:[],children:[],loc:Ue(t-1,e),codegenNode:void 0}},onopentagend(t){dy(t)},onclosetag(t,e){const n=ln(t,e);if(!he.isVoidTag(n)){let s=!1;for(let i=0;i<Oe.length;i++)if(Oe[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&ti(24,Oe[0].loc.start.offset);for(let o=0;o<=i;o++){const a=Oe.shift();ac(a,e,o<i)}break}s||ti(23,S_(t,60))}},onselfclosingtag(t){const e=pn.tag;pn.isSelfClosing=!0,dy(t),Oe[0]&&Oe[0].tag===e&&ac(Oe.shift(),t)},onattribname(t,e){re={type:6,name:ln(t,e),nameLoc:Ue(t,e),value:void 0,loc:Ue(t)}},ondirname(t,e){const n=ln(t,e),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Hi&&s===""&&ti(26,t),Hi||s==="")re={type:6,name:n,nameLoc:Ue(t,e),value:void 0,loc:Ue(t)};else if(re={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Lt("prop")]:[],loc:Ue(t)},s==="pre"){Hi=He.inVPre=!0,ch=pn;const i=pn.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=nP(i[r]))}},ondirarg(t,e){if(t===e)return;const n=ln(t,e);if(Hi)re.name+=n,mr(re.nameLoc,e);else{const s=n[0]!=="[";re.arg=lc(s?n:n.slice(1,-1),s,Ue(t,e),s?3:0)}},ondirmodifier(t,e){const n=ln(t,e);if(Hi)re.name+="."+n,mr(re.nameLoc,e);else if(re.name==="slot"){const s=re.arg;s&&(s.content+="."+n,mr(s.loc,e))}else{const s=Lt(n,!0,Ue(t,e));re.modifiers.push(s)}},onattribdata(t,e){Ln+=ln(t,e),ni<0&&(ni=t),fr=e},onattribentity(t,e,n){Ln+=t,ni<0&&(ni=e),fr=n},onattribnameend(t){const e=re.loc.start.offset,n=ln(e,t);re.type===7&&(re.rawName=n),pn.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&ti(2,e)},onattribend(t,e){if(pn&&re){if(mr(re.loc,e),t!==0)if(Ln.includes("&")&&(Ln=he.decodeEntities(Ln,!0)),re.type===6)re.name==="class"&&(Ln=w_(Ln).trim()),t===1&&!Ln&&ti(13,e),re.value={type:2,content:Ln,loc:t===1?Ue(ni,fr):Ue(ni-1,fr+1)},He.inSFCRoot&&pn.tag==="template"&&re.name==="lang"&&Ln&&Ln!=="html"&&He.enterRCDATA(Wc("</template"),0);else{let n=0;re.exp=lc(Ln,!1,Ue(ni,fr),0,n),re.name==="for"&&(re.forParseResult=zN(re.exp));let s=-1;re.name==="bind"&&(s=re.modifiers.findIndex(i=>i.content==="sync"))>-1&&To("COMPILER_V_BIND_SYNC",he,re.loc,re.arg.loc.source)&&(re.name="model",re.modifiers.splice(s,1))}(re.type!==7||re.name!=="pre")&&pn.props.push(re)}Ln="",ni=fr=-1},oncomment(t,e){he.comments&&uh({type:3,content:ln(t,e),loc:Ue(t-4,e+3)})},onend(){const t=fi.length;for(let e=0;e<Oe.length;e++)ac(Oe[e],t-1),ti(24,Oe[e].loc.start.offset)},oncdata(t,e){Oe[0].ns!==0?Rl(ln(t,e),t,e):ti(1,t-9)},onprocessinginstruction(t){(Oe[0]?Oe[0].ns:he.ns)===0&&ti(21,t-1)}}),uy=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,KN=/^\(|\)$/g;function zN(t){const e=t.loc,n=t.content,s=n.match(v_);if(!s)return;const[,i,r]=s,o=(d,f,h=!1)=>{const p=e.start.offset+f,m=p+d.length;return lc(d,!1,Ue(p,m),0,h?1:0)},a={source:o(r.trim(),n.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=i.trim().replace(KN,"").trim();const c=i.indexOf(l),u=l.match(uy);if(u){l=l.replace(uy,"").trim();const d=u[1].trim();let f;if(d&&(f=n.indexOf(d,c+l.length),a.key=o(d,f,!0)),u[2]){const h=u[2].trim();h&&(a.index=o(h,n.indexOf(h,a.key?f+d.length:c+l.length),!0))}}return l&&(a.value=o(l,c,!0)),a}function ln(t,e){return fi.slice(t,e)}function dy(t){He.inSFCRoot&&(pn.innerLoc=Ue(t+1,t+1)),uh(pn);const{tag:e,ns:n}=pn;n===0&&he.isPreTag(e)&&Lp++,he.isVoidTag(e)?ac(pn,t):(Oe.unshift(pn),(n===1||n===2)&&(He.inXML=!0)),pn=null}function Rl(t,e,n){{const r=Oe[0]&&Oe[0].tag;r!=="script"&&r!=="style"&&t.includes("&")&&(t=he.decodeEntities(t,!1))}const s=Oe[0]||Xa,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=t,mr(i.loc,n)):s.children.push({type:2,content:t,loc:Ue(e,n)})}function ac(t,e,n=!1){n?mr(t.loc,S_(e,60)):mr(t.loc,qN(e,62)+1),He.inSFCRoot&&(t.children.length?t.innerLoc.end=Zt({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Zt({},t.innerLoc.start),t.innerLoc.source=ln(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:s,ns:i,children:r}=t;if(Hi||(s==="slot"?t.tagType=2:fy(t)?t.tagType=3:YN(t)&&(t.tagType=1)),He.inRCDATA||(t.children=E_(r)),i===0&&he.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&he.isPreTag(s)&&Lp--,ch===t&&(Hi=He.inVPre=!1,ch=null),He.inXML&&(Oe[0]?Oe[0].ns:he.ns)===0&&(He.inXML=!1);{const o=t.props;if(!He.inSFCRoot&&Tr("COMPILER_NATIVE_TEMPLATE",he)&&t.tag==="template"&&!fy(t)){const l=Oe[0]||Xa,c=l.children.indexOf(t);l.children.splice(c,1,...t.children)}const a=o.find(l=>l.type===6&&l.name==="inline-template");a&&To("COMPILER_INLINE_TEMPLATE",he,a.loc)&&t.children.length&&(a.value={type:2,content:ln(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:a.loc})}}function qN(t,e){let n=t;for(;fi.charCodeAt(n)!==e&&n<fi.length-1;)n++;return n}function S_(t,e){let n=t;for(;fi.charCodeAt(n)!==e&&n>=0;)n--;return n}const XN=new Set(["if","else","else-if","for","slot"]);function fy({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&XN.has(e[n].name))return!0}return!1}function YN({tag:t,props:e}){if(he.isCustomElement(t))return!1;if(t==="component"||ZN(t.charCodeAt(0))||Dp(t)||he.isBuiltInComponent&&he.isBuiltInComponent(t)||he.isNativeTag&&!he.isNativeTag(t))return!0;for(let n=0;n<e.length;n++){const s=e[n];if(s.type===6){if(s.name==="is"&&s.value){if(s.value.content.startsWith("vue:"))return!0;if(To("COMPILER_IS_ON_ELEMENT",he,s.loc))return!0}}else if(s.name==="bind"&&Ki(s.arg,"is")&&To("COMPILER_IS_ON_ELEMENT",he,s.loc))return!0}return!1}function ZN(t){return t>64&&t<91}const JN=/\r\n/g;function E_(t,e){const n=he.whitespace!=="preserve";let s=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Lp)r.content=r.content.replace(JN,`
`);else if(QN(r.content)){const o=t[i-1]&&t[i-1].type,a=t[i+1]&&t[i+1].type;!o||!a||n&&(o===3&&(a===3||a===1)||o===1&&(a===3||a===1&&tP(r.content)))?(s=!0,t[i]=null):r.content=" "}else n&&(r.content=w_(r.content))}return s?t.filter(Boolean):t}function QN(t){for(let e=0;e<t.length;e++)if(!zn(t.charCodeAt(e)))return!1;return!0}function tP(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function w_(t){let e="",n=!1;for(let s=0;s<t.length;s++)zn(t.charCodeAt(s))?n||(e+=" ",n=!0):(e+=t[s],n=!1);return e}function uh(t){(Oe[0]||Xa).children.push(t)}function Ue(t,e){return{start:He.getPos(t),end:e==null?e:He.getPos(e),source:e==null?e:ln(t,e)}}function eP(t){return Ue(t.start.offset,t.end.offset)}function mr(t,e){t.end=He.getPos(e),t.source=ln(t.start.offset,e)}function nP(t){const e={type:6,name:t.rawName,nameLoc:Ue(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const n=t.exp.loc;n.end.offset<t.loc.end.offset&&(n.start.offset--,n.start.column--,n.end.offset++,n.end.column++),e.value={type:2,content:t.exp.content,loc:n}}return e}function lc(t,e=!1,n,s=0,i=0){return Lt(t,e,n,s)}function ti(t,e,n){he.onError(Ce(t,Ue(e,e)))}function sP(){He.reset(),pn=null,re=null,Ln="",ni=-1,fr=-1,Oe.length=0}function $p(t,e){if(sP(),fi=t,he=Zt({},__),e){let i;for(i in e)e[i]!=null&&(he[i]=e[i])}He.mode=he.parseMode==="html"?1:he.parseMode==="sfc"?2:0,He.inXML=he.ns===1||he.ns===2;const n=e&&e.delimiters;n&&(He.delimiterOpen=Wc(n[0]),He.delimiterClose=Wc(n[1]));const s=Xa=i_([],t);return He.parse(fi),s.loc=Ue(0,t.length),s.children=E_(s.children),Xa=null,s}function iP(t,e){cc(t,void 0,e,k_(t,t.children[0]))}function k_(t,e){const{children:n}=t;return n.length===1&&e.type===1&&!za(e)}function cc(t,e,n,s=!1,i=!1){const{children:r}=t,o=[];for(let d=0;d<r.length;d++){const f=r[d];if(f.type===1&&f.tagType===0){const h=s?0:Hn(f,n);if(h>0){if(h>=2){f.codegenNode.patchFlag=-1,o.push(f);continue}}else{const p=f.codegenNode;if(p.type===13){const m=p.patchFlag;if((m===void 0||m===512||m===1)&&C_(f,n)>=2){const b=A_(f);b&&(p.props=n.hoist(b))}p.dynamicProps&&(p.dynamicProps=n.hoist(p.dynamicProps))}}}else if(f.type===12&&(s?0:Hn(f,n))>=2){o.push(f);continue}if(f.type===1){const h=f.tagType===1;h&&n.scopes.vSlot++,cc(f,t,n,!1,i),h&&n.scopes.vSlot--}else if(f.type===11)cc(f,t,n,f.children.length===1,!0);else if(f.type===9)for(let h=0;h<f.branches.length;h++)cc(f.branches[h],t,n,f.branches[h].children.length===1,i)}let a=!1;const l=[];if(o.length===r.length&&t.type===1){if(t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&gt(t.codegenNode.children))t.codegenNode.children=c(Xi(t.codegenNode.children)),a=!0;else if(t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!gt(t.codegenNode.children)&&t.codegenNode.children.type===15){const d=u(t.codegenNode,"default");d&&(l.push(n.cached.length),d.returns=c(Xi(d.returns)),a=!0)}else if(t.tagType===3&&e&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!gt(e.codegenNode.children)&&e.codegenNode.children.type===15){const d=On(t,"slot",!0),f=d&&d.arg&&u(e.codegenNode,d.arg);f&&(l.push(n.cached.length),f.returns=c(Xi(f.returns)),a=!0)}}if(!a)for(const d of o)l.push(n.cached.length),d.codegenNode=n.cache(d.codegenNode);l.length&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!gt(t.codegenNode.children)&&t.codegenNode.children.type===15&&t.codegenNode.children.properties.push(Me("__",Lt(JSON.stringify(l),!1)));function c(d){const f=n.cache(d);return i&&n.hmr&&(f.needArraySpread=!0),f}function u(d,f){if(d.children&&!gt(d.children)&&d.children.type===15){const h=d.children.properties.find(p=>p.key===f||p.key.content===f);return h&&h.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,t)}function Hn(t,e){const{constantCache:n}=e;switch(t.type){case 1:if(t.tagType!==0)return 0;const s=n.get(t);if(s!==void 0)return s;const i=t.codegenNode;if(i.type!==13||i.isBlock&&t.tag!=="svg"&&t.tag!=="foreignObject"&&t.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const a=C_(t,e);if(a===0)return n.set(t,0),0;a<o&&(o=a);for(let l=0;l<t.children.length;l++){const c=Hn(t.children[l],e);if(c===0)return n.set(t,0),0;c<o&&(o=c)}if(o>1)for(let l=0;l<t.props.length;l++){const c=t.props[l];if(c.type===7&&c.name==="bind"&&c.exp){const u=Hn(c.exp,e);if(u===0)return n.set(t,0),0;u<o&&(o=u)}}if(i.isBlock){for(let l=0;l<t.props.length;l++)if(t.props[l].type===7)return n.set(t,0),0;e.removeHelper(Ji),e.removeHelper(Dr(e.inSSR,i.isComponent)),i.isBlock=!1,e.helper(Pr(e.inSSR,i.isComponent))}return n.set(t,o),o}else return n.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Hn(t.content,e);case 4:return t.constType;case 8:let r=3;for(let o=0;o<t.children.length;o++){const a=t.children[o];if(Dt(a)||Nn(a))continue;const l=Hn(a,e);if(l===0)return 0;l<r&&(r=l)}return r;case 20:return 2;default:return 0}}const rP=new Set([td,ed,wo,Uo]);function T_(t,e){if(t.type===14&&!Dt(t.callee)&&rP.has(t.callee)){const n=t.arguments[0];if(n.type===4)return Hn(n,e);if(n.type===14)return T_(n,e)}return 0}function C_(t,e){let n=3;const s=A_(t);if(s&&s.type===15){const{properties:i}=s;for(let r=0;r<i.length;r++){const{key:o,value:a}=i[r],l=Hn(o,e);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=Hn(a,e):a.type===14?c=T_(a,e):c=0,c===0)return c;c<n&&(n=c)}}return n}function A_(t){const e=t.codegenNode;if(e.type===13)return e.props}function O_(t,{filename:e="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=en,isCustomElement:u=en,expressionPlugins:d=[],scopeId:f=null,slotted:h=!0,ssr:p=!1,inSSR:m=!1,ssrCssVars:b="",bindingMetadata:y=Yt,inline:_=!1,isTS:g=!1,onError:v=Pp,onWarn:S=a_,compatConfig:k}){const N=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),R={filename:e,selfName:N&&er(Te(N[1])),prefixIdentifiers:n,hoistStatic:s,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:f,slotted:h,ssr:p,inSSR:m,ssrCssVars:b,bindingMetadata:y,inline:_,isTS:g,onError:v,onWarn:S,compatConfig:k,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(T){const D=R.helpers.get(T)||0;return R.helpers.set(T,D+1),T},removeHelper(T){const D=R.helpers.get(T);if(D){const j=D-1;j?R.helpers.set(T,j):R.helpers.delete(T)}},helperString(T){return`_${Ir[R.helper(T)]}`},replaceNode(T){R.parent.children[R.childIndex]=R.currentNode=T},removeNode(T){const D=R.parent.children,j=T?D.indexOf(T):R.currentNode?R.childIndex:-1;!T||T===R.currentNode?(R.currentNode=null,R.onNodeRemoved()):R.childIndex>j&&(R.childIndex--,R.onNodeRemoved()),R.parent.children.splice(j,1)},onNodeRemoved:en,addIdentifiers(T){},removeIdentifiers(T){},hoist(T){Dt(T)&&(T=Lt(T)),R.hoists.push(T);const D=Lt(`_hoisted_${R.hoists.length}`,!1,T.loc,2);return D.hoisted=T,D},cache(T,D=!1,j=!1){const F=r_(R.cached.length,T,D,j);return R.cached.push(F),F}};return R.filters=new Set,R}function x_(t,e){const n=O_(t,e);fl(t,n),e.hoistStatic&&iP(t,n),e.ssr||oP(t,n),t.helpers=new Set([...n.helpers.keys()]),t.components=[...n.components],t.directives=[...n.directives],t.imports=n.imports,t.hoists=n.hoists,t.temps=n.temps,t.cached=n.cached,t.transformed=!0,t.filters=[...n.filters]}function oP(t,e){const{helper:n}=e,{children:s}=t;if(s.length===1){const i=s[0];if(k_(t,i)&&i.codegenNode){const r=i.codegenNode;r.type===13&&rd(r,e),t.codegenNode=r}else t.codegenNode=i}else if(s.length>1){let i=64;t.codegenNode=ko(e,n(Eo),void 0,t.children,i,void 0,void 0,!0,void 0,!1)}}function aP(t,e){let n=0;const s=()=>{n--};for(;n<t.children.length;n++){const i=t.children[n];Dt(i)||(e.grandParent=e.parent,e.parent=t,e.childIndex=n,e.onNodeRemoved=s,fl(i,e))}}function fl(t,e){e.currentNode=t;const{nodeTransforms:n}=e,s=[];for(let r=0;r<n.length;r++){const o=n[r](t,e);if(o&&(gt(o)?s.push(...o):s.push(o)),e.currentNode)t=e.currentNode;else return}switch(t.type){case 3:e.ssr||e.helper(Ho);break;case 5:e.ssr||e.helper(cl);break;case 9:for(let r=0;r<t.branches.length;r++)fl(t.branches[r],e);break;case 10:case 11:case 1:case 0:aP(t,e);break}e.currentNode=t;let i=s.length;for(;i--;)s[i]()}function Fp(t,e){const n=Dt(t)?s=>s===t:s=>t.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(Rp))return;const o=[];for(let a=0;a<r.length;a++){const l=r[a];if(l.type===7&&n(l.name)){r.splice(a,1),a--;const c=e(s,l,i);c&&o.push(c)}}return o}}}const od="/*@__PURE__*/",I_=t=>`${Ir[t]}: _${Ir[t]}`;function lP(t,{mode:e="function",prefixIdentifiers:n=e==="module",sourceMap:s=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:f=!1}){const h={mode:e,prefixIdentifiers:n,sourceMap:s,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:d,inSSR:f,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(m){return`_${Ir[m]}`},push(m,b=-2,y){h.code+=m},indent(){p(++h.indentLevel)},deindent(m=!1){m?--h.indentLevel:p(--h.indentLevel)},newline(){p(h.indentLevel)}};function p(m){h.push(`
`+" ".repeat(m),0)}return h}function N_(t,e={}){const n=lP(t,e);e.onContextCreated&&e.onContextCreated(n);const{mode:s,push:i,prefixIdentifiers:r,indent:o,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=Array.from(t.helpers),f=d.length>0,h=!r&&s!=="module";cP(t,n);const m=u?"ssrRender":"render",y=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${m}(${y}) {`),o(),h&&(i("with (_ctx) {"),o(),f&&(i(`const { ${d.map(I_).join(", ")} } = _Vue
`,-1),l())),t.components.length&&(Kd(t.components,"component",n),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(Kd(t.directives,"directive",n),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),Kd(t.filters,"filter",n),l()),t.temps>0){i("let ");for(let _=0;_<t.temps;_++)i(`${_>0?", ":""}_temp${_}`)}return(t.components.length||t.directives.length||t.temps)&&(i(`
`,0),l()),u||i("return "),t.codegenNode?wn(t.codegenNode,n):i("null"),h&&(a(),i("}")),a(),i("}"),{ast:t,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function cP(t,e){const{ssr:n,prefixIdentifiers:s,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:l}=e,c=a,u=Array.from(t.helpers);if(u.length>0&&(i(`const _Vue = ${c}
`,-1),t.hoists.length)){const d=[Gu,Ku,Ho,zu,Op].filter(f=>u.includes(f)).map(I_).join(", ");i(`const { ${d} } = _Vue
`,-1)}uP(t.hoists,e),r(),i("return ")}function Kd(t,e,{helper:n,push:s,newline:i,isTS:r}){const o=n(e==="filter"?Zu:e==="component"?qu:Yu);for(let a=0;a<t.length;a++){let l=t[a];const c=l.endsWith("__self");c&&(l=l.slice(0,-6)),s(`const ${Ao(l,e)} = ${o}(${JSON.stringify(l)}${c?", true":""})${r?"!":""}`),a<t.length-1&&i()}}function uP(t,e){if(!t.length)return;e.pure=!0;const{push:n,newline:s}=e;s();for(let i=0;i<t.length;i++){const r=t[i];r&&(n(`const _hoisted_${i+1} = `),wn(r,e),s())}e.pure=!1}function Vp(t,e){const n=t.length>3||!1;e.push("["),n&&e.indent(),hl(t,e,n),n&&e.deindent(),e.push("]")}function hl(t,e,n=!1,s=!0){const{push:i,newline:r}=e;for(let o=0;o<t.length;o++){const a=t[o];Dt(a)?i(a,-3):gt(a)?Vp(a,e):wn(a,e),o<t.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function wn(t,e){if(Dt(t)){e.push(t,-3);return}if(Nn(t)){e.push(e.helper(t));return}switch(t.type){case 1:case 9:case 11:wn(t.codegenNode,e);break;case 2:dP(t,e);break;case 4:P_(t,e);break;case 5:fP(t,e);break;case 12:wn(t.codegenNode,e);break;case 8:D_(t,e);break;case 3:pP(t,e);break;case 13:mP(t,e);break;case 14:yP(t,e);break;case 15:bP(t,e);break;case 17:vP(t,e);break;case 18:_P(t,e);break;case 19:SP(t,e);break;case 20:EP(t,e);break;case 21:hl(t.body,e,!0,!1);break}}function dP(t,e){e.push(JSON.stringify(t.content),-3,t)}function P_(t,e){const{content:n,isStatic:s}=t;e.push(s?JSON.stringify(n):n,-3,t)}function fP(t,e){const{push:n,helper:s,pure:i}=e;i&&n(od),n(`${s(cl)}(`),wn(t.content,e),n(")")}function D_(t,e){for(let n=0;n<t.children.length;n++){const s=t.children[n];Dt(s)?e.push(s,-3):wn(s,e)}}function hP(t,e){const{push:n}=e;if(t.type===8)n("["),D_(t,e),n("]");else if(t.isStatic){const s=ul(t.content)?t.content:JSON.stringify(t.content);n(s,-2,t)}else n(`[${t.content}]`,-3,t)}function pP(t,e){const{push:n,helper:s,pure:i}=e;i&&n(od),n(`${s(Ho)}(${JSON.stringify(t.content)})`,-3,t)}function mP(t,e){const{push:n,helper:s,pure:i}=e,{tag:r,props:o,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:f,isComponent:h}=t;let p;l&&(p=String(l)),u&&n(s(Ju)+"("),d&&n(`(${s(Ji)}(${f?"true":""}), `),i&&n(od);const m=d?Dr(e.inSSR,h):Pr(e.inSSR,h);n(s(m)+"(",-2,t),hl(gP([r,o,a,p,c]),e),n(")"),d&&n(")"),u&&(n(", "),wn(u,e),n(")"))}function gP(t){let e=t.length;for(;e--&&t[e]==null;);return t.slice(0,e+1).map(n=>n||"null")}function yP(t,e){const{push:n,helper:s,pure:i}=e,r=Dt(t.callee)?t.callee:s(t.callee);i&&n(od),n(r+"(",-2,t),hl(t.arguments,e),n(")")}function bP(t,e){const{push:n,indent:s,deindent:i,newline:r}=e,{properties:o}=t;if(!o.length){n("{}",-2,t);return}const a=o.length>1||!1;n(a?"{":"{ "),a&&s();for(let l=0;l<o.length;l++){const{key:c,value:u}=o[l];hP(c,e),n(": "),wn(u,e),l<o.length-1&&(n(","),r())}a&&i(),n(a?"}":" }")}function vP(t,e){Vp(t.elements,e)}function _P(t,e){const{push:n,indent:s,deindent:i}=e,{params:r,returns:o,body:a,newline:l,isSlot:c}=t;c&&n(`_${Ir[sd]}(`),n("(",-2,t),gt(r)?hl(r,e):r&&wn(r,e),n(") => "),(l||a)&&(n("{"),s()),o?(l&&n("return "),gt(o)?Vp(o,e):wn(o,e)):a&&wn(a,e),(l||a)&&(i(),n("}")),c&&(t.isNonScopedSlot&&n(", undefined, true"),n(")"))}function SP(t,e){const{test:n,consequent:s,alternate:i,newline:r}=t,{push:o,indent:a,deindent:l,newline:c}=e;if(n.type===4){const d=!ul(n.content);d&&o("("),P_(n,e),d&&o(")")}else o("("),wn(n,e),o(")");r&&a(),e.indentLevel++,r||o(" "),o("? "),wn(s,e),e.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||e.indentLevel++,wn(i,e),u||e.indentLevel--,r&&l(!0)}function EP(t,e){const{push:n,helper:s,indent:i,deindent:r,newline:o}=e,{needPauseTracking:a,needArraySpread:l}=t;l&&n("[...("),n(`_cache[${t.index}] || (`),a&&(i(),n(`${s(Ka)}(-1`),t.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${t.index}] = `),wn(t.value,e),a&&(n(`).cacheIndex = ${t.index},`),o(),n(`${s(Ka)}(1),`),o(),n(`_cache[${t.index}]`),r()),n(")"),l&&n(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const wP=(t,e)=>{if(t.type===5)t.content=uc(t.content,e);else if(t.type===1){const n=On(t,"memo");for(let s=0;s<t.props.length;s++){const i=t.props[s];if(i.type===7&&i.name!=="for"){const r=i.exp,o=i.arg;r&&r.type===4&&!(i.name==="on"&&o)&&!(n&&o&&o.type===4&&o.content==="key")&&(i.exp=uc(r,e,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=uc(o,e))}}}};function uc(t,e,n=!1,s=!1,i=Object.create(e.identifiers)){return t}function M_(t){return Dt(t)?t:t.type===4?t.content:t.children.map(M_).join("")}const kP=Fp(/^(if|else|else-if)$/,(t,e,n)=>R_(t,e,n,(s,i,r)=>{const o=n.parent.children;let a=o.indexOf(s),l=0;for(;a-->=0;){const c=o[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(r)s.codegenNode=py(i,l,n);else{const c=TP(s.codegenNode);c.alternate=py(i,l+s.branches.length-1,n)}}}));function R_(t,e,n,s){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const i=e.exp?e.exp.loc:t.loc;n.onError(Ce(28,e.loc)),e.exp=Lt("true",!1,i)}if(e.name==="if"){const i=hy(t,e),r={type:9,loc:eP(t.loc),branches:[i]};if(n.replaceNode(r),s)return s(r,i,!0)}else{const i=n.parent.children;let r=i.indexOf(t);for(;r-->=-1;){const o=i[r];if(o&&o.type===3){n.removeNode(o);continue}if(o&&o.type===2&&!o.content.trim().length){n.removeNode(o);continue}if(o&&o.type===9){e.name==="else-if"&&o.branches[o.branches.length-1].condition===void 0&&n.onError(Ce(30,t.loc)),n.removeNode();const a=hy(t,e);o.branches.push(a);const l=s&&s(o,a,!1);fl(a,n),l&&l(),n.currentNode=null}else n.onError(Ce(30,t.loc));break}}}function hy(t,e){const n=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:n&&!On(t,"for")?t.children:[t],userKey:dl(t,"key"),isTemplateIf:n}}function py(t,e,n){return t.condition?Bc(t.condition,my(t,e,n),Ke(n.helper(Ho),['""',"true"])):my(t,e,n)}function my(t,e,n){const{helper:s}=n,i=Me("key",Lt(`${e}`,!1,Qe,2)),{children:r}=t,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const l=o.codegenNode;return qa(l,i,n),l}else return ko(n,s(Eo),qn([i]),r,64,void 0,void 0,!0,!1,!1,t.loc);else{const l=o.codegenNode,c=b_(l);return c.type===13&&rd(c,n),qa(c,i,n),l}}function TP(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const L_=(t,e,n)=>{const{modifiers:s,loc:i}=t,r=t.arg;let{exp:o}=t;if(o&&o.type===4&&!o.content.trim()&&(o=void 0),!o){if(r.type!==4||!r.isStatic)return n.onError(Ce(52,r.loc)),{props:[Me(r,Lt("",!0,i))]};$_(t),o=t.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.some(a=>a.content==="camel")&&(r.type===4?r.isStatic?r.content=Te(r.content):r.content=`${n.helperString(Uc)}(${r.content})`:(r.children.unshift(`${n.helperString(Uc)}(`),r.children.push(")"))),n.inSSR||(s.some(a=>a.content==="prop")&&gy(r,"."),s.some(a=>a.content==="attr")&&gy(r,"^")),{props:[Me(r,o)]}},$_=(t,e)=>{const n=t.arg,s=Te(n.content);t.exp=Lt(s,!1,n.loc)},gy=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},CP=Fp("for",(t,e,n)=>{const{helper:s,removeHelper:i}=n;return F_(t,e,n,r=>{const o=Ke(s(Qu),[r.source]),a=Co(t),l=On(t,"memo"),c=dl(t,"key",!1,!0);c&&c.type===7&&!c.exp&&$_(c);let d=c&&(c.type===6?c.value?Lt(c.value.content,!0):void 0:c.exp);const f=c&&d?Me("key",d):null,h=r.source.type===4&&r.source.constType>0,p=h?64:c?128:256;return r.codegenNode=ko(n,s(Eo),void 0,o,p,void 0,void 0,!0,!h,!1,t.loc),()=>{let m;const{children:b}=r,y=b.length!==1||b[0].type!==1,_=za(t)?t:a&&t.children.length===1&&za(t.children[0])?t.children[0]:null;if(_?(m=_.codegenNode,a&&f&&qa(m,f,n)):y?m=ko(n,s(Eo),f?qn([f]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(m=b[0].codegenNode,a&&f&&qa(m,f,n),m.isBlock!==!h&&(m.isBlock?(i(Ji),i(Dr(n.inSSR,m.isComponent))):i(Pr(n.inSSR,m.isComponent))),m.isBlock=!h,m.isBlock?(s(Ji),s(Dr(n.inSSR,m.isComponent))):s(Pr(n.inSSR,m.isComponent))),l){const g=Nr(Gc(r.parseResult,[Lt("_cached")]));g.body=o_([ds(["const _memo = (",l.exp,")"]),ds(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(Np)}(_cached, _memo)) return _cached`]),ds(["const _item = ",m]),Lt("_item.memo = _memo"),Lt("return _item")]),o.arguments.push(g,Lt("_cache"),Lt(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Nr(Gc(r.parseResult),m,!0))}})});function F_(t,e,n,s){if(!e.exp){n.onError(Ce(31,e.loc));return}const i=e.forParseResult;if(!i){n.onError(Ce(32,e.loc));return}Hp(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:a}=n,{source:l,value:c,key:u,index:d}=i,f={type:11,loc:e.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:i,children:Co(t)?t.children:[t]};n.replaceNode(f),a.vFor++;const h=s&&s(f);return()=>{a.vFor--,h&&h()}}function Hp(t,e){t.finalized||(t.finalized=!0)}function Gc({value:t,key:e,index:n},s=[]){return AP([t,e,n,...s])}function AP(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((n,s)=>n||Lt("_".repeat(s+1),!1))}const yy=Lt("undefined",!1),V_=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const n=On(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},OP=(t,e)=>{let n;if(Co(t)&&t.props.some(Rp)&&(n=On(t,"for"))){const s=n.forParseResult;if(s){Hp(s);const{value:i,key:r,index:o}=s,{addIdentifiers:a,removeIdentifiers:l}=e;return i&&a(i),r&&a(r),o&&a(o),()=>{i&&l(i),r&&l(r),o&&l(o)}}}},xP=(t,e,n,s)=>Nr(t,n,!1,!0,n.length?n[0].loc:s);function H_(t,e,n=xP){e.helper(sd);const{children:s,loc:i}=t,r=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=On(t,"slot",!0);if(l){const{arg:b,exp:y}=l;b&&!xn(b)&&(a=!0),r.push(Me(b||Lt("default",!0),n(y,void 0,s,i)))}let c=!1,u=!1;const d=[],f=new Set;let h=0;for(let b=0;b<s.length;b++){const y=s[b];let _;if(!Co(y)||!(_=On(y,"slot",!0))){y.type!==3&&d.push(y);continue}if(l){e.onError(Ce(37,_.loc));break}c=!0;const{children:g,loc:v}=y,{arg:S=Lt("default",!0),exp:k,loc:N}=_;let R;xn(S)?R=S?S.content:"default":a=!0;const T=On(y,"for"),D=n(k,T,g,v);let j,F;if(j=On(y,"if"))a=!0,o.push(Bc(j.exp,Ll(S,D,h++),yy));else if(F=On(y,/^else(-if)?$/,!0)){let U=b,Y;for(;U--&&(Y=s[U],Y.type===3););if(Y&&Co(Y)&&On(Y,/^(else-)?if$/)){let ot=o[o.length-1];for(;ot.alternate.type===19;)ot=ot.alternate;ot.alternate=F.exp?Bc(F.exp,Ll(S,D,h++),yy):Ll(S,D,h++)}else e.onError(Ce(30,F.loc))}else if(T){a=!0;const U=T.forParseResult;U?(Hp(U),o.push(Ke(e.helper(Qu),[U.source,Nr(Gc(U),Ll(S,D),!0)]))):e.onError(Ce(32,T.loc))}else{if(R){if(f.has(R)){e.onError(Ce(38,N));continue}f.add(R),R==="default"&&(u=!0)}r.push(Me(S,D))}}if(!l){const b=(y,_)=>{const g=n(y,void 0,_,i);return e.compatConfig&&(g.isNonScopedSlot=!0),Me("default",g)};c?d.length&&d.some(y=>U_(y))&&(u?e.onError(Ce(39,d[0].loc)):r.push(b(void 0,d))):r.push(b(void 0,s))}const p=a?2:dc(t.children)?3:1;let m=qn(r.concat(Me("_",Lt(p+"",!1))),i);return o.length&&(m=Ke(e.helper(Ip),[m,Xi(o)])),{slots:m,hasDynamicSlots:a}}function Ll(t,e,n){const s=[Me("name",t),Me("fn",e)];return n!=null&&s.push(Me("key",Lt(String(n),!0))),qn(s)}function dc(t){for(let e=0;e<t.length;e++){const n=t[e];switch(n.type){case 1:if(n.tagType===2||dc(n.children))return!0;break;case 9:if(dc(n.branches))return!0;break;case 10:case 11:if(dc(n.children))return!0;break}}return!1}function U_(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():U_(t.content)}const j_=new WeakMap,B_=(t,e)=>function(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:s,props:i}=t,r=t.tagType===1;let o=r?W_(t,e):`"${s}"`;const a=me(o)&&o.callee===Xu;let l,c,u=0,d,f,h,p=a||o===ho||o===Wu||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const m=Up(t,e,void 0,r,a);l=m.props,u=m.patchFlag,f=m.dynamicPropNames;const b=m.directives;h=b&&b.length?Xi(b.map(y=>G_(y,e))):void 0,m.shouldUseBlock&&(p=!0)}if(t.children.length>0)if(o===Wa&&(p=!0,u|=1024),r&&o!==ho&&o!==Wa){const{slots:b,hasDynamicSlots:y}=H_(t,e);c=b,y&&(u|=1024)}else if(t.children.length===1&&o!==ho){const b=t.children[0],y=b.type,_=y===5||y===8;_&&Hn(b,e)===0&&(u|=1),_||y===2?c=b:c=t.children}else c=t.children;f&&f.length&&(d=NP(f)),t.codegenNode=ko(e,o,l,c,u===0?void 0:u,d,h,!!p,!1,r,t.loc)};function W_(t,e,n=!1){let{tag:s}=t;const i=dh(s),r=dl(t,"is",!1,!0);if(r)if(i||Tr("COMPILER_IS_ON_ELEMENT",e)){let a;if(r.type===6?a=r.value&&Lt(r.value.content,!0):(a=r.exp,a||(a=Lt("is",!1,r.arg.loc))),a)return Ke(e.helper(Xu),[a])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=Dp(s)||e.isBuiltInComponent(s);return o?(n||e.helper(o),o):(e.helper(qu),e.components.add(s),Ao(s,"component"))}function Up(t,e,n=t.props,s,i,r=!1){const{tag:o,loc:a,children:l}=t;let c=[];const u=[],d=[],f=l.length>0;let h=!1,p=0,m=!1,b=!1,y=!1,_=!1,g=!1,v=!1;const S=[],k=D=>{c.length&&(u.push(qn(by(c),a)),c=[]),D&&u.push(D)},N=()=>{e.scopes.vFor>0&&c.push(Me(Lt("ref_for",!0),Lt("true")))},R=({key:D,value:j})=>{if(xn(D)){const F=D.content,U=Qi(F);if(U&&(!s||i)&&F.toLowerCase()!=="onclick"&&F!=="onUpdate:modelValue"&&!ui(F)&&(_=!0),U&&ui(F)&&(v=!0),U&&j.type===14&&(j=j.arguments[0]),j.type===20||(j.type===4||j.type===8)&&Hn(j,e)>0)return;F==="ref"?m=!0:F==="class"?b=!0:F==="style"?y=!0:F!=="key"&&!S.includes(F)&&S.push(F),s&&(F==="class"||F==="style")&&!S.includes(F)&&S.push(F)}else g=!0};for(let D=0;D<n.length;D++){const j=n[D];if(j.type===6){const{loc:F,name:U,nameLoc:Y,value:ot}=j;let G=!0;if(U==="ref"&&(m=!0,N()),U==="is"&&(dh(o)||ot&&ot.content.startsWith("vue:")||Tr("COMPILER_IS_ON_ELEMENT",e)))continue;c.push(Me(Lt(U,!0,Y),Lt(ot?ot.content:"",G,ot?ot.loc:F)))}else{const{name:F,arg:U,exp:Y,loc:ot,modifiers:G}=j,tt=F==="bind",at=F==="on";if(F==="slot"){s||e.onError(Ce(40,ot));continue}if(F==="once"||F==="memo"||F==="is"||tt&&Ki(U,"is")&&(dh(o)||Tr("COMPILER_IS_ON_ELEMENT",e))||at&&r)continue;if((tt&&Ki(U,"key")||at&&f&&Ki(U,"vue:before-update"))&&(h=!0),tt&&Ki(U,"ref")&&N(),!U&&(tt||at)){if(g=!0,Y)if(tt){if(N(),k(),Tr("COMPILER_V_BIND_OBJECT_ORDER",e)){u.unshift(Y);continue}u.push(Y)}else k({type:14,loc:ot,callee:e.helper(nd),arguments:s?[Y]:[Y,"true"]});else e.onError(Ce(tt?34:35,ot));continue}tt&&G.some(qt=>qt.content==="prop")&&(p|=32);const Tt=e.directiveTransforms[F];if(Tt){const{props:qt,needRuntime:Vt}=Tt(j,t,e);!r&&qt.forEach(R),at&&U&&!xn(U)?k(qn(qt,a)):c.push(...qt),Vt&&(d.push(j),Nn(Vt)&&j_.set(j,Vt))}else $b(F)||(d.push(j),f&&(h=!0))}}let T;if(u.length?(k(),u.length>1?T=Ke(e.helper(Ga),u,a):T=u[0]):c.length&&(T=qn(by(c),a)),g?p|=16:(b&&!s&&(p|=2),y&&!s&&(p|=4),S.length&&(p|=8),_&&(p|=32)),!h&&(p===0||p===32)&&(m||v||d.length>0)&&(p|=512),!e.inSSR&&T)switch(T.type){case 15:let D=-1,j=-1,F=!1;for(let ot=0;ot<T.properties.length;ot++){const G=T.properties[ot].key;xn(G)?G.content==="class"?D=ot:G.content==="style"&&(j=ot):G.isHandlerKey||(F=!0)}const U=T.properties[D],Y=T.properties[j];F?T=Ke(e.helper(wo),[T]):(U&&!xn(U.value)&&(U.value=Ke(e.helper(td),[U.value])),Y&&(y||Y.value.type===4&&Y.value.content.trim()[0]==="["||Y.value.type===17)&&(Y.value=Ke(e.helper(ed),[Y.value])));break;case 14:break;default:T=Ke(e.helper(wo),[Ke(e.helper(Uo),[T])]);break}return{props:T,directives:d,patchFlag:p,dynamicPropNames:S,shouldUseBlock:h}}function by(t){const e=new Map,n=[];for(let s=0;s<t.length;s++){const i=t[s];if(i.key.type===8||!i.key.isStatic){n.push(i);continue}const r=i.key.content,o=e.get(r);o?(r==="style"||r==="class"||Qi(r))&&IP(o,i):(e.set(r,i),n.push(i))}return n}function IP(t,e){t.value.type===17?t.value.elements.push(e.value):t.value=Xi([t.value,e.value],t.loc)}function G_(t,e){const n=[],s=j_.get(t);s?n.push(e.helperString(s)):(e.helper(Yu),e.directives.add(t.name),n.push(Ao(t.name,"directive")));const{loc:i}=t;if(t.exp&&n.push(t.exp),t.arg&&(t.exp||n.push("void 0"),n.push(t.arg)),Object.keys(t.modifiers).length){t.arg||(t.exp||n.push("void 0"),n.push("void 0"));const r=Lt("true",!1,i);n.push(qn(t.modifiers.map(o=>Me(o,r)),i))}return Xi(n,t.loc)}function NP(t){let e="[";for(let n=0,s=t.length;n<s;n++)e+=JSON.stringify(t[n]),n<s-1&&(e+=", ");return e+"]"}function dh(t){return t==="component"||t==="Component"}const PP=(t,e)=>{if(za(t)){const{children:n,loc:s}=t,{slotName:i,slotProps:r}=K_(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;r&&(o[2]=r,a=3),n.length&&(o[3]=Nr([],n,!1,!1,s),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=Ke(e.helper(xp),o,s)}};function K_(t,e){let n='"default"',s;const i=[];for(let r=0;r<t.props.length;r++){const o=t.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=Te(o.name),i.push(o)));else if(o.name==="bind"&&Ki(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=Te(o.arg.content);n=o.exp=Lt(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&xn(o.arg)&&(o.arg.content=Te(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Up(t,e,i,!1,!1);s=r,o.length&&e.onError(Ce(36,o[0].loc))}return{slotName:n,slotProps:s}}const jp=(t,e,n,s)=>{const{loc:i,modifiers:r,arg:o}=t;!t.exp&&!r.length&&n.onError(Ce(35,i));let a;if(o.type===4)if(o.isStatic){let d=o.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const f=e.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?vr(Te(d)):`on:${d}`;a=Lt(f,!0,o.loc)}else a=ds([`${n.helperString(jc)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(jc)}(`),a.children.push(")");let l=t.exp;l&&!l.content.trim()&&(l=void 0);let c=n.cacheHandlers&&!l&&!n.inVOnce;if(l){const d=Mp(l),f=!(d||p_(l)),h=l.content.includes(";");(f||c&&d)&&(l=ds([`${f?"$event":"(...args)"} => ${h?"{":"("}`,l,h?"}":")"]))}let u={props:[Me(a,l||Lt("() => {}",!1,i))]};return s&&(u=s(u)),c&&(u.props[0].value=n.cache(u.props[0].value)),u.props.forEach(d=>d.key.isHandlerKey=!0),u},DP=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const n=t.children;let s,i=!1;for(let r=0;r<n.length;r++){const o=n[r];if(oc(o)){i=!0;for(let a=r+1;a<n.length;a++){const l=n[a];if(oc(l))s||(s=n[r]=ds([o],o.loc)),s.children.push(" + ",l),n.splice(a,1),a--;else{s=void 0;break}}}}if(!(!i||n.length===1&&(t.type===0||t.type===1&&t.tagType===0&&!t.props.find(r=>r.type===7&&!e.directiveTransforms[r.name])&&t.tag!=="template")))for(let r=0;r<n.length;r++){const o=n[r];if(oc(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!e.ssr&&Hn(o,e)===0&&a.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:Ke(e.helper(zu),a)}}}}},vy=new WeakSet,MP=(t,e)=>{if(t.type===1&&On(t,"once",!0))return vy.has(t)||e.inVOnce||e.inSSR?void 0:(vy.add(t),e.inVOnce=!0,e.helper(Ka),()=>{e.inVOnce=!1;const n=e.currentNode;n.codegenNode&&(n.codegenNode=e.cache(n.codegenNode,!0,!0))})},Bp=(t,e,n)=>{const{exp:s,arg:i}=t;if(!s)return n.onError(Ce(41,t.loc)),$l();const r=s.loc.source.trim(),o=s.type===4?s.content:r,a=n.bindingMetadata[r];if(a==="props"||a==="props-aliased")return n.onError(Ce(44,s.loc)),$l();if(!o.trim()||!Mp(s))return n.onError(Ce(42,s.loc)),$l();const l=i||Lt("modelValue",!0),c=i?xn(i)?`onUpdate:${Te(i.content)}`:ds(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const d=n.isTS?"($event: any)":"$event";u=ds([`${d} => ((`,s,") = $event)"]);const f=[Me(l,t.exp),Me(c,u)];if(t.modifiers.length&&e.tagType===1){const h=t.modifiers.map(m=>m.content).map(m=>(ul(m)?m:JSON.stringify(m))+": true").join(", "),p=i?xn(i)?`${i.content}Modifiers`:ds([i,' + "Modifiers"']):"modelModifiers";f.push(Me(p,Lt(`{ ${h} }`,!1,t.loc,2)))}return $l(f)};function $l(t=[]){return{props:t}}const RP=/[\w).+\-_$\]]/,LP=(t,e)=>{Tr("COMPILER_FILTERS",e)&&(t.type===5?Kc(t.content,e):t.type===1&&t.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Kc(n.exp,e)}))};function Kc(t,e){if(t.type===4)_y(t,e);else for(let n=0;n<t.children.length;n++){const s=t.children[n];typeof s=="object"&&(s.type===4?_y(s,e):s.type===8?Kc(t,e):s.type===5&&Kc(s.content,e))}}function _y(t,e){const n=t.content;let s=!1,i=!1,r=!1,o=!1,a=0,l=0,c=0,u=0,d,f,h,p,m=[];for(h=0;h<n.length;h++)if(f=d,d=n.charCodeAt(h),s)d===39&&f!==92&&(s=!1);else if(i)d===34&&f!==92&&(i=!1);else if(r)d===96&&f!==92&&(r=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!a&&!l&&!c)p===void 0?(u=h+1,p=n.slice(0,h).trim()):b();else{switch(d){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(d===47){let y=h-1,_;for(;y>=0&&(_=n.charAt(y),_===" ");y--);(!_||!RP.test(_))&&(o=!0)}}p===void 0?p=n.slice(0,h).trim():u!==0&&b();function b(){m.push(n.slice(u,h).trim()),u=h+1}if(m.length){for(h=0;h<m.length;h++)p=$P(p,m[h],e);t.content=p,t.ast=void 0}}function $P(t,e,n){n.helper(Zu);const s=e.indexOf("(");if(s<0)return n.filters.add(e),`${Ao(e,"filter")}(${t})`;{const i=e.slice(0,s),r=e.slice(s+1);return n.filters.add(i),`${Ao(i,"filter")}(${t}${r!==")"?","+r:r}`}}const Sy=new WeakSet,FP=(t,e)=>{if(t.type===1){const n=On(t,"memo");return!n||Sy.has(t)?void 0:(Sy.add(t),()=>{const s=t.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(t.tagType!==1&&rd(s,e),t.codegenNode=Ke(e.helper(id),[n.exp,Nr(void 0,s),"_cache",String(e.cached.length)]),e.cached.push(null))})}};function z_(t){return[[MP,kP,FP,CP,LP,PP,B_,V_,DP],{on:jp,bind:L_,model:Bp}]}function q_(t,e={}){const n=e.onError||Pp,s=e.mode==="module";e.prefixIdentifiers===!0?n(Ce(47)):s&&n(Ce(48));const i=!1;e.cacheHandlers&&n(Ce(49)),e.scopeId&&!s&&n(Ce(50));const r=Zt({},e,{prefixIdentifiers:i}),o=Dt(t)?$p(t,r):t,[a,l]=z_();return x_(o,Zt({},r,{nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:Zt({},l,e.directiveTransforms||{})})),N_(o,r)}const VP={DATA:"data",PROPS:"props",PROPS_ALIASED:"props-aliased",SETUP_LET:"setup-let",SETUP_CONST:"setup-const",SETUP_REACTIVE_CONST:"setup-reactive-const",SETUP_MAYBE_REF:"setup-maybe-ref",SETUP_REF:"setup-ref",OPTIONS:"options",LITERAL_CONST:"literal-const"},X_=()=>({props:[]});/**
* @vue/compiler-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Wp=Symbol(""),Gp=Symbol(""),Kp=Symbol(""),zp=Symbol(""),zc=Symbol(""),qp=Symbol(""),Xp=Symbol(""),Yp=Symbol(""),Zp=Symbol(""),Jp=Symbol("");s_({[Wp]:"vModelRadio",[Gp]:"vModelCheckbox",[Kp]:"vModelText",[zp]:"vModelSelect",[zc]:"vModelDynamic",[qp]:"withModifiers",[Xp]:"withKeys",[Yp]:"vShow",[Zp]:"Transition",[Jp]:"TransitionGroup"});let Kr;function HP(t,e=!1){return Kr||(Kr=document.createElement("div")),e?(Kr.innerHTML=`<div foo="${t.replace(/"/g,"&quot;")}">`,Kr.children[0].getAttribute("foo")):(Kr.innerHTML=t,Kr.textContent)}const Qp={parseMode:"html",isVoidTag:jb,isNativeTag:t=>Vb(t)||Hb(t)||Ub(t),isPreTag:t=>t==="pre",isIgnoreNewlineTag:t=>t==="pre"||t==="textarea",decodeEntities:HP,isBuiltInComponent:t=>{if(t==="Transition"||t==="transition")return Zp;if(t==="TransitionGroup"||t==="transition-group")return Jp},getNamespace(t,e,n){let s=e?e.ns:n;if(e&&s===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(s=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(s=0);else e&&s===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(s=0);if(s===0){if(t==="svg")return 1;if(t==="math")return 2}return s}},Y_=t=>{t.type===1&&t.props.forEach((e,n)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[n]={type:7,name:"bind",arg:Lt("style",!0,e.loc),exp:UP(e.value.content,e.loc),modifiers:[],loc:e.loc})})},UP=(t,e)=>{const n=Rh(t);return Lt(JSON.stringify(n),!1,e,3)};function hi(t,e){return Ce(t,e)}const jP={X_V_HTML_NO_EXPRESSION:53,53:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:54,54:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:55,55:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:56,56:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:57,57:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:58,58:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:59,59:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:60,60:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:61,61:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:62,62:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:63,63:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:64,64:"__EXTEND_POINT__"},BP={53:"v-html is missing expression.",54:"v-html will override element children.",55:"v-text is missing expression.",56:"v-text will override element children.",57:"v-model can only be used on <input>, <textarea> and <select> elements.",58:"v-model argument is not supported on plain elements.",59:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",60:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",61:"v-show is missing expression.",62:"<Transition> expects exactly one child element or component.",63:"Tags with side effect (<script> and <style>) are ignored in client component templates."},WP=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(hi(53,i)),e.children.length&&(n.onError(hi(54,i)),e.children.length=0),{props:[Me(Lt("innerHTML",!0,i),s||Lt("",!0))]}},GP=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(hi(55,i)),e.children.length&&(n.onError(hi(56,i)),e.children.length=0),{props:[Me(Lt("textContent",!0),s?Hn(s,n)>0?s:Ke(n.helperString(cl),[s],i):Lt("",!0))]}},KP=(t,e,n)=>{const s=Bp(t,e,n);if(!s.props.length||e.tagType===1)return s;t.arg&&n.onError(hi(58,t.arg.loc));const{tag:i}=e,r=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=Kp,a=!1;if(i==="input"||r){const l=dl(e,"type");if(l){if(l.type===7)o=zc;else if(l.value)switch(l.value.content){case"radio":o=Wp;break;case"checkbox":o=Gp;break;case"file":a=!0,n.onError(hi(59,t.loc));break}}else g_(e)&&(o=zc)}else i==="select"&&(o=zp);a||(s.needRuntime=n.helper(o))}else n.onError(hi(57,t.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},zP=rn("passive,once,capture"),qP=rn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),XP=rn("left,right"),Z_=rn("onkeyup,onkeydown,onkeypress"),YP=(t,e,n,s)=>{const i=[],r=[],o=[];for(let a=0;a<e.length;a++){const l=e[a].content;l==="native"&&To("COMPILER_V_ON_NATIVE",n)||zP(l)?o.push(l):XP(l)?xn(t)?Z_(t.content.toLowerCase())?i.push(l):r.push(l):(i.push(l),r.push(l)):qP(l)?r.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},Ey=(t,e)=>xn(t)&&t.content.toLowerCase()==="onclick"?Lt(e,!0):t.type!==4?ds(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,ZP=(t,e,n)=>jp(t,e,n,s=>{const{modifiers:i}=t;if(!i.length)return s;let{key:r,value:o}=s.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=YP(r,i,n,t.loc);if(l.includes("right")&&(r=Ey(r,"onContextmenu")),l.includes("middle")&&(r=Ey(r,"onMouseup")),l.length&&(o=Ke(n.helper(qp),[o,JSON.stringify(l)])),a.length&&(!xn(r)||Z_(r.content.toLowerCase()))&&(o=Ke(n.helper(Xp),[o,JSON.stringify(a)])),c.length){const u=c.map(er).join("");r=xn(r)?Lt(`${r.content}${u}`,!0):ds(["(",r,`) + "${u}"`])}return{props:[Me(r,o)]}}),JP=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(hi(61,i)),{props:[],needRuntime:n.helper(Yp)}},QP=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&e.removeNode()},J_=[Y_],Q_={cloak:X_,html:WP,text:GP,model:KP,on:ZP,show:JP};function tD(t,e={}){return q_(t,Zt({},Qp,e,{nodeTransforms:[QP,...J_,...e.nodeTransforms||[]],directiveTransforms:Zt({},Q_,e.directiveTransforms||{}),transformHoist:null}))}function eD(t,e={}){return $p(t,Zt({},Qp,e))}const nD=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Tp,BindingTypes:VP,CAMELIZE:Uc,CAPITALIZE:J0,CREATE_BLOCK:Cp,CREATE_COMMENT:Ho,CREATE_ELEMENT_BLOCK:Ap,CREATE_ELEMENT_VNODE:Ku,CREATE_SLOTS:Ip,CREATE_STATIC:Op,CREATE_TEXT:zu,CREATE_VNODE:Gu,CompilerDeprecationTypes:SN,ConstantTypes:hN,DOMDirectiveTransforms:Q_,DOMErrorCodes:jP,DOMErrorMessages:BP,DOMNodeTransforms:J_,ElementTypes:fN,ErrorCodes:kN,FRAGMENT:Eo,GUARD_REACTIVE_PROPS:Uo,IS_MEMO_SAME:Np,IS_REF:n_,KEEP_ALIVE:Wa,MERGE_PROPS:Ga,NORMALIZE_CLASS:td,NORMALIZE_PROPS:wo,NORMALIZE_STYLE:ed,Namespaces:uN,NodeTypes:dN,OPEN_BLOCK:Ji,POP_SCOPE_ID:t_,PUSH_SCOPE_ID:Q0,RENDER_LIST:Qu,RENDER_SLOT:xp,RESOLVE_COMPONENT:qu,RESOLVE_DIRECTIVE:Yu,RESOLVE_DYNAMIC_COMPONENT:Xu,RESOLVE_FILTER:Zu,SET_BLOCK_TRACKING:Ka,SUSPENSE:Wu,TELEPORT:ho,TO_DISPLAY_STRING:cl,TO_HANDLERS:nd,TO_HANDLER_KEY:jc,TRANSITION:Zp,TRANSITION_GROUP:Jp,TS_NODE_TYPES:c_,UNREF:e_,V_MODEL_CHECKBOX:Gp,V_MODEL_DYNAMIC:zc,V_MODEL_RADIO:Wp,V_MODEL_SELECT:zp,V_MODEL_TEXT:Kp,V_ON_WITH_KEYS:Xp,V_ON_WITH_MODIFIERS:qp,V_SHOW:Yp,WITH_CTX:sd,WITH_DIRECTIVES:Ju,WITH_MEMO:id,advancePositionWithClone:BN,advancePositionWithMutation:m_,assert:WN,baseCompile:q_,baseParse:$p,buildDirectiveArgs:G_,buildProps:Up,buildSlots:H_,checkCompatEnabled:To,compile:tD,convertToBlock:rd,createArrayExpression:Xi,createAssignmentExpression:yN,createBlockStatement:o_,createCacheExpression:r_,createCallExpression:Ke,createCompilerError:Ce,createCompoundExpression:ds,createConditionalExpression:Bc,createDOMCompilerError:hi,createForLoopParams:Gc,createFunctionExpression:Nr,createIfStatement:gN,createInterpolation:pN,createObjectExpression:qn,createObjectProperty:Me,createReturnStatement:vN,createRoot:i_,createSequenceExpression:bN,createSimpleExpression:Lt,createStructuralDirectiveTransform:Fp,createTemplateLiteral:mN,createTransformContext:O_,createVNodeCall:ko,errorMessages:TN,extractIdentifiers:ai,findDir:On,findProp:dl,forAliasRE:v_,generate:N_,generateCodeFrame:Fb,getBaseTransformPreset:z_,getConstantType:Hn,getMemoedVNodeCall:b_,getVNodeBlockHelper:Dr,getVNodeHelper:Pr,hasDynamicKeyVBind:g_,hasScopeRef:Es,helperNameMap:Ir,injectProp:qa,isCoreComponent:Dp,isFnExpression:p_,isFnExpressionBrowser:h_,isFnExpressionNode:jN,isFunctionType:MN,isInDestructureAssignment:ON,isInNewExpression:xN,isMemberExpression:Mp,isMemberExpressionBrowser:f_,isMemberExpressionNode:HN,isReferencedIdentifier:AN,isSimpleIdentifier:ul,isSlotOutlet:za,isStaticArgOf:Ki,isStaticExp:xn,isStaticProperty:l_,isStaticPropertyKey:RN,isTemplateNode:Co,isText:oc,isVSlot:Rp,locStub:Qe,noopDirectiveTransform:X_,parse:eD,parserOptions:Qp,processExpression:uc,processFor:F_,processIf:R_,processSlotOutlet:K_,registerRuntimeHelpers:s_,resolveComponentType:W_,stringifyExpression:M_,toValidAssetId:Ao,trackSlotScopes:V_,trackVForSlotScopes:OP,transform:x_,transformBind:L_,transformElement:B_,transformExpression:wP,transformModel:Bp,transformOn:jp,transformStyle:Y_,traverseNode:fl,unwrapTSNode:u_,walkBlockDeclarations:NN,walkFunctionParams:IN,walkIdentifiers:CN,warnDeprecation:wN},Symbol.toStringTag,{value:"Module"})),sD=Bu(nD),iD=Bu(Nk),rD=Bu(SE);/**
* vue v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/var wy;function oD(){return wy||(wy=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=sD,n=iD,s=rD;function i(l){var c=Object.create(null);if(l)for(var u in l)c[u]=l[u];return c.default=l,Object.freeze(c)}var r=i(n);const o=Object.create(null);function a(l,c){if(!s.isString(l))if(l.nodeType)l=l.innerHTML;else return s.NOOP;const u=s.genCacheKey(l,c),d=o[u];if(d)return d;if(l[0]==="#"){const m=document.querySelector(l);l=m?m.innerHTML:""}const f=s.extend({hoistStatic:!0,onError:void 0,onWarn:s.NOOP},c);!f.isCustomElement&&typeof customElements<"u"&&(f.isCustomElement=m=>!!customElements.get(m));const{code:h}=e.compile(l,f),p=new Function("Vue",h)(r);return p._rc=!0,o[u]=p}n.registerRuntimeCompiler(a),t.compile=a,Object.keys(n).forEach(function(l){l!=="default"&&!Object.prototype.hasOwnProperty.call(t,l)&&(t[l]=n[l])})}(Gd)),Gd}var ky;function t2(){return ky||(ky=1,Wd.exports=oD()),Wd.exports}var Ty;function aD(){return Ty||(Ty=1,function(t){t.exports=function(e){var n={};function s(i){if(n[i])return n[i].exports;var r=n[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,s),r.l=!0,r.exports}return s.m=e,s.c=n,s.d=function(i,r,o){s.o(i,r)||Object.defineProperty(i,r,{enumerable:!0,get:o})},s.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},s.t=function(i,r){if(r&1&&(i=s(i)),r&8||r&4&&typeof i=="object"&&i&&i.__esModule)return i;var o=Object.create(null);if(s.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:i}),r&2&&typeof i!="string")for(var a in i)s.d(o,a,(function(l){return i[l]}).bind(null,a));return o},s.n=function(i){var r=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(r,"a",r),r},s.o=function(i,r){return Object.prototype.hasOwnProperty.call(i,r)},s.p="",s(s.s="fb15")}({8875:function(e,n,s){var i,r,o;(function(a,l){r=[],i=l,o=typeof i=="function"?i.apply(n,r):i,o!==void 0&&(e.exports=o)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(v){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,u=/@([^@]*):(\d+):(\d+)\s*$/ig,d=c.exec(v.stack)||u.exec(v.stack),f=d&&d[1]||!1,h=d&&d[2]||!1,p=document.location.href.replace(document.location.hash,""),m,b,y,_=document.getElementsByTagName("script");f===p&&(m=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(h-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=m.replace(b,"$1").trim());for(var g=0;g<_.length;g++)if(_[g].readyState==="interactive"||_[g].src===f||f===p&&_[g].innerHTML&&_[g].innerHTML.trim()===y)return _[g];return null}}return a})},"8bbf":function(e,n){e.exports=t2()},fb15:function(e,n,s){if(s.r(n),typeof window<"u"){var i=window.document.currentScript;{var r=s("8875");i=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r})}var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(s.p=o[1])}var a=s("8bbf");function l(p,m,b,y,_,g){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:y.finalStyle},null,4)}var c=typeof window<"u",u={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var m=c?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},b=Object(a.computed)(function(){var y=m.options,_=!!y.show,g=y.location,v={"z-index":999999,"background-color":y.canSuccess?y.color:y.failedColor,opacity:y.show?1:0,position:y.position};return g==="top"||g==="bottom"?(g==="top"?v.top="0px":v.bottom="0px",y.inverse?v.right="0px":v.left="0px",v.width=m.percent+"%",v.height=y.thickness,v.transition=(_?"width "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity):(g==="left"||g==="right")&&(g==="left"?v.left="0px":v.right="0px",y.inverse?v.top="0px":v.bottom="0px",v.height=m.percent+"%",v.width=y.thickness,v.transition=(_?"height "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity),v});return{progress:m,finalStyle:b}}};u.render=l;var d=u;function f(p,m){for(var b=1,y,_;b<arguments.length;++b){_=arguments[b];for(y in _)Object.prototype.hasOwnProperty.call(_,y)&&(p[y]=_[y])}return p}var h={install:function(m,b){var y={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},_=f(y,b),g=Object(a.reactive)({percent:0,options:_});m.provide("RADON_LOADING_BAR",g);var v={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(k){var N=this;k||(k=3e3),g.percent=0,g.options.show=!0,g.options.canSuccess=!0,this.state.cut=1e4/Math.floor(k),clearInterval(this.state.timer),this.state.timer=setInterval(function(){N.increase(N.state.cut*Math.random()),g.percent>95&&g.options.autoFinish&&N.finish()},100)},set:function(k){g.options.show=!0,g.options.canSuccess=!0,g.percent=Math.floor(k)},get:function(){return Math.floor(g.percent)},increase:function(k){g.percent=Math.min(99,g.percent+Math.floor(k))},decrease:function(k){g.percent=g.percent-Math.floor(k)},hide:function(){var k=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){g.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){g.percent=0},100),g.options.autoRevert&&setTimeout(function(){k.revert()},300)})},g.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){g.percent=100,this.hide()},fail:function(){g.options.canSuccess=!1,g.percent=100,this.hide()},setFailColor:function(k){g.options.failedColor=k},setColor:function(k){g.options.color=k},setLocation:function(k){g.options.location=k},setTransition:function(k){g.options.transition=k},tempFailColor:function(k){this.state.tFailColor=g.options.failedColor,g.options.failedColor=k},tempColor:function(k){this.state.tColor=g.options.color,g.options.color=k},tempLocation:function(k){this.state.tLocation=g.options.location,g.options.location=k},tempTransition:function(k){this.state.tTransition=g.options.transition,g.options.transition=k},revertColor:function(){g.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){g.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){g.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){g.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){g.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(k){for(var N in k.func){var R=k.func[N];switch(R.call){case"color":switch(R.modifier){case"set":this.setColor(R.argument);break;case"temp":this.tempColor(R.argument);break}break;case"fail":switch(R.modifier){case"set":this.setFailColor(R.argument);break;case"temp":this.tempFailColor(R.argument);break}break;case"location":switch(R.modifier){case"set":this.setLocation(R.argument);break;case"temp":this.tempLocation(R.argument);break}break;case"transition":switch(R.modifier){case"set":this.setTransition(R.argument);break;case"temp":this.tempTransition(R.argument);break}break}}}};m.component("vue-progress-bar",d),m.config.globalProperties.$Progress=v}};n.default=h}})}(Bd)),Bd.exports}var lD=aD();const cD=ju(lD);class Vr extends Error{}class uD extends Vr{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class dD extends Vr{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class fD extends Vr{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class lo extends Vr{}class e2 extends Vr{constructor(e){super(`Invalid unit ${e}`)}}class mn extends Vr{}class Ii extends Vr{constructor(){super("Zone is an abstract class")}}const mt="numeric",Ns="short",Jn="long",qc={year:mt,month:mt,day:mt},n2={year:mt,month:Ns,day:mt},hD={year:mt,month:Ns,day:mt,weekday:Ns},s2={year:mt,month:Jn,day:mt},i2={year:mt,month:Jn,day:mt,weekday:Jn},r2={hour:mt,minute:mt},o2={hour:mt,minute:mt,second:mt},a2={hour:mt,minute:mt,second:mt,timeZoneName:Ns},l2={hour:mt,minute:mt,second:mt,timeZoneName:Jn},c2={hour:mt,minute:mt,hourCycle:"h23"},u2={hour:mt,minute:mt,second:mt,hourCycle:"h23"},d2={hour:mt,minute:mt,second:mt,hourCycle:"h23",timeZoneName:Ns},f2={hour:mt,minute:mt,second:mt,hourCycle:"h23",timeZoneName:Jn},h2={year:mt,month:mt,day:mt,hour:mt,minute:mt},p2={year:mt,month:mt,day:mt,hour:mt,minute:mt,second:mt},m2={year:mt,month:Ns,day:mt,hour:mt,minute:mt},g2={year:mt,month:Ns,day:mt,hour:mt,minute:mt,second:mt},pD={year:mt,month:Ns,day:mt,weekday:Ns,hour:mt,minute:mt},y2={year:mt,month:Jn,day:mt,hour:mt,minute:mt,timeZoneName:Ns},b2={year:mt,month:Jn,day:mt,hour:mt,minute:mt,second:mt,timeZoneName:Ns},v2={year:mt,month:Jn,day:mt,weekday:Jn,hour:mt,minute:mt,timeZoneName:Jn},_2={year:mt,month:Jn,day:mt,weekday:Jn,hour:mt,minute:mt,second:mt,timeZoneName:Jn};class pl{get type(){throw new Ii}get name(){throw new Ii}get ianaName(){return this.name}get isUniversal(){throw new Ii}offsetName(e,n){throw new Ii}formatOffset(e,n){throw new Ii}offset(e){throw new Ii}equals(e){throw new Ii}get isValid(){throw new Ii}}let zd=null;class ad extends pl{static get instance(){return zd===null&&(zd=new ad),zd}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return N2(e,n,s)}formatOffset(e,n){return Sa(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const fh=new Map;function mD(t){let e=fh.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),fh.set(t,e)),e}const gD={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function yD(t,e){const n=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,i,r,o,a,l,c,u]=s;return[o,i,r,a,l,c,u]}function bD(t,e){const n=t.formatToParts(e),s=[];for(let i=0;i<n.length;i++){const{type:r,value:o}=n[i],a=gD[r];r==="era"?s[a]=o:Mt(a)||(s[a]=parseInt(o,10))}return s}const qd=new Map;class Ei extends pl{static create(e){let n=qd.get(e);return n===void 0&&qd.set(e,n=new Ei(e)),n}static resetCache(){qd.clear(),fh.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Ei.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return N2(e,n,s,this.name)}formatOffset(e,n){return Sa(this.offset(e),n)}offset(e){if(!this.valid)return NaN;const n=new Date(e);if(isNaN(n))return NaN;const s=mD(this.name);let[i,r,o,a,l,c,u]=s.formatToParts?bD(s,n):yD(s,n);a==="BC"&&(i=-Math.abs(i)+1);const f=cd({year:i,month:r,day:o,hour:l===24?0:l,minute:c,second:u,millisecond:0});let h=+n;const p=h%1e3;return h-=p>=0?p:1e3+p,(f-h)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let Cy={};function vD(t,e={}){const n=JSON.stringify([t,e]);let s=Cy[n];return s||(s=new Intl.ListFormat(t,e),Cy[n]=s),s}const hh=new Map;function ph(t,e={}){const n=JSON.stringify([t,e]);let s=hh.get(n);return s===void 0&&(s=new Intl.DateTimeFormat(t,e),hh.set(n,s)),s}const mh=new Map;function _D(t,e={}){const n=JSON.stringify([t,e]);let s=mh.get(n);return s===void 0&&(s=new Intl.NumberFormat(t,e),mh.set(n,s)),s}const gh=new Map;function SD(t,e={}){const{base:n,...s}=e,i=JSON.stringify([t,s]);let r=gh.get(i);return r===void 0&&(r=new Intl.RelativeTimeFormat(t,e),gh.set(i,r)),r}let ra=null;function ED(){return ra||(ra=new Intl.DateTimeFormat().resolvedOptions().locale,ra)}const yh=new Map;function S2(t){let e=yh.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),yh.set(t,e)),e}const bh=new Map;function wD(t){let e=bh.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...E2,...e}),bh.set(t,e)}return e}function kD(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(n===-1)return[t];{let s,i;try{s=ph(t).resolvedOptions(),i=t}catch{const l=t.substring(0,n);s=ph(l).resolvedOptions(),i=l}const{numberingSystem:r,calendar:o}=s;return[i,r,o]}}function TD(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function CD(t){const e=[];for(let n=1;n<=12;n++){const s=Ot.utc(2009,n,1);e.push(t(s))}return e}function AD(t){const e=[];for(let n=1;n<=7;n++){const s=Ot.utc(2016,11,13+n);e.push(t(s))}return e}function Fl(t,e,n,s){const i=t.listingMode();return i==="error"?null:i==="en"?n(e):s(e)}function OD(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||S2(t.locale).numberingSystem==="latn"}class xD{constructor(e,n,s){this.padTo=s.padTo||0,this.floor=s.floor||!1;const{padTo:i,floor:r,...o}=s;if(!n||Object.keys(o).length>0){const a={useGrouping:!1,...s};s.padTo>0&&(a.minimumIntegerDigits=s.padTo),this.inf=_D(e,a)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):im(e,3);return Ge(n,this.padTo)}}}class ID{constructor(e,n,s){this.opts=s,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const o=-1*(e.offset/60),a=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;e.offset!==0&&Ei.create(a).valid?(i=a,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const r={...this.opts};r.timeZone=r.timeZone||i,this.dtf=ph(n,r)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(n=>{if(n.type==="timeZoneName"){const s=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:s}}else return n}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class ND{constructor(e,n,s){this.opts={style:"long",...s},!n&&x2()&&(this.rtf=SD(e,s))}format(e,n){return this.rtf?this.rtf.format(e,n):QD(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const E2={firstDay:1,minimalDays:4,weekend:[6,7]};class be{static fromOpts(e){return be.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,s,i,r=!1){const o=e||Fe.defaultLocale,a=o||(r?"en-US":ED()),l=n||Fe.defaultNumberingSystem,c=s||Fe.defaultOutputCalendar,u=_h(i)||Fe.defaultWeekSettings;return new be(a,l,c,u,o)}static resetCache(){ra=null,hh.clear(),mh.clear(),gh.clear(),yh.clear(),bh.clear()}static fromObject({locale:e,numberingSystem:n,outputCalendar:s,weekSettings:i}={}){return be.create(e,n,s,i)}constructor(e,n,s,i,r){const[o,a,l]=kD(e);this.locale=o,this.numberingSystem=n||a||null,this.outputCalendar=s||l||null,this.weekSettings=i,this.intl=TD(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=OD(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:be.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,_h(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,n=!1){return Fl(this,e,M2,()=>{const s=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";return this.monthsCache[i][e]||(this.monthsCache[i][e]=CD(r=>this.extract(r,s,"month"))),this.monthsCache[i][e]})}weekdays(e,n=!1){return Fl(this,e,$2,()=>{const s=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=AD(r=>this.extract(r,s,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return Fl(this,void 0,()=>F2,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ot.utc(2016,11,13,9),Ot.utc(2016,11,13,19)].map(n=>this.extract(n,e,"dayperiod"))}return this.meridiemCache})}eras(e){return Fl(this,e,V2,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[Ot.utc(-40,1,1),Ot.utc(2017,1,1)].map(s=>this.extract(s,n,"era"))),this.eraCache[e]})}extract(e,n,s){const i=this.dtFormatter(e,n),r=i.formatToParts(),o=r.find(a=>a.type.toLowerCase()===s);return o?o.value:null}numberFormatter(e={}){return new xD(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new ID(e,this.intl,n)}relFormatter(e={}){return new ND(this.intl,this.isEnglish(),e)}listFormatter(e={}){return vD(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||S2(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:I2()?wD(this.locale):E2}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xd=null;class In extends pl{static get utcInstance(){return Xd===null&&(Xd=new In(0)),Xd}static instance(e){return e===0?In.utcInstance:new In(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new In(ud(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Sa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Sa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return Sa(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class PD extends pl{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Wi(t,e){if(Mt(t)||t===null)return e;if(t instanceof pl)return t;if(FD(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?ad.instance:n==="utc"||n==="gmt"?In.utcInstance:In.parseSpecifier(n)||Ei.create(t)}else return Yi(t)?In.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new PD(t)}const tm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},Ay={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},DD=tm.hanidec.replace(/[\[|\]]/g,"").split("");function MD(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const s=t.charCodeAt(n);if(t[n].search(tm.hanidec)!==-1)e+=DD.indexOf(t[n]);else for(const i in Ay){const[r,o]=Ay[i];s>=r&&s<=o&&(e+=s-r)}}return parseInt(e,10)}else return e}const vh=new Map;function RD(){vh.clear()}function bs({numberingSystem:t},e=""){const n=t||"latn";let s=vh.get(n);s===void 0&&(s=new Map,vh.set(n,s));let i=s.get(e);return i===void 0&&(i=new RegExp(`${tm[n]}${e}`),s.set(e,i)),i}let Oy=()=>Date.now(),xy="system",Iy=null,Ny=null,Py=null,Dy=60,My,Ry=null;class Fe{static get now(){return Oy}static set now(e){Oy=e}static set defaultZone(e){xy=e}static get defaultZone(){return Wi(xy,ad.instance)}static get defaultLocale(){return Iy}static set defaultLocale(e){Iy=e}static get defaultNumberingSystem(){return Ny}static set defaultNumberingSystem(e){Ny=e}static get defaultOutputCalendar(){return Py}static set defaultOutputCalendar(e){Py=e}static get defaultWeekSettings(){return Ry}static set defaultWeekSettings(e){Ry=_h(e)}static get twoDigitCutoffYear(){return Dy}static set twoDigitCutoffYear(e){Dy=e%100}static get throwOnInvalid(){return My}static set throwOnInvalid(e){My=e}static resetCaches(){be.resetCache(),Ei.resetCache(),Ot.resetCache(),RD()}}class Cs{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const w2=[0,31,59,90,120,151,181,212,243,273,304,334],k2=[0,31,60,91,121,152,182,213,244,274,305,335];function os(t,e){return new Cs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function em(t,e,n){const s=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const i=s.getUTCDay();return i===0?7:i}function T2(t,e,n){return n+(ml(t)?k2:w2)[e-1]}function C2(t,e){const n=ml(t)?k2:w2,s=n.findIndex(r=>r<e),i=e-n[s];return{month:s+1,day:i}}function nm(t,e){return(t-e+7)%7+1}function Xc(t,e=4,n=1){const{year:s,month:i,day:r}=t,o=T2(s,i,r),a=nm(em(s,i,r),n);let l=Math.floor((o-a+14-e)/7),c;return l<1?(c=s-1,l=Ya(c,e,n)):l>Ya(s,e,n)?(c=s+1,l=1):c=s,{weekYear:c,weekNumber:l,weekday:a,...dd(t)}}function Ly(t,e=4,n=1){const{weekYear:s,weekNumber:i,weekday:r}=t,o=nm(em(s,1,e),n),a=po(s);let l=i*7+r-o-7+e,c;l<1?(c=s-1,l+=po(c)):l>a?(c=s+1,l-=po(s)):c=s;const{month:u,day:d}=C2(c,l);return{year:c,month:u,day:d,...dd(t)}}function Yd(t){const{year:e,month:n,day:s}=t,i=T2(e,n,s);return{year:e,ordinal:i,...dd(t)}}function $y(t){const{year:e,ordinal:n}=t,{month:s,day:i}=C2(e,n);return{year:e,month:s,day:i,...dd(t)}}function Fy(t,e){if(!Mt(t.localWeekday)||!Mt(t.localWeekNumber)||!Mt(t.localWeekYear)){if(!Mt(t.weekday)||!Mt(t.weekNumber)||!Mt(t.weekYear))throw new lo("Cannot mix locale-based week fields with ISO-based week fields");return Mt(t.localWeekday)||(t.weekday=t.localWeekday),Mt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Mt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function LD(t,e=4,n=1){const s=ld(t.weekYear),i=as(t.weekNumber,1,Ya(t.weekYear,e,n)),r=as(t.weekday,1,7);return s?i?r?!1:os("weekday",t.weekday):os("week",t.weekNumber):os("weekYear",t.weekYear)}function $D(t){const e=ld(t.year),n=as(t.ordinal,1,po(t.year));return e?n?!1:os("ordinal",t.ordinal):os("year",t.year)}function A2(t){const e=ld(t.year),n=as(t.month,1,12),s=as(t.day,1,Yc(t.year,t.month));return e?n?s?!1:os("day",t.day):os("month",t.month):os("year",t.year)}function O2(t){const{hour:e,minute:n,second:s,millisecond:i}=t,r=as(e,0,23)||e===24&&n===0&&s===0&&i===0,o=as(n,0,59),a=as(s,0,59),l=as(i,0,999);return r?o?a?l?!1:os("millisecond",i):os("second",s):os("minute",n):os("hour",e)}function Mt(t){return typeof t>"u"}function Yi(t){return typeof t=="number"}function ld(t){return typeof t=="number"&&t%1===0}function FD(t){return typeof t=="string"}function VD(t){return Object.prototype.toString.call(t)==="[object Date]"}function x2(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function I2(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function HD(t){return Array.isArray(t)?t:[t]}function Vy(t,e,n){if(t.length!==0)return t.reduce((s,i)=>{const r=[e(i),i];return s&&n(s[0],r[0])===s[0]?s:r},null)[1]}function UD(t,e){return e.reduce((n,s)=>(n[s]=t[s],n),{})}function Oo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function _h(t){if(t==null)return null;if(typeof t!="object")throw new mn("Week settings must be an object");if(!as(t.firstDay,1,7)||!as(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!as(e,1,7)))throw new mn("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function as(t,e,n){return ld(t)&&t>=e&&t<=n}function jD(t,e){return t-e*Math.floor(t/e)}function Ge(t,e=2){const n=t<0;let s;return n?s="-"+(""+-t).padStart(e,"0"):s=(""+t).padStart(e,"0"),s}function Ui(t){if(!(Mt(t)||t===null||t===""))return parseInt(t,10)}function lr(t){if(!(Mt(t)||t===null||t===""))return parseFloat(t)}function sm(t){if(!(Mt(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function im(t,e,n=!1){const s=10**e;return(n?Math.trunc:Math.round)(t*s)/s}function ml(t){return t%4===0&&(t%100!==0||t%400===0)}function po(t){return ml(t)?366:365}function Yc(t,e){const n=jD(e-1,12)+1,s=t+(e-n)/12;return n===2?ml(s)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function cd(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Hy(t,e,n){return-nm(em(t,1,e),n)+e-1}function Ya(t,e=4,n=1){const s=Hy(t,e,n),i=Hy(t+1,e,n);return(po(t)-s+i)/7}function Sh(t){return t>99?t:t>Fe.twoDigitCutoffYear?1900+t:2e3+t}function N2(t,e,n,s=null){const i=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(n,o).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function ud(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const s=parseInt(e,10)||0,i=n<0||Object.is(n,-0)?-s:s;return n*60+i}function P2(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new mn(`Invalid unit value ${t}`);return e}function Zc(t,e){const n={};for(const s in t)if(Oo(t,s)){const i=t[s];if(i==null)continue;n[e(s)]=P2(i)}return n}function Sa(t,e){const n=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${Ge(n,2)}:${Ge(s,2)}`;case"narrow":return`${i}${n}${s>0?`:${s}`:""}`;case"techie":return`${i}${Ge(n,2)}${Ge(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function dd(t){return UD(t,["hour","minute","second","millisecond"])}const BD=["January","February","March","April","May","June","July","August","September","October","November","December"],D2=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],WD=["J","F","M","A","M","J","J","A","S","O","N","D"];function M2(t){switch(t){case"narrow":return[...WD];case"short":return[...D2];case"long":return[...BD];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const R2=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],L2=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],GD=["M","T","W","T","F","S","S"];function $2(t){switch(t){case"narrow":return[...GD];case"short":return[...L2];case"long":return[...R2];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const F2=["AM","PM"],KD=["Before Christ","Anno Domini"],zD=["BC","AD"],qD=["B","A"];function V2(t){switch(t){case"narrow":return[...qD];case"short":return[...zD];case"long":return[...KD];default:return null}}function XD(t){return F2[t.hour<12?0:1]}function YD(t,e){return $2(e)[t.weekday-1]}function ZD(t,e){return M2(e)[t.month-1]}function JD(t,e){return V2(e)[t.year<0?0:1]}function QD(t,e,n="always",s=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=["hours","minutes","seconds"].indexOf(t)===-1;if(n==="auto"&&r){const d=t==="days";switch(e){case 1:return d?"tomorrow":`next ${i[t][0]}`;case-1:return d?"yesterday":`last ${i[t][0]}`;case 0:return d?"today":`this ${i[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),l=a===1,c=i[t],u=s?l?c[1]:c[2]||c[1]:l?i[t][0]:t;return o?`${a} ${u} ago`:`in ${a} ${u}`}function Uy(t,e){let n="";for(const s of t)s.literal?n+=s.val:n+=e(s.val);return n}const tM={D:qc,DD:n2,DDD:s2,DDDD:i2,t:r2,tt:o2,ttt:a2,tttt:l2,T:c2,TT:u2,TTT:d2,TTTT:f2,f:h2,ff:m2,fff:y2,ffff:v2,F:p2,FF:g2,FFF:b2,FFFF:_2};class _n{static create(e,n={}){return new _n(e,n)}static parseFormat(e){let n=null,s="",i=!1;const r=[];for(let o=0;o<e.length;o++){const a=e.charAt(o);a==="'"?(s.length>0&&r.push({literal:i||/^\s+$/.test(s),val:s}),n=null,s="",i=!i):i||a===n?s+=a:(s.length>0&&r.push({literal:/^\s+$/.test(s),val:s}),s=a,n=a)}return s.length>0&&r.push({literal:i||/^\s+$/.test(s),val:s}),r}static macroTokenToFormatOpts(e){return tM[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0){if(this.opts.forceSimple)return Ge(e,n);const s={...this.opts};return n>0&&(s.padTo=n),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,n){const s=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(h,p)=>this.loc.extract(e,h,p),o=h=>e.isOffsetFixed&&e.offset===0&&h.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,h.format):"",a=()=>s?XD(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,p)=>s?ZD(e,h):r(p?{month:h}:{month:h,day:"numeric"},"month"),c=(h,p)=>s?YD(e,h):r(p?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),u=h=>{const p=_n.macroTokenToFormatOpts(h);return p?this.formatWithSystemDefault(e,p):h},d=h=>s?JD(e,h):r({era:h},"era"),f=h=>{switch(h){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return i?r({day:"numeric"},"day"):this.num(e.day);case"dd":return i?r({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?r({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?r({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?r({month:"numeric"},"month"):this.num(e.month);case"MM":return i?r({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?r({year:"numeric"},"year"):this.num(e.year);case"yy":return i?r({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?r({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?r({year:"numeric"},"year"):this.num(e.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(h)}};return Uy(_n.parseFormat(n),f)}formatDurationFromString(e,n){const s=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=l=>c=>{const u=s(c);return u?this.num(l.get(u),c.length):c},r=_n.parseFormat(n),o=r.reduce((l,{literal:c,val:u})=>c?l:l.concat(u),[]),a=e.shiftTo(...o.map(s).filter(l=>l));return Uy(r,i(a))}}const H2=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function jo(...t){const e=t.reduce((n,s)=>n+s.source,"");return RegExp(`^${e}$`)}function Bo(...t){return e=>t.reduce(([n,s,i],r)=>{const[o,a,l]=r(e,i);return[{...n,...o},a||s,l]},[{},null,1]).slice(0,2)}function Wo(t,...e){if(t==null)return[null,null];for(const[n,s]of e){const i=n.exec(t);if(i)return s(i)}return[null,null]}function U2(...t){return(e,n)=>{const s={};let i;for(i=0;i<t.length;i++)s[t[i]]=Ui(e[n+i]);return[s,null,n+i]}}const j2=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,eM=`(?:${j2.source}?(?:\\[(${H2.source})\\])?)?`,rm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,B2=RegExp(`${rm.source}${eM}`),om=RegExp(`(?:T${B2.source})?`),nM=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,sM=/(\d{4})-?W(\d\d)(?:-?(\d))?/,iM=/(\d{4})-?(\d{3})/,rM=U2("weekYear","weekNumber","weekDay"),oM=U2("year","ordinal"),aM=/(\d{4})-(\d\d)-(\d\d)/,W2=RegExp(`${rm.source} ?(?:${j2.source}|(${H2.source}))?`),lM=RegExp(`(?: ${W2.source})?`);function mo(t,e,n){const s=t[e];return Mt(s)?n:Ui(s)}function cM(t,e){return[{year:mo(t,e),month:mo(t,e+1,1),day:mo(t,e+2,1)},null,e+3]}function Go(t,e){return[{hours:mo(t,e,0),minutes:mo(t,e+1,0),seconds:mo(t,e+2,0),milliseconds:sm(t[e+3])},null,e+4]}function gl(t,e){const n=!t[e]&&!t[e+1],s=ud(t[e+1],t[e+2]),i=n?null:In.instance(s);return[{},i,e+3]}function yl(t,e){const n=t[e]?Ei.create(t[e]):null;return[{},n,e+1]}const uM=RegExp(`^T?${rm.source}$`),dM=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function fM(t){const[e,n,s,i,r,o,a,l,c]=t,u=e[0]==="-",d=l&&l[0]==="-",f=(h,p=!1)=>h!==void 0&&(p||h&&u)?-h:h;return[{years:f(lr(n)),months:f(lr(s)),weeks:f(lr(i)),days:f(lr(r)),hours:f(lr(o)),minutes:f(lr(a)),seconds:f(lr(l),l==="-0"),milliseconds:f(sm(c),d)}]}const hM={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function am(t,e,n,s,i,r,o){const a={year:e.length===2?Sh(Ui(e)):Ui(e),month:D2.indexOf(n)+1,day:Ui(s),hour:Ui(i),minute:Ui(r)};return o&&(a.second=Ui(o)),t&&(a.weekday=t.length>3?R2.indexOf(t)+1:L2.indexOf(t)+1),a}const pM=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function mM(t){const[,e,n,s,i,r,o,a,l,c,u,d]=t,f=am(e,i,s,n,r,o,a);let h;return l?h=hM[l]:c?h=0:h=ud(u,d),[f,new In(h)]}function gM(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const yM=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,bM=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,vM=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jy(t){const[,e,n,s,i,r,o,a]=t;return[am(e,i,s,n,r,o,a),In.utcInstance]}function _M(t){const[,e,n,s,i,r,o,a]=t;return[am(e,a,n,s,i,r,o),In.utcInstance]}const SM=jo(nM,om),EM=jo(sM,om),wM=jo(iM,om),kM=jo(B2),G2=Bo(cM,Go,gl,yl),TM=Bo(rM,Go,gl,yl),CM=Bo(oM,Go,gl,yl),AM=Bo(Go,gl,yl);function OM(t){return Wo(t,[SM,G2],[EM,TM],[wM,CM],[kM,AM])}function xM(t){return Wo(gM(t),[pM,mM])}function IM(t){return Wo(t,[yM,jy],[bM,jy],[vM,_M])}function NM(t){return Wo(t,[dM,fM])}const PM=Bo(Go);function DM(t){return Wo(t,[uM,PM])}const MM=jo(aM,lM),RM=jo(W2),LM=Bo(Go,gl,yl);function $M(t){return Wo(t,[MM,G2],[RM,LM])}const By="Invalid Duration",K2={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},FM={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...K2},ss=146097/400,zr=146097/4800,VM={years:{quarters:4,months:12,weeks:ss/7,days:ss,hours:ss*24,minutes:ss*24*60,seconds:ss*24*60*60,milliseconds:ss*24*60*60*1e3},quarters:{months:3,weeks:ss/28,days:ss/4,hours:ss*24/4,minutes:ss*24*60/4,seconds:ss*24*60*60/4,milliseconds:ss*24*60*60*1e3/4},months:{weeks:zr/7,days:zr,hours:zr*24,minutes:zr*24*60,seconds:zr*24*60*60,milliseconds:zr*24*60*60*1e3},...K2},gr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],HM=gr.slice(0).reverse();function Ni(t,e,n=!1){const s={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Qt(s)}function z2(t,e){let n=e.milliseconds??0;for(const s of HM.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function Wy(t,e){const n=z2(t,e)<0?-1:1;gr.reduceRight((s,i)=>{if(Mt(e[i]))return s;if(s){const r=e[s]*n,o=t[i][s],a=Math.floor(r/o);e[i]+=a*n,e[s]-=a*o*n}return i},null),gr.reduce((s,i)=>{if(Mt(e[i]))return s;if(s){const r=e[s]%1;e[s]-=r,e[i]+=r*t[s][i]}return i},null)}function UM(t){const e={};for(const[n,s]of Object.entries(t))s!==0&&(e[n]=s);return e}class Qt{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let s=n?VM:FM;e.matrix&&(s=e.matrix),this.values=e.values,this.loc=e.loc||be.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=s,this.isLuxonDuration=!0}static fromMillis(e,n){return Qt.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new mn(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Qt({values:Zc(e,Qt.normalizeUnit),loc:be.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(Yi(e))return Qt.fromMillis(e);if(Qt.isDuration(e))return e;if(typeof e=="object")return Qt.fromObject(e);throw new mn(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[s]=NM(e);return s?Qt.fromObject(s,n):Qt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[s]=DM(e);return s?Qt.fromObject(s,n):Qt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new mn("need to specify a reason the Duration is invalid");const s=e instanceof Cs?e:new Cs(e,n);if(Fe.throwOnInvalid)throw new fD(s);return new Qt({invalid:s})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new e2(e);return n}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,n={}){const s={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?_n.create(this.loc,s).formatDurationFromString(this,e):By}toHuman(e={}){if(!this.isValid)return By;const n=gr.map(s=>{const i=this.values[s];return Mt(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(i)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=im(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},Ot.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?z2(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=Qt.fromDurationLike(e),s={};for(const i of gr)(Oo(n.values,i)||Oo(this.values,i))&&(s[i]=n.get(i)+this.get(i));return Ni(this,{values:s},!0)}minus(e){if(!this.isValid)return this;const n=Qt.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const s of Object.keys(this.values))n[s]=P2(e(this.values[s],s));return Ni(this,{values:n},!0)}get(e){return this[Qt.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...Zc(e,Qt.normalizeUnit)};return Ni(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:s,matrix:i}={}){const o={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:i,conversionAccuracy:s};return Ni(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Wy(this.matrix,e),Ni(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=UM(this.normalize().shiftToAll().toObject());return Ni(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>Qt.normalizeUnit(o));const n={},s={},i=this.toObject();let r;for(const o of gr)if(e.indexOf(o)>=0){r=o;let a=0;for(const c in s)a+=this.matrix[c][o]*s[c],s[c]=0;Yi(i[o])&&(a+=i[o]);const l=Math.trunc(a);n[o]=l,s[o]=(a*1e3-l*1e3)/1e3}else Yi(i[o])&&(s[o]=i[o]);for(const o in s)s[o]!==0&&(n[r]+=o===r?s[o]:s[o]/this.matrix[r][o]);return Wy(this.matrix,n),Ni(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=this.values[n]===0?0:-this.values[n];return Ni(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function n(s,i){return s===void 0||s===0?i===void 0||i===0:s===i}for(const s of gr)if(!n(this.values[s],e.values[s]))return!1;return!0}}const qr="Invalid Interval";function jM(t,e){return!t||!t.isValid?$e.invalid("missing or invalid start"):!e||!e.isValid?$e.invalid("missing or invalid end"):e<t?$e.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class $e{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,n=null){if(!e)throw new mn("need to specify a reason the Interval is invalid");const s=e instanceof Cs?e:new Cs(e,n);if(Fe.throwOnInvalid)throw new dD(s);return new $e({invalid:s})}static fromDateTimes(e,n){const s=Jo(e),i=Jo(n),r=jM(s,i);return r??new $e({start:s,end:i})}static after(e,n){const s=Qt.fromDurationLike(n),i=Jo(e);return $e.fromDateTimes(i,i.plus(s))}static before(e,n){const s=Qt.fromDurationLike(n),i=Jo(e);return $e.fromDateTimes(i.minus(s),i)}static fromISO(e,n){const[s,i]=(e||"").split("/",2);if(s&&i){let r,o;try{r=Ot.fromISO(s,n),o=r.isValid}catch{o=!1}let a,l;try{a=Ot.fromISO(i,n),l=a.isValid}catch{l=!1}if(o&&l)return $e.fromDateTimes(r,a);if(o){const c=Qt.fromISO(i,n);if(c.isValid)return $e.after(r,c)}else if(l){const c=Qt.fromISO(s,n);if(c.isValid)return $e.before(a,c)}}return $e.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const s=this.start.startOf(e,n);let i;return n!=null&&n.useLocaleWeeks?i=this.end.reconfigure({locale:s.locale}):i=this.end,i=i.startOf(e,n),Math.floor(i.diff(s,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?$e.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(Jo).filter(o=>this.contains(o)).sort((o,a)=>o.toMillis()-a.toMillis()),s=[];let{s:i}=this,r=0;for(;i<this.e;){const o=n[r]||this.e,a=+o>+this.e?this.e:o;s.push($e.fromDateTimes(i,a)),i=a,r+=1}return s}splitBy(e){const n=Qt.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s}=this,i=1,r;const o=[];for(;s<this.e;){const a=this.start.plus(n.mapUnits(l=>l*i));r=+a>+this.e?this.e:a,o.push($e.fromDateTimes(s,r)),s=r,i+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,s=this.e<e.e?this.e:e.e;return n>=s?null:$e.fromDateTimes(n,s)}union(e){if(!this.isValid)return this;const n=this.s<e.s?this.s:e.s,s=this.e>e.e?this.e:e.e;return $e.fromDateTimes(n,s)}static merge(e){const[n,s]=e.sort((i,r)=>i.s-r.s).reduce(([i,r],o)=>r?r.overlaps(o)||r.abutsStart(o)?[i,r.union(o)]:[i.concat([r]),o]:[i,o],[[],null]);return s&&n.push(s),n}static xor(e){let n=null,s=0;const i=[],r=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...r),a=o.sort((l,c)=>l.time-c.time);for(const l of a)s+=l.type==="s"?1:-1,s===1?n=l.time:(n&&+n!=+l.time&&i.push($e.fromDateTimes(n,l.time)),n=null);return $e.merge(i)}difference(...e){return $e.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:qr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=qc,n={}){return this.isValid?_n.create(this.s.loc.clone(n),e).formatInterval(this):qr}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:qr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:qr}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:qr}toFormat(e,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:qr}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):Qt.invalid(this.invalidReason)}mapEndpoints(e){return $e.fromDateTimes(e(this.s),e(this.e))}}class Vl{static hasDST(e=Fe.defaultZone){const n=Ot.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Ei.isValidZone(e)}static normalizeZone(e){return Wi(e,Fe.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||be.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||be.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||be.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||be.create(n,s,r)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||be.create(n,s,r)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null}={}){return(i||be.create(n,s,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null}={}){return(i||be.create(n,s,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return be.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return be.create(n,null,"gregory").eras(e)}static features(){return{relative:x2(),localeWeek:I2()}}}function Gy(t,e){const n=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(e)-n(t);return Math.floor(Qt.fromMillis(s).as("days"))}function BM(t,e,n){const s=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const u=Gy(l,c);return(u-u%7)/7}],["days",Gy]],i={},r=t;let o,a;for(const[l,c]of s)n.indexOf(l)>=0&&(o=l,i[l]=c(t,e),a=r.plus(i),a>e?(i[l]--,t=r.plus(i),t>e&&(a=t,i[l]--,t=r.plus(i))):t=a);return[t,i,a,o]}function WM(t,e,n,s){let[i,r,o,a]=BM(t,e,n);const l=e-i,c=n.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);c.length===0&&(o<e&&(o=i.plus({[a]:1})),o!==i&&(r[a]=(r[a]||0)+l/(o-i)));const u=Qt.fromObject(r,s);return c.length>0?Qt.fromMillis(l,s).shiftTo(...c).plus(u):u}const GM="missing Intl.DateTimeFormat.formatToParts support";function fe(t,e=n=>n){return{regex:t,deser:([n])=>e(MD(n))}}const KM=" ",q2=`[ ${KM}]`,X2=new RegExp(q2,"g");function zM(t){return t.replace(/\./g,"\\.?").replace(X2,q2)}function Ky(t){return t.replace(/\./g,"").replace(X2," ").toLowerCase()}function vs(t,e){return t===null?null:{regex:RegExp(t.map(zM).join("|")),deser:([n])=>t.findIndex(s=>Ky(n)===Ky(s))+e}}function zy(t,e){return{regex:t,deser:([,n,s])=>ud(n,s),groups:e}}function Hl(t){return{regex:t,deser:([e])=>e}}function qM(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function XM(t,e){const n=bs(e),s=bs(e,"{2}"),i=bs(e,"{3}"),r=bs(e,"{4}"),o=bs(e,"{6}"),a=bs(e,"{1,2}"),l=bs(e,"{1,3}"),c=bs(e,"{1,6}"),u=bs(e,"{1,9}"),d=bs(e,"{2,4}"),f=bs(e,"{4,6}"),h=b=>({regex:RegExp(qM(b.val)),deser:([y])=>y,literal:!0}),m=(b=>{if(t.literal)return h(b);switch(b.val){case"G":return vs(e.eras("short"),0);case"GG":return vs(e.eras("long"),0);case"y":return fe(c);case"yy":return fe(d,Sh);case"yyyy":return fe(r);case"yyyyy":return fe(f);case"yyyyyy":return fe(o);case"M":return fe(a);case"MM":return fe(s);case"MMM":return vs(e.months("short",!0),1);case"MMMM":return vs(e.months("long",!0),1);case"L":return fe(a);case"LL":return fe(s);case"LLL":return vs(e.months("short",!1),1);case"LLLL":return vs(e.months("long",!1),1);case"d":return fe(a);case"dd":return fe(s);case"o":return fe(l);case"ooo":return fe(i);case"HH":return fe(s);case"H":return fe(a);case"hh":return fe(s);case"h":return fe(a);case"mm":return fe(s);case"m":return fe(a);case"q":return fe(a);case"qq":return fe(s);case"s":return fe(a);case"ss":return fe(s);case"S":return fe(l);case"SSS":return fe(i);case"u":return Hl(u);case"uu":return Hl(a);case"uuu":return fe(n);case"a":return vs(e.meridiems(),0);case"kkkk":return fe(r);case"kk":return fe(d,Sh);case"W":return fe(a);case"WW":return fe(s);case"E":case"c":return fe(n);case"EEE":return vs(e.weekdays("short",!1),1);case"EEEE":return vs(e.weekdays("long",!1),1);case"ccc":return vs(e.weekdays("short",!0),1);case"cccc":return vs(e.weekdays("long",!0),1);case"Z":case"ZZ":return zy(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return zy(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Hl(/[a-z_+-/]{1,256}?/i);case" ":return Hl(/[^\S\n\r]/);default:return h(b)}})(t)||{invalidReason:GM};return m.token=t,m}const YM={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function ZM(t,e,n){const{type:s,value:i}=t;if(s==="literal"){const l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}const r=e[s];let o=s;s==="hour"&&(e.hour12!=null?o=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?o="hour12":o="hour24":o=n.hour12?"hour12":"hour24");let a=YM[o];if(typeof a=="object"&&(a=a[r]),a)return{literal:!1,val:a}}function JM(t){return[`^${t.map(n=>n.regex).reduce((n,s)=>`${n}(${s.source})`,"")}$`,t]}function QM(t,e,n){const s=t.match(e);if(s){const i={};let r=1;for(const o in n)if(Oo(n,o)){const a=n[o],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(s.slice(r,r+l))),r+=l}return[s,i]}else return[s,{}]}function tR(t){const e=r=>{switch(r){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,s;return Mt(t.z)||(n=Ei.create(t.z)),Mt(t.Z)||(n||(n=new In(t.Z)),s=t.Z),Mt(t.q)||(t.M=(t.q-1)*3+1),Mt(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),Mt(t.u)||(t.S=sm(t.u)),[Object.keys(t).reduce((r,o)=>{const a=e(o);return a&&(r[a]=t[o]),r},{}),n,s]}let Zd=null;function eR(){return Zd||(Zd=Ot.fromMillis(1555555555555)),Zd}function nR(t,e){if(t.literal)return t;const n=_n.macroTokenToFormatOpts(t.val),s=Q2(n,e);return s==null||s.includes(void 0)?t:s}function Y2(t,e){return Array.prototype.concat(...t.map(n=>nR(n,e)))}class Z2{constructor(e,n){if(this.locale=e,this.format=n,this.tokens=Y2(_n.parseFormat(n),e),this.units=this.tokens.map(s=>XM(s,e)),this.disqualifyingUnit=this.units.find(s=>s.invalidReason),!this.disqualifyingUnit){const[s,i]=JM(this.units);this.regex=RegExp(s,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){const[n,s]=QM(e,this.regex,this.handlers),[i,r,o]=s?tR(s):[null,null,void 0];if(Oo(s,"a")&&Oo(s,"H"))throw new lo("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:s,result:i,zone:r,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function J2(t,e,n){return new Z2(t,n).explainFromTokens(e)}function sR(t,e,n){const{result:s,zone:i,specificOffset:r,invalidReason:o}=J2(t,e,n);return[s,i,r,o]}function Q2(t,e){if(!t)return null;const s=_n.create(e,t).dtFormatter(eR()),i=s.formatToParts(),r=s.resolvedOptions();return i.map(o=>ZM(o,t,r))}const Jd="Invalid DateTime",iR=864e13;function oa(t){return new Cs("unsupported zone",`the zone "${t.name}" is not supported`)}function Qd(t){return t.weekData===null&&(t.weekData=Xc(t.c)),t.weekData}function tf(t){return t.localWeekData===null&&(t.localWeekData=Xc(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function cr(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Ot({...n,...e,old:n})}function tS(t,e,n){let s=t-e*60*1e3;const i=n.offset(s);if(e===i)return[s,e];s-=(i-e)*60*1e3;const r=n.offset(s);return i===r?[s,i]:[t-Math.min(i,r)*60*1e3,Math.max(i,r)]}function Ul(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function fc(t,e,n){return tS(cd(t),e,n)}function qy(t,e){const n=t.o,s=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,r={...t.c,year:s,month:i,day:Math.min(t.c.day,Yc(s,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=Qt.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=cd(r);let[l,c]=tS(a,n,t.zone);return o!==0&&(l+=o,c=t.zone.offset(l)),{ts:l,o:c}}function Xr(t,e,n,s,i,r){const{setZone:o,zone:a}=n;if(t&&Object.keys(t).length!==0||e){const l=e||a,c=Ot.fromObject(t,{...n,zone:l,specificOffset:r});return o?c:c.setZone(a)}else return Ot.invalid(new Cs("unparsable",`the input "${i}" can't be parsed as ${s}`))}function jl(t,e,n=!0){return t.isValid?_n.create(be.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ef(t,e){const n=t.c.year>9999||t.c.year<0;let s="";return n&&t.c.year>=0&&(s+="+"),s+=Ge(t.c.year,n?6:4),e?(s+="-",s+=Ge(t.c.month),s+="-",s+=Ge(t.c.day)):(s+=Ge(t.c.month),s+=Ge(t.c.day)),s}function Xy(t,e,n,s,i,r){let o=Ge(t.c.hour);return e?(o+=":",o+=Ge(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(o+=":")):o+=Ge(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(o+=Ge(t.c.second),(t.c.millisecond!==0||!s)&&(o+=".",o+=Ge(t.c.millisecond,3))),i&&(t.isOffsetFixed&&t.offset===0&&!r?o+="Z":t.o<0?(o+="-",o+=Ge(Math.trunc(-t.o/60)),o+=":",o+=Ge(Math.trunc(-t.o%60))):(o+="+",o+=Ge(Math.trunc(t.o/60)),o+=":",o+=Ge(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const eS={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},rR={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},oR={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nS=["year","month","day","hour","minute","second","millisecond"],aR=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lR=["year","ordinal","hour","minute","second","millisecond"];function cR(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new e2(t);return e}function Yy(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return cR(t)}}function uR(t){if(aa===void 0&&(aa=Fe.now()),t.type!=="iana")return t.offset(aa);const e=t.name;let n=Eh.get(e);return n===void 0&&(n=t.offset(aa),Eh.set(e,n)),n}function Zy(t,e){const n=Wi(e.zone,Fe.defaultZone);if(!n.isValid)return Ot.invalid(oa(n));const s=be.fromObject(e);let i,r;if(Mt(t.year))i=Fe.now();else{for(const l of nS)Mt(t[l])&&(t[l]=eS[l]);const o=A2(t)||O2(t);if(o)return Ot.invalid(o);const a=uR(n);[i,r]=fc(t,a,n)}return new Ot({ts:i,zone:n,loc:s,o:r})}function Jy(t,e,n){const s=Mt(n.round)?!0:n.round,i=(o,a)=>(o=im(o,s||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(o,a)),r=o=>n.calendary?e.hasSame(t,o)?0:e.startOf(o).diff(t.startOf(o),o).get(o):e.diff(t,o).get(o);if(n.unit)return i(r(n.unit),n.unit);for(const o of n.units){const a=r(o);if(Math.abs(a)>=1)return i(a,o)}return i(t>e?-0:0,n.units[n.units.length-1])}function Qy(t){let e={},n;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],n=Array.from(t).slice(0,t.length-1)):n=Array.from(t),[e,n]}let aa;const Eh=new Map;class Ot{constructor(e){const n=e.zone||Fe.defaultZone;let s=e.invalid||(Number.isNaN(e.ts)?new Cs("invalid input"):null)||(n.isValid?null:oa(n));this.ts=Mt(e.ts)?Fe.now():e.ts;let i=null,r=null;if(!s)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[i,r]=[e.old.c,e.old.o];else{const a=Yi(e.o)&&!e.old?e.o:n.offset(this.ts);i=Ul(this.ts,a),s=Number.isNaN(i.year)?new Cs("invalid input"):null,i=s?null:i,r=s?null:a}this._zone=n,this.loc=e.loc||be.create(),this.invalid=s,this.weekData=null,this.localWeekData=null,this.c=i,this.o=r,this.isLuxonDateTime=!0}static now(){return new Ot({})}static local(){const[e,n]=Qy(arguments),[s,i,r,o,a,l,c]=n;return Zy({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static utc(){const[e,n]=Qy(arguments),[s,i,r,o,a,l,c]=n;return e.zone=In.utcInstance,Zy({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,n={}){const s=VD(e)?e.valueOf():NaN;if(Number.isNaN(s))return Ot.invalid("invalid input");const i=Wi(n.zone,Fe.defaultZone);return i.isValid?new Ot({ts:s,zone:i,loc:be.fromObject(n)}):Ot.invalid(oa(i))}static fromMillis(e,n={}){if(Yi(e))return e<-864e13||e>iR?Ot.invalid("Timestamp out of range"):new Ot({ts:e,zone:Wi(n.zone,Fe.defaultZone),loc:be.fromObject(n)});throw new mn(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(Yi(e))return new Ot({ts:e*1e3,zone:Wi(n.zone,Fe.defaultZone),loc:be.fromObject(n)});throw new mn("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const s=Wi(n.zone,Fe.defaultZone);if(!s.isValid)return Ot.invalid(oa(s));const i=be.fromObject(n),r=Zc(e,Yy),{minDaysInFirstWeek:o,startOfWeek:a}=Fy(r,i),l=Fe.now(),c=Mt(n.specificOffset)?s.offset(l):n.specificOffset,u=!Mt(r.ordinal),d=!Mt(r.year),f=!Mt(r.month)||!Mt(r.day),h=d||f,p=r.weekYear||r.weekNumber;if((h||u)&&p)throw new lo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new lo("Can't mix ordinal dates with month/day");const m=p||r.weekday&&!h;let b,y,_=Ul(l,c);m?(b=aR,y=rR,_=Xc(_,o,a)):u?(b=lR,y=oR,_=Yd(_)):(b=nS,y=eS);let g=!1;for(const D of b){const j=r[D];Mt(j)?g?r[D]=y[D]:r[D]=_[D]:g=!0}const v=m?LD(r,o,a):u?$D(r):A2(r),S=v||O2(r);if(S)return Ot.invalid(S);const k=m?Ly(r,o,a):u?$y(r):r,[N,R]=fc(k,c,s),T=new Ot({ts:N,zone:s,o:R,loc:i});return r.weekday&&h&&e.weekday!==T.weekday?Ot.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${T.toISO()}`):T.isValid?T:Ot.invalid(T.invalid)}static fromISO(e,n={}){const[s,i]=OM(e);return Xr(s,i,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[s,i]=xM(e);return Xr(s,i,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[s,i]=IM(e);return Xr(s,i,n,"HTTP",n)}static fromFormat(e,n,s={}){if(Mt(e)||Mt(n))throw new mn("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:r=null}=s,o=be.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0}),[a,l,c,u]=sR(o,e,n);return u?Ot.invalid(u):Xr(a,l,s,`format ${n}`,e,c)}static fromString(e,n,s={}){return Ot.fromFormat(e,n,s)}static fromSQL(e,n={}){const[s,i]=$M(e);return Xr(s,i,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new mn("need to specify a reason the DateTime is invalid");const s=e instanceof Cs?e:new Cs(e,n);if(Fe.throwOnInvalid)throw new uD(s);return new Ot({invalid:s})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const s=Q2(e,be.fromObject(n));return s?s.map(i=>i?i.val:null).join(""):null}static expandFormat(e,n={}){return Y2(_n.parseFormat(e),be.fromObject(n)).map(i=>i.val).join("")}static resetCache(){aa=void 0,Eh.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Qd(this).weekYear:NaN}get weekNumber(){return this.isValid?Qd(this).weekNumber:NaN}get weekday(){return this.isValid?Qd(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?tf(this).weekday:NaN}get localWeekNumber(){return this.isValid?tf(this).weekNumber:NaN}get localWeekYear(){return this.isValid?tf(this).weekYear:NaN}get ordinal(){return this.isValid?Yd(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vl.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,n=6e4,s=cd(this.c),i=this.zone.offset(s-e),r=this.zone.offset(s+e),o=this.zone.offset(s-i*n),a=this.zone.offset(s-r*n);if(o===a)return[this];const l=s-o*n,c=s-a*n,u=Ul(l,o),d=Ul(c,a);return u.hour===d.hour&&u.minute===d.minute&&u.second===d.second&&u.millisecond===d.millisecond?[cr(this,{ts:l}),cr(this,{ts:c})]:[this]}get isInLeapYear(){return ml(this.year)}get daysInMonth(){return Yc(this.year,this.month)}get daysInYear(){return this.isValid?po(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ya(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ya(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:s,calendar:i}=_n.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:s,outputCalendar:i}}toUTC(e=0,n={}){return this.setZone(In.instance(e),n)}toLocal(){return this.setZone(Fe.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:s=!1}={}){if(e=Wi(e,Fe.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(n||s){const r=e.offset(this.ts),o=this.toObject();[i]=fc(o,r,e)}return cr(this,{ts:i,zone:e})}else return Ot.invalid(oa(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:s}={}){const i=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:s});return cr(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=Zc(e,Yy),{minDaysInFirstWeek:s,startOfWeek:i}=Fy(n,this.loc),r=!Mt(n.weekYear)||!Mt(n.weekNumber)||!Mt(n.weekday),o=!Mt(n.ordinal),a=!Mt(n.year),l=!Mt(n.month)||!Mt(n.day),c=a||l,u=n.weekYear||n.weekNumber;if((c||o)&&u)throw new lo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new lo("Can't mix ordinal dates with month/day");let d;r?d=Ly({...Xc(this.c,s,i),...n},s,i):Mt(n.ordinal)?(d={...this.toObject(),...n},Mt(n.day)&&(d.day=Math.min(Yc(d.year,d.month),d.day))):d=$y({...Yd(this.c),...n});const[f,h]=fc(d,this.o,this.zone);return cr(this,{ts:f,o:h})}plus(e){if(!this.isValid)return this;const n=Qt.fromDurationLike(e);return cr(this,qy(this,n))}minus(e){if(!this.isValid)return this;const n=Qt.fromDurationLike(e).negate();return cr(this,qy(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const s={},i=Qt.normalizeUnit(e);switch(i){case"years":s.month=1;case"quarters":case"months":s.day=1;case"weeks":case"days":s.hour=0;case"hours":s.minute=0;case"minutes":s.second=0;case"seconds":s.millisecond=0;break}if(i==="weeks")if(n){const r=this.loc.getStartOfWeek(),{weekday:o}=this;o<r&&(s.weekNumber=this.weekNumber-1),s.weekday=r}else s.weekday=1;if(i==="quarters"){const r=Math.ceil(this.month/3);s.month=(r-1)*3+1}return this.set(s)}endOf(e,n){return this.isValid?this.plus({[e]:1}).startOf(e,n).minus(1):this}toFormat(e,n={}){return this.isValid?_n.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):Jd}toLocaleString(e=qc,n={}){return this.isValid?_n.create(this.loc.clone(n),e).formatDateTime(this):Jd}toLocaleParts(e={}){return this.isValid?_n.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:s=!1,includeOffset:i=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const o=e==="extended";let a=ef(this,o);return a+="T",a+=Xy(this,o,n,s,i,r),a}toISODate({format:e="extended"}={}){return this.isValid?ef(this,e==="extended"):null}toISOWeekDate(){return jl(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:s=!0,includePrefix:i=!1,extendedZone:r=!1,format:o="extended"}={}){return this.isValid?(i?"T":"")+Xy(this,o==="extended",n,e,s,r):null}toRFC2822(){return jl(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return jl(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ef(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:s=!0}={}){let i="HH:mm:ss.SSS";return(n||e)&&(s&&(i+=" "),n?i+="z":e&&(i+="ZZ")),jl(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Jd}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",s={}){if(!this.isValid||!e.isValid)return Qt.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...s},r=HD(n).map(Qt.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,l=o?e:this,c=WM(a,l,r,i);return o?c.negate():c}diffNow(e="milliseconds",n={}){return this.diff(Ot.now(),e,n)}until(e){return this.isValid?$e.fromDateTimes(this,e):this}hasSame(e,n,s){if(!this.isValid)return!1;const i=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(n,s)<=i&&i<=r.endOf(n,s)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const n=e.base||Ot.fromObject({},{zone:this.zone}),s=e.padding?this<n?-e.padding:e.padding:0;let i=["years","months","days","hours","minutes","seconds"],r=e.unit;return Array.isArray(e.unit)&&(i=e.unit,r=void 0),Jy(n,this.plus(s),{...e,numeric:"always",units:i,unit:r})}toRelativeCalendar(e={}){return this.isValid?Jy(e.base||Ot.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(Ot.isDateTime))throw new mn("min requires all arguments be DateTimes");return Vy(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(Ot.isDateTime))throw new mn("max requires all arguments be DateTimes");return Vy(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,s={}){const{locale:i=null,numberingSystem:r=null}=s,o=be.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});return J2(o,e,n)}static fromStringExplain(e,n,s={}){return Ot.fromFormatExplain(e,n,s)}static buildFormatParser(e,n={}){const{locale:s=null,numberingSystem:i=null}=n,r=be.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return new Z2(r,e)}static fromFormatParser(e,n,s={}){if(Mt(e)||Mt(n))throw new mn("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:r=null}=s,o=be.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});if(!o.equals(n.locale))throw new mn(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);const{result:a,zone:l,specificOffset:c,invalidReason:u}=n.explainFromTokens(e);return u?Ot.invalid(u):Xr(a,l,s,`format ${n.format}`,e,c)}static get DATE_SHORT(){return qc}static get DATE_MED(){return n2}static get DATE_MED_WITH_WEEKDAY(){return hD}static get DATE_FULL(){return s2}static get DATE_HUGE(){return i2}static get TIME_SIMPLE(){return r2}static get TIME_WITH_SECONDS(){return o2}static get TIME_WITH_SHORT_OFFSET(){return a2}static get TIME_WITH_LONG_OFFSET(){return l2}static get TIME_24_SIMPLE(){return c2}static get TIME_24_WITH_SECONDS(){return u2}static get TIME_24_WITH_SHORT_OFFSET(){return d2}static get TIME_24_WITH_LONG_OFFSET(){return f2}static get DATETIME_SHORT(){return h2}static get DATETIME_SHORT_WITH_SECONDS(){return p2}static get DATETIME_MED(){return m2}static get DATETIME_MED_WITH_SECONDS(){return g2}static get DATETIME_MED_WITH_WEEKDAY(){return pD}static get DATETIME_FULL(){return y2}static get DATETIME_FULL_WITH_SECONDS(){return b2}static get DATETIME_HUGE(){return v2}static get DATETIME_HUGE_WITH_SECONDS(){return _2}}function Jo(t){if(Ot.isDateTime(t))return t;if(t&&t.valueOf&&Yi(t.valueOf()))return Ot.fromJSDate(t);if(t&&typeof t=="object")return Ot.fromObject(t);throw new mn(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const{locale:Bl}=Fo.global,tb=["years","months","days","hours","minutes"],dR={toDate(t){return t?Ot.fromISO(t,{locale:Bl.value}).toLocaleString(Ot.DATE_FULL):null},toDateTime(t){return t?Ot.fromISO(t,{locale:Bl.value}).toLocaleString(Ot.DATETIME_MED):null},toDuration(t){const e=Qt.fromObject({minutes:Math.floor(t/60)}).shiftTo(...tb),n=Object.fromEntries(Object.entries(e.toObject()).filter(([,s])=>s>0));return Qt.fromObject(n,{locale:Bl.value}).toHuman()},toDurationToNow(t){const e=Ot.now().diff(Ot.fromISO(t)).as("seconds");return this.toDuration(e)},toRelativeDuration(t){return Ot.fromISO(t).toRelative({locale:Bl.value,unit:tb})},toTimecode(t){return Qt.fromMillis(t).toFormat("h:mm:ss").replace(/^0:/u,"")}};var fR="M11,14C12,14 13.05,14.16 14.2,14.44C13.39,15.31 13,16.33 13,17.5C13,18.39 13.25,19.23 13.78,20H3V18C3,16.81 3.91,15.85 5.74,15.12C7.57,14.38 9.33,14 11,14M11,12C9.92,12 9,11.61 8.18,10.83C7.38,10.05 7,9.11 7,8C7,6.92 7.38,6 8.18,5.18C9,4.38 9.92,4 11,4C12.11,4 13.05,4.38 13.83,5.18C14.61,6 15,6.92 15,8C15,9.11 14.61,10.05 13.83,10.83C13.05,11.61 12.11,12 11,12M18.5,10H20L22,10V12H20V17.5A2.5,2.5 0 0,1 17.5,20A2.5,2.5 0 0,1 15,17.5A2.5,2.5 0 0,1 17.5,15C17.86,15 18.19,15.07 18.5,15.21V10Z",hR="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12,16.5C9.5,16.5 7.5,14.5 7.5,12C7.5,9.5 9.5,7.5 12,7.5C14.5,7.5 16.5,9.5 16.5,12C16.5,14.5 14.5,16.5 12,16.5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",pR="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",mR="M19 2L14 6.5V17.5L19 13V2M6.5 5C4.55 5 2.45 5.4 1 6.5V21.16C1 21.41 1.25 21.66 1.5 21.66C1.6 21.66 1.65 21.59 1.75 21.59C3.1 20.94 5.05 20.5 6.5 20.5C8.45 20.5 10.55 20.9 12 22C13.35 21.15 15.8 20.5 17.5 20.5C19.15 20.5 20.85 20.81 22.25 21.56C22.35 21.61 22.4 21.59 22.5 21.59C22.75 21.59 23 21.34 23 21.09V6.5C22.4 6.05 21.75 5.75 21 5.5V19C19.9 18.65 18.7 18.5 17.5 18.5C15.8 18.5 13.35 19.15 12 20V6.5C10.55 5.4 8.45 5 6.5 5Z",gR="M12 21.5C10.65 20.65 8.2 20 6.5 20C4.85 20 3.15 20.3 1.75 21.05C1.65 21.1 1.6 21.1 1.5 21.1C1.25 21.1 1 20.85 1 20.6V6C1.6 5.55 2.25 5.25 3 5C4.11 4.65 5.33 4.5 6.5 4.5C8.45 4.5 10.55 4.9 12 6C13.45 4.9 15.55 4.5 17.5 4.5C18.67 4.5 19.89 4.65 21 5C21.75 5.25 22.4 5.55 23 6V20.6C23 20.85 22.75 21.1 22.5 21.1C22.4 21.1 22.35 21.1 22.25 21.05C20.85 20.3 19.15 20 17.5 20C15.8 20 13.35 20.65 12 21.5M12 8V19.5C13.35 18.65 15.8 18 17.5 18C18.7 18 19.9 18.15 21 18.5V7C19.9 6.65 18.7 6.5 17.5 6.5C15.8 6.5 13.35 7.15 12 8M13 11.5C14.11 10.82 15.6 10.5 17.5 10.5C18.41 10.5 19.26 10.59 20 10.78V9.23C19.13 9.08 18.29 9 17.5 9C15.73 9 14.23 9.28 13 9.84V11.5M17.5 11.67C15.79 11.67 14.29 11.93 13 12.46V14.15C14.11 13.5 15.6 13.16 17.5 13.16C18.54 13.16 19.38 13.24 20 13.4V11.9C19.13 11.74 18.29 11.67 17.5 11.67M20 14.57C19.13 14.41 18.29 14.33 17.5 14.33C15.67 14.33 14.17 14.6 13 15.13V16.82C14.11 16.16 15.6 15.83 17.5 15.83C18.54 15.83 19.38 15.91 20 16.07V14.57Z",yR="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",bR="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M18 12C18 8.7 15.3 6 12 6S6 8.7 6 12C6 14.2 7.2 16.1 9 17.2L10 15.5C8.8 14.8 8 13.5 8 12.1C8 9.9 9.8 8.1 12 8.1S16 9.9 16 12.1C16 13.6 15.2 14.9 14 15.5L15 17.2C16.8 16.2 18 14.2 18 12M12 2C6.5 2 2 6.5 2 12C2 15.7 4 18.9 7 20.6L8 18.9C5.6 17.5 4 14.9 4 12C4 7.6 7.6 4 12 4S20 7.6 20 12C20 15 18.4 17.5 16 18.9L17 20.6C20 18.9 22 15.7 22 12C22 6.5 17.5 2 12 2Z",vR="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",_R="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z",SR="M6,22H18L12,16M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H7V17H3V5H21V17H17V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z",ER="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",wR="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",kR="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",TR="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",CR="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",AR="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",OR="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",xR="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",IR="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",NR="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",PR="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",DR="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z",MR="M11.5,3C6.85,3 2.92,6.03 1.53,10.22L3.9,11C4.95,7.81 7.96,5.5 11.5,5.5C13.46,5.5 15.23,6.22 16.62,7.38L14,10H21V3L18.4,5.6C16.55,4 14.15,3 11.5,3M19,14V20C19,21.11 18.11,22 17,22H15A2,2 0 0,1 13,20V14A2,2 0 0,1 15,12H17C18.11,12 19,12.9 19,14M15,14V20H17V14H15M11,20C11,21.11 10.1,22 9,22H5V20H9V18H7V16H9V14H5V12H9A2,2 0 0,1 11,14V15.5A1.5,1.5 0 0,1 9.5,17A1.5,1.5 0 0,1 11,18.5V20Z",RR="M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M13,10V12H11V17A2,2 0 0,1 9,19A2,2 0 0,1 7,17A2,2 0 0,1 9,15C9.4,15 9.7,15.1 10,15.3V10H13Z",LR="M17.66 11.2C17.43 10.9 17.15 10.64 16.89 10.38C16.22 9.78 15.46 9.35 14.82 8.72C13.33 7.26 13 4.85 13.95 3C13 3.23 12.17 3.75 11.46 4.32C8.87 6.4 7.85 10.07 9.07 13.22C9.11 13.32 9.15 13.42 9.15 13.55C9.15 13.77 9 13.97 8.8 14.05C8.57 14.15 8.33 14.09 8.14 13.93C8.08 13.88 8.04 13.83 8 13.76C6.87 12.33 6.69 10.28 7.45 8.64C5.78 10 4.87 12.3 5 14.47C5.06 14.97 5.12 15.47 5.29 15.97C5.43 16.57 5.7 17.17 6 17.7C7.08 19.43 8.95 20.67 10.96 20.92C13.1 21.19 15.39 20.8 17.03 19.32C18.86 17.66 19.5 15 18.56 12.72L18.43 12.46C18.22 12 17.66 11.2 17.66 11.2M14.5 17.5C14.22 17.74 13.76 18 13.4 18.1C12.28 18.5 11.16 17.94 10.5 17.28C11.69 17 12.4 16.12 12.61 15.23C12.78 14.43 12.46 13.77 12.33 13C12.21 12.26 12.23 11.63 12.5 10.94C12.69 11.32 12.89 11.7 13.13 12C13.9 13 15.11 13.44 15.37 14.8C15.41 14.94 15.43 15.08 15.43 15.23C15.46 16.05 15.1 16.95 14.5 17.5H14.5Z",$R="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z",FR="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z",VR="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3",HR="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",UR="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",jR="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",BR="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",WR="M21,3V15.5A3.5,3.5 0 0,1 17.5,19A3.5,3.5 0 0,1 14,15.5A3.5,3.5 0 0,1 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L9,8.6V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V6L21,3Z",GR="M4,6H2V20A2,2 0 0,0 4,22H18V20H4M18,7H15V12.5A2.5,2.5 0 0,1 12.5,15A2.5,2.5 0 0,1 10,12.5A2.5,2.5 0 0,1 12.5,10C13.07,10 13.58,10.19 14,10.5V5H18M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2Z",KR="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",zR="M14,19H18V5H14M6,19H10V5H6V19Z",qR="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",XR="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",YR="M8,5.14V19.14L19,12.14L8,5.14Z",ZR="M15,6H3V8H15V6M15,10H3V12H15V10M3,16H11V14H3V16M17,6V14.18C16.69,14.07 16.35,14 16,14A3,3 0 0,0 13,17A3,3 0 0,0 16,20A3,3 0 0,0 19,17V8H22V6H17Z",JR="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",QR="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",tL="M20,6A2,2 0 0,1 22,8V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V8C2,7.15 2.53,6.42 3.28,6.13L15.71,1L16.47,2.83L8.83,6H20M20,8H4V12H16V10H18V12H20V8M7,14A3,3 0 0,0 4,17A3,3 0 0,0 7,20A3,3 0 0,0 10,17A3,3 0 0,0 7,14Z",eL="M12,10A2,2 0 0,1 14,12C14,12.5 13.82,12.94 13.53,13.29L16.7,22H14.57L12,14.93L9.43,22H7.3L10.47,13.29C10.18,12.94 10,12.5 10,12A2,2 0 0,1 12,10M12,8A4,4 0 0,0 8,12C8,12.5 8.1,13 8.28,13.46L7.4,15.86C6.53,14.81 6,13.47 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12C18,13.47 17.47,14.81 16.6,15.86L15.72,13.46C15.9,13 16,12.5 16,12A4,4 0 0,0 12,8M12,4A8,8 0 0,0 4,12C4,14.36 5,16.5 6.64,17.94L5.92,19.94C3.54,18.11 2,15.23 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12C22,15.23 20.46,18.11 18.08,19.94L17.36,17.94C19,16.5 20,14.36 20,12A8,8 0 0,0 12,4Z",nL="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",sL="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",iL="M2,5.27L3.28,4L20,20.72L18.73,22L15.73,19H7V22L3,18L7,14V17H13.73L7,10.27V11H5V8.27L2,5.27M17,13H19V17.18L17,15.18V13M17,5V2L21,6L17,10V7H8.82L6.82,5H17Z",rL="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",oL="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",aL="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",lL="M15,20A1,1 0 0,0 16,19V4H8A1,1 0 0,0 7,5V16H5V5A3,3 0 0,1 8,2H19A3,3 0 0,1 22,5V6H20V5A1,1 0 0,0 19,4A1,1 0 0,0 18,5V9L18,19A3,3 0 0,1 15,22H5A3,3 0 0,1 2,19V18H13A2,2 0 0,0 15,20M9,6H14V8H9V6M9,10H14V12H9V10M9,14H14V16H9V14Z",cL="M13.8 22H5C3.3 22 2 20.7 2 19V18H13.1C13 18.3 13 18.7 13 19C13 20.1 13.3 21.1 13.8 22M13.8 16H5V5C5 3.3 6.3 2 8 2H19C20.7 2 22 3.3 22 5V6H20V5C20 4.4 19.6 4 19 4S18 4.4 18 5V13.1C16.2 13.4 14.7 14.5 13.8 16M8 8H15V6H8V8M8 12H14V10H8V12M17 16V22L22 19L17 16Z",uL="M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z",dL="M14.83,13.41L13.42,14.82L16.55,17.95L14.5,20H20V14.5L17.96,16.54L14.83,13.41M14.5,4L16.54,6.04L4,18.59L5.41,20L17.96,7.46L20,9.5V4M10.59,9.17L5.41,4L4,5.41L9.17,10.58L10.59,9.17Z",fL="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",hL="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",pL="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",mL="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z",gL="M17.9,10.9C14.7,9 9.35,8.8 6.3,9.75C5.8,9.9 5.3,9.6 5.15,9.15C5,8.65 5.3,8.15 5.75,8C9.3,6.95 15.15,7.15 18.85,9.35C19.3,9.6 19.45,10.2 19.2,10.65C18.95,11 18.35,11.15 17.9,10.9M17.8,13.7C17.55,14.05 17.1,14.2 16.75,13.95C14.05,12.3 9.95,11.8 6.8,12.8C6.4,12.9 5.95,12.7 5.85,12.3C5.75,11.9 5.95,11.45 6.35,11.35C10,10.25 14.5,10.8 17.6,12.7C17.9,12.85 18.05,13.35 17.8,13.7M16.6,16.45C16.4,16.75 16.05,16.85 15.75,16.65C13.4,15.2 10.45,14.9 6.95,15.7C6.6,15.8 6.3,15.55 6.2,15.25C6.1,14.9 6.35,14.6 6.65,14.5C10.45,13.65 13.75,14 16.35,15.6C16.7,15.75 16.75,16.15 16.6,16.45M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",yL="M18,18H6V6H18V18Z",bL="M3 1C1.89 1 1 1.89 1 3V14C1 15.11 1.89 16 3 16H14C15.11 16 16 15.11 16 14V11H14V14H3V3H14V5H16V3C16 1.89 15.11 1 14 1M9 7C7.89 7 7 7.89 7 9V12H9V9H20V20H9V18H7V20C7 21.11 7.89 22 9 22H20C21.11 22 22 21.11 22 20V9C22 7.89 21.11 7 20 7H9",vL="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",_L="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",SL="M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";const EL={mdiAccountMusic:fR,mdiAlbum:hR,mdiBookOpenPageVariant:mR,mdiBookOpenVariant:gR,mdiBookshelf:yR,mdiBroadcast:bR,mdiCancel:vR,mdiCast:_R,mdiCastVariant:SR,mdiCheck:ER,mdiChevronDown:wR,mdiChevronLeft:kR,mdiChevronUp:TR,mdiClose:CR,mdiDelete:AR,mdiDeleteEmpty:OR,mdiDotsHorizontal:xR,mdiDotsVertical:IR,mdiDownload:NR,mdiDragHorizontal:PR,mdiEyeOffOutline:DR,mdiFastForward30:MR,mdiFileMusicOutline:RR,mdiFire:LR,mdiFolder:$R,mdiFolderOpen:FR,mdiHistory:VR,mdiLoading:HR,mdiMagnify:UR,mdiMenu:jR,mdiMicrophone:BR,mdiMusic:WR,mdiMusicBoxMultiple:GR,mdiOpenInNew:KR,mdiPause:zR,mdiPencil:qR,mdiPipe:XR,mdiPlay:YR,mdiPlaylistMusic:ZR,mdiPlaylistPlay:JR,mdiPlaylistPlus:QR,mdiRadio:tL,mdiRadioTower:eL,mdiRefresh:nL,mdiRepeat:sL,mdiRepeatOff:iL,mdiRepeatOnce:rL,mdiRewind10:oL,mdiRss:aL,mdiScriptTextOutline:lL,mdiScriptTextPlay:cL,mdiServer:uL,mdiShuffle:dL,mdiShuffleDisabled:fL,mdiSkipBackward:hL,mdiSkipForward:pL,mdiSpeaker:mL,mdiSpotify:gL,mdiStop:yL,mdiVectorLink:bL,mdiVolumeHigh:vL,mdiVolumeOff:_L,mdiWeb:SL},wL={title:[String],spin:[Boolean],width:[Number,String],height:[Number,String],ariaLabel:[String],staticClass:[String],class:[String],name:{type:String,required:!0,default:"alert"},size:{type:[Number,String],default:24},viewBox:{type:String,default:"0 0 24 24"},xmlns:{type:String,default:"http://www.w3.org/2000/svg"},role:{type:String,default:"img"},spin:{type:Boolean,default:!1}},kL=t=>t.charAt(0).toUpperCase()+t.slice(1),TL=t=>t.split("-").map(kL).join(""),CL=(t,e,n)=>{const s=t[`mdi${TL(e.name)}`]||pR,i={role:e.role,"aria-label":e.ariaLabel,...n},r={fill:"currentColor",width:e.width||e.size,height:e.height||e.size,viewBox:e.viewBox,xmlns:e.xmlns};return{spanAttrs:i,svgAttrs:r,pathAttrs:{d:s}}},AL=(t,e)=>({[e.staticClass||""]:!0,[e.class||""]:!0,[`mdi mdi-${t.name}`]:!0,"mdi-spin":t.spin===!0}),OL=(t,e={})=>({install(n,{icons:s}){if(s===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:wL,...e,render:t(s)})}}),xL=t=>function(){const{spanAttrs:n,svgAttrs:s,pathAttrs:i}=CL(t,this,this.$attrs);return Bs("span",{...n,class:AL(this,this)},[Bs("svg",s,[this.title?Bs("title",[this.title]):void 0,Bs("path",i)])])},IL=OL(xL);/*!
* vue-router v4.5.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const no=typeof document<"u";function sS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function NL(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&sS(t.default)}const ye=Object.assign;function nf(t,e){const n={};for(const s in e){const i=e[s];n[s]=Ps(i)?i.map(t):t(i)}return n}const Ea=()=>{},Ps=Array.isArray,iS=/#/g,PL=/&/g,DL=/\//g,ML=/=/g,RL=/\?/g,rS=/\+/g,LL=/%5B/g,$L=/%5D/g,oS=/%5E/g,FL=/%60/g,aS=/%7B/g,VL=/%7C/g,lS=/%7D/g,HL=/%20/g;function lm(t){return encodeURI(""+t).replace(VL,"|").replace(LL,"[").replace($L,"]")}function UL(t){return lm(t).replace(aS,"{").replace(lS,"}").replace(oS,"^")}function wh(t){return lm(t).replace(rS,"%2B").replace(HL,"+").replace(iS,"%23").replace(PL,"%26").replace(FL,"`").replace(aS,"{").replace(lS,"}").replace(oS,"^")}function jL(t){return wh(t).replace(ML,"%3D")}function BL(t){return lm(t).replace(iS,"%23").replace(RL,"%3F")}function WL(t){return t==null?"":BL(t).replace(DL,"%2F")}function Za(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const GL=/\/$/,KL=t=>t.replace(GL,"");function sf(t,e,n="/"){let s,i={},r="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),i=t(r)),a>-1&&(s=s||e.slice(0,a),o=e.slice(a,e.length)),s=YL(s??e,n),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:Za(o)}}function zL(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function eb(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function qL(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&xo(e.matched[s],n.matched[i])&&cS(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function xo(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function cS(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!XL(t[n],e[n]))return!1;return!0}function XL(t,e){return Ps(t)?nb(t,e):Ps(e)?nb(e,t):t===e}function nb(t,e){return Ps(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function YL(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/"),i=s[s.length-1];(i===".."||i===".")&&s.push("");let r=n.length-1,o,a;for(o=0;o<s.length;o++)if(a=s[o],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(o).join("/")}const Pi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ja;(function(t){t.pop="pop",t.push="push"})(Ja||(Ja={}));var wa;(function(t){t.back="back",t.forward="forward",t.unknown=""})(wa||(wa={}));function ZL(t){if(!t)if(no){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),KL(t)}const JL=/^[^#]+#/;function QL(t,e){return t.replace(JL,"#")+e}function t4(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const fd=()=>({left:window.scrollX,top:window.scrollY});function e4(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=t4(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function sb(t,e){return(history.state?history.state.position-e:-1)+t}const kh=new Map;function n4(t,e){kh.set(t,e)}function s4(t){const e=kh.get(t);return kh.delete(t),e}let i4=()=>location.protocol+"//"+location.host;function uS(t,e){const{pathname:n,search:s,hash:i}=e,r=t.indexOf("#");if(r>-1){let a=i.includes(t.slice(r))?t.slice(r).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),eb(l,"")}return eb(n,t)+s+i}function r4(t,e,n,s){let i=[],r=[],o=null;const a=({state:f})=>{const h=uS(t,location),p=n.value,m=e.value;let b=0;if(f){if(n.value=h,e.value=f,o&&o===p){o=null;return}b=m?f.position-m.position:0}else s(h);i.forEach(y=>{y(n.value,p,{delta:b,type:Ja.pop,direction:b?b>0?wa.forward:wa.back:wa.unknown})})};function l(){o=n.value}function c(f){i.push(f);const h=()=>{const p=i.indexOf(f);p>-1&&i.splice(p,1)};return r.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(ye({},f.state,{scroll:fd()}),"")}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function ib(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?fd():null}}function o4(t){const{history:e,location:n}=window,s={value:uS(t,n)},i={value:e.state};i.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const d=t.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?t:t.slice(d))+l:i4()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),i.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function o(l,c){const u=ye({},e.state,ib(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=ye({},i.value,e.state,{forward:l,scroll:fd()});r(u.current,u,!0);const d=ye({},ib(s.value,l,null),{position:u.position+1},c);r(l,d,!1),s.value=l}return{location:s,state:i,push:a,replace:o}}function a4(t){t=ZL(t);const e=o4(t),n=r4(t,e.state,e.location,e.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=ye({location:"",base:t,go:s,createHref:QL.bind(null,t)},e,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>e.state.value}),i}function l4(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),a4(t)}function c4(t){return typeof t=="string"||t&&typeof t=="object"}function dS(t){return typeof t=="string"||typeof t=="symbol"}const fS=Symbol("");var rb;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(rb||(rb={}));function Io(t,e){return ye(new Error,{type:t,[fS]:!0},e)}function ei(t,e){return t instanceof Error&&fS in t&&(e==null||!!(t.type&e))}const ob="[^/]+?",u4={sensitive:!1,strict:!1,start:!0,end:!0},d4=/[.+*?^${}()[\]/\\]/g;function f4(t,e){const n=ye({},u4,e),s=[];let i=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(i+="/"),i+=f.value.replace(d4,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:m,optional:b,regexp:y}=f;r.push({name:p,repeatable:m,optional:b});const _=y||ob;if(_!==ob){h+=10;try{new RegExp(`(${_})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+v.message)}}let g=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;d||(g=b&&c.length<2?`(?:/${g})`:"/"+g),b&&(g+="?"),i+=g,h+=20,b&&(h+=-8),m&&(h+=-20),_===".*"&&(h+=-50)}u.push(h)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(c){const u=c.match(o),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",p=r[f-1];d[p.name]=h&&p.repeatable?h.split("/"):h}return d}function l(c){let u="",d=!1;for(const f of t){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:b}=h,y=p in c?c[p]:"";if(Ps(y)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=Ps(y)?y.join("/"):y;if(!_)if(b)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${p}"`);u+=_}}return u||"/"}return{re:o,score:s,keys:r,parse:a,stringify:l}}function h4(t,e){let n=0;for(;n<t.length&&n<e.length;){const s=e[n]-t[n];if(s)return s;n++}return t.length<e.length?t.length===1&&t[0]===80?-1:1:t.length>e.length?e.length===1&&e[0]===80?1:-1:0}function hS(t,e){let n=0;const s=t.score,i=e.score;for(;n<s.length&&n<i.length;){const r=h4(s[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-s.length)===1){if(ab(s))return 1;if(ab(i))return-1}return i.length-s.length}function ab(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const p4={type:0,value:""},m4=/[a-zA-Z0-9_]/;function g4(t){if(!t)return[[]];if(t==="/")return[[p4]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,l,c="",u="";function d(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<t.length;){if(l=t[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),o()):l===":"?(d(),n=1):f();break;case 4:f(),n=s;break;case 1:l==="("?n=2:m4.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return n===2&&e(`Unfinished custom RegExp for param "${c}"`),d(),o(),i}function y4(t,e,n){const s=f4(g4(t.path),n),i=ye(s,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function b4(t,e){const n=[],s=new Map;e=db({strict:!1,end:!0,sensitive:!1},e);function i(d){return s.get(d)}function r(d,f,h){const p=!h,m=cb(d);m.aliasOf=h&&h.record;const b=db(e,d),y=[m];if("alias"in d){const v=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of v)y.push(cb(ye({},m,{components:h?h.record.components:m.components,path:S,aliasOf:h?h.record:m})))}let _,g;for(const v of y){const{path:S}=v;if(f&&S[0]!=="/"){const k=f.record.path,N=k[k.length-1]==="/"?"":"/";v.path=f.record.path+(S&&N+S)}if(_=y4(v,f,b),h?h.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),p&&d.name&&!ub(_)&&o(d.name)),pS(_)&&l(_),m.children){const k=m.children;for(let N=0;N<k.length;N++)r(k[N],_,h&&h.children[N])}h=h||_}return g?()=>{o(g)}:Ea}function o(d){if(dS(d)){const f=s.get(d);f&&(s.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function a(){return n}function l(d){const f=S4(d,n);n.splice(f,0,d),d.record.name&&!ub(d)&&s.set(d.record.name,d)}function c(d,f){let h,p={},m,b;if("name"in d&&d.name){if(h=s.get(d.name),!h)throw Io(1,{location:d});b=h.record.name,p=ye(lb(f.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&lb(d.params,h.keys.map(g=>g.name))),m=h.stringify(p)}else if(d.path!=null)m=d.path,h=n.find(g=>g.re.test(m)),h&&(p=h.parse(m),b=h.record.name);else{if(h=f.name?s.get(f.name):n.find(g=>g.re.test(f.path)),!h)throw Io(1,{location:d,currentLocation:f});b=h.record.name,p=ye({},f.params,d.params),m=h.stringify(p)}const y=[];let _=h;for(;_;)y.unshift(_.record),_=_.parent;return{name:b,path:m,params:p,matched:y,meta:_4(y)}}t.forEach(d=>r(d));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:c,removeRoute:o,clearRoutes:u,getRoutes:a,getRecordMatcher:i}}function lb(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function cb(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:v4(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function v4(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="object"?n[s]:n;return e}function ub(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function _4(t){return t.reduce((e,n)=>ye(e,n.meta),{})}function db(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function S4(t,e){let n=0,s=e.length;for(;n!==s;){const r=n+s>>1;hS(t,e[r])<0?s=r:n=r+1}const i=E4(t);return i&&(s=e.lastIndexOf(i,s-1)),s}function E4(t){let e=t;for(;e=e.parent;)if(pS(e)&&hS(t,e)===0)return e}function pS({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function w4(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let i=0;i<s.length;++i){const r=s[i].replace(rS," "),o=r.indexOf("="),a=Za(o<0?r:r.slice(0,o)),l=o<0?null:Za(r.slice(o+1));if(a in e){let c=e[a];Ps(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function fb(t){let e="";for(let n in t){const s=t[n];if(n=jL(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}(Ps(s)?s.map(r=>r&&wh(r)):[s&&wh(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function k4(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Ps(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const T4=Symbol(""),hb=Symbol(""),cm=Symbol(""),mS=Symbol(""),Th=Symbol("");function Qo(){let t=[];function e(s){return t.push(s),()=>{const i=t.indexOf(s);i>-1&&t.splice(i,1)}}function n(){t=[]}return{add:e,list:()=>t.slice(),reset:n}}function ji(t,e,n,s,i,r=o=>o()){const o=s&&(s.enterCallbacks[i]=s.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=f=>{f===!1?l(Io(4,{from:n,to:e})):f instanceof Error?l(f):c4(f)?l(Io(2,{from:e,to:f})):(o&&s.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),a())},u=r(()=>t.call(s&&s.instances[i],e,n,c));let d=Promise.resolve(u);t.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function rf(t,e,n,s,i=r=>r()){const r=[];for(const o of t)for(const a in o.components){let l=o.components[a];if(!(e!=="beforeRouteEnter"&&!o.instances[a]))if(sS(l)){const u=(l.__vccOpts||l)[e];u&&r.push(ji(u,n,s,o,a,i))}else{let c=l();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${o.path}"`);const d=NL(u)?u.default:u;o.mods[a]=u,o.components[a]=d;const h=(d.__vccOpts||d)[e];return h&&ji(h,n,s,o,a,i)()}))}}return r}function pb(t){const e=cs(cm),n=cs(mS),s=tn(()=>{const l=Vn(t.to);return e.resolve(l)}),i=tn(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(xo.bind(null,u));if(f>-1)return f;const h=mb(l[c-2]);return c>1&&mb(u)===h&&d[d.length-1].path!==h?d.findIndex(xo.bind(null,l[c-2])):f}),r=tn(()=>i.value>-1&&I4(n.params,s.value.params)),o=tn(()=>i.value>-1&&i.value===n.matched.length-1&&cS(n.params,s.value.params));function a(l={}){if(x4(l)){const c=e[Vn(t.replace)?"replace":"push"](Vn(t.to)).catch(Ea);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:tn(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}function C4(t){return t.length===1?t[0]:t}const A4=wi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:pb,setup(t,{slots:e}){const n=Po(pb(t)),{options:s}=cs(cm),i=tn(()=>({[gb(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[gb(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&C4(e.default(n));return t.custom?r:Bs("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),O4=A4;function x4(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function I4(t,e){for(const n in e){const s=e[n],i=t[n];if(typeof s=="string"){if(s!==i)return!1}else if(!Ps(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function mb(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const gb=(t,e,n)=>t??e??n,N4=wi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=cs(Th),i=tn(()=>t.route||s.value),r=cs(hb,0),o=tn(()=>{let c=Vn(r);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=tn(()=>i.value.matched[o.value]);ga(hb,tn(()=>o.value+1)),ga(T4,a),ga(Th,i);const l=ls();return Zn(()=>[l.value,a.value,t.name],([c,u,d],[f,h,p])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!xo(u,h)||!f)&&(u.enterCallbacks[d]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=t.name,d=a.value,f=d&&d.components[u];if(!f)return yb(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=Bs(f,ye({},p,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return yb(n.default,{Component:b,route:c})||b}}});function yb(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const P4=N4;function D4(t){const e=b4(t.routes,t),n=t.parseQuery||w4,s=t.stringifyQuery||fb,i=t.history,r=Qo(),o=Qo(),a=Qo(),l=vu(Pi);let c=Pi;no&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=nf.bind(null,X=>""+X),d=nf.bind(null,WL),f=nf.bind(null,Za);function h(X,dt){let ct,bt;return dS(X)?(ct=e.getRecordMatcher(X),bt=dt):bt=X,e.addRoute(bt,ct)}function p(X){const dt=e.getRecordMatcher(X);dt&&e.removeRoute(dt)}function m(){return e.getRoutes().map(X=>X.record)}function b(X){return!!e.getRecordMatcher(X)}function y(X,dt){if(dt=ye({},dt||l.value),typeof X=="string"){const P=sf(n,X,dt.path),W=e.resolve({path:P.path},dt),nt=i.createHref(P.fullPath);return ye(P,W,{params:f(W.params),hash:Za(P.hash),redirectedFrom:void 0,href:nt})}let ct;if(X.path!=null)ct=ye({},X,{path:sf(n,X.path,dt.path).path});else{const P=ye({},X.params);for(const W in P)P[W]==null&&delete P[W];ct=ye({},X,{params:d(P)}),dt.params=d(dt.params)}const bt=e.resolve(ct,dt),Ht=X.hash||"";bt.params=u(f(bt.params));const Xt=zL(s,ye({},X,{hash:UL(Ht),path:bt.path})),O=i.createHref(Xt);return ye({fullPath:Xt,hash:Ht,query:s===fb?k4(X.query):X.query||{}},bt,{redirectedFrom:void 0,href:O})}function _(X){return typeof X=="string"?sf(n,X,l.value.path):ye({},X)}function g(X,dt){if(c!==X)return Io(8,{from:dt,to:X})}function v(X){return N(X)}function S(X){return v(ye(_(X),{replace:!0}))}function k(X){const dt=X.matched[X.matched.length-1];if(dt&&dt.redirect){const{redirect:ct}=dt;let bt=typeof ct=="function"?ct(X):ct;return typeof bt=="string"&&(bt=bt.includes("?")||bt.includes("#")?bt=_(bt):{path:bt},bt.params={}),ye({query:X.query,hash:X.hash,params:bt.path!=null?{}:X.params},bt)}}function N(X,dt){const ct=c=y(X),bt=l.value,Ht=X.state,Xt=X.force,O=X.replace===!0,P=k(ct);if(P)return N(ye(_(P),{state:typeof P=="object"?ye({},Ht,P.state):Ht,force:Xt,replace:O}),dt||ct);const W=ct;W.redirectedFrom=dt;let nt;return!Xt&&qL(s,bt,ct)&&(nt=Io(16,{to:W,from:bt}),Vt(bt,bt,!0,!1)),(nt?Promise.resolve(nt):D(W,bt)).catch(Q=>ei(Q)?ei(Q,2)?Q:qt(Q):at(Q,W,bt)).then(Q=>{if(Q){if(ei(Q,2))return N(ye({replace:O},_(Q.to),{state:typeof Q.to=="object"?ye({},Ht,Q.to.state):Ht,force:Xt}),dt||W)}else Q=F(W,bt,!0,O,Ht);return j(W,bt,Q),Q})}function R(X,dt){const ct=g(X,dt);return ct?Promise.reject(ct):Promise.resolve()}function T(X){const dt=ve.values().next().value;return dt&&typeof dt.runWithContext=="function"?dt.runWithContext(X):X()}function D(X,dt){let ct;const[bt,Ht,Xt]=M4(X,dt);ct=rf(bt.reverse(),"beforeRouteLeave",X,dt);for(const P of bt)P.leaveGuards.forEach(W=>{ct.push(ji(W,X,dt))});const O=R.bind(null,X,dt);return ct.push(O),Wt(ct).then(()=>{ct=[];for(const P of r.list())ct.push(ji(P,X,dt));return ct.push(O),Wt(ct)}).then(()=>{ct=rf(Ht,"beforeRouteUpdate",X,dt);for(const P of Ht)P.updateGuards.forEach(W=>{ct.push(ji(W,X,dt))});return ct.push(O),Wt(ct)}).then(()=>{ct=[];for(const P of Xt)if(P.beforeEnter)if(Ps(P.beforeEnter))for(const W of P.beforeEnter)ct.push(ji(W,X,dt));else ct.push(ji(P.beforeEnter,X,dt));return ct.push(O),Wt(ct)}).then(()=>(X.matched.forEach(P=>P.enterCallbacks={}),ct=rf(Xt,"beforeRouteEnter",X,dt,T),ct.push(O),Wt(ct))).then(()=>{ct=[];for(const P of o.list())ct.push(ji(P,X,dt));return ct.push(O),Wt(ct)}).catch(P=>ei(P,8)?P:Promise.reject(P))}function j(X,dt,ct){a.list().forEach(bt=>T(()=>bt(X,dt,ct)))}function F(X,dt,ct,bt,Ht){const Xt=g(X,dt);if(Xt)return Xt;const O=dt===Pi,P=no?history.state:{};ct&&(bt||O?i.replace(X.fullPath,ye({scroll:O&&P&&P.scroll},Ht)):i.push(X.fullPath,Ht)),l.value=X,Vt(X,dt,ct,O),qt()}let U;function Y(){U||(U=i.listen((X,dt,ct)=>{if(!Se.listening)return;const bt=y(X),Ht=k(bt);if(Ht){N(ye(Ht,{replace:!0,force:!0}),bt).catch(Ea);return}c=bt;const Xt=l.value;no&&n4(sb(Xt.fullPath,ct.delta),fd()),D(bt,Xt).catch(O=>ei(O,12)?O:ei(O,2)?(N(ye(_(O.to),{force:!0}),bt).then(P=>{ei(P,20)&&!ct.delta&&ct.type===Ja.pop&&i.go(-1,!1)}).catch(Ea),Promise.reject()):(ct.delta&&i.go(-ct.delta,!1),at(O,bt,Xt))).then(O=>{O=O||F(bt,Xt,!1),O&&(ct.delta&&!ei(O,8)?i.go(-ct.delta,!1):ct.type===Ja.pop&&ei(O,20)&&i.go(-1,!1)),j(bt,Xt,O)}).catch(Ea)}))}let ot=Qo(),G=Qo(),tt;function at(X,dt,ct){qt(X);const bt=G.list();return bt.length?bt.forEach(Ht=>Ht(X,dt,ct)):console.error(X),Promise.reject(X)}function Tt(){return tt&&l.value!==Pi?Promise.resolve():new Promise((X,dt)=>{ot.add([X,dt])})}function qt(X){return tt||(tt=!X,Y(),ot.list().forEach(([dt,ct])=>X?ct(X):dt()),ot.reset()),X}function Vt(X,dt,ct,bt){const{scrollBehavior:Ht}=t;if(!no||!Ht)return Promise.resolve();const Xt=!ct&&s4(sb(X.fullPath,0))||(bt||!ct)&&history.state&&history.state.scroll||null;return $r().then(()=>Ht(X,dt,Xt)).then(O=>O&&e4(O)).catch(O=>at(O,X,dt))}const Bt=X=>i.go(X);let ge;const ve=new Set,Se={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:b,getRoutes:m,resolve:y,options:t,push:v,replace:S,go:Bt,back:()=>Bt(-1),forward:()=>Bt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:G.add,isReady:Tt,install(X){const dt=this;X.component("RouterLink",O4),X.component("RouterView",P4),X.config.globalProperties.$router=dt,Object.defineProperty(X.config.globalProperties,"$route",{enumerable:!0,get:()=>Vn(l)}),no&&!ge&&l.value===Pi&&(ge=!0,v(i.location).catch(Ht=>{}));const ct={};for(const Ht in Pi)Object.defineProperty(ct,Ht,{get:()=>l.value[Ht],enumerable:!0});X.provide(cm,dt),X.provide(mS,jh(ct)),X.provide(Th,l);const bt=X.unmount;ve.add(X),X.unmount=function(){ve.delete(X),ve.size<1&&(c=Pi,U&&U(),U=null,l.value=Pi,ge=!1,tt=!1),bt()}}};function Wt(X){return X.reduce((dt,ct)=>dt.then(()=>T(ct)),Promise.resolve())}return Se}function M4(t,e){const n=[],s=[],i=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const a=e.matched[o];a&&(t.matched.find(c=>xo(c,a))?s.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>xo(c,l))||i.push(l))}return[n,s,i]}const R4={name:"ContentWithHeading",data(){return{hidden:!0}},computed:{icon(){return this.hidden?"chevron-down":"chevron-up"}}},L4={class:"container"},$4={class:"columns is-centered"},F4={class:"column is-four-fifths"},V4={key:0,class:"my-2"},H4={class:"buttons is-centered"},U4={class:"level is-clipped"},j4={class:"level-left"},B4={class:"level-item has-text-centered-mobile"},W4={key:0,class:"level-right is-flex-shrink-1 has-text-centered-mobile"},G4={class:"buttons"},K4={key:0,class:"is-flex is-justify-content-center mt-4"};function z4(t,e,n,s,i,r){const o=w("mdicon");return x(),$("section",{class:Kt(["section",{"pt-0":t.$slots.options}])},[A("div",L4,[A("div",$4,[A("div",F4,[t.$slots.options?(x(),$("div",V4,[A("div",{class:Kt([{"is-hidden":i.hidden},"mt-4"])},[ne(t.$slots,"options")],2),A("div",H4,[A("button",{class:"button is-small",onClick:e[0]||(e[0]=a=>i.hidden=!i.hidden)},[E(o,{class:"icon",name:r.icon,size:"16"},null,8,["name"])])])])):vt("",!0),A("div",null,[A("nav",U4,[A("div",j4,[A("div",B4,[A("div",null,[ne(t.$slots,"heading")])])]),t.$slots.actions?(x(),$("div",W4,[A("div",G4,[ne(t.$slots,"actions")])])):vt("",!0)]),ne(t.$slots,"content"),t.$slots.footer?(x(),$("div",K4,[ne(t.$slots,"footer")])):vt("",!0)])])])])],2)}const se=st(R4,[["render",z4]]),q4={name:"ControlButton",props:{button:{required:!0,type:Object}}},X4=["disabled"],Y4=["textContent"],Z4=["textContent"];function J4(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{class:"button is-small is-rounded",disabled:n.button.disabled,onClick:e[0]||(e[0]=(...a)=>n.button.handler&&n.button.handler(...a))},[n.button.icon?(x(),yt(o,{key:0,class:"icon",name:n.button.icon,size:"16"},null,8,["name"])):vt("",!0),n.button.key?(x(),$("span",{key:1,textContent:J(t.$t(n.button.key))},null,8,Y4)):vt("",!0),n.button.title?(x(),$("span",{key:2,textContent:J(n.button.title)},null,8,Z4)):vt("",!0)],8,X4)}const on=st(q4,[["render",J4]]),Q4={name:"PaneTitle",props:{content:{required:!0,type:Object}}},t$=["textContent"],e$={class:"is-size-7 is-uppercase"},n$=["onClick","textContent"],s$=["textContent"],i$={key:2};function r$(t,e,n,s,i,r){return x(),$(it,null,[n.content.title?(x(),$("div",{key:0,class:"title is-4",textContent:J(n.content.title)},null,8,t$)):vt("",!0),A("div",e$,[(x(!0),$(it,null,ae(n.content.subtitle,(o,a)=>(x(),$(it,{key:a},[o.handler?(x(),$("a",{key:0,onClick:o.handler,textContent:J(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,n$)):(x(),$("span",{key:1,textContent:J(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,s$)),a!==n.content.subtitle.length-1?(x(),$("span",i$," | ")):vt("",!0)],64))),128))])],64)}const ie=st(Q4,[["render",r$]]),o$={name:"PageAbout",components:{ContentWithHeading:se,ControlButton:on,PaneTitle:ie},setup(){return{configurationStore:Vo(),libraryStore:Hu(),uiStore:ts()}},computed:{properties(){return[{key:"property.name",value:this.configurationStore.library_name},{key:"property.artists",value:this.$n(this.libraryStore.artists)},{key:"property.albums",value:this.$n(this.libraryStore.albums)},{key:"property.tracks",value:this.$n(this.libraryStore.songs)},{key:"property.playtime",value:this.$formatters.toDuration(this.libraryStore.db_playtime)},{alternate:this.$formatters.toDateTime(this.libraryStore.updated_at),key:"property.updated",value:this.$formatters.toRelativeDuration(this.libraryStore.updated_at)},{alternate:this.$formatters.toDateTime(this.libraryStore.started_at),key:"property.uptime",value:this.$formatters.toDurationToNow(this.libraryStore.started_at)}]}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0}}},a$=["textContent"],l$={class:"media-right"},c$=["textContent"],u$=["textContent"],d$=["textContent"],f$=["textContent"],h$=["textContent"];function p$(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("i18n-t"),c=w("content-with-heading");return x(),yt(c,null,{heading:M(()=>[E(o,{content:{title:t.$t("page.about.library")}},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openUpdateDialog,icon:"refresh",key:"page.about.update"},class:Kt({"is-loading":s.libraryStore.updating}),disabled:s.libraryStore.updating},null,8,["button","class","disabled"])]),content:M(()=>[(x(!0),$(it,null,ae(r.properties,u=>(x(),$("div",{key:u.key,class:"media is-align-items-center mb-0"},[A("div",{class:"media-content has-text-weight-bold",textContent:J(t.$t(u.key))},null,8,a$),A("div",l$,[A("span",{textContent:J(u.value)},null,8,c$),u.alternate?(x(),$("span",{key:0,class:"has-text-grey",textContent:J(` (${u.alternate})`)},null,8,u$)):vt("",!0)])]))),128)),A("div",{class:"is-size-7 mt-6",textContent:J(t.$t("page.about.version",{version:s.configurationStore.version}))},null,8,d$),A("div",{class:"is-size-7",textContent:J(t.$t("page.about.compiled-with",{options:s.configurationStore.buildoptions.join(", ")}))},null,8,f$),E(l,{tag:"div",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:M(()=>e[0]||(e[0]=[A("a",{href:"https://bulma.io"},"Bulma",-1)])),mdi:M(()=>e[1]||(e[1]=[A("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])),vuejs:M(()=>e[2]||(e[2]=[A("a",{href:"https://vuejs.org/"},"Vue.js",-1)])),axios:M(()=>e[3]||(e[3]=[A("a",{href:"https://github.com/axios/axios"},"axios",-1)])),others:M(()=>[A("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:J(t.$t("page.about.more"))},null,8,h$)]),_:1})]),_:1})}const m$=st(o$,[["render",p$]]),g$={name:"ContentWithHero"},y$={class:"section"},b$={class:"container"},v$={class:"columns is-centered"},_$={class:"column is-four-fifths"},S$={class:"columns is-flex-direction-row-reverse"},E$={class:"column is-flex has-image"},w$={class:"column m-auto is-three-fifths has-text-centered-mobile"},k$={class:"section pt-0"},T$={class:"container"},C$={class:"columns is-centered"},A$={class:"column is-four-fifths"};function O$(t,e,n,s,i,r){return x(),$(it,null,[A("section",y$,[A("div",b$,[A("div",v$,[A("div",_$,[A("div",S$,[A("div",E$,[ne(t.$slots,"image",{},void 0,!0)]),A("div",w$,[ne(t.$slots,"heading",{},void 0,!0)])])])])])]),A("section",k$,[A("div",T$,[A("div",C$,[A("div",A$,[ne(t.$slots,"content",{},void 0,!0),ne(t.$slots,"footer",{},void 0,!0)])])])])],64)}const hd=st(g$,[["render",O$],["__scopeId","data-v-9f80a063"]]),x$=t=>{let e=0;for(const n of t)e=n.charCodeAt(0)+((e<<5)-e);return(e&16777215).toString(16)},I$=t=>[.2126,.7152,.0722].reduce((e,n,s)=>e+ +`0x${t.slice(s*2,s*2+2)}`*n,0)/255,N$=t=>{const e=x$(t.alternate),n=`<svg xmlns="http://www.w3.org/2000/svg"
width="${t.size}" height="${t.size}"
viewBox="0 0 ${t.size} ${t.size}">
<rect width="100%" height="100%" fill="#${e}"/>
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
font-weight="${t.font.weight}" font-family="${t.font.family}"
font-size="${t.size/3}" fill="${I$(e)>.5?"#000000":"#FFFFFF"}">
${t.caption}
</text>
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},P$={name:"ControlImage",props:{caption:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},size:600}},computed:{source(){return{src:this.url||this.uri,lifecycle:{error:t=>{t.src=this.uri}}}},uri(){return N$({alternate:this.caption,caption:this.caption.substring(0,2),font:this.font,size:this.size})}}},D$={class:"figure has-shadow"};function M$(t,e,n,s,i,r){const o=Zh("lazy");return x(),$("figure",D$,[Qn(A("img",{onClick:e[0]||(e[0]=a=>t.$emit("click"))},null,512),[[o,r.source]])])}const Hr=st(P$,[["render",M$],["__scopeId","data-v-e61d86e1"]]),{t:Wl,locale:R$}=Fo.global,gS="NO_INDEX",L$=(t,e)=>t-e,$$=(t,e)=>t.localeCompare(e,R$.value),F$=(t,e)=>new Date(t)-new Date(e)||(t?e?0:1:-1),V$=t=>t.map(({field:e,type:n,order:s=1})=>{switch(n){case String:return(i,r)=>$$(i[e],r[e])*s;case Number:return(i,r)=>L$(i[e],r[e])*s;case Date:return(i,r)=>F$(i[e],r[e])*s;default:return()=>0}}),H$=(t="")=>{const e=t.charAt(0);return e.match(new RegExp("\\p{Letter}","gu"))?e.toUpperCase():e.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},U$=t=>{},j$=[{difference:NaN,text:()=>Wl("grouped-list.undefined")},{difference:864e5,text:()=>Wl("grouped-list.today")},{difference:6048e5,text:()=>Wl("grouped-list.last-week")},{difference:2592e6,text:()=>Wl("grouped-list.last-month")},{difference:1/0,text:t=>t.getFullYear()}],B$=t=>{var s;const e=new Date(t),n=new Date-e;return(s=j$.find(i=>isNaN(n)||n<i.difference))==null?void 0:s.text(e)},W$=({field:t,type:e}={})=>{switch(e){case String:return n=>H$(n[t]);case Number:return n=>n[t];case Date:return n=>B$(n[t]);case"Digits":return n=>U$(n[t]);default:return()=>gS}};class kt{constructor({items:e=[],total:n=0,offset:s=0,limit:i=-1}={},r={}){this.items=e,this.total=n,this.offset=s,this.limit=i,this.count=e.length,this.indices=[],this.group(r)}group({criteria:e=[],filters:n=[],index:s}={}){const i=this.items.filter(l=>n.every(c=>c(l)));this.count=i.length;const r=V$(e),o=i.sort((l,c)=>r.reduce((u,d)=>u||d(l,c),0)),a=W$(s);return this.itemsGrouped=o.reduce((l,c)=>{const u=a(c);return l.set(u,[...l.get(u)||[],c]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[e,n]of this.itemsGrouped.entries()){e!==gS&&(yield{index:e,isItem:!1,item:{},itemId:e});for(const s of n)yield{index:e,isItem:!0,item:s,itemId:s.id}}}[Symbol.iterator](){return this.generate()}}const um={name:"ControlProgress",props:{size:{default:36,type:Number},value:{default:0,type:Number}},computed:{offset(){return 1-this.value},progress(){return`${Math.round(this.value*100)}%`}}},bb=()=>{rp(t=>({"3ce61f74":t.offset}))},vb=um.setup;um.setup=vb?(t,e)=>(bb(),vb(t,e)):bb;const G$={class:"is-flex"},K$=["width","height"],z$=["textContent"];function q$(t,e,n,s,i,r){return x(),$("div",G$,[(x(),$("svg",{width:n.size,height:n.size,viewBox:"0 0 200 200"},[e[0]||(e[0]=A("defs",null,[A("circle",{id:"circle",cx:"50%",cy:"50%",pathLength:"1",r:"90"})],-1)),e[1]||(e[1]=A("use",{href:"#circle",class:"progress-base"},null,-1)),e[2]||(e[2]=A("use",{href:"#circle",class:"progress-bar"},null,-1)),A("text",{x:"50%",y:"50%",class:"is-size-1 progress-text",textContent:J(r.progress)},null,8,z$)],8,K$))])}const X$=st(um,[["render",q$],["__scopeId","data-v-06c7995f"]]),Y$={name:"ListItem",components:{ControlImage:Hr,ControlProgress:X$},props:{icon:{default:null,type:String},image:{default:null,type:Object},index:{default:null,type:[String,Number]},isItem:{default:!0,type:Boolean},isPlayable:{default:!0,type:Boolean},isRead:{default:!1,type:Boolean},lines:{default:null,type:Array},progress:{default:null,type:Number}},emits:["open","openDetails"],methods:{open(){this.$emit("open")},openDetails(){this.$emit("openDetails")}}},Z$={key:0,class:"py-5"},J$={class:"media-content"},Q$=["id","textContent"],t5={class:"media-content"},e5=["textContent"],n5={key:0,class:"is-size-7 has-text-grey"},s5={key:2,class:"media-right"},i5={class:"media-right"};function r5(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-image"),l=w("control-progress");return n.isItem?(x(),$("div",{key:1,class:Kt(["media is-align-items-center mb-0",{"is-clickable":n.isPlayable,"is-not-allowed":!n.isPlayable}]),onClick:e[1]||(e[1]=(...c)=>r.open&&r.open(...c))},[n.icon?(x(),yt(o,{key:0,class:"media-left icon",name:n.icon},null,8,["name"])):vt("",!0),n.image?(x(),yt(a,{key:1,url:n.image.url,caption:n.image.caption,class:"media-left is-small"},null,8,["url","caption"])):vt("",!0),A("div",t5,[(x(!0),$(it,null,ae(n.lines,(c,u)=>(x(),$("div",{key:u,class:Kt({"is-size-6":u===0,"is-size-7":u!==0,"has-text-weight-bold":u!==2,"has-text-grey":(u!==0||n.isRead)&&n.isPlayable,"has-text-grey-light":!n.isPlayable}),textContent:J(c)},null,10,e5))),128)),n.isPlayable?vt("",!0):(x(),$("div",n5,[ne(t.$slots,"reason",{},void 0,!0)]))]),n.progress?(x(),$("div",s5,[E(l,{value:n.progress},null,8,["value"])])):vt("",!0),A("div",i5,[A("a",{onClick:e[0]||(e[0]=un((...c)=>r.openDetails&&r.openDetails(...c),["prevent","stop"]))},[E(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})])])],2)):(x(),$("div",Z$,[A("div",J$,[A("span",{id:`index_${n.index}`,class:"tag is-small has-text-weight-bold",textContent:J(n.index)},null,8,Q$)])]))}const Ls=st(Y$,[["render",r5],["__scopeId","data-v-8ec36f11"]]),o5={name:"ListProperties",components:{ControlImage:Hr},props:{item:{required:!0,type:Object}}},a5=["textContent"],l5={class:"title is-6"},c5=["onClick","textContent"],u5=["textContent"];function d5(t,e,n,s,i,r){var a;const o=w("control-image");return x(),$(it,null,[n.item.image?(x(),yt(o,{key:0,url:n.item.image,caption:n.item.name,class:"is-normal mb-5"},null,8,["url","caption"])):vt("",!0),t.$slots.buttons?ne(t.$slots,"buttons",{key:1}):vt("",!0),(x(!0),$(it,null,ae((a=n.item.properties)==null?void 0:a.filter(l=>l.value),l=>(x(),$("div",{key:l.key,class:"mb-3"},[A("div",{class:"is-size-7 is-uppercase",textContent:J(t.$t(l.key))},null,8,a5),A("div",l5,[l.handler?(x(),$("a",{key:0,onClick:l.handler,textContent:J(l.value)},null,8,c5)):(x(),$("span",{key:1,class:"title is-6",textContent:J(l.value)},null,8,u5))])]))),128))],64)}const yS=st(o5,[["render",d5]]),f5={name:"ModalDialogPlayable",components:{ControlButton:on,ListProperties:yS,ModalDialog:nr},props:{buttons:{default:()=>[],type:Array},item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{actions(){return[{handler:this.addToQueue,icon:"playlist-plus",key:"actions.add"},{handler:this.addNextToQueue,icon:"playlist-play",key:"actions.add-next"},{handler:this.play,icon:"play",key:"actions.play"}]}},methods:{play(){this.$emit("close"),this.item.expression?ce.playExpression(this.item.expression,!1):ce.playUri(this.item.uris||this.item.uri,!1)},addToQueue(){this.$emit("close"),this.item.expression?ce.addExpression(this.item.expression):ce.addUri(this.item.uris||this.item.uri)},addNextToQueue(){this.$emit("close"),this.item.expression?ce.addExpression(this.item.expression,!0):ce.addUri(this.item.uris||this.item.uri,!0)}}},h5={class:"buttons"};function p5(t,e,n,s,i,r){const o=w("control-button"),a=w("list-properties"),l=w("modal-dialog");return x(),yt(l,{actions:r.actions,show:n.show,title:n.item.name,onClose:e[0]||(e[0]=c=>t.$emit("close"))},{content:M(()=>[E(a,{item:n.item},Ro({_:2},[n.buttons.length?{name:"buttons",fn:M(()=>[A("div",h5,[(x(!0),$(it,null,ae(n.buttons,c=>(x(),yt(o,{key:c.key,button:c},null,8,["button"]))),128))])]),key:"0"}:void 0]),1032,["item"])]),_:1},8,["actions","show","title"])}const ms=st(f5,[["render",p5]]),m5={name:"ModalDialogTrack",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],computed:{buttons(){return this.item.media_kind!=="podcast"?[]:this.item.play_count>0?[{handler:this.markAsNew,key:"actions.mark-as-new"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.genre",value:this.item.genre},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.item.length_ms>0&&this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.item.data_kind!=="spotify"&&this.$t("dialog.track.quality-value",{bitrate:this.item.bitrate,channels:this.$t("data.channels",this.item.channels),format:this.item.type,samplerate:this.item.samplerate})},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)},{key:"property.rating",value:this.$t("dialog.track.rating-value",{rating:Math.floor(this.item.rating/10)})},{key:"property.comment",value:this.item.comment},{key:"property.path",value:this.item.path}],uri:this.item.uri}}},methods:{markAsNew(){Ct.updateTrack(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},markAsPlayed(){Ct.updateTrack(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openAlbum(){this.$emit("close"),this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})}}};function g5(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{buttons:r.buttons,item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["buttons","item","show"])}const y5=st(m5,[["render",g5]]),b5={name:"ListTracks",components:{ListItem:Ls,ModalDialogTrack:y5},props:{expression:{default:"",type:String},items:{default:null,type:Object},icon:{default:null,type:String},showProgress:{default:!1,type:Boolean},uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selectedItem:{},showDetailsModal:!1}},methods:{isRead(t){return t.media_kind==="podcast"&&t.play_count>0},open(t){this.uris?ce.playUri(this.uris,!1,this.items.items.indexOf(t)):this.expression?ce.playExpression(this.expression,!1,this.items.items.indexOf(t)):ce.playUri(t.uri,!1)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},progress(t){return this.showProgress&&t.seek_ms>0?t.seek_ms/t.length_ms:null}}};function v5(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-track");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,l=>(x(),yt(o,{key:l.itemId,icon:n.icon,"is-item":l.isItem,"is-read":r.isRead(l.item),index:l.index,lines:[l.item.title,l.item.artist,l.item.album],progress:r.progress(l.item),onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["icon","is-item","is-read","index","lines","progress","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1),onPlayCountChanged:e[1]||(e[1]=l=>t.$emit("play-count-changed"))},null,8,["item","show"])],64)}const Bn=st(b5,[["render",v5]]),_5={name:"ModalDialogAlbum",components:{ModalDialog:nr,ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},mediaKind:{default:"",type:String},show:Boolean},emits:["close","play-count-changed","podcast-deleted"],data(){return{showRemovePodcastModal:!1}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:this.$t("actions.cancel")},{handler:this.removePodcast,icon:"delete",key:this.$t("actions.remove")}]},buttons(){return this.mediaKindResolved==="podcast"?this.item.data_kind==="url"?[{handler:this.markAsPlayed,key:"actions.mark-as-played"},{handler:this.openRemovePodcastDialog,key:"actions.remove"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]:[]},mediaKindResolved(){return this.mediaKind||this.item.media_kind},playable(){return{image:this.item.artwork_url,name:this.item.name,properties:[{handler:this.openArtist,key:"property.artist",value:this.item.artist},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}},methods:{cancel(){this.showRemovePodcastModal=!1},markAsPlayed(){Ct.updateAlbum(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openArtist(){this.$emit("close"),this.mediaKindResolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},openRemovePodcastDialog(){this.showRemovePodcastModal=!0,this.showDetailsModal=!1},removePodcast(){this.showRemovePodcastModal=!1,Ct.albumTracks(this.item.id,{limit:1}).then(t=>{Ct.trackPlaylists(t.items[0].id).then(e=>{const{id:n}=e.items.find(s=>s.type==="rss");Ct.playlistDelete(n).then(()=>{this.$emit("podcast-deleted"),this.$emit("close")})})})}}},S5=["textContent"];function E5(t,e,n,s,i,r){const o=w("modal-dialog-playable"),a=w("i18n-t"),l=w("modal-dialog");return x(),$(it,null,[E(o,{buttons:r.buttons,item:r.playable,show:n.show,onClose:e[0]||(e[0]=c=>t.$emit("close"))},null,8,["buttons","item","show"]),E(l,{actions:r.actions,show:i.showRemovePodcastModal,title:t.$t("dialog.podcast.remove.title"),onClose:e[1]||(e[1]=c=>i.showRemovePodcastModal=!1),onRemove:r.removePodcast},{content:M(()=>[E(a,{keypath:"dialog.podcast.remove.info",tag:"p",scope:"global"},{separator:M(()=>e[2]||(e[2]=[A("br",null,null,-1)])),name:M(()=>[A("b",{textContent:J(n.item.name)},null,8,S5)]),_:1})]),_:1},8,["actions","show","title","onRemove"])],64)}const pd=st(_5,[["render",E5]]),w5={name:"PaneHero",components:{ControlButton:on},props:{content:{required:!0,type:Object}}},k5=["textContent"],T5={class:"subtitle is-6"},C5=["textContent"],A5=["textContent"],O5={class:"buttons is-centered-mobile mt-5"};function x5(t,e,n,s,i,r){const o=w("control-button");return x(),$(it,null,[A("div",{class:"title is-5",textContent:J(n.content.title)},null,8,k5),A("div",T5,[A("a",{onClick:e[0]||(e[0]=(...a)=>n.content.handler&&n.content.handler(...a)),textContent:J(n.content.subtitle)},null,8,C5)]),A("div",{class:"is-size-7 is-uppercase has-text-centered-mobile",textContent:J(n.content.count)},null,8,A5),A("div",O5,[(x(!0),$(it,null,ae(n.content.actions,(a,l)=>(x(),yt(o,{key:l,button:a},null,8,["button"]))),128))])],64)}const md=st(w5,[["render",x5]]),I5={name:"PageAlbum",components:{ContentWithHero:hd,ControlImage:Hr,ListTracks:Bn,ModalDialogAlbum:pd,PaneHero:md},beforeRouteEnter(t,e,n){Promise.all([Ct.album(t.params.id),Ct.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new kt(i,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),r.tracks.indices.length<2&&r.tracks.group()})})},data(){return{album:{},showDetailsModal:!1,tracks:new kt}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ce.playUri(this.album.uri,!0)}}};function N5(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,uris:i.album.uri},null,8,["items","uris"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const P5=st(I5,[["render",N5]]);function D5(t){return t.scrollHeight}function M5(t){return t.scrollWidth}function R5(t,e){t.scrollTop=t.scrollHeight-e+t.scrollTop}function L5(t,e){t.scrollLeft=t.scrollWidth-e+t.scrollLeft}const $5=A("div",{class:"loading"},"Loading...",-1),F5=A("div",{class:"no-more"},"No more.",-1),V5=A("div",{class:"no-results"},"No results.",-1),H5=A("div",{class:"error"},"Error.",-1),U5=wi({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(t,{emit:e}){const n=t,s=ls();let i=ls("loading"),r=ls(n.isInitial),o=0;function a(){$r(()=>{var g,v;n.position==="top"?R5((g=n.container)!=null?g:document.documentElement,o):n.position==="left"&&L5((v=n.container)!=null?v:document.documentElement,o)})}function l(g,v){return g===0?r.value?(u(),"no-results"):(c(),"no-more"):g!==void 0&&v!==void 0&&g<v?(c(),"no-more"):(r.value=!1,a(),b(),"loading")}function c(){r.value=!1,p("no-more"),a()}function u(){r.value=!1,p("no-results"),a()}function d(){r.value=!1,p("error"),a()}function f(){r.value=!0,p("loading"),b()}function h(){p("loading"),b()}function p(g){i.value=g}function m(){s.value&&_.unobserve(s.value)}function b(){s.value&&_.observe(s.value)}function y(){return new IntersectionObserver(([g])=>{var v,S;g.isIntersecting&&(n.position==="top"?o=D5((v=n.container)!=null?v:document.documentElement):n.position==="left"&&(o=M5((S=n.container)!=null?S:document.documentElement)),m(),n.load({loaded:l,noMore:c,noResults:u,error:d},{isFirstLoad:r.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let _;return typeof IntersectionObserver<"u"&&n1(()=>{_&&m(),_=y(),b()},{flush:"post"}),Zn(()=>n.isInitial,g=>{g&&f()}),Zn(r,g=>{g||e("update:isInitial",!1)}),(g,v)=>(x(),$("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:s},[Vn(i)==="loading"?ne(g.$slots,"loading",ro(ao({key:0},{isFirstLoad:Vn(r)})),()=>[$5]):Vn(i)==="no-more"?ne(g.$slots,"no-more",ro(ao({key:1},{retry:h})),()=>[F5]):Vn(i)==="no-results"?ne(g.$slots,"no-results",ro(ao({key:2},{retry:h})),()=>[V5]):Vn(i)==="error"?ne(g.$slots,"error",ro(ao({key:3},{retry:h})),()=>[H5]):vt("",!0)],512))}}),j5={name:"LoaderListItem",components:{VueEternalLoading:U5},props:{load:{default:null,type:Function},loaded:{default:!0,type:Boolean}}},B5={class:"columns is-centered"},W5={class:"column has-text-centered"};function G5(t,e,n,s,i,r){const o=w("mdicon"),a=w("vue-eternal-loading");return n.load&&!n.loaded?(x(),yt(a,{key:0,load:n.load},{loading:M(()=>[A("div",B5,[A("div",W5,[E(o,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":M(()=>e[0]||(e[0]=[A("br",null,null,-1)])),"no-results":M(()=>e[1]||(e[1]=[A("br",null,null,-1)])),_:1},8,["load"])):vt("",!0)}const gd=st(j5,[["render",G5]]),K5={name:"ModalDialogTrackSpotify",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t;return this.item.artists?{name:this.item.name,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album.name},{handler:this.openArtist,key:"property.album-artist",value:(t=this.item.artists[0])==null?void 0:t.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.album.release_date)},{key:"property.position",value:[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.duration_ms)},{key:"property.path",value:this.item.uri}],uri:this.item.uri}:{}}},methods:{openAlbum(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function z5(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const q5=st(K5,[["render",z5]]),X5={name:"ListTracksSpotify",components:{ListItem:Ls,LoaderListItem:gd,ModalDialogTrackSpotify:q5},props:{contextUri:{default:"",type:String},items:{required:!0,type:Object},load:{default:null,type:Function},loaded:{default:!0,type:Boolean}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){t.is_playable&&ce.playUri(this.contextUri||t.uri,!1,t.position||0)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}},Y5=["textContent"],Z5=["textContent"];function J5(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-track-spotify");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,c=>(x(),yt(o,{key:c.id,"is-playable":c.is_playable,lines:[c.name,c.artists[0].name,c.album.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},Ro({_:2},[c.is_playable?void 0:{name:"reason",fn:M(()=>{var u;return[e[1]||(e[1]=qs(" (")),A("span",{textContent:J(t.$t("list.spotify.not-playable-track"))},null,8,Y5),(u=c.restrictions)!=null&&u.reason?(x(),$("span",{key:0,textContent:J(t.$t("list.spotify.restriction-reason",{reason:c.restrictions.reason}))},null,8,Z5)):vt("",!0),e[2]||(e[2]=qs(") "))]}),key:"0"}]),1032,["is-playable","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load,loaded:n.loaded},null,8,["load","loaded"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Jc=st(X5,[["render",J5]]),Q5={name:"ModalDialogAlbumSpotify",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t,e,n,s,i,r;return{image:((n=(e=(t=this.item)==null?void 0:t.images)==null?void 0:e[0])==null?void 0:n.url)||"",name:this.item.name||"",properties:[{handler:this.openArtist,key:"property.artist",value:(r=(i=(s=this.item)==null?void 0:s.artists)==null?void 0:i[0])==null?void 0:r.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.release_date)},{key:"property.type",value:this.item.album_type}],uri:this.item.uri}}},methods:{openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function t8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const bS=st(Q5,[["render",t8]]);var of={exports:{}},_b;function e8(){return _b||(_b=1,function(t){var e=function(){var n="https://api.spotify.com/v1",s=null,i=null,r=function(f,h){return f.abort=h,f},o=function(f,h){var p;if(i!==null){var m=i.defer();f(function(b){m.resolve(b)},function(b){m.reject(b)}),p=m.promise}else window.Promise&&(p=new window.Promise(f));return p?new r(p,h):null},a=function(){var f=Array.prototype.slice.call(arguments),h=f[0],p=f.slice(1);return h=h||{},p.forEach(function(m){for(var b in m)m.hasOwnProperty(b)&&(h[b]=m[b])}),h},l=function(f,h){var p="";for(var m in h)if(h.hasOwnProperty(m)){var b=h[m];p+=encodeURIComponent(m)+"="+encodeURIComponent(b)+"&"}return p.length>0&&(p=p.substring(0,p.length-1),f=f+"?"+p),f},c=function(f,h){var p=new XMLHttpRequest,m=function(b,y){function _(k){b&&b(k),h&&h(null,k)}function g(){y&&y(p),h&&h(p,null)}var v=f.type||"GET";if(p.open(v,l(f.url,f.params)),s&&p.setRequestHeader("Authorization","Bearer "+s),p.onreadystatechange=function(){if(p.readyState===4){var k=null;try{k=p.responseText?JSON.parse(p.responseText):""}catch(N){console.error(N)}p.status>=200&&p.status<300?_(k):g()}},v==="GET")p.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,p.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),p.setRequestHeader("Content-Type","application/json"))),p.send(S)}};return h?(m(),null):o(m,function(){p.abort()})},u=function(f,h,p,m){var b={},y=null;typeof h=="object"?(b=h,y=p):typeof h=="function"&&(y=h);var _=f.type||"GET";return _!=="GET"&&f.postData&&!m?f.postData=a(f.postData,b):f.params=a(f.params,b),c(f,y)},d=function(){};return d.prototype={constructor:e},d.prototype.getGeneric=function(f,h){var p={url:f};return u(p,h)},d.prototype.getMe=function(f,h){var p={url:n+"/me"};return u(p,f,h)},d.prototype.getMySavedTracks=function(f,h){var p={url:n+"/me/tracks"};return u(p,f,h)},d.prototype.addToMySavedTracks=function(f,h,p){var m={url:n+"/me/tracks",type:"PUT",postData:f};return u(m,h,p)},d.prototype.removeFromMySavedTracks=function(f,h,p){var m={url:n+"/me/tracks",type:"DELETE",postData:f};return u(m,h,p)},d.prototype.containsMySavedTracks=function(f,h,p){var m={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getMySavedAlbums=function(f,h){var p={url:n+"/me/albums"};return u(p,f,h)},d.prototype.addToMySavedAlbums=function(f,h,p){var m={url:n+"/me/albums",type:"PUT",postData:f};return u(m,h,p)},d.prototype.removeFromMySavedAlbums=function(f,h,p){var m={url:n+"/me/albums",type:"DELETE",postData:f};return u(m,h,p)},d.prototype.containsMySavedAlbums=function(f,h,p){var m={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getMyTopArtists=function(f,h){var p={url:n+"/me/top/artists"};return u(p,f,h)},d.prototype.getMyTopTracks=function(f,h){var p={url:n+"/me/top/tracks"};return u(p,f,h)},d.prototype.getMyRecentlyPlayedTracks=function(f,h){var p={url:n+"/me/player/recently-played"};return u(p,f,h)},d.prototype.followUsers=function(f,h){var p={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return u(p,h)},d.prototype.followArtists=function(f,h){var p={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return u(p,h)},d.prototype.followPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return u(m,h,p)},d.prototype.unfollowUsers=function(f,h){var p={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return u(p,h)},d.prototype.unfollowArtists=function(f,h){var p={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return u(p,h)},d.prototype.unfollowPlaylist=function(f,h){var p={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return u(p,h)},d.prototype.isFollowingUsers=function(f,h){var p={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return u(p,h)},d.prototype.isFollowingArtists=function(f,h){var p={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return u(p,h)},d.prototype.areFollowingPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:h.join(",")}};return u(m,p)},d.prototype.getFollowedArtists=function(f,h){var p={url:n+"/me/following",type:"GET",params:{type:"artist"}};return u(p,f,h)},d.prototype.getUser=function(f,h,p){var m={url:n+"/users/"+encodeURIComponent(f)};return u(m,h,p)},d.prototype.getUserPlaylists=function(f,h,p){var m;return typeof f=="string"?m={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(m={url:n+"/me/playlists"},p=h,h=f),u(m,h,p)},d.prototype.getPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f};return u(m,h,p)},d.prototype.getPlaylistTracks=function(f,h,p){var m={url:n+"/playlists/"+f+"/tracks"};return u(m,h,p)},d.prototype.getPlaylistCoverImage=function(f,h){var p={url:n+"/playlists/"+f+"/images"};return u(p,h)},d.prototype.createPlaylist=function(f,h,p){var m={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:h};return u(m,h,p)},d.prototype.changePlaylistDetails=function(f,h,p){var m={url:n+"/playlists/"+f,type:"PUT",postData:h};return u(m,h,p)},d.prototype.addTracksToPlaylist=function(f,h,p,m){var b={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:h}};return u(b,p,m,!0)},d.prototype.replaceTracksInPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:h}};return u(m,{},p)},d.prototype.reorderTracksInPlaylist=function(f,h,p,m,b){var y={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:h,insert_before:p}};return u(y,m,b)},d.prototype.removeTracksFromPlaylist=function(f,h,p){var m=h.map(function(y){return typeof y=="string"?{uri:y}:y}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:m}};return u(b,{},p)},d.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,h,p,m){var b=h.map(function(_){return typeof _=="string"?{uri:_}:_}),y={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:p}};return u(y,{},m)},d.prototype.removeTracksFromPlaylistInPositions=function(f,h,p,m){var b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:h,snapshot_id:p}};return u(b,{},m)},d.prototype.uploadCustomPlaylistCoverImage=function(f,h,p){var m={url:n+"/playlists/"+f+"/images",type:"PUT",postData:h.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return u(m,{},p)},d.prototype.getAlbum=function(f,h,p){var m={url:n+"/albums/"+f};return u(m,h,p)},d.prototype.getAlbumTracks=function(f,h,p){var m={url:n+"/albums/"+f+"/tracks"};return u(m,h,p)},d.prototype.getAlbums=function(f,h,p){var m={url:n+"/albums/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getTrack=function(f,h,p){var m={};return m.url=n+"/tracks/"+f,u(m,h,p)},d.prototype.getTracks=function(f,h,p){var m={url:n+"/tracks/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getArtist=function(f,h,p){var m={url:n+"/artists/"+f};return u(m,h,p)},d.prototype.getArtists=function(f,h,p){var m={url:n+"/artists/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getArtistAlbums=function(f,h,p){var m={url:n+"/artists/"+f+"/albums"};return u(m,h,p)},d.prototype.getArtistTopTracks=function(f,h,p,m){var b={url:n+"/artists/"+f+"/top-tracks",params:{country:h}};return u(b,p,m)},d.prototype.getArtistRelatedArtists=function(f,h,p){var m={url:n+"/artists/"+f+"/related-artists"};return u(m,h,p)},d.prototype.getFeaturedPlaylists=function(f,h){var p={url:n+"/browse/featured-playlists"};return u(p,f,h)},d.prototype.getNewReleases=function(f,h){var p={url:n+"/browse/new-releases"};return u(p,f,h)},d.prototype.getCategories=function(f,h){var p={url:n+"/browse/categories"};return u(p,f,h)},d.prototype.getCategory=function(f,h,p){var m={url:n+"/browse/categories/"+f};return u(m,h,p)},d.prototype.getCategoryPlaylists=function(f,h,p){var m={url:n+"/browse/categories/"+f+"/playlists"};return u(m,h,p)},d.prototype.search=function(f,h,p,m){var b={url:n+"/search/",params:{q:f,type:h.join(",")}};return u(b,p,m)},d.prototype.searchAlbums=function(f,h,p){return this.search(f,["album"],h,p)},d.prototype.searchArtists=function(f,h,p){return this.search(f,["artist"],h,p)},d.prototype.searchTracks=function(f,h,p){return this.search(f,["track"],h,p)},d.prototype.searchPlaylists=function(f,h,p){return this.search(f,["playlist"],h,p)},d.prototype.searchShows=function(f,h,p){return this.search(f,["show"],h,p)},d.prototype.searchEpisodes=function(f,h,p){return this.search(f,["episode"],h,p)},d.prototype.getAudioFeaturesForTrack=function(f,h){var p={};return p.url=n+"/audio-features/"+f,u(p,{},h)},d.prototype.getAudioFeaturesForTracks=function(f,h){var p={url:n+"/audio-features",params:{ids:f}};return u(p,{},h)},d.prototype.getAudioAnalysisForTrack=function(f,h){var p={};return p.url=n+"/audio-analysis/"+f,u(p,{},h)},d.prototype.getRecommendations=function(f,h){var p={url:n+"/recommendations"};return u(p,f,h)},d.prototype.getAvailableGenreSeeds=function(f){var h={url:n+"/recommendations/available-genre-seeds"};return u(h,{},f)},d.prototype.getMyDevices=function(f){var h={url:n+"/me/player/devices"};return u(h,{},f)},d.prototype.getMyCurrentPlaybackState=function(f,h){var p={url:n+"/me/player"};return u(p,f,h)},d.prototype.getMyCurrentPlayingTrack=function(f,h){var p={url:n+"/me/player/currently-playing"};return u(p,f,h)},d.prototype.transferMyPlayback=function(f,h,p){var m=h||{};m.device_ids=f;var b={type:"PUT",url:n+"/me/player",postData:m};return u(b,h,p)},d.prototype.play=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={};["context_uri","uris","offset","position_ms"].forEach(function(_){_ in f&&(m[_]=f[_])});var b={type:"PUT",url:n+"/me/player/play",params:p,postData:m},y=typeof f=="function"?f:{};return u(b,y,h)},d.prototype.queue=function(f,h,p){h=h||{};var m="device_id"in h?{uri:f,device_id:h.device_id}:{uri:f},b={type:"POST",url:n+"/me/player/queue",params:m};return u(b,h,p)},d.prototype.pause=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={type:"PUT",url:n+"/me/player/pause",params:p};return u(m,f,h)},d.prototype.skipToNext=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={type:"POST",url:n+"/me/player/next",params:p};return u(m,f,h)},d.prototype.skipToPrevious=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={type:"POST",url:n+"/me/player/previous",params:p};return u(m,f,h)},d.prototype.seek=function(f,h,p){h=h||{};var m={position_ms:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:m};return u(b,h,p)},d.prototype.setRepeat=function(f,h,p){h=h||{};var m={state:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:m};return u(b,h,p)},d.prototype.setVolume=function(f,h,p){h=h||{};var m={volume_percent:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:m};return u(b,h,p)},d.prototype.setShuffle=function(f,h,p){h=h||{};var m={state:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:m};return u(b,h,p)},d.prototype.getShow=function(f,h,p){var m={};return m.url=n+"/shows/"+f,u(m,h,p)},d.prototype.getShows=function(f,h,p){var m={url:n+"/shows/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getMySavedShows=function(f,h){var p={url:n+"/me/shows"};return u(p,f,h)},d.prototype.addToMySavedShows=function(f,h,p){var m={url:n+"/me/shows",type:"PUT",postData:f};return u(m,h,p)},d.prototype.removeFromMySavedShows=function(f,h,p){var m={url:n+"/me/shows",type:"DELETE",postData:f};return u(m,h,p)},d.prototype.containsMySavedShows=function(f,h,p){var m={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getShowEpisodes=function(f,h,p){var m={url:n+"/shows/"+f+"/episodes"};return u(m,h,p)},d.prototype.getEpisode=function(f,h,p){var m={};return m.url=n+"/episodes/"+f,u(m,h,p)},d.prototype.getEpisodes=function(f,h,p){var m={url:n+"/episodes/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getAccessToken=function(){return s},d.prototype.setAccessToken=function(f){s=f},d.prototype.setPromiseImplementation=function(f){var h=!1;try{var p=new f(function(m){m()});typeof p.then=="function"&&typeof p.catch=="function"&&(h=!0)}catch(m){console.error(m)}if(h)i=f;else throw new Error("Unsupported implementation of Promises/A+")},d}();t.exports=e}(of)),of.exports}var n8=e8();const Xs=ju(n8),s8={name:"PageAlbumSpotify",components:{ContentWithHero:hd,ControlImage:Hr,ListTracksSpotify:Jc,ModalDialogAlbumSpotify:bS,PaneHero:md},beforeRouteEnter(t,e,n){const s=new Xs;Os.spotify().then(i=>{s.setAccessToken(i.webapi_token),s.getAlbum(t.params.id,{market:Je().spotify.webapi_country}).then(r=>{n(o=>{o.album=r})})})},setup(){return{servicesStore:Je()}},data(){return{album:{artists:[{}],tracks:{}},showDetailsModal:!1}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.tracks.total}),handler:this.openArtist,subtitle:this.album.artists[0].name,title:this.album.name,actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}]}},tracks(){const{album:t}=this;return t.tracks.total?t.tracks.items.map(e=>({...e,album:t})):[]}},methods:{openArtist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ce.playUri(this.album.uri,!0)}}};function i8(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks-spotify"),c=w("content-with-hero"),u=w("modal-dialog-album-spotify");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>{var d,f;return[E(a,{url:((f=(d=i.album.images)==null?void 0:d[0])==null?void 0:f.url)??"",caption:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]}),content:M(()=>[E(l,{items:r.tracks,"context-uri":i.album.uri},null,8,["items","context-uri"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const r8=st(s8,[["render",i8]]),o8={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{active:!1}},computed:{option:{get(){return this.options.find(t=>t.id===this.value)}}},methods:{deactivate(){this.active=!1},select(t){this.active=!1,this.$emit("update:value",t.id)}}},a8={class:"dropdown-trigger"},l8=["textContent"],c8={id:"dropdown",class:"dropdown-menu",role:"menu"},u8={class:"dropdown-content"},d8=["onClick","textContent"];function f8(t,e,n,s,i,r){const o=w("mdicon"),a=Zh("click-away");return Qn((x(),$("div",{class:Kt(["dropdown",{"is-active":i.active}])},[A("div",a8,[A("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:e[0]||(e[0]=l=>i.active=!i.active)},[A("span",{textContent:J(r.option.name)},null,8,l8),E(o,{class:"icon",name:"chevron-down",size:"16"})])]),A("div",c8,[A("div",u8,[(x(!0),$(it,null,ae(n.options,l=>(x(),$("a",{key:l.id,class:Kt(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>r.select(l),textContent:J(l.name)},null,10,d8))),128))])])],2)),[[a,r.deactivate]])}const Ur=st(o8,[["render",f8]]),h8={name:"ListAlbums",components:{ListItem:Ls,ModalDialogAlbum:pd},props:{items:{required:!0,type:Object},mediaKind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:Si()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{url:t.item.artwork_url,caption:t.item.name}:null},open(t){this.selectedItem=t;const e=this.mediaKind||this.selectedItem.media_kind;e==="podcast"?this.$router.push({name:"podcast",params:{id:t.id}}):e==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:t.id}}):this.$router.push({name:"music-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},playCountChanged(){this.$emit("play-count-changed")},podcastDeleted(){this.$emit("podcast-deleted")}}};function p8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-album");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,l=>(x(),yt(o,{key:l.itemId,"is-item":l.isItem,image:r.image(l),index:l.index,lines:[l.item.name,l.item.artist,t.$formatters.toDate(l.item.date_released)],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1),onPlayCountChanged:r.playCountChanged,onPodcastDeleted:r.podcastDeleted},null,8,["item","media-kind","show","onPlayCountChanged","onPodcastDeleted"])],64)}const Xn=st(h8,[["render",p8]]),m8={name:"ListIndexButtons",props:{indices:{required:!0,type:Array}}},g8={class:"buttons is-centered mb-4"};function y8(t,e,n,s,i,r){const o=w("router-link");return x(),$("section",null,[A("nav",g8,[(x(!0),$(it,null,ae(n.indices,a=>(x(),yt(o,{key:a,class:"button is-small p-2 is-index",to:{hash:`#index_${a}`,query:t.$route.query}},{default:M(()=>[qs(J(a),1)]),_:2},1032,["to"]))),128))])])}const gs=st(m8,[["render",y8],["__scopeId","data-v-dc002763"]]),b8={name:"ListOptions"},v8={class:"columns"},_8={key:0,class:"column"},S8=["textContent"],E8={key:1,class:"column"},w8=["textContent"];function k8(t,e,n,s,i,r){return x(),$("div",v8,[t.$slots.filter?(x(),$("div",_8,[A("div",{class:"is-size-7 is-uppercase",textContent:J(t.$t("options.filter.title"))},null,8,S8),ne(t.$slots,"filter")])):vt("",!0),t.$slots.sort?(x(),$("div",E8,[A("div",{class:"is-size-7 is-uppercase",textContent:J(t.$t("options.sort.title"))},null,8,w8),ne(t.$slots,"sort")])):vt("",!0)])}const Ko=st(b8,[["render",k8]]),T8={name:"ControlTabList",props:{links:{required:!0,type:Array}}},C8={class:"section py-0 tabs-section"},A8={class:"container"},O8={class:"columns is-centered my-0"},x8={class:"column is-four-fifths py-0"},I8={class:"tabs is-centered is-small"},N8=["onClick","onKeypress"],P8=["textContent"];function D8(t,e,n,s,i,r){const o=w("mdicon"),a=w("router-link");return x(),$("section",C8,[A("div",A8,[A("div",O8,[A("div",x8,[A("div",I8,[A("ul",null,[(x(!0),$(it,null,ae(n.links,l=>(x(),yt(a,{key:l.to.name,to:{name:l.to.name},custom:""},{default:M(({navigate:c,isActive:u})=>[A("li",{class:Kt({"is-active":u})},[A("a",{onClick:c,onKeypress:R1(c,["enter"])},[l.icon?(x(),yt(o,{key:0,class:"icon is-small mx-1",name:l.icon},null,8,["name"])):vt("",!0),A("span",{class:Kt({"is-hidden-mobile":l.icon}),textContent:J(t.$t(l.key))},null,10,P8)],40,N8)],2)]),_:2},1032,["to"]))),128))])])])])])])}const dm=st(T8,[["render",D8],["__scopeId","data-v-197c6bae"]]),M8={name:"TabsMusic",components:{ControlTabList:dm},setup(){return{servicesStore:Je()}},computed:{links(){const t=[{icon:"history",key:"page.music.tabs.history",to:{name:"music-history"}},{icon:"account-music",key:"page.music.tabs.artists",to:{name:"music-artists"}},{icon:"album",key:"page.music.tabs.albums",to:{name:"music-albums"}},{icon:"speaker",key:"page.music.tabs.genres",to:{name:"music-genres"}},{icon:"book-open-page-variant",key:"page.music.tabs.composers",to:{name:"music-composers"}}];return this.servicesStore.isSpotifyActive&&t.push({icon:"spotify",key:"page.music.tabs.spotify",to:{name:"music-spotify"}}),t}}};function R8(t,e,n,s,i,r){const o=w("control-tab-list");return x(),yt(o,{links:r.links},null,8,["links"])}const Zs=st(M8,[["render",R8]]),L8={name:"PageAlbums",components:{ContentWithHeading:se,ControlDropdown:Ur,ControlSwitch:Fr,ListIndexButtons:gs,ListAlbums:Xn,ListOptions:Ko,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Ct.albums("music").then(s=>{n(i=>{i.albumList=new kt(s)})})},setup(){return{servicesStore:Je(),uiStore:ts()}},data(){return{albumList:new kt}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.albumsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("options.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("options.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("options.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"}],title:this.$t("page.albums.title")}}}},$8=["textContent"],F8=["textContent"],V8=["textContent"],H8=["textContent"];function U8(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-albums"),h=w("content-with-heading");return x(),$(it,null,[E(o),E(h,null,{options:M(()=>[E(a,{indices:r.albums.indices},null,8,["indices"]),E(u,null,{filter:M(()=>[E(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-singles"))},null,8,$8)]),help:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-singles-help"))},null,8,F8)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(x(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify"))},null,8,V8)]),help:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify-help"))},null,8,H8)]),_:1},8,["modelValue"])):vt("",!0)]),sort:M(()=>[E(c,{value:s.uiStore.albumsSort,"onUpdate:value":e[2]||(e[2]=p=>s.uiStore.albumsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(d,{content:r.heading},null,8,["content"])]),content:M(()=>[E(f,{items:r.albums},null,8,["items"])]),_:1})],64)}const j8=st(L8,[["render",U8]]),B8={name:"ModalDialogArtist",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.type",value:this.$t(`data.kind.${this.item.data_kind}`)},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}}};function W8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const yd=st(B8,[["render",W8]]),G8={name:"PageArtist",components:{ContentWithHeading:se,ControlButton:on,ControlDropdown:Ur,ControlSwitch:Fr,ListAlbums:Xn,ListOptions:Ko,ModalDialogArtist:yd,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.artist(t.params.id),Ct.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albumList=new kt(i)})})},setup(){return{servicesStore:Je(),uiStore:ts()}},data(){return{albumList:new kt,artist:{},showDetailsModal:!1}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistAlbumsSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("options.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"},{count:this.trackCount,handler:this.openTracks,key:"data.tracks"}],title:this.artist.name}},trackCount(){return[...this.albums].reduce((t,e)=>t+((e==null?void 0:e.item.track_count)||0),0)}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){ce.playUri(this.albums.items.map(t=>t.uri).join(),!0)}}},K8=["textContent"],z8=["textContent"];function q8(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-albums"),f=w("content-with-heading"),h=w("modal-dialog-artist");return x(),$(it,null,[E(f,null,{options:M(()=>[E(l,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(x(),yt(o,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify"))},null,8,K8)]),help:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify-help"))},null,8,z8)]),_:1},8,["modelValue"])):vt("",!0)]),sort:M(()=>[E(a,{value:s.uiStore.artistAlbumsSort,"onUpdate:value":e[1]||(e[1]=p=>s.uiStore.artistAlbumsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.albums},null,8,["items"])]),_:1}),E(h,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const X8=st(G8,[["render",q8]]),Y8={name:"ListAlbumsSpotify",components:{ListItem:Ls,LoaderListItem:gd,ModalDialogAlbumSpotify:bS},props:{items:{required:!0,type:Object},load:{default:null,type:Function},loaded:{default:!0,type:Boolean}},setup(){return{settingsStore:Si()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){var e,n;return this.settingsStore.showCoverArtworkInAlbumLists?{url:((n=(e=t.images)==null?void 0:e[0])==null?void 0:n.url)??"",caption:t.name}:null},open(t){this.$router.push({name:"music-spotify-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function Z8(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-album-spotify");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,c=>{var u;return x(),yt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,(u=c.artists[0])==null?void 0:u.name,t.$formatters.toDate(c.release_date)],onOpen:d=>r.open(c),onOpenDetails:d=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"])}),128)),E(a,{load:n.load,loaded:n.loaded},null,8,["load","loaded"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Qa=st(Y8,[["render",Z8]]),J8={name:"ModalDialogArtistSpotify",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t,e;return{name:this.item.name,properties:[{key:"property.popularity",value:[this.item.popularity,(t=this.item.followers)==null?void 0:t.total].join(" / ")},{key:"property.genres",value:(e=this.item.genres)==null?void 0:e.join(", ")}],uri:this.item.uri}}}};function Q8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const vS=st(J8,[["render",Q8]]),af=50,t6={name:"PageArtistSpotify",components:{ContentWithHeading:se,ControlButton:on,ListAlbumsSpotify:Qa,ModalDialogArtistSpotify:vS,PaneTitle:ie},beforeRouteEnter(t,e,n){Os.spotify().then(s=>{const i=new Xs;i.setAccessToken(s.webapi_token),Promise.all([i.getArtist(t.params.id),i.getArtistAlbums(t.params.id,{include_groups:"album,single",limit:af,market:Je().spotify.webapi_country,offset:0})]).then(([r,o])=>{n(a=>{a.artist=r,a.albums=o.items,a.total=o.total,a.offset=o.limit})})})},setup(){return{servicesStore:Je()}},data(){return{albums:[],artist:{},offset:0,showDetailsModal:!1,total:0}},computed:{heading(){return{subtitle:[{count:this.total,key:"data.albums"}],title:this.artist.name}},loaded(){return!(this.offset<this.total)}},methods:{appendAlbums(t){this.albums=this.albums.concat(t.items),this.total=t.total,this.offset+=t.limit},load({loaded:t}){api.spotify().then(e=>{const n=new Xs;n.setAccessToken(e.webapi_token),n.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:af,offset:this.offset}).then(s=>{this.appendAlbums(s),t(s.items.length,af)})})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ce.playUri(this.artist.uri,!0)}}};function e6(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums-spotify"),c=w("content-with-heading"),u=w("modal-dialog-artist-spotify");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums,load:r.load,loaded:r.loaded},null,8,["items","load","loaded"])]),_:1}),E(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const n6=st(t6,[["render",e6]]),s6={name:"PageArtistTracks",components:{ContentWithHeading:se,ControlButton:on,ControlDropdown:Ur,ControlSwitch:Fr,ListIndexButtons:gs,ListOptions:Ko,ListTracks:Bn,ModalDialogArtist:yd,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.artist(t.params.id),Ct.artistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.trackList=new kt(i)})})},setup(){return{servicesStore:Je(),uiStore:ts()}},data(){return{artist:{},showDetailsModal:!1,trackList:new kt}},computed:{albumCount(){return new Set([...this.tracks].filter(t=>t.isItem).map(t=>t.item.album_id)).size},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return{subtitle:[{count:this.albumCount,handler:this.openArtist,key:"data.albums"},{count:this.tracks.count,key:"data.tracks"}],title:this.artist.name}},trackUris(){return this.trackList.items.map(t=>t.uri).join()},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistTracksSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.trackList.group(t)}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},openDetails(){this.showDetailsModal=!0},play(){ce.playUri(this.trackList.items.map(t=>t.uri).join(),!0)}}},i6=["textContent"],r6=["textContent"];function o6(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-switch"),l=w("control-dropdown"),c=w("list-options"),u=w("pane-title"),d=w("control-button"),f=w("list-tracks"),h=w("content-with-heading"),p=w("modal-dialog-artist");return x(),$(it,null,[E(h,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(c,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(x(),yt(a,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=m=>s.uiStore.hideSpotify=m)},{label:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify"))},null,8,i6)]),help:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify-help"))},null,8,r6)]),_:1},8,["modelValue"])):vt("",!0)]),sort:M(()=>[E(l,{value:s.uiStore.artistTracksSort,"onUpdate:value":e[1]||(e[1]=m=>s.uiStore.artistTracksSort=m),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(u,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(d,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(d,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(f,{items:r.tracks,uris:r.trackUris},null,8,["items","uris"])]),_:1}),E(p,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=m=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const a6=st(s6,[["render",o6]]),l6={name:"ListArtists",components:{ListItem:Ls,ModalDialogArtist:yd},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.selectedItem=t;const e=t.media_kind==="audiobook"?"audiobooks-artist":"music-artist";this.$router.push({name:e,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function c6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-artist");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,l=>(x(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Qc=st(l6,[["render",c6]]),u6={name:"PageArtists",components:{ContentWithHeading:se,ControlDropdown:Ur,ControlSwitch:Fr,ListIndexButtons:gs,ListArtists:Qc,ListOptions:Ko,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Ct.artists("music").then(s=>{n(i=>{i.artistList=new kt(s)})})},setup(){return{servicesStore:Je(),uiStore:ts()}},data(){return{artistList:new kt}},computed:{artists(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>e.album_count*2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.artistList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]},heading(){return{subtitle:[{count:this.artists.count,key:"data.artists"}],title:this.$t("page.artists.title")}}}},d6=["textContent"],f6=["textContent"],h6=["textContent"],p6=["textContent"];function m6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-artists"),h=w("content-with-heading");return x(),$(it,null,[E(o),E(h,null,{options:M(()=>[E(a,{indices:r.artists.indices},null,8,["indices"]),E(u,null,{filter:M(()=>[E(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-singles"))},null,8,d6)]),help:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-singles-help"))},null,8,f6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(x(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify"))},null,8,h6)]),help:M(()=>[A("span",{textContent:J(t.$t("options.filter.hide-spotify-help"))},null,8,p6)]),_:1},8,["modelValue"])):vt("",!0)]),sort:M(()=>[E(c,{value:s.uiStore.artistsSort,"onUpdate:value":e[2]||(e[2]=p=>s.uiStore.artistsSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(d,{content:r.heading},null,8,["content"])]),content:M(()=>[E(f,{items:r.artists},null,8,["items"])]),_:1})],64)}const g6=st(u6,[["render",m6]]),y6={name:"PageAudiobooksAlbum",components:{ContentWithHero:hd,ControlImage:Hr,ListTracks:Bn,ModalDialogAlbum:pd,PaneHero:md},beforeRouteEnter(t,e,n){Promise.all([Ct.album(t.params.id),Ct.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new kt(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new kt}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ce.playUri(this.album.uri,!1)}}};function b6(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,"show-progress":!0,uris:i.album.uri},null,8,["items","uris"])]),_:1}),E(u,{item:i.album,show:i.showDetailsModal,"media-kind":"audiobook",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const v6=st(y6,[["render",b6]]),_6={name:"TabsAudiobooks",components:{ControlTabList:dm},computed:{links(){return[{icon:"account-music",key:"page.audiobooks.tabs.authors",to:{name:"audiobooks-artists"}},{icon:"album",key:"page.audiobooks.tabs.audiobooks",to:{name:"audiobooks-albums"}},{icon:"speaker",key:"page.audiobooks.tabs.genres",to:{name:"audiobooks-genres"}}]}}};function S6(t,e,n,s,i,r){const o=w("control-tab-list");return x(),yt(o,{links:r.links},null,8,["links"])}const fm=st(_6,[["render",S6]]),E6={name:"PageAudiobooksAlbums",components:{ContentWithHeading:se,ListIndexButtons:gs,ListAlbums:Xn,PaneTitle:ie,TabsAudiobooks:fm},beforeRouteEnter(t,e,n){Ct.albums("audiobook").then(s=>{n(i=>{i.albums=new kt(s,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new kt}},computed:{heading(){return{subtitle:[{count:this.albums.count,key:"data.audiobooks"}],title:this.$t("page.audiobooks.albums.title")}}}};function w6(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-albums"),u=w("content-with-heading");return x(),$(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.albums.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.albums},null,8,["items"])]),_:1})],64)}const k6=st(E6,[["render",w6]]),T6={name:"PageAudiobooksArtist",components:{ContentWithHeading:se,ControlButton:on,ListAlbums:Xn,ModalDialogArtist:yd,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.artist(t.params.id),Ct.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albums=new kt(i)})})},data(){return{albums:new kt,artist:{},showDetailsModal:!1}},computed:{heading(){return this.artist.name?{subtitle:[{count:this.artist.album_count,key:"data.audiobooks"}],title:this.artist.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},play(){ce.playUri(this.albums.items.map(t=>t.uri).join(),!1)}}};function C6(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-artist");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1}),E(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const A6=st(T6,[["render",C6]]),O6={name:"PageAudiobooksArtists",components:{ContentWithHeading:se,ListIndexButtons:gs,ListArtists:Qc,PaneTitle:ie,TabsAudiobooks:fm},beforeRouteEnter(t,e,n){Ct.artists("audiobook").then(s=>{n(i=>{i.artists=new kt(s,{index:{field:"name_sort",type:String}})})})},data(){return{artists:new kt}},computed:{heading(){return{subtitle:[{count:this.artists.count,key:"data.authors"}],title:this.$t("page.audiobooks.artists.title")}}}};function x6(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-artists"),u=w("content-with-heading");return x(),$(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.artists.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.artists},null,8,["items"])]),_:1})],64)}const I6=st(O6,[["render",x6]]),N6={name:"ModalDialogGenre",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},mediaKind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`genre is "${this.item.name}" and media_kind is ${this.mediaKind}`,name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}}};function P6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const hm=st(N6,[["render",P6]]),D6={name:"ListGenres",components:{ListItem:Ls,ModalDialogGenre:hm},props:{items:{required:!0,type:Object},mediaKind:{required:!0,type:String}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"genre-albums",params:{name:t.name},query:{mediaKind:this.mediaKind}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function M6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-genre");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,l=>(x(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const _S=st(D6,[["render",M6]]),R6={name:"PageAudiobooksGenres",components:{ContentWithHeading:se,ListIndexButtons:gs,ListGenres:_S,PaneTitle:ie,TabsAudiobooks:fm},beforeRouteEnter(t,e,n){Ct.genres("audiobook").then(s=>{n(i=>{i.genres=new kt(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new kt}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function L6(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return x(),$(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.genres.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.genres,"media-kind":"audiobook"},null,8,["items"])]),_:1})],64)}const $6=st(R6,[["render",L6]]),F6={name:"ModalDialogComposer",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{expression:`composer is "${this.item.name}" and media_kind is music`,name:this.item.name,properties:[{handler:this.openAlbums,key:"property.albums",value:this.item.album_count},{handler:this.openTracks,key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}},methods:{openAlbums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},openTracks(){this.$emit("close"),this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})}}};function V6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const pm=st(F6,[["render",V6]]),H6={name:"PageComposerAlbums",components:{ContentWithHeading:se,ControlButton:on,ListAlbums:Xn,ModalDialogComposer:pm,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.composer(t.params.name),Ct.composerAlbums(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.albums=new kt(i)})})},data(){return{albums:new kt,composer:{},showDetailsModal:!1}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,key:"data.albums"},{count:this.composer.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.composer.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){ce.playExpression(this.expression,!0)}}};function U6(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-composer");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1}),E(u,{item:i.composer,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const j6=st(H6,[["render",U6]]),B6={name:"PageComposerTracks",components:{ContentWithHeading:se,ControlButton:on,ControlDropdown:Ur,ListIndexButtons:gs,ListOptions:Ko,ListTracks:Bn,ModalDialogComposer:pm,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.composer(t.params.name),Ct.composerTracks(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.trackList=new kt(i)})})},setup(){return{uiStore:ts()}},data(){return{composer:{},showDetailsModal:!1,trackList:new kt}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,handler:this.openAlbums,key:"data.albums"},{count:this.composer.track_count,key:"data.tracks"}],title:this.composer.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.composerTracksSort);return this.trackList.group(t)}},methods:{openAlbums(){this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},openDetails(){this.showDetailsModal=!0},play(){ce.playExpression(this.expression,!0)}}};function W6(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-composer");return x(),$(it,null,[E(f,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(l,null,{sort:M(()=>[E(a,{value:s.uiStore.composerTracksSort,"onUpdate:value":e[0]||(e[0]=p=>s.uiStore.composerTracksSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),E(h,{item:i.composer,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const G6=st(B6,[["render",W6]]),K6={name:"ListComposers",components:{ListItem:Ls,ModalDialogComposer:pm},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.selectedItem=t,this.$router.push({name:"music-composer-albums",params:{name:t.name}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function z6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-composer");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,l=>(x(),yt(o,{key:l.itemId,"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Ch=st(K6,[["render",z6]]),q6={name:"PageComposers",components:{ContentWithHeading:se,ListIndexButtons:gs,ListComposers:Ch,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Ct.composers("music").then(s=>{n(i=>{i.composers=new kt(s,{index:{field:"name_sort",type:String}})})})},data(){return{composers:new kt}},computed:{heading(){return{subtitle:[{count:this.composers.total,key:"data.composers"}],title:this.$t("page.composers.title")}}}};function X6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-composers"),u=w("content-with-heading");return x(),$(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.composers.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.composers},null,8,["items"])]),_:1})],64)}const Y6=st(q6,[["render",X6]]),Z6={name:"ModalDialogDirectory",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`path starts with "${this.item}" order by path asc`,name:this.item}}}};function J6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const Q6=st(Z6,[["render",J6]]),tF={name:"ListDirectories",components:{ListItem:Ls,ModalDialogDirectory:Q6},props:{items:{required:!0,type:Array}},data(){return{selectedItem:"",showDetailsModal:!1}},computed:{directories(){var n;const t=[];let e="";return(n=this.$route.query)==null||n.directory.split("/").slice(1,-1).forEach((s,i)=>{e=`${e}/${s}`,t.push({index:i,name:s,path:e})}),t}},methods:{open(t){const e={name:"files"};t.index!==0&&(e.query={directory:t.path}),this.$router.push(e)},openDetails(t){this.selectedItem=t.path,this.showDetailsModal=!0},openParent(){this.open(this.directories.slice(-1).pop())}}},eF={key:0,class:"media is-align-items-center mb-0"},nF={class:"media-content"},sF={class:"breadcrumb"},iF=["onClick","textContent"],rF={class:"media-right"};function oF(t,e,n,s,i,r){const o=w("mdicon"),a=w("list-item"),l=w("modal-dialog-directory");return x(),$(it,null,[t.$route.query.directory?(x(),$("div",eF,[E(o,{class:"icon media-left is-clickable",name:"chevron-left",onClick:r.openParent},null,8,["onClick"]),A("div",nF,[A("nav",sF,[A("ul",null,[(x(!0),$(it,null,ae(r.directories,c=>(x(),$("li",{key:c.index},[A("a",{onClick:u=>r.open(c),textContent:J(c.name)},null,8,iF)]))),128))])])]),A("div",rF,[ne(t.$slots,"actions")])])):vt("",!0),(x(!0),$(it,null,ae(n.items,c=>(x(),yt(a,{key:c.path,icon:"folder",lines:[c.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["lines","onOpen","onOpenDetails"]))),128)),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const aF=st(tF,[["render",oF]]),lF={name:"ModalDialogPlaylist",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.tracks",value:this.item.item_count},{key:"property.type",value:this.$t(`playlist.type.${this.item.type}`)},{key:"property.path",value:this.item.path}],uri:this.item.uri,uris:this.uris}}}};function cF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const SS=st(lF,[["render",cF]]),uF={name:"ListPlaylists",components:{ListItem:Ls,ModalDialogPlaylist:SS},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{icon(t){return t.type==="folder"?"folder":t.type==="rss"?"rss":"music-box-multiple"},open(t){t.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:t.id}}):this.$router.push({name:"playlist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function dF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-playlist");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,l=>(x(),yt(o,{key:l.itemId,icon:r.icon(l.item),"is-item":l.isItem,index:l.index,lines:[l.item.name],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["icon","is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const tu=st(uF,[["render",dF]]),fF={name:"PageFiles",components:{ContentWithHeading:se,ControlButton:on,ListDirectories:aF,ListPlaylists:tu,ListTracks:Bn,ModalDialogPlayable:ms,PaneTitle:ie},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t)})},beforeRouteUpdate(t,e,n){this.fetchData(t).then(()=>n())},setup(){return{configurationStore:Vo()}},data(){return{directories:[],playlists:new kt,showDetailsModal:!1,tracks:new kt}},computed:{current(){var t;return((t=this.$route.query)==null?void 0:t.directory)||"/"},name(){var t;return this.current!=="/"?(t=this.current)==null?void 0:t.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},playable(){return{expression:`path starts with "${this.current}" order by path asc`,name:this.current,properties:[{key:"property.folders",value:this.directories.length},{key:"property.playlists",value:this.playlists.total},{key:"property.tracks",value:this.tracks.total}]}}},methods:{async fetchData(t){if(t.query.directory){const e=await Ct.files(t.query.directory);e&&(this.directories=e.directories.map(n=>this.transform(n.path)),this.playlists=new kt(e.playlists),this.tracks=new kt(e.tracks))}else{const e=await z0.list();this.directories=e.directories.map(n=>this.transform(n)),this.playlists=new kt,this.tracks=new kt}},openDetails(){this.showDetailsModal=!0},play(){ce.playExpression(this.expression,!1)},transform(t){return{name:t.slice(t.lastIndexOf("/")+1),path:t}}}};function hF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-directories"),c=w("list-playlists"),u=w("list-tracks"),d=w("content-with-heading"),f=w("modal-dialog-playable");return x(),$(it,null,[E(d,null,{heading:M(()=>[E(o,{content:{title:r.name}},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.directories},null,8,["items"]),E(c,{items:i.playlists},null,8,["items"]),E(u,{items:i.tracks,icon:"file-music-outline"},null,8,["items"])]),_:1}),E(f,{item:r.playable,show:i.showDetailsModal,onClose:e[0]||(e[0]=h=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const pF=st(fF,[["render",hF]]),mF={name:"PageGenreAlbums",components:{ContentWithHeading:se,ControlButton:on,ListIndexButtons:gs,ListAlbums:Xn,ModalDialogGenre:hm,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.genre(t.params.name,t.query.mediaKind),Ct.genreAlbums(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.albums=new kt(i,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new kt,genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1}},computed:{heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,key:"data.albums"},{count:this.genre.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.genre.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.showDetailsModal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ce.playExpression(`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`,!0)}}};function gF(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("pane-title"),l=w("control-button"),c=w("list-albums"),u=w("content-with-heading"),d=w("modal-dialog-genre");return x(),$(it,null,[E(u,null,{options:M(()=>[E(o,{indices:i.albums.indices},null,8,["indices"])]),heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(l,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(l,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(c,{items:i.albums},null,8,["items"])]),_:1}),E(d,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=f=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const yF=st(mF,[["render",gF]]),bF={name:"PageGenreTracks",components:{ContentWithHeading:se,ControlButton:on,ControlDropdown:Ur,ListIndexButtons:gs,ListOptions:Ko,ListTracks:Bn,ModalDialogGenre:hm,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.genre(t.params.name,t.query.mediaKind),Ct.genreTracks(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.trackList=new kt(i)})})},setup(){return{uiStore:ts()}},data(){return{genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1,trackList:new kt}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,handler:this.openGenre,key:"data.albums"},{count:this.genre.track_count,key:"data.tracks"}],title:this.genre.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.genreTracksSort);return this.trackList.group(t)}},methods:{openGenre(){this.showDetailsModal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ce.playExpression(this.expression,!0)},openDetails(){this.showDetailsModal=!0}}};function vF(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-genre");return x(),$(it,null,[E(f,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(l,null,{sort:M(()=>[E(a,{value:s.uiStore.genreTracksSort,"onUpdate:value":e[0]||(e[0]=p=>s.uiStore.genreTracksSort=p),options:r.groupings},null,8,["value","options"])]),_:1})]),heading:M(()=>[E(c,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:M(()=>[E(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),E(h,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const _F=st(bF,[["render",vF]]),SF={name:"PageGenres",components:{ContentWithHeading:se,ListIndexButtons:gs,ListGenres:_S,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Ct.genres("music").then(s=>{n(i=>{i.genres=new kt(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new kt}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function EF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return x(),$(it,null,[E(o),E(u,null,{options:M(()=>[E(a,{indices:i.genres.indices},null,8,["indices"])]),heading:M(()=>[E(l,{content:r.heading},null,8,["content"])]),content:M(()=>[E(c,{items:i.genres,"media-kind":"music"},null,8,["items"])]),_:1})],64)}const wF=st(SF,[["render",EF]]),kF={name:"PageMusic",components:{ContentWithHeading:se,ListAlbums:Xn,ListTracks:Bn,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Promise.all([Ct.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),Ct.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})]).then(([{albums:s},{tracks:i}])=>{n(r=>{r.albums=new kt(s),r.tracks=new kt(i)})})},data(){return{albums:[],tracks:null}}};function TF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("router-link"),u=w("content-with-heading"),d=w("list-tracks");return x(),$(it,null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),footer:M(()=>[E(c,{class:"button is-small is-rounded",to:{name:"music-recently-added"}},{default:M(()=>[qs(J(t.$t("actions.show-more")),1)]),_:1})]),_:1}),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:M(()=>[E(d,{items:i.tracks},null,8,["items"])]),footer:M(()=>[E(c,{class:"button is-small is-rounded",to:{name:"music-recently-played"}},{default:M(()=>[qs(J(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const CF=st(kF,[["render",TF]]),AF={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:se,ListAlbums:Xn,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){const s=Si().recentlyAddedLimit;Ct.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:s,type:"album"}).then(i=>{n(r=>{r.albums=new kt(i.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})})})},setup(){return{settingsStore:Si()}},data(){return{albums:new kt}}};function OF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("content-with-heading");return x(),$(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const xF=st(AF,[["render",OF]]),IF={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:se,ListTracks:Bn,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Ct.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"}).then(s=>{n(i=>{i.tracks=new kt(s.tracks)})})},data(){return{tracks:new kt}}};function NF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-tracks"),c=w("content-with-heading");return x(),$(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.tracks},null,8,["items"])]),_:1})],64)}const PF=st(IF,[["render",NF]]),DF={name:"ModalDialogPlaylistSpotify",components:{ModalDialogPlayable:ms},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t,e;return{name:this.item.name,properties:[{key:"property.owner",value:(t=this.item.owner)==null?void 0:t.display_name},{key:"property.tracks",value:(e=this.item.tracks)==null?void 0:e.total},{key:"property.path",value:this.item.uri}],uri:this.item.uri}}}};function MF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const ES=st(DF,[["render",MF]]),RF={name:"ListPlaylistsSpotify",components:{ListItem:Ls,LoaderListItem:gd,ModalDialogPlaylistSpotify:ES},props:{items:{required:!0,type:Object},load:{default:null,type:Function},loaded:{default:!0,type:Boolean}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"playlist-spotify",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function LF(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-playlist-spotify");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,c=>(x(),yt(o,{key:c.id,"is-item":c.isItem,index:c.index,lines:[c.name,c.owner.display_name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load,loaded:n.loaded},null,8,["load","loaded"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const eu=st(RF,[["render",LF]]),$F={name:"PageMusicSpotify",components:{ContentWithHeading:se,ListAlbumsSpotify:Qa,ListPlaylistsSpotify:eu,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Os.spotify().then(s=>{const i=new Xs;i.setAccessToken(s.webapi_token),Promise.all([i.getNewReleases({country:s.webapi_country,limit:3}),i.getFeaturedPlaylists({country:s.webapi_country,limit:3})]).then(r=>{n(o=>{o.albums=r[0].albums.items,o.playlists=r[1].playlists.items})})})},data(){return{albums:[],playlists:[]}}};function FF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("router-link"),u=w("content-with-heading"),d=w("list-playlists-spotify");return x(),$(it,null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.spotify.music.new-releases")}},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),footer:M(()=>[E(c,{to:{name:"music-spotify-new-releases"},class:"button is-small is-rounded"},{default:M(()=>[qs(J(t.$t("actions.show-more")),1)]),_:1})]),_:1}),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.spotify.music.featured-playlists")}},null,8,["content"])]),content:M(()=>[E(d,{items:i.playlists},null,8,["items"])]),footer:M(()=>[E(c,{to:{name:"music-spotify-featured-playlists"},class:"button is-small is-rounded"},{default:M(()=>[qs(J(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const VF=st($F,[["render",FF]]),HF={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:se,ListPlaylistsSpotify:eu,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Os.spotify().then(s=>{const i=new Xs;i.setAccessToken(s.webapi_token),i.getFeaturedPlaylists({country:s.webapi_country,limit:50}).then(r=>{n(o=>{o.playlists=r.playlists.items})})})},data(){return{playlists:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.featured-playlists")}}}};function UF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-playlists-spotify"),c=w("content-with-heading");return x(),$(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),content:M(()=>[E(l,{items:i.playlists},null,8,["items"])]),_:1})],64)}const jF=st(HF,[["render",UF]]),BF={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:se,ListAlbumsSpotify:Qa,PaneTitle:ie,TabsMusic:Zs},beforeRouteEnter(t,e,n){Os.spotify().then(s=>{const i=new Xs;i.setAccessToken(s.webapi_token),i.getNewReleases({country:s.webapi_country,limit:50}).then(r=>{n(o=>{o.albums=r.albums.items})})})},data(){return{albums:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.new-releases")}}}};function WF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("content-with-heading");return x(),$(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),content:M(()=>[E(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const GF=st(BF,[["render",WF]]),KF={name:"ModalDialogQueueItem",components:{ListProperties:yS,ModalDialog:nr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Je()}},data(){return{spotifyTrack:{}}},computed:{actions(){return[{handler:this.remove,icon:"delete",key:"actions.remove"},{handler:this.play,icon:"play",key:"actions.play"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openAlbumArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.year",value:this.item.year},{handler:this.openGenre,key:"property.genre",value:this.item.genre},{key:"property.position",value:[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.path",value:this.item.path},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.$t("dialog.track.quality-value",{bitrate:this.item.bitrate,channels:this.$t("data.channels",this.item.channels),format:this.item.type,samplerate:this.item.samplerate})}],uri:this.item.uri}}},watch:{item(){var t;if(((t=this.item)==null?void 0:t.data_kind)==="spotify"){const e=new Xs;e.setAccessToken(this.servicesStore.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(n=>{this.spotifyTrack=n})}else this.spotifyTrack={}}},methods:{openAlbum(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotifyTrack.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},openAlbumArtist(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotifyTrack.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})},play(){this.$emit("close"),sn.play({item_id:this.item.id})},remove(){this.$emit("close"),ce.remove(this.item.id)}}};function zF(t,e,n,s,i,r){const o=w("list-properties"),a=w("modal-dialog");return x(),yt(a,{actions:r.actions,show:n.show,title:n.item.title,onClose:e[0]||(e[0]=l=>t.$emit("close"))},{content:M(()=>[E(o,{item:r.playable},null,8,["item"])]),_:1},8,["actions","show","title"])}const wS=st(KF,[["render",zF]]),qF={name:"PaneLyrics",setup(){return{MIDDLE_POSITION:Math.floor(3.5),playerStore:Wn(),SCROLL_THRESHOLD:10,VISIBLE_VERSES:7}},data(){return{lastUpdateTime:0,lyrics:{synchronised:!1,verses:[]},scrollIndex:0,scrollDelta:0,time:0,timerId:null}},computed:{verseIndex(){var i;const t=this.time,{verses:e}=this.lyrics;let n=0,s=e.length-1;for(;n<=s;){const r=Math.floor((n+s)/2),o=e[r].time,a=(i=e[r+1])==null?void 0:i.time;if(o<=t&&(!a||a>t))return r;o<t?n=r+1:s=r-1}return-1},visibleVerses(){const{verses:t,synchronised:e}=this.lyrics,n=e?this.verseIndex:this.scrollIndex;return Array.from({length:this.VISIBLE_VERSES},(s,i)=>t[n-this.MIDDLE_POSITION+i]??null)}},watch:{"playerStore.isPlaying"(t){t?(this.lastUpdateTime=Date.now(),this.startTimer()):this.stopTimer()},"playerStore.item_progress_ms"(t){this.lastUpdateTime=Date.now(),this.playerStore.isPlaying||(this.time=t)},"playerStore.lyricsContent"(){this.lyrics=this.parseLyrics()}},mounted(){this.playerStore.initialise(),this.lastUpdateTime=Date.now(),this.lyrics=this.parseLyrics(),this.updateTime()},beforeUnmount(){this.stopTimer()},methods:{onScroll(t){if(!(this.verseIndex>=0)&&(this.scrollDelta+=t.deltaY,Math.abs(this.scrollDelta)>=this.SCROLL_THRESHOLD)){const e=this.scrollIndex+Math.sign(this.scrollDelta);e>=-1&&e<this.lyrics.verses.length&&(this.scrollIndex=e),this.scrollDelta=0}},isWordHighlighted(t){return this.time>=t.start&&this.time<t.end},parseLyrics(){const t={synchronised:!1,verses:[]},e=/(?:\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\])?\s*(?<text>\S.*\S)?\s*/u;return this.playerStore.lyricsContent.split(`
`).forEach(n=>{const s=e.exec(n);if(s){const{text:i,minutes:r,seconds:o,hundredths:a}=s.groups,l=i;if(l){const c=(Number(r)*60+ +`${o}.${a??0}`)*1e3;t.synchronised=!isNaN(c),t.verses.push({text:l,time:c})}}}),t.verses.forEach((n,s,i)=>{var u;const o=(((u=i[s+1])==null?void 0:u.time)??n.time+3e3)-n.time,a=n.text.match(/\S+\s*/gu)||[],l=a.reduce((d,f)=>d+f.length,0);let c=n.time;n.words=a.map(d=>{const f=c,h=f+o*(d.length/l);return c=h,{text:d,start:f,end:h}})}),t},startTimer(){this.timerId||(this.timerId=setInterval(this.tick,100))},stopTimer(){this.timerId&&(clearInterval(this.timerId),this.timerId=null)},tick(){this.time=this.playerStore.item_progress_ms+Date.now()-this.lastUpdateTime},updateTime(){this.lastUpdateTime=Date.now(),this.playerStore.isPlaying?this.startTimer():this.time=this.playerStore.item_progress_ms}}},XF={key:0},YF={key:0,class:"title is-5 my-5 lh-2"},ZF=["textContent"],JF=["textContent"],QF={key:1,textContent:" "};function tV(t,e,n,s,i,r){return x(),$("div",{class:"lyrics is-overlay",onWheel:e[0]||(e[0]=un((...o)=>r.onScroll&&r.onScroll(...o),["prevent"])),onTouchmove:e[1]||(e[1]=un((...o)=>r.onScroll&&r.onScroll(...o),["prevent"]))},[(x(!0),$(it,null,ae(r.visibleVerses,(o,a)=>(x(),$("div",{key:a},[o?(x(),$("div",XF,[a===s.MIDDLE_POSITION?(x(),$("div",YF,[(x(!0),$(it,null,ae(o.words,(l,c)=>(x(),$("span",{key:c,class:Kt({"is-highlighted":r.isWordHighlighted(l)}),textContent:J(l.text)},null,10,ZF))),128))])):(x(),$("div",{key:1,class:"lh-2",textContent:J(o.text)},null,8,JF))])):(x(),$("div",QF))]))),128))],32)}const eV=st(qF,[["render",tV],["__scopeId","data-v-572228fd"]]),Di=1e3,nV={name:"PageNowPlaying",components:{ControlImage:Hr,ControlSlider:Uu,PaneLyrics:eV,ModalDialogQueueItem:wS},setup(){return{playerStore:Wn(),queueStore:Rs(),settingsStore:Si()}},data(){return{INTERVAL:Di,intervalId:0,isDragged:!1,selectedItem:{},showDetailsModal:!1}},computed:{composer(){if(this.settingsStore.showComposerNowPlaying){const t=this.settingsStore.showComposerForGenre;if(!t||this.track.genre&&t.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)return this.track.composer}return null},isLive(){return this.track.length_ms===0},track(){return this.queueStore.current},trackElapsedTime(){return this.$formatters.toTimecode(this.trackProgress*Di)},trackProgress:{get(){return Math.floor(this.playerStore.item_progress_ms/Di)},set(t){this.playerStore.item_progress_ms=t*Di}},trackProgressMax(){return this.isLive?1:Math.floor(this.track.length_ms/Di)},trackTotalTime(){return this.$t("page.now-playing.time",this.track.length_ms,{named:{time:this.$formatters.toTimecode(this.track.length_ms)}})}},watch:{"playerStore.state"(t){this.intervalId>0&&(window.clearTimeout(this.intervalId),this.intervalId=0),t==="play"&&(this.intervalId=window.setInterval(this.tick,Di))}},created(){this.playerStore.state==="play"&&(this.intervalId=window.setInterval(this.tick,Di))},unmounted(){this.intervalId>0&&(window.clearTimeout(this.intervalId),this.intervalId=0)},methods:{endDragging(){this.isDragged=!1},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},seek(){this.isLive||sn.seekToPosition(this.trackProgress*Di)},startDragging(){this.isDragged=!0},tick(){this.isDragged||(this.trackProgress+=1)}}},sV={class:"is-flex is-align-items-center has-text-centered px-5 is-full-height"},iV={key:0,class:"mx-auto",style:{"max-width":"32rem"}},rV={class:"is-relative"},oV={class:"is-flex is-justify-content-space-between"},aV=["textContent"],lV=["textContent"],cV=["textContent"],uV=["textContent"],dV=["textContent"],fV=["textContent"],hV=["textContent"],pV={key:1,class:"mx-auto"},mV=["textContent"],gV=["textContent"];function yV(t,e,n,s,i,r){const o=w("control-image"),a=w("pane-lyrics"),l=w("control-slider"),c=w("modal-dialog-queue-item");return x(),$(it,null,[A("div",sV,[r.track.id?(x(),$("div",iV,[A("div",rV,[E(o,{url:r.track.artwork_url,caption:r.track.album,class:Kt(["is-clickable is-big",{"is-masked":s.playerStore.showLyrics}]),onClick:e[0]||(e[0]=u=>r.openDetails(r.track))},null,8,["url","caption","class"]),s.playerStore.showLyrics?(x(),yt(a,{key:0})):vt("",!0)]),E(l,{value:r.trackProgress,"onUpdate:value":e[1]||(e[1]=u=>r.trackProgress=u),class:"mt-5",disabled:r.isLive,max:r.trackProgressMax,onChange:r.seek,onMousedown:r.startDragging,onMouseup:r.endDragging},null,8,["value","disabled","max","onChange","onMousedown","onMouseup"]),A("div",oV,[A("p",{class:"subtitle is-7",textContent:J(r.trackElapsedTime)},null,8,aV),A("p",{class:"subtitle is-7",textContent:J(r.trackTotalTime)},null,8,lV)]),A("p",{class:"title is-5",textContent:J(r.track.title)},null,8,cV),A("p",{class:"title is-6",textContent:J(r.track.artist)},null,8,uV),r.composer?(x(),$("p",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:J(r.composer)},null,8,dV)):vt("",!0),r.track.album?(x(),$("p",{key:1,class:"subtitle is-6",textContent:J(r.track.album)},null,8,fV)):vt("",!0),s.settingsStore.showFilepathNowPlaying?(x(),$("p",{key:2,class:"subtitle is-6 has-text-grey",textContent:J(r.track.path)},null,8,hV)):vt("",!0)])):(x(),$("div",pV,[A("p",{class:"title is-5",textContent:J(t.$t("page.now-playing.title"))},null,8,mV),A("p",{class:"subtitle",textContent:J(t.$t("page.now-playing.info"))},null,8,gV)]))]),E(c,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[2]||(e[2]=u=>i.showDetailsModal=!1)},null,8,["show","item"])],64)}const bV=st(nV,[["render",yV],["__scopeId","data-v-38d32515"]]),vV={name:"PagePlaylistFolder",components:{ContentWithHeading:se,ListPlaylists:tu,PaneTitle:ie},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t.params.id)})},beforeRouteUpdate(t,e,n){this.fetchData(t.params.id).then(()=>n())},setup(){return{configurationStore:Vo()}},data(){return{playlist:{},playlistList:new kt}},computed:{heading(){return{subtitle:[{count:this.playlists.count,key:"data.playlists"}],title:this.$t("page.playlists.title",this.playlists.count,{name:this.playlist.name})}},playlists(){return this.playlistList.group({filters:[t=>t.folder||this.configurationStore.radio_playlists||t.stream_count===0||t.item_count>t.stream_count]})}},methods:{async fetchData(t){const[e,n]=await Promise.all([Ct.playlist(t),Ct.playlistFolder(t)]);this.playlist=e,this.playlistList=new kt(n)}}};function _V(t,e,n,s,i,r){const o=w("pane-title"),a=w("list-playlists"),l=w("content-with-heading");return x(),yt(l,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),content:M(()=>[E(a,{items:r.playlists},null,8,["items"])]),_:1})}const SV=st(vV,[["render",_V]]),EV={name:"PagePlaylistTracks",components:{ContentWithHeading:se,ControlButton:on,ListTracks:Bn,ModalDialogPlaylist:SS,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.playlist(t.params.id),Ct.playlistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.playlist=s,r.tracks=new kt(i)})})},data(){return{playlist:{},showDetailsModal:!1,tracks:new kt}},computed:{heading(){return{subtitle:[{count:this.tracks.count,key:"data.tracks"}],title:this.playlist.name}},uris(){return this.playlist.random?this.tracks.map(t=>t.uri).join():this.playlist.uri}},methods:{play(){ce.playUri(this.uris,!0)},openDetails(){this.showDetailsModal=!0}}};function wV(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks"),c=w("content-with-heading"),u=w("modal-dialog-playlist");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"},disabled:i.tracks.count===0},null,8,["button","disabled"])]),content:M(()=>[E(l,{items:i.tracks,uris:r.uris},null,8,["items","uris"])]),_:1}),E(u,{item:i.playlist,show:i.showDetailsModal,uris:r.uris,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show","uris"])],64)}const kV=st(EV,[["render",wV]]),lf=50,TV={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:se,ControlButton:on,ListTracksSpotify:Jc,ModalDialogPlaylistSpotify:ES,PaneTitle:ie},beforeRouteEnter(t,e,n){const s=new Xs;s.setAccessToken(Je().spotify.webapi_token),Promise.all([s.getPlaylist(t.params.id),s.getPlaylistTracks(t.params.id,{limit:lf,market:Je().$state.spotify.webapi_country,offset:0})]).then(([i,r])=>{n(o=>{o.playlist=i,o.tracks=[],o.total=0,o.offset=0,o.appendTracks(r)})})},setup(){return{servicesStore:Je()}},data(){return{offset:0,playlist:{tracks:{}},showDetailsModal:!1,total:0,tracks:[]}},computed:{heading(){return this.playlist.name?{subtitle:[{count:this.playlist.tracks.total,key:"data.playlists"}],title:this.playlist.name}:{}},loaded(){return!(this.offset<this.total)}},methods:{appendTracks(t){let e=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));t.items.forEach(n=>{const{track:s}=n;s&&(s.is_playable&&(e+=1,s.position=e),this.tracks.push(s))}),this.total=t.total,this.offset+=t.limit},load({loaded:t}){const e=new Xs;e.setAccessToken(this.servicesStore.spotify.webapi_token),e.getPlaylistTracks(this.playlist.id,{limit:lf,market:this.servicesStore.spotify.webapi_country,offset:this.offset}).then(n=>{this.appendTracks(n),t(n.items.length,lf)})},play(){this.showDetailsModal=!1,ce.playUri(this.playlist.uri,!0)},openDetails(){this.showDetailsModal=!0}}};function CV(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks-spotify"),c=w("content-with-heading"),u=w("modal-dialog-playlist-spotify");return x(),$(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),E(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"},disabled:i.playlist.tracks.total===0},null,8,["button","disabled"])]),content:M(()=>[E(l,{"context-uri":i.playlist.uri,items:i.tracks,load:r.load,loaded:r.loaded},null,8,["context-uri","items","load","loaded"])]),_:1}),E(u,{item:i.playlist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const AV=st(TV,[["render",CV]]),OV={name:"PagePodcast",components:{ContentWithHero:hd,ControlImage:Hr,ListTracks:Bn,ModalDialogAlbum:pd,PaneHero:md},beforeRouteEnter(t,e,n){Promise.all([Ct.album(t.params.id),Ct.podcastEpisodes(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new kt(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new kt}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),subtitle:"",title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{play(){ce.playUri(this.album.uri,!1)},reloadTracks(){Ct.podcastEpisodes(this.album.id).then(t=>{this.tracks=new kt(t)})},openDetails(){this.showDetailsModal=!0},podcastDeleted(){this.$router.push({name:"podcasts"})}}};function xV(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("modal-dialog-album"),u=w("content-with-hero");return x(),yt(u,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:M(()=>[E(l,{items:i.tracks,"show-progress":!0,onPlayCountChanged:r.reloadTracks},null,8,["items","onPlayCountChanged"]),E(c,{item:i.album,show:i.showDetailsModal,"media-kind":"podcast",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1),onPlayCountChanged:r.reloadTracks,onPodcastDeleted:r.podcastDeleted},null,8,["item","show","onPlayCountChanged","onPodcastDeleted"])]),_:1})}const IV=st(OV,[["render",xV]]),NV={name:"ControlUrlField",props:{help:{default:"",type:String},icon:{required:!0,type:String},loading:{default:!1,type:Boolean},placeholder:{required:!0,type:String}},emits:["input"],data(){return{value:""}},mounted(){setTimeout(()=>{this.$refs.input.focus()},10)},methods:{validate(t){const{validity:e}=t.target,n=e.patternMismatch||e.valueMissing;this.$emit("input",this.value,n)}}},PV={class:"field"},DV={class:"control has-icons-left"},MV=["placeholder","disabled"],RV=["textContent"];function LV(t,e,n,s,i,r){const o=w("mdicon");return x(),$("div",PV,[A("div",DV,[Qn(A("input",{ref:"input","onUpdate:modelValue":e[0]||(e[0]=a=>i.value=a),class:"input",type:"url",pattern:"http[s]?://.+",required:"",placeholder:n.placeholder,disabled:n.loading,onInput:e[1]||(e[1]=(...a)=>r.validate&&r.validate(...a))},null,40,MV),[[xs,i.value]]),E(o,{class:"icon is-left",name:n.icon,size:"16"},null,8,["name"])]),n.help?(x(),$("div",{key:0,class:"help",textContent:J(n.help)},null,8,RV)):vt("",!0)])}const kS=st(NV,[["render",LV]]),$V={name:"ModalDialogAddRss",components:{ControlUrlField:kS,ModalDialog:nr},props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},computed:{actions(){return this.loading?[{icon:"web",key:"dialog.add.rss.processing"}]:[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.add,icon:"playlist-plus",key:"actions.add"}]}},methods:{add(){this.loading=!0,Ct.add(this.url).then(()=>{this.$emit("podcast-added"),this.$emit("close")}).finally(()=>{this.url="",this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e}}};function FV(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return x(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.add.rss.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:M(()=>[A("form",{onSubmit:e[0]||(e[0]=un((...l)=>r.add&&r.add(...l),["prevent"]))},[E(o,{icon:"rss",help:t.$t("dialog.add.rss.help"),loading:i.loading,placeholder:t.$t("dialog.add.rss.placeholder"),onInput:r.onUrlChange},null,8,["help","loading","placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const VV=st($V,[["render",FV]]),HV={name:"PagePodcasts",components:{ContentWithHeading:se,ControlButton:on,ListAlbums:Xn,ListTracks:Bn,ModalDialogAddRss:VV,PaneTitle:ie},beforeRouteEnter(t,e,n){Promise.all([Ct.albums("podcast"),Ct.newPodcastEpisodes(),Ct.rssCount()]).then(([s,i,r])=>{n(o=>{o.albums=new kt(s),o.episodes=new kt(i),o.rssCount=r})})},setup(){return{libraryStore:Hu(),uiStore:ts()}},data(){return{albums:[],episodes:{items:[]},rssCount:{},showAddPodcastModal:!1}},computed:{hasRss(){return(this.rssCount.albums??0)>0},heading(){return this.albums.total?{subtitle:[{count:this.albums.count,key:"data.podcasts"}],title:this.$t("page.podcasts.title")}:{}}},methods:{markAllAsPlayed(){this.episodes.items.forEach(t=>{Ct.updateTrack(t.id,{play_count:"increment"})}),this.episodes.items={}},openAddPodcastDialog(){this.showAddPodcastModal=!0},reloadEpisodes(){Ct.newPodcastEpisodes().then(t=>{this.episodes=new kt(t)})},reloadPodcasts(){Ct.albums("podcast").then(t=>{this.albums=new kt(t),this.reloadEpisodes(),this.reloadRssCount()})},reloadRssCount(){Ct.rssCount().then(t=>{this.rssCount=t})},updateRss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.showUpdateDialog=!0}}};function UV(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks"),c=w("content-with-heading"),u=w("list-albums"),d=w("modal-dialog-add-rss");return x(),$(it,null,[i.episodes.items.length>0?(x(),yt(c,{key:0},{heading:M(()=>[E(o,{content:{title:t.$t("page.podcasts.new-episodes")}},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:r.markAllAsPlayed,icon:"pencil",key:"actions.mark-all-played"}},null,8,["button"])]),content:M(()=>[E(l,{items:i.episodes,"show-progress":!0,onPlayCountChanged:r.reloadEpisodes},null,8,["items","onPlayCountChanged"])]),_:1})):vt("",!0),E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[r.hasRss?(x(),yt(a,{key:0,button:{handler:r.updateRss,icon:"refresh",key:"actions.update"}},null,8,["button"])):vt("",!0),E(a,{button:{handler:r.openAddPodcastDialog,icon:"rss",key:"actions.add"}},null,8,["button"])]),content:M(()=>[E(u,{items:i.albums,onPlayCountChanged:r.reloadEpisodes,onPodcastDeleted:r.reloadPodcasts},null,8,["items","onPlayCountChanged","onPodcastDeleted"])]),_:1}),E(d,{show:i.showAddPodcastModal,onClose:e[0]||(e[0]=f=>i.showAddPodcastModal=!1),onPodcastAdded:r.reloadPodcasts},null,8,["show","onPodcastAdded"])],64)}const jV=st(HV,[["render",UV]]),BV={name:"ListItemQueueItem",props:{currentPosition:{required:!0,type:Number},editing:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number},hideReadItems:Boolean},setup(){return{playerStore:Wn()}},computed:{isCurrent(){return this.item.id===this.playerStore.item_id},isNext(){return this.currentPosition<0||this.position>=this.currentPosition}},methods:{play(){sn.play({item_id:this.item.id})}}},WV={key:0,class:"media-left"},GV={class:"media-content"},KV=["textContent"],zV=["textContent"],qV=["textContent"],XV={class:"media-right"};function YV(t,e,n,s,i,r){const o=w("mdicon");return r.isNext||!n.hideReadItems?(x(),$("div",{key:0,class:"media is-align-items-center is-clickable mb-0",onClick:e[0]||(e[0]=(...a)=>r.play&&r.play(...a))},[n.editing?(x(),$("div",WV,[E(o,{class:"icon has-text-grey is-movable",name:"drag-horizontal",size:"18"})])):vt("",!0),A("div",GV,[A("div",{class:Kt(["is-size-6 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext}]),textContent:J(n.item.title)},null,10,KV),A("div",{class:Kt(["is-size-7 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&!r.isCurrent}]),textContent:J(n.item.artist)},null,10,zV),A("div",{class:Kt(["is-size-7",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&!r.isCurrent}]),textContent:J(n.item.album)},null,10,qV)]),A("div",XV,[ne(t.$slots,"actions",{},void 0,!0)])])):vt("",!0)}const ZV=st(BV,[["render",YV],["__scopeId","data-v-5eab7ad4"]]),JV={name:"ModalDialogAddStream",components:{ControlUrlField:kS,ModalDialog:nr},props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,url:""}},computed:{actions(){return this.loading?[{icon:"web",key:"dialog.add.stream.processing"}]:[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.add,icon:"playlist-plus",key:"actions.add"},{disabled:this.disabled,handler:this.play,icon:"play",key:"actions.play"}]}},methods:{add(){this.loading=!0,ce.add(this.url).then(()=>{this.$emit("close")}).finally(()=>{this.url="",this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e},play(){this.loading=!0,ce.playUri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}};function QV(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return x(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.add.stream.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:M(()=>[A("form",{onSubmit:e[0]||(e[0]=un((...l)=>r.play&&r.play(...l),["prevent"]))},[E(o,{icon:"web",loading:i.loading,placeholder:t.$t("dialog.add.stream.placeholder"),onInput:r.onUrlChange},null,8,["loading","placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const t9=st(JV,[["render",QV]]),e9={name:"ModalDialogPlaylistSave",components:{ModalDialog:nr},props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,playlistName:""}},computed:{actions(){return this.loading?[{icon:"web",key:"dialog.playlist.save.saving"}]:[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.save,icon:"download",key:"actions.save"}]}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{cancel(){this.$emit("close")},check(t){const{validity:e}=t.target;this.disabled=e.patternMismatch||e.valueMissing},save(){this.loading=!0,ce.saveToPlaylist(this.playlistName).then(()=>{this.$emit("close"),this.playlistName=""}).catch(()=>{this.loading=!1})}}},n9={class:"field"},s9={class:"control has-icons-left"},i9=["placeholder","disabled"];function r9(t,e,n,s,i,r){const o=w("mdicon"),a=w("modal-dialog");return x(),yt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.playlist.save.title"),onClose:e[3]||(e[3]=l=>t.$emit("close"))},{content:M(()=>[A("form",{onSubmit:e[2]||(e[2]=un((...l)=>r.save&&r.save(...l),["prevent"]))},[A("div",n9,[A("div",s9,[Qn(A("input",{ref:"playlist_name_field","onUpdate:modelValue":e[0]||(e[0]=l=>i.playlistName=l),class:"input",type:"text",pattern:".+",required:"",placeholder:t.$t("dialog.playlist.save.playlist-name"),disabled:i.loading,onInput:e[1]||(e[1]=(...l)=>r.check&&r.check(...l))},null,40,i9),[[xs,i.playlistName]]),E(o,{class:"icon is-left",name:"playlist-music",size:"16"})])])],32)]),_:1},8,["actions","show","title"])}const o9=st(e9,[["render",r9]]);var hc={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function Sb(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),n.push.apply(n,s)}return n}function Ys(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Sb(Object(n),!0).forEach(function(s){a9(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sb(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function pc(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?pc=function(e){return typeof e}:pc=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pc(t)}function a9(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ps(){return ps=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ps.apply(this,arguments)}function l9(t,e){if(t==null)return{};var n={},s=Object.keys(t),i,r;for(r=0;r<s.length;r++)i=s[r],!(e.indexOf(i)>=0)&&(n[i]=t[i]);return n}function c9(t,e){if(t==null)return{};var n=l9(t,e),s,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i<r.length;i++)s=r[i],!(e.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(t,s)&&(n[s]=t[s])}return n}function u9(t){return d9(t)||f9(t)||h9(t)||p9()}function d9(t){if(Array.isArray(t))return Ah(t)}function f9(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function h9(t,e){if(t){if(typeof t=="string")return Ah(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ah(t,e)}}function Ah(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,s=new Array(e);n<e;n++)s[n]=t[n];return s}function p9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m9="1.14.0";function pi(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var Ti=pi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),bl=pi(/Edge/i),Eb=pi(/firefox/i),ka=pi(/safari/i)&&!pi(/chrome/i)&&!pi(/android/i),TS=pi(/iP(ad|od|hone)/i),g9=pi(/chrome/i)&&pi(/android/i),CS={capture:!1,passive:!1};function Jt(t,e,n){t.addEventListener(e,n,!Ti&&CS)}function zt(t,e,n){t.removeEventListener(e,n,!Ti&&CS)}function nu(t,e){if(e){if(e[0]===">"&&(e=e.substring(1)),t)try{if(t.matches)return t.matches(e);if(t.msMatchesSelector)return t.msMatchesSelector(e);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(e)}catch{return!1}return!1}}function y9(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function ws(t,e,n,s){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&nu(t,e):nu(t,e))||s&&t===n)return t;if(t===n)break}while(t=y9(t))}return null}var wb=/\s+/g;function Ne(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var s=(" "+t.className+" ").replace(wb," ").replace(" "+e+" "," ");t.className=(s+(n?" "+e:"")).replace(wb," ")}}function Et(t,e,n){var s=t&&t.style;if(s){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),e===void 0?n:n[e];!(e in s)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),s[e]=n+(typeof n=="string"?"":"px")}}function Cr(t,e){var n="";if(typeof t=="string")n=t;else do{var s=Et(t,"transform");s&&s!=="none"&&(n=s+" "+n)}while(!e&&(t=t.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function AS(t,e,n){if(t){var s=t.getElementsByTagName(e),i=0,r=s.length;if(n)for(;i<r;i++)n(s[i],i);return s}return[]}function Ks(){var t=document.scrollingElement;return t||document.documentElement}function xe(t,e,n,s,i){if(!(!t.getBoundingClientRect&&t!==window)){var r,o,a,l,c,u,d;if(t!==window&&t.parentNode&&t!==Ks()?(r=t.getBoundingClientRect(),o=r.top,a=r.left,l=r.bottom,c=r.right,u=r.height,d=r.width):(o=0,a=0,l=window.innerHeight,c=window.innerWidth,u=window.innerHeight,d=window.innerWidth),(e||n)&&t!==window&&(i=i||t.parentNode,!Ti))do if(i&&i.getBoundingClientRect&&(Et(i,"transform")!=="none"||n&&Et(i,"position")!=="static")){var f=i.getBoundingClientRect();o-=f.top+parseInt(Et(i,"border-top-width")),a-=f.left+parseInt(Et(i,"border-left-width")),l=o+r.height,c=a+r.width;break}while(i=i.parentNode);if(s&&t!==window){var h=Cr(i||t),p=h&&h.a,m=h&&h.d;h&&(o/=m,a/=p,d/=p,u/=m,l=o+u,c=a+d)}return{top:o,left:a,bottom:l,right:c,width:d,height:u}}}function kb(t,e,n){for(var s=zi(t,!0),i=xe(t)[e];s;){var r=xe(s)[n],o=void 0;if(o=i>=r,!o)return s;if(s===Ks())break;s=zi(s,!1)}return!1}function No(t,e,n,s){for(var i=0,r=0,o=t.children;r<o.length;){if(o[r].style.display!=="none"&&o[r]!==Pt.ghost&&(s||o[r]!==Pt.dragged)&&ws(o[r],n.draggable,t,!1)){if(i===e)return o[r];i++}r++}return null}function mm(t,e){for(var n=t.lastElementChild;n&&(n===Pt.ghost||Et(n,"display")==="none"||e&&!nu(n,e));)n=n.previousElementSibling;return n||null}function Ve(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==Pt.clone&&(!e||nu(t,e))&&n++;return n}function Tb(t){var e=0,n=0,s=Ks();if(t)do{var i=Cr(t),r=i.a,o=i.d;e+=t.scrollLeft*r,n+=t.scrollTop*o}while(t!==s&&(t=t.parentNode));return[e,n]}function b9(t,e){for(var n in t)if(t.hasOwnProperty(n)){for(var s in e)if(e.hasOwnProperty(s)&&e[s]===t[n][s])return Number(n)}return-1}function zi(t,e){if(!t||!t.getBoundingClientRect)return Ks();var n=t,s=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=Et(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return Ks();if(s||e)return n;s=!0}}while(n=n.parentNode);return Ks()}function v9(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function cf(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}var Ta;function OS(t,e){return function(){if(!Ta){var n=arguments,s=this;n.length===1?t.call(s,n[0]):t.apply(s,n),Ta=setTimeout(function(){Ta=void 0},e)}}}function _9(){clearTimeout(Ta),Ta=void 0}function xS(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function gm(t){var e=window.Polymer,n=window.jQuery||window.Zepto;return e&&e.dom?e.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Cb(t,e){Et(t,"position","absolute"),Et(t,"top",e.top),Et(t,"left",e.left),Et(t,"width",e.width),Et(t,"height",e.height)}function uf(t){Et(t,"position",""),Et(t,"top",""),Et(t,"left",""),Et(t,"width",""),Et(t,"height","")}var Sn="Sortable"+new Date().getTime();function S9(){var t=[],e;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var s=[].slice.call(this.el.children);s.forEach(function(i){if(!(Et(i,"display")==="none"||i===Pt.ghost)){t.push({target:i,rect:xe(i)});var r=Ys({},t[t.length-1].rect);if(i.thisAnimationDuration){var o=Cr(i,!0);o&&(r.top-=o.f,r.left-=o.e)}i.fromRect=r}})}},addAnimationState:function(s){t.push(s)},removeAnimationState:function(s){t.splice(b9(t,{target:s}),1)},animateAll:function(s){var i=this;if(!this.options.animation){clearTimeout(e),typeof s=="function"&&s();return}var r=!1,o=0;t.forEach(function(a){var l=0,c=a.target,u=c.fromRect,d=xe(c),f=c.prevFromRect,h=c.prevToRect,p=a.rect,m=Cr(c,!0);m&&(d.top-=m.f,d.left-=m.e),c.toRect=d,c.thisAnimationDuration&&cf(f,d)&&!cf(u,d)&&(p.top-d.top)/(p.left-d.left)===(u.top-d.top)/(u.left-d.left)&&(l=w9(p,f,h,i.options)),cf(d,u)||(c.prevFromRect=u,c.prevToRect=d,l||(l=i.options.animation),i.animate(c,p,d,l)),l&&(r=!0,o=Math.max(o,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(e),r?e=setTimeout(function(){typeof s=="function"&&s()},o):typeof s=="function"&&s(),t=[]},animate:function(s,i,r,o){if(o){Et(s,"transition",""),Et(s,"transform","");var a=Cr(this.el),l=a&&a.a,c=a&&a.d,u=(i.left-r.left)/(l||1),d=(i.top-r.top)/(c||1);s.animatingX=!!u,s.animatingY=!!d,Et(s,"transform","translate3d("+u+"px,"+d+"px,0)"),this.forRepaintDummy=E9(s),Et(s,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Et(s,"transform","translate3d(0,0,0)"),typeof s.animated=="number"&&clearTimeout(s.animated),s.animated=setTimeout(function(){Et(s,"transition",""),Et(s,"transform",""),s.animated=!1,s.animatingX=!1,s.animatingY=!1},o)}}}}function E9(t){return t.offsetWidth}function w9(t,e,n,s){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))*s.animation}var Yr=[],df={initializeByDefault:!0},vl={mount:function(e){for(var n in df)df.hasOwnProperty(n)&&!(n in e)&&(e[n]=df[n]);Yr.forEach(function(s){if(s.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Yr.push(e)},pluginEvent:function(e,n,s){var i=this;this.eventCanceled=!1,s.cancel=function(){i.eventCanceled=!0};var r=e+"Global";Yr.forEach(function(o){n[o.pluginName]&&(n[o.pluginName][r]&&n[o.pluginName][r](Ys({sortable:n},s)),n.options[o.pluginName]&&n[o.pluginName][e]&&n[o.pluginName][e](Ys({sortable:n},s)))})},initializePlugins:function(e,n,s,i){Yr.forEach(function(a){var l=a.pluginName;if(!(!e.options[l]&&!a.initializeByDefault)){var c=new a(e,n,e.options);c.sortable=e,c.options=e.options,e[l]=c,ps(s,c.defaults)}});for(var r in e.options)if(e.options.hasOwnProperty(r)){var o=this.modifyOption(e,r,e.options[r]);typeof o<"u"&&(e.options[r]=o)}},getEventProperties:function(e,n){var s={};return Yr.forEach(function(i){typeof i.eventProperties=="function"&&ps(s,i.eventProperties.call(n[i.pluginName],e))}),s},modifyOption:function(e,n,s){var i;return Yr.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(e[r.pluginName],s))}),i}};function la(t){var e=t.sortable,n=t.rootEl,s=t.name,i=t.targetEl,r=t.cloneEl,o=t.toEl,a=t.fromEl,l=t.oldIndex,c=t.newIndex,u=t.oldDraggableIndex,d=t.newDraggableIndex,f=t.originalEvent,h=t.putSortable,p=t.extraEventProperties;if(e=e||n&&n[Sn],!!e){var m,b=e.options,y="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!Ti&&!bl?m=new CustomEvent(s,{bubbles:!0,cancelable:!0}):(m=document.createEvent("Event"),m.initEvent(s,!0,!0)),m.to=o||n,m.from=a||n,m.item=i||n,m.clone=r,m.oldIndex=l,m.newIndex=c,m.oldDraggableIndex=u,m.newDraggableIndex=d,m.originalEvent=f,m.pullMode=h?h.lastPutMode:void 0;var _=Ys(Ys({},p),vl.getEventProperties(s,e));for(var g in _)m[g]=_[g];n&&n.dispatchEvent(m),b[y]&&b[y].call(e,m)}}var k9=["evt"],Mn=function(e,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=s.evt,r=c9(s,k9);vl.pluginEvent.bind(Pt)(e,n,Ys({dragEl:ft,parentEl:Re,ghostEl:Ut,rootEl:Ae,nextEl:hr,lastDownEl:mc,cloneEl:Le,cloneHidden:Gi,dragStarted:ca,putSortable:an,activeSortable:Pt.active,originalEvent:i,oldIndex:co,oldDraggableIndex:Ca,newIndex:Kn,newDraggableIndex:Bi,hideGhostForTarget:DS,unhideGhostForTarget:MS,cloneNowHidden:function(){Gi=!0},cloneNowShown:function(){Gi=!1},dispatchSortableEvent:function(a){Tn({sortable:n,name:a,originalEvent:i})}},r))};function Tn(t){la(Ys({putSortable:an,cloneEl:Le,targetEl:ft,rootEl:Ae,oldIndex:co,oldDraggableIndex:Ca,newIndex:Kn,newDraggableIndex:Bi},t))}var ft,Re,Ut,Ae,hr,mc,Le,Gi,co,Kn,Ca,Bi,Gl,an,so=!1,su=!1,iu=[],ur,_s,ff,hf,Ab,Ob,ca,Zr,Aa,Oa=!1,Kl=!1,gc,fn,pf=[],Oh=!1,ru=[],bd=typeof document<"u",zl=TS,xb=bl||Ti?"cssFloat":"float",T9=bd&&!g9&&!TS&&"draggable"in document.createElement("div"),IS=function(){if(bd){if(Ti)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),NS=function(e,n){var s=Et(e),i=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),r=No(e,0,n),o=No(e,1,n),a=r&&Et(r),l=o&&Et(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+xe(r).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+xe(o).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&a.float!=="none"){var d=a.float==="left"?"left":"right";return o&&(l.clear==="both"||l.clear===d)?"vertical":"horizontal"}return r&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=i&&s[xb]==="none"||o&&s[xb]==="none"&&c+u>i)?"vertical":"horizontal"},C9=function(e,n,s){var i=s?e.left:e.top,r=s?e.right:e.bottom,o=s?e.width:e.height,a=s?n.left:n.top,l=s?n.right:n.bottom,c=s?n.width:n.height;return i===a||r===l||i+o/2===a+c/2},A9=function(e,n){var s;return iu.some(function(i){var r=i[Sn].options.emptyInsertThreshold;if(!(!r||mm(i))){var o=xe(i),a=e>=o.left-r&&e<=o.right+r,l=n>=o.top-r&&n<=o.bottom+r;if(a&&l)return s=i}}),s},PS=function(e){function n(r,o){return function(a,l,c,u){var d=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(r==null&&(o||d))return!0;if(r==null||r===!1)return!1;if(o&&r==="clone")return r;if(typeof r=="function")return n(r(a,l,c,u),o)(a,l,c,u);var f=(o?a:l).options.group.name;return r===!0||typeof r=="string"&&r===f||r.join&&r.indexOf(f)>-1}}var s={},i=e.group;(!i||pc(i)!="object")&&(i={name:i}),s.name=i.name,s.checkPull=n(i.pull,!0),s.checkPut=n(i.put),s.revertClone=i.revertClone,e.group=s},DS=function(){!IS&&Ut&&Et(Ut,"display","none")},MS=function(){!IS&&Ut&&Et(Ut,"display","")};bd&&document.addEventListener("click",function(t){if(su)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),su=!1,!1},!0);var dr=function(e){if(ft){e=e.touches?e.touches[0]:e;var n=A9(e.clientX,e.clientY);if(n){var s={};for(var i in e)e.hasOwnProperty(i)&&(s[i]=e[i]);s.target=s.rootEl=n,s.preventDefault=void 0,s.stopPropagation=void 0,n[Sn]._onDragOver(s)}}},O9=function(e){ft&&ft.parentNode[Sn]._isOutsideThisEl(e.target)};function Pt(t,e){if(!(t&&t.nodeType&&t.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=e=ps({},e),t[Sn]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return NS(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,a){o.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Pt.supportPointer!==!1&&"PointerEvent"in window&&!ka,emptyInsertThreshold:5};vl.initializePlugins(this,t,n);for(var s in n)!(s in e)&&(e[s]=n[s]);PS(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:T9,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Jt(t,"pointerdown",this._onTapStart):(Jt(t,"mousedown",this._onTapStart),Jt(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(Jt(t,"dragover",this),Jt(t,"dragenter",this)),iu.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),ps(this,S9())}Pt.prototype={constructor:Pt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Zr=null)},_getDirection:function(e,n){return typeof this.options.direction=="function"?this.options.direction.call(this,e,n,ft):this.options.direction},_onTapStart:function(e){if(e.cancelable){var n=this,s=this.el,i=this.options,r=i.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,l=(a||e).target,c=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,u=i.filter;if(L9(s),!ft&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||i.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&ka&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=ws(l,i.draggable,s,!1),!(l&&l.animated)&&mc!==l)){if(co=Ve(l),Ca=Ve(l,i.draggable),typeof u=="function"){if(u.call(this,e,l,this)){Tn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:s,fromEl:s}),Mn("filter",n,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=ws(c,d.trim(),s,!1),d)return Tn({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:s,toEl:s}),Mn("filter",n,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}i.handle&&!ws(c,i.handle,s,!1)||this._prepareDragStart(e,a,l)}}},_prepareDragStart:function(e,n,s){var i=this,r=i.el,o=i.options,a=r.ownerDocument,l;if(s&&!ft&&s.parentNode===r){var c=xe(s);if(Ae=r,ft=s,Re=ft.parentNode,hr=ft.nextSibling,mc=s,Gl=o.group,Pt.dragged=ft,ur={target:ft,clientX:(n||e).clientX,clientY:(n||e).clientY},Ab=ur.clientX-c.left,Ob=ur.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,ft.style["will-change"]="all",l=function(){if(Mn("delayEnded",i,{evt:e}),Pt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Eb&&i.nativeDraggable&&(ft.draggable=!0),i._triggerDragStart(e,n),Tn({sortable:i,name:"choose",originalEvent:e}),Ne(ft,o.chosenClass,!0)},o.ignore.split(",").forEach(function(u){AS(ft,u.trim(),mf)}),Jt(a,"dragover",dr),Jt(a,"mousemove",dr),Jt(a,"touchmove",dr),Jt(a,"mouseup",i._onDrop),Jt(a,"touchend",i._onDrop),Jt(a,"touchcancel",i._onDrop),Eb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ft.draggable=!0),Mn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(bl||Ti))){if(Pt.eventCanceled){this._onDrop();return}Jt(a,"mouseup",i._disableDelayedDrag),Jt(a,"touchend",i._disableDelayedDrag),Jt(a,"touchcancel",i._disableDelayedDrag),Jt(a,"mousemove",i._delayedDragTouchMoveHandler),Jt(a,"touchmove",i._delayedDragTouchMoveHandler),o.supportPointer&&Jt(a,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(l,o.delay)}else l()}},_delayedDragTouchMoveHandler:function(e){var n=e.touches?e.touches[0]:e;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ft&&mf(ft),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;zt(e,"mouseup",this._disableDelayedDrag),zt(e,"touchend",this._disableDelayedDrag),zt(e,"touchcancel",this._disableDelayedDrag),zt(e,"mousemove",this._delayedDragTouchMoveHandler),zt(e,"touchmove",this._delayedDragTouchMoveHandler),zt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?Jt(document,"pointermove",this._onTouchMove):n?Jt(document,"touchmove",this._onTouchMove):Jt(document,"mousemove",this._onTouchMove):(Jt(ft,"dragend",this),Jt(Ae,"dragstart",this._onDragStart));try{document.selection?yc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(so=!1,Ae&&ft){Mn("dragStarted",this,{evt:n}),this.nativeDraggable&&Jt(document,"dragover",O9);var s=this.options;!e&&Ne(ft,s.dragClass,!1),Ne(ft,s.ghostClass,!0),Pt.active=this,e&&this._appendGhost(),Tn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(_s){this._lastX=_s.clientX,this._lastY=_s.clientY,DS();for(var e=document.elementFromPoint(_s.clientX,_s.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(_s.clientX,_s.clientY),e!==n);)n=e;if(ft.parentNode[Sn]._isOutsideThisEl(e),n)do{if(n[Sn]){var s=void 0;if(s=n[Sn]._onDragOver({clientX:_s.clientX,clientY:_s.clientY,target:e,rootEl:n}),s&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);MS()}},_onTouchMove:function(e){if(ur){var n=this.options,s=n.fallbackTolerance,i=n.fallbackOffset,r=e.touches?e.touches[0]:e,o=Ut&&Cr(Ut,!0),a=Ut&&o&&o.a,l=Ut&&o&&o.d,c=zl&&fn&&Tb(fn),u=(r.clientX-ur.clientX+i.x)/(a||1)+(c?c[0]-pf[0]:0)/(a||1),d=(r.clientY-ur.clientY+i.y)/(l||1)+(c?c[1]-pf[1]:0)/(l||1);if(!Pt.active&&!so){if(s&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<s)return;this._onDragStart(e,!0)}if(Ut){o?(o.e+=u-(ff||0),o.f+=d-(hf||0)):o={a:1,b:0,c:0,d:1,e:u,f:d};var f="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Et(Ut,"webkitTransform",f),Et(Ut,"mozTransform",f),Et(Ut,"msTransform",f),Et(Ut,"transform",f),ff=u,hf=d,_s=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ut){var e=this.options.fallbackOnBody?document.body:Ae,n=xe(ft,!0,zl,!0,e),s=this.options;if(zl){for(fn=e;Et(fn,"position")==="static"&&Et(fn,"transform")==="none"&&fn!==document;)fn=fn.parentNode;fn!==document.body&&fn!==document.documentElement?(fn===document&&(fn=Ks()),n.top+=fn.scrollTop,n.left+=fn.scrollLeft):fn=Ks(),pf=Tb(fn)}Ut=ft.cloneNode(!0),Ne(Ut,s.ghostClass,!1),Ne(Ut,s.fallbackClass,!0),Ne(Ut,s.dragClass,!0),Et(Ut,"transition",""),Et(Ut,"transform",""),Et(Ut,"box-sizing","border-box"),Et(Ut,"margin",0),Et(Ut,"top",n.top),Et(Ut,"left",n.left),Et(Ut,"width",n.width),Et(Ut,"height",n.height),Et(Ut,"opacity","0.8"),Et(Ut,"position",zl?"absolute":"fixed"),Et(Ut,"zIndex","100000"),Et(Ut,"pointerEvents","none"),Pt.ghost=Ut,e.appendChild(Ut),Et(Ut,"transform-origin",Ab/parseInt(Ut.style.width)*100+"% "+Ob/parseInt(Ut.style.height)*100+"%")}},_onDragStart:function(e,n){var s=this,i=e.dataTransfer,r=s.options;if(Mn("dragStart",this,{evt:e}),Pt.eventCanceled){this._onDrop();return}Mn("setupClone",this),Pt.eventCanceled||(Le=gm(ft),Le.draggable=!1,Le.style["will-change"]="",this._hideClone(),Ne(Le,this.options.chosenClass,!1),Pt.clone=Le),s.cloneId=yc(function(){Mn("clone",s),!Pt.eventCanceled&&(s.options.removeCloneOnHide||Ae.insertBefore(Le,ft),s._hideClone(),Tn({sortable:s,name:"clone"}))}),!n&&Ne(ft,r.dragClass,!0),n?(su=!0,s._loopId=setInterval(s._emulateDragOver,50)):(zt(document,"mouseup",s._onDrop),zt(document,"touchend",s._onDrop),zt(document,"touchcancel",s._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(s,i,ft)),Jt(document,"drop",s),Et(ft,"transform","translateZ(0)")),so=!0,s._dragStartId=yc(s._dragStarted.bind(s,n,e)),Jt(document,"selectstart",s),ca=!0,ka&&Et(document.body,"user-select","none")},_onDragOver:function(e){var n=this.el,s=e.target,i,r,o,a=this.options,l=a.group,c=Pt.active,u=Gl===l,d=a.sort,f=an||c,h,p=this,m=!1;if(Oh)return;function b(at,Tt){Mn(at,p,Ys({evt:e,isOwner:u,axis:h?"vertical":"horizontal",revert:o,dragRect:i,targetRect:r,canSort:d,fromSortable:f,target:s,completed:_,onMove:function(Vt,Bt){return ql(Ae,n,ft,i,Vt,xe(Vt),e,Bt)},changed:g},Tt))}function y(){b("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function _(at){return b("dragOverCompleted",{insertion:at}),at&&(u?c._hideClone():c._showClone(p),p!==f&&(Ne(ft,an?an.options.ghostClass:c.options.ghostClass,!1),Ne(ft,a.ghostClass,!0)),an!==p&&p!==Pt.active?an=p:p===Pt.active&&an&&(an=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){b("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===ft&&!ft.animated||s===n&&!s.animated)&&(Zr=null),!a.dragoverBubble&&!e.rootEl&&s!==document&&(ft.parentNode[Sn]._isOutsideThisEl(e.target),!at&&dr(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function g(){Kn=Ve(ft),Bi=Ve(ft,a.draggable),Tn({sortable:p,name:"change",toEl:n,newIndex:Kn,newDraggableIndex:Bi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),s=ws(s,a.draggable,n,!0),b("dragOver"),Pt.eventCanceled)return m;if(ft.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return _(!1);if(su=!1,c&&!a.disabled&&(u?d||(o=Re!==Ae):an===this||(this.lastPutMode=Gl.checkPull(this,c,ft,e))&&l.checkPut(this,c,ft,e))){if(h=this._getDirection(e,s)==="vertical",i=xe(ft),b("dragOverValid"),Pt.eventCanceled)return m;if(o)return Re=Ae,y(),this._hideClone(),b("revert"),Pt.eventCanceled||(hr?Ae.insertBefore(ft,hr):Ae.appendChild(ft)),_(!0);var v=mm(n,a.draggable);if(!v||P9(e,h,this)&&!v.animated){if(v===ft)return _(!1);if(v&&n===e.target&&(s=v),s&&(r=xe(s)),ql(Ae,n,ft,i,s,r,e,!!s)!==!1)return y(),n.appendChild(ft),Re=n,g(),_(!0)}else if(v&&N9(e,h,this)){var S=No(n,0,a,!0);if(S===ft)return _(!1);if(s=S,r=xe(s),ql(Ae,n,ft,i,s,r,e,!1)!==!1)return y(),n.insertBefore(ft,S),Re=n,g(),_(!0)}else if(s.parentNode===n){r=xe(s);var k=0,N,R=ft.parentNode!==n,T=!C9(ft.animated&&ft.toRect||i,s.animated&&s.toRect||r,h),D=h?"top":"left",j=kb(s,"top","top")||kb(ft,"top","top"),F=j?j.scrollTop:void 0;Zr!==s&&(N=r[D],Oa=!1,Kl=!T&&a.invertSwap||R),k=D9(e,s,r,h,T?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Kl,Zr===s);var U;if(k!==0){var Y=Ve(ft);do Y-=k,U=Re.children[Y];while(U&&(Et(U,"display")==="none"||U===Ut))}if(k===0||U===s)return _(!1);Zr=s,Aa=k;var ot=s.nextElementSibling,G=!1;G=k===1;var tt=ql(Ae,n,ft,i,s,r,e,G);if(tt!==!1)return(tt===1||tt===-1)&&(G=tt===1),Oh=!0,setTimeout(I9,30),y(),G&&!ot?n.appendChild(ft):s.parentNode.insertBefore(ft,G?ot:s),j&&xS(j,0,F-j.scrollTop),Re=ft.parentNode,N!==void 0&&!Kl&&(gc=Math.abs(N-xe(s)[D])),g(),_(!0)}if(n.contains(ft))return _(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){zt(document,"mousemove",this._onTouchMove),zt(document,"touchmove",this._onTouchMove),zt(document,"pointermove",this._onTouchMove),zt(document,"dragover",dr),zt(document,"mousemove",dr),zt(document,"touchmove",dr)},_offUpEvents:function(){var e=this.el.ownerDocument;zt(e,"mouseup",this._onDrop),zt(e,"touchend",this._onDrop),zt(e,"pointerup",this._onDrop),zt(e,"touchcancel",this._onDrop),zt(document,"selectstart",this)},_onDrop:function(e){var n=this.el,s=this.options;if(Kn=Ve(ft),Bi=Ve(ft,s.draggable),Mn("drop",this,{evt:e}),Re=ft&&ft.parentNode,Kn=Ve(ft),Bi=Ve(ft,s.draggable),Pt.eventCanceled){this._nulling();return}so=!1,Kl=!1,Oa=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),xh(this.cloneId),xh(this._dragStartId),this.nativeDraggable&&(zt(document,"drop",this),zt(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ka&&Et(document.body,"user-select",""),Et(ft,"transform",""),e&&(ca&&(e.cancelable&&e.preventDefault(),!s.dropBubble&&e.stopPropagation()),Ut&&Ut.parentNode&&Ut.parentNode.removeChild(Ut),(Ae===Re||an&&an.lastPutMode!=="clone")&&Le&&Le.parentNode&&Le.parentNode.removeChild(Le),ft&&(this.nativeDraggable&&zt(ft,"dragend",this),mf(ft),ft.style["will-change"]="",ca&&!so&&Ne(ft,an?an.options.ghostClass:this.options.ghostClass,!1),Ne(ft,this.options.chosenClass,!1),Tn({sortable:this,name:"unchoose",toEl:Re,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ae!==Re?(Kn>=0&&(Tn({rootEl:Re,name:"add",toEl:Re,fromEl:Ae,originalEvent:e}),Tn({sortable:this,name:"remove",toEl:Re,originalEvent:e}),Tn({rootEl:Re,name:"sort",toEl:Re,fromEl:Ae,originalEvent:e}),Tn({sortable:this,name:"sort",toEl:Re,originalEvent:e})),an&&an.save()):Kn!==co&&Kn>=0&&(Tn({sortable:this,name:"update",toEl:Re,originalEvent:e}),Tn({sortable:this,name:"sort",toEl:Re,originalEvent:e})),Pt.active&&((Kn==null||Kn===-1)&&(Kn=co,Bi=Ca),Tn({sortable:this,name:"end",toEl:Re,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){Mn("nulling",this),Ae=ft=Re=Ut=hr=Le=mc=Gi=ur=_s=ca=Kn=Bi=co=Ca=Zr=Aa=an=Gl=Pt.dragged=Pt.ghost=Pt.clone=Pt.active=null,ru.forEach(function(e){e.checked=!0}),ru.length=ff=hf=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ft&&(this._onDragOver(e),x9(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],n,s=this.el.children,i=0,r=s.length,o=this.options;i<r;i++)n=s[i],ws(n,o.draggable,this.el,!1)&&e.push(n.getAttribute(o.dataIdAttr)||R9(n));return e},sort:function(e,n){var s={},i=this.el;this.toArray().forEach(function(r,o){var a=i.children[o];ws(a,this.options.draggable,i,!1)&&(s[r]=a)},this),n&&this.captureAnimationState(),e.forEach(function(r){s[r]&&(i.removeChild(s[r]),i.appendChild(s[r]))}),n&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,n){return ws(e,n||this.options.draggable,this.el,!1)},option:function(e,n){var s=this.options;if(n===void 0)return s[e];var i=vl.modifyOption(this,e,n);typeof i<"u"?s[e]=i:s[e]=n,e==="group"&&PS(s)},destroy:function(){Mn("destroy",this);var e=this.el;e[Sn]=null,zt(e,"mousedown",this._onTapStart),zt(e,"touchstart",this._onTapStart),zt(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(zt(e,"dragover",this),zt(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),iu.splice(iu.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Gi){if(Mn("hideClone",this),Pt.eventCanceled)return;Et(Le,"display","none"),this.options.removeCloneOnHide&&Le.parentNode&&Le.parentNode.removeChild(Le),Gi=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Gi){if(Mn("showClone",this),Pt.eventCanceled)return;ft.parentNode==Ae&&!this.options.group.revertClone?Ae.insertBefore(Le,ft):hr?Ae.insertBefore(Le,hr):Ae.appendChild(Le),this.options.group.revertClone&&this.animate(ft,Le),Et(Le,"display",""),Gi=!1}}};function x9(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function ql(t,e,n,s,i,r,o,a){var l,c=t[Sn],u=c.options.onMove,d;return window.CustomEvent&&!Ti&&!bl?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=e,l.from=t,l.dragged=n,l.draggedRect=s,l.related=i||e,l.relatedRect=r||xe(e),l.willInsertAfter=a,l.originalEvent=o,t.dispatchEvent(l),u&&(d=u.call(c,l,o)),d}function mf(t){t.draggable=!1}function I9(){Oh=!1}function N9(t,e,n){var s=xe(No(n.el,0,n.options,!0)),i=10;return e?t.clientX<s.left-i||t.clientY<s.top&&t.clientX<s.right:t.clientY<s.top-i||t.clientY<s.bottom&&t.clientX<s.left}function P9(t,e,n){var s=xe(mm(n.el,n.options.draggable)),i=10;return e?t.clientX>s.right+i||t.clientX<=s.right&&t.clientY>s.bottom&&t.clientX>=s.left:t.clientX>s.right&&t.clientY>s.top||t.clientX<=s.right&&t.clientY>s.bottom+i}function D9(t,e,n,s,i,r,o,a){var l=s?t.clientY:t.clientX,c=s?n.height:n.width,u=s?n.top:n.left,d=s?n.bottom:n.right,f=!1;if(!o){if(a&&gc<c*i){if(!Oa&&(Aa===1?l>u+c*r/2:l<d-c*r/2)&&(Oa=!0),Oa)f=!0;else if(Aa===1?l<u+gc:l>d-gc)return-Aa}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return M9(e)}return f=f||o,f&&(l<u+c*r/2||l>d-c*r/2)?l>u+c/2?1:-1:0}function M9(t){return Ve(ft)<Ve(t)?1:-1}function R9(t){for(var e=t.tagName+t.className+t.src+t.href+t.textContent,n=e.length,s=0;n--;)s+=e.charCodeAt(n);return s.toString(36)}function L9(t){ru.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var s=e[n];s.checked&&ru.push(s)}}function yc(t){return setTimeout(t,0)}function xh(t){return clearTimeout(t)}bd&&Jt(document,"touchmove",function(t){(Pt.active||so)&&t.cancelable&&t.preventDefault()});Pt.utils={on:Jt,off:zt,css:Et,find:AS,is:function(e,n){return!!ws(e,n,e,!1)},extend:v9,throttle:OS,closest:ws,toggleClass:Ne,clone:gm,index:Ve,nextTick:yc,cancelNextTick:xh,detectDirection:NS,getChild:No};Pt.get=function(t){return t[Sn]};Pt.mount=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e[0].constructor===Array&&(e=e[0]),e.forEach(function(s){if(!s.prototype||!s.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(s));s.utils&&(Pt.utils=Ys(Ys({},Pt.utils),s.utils)),vl.mount(s)})};Pt.create=function(t,e){return new Pt(t,e)};Pt.version=m9;var We=[],ua,Ih,Nh=!1,gf,yf,ou,da;function $9(){function t(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return t.prototype={dragStarted:function(n){var s=n.originalEvent;this.sortable.nativeDraggable?Jt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Jt(document,"pointermove",this._handleFallbackAutoScroll):s.touches?Jt(document,"touchmove",this._handleFallbackAutoScroll):Jt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var s=n.originalEvent;!this.options.dragOverBubble&&!s.rootEl&&this._handleAutoScroll(s)},drop:function(){this.sortable.nativeDraggable?zt(document,"dragover",this._handleAutoScroll):(zt(document,"pointermove",this._handleFallbackAutoScroll),zt(document,"touchmove",this._handleFallbackAutoScroll),zt(document,"mousemove",this._handleFallbackAutoScroll)),Ib(),bc(),_9()},nulling:function(){ou=Ih=ua=Nh=da=gf=yf=null,We.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,s){var i=this,r=(n.touches?n.touches[0]:n).clientX,o=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(r,o);if(ou=n,s||this.options.forceAutoScrollFallback||bl||Ti||ka){bf(n,this.options,a,s);var l=zi(a,!0);Nh&&(!da||r!==gf||o!==yf)&&(da&&Ib(),da=setInterval(function(){var c=zi(document.elementFromPoint(r,o),!0);c!==l&&(l=c,bc()),bf(n,i.options,c,s)},10),gf=r,yf=o)}else{if(!this.options.bubbleScroll||zi(a,!0)===Ks()){bc();return}bf(n,this.options,zi(a,!1),!1)}}},ps(t,{pluginName:"scroll",initializeByDefault:!0})}function bc(){We.forEach(function(t){clearInterval(t.pid)}),We=[]}function Ib(){clearInterval(da)}var bf=OS(function(t,e,n,s){if(e.scroll){var i=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,o=e.scrollSensitivity,a=e.scrollSpeed,l=Ks(),c=!1,u;Ih!==n&&(Ih=n,bc(),ua=e.scroll,u=e.scrollFn,ua===!0&&(ua=zi(n,!0)));var d=0,f=ua;do{var h=f,p=xe(h),m=p.top,b=p.bottom,y=p.left,_=p.right,g=p.width,v=p.height,S=void 0,k=void 0,N=h.scrollWidth,R=h.scrollHeight,T=Et(h),D=h.scrollLeft,j=h.scrollTop;h===l?(S=g<N&&(T.overflowX==="auto"||T.overflowX==="scroll"||T.overflowX==="visible"),k=v<R&&(T.overflowY==="auto"||T.overflowY==="scroll"||T.overflowY==="visible")):(S=g<N&&(T.overflowX==="auto"||T.overflowX==="scroll"),k=v<R&&(T.overflowY==="auto"||T.overflowY==="scroll"));var F=S&&(Math.abs(_-i)<=o&&D+g<N)-(Math.abs(y-i)<=o&&!!D),U=k&&(Math.abs(b-r)<=o&&j+v<R)-(Math.abs(m-r)<=o&&!!j);if(!We[d])for(var Y=0;Y<=d;Y++)We[Y]||(We[Y]={});(We[d].vx!=F||We[d].vy!=U||We[d].el!==h)&&(We[d].el=h,We[d].vx=F,We[d].vy=U,clearInterval(We[d].pid),(F!=0||U!=0)&&(c=!0,We[d].pid=setInterval((function(){s&&this.layer===0&&Pt.active._onTouchMove(ou);var ot=We[this.layer].vy?We[this.layer].vy*a:0,G=We[this.layer].vx?We[this.layer].vx*a:0;typeof u=="function"&&u.call(Pt.dragged.parentNode[Sn],G,ot,t,ou,We[this.layer].el)!=="continue"||xS(We[this.layer].el,G,ot)}).bind({layer:d}),24))),d++}while(e.bubbleScroll&&f!==l&&(f=zi(f,!1)));Nh=c}},30),RS=function(e){var n=e.originalEvent,s=e.putSortable,i=e.dragEl,r=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(n){var c=s||r;a();var u=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,d=document.elementFromPoint(u.clientX,u.clientY);l(),c&&!c.el.contains(d)&&(o("spill"),this.onSpill({dragEl:i,putSortable:s}))}};function ym(){}ym.prototype={startIndex:null,dragStart:function(e){var n=e.oldDraggableIndex;this.startIndex=n},onSpill:function(e){var n=e.dragEl,s=e.putSortable;this.sortable.captureAnimationState(),s&&s.captureAnimationState();var i=No(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),s&&s.animateAll()},drop:RS};ps(ym,{pluginName:"revertOnSpill"});function bm(){}bm.prototype={onSpill:function(e){var n=e.dragEl,s=e.putSortable,i=s||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:RS};ps(bm,{pluginName:"removeOnSpill"});var is;function F9(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(n){var s=n.dragEl;is=s},dragOverValid:function(n){var s=n.completed,i=n.target,r=n.onMove,o=n.activeSortable,a=n.changed,l=n.cancel;if(o.options.swap){var c=this.sortable.el,u=this.options;if(i&&i!==c){var d=is;r(i)!==!1?(Ne(i,u.swapClass,!0),is=i):is=null,d&&d!==is&&Ne(d,u.swapClass,!1)}a(),s(!0),l()}},drop:function(n){var s=n.activeSortable,i=n.putSortable,r=n.dragEl,o=i||this.sortable,a=this.options;is&&Ne(is,a.swapClass,!1),is&&(a.swap||i&&i.options.swap)&&r!==is&&(o.captureAnimationState(),o!==s&&s.captureAnimationState(),V9(r,is),o.animateAll(),o!==s&&s.animateAll())},nulling:function(){is=null}},ps(t,{pluginName:"swap",eventProperties:function(){return{swapItem:is}}})}function V9(t,e){var n=t.parentNode,s=e.parentNode,i,r;!n||!s||n.isEqualNode(e)||s.isEqualNode(t)||(i=Ve(t),r=Ve(e),n.isEqualNode(s)&&i<r&&r++,n.insertBefore(e,n.children[i]),s.insertBefore(t,s.children[r]))}var Ft=[],Gn=[],ta,Ss,ea=!1,Rn=!1,Jr=!1,we,na,Xl;function H9(){function t(e){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));e.options.supportPointer?Jt(document,"pointerup",this._deselectMultiDrag):(Jt(document,"mouseup",this._deselectMultiDrag),Jt(document,"touchend",this._deselectMultiDrag)),Jt(document,"keydown",this._checkKeyDown),Jt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(i,r){var o="";Ft.length&&Ss===e?Ft.forEach(function(a,l){o+=(l?", ":"")+a.textContent}):o=r.textContent,i.setData("Text",o)}}}return t.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var s=n.dragEl;we=s},delayEnded:function(){this.isMultiDrag=~Ft.indexOf(we)},setupClone:function(n){var s=n.sortable,i=n.cancel;if(this.isMultiDrag){for(var r=0;r<Ft.length;r++)Gn.push(gm(Ft[r])),Gn[r].sortableIndex=Ft[r].sortableIndex,Gn[r].draggable=!1,Gn[r].style["will-change"]="",Ne(Gn[r],this.options.selectedClass,!1),Ft[r]===we&&Ne(Gn[r],this.options.chosenClass,!1);s._hideClone(),i()}},clone:function(n){var s=n.sortable,i=n.rootEl,r=n.dispatchSortableEvent,o=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Ft.length&&Ss===s&&(Nb(!0,i),r("clone"),o()))},showClone:function(n){var s=n.cloneNowShown,i=n.rootEl,r=n.cancel;this.isMultiDrag&&(Nb(!1,i),Gn.forEach(function(o){Et(o,"display","")}),s(),Xl=!1,r())},hideClone:function(n){var s=this;n.sortable;var i=n.cloneNowHidden,r=n.cancel;this.isMultiDrag&&(Gn.forEach(function(o){Et(o,"display","none"),s.options.removeCloneOnHide&&o.parentNode&&o.parentNode.removeChild(o)}),i(),Xl=!0,r())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Ss&&Ss.multiDrag._deselectMultiDrag(),Ft.forEach(function(s){s.sortableIndex=Ve(s)}),Ft=Ft.sort(function(s,i){return s.sortableIndex-i.sortableIndex}),Jr=!0},dragStarted:function(n){var s=this,i=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){Ft.forEach(function(o){o!==we&&Et(o,"position","absolute")});var r=xe(we,!1,!0,!0);Ft.forEach(function(o){o!==we&&Cb(o,r)}),Rn=!0,ea=!0}i.animateAll(function(){Rn=!1,ea=!1,s.options.animation&&Ft.forEach(function(o){uf(o)}),s.options.sort&&Yl()})}},dragOver:function(n){var s=n.target,i=n.completed,r=n.cancel;Rn&&~Ft.indexOf(s)&&(i(!1),r())},revert:function(n){var s=n.fromSortable,i=n.rootEl,r=n.sortable,o=n.dragRect;Ft.length>1&&(Ft.forEach(function(a){r.addAnimationState({target:a,rect:Rn?xe(a):o}),uf(a),a.fromRect=o,s.removeAnimationState(a)}),Rn=!1,U9(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(n){var s=n.sortable,i=n.isOwner,r=n.insertion,o=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(r){if(i&&o._hideClone(),ea=!1,c.animation&&Ft.length>1&&(Rn||!i&&!o.options.sort&&!l)){var u=xe(we,!1,!0,!0);Ft.forEach(function(f){f!==we&&(Cb(f,u),a.appendChild(f))}),Rn=!0}if(!i)if(Rn||Yl(),Ft.length>1){var d=Xl;o._showClone(s),o.options.animation&&!Xl&&d&&Gn.forEach(function(f){o.addAnimationState({target:f,rect:na}),f.fromRect=na,f.thisAnimationDuration=null})}else o._showClone(s)}},dragOverAnimationCapture:function(n){var s=n.dragRect,i=n.isOwner,r=n.activeSortable;if(Ft.forEach(function(a){a.thisAnimationDuration=null}),r.options.animation&&!i&&r.multiDrag.isMultiDrag){na=ps({},s);var o=Cr(we,!0);na.top-=o.f,na.left-=o.e}},dragOverAnimationComplete:function(){Rn&&(Rn=!1,Yl())},drop:function(n){var s=n.originalEvent,i=n.rootEl,r=n.parentEl,o=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,u=c||this.sortable;if(s){var d=this.options,f=r.children;if(!Jr)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ne(we,d.selectedClass,!~Ft.indexOf(we)),~Ft.indexOf(we))Ft.splice(Ft.indexOf(we),1),ta=null,la({sortable:o,rootEl:i,name:"deselect",targetEl:we});else{if(Ft.push(we),la({sortable:o,rootEl:i,name:"select",targetEl:we}),s.shiftKey&&ta&&o.el.contains(ta)){var h=Ve(ta),p=Ve(we);if(~h&&~p&&h!==p){var m,b;for(p>h?(b=h,m=p):(b=p,m=h+1);b<m;b++)~Ft.indexOf(f[b])||(Ne(f[b],d.selectedClass,!0),Ft.push(f[b]),la({sortable:o,rootEl:i,name:"select",targetEl:f[b]}))}}else ta=we;Ss=u}if(Jr&&this.isMultiDrag){if(Rn=!1,(r[Sn].options.sort||r!==i)&&Ft.length>1){var y=xe(we),_=Ve(we,":not(."+this.options.selectedClass+")");if(!ea&&d.animation&&(we.thisAnimationDuration=null),u.captureAnimationState(),!ea&&(d.animation&&(we.fromRect=y,Ft.forEach(function(v){if(v.thisAnimationDuration=null,v!==we){var S=Rn?xe(v):y;v.fromRect=S,u.addAnimationState({target:v,rect:S})}})),Yl(),Ft.forEach(function(v){f[_]?r.insertBefore(v,f[_]):r.appendChild(v),_++}),l===Ve(we))){var g=!1;Ft.forEach(function(v){if(v.sortableIndex!==Ve(v)){g=!0;return}}),g&&a("update")}Ft.forEach(function(v){uf(v)}),u.animateAll()}Ss=u}(i===r||c&&c.lastPutMode!=="clone")&&Gn.forEach(function(v){v.parentNode&&v.parentNode.removeChild(v)})}},nullingGlobal:function(){this.isMultiDrag=Jr=!1,Gn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),zt(document,"pointerup",this._deselectMultiDrag),zt(document,"mouseup",this._deselectMultiDrag),zt(document,"touchend",this._deselectMultiDrag),zt(document,"keydown",this._checkKeyDown),zt(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Jr<"u"&&Jr)&&Ss===this.sortable&&!(n&&ws(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Ft.length;){var s=Ft[0];Ne(s,this.options.selectedClass,!1),Ft.shift(),la({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:s})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},ps(t,{pluginName:"multiDrag",utils:{select:function(n){var s=n.parentNode[Sn];!s||!s.options.multiDrag||~Ft.indexOf(n)||(Ss&&Ss!==s&&(Ss.multiDrag._deselectMultiDrag(),Ss=s),Ne(n,s.options.selectedClass,!0),Ft.push(n))},deselect:function(n){var s=n.parentNode[Sn],i=Ft.indexOf(n);!s||!s.options.multiDrag||!~i||(Ne(n,s.options.selectedClass,!1),Ft.splice(i,1))}},eventProperties:function(){var n=this,s=[],i=[];return Ft.forEach(function(r){s.push({multiDragElement:r,index:r.sortableIndex});var o;Rn&&r!==we?o=-1:Rn?o=Ve(r,":not(."+n.options.selectedClass+")"):o=Ve(r),i.push({multiDragElement:r,index:o})}),{items:u9(Ft),clones:[].concat(Gn),oldIndicies:s,newIndicies:i}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function U9(t,e){Ft.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function Nb(t,e){Gn.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function Yl(){Ft.forEach(function(t){t!==we&&t.parentNode&&t.parentNode.removeChild(t)})}Pt.mount(new $9);Pt.mount(bm,ym);const j9=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:H9,Sortable:Pt,Swap:F9,default:Pt},Symbol.toStringTag,{value:"Module"})),B9=Bu(j9);var W9=hc.exports,Pb;function G9(){return Pb||(Pb=1,function(t,e){(function(s,i){t.exports=i(t2(),B9)})(typeof self<"u"?self:W9,function(n,s){return function(i){var r={};function o(a){if(r[a])return r[a].exports;var l=r[a]={i:a,l:!1,exports:{}};return i[a].call(l.exports,l,l.exports,o),l.l=!0,l.exports}return o.m=i,o.c=r,o.d=function(a,l,c){o.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,l){if(l&1&&(a=o(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var u in a)o.d(c,u,(function(d){return a[d]}).bind(null,u));return c},o.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(l,"a",l),l},o.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},o.p="",o(o.s="fb15")}({"00ee":function(i,r,o){var a=o("b622"),l=a("toStringTag"),c={};c[l]="z",i.exports=String(c)==="[object z]"},"0366":function(i,r,o){var a=o("1c0b");i.exports=function(l,c,u){if(a(l),c===void 0)return l;switch(u){case 0:return function(){return l.call(c)};case 1:return function(d){return l.call(c,d)};case 2:return function(d,f){return l.call(c,d,f)};case 3:return function(d,f,h){return l.call(c,d,f,h)}}return function(){return l.apply(c,arguments)}}},"057f":function(i,r,o){var a=o("fc6a"),l=o("241c").f,c={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return l(f)}catch{return u.slice()}};i.exports.f=function(h){return u&&c.call(h)=="[object Window]"?d(h):l(a(h))}},"06cf":function(i,r,o){var a=o("83ab"),l=o("d1e7"),c=o("5c6c"),u=o("fc6a"),d=o("c04e"),f=o("5135"),h=o("0cfb"),p=Object.getOwnPropertyDescriptor;r.f=a?p:function(b,y){if(b=u(b),y=d(y,!0),h)try{return p(b,y)}catch{}if(f(b,y))return c(!l.f.call(b,y),b[y])}},"0cfb":function(i,r,o){var a=o("83ab"),l=o("d039"),c=o("cc12");i.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,r,o){var a=o("23e7"),l=o("d58f").left,c=o("a640"),u=o("ae40"),d=c("reduce"),f=u("reduce",{1:0});a({target:"Array",proto:!0,forced:!d||!f},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,r,o){var a=o("c6b6"),l=o("9263");i.exports=function(c,u){var d=c.exec;if(typeof d=="function"){var f=d.call(c,u);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,u)}},"159b":function(i,r,o){var a=o("da84"),l=o("fdbc"),c=o("17c2"),u=o("9112");for(var d in l){var f=a[d],h=f&&f.prototype;if(h&&h.forEach!==c)try{u(h,"forEach",c)}catch{h.forEach=c}}},"17c2":function(i,r,o){var a=o("b727").forEach,l=o("a640"),c=o("ae40"),u=l("forEach"),d=c("forEach");i.exports=!u||!d?function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,r,o){var a=o("d066");i.exports=a("document","documentElement")},"1c0b":function(i,r){i.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(i,r,o){var a=o("b622"),l=a("iterator"),c=!1;try{var u=0,d={next:function(){return{done:!!u++}},return:function(){c=!0}};d[l]=function(){return this},Array.from(d,function(){throw 2})}catch{}i.exports=function(f,h){if(!h&&!c)return!1;var p=!1;try{var m={};m[l]=function(){return{next:function(){return{done:p=!0}}}},f(m)}catch{}return p}},"1d80":function(i,r){i.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(i,r,o){var a=o("d039"),l=o("b622"),c=o("2d00"),u=l("species");i.exports=function(d){return c>=51||!a(function(){var f=[],h=f.constructor={};return h[u]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(i,r,o){var a=o("a691"),l=Math.max,c=Math.min;i.exports=function(u,d){var f=a(u);return f<0?l(f+d,0):c(f,d)}},"23e7":function(i,r,o){var a=o("da84"),l=o("06cf").f,c=o("9112"),u=o("6eeb"),d=o("ce4e"),f=o("e893"),h=o("94ca");i.exports=function(p,m){var b=p.target,y=p.global,_=p.stat,g,v,S,k,N,R;if(y?v=a:_?v=a[b]||d(b,{}):v=(a[b]||{}).prototype,v)for(S in m){if(N=m[S],p.noTargetGet?(R=l(v,S),k=R&&R.value):k=v[S],g=h(y?S:b+(_?".":"#")+S,p.forced),!g&&k!==void 0){if(typeof N==typeof k)continue;f(N,k)}(p.sham||k&&k.sham)&&c(N,"sham",!0),u(v,S,N,p)}}},"241c":function(i,r,o){var a=o("ca84"),l=o("7839"),c=l.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(d){return a(d,c)}},"25f0":function(i,r,o){var a=o("6eeb"),l=o("825a"),c=o("d039"),u=o("ad6d"),d="toString",f=RegExp.prototype,h=f[d],p=c(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=d;(p||m)&&a(RegExp.prototype,d,function(){var y=l(this),_=String(y.source),g=y.flags,v=String(g===void 0&&y instanceof RegExp&&!("flags"in f)?u.call(y):g);return"/"+_+"/"+v},{unsafe:!0})},"2ca0":function(i,r,o){var a=o("23e7"),l=o("06cf").f,c=o("50c4"),u=o("5a34"),d=o("1d80"),f=o("ab13"),h=o("c430"),p="".startsWith,m=Math.min,b=f("startsWith"),y=!h&&!b&&!!function(){var _=l(String.prototype,"startsWith");return _&&!_.writable}();a({target:"String",proto:!0,forced:!y&&!b},{startsWith:function(g){var v=String(d(this));u(g);var S=c(m(arguments.length>1?arguments[1]:void 0,v.length)),k=String(g);return p?p.call(v,k,S):v.slice(S,S+k.length)===k}})},"2d00":function(i,r,o){var a=o("da84"),l=o("342f"),c=a.process,u=c&&c.versions,d=u&&u.v8,f,h;d?(f=d.split("."),h=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(h=f[1]))),i.exports=h&&+h},"342f":function(i,r,o){var a=o("d066");i.exports=a("navigator","userAgent")||""},"35a1":function(i,r,o){var a=o("f5df"),l=o("3f8c"),c=o("b622"),u=c("iterator");i.exports=function(d){if(d!=null)return d[u]||d["@@iterator"]||l[a(d)]}},"37e8":function(i,r,o){var a=o("83ab"),l=o("9bf2"),c=o("825a"),u=o("df75");i.exports=a?Object.defineProperties:function(f,h){c(f);for(var p=u(h),m=p.length,b=0,y;m>b;)l.f(f,y=p[b++],h[y]);return f}},"3bbe":function(i,r,o){var a=o("861d");i.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(i,r,o){var a=o("6547").charAt,l=o("69f3"),c=o("7dd0"),u="String Iterator",d=l.set,f=l.getterFor(u);c(String,"String",function(h){d(this,{type:u,string:String(h),index:0})},function(){var p=f(this),m=p.string,b=p.index,y;return b>=m.length?{value:void 0,done:!0}:(y=a(m,b),p.index+=y.length,{value:y,done:!1})})},"3f8c":function(i,r){i.exports={}},4160:function(i,r,o){var a=o("23e7"),l=o("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(i,r,o){var a=o("da84");i.exports=a},"44ad":function(i,r,o){var a=o("d039"),l=o("c6b6"),c="".split;i.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return l(u)=="String"?c.call(u,""):Object(u)}:Object},"44d2":function(i,r,o){var a=o("b622"),l=o("7c73"),c=o("9bf2"),u=a("unscopables"),d=Array.prototype;d[u]==null&&c.f(d,u,{configurable:!0,value:l(null)}),i.exports=function(f){d[u][f]=!0}},"44e7":function(i,r,o){var a=o("861d"),l=o("c6b6"),c=o("b622"),u=c("match");i.exports=function(d){var f;return a(d)&&((f=d[u])!==void 0?!!f:l(d)=="RegExp")}},4930:function(i,r,o){var a=o("d039");i.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(i,r,o){var a=o("fc6a"),l=o("50c4"),c=o("23cb"),u=function(d){return function(f,h,p){var m=a(f),b=l(m.length),y=c(p,b),_;if(d&&h!=h){for(;b>y;)if(_=m[y++],_!=_)return!0}else for(;b>y;y++)if((d||y in m)&&m[y]===h)return d||y||0;return!d&&-1}};i.exports={includes:u(!0),indexOf:u(!1)}},"4de4":function(i,r,o){var a=o("23e7"),l=o("b727").filter,c=o("1dde"),u=o("ae40"),d=c("filter"),f=u("filter");a({target:"Array",proto:!0,forced:!d||!f},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,r,o){var a=o("0366"),l=o("7b0b"),c=o("9bdd"),u=o("e95a"),d=o("50c4"),f=o("8418"),h=o("35a1");i.exports=function(m){var b=l(m),y=typeof this=="function"?this:Array,_=arguments.length,g=_>1?arguments[1]:void 0,v=g!==void 0,S=h(b),k=0,N,R,T,D,j,F;if(v&&(g=a(g,_>2?arguments[2]:void 0,2)),S!=null&&!(y==Array&&u(S)))for(D=S.call(b),j=D.next,R=new y;!(T=j.call(D)).done;k++)F=v?c(D,g,[T.value,k],!0):T.value,f(R,k,F);else for(N=d(b.length),R=new y(N);N>k;k++)F=v?g(b[k],k):b[k],f(R,k,F);return R.length=k,R}},"4fad":function(i,r,o){var a=o("23e7"),l=o("6f53").entries;a({target:"Object",stat:!0},{entries:function(u){return l(u)}})},"50c4":function(i,r,o){var a=o("a691"),l=Math.min;i.exports=function(c){return c>0?l(a(c),9007199254740991):0}},5135:function(i,r){var o={}.hasOwnProperty;i.exports=function(a,l){return o.call(a,l)}},5319:function(i,r,o){var a=o("d784"),l=o("825a"),c=o("7b0b"),u=o("50c4"),d=o("a691"),f=o("1d80"),h=o("8aa5"),p=o("14c3"),m=Math.max,b=Math.min,y=Math.floor,_=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,v=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,k,N,R){var T=R.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,D=R.REPLACE_KEEPS_$0,j=T?"$":"$0";return[function(Y,ot){var G=f(this),tt=Y==null?void 0:Y[S];return tt!==void 0?tt.call(Y,G,ot):k.call(String(G),Y,ot)},function(U,Y){if(!T&&D||typeof Y=="string"&&Y.indexOf(j)===-1){var ot=N(k,U,this,Y);if(ot.done)return ot.value}var G=l(U),tt=String(this),at=typeof Y=="function";at||(Y=String(Y));var Tt=G.global;if(Tt){var qt=G.unicode;G.lastIndex=0}for(var Vt=[];;){var Bt=p(G,tt);if(Bt===null||(Vt.push(Bt),!Tt))break;var ge=String(Bt[0]);ge===""&&(G.lastIndex=h(tt,u(G.lastIndex),qt))}for(var ve="",Se=0,Wt=0;Wt<Vt.length;Wt++){Bt=Vt[Wt];for(var X=String(Bt[0]),dt=m(b(d(Bt.index),tt.length),0),ct=[],bt=1;bt<Bt.length;bt++)ct.push(v(Bt[bt]));var Ht=Bt.groups;if(at){var Xt=[X].concat(ct,dt,tt);Ht!==void 0&&Xt.push(Ht);var O=String(Y.apply(void 0,Xt))}else O=F(X,tt,dt,ct,Ht,Y);dt>=Se&&(ve+=tt.slice(Se,dt)+O,Se=dt+X.length)}return ve+tt.slice(Se)}];function F(U,Y,ot,G,tt,at){var Tt=ot+U.length,qt=G.length,Vt=g;return tt!==void 0&&(tt=c(tt),Vt=_),k.call(at,Vt,function(Bt,ge){var ve;switch(ge.charAt(0)){case"$":return"$";case"&":return U;case"`":return Y.slice(0,ot);case"'":return Y.slice(Tt);case"<":ve=tt[ge.slice(1,-1)];break;default:var Se=+ge;if(Se===0)return Bt;if(Se>qt){var Wt=y(Se/10);return Wt===0?Bt:Wt<=qt?G[Wt-1]===void 0?ge.charAt(1):G[Wt-1]+ge.charAt(1):Bt}ve=G[Se-1]}return ve===void 0?"":ve})}})},5692:function(i,r,o){var a=o("c430"),l=o("c6cd");(i.exports=function(c,u){return l[c]||(l[c]=u!==void 0?u:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,r,o){var a=o("d066"),l=o("241c"),c=o("7418"),u=o("825a");i.exports=a("Reflect","ownKeys")||function(f){var h=l.f(u(f)),p=c.f;return p?h.concat(p(f)):h}},"5a34":function(i,r,o){var a=o("44e7");i.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(i,r){i.exports=function(o,a){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:a}}},"5db7":function(i,r,o){var a=o("23e7"),l=o("a2bf"),c=o("7b0b"),u=o("50c4"),d=o("1c0b"),f=o("65f0");a({target:"Array",proto:!0},{flatMap:function(p){var m=c(this),b=u(m.length),y;return d(p),y=f(m,0),y.length=l(y,m,m,b,0,1,p,arguments.length>1?arguments[1]:void 0),y}})},6547:function(i,r,o){var a=o("a691"),l=o("1d80"),c=function(u){return function(d,f){var h=String(l(d)),p=a(f),m=h.length,b,y;return p<0||p>=m?u?"":void 0:(b=h.charCodeAt(p),b<55296||b>56319||p+1===m||(y=h.charCodeAt(p+1))<56320||y>57343?u?h.charAt(p):b:u?h.slice(p,p+2):(b-55296<<10)+(y-56320)+65536)}};i.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(i,r,o){var a=o("861d"),l=o("e8b5"),c=o("b622"),u=c("species");i.exports=function(d,f){var h;return l(d)&&(h=d.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:a(h)&&(h=h[u],h===null&&(h=void 0))),new(h===void 0?Array:h)(f===0?0:f)}},"69f3":function(i,r,o){var a=o("7f9a"),l=o("da84"),c=o("861d"),u=o("9112"),d=o("5135"),f=o("f772"),h=o("d012"),p=l.WeakMap,m,b,y,_=function(T){return y(T)?b(T):m(T,{})},g=function(T){return function(D){var j;if(!c(D)||(j=b(D)).type!==T)throw TypeError("Incompatible receiver, "+T+" required");return j}};if(a){var v=new p,S=v.get,k=v.has,N=v.set;m=function(T,D){return N.call(v,T,D),D},b=function(T){return S.call(v,T)||{}},y=function(T){return k.call(v,T)}}else{var R=f("state");h[R]=!0,m=function(T,D){return u(T,R,D),D},b=function(T){return d(T,R)?T[R]:{}},y=function(T){return d(T,R)}}i.exports={set:m,get:b,has:y,enforce:_,getterFor:g}},"6eeb":function(i,r,o){var a=o("da84"),l=o("9112"),c=o("5135"),u=o("ce4e"),d=o("8925"),f=o("69f3"),h=f.get,p=f.enforce,m=String(String).split("String");(i.exports=function(b,y,_,g){var v=g?!!g.unsafe:!1,S=g?!!g.enumerable:!1,k=g?!!g.noTargetGet:!1;if(typeof _=="function"&&(typeof y=="string"&&!c(_,"name")&&l(_,"name",y),p(_).source=m.join(typeof y=="string"?y:"")),b===a){S?b[y]=_:u(y,_);return}else v?!k&&b[y]&&(S=!0):delete b[y];S?b[y]=_:l(b,y,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||d(this)})},"6f53":function(i,r,o){var a=o("83ab"),l=o("df75"),c=o("fc6a"),u=o("d1e7").f,d=function(f){return function(h){for(var p=c(h),m=l(p),b=m.length,y=0,_=[],g;b>y;)g=m[y++],(!a||u.call(p,g))&&_.push(f?[g,p[g]]:p[g]);return _}};i.exports={entries:d(!0),values:d(!1)}},"73d9":function(i,r,o){var a=o("44d2");a("flatMap")},7418:function(i,r){r.f=Object.getOwnPropertySymbols},"746f":function(i,r,o){var a=o("428f"),l=o("5135"),c=o("e538"),u=o("9bf2").f;i.exports=function(d){var f=a.Symbol||(a.Symbol={});l(f,d)||u(f,d,{value:c.f(d)})}},7839:function(i,r){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,r,o){var a=o("1d80");i.exports=function(l){return Object(a(l))}},"7c73":function(i,r,o){var a=o("825a"),l=o("37e8"),c=o("7839"),u=o("d012"),d=o("1be4"),f=o("cc12"),h=o("f772"),p=">",m="<",b="prototype",y="script",_=h("IE_PROTO"),g=function(){},v=function(T){return m+y+p+T+m+"/"+y+p},S=function(T){T.write(v("")),T.close();var D=T.parentWindow.Object;return T=null,D},k=function(){var T=f("iframe"),D="java"+y+":",j;return T.style.display="none",d.appendChild(T),T.src=String(D),j=T.contentWindow.document,j.open(),j.write(v("document.F=Object")),j.close(),j.F},N,R=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}R=N?S(N):k();for(var T=c.length;T--;)delete R[b][c[T]];return R()};u[_]=!0,i.exports=Object.create||function(D,j){var F;return D!==null?(g[b]=a(D),F=new g,g[b]=null,F[_]=D):F=R(),j===void 0?F:l(F,j)}},"7dd0":function(i,r,o){var a=o("23e7"),l=o("9ed3"),c=o("e163"),u=o("d2bb"),d=o("d44e"),f=o("9112"),h=o("6eeb"),p=o("b622"),m=o("c430"),b=o("3f8c"),y=o("ae93"),_=y.IteratorPrototype,g=y.BUGGY_SAFARI_ITERATORS,v=p("iterator"),S="keys",k="values",N="entries",R=function(){return this};i.exports=function(T,D,j,F,U,Y,ot){l(j,D,F);var G=function(Wt){if(Wt===U&&Vt)return Vt;if(!g&&Wt in Tt)return Tt[Wt];switch(Wt){case S:return function(){return new j(this,Wt)};case k:return function(){return new j(this,Wt)};case N:return function(){return new j(this,Wt)}}return function(){return new j(this)}},tt=D+" Iterator",at=!1,Tt=T.prototype,qt=Tt[v]||Tt["@@iterator"]||U&&Tt[U],Vt=!g&&qt||G(U),Bt=D=="Array"&&Tt.entries||qt,ge,ve,Se;if(Bt&&(ge=c(Bt.call(new T)),_!==Object.prototype&&ge.next&&(!m&&c(ge)!==_&&(u?u(ge,_):typeof ge[v]!="function"&&f(ge,v,R)),d(ge,tt,!0,!0),m&&(b[tt]=R))),U==k&&qt&&qt.name!==k&&(at=!0,Vt=function(){return qt.call(this)}),(!m||ot)&&Tt[v]!==Vt&&f(Tt,v,Vt),b[D]=Vt,U)if(ve={values:G(k),keys:Y?Vt:G(S),entries:G(N)},ot)for(Se in ve)(g||at||!(Se in Tt))&&h(Tt,Se,ve[Se]);else a({target:D,proto:!0,forced:g||at},ve);return ve}},"7f9a":function(i,r,o){var a=o("da84"),l=o("8925"),c=a.WeakMap;i.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(i,r,o){var a=o("861d");i.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(i,r,o){var a=o("d039");i.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(i,r,o){var a=o("c04e"),l=o("9bf2"),c=o("5c6c");i.exports=function(u,d,f){var h=a(d);h in u?l.f(u,h,c(0,f)):u[h]=f}},"861d":function(i,r){i.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},8875:function(i,r,o){var a,l,c;(function(u,d){l=[],a=d,c=typeof a=="function"?a.apply(r,l):a,c!==void 0&&(i.exports=c)})(typeof self<"u"?self:this,function(){function u(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==u&&document.currentScript)return document.currentScript;try{throw new Error}catch(N){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(N.stack)||h.exec(N.stack),m=p&&p[1]||!1,b=p&&p[2]||!1,y=document.location.href.replace(document.location.hash,""),_,g,v,S=document.getElementsByTagName("script");m===y&&(_=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=_.replace(g,"$1").trim());for(var k=0;k<S.length;k++)if(S[k].readyState==="interactive"||S[k].src===m||m===y&&S[k].innerHTML&&S[k].innerHTML.trim()===v)return S[k];return null}}return u})},8925:function(i,r,o){var a=o("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),i.exports=a.inspectSource},"8aa5":function(i,r,o){var a=o("6547").charAt;i.exports=function(l,c,u){return c+(u?a(l,c).length:1)}},"8bbf":function(i,r){i.exports=n},"90e3":function(i,r){var o=0,a=Math.random();i.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++o+a).toString(36)}},9112:function(i,r,o){var a=o("83ab"),l=o("9bf2"),c=o("5c6c");i.exports=a?function(u,d,f){return l.f(u,d,c(1,f))}:function(u,d,f){return u[d]=f,u}},9263:function(i,r,o){var a=o("ad6d"),l=o("9f7f"),c=RegExp.prototype.exec,u=String.prototype.replace,d=c,f=function(){var b=/a/,y=/b*/g;return c.call(b,"a"),c.call(y,"a"),b.lastIndex!==0||y.lastIndex!==0}(),h=l.UNSUPPORTED_Y||l.BROKEN_CARET,p=/()??/.exec("")[1]!==void 0,m=f||p||h;m&&(d=function(y){var _=this,g,v,S,k,N=h&&_.sticky,R=a.call(_),T=_.source,D=0,j=y;return N&&(R=R.replace("y",""),R.indexOf("g")===-1&&(R+="g"),j=String(y).slice(_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&y[_.lastIndex-1]!==`
`)&&(T="(?: "+T+")",j=" "+j,D++),v=new RegExp("^(?:"+T+")",R)),p&&(v=new RegExp("^"+T+"$(?!\\s)",R)),f&&(g=_.lastIndex),S=c.call(N?v:_,j),N?S?(S.input=S.input.slice(D),S[0]=S[0].slice(D),S.index=_.lastIndex,_.lastIndex+=S[0].length):_.lastIndex=0:f&&S&&(_.lastIndex=_.global?S.index+S[0].length:g),p&&S&&S.length>1&&u.call(S[0],v,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(S[k]=void 0)}),S}),i.exports=d},"94ca":function(i,r,o){var a=o("d039"),l=/#|\.prototype\./,c=function(p,m){var b=d[u(p)];return b==h?!0:b==f?!1:typeof m=="function"?a(m):!!m},u=c.normalize=function(p){return String(p).replace(l,".").toLowerCase()},d=c.data={},f=c.NATIVE="N",h=c.POLYFILL="P";i.exports=c},"99af":function(i,r,o){var a=o("23e7"),l=o("d039"),c=o("e8b5"),u=o("861d"),d=o("7b0b"),f=o("50c4"),h=o("8418"),p=o("65f0"),m=o("1dde"),b=o("b622"),y=o("2d00"),_=b("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",S=y>=51||!l(function(){var T=[];return T[_]=!1,T.concat()[0]!==T}),k=m("concat"),N=function(T){if(!u(T))return!1;var D=T[_];return D!==void 0?!!D:c(T)},R=!S||!k;a({target:"Array",proto:!0,forced:R},{concat:function(D){var j=d(this),F=p(j,0),U=0,Y,ot,G,tt,at;for(Y=-1,G=arguments.length;Y<G;Y++)if(at=Y===-1?j:arguments[Y],N(at)){if(tt=f(at.length),U+tt>g)throw TypeError(v);for(ot=0;ot<tt;ot++,U++)ot in at&&h(F,U,at[ot])}else{if(U>=g)throw TypeError(v);h(F,U++,at)}return F.length=U,F}})},"9bdd":function(i,r,o){var a=o("825a");i.exports=function(l,c,u,d){try{return d?c(a(u)[0],u[1]):c(u)}catch(h){var f=l.return;throw f!==void 0&&a(f.call(l)),h}}},"9bf2":function(i,r,o){var a=o("83ab"),l=o("0cfb"),c=o("825a"),u=o("c04e"),d=Object.defineProperty;r.f=a?d:function(h,p,m){if(c(h),p=u(p,!0),c(m),l)try{return d(h,p,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[p]=m.value),h}},"9ed3":function(i,r,o){var a=o("ae93").IteratorPrototype,l=o("7c73"),c=o("5c6c"),u=o("d44e"),d=o("3f8c"),f=function(){return this};i.exports=function(h,p,m){var b=p+" Iterator";return h.prototype=l(a,{next:c(1,m)}),u(h,b,!1,!0),d[b]=f,h}},"9f7f":function(i,r,o){var a=o("d039");function l(c,u){return RegExp(c,u)}r.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),r.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(i,r,o){var a=o("e8b5"),l=o("50c4"),c=o("0366"),u=function(d,f,h,p,m,b,y,_){for(var g=m,v=0,S=y?c(y,_,3):!1,k;v<p;){if(v in h){if(k=S?S(h[v],v,f):h[v],b>0&&a(k))g=u(d,f,k,l(k.length),g,b-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[g]=k}g++}v++}return g};i.exports=u},a352:function(i,r){i.exports=s},a434:function(i,r,o){var a=o("23e7"),l=o("23cb"),c=o("a691"),u=o("50c4"),d=o("7b0b"),f=o("65f0"),h=o("8418"),p=o("1dde"),m=o("ae40"),b=p("splice"),y=m("splice",{ACCESSORS:!0,0:0,1:2}),_=Math.max,g=Math.min,v=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!y},{splice:function(N,R){var T=d(this),D=u(T.length),j=l(N,D),F=arguments.length,U,Y,ot,G,tt,at;if(F===0?U=Y=0:F===1?(U=0,Y=D-j):(U=F-2,Y=g(_(c(R),0),D-j)),D+U-Y>v)throw TypeError(S);for(ot=f(T,Y),G=0;G<Y;G++)tt=j+G,tt in T&&h(ot,G,T[tt]);if(ot.length=Y,U<Y){for(G=j;G<D-Y;G++)tt=G+Y,at=G+U,tt in T?T[at]=T[tt]:delete T[at];for(G=D;G>D-Y+U;G--)delete T[G-1]}else if(U>Y)for(G=D-Y;G>j;G--)tt=G+Y-1,at=G+U-1,tt in T?T[at]=T[tt]:delete T[at];for(G=0;G<U;G++)T[G+j]=arguments[G+2];return T.length=D-Y+U,ot}})},a4d3:function(i,r,o){var a=o("23e7"),l=o("da84"),c=o("d066"),u=o("c430"),d=o("83ab"),f=o("4930"),h=o("fdbf"),p=o("d039"),m=o("5135"),b=o("e8b5"),y=o("861d"),_=o("825a"),g=o("7b0b"),v=o("fc6a"),S=o("c04e"),k=o("5c6c"),N=o("7c73"),R=o("df75"),T=o("241c"),D=o("057f"),j=o("7418"),F=o("06cf"),U=o("9bf2"),Y=o("d1e7"),ot=o("9112"),G=o("6eeb"),tt=o("5692"),at=o("f772"),Tt=o("d012"),qt=o("90e3"),Vt=o("b622"),Bt=o("e538"),ge=o("746f"),ve=o("d44e"),Se=o("69f3"),Wt=o("b727").forEach,X=at("hidden"),dt="Symbol",ct="prototype",bt=Vt("toPrimitive"),Ht=Se.set,Xt=Se.getterFor(dt),O=Object[ct],P=l.Symbol,W=c("JSON","stringify"),nt=F.f,Q=U.f,C=D.f,I=Y.f,V=tt("symbols"),q=tt("op-symbols"),et=tt("string-to-symbol-registry"),lt=tt("symbol-to-string-registry"),L=tt("wks"),K=l.QObject,ht=!K||!K[ct]||!K[ct].findChild,St=d&&p(function(){return N(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a!=7})?function(Nt,wt,It){var te=nt(O,wt);te&&delete O[wt],Q(Nt,wt,It),te&&Nt!==O&&Q(O,wt,te)}:Q,Gt=function(Nt,wt){var It=V[Nt]=N(P[ct]);return Ht(It,{type:dt,tag:Nt,description:wt}),d||(It.description=wt),It},H=h?function(Nt){return typeof Nt=="symbol"}:function(Nt){return Object(Nt)instanceof P},B=function(wt,It,te){wt===O&&B(q,It,te),_(wt);var le=S(It,!0);return _(te),m(V,le)?(te.enumerable?(m(wt,X)&&wt[X][le]&&(wt[X][le]=!1),te=N(te,{enumerable:k(0,!1)})):(m(wt,X)||Q(wt,X,k(1,{})),wt[X][le]=!0),St(wt,le,te)):Q(wt,le,te)},z=function(wt,It){_(wt);var te=v(It),le=R(te).concat(Rt(te));return Wt(le,function(Dn){(!d||pt.call(te,Dn))&&B(wt,Dn,te[Dn])}),wt},rt=function(wt,It){return It===void 0?N(wt):z(N(wt),It)},pt=function(wt){var It=S(wt,!0),te=I.call(this,It);return this===O&&m(V,It)&&!m(q,It)?!1:te||!m(this,It)||!m(V,It)||m(this,X)&&this[X][It]?te:!0},At=function(wt,It){var te=v(wt),le=S(It,!0);if(!(te===O&&m(V,le)&&!m(q,le))){var Dn=nt(te,le);return Dn&&m(V,le)&&!(m(te,X)&&te[X][le])&&(Dn.enumerable=!0),Dn}},$t=function(wt){var It=C(v(wt)),te=[];return Wt(It,function(le){!m(V,le)&&!m(Tt,le)&&te.push(le)}),te},Rt=function(wt){var It=wt===O,te=C(It?q:v(wt)),le=[];return Wt(te,function(Dn){m(V,Dn)&&(!It||m(O,Dn))&&le.push(V[Dn])}),le};if(f||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var wt=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),It=qt(wt),te=function(le){this===O&&te.call(q,le),m(this,X)&&m(this[X],It)&&(this[X][It]=!1),St(this,It,k(1,le))};return d&&ht&&St(O,It,{configurable:!0,set:te}),Gt(It,wt)},G(P[ct],"toString",function(){return Xt(this).tag}),G(P,"withoutSetter",function(Nt){return Gt(qt(Nt),Nt)}),Y.f=pt,U.f=B,F.f=At,T.f=D.f=$t,j.f=Rt,Bt.f=function(Nt){return Gt(Vt(Nt),Nt)},d&&(Q(P[ct],"description",{configurable:!0,get:function(){return Xt(this).description}}),u||G(O,"propertyIsEnumerable",pt,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:P}),Wt(R(L),function(Nt){ge(Nt)}),a({target:dt,stat:!0,forced:!f},{for:function(Nt){var wt=String(Nt);if(m(et,wt))return et[wt];var It=P(wt);return et[wt]=It,lt[It]=wt,It},keyFor:function(wt){if(!H(wt))throw TypeError(wt+" is not a symbol");if(m(lt,wt))return lt[wt]},useSetter:function(){ht=!0},useSimple:function(){ht=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!d},{create:rt,defineProperty:B,defineProperties:z,getOwnPropertyDescriptor:At}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:$t,getOwnPropertySymbols:Rt}),a({target:"Object",stat:!0,forced:p(function(){j.f(1)})},{getOwnPropertySymbols:function(wt){return j.f(g(wt))}}),W){var ue=!f||p(function(){var Nt=P();return W([Nt])!="[null]"||W({a:Nt})!="{}"||W(Object(Nt))!="{}"});a({target:"JSON",stat:!0,forced:ue},{stringify:function(wt,It,te){for(var le=[wt],Dn=1,_d;arguments.length>Dn;)le.push(arguments[Dn++]);if(_d=It,!(!y(It)&&wt===void 0||H(wt)))return b(It)||(It=function(VS,_l){if(typeof _d=="function"&&(_l=_d.call(this,VS,_l)),!H(_l))return _l}),le[1]=It,W.apply(null,le)}})}P[ct][bt]||ot(P[ct],bt,P[ct].valueOf),ve(P,dt),Tt[X]=!0},a630:function(i,r,o){var a=o("23e7"),l=o("4df4"),c=o("1c7e"),u=!c(function(d){Array.from(d)});a({target:"Array",stat:!0,forced:u},{from:l})},a640:function(i,r,o){var a=o("d039");i.exports=function(l,c){var u=[][l];return!!u&&a(function(){u.call(null,c||function(){throw 1},1)})}},a691:function(i,r){var o=Math.ceil,a=Math.floor;i.exports=function(l){return isNaN(l=+l)?0:(l>0?a:o)(l)}},ab13:function(i,r,o){var a=o("b622"),l=a("match");i.exports=function(c){var u=/./;try{"/./"[c](u)}catch{try{return u[l]=!1,"/./"[c](u)}catch{}}return!1}},ac1f:function(i,r,o){var a=o("23e7"),l=o("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(i,r,o){var a=o("825a");i.exports=function(){var l=a(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(i,r,o){var a=o("83ab"),l=o("d039"),c=o("5135"),u=Object.defineProperty,d={},f=function(h){throw h};i.exports=function(h,p){if(c(d,h))return d[h];p||(p={});var m=[][h],b=c(p,"ACCESSORS")?p.ACCESSORS:!1,y=c(p,0)?p[0]:f,_=c(p,1)?p[1]:void 0;return d[h]=!!m&&!l(function(){if(b&&!a)return!0;var g={length:-1};b?u(g,1,{enumerable:!0,get:f}):g[1]=1,m.call(g,y,_)})}},ae93:function(i,r,o){var a=o("e163"),l=o("9112"),c=o("5135"),u=o("b622"),d=o("c430"),f=u("iterator"),h=!1,p=function(){return this},m,b,y;[].keys&&(y=[].keys(),"next"in y?(b=a(a(y)),b!==Object.prototype&&(m=b)):h=!0),m==null&&(m={}),!d&&!c(m,f)&&l(m,f,p),i.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:h}},b041:function(i,r,o){var a=o("00ee"),l=o("f5df");i.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(i,r,o){var a=o("83ab"),l=o("9bf2").f,c=Function.prototype,u=c.toString,d=/^\s*function ([^ (]*)/,f="name";a&&!(f in c)&&l(c,f,{configurable:!0,get:function(){try{return u.call(this).match(d)[1]}catch{return""}}})},b622:function(i,r,o){var a=o("da84"),l=o("5692"),c=o("5135"),u=o("90e3"),d=o("4930"),f=o("fdbf"),h=l("wks"),p=a.Symbol,m=f?p:p&&p.withoutSetter||u;i.exports=function(b){return c(h,b)||(d&&c(p,b)?h[b]=p[b]:h[b]=m("Symbol."+b)),h[b]}},b64b:function(i,r,o){var a=o("23e7"),l=o("7b0b"),c=o("df75"),u=o("d039"),d=u(function(){c(1)});a({target:"Object",stat:!0,forced:d},{keys:function(h){return c(l(h))}})},b727:function(i,r,o){var a=o("0366"),l=o("44ad"),c=o("7b0b"),u=o("50c4"),d=o("65f0"),f=[].push,h=function(p){var m=p==1,b=p==2,y=p==3,_=p==4,g=p==6,v=p==5||g;return function(S,k,N,R){for(var T=c(S),D=l(T),j=a(k,N,3),F=u(D.length),U=0,Y=R||d,ot=m?Y(S,F):b?Y(S,0):void 0,G,tt;F>U;U++)if((v||U in D)&&(G=D[U],tt=j(G,U,T),p)){if(m)ot[U]=tt;else if(tt)switch(p){case 3:return!0;case 5:return G;case 6:return U;case 2:f.call(ot,G)}else if(_)return!1}return g?-1:y||_?_:ot}};i.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(i,r,o){var a=o("861d");i.exports=function(l,c){if(!a(l))return l;var u,d;if(c&&typeof(u=l.toString)=="function"&&!a(d=u.call(l))||typeof(u=l.valueOf)=="function"&&!a(d=u.call(l))||!c&&typeof(u=l.toString)=="function"&&!a(d=u.call(l)))return d;throw TypeError("Can't convert object to primitive value")}},c430:function(i,r){i.exports=!1},c6b6:function(i,r){var o={}.toString;i.exports=function(a){return o.call(a).slice(8,-1)}},c6cd:function(i,r,o){var a=o("da84"),l=o("ce4e"),c="__core-js_shared__",u=a[c]||l(c,{});i.exports=u},c740:function(i,r,o){var a=o("23e7"),l=o("b727").findIndex,c=o("44d2"),u=o("ae40"),d="findIndex",f=!0,h=u(d);d in[]&&Array(1)[d](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!h},{findIndex:function(m){return l(this,m,arguments.length>1?arguments[1]:void 0)}}),c(d)},c8ba:function(i,r){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}i.exports=o},c975:function(i,r,o){var a=o("23e7"),l=o("4d64").indexOf,c=o("a640"),u=o("ae40"),d=[].indexOf,f=!!d&&1/[1].indexOf(1,-0)<0,h=c("indexOf"),p=u("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!h||!p},{indexOf:function(b){return f?d.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(i,r,o){var a=o("5135"),l=o("fc6a"),c=o("4d64").indexOf,u=o("d012");i.exports=function(d,f){var h=l(d),p=0,m=[],b;for(b in h)!a(u,b)&&a(h,b)&&m.push(b);for(;f.length>p;)a(h,b=f[p++])&&(~c(m,b)||m.push(b));return m}},caad:function(i,r,o){var a=o("23e7"),l=o("4d64").includes,c=o("44d2"),u=o("ae40"),d=u("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!d},{includes:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(i,r,o){var a=o("da84"),l=o("861d"),c=a.document,u=l(c)&&l(c.createElement);i.exports=function(d){return u?c.createElement(d):{}}},ce4e:function(i,r,o){var a=o("da84"),l=o("9112");i.exports=function(c,u){try{l(a,c,u)}catch{a[c]=u}return u}},d012:function(i,r){i.exports={}},d039:function(i,r){i.exports=function(o){try{return!!o()}catch{return!0}}},d066:function(i,r,o){var a=o("428f"),l=o("da84"),c=function(u){return typeof u=="function"?u:void 0};i.exports=function(u,d){return arguments.length<2?c(a[u])||c(l[u]):a[u]&&a[u][d]||l[u]&&l[u][d]}},d1e7:function(i,r,o){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);r.f=c?function(d){var f=l(this,d);return!!f&&f.enumerable}:a},d28b:function(i,r,o){var a=o("746f");a("iterator")},d2bb:function(i,r,o){var a=o("825a"),l=o("3bbe");i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,u={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(u,[]),c=u instanceof Array}catch{}return function(h,p){return a(h),l(p),c?d.call(h,p):h.__proto__=p,h}}():void 0)},d3b7:function(i,r,o){var a=o("00ee"),l=o("6eeb"),c=o("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(i,r,o){var a=o("9bf2").f,l=o("5135"),c=o("b622"),u=c("toStringTag");i.exports=function(d,f,h){d&&!l(d=h?d:d.prototype,u)&&a(d,u,{configurable:!0,value:f})}},d58f:function(i,r,o){var a=o("1c0b"),l=o("7b0b"),c=o("44ad"),u=o("50c4"),d=function(f){return function(h,p,m,b){a(p);var y=l(h),_=c(y),g=u(y.length),v=f?g-1:0,S=f?-1:1;if(m<2)for(;;){if(v in _){b=_[v],v+=S;break}if(v+=S,f?v<0:g<=v)throw TypeError("Reduce of empty array with no initial value")}for(;f?v>=0:g>v;v+=S)v in _&&(b=p(b,_[v],v,y));return b}};i.exports={left:d(!1),right:d(!0)}},d784:function(i,r,o){o("ac1f");var a=o("6eeb"),l=o("d039"),c=o("b622"),u=o("9263"),d=o("9112"),f=c("species"),h=!l(function(){var _=/./;return _.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(_,"$<a>")!=="7"}),p=function(){return"a".replace(/./,"$0")==="$0"}(),m=c("replace"),b=function(){return/./[m]?/./[m]("a","$0")==="":!1}(),y=!l(function(){var _=/(?:)/,g=_.exec;_.exec=function(){return g.apply(this,arguments)};var v="ab".split(_);return v.length!==2||v[0]!=="a"||v[1]!=="b"});i.exports=function(_,g,v,S){var k=c(_),N=!l(function(){var U={};return U[k]=function(){return 7},""[_](U)!=7}),R=N&&!l(function(){var U=!1,Y=/a/;return _==="split"&&(Y={},Y.constructor={},Y.constructor[f]=function(){return Y},Y.flags="",Y[k]=/./[k]),Y.exec=function(){return U=!0,null},Y[k](""),!U});if(!N||!R||_==="replace"&&!(h&&p&&!b)||_==="split"&&!y){var T=/./[k],D=v(k,""[_],function(U,Y,ot,G,tt){return Y.exec===u?N&&!tt?{done:!0,value:T.call(Y,ot,G)}:{done:!0,value:U.call(ot,Y,G)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),j=D[0],F=D[1];a(String.prototype,_,j),a(RegExp.prototype,k,g==2?function(U,Y){return F.call(U,this,Y)}:function(U){return F.call(U,this)})}S&&d(RegExp.prototype[k],"sham",!0)}},d81d:function(i,r,o){var a=o("23e7"),l=o("b727").map,c=o("1dde"),u=o("ae40"),d=c("map"),f=u("map");a({target:"Array",proto:!0,forced:!d||!f},{map:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},da84:function(i,r,o){(function(a){var l=function(c){return c&&c.Math==Math&&c};i.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,o("c8ba"))},dbb4:function(i,r,o){var a=o("23e7"),l=o("83ab"),c=o("56ef"),u=o("fc6a"),d=o("06cf"),f=o("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(p){for(var m=u(p),b=d.f,y=c(m),_={},g=0,v,S;y.length>g;)S=b(m,v=y[g++]),S!==void 0&&f(_,v,S);return _}})},dbf1:function(i,r,o){(function(a){o.d(r,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,o("c8ba"))},ddb0:function(i,r,o){var a=o("da84"),l=o("fdbc"),c=o("e260"),u=o("9112"),d=o("b622"),f=d("iterator"),h=d("toStringTag"),p=c.values;for(var m in l){var b=a[m],y=b&&b.prototype;if(y){if(y[f]!==p)try{u(y,f,p)}catch{y[f]=p}if(y[h]||u(y,h,m),l[m]){for(var _ in c)if(y[_]!==c[_])try{u(y,_,c[_])}catch{y[_]=c[_]}}}}},df75:function(i,r,o){var a=o("ca84"),l=o("7839");i.exports=Object.keys||function(u){return a(u,l)}},e01a:function(i,r,o){var a=o("23e7"),l=o("83ab"),c=o("da84"),u=o("5135"),d=o("861d"),f=o("9bf2").f,h=o("e893"),p=c.Symbol;if(l&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var m={},b=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),N=this instanceof b?new p(k):k===void 0?p():p(k);return k===""&&(m[N]=!0),N};h(b,p);var y=b.prototype=p.prototype;y.constructor=b;var _=y.toString,g=String(p("test"))=="Symbol(test)",v=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var k=d(this)?this.valueOf():this,N=_.call(k);if(u(m,k))return"";var R=g?N.slice(7,-1):N.replace(v,"$1");return R===""?void 0:R}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(i,r,o){var a=o("5135"),l=o("7b0b"),c=o("f772"),u=o("e177"),d=c("IE_PROTO"),f=Object.prototype;i.exports=u?Object.getPrototypeOf:function(h){return h=l(h),a(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?f:null}},e177:function(i,r,o){var a=o("d039");i.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(i,r,o){var a=o("fc6a"),l=o("44d2"),c=o("3f8c"),u=o("69f3"),d=o("7dd0"),f="Array Iterator",h=u.set,p=u.getterFor(f);i.exports=d(Array,"Array",function(m,b){h(this,{type:f,target:a(m),index:0,kind:b})},function(){var m=p(this),b=m.target,y=m.kind,_=m.index++;return!b||_>=b.length?(m.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:_,done:!1}:y=="values"?{value:b[_],done:!1}:{value:[_,b[_]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(i,r,o){var a=o("23e7"),l=o("d039"),c=o("fc6a"),u=o("06cf").f,d=o("83ab"),f=l(function(){u(1)}),h=!d||f;a({target:"Object",stat:!0,forced:h,sham:!d},{getOwnPropertyDescriptor:function(m,b){return u(c(m),b)}})},e538:function(i,r,o){var a=o("b622");r.f=a},e893:function(i,r,o){var a=o("5135"),l=o("56ef"),c=o("06cf"),u=o("9bf2");i.exports=function(d,f){for(var h=l(f),p=u.f,m=c.f,b=0;b<h.length;b++){var y=h[b];a(d,y)||p(d,y,m(f,y))}}},e8b5:function(i,r,o){var a=o("c6b6");i.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(i,r,o){var a=o("b622"),l=o("3f8c"),c=a("iterator"),u=Array.prototype;i.exports=function(d){return d!==void 0&&(l.Array===d||u[c]===d)}},f5df:function(i,r,o){var a=o("00ee"),l=o("c6b6"),c=o("b622"),u=c("toStringTag"),d=l(function(){return arguments}())=="Arguments",f=function(h,p){try{return h[p]}catch{}};i.exports=a?l:function(h){var p,m,b;return h===void 0?"Undefined":h===null?"Null":typeof(m=f(p=Object(h),u))=="string"?m:d?l(p):(b=l(p))=="Object"&&typeof p.callee=="function"?"Arguments":b}},f772:function(i,r,o){var a=o("5692"),l=o("90e3"),c=a("keys");i.exports=function(u){return c[u]||(c[u]=l(u))}},fb15:function(i,r,o){if(o.r(r),typeof window<"u"){var a=window.document.currentScript;{var l=o("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(o.p=c[1])}o("99af"),o("4de4"),o("4160"),o("c975"),o("d81d"),o("a434"),o("159b"),o("a4d3"),o("e439"),o("dbb4"),o("b64b");function u(H,B,z){return B in H?Object.defineProperty(H,B,{value:z,enumerable:!0,configurable:!0,writable:!0}):H[B]=z,H}function d(H,B){var z=Object.keys(H);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(H);B&&(rt=rt.filter(function(pt){return Object.getOwnPropertyDescriptor(H,pt).enumerable})),z.push.apply(z,rt)}return z}function f(H){for(var B=1;B<arguments.length;B++){var z=arguments[B]!=null?arguments[B]:{};B%2?d(Object(z),!0).forEach(function(rt){u(H,rt,z[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(z)):d(Object(z)).forEach(function(rt){Object.defineProperty(H,rt,Object.getOwnPropertyDescriptor(z,rt))})}return H}function h(H){if(Array.isArray(H))return H}o("e01a"),o("d28b"),o("e260"),o("d3b7"),o("3ca3"),o("ddb0");function p(H,B){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(H)))){var z=[],rt=!0,pt=!1,At=void 0;try{for(var $t=H[Symbol.iterator](),Rt;!(rt=(Rt=$t.next()).done)&&(z.push(Rt.value),!(B&&z.length===B));rt=!0);}catch(ue){pt=!0,At=ue}finally{try{!rt&&$t.return!=null&&$t.return()}finally{if(pt)throw At}}return z}}o("a630"),o("fb6a"),o("b0c0"),o("25f0");function m(H,B){(B==null||B>H.length)&&(B=H.length);for(var z=0,rt=new Array(B);z<B;z++)rt[z]=H[z];return rt}function b(H,B){if(H){if(typeof H=="string")return m(H,B);var z=Object.prototype.toString.call(H).slice(8,-1);if(z==="Object"&&H.constructor&&(z=H.constructor.name),z==="Map"||z==="Set")return Array.from(H);if(z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return m(H,B)}}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(H,B){return h(H)||p(H,B)||b(H,B)||y()}function g(H){if(Array.isArray(H))return m(H)}function v(H){if(typeof Symbol<"u"&&Symbol.iterator in Object(H))return Array.from(H)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(H){return g(H)||v(H)||b(H)||S()}var N=o("a352"),R=o.n(N);function T(H){H.parentElement!==null&&H.parentElement.removeChild(H)}function D(H,B,z){var rt=z===0?H.children[0]:H.children[z-1].nextSibling;H.insertBefore(B,rt)}var j=o("dbf1");o("13d5"),o("4fad"),o("ac1f"),o("5319");function F(H){var B=Object.create(null);return function(rt){var pt=B[rt];return pt||(B[rt]=H(rt))}}var U=/-(\w)/g,Y=F(function(H){return H.replace(U,function(B,z){return z.toUpperCase()})});o("5db7"),o("73d9");var ot=["Start","Add","Remove","Update","End"],G=["Choose","Unchoose","Sort","Filter","Clone"],tt=["Move"],at=[tt,ot,G].flatMap(function(H){return H}).map(function(H){return"on".concat(H)}),Tt={manage:tt,manageAndEmit:ot,emit:G};function qt(H){return at.indexOf(H)!==-1}o("caad"),o("2ca0");var Vt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Bt(H){return Vt.includes(H)}function ge(H){return["transition-group","TransitionGroup"].includes(H)}function ve(H){return["id","class","role","style"].includes(H)||H.startsWith("data-")||H.startsWith("aria-")||H.startsWith("on")}function Se(H){return H.reduce(function(B,z){var rt=_(z,2),pt=rt[0],At=rt[1];return B[pt]=At,B},{})}function Wt(H){var B=H.$attrs,z=H.componentData,rt=z===void 0?{}:z,pt=Se(Object.entries(B).filter(function(At){var $t=_(At,2),Rt=$t[0];return $t[1],ve(Rt)}));return f(f({},pt),rt)}function X(H){var B=H.$attrs,z=H.callBackBuilder,rt=Se(dt(B));Object.entries(z).forEach(function(At){var $t=_(At,2),Rt=$t[0],ue=$t[1];Tt[Rt].forEach(function(Nt){rt["on".concat(Nt)]=ue(Nt)})});var pt="[data-draggable]".concat(rt.draggable||"");return f(f({},rt),{},{draggable:pt})}function dt(H){return Object.entries(H).filter(function(B){var z=_(B,2),rt=z[0];return z[1],!ve(rt)}).map(function(B){var z=_(B,2),rt=z[0],pt=z[1];return[Y(rt),pt]}).filter(function(B){var z=_(B,2),rt=z[0];return z[1],!qt(rt)})}o("c740");function ct(H,B){if(!(H instanceof B))throw new TypeError("Cannot call a class as a function")}function bt(H,B){for(var z=0;z<B.length;z++){var rt=B[z];rt.enumerable=rt.enumerable||!1,rt.configurable=!0,"value"in rt&&(rt.writable=!0),Object.defineProperty(H,rt.key,rt)}}function Ht(H,B,z){return B&&bt(H.prototype,B),H}var Xt=function(B){var z=B.el;return z},O=function(B,z){return B.__draggable_context=z},P=function(B){return B.__draggable_context},W=function(){function H(B){var z=B.nodes,rt=z.header,pt=z.default,At=z.footer,$t=B.root,Rt=B.realList;ct(this,H),this.defaultNodes=pt,this.children=[].concat(k(rt),k(pt),k(At)),this.externalComponent=$t.externalComponent,this.rootTransition=$t.transition,this.tag=$t.tag,this.realList=Rt}return Ht(H,[{key:"render",value:function(z,rt){var pt=this.tag,At=this.children,$t=this._isRootComponent,Rt=$t?{default:function(){return At}}:At;return z(pt,rt,Rt)}},{key:"updated",value:function(){var z=this.defaultNodes,rt=this.realList;z.forEach(function(pt,At){O(Xt(pt),{element:rt[At],index:At})})}},{key:"getUnderlyingVm",value:function(z){return P(z)}},{key:"getVmIndexFromDomIndex",value:function(z,rt){var pt=this.defaultNodes,At=pt.length,$t=rt.children,Rt=$t.item(z);if(Rt===null)return At;var ue=P(Rt);if(ue)return ue.index;if(At===0)return 0;var Nt=Xt(pt[0]),wt=k($t).findIndex(function(It){return It===Nt});return z<wt?0:At}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),H}(),nt=o("8bbf");function Q(H,B){var z=H[B];return z?z():[]}function C(H){var B=H.$slots,z=H.realList,rt=H.getKey,pt=z||[],At=["header","footer"].map(function(It){return Q(B,It)}),$t=_(At,2),Rt=$t[0],ue=$t[1],Nt=B.item;if(!Nt)throw new Error("draggable element must have an item slot");var wt=pt.flatMap(function(It,te){return Nt({element:It,index:te}).map(function(le){return le.key=rt(It),le.props=f(f({},le.props||{}),{},{"data-draggable":!0}),le})});if(wt.length!==pt.length)throw new Error("Item slot must have only one child");return{header:Rt,footer:ue,default:wt}}function I(H){var B=ge(H),z=!Bt(H)&&!B;return{transition:B,externalComponent:z,tag:z?Object(nt.resolveComponent)(H):B?nt.TransitionGroup:H}}function V(H){var B=H.$slots,z=H.tag,rt=H.realList,pt=H.getKey,At=C({$slots:B,realList:rt,getKey:pt}),$t=I(z);return new W({nodes:At,root:$t,realList:rt})}function q(H,B){var z=this;Object(nt.nextTick)(function(){return z.$emit(H.toLowerCase(),B)})}function et(H){var B=this;return function(z,rt){if(B.realList!==null)return B["onDrag".concat(H)](z,rt)}}function lt(H){var B=this,z=et.call(this,H);return function(rt,pt){z.call(B,rt,pt),q.call(B,H,rt)}}var L=null,K={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(B){return B}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},ht=["update:modelValue","change"].concat(k([].concat(k(Tt.manageAndEmit),k(Tt.emit)).map(function(H){return H.toLowerCase()}))),St=Object(nt.defineComponent)({name:"draggable",inheritAttrs:!1,props:K,emits:ht,data:function(){return{error:!1}},render:function(){try{this.error=!1;var B=this.$slots,z=this.$attrs,rt=this.tag,pt=this.componentData,At=this.realList,$t=this.getKey,Rt=V({$slots:B,tag:rt,realList:At,getKey:$t});this.componentStructure=Rt;var ue=Wt({$attrs:z,componentData:pt});return Rt.render(nt.h,ue)}catch(Nt){return this.error=!0,Object(nt.h)("pre",{style:{color:"red"}},Nt.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&j.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var B=this;if(!this.error){var z=this.$attrs,rt=this.$el,pt=this.componentStructure;pt.updated();var At=X({$attrs:z,callBackBuilder:{manageAndEmit:function(ue){return lt.call(B,ue)},emit:function(ue){return q.bind(B,ue)},manage:function(ue){return et.call(B,ue)}}}),$t=rt.nodeType===1?rt:rt.parentElement;this._sortable=new R.a($t,At),this.targetDomElement=$t,$t.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var B=this.list;return B||this.modelValue},getKey:function(){var B=this.itemKey;return typeof B=="function"?B:function(z){return z[B]}}},watch:{$attrs:{handler:function(B){var z=this._sortable;z&&dt(B).forEach(function(rt){var pt=_(rt,2),At=pt[0],$t=pt[1];z.option(At,$t)})},deep:!0}},methods:{getUnderlyingVm:function(B){return this.componentStructure.getUnderlyingVm(B)||null},getUnderlyingPotencialDraggableComponent:function(B){return B.__draggable_component__},emitChanges:function(B){var z=this;Object(nt.nextTick)(function(){return z.$emit("change",B)})},alterList:function(B){if(this.list){B(this.list);return}var z=k(this.modelValue);B(z),this.$emit("update:modelValue",z)},spliceList:function(){var B=arguments,z=function(pt){return pt.splice.apply(pt,k(B))};this.alterList(z)},updatePosition:function(B,z){var rt=function(At){return At.splice(z,0,At.splice(B,1)[0])};this.alterList(rt)},getRelatedContextFromMoveEvent:function(B){var z=B.to,rt=B.related,pt=this.getUnderlyingPotencialDraggableComponent(z);if(!pt)return{component:pt};var At=pt.realList,$t={list:At,component:pt};if(z!==rt&&At){var Rt=pt.getUnderlyingVm(rt)||{};return f(f({},Rt),$t)}return $t},getVmIndexFromDomIndex:function(B){return this.componentStructure.getVmIndexFromDomIndex(B,this.targetDomElement)},onDragStart:function(B){this.context=this.getUnderlyingVm(B.item),B.item._underlying_vm_=this.clone(this.context.element),L=B.item},onDragAdd:function(B){var z=B.item._underlying_vm_;if(z!==void 0){T(B.item);var rt=this.getVmIndexFromDomIndex(B.newIndex);this.spliceList(rt,0,z);var pt={element:z,newIndex:rt};this.emitChanges({added:pt})}},onDragRemove:function(B){if(D(this.$el,B.item,B.oldIndex),B.pullMode==="clone"){T(B.clone);return}var z=this.context,rt=z.index,pt=z.element;this.spliceList(rt,1);var At={element:pt,oldIndex:rt};this.emitChanges({removed:At})},onDragUpdate:function(B){T(B.item),D(B.from,B.item,B.oldIndex);var z=this.context.index,rt=this.getVmIndexFromDomIndex(B.newIndex);this.updatePosition(z,rt);var pt={element:this.context.element,oldIndex:z,newIndex:rt};this.emitChanges({moved:pt})},computeFutureIndex:function(B,z){if(!B.element)return 0;var rt=k(z.to.children).filter(function(Rt){return Rt.style.display!=="none"}),pt=rt.indexOf(z.related),At=B.component.getVmIndexFromDomIndex(pt),$t=rt.indexOf(L)!==-1;return $t||!z.willInsertAfter?At:At+1},onDragMove:function(B,z){var rt=this.move,pt=this.realList;if(!rt||!pt)return!0;var At=this.getRelatedContextFromMoveEvent(B),$t=this.computeFutureIndex(At,B),Rt=f(f({},this.context),{},{futureIndex:$t}),ue=f(f({},B),{},{relatedContext:At,draggedContext:Rt});return rt(ue,z)},onDragEnd:function(){L=null}}}),Gt=St;r.default=Gt},fb6a:function(i,r,o){var a=o("23e7"),l=o("861d"),c=o("e8b5"),u=o("23cb"),d=o("50c4"),f=o("fc6a"),h=o("8418"),p=o("b622"),m=o("1dde"),b=o("ae40"),y=m("slice"),_=b("slice",{ACCESSORS:!0,0:0,1:2}),g=p("species"),v=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!y||!_},{slice:function(N,R){var T=f(this),D=d(T.length),j=u(N,D),F=u(R===void 0?D:R,D),U,Y,ot;if(c(T)&&(U=T.constructor,typeof U=="function"&&(U===Array||c(U.prototype))?U=void 0:l(U)&&(U=U[g],U===null&&(U=void 0)),U===Array||U===void 0))return v.call(T,j,F);for(Y=new(U===void 0?Array:U)(S(F-j,0)),ot=0;j<F;j++,ot++)j in T&&h(Y,ot,T[j]);return Y.length=ot,Y}})},fc6a:function(i,r,o){var a=o("44ad"),l=o("1d80");i.exports=function(c){return a(l(c))}},fdbc:function(i,r){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(i,r,o){var a=o("4930");i.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})}(hc)),hc.exports}var K9=G9();const z9=ju(K9),q9={name:"PageQueue",components:{ContentWithHeading:se,ControlButton:on,ListItemQueueItem:ZV,ModalDialogAddStream:t9,ModalDialogPlaylistSave:o9,ModalDialogQueueItem:wS,PaneTitle:ie,draggable:z9},setup(){return{configurationStore:Vo(),playerStore:Wn(),queueStore:Rs(),uiStore:ts()}},data(){return{editing:!1,selectedItem:{},showDetailsModal:!1,showSaveModal:!1,showAddStreamDialog:!1}},computed:{currentPosition(){var t;return((t=this.queueStore.current)==null?void 0:t.position)??-1},heading(){return{subtitle:[{count:this.queueStore.count,key:"data.tracks"}],title:this.$t("page.queue.title")}},items:{get(){return this.queueStore.items},set(){}}},methods:{clearQueue(){ce.clear()},isRemovable(t){return t.id!==this.playerStore.item_id&&this.editing},moveItem(t){const e=t.oldIndex+(this.uiStore.hideReadItems&&this.currentPosition),n=this.items[e],s=n.position+(t.newIndex-t.oldIndex);s!==e&&ce.move(n.id,s)},openAddStreamDialog(){this.showAddStreamDialog=!0},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},openSaveDialog(){this.queueStore.isEmpty||(this.showSaveModal=!0)},remove(t){ce.remove(t.id)},toggleEdit(){this.editing=!this.editing}}},X9=["onClick"],Y9=["onClick"];function Z9(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("mdicon"),c=w("list-item-queue-item"),u=w("draggable"),d=w("content-with-heading"),f=w("modal-dialog-queue-item"),h=w("modal-dialog-add-stream"),p=w("modal-dialog-playlist-save");return x(),$(it,null,[E(d,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[E(a,{button:{handler:s.uiStore.toggleHideReadItems,icon:"eye-off-outline",key:"actions.hide-previous"},class:Kt({"is-dark":s.uiStore.hideReadItems})},null,8,["button","class"]),E(a,{button:{handler:r.openAddStreamDialog,icon:"web",key:"actions.add-stream"}},null,8,["button"]),E(a,{button:{handler:r.toggleEdit,icon:"pencil",key:"actions.edit"},class:Kt({"is-dark":i.editing}),disabled:s.queueStore.isEmpty},null,8,["button","class","disabled"]),E(a,{button:{handler:r.clearQueue,icon:"delete-empty",key:"actions.clear"},disabled:s.queueStore.isEmpty},null,8,["button","disabled"]),s.queueStore.isSavingAllowed?(x(),yt(a,{key:0,button:{handler:r.openSaveDialog,icon:"download",key:"actions.save"},disabled:s.queueStore.isEmpty},null,8,["button","disabled"])):vt("",!0)]),content:M(()=>[E(u,{modelValue:r.items,"onUpdate:modelValue":e[0]||(e[0]=m=>r.items=m),"item-key":"id",onEnd:r.moveItem},{item:M(({element:m,index:b})=>[E(c,{item:m,position:b,"current-position":r.currentPosition,"hide-read-items":s.uiStore.hideReadItems,editing:i.editing},{actions:M(()=>[i.editing?vt("",!0):(x(),$("a",{key:0,onClick:un(y=>r.openDetails(m),["prevent","stop"])},[E(l,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})],8,X9)),r.isRemovable(m)?(x(),$("a",{key:1,onClick:un(y=>r.remove(m),["prevent","stop"])},[E(l,{class:"icon has-text-grey",name:"delete",size:"18"})],8,Y9)):vt("",!0)]),_:2},1032,["item","position","current-position","hide-read-items","editing"])]),_:1},8,["modelValue","onEnd"])]),_:1}),E(f,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[1]||(e[1]=m=>i.showDetailsModal=!1)},null,8,["show","item"]),E(h,{show:i.showAddStreamDialog,onClose:e[2]||(e[2]=m=>i.showAddStreamDialog=!1)},null,8,["show"]),s.queueStore.isSavingAllowed?(x(),yt(p,{key:0,show:i.showSaveModal,onClose:e[3]||(e[3]=m=>i.showSaveModal=!1)},null,8,["show"])):vt("",!0)],64)}const J9=st(q9,[["render",Z9]]),Q9={name:"PageRadioStreams",components:{ContentWithHeading:se,ListIndexButtons:gs,ListTracks:Bn,PaneTitle:ie},beforeRouteEnter(t,e,n){Ct.radioStreams().then(s=>{n(i=>{i.tracks=new kt(s,{index:{field:"title_sort",type:String}})})})},data(){return{tracks:new kt}},computed:{heading(){return{subtitle:[{count:this.tracks.total,key:"data.stations"}],title:this.$t("page.radio.title")}}}};function t7(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("pane-title"),l=w("list-tracks"),c=w("content-with-heading");return x(),yt(c,null,{options:M(()=>[E(o,{indices:i.tracks.indices},null,8,["indices"])]),heading:M(()=>[E(a,{content:r.heading},null,8,["content"])]),content:M(()=>[E(l,{items:i.tracks},null,8,["items"])]),_:1})}const e7=st(Q9,[["render",t7]]),n7={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:Je()}}},s7={key:0},i7={class:"container"},r7={class:"columns is-centered"},o7={class:"column is-four-fifths"},a7={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},l7=["textContent"],c7=["textContent"];function u7(t,e,n,s,i,r){const o=w("mdicon");return s.servicesStore.isSpotifyActive?(x(),$("section",s7,[A("div",i7,[A("div",r7,[A("div",o7,[A("div",a7,[A("ul",null,[A("li",{class:Kt({"is-active":t.$route.name==="search-library"})},[A("a",{onClick:e[0]||(e[0]=a=>t.$emit("search-library"))},[E(o,{class:"icon is-small",name:"bookshelf",size:"16"}),A("span",{textContent:J(t.$t("page.search.tabs.library"))},null,8,l7)])],2),A("li",{class:Kt({"is-active":t.$route.name==="search-spotify"})},[A("a",{onClick:e[1]||(e[1]=a=>t.$emit("search-spotify"))},[E(o,{class:"icon is-small",name:"spotify",size:"16"}),A("span",{textContent:J(t.$t("page.search.tabs.spotify"))},null,8,c7)])],2)])])])])])])):vt("",!0)}const LS=st(n7,[["render",u7]]),vf=3,_f=["track","artist","album","composer","playlist","audiobook","podcast"],d7={name:"PageSearchLibrary",components:{ContentWithHeading:se,ControlButton:on,ListAlbums:Xn,ListArtists:Qc,ListComposers:Ch,ListPlaylists:tu,ListTracks:Bn,PaneTitle:ie,TabsSearch:LS},setup(){return{searchStore:kp()}},data(){return{components:{album:Xn.name,artist:Qc.name,audiobook:Xn.name,composer:Ch.name,playlist:tu.name,podcast:Xn.name,track:Bn.name},results:new Map,limit:{},types:_f}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history}},mounted(){this.searchStore.source=this.$route.name,this.limit=vf,this.search()},methods:{expand(t){this.types=[t],this.limit=-1,this.search()},openSearch(t){this.searchStore.query=t,this.types=_f,this.limit=vf,this.search()},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,new kt)})},search(t){this.searchStore.query&&(t&&(this.types=_f,this.limit=vf),this.searchStore.query=this.searchStore.query.trim(),this.reset(),this.types.forEach(e=>{this.searchItems(e)}),this.searchStore.add(this.searchStore.query))},searchItems(t){const e=t!=="audiobook"&&t!=="podcast",n=e?"music":t,s={limit:this.limit,type:e?t:"album"};this.searchStore.query.startsWith("query:")?s.expression=`(${this.searchStore.query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:e?(s.query=this.searchStore.query,s.media_kind=n):s.expression=`(album includes "${this.searchStore.query}" or artist includes "${this.searchStore.query}") and media_kind is ${n}`,Ct.search(s).then(i=>{this.results.set(t,new kt(i[`${s.type}s`]))})},searchSpotify(){this.$router.push({name:"search-spotify"})},show(t){return this.types.includes(t)},showAllButton(t){return t.total>t.items.length}}},f7={class:"section pb-0"},h7={class:"container"},p7={class:"columns is-centered"},m7={class:"column is-four-fifths"},g7={class:"field"},y7={class:"control has-icons-left"},b7=["placeholder"],v7=["textContent"],_7={class:"field is-grouped is-grouped-multiline mt-4"},S7={class:"tags has-addons"},E7=["onClick","textContent"],w7=["onClick"],k7={key:1,class:"has-text-centered-mobile"},T7=["textContent"];function C7(t,e,n,s,i,r){const o=w("mdicon"),a=w("i18n-t"),l=w("tabs-search"),c=w("pane-title"),u=w("control-button"),d=w("content-with-heading");return x(),$(it,null,[A("section",f7,[A("div",h7,[A("div",p7,[A("div",m7,[A("form",{onSubmit:e[1]||(e[1]=un((...f)=>r.search&&r.search(...f),["prevent"]))},[A("div",g7,[A("div",y7,[Qn(A("input",{"onUpdate:modelValue":e[0]||(e[0]=f=>s.searchStore.query=f),class:"input is-rounded",type:"text",placeholder:t.$t("page.search.placeholder"),autocomplete:"off"},null,8,b7),[[xs,s.searchStore.query]]),E(o,{class:"icon is-left",name:"magnify",size:"16"})]),E(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:M(()=>e[2]||(e[2]=[A("code",null,"query:",-1)])),help:M(()=>[A("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:J(t.$t("page.search.expression"))},null,8,v7)]),_:1})])],32),A("div",_7,[(x(!0),$(it,null,ae(r.history,f=>(x(),$("div",{key:f,class:"control"},[A("div",S7,[A("a",{class:"tag",onClick:h=>r.openSearch(f),textContent:J(f)},null,8,E7),A("a",{class:"tag is-delete",onClick:h=>s.searchStore.remove(f)},null,8,w7)])]))),128))])])])])]),E(l,{onSearchLibrary:r.search,onSearchSpotify:r.searchSpotify},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),$(it,null,ae(i.results,([f,h])=>(x(),yt(d,{key:f},Ro({heading:M(()=>[E(c,{content:{title:t.$t(`page.search.${f}s`)}},null,8,["content"])]),content:M(()=>[(x(),yt(Tu(i.components[f]),{items:h},null,8,["items"]))]),_:2},[r.expanded?void 0:{name:"footer",fn:M(()=>[r.showAllButton(h)?(x(),yt(u,{key:0,button:{handler:()=>r.expand(f),title:t.$t(`page.search.show-${f}s`,{count:t.$n(h.total)},h.total)}},null,8,["button"])):vt("",!0),h.total?vt("",!0):(x(),$("div",k7,[A("i",{textContent:J(t.$t("page.search.no-results"))},null,8,T7)]))]),key:"0"}]),1024))),128))],64)}const A7=st(d7,[["render",C7]]),O7={name:"ListArtistsSpotify",components:{ListItem:Ls,LoaderListItem:gd,ModalDialogArtistSpotify:vS},props:{items:{required:!0,type:Object},load:{default:null,type:Function},loaded:{default:!0,type:Boolean}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"music-spotify-artist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function x7(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-artist-spotify");return x(),$(it,null,[(x(!0),$(it,null,ae(n.items,c=>(x(),yt(o,{key:c.id,"is-item":!0,index:c.index,lines:[c.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load,loaded:n.loaded},null,8,["load","loaded"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Db=st(O7,[["render",x7]]),Sf=3,Ef=50,wf=["track","artist","album","playlist"],I7={name:"PageSearchSpotify",components:{ControlButton:on,ContentWithHeading:se,ListAlbumsSpotify:Qa,ListArtistsSpotify:Db,ListPlaylistsSpotify:eu,ListTracksSpotify:Jc,PaneTitle:ie,TabsSearch:LS},setup(){return{searchStore:kp()}},data(){return{components:{album:Qa.name,artist:Db.name,playlist:eu.name,track:Jc.name},results:new Map,parameters:{},types:wf}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history.filter(t=>!t.startsWith("query:"))}},mounted(){this.searchStore.source=this.$route.name,this.parameters.limit=Sf,this.search()},methods:{expand(t){this.types=[t],this.parameters.limit=Ef,this.parameters.offset=0,this.search()},openSearch(t){this.searchStore.query=t,this.types=wf,this.parameters.limit=Sf,this.parameters.offset=0,this.search()},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,{items:[],total:0})})},search(t){this.searchStore.query&&(t&&(this.types=wf,this.parameters.limit=Sf),this.searchStore.query=this.searchStore.query.trim(),this.reset(),this.searchItems().then(e=>{this.types.forEach(n=>{this.results.set(n,e[`${n}s`])})}),this.searchStore.add(this.searchStore.query))},searchItems(){return Os.spotify().then(t=>{this.parameters.market=t.webapi_country;const e=new Xs;return e.setAccessToken(t.webapi_token),e.search(this.searchStore.query,this.types,this.parameters)})},searchLibrary(){this.$router.push({name:"search-library"})},searchNext({loaded:t}){const[e]=this.types,n=this.results.get(e);this.parameters.limit=Ef,this.searchItems().then(s=>{const[i]=Object.values(s);n.items.push(...i.items),n.total=i.total,this.parameters.offset||(this.parameters.offset=0),this.parameters.offset+=i.limit,t(i.items.length,Ef)})},show(t){return this.types.includes(t)},showAllButton(t){return t.total>t.items.length}}},N7={class:"section pb-0"},P7={class:"container"},D7={class:"columns is-centered"},M7={class:"column is-four-fifths"},R7={class:"field"},L7={class:"control has-icons-left"},$7=["placeholder"],F7={class:"field is-grouped is-grouped-multiline mt-4"},V7={class:"tags has-addons"},H7=["onClick","textContent"],U7=["onClick"],j7={key:1,class:"has-text-centered-mobile"},B7=["textContent"];function W7(t,e,n,s,i,r){const o=w("mdicon"),a=w("tabs-search"),l=w("pane-title"),c=w("control-button"),u=w("content-with-heading");return x(),$(it,null,[A("section",N7,[A("div",P7,[A("div",D7,[A("div",M7,[A("form",{onSubmit:e[1]||(e[1]=un((...d)=>r.search&&r.search(...d),["prevent"]))},[A("div",R7,[A("div",L7,[Qn(A("input",{"onUpdate:modelValue":e[0]||(e[0]=d=>s.searchStore.query=d),class:"input is-rounded",type:"text",placeholder:t.$t("page.search.placeholder"),autocomplete:"off"},null,8,$7),[[xs,s.searchStore.query]]),E(o,{class:"icon is-left",name:"magnify",size:"16"})])])],32),A("div",F7,[(x(!0),$(it,null,ae(r.history,d=>(x(),$("div",{key:d,class:"control"},[A("div",V7,[A("a",{class:"tag",onClick:f=>r.openSearch(d),textContent:J(d)},null,8,H7),A("a",{class:"tag is-delete",onClick:f=>s.searchStore.remove(d)},null,8,U7)])]))),128))])])])])]),E(a,{onSearchLibrary:r.searchLibrary,onSearchSpotify:r.search},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),$(it,null,ae(i.results,([d,f])=>(x(),yt(u,{key:d},Ro({heading:M(()=>[E(l,{content:{title:t.$t(`page.search.${d}s`)}},null,8,["content"])]),content:M(()=>[(x(),yt(Tu(i.components[d]),{items:f.items,load:r.searchNext,loaded:!r.expanded},null,8,["items","load","loaded"]))]),_:2},[r.expanded?void 0:{name:"footer",fn:M(()=>[r.showAllButton(f)?(x(),yt(c,{key:0,button:{handler:()=>r.expand(d),title:t.$t(`page.search.show-${d}s`,{count:t.$n(f.total)},f.total)}},null,8,["button"])):vt("",!0),f.total?vt("",!0):(x(),$("div",j7,[A("i",{textContent:J(t.$t("page.search.no-results"))},null,8,B7)]))]),key:"0"}]),1024))),128))],64)}const G7=st(I7,[["render",W7]]),K7={name:"ControlSetting",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:Si()}},data(){return{timerDelay:2e3,timerId:-1}},computed:{isError(){return this.timerId===-2},isSuccess(){return this.timerId>=0},setting(){return this.settingsStore.get(this.category,this.name)}},methods:{update(t,e){const n=e==null?void 0:e(t.target);if(n===this.setting.value)return;const s={category:this.category,name:this.name,value:n};K0.update(s).then(()=>{window.clearTimeout(this.timerId),this.settingsStore.update(s)}).catch(()=>{this.timerId=-2}).finally(()=>{this.timerId=window.setTimeout(()=>{this.timerId=-1},this.timerDelay)})}}},z7=["disabled"],q7={key:0,class:"label has-text-weight-normal"},X7={key:1,class:"help mb-4"};function Y7(t,e,n,s,i,r){const o=w("mdicon");return x(),$("fieldset",{disabled:n.disabled,class:"field"},[t.$slots.label?(x(),$("label",q7,[ne(t.$slots,"label")])):vt("",!0),A("div",{class:Kt(["control",{"has-icons-right":r.isSuccess||r.isError}])},[ne(t.$slots,"input",{setting:r.setting,update:r.update}),t.$slots.label&&(r.isSuccess||r.isError)?(x(),yt(o,{key:0,class:"icon is-right",name:r.isSuccess?"check":"close",size:"16"},null,8,["name"])):vt("",!0)],2),t.$slots.help?(x(),$("div",X7,[ne(t.$slots,"help")])):vt("",!0)],8,z7)}const vm=st(K7,[["render",Y7]]),Z7={name:"ControlSettingSwitch",components:{ControlSetting:vm,ControlSwitch:Fr},props:{category:{required:!0,type:String},disabled:{default:!1,type:Boolean},name:{required:!0,type:String}},methods:{sanitise(t){return t.checked}}};function J7(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-setting");return x(),yt(a,{category:n.category,disabled:n.disabled,name:n.name},Ro({input:M(({setting:l,update:c})=>[E(o,{"model-value":l.value,"onUpdate:modelValue":u=>c({target:{checked:u}},r.sanitise)},{label:M(()=>[ne(t.$slots,"label")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},[t.$slots.help?{name:"help",fn:M(()=>[ne(t.$slots,"help")]),key:"0"}:void 0]),1032,["category","disabled","name"])}const $S=st(Z7,[["render",J7]]),Q7={name:"TabsSettings",components:{ControlTabList:dm},computed:{links(){return[{key:"page.settings.tabs.general",to:{name:"settings-webinterface"}},{key:"page.settings.tabs.devices",to:{name:"settings-devices"}},{key:"page.settings.tabs.artwork",to:{name:"settings-artwork"}},{key:"page.settings.tabs.online-services",to:{name:"settings-online-services"}}]}}};function tH(t,e,n,s,i,r){const o=w("control-tab-list");return x(),yt(o,{links:r.links},null,8,["links"])}const vd=st(Q7,[["render",tH]]),eH={name:"PageSettingsArtwork",components:{ContentWithHeading:se,ControlSettingSwitch:$S,PaneTitle:ie,TabsSettings:vd},setup(){return{servicesStore:Je()}}},nH=["textContent"],sH={class:"content"},iH=["textContent"],rH=["textContent"],oH=["textContent"],aH={class:"content"},lH=["textContent"],cH={href:"https://www.spotify.com/",target:"_blank"},uH={class:"icon"},dH=["textContent"],fH={href:"https://www.discogs.com/",target:"_blank"},hH={class:"icon"},pH=["textContent"],mH={href:"https://coverartarchive.org/",target:"_blank"},gH={class:"icon"};function yH(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("control-setting-switch"),c=w("mdicon"),u=w("content-with-heading");return x(),$(it,null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.artwork.title")}},null,8,["content"])]),content:M(()=>[A("div",{class:"content",textContent:J(t.$t("page.settings.artwork.explanation-1"))},null,8,nH),A("div",sH,[E(l,{category:"artwork",name:"streamurl_ignore"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.artwork.streaming"))},null,8,iH)]),_:1}),E(l,{category:"artwork",name:"show_cover_artwork_in_album_lists"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.artwork.show-coverart"))},null,8,rH)]),_:1})]),A("div",{class:"content",textContent:J(t.$t("page.settings.artwork.explanation-2"))},null,8,oH),A("div",aH,[s.servicesStore.spotify_logged_in?(x(),yt(l,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.artwork.spotify"))},null,8,lH),A("a",cH,[A("span",uH,[E(c,{name:"open-in-new",size:"16"})])])]),_:1})):vt("",!0),E(l,{category:"artwork",name:"use_artwork_source_discogs"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.artwork.discogs"))},null,8,dH),A("a",fH,[A("span",hH,[E(c,{name:"open-in-new",size:"16"})])])]),_:1}),E(l,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.artwork.coverartarchive"))},null,8,pH),A("a",mH,[A("span",gH,[E(c,{name:"open-in-new",size:"16"})])])]),_:1})])]),_:1})],64)}const bH=st(eH,[["render",yH]]),vH={name:"PageSettingsDevices",components:{ContentWithHeading:se,ControlPinField:z1,ControlSwitch:Fr,PaneTitle:ie,TabsSettings:vd},setup(){return{outputsStore:wp(),remotesStore:Sp()}},data(){return{outputPin:"",remotePairingDisabled:!0,remotePin:""}},methods:{pairRemote(){remotes.pair(this.remotePin)},pairOutput(t){Vc.update(t,{pin:this.outputPin})},onRemotePinChange(t,e){this.remotePin=t,this.remotePairingDisabled=e},onOutputPinChange(t){this.outputPin=t},toggleOutput(t){Vc.toggle(t)}}},_H={class:"label has-text-weight-normal content"},SH=["textContent"],EH=["textContent"],wH={class:"control"},kH=["disabled","textContent"],TH=["textContent"],CH=["textContent"],AH=["textContent"],OH=["onSubmit"],xH={class:"control"},IH=["textContent"];function NH(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("control-pin-field"),c=w("content-with-heading"),u=w("control-switch");return x(),$(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.devices.pairing")}},null,8,["content"])]),content:M(()=>[s.remotesStore.active?(x(),$("form",{key:0,onSubmit:e[0]||(e[0]=un((...d)=>r.pairRemote&&r.pairRemote(...d),["prevent"]))},[A("label",_H,[A("span",{textContent:J(t.$t("page.settings.devices.pairing-request"))},null,8,SH),A("b",{textContent:J(s.remotesStore.remote)},null,8,EH)]),E(l,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onRemotePinChange},{default:M(()=>[A("div",wH,[A("button",{class:"button",type:"submit",disabled:i.remotePairingDisabled,textContent:J(t.$t("actions.verify"))},null,8,kH)])]),_:1},8,["placeholder","onInput"])],32)):(x(),$("div",{key:1,textContent:J(t.$t("page.settings.devices.no-active-pairing"))},null,8,TH))]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.devices.speaker-pairing")}},null,8,["content"])]),content:M(()=>[A("div",{class:"content",textContent:J(t.$t("page.settings.devices.speaker-pairing-info"))},null,8,CH),(x(!0),$(it,null,ae(s.outputsStore.outputs,d=>(x(),$("div",{key:d.id,class:"field is-grouped"},[E(u,{modelValue:d.selected,"onUpdate:modelValue":[f=>d.selected=f,f=>r.toggleOutput(d.id)]},{label:M(()=>[A("span",{textContent:J(d.name)},null,8,AH)]),_:2},1032,["modelValue","onUpdate:modelValue"]),d.needs_auth_key?(x(),$("form",{key:0,onSubmit:un(f=>r.pairOutput(d.id),["prevent"])},[E(l,{placeholder:t.$t("page.settings.devices.verification-code"),onInput:r.onOutputPinChange},{default:M(()=>[A("div",xH,[A("button",{class:"button",type:"submit",textContent:J(t.$t("actions.verify"))},null,8,IH)])]),_:1},8,["placeholder","onInput"])],40,OH)):vt("",!0)]))),128))]),_:1})],64)}const PH=st(vH,[["render",NH]]),DH={name:"PageSettingsOnlineServices",components:{ContentWithHeading:se,PaneTitle:ie,TabsSettings:vd},setup(){return{servicesStore:Je()}},data(){return{lastfmCredentials:{password:"",user:""},lastfmErrors:{error:"",password:"",user:""}}},methods:{loginLastfm(){Os.loginLastfm(this.lastfmCredentials).then(t=>{this.lastfmErrors=t.errors,this.lastfmCredentials.password="",t.success&&(this.lastfmCredentials.user="")})},logoutLastfm(){Os.logoutLastfm()},logoutSpotify(){Os.logoutSpotify()}}},MH={key:0},RH=["textContent"],LH=["textContent"],$H={key:0},FH=["textContent"],VH=["textContent"],HH={class:"field is-grouped mt-5"},UH={key:0,class:"control"},jH=["href","textContent"],BH={key:1,class:"control"},WH=["textContent"],GH=["textContent"],KH={key:0},zH=["textContent"],qH=["textContent"],XH={key:0},YH={class:"field is-grouped"},ZH={class:"control"},JH=["placeholder"],QH=["textContent"],tU={class:"control"},eU=["placeholder"],nU=["textContent"],sU={class:"control"},iU=["textContent"],rU=["textContent"],oU={key:1},aU=["textContent"],lU=["textContent"];function cU(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("content-with-heading");return x(),$(it,null,[E(o),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.services.spotify.title")}},null,8,["content"])]),content:M(()=>[s.servicesStore.isSpotifyEnabled?(x(),$("div",MH,[A("div",{textContent:J(t.$t("page.settings.services.spotify.grant-access"))},null,8,RH),A("div",{class:"notification help",textContent:J(t.$t("page.settings.services.spotify.requirements",{scopes:s.servicesStore.requiredSpotifyScopes.join(", ")}))},null,8,LH),s.servicesStore.isSpotifyActive?(x(),$("div",$H,[A("div",{textContent:J(t.$t("page.settings.services.spotify.user",{user:s.servicesStore.spotify.webapi_user}))},null,8,FH),s.servicesStore.hasMissingSpotifyScopes?(x(),$("div",{key:0,class:"notification help is-danger is-light",textContent:J(t.$t("page.settings.services.spotify.reauthorize",{scopes:s.servicesStore.missingSpotifyScopes.join(", ")}))},null,8,VH)):vt("",!0)])):vt("",!0),A("div",HH,[s.servicesStore.isAuthorizationRequired?(x(),$("div",UH,[A("a",{class:"button",href:s.servicesStore.spotify.oauth_uri,textContent:J(t.$t("page.settings.services.spotify.authorize"))},null,8,jH)])):vt("",!0),s.servicesStore.isSpotifyActive?(x(),$("div",BH,[A("button",{class:"button is-danger",onClick:e[0]||(e[0]=(...c)=>r.logoutSpotify&&r.logoutSpotify(...c)),textContent:J(t.$t("actions.logout"))},null,8,WH)])):vt("",!0)])])):(x(),$("div",{key:1,textContent:J(t.$t("page.settings.services.spotify.no-support"))},null,8,GH))]),_:1}),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.services.lastfm.title")}},null,8,["content"])]),content:M(()=>[s.servicesStore.isLastfmEnabled?(x(),$("div",KH,[A("div",{textContent:J(t.$t("page.settings.services.lastfm.grant-access"))},null,8,zH),A("div",{class:"notification help",textContent:J(t.$t("page.settings.services.lastfm.info"))},null,8,qH),s.servicesStore.isLastfmActive?(x(),$("div",oU,[A("button",{class:"button is-danger",onClick:e[4]||(e[4]=(...c)=>r.logoutLastfm&&r.logoutLastfm(...c)),textContent:J(t.$t("actions.logout"))},null,8,aU)])):(x(),$("div",XH,[A("form",{onSubmit:e[3]||(e[3]=un((...c)=>r.loginLastfm&&r.loginLastfm(...c),["prevent"]))},[A("div",YH,[A("div",ZH,[Qn(A("input",{"onUpdate:modelValue":e[1]||(e[1]=c=>i.lastfmCredentials.user=c),class:"input",type:"text",placeholder:t.$t("page.settings.services.username")},null,8,JH),[[xs,i.lastfmCredentials.user]]),i.lastfmErrors?(x(),$("div",{key:0,class:"help is-danger",textContent:J(i.lastfmErrors.user)},null,8,QH)):vt("",!0)]),A("div",tU,[Qn(A("input",{"onUpdate:modelValue":e[2]||(e[2]=c=>i.lastfmCredentials.password=c),class:"input",type:"password",placeholder:t.$t("page.settings.services.password")},null,8,eU),[[xs,i.lastfmCredentials.password]]),i.lastfmErrors?(x(),$("div",{key:0,class:"help is-danger",textContent:J(i.lastfmErrors.password)},null,8,nU)):vt("",!0)]),A("div",sU,[A("button",{class:"button",type:"submit",textContent:J(t.$t("actions.login"))},null,8,iU)])]),i.lastfmErrors?(x(),$("div",{key:0,class:"help is-danger",textContent:J(i.lastfmErrors.error)},null,8,rU)):vt("",!0)],32)]))])):(x(),$("div",{key:1,textContent:J(t.$t("page.settings.services.lastfm.no-support"))},null,8,lU))]),_:1})],64)}const uU=st(DH,[["render",cU]]),dU={name:"ControlSettingIntegerField",components:{ControlSetting:vm},props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},methods:{sanitise(t){const e=parseInt(t.value.replace(/\D+/gu,""),10)||0;return t.value=e}}},fU=["placeholder","value","onInput"];function hU(t,e,n,s,i,r){const o=w("control-setting");return x(),yt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{label:M(()=>[ne(t.$slots,"label")]),input:M(({setting:a,update:l})=>[A("input",{class:"input",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:a.value,onInput:c=>l(c,r.sanitise)},null,40,fU)]),help:M(()=>[ne(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const pU=st(dU,[["render",hU]]),mU={name:"ControlSettingTextField",components:{ControlSetting:vm},props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},methods:{sanitise(t){return t.value}}},gU=["placeholder","value","onInput"];function yU(t,e,n,s,i,r){const o=w("control-setting");return x(),yt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{label:M(()=>[ne(t.$slots,"label")]),input:M(({setting:a,update:l})=>[A("input",{class:"input",inputmode:"text",placeholder:n.placeholder,value:a.value,onInput:c=>l(c,r.sanitise)},null,40,gU)]),help:M(()=>[ne(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const bU=st(mU,[["render",yU]]),vU={name:"PageSettingsWebinterface",components:{ContentWithHeading:se,ControlDropdown:Ur,ControlSettingIntegerField:pU,ControlSettingSwitch:$S,ControlSettingTextField:bU,PaneTitle:ie,TabsSettings:vd},setup(){return{settingsStore:Si()}},computed:{locale:{get(){const t=this.$i18n.availableLocales;let e=t.find(s=>s===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return e||(e=t.find(s=>s===n)),e||(e=t.forEach(s=>s.split("-")[0]===n)),e||(e=this.$i18n.fallbackLocale),e},set(t){this.$i18n.locale=t}}}},_U=["textContent"],SU=["textContent"],EU=["textContent"],wU=["textContent"],kU=["textContent"],TU=["textContent"],CU=["textContent"],AU=["textContent"],OU=["textContent"],xU=["textContent"],IU=["textContent"],NU=["textContent"],PU=["textContent"],DU=["textContent"];function MU(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("control-dropdown"),c=w("content-with-heading"),u=w("control-setting-switch"),d=w("i18n-t"),f=w("control-setting-text-field"),h=w("control-setting-integer-field");return x(),$(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.language")}},null,8,["content"])]),content:M(()=>[E(l,{value:r.locale,"onUpdate:value":e[0]||(e[0]=p=>r.locale=p),options:s.settingsStore.locales},null,8,["value","options"])]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.navigation-items")}},null,8,["content"])]),content:M(()=>[A("div",{textContent:J(t.$t("page.settings.general.navigation-item-selection"))},null,8,_U),A("div",{class:"notification is-size-7",textContent:J(t.$t("page.settings.general.navigation-item-selection-info"))},null,8,SU),E(u,{category:"webinterface",name:"show_menu_item_playlists"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.playlists"))},null,8,EU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_music"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.music"))},null,8,wU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_podcasts"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.podcasts"))},null,8,kU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.audiobooks"))},null,8,TU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_radio"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.radio"))},null,8,CU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_files"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.files"))},null,8,AU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_search"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.search"))},null,8,OU)]),_:1})]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.now-playing-page")}},null,8,["content"])]),content:M(()=>[E(u,{category:"webinterface",name:"show_filepath_now_playing"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.show-path"))},null,8,xU)]),_:1}),E(u,{category:"webinterface",name:"show_composer_now_playing"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.show-composer"))},null,8,IU)]),help:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.show-composer-info"))},null,8,NU)]),_:1}),E(f,{category:"webinterface",name:"show_composer_for_genre",disabled:!s.settingsStore.showComposerNowPlaying,placeholder:t.$t("page.settings.general.genres")},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.show-composer-genres"))},null,8,PU)]),help:M(()=>[E(d,{keypath:"page.settings.general.show-composer-genres-help",tag:"p",class:"help",scope:"global"},{default:M(()=>[ne(t.$slots,"default",{},()=>[e[1]||(e[1]=A("br",null,null,-1))])]),_:3})]),_:3},8,["disabled","placeholder"])]),_:3}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.recently-added-page")}},null,8,["content"])]),content:M(()=>[E(h,{category:"webinterface",name:"recently_added_limit"},{label:M(()=>[A("span",{textContent:J(t.$t("page.settings.general.recently-added-page-info"))},null,8,DU)]),_:1})]),_:1})],64)}const RU=st(vU,[["render",MU]]),Mb=100,LU=D4({history:l4(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:m$,name:"about",path:"/about"},{component:P5,name:"music-album",path:"/music/albums/:id"},{component:r8,name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:j8,name:"music-albums",path:"/music/albums"},{component:X8,name:"music-artist",path:"/music/artists/:id"},{component:n6,name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:g6,name:"music-artists",path:"/music/artists"},{component:a6,name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:v6,name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:k6,name:"audiobooks-albums",path:"/audiobooks/albums"},{component:A6,name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:I6,name:"audiobooks-artists",path:"/audiobooks/artists"},{component:$6,name:"audiobooks-genres",path:"/audiobooks/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobooks-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:CF,name:"music-history",path:"/music/history"},{component:xF,name:"music-recently-added",path:"/music/recently-added"},{component:PF,name:"music-recently-played",path:"/music/recently-played"},{component:VF,name:"music-spotify",path:"/music/spotify"},{component:jF,name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:GF,name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:j6,name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:G6,name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:Y6,name:"music-composers",path:"/music/composers"},{component:pF,name:"files",path:"/files"},{component:yF,name:"genre-albums",path:"/genres/:name/albums"},{component:_F,name:"genre-tracks",path:"/genres/:name/tracks"},{component:wF,name:"music-genres",path:"/music/genres"},{component:bV,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:SV,name:"playlist-folder",path:"/playlists/:id"},{component:kV,name:"playlist",path:"/playlists/:id/tracks"},{component:AV,name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:IV,name:"podcast",path:"/podcasts/:id"},{component:jV,name:"podcasts",path:"/podcasts"},{component:e7,name:"radio",path:"/radio"},{component:J9,name:"queue",path:"/"},{component:A7,name:"search-library",path:"/search/library"},{component:G7,name:"search-spotify",path:"/search/spotify"},{component:RU,name:"settings-webinterface",path:"/settings/webinterface"},{component:bH,name:"settings-artwork",path:"/settings/artwork"},{component:uU,name:"settings-online-services",path:"/settings/online-services"},{component:PH,name:"settings-devices",path:"/settings/devices"}],scrollBehavior(t,e,n){return n?new Promise(i=>{setTimeout(()=>{i(n)},0)}):t.path===e.path&&t.hash?{behavior:"smooth",el:t.hash,top:Mb}:t.hash?new Promise(i=>{setTimeout(()=>{i({el:t.hash,top:Mb})},0)}):{left:0,top:0}}}),FS=Dc(XI).use(Pk()).use(LU).use(cD).use(ZI).use(cN,{log:!1}).use(IL,{icons:EL}).use(Fo);FS.config.globalProperties.$formatters=dR;FS.mount("#app");