mirror of
https://github.com/owntone/owntone-server.git
synced 2025-10-30 00:05:05 -04:00
90 lines
795 KiB
JavaScript
90 lines
795 KiB
JavaScript
(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.18
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function nn(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const Yt={},_r=[],Qe=()=>{},oo=()=>!1,nr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),pu=t=>t.startsWith("onUpdate:"),Zt=Object.assign,mu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},JS=Object.prototype.hasOwnProperty,ue=(t,e)=>JS.call(t,e),gt=Array.isArray,Sr=t=>$r(t)==="[object Map]",sr=t=>$r(t)==="[object Set]",Cf=t=>$r(t)==="[object Date]",zb=t=>$r(t)==="[object RegExp]",xt=t=>typeof t=="function",Rt=t=>typeof t=="string",Pn=t=>typeof t=="symbol",me=t=>t!==null&&typeof t=="object",gu=t=>(me(t)||xt(t))&&xt(t.then)&&xt(t.catch),Dh=Object.prototype.toString,$r=t=>Dh.call(t),Xb=t=>$r(t).slice(8,-1),il=t=>$r(t)==="[object Object]",yu=t=>Rt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,pi=nn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yb=nn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),bu=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},QS=/-(\w)/g,Ce=bu(t=>t.replace(QS,(e,n)=>n?n.toUpperCase():"")),tE=/\B([A-Z])/g,bn=bu(t=>t.replace(tE,"-$1").toLowerCase()),ir=bu(t=>t.charAt(0).toUpperCase()+t.slice(1)),Er=bu(t=>t?`on${ir(t)}`:""),gn=(t,e)=>!Object.is(t,e),wr=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},xc=(t,e,n,s=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},La=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Ma=t=>{const e=Rt(t)?Number(t):NaN;return isNaN(e)?t:e};let Om;const rl=()=>Om||(Om=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),eE=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function nE(t){return eE.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}function sE(t,e){return t+JSON.stringify(e,(n,s)=>typeof s=="function"?s.toString():s)}const iE={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"},rE={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},oE={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"},aE={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},lE={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},cE="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",Lh=nn(cE),uE=Lh,xm=2;function Zb(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-xm;l<=a+xm||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 Mo(t){if(gt(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],i=Rt(s)?Mh(s):Mo(s);if(i)for(const r in i)e[r]=i[r]}return e}else if(Rt(t)||me(t))return t}const dE=/;(?![^(]*\))/g,fE=/:([^]+)/,hE=/\/\*[^]*?\*\//g;function Mh(t){const e={};return t.replace(hE,"").split(dE).forEach(n=>{if(n){const s=n.split(fE);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function pE(t){if(!t)return"";if(Rt(t))return t;let e="";for(const n in t){const s=t[n];if(Rt(s)||typeof s=="number"){const i=n.startsWith("--")?n:bn(n);e+=`${i}:${s};`}}return e}function Gt(t){let e="";if(Rt(t))e=t;else if(gt(t))for(let n=0;n<t.length;n++){const s=Gt(t[n]);s&&(e+=s+" ")}else if(me(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function ao(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Rt(e)&&(t.class=Gt(e)),n&&(t.style=Mo(n)),t}const mE="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",gE="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",yE="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",bE="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",Jb=nn(mE),Qb=nn(gE),t1=nn(yE),e1=nn(bE),n1="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s1=nn(n1),vE=nn(n1+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function $h(t){return!!t||t===""}const _E=/[>/="'\u0009\u000a\u000c\u0020]/,Ad={};function SE(t){if(Ad.hasOwnProperty(t))return Ad[t];const e=_E.test(t);return e&&console.error(`unsafe attribute name: ${t}`),Ad[t]=!e}const EE={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},wE=nn("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"),kE=nn("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"),CE=nn("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 TE(t){if(t==null)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"}const AE=/["'&<>]/;function OE(t){const e=""+t,n=AE.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=""";break;case 38:i="&";break;case 39:i="'";break;case 60:i="<";break;case 62:i=">";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 xE=/^-?>|<!--|-->|--!>|<!-$/g;function IE(t){return t.replace(xE,"")}const i1=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function NE(t,e){return t.replace(i1,n=>e?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function PE(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=vi(t[s],e[s]);return n}function vi(t,e){if(t===e)return!0;let n=Cf(t),s=Cf(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=Pn(t),s=Pn(e),n||s)return t===e;if(n=gt(t),s=gt(e),n||s)return n&&s?PE(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||!vi(t[o],e[o]))return!1}}return String(t)===String(e)}function ol(t,e){return t.findIndex(n=>vi(n,e))}const r1=t=>!!(t&&t.__v_isRef===!0),et=t=>Rt(t)?t:t==null?"":gt(t)||me(t)&&(t.toString===Dh||!xt(t.toString))?r1(t)?et(t.value):JSON.stringify(t,o1,2):String(t),o1=(t,e)=>r1(e)?o1(t,e.value):Sr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i],r)=>(n[Od(s,r)+" =>"]=i,n),{})}:sr(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Od(n))}:Pn(e)?Od(e):me(e)&&!gt(e)&&!il(e)?String(e):e,Od=(t,e="")=>{var n;return Pn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};function a1(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}const RE=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:_r,EMPTY_OBJ:Yt,NO:oo,NOOP:Qe,PatchFlagNames:rE,PatchFlags:iE,ShapeFlags:oE,SlotFlags:aE,camelize:Ce,capitalize:ir,cssVarNameEscapeSymbolsRE:i1,def:xc,escapeHtml:OE,escapeHtmlComment:IE,extend:Zt,genCacheKey:sE,genPropsAccessExp:nE,generateCodeFrame:Zb,getEscapedCssVarName:NE,getGlobalThis:rl,hasChanged:gn,hasOwn:ue,hyphenate:bn,includeBooleanAttr:$h,invokeArrayFns:wr,isArray:gt,isBooleanAttr:vE,isBuiltInDirective:Yb,isDate:Cf,isFunction:xt,isGloballyAllowed:Lh,isGloballyWhitelisted:uE,isHTMLTag:Jb,isIntegerKey:yu,isKnownHtmlAttr:wE,isKnownMathMLAttr:CE,isKnownSvgAttr:kE,isMap:Sr,isMathMLTag:t1,isModelListener:pu,isObject:me,isOn:nr,isPlainObject:il,isPromise:gu,isRegExp:zb,isRenderableAttrValue:TE,isReservedProp:pi,isSSRSafeAttrName:SE,isSVGTag:Qb,isSet:sr,isSpecialBooleanAttr:s1,isString:Rt,isSymbol:Pn,isVoidTag:e1,looseEqual:vi,looseIndexOf:ol,looseToNumber:La,makeMap:nn,normalizeClass:Gt,normalizeCssVarValue:a1,normalizeProps:ao,normalizeStyle:Mo,objectToString:Dh,parseStringStyle:Mh,propsToAttrMap:EE,remove:mu,slotFlagsText:lE,stringifyStyle:pE,toDisplayString:et,toHandlerKey:Er,toNumber:Ma,toRawType:Xb,toTypeString:$r},Symbol.toStringTag,{value:"Module"}));/**
|
||
* @vue/reactivity v3.5.18
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let hn;class Fh{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 vu(t){return new Fh(t)}function Vh(){return hn}function l1(t,e=!1){hn&&hn.cleanups.push(t)}let ke;const xd=new WeakSet;class $a{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,xd.has(this)&&(xd.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||u1(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Im(this),d1(this);const e=ke,n=Is;ke=this,Is=!0;try{return this.fn()}finally{f1(this),ke=e,Is=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)jh(e);this.deps=this.depsTail=void 0,Im(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xd.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Tf(this)&&this.run()}get dirty(){return Tf(this)}}let c1=0,ga,ya;function u1(t,e=!1){if(t.flags|=8,e){t.next=ya,ya=t;return}t.next=ga,ga=t}function Uh(){c1++}function Hh(){if(--c1>0)return;if(ya){let e=ya;for(ya=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;ga;){let e=ga;for(ga=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 d1(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function f1(t){let e,n=t.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),jh(s),DE(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&&(h1(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function h1(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Fa)||(t.globalVersion=Fa,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Tf(t))))return;t.flags|=2;const e=t.dep,n=ke,s=Is;ke=t,Is=!0;try{d1(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,Is=s,f1(t),t.flags&=-3}}function jh(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)jh(r,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function DE(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}function LE(t,e){t.effect instanceof $a&&(t=t.effect.fn);const n=new $a(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 ME(t){t.effect.stop()}let Is=!0;const p1=[];function _i(){p1.push(Is),Is=!1}function Si(){const t=p1.pop();Is=t===void 0?!0:t}function Im(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=ke;ke=void 0;try{e()}finally{ke=n}}}let Fa=0;class $E{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 _u{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ke||!Is||ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ke)n=this.activeLink=new $E(ke,this),ke.deps?(n.prevDep=ke.depsTail,ke.depsTail.nextDep=n,ke.depsTail=n):ke.deps=ke.depsTail=n,m1(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++,Fa++,this.notify(e)}notify(e){Uh();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Hh()}}}function m1(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)m1(s)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Ic=new WeakMap,kr=Symbol(""),Af=Symbol(""),Va=Symbol("");function yn(t,e,n){if(Is&&ke){let s=Ic.get(t);s||Ic.set(t,s=new Map);let i=s.get(n);i||(s.set(n,i=new _u),i.map=s,i.key=n),i.track()}}function li(t,e,n,s,i,r){const o=Ic.get(t);if(!o){Fa++;return}const a=l=>{l&&l.trigger()};if(Uh(),e==="clear")o.forEach(a);else{const l=gt(t),c=l&&yu(n);if(l&&n==="length"){const u=Number(s);o.forEach((d,f)=>{(f==="length"||f===Va||!Pn(f)&&f>=u)&&a(d)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(Va)),e){case"add":l?c&&a(o.get("length")):(a(o.get(kr)),Sr(t)&&a(o.get(Af)));break;case"delete":l||(a(o.get(kr)),Sr(t)&&a(o.get(Af)));break;case"set":Sr(t)&&a(o.get(kr));break}}Hh()}function FE(t,e){const n=Ic.get(t);return n&&n.get(e)}function Wr(t){const e=ne(t);return e===t?e:(yn(e,"iterate",Va),Yn(t)?e:e.map(on))}function Su(t){return yn(t=ne(t),"iterate",Va),t}const VE={__proto__:null,[Symbol.iterator](){return Id(this,Symbol.iterator,on)},concat(...t){return Wr(this).concat(...t.map(e=>gt(e)?Wr(e):e))},entries(){return Id(this,"entries",t=>(t[1]=on(t[1]),t))},every(t,e){return ei(this,"every",t,e,void 0,arguments)},filter(t,e){return ei(this,"filter",t,e,n=>n.map(on),arguments)},find(t,e){return ei(this,"find",t,e,on,arguments)},findIndex(t,e){return ei(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ei(this,"findLast",t,e,on,arguments)},findLastIndex(t,e){return ei(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ei(this,"forEach",t,e,void 0,arguments)},includes(...t){return Nd(this,"includes",t)},indexOf(...t){return Nd(this,"indexOf",t)},join(t){return Wr(this).join(t)},lastIndexOf(...t){return Nd(this,"lastIndexOf",t)},map(t,e){return ei(this,"map",t,e,void 0,arguments)},pop(){return Yo(this,"pop")},push(...t){return Yo(this,"push",t)},reduce(t,...e){return Nm(this,"reduce",t,e)},reduceRight(t,...e){return Nm(this,"reduceRight",t,e)},shift(){return Yo(this,"shift")},some(t,e){return ei(this,"some",t,e,void 0,arguments)},splice(...t){return Yo(this,"splice",t)},toReversed(){return Wr(this).toReversed()},toSorted(t){return Wr(this).toSorted(t)},toSpliced(...t){return Wr(this).toSpliced(...t)},unshift(...t){return Yo(this,"unshift",t)},values(){return Id(this,"values",on)}};function Id(t,e,n){const s=Su(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 UE=Array.prototype;function ei(t,e,n,s,i,r){const o=Su(t),a=o!==t&&!Yn(t),l=o[e];if(l!==UE[e]){const d=l.apply(t,r);return a?on(d):d}let c=n;o!==t&&(a?c=function(d,f){return n.call(this,on(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 Nm(t,e,n,s){const i=Su(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,on(a),l,t)}),i[e](r,...s)}function Nd(t,e,n){const s=ne(t);yn(s,"iterate",Va);const i=s[e](...n);return(i===-1||i===!1)&&ku(n[0])?(n[0]=ne(n[0]),s[e](...n)):i}function Yo(t,e,n=[]){_i(),Uh();const s=ne(t)[e].apply(t,n);return Hh(),Si(),s}const HE=nn("__proto__,__v_isRef,__isVue"),g1=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Pn));function jE(t){Pn(t)||(t=String(t));const e=ne(this);return yn(e,"has",t),e.hasOwnProperty(t)}class y1{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?w1:E1:r?S1:_1).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const o=gt(e);if(!i){let l;if(o&&(l=VE[n]))return l;if(n==="hasOwnProperty")return jE}const a=Reflect.get(e,n,Ie(e)?e:s);return(Pn(n)?g1.has(n):HE(n))||(i||yn(e,"get",n),r)?a:Ie(a)?o&&yu(n)?a:a.value:me(a)?i?Wh(a):$o(a):a}}class b1 extends y1{constructor(e=!1){super(!1,e)}set(e,n,s,i){let r=e[n];if(!this._isShallow){const l=Ei(r);if(!Yn(s)&&!Ei(s)&&(r=ne(r),s=ne(s)),!gt(e)&&Ie(r)&&!Ie(s))return l?!1:(r.value=s,!0)}const o=gt(e)&&yu(n)?Number(n)<e.length:ue(e,n),a=Reflect.set(e,n,s,Ie(e)?e:i);return e===ne(i)&&(o?gn(s,r)&&li(e,"set",n,s):li(e,"add",n,s)),a}deleteProperty(e,n){const s=ue(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&s&&li(e,"delete",n,void 0),i}has(e,n){const s=Reflect.has(e,n);return(!Pn(n)||!g1.has(n))&&yn(e,"has",n),s}ownKeys(e){return yn(e,"iterate",gt(e)?"length":kr),Reflect.ownKeys(e)}}class v1 extends y1{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const BE=new b1,WE=new v1,GE=new b1(!0),KE=new v1(!0),Of=t=>t,Ol=t=>Reflect.getPrototypeOf(t);function qE(t,e,n){return function(...s){const i=this.__v_raw,r=ne(i),o=Sr(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...s),u=n?Of:e?Nc:on;return!e&&yn(r,"iterate",l?Af:kr),{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 xl(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function zE(t,e){const n={get(i){const r=this.__v_raw,o=ne(r),a=ne(i);t||(gn(i,a)&&yn(o,"get",i),yn(o,"get",a));const{has:l}=Ol(o),c=e?Of:t?Nc:on;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(ne(i),"iterate",kr),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,o=ne(r),a=ne(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=ne(a),c=e?Of:t?Nc:on;return!t&&yn(l,"iterate",kr),a.forEach((u,d)=>i.call(r,c(u),c(d),o))}};return Zt(n,t?{add:xl("add"),set:xl("set"),delete:xl("delete"),clear:xl("clear")}:{add(i){!e&&!Yn(i)&&!Ei(i)&&(i=ne(i));const r=ne(this);return Ol(r).has.call(r,i)||(r.add(i),li(r,"add",i,i)),this},set(i,r){!e&&!Yn(r)&&!Ei(r)&&(r=ne(r));const o=ne(this),{has:a,get:l}=Ol(o);let c=a.call(o,i);c||(i=ne(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,r),c?gn(r,u)&&li(o,"set",i,r):li(o,"add",i,r),this},delete(i){const r=ne(this),{has:o,get:a}=Ol(r);let l=o.call(r,i);l||(i=ne(i),l=o.call(r,i)),a&&a.call(r,i);const c=r.delete(i);return l&&li(r,"delete",i,void 0),c},clear(){const i=ne(this),r=i.size!==0,o=i.clear();return r&&li(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=qE(i,t,e)}),n}function Eu(t,e){const n=zE(t,e);return(s,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(ue(n,i)&&i in s?n:s,i,r)}const XE={get:Eu(!1,!1)},YE={get:Eu(!1,!0)},ZE={get:Eu(!0,!1)},JE={get:Eu(!0,!0)},_1=new WeakMap,S1=new WeakMap,E1=new WeakMap,w1=new WeakMap;function QE(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tw(t){return t.__v_skip||!Object.isExtensible(t)?0:QE(Xb(t))}function $o(t){return Ei(t)?t:wu(t,!1,BE,XE,_1)}function Bh(t){return wu(t,!1,GE,YE,S1)}function Wh(t){return wu(t,!0,WE,ZE,E1)}function ew(t){return wu(t,!0,KE,JE,w1)}function wu(t,e,n,s,i){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=tw(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 Ks(t){return Ei(t)?Ks(t.__v_raw):!!(t&&t.__v_isReactive)}function Ei(t){return!!(t&&t.__v_isReadonly)}function Yn(t){return!!(t&&t.__v_isShallow)}function ku(t){return t?!!t.__v_raw:!1}function ne(t){const e=t&&t.__v_raw;return e?ne(e):t}function Cu(t){return!ue(t,"__v_skip")&&Object.isExtensible(t)&&xc(t,"__v_skip",!0),t}const on=t=>me(t)?$o(t):t,Nc=t=>me(t)?Wh(t):t;function Ie(t){return t?t.__v_isRef===!0:!1}function cs(t){return k1(t,!1)}function Tu(t){return k1(t,!0)}function k1(t,e){return Ie(t)?t:new nw(t,e)}class nw{constructor(e,n){this.dep=new _u,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:ne(e),this._value=n?e:on(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)||Ei(e);e=s?e:ne(e),gn(e,n)&&(this._rawValue=e,this._value=s?e:on(e),this.dep.trigger())}}function sw(t){t.dep&&t.dep.trigger()}function Vn(t){return Ie(t)?t.value:t}function iw(t){return xt(t)?t():Vn(t)}const rw={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 Gh(t){return Ks(t)?t:new Proxy(t,rw)}class ow{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new _u,{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 C1(t){return new ow(t)}function T1(t){const e=gt(t)?new Array(t.length):{};for(const n in t)e[n]=A1(t,n);return e}class aw{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 FE(ne(this._object),this._key)}}class lw{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 cw(t,e,n){return Ie(t)?t:xt(t)?new lw(t):me(t)&&arguments.length>1?A1(t,e,n):cs(t)}function A1(t,e,n){const s=t[e];return Ie(s)?s:new aw(t,e,n)}class uw{constructor(e,n,s){this.fn=e,this.setter=n,this._value=void 0,this.dep=new _u(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fa-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 u1(this,!0),!0}get value(){const e=this.dep.track();return h1(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function dw(t,e,n=!1){let s,i;return xt(t)?s=t:(s=t.get,i=t.set),new uw(s,i,n)}const fw={GET:"get",HAS:"has",ITERATE:"iterate"},hw={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Il={},Pc=new WeakMap;let Fi;function pw(){return Fi}function O1(t,e=!1,n=Fi){if(n){let s=Pc.get(n);s||Pc.set(n,s=[]),s.push(t)}}function mw(t,e,n=Yt){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:a,call:l}=n,c=b=>i?b:Yn(b)||i===!1||i===0?ci(b,1):ci(b);let u,d,f,h,p=!1,m=!1;if(Ie(t)?(d=()=>t.value,p=Yn(t)):Ks(t)?(d=()=>c(t),p=!0):gt(t)?(m=!0,p=t.some(b=>Ks(b)||Yn(b)),d=()=>t.map(b=>{if(Ie(b))return b.value;if(Ks(b))return c(b);if(xt(b))return l?l(b,2):b()})):xt(t)?e?d=l?()=>l(t,2):t:d=()=>{if(f){_i();try{f()}finally{Si()}}const b=Fi;Fi=u;try{return l?l(t,3,[h]):t(h)}finally{Fi=b}}:d=Qe,e&&i){const b=d,S=i===!0?1/0:i;d=()=>ci(b(),S)}const _=Vh(),y=()=>{u.stop(),_&&_.active&&mu(_.effects,u)};if(r&&e){const b=e;e=(...S)=>{b(...S),y()}}let v=m?new Array(t.length).fill(Il):Il;const g=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(e){const S=u.run();if(i||p||(m?S.some((k,I)=>gn(k,v[I])):gn(S,v))){f&&f();const k=Fi;Fi=u;try{const I=[S,v===Il?void 0:m&&v[0]===Il?[]:v,h];v=S,l?l(e,3,I):e(...I)}finally{Fi=k}}}else u.run()};return a&&a(g),u=new $a(d),u.scheduler=o?()=>o(g,!1):g,h=b=>O1(b,!1,u),f=u.onStop=()=>{const b=Pc.get(u);if(b){if(l)l(b,4);else for(const S of b)S();Pc.delete(u)}},e?s?g(!0):v=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 ci(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))ci(t.value,e,n);else if(gt(t))for(let s=0;s<t.length;s++)ci(t[s],e,n);else if(sr(t)||Sr(t))t.forEach(s=>{ci(s,e,n)});else if(il(t)){for(const s in t)ci(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&ci(t[s],e,n)}return t}/**
|
||
* @vue/runtime-core v3.5.18
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const x1=[];function gw(t){x1.push(t)}function yw(){x1.pop()}function bw(t,e){}const vw={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"},_w={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 Fo(t,e,n,s){try{return s?t(...s):t()}catch(i){Fr(i,e,n)}}function ps(t,e,n,s){if(xt(t)){const i=Fo(t,e,n,s);return i&&gu(i)&&i.catch(r=>{Fr(r,e,n)}),i}if(gt(t)){const i=[];for(let r=0;r<t.length;r++)i.push(ps(t[r],e,n,s));return i}}function Fr(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){_i(),Fo(r,null,10,[t,l,c]),Si();return}}Sw(t,n,i,s,o)}function Sw(t,e,n,s=!0,i=!1){if(i)throw t;console.error(t)}const An=[];let js=-1;const ho=[];let Vi=null,eo=0;const I1=Promise.resolve();let Rc=null;function Vr(t){const e=Rc||I1;return t?e.then(this?t.bind(this):t):e}function Ew(t){let e=js+1,n=An.length;for(;e<n;){const s=e+n>>>1,i=An[s],r=Ha(i);r<t||r===t&&i.flags&2?e=s+1:n=s}return e}function Kh(t){if(!(t.flags&1)){const e=Ha(t),n=An[An.length-1];!n||!(t.flags&2)&&e>=Ha(n)?An.push(t):An.splice(Ew(e),0,t),t.flags|=1,N1()}}function N1(){Rc||(Rc=I1.then(P1))}function Ua(t){gt(t)?ho.push(...t):Vi&&t.id===-1?Vi.splice(eo+1,0,t):t.flags&1||(ho.push(t),t.flags|=1),N1()}function Pm(t,e,n=js+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 Dc(t){if(ho.length){const e=[...new Set(ho)].sort((n,s)=>Ha(n)-Ha(s));if(ho.length=0,Vi){Vi.push(...e);return}for(Vi=e,eo=0;eo<Vi.length;eo++){const n=Vi[eo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Vi=null,eo=0}}const Ha=t=>t.id==null?t.flags&2?-1:1/0:t.id;function P1(t){try{for(js=0;js<An.length;js++){const e=An[js];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Fo(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;js<An.length;js++){const e=An[js];e&&(e.flags&=-2)}js=-1,An.length=0,Dc(),Rc=null,(An.length||ho.length)&&P1()}}let no,Nl=[];function R1(t,e){var n,s;no=t,no?(no.enabled=!0,Nl.forEach(({event:i,args:r})=>no.emit(i,...r)),Nl=[]):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=>{R1(r,e)}),setTimeout(()=>{no||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Nl=[])},3e3)):Nl=[]}let ln=null,Au=null;function ja(t){const e=ln;return ln=t,Au=t&&t.type.__scopeId||null,e}function ww(t){Au=t}function kw(){Au=null}const Cw=t=>M;function M(t,e=ln,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&Mf(-1);const r=ja(e);let o;try{o=t(...i)}finally{ja(r),s._d&&Mf(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function ms(t,e){if(ln===null)return t;const n=dl(ln),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&&ci(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function Bs(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&&(_i(),ps(l,n,8,[t.el,a,t,e]),Si())}}const D1=Symbol("_vte"),L1=t=>t.__isTeleport,ba=t=>t&&(t.disabled||t.disabled===""),Rm=t=>t&&(t.defer||t.defer===""),Dm=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Lm=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,xf=(t,e)=>{const n=t&&t.to;return Rt(n)?e?e(n):null:n},M1={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:_}}=c,y=ba(e.props);let{shapeFlag:v,children:g,dynamicChildren:b}=e;if(t==null){const S=e.el=m(""),k=e.anchor=m("");h(S,n,s),h(k,n,s);const I=(C,R)=>{v&16&&(i&&i.isCE&&(i.ce._teleportTarget=C),u(g,C,R,i,r,o,a,l))},D=()=>{const C=e.target=xf(e.props,p),R=$1(C,e,m,h);C&&(o!=="svg"&&Dm(C)?o="svg":o!=="mathml"&&Lm(C)&&(o="mathml"),y||(I(C,R),rc(e,!1)))};y&&(I(n,k),rc(e,!0)),Rm(e.props)?(e.el.__isMounted=!1,Ye(()=>{D(),delete e.el.__isMounted},r)):D()}else{if(Rm(e.props)&&t.el.__isMounted===!1){Ye(()=>{M1.process(t,e,n,s,i,r,o,a,l,c)},r);return}e.el=t.el,e.targetStart=t.targetStart;const S=e.anchor=t.anchor,k=e.target=t.target,I=e.targetAnchor=t.targetAnchor,D=ba(t.props),C=D?n:k,R=D?S:I;if(o==="svg"||Dm(k)?o="svg":(o==="mathml"||Lm(k))&&(o="mathml"),b?(f(t.dynamicChildren,b,C,i,r,o,a),rp(t,e,!0)):l||d(t,e,C,R,i,r,o,a,!1),y)D?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Pl(e,n,S,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const B=e.target=xf(e.props,p);B&&Pl(e,B,null,c,0)}else D&&Pl(e,k,I,c,1);rc(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||!ba(f);for(let p=0;p<a.length;p++){const m=a[p];s(m,e,n,h,!!m.dynamicChildren)}}},move:Pl,hydrate:Tw};function Pl(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||ba(u))&&l&16)for(let f=0;f<c.length;f++)i(c[f],e,n,2);d&&s(a,e,n)}function Tw(t,e,n,s,i,r,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:c,createText:u}},d){const f=e.target=xf(e.props,l);if(f){const h=ba(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||$1(f,e,u,c),d(p&&o(p),e,f,n,s,i,r)}rc(e,h)}return e.anchor&&o(e.anchor)}const Aw=M1;function rc(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 $1(t,e,n,s){const i=e.targetStart=n(""),r=e.targetAnchor=n("");return i[D1]=r,t&&(s(i,t),s(r,t)),r}const Ui=Symbol("_leaveCb"),Rl=Symbol("_enterCb");function qh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Vo(()=>{t.isMounted=!0}),Nu(()=>{t.isUnmounting=!0}),t}const ns=[Function,Array],zh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ns,onEnter:ns,onAfterEnter:ns,onEnterCancelled:ns,onBeforeLeave:ns,onLeave:ns,onAfterLeave:ns,onLeaveCancelled:ns,onBeforeAppear:ns,onAppear:ns,onAfterAppear:ns,onAppearCancelled:ns},F1=t=>{const e=t.subTree;return e.component?F1(e.component):e},Ow={name:"BaseTransition",props:zh,setup(t,{slots:e}){const n=cn(),s=qh();return()=>{const i=e.default&&Ou(e.default(),!0);if(!i||!i.length)return;const r=V1(i),o=ne(t),{mode:a}=o;if(s.isLeaving)return Pd(r);const l=Mm(r);if(!l)return Pd(r);let c=_o(l,o,s,n,d=>c=d);l.type!==Be&&wi(l,c);let u=n.subTree&&Mm(n.subTree);if(u&&u.type!==Be&&!As(l,u)&&F1(n).type!==Be){let d=_o(u,o,s,n);if(wi(u,d),a==="out-in"&&l.type!==Be)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},Pd(r);a==="in-out"&&l.type!==Be?d.delayLeave=(f,h,p)=>{const m=H1(s,u);m[String(u.key)]=u,f[Ui]=()=>{h(),f[Ui]=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 V1(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Be){e=n;break}}return e}const U1=Ow;function H1(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 _o(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:_,onAppear:y,onAfterAppear:v,onAppearCancelled:g}=e,b=String(t.key),S=H1(n,t),k=(C,R)=>{C&&ps(C,s,9,R)},I=(C,R)=>{const B=R[1];k(C,R),gt(C)?C.every($=>$.length<=1)&&B():C.length<=1&&B()},D={mode:o,persisted:a,beforeEnter(C){let R=l;if(!n.isMounted)if(r)R=_||l;else return;C[Ui]&&C[Ui](!0);const B=S[b];B&&As(t,B)&&B.el[Ui]&&B.el[Ui](),k(R,[C])},enter(C){let R=c,B=u,$=d;if(!n.isMounted)if(r)R=y||c,B=v||u,$=g||d;else return;let H=!1;const X=C[Rl]=ot=>{H||(H=!0,ot?k($,[C]):k(B,[C]),D.delayedLeave&&D.delayedLeave(),C[Rl]=void 0)};R?I(R,[C,X]):X()},leave(C,R){const B=String(t.key);if(C[Rl]&&C[Rl](!0),n.isUnmounting)return R();k(f,[C]);let $=!1;const H=C[Ui]=X=>{$||($=!0,R(),X?k(m,[C]):k(p,[C]),C[Ui]=void 0,S[B]===t&&delete S[B])};S[B]=t,h?I(h,[C,H]):H()},clone(C){const R=_o(C,e,n,s,i);return i&&i(R),R}};return D}function Pd(t){if(al(t))return t=Xs(t),t.children=null,t}function Mm(t){if(!al(t))return L1(t.type)&&t.children?V1(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 wi(t,e){t.shapeFlag&6&&t.component?(t.transition=e,wi(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 Ou(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(Ou(o.children,e,a))):(e||o.type!==Be)&&s.push(a!=null?Xs(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 Ti(t,e){return xt(t)?Zt({name:t.name},e,{setup:t}):t}function xw(){const t=cn();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function Xh(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Iw(t){const e=cn(),n=Tu(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 po(t,e,n,s,i=!1){if(gt(t)){t.forEach((p,m)=>po(p,e&&(gt(e)?e[m]:e),n,s,i));return}if(Zi(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&po(t,e,n,s.component.subTree);return}const r=s.shapeFlag&4?dl(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=ne(d),h=d===Yt?()=>!1:p=>ue(f,p);if(c!=null&&c!==l&&(Rt(c)?(u[c]=null,h(c)&&(d[c]=null)):Ie(c)&&(c.value=null)),xt(l))Fo(l,a,12,[o,u]);else{const p=Rt(l),m=Ie(l);if(p||m){const _=()=>{if(t.f){const y=p?h(l)?d[l]:u[l]:l.value;i?gt(y)&&mu(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?(_.id=-1,Ye(_,n)):_()}}}let $m=!1;const Gr=()=>{$m||(console.error("Hydration completed but contains mismatches."),$m=!0)},Nw=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",Pw=t=>t.namespaceURI.includes("MathML"),Dl=t=>{if(t.nodeType===1){if(Nw(t))return"svg";if(Pw(t))return"mathml"}},lo=t=>t.nodeType===8;function Rw(t){const{mt:e,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),Dc(),b._vnode=g;return}d(b.firstChild,g,null,null,null),Dc(),b._vnode=g},d=(g,b,S,k,I,D=!1)=>{D=D||!!b.dynamicChildren;const C=lo(g)&&g.data==="[",R=()=>m(g,b,S,k,I,C),{type:B,ref:$,shapeFlag:H,patchFlag:X}=b;let ot=g.nodeType;b.el=g,X===-2&&(D=!1,b.dynamicChildren=null);let K=null;switch(B){case mi:ot!==3?b.children===""?(l(b.el=i(""),o(g),g),K=g):K=R():(g.data!==b.children&&(Gr(),g.data=b.children),K=r(g));break;case Be:v(g)?(K=r(g),y(b.el=g.content.firstChild,g,S)):ot!==8||C?K=R():K=r(g);break;case Tr:if(C&&(g=r(g),ot=g.nodeType),ot===1||ot===3){K=g;const Q=!b.children.length;for(let at=0;at<b.staticCount;at++)Q&&(b.children+=K.nodeType===1?K.outerHTML:K.data),at===b.staticCount-1&&(b.anchor=K),K=r(K);return C?r(K):K}else R();break;case it:C?K=p(g,b,S,k,I,D):K=R();break;default:if(H&1)(ot!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!v(g)?K=R():K=f(g,b,S,k,I,D);else if(H&6){b.slotScopeIds=I;const Q=o(g);if(C?K=_(g):lo(g)&&g.data==="teleport start"?K=_(g,g.data,"teleport end"):K=r(g),e(b,Q,null,S,k,Dl(Q),D),Zi(b)&&!b.type.__asyncResolved){let at;C?(at=E(it),at.anchor=K?K.previousSibling:Q.lastChild):at=g.nodeType===3?Ys(""):E("div"),at.el=g,b.component.subTree=at}}else H&64?ot!==8?K=R():K=b.type.hydrate(g,b,S,k,I,D,t,h):H&128&&(K=b.type.hydrate(g,b,S,k,Dl(o(g)),I,D,t,d))}return $!=null&&po($,null,k,b),K},f=(g,b,S,k,I,D)=>{D=D||!!b.dynamicChildren;const{type:C,props:R,patchFlag:B,shapeFlag:$,dirs:H,transition:X}=b,ot=C==="input"||C==="option";if(ot||B!==-1){H&&Bs(b,null,S,"created");let K=!1;if(v(g)){K=fv(null,X)&&S&&S.vnode.props&&S.vnode.props.appear;const at=g.content.firstChild;if(K){const kt=at.getAttribute("class");kt&&(at.$cls=kt),X.beforeEnter(at)}y(at,g,S),b.el=g=at}if($&16&&!(R&&(R.innerHTML||R.textContent))){let at=h(g.firstChild,b,g,S,k,I,D);for(;at;){Ll(g,1)||Gr();const kt=at;at=at.nextSibling,a(kt)}}else if($&8){let at=b.children;at[0]===`
|
||
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(at=at.slice(1)),g.textContent!==at&&(Ll(g,0)||Gr(),g.textContent=b.children)}if(R){if(ot||!D||B&48){const at=g.tagName.includes("-");for(const kt in R)(ot&&(kt.endsWith("value")||kt==="indeterminate")||nr(kt)&&!pi(kt)||kt[0]==="."||at)&&s(g,kt,null,R[kt],void 0,S)}else if(R.onClick)s(g,"onClick",null,R.onClick,void 0,S);else if(B&4&&Ks(R.style))for(const at in R.style)R.style[at]}let Q;(Q=R&&R.onVnodeBeforeMount)&&$n(Q,S,b),H&&Bs(b,null,S,"beforeMount"),((Q=R&&R.onVnodeMounted)||H||K)&&Ev(()=>{Q&&$n(Q,S,b),K&&X.enter(g),H&&Bs(b,null,S,"mounted")},k)}return g.nextSibling},h=(g,b,S,k,I,D,C)=>{C=C||!!b.dynamicChildren;const R=b.children,B=R.length;for(let $=0;$<B;$++){const H=C?R[$]:R[$]=Fn(R[$]),X=H.type===mi;g?(X&&!C&&$+1<B&&Fn(R[$+1]).type===mi&&(l(i(g.data.slice(H.children.length)),S,r(g)),g.data=H.children),g=d(g,H,k,I,D,C)):X&&!H.children?l(H.el=i(""),S):(Ll(S,1)||Gr(),n(null,H,S,null,k,I,Dl(S),D))}return g},p=(g,b,S,k,I,D)=>{const{slotScopeIds:C}=b;C&&(I=I?I.concat(C):C);const R=o(g),B=h(r(g),b,R,S,k,I,D);return B&&lo(B)&&B.data==="]"?r(b.anchor=B):(Gr(),l(b.anchor=c("]"),R,B),B)},m=(g,b,S,k,I,D)=>{if(Ll(g.parentElement,1)||Gr(),b.el=null,D){const B=_(g);for(;;){const $=r(g);if($&&$!==B)a($);else break}}const C=r(g),R=o(g);return a(g),n(null,b,R,C,S,k,Dl(R),I),S&&(S.vnode.el=b.el,Ru(S,b.el)),C},_=(g,b="[",S="]")=>{let k=0;for(;g;)if(g=r(g),g&&lo(g)&&(g.data===b&&k++,g.data===S)){if(k===0)return r(g);k--}return g},y=(g,b,S)=>{const k=b.parentNode;k&&k.replaceChild(g,b);let I=S;for(;I;)I.vnode.el===b&&(I.vnode.el=I.subTree.el=g),I=I.parent},v=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,d]}const Fm="data-allow-mismatch",Dw={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Ll(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Fm);)t=t.parentElement;const n=t&&t.getAttribute(Fm);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return e===0&&s.includes("children")?!0:s.includes(Dw[e])}}const Lw=rl().requestIdleCallback||(t=>setTimeout(t,1)),Mw=rl().cancelIdleCallback||(t=>clearTimeout(t)),$w=(t=1e4)=>e=>{const n=Lw(e,{timeout:t});return()=>Mw(n)};function Fw(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 Vw=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(Fw(i))return e(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},Uw=t=>e=>{if(t){const n=matchMedia(t);if(n.matches)e();else return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e)}},Hw=(t=[])=>(e,n)=>{Rt(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 jw(t,e){if(lo(t)&&t.data==="["){let n=1,s=t.nextSibling;for(;s;){if(s.nodeType===1){if(e(s)===!1)break}else if(lo(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else e(t)}const Zi=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Bw(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((_,y)=>{l(m,()=>_(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 Ti({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,m,_){let y=!1;(m.bu||(m.bu=[])).push(()=>y=!0);const v=()=>{y||_()},g=r?()=>{const b=r(v,S=>jw(p,S));b&&(m.bum||(m.bum=[])).push(b)}:v;u?g():h().then(()=>!m.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const p=an;if(Xh(p),u)return()=>Rd(u,p);const m=g=>{c=null,Fr(g,p,13,!s)};if(a&&p.suspense||So)return h().then(g=>()=>Rd(g,p)).catch(g=>(m(g),()=>s?E(s,{error:g}):null));const _=cs(!1),y=cs(),v=cs(!!i);return i&&setTimeout(()=>{v.value=!1},i),o!=null&&setTimeout(()=>{if(!_.value&&!y.value){const g=new Error(`Async component timed out after ${o}ms.`);m(g),y.value=g}},o),h().then(()=>{_.value=!0,p.parent&&al(p.parent.vnode)&&p.parent.update()}).catch(g=>{m(g),y.value=g}),()=>{if(_.value&&u)return Rd(u,p);if(y.value&&s)return E(s,{error:y.value});if(n&&!v.value)return E(n)}}})}function Rd(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 al=t=>t.type.__isKeepAlive,Ww={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=cn(),s=n.ctx;if(!s.renderer)return()=>{const v=e.default&&e.default();return v&&v.length===1?v[0]:v};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=(v,g,b,S,k)=>{const I=v.component;c(v,g,b,0,a),l(I.vnode,v,g,b,I,a,S,v.slotScopeIds,k),Ye(()=>{I.isDeactivated=!1,I.a&&wr(I.a);const D=v.props&&v.props.onVnodeMounted;D&&$n(D,I.parent,v)},a)},s.deactivate=v=>{const g=v.component;Mc(g.m),Mc(g.a),c(v,f,null,1,a),Ye(()=>{g.da&&wr(g.da);const b=v.props&&v.props.onVnodeUnmounted;b&&$n(b,g.parent,v),g.isDeactivated=!0},a)};function h(v){Dd(v),u(v,n,a,!0)}function p(v){i.forEach((g,b)=>{const S=Hf(g.type);S&&!v(S)&&m(b)})}function m(v){const g=i.get(v);g&&(!o||!As(g,o))?h(g):o&&Dd(o),i.delete(v),r.delete(v)}Zn(()=>[t.include,t.exclude],([v,g])=>{v&&p(b=>oa(v,b)),g&&p(b=>!oa(g,b))},{flush:"post",deep:!0});let _=null;const y=()=>{_!=null&&($c(n.subTree.type)?Ye(()=>{i.set(_,Ml(n.subTree))},n.subTree.suspense):i.set(_,Ml(n.subTree)))};return Vo(y),Iu(y),Nu(()=>{i.forEach(v=>{const{subTree:g,suspense:b}=n,S=Ml(g);if(v.type===S.type&&v.key===S.key){Dd(S);const k=S.component.da;k&&Ye(k,b);return}h(v)})}),()=>{if(_=null,!e.default)return o=null;const v=e.default(),g=v[0];if(v.length>1)return o=null,v;if(!ki(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let b=Ml(g);if(b.type===Be)return o=null,b;const S=b.type,k=Hf(Zi(b)?b.type.__asyncResolved||{}:S),{include:I,exclude:D,max:C}=t;if(I&&(!k||!oa(I,k))||D&&k&&oa(D,k))return b.shapeFlag&=-257,o=b,g;const R=b.key==null?S:b.key,B=i.get(R);return b.el&&(b=Xs(b),g.shapeFlag&128&&(g.ssContent=b)),_=R,B?(b.el=B.el,b.component=B.component,b.transition&&wi(b,b.transition),b.shapeFlag|=512,r.delete(R),r.add(R)):(r.add(R),C&&r.size>parseInt(C,10)&&m(r.values().next().value)),b.shapeFlag|=256,o=b,$c(g.type)?g:b}}},Gw=Ww;function oa(t,e){return gt(t)?t.some(n=>oa(n,e)):Rt(t)?t.split(",").includes(e):zb(t)?(t.lastIndex=0,t.test(e)):!1}function j1(t,e){W1(t,"a",e)}function B1(t,e){W1(t,"da",e)}function W1(t,e,n=an){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(xu(e,s,n),n){let i=n.parent;for(;i&&i.parent;)al(i.parent.vnode)&&Kw(s,e,n,i),i=i.parent}}function Kw(t,e,n,s){const i=xu(e,t,s,!0);ll(()=>{mu(s[e],i)},n)}function Dd(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Ml(t){return t.shapeFlag&128?t.ssContent:t}function xu(t,e,n=an,s=!1){if(n){const i=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{_i();const a=Nr(n),l=ps(e,n,t,o);return a(),Si(),l});return s?i.unshift(r):i.push(r),r}}const Ai=t=>(e,n=an)=>{(!So||t==="sp")&&xu(t,(...s)=>e(...s),n)},G1=Ai("bm"),Vo=Ai("m"),Yh=Ai("bu"),Iu=Ai("u"),Nu=Ai("bum"),ll=Ai("um"),K1=Ai("sp"),q1=Ai("rtg"),z1=Ai("rtc");function X1(t,e=an){xu("ec",t,e)}const Zh="components",qw="directives";function w(t,e){return tp(Zh,t,!0,e)||t}const Y1=Symbol.for("v-ndc");function Jh(t){return Rt(t)?tp(Zh,t,!1)||t:t||Y1}function Qh(t){return tp(qw,t)}function tp(t,e,n=!0,s=!1){const i=ln||an;if(i){const r=i.type;if(t===Zh){const a=Hf(r,!1);if(a&&(a===e||a===Ce(e)||a===ir(Ce(e))))return r}const o=Vm(i[t]||r[t],e)||Vm(i.appContext[t],e);return!o&&s?r:o}}function Vm(t,e){return t&&(t[e]||t[Ce(e)]||t[ir(Ce(e))])}function de(t,e,n,s){let i;const r=n&&n[s],o=gt(t);if(o||Rt(t)){const a=o&&Ks(t);let l=!1,c=!1;a&&(l=!Yn(t),c=Ei(t),t=Su(t)),i=new Array(t.length);for(let u=0,d=t.length;u<d;u++)i[u]=e(l?c?Nc(on(t[u])):on(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 cl(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 le(t,e,n={},s,i){if(ln.ce||ln.parent&&Zi(ln.parent)&&ln.parent.ce)return e!=="default"&&(n.name=e),O(),yt(it,null,[E("slot",n,s&&s())],64);let r=t[e];r&&r._c&&(r._d=!1),O();const o=r&&ep(r(n)),a=n.key||o&&o.key,l=yt(it,{key:(a&&!Pn(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 ep(t){return t.some(e=>ki(e)?!(e.type===Be||e.type===it&&!ep(e.children)):!0)?t:null}function zw(t,e){const n={};for(const s in t)n[e&&/[A-Z]/.test(s)?`on:${s}`:Er(s)]=t[s];return n}const If=t=>t?Ov(t)?dl(t):If(t.parent):null,va=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=>If(t.parent),$root:t=>If(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>np(t),$forceUpdate:t=>t.f||(t.f=()=>{Kh(t.update)}),$nextTick:t=>t.n||(t.n=Vr.bind(t.proxy)),$watch:t=>k3.bind(t)}),Ld=(t,e)=>t!==Yt&&!t.__isScriptSetup&&ue(t,e),Nf={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(Ld(s,e))return o[e]=1,s[e];if(i!==Yt&&ue(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&ue(c,e))return o[e]=3,r[e];if(n!==Yt&&ue(n,e))return o[e]=4,n[e];Pf&&(o[e]=0)}}const u=va[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&&ue(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,ue(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:r}=t;return Ld(i,e)?(i[e]=n,!0):s!==Yt&&ue(s,e)?(s[e]=n,!0):ue(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&&ue(t,o)||Ld(e,o)||(a=r[0])&&ue(a,o)||ue(s,o)||ue(va,o)||ue(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ue(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},Xw=Zt({},Nf,{get(t,e){if(e!==Symbol.unscopables)return Nf.get(t,e,t)},has(t,e){return e[0]!=="_"&&!Lh(e)}});function Yw(){return null}function Zw(){return null}function Jw(t){}function Qw(t){}function t3(){return null}function e3(){}function n3(t,e){return null}function s3(){return Z1().slots}function i3(){return Z1().attrs}function Z1(t){const e=cn();return e.setupContext||(e.setupContext=Nv(e))}function Ba(t){return gt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function r3(t,e){const n=Ba(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 o3(t,e){return!t||!e?t||e:gt(t)&>(e)?t.concat(e):Zt({},Ba(t),Ba(e))}function a3(t,e){const n={};for(const s in t)e.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>t[s]});return n}function l3(t){const e=cn();let n=t();return Ff(),gu(n)&&(n=n.catch(s=>{throw Nr(e),s})),[n,()=>Nr(e)]}let Pf=!0;function c3(t){const e=np(t),n=t.proxy,s=t.ctx;Pf=!1,e.beforeCreate&&Um(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:_,beforeDestroy:y,beforeUnmount:v,destroyed:g,unmounted:b,render:S,renderTracked:k,renderTriggered:I,errorCaptured:D,serverPrefetch:C,expose:R,inheritAttrs:B,components:$,directives:H,filters:X}=e;if(c&&u3(c,s,null),o)for(const Q in o){const at=o[Q];xt(at)&&(s[Q]=at.bind(n))}if(i){const Q=i.call(n,n);me(Q)&&(t.data=$o(Q))}if(Pf=!0,r)for(const Q in r){const at=r[Q],kt=xt(at)?at.bind(n,n):xt(at.get)?at.get.bind(n,n):Qe,zt=!xt(at)&&xt(at.set)?at.set.bind(n):Qe,Vt=Je({get:kt,set:zt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>Vt.value,set:Bt=>Vt.value=Bt})}if(a)for(const Q in a)J1(a[Q],s,n,Q);if(l){const Q=xt(l)?l.call(n):l;Reflect.ownKeys(Q).forEach(at=>{_a(at,Q[at])})}u&&Um(u,t,"c");function K(Q,at){gt(at)?at.forEach(kt=>Q(kt.bind(n))):at&&Q(at.bind(n))}if(K(G1,d),K(Vo,f),K(Yh,h),K(Iu,p),K(j1,m),K(B1,_),K(X1,D),K(z1,k),K(q1,I),K(Nu,v),K(ll,b),K(K1,C),gt(R))if(R.length){const Q=t.exposed||(t.exposed={});R.forEach(at=>{Object.defineProperty(Q,at,{get:()=>n[at],set:kt=>n[at]=kt,enumerable:!0})})}else t.exposed||(t.exposed={});S&&t.render===Qe&&(t.render=S),B!=null&&(t.inheritAttrs=B),$&&(t.components=$),H&&(t.directives=H),C&&Xh(t)}function u3(t,e,n=Qe){gt(t)&&(t=Rf(t));for(const s in t){const i=t[s];let r;me(i)?"default"in i?r=us(i.from||s,i.default,!0):r=us(i.from||s):r=us(i),Ie(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function Um(t,e,n){ps(gt(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function J1(t,e,n,s){let i=s.includes(".")?bv(n,s):()=>n[s];if(Rt(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=>J1(r,e,n,s));else{const r=xt(t.handler)?t.handler.bind(n):e[t.handler];xt(r)&&Zn(i,r,t)}}function np(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=>Lc(l,c,o,!0)),Lc(l,e,o)),me(e)&&r.set(e,l),l}function Lc(t,e,n,s=!1){const{mixins:i,extends:r}=e;r&&Lc(t,r,n,!0),i&&i.forEach(o=>Lc(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=d3[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const d3={data:Hm,props:jm,emits:jm,methods:aa,computed:aa,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:aa,directives:aa,watch:h3,provide:Hm,inject:f3};function Hm(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 f3(t,e){return aa(Rf(t),Rf(e))}function Rf(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 aa(t,e){return t?Zt(Object.create(null),t,e):e}function jm(t,e){return t?gt(t)&>(e)?[...new Set([...t,...e])]:Zt(Object.create(null),Ba(t),Ba(e??{})):e}function h3(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 Q1(){return{app:null,config:{isNativeTag:oo,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 p3=0;function m3(t,e){return function(s,i=null){xt(s)||(s=Zt({},s)),i!=null&&!me(i)&&(i=null);const r=Q1(),o=new WeakSet,a=[];let l=!1;const c=r.app={_uid:p3++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:Rv,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,dl(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(ps(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=Cr;Cr=c;try{return u()}finally{Cr=d}}};return c}}let Cr=null;function _a(t,e){if(an){let n=an.provides;const s=an.parent&&an.parent.provides;s===n&&(n=an.provides=Object.create(s)),n[t]=e}}function us(t,e,n=!1){const s=cn();if(s||Cr){let i=Cr?Cr._context.provides:s?s.parent==null||s.ce?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 tv(){return!!(cn()||Cr)}const ev={},nv=()=>Object.create(ev),sv=t=>Object.getPrototypeOf(t)===ev;function g3(t,e,n,s=!1){const i={},r=nv();t.propsDefaults=Object.create(null),iv(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=s?i:Bh(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function y3(t,e,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,a=ne(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(Pu(t.emitsOptions,f))continue;const h=e[f];if(l)if(ue(r,f))h!==r[f]&&(r[f]=h,c=!0);else{const p=Ce(f);i[p]=Df(l,a,p,h,t,!1)}else h!==r[f]&&(r[f]=h,c=!0)}}}else{iv(t,e,i,r)&&(c=!0);let u;for(const d in a)(!e||!ue(e,d)&&((u=bn(d))===d||!ue(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||!ue(e,d))&&(delete r[d],c=!0)}c&&li(t.attrs,"set","")}function iv(t,e,n,s){const[i,r]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(pi(l))continue;const c=e[l];let u;i&&ue(i,u=Ce(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:Pu(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}if(r){const l=ne(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,!ue(c,d))}}return o}function Df(t,e,n,s,i,r){const o=t[n];if(o!=null){const a=ue(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=Nr(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 b3=new WeakMap;function rv(t,e,n=!1){const s=n?b3: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]=rv(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,_r),_r;if(gt(r))for(let u=0;u<r.length;u++){const d=Ce(r[u]);Bm(d)&&(o[d]=Yt)}else if(r)for(const u in r){const d=Ce(u);if(Bm(d)){const f=r[u],h=o[d]=gt(f)||xt(f)?{type:f}:Zt({},f),p=h.type;let m=!1,_=!0;if(gt(p))for(let y=0;y<p.length;++y){const v=p[y],g=xt(v)&&v.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(_=!1)}else m=xt(p)&&p.name==="Boolean";h[0]=m,h[1]=_,(m||ue(h,"default"))&&a.push(d)}}const c=[o,a];return me(t)&&s.set(t,c),c}function Bm(t){return t[0]!=="$"&&!pi(t)}const sp=t=>t==="_"||t==="__"||t==="_ctx"||t==="$stable",ip=t=>gt(t)?t.map(Fn):[Fn(t)],v3=(t,e,n)=>{if(e._n)return e;const s=M((...i)=>ip(e(...i)),n);return s._c=!1,s},ov=(t,e,n)=>{const s=t._ctx;for(const i in t){if(sp(i))continue;const r=t[i];if(xt(r))e[i]=v3(i,r,s);else if(r!=null){const o=ip(r);e[i]=()=>o}}},av=(t,e)=>{const n=ip(e);t.slots.default=()=>n},lv=(t,e,n)=>{for(const s in e)(n||!sp(s))&&(t[s]=e[s])},_3=(t,e,n)=>{const s=t.slots=nv();if(t.vnode.shapeFlag&32){const i=e.__;i&&xc(s,"__",i,!0);const r=e._;r?(lv(s,e,n),n&&xc(s,"_",r,!0)):ov(e,s)}else e&&av(t,e)},S3=(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:lv(i,e,n):(r=!e.$stable,ov(e,i)),o=e}else e&&(av(t,e),o={default:1});if(r)for(const a in i)!sp(a)&&o[a]==null&&delete i[a]},Ye=Ev;function cv(t){return dv(t)}function uv(t){return dv(t,Rw)}function dv(t,e){const n=rl();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=Qe,insertStaticContent:p}=t,m=(A,N,W,st=null,J=null,T=null,x=void 0,V=null,z=!!N.dynamicChildren)=>{if(A===N)return;A&&!As(A,N)&&(st=Y(A),Bt(A,J,T,!0),A=null),N.patchFlag===-2&&(z=!1,N.dynamicChildren=null);const{type:tt,ref:lt,shapeFlag:L}=N;switch(tt){case mi:_(A,N,W,st);break;case Be:y(A,N,W,st);break;case Tr:A==null&&v(N,W,st,x);break;case it:$(A,N,W,st,J,T,x,V,z);break;default:L&1?S(A,N,W,st,J,T,x,V,z):L&6?H(A,N,W,st,J,T,x,V,z):(L&64||L&128)&&tt.process(A,N,W,st,J,T,x,V,z,bt)}lt!=null&&J?po(lt,A&&A.ref,T,N||A,!N):lt==null&&A&&A.ref!=null&&po(A.ref,null,T,A,!0)},_=(A,N,W,st)=>{if(A==null)s(N.el=a(N.children),W,st);else{const J=N.el=A.el;N.children!==A.children&&c(J,N.children)}},y=(A,N,W,st)=>{A==null?s(N.el=l(N.children||""),W,st):N.el=A.el},v=(A,N,W,st)=>{[A.el,A.anchor]=p(A.children,N,W,st,A.el,A.anchor)},g=({el:A,anchor:N},W,st)=>{let J;for(;A&&A!==N;)J=f(A),s(A,W,st),A=J;s(N,W,st)},b=({el:A,anchor:N})=>{let W;for(;A&&A!==N;)W=f(A),i(A),A=W;i(N)},S=(A,N,W,st,J,T,x,V,z)=>{N.type==="svg"?x="svg":N.type==="math"&&(x="mathml"),A==null?k(N,W,st,J,T,x,V,z):C(A,N,J,T,x,V,z)},k=(A,N,W,st,J,T,x,V)=>{let z,tt;const{props:lt,shapeFlag:L,transition:G,dirs:ht}=A;if(z=A.el=o(A.type,T,lt&<.is,lt),L&8?u(z,A.children):L&16&&D(A.children,z,null,st,J,Md(A,T),x,V),ht&&Bs(A,null,st,"created"),I(z,A,A.scopeId,x,st),lt){for(const Kt in lt)Kt!=="value"&&!pi(Kt)&&r(z,Kt,null,lt[Kt],T,st);"value"in lt&&r(z,"value",null,lt.value,T),(tt=lt.onVnodeBeforeMount)&&$n(tt,st,A)}ht&&Bs(A,null,st,"beforeMount");const St=fv(J,G);St&&G.beforeEnter(z),s(z,N,W),((tt=lt&<.onVnodeMounted)||St||ht)&&Ye(()=>{tt&&$n(tt,st,A),St&&G.enter(z),ht&&Bs(A,null,st,"mounted")},J)},I=(A,N,W,st,J)=>{if(W&&h(A,W),st)for(let T=0;T<st.length;T++)h(A,st[T]);if(J){let T=J.subTree;if(N===T||$c(T.type)&&(T.ssContent===N||T.ssFallback===N)){const x=J.vnode;I(A,x,x.scopeId,x.slotScopeIds,J.parent)}}},D=(A,N,W,st,J,T,x,V,z=0)=>{for(let tt=z;tt<A.length;tt++){const lt=A[tt]=V?Hi(A[tt]):Fn(A[tt]);m(null,lt,N,W,st,J,T,x,V)}},C=(A,N,W,st,J,T,x)=>{const V=N.el=A.el;let{patchFlag:z,dynamicChildren:tt,dirs:lt}=N;z|=A.patchFlag&16;const L=A.props||Yt,G=N.props||Yt;let ht;if(W&&cr(W,!1),(ht=G.onVnodeBeforeUpdate)&&$n(ht,W,N,A),lt&&Bs(N,A,W,"beforeUpdate"),W&&cr(W,!0),(L.innerHTML&&G.innerHTML==null||L.textContent&&G.textContent==null)&&u(V,""),tt?R(A.dynamicChildren,tt,V,W,st,Md(N,J),T):x||at(A,N,V,null,W,st,Md(N,J),T,!1),z>0){if(z&16)B(V,L,G,W,J);else if(z&2&&L.class!==G.class&&r(V,"class",null,G.class,J),z&4&&r(V,"style",L.style,G.style,J),z&8){const St=N.dynamicProps;for(let Kt=0;Kt<St.length;Kt++){const U=St[Kt],j=L[U],q=G[U];(q!==j||U==="value")&&r(V,U,j,q,J,W)}}z&1&&A.children!==N.children&&u(V,N.children)}else!x&&tt==null&&B(V,L,G,W,J);((ht=G.onVnodeUpdated)||lt)&&Ye(()=>{ht&&$n(ht,W,N,A),lt&&Bs(N,A,W,"updated")},st)},R=(A,N,W,st,J,T,x)=>{for(let V=0;V<N.length;V++){const z=A[V],tt=N[V],lt=z.el&&(z.type===it||!As(z,tt)||z.shapeFlag&198)?d(z.el):W;m(z,tt,lt,null,st,J,T,x,!0)}},B=(A,N,W,st,J)=>{if(N!==W){if(N!==Yt)for(const T in N)!pi(T)&&!(T in W)&&r(A,T,N[T],null,J,st);for(const T in W){if(pi(T))continue;const x=W[T],V=N[T];x!==V&&T!=="value"&&r(A,T,V,x,J,st)}"value"in W&&r(A,"value",N.value,W.value,J)}},$=(A,N,W,st,J,T,x,V,z)=>{const tt=N.el=A?A.el:a(""),lt=N.anchor=A?A.anchor:a("");let{patchFlag:L,dynamicChildren:G,slotScopeIds:ht}=N;ht&&(V=V?V.concat(ht):ht),A==null?(s(tt,W,st),s(lt,W,st),D(N.children||[],W,lt,J,T,x,V,z)):L>0&&L&64&&G&&A.dynamicChildren?(R(A.dynamicChildren,G,W,J,T,x,V),(N.key!=null||J&&N===J.subTree)&&rp(A,N,!0)):at(A,N,W,lt,J,T,x,V,z)},H=(A,N,W,st,J,T,x,V,z)=>{N.slotScopeIds=V,A==null?N.shapeFlag&512?J.ctx.activate(N,W,st,x,z):X(N,W,st,J,T,x,z):ot(A,N,z)},X=(A,N,W,st,J,T,x)=>{const V=A.component=Av(A,st,J);if(al(A)&&(V.ctx.renderer=bt),xv(V,!1,x),V.asyncDep){if(J&&J.registerDep(V,K,x),!A.el){const z=V.subTree=E(Be);y(null,z,N,W),A.placeholder=z.el}}else K(V,A,N,W,J,T,x)},ot=(A,N,W)=>{const st=N.component=A.component;if(I3(A,N,W))if(st.asyncDep&&!st.asyncResolved){Q(st,N,W);return}else st.next=N,st.update();else N.el=A.el,st.vnode=N},K=(A,N,W,st,J,T,x)=>{const V=()=>{if(A.isMounted){let{next:L,bu:G,u:ht,parent:St,vnode:Kt}=A;{const pt=hv(A);if(pt){L&&(L.el=Kt.el,Q(A,L,x)),pt.asyncDep.then(()=>{A.isUnmounted||V()});return}}let U=L,j;cr(A,!1),L?(L.el=Kt.el,Q(A,L,x)):L=Kt,G&&wr(G),(j=L.props&&L.props.onVnodeBeforeUpdate)&&$n(j,St,L,Kt),cr(A,!0);const q=oc(A),rt=A.subTree;A.subTree=q,m(rt,q,d(rt.el),Y(rt),A,J,T),L.el=q.el,U===null&&Ru(A,q.el),ht&&Ye(ht,J),(j=L.props&&L.props.onVnodeUpdated)&&Ye(()=>$n(j,St,L,Kt),J)}else{let L;const{el:G,props:ht}=N,{bm:St,m:Kt,parent:U,root:j,type:q}=A,rt=Zi(N);if(cr(A,!1),St&&wr(St),!rt&&(L=ht&&ht.onVnodeBeforeMount)&&$n(L,U,N),cr(A,!0),G&&Xt){const pt=()=>{A.subTree=oc(A),Xt(G,A.subTree,A,J,null)};rt&&q.__asyncHydrate?q.__asyncHydrate(G,A,pt):pt()}else{j.ce&&j.ce._def.shadowRoot!==!1&&j.ce._injectChildStyle(q);const pt=A.subTree=oc(A);m(null,pt,W,st,A,J,T),N.el=pt.el}if(Kt&&Ye(Kt,J),!rt&&(L=ht&&ht.onVnodeMounted)){const pt=N;Ye(()=>$n(L,U,pt),J)}(N.shapeFlag&256||U&&Zi(U.vnode)&&U.vnode.shapeFlag&256)&&A.a&&Ye(A.a,J),A.isMounted=!0,N=W=st=null}};A.scope.on();const z=A.effect=new $a(V);A.scope.off();const tt=A.update=z.run.bind(z),lt=A.job=z.runIfDirty.bind(z);lt.i=A,lt.id=A.uid,z.scheduler=()=>Kh(lt),cr(A,!0),tt()},Q=(A,N,W)=>{N.component=A;const st=A.vnode.props;A.vnode=N,A.next=null,y3(A,N.props,st,W),S3(A,N.children,W),_i(),Pm(A),Si()},at=(A,N,W,st,J,T,x,V,z=!1)=>{const tt=A&&A.children,lt=A?A.shapeFlag:0,L=N.children,{patchFlag:G,shapeFlag:ht}=N;if(G>0){if(G&128){zt(tt,L,W,st,J,T,x,V,z);return}else if(G&256){kt(tt,L,W,st,J,T,x,V,z);return}}ht&8?(lt&16&&Wt(tt,J,T),L!==tt&&u(W,L)):lt&16?ht&16?zt(tt,L,W,st,J,T,x,V,z):Wt(tt,J,T,!0):(lt&8&&u(W,""),ht&16&&D(L,W,st,J,T,x,V,z))},kt=(A,N,W,st,J,T,x,V,z)=>{A=A||_r,N=N||_r;const tt=A.length,lt=N.length,L=Math.min(tt,lt);let G;for(G=0;G<L;G++){const ht=N[G]=z?Hi(N[G]):Fn(N[G]);m(A[G],ht,W,null,J,T,x,V,z)}tt>lt?Wt(A,J,T,!0,!1,L):D(N,W,st,J,T,x,V,z,L)},zt=(A,N,W,st,J,T,x,V,z)=>{let tt=0;const lt=N.length;let L=A.length-1,G=lt-1;for(;tt<=L&&tt<=G;){const ht=A[tt],St=N[tt]=z?Hi(N[tt]):Fn(N[tt]);if(As(ht,St))m(ht,St,W,null,J,T,x,V,z);else break;tt++}for(;tt<=L&&tt<=G;){const ht=A[L],St=N[G]=z?Hi(N[G]):Fn(N[G]);if(As(ht,St))m(ht,St,W,null,J,T,x,V,z);else break;L--,G--}if(tt>L){if(tt<=G){const ht=G+1,St=ht<lt?N[ht].el:st;for(;tt<=G;)m(null,N[tt]=z?Hi(N[tt]):Fn(N[tt]),W,St,J,T,x,V,z),tt++}}else if(tt>G)for(;tt<=L;)Bt(A[tt],J,T,!0),tt++;else{const ht=tt,St=tt,Kt=new Map;for(tt=St;tt<=G;tt++){const Lt=N[tt]=z?Hi(N[tt]):Fn(N[tt]);Lt.key!=null&&Kt.set(Lt.key,tt)}let U,j=0;const q=G-St+1;let rt=!1,pt=0;const At=new Array(q);for(tt=0;tt<q;tt++)At[tt]=0;for(tt=ht;tt<=L;tt++){const Lt=A[tt];if(j>=q){Bt(Lt,J,T,!0);continue}let ce;if(Lt.key!=null)ce=Kt.get(Lt.key);else for(U=St;U<=G;U++)if(At[U-St]===0&&As(Lt,N[U])){ce=U;break}ce===void 0?Bt(Lt,J,T,!0):(At[ce-St]=tt+1,ce>=pt?pt=ce:rt=!0,m(Lt,N[ce],W,null,J,T,x,V,z),j++)}const $t=rt?E3(At):_r;for(U=$t.length-1,tt=q-1;tt>=0;tt--){const Lt=St+tt,ce=N[Lt],Nt=N[Lt+1],Et=Lt+1<lt?Nt.el||Nt.placeholder:st;At[tt]===0?m(null,ce,W,Et,J,T,x,V,z):rt&&(U<0||tt!==$t[U]?Vt(ce,W,Et,2):U--)}}},Vt=(A,N,W,st,J=null)=>{const{el:T,type:x,transition:V,children:z,shapeFlag:tt}=A;if(tt&6){Vt(A.component.subTree,N,W,st);return}if(tt&128){A.suspense.move(N,W,st);return}if(tt&64){x.move(A,N,W,bt);return}if(x===it){s(T,N,W);for(let L=0;L<z.length;L++)Vt(z[L],N,W,st);s(A.anchor,N,W);return}if(x===Tr){g(A,N,W);return}if(st!==2&&tt&1&&V)if(st===0)V.beforeEnter(T),s(T,N,W),Ye(()=>V.enter(T),J);else{const{leave:L,delayLeave:G,afterLeave:ht}=V,St=()=>{A.ctx.isUnmounted?i(T):s(T,N,W)},Kt=()=>{L(T,()=>{St(),ht&&ht()})};G?G(T,St,Kt):Kt()}else s(T,N,W)},Bt=(A,N,W,st=!1,J=!1)=>{const{type:T,props:x,ref:V,children:z,dynamicChildren:tt,shapeFlag:lt,patchFlag:L,dirs:G,cacheIndex:ht}=A;if(L===-2&&(J=!1),V!=null&&(_i(),po(V,null,W,A,!0),Si()),ht!=null&&(N.renderCache[ht]=void 0),lt&256){N.ctx.deactivate(A);return}const St=lt&1&&G,Kt=!Zi(A);let U;if(Kt&&(U=x&&x.onVnodeBeforeUnmount)&&$n(U,N,A),lt&6)Se(A.component,W,st);else{if(lt&128){A.suspense.unmount(W,st);return}St&&Bs(A,null,N,"beforeUnmount"),lt&64?A.type.remove(A,N,W,bt,st):tt&&!tt.hasOnce&&(T!==it||L>0&&L&64)?Wt(tt,N,W,!1,!0):(T===it&&L&384||!J&<&16)&&Wt(z,N,W),st&&ge(A)}(Kt&&(U=x&&x.onVnodeUnmounted)||St)&&Ye(()=>{U&&$n(U,N,A),St&&Bs(A,null,N,"unmounted")},W)},ge=A=>{const{type:N,el:W,anchor:st,transition:J}=A;if(N===it){ve(W,st);return}if(N===Tr){b(A);return}const T=()=>{i(W),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(A.shapeFlag&1&&J&&!J.persisted){const{leave:x,delayLeave:V}=J,z=()=>x(W,T);V?V(A.el,T,z):z()}else T()},ve=(A,N)=>{let W;for(;A!==N;)W=f(A),i(A),A=W;i(N)},Se=(A,N,W)=>{const{bum:st,scope:J,job:T,subTree:x,um:V,m:z,a:tt,parent:lt,slots:{__:L}}=A;Mc(z),Mc(tt),st&&wr(st),lt&>(L)&&L.forEach(G=>{lt.renderCache[G]=void 0}),J.stop(),T&&(T.flags|=8,Bt(x,A,N,W)),V&&Ye(V,N),Ye(()=>{A.isUnmounted=!0},N),N&&N.pendingBranch&&!N.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===N.pendingId&&(N.deps--,N.deps===0&&N.resolve())},Wt=(A,N,W,st=!1,J=!1,T=0)=>{for(let x=T;x<A.length;x++)Bt(A[x],N,W,st,J)},Y=A=>{if(A.shapeFlag&6)return Y(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const N=f(A.anchor||A.el),W=N&&N[D1];return W?f(W):N};let dt=!1;const ct=(A,N,W)=>{A==null?N._vnode&&Bt(N._vnode,null,null,!0):m(N._vnode||null,A,N,null,null,null,W),N._vnode=A,dt||(dt=!0,Pm(),Dc(),dt=!1)},bt={p:m,um:Bt,m:Vt,r:ge,mt:X,mc:D,pc:at,pbc:R,n:Y,o:t};let Ut,Xt;return e&&([Ut,Xt]=e(bt)),{render:ct,hydrate:Ut,createApp:m3(ct,Ut)}}function Md({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 cr({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function fv(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function rp(t,e,n=!1){const s=t.children,i=e.children;if(gt(s)&>(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]=Hi(i[r]),a.el=o.el),!n&&a.patchFlag!==-2&&rp(o,a)),a.type===mi&&(a.el=o.el),a.type===Be&&!a.el&&(a.el=o.el)}}function E3(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 hv(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:hv(e)}function Mc(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const pv=Symbol.for("v-scx"),mv=()=>us(pv);function gv(t,e){return ul(t,null,e)}function w3(t,e){return ul(t,null,{flush:"post"})}function yv(t,e){return ul(t,null,{flush:"sync"})}function Zn(t,e,n){return ul(t,e,n)}function ul(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(So){if(r==="sync"){const h=mv();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Qe,h.resume=Qe,h.pause=Qe,h}}const u=an;a.call=(h,p,m)=>ps(h,u,p,m);let d=!1;r==="post"?a.scheduler=h=>{Ye(h,u&&u.suspense)}:r!=="sync"&&(d=!0,a.scheduler=(h,p)=>{p?h():Kh(h)}),a.augmentJob=h=>{e&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=mw(t,e,a);return So&&(c?c.push(f):l&&f()),f}function k3(t,e,n){const s=this.proxy,i=Rt(t)?t.includes(".")?bv(s,t):()=>s[t]:t.bind(s,s);let r;xt(e)?r=e:(r=e.handler,n=e);const o=Nr(this),a=ul(i,r.bind(s),n);return o(),a}function bv(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 C3(t,e,n=Yt){const s=cn(),i=Ce(e),r=bn(e),o=vv(t,i),a=C1((l,c)=>{let u,d=Yt,f;return yv(()=>{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 vv=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ce(e)}Modifiers`]||t[`${bn(e)}Modifiers`];function T3(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Yt;let i=n;const r=e.startsWith("update:"),o=r&&vv(s,e.slice(7));o&&(o.trim&&(i=n.map(u=>Rt(u)?u.trim():u)),o.number&&(i=n.map(La)));let a,l=s[a=Er(e)]||s[a=Er(Ce(e))];!l&&r&&(l=s[a=Er(bn(e))]),l&&ps(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,ps(c,t,6,i)}}function _v(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=_v(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 Pu(t,e){return!t||!nr(e)?!1:(e=e.slice(2).replace(/Once$/,""),ue(t,e[0].toLowerCase()+e.slice(1))||ue(t,bn(e))||ue(t,e))}function oc(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,_=ja(t);let y,v;try{if(n.shapeFlag&4){const b=i||s,S=b;y=Fn(c.call(S,b,u,d,h,f,p)),v=a}else{const b=e;y=Fn(b.length>1?b(d,{attrs:a,slots:o,emit:l}):b(d,null)),v=e.props?a:O3(a)}}catch(b){Sa.length=0,Fr(b,t,1),y=E(Be)}let g=y;if(v&&m!==!1){const b=Object.keys(v),{shapeFlag:S}=g;b.length&&S&7&&(r&&b.some(pu)&&(v=x3(v,r)),g=Xs(g,v,!1,!0))}return n.dirs&&(g=Xs(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&wi(g,n.transition),y=g,ja(_),y}function A3(t,e=!0){let n;for(let s=0;s<t.length;s++){const i=t[s];if(ki(i)){if(i.type!==Be||i.children==="v-if"){if(n)return;n=i}}else return}return n}const O3=t=>{let e;for(const n in t)(n==="class"||n==="style"||nr(n))&&((e||(e={}))[n]=t[n]);return e},x3=(t,e)=>{const n={};for(const s in t)(!pu(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function I3(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?Wm(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]&&!Pu(c,f))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?Wm(s,o,c):!0:!!o;return!1}function Wm(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]&&!Pu(n,r))return!0}return!1}function Ru({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 $c=t=>t.__isSuspense;let Lf=0;const N3={name:"Suspense",__isSuspense:!0,process(t,e,n,s,i,r,o,a,l,c){if(t==null)R3(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}D3(t,e,n,s,i,o,a,l,c)}},hydrate:L3,normalize:M3},P3=N3;function Wa(t,e){const n=t.props&&t.props[e];xt(n)&&n()}function R3(t,e,n,s,i,r,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=Sv(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?(Wa(t,"onPending"),Wa(t,"onFallback"),c(null,t.ssFallback,e,n,s,null,r,o),mo(f,t.ssFallback)):f.resolve(!1,!0)}function D3(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:_,isHydrating:y}=d;if(m)d.pendingBranch=f,As(f,m)?(l(m,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():_&&(y||(l(p,h,n,s,i,null,r,o,a),mo(d,h)))):(d.pendingId=Lf++,y?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),_?(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),mo(d,h))):p&&As(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&&As(f,p))l(p,f,n,s,i,d,r,o,a),mo(d,f);else if(Wa(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Lf++,l(null,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0)d.resolve();else{const{timeout:v,pendingId:g}=d;v>0?setTimeout(()=>{d.pendingId===g&&d.fallback(h)},v):v===0&&d.fallback(h)}}function Sv(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:_}}=c;let y;const v=$3(t);v&&e&&e.pendingBranch&&(y=e.pendingId,e.deps++);const g=t.props?Ma(t.props.timeout):void 0,b=r,S={vnode:t,parent:e,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:Lf++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,I=!1){const{vnode:D,activeBranch:C,pendingBranch:R,pendingId:B,effects:$,parentComponent:H,container:X}=S;let ot=!1;S.isHydrating?S.isHydrating=!1:k||(ot=C&&R.transition&&R.transition.mode==="out-in",ot&&(C.transition.afterLeave=()=>{B===S.pendingId&&(f(R,X,r===b?p(C):r,0),Ua($))}),C&&(m(C.el)===X&&(r=p(C)),h(C,H,S,!0)),ot||f(R,X,r,0)),mo(S,R),S.pendingBranch=null,S.isInFallback=!1;let K=S.parent,Q=!1;for(;K;){if(K.pendingBranch){K.effects.push(...$),Q=!0;break}K=K.parent}!Q&&!ot&&Ua($),S.effects=[],v&&e&&e.pendingBranch&&y===e.pendingId&&(e.deps--,e.deps===0&&!I&&e.resolve()),Wa(D,"onResolve")},fallback(k){if(!S.pendingBranch)return;const{vnode:I,activeBranch:D,parentComponent:C,container:R,namespace:B}=S;Wa(I,"onFallback");const $=p(D),H=()=>{S.isInFallback&&(d(null,k,R,$,C,null,B,a,l),mo(S,k))},X=k.transition&&k.transition.mode==="out-in";X&&(D.transition.afterLeave=H),S.isInFallback=!0,h(D,C,null,!0),X||H()},move(k,I,D){S.activeBranch&&f(S.activeBranch,k,I,D),S.container=k},next(){return S.activeBranch&&p(S.activeBranch)},registerDep(k,I,D){const C=!!S.pendingBranch;C&&S.deps++;const R=k.vnode.el;k.asyncDep.catch(B=>{Fr(B,k,0)}).then(B=>{if(k.isUnmounted||S.isUnmounted||S.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:$}=k;Vf(k,B,!1),R&&($.el=R);const H=!R&&k.subTree.el;I(k,$,m(R||k.subTree.el),R?null:p(k.subTree),S,o,D),H&&_(H),Ru(k,$.el),C&&--S.deps===0&&S.resolve()})},unmount(k,I){S.isUnmounted=!0,S.activeBranch&&h(S.activeBranch,n,k,I),S.pendingBranch&&h(S.pendingBranch,n,k,I)}};return S}function L3(t,e,n,s,i,r,o,a,l){const c=e.suspense=Sv(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 M3(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=Gm(s?n.default:n),t.ssFallback=s?Gm(n.fallback):E(Be)}function Gm(t){let e;if(xt(t)){const n=Ir&&t._c;n&&(t._d=!1,O()),t=t(),n&&(t._d=!0,e=En,wv())}return gt(t)&&(t=A3(t)),t=Fn(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function Ev(t,e){e&&e.pendingBranch?gt(t)?e.effects.push(...t):e.effects.push(t):Ua(t)}function mo(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,Ru(s,i))}function $3(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const it=Symbol.for("v-fgt"),mi=Symbol.for("v-txt"),Be=Symbol.for("v-cmt"),Tr=Symbol.for("v-stc"),Sa=[];let En=null;function O(t=!1){Sa.push(En=t?null:[])}function wv(){Sa.pop(),En=Sa[Sa.length-1]||null}let Ir=1;function Mf(t,e=!1){Ir+=t,t<0&&En&&e&&(En.hasOnce=!0)}function kv(t){return t.dynamicChildren=Ir>0?En||_r:null,wv(),Ir>0&&En&&En.push(t),t}function F(t,e,n,s,i,r){return kv(P(t,e,n,s,i,r,!0))}function yt(t,e,n,s,i){return kv(E(t,e,n,s,i,!0))}function ki(t){return t?t.__v_isVNode===!0:!1}function As(t,e){return t.type===e.type&&t.key===e.key}function F3(t){}const Cv=({key:t})=>t??null,ac=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Rt(t)||Ie(t)||xt(t)?{i:ln,r:t,k:e,f:!!n}:t:null);function P(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&&Cv(e),ref:e&&ac(e),scopeId:Au,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:ln};return a?(op(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Rt(n)?8:16),Ir>0&&!o&&En&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&En.push(l),l}const E=V3;function V3(t,e=null,n=null,s=0,i=null,r=!1){if((!t||t===Y1)&&(t=Be),ki(t)){const a=Xs(t,e,!0);return n&&op(a,n),Ir>0&&!r&&En&&(a.shapeFlag&6?En[En.indexOf(t)]=a:En.push(a)),a.patchFlag=-2,a}if(q3(t)&&(t=t.__vccOpts),e){e=Tv(e);let{class:a,style:l}=e;a&&!Rt(a)&&(e.class=Gt(a)),me(l)&&(ku(l)&&!gt(l)&&(l=Zt({},l)),e.style=Mo(l))}const o=Rt(t)?1:$c(t)?128:L1(t)?64:me(t)?4:xt(t)?2:0;return P(t,e,n,s,i,o,r,!0)}function Tv(t){return t?ku(t)||sv(t)?Zt({},t):t:null}function Xs(t,e,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?co(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Cv(c),ref:e&&e.ref?n&&r?gt(r)?r.concat(ac(e)):[r,ac(e)]:ac(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&&Xs(t.ssContent),ssFallback:t.ssFallback&&Xs(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&wi(u,l.clone(u)),u}function Ys(t=" ",e=0){return E(mi,null,t,e)}function U3(t,e){const n=E(Tr,null,t);return n.staticCount=e,n}function _t(t="",e=!1){return e?(O(),yt(Be,null,t)):E(Be,null,t)}function Fn(t){return t==null||typeof t=="boolean"?E(Be):gt(t)?E(it,null,t.slice()):ki(t)?Hi(t):E(mi,null,String(t))}function Hi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Xs(t)}function op(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),op(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!sv(e)?e._ctx=ln:i===3&&ln&&(ln.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else xt(e)?(e={default:e,_ctx:ln},n=32):(e=String(e),s&64?(n=16,e=[Ys(e)]):n=8);t.children=e,t.shapeFlag|=n}function co(...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=Gt([e.class,s.class]));else if(i==="style")e.style=Mo([e.style,s.style]);else if(nr(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){ps(t,e,7,[n,s])}const H3=Q1();let j3=0;function Av(t,e,n){const s=t.type,i=(e?e.appContext:t.appContext)||H3,r={uid:j3++,vnode:t,type:s,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Fh(!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:rv(s,i),emitsOptions:_v(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=T3.bind(null,r),t.ce&&t.ce(r),r}let an=null;const cn=()=>an||ln;let Fc,$f;{const t=rl(),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)}};Fc=e("__VUE_INSTANCE_SETTERS__",n=>an=n),$f=e("__VUE_SSR_SETTERS__",n=>So=n)}const Nr=t=>{const e=an;return Fc(t),t.scope.on(),()=>{t.scope.off(),Fc(e)}},Ff=()=>{an&&an.scope.off(),Fc(null)};function Ov(t){return t.vnode.shapeFlag&4}let So=!1;function xv(t,e=!1,n=!1){e&&$f(e);const{props:s,children:i}=t.vnode,r=Ov(t);g3(t,s,r,e),_3(t,i,n||e);const o=r?B3(t,e):void 0;return e&&$f(!1),o}function B3(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Nf);const{setup:s}=n;if(s){_i();const i=t.setupContext=s.length>1?Nv(t):null,r=Nr(t),o=Fo(s,t,0,[t.props,i]),a=gu(o);if(Si(),r(),(a||t.sp)&&!Zi(t)&&Xh(t),a){if(o.then(Ff,Ff),e)return o.then(l=>{Vf(t,l,e)}).catch(l=>{Fr(l,t,0)});t.asyncDep=o}else Vf(t,o,e)}else Iv(t,e)}function Vf(t,e,n){xt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=Gh(e)),Iv(t,n)}let Vc,Uf;function W3(t){Vc=t,Uf=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,Xw))}}const G3=()=>!Vc;function Iv(t,e,n){const s=t.type;if(!t.render){if(!e&&Vc&&!s.render){const i=s.template||np(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=Vc(i,c)}}t.render=s.render||Qe,Uf&&Uf(t)}{const i=Nr(t);_i();try{c3(t)}finally{Si(),i()}}}const K3={get(t,e){return yn(t,"get",""),t[e]}};function Nv(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,K3),slots:t.slots,emit:t.emit,expose:e}}function dl(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Gh(Cu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in va)return va[n](t)},has(e,n){return n in e||n in va}})):t.proxy}function Hf(t,e=!0){return xt(t)?t.displayName||t.name:t.name||e&&t.__name}function q3(t){return xt(t)&&"__vccOpts"in t}const Je=(t,e)=>dw(t,e,So);function Ws(t,e,n){const s=arguments.length;return s===2?me(e)&&!gt(e)?ki(e)?E(t,null,[e]):E(t,e):E(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ki(n)&&(n=[n]),E(t,e,n))}function z3(){}function X3(t,e,n,s){const i=n[s];if(i&&Pv(i,t))return i;const r=e();return r.memo=t.slice(),r.cacheIndex=s,n[s]=r}function Pv(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 Ir>0&&En&&En.push(t),!0}const Rv="3.5.18",Y3=Qe,Z3=_w,J3=no,Q3=R1,tk={createComponentInstance:Av,setupComponent:xv,renderComponentRoot:oc,setCurrentRenderingInstance:ja,isVNode:ki,normalizeVNode:Fn,getComponentPublicInstance:dl,ensureValidVNode:ep,pushWarningContext:gw,popWarningContext:yw},ek=tk,nk=null,sk=null,ik=null;/**
|
||
* @vue/runtime-dom v3.5.18
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let jf;const Km=typeof window<"u"&&window.trustedTypes;if(Km)try{jf=Km.createPolicy("vue",{createHTML:t=>t})}catch{}const Dv=jf?t=>jf.createHTML(t):t=>t,rk="http://www.w3.org/2000/svg",ok="http://www.w3.org/1998/Math/MathML",ai=typeof document<"u"?document:null,qm=ai&&ai.createElement("template"),ak={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"?ai.createElementNS(rk,t):e==="mathml"?ai.createElementNS(ok,t):n?ai.createElement(t,{is:n}):ai.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>ai.createTextNode(t),createComment:t=>ai.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ai.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{qm.innerHTML=Dv(s==="svg"?`<svg>${t}</svg>`:s==="mathml"?`<math>${t}</math>`:t);const a=qm.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]}},xi="transition",Zo="animation",Eo=Symbol("_vtc"),Lv={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},Mv=Zt({},zh,Lv),lk=t=>(t.displayName="Transition",t.props=Mv,t),$v=lk((t,{slots:e})=>Ws(U1,Fv(t),e)),ur=(t,e=[])=>{gt(t)?t.forEach(n=>n(...e)):t&&t(...e)},zm=t=>t?gt(t)?t.some(e=>e.length>1):t.length>1:!1;function Fv(t){const e={};for(const $ in t)$ in Lv||(e[$]=t[$]);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=ck(i),m=p&&p[0],_=p&&p[1],{onBeforeEnter:y,onEnter:v,onEnterCancelled:g,onLeave:b,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:I=v,onAppearCancelled:D=g}=e,C=($,H,X,ot)=>{$._enterCancelled=ot,Mi($,H?u:a),Mi($,H?c:o),X&&X()},R=($,H)=>{$._isLeaving=!1,Mi($,d),Mi($,h),Mi($,f),H&&H()},B=$=>(H,X)=>{const ot=$?I:v,K=()=>C(H,$,X);ur(ot,[H,K]),Xm(()=>{Mi(H,$?l:r),Us(H,$?u:a),zm(ot)||Ym(H,s,m,K)})};return Zt(e,{onBeforeEnter($){ur(y,[$]),Us($,r),Us($,o)},onBeforeAppear($){ur(k,[$]),Us($,l),Us($,c)},onEnter:B(!1),onAppear:B(!0),onLeave($,H){$._isLeaving=!0;const X=()=>R($,H);Us($,d),$._enterCancelled?(Us($,f),Bf()):(Bf(),Us($,f)),Xm(()=>{$._isLeaving&&(Mi($,d),Us($,h),zm(b)||Ym($,s,_,X))}),ur(b,[$,X])},onEnterCancelled($){C($,!1,void 0,!0),ur(g,[$])},onAppearCancelled($){C($,!0,void 0,!0),ur(D,[$])},onLeaveCancelled($){R($),ur(S,[$])}})}function ck(t){if(t==null)return null;if(me(t))return[$d(t.enter),$d(t.leave)];{const e=$d(t);return[e,e]}}function $d(t){return Ma(t)}function Us(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Eo]||(t[Eo]=new Set)).add(e)}function Mi(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[Eo];n&&(n.delete(e),n.size||(t[Eo]=void 0))}function Xm(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let uk=0;function Ym(t,e,n,s){const i=t._endId=++uk,r=()=>{i===t._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=Vv(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 Vv(t,e){const n=window.getComputedStyle(t),s=p=>(n[p]||"").split(", "),i=s(`${xi}Delay`),r=s(`${xi}Duration`),o=Zm(i,r),a=s(`${Zo}Delay`),l=s(`${Zo}Duration`),c=Zm(a,l);let u=null,d=0,f=0;e===xi?o>0&&(u=xi,d=o,f=r.length):e===Zo?c>0&&(u=Zo,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?xi:Zo:null,f=u?u===xi?r.length:l.length:0);const h=u===xi&&/\b(transform|all)(,|$)/.test(s(`${xi}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Zm(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>Jm(n)+Jm(t[s])))}function Jm(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Bf(){return document.body.offsetHeight}function dk(t,e,n){const s=t[Eo];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Uc=Symbol("_vod"),Uv=Symbol("_vsh"),Hc={beforeMount(t,{value:e},{transition:n}){t[Uc]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Jo(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),Jo(t,!0),s.enter(t)):s.leave(t,()=>{Jo(t,!1)}):Jo(t,e))},beforeUnmount(t,{value:e}){Jo(t,e)}};function Jo(t,e){t.style.display=e?t[Uc]:"none",t[Uv]=!e}function fk(){Hc.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const Hv=Symbol("");function ap(t){const e=cn();if(!e)return;const n=e.ut=(i=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>jc(r,i))},s=()=>{const i=t(e.proxy);e.ce?jc(e.ce,i):Wf(e.subTree,i),n(i)};Yh(()=>{Ua(s)}),Vo(()=>{Zn(s,Qe,{flush:"post"});const i=new MutationObserver(s);i.observe(e.subTree.el.parentNode,{childList:!0}),ll(()=>i.disconnect())})}function Wf(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Wf(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)jc(t.el,e);else if(t.type===it)t.children.forEach(n=>Wf(n,e));else if(t.type===Tr){let{el:n,anchor:s}=t;for(;n&&(jc(n,e),n!==s);)n=n.nextSibling}}function jc(t,e){if(t.nodeType===1){const n=t.style;let s="";for(const i in e){const r=a1(e[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[Hv]=s}}const hk=/(^|;)\s*display\s*:/;function pk(t,e,n){const s=t.style,i=Rt(n);let r=!1;if(n&&!i){if(e)if(Rt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&lc(s,a,"")}else for(const o in e)n[o]==null&&lc(s,o,"");for(const o in n)o==="display"&&(r=!0),lc(s,o,n[o])}else if(i){if(e!==n){const o=s[Hv];o&&(n+=";"+o),s.cssText=n,r=hk.test(n)}}else e&&t.removeAttribute("style");Uc in t&&(t[Uc]=r?s.display:"",t[Uv]&&(s.display="none"))}const Qm=/\s*!important$/;function lc(t,e,n){if(gt(n))n.forEach(s=>lc(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=mk(t,e);Qm.test(n)?t.setProperty(bn(s),n.replace(Qm,""),"important"):t[s]=n}}const tg=["Webkit","Moz","ms"],Fd={};function mk(t,e){const n=Fd[e];if(n)return n;let s=Ce(e);if(s!=="filter"&&s in t)return Fd[e]=s;s=ir(s);for(let i=0;i<tg.length;i++){const r=tg[i]+s;if(r in t)return Fd[e]=r}return e}const eg="http://www.w3.org/1999/xlink";function ng(t,e,n,s,i,r=s1(e)){s&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(eg,e.slice(6,e.length)):t.setAttributeNS(eg,e,n):n==null||r&&!$h(n)?t.removeAttribute(e):t.setAttribute(e,r?"":Pn(n)?String(n):n)}function sg(t,e,n,s,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?Dv(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=$h(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 ui(t,e,n,s){t.addEventListener(e,n,s)}function gk(t,e,n,s){t.removeEventListener(e,n,s)}const ig=Symbol("_vei");function yk(t,e,n,s,i=null){const r=t[ig]||(t[ig]={}),o=r[e];if(s&&o)o.value=s;else{const[a,l]=bk(e);if(s){const c=r[e]=Sk(s,i);ui(t,a,c,l)}else o&&(gk(t,a,o,l),r[e]=void 0)}}const rg=/(?:Once|Passive|Capture)$/;function bk(t){let e;if(rg.test(t)){e={};let s;for(;s=t.match(rg);)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 Vd=0;const vk=Promise.resolve(),_k=()=>Vd||(vk.then(()=>Vd=0),Vd=Date.now());function Sk(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ps(Ek(s,n.value),e,5,[s])};return n.value=t,n.attached=_k(),n}function Ek(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 og=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,wk=(t,e,n,s,i,r)=>{const o=i==="svg";e==="class"?dk(t,s,o):e==="style"?pk(t,n,s):nr(e)?pu(e)||yk(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):kk(t,e,s,o))?(sg(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ng(t,e,s,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Rt(s))?sg(t,Ce(e),s,r,e):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),ng(t,e,s,o))};function kk(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&og(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 og(e)&&Rt(n)?!1:e in t}const ag={};/*! #__NO_SIDE_EFFECTS__ */function jv(t,e,n){const s=Ti(t,e);il(s)&&Zt(s,e);class i extends Du{constructor(o){super(s,o,n)}}return i.def=s,i}/*! #__NO_SIDE_EFFECTS__ */const Ck=(t,e)=>jv(t,e,t0),Tk=typeof HTMLElement<"u"?HTMLElement:class{};class Du extends Tk{constructor(e,n={},s=Wc){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!==Wc?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Du){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):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._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Vr(()=>{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]=Ma(this._props[l])),(a||(a=Object.create(null)))[Ce(l)]=!0)}this._numberProps=a,this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,e(this._def=s,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),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)ue(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(Ce))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):ag;const i=Ce(e);n&&this._numberProps&&this._numberProps[i]&&(s=Ma(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===ag?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(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),Qv(e,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,il(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 Bv(t){const e=cn(),n=e&&e.ce;return n||null}function Ak(){const t=Bv();return t&&t.shadowRoot}function Ok(t="$style"){{const e=cn();if(!e)return Yt;const n=e.type.__cssModules;if(!n)return Yt;const s=n[t];return s||Yt}}const Wv=new WeakMap,Gv=new WeakMap,Bc=Symbol("_moveCb"),lg=Symbol("_enterCb"),xk=t=>(delete t.props.mode,t),Ik=xk({name:"TransitionGroup",props:Zt({},Mv,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=cn(),s=qh();let i,r;return Iu(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!Lk(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(Pk),i.forEach(Rk);const a=i.filter(Dk);Bf(),a.forEach(l=>{const c=l.el,u=c.style;Us(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[Bc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[Bc]=null,Mi(c,o))};c.addEventListener("transitionend",d)}),i=[]}),()=>{const o=ne(t),a=Fv(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),wi(u,_o(u,a,s,n)),Wv.set(u,u.el.getBoundingClientRect()))}r=e.default?Ou(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&wi(u,_o(u,a,s,n))}return E(l,null,r)}}}),Nk=Ik;function Pk(t){const e=t.el;e[Bc]&&e[Bc](),e[lg]&&e[lg]()}function Rk(t){Gv.set(t,t.el.getBoundingClientRect())}function Dk(t){const e=Wv.get(t),n=Gv.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 Lk(t,e,n){const s=t.cloneNode(),i=t[Eo];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}=Vv(s);return r.removeChild(s),o}const tr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return gt(e)?n=>wr(e,n):e};function Mk(t){t.target.composing=!0}function cg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ds=Symbol("_assign"),Zs={created(t,{modifiers:{lazy:e,trim:n,number:s}},i){t[ds]=tr(i);const r=s||i.props&&i.props.type==="number";ui(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=La(a)),t[ds](a)}),n&&ui(t,"change",()=>{t.value=t.value.trim()}),e||(ui(t,"compositionstart",Mk),ui(t,"compositionend",cg),ui(t,"change",cg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(t[ds]=tr(o),t.composing)return;const a=(r||t.type==="number")&&!/^0\d/.test(t.value)?La(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))}},lp={deep:!0,created(t,e,n){t[ds]=tr(n),ui(t,"change",()=>{const s=t._modelValue,i=wo(t),r=t.checked,o=t[ds];if(gt(s)){const a=ol(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(sr(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(Kv(t,r))})},mounted:ug,beforeUpdate(t,e,n){t[ds]=tr(n),ug(t,e,n)}};function ug(t,{value:e,oldValue:n},s){t._modelValue=e;let i;if(gt(e))i=ol(e,s.props.value)>-1;else if(sr(e))i=e.has(s.props.value);else{if(e===n)return;i=vi(e,Kv(t,!0))}t.checked!==i&&(t.checked=i)}const cp={created(t,{value:e},n){t.checked=vi(e,n.props.value),t[ds]=tr(n),ui(t,"change",()=>{t[ds](wo(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[ds]=tr(s),e!==n&&(t.checked=vi(e,s.props.value))}},up={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const i=sr(e);ui(t,"change",()=>{const r=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?La(wo(o)):wo(o));t[ds](t.multiple?i?new Set(r):r:r[0]),t._assigning=!0,Vr(()=>{t._assigning=!1})}),t[ds]=tr(s)},mounted(t,{value:e}){dg(t,e)},beforeUpdate(t,e,n){t[ds]=tr(n)},updated(t,{value:e}){t._assigning||dg(t,e)}};function dg(t,e){const n=t.multiple,s=gt(e);if(!(n&&!s&&!sr(e))){for(let i=0,r=t.options.length;i<r;i++){const o=t.options[i],a=wo(o);if(n)if(s){const l=typeof a;l==="string"||l==="number"?o.selected=e.some(c=>String(c)===String(a)):o.selected=ol(e,a)>-1}else o.selected=e.has(a);else if(vi(wo(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function wo(t){return"_value"in t?t._value:t.value}function Kv(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const qv={created(t,e,n){$l(t,e,n,null,"created")},mounted(t,e,n){$l(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){$l(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){$l(t,e,n,s,"updated")}};function zv(t,e){switch(t){case"SELECT":return up;case"TEXTAREA":return Zs;default:switch(e){case"checkbox":return lp;case"radio":return cp;default:return Zs}}}function $l(t,e,n,s,i){const o=zv(t.tagName,n.props&&n.props.type)[i];o&&o(t,e,n,s)}function $k(){Zs.getSSRProps=({value:t})=>({value:t}),cp.getSSRProps=({value:t},e)=>{if(e.props&&vi(e.props.value,t))return{checked:!0}},lp.getSSRProps=({value:t},e)=>{if(gt(t)){if(e.props&&ol(t,e.props.value)>-1)return{checked:!0}}else if(sr(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},qv.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=zv(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const Fk=["ctrl","shift","alt","meta"],Vk={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)=>Fk.some(n=>t[`${n}Key`]&&!e.includes(n))},Bn=(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=Vk[e[o]];if(a&&a(i,e))return}return t(i,...r)})},Uk={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Xv=(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||Uk[o]===r))return t(i)})},Yv=Zt({patchProp:wk},ak);let Ea,fg=!1;function Zv(){return Ea||(Ea=cv(Yv))}function Jv(){return Ea=fg?Ea:uv(Yv),fg=!0,Ea}const Qv=(...t)=>{Zv().render(...t)},Hk=(...t)=>{Jv().hydrate(...t)},Wc=(...t)=>{const e=Zv().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=n0(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,e0(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},t0=(...t)=>{const e=Jv().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=n0(s);if(i)return n(i,!0,e0(i))},e};function e0(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function n0(t){return Rt(t)?document.querySelector(t):t}let hg=!1;const jk=()=>{hg||(hg=!0,$k(),fk())},Bk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:U1,BaseTransitionPropsValidators:zh,Comment:Be,DeprecationTypes:ik,EffectScope:Fh,ErrorCodes:vw,ErrorTypeStrings:Z3,Fragment:it,KeepAlive:Gw,ReactiveEffect:$a,Static:Tr,Suspense:P3,Teleport:Aw,Text:mi,TrackOpTypes:fw,Transition:$v,TransitionGroup:Nk,TriggerOpTypes:hw,VueElement:Du,assertNumber:bw,callWithAsyncErrorHandling:ps,callWithErrorHandling:Fo,camelize:Ce,capitalize:ir,cloneVNode:Xs,compatUtils:sk,computed:Je,createApp:Wc,createBlock:yt,createCommentVNode:_t,createElementBlock:F,createElementVNode:P,createHydrationRenderer:uv,createPropsRestProxy:a3,createRenderer:cv,createSSRApp:t0,createSlots:cl,createStaticVNode:U3,createTextVNode:Ys,createVNode:E,customRef:C1,defineAsyncComponent:Bw,defineComponent:Ti,defineCustomElement:jv,defineEmits:Zw,defineExpose:Jw,defineModel:e3,defineOptions:Qw,defineProps:Yw,defineSSRCustomElement:Ck,defineSlots:t3,devtools:J3,effect:LE,effectScope:vu,getCurrentInstance:cn,getCurrentScope:Vh,getCurrentWatcher:pw,getTransitionRawChildren:Ou,guardReactiveProps:Tv,h:Ws,handleError:Fr,hasInjectionContext:tv,hydrate:Hk,hydrateOnIdle:$w,hydrateOnInteraction:Hw,hydrateOnMediaQuery:Uw,hydrateOnVisible:Vw,initCustomFormatter:z3,initDirectivesForSSR:jk,inject:us,isMemoSame:Pv,isProxy:ku,isReactive:Ks,isReadonly:Ei,isRef:Ie,isRuntimeOnly:G3,isShallow:Yn,isVNode:ki,markRaw:Cu,mergeDefaults:r3,mergeModels:o3,mergeProps:co,nextTick:Vr,normalizeClass:Gt,normalizeProps:ao,normalizeStyle:Mo,onActivated:j1,onBeforeMount:G1,onBeforeUnmount:Nu,onBeforeUpdate:Yh,onDeactivated:B1,onErrorCaptured:X1,onMounted:Vo,onRenderTracked:z1,onRenderTriggered:q1,onScopeDispose:l1,onServerPrefetch:K1,onUnmounted:ll,onUpdated:Iu,onWatcherCleanup:O1,openBlock:O,popScopeId:kw,provide:_a,proxyRefs:Gh,pushScopeId:ww,queuePostFlushCb:Ua,reactive:$o,readonly:Wh,ref:cs,registerRuntimeCompiler:W3,render:Qv,renderList:de,renderSlot:le,resolveComponent:w,resolveDirective:Qh,resolveDynamicComponent:Jh,resolveFilter:nk,resolveTransitionHooks:_o,setBlockTracking:Mf,setDevtoolsHook:Q3,setTransitionHooks:wi,shallowReactive:Bh,shallowReadonly:ew,shallowRef:Tu,ssrContextKey:pv,ssrUtils:ek,stop:ME,toDisplayString:et,toHandlerKey:Er,toHandlers:zw,toRaw:ne,toRef:cw,toRefs:T1,toValue:iw,transformVNodeArgs:F3,triggerRef:sw,unref:Vn,useAttrs:i3,useCssModule:Ok,useCssVars:ap,useHost:Bv,useId:xw,useModel:C3,useSSRContext:mv,useShadowRoot:Ak,useSlots:s3,useTemplateRef:Iw,useTransitionState:qh,vModelCheckbox:lp,vModelDynamic:qv,vModelRadio:cp,vModelSelect:up,vModelText:Zs,vShow:Hc,version:Rv,warn:Y3,watch:Zn,watchEffect:gv,watchPostEffect:w3,watchSyncEffect:yv,withAsyncContext:l3,withCtx:M,withDefaults:n3,withDirectives:ms,withKeys:Xv,withMemo:X3,withModifiers:Bn,withScopeId:Cw},Symbol.toStringTag,{value:"Module"}));/*!
|
||
* pinia v3.0.3
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let s0;const Lu=t=>s0=t,i0=Symbol();function Gf(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var wa;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(wa||(wa={}));function Wk(){const t=vu(!0),e=t.run(()=>cs({}));let n=[],s=[];const i=Cu({install(r){Lu(i),i._a=r,r.provide(i0,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 r0=()=>{};function pg(t,e,n,s=r0){t.push(e);const i=()=>{const r=t.indexOf(e);r>-1&&(t.splice(r,1),s())};return!n&&Vh()&&l1(i),i}function Kr(t,...e){t.slice().forEach(n=>{n(...e)})}const Gk=t=>t(),mg=Symbol(),Ud=Symbol();function Kf(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];Gf(i)&&Gf(s)&&t.hasOwnProperty(n)&&!Ie(s)&&!Ks(s)?t[n]=Kf(i,s):t[n]=s}return t}const Kk=Symbol();function qk(t){return!Gf(t)||!Object.prototype.hasOwnProperty.call(t,Kk)}const{assign:$i}=Object;function zk(t){return!!(Ie(t)&&t.effect)}function Xk(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=T1(n.state.value[t]);return $i(u,r,Object.keys(o||{}).reduce((d,f)=>(d[f]=Cu(Je(()=>{Lu(n);const h=n._s.get(t);return o[f].call(h,h)})),d),{}))}return l=o0(t,c,e,n,s,!0),l}function o0(t,e,n={},s,i,r){let o;const a=$i({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=s.state.value[t];!r&&!p&&(s.state.value[t]={}),cs({});let m;function _(D){let C;c=u=!1,typeof D=="function"?(D(s.state.value[t]),C={type:wa.patchFunction,storeId:t,events:h}):(Kf(s.state.value[t],D),C={type:wa.patchObject,payload:D,storeId:t,events:h});const R=m=Symbol();Vr().then(()=>{m===R&&(c=!0)}),u=!0,Kr(d,C,s.state.value[t])}const y=r?function(){const{state:C}=n,R=C?C():{};this.$patch(B=>{$i(B,R)})}:r0;function v(){o.stop(),d=[],f=[],s._s.delete(t)}const g=(D,C="")=>{if(mg in D)return D[Ud]=C,D;const R=function(){Lu(s);const B=Array.from(arguments),$=[],H=[];function X(Q){$.push(Q)}function ot(Q){H.push(Q)}Kr(f,{args:B,name:R[Ud],store:S,after:X,onError:ot});let K;try{K=D.apply(this&&this.$id===t?this:S,B)}catch(Q){throw Kr(H,Q),Q}return K instanceof Promise?K.then(Q=>(Kr($,Q),Q)).catch(Q=>(Kr(H,Q),Promise.reject(Q))):(Kr($,K),K)};return R[mg]=!0,R[Ud]=C,R},b={_p:s,$id:t,$onAction:pg.bind(null,f),$patch:_,$reset:y,$subscribe(D,C={}){const R=pg(d,D,C.detached,()=>B()),B=o.run(()=>Zn(()=>s.state.value[t],$=>{(C.flush==="sync"?u:c)&&D({storeId:t,type:wa.direct,events:h},$)},$i({},l,C)));return R},$dispose:v},S=$o(b);s._s.set(t,S);const I=(s._a&&s._a.runWithContext||Gk)(()=>s._e.run(()=>(o=vu()).run(()=>e({action:g}))));for(const D in I){const C=I[D];if(Ie(C)&&!zk(C)||Ks(C))r||(p&&qk(C)&&(Ie(C)?C.value=p[D]:Kf(C,p[D])),s.state.value[t][D]=C);else if(typeof C=="function"){const R=g(C,D);I[D]=R,a.actions[D]=C}}return $i(S,I),$i(ne(S),I),Object.defineProperty(S,"$state",{get:()=>s.state.value[t],set:D=>{_(C=>{$i(C,D)})}}),s._p.forEach(D=>{$i(S,o.run(()=>D({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=tv();return o=o||(l?us(i0,null):null),o&&Lu(o),o=s0,o._s.has(t)||(i?o0(t,e,s,o):Xk(t,s,o)),o._s.get(t)}return r.$id=t,r}const ko=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:[]})}),nt=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},Yk={name:"ListNotifications",setup(){return{notificationsStore:ko()}}},Zk={key:0,class:"notifications"},Jk={class:"columns is-centered"},Qk={class:"column is-half"},tC=["onClick"],eC=["textContent"];function nC(t,e,n,s,i,r){return s.notificationsStore.isEmpty?_t("",!0):(O(),F("section",Zk,[P("div",Jk,[P("div",Qk,[(O(!0),F(it,null,de(s.notificationsStore.list,(o,a)=>(O(),F("div",{key:a,class:Gt(["notification",o.type?`is-${o.type}`:""])},[P("button",{class:"delete",onClick:l=>s.notificationsStore.remove(o)},null,8,tC),P("div",{class:"text",textContent:et(o.text)},null,8,eC)],2))),128))])])]))}const sC=nt(Yk,[["render",nC],["__scopeId","data-v-1e835d55"]]),iC={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)}}},rC={class:"field is-grouped"},oC={class:"control"},aC=["placeholder"];function lC(t,e,n,s,i,r){return O(),F("div",rC,[P("div",oC,[ms(P("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,aC),[[Zs,i.value]])]),le(t.$slots,"default")])}const a0=nt(iC,[["render",lC]]),cC={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")}}},uC={key:0,class:"modal is-active"},dC={class:"modal-content"},fC={class:"card is-shadowless"},hC={class:"card-header"},pC=["textContent"],mC={class:"card-header-icon"},gC={class:"card-content"},yC={key:0,class:"card-footer"},bC=["disabled","onClick"],vC=["textContent"];function _C(t,e,n,s,i,r){const o=w("mdicon");return O(),yt($v,{name:"fade"},{default:M(()=>[n.show?(O(),F("div",uC,[P("div",{class:"modal-background",onClick:e[0]||(e[0]=a=>t.$emit("close"))}),P("div",dC,[P("div",fC,[P("div",hC,[n.title?(O(),F("div",{key:0,class:"card-header-title",textContent:et(n.title)},null,8,pC)):_t("",!0),P("div",mC,[P("button",{class:"delete",onClick:e[1]||(e[1]=a=>t.$emit("close"))})])]),P("div",gC,[le(t.$slots,"content",{},void 0,!0)]),n.actions.length?(O(),F("footer",yC,[(O(!0),F(it,null,de(n.actions,a=>(O(),F("button",{key:a.key,class:Gt(["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"]),P("span",{class:"is-size-7",textContent:et(t.$t(a.key))},null,8,vC)],10,bC))),128))])):_t("",!0)])])])):_t("",!0)]),_:3})}const rr=nt(cC,[["render",_C],["__scopeId","data-v-82b4fa81"]]);function l0(t,e){return function(){return t.apply(e,arguments)}}const{toString:SC}=Object.prototype,{getPrototypeOf:dp}=Object,{iterator:Mu,toStringTag:c0}=Symbol,$u=(t=>e=>{const n=SC.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ls=t=>(t=t.toLowerCase(),e=>$u(e)===t),Fu=t=>e=>typeof e===t,{isArray:Uo}=Array,Ga=Fu("undefined");function fl(t){return t!==null&&!Ga(t)&&t.constructor!==null&&!Ga(t.constructor)&&Hn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const u0=Ls("ArrayBuffer");function EC(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&u0(t.buffer),e}const wC=Fu("string"),Hn=Fu("function"),d0=Fu("number"),hl=t=>t!==null&&typeof t=="object",kC=t=>t===!0||t===!1,cc=t=>{if($u(t)!=="object")return!1;const e=dp(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(c0 in t)&&!(Mu in t)},CC=t=>{if(!hl(t)||fl(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},TC=Ls("Date"),AC=Ls("File"),OC=Ls("Blob"),xC=Ls("FileList"),IC=t=>hl(t)&&Hn(t.pipe),NC=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Hn(t.append)&&((e=$u(t))==="formdata"||e==="object"&&Hn(t.toString)&&t.toString()==="[object FormData]"))},PC=Ls("URLSearchParams"),[RC,DC,LC,MC]=["ReadableStream","Request","Response","Headers"].map(Ls),$C=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pl(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,i;if(typeof t!="object"&&(t=[t]),Uo(t))for(s=0,i=t.length;s<i;s++)e.call(null,t[s],s,t);else{if(fl(t))return;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 f0(t,e){if(fl(t))return null;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 yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,h0=t=>!Ga(t)&&t!==yr;function qf(){const{caseless:t}=h0(this)&&this||{},e={},n=(s,i)=>{const r=t&&f0(e,i)||i;cc(e[r])&&cc(s)?e[r]=qf(e[r],s):cc(s)?e[r]=qf({},s):Uo(s)?e[r]=s.slice():e[r]=s};for(let s=0,i=arguments.length;s<i;s++)arguments[s]&&pl(arguments[s],n);return e}const FC=(t,e,n,{allOwnKeys:s}={})=>(pl(e,(i,r)=>{n&&Hn(i)?t[r]=l0(i,n):t[r]=i},{allOwnKeys:s}),t),VC=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),UC=(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)},HC=(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&&dp(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},jC=(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},BC=t=>{if(!t)return null;if(Uo(t))return t;let e=t.length;if(!d0(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},WC=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&dp(Uint8Array)),GC=(t,e)=>{const s=(t&&t[Mu]).call(t);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(t,r[0],r[1])}},KC=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},qC=Ls("HTMLFormElement"),zC=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,i){return s.toUpperCase()+i}),gg=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),XC=Ls("RegExp"),p0=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};pl(n,(i,r)=>{let o;(o=e(i,r,t))!==!1&&(s[r]=o||i)}),Object.defineProperties(t,s)},YC=t=>{p0(t,(e,n)=>{if(Hn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(Hn(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+"'")})}})},ZC=(t,e)=>{const n={},s=i=>{i.forEach(r=>{n[r]=!0})};return Uo(t)?s(t):s(String(t).split(e)),n},JC=()=>{},QC=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function tT(t){return!!(t&&Hn(t.append)&&t[c0]==="FormData"&&t[Mu])}const eT=t=>{const e=new Array(10),n=(s,i)=>{if(hl(s)){if(e.indexOf(s)>=0)return;if(fl(s))return s;if(!("toJSON"in s)){e[i]=s;const r=Uo(s)?[]:{};return pl(s,(o,a)=>{const l=n(o,i+1);!Ga(l)&&(r[a]=l)}),e[i]=void 0,r}}return s};return n(t,0)},nT=Ls("AsyncFunction"),sT=t=>t&&(hl(t)||Hn(t))&&Hn(t.then)&&Hn(t.catch),m0=((t,e)=>t?setImmediate:e?((n,s)=>(yr.addEventListener("message",({source:i,data:r})=>{i===yr&&r===n&&s.length&&s.shift()()},!1),i=>{s.push(i),yr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Hn(yr.postMessage)),iT=typeof queueMicrotask<"u"?queueMicrotask.bind(yr):typeof process<"u"&&process.nextTick||m0,rT=t=>t!=null&&Hn(t[Mu]),Z={isArray:Uo,isArrayBuffer:u0,isBuffer:fl,isFormData:NC,isArrayBufferView:EC,isString:wC,isNumber:d0,isBoolean:kC,isObject:hl,isPlainObject:cc,isEmptyObject:CC,isReadableStream:RC,isRequest:DC,isResponse:LC,isHeaders:MC,isUndefined:Ga,isDate:TC,isFile:AC,isBlob:OC,isRegExp:XC,isFunction:Hn,isStream:IC,isURLSearchParams:PC,isTypedArray:WC,isFileList:xC,forEach:pl,merge:qf,extend:FC,trim:$C,stripBOM:VC,inherits:UC,toFlatObject:HC,kindOf:$u,kindOfTest:Ls,endsWith:jC,toArray:BC,forEachEntry:GC,matchAll:KC,isHTMLForm:qC,hasOwnProperty:gg,hasOwnProp:gg,reduceDescriptors:p0,freezeMethods:YC,toObjectSet:ZC,toCamelCase:zC,noop:JC,toFiniteNumber:QC,findKey:f0,global:yr,isContextDefined:h0,isSpecCompliantForm:tT,toJSONObject:eT,isAsyncFn:nT,isThenable:sT,setImmediate:m0,asap:iT,isIterable:rT};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 g0=jt.prototype,y0={};["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=>{y0[t]={value:t}});Object.defineProperties(jt,y0);Object.defineProperty(g0,"isAxiosError",{value:!0});jt.from=(t,e,n,s,i,r)=>{const o=Object.create(g0);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 oT=null;function zf(t){return Z.isPlainObject(t)||Z.isArray(t)}function b0(t){return Z.endsWith(t,"[]")?t.slice(0,-2):t}function yg(t,e,n){return t?t.concat(e).map(function(i,r){return i=b0(i),!n&&r?"["+i+"]":i}).join(n?".":""):e}function aT(t){return Z.isArray(t)&&!t.some(zf)}const lT=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)});function Vu(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,_){return!Z.isUndefined(_[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(Z.isBoolean(p))return p.toString();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,_){let y=p;if(p&&!_&&typeof p=="object"){if(Z.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(Z.isArray(p)&&aT(p)||(Z.isFileList(p)||Z.endsWith(m,"[]"))&&(y=Z.toArray(p)))return m=b0(m),y.forEach(function(g,b){!(Z.isUndefined(g)||g===null)&&e.append(o===!0?yg([m],b,r):o===null?m:m+"[]",c(g))}),!1}return zf(p)?!0:(e.append(yg(_,m,r),c(p)),!1)}const d=[],f=Object.assign(lT,{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,v){(!(Z.isUndefined(y)||y===null)&&i.call(e,y,Z.isString(v)?v.trim():v,m,f))===!0&&h(y,m?m.concat(v):[v])}),d.pop()}}if(!Z.isObject(t))throw new TypeError("data must be an object");return h(t),e}function bg(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function fp(t,e){this._pairs=[],t&&Vu(t,this,e)}const v0=fp.prototype;v0.append=function(e,n){this._pairs.push([e,n])};v0.toString=function(e){const n=e?function(s){return e.call(this,s,bg)}:bg;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function cT(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function _0(t,e,n){if(!e)return t;const s=n&&n.encode||cT;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 fp(e,n).toString(s),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class vg{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 S0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},uT=typeof URLSearchParams<"u"?URLSearchParams:fp,dT=typeof FormData<"u"?FormData:null,fT=typeof Blob<"u"?Blob:null,hT={isBrowser:!0,classes:{URLSearchParams:uT,FormData:dT,Blob:fT},protocols:["http","https","file","blob","url","data"]},hp=typeof window<"u"&&typeof document<"u",Xf=typeof navigator=="object"&&navigator||void 0,pT=hp&&(!Xf||["ReactNative","NativeScript","NS"].indexOf(Xf.product)<0),mT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",gT=hp&&window.location.href||"http://localhost",yT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:hp,hasStandardBrowserEnv:pT,hasStandardBrowserWebWorkerEnv:mT,navigator:Xf,origin:gT},Symbol.toStringTag,{value:"Module"})),vn={...yT,...hT};function bT(t,e){return Vu(t,new vn.classes.URLSearchParams,{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 vT(t){return Z.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _T(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 E0(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]=_T(i[o])),!a)}if(Z.isFormData(t)&&Z.isFunction(t.entries)){const n={};return Z.forEachEntry(t,(s,i)=>{e(vT(s),i,n,0)}),n}return null}function ST(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 ml={transitional:S0,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(E0(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 bT(e,this.formSerializer).toString();if((a=Z.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Vu(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),ST(e)):e}],transformResponse:[function(e){const n=this.transitional||ml.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=>{ml.headers[t]={}});const ET=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"]),wT=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]&&ET[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},_g=Symbol("internals");function Qo(t){return t&&String(t).trim().toLowerCase()}function uc(t){return t===!1||t==null?t:Z.isArray(t)?t.map(uc):String(t)}function kT(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 CT=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Hd(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 TT(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function AT(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=Qo(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]=uc(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())&&!CT(e))o(wT(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=Qo(e),e){const s=Z.findKey(this,e);if(s){const i=this[s];if(!n)return i;if(n===!0)return kT(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=Qo(e),e){const s=Z.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Hd(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let i=!1;function r(o){if(o=Qo(o),o){const a=Z.findKey(s,o);a&&(!n||Hd(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||Hd(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]=uc(i),delete n[r];return}const a=e?TT(r):String(r).trim();a!==r&&delete n[r],n[a]=uc(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[_g]=this[_g]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=Qo(o);s[a]||(AT(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 jd(t,e){const n=this||ml,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 w0(t){return!!(t&&t.__CANCEL__)}function Ho(t,e,n){jt.call(this,t??"canceled",jt.ERR_CANCELED,e,n),this.name="CanceledError"}Z.inherits(Ho,jt,{__CANCEL__:!0});function k0(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 OT(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function xT(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 IT(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(...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 Gc=(t,e,n=3)=>{let s=0;const i=xT(50,250);return IT(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)},Sg=(t,e)=>{const n=t!=null;return[s=>e[0]({lengthComputable:n,total:t,loaded:s}),e[1]]},Eg=t=>(...e)=>Z.asap(()=>t(...e)),NT=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,PT=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 RT(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function DT(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function C0(t,e,n){let s=!RT(e);return t&&(s||n==!1)?DT(t,e):e}const wg=t=>t instanceof jn?{...t}:t;function Pr(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(wg(c),wg(u),d,!0)};return Z.forEach(Object.keys({...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 T0=t=>{const e=Pr({},t);let{data:n,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:r,headers:o,auth:a}=e;e.headers=o=jn.from(o),e.url=_0(C0(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&&NT(e.url))){const c=i&&r&&PT.read(r);c&&o.set(i,c)}return e},LT=typeof XMLHttpRequest<"u",MT=LT&&function(t){return new Promise(function(n,s){const i=T0(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 _=new XMLHttpRequest;_.open(i.method.toUpperCase(),i.url,!0),_.timeout=i.timeout;function y(){if(!_)return;const g=jn.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:g,config:t,request:_};k0(function(I){n(I),m()},function(I){s(I),m()},S),_=null}"onloadend"in _?_.onloadend=y:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(y)},_.onabort=function(){_&&(s(new jt("Request aborted",jt.ECONNABORTED,t,_)),_=null)},_.onerror=function(){s(new jt("Network Error",jt.ERR_NETWORK,t,_)),_=null},_.ontimeout=function(){let b=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||S0;i.timeoutErrorMessage&&(b=i.timeoutErrorMessage),s(new jt(b,S.clarifyTimeoutError?jt.ETIMEDOUT:jt.ECONNABORTED,t,_)),_=null},r===void 0&&o.setContentType(null),"setRequestHeader"in _&&Z.forEach(o.toJSON(),function(b,S){_.setRequestHeader(S,b)}),Z.isUndefined(i.withCredentials)||(_.withCredentials=!!i.withCredentials),a&&a!=="json"&&(_.responseType=i.responseType),c&&([f,p]=Gc(c,!0),_.addEventListener("progress",f)),l&&_.upload&&([d,h]=Gc(l),_.upload.addEventListener("progress",d),_.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=g=>{_&&(s(!g||g.type?new Ho(null,t,_):g),_.abort(),_=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const v=OT(i.url);if(v&&vn.protocols.indexOf(v)===-1){s(new jt("Unsupported protocol "+v+":",jt.ERR_BAD_REQUEST,t));return}_.send(r||null)})},$T=(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 Ho(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}},FT=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},VT=async function*(t,e){for await(const n of UT(t))yield*FT(n,e)},UT=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()}},kg=(t,e,n,s)=>{const i=VT(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})},Uu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",A0=Uu&&typeof ReadableStream=="function",HT=Uu&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),O0=(t,...e)=>{try{return!!t(...e)}catch{return!1}},jT=A0&&O0(()=>{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}),Cg=64*1024,Yf=A0&&O0(()=>Z.isReadableStream(new Response("").body)),Kc={stream:Yf&&(t=>t.body)};Uu&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Kc[e]&&(Kc[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 BT=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 HT(t)).byteLength},WT=async(t,e)=>{const n=Z.toFiniteNumber(t.getContentLength());return n??BT(e)},GT=Uu&&(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}=T0(t);c=c?(c+"").toLowerCase():"text";let h=$T([i,r&&r.toAbortSignal()],o),p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let _;try{if(l&&jT&&n!=="get"&&n!=="head"&&(_=await WT(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[I,D]=Sg(_,Gc(Eg(l)));s=kg(S.body,Cg,I,D)}}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 v=await fetch(p,f);const g=Yf&&(c==="stream"||c==="response");if(Yf&&(a||g&&m)){const S={};["status","statusText","headers"].forEach(C=>{S[C]=v[C]});const k=Z.toFiniteNumber(v.headers.get("content-length")),[I,D]=a&&Sg(k,Gc(Eg(a),!0))||[];v=new Response(kg(v.body,Cg,I,()=>{D&&D(),m&&m()}),S)}c=c||"text";let b=await Kc[Z.findKey(Kc,c)||"text"](v,t);return!g&&m&&m(),await new Promise((S,k)=>{k0(S,k,{data:b,headers:jn.from(v.headers),status:v.status,statusText:v.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)}}),Zf={http:oT,xhr:MT,fetch:GT};Z.forEach(Zf,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Tg=t=>`- ${t}`,KT=t=>Z.isFunction(t)||t===null||t===!1,x0={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,!KT(n)&&(s=Zf[(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(Tg).join(`
|
||
`):" "+Tg(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:Zf};function Bd(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ho(null,t)}function Ag(t){return Bd(t),t.headers=jn.from(t.headers),t.data=jd.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),x0.getAdapter(t.adapter||ml.adapter)(t).then(function(s){return Bd(t),s.data=jd.call(t,t.transformResponse,s),s.headers=jn.from(s.headers),s},function(s){return w0(s)||(Bd(t),s&&s.response&&(s.response.data=jd.call(t,t.transformResponse,s.response),s.response.headers=jn.from(s.response.headers))),Promise.reject(s)})}const I0="1.11.0",Hu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Hu[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const Og={};Hu.transitional=function(e,n,s){function i(r,o){return"[Axios v"+I0+"] 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&&!Og[o]&&(Og[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}};Hu.spelling=function(e){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function qT(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 dc={assertOptions:qT,validators:Hu},Fs=dc.validators;let Ar=class{constructor(e){this.defaults=e||{},this.interceptors={request:new vg,response:new vg}}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=Pr(this.defaults,n);const{transitional:s,paramsSerializer:i,headers:r}=n;s!==void 0&&dc.assertOptions(s,{silentJSONParsing:Fs.transitional(Fs.boolean),forcedJSONParsing:Fs.transitional(Fs.boolean),clarifyTimeoutError:Fs.transitional(Fs.boolean)},!1),i!=null&&(Z.isFunction(i)?n.paramsSerializer={serialize:i}:dc.assertOptions(i,{encode:Fs.function,serialize:Fs.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),dc.assertOptions(n,{baseUrl:Fs.spelling("baseURL"),withXsrfToken:Fs.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=[Ag.bind(this),void 0];for(p.unshift(...a),p.push(...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(_){m.call(this,_);break}}try{u=Ag.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=Pr(this.defaults,e);const n=C0(e.baseURL,e.url,e.allowAbsoluteUrls);return _0(n,e.params,e.paramsSerializer)}};Z.forEach(["delete","get","head","options"],function(e){Ar.prototype[e]=function(n,s){return this.request(Pr(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(Pr(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Ar.prototype[e]=n(),Ar.prototype[e+"Form"]=n(!0)});let zT=class N0{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 Ho(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 N0(function(i){e=i}),cancel:e}}};function XT(t){return function(n){return t.apply(null,n)}}function YT(t){return Z.isObject(t)&&t.isAxiosError===!0}const Jf={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(Jf).forEach(([t,e])=>{Jf[e]=t});function P0(t){const e=new Ar(t),n=l0(Ar.prototype.request,e);return Z.extend(n,Ar.prototype,e,{allOwnKeys:!0}),Z.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return P0(Pr(t,i))},n}const ut=P0(ml);ut.Axios=Ar;ut.CanceledError=Ho;ut.CancelToken=zT;ut.isCancel=w0;ut.VERSION=I0;ut.toFormData=Vu;ut.AxiosError=jt;ut.Cancel=ut.CanceledError;ut.all=function(e){return Promise.all(e)};ut.spread=XT;ut.isAxiosError=YT;ut.mergeConfig=Pr;ut.AxiosHeaders=jn;ut.formToJSON=t=>E0(Z.isHTMLForm(t)?new FormData(t):t);ut.getAdapter=x0.getAdapter;ut.HttpStatusCode=Jf;ut.default=ut;const{Axios:qH,AxiosError:zH,CanceledError:XH,isCancel:YH,CancelToken:ZH,VERSION:JH,all:QH,Cancel:tj,isAxiosError:ej,spread:nj,toFormData:sj,AxiosHeaders:ij,HttpStatusCode:rj,formToJSON:oj,getAdapter:aj,mergeConfig:lj}=ut;/*!
|
||
* shared v11.1.11
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function ZT(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const qc=typeof window<"u",or=(t,e=!1)=>e?Symbol.for(t):Symbol(t),JT=(t,e,n)=>QT({l:t,k:e,s:n}),QT=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Xe=t=>typeof t=="number"&&isFinite(t),tA=t=>mp(t)==="[object Date]",zc=t=>mp(t)==="[object RegExp]",ju=t=>se(t)&&Object.keys(t).length===0,tn=Object.assign,eA=Object.create,Ee=(t=null)=>eA(t);let xg;const pp=()=>xg||(xg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ee());function Ig(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Ng(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function nA(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,i,r)=>`${i}="${Ng(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,i,r)=>`${i}='${Ng(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(s=>{t=t.replace(s,"$1javascript:")}),t}const sA=Object.prototype.hasOwnProperty;function Os(t,e){return sA.call(t,e)}const je=Array.isArray,Pe=t=>typeof t=="function",vt=t=>typeof t=="string",Re=t=>typeof t=="boolean",pe=t=>t!==null&&typeof t=="object",iA=t=>pe(t)&&Pe(t.then)&&Pe(t.catch),R0=Object.prototype.toString,mp=t=>R0.call(t),se=t=>mp(t)==="[object Object]",rA=t=>t==null?"":je(t)||se(t)&&t.toString===R0?JSON.stringify(t,null,2):String(t);function gp(t,e=""){return t.reduce((n,s,i)=>i===0?n+s:n+e+s,"")}const Fl=t=>!pe(t)||je(t);function fc(t,e){if(Fl(t)||Fl(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()),Fl(i[r])||Fl(s[r])?i[r]=s[r]:n.push({src:s[r],des:i[r]}))})}}/*!
|
||
* message-compiler v11.1.11
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function oA(t,e,n){return{line:t,column:e,offset:n}}function Qf(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},aA=17;function Bu(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 lA(t){throw t}const ni=" ",cA="\r",Tn=`
|
||
`,uA="\u2028",dA="\u2029";function fA(t){const e=t;let n=0,s=1,i=1,r=0;const o=I=>e[I]===cA&&e[I+1]===Tn,a=I=>e[I]===Tn,l=I=>e[I]===dA,c=I=>e[I]===uA,u=I=>o(I)||a(I)||l(I)||c(I),d=()=>n,f=()=>s,h=()=>i,p=()=>r,m=I=>o(I)||l(I)||c(I)?Tn:e[I],_=()=>m(n),y=()=>m(n+r);function v(){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 b(){n=0,s=1,i=1,r=0}function S(I=0){r=I}function k(){const I=n+r;for(;I!==n;)v();r=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:_,currentPeek:y,next:v,peek:g,reset:b,resetPeek:S,skipToPeek:k}}const Ii=void 0,hA=".",Pg="'",pA="tokenizer";function mA(t,e={}){const n=e.location!==!1,s=fA(t),i=()=>s.index(),r=()=>oA(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(T,x,V,...z){const tt=c();if(x.column+=V,x.offset+=V,u){const lt=n?Qf(tt.startLoc,x):null,L=Bu(T,lt,{domain:pA,args:z});u(L)}}function f(T,x,V){T.endLoc=r(),T.currentType=x;const z={type:x};return n&&(z.loc=Qf(T.startLoc,T.endLoc)),V!=null&&(z.value=V),z}const h=T=>f(T,13);function p(T,x){return T.currentChar()===x?(T.next(),x):(d(_e.EXPECTED_TOKEN,r(),0,x),"")}function m(T){let x="";for(;T.currentPeek()===ni||T.currentPeek()===Tn;)x+=T.currentPeek(),T.peek();return x}function _(T){const x=m(T);return T.skipToPeek(),x}function y(T){if(T===Ii)return!1;const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function v(T){if(T===Ii)return!1;const x=T.charCodeAt(0);return x>=48&&x<=57}function g(T,x){const{currentType:V}=x;if(V!==2)return!1;m(T);const z=y(T.currentPeek());return T.resetPeek(),z}function b(T,x){const{currentType:V}=x;if(V!==2)return!1;m(T);const z=T.currentPeek()==="-"?T.peek():T.currentPeek(),tt=v(z);return T.resetPeek(),tt}function S(T,x){const{currentType:V}=x;if(V!==2)return!1;m(T);const z=T.currentPeek()===Pg;return T.resetPeek(),z}function k(T,x){const{currentType:V}=x;if(V!==7)return!1;m(T);const z=T.currentPeek()===".";return T.resetPeek(),z}function I(T,x){const{currentType:V}=x;if(V!==8)return!1;m(T);const z=y(T.currentPeek());return T.resetPeek(),z}function D(T,x){const{currentType:V}=x;if(!(V===7||V===11))return!1;m(T);const z=T.currentPeek()===":";return T.resetPeek(),z}function C(T,x){const{currentType:V}=x;if(V!==9)return!1;const z=()=>{const lt=T.currentPeek();return lt==="{"?y(T.peek()):lt==="@"||lt==="|"||lt===":"||lt==="."||lt===ni||!lt?!1:lt===Tn?(T.peek(),z()):B(T,!1)},tt=z();return T.resetPeek(),tt}function R(T){m(T);const x=T.currentPeek()==="|";return T.resetPeek(),x}function B(T,x=!0){const V=(tt=!1,lt="")=>{const L=T.currentPeek();return L==="{"||L==="@"||!L?tt:L==="|"?!(lt===ni||lt===Tn):L===ni?(T.peek(),V(!0,ni)):L===Tn?(T.peek(),V(!0,Tn)):!0},z=V();return x&&T.resetPeek(),z}function $(T,x){const V=T.currentChar();return V===Ii?Ii:x(V)?(T.next(),V):null}function H(T){const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36}function X(T){return $(T,H)}function ot(T){const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36||x===45}function K(T){return $(T,ot)}function Q(T){const x=T.charCodeAt(0);return x>=48&&x<=57}function at(T){return $(T,Q)}function kt(T){const x=T.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102}function zt(T){return $(T,kt)}function Vt(T){let x="",V="";for(;x=at(T);)V+=x;return V}function Bt(T){let x="";for(;;){const V=T.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V===ni||V===Tn)if(B(T))x+=V,T.next();else{if(R(T))break;x+=V,T.next()}else x+=V,T.next()}return x}function ge(T){_(T);let x="",V="";for(;x=K(T);)V+=x;return T.currentChar()===Ii&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V}function ve(T){_(T);let x="";return T.currentChar()==="-"?(T.next(),x+=`-${Vt(T)}`):x+=Vt(T),T.currentChar()===Ii&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),x}function Se(T){return T!==Pg&&T!==Tn}function Wt(T){_(T),p(T,"'");let x="",V="";for(;x=$(T,Se);)x==="\\"?V+=Y(T):V+=x;const z=T.currentChar();return z===Tn||z===Ii?(d(_e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),z===Tn&&(T.next(),p(T,"'")),V):(p(T,"'"),V)}function Y(T){const x=T.currentChar();switch(x){case"\\":case"'":return T.next(),`\\${x}`;case"u":return dt(T,x,4);case"U":return dt(T,x,6);default:return d(_e.UNKNOWN_ESCAPE_SEQUENCE,r(),0,x),""}}function dt(T,x,V){p(T,x);let z="";for(let tt=0;tt<V;tt++){const lt=zt(T);if(!lt){d(_e.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${x}${z}${T.currentChar()}`);break}z+=lt}return`\\${x}${z}`}function ct(T){return T!=="{"&&T!=="}"&&T!==ni&&T!==Tn}function bt(T){_(T);let x="",V="";for(;x=$(T,ct);)V+=x;return V}function Ut(T){let x="",V="";for(;x=X(T);)V+=x;return V}function Xt(T){const x=V=>{const z=T.currentChar();return z==="{"||z==="@"||z==="|"||z==="("||z===")"||!z||z===ni?V:(V+=z,T.next(),x(V))};return x("")}function A(T){_(T);const x=p(T,"|");return _(T),x}function N(T,x){let V=null;switch(T.currentChar()){case"{":return x.braceNest>=1&&d(_e.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),T.next(),V=f(x,2,"{"),_(T),x.braceNest++,V;case"}":return x.braceNest>0&&x.currentType===2&&d(_e.EMPTY_PLACEHOLDER,r(),0),T.next(),V=f(x,3,"}"),x.braceNest--,x.braceNest>0&&_(T),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),V;case"@":return x.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=W(T,x)||h(x),x.braceNest=0,V;default:{let tt=!0,lt=!0,L=!0;if(R(T))return x.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=f(x,1,A(T)),x.braceNest=0,x.inLinked=!1,V;if(x.braceNest>0&&(x.currentType===4||x.currentType===5||x.currentType===6))return d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),x.braceNest=0,st(T,x);if(tt=g(T,x))return V=f(x,4,ge(T)),_(T),V;if(lt=b(T,x))return V=f(x,5,ve(T)),_(T),V;if(L=S(T,x))return V=f(x,6,Wt(T)),_(T),V;if(!tt&&!lt&&!L)return V=f(x,12,bt(T)),d(_e.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,V.value),_(T),V;break}}return V}function W(T,x){const{currentType:V}=x;let z=null;const tt=T.currentChar();switch((V===7||V===8||V===11||V===9)&&(tt===Tn||tt===ni)&&d(_e.INVALID_LINKED_FORMAT,r(),0),tt){case"@":return T.next(),z=f(x,7,"@"),x.inLinked=!0,z;case".":return _(T),T.next(),f(x,8,".");case":":return _(T),T.next(),f(x,9,":");default:return R(T)?(z=f(x,1,A(T)),x.braceNest=0,x.inLinked=!1,z):k(T,x)||D(T,x)?(_(T),W(T,x)):I(T,x)?(_(T),f(x,11,Ut(T))):C(T,x)?(_(T),tt==="{"?N(T,x)||z:f(x,10,Xt(T))):(V===7&&d(_e.INVALID_LINKED_FORMAT,r(),0),x.braceNest=0,x.inLinked=!1,st(T,x))}}function st(T,x){let V={type:13};if(x.braceNest>0)return N(T,x)||h(x);if(x.inLinked)return W(T,x)||h(x);switch(T.currentChar()){case"{":return N(T,x)||h(x);case"}":return d(_e.UNBALANCED_CLOSING_BRACE,r(),0),T.next(),f(x,3,"}");case"@":return W(T,x)||h(x);default:{if(R(T))return V=f(x,1,A(T)),x.braceNest=0,x.inLinked=!1,V;if(B(T))return f(x,0,Bt(T));break}}return V}function J(){const{currentType:T,offset:x,startLoc:V,endLoc:z}=l;return l.lastType=T,l.lastOffset=x,l.lastStartLoc=V,l.lastEndLoc=z,l.offset=i(),l.startLoc=r(),s.currentChar()===Ii?f(l,13):st(s,l)}return{nextToken:J,currentOffset:i,currentPosition:r,context:c}}const gA="parser",yA=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function bA(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 vA(t={}){const e=t.location!==!1,{onError:n}=t;function s(y,v,g,b,...S){const k=y.currentPosition();if(k.offset+=b,k.column+=b,n){const I=e?Qf(g,k):null,D=Bu(v,I,{domain:gA,args:S});n(D)}}function i(y,v,g){const b={type:y};return e&&(b.start=v,b.end=v,b.loc={start:g,end:g}),b}function r(y,v,g,b){e&&(y.end=v,y.loc&&(y.loc.end=g))}function o(y,v){const g=y.context(),b=i(3,g.offset,g.startLoc);return b.value=v,r(b,y.currentOffset(),y.currentPosition()),b}function a(y,v){const g=y.context(),{lastOffset:b,lastStartLoc:S}=g,k=i(5,b,S);return k.index=parseInt(v,10),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function l(y,v){const g=y.context(),{lastOffset:b,lastStartLoc:S}=g,k=i(4,b,S);return k.key=v,y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function c(y,v){const g=y.context(),{lastOffset:b,lastStartLoc:S}=g,k=i(9,b,S);return k.value=v.replace(yA,bA),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function u(y){const v=y.nextToken(),g=y.context(),{lastOffset:b,lastStartLoc:S}=g,k=i(8,b,S);return v.type!==11?(s(y,_e.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),k.value="",r(k,b,S),{nextConsumeToken:v,node:k}):(v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Vs(v)),k.value=v.value||"",r(k,y.currentOffset(),y.currentPosition()),{node:k})}function d(y,v){const g=y.context(),b=i(7,g.offset,g.startLoc);return b.value=v,r(b,y.currentOffset(),y.currentPosition()),b}function f(y){const v=y.context(),g=i(6,v.offset,v.startLoc);let b=y.nextToken();if(b.type===8){const S=u(y);g.modifier=S.node,b=S.nextConsumeToken||y.nextToken()}switch(b.type!==9&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(b)),b=y.nextToken(),b.type===2&&(b=y.nextToken()),b.type){case 10:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(b)),g.key=d(y,b.value||"");break;case 4:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(b)),g.key=l(y,b.value||"");break;case 5:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(b)),g.key=a(y,b.value||"");break;case 6:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(b)),g.key=c(y,b.value||"");break;default:{s(y,_e.UNEXPECTED_EMPTY_LINKED_KEY,v.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:b,node:g}}}return r(g,y.currentOffset(),y.currentPosition()),{node:g}}function h(y){const v=y.context(),g=v.currentType===1?y.currentOffset():v.offset,b=v.currentType===1?v.endLoc:v.startLoc,S=i(2,g,b);S.items=[];let k=null;do{const C=k||y.nextToken();switch(k=null,C.type){case 0:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(C)),S.items.push(o(y,C.value||""));break;case 5:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(C)),S.items.push(a(y,C.value||""));break;case 4:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(C)),S.items.push(l(y,C.value||""));break;case 6:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Vs(C)),S.items.push(c(y,C.value||""));break;case 7:{const R=f(y);S.items.push(R.node),k=R.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const I=v.currentType===1?v.lastOffset:y.currentOffset(),D=v.currentType===1?v.lastEndLoc:y.currentPosition();return r(S,I,D),S}function p(y,v,g,b){const S=y.context();let k=b.items.length===0;const I=i(1,v,g);I.cases=[],I.cases.push(b);do{const D=h(y);k||(k=D.items.length===0),I.cases.push(D)}while(S.currentType!==13);return k&&s(y,_e.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),r(I,y.currentOffset(),y.currentPosition()),I}function m(y){const v=y.context(),{offset:g,startLoc:b}=v,S=h(y);return v.currentType===13?S:p(y,g,b,S)}function _(y){const v=mA(y,tn({},t)),g=v.context(),b=i(0,g.offset,g.startLoc);return e&&b.loc&&(b.loc.source=y),b.body=m(v),t.onCacheKey&&(b.cacheKey=t.onCacheKey(y)),g.currentType!==13&&s(v,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,y[g.offset]||""),r(b,v.currentOffset(),v.currentPosition()),b}return{parse:_}}function Vs(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 _A(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Rg(t,e){for(let n=0;n<t.length;n++)yp(t[n],e)}function yp(t,e){switch(t.type){case 1:Rg(t.cases,e),e.helper("plural");break;case 2:Rg(t.items,e);break;case 6:{yp(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 SA(t,e={}){const n=_A(t);n.helper("normalize"),t.body&&yp(t.body,n);const s=n.context();t.helpers=Array.from(s.helpers)}function EA(t){const e=t.body;return e.type===2?Dg(e):e.cases.forEach(n=>Dg(n)),t}function Dg(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=gp(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 so(t){switch(t.t=t.type,t.type){case 0:{const e=t;so(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++)so(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++)so(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;so(e.key),e.k=e.key,delete e.key,e.modifier&&(so(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 wA(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,_){o.code+=m}function c(m,_=!0){const y=_?s:"";l(i?y+" ".repeat(m):y)}function u(m=!0){const _=++o.indentLevel;m&&c(_)}function d(m=!0){const _=--o.indentLevel;m&&c(_)}function f(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:d,newline:f,helper:m=>`_${m}`,needIndent:()=>o.needIndent}}function kA(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),Co(t,e.key),e.modifier?(t.push(", "),Co(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function CA(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&&(Co(t,e.items[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}function TA(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&&(Co(t,e.cases[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}}function AA(t,e){e.body?Co(t,e.body):t.push("null")}function Co(t,e){const{helper:n}=t;switch(e.type){case 0:AA(t,e);break;case 1:TA(t,e);break;case 2:CA(t,e);break;case 6:kA(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 OA=(t,e={})=>{const n=vt(e.mode)?e.mode:"normal",s=vt(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=wA(t,{filename:s,breakLineCode:i,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),o.length>0&&(a.push(`const { ${gp(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),Co(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 xA(t,e={}){const n=tn({},e),s=!!n.jit,i=!!n.minify,r=n.optimize==null?!0:n.optimize,a=vA(n).parse(t);return s?(r&&EA(a),i&&so(a),{ast:a,code:""}):(SA(a,n),OA(a,n))}/*!
|
||
* core-base v11.1.11
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function IA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pp().__INTLIFY_PROD_DEVTOOLS__=!1)}function qs(t){return pe(t)&&bp(t)===0&&(Os(t,"b")||Os(t,"body"))}const D0=["b","body"];function NA(t){return ar(t,D0)}const L0=["c","cases"];function PA(t){return ar(t,L0,[])}const M0=["s","static"];function RA(t){return ar(t,M0)}const $0=["i","items"];function DA(t){return ar(t,$0,[])}const F0=["t","type"];function bp(t){return ar(t,F0)}const V0=["v","value"];function Vl(t,e){const n=ar(t,V0);if(n!=null)return n;throw Ka(e)}const U0=["m","modifier"];function LA(t){return ar(t,U0)}const H0=["k","key"];function MA(t){const e=ar(t,H0);if(e)return e;throw Ka(6)}function ar(t,e,n){for(let s=0;s<e.length;s++){const i=e[s];if(Os(t,i)&&t[i]!=null)return t[i]}return n}const j0=[...D0,...L0,...M0,...$0,...H0,...U0,...V0,...F0];function Ka(t){return new Error(`unhandled node type: ${t}`)}function Wd(t){return n=>$A(n,t)}function $A(t,e){const n=NA(e);if(n==null)throw Ka(0);if(bp(n)===1){const r=PA(n);return t.plural(r.reduce((o,a)=>[...o,Lg(t,a)],[]))}else return Lg(t,n)}function Lg(t,e){const n=RA(e);if(n!=null)return t.type==="text"?n:t.normalize([n]);{const s=DA(e).reduce((i,r)=>[...i,th(t,r)],[]);return t.normalize(s)}}function th(t,e){const n=bp(e);switch(n){case 3:return Vl(e,n);case 9:return Vl(e,n);case 4:{const s=e;if(Os(s,"k")&&s.k)return t.interpolate(t.named(s.k));if(Os(s,"key")&&s.key)return t.interpolate(t.named(s.key));throw Ka(n)}case 5:{const s=e;if(Os(s,"i")&&Xe(s.i))return t.interpolate(t.list(s.i));if(Os(s,"index")&&Xe(s.index))return t.interpolate(t.list(s.index));throw Ka(n)}case 6:{const s=e,i=LA(s),r=MA(s);return t.linked(th(t,r),i?th(t,i):void 0,t.type)}case 7:return Vl(e,n);case 8:return Vl(e,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const FA=t=>t;let Ul=Ee();function VA(t,e={}){let n=!1;const s=e.onError||lA;return e.onError=i=>{n=!0,s(i)},{...xA(t,e),detectError:n}}function UA(t,e){if(vt(t)){Re(e.warnHtmlMessage)&&e.warnHtmlMessage;const s=(e.onCacheKey||FA)(t),i=Ul[s];if(i)return i;const{ast:r,detectError:o}=VA(t,{...e,location:!1,jit:!0}),a=Wd(r);return o?a:Ul[s]=a}else{const n=t.cacheKey;if(n){const s=Ul[n];return s||(Ul[n]=Wd(t))}else return Wd(t)}}let qa=null;function HA(t){qa=t}function jA(t,e,n){qa&&qa.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const BA=WA("function:translate");function WA(t){return e=>qa&&qa.emit(t,e)}const fi={INVALID_ARGUMENT:aA,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},GA=24;function hi(t){return Bu(t,null,void 0)}function vp(t,e){return e.locale!=null?Mg(e.locale):Mg(t.locale)}let Gd;function Mg(t){if(vt(t))return t;if(Pe(t)){if(t.resolvedOnce&&Gd!=null)return Gd;if(t.constructor.name==="Function"){const e=t();if(iA(e))throw hi(fi.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Gd=e}else throw hi(fi.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw hi(fi.NOT_SUPPORT_LOCALE_TYPE)}function KA(t,e,n){return[...new Set([n,...je(e)?e:pe(e)?Object.keys(e):vt(e)?[e]:[n]])]}function B0(t,e,n){const s=vt(n)?n:Xc,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(s);if(!r){r=[];let o=[n];for(;je(o);)o=$g(r,o,e);const a=je(e)||!se(e)?e:e.default?e.default:null;o=vt(a)?[a]:a,je(o)&&$g(r,o,!1),i.__localeChainCache.set(s,r)}return r}function $g(t,e,n){let s=!0;for(let i=0;i<e.length&&Re(s);i++){const r=e[i];vt(r)&&(s=qA(t,e[i],n))}return s}function qA(t,e,n){let s;const i=e.split("-");do{const r=i.join("-");s=zA(t,r,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function zA(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),(je(n)||se(n))&&n[i]&&(s=n[i])}return s}const lr=[];lr[0]={w:[0],i:[3,0],"[":[4],o:[7]};lr[1]={w:[1],".":[2],"[":[4],o:[7]};lr[2]={w:[2],i:[3,0],0:[3,0]};lr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};lr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};lr[5]={"'":[4,0],o:8,l:[5,0]};lr[6]={'"':[4,0],o:8,l:[6,0]};const XA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function YA(t){return XA.test(t)}function ZA(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 JA(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 QA(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:YA(e)?ZA(e):"*"+e}function tO(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=QA(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=JA(r),d=lr[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 Fg=new Map;function eO(t,e){return pe(t)?t[e]:null}function nO(t,e){if(!pe(t))return null;let n=Fg.get(e);if(n||(n=tO(e),n&&Fg.set(e,n)),!n)return null;const s=n.length;let i=t,r=0;for(;r<s;){const o=n[r];if(j0.includes(o)&&qs(i))return null;const a=i[o];if(a===void 0||Pe(i))return null;i=a,r++}return i}const sO="11.1.11",Wu=-1,Xc="en-US",Vg="",Ug=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function iO(){return{upper:(t,e)=>e==="text"&&vt(t)?t.toUpperCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&vt(t)?t.toLowerCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&vt(t)?Ug(t):e==="vnode"&&pe(t)&&"__v_isVNode"in t?Ug(t.children):t}}let W0;function rO(t){W0=t}let G0;function oO(t){G0=t}let K0;function aO(t){K0=t}let q0=null;const lO=t=>{q0=t},cO=()=>q0;let z0=null;const Hg=t=>{z0=t},uO=()=>z0;let jg=0;function dO(t={}){const e=Pe(t.onWarn)?t.onWarn:ZT,n=vt(t.version)?t.version:sO,s=vt(t.locale)||Pe(t.locale)?t.locale:Xc,i=Pe(s)?Xc:s,r=je(t.fallbackLocale)||se(t.fallbackLocale)||vt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i,o=se(t.messages)?t.messages:Kd(i),a=se(t.datetimeFormats)?t.datetimeFormats:Kd(i),l=se(t.numberFormats)?t.numberFormats:Kd(i),c=tn(Ee(),t.modifiers,iO()),u=t.pluralRules||Ee(),d=Pe(t.missing)?t.missing:null,f=Re(t.missingWarn)||zc(t.missingWarn)?t.missingWarn:!0,h=Re(t.fallbackWarn)||zc(t.fallbackWarn)?t.fallbackWarn:!0,p=!!t.fallbackFormat,m=!!t.unresolving,_=Pe(t.postTranslation)?t.postTranslation:null,y=se(t.processor)?t.processor:null,v=Re(t.warnHtmlMessage)?t.warnHtmlMessage:!0,g=!!t.escapeParameter,b=Pe(t.messageCompiler)?t.messageCompiler:W0,S=Pe(t.messageResolver)?t.messageResolver:G0||eO,k=Pe(t.localeFallbacker)?t.localeFallbacker:K0||KA,I=pe(t.fallbackContext)?t.fallbackContext:void 0,D=t,C=pe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,R=pe(D.__numberFormatters)?D.__numberFormatters:new Map,B=pe(D.__meta)?D.__meta:{};jg++;const $={version:n,cid:jg,locale:s,fallbackLocale:r,messages:o,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:m,postTranslation:_,processor:y,warnHtmlMessage:v,escapeParameter:g,messageCompiler:b,messageResolver:S,localeFallbacker:k,fallbackContext:I,onWarn:e,__meta:B};return $.datetimeFormats=a,$.numberFormats=l,$.__datetimeFormatters=C,$.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&jA($,n,B),$}const Kd=t=>({[t]:Ee()});function _p(t,e,n,s,i){const{missing:r,onWarn:o}=t;if(r!==null){const a=r(t,n,e,i);return vt(a)?a:e}else return e}function ta(t,e,n){const s=t;s.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function fO(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function hO(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let s=n+1;s<e.length;s++)if(fO(t,e[s]))return!0;return!1}function Bg(t,...e){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[l,c,u,d]=eh(...e),f=Re(u.missingWarn)?u.missingWarn:t.missingWarn;Re(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=vp(t,u),m=o(t,i,p);if(!vt(l)||l==="")return new Intl.DateTimeFormat(p,d).format(c);let _={},y,v=null;const g="datetime format";for(let k=0;k<m.length&&(y=m[k],_=n[y]||{},v=_[l],!se(v));k++)_p(t,l,y,f,g);if(!se(v)||!vt(y))return s?Wu:l;let b=`${y}__${l}`;ju(d)||(b=`${b}__${JSON.stringify(d)}`);let S=a.get(b);return S||(S=new Intl.DateTimeFormat(y,tn({},v,d)),a.set(b,S)),h?S.formatToParts(c):S.format(c)}const X0=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function eh(...t){const[e,n,s,i]=t,r=Ee();let o=Ee(),a;if(vt(e)){const l=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw hi(fi.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 hi(fi.INVALID_ISO_DATE_ARGUMENT)}}else if(tA(e)){if(isNaN(e.getTime()))throw hi(fi.INVALID_DATE_ARGUMENT);a=e}else if(Xe(e))a=e;else throw hi(fi.INVALID_ARGUMENT);return vt(n)?r.key=n:se(n)&&Object.keys(n).forEach(l=>{X0.includes(l)?o[l]=n[l]:r[l]=n[l]}),vt(s)?r.locale=s:se(s)&&(o=s),se(i)&&(o=i),[r.key||"",a,r,o]}function Wg(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function Gg(t,...e){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:a}=t,[l,c,u,d]=nh(...e),f=Re(u.missingWarn)?u.missingWarn:t.missingWarn;Re(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=vp(t,u),m=o(t,i,p);if(!vt(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let _={},y,v=null;const g="number format";for(let k=0;k<m.length&&(y=m[k],_=n[y]||{},v=_[l],!se(v));k++)_p(t,l,y,f,g);if(!se(v)||!vt(y))return s?Wu:l;let b=`${y}__${l}`;ju(d)||(b=`${b}__${JSON.stringify(d)}`);let S=a.get(b);return S||(S=new Intl.NumberFormat(y,tn({},v,d)),a.set(b,S)),h?S.formatToParts(c):S.format(c)}const Y0=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function nh(...t){const[e,n,s,i]=t,r=Ee();let o=Ee();if(!Xe(e))throw hi(fi.INVALID_ARGUMENT);const a=e;return vt(n)?r.key=n:se(n)&&Object.keys(n).forEach(l=>{Y0.includes(l)?o[l]=n[l]:r[l]=n[l]}),vt(s)?r.locale=s:se(s)&&(o=s),se(i)&&(o=i),[r.key||"",a,r,o]}function Kg(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}const pO=t=>t,mO=t=>"",gO="text",yO=t=>t.length===0?"":gp(t),bO=rA;function qg(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function vO(t){const e=Xe(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Xe(t.named.count)||Xe(t.named.n))?Xe(t.named.count)?t.named.count:Xe(t.named.n)?t.named.n:e:e}function _O(t,e){e.count||(e.count=t),e.n||(e.n=t)}function SO(t={}){const e=t.locale,n=vO(t),s=pe(t.pluralRules)&&vt(e)&&Pe(t.pluralRules[e])?t.pluralRules[e]:qg,i=pe(t.pluralRules)&&vt(e)&&Pe(t.pluralRules[e])?qg:void 0,r=y=>y[s(n,y.length,i)],o=t.list||[],a=y=>o[y],l=t.named||Ee();Xe(t.pluralIndex)&&_O(n,l);const c=y=>l[y];function u(y,v){const g=Pe(t.messages)?t.messages(y,!!v):pe(t.messages)?t.messages[y]:!1;return g||(t.parent?t.parent.message(y):mO)}const d=y=>t.modifiers?t.modifiers[y]:pO,f=se(t.processor)&&Pe(t.processor.normalize)?t.processor.normalize:yO,h=se(t.processor)&&Pe(t.processor.interpolate)?t.processor.interpolate:bO,p=se(t.processor)&&vt(t.processor.type)?t.processor.type:gO,_={list:a,named:c,plural:r,linked:(y,...v)=>{const[g,b]=v;let S="text",k="";v.length===1?pe(g)?(k=g.modifier||k,S=g.type||S):vt(g)&&(k=g||k):v.length===2&&(vt(g)&&(k=g||k),vt(b)&&(S=b||S));const I=u(y,!0)(_),D=S==="vnode"&&je(I)&&k?I[0]:I;return k?d(k)(D,S):D},message:u,type:p,interpolate:h,normalize:f,values:tn(Ee(),o,l)};return _}const zg=()=>"",os=t=>Pe(t);function Xg(t,...e){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:r,fallbackLocale:o,messages:a}=t,[l,c]=sh(...e),u=Re(c.missingWarn)?c.missingWarn:t.missingWarn,d=Re(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,f=Re(c.escapeParameter)?c.escapeParameter:t.escapeParameter,h=!!c.resolvedMessage,p=vt(c.default)||Re(c.default)?Re(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:null,m=n||p!=null&&(vt(p)||Pe(p)),_=vp(t,c);f&&EO(c);let[y,v,g]=h?[l,_,a[_]||Ee()]:Z0(t,l,_,o,d,u),b=y,S=l;if(!h&&!(vt(b)||qs(b)||os(b))&&m&&(b=p,S=b),!h&&(!(vt(b)||qs(b)||os(b))||!vt(v)))return i?Wu:l;let k=!1;const I=()=>{k=!0},D=os(b)?b:J0(t,l,v,b,S,I);if(k)return b;const C=CO(t,v,g,c),R=SO(C),B=wO(t,D,R);let $=s?s(B,l):B;if(f&&vt($)&&($=nA($)),__INTLIFY_PROD_DEVTOOLS__){const H={timestamp:Date.now(),key:vt(l)?l:os(b)?b.key:"",locale:v||(os(b)?b.locale:""),format:vt(b)?b:os(b)?b.source:"",message:$};H.meta=tn({},t.__meta,cO()||{}),BA(H)}return $}function EO(t){je(t.list)?t.list=t.list.map(e=>vt(e)?Ig(e):e):pe(t.named)&&Object.keys(t.named).forEach(e=>{vt(t.named[e])&&(t.named[e]=Ig(t.named[e]))})}function Z0(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]),!(vt(h)||qs(h)||os(h)));m++)if(!hO(f,u)){const _=_p(t,e,f,r,p);_!==e&&(h=_)}return[h,f,d]}function J0(t,e,n,s,i,r){const{messageCompiler:o,warnHtmlMessage:a}=t;if(os(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,kO(t,n,i,s,a,r));return l.locale=n,l.key=e,l.source=s,l}function wO(t,e,n){return e(n)}function sh(...t){const[e,n,s]=t,i=Ee();if(!vt(e)&&!Xe(e)&&!os(e)&&!qs(e))throw hi(fi.INVALID_ARGUMENT);const r=Xe(e)?String(e):(os(e),e);return Xe(n)?i.plural=n:vt(n)?i.default=n:se(n)&&!ju(n)?i.named=n:je(n)&&(i.list=n),Xe(s)?i.plural=s:vt(s)?i.default=s:se(s)&&tn(i,s),[r,i]}function kO(t,e,n,s,i,r){return{locale:e,key:n,warnHtmlMessage:i,onError:o=>{throw r&&r(o),o},onCacheKey:o=>JT(e,n,o)}}function CO(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[,,_]=Z0(u||t,h,e,a,l,c);m=o(_,h)}if(vt(m)||qs(m)){let _=!1;const v=J0(t,h,e,m,h,()=>{_=!0});return _?zg:v}else return os(m)?m:zg}};return t.processor&&(f.processor=t.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),Xe(s.plural)&&(f.pluralIndex=s.plural),f}IA();/*!
|
||
* vue-i18n v11.1.11
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const TO="11.1.11";function AO(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(pp().__INTLIFY_PROD_DEVTOOLS__=!1)}const gs={UNEXPECTED_RETURN_TYPE:GA,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 Ns(t,...e){return Bu(t,null,void 0)}const ih=or("__translateVNode"),rh=or("__datetimeParts"),oh=or("__numberParts"),OO=or("__setPluralRules"),xO=or("__injectWithOption"),ah=or("__dispose");function za(t){if(!pe(t)||qs(t))return t;for(const e in t)if(Os(t,e))if(!e.includes("."))pe(t[e])&&za(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||(qs(i)?j0.includes(n[s])||delete t[e]:(i[n[s]]=t[e],delete t[e])),!qs(i)){const o=i[n[s]];pe(o)&&za(o)}}return t}function Q0(t,e){const{messages:n,__i18n:s,messageResolver:i,flatJson:r}=e,o=se(n)?n:je(s)?Ee():{[t]:Ee()};if(je(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Ee(),fc(c,o[l])):fc(c,o)}else vt(a)&&fc(JSON.parse(a),o)}),i==null&&r)for(const a in o)Os(o,a)&&za(o[a]);return o}function t_(t){return t.type}function IO(t,e,n){let s=pe(e.messages)?e.messages:Ee();"__i18nGlobal"in n&&(s=Q0(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 Yg(t){return E(mi,null,t,0)}const Zg="__INTLIFY_META__",Jg=()=>[],NO=()=>!1;let Qg=0;function ty(t){return((e,n,s,i)=>t(n,s,cn()||void 0,i))}const PO=()=>{const t=cn();let e=null;return t&&(e=t_(t)[Zg])?{[Zg]:e}:null};function e_(t={}){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson,r=qc?cs:Tu;let o=Re(t.inheritLocale)?t.inheritLocale:!0;const a=r(e&&o?e.locale.value:vt(t.locale)?t.locale:Xc),l=r(e&&o?e.fallbackLocale.value:vt(t.fallbackLocale)||je(t.fallbackLocale)||se(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=r(Q0(a.value,t)),u=r(se(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),d=r(se(t.numberFormats)?t.numberFormats:{[a.value]:{}});let f=e?e.missingWarn:Re(t.missingWarn)||zc(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:Re(t.fallbackWarn)||zc(t.fallbackWarn)?t.fallbackWarn:!0,p=e?e.fallbackRoot:Re(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,_=Pe(t.missing)?t.missing:null,y=Pe(t.missing)?ty(t.missing):null,v=Pe(t.postTranslation)?t.postTranslation:null,g=e?e.warnHtmlMessage:Re(t.warnHtmlMessage)?t.warnHtmlMessage:!0,b=!!t.escapeParameter;const S=e?e.modifiers:se(t.modifiers)?t.modifiers:{};let k=t.pluralRules||e&&e.pluralRules,I;I=(()=>{s&&Hg(null);const L={version:TO,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:v===null?void 0:v,warnHtmlMessage:g,escapeParameter:b,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=d.value,L.__datetimeFormatters=se(I)?I.__datetimeFormatters:void 0,L.__numberFormatters=se(I)?I.__numberFormatters:void 0;const G=dO(L);return s&&Hg(G),G})(),ta(I,a.value,l.value);function C(){return[a.value,l.value,c.value,u.value,d.value]}const R=Je({get:()=>a.value,set:L=>{I.locale=L,a.value=L}}),B=Je({get:()=>l.value,set:L=>{I.fallbackLocale=L,l.value=L,ta(I,a.value,L)}}),$=Je(()=>c.value),H=Je(()=>u.value),X=Je(()=>d.value);function ot(){return Pe(v)?v:null}function K(L){v=L,I.postTranslation=L}function Q(){return _}function at(L){L!==null&&(y=ty(L)),_=L,I.missing=y}const kt=(L,G,ht,St,Kt,U)=>{C();let j;try{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=e?uO():void 0),j=L(I)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=void 0)}if(ht!=="translate exists"&&Xe(j)&&j===Wu||ht==="translate exists"&&!j){const[q,rt]=G();return e&&p?St(e):Kt(q)}else{if(U(j))return j;throw Ns(gs.UNEXPECTED_RETURN_TYPE)}};function zt(...L){return kt(G=>Reflect.apply(Xg,null,[G,...L]),()=>sh(...L),"translate",G=>Reflect.apply(G.t,G,[...L]),G=>G,G=>vt(G))}function Vt(...L){const[G,ht,St]=L;if(St&&!pe(St))throw Ns(gs.INVALID_ARGUMENT);return zt(G,ht,tn({resolvedMessage:!0},St||{}))}function Bt(...L){return kt(G=>Reflect.apply(Bg,null,[G,...L]),()=>eh(...L),"datetime format",G=>Reflect.apply(G.d,G,[...L]),()=>Vg,G=>vt(G)||je(G))}function ge(...L){return kt(G=>Reflect.apply(Gg,null,[G,...L]),()=>nh(...L),"number format",G=>Reflect.apply(G.n,G,[...L]),()=>Vg,G=>vt(G)||je(G))}function ve(L){return L.map(G=>vt(G)||Xe(G)||Re(G)?Yg(String(G)):G)}const Wt={normalize:ve,interpolate:L=>L,type:"vnode"};function Y(...L){return kt(G=>{let ht;const St=G;try{St.processor=Wt,ht=Reflect.apply(Xg,null,[St,...L])}finally{St.processor=null}return ht},()=>sh(...L),"translate",G=>G[ih](...L),G=>[Yg(G)],G=>je(G))}function dt(...L){return kt(G=>Reflect.apply(Gg,null,[G,...L]),()=>nh(...L),"number format",G=>G[oh](...L),Jg,G=>vt(G)||je(G))}function ct(...L){return kt(G=>Reflect.apply(Bg,null,[G,...L]),()=>eh(...L),"datetime format",G=>G[rh](...L),Jg,G=>vt(G)||je(G))}function bt(L){k=L,I.pluralRules=k}function Ut(L,G){return kt(()=>{if(!L)return!1;const ht=vt(G)?G:a.value,St=N(ht),Kt=I.messageResolver(St,L);return qs(Kt)||os(Kt)||vt(Kt)},()=>[L],"translate exists",ht=>Reflect.apply(ht.te,ht,[L,G]),NO,ht=>Re(ht))}function Xt(L){let G=null;const ht=B0(I,l.value,a.value);for(let St=0;St<ht.length;St++){const Kt=c.value[ht[St]]||{},U=I.messageResolver(Kt,L);if(U!=null){G=U;break}}return G}function A(L){const G=Xt(L);return G??(e?e.tm(L)||{}:{})}function N(L){return c.value[L]||{}}function W(L,G){if(i){const ht={[L]:G};for(const St in ht)Os(ht,St)&&za(ht[St]);G=ht[L]}c.value[L]=G,I.messages=c.value}function st(L,G){c.value[L]=c.value[L]||{};const ht={[L]:G};if(i)for(const St in ht)Os(ht,St)&&za(ht[St]);G=ht[L],fc(G,c.value[L]),I.messages=c.value}function J(L){return u.value[L]||{}}function T(L,G){u.value[L]=G,I.datetimeFormats=u.value,Wg(I,L,G)}function x(L,G){u.value[L]=tn(u.value[L]||{},G),I.datetimeFormats=u.value,Wg(I,L,G)}function V(L){return d.value[L]||{}}function z(L,G){d.value[L]=G,I.numberFormats=d.value,Kg(I,L,G)}function tt(L,G){d.value[L]=tn(d.value[L]||{},G),I.numberFormats=d.value,Kg(I,L,G)}Qg++,e&&qc&&(Zn(e.locale,L=>{o&&(a.value=L,I.locale=L,ta(I,a.value,l.value))}),Zn(e.fallbackLocale,L=>{o&&(l.value=L,I.fallbackLocale=L,ta(I,a.value,l.value))}));const lt={id:Qg,locale:R,fallbackLocale:B,get inheritLocale(){return o},set inheritLocale(L){o=L,L&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,ta(I,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:$,get modifiers(){return S},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return f},set missingWarn(L){f=L,I.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(L){h=L,I.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,I.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage(L){g=L,I.warnHtmlMessage=L},get escapeParameter(){return b},set escapeParameter(L){b=L,I.escapeParameter=L},t:zt,getLocaleMessage:N,setLocaleMessage:W,mergeLocaleMessage:st,getPostTranslationHandler:ot,setPostTranslationHandler:K,getMissingHandler:Q,setMissingHandler:at,[OO]:bt};return lt.datetimeFormats=H,lt.numberFormats=X,lt.rt=Vt,lt.te=Ut,lt.tm=A,lt.d=Bt,lt.n=ge,lt.getDateTimeFormat=J,lt.setDateTimeFormat=T,lt.mergeDateTimeFormat=x,lt.getNumberFormat=V,lt.setNumberFormat=z,lt.mergeNumberFormat=tt,lt[xO]=n,lt[ih]=Y,lt[rh]=ct,lt[oh]=dt,lt}const Sp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function RO({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 n_(){return it}const DO=Ti({name:"i18n-t",props:tn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Xe(t)||!isNaN(t)}},Sp),setup(t,e){const{slots:n,attrs:s}=e,i=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(d=>d[0]!=="_"),o=Ee();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=vt(t.plural)?+t.plural:t.plural);const a=RO(e,r),l=i[ih](t.keypath,a,o),c=tn(Ee(),s),u=vt(t.tag)||pe(t.tag)?t.tag:n_();return Ws(u,c,l)}}}),ey=DO;function LO(t){return je(t)&&!vt(t[0])}function s_(t,e,n,s){const{slots:i,attrs:r}=e;return()=>{const o={part:!0};let a=Ee();t.locale&&(o.locale=t.locale),vt(t.format)?o.key=t.format:pe(t.format)&&(vt(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((f,h)=>n.includes(h)?tn(Ee(),f,{[h]:t.format[h]}):f,Ee()));const l=s(t.value,o,a);let c=[o.key];je(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 LO(m)&&(m[0].key=`${f.type}-${h}`),m}):vt(l)&&(c=[l]);const u=tn(Ee(),r),d=vt(t.tag)||pe(t.tag)?t.tag:n_();return Ws(d,u,c)}}const MO=Ti({name:"i18n-n",props:tn({value:{type:Number,required:!0},format:{type:[String,Object]}},Sp),setup(t,e){const n=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return s_(t,e,Y0,(...s)=>n[oh](...s))}}),ny=MO;function $O(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 FO(t){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ns(gs.UNEXPECTED_ERROR);const c=$O(t,a.$),u=sy(l);return[Reflect.apply(c.t,c,[...iy(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);qc&&t.global===c&&(o.__i18nWatcher=Zn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{qc&&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=sy(a);o.textContent=Reflect.apply(l.t,l,[...iy(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function sy(t){if(vt(t))return{path:t};if(se(t)){if(!("path"in t))throw Ns(gs.REQUIRED_VALUE,"path");return t}else throw Ns(gs.INVALID_VALUE)}function iy(t){const{path:e,locale:n,args:s,choice:i,plural:r}=t,o={},a=s||{};return vt(n)&&(o.locale=n),Xe(i)&&(o.plural=i),Xe(r)&&(o.plural=r),[e,a,o]}function VO(t,e,...n){const s=se(n[0])?n[0]:{};(Re(s.globalInstall)?s.globalInstall:!0)&&([ey.name,"I18nT"].forEach(r=>t.component(r,ey)),[ny.name,"I18nN"].forEach(r=>t.component(r,ny)),[oy.name,"I18nD"].forEach(r=>t.component(r,oy))),t.directive("t",FO(e))}const UO=or("global-vue-i18n");function HO(t={}){const e=Re(t.globalInjection)?t.globalInjection:!0,n=new Map,[s,i]=jO(t),r=or("");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),se(d[0])){const p=d[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let f=null;e&&(f=YO(u,c.global)),VO(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 Ep(t={}){const e=cn();if(e==null)throw Ns(gs.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ns(gs.NOT_INSTALLED);const n=BO(e),s=GO(n),i=t_(e),r=WO(t,i);if(r==="global")return IO(s,t,i),s;if(r==="parent"){let l=KO(n,e,t.__useComponent);return l==null&&(l=s),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=tn({},t);"__i18n"in i&&(l.__i18n=i.__i18n),s&&(l.__root=s),a=e_(l),o.__composerExtend&&(a[ah]=o.__composerExtend(a)),zO(o,e,a),o.__setInstance(e,a)}return a}function jO(t,e){const n=vu(),s=n.run(()=>e_(t));if(s==null)throw Ns(gs.UNEXPECTED_ERROR);return[n,s]}function BO(t){const e=us(t.isCE?UO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ns(t.isCE?gs.NOT_INSTALLED_WITH_PROVIDE:gs.UNEXPECTED_ERROR);return e}function WO(t,e){return ju(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function GO(t){return t.mode==="composition"?t.global:t.global.__composer}function KO(t,e,n=!1){let s=null;const i=e.root;let r=qO(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 qO(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function zO(t,e,n){Vo(()=>{},e),ll(()=>{const s=n;t.__deleteInstance(e);const i=s[ah];i&&(i(),delete s[ah])},e)}const XO=["locale","fallbackLocale","availableLocales"],ry=["t","rt","d","n","tm","te"];function YO(t,e){const n=Object.create(null);return XO.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r)throw Ns(gs.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,ry.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r||!r.value)throw Ns(gs.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,r)}),()=>{delete t.config.globalProperties.$i18n,ry.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}const ZO=Ti({name:"i18n-d",props:tn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Sp),setup(t,e){const n=t.i18n||Ep({useScope:t.scope,__useComponent:!0});return s_(t,e,X0,(...s)=>n[rh](...s))}}),oy=ZO;AO();rO(UA);oO(nO);aO(B0);if(__INTLIFY_PROD_DEVTOOLS__){const t=pp();t.__INTLIFY__=!0,HA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const qd=t=>t&&typeof t=="object"&&!Array.isArray(t),lh=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(qd(t)&&qd(n))for(const s in n)qd(n[s])?(t[s]||Object.assign(t,{[s]:{}}),lh(t[s],n[s])):Object.assign(t,{[s]:n[s]});return lh(t,...e)},JO=lh({},{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"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Vorherige verbergen"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Einloggen"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Ausloggen"}},"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"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Datei"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},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"}]}]}}},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"}}}},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"}}}},podcast:{remove:{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:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast enfernen"}}}},"queue-item":{quality:{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:{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:{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"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Letzer Monat"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Letzte Woche"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Heute"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Unbestimmt"}}},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"}},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"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Lautstärke"}}},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-date":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Erscheinungsdatum"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Name"}},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:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}},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"}}}},player:{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"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{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"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online-Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Allgemein"}}}},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"}}}}},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"}}}},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"}}}},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"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album-Künstler"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},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:{"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"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Fehler bei Verbindung zum OwnTone-Server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Warteschlange zu Playlist "},{t:4,k:"name"},{t:3,v:" gesichert"}]}},"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:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatisch"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dunkel"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Hell"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsbild"}}},artwork:{"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-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Zeige Cover-Artwork in der Albumliste"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Bereitgestellte Artwork von Radiostationen ignorieren"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Keine aktive Pairing-Anfrage"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Pairing Remote"}},"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 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Lautsprecher-Pairing und Geräteverifikation"}},"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."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verifikationscode"}}},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."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde ohne Unterstützung für Last.fm erstellt."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Passwort"}},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:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Benutzername"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Sprache"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Wähle hier die Einträge des oberen Navigationsmenüs"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Auf den Bildschirmen mobiler Geräte wird nur das Burger-Menü angezeigt."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigationsmenüs"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Aktuell läuft-Seite"}},"recently-added-limit":{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"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Zeige den Komponisten für die aufgelisteten Genres an"}},"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-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Komponisten anzeigen"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Dateipfad anzeigen"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Suche"}}}}}},{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"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Hide previous"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Logout"}},"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"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"File"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},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"}]}]}}},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"}}}},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"}}}},podcast:{remove:{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:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Delete the podcast"}}}},"queue-item":{quality:{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:{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:{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"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Last month"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Last week"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Today"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Undefined"}}},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"}},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"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream"}},"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"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Update Library"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},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-date":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Release date"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Name"}},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:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}},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"}}}},player:{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"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{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"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"General"}}}},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"}}}}},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"}}}},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"}}}},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"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album Artist"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},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:{"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"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Failed to connect to OwnTone server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Queue saved to playlist "},{t:4,k:"name"}]}},"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:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dark"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Light"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Appearance"}}},artwork:{"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-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Show cover artwork in album list"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignore artwork provided by radio stations"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"No active pairing request."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Remote Pairing"}},"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 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Speaker pairing and device verification"}},"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."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verification code"}}},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."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was built without support for Last.fm."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},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"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Select the top navigation bar menu items"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"On mobile device screens, only the burger menu is displayed."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigation Bar"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Player page"}},"recently-added-limit":{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"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Show composer only for listed genres"}},"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-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show composer"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show filepath"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Files"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Music"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Search"}}}}}},{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"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Masquer l’historique"}},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"}},"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"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Fichier"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Flux"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},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"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement 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"}}}},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 d’attente dans une liste de lecture"}}}},podcast:{remove:{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:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer le podcast"}}}},"queue-item":{quality:{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:{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:{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"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Le mois dernier"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"La semaine dernière"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Aujourd’hui"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Indéfini"}}},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"}},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"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"Flux HTTP"}},"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 d’un problème réseau"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},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-date":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Date de sortie"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Nom"}},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:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}},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"}}}},player:{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 d’attente 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 d’attente"}}},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 l’album"},{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 l’artiste"},{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"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}}},settings:{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"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Services en ligne"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Général"}}}},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"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Effacer l’historique"}},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 l’ordre"}},"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"}}}},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"}}}},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"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Artiste de l’album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},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:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste ajoutée à la file d’attente"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes ajoutées à la file d’attente"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Échec de connexion au serveur"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"La file d’attente enregistrée dans la liste de lecture "},{t:4,k:"name"}]}},"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:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatique"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Sombre"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Clair"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Mode d’apparence"}}},artwork:{"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 d’illustrations suivants :"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Afficher les illustrations dans la liste d’albums"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignorer les illustrations fournies par les stations de radio"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Aucune demande de jumelage active."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Jumelage de télécommande"}},"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 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Jumelage d’enceinte et vérification d’appareil"}},"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 qu’elle affiche."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de vérification"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Connectez-vous avec votre nom d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Last.fm n’est pas présente."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Mot de passe"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Autoriser l’accès à l’API"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Accordez l’accès à l’API de Spotify."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Spotify n’est pas présente."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accè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. L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application 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:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Nom d’utilisateur"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Langue"}},"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-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Sur les écrans des appareils mobiles, seul le menu est affiché."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Barre de navigation"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « En cours de lecture »"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Limiter le nombre d’albums affichés"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « Ajouts récents »"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur uniquement pour les genres listés"}},"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 l’un 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-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le chemin du fichier"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}}}}}},{"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:"编辑"}},"hide-previous":{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:"退出"}},"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:" 个流派"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"链接"}}},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:" 只曲目"}]}]}}},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:"添加流"}}}},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:"保存播放清单到列表"}}}},podcast:{remove:{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:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除播客"}}}},"queue-item":{quality:{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:{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:{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:"更新资料库"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{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:"作曲家"}},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"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP流"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP流错误:流载入失败或者由于网络原因无法载入"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}},volume:{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-date":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 发行日期"}},"artist-name":{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:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},authors:{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"}}}},player:{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:" 只曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遥控和输出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在线服务"}},webinterface:{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:"最新发行"}}}}},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:"显示/隐藏歌词"}}}},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:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"添加时间"}},album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},albums:{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:{"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:" 只曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"无法连接到 OwnTone 服务器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清单以添加到播放列表 "},{t:4,k:"name"}]}},"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:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自动"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"浅色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外观"}}},artwork:{"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-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在专辑列表中显示封面艺术作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略广播电台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"没有活跃的配对请求"}},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:"远程配对请求来自于 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"扬声器配对和设备验证"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"}},"verification-code":{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 用户名/密码,仅存储会话密钥。会话密钥不会过期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密码"}},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"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用户名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},language:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"选择顶部导航栏菜单项"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在移动设备屏幕上,只显示汉堡菜单"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"导航条"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”页面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制显示的相册数量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近添加”页面"}},"show-composer-for-genre":{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-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示文件路径"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},"show-menu-item-search":{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:"編輯"}},"hide-previous":{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:"退出"}},"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:" 個音樂類型"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"串流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"鏈接"}}},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:" 首曲目"}]}]}}},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:"新增串流"}}}},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:"儲存播放清單到列表"}}}},podcast:{remove:{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:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除Podcast"}}}},"queue-item":{quality:{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:{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:{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:"更新資料庫"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{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:"作曲家"}},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"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流"}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流錯誤:串流載入失敗或者由於網絡原因無法載入"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}},volume:{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-date":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 發行日期"}},"artist-name":{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:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},authors:{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"}}}},player:{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:" 首曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遙控和輸出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在線服務"}},webinterface:{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:"最新發行"}}}}},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:"顯示/隱藏歌詞"}}}},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:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"新增時間"}},album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},albums:{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:{"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:" 首曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"無法連接到 OwnTone 伺服器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清單以新增到播放列表 "},{t:4,k:"name"}]}},"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:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自動"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"淺色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外觀"}}},artwork:{"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-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在專輯列表中顯示封面藝術作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略電台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"沒有活躍的配對請求"}},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:"遠程配對請求來自於 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"揚聲器配對和設備驗證"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"}},"verification-code":{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 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密碼"}},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"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用戶名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},language:{t:0,b:{t:2,i:[{t:3}],s:"語言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"選擇頂部導航欄菜單項"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在行動裝置螢幕上,只會顯示漢堡菜單"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"導航條"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”頁面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制顯示的相簿數量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近新增”頁面"}},"show-composer-for-genre":{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-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示檔案路徑"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"電台"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}}}}}}),Gs=HO({fallbackLocale:"en",fallbackWarn:!1,locale:navigator.language,messages:JO,missingWarn:!1}),{t:QO}=Gs.global;ut.interceptors.response.use(t=>t.data,t=>(t.request.status&&t.request.responseURL&&ko().add({text:QO("server.request-failed",{cause:t.request.statusText,status:t.request.status,url:t.request.responseURL}),type:"danger"}),Promise.reject(t)));const ay="./api/pairing",wp={pair(t){return ut.post(ay,{pin:t})},state(){return ut.get(ay)}},kp=Ds("RemotesStore",{actions:{async initialise(){this.$state=await wp.state()}},state:()=>({active:!1,remote:""})}),tx={name:"ModalDialogRemotePairing",components:{ControlPinField:a0,ModalDialog:rr},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:kp()}},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(){wp.pair(this.pin).then(()=>{this.pin=""})}}},ex=["textContent"];function nx(t,e,n,s,i,r){const o=w("control-pin-field"),a=w("modal-dialog");return O(),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(()=>[P("form",{onSubmit:e[0]||(e[0]=Bn((...l)=>r.pair&&r.pair(...l),["prevent"]))},[P("label",{class:"label",textContent:et(s.remoteStore.remote)},null,8,ex),E(o,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onPinChange},null,8,["placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const sx=nt(tx,[["render",nx]]),ix={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},rx={class:"field mb-0 is-flex is-align-items-center"},ox={class:"toggle is-flex is-align-items-center"},ax={class:"control is-flex is-align-items-center"},lx=["checked"],cx={key:0,class:"help mb-4"};function ux(t,e,n,s,i,r){return O(),F(it,null,[P("div",rx,[P("label",ox,[P("div",ax,[P("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,lx),e[1]||(e[1]=P("div",{class:"toggle-switch"},null,-1))]),le(t.$slots,"label",{},void 0,!0)])]),t.$slots.help?(O(),F("div",cx,[le(t.$slots,"help",{},void 0,!0)])):_t("",!0)],64)}const Ur=nt(ix,[["render",ux],["__scopeId","data-v-f999a158"]]),Ge="./api/library",_s="./api/search",Tt={add(t){return ut.post(`${Ge}/add`,null,{params:{url:t}})},album(t){return ut.get(`${Ge}/albums/${t}`)},albumTracks(t,e={limit:-1,offset:0}){return ut.get(`${Ge}/albums/${t}/tracks`,{params:e})},albums(t){return ut.get(`${Ge}/albums`,{params:{media_kind:t}})},artist(t){return ut.get(`${Ge}/artists/${t}`)},artistAlbums(t){return ut.get(`${Ge}/artists/${t}/albums`)},async artistTracks(t){const e={expression:`songartistid is "${t}"`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},artists(t){return ut.get(`${Ge}/artists`,{params:{media_kind:t}})},composer(t){return ut.get(`${Ge}/composers/${encodeURIComponent(t)}`)},async composerAlbums(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"albums"};return(await ut.get(_s,{params:e})).albums},async composerTracks(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"tracks"};return(await ut.get(_s,{params:e})).tracks},composers(t){return ut.get(`${Ge}/composers`,{params:{media_kind:t}})},files(t){return ut.get(`${Ge}/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(_s,{params:n})).genres},async genreAlbums(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"albums"};return(await ut.get(_s,{params:n})).albums},async genreTracks(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"tracks"};return(await ut.get(_s,{params:n})).tracks},async genres(t){const e={expression:`media_kind is ${t}`,type:"genres"};return(await ut.get(_s,{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(_s,{params:t})).tracks},playlist(t){return ut.get(`${Ge}/playlists/${t}`)},playlistDelete(t){return ut.delete(`${Ge}/playlists/${t}`)},playlistFolder(t=0){return ut.get(`${Ge}/playlists/${t}/playlists`)},playlistTracks(t){return ut.get(`${Ge}/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(_s,{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(_s,{params:t})).tracks},rescan(t){return ut.put("./api/rescan",null,{params:{scan_kind:t}})},rssCount(){return ut.get(`${Ge}/count`,{params:{expression:"scan_kind is rss"}})},search(t){return ut.get(_s,{params:t})},state(){return ut.get(Ge)},track(t){return ut.get(`${Ge}/tracks/${t}`)},trackPlaylists(t){return ut.get(`${Ge}/tracks/${t}/playlists`)},update(t){return ut.put("./api/update",null,{params:{scan_kind:t}})},updateAlbum(t,e){return ut.put(`${Ge}/albums/${t}/tracks`,null,{params:e})},updateTrack(t,e={}){return ut.put(`${Ge}/tracks/${t}`,null,{params:e})}},Gu=Ds("LibraryStore",{actions:{async initialise(){this.$state=await Tt.state()}},state:()=>({albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",update_dialog_scan_kind:"",updated_at:"01",updating:!1})});class We{api;constructor(e){this.api=e}async getRequest(e){return await this.api.makeRequest("GET",e)}async postRequest(e,n,s=void 0){return await this.api.makeRequest("POST",e,n,s)}async putRequest(e,n,s=void 0){return await this.api.makeRequest("PUT",e,n,s)}async deleteRequest(e,n){return await this.api.makeRequest("DELETE",e,n)}paramsFor(e){const n=new URLSearchParams;for(let s of Object.getOwnPropertyNames(e))(e[s]||e[s]===0||!e[s]&&typeof e[s]=="boolean")&&n.append(s,e[s].toString());return[...n].length>0?`?${n.toString()}`:""}}class dx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return await this.getRequest(`albums/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`albums${s}`)).albums}tracks(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`albums/${e}/tracks${r}`)}}class fx extends We{async get(e){if(typeof e=="string")return this.getRequest(`artists/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`artists${n}`)).artists}albums(e,n,s,i,r){const o=this.paramsFor({include_groups:n,market:s,limit:i,offset:r});return this.getRequest(`artists/${e}/albums${o}`)}topTracks(e,n){const s=this.paramsFor({market:n});return this.getRequest(`artists/${e}/top-tracks${s}`)}relatedArtists(e){return this.getRequest(`artists/${e}/related-artists`)}}class hx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`audiobooks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`audiobooks${s}`)).audiobooks}getAudiobookChapters(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`audiobooks/${e}/chapters${r}`)}}class px extends We{getCategories(e,n,s,i){const r=this.paramsFor({country:e,locale:n,limit:s,offset:i});return this.getRequest(`browse/categories${r}`)}getCategory(e,n,s){const i=this.paramsFor({country:n,locale:s});return this.getRequest(`browse/categories/${e}${i}`)}getNewReleases(e,n,s){const i=this.paramsFor({country:e,limit:n,offset:s});return this.getRequest(`browse/new-releases${i}`)}getFeaturedPlaylists(e,n,s,i,r){const o=this.paramsFor({country:e,locale:n,timestamp:s,limit:i,offset:r});return this.getRequest(`browse/featured-playlists${o}`)}getPlaylistsForCategory(e,n,s,i){const r=this.paramsFor({country:n,limit:s,offset:i});return this.getRequest(`browse/categories/${e}/playlists${r}`)}}class mx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`chapters/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`chapters${s}`)).chapters}}class gx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`episodes/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`episodes${s}`)).episodes}}class yx extends We{get(e){const n=this.paramsFor(e);return this.getRequest(`recommendations${n}`)}genreSeeds(){return this.getRequest("recommendations/available-genre-seeds")}}class bx extends We{getAvailableMarkets(){return this.getRequest("markets")}}class vx extends We{getPlaybackState(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player${s}`)}getAvailableDevices(){return this.getRequest("me/player/devices")}getCurrentlyPlayingTrack(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player/currently-playing${s}`)}getRecentlyPlayedTracks(e,n){const s={limit:e};n&&(n.type==="before"?s.before=n.timestamp:n.type==="after"&&(s.after=n.timestamp));const i=this.paramsFor(s);return this.getRequest(`me/player/recently-played${i}`)}getUsersQueue(){return this.getRequest("me/player/queue")}async transferPlayback(e,n){if(e.length>1)throw new Error("Although an array is accepted, only a single device_id is currently supported. Supplying more than one will return 400 Bad Request");await this.putRequest("me/player",{device_ids:e,play:n})}async startResumePlayback(e,n,s,i,r){const o=this.paramsFor({device_id:e});await this.putRequest(`me/player/play${o}`,{context_uri:n,uris:s,offset:i,positionMs:r})}async pausePlayback(e){const n=this.paramsFor({device_id:e});await this.putRequest(`me/player/pause${n}`)}async skipToNext(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/next${n}`)}async skipToPrevious(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/previous${n}`)}async seekToPosition(e,n){const s=this.paramsFor({position_ms:e,device_id:n});await this.putRequest(`me/player/seek${s}`)}async setRepeatMode(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/repeat${s}`)}async setPlaybackVolume(e,n){const s=this.paramsFor({volume_percent:e,device_id:n});await this.putRequest(`me/player/volume${s}`)}async togglePlaybackShuffle(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/shuffle${s}`)}async addItemToPlaybackQueue(e,n){const s=this.paramsFor({uri:e,device_id:n});await this.postRequest(`me/player/queue${s}`)}}class _x extends We{getPlaylist(e,n,s,i){const r=this.paramsFor({market:n,fields:s,additional_types:i?.join(",")});return this.getRequest(`playlists/${e}${r}`)}getPlaylistItems(e,n,s,i,r,o){const a=this.paramsFor({market:n,fields:s,limit:i,offset:r,additional_types:o?.join(",")});return this.getRequest(`playlists/${e}/tracks${a}`)}async changePlaylistDetails(e,n){await this.putRequest(`playlists/${e}`,n)}movePlaylistItems(e,n,s,i){return this.updatePlaylistItems(e,{range_start:n,range_length:s,insert_before:i})}updatePlaylistItems(e,n){return this.putRequest(`playlists/${e}/tracks`,n)}async addItemsToPlaylist(e,n,s){await this.postRequest(`playlists/${e}/tracks`,{position:s,uris:n})}async removeItemsFromPlaylist(e,n){await this.deleteRequest(`playlists/${e}/tracks`,n)}getUsersPlaylists(e,n,s){const i=this.paramsFor({limit:n,offset:s});return this.getRequest(`users/${e}/playlists${i}`)}createPlaylist(e,n){return this.postRequest(`users/${e}/playlists`,n)}getPlaylistCoverImage(e){return this.getRequest(`playlists/${e}/images`)}async addCustomPlaylistCoverImage(e,n){let s="";if(n instanceof Buffer)s=n.toString("base64");else if(n instanceof HTMLCanvasElement)s=n.toDataURL("image/jpeg").split(";base64,")[1];else if(n instanceof HTMLImageElement){const i=document.createElement("canvas");i.width=n.width,i.height=n.height;const r=i.getContext("2d");if(!r)throw new Error("Could not get canvas context");r.drawImage(n,0,0),s=i.toDataURL("image/jpeg").split(";base64,")[1]}else if(typeof n=="string")s=n;else throw new Error("ImageData must be a Buffer, HTMLImageElement, HTMLCanvasElement, or string containing a base64 encoded jpeg");await this.addCustomPlaylistCoverImageFromBase64String(e,s)}async addCustomPlaylistCoverImageFromBase64String(e,n){await this.putRequest(`playlists/${e}/images`,n,"image/jpeg")}}class Sx extends We{async execute(e,n,s,i,r,o){const a=this.paramsFor({q:e,type:n,market:s,limit:i,offset:r,include_external:o});return await this.getRequest(`search${a}`)}}class Ex extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`shows/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`shows${s}`)).shows}episodes(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`shows/${e}/episodes${r}`)}}class wx extends We{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`tracks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`tracks${s}`)).tracks}async audioFeatures(e){if(typeof e=="string")return this.getRequest(`audio-features/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`audio-features${n}`)).audio_features}audioAnalysis(e){return this.getRequest(`audio-analysis/${e}`)}}const Cp={access_token:"emptyAccessToken",token_type:"",expires_in:0,refresh_token:"",expires:-1};function la(t){return t===Cp}class kx extends We{profile(e){return this.getRequest(`users/${e}`)}}class Cx extends We{albums;audiobooks;episodes;playlists;shows;tracks;constructor(e){super(e),this.albums=new Tx(e),this.audiobooks=new Ax(e),this.episodes=new Ox(e),this.playlists=new xx(e),this.shows=new Ix(e),this.tracks=new Nx(e)}profile(){return this.getRequest("me")}topItems(e,n,s,i){const r=this.paramsFor({time_range:n,limit:s,offset:i});return this.getRequest(`me/top/${e}${r}`)}followedArtists(e,n){const s=this.paramsFor({type:"artist",after:e,limit:n});return this.getRequest(`me/following${s}`)}async followArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.putRequest(`me/following${s}`,{ids:e})}async unfollowArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.deleteRequest(`me/following${s}`,{ids:e})}followsArtistsOrUsers(e,n){const s=this.paramsFor({ids:e,type:n});return this.getRequest(`me/following/contains${s}`)}}class Tx extends We{savedAlbums(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/albums${i}`)}async saveAlbums(e){await this.putRequest("me/albums",e)}async removeSavedAlbums(e){await this.deleteRequest("me/albums",e)}hasSavedAlbums(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/albums/contains${n}`)}}class Ax extends We{savedAudiobooks(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/audiobooks${s}`)}async saveAudiobooks(e){await this.putRequest("me/audiobooks",e)}async removeSavedAudiobooks(e){await this.deleteRequest("me/audiobooks",e)}hasSavedAudiobooks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/audiobooks/contains${n}`)}}class Ox extends We{savedEpisodes(e,n,s){const i=this.paramsFor({market:e,limit:n,offset:s});return this.getRequest(`me/episodes${i}`)}async saveEpisodes(e){await this.putRequest("me/episodes",e)}async removeSavedEpisodes(e){await this.deleteRequest("me/episodes",e)}hasSavedEpisodes(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/episodes/contains${n}`)}}class xx extends We{playlists(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/playlists${s}`)}async follow(e){await this.putRequest(`playlists/${e}/followers`)}async unfollow(e){await this.deleteRequest(`playlists/${e}/followers`)}isFollowing(e,n){const s=this.paramsFor({ids:n});return this.getRequest(`playlists/${e}/followers/contains${s}`)}}class Ix extends We{savedShows(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/shows${s}`)}saveShows(e){const n=this.paramsFor({ids:e});return this.putRequest(`me/shows${n}`)}removeSavedShows(e,n){const s=this.paramsFor({ids:e,market:n});return this.deleteRequest(`me/shows${s}`)}hasSavedShow(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/shows/contains${n}`)}}class Nx extends We{savedTracks(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/tracks${i}`)}async saveTracks(e){await this.putRequest("me/tracks",e)}async removeSavedTracks(e){await this.deleteRequest("me/tracks",e)}hasSavedTracks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/tracks/contains${n}`)}}class Px{static get current(){return this.hasSubtleCrypto?window.crypto:this.tryLoadNodeWebCrypto()}static get hasSubtleCrypto(){return typeof window<"u"&&typeof window.crypto<"u"&&typeof window.crypto.subtle<"u"}static tryLoadNodeWebCrypto(){try{const{webcrypto:e}=require("crypto");return e}catch(e){throw e}}}class zn{static async refreshCachedAccessToken(e,n){const s=await zn.refreshToken(e,n.refresh_token);return zn.toCachable(s)}static toCachable(e){return e.expires&&e.expires===-1?e:{...e,expires:this.calculateExpiry(e)}}static calculateExpiry(e){return Date.now()+e.expires_in*1e3}static async refreshToken(e,n){const s=new URLSearchParams;s.append("client_id",e),s.append("grant_type","refresh_token"),s.append("refresh_token",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to refresh token: ${i.statusText}, ${r}`);return JSON.parse(r)}static generateCodeVerifier(e){let n="",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i<e;i++)n+=s.charAt(Math.floor(Math.random()*s.length));return n}static async generateCodeChallenge(e){const n=new TextEncoder().encode(e),s=await Px.current.subtle.digest("SHA-256",n),i=[...new Uint8Array(s)];return(typeof Buffer<"u"?Buffer.from(s).toString("base64"):btoa(String.fromCharCode.apply(null,i))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}}class ka{clientId;clientSecret;scopes;static cacheKey="spotify-sdk:ClientCredentialsStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s=[]){this.clientId=e,this.clientSecret=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(ka.cacheKey,async()=>{const n=await this.getTokenFromApi();return zn.toCachable(n)},async n=>{const s=await this.getTokenFromApi();return zn.toCachable(s)})}async getAccessToken(){return await this.cache.get(ka.cacheKey)}removeAccessToken(){this.cache.remove(ka.cacheKey)}async getTokenFromApi(){const e={grant_type:"client_credentials",scope:this.scopes.join(" ")},n=Object.keys(e).map(l=>l+"="+e[l]).join("&"),s=typeof Buffer<"u",i=`${this.clientId}:${this.clientSecret}`,r=s?Buffer.from(i).toString("base64"):btoa(i),o=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Basic ${r}`},body:n});if(o.status!==200)throw new Error("Failed to get access token.");return await o.json()}}class Ca{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:ImplicitGrantStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(Ca.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return zn.toCachable(n)},async n=>zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(Ca.cacheKey)}removeAccessToken(){this.cache.remove(Ca.cacheKey)}async redirectOrVerifyToken(){const e=new URLSearchParams(window.location.hash.substring(1)),n=e.get("access_token");if(n)return Promise.resolve({access_token:n,token_type:e.get("token_type")??"",expires_in:parseInt(e.get("expires_in")??"0"),refresh_token:e.get("refresh_token")??"",expires:Number(e.get("expires"))||0});var i=(this.scopes??[]).join(" ");const r=new URLSearchParams;r.append("client_id",this.clientId),r.append("response_type","token"),r.append("redirect_uri",this.redirectUri),r.append("scope",i);const o="https://accounts.spotify.com/authorize?"+r.toString();return this.configuration.redirectionStrategy.redirect(o),Cp}}class go{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:AuthorizationCodeWithPKCEStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(go.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return zn.toCachable(n)},async n=>zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(go.cacheKey)}removeAccessToken(){this.cache.remove(go.cacheKey)}async redirectOrVerifyToken(){const n=new URLSearchParams(window.location.search).get("code");if(n){const s=await this.verifyAndExchangeCode(n);return this.removeCodeFromUrl(),s}return this.redirectToSpotify(),Cp}async redirectToSpotify(){const e=zn.generateCodeVerifier(128),n=await zn.generateCodeChallenge(e),s={verifier:e,expiresOnAccess:!0};this.cache.setCacheItem("spotify-sdk:verifier",s);const i=await this.generateRedirectUrlForUser(this.scopes,n);await this.configuration.redirectionStrategy.redirect(i)}async verifyAndExchangeCode(e){const s=(await this.cache.get("spotify-sdk:verifier"))?.verifier;if(!s)throw new Error("No verifier found in cache - can't validate query string callback parameters.");return await this.configuration.redirectionStrategy.onReturnFromRedirect(),await this.exchangeCodeForToken(e,s)}removeCodeFromUrl(){const e=new URL(window.location.href);e.searchParams.delete("code");const n=e.search?e.href:e.href.replace("?","");window.history.replaceState({},document.title,n)}async generateRedirectUrlForUser(e,n){const s=e.join(" "),i=new URLSearchParams;return i.append("client_id",this.clientId),i.append("response_type","code"),i.append("redirect_uri",this.redirectUri),i.append("scope",s),i.append("code_challenge_method","S256"),i.append("code_challenge",n),`https://accounts.spotify.com/authorize?${i.toString()}`}async exchangeCodeForToken(e,n){const s=new URLSearchParams;s.append("client_id",this.clientId),s.append("grant_type","authorization_code"),s.append("code",e),s.append("redirect_uri",this.redirectUri),s.append("code_verifier",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to exchange code for token: ${i.statusText}, ${r}`);return JSON.parse(r)}}class Rx{async deserialize(e){const n=await e.text();return n.length>0?JSON.parse(n):null}}class Dx{async validateResponse(e){switch(e.status){case 401:throw new Error("Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.");case 403:const n=await e.text();throw new Error(`Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here. Body: ${n}`);case 429:throw new Error("The app has exceeded its rate limits.");default:if(!e.status.toString().startsWith("20")){const s=await e.text();throw new Error(`Unrecognised response code: ${e.status} - ${e.statusText}. Body: ${s}`)}}}}class Lx{async handleErrors(e){return!1}}class Mx{async redirect(e){document.location=e.toString()}async onReturnFromRedirect(){}}class i_{storage;updateFunctions;autoRenewInterval;autoRenewWindow;constructor(e,n=new Map,s=0,i=120*1e3){this.storage=e,this.updateFunctions=n,this.autoRenewInterval=s,this.autoRenewWindow=i,this.autoRenewInterval>0&&setInterval(()=>this.autoRenewRenewableItems(),this.autoRenewInterval)}async getOrCreate(e,n,s){s&&this.updateFunctions.set(e,s);const i=await this.get(e);if(i)return i;const r=await n();if(!r)throw new Error("Could not create cache item");return la(r)||this.setCacheItem(e,r),r}async get(e){let n=this.storage.get(e),s=n?JSON.parse(n):null;if(this.itemDueToExpire(s)&&this.updateFunctions.has(e)){const i=this.updateFunctions.get(e);await this.tryUpdateItem(e,s,i),n=this.storage.get(e),s=n?JSON.parse(n):null}return s?s.expires&&(s.expires===-1||s.expires<=Date.now())?(this.remove(e),null):(s.expiresOnAccess&&s.expiresOnAccess===!0&&this.remove(e),s):null}set(e,n,s){const i=Date.now()+s,r={...n,expires:i};this.setCacheItem(e,r)}setCacheItem(e,n){const s=JSON.stringify(n);this.storage.set(e,s)}remove(e){this.storage.remove(e)}itemDueToExpire(e){return!e||!e.expires?!1:e.expires-Date.now()<this.autoRenewWindow}async autoRenewRenewableItems(){this.updateFunctions.forEach(async(e,n)=>{const s=await this.get(n);s&&e&&this.itemDueToExpire(s)&&await this.tryUpdateItem(n,s,e)})}async tryUpdateItem(e,n,s){try{const i=await s(n);i&&this.setCacheItem(e,i)}catch(i){console.error(i)}}}class $x extends i_{constructor(){super(new Fx)}}class Fx{get(e){return localStorage.getItem(e)}set(e,n){localStorage.setItem(e,n)}remove(e){localStorage.removeItem(e)}}class Vx extends i_{constructor(){super(new Ux)}}class Ux{cache=new Map;get(e){return this.cache.get(e)??null}set(e,n){this.cache.set(e,n)}remove(e){this.cache.delete(e)}}class Hx{clientId;accessToken;refreshTokenAction;constructor(e,n,s){this.clientId=e,this.accessToken=n,this.refreshTokenAction=s||zn.refreshCachedAccessToken,this.accessToken.expires||(this.accessToken.expires=zn.calculateExpiry(this.accessToken))}setConfiguration(e){}async getOrCreateAccessToken(){if(this.accessToken.expires&&this.accessToken.expires<=Date.now()){const e=await this.refreshTokenAction(this.clientId,this.accessToken);this.accessToken=e}return this.accessToken}async getAccessToken(){return this.accessToken}removeAccessToken(){this.accessToken={access_token:"",token_type:"",expires_in:0,refresh_token:"",expires:0}}}class ji{sdkConfig;static rootUrl="https://api.spotify.com/v1/";authenticationStrategy;albums;artists;audiobooks;browse;chapters;episodes;recommendations;markets;player;playlists;shows;tracks;users;search;currentUser;constructor(e,n){this.sdkConfig=this.initializeSdk(n),this.albums=new dx(this),this.artists=new fx(this),this.audiobooks=new hx(this),this.browse=new px(this),this.chapters=new mx(this),this.episodes=new gx(this),this.recommendations=new yx(this),this.markets=new bx(this),this.player=new vx(this),this.playlists=new _x(this),this.shows=new Ex(this),this.tracks=new wx(this),this.users=new kx(this),this.currentUser=new Cx(this);const s=new Sx(this);this.search=s.execute.bind(s),this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig)}async makeRequest(e,n,s=void 0,i=void 0){try{const r=await this.authenticationStrategy.getOrCreateAccessToken();if(la(r))return console.warn("No access token found, authenticating now."),null;const o=r?.access_token,a=ji.rootUrl+n,l={method:e,headers:{Authorization:`Bearer ${o}`,"Content-Type":i??"application/json"},body:s?typeof s=="string"?s:JSON.stringify(s):void 0};this.sdkConfig.beforeRequest(a,l);const c=await this.sdkConfig.fetch(a,l);return this.sdkConfig.afterRequest(a,l,c),c.status===204?null:(await this.sdkConfig.responseValidator.validateResponse(c),this.sdkConfig.deserializer.deserialize(c))}catch(r){if(!await this.sdkConfig.errorHandler.handleErrors(r))throw r;return null}}initializeSdk(e){const n=typeof window<"u";return{...{fetch:(i,r)=>fetch(i,r),beforeRequest:(i,r)=>{},afterRequest:(i,r,o)=>{},deserializer:new Rx,responseValidator:new Dx,errorHandler:new Lx,redirectionStrategy:new Mx,cachingStrategy:n?new $x:new Vx},...e}}switchAuthenticationStrategy(e){this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig),this.authenticationStrategy.getOrCreateAccessToken()}async authenticate(){const e=await this.authenticationStrategy.getOrCreateAccessToken();return{authenticated:e.expires>Date.now()&&!la(e),accessToken:e}}async getAccessToken(){return this.authenticationStrategy.getAccessToken()}logOut(){this.authenticationStrategy.removeAccessToken()}static withUserAuthorization(e,n,s=[],i){const r=new go(e,n,s);return new ji(r,i)}static withClientCredentials(e,n,s=[],i){const r=new ka(e,n,s);return new ji(r,i)}static withImplicitGrant(e,n,s=[],i){const r=new Ca(e,n,s);return new ji(r,i)}static withAccessToken(e,n,s){const i=new Hx(e,n);return new ji(i,s)}static async performUserAuthorization(e,n,s,i,r){const o=new go(e,n,s),l=await new ji(o,r).authenticationStrategy.getOrCreateAccessToken();return la(l)||(typeof i=="string"?(console.log("Posting access token to postback URL."),await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)})):await i(l)),{authenticated:l.expires>Date.now()&&!la(l),accessToken:l}}}const Nn={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").then(t=>({api:ji.withAccessToken(t.webapi_client_id,{access_token:t.webapi_token}),configuration:t}))}},Qn=Ds("ServicesStore",{actions:{async initialiseLastfm(){this.lastfm=await Nn.lastfm()},initialiseSpotify(){Nn.spotify().then(({configuration:t})=>{this.spotify=t})}},getters:{grantedSpotifyScopes:t=>t.spotify.webapi_granted_scope?.split(" ")??[],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,missingSpotifyScopes(t){const e=new Set(t.grantedSpotifyScopes);return t.requiredSpotifyScopes.filter(n=>!e.has(n))??[]},requiredSpotifyScopes:t=>t.spotify.webapi_required_scope?.split(" ")??[]},state:()=>({lastfm:{},spotify:{}})}),jx={name:"ModalDialogUpdate",components:{ControlSwitch:Ur,ModalDialog:rr},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:Gu(),servicesStore:Qn()}},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?Tt.rescan(this.libraryStore.update_dialog_scan_kind):Tt.update(this.libraryStore.update_dialog_scan_kind)},cancel(){this.$emit("close"),this.libraryStore.update_dialog_scan_kind=""}}},Bx={key:0},Wx={key:0,class:"field"},Gx=["textContent"],Kx={class:"control"},qx={class:"select is-small"},zx=["textContent"],Xx=["textContent"],Yx=["textContent"],Zx=["textContent"],Jx=["textContent"],Qx={key:1},tI=["textContent"];function eI(t,e,n,s,i,r){const o=w("control-switch"),a=w("modal-dialog");return O(),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?(O(),F("div",Qx,[P("div",{class:"mb-3",textContent:et(t.$t("dialog.update.progress"))},null,8,tI)])):(O(),F("div",Bx,[s.servicesStore.isSpotifyActive?(O(),F("div",Wx,[P("label",{class:"label",textContent:et(t.$t("dialog.update.info"))},null,8,Gx),P("div",Kx,[P("div",qx,[ms(P("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.libraryStore.update_dialog_scan_kind=l)},[P("option",{value:"",textContent:et(t.$t("dialog.update.all"))},null,8,zx),P("option",{value:"files",textContent:et(t.$t("dialog.update.local"))},null,8,Xx),s.servicesStore.isSpotifyActive?(O(),F("option",{key:0,value:"spotify",textContent:et(t.$t("dialog.update.spotify"))},null,8,Yx)):_t("",!0),P("option",{value:"rss",textContent:et(t.$t("dialog.update.feeds"))},null,8,Zx)],512),[[up,s.libraryStore.update_dialog_scan_kind]])])])])):_t("",!0),E(o,{modelValue:i.rescanMetadata,"onUpdate:modelValue":e[1]||(e[1]=l=>i.rescanMetadata=l)},{label:M(()=>[P("span",{textContent:et(t.$t("dialog.update.rescan-metadata"))},null,8,Jx)]),_:1},8,["modelValue"])]))]),_:1},8,["actions","show","title"])}const nI=nt(jx,[["render",eI]]),ts=Ds("UIStore",{actions:{hideMenus(){this.showBurgerMenu=!1,this.showPlayerMenu=!1},toggleBurgerMenu(){this.showPlayerMenu=!1,this.showBurgerMenu=!this.showBurgerMenu},toggleHideReadItems(){this.hideReadItems=!this.hideReadItems},togglePlayerMenu(){this.showBurgerMenu=!1,this.showPlayerMenu=!this.showPlayerMenu}},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})}),sI={name:"ControlLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:ts()}},methods:{open(){this.uiStore.hideMenus(),this.$router.push(this.to)}}},iI=["href"];function rI(t,e,n,s,i,r){return O(),F("a",{href:t.$router.resolve(n.to).href,onClick:e[0]||(e[0]=Bn((...o)=>r.open&&r.open(...o),["stop","prevent"]))},[le(t.$slots,"default")],8,iI)}const r_=nt(sI,[["render",rI]]),Tp={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}}},ly=()=>{ap(t=>({"71a992eb":t.ratio}))},cy=Tp.setup;Tp.setup=cy?(t,e)=>(ly(),cy(t,e)):ly;const oI=["value","disabled","max"];function aI(t,e,n,s,i,r){return O(),F("input",{value:n.value,disabled:n.disabled,class:Gt(["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,oI)}const Ku=nt(Tp,[["render",aI],["__scopeId","data-v-460ca666"]]),ss="./api/player",en={consume(t){return ut.put(`${ss}/consume`,null,{params:{state:t}})},next(){return ut.put(`${ss}/next`)},pause(){return ut.put(`${ss}/pause`)},play(t={}){return ut.put(`${ss}/play`,null,{params:t})},previous(){return ut.put(`${ss}/previous`)},repeat(t){return ut.put(`${ss}/repeat`,null,{params:{state:t}})},seek(t){return ut.put(`${ss}/seek`,null,{params:{seek_ms:t}})},seekToPosition(t){return ut.put(`${ss}/seek`,null,{params:{position_ms:t}})},setVolume(t,e=null){const n={volume:t,...e!==null&&{output_id:e}};return ut.put(`${ss}/volume`,null,{params:n})},shuffle(t){return ut.put(`${ss}/shuffle`,null,{params:{state:t}})},state(){return ut.get(ss)},stop(){return ut.put(`${ss}/stop`)}},{t:uy}=Gs.global,Ni="./api/queue",ae={async add(t,e=!1){if(e){const{current:s}=Ms();s?.id&&(t.position=s.position+1)}const n=await ut.post(`${Ni}/items/add`,null,{params:t});return ko().add({text:uy("server.appended-tracks",{count:n.count}),timeout:2e3,type:"info"}),n},addExpression(t,e=!1){return this.add({expression:t},e)},addUri(t,e=!1){return this.add({uris:t},e)},clear(){return ut.put(`${Ni}/clear`)},move(t,e){return ut.put(`${Ni}/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(`${Ni}/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(`${Ni}/items/add`,null,{params:s})},remove(t){return ut.delete(`${Ni}/items/${t}`)},async saveToPlaylist(t){const{data:e}=await ut.post(`${Ni}/save`,null,{params:{name:t}});return ko().add({text:uy("server.queue-saved",{name:t}),timeout:2e3,type:"info"}),e},state(){return ut.get(Ni)}},lI={state(){return ut.get("./api/config")}},jo=Ds("ConfigurationStore",{actions:{async initialise(){this.$state=await lI.state()}},state:()=>({allow_modifying_stored_playlists:!1,buildoptions:[],default_playlist_directory:"",directories:[],hide_singles:!1,library_name:"",radio_playlists:!1,version:"",websocket_port:0})}),Ms=Ds("QueueStore",{actions:{async initialise(){this.$state=await ae.state()}},getters:{current(t){const e=Wn();return e.initialise(),t.items.find(n=>n.id===e.item_id)??{}},isEmpty(t){return t.count===0},isPauseAllowed(t){return t.current&&t.current.data_kind!=="pipe"},isSavingAllowed(){const t=jo();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 en.state();const t=Ms();t.current.track_id&&Tt.track(t.current.track_id).then(e=>{this.lyricsContent=e.lyrics||""})}},getters:{isMuted:t=>t.volume===0,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})}),cI={name:"ControlVolume",components:{ControlSlider:Ku},setup(){return{playerStore:Wn()}},data(){return{volume:0}},computed:{icon(){return this.playerStore.isMuted?"volume-off":"volume-high"}},watch:{"playerStore.volume"(){this.playerStore.isMuted||(this.volume=this.playerStore.volume)}},methods:{changeVolume(){en.setVolume(this.playerStore.volume)},toggle(){this.playerStore.isMuted?this.playerStore.volume=this.volume:this.playerStore.volume=0,this.changeVolume()}}},uI={class:"media is-align-items-center mb-0"},dI={class:"media-left"},fI={class:"media-content"},hI=["textContent"];function pI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",uI,[P("div",dI,[P("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"])])]),P("div",fI,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("navigation.volume"))},null,8,hI),E(a,{value:s.playerStore.volume,"onUpdate:value":e[1]||(e[1]=l=>s.playerStore.volume=l),max:100,onChange:r.changeVolume},null,8,["value","onChange"])])])}const mI=nt(cI,[["render",pI]]),zd="./api/outputs",Yc={state(){return ut.get(zd)},toggle(t){return ut.put(`${zd}/${t}/toggle`)},update(t,e){return ut.put(`${zd}/${t}`,e)}},gI={name:"ControlOutputVolume",components:{ControlSlider:Ku},props:{output:{required:!0,type:Object}},data(){return{volume:this.output.volume}},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(){en.setVolume(this.volume,this.output.id)},toggle(){Yc.update(this.output.id,{selected:!this.output.selected})}}},yI={class:"media is-align-items-center mb-0"},bI={class:"media-left"},vI={class:"media-content"},_I=["textContent"];function SI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",yI,[P("div",bI,[P("button",{class:Gt(["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)]),P("div",vI,[P("div",{class:Gt(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:et(n.output.name)},null,10,_I),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 EI=nt(gI,[["render",SI]]),wI={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){en.seek(this.offset*-1)}}},kI=["disabled"];function CI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("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,kI)):_t("",!0)}const TI=nt(wI,[["render",CI]]),AI={name:"ControlPlayerConsume",setup(){return{playerStore:Wn()}},methods:{toggle(){en.consume(!this.playerStore.consume)}}};function OI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"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 xI=nt(AI,[["render",OI]]),II={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){en.seek(this.offset)}}},NI=["disabled"];function PI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("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,NI)):_t("",!0)}const RI=nt(II,[["render",PI]]),DI={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 LI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"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 MI=nt(DI,[["render",LI]]),$I={name:"ControlPlayerNext",setup(){return{queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{next(){en.next()}}},FI=["disabled"];function VI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("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,FI)}const UI=nt($I,[["render",VI]]),HI={name:"ControlPlayerPlay",setup(){return{playerStore:Wn(),queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty},icon(){if(this.playerStore.isPlaying){if(this.queueStore.isPauseAllowed)return"pause"}else return"play";return"stop"}},methods:{toggle(){this.playerStore.isPlaying&&this.queueStore.isPauseAllowed?en.pause():this.playerStore.isPlaying&&!this.queueStore.isPauseAllowed?en.stop():en.play()}}},jI=["disabled"];function BI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("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,jI)}const WI=nt(HI,[["render",BI]]),GI={name:"ControlPlayerPrevious",setup(){return{queueStore:Ms()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{previous(){en.previous()}}},KI=["disabled"];function qI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("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,KI)}const zI=nt(GI,[["render",qI]]),XI={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?en.repeat("single"):this.playerStore.isRepeatSingle?en.repeat("off"):en.repeat("all")}}};function YI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"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 ZI=nt(XI,[["render",YI]]),JI={name:"ControlPlayerShuffle",setup(){return{playerStore:Wn()}},computed:{icon(){return this.playerStore.shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle(){en.shuffle(!this.playerStore.shuffle)}}};function QI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"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 tN=nt(JI,[["render",QI]]),Hl={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(){try{this.audio?.pause()}catch{}}},eN={name:"ControlStreamVolume",components:{ControlSlider:Ku},emits:["change","mute"],data(){return{loading:!1,playing:!1,volume:10}},unmounted(){this.closeAudio()},methods:{changeVolume(){Hl.setVolume(this.volume/100)},closeAudio(){Hl.stop(),this.playing=!1,this.loading=!1},playChannel(){this.loading=!0,Hl.play("/stream.mp3"),this.changeVolume();const t=Hl.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()}}},nN={class:"media is-align-items-center mb-0"},sN={class:"media-left"},iN={class:"media-content is-align-items-center"},rN=["textContent"],oN={href:"stream.mp3",class:"ml-2",target:"_blank"};function aN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",nN,[P("div",sN,[P("button",{class:Gt(["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)]),P("div",iN,[P("div",{class:Gt(["is-flex",{"has-text-grey-light":!i.playing}])},[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("navigation.stream"))},null,8,rN),P("a",oN,[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 lN=nt(eN,[["render",aN]]),Ap=Ds("OutputsStore",{actions:{async initialise(){this.$state=await Yc.state()}},state:()=>({outputs:[]})}),cN={name:"NavbarBottom",components:{ControlLink:r_,ControlMainVolume:mI,ControlOutputVolume:EI,ControlPlayerBack:TI,ControlPlayerConsume:xI,ControlPlayerForward:RI,ControlPlayerLyrics:MI,ControlPlayerNext:UI,ControlPlayerPlay:WI,ControlPlayerPrevious:zI,ControlPlayerRepeat:ZI,ControlPlayerShuffle:tN,ControlStreamVolume:lN},setup(){return{notificationsStore:ko(),outputsStore:Ap(),queueStore:Ms(),uiStore:ts()}},computed:{isPlayerPage(){return this.$route.name==="player"},metadata(){const{current:t}=this.queueStore;return[t.artist,t.album].filter(Boolean).join(" - ")}}},uN={class:"navbar-brand is-flex-grow-1"},dN={class:"is-text-clipped"},fN=["textContent"],hN=["textContent"],pN={class:"dropdown-menu is-mobile"},mN={class:"dropdown-content"},gN={class:"dropdown-item pt-0"},yN={class:"dropdown-item is-flex is-justify-content-center"},bN={class:"buttons has-addons"};function vN(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"),_=w("control-player-repeat"),y=w("control-player-shuffle"),v=w("control-player-consume"),g=w("control-player-lyrics");return O(),F("nav",{class:Gt(["navbar is-fixed-bottom",{"is-bottom":!r.isPlayerPage}])},[P("div",uN,[E(a,{class:"navbar-item",to:{name:"queue"}},{default:M(()=>[E(o,{class:"icon",name:"playlist-play"})]),_:1}),r.isPlayerPage?(O(),F(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)):(O(),F(it,{key:1},[E(a,{to:{name:"player"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:M(()=>[P("div",dN,[P("strong",{textContent:et(s.queueStore.current.title)},null,8,fN),e[1]||(e[1]=P("br",null,null,-1)),P("span",{textContent:et(r.metadata)},null,8,hN)])]),_:1}),E(u,{class:"navbar-item"})],64)),P("a",{class:"navbar-item",onClick:e[0]||(e[0]=(...b)=>s.uiStore.togglePlayerMenu&&s.uiStore.togglePlayerMenu(...b))},[E(o,{class:"icon",name:s.uiStore.showPlayerMenu?"chevron-down":"chevron-up"},null,8,["name"])]),P("div",{class:Gt(["dropdown is-up is-right",{"is-active":s.uiStore.showPlayerMenu}])},[P("div",pN,[P("div",mN,[P("div",gN,[E(h),(O(!0),F(it,null,de(s.outputsStore.outputs,b=>(O(),yt(p,{key:b.id,output:b},null,8,["output"]))),128)),E(m)]),e[2]||(e[2]=P("hr",{class:"dropdown-divider"},null,-1)),P("div",yN,[P("div",bN,[E(_,{class:"button"}),E(y,{class:"button"}),E(v,{class:"button"}),E(g,{class:"button"})])])])])],2)])],2)}const _N=nt(cN,[["render",vN],["__scopeId","data-v-77d048ef"]]),qu=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"})}),dy="./api/settings",o_={state(){return ut.get(dy)},update(t){return ut.put(`${dy}/${t.category}/${t.name}`,t)}},{t:jl,availableLocales:fy}=Gs.global,Js=Ds("SettingsStore",{actions:{currentAppearance(){return this.$state.appearance},currentLocale(){const t=fy;let e=t.find(s=>s===Gs.global.locale.value);const[n]=Gs.global.locale.value.split("-");return e||(e=t.find(s=>s===n)),e||(e=t.find(s=>s.split("-")[0]===n)),e||(e=Gs.global.fallbackLocale),e},get(t,e){return this.categories.find(n=>n.name===t)?.options.find(n=>n.name===e)??{}},async initialise(){this.$state=await o_.state()},setAppearance(t){this.$state.appearance=t;const e=document.documentElement;t==="auto"?e.removeAttribute("data-theme"):e.setAttribute("data-theme",t)},setLocale(t){Gs.global.locale.value=t},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:{appearances(){return[{id:"auto",name:jl("settings.appearance.auto")},{id:"light",name:jl("settings.appearance.light")},{id:"dark",name:jl("settings.appearance.dark")}]},locales(){return fy.map(t=>({id:t,name:jl(`language.${t}`)}))},recentlyAddedLimit:t=>t.get("webinterface","recently_added_limit")?.value??100,showComposerForGenre:t=>t.get("webinterface","show_composer_for_genre")?.value??null,showComposerNowPlaying:t=>t.get("webinterface","show_composer_now_playing")?.value??!1,showCoverArtworkInAlbumLists:t=>t.get("artwork","show_cover_artwork_in_album_lists")?.value??!1,showFilepathNowPlaying:t=>t.get("webinterface","show_filepath_now_playing")?.value??!1,showMenuItemAudiobooks:t=>t.get("webinterface","show_menu_item_audiobooks")?.value??!1,showMenuItemFiles:t=>t.get("webinterface","show_menu_item_files")?.value??!1,showMenuItemMusic:t=>t.get("webinterface","show_menu_item_music")?.value??!1,showMenuItemPlaylists:t=>t.get("webinterface","show_menu_item_playlists")?.value??!1,showMenuItemPodcasts:t=>t.get("webinterface","show_menu_item_podcasts")?.value??!1,showMenuItemRadio:t=>t.get("webinterface","show_menu_item_radio")?.value??!1,showMenuItemSearch:t=>t.get("webinterface","show_menu_item_search")?.value??!1},state:()=>({appearance:"auto",categories:[]})}),SN={name:"NavbarTop",components:{ControlLink:r_},setup(){return{searchStore:qu(),servicesStore:Qn(),settingsStore:Js(),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",sub:!0},{key:"navigation.albums",name:"music-albums",sub:!0},{key:"navigation.genres",name:"music-genres",sub:!0},{key:"navigation.composers",name:"music-composers",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},{key:"navigation.settings",name:"settings-webinterface"},{action:this.openUpdateDialog,key:"navigation.update-library"},{key:"navigation.about",name:"about"}]}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0,this.uiStore.hideMenus()}}},EN={class:"navbar is-fixed-top is-top"},wN={class:"navbar-brand is-flex-grow-1"},kN={class:"dropdown-menu is-mobile"},CN={class:"dropdown-content"},TN={key:0,class:"my-3"},AN=["onClick","textContent"],ON={key:0,class:"icon-text"},xN=["textContent"];function IN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link");return O(),F("nav",EN,[P("div",wN,[(O(!0),F(it,null,de(r.menus.filter(l=>l.show&&!l.sub),l=>(O(),yt(a,{key:l.name,to:{name:l.name},class:"navbar-item is-hidden-mobile"},{default:M(()=>[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])]),_:2},1032,["to"]))),128)),P("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"])]),P("div",{class:Gt(["dropdown is-right",{"is-active":s.uiStore.showBurgerMenu}])},[P("div",kN,[P("div",CN,[(O(!0),F(it,null,de(r.menus,l=>(O(),F(it,{key:l.name},[l.separator?(O(),F("hr",TN)):l.action?(O(),F("a",{key:1,class:"dropdown-item",onClick:Bn(l.action,["stop","prevent"]),textContent:et(t.$t(l.key))},null,8,AN)):(O(),yt(a,{key:2,to:{name:l.name},class:"dropdown-item"},{default:M(()=>[l.icon?(O(),F("span",ON,[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])])):_t("",!0),P("span",{class:Gt({"pl-5":l.sub,"has-text-weight-semibold":l.icon}),textContent:et(t.$t(l.key))},null,10,xN)]),_:2},1032,["to"]))],64))),128))])])],2)])])}const NN=nt(SN,[["render",IN]]);function Op(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function zu(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function s(){var i=!1;try{i=this instanceof s}catch{}return i?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 hc={exports:{}},PN=hc.exports,hy;function RN(){return hy||(hy=1,(function(t){(function(e,n){t.exports?t.exports=n():e.ReconnectingWebSocket=n()})(PN,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(_){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(_){if(clearTimeout(v),l=null,c)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var y=f("connecting");y.code=_.code,y.reason=_.reason,y.wasClean=_.wasClean,d.dispatchEvent(y),!h&&!u&&((a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),d.dispatchEvent(f("close")));var v=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},v>a.maxReconnectInterval?a.maxReconnectInterval:v)}},l.onmessage=function(_){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,_.data);var y=f("message");y.data=_.data,d.dispatchEvent(y)},l.onerror=function(_){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,_),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})})(hc)),hc.exports}var DN=RN();const LN=Op(DN),MN={name:"App",components:{ListNotifications:sC,ModalDialogRemotePairing:sx,ModalDialogUpdate:nI,NavbarBottom:_N,NavbarTop:NN},setup(){return{configurationStore:jo(),libraryStore:Gu(),notificationsStore:ko(),outputsStore:Ap(),playerStore:Wn(),queueStore:Ms(),remotesStore:kp(),servicesStore:Qn(),settingsStore:Js(),uiStore:ts()}},data(){return{handlers:{},scheduledHandlers:new Map}},watch:{"uiStore.showBurgerMenu"(){this.updateClipping()},"uiStore.showPlayerMenu"(){this.updateClipping()}},created(){this.handlers={database:[this.libraryStore.initialise],lastfm:[this.servicesStore.initialiseLastfm],options:[this.playerStore.initialise],outputs:[this.outputsStore.initialise],pairing:[this.remotesStore.initialise],player:[this.playerStore.initialise],queue:[this.queueStore.initialise],settings:[this.settingsStore.initialise],spotify:[this.servicesStore.initialiseSpotify],update:[this.libraryStore.initialise],volume:[this.playerStore.initialise,this.outputsStore.initialise]},this.$router.beforeEach(async(t,e,n)=>{await this.configurationStore.initialise(),this.updateClipping(),t.path===e.path&&t.hash||this.$Progress.start(),n()}),this.$router.afterEach(()=>{this.$Progress.finish()}),this.connect()},beforeUnmount(){this.scheduledHandlers.forEach(t=>clearTimeout(t)),this.scheduledHandlers.clear()},methods:{async connect(){try{await this.configurationStore.initialise(),this.uiStore.hideSingles=this.configurationStore.hide_singles,document.title=this.configurationStore.library_name,this.openWebsocket()}catch{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})}},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 LN(s,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},handleEvents(t=[]){t.forEach(e=>{(this.handlers[e]||[]).forEach(s=>{if(!this.scheduledHandlers.has(s)){const i=setTimeout(()=>{s.call(this),this.scheduledHandlers.delete(s)},50);this.scheduledHandlers.set(s,i)}})})},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=>{const s=JSON.parse(n.data).notify;this.handleEvents(s)}},updateClipping(){this.uiStore.showBurgerMenu||this.uiStore.showPlayerMenu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}}};function $N(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 O(),F(it,null,[E(o,{class:"has-background-primary"}),E(a),E(l,null,{default:M(({Component:h})=>[(O(),yt(Jh(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"]),ms(E(d,null,null,512),[[Hc,!s.uiStore.showBurgerMenu]]),E(f),ms(P("div",{class:"overlay-fullscreen",onClick:e[2]||(e[2]=(...h)=>s.uiStore.hideMenus&&s.uiStore.hideMenus(...h))},null,512),[[Hc,s.uiStore.showBurgerMenu||s.uiStore.showPlayerMenu]])],64)}const FN=nt(MN,[["render",$N]]),a_=function(){return document.ontouchstart!==null?"click":"touchstart"},Zc="__vue_click_away__",l_=function(t,e,n){c_(t);let s=n.context,i=e.value,r=!1;setTimeout(function(){r=!0},0),t[Zc]=function(o){if((!t||!t.contains(o.target))&&i&&r&&typeof i=="function")return i.call(s,o)},document.addEventListener(a_(),t[Zc],!1)},c_=function(t){document.removeEventListener(a_(),t[Zc],!1),delete t[Zc]},VN=function(t,e,n){e.value!==e.oldValue&&l_(t,e,n)},UN={install:function(t){t.directive("click-away",HN)}},HN={mounted:l_,updated:VN,unmounted:c_};var Hs=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(Hs||{});const jN=typeof window<"u"&&window!==null,BN=qN(),WN=Object.prototype.propertyIsEnumerable,py=Object.getOwnPropertySymbols;function Ta(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function GN(t){return typeof t=="object"?t===null:typeof t!="function"}function KN(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function qN(){return jN&&"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 zN(t,...e){if(!Ta(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof py!="function")return t;for(const n of e){const s=py(n);for(const i of s)WN.call(n,i)&&(t[i]=n[i])}return t}function u_(t,...e){let n=0;for(GN(t)&&(t=e[n++]),t||(t={});n<e.length;n++)if(Ta(e[n])){for(const s of Object.keys(e[n]))KN(s)&&(Ta(t[s])&&Ta(e[n][s])?u_(t[s],e[n][s]):t[s]=e[n][s]);zN(t,e[n])}return t}const my="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",XN="",YN={rootMargin:"0px",threshold:0},qr="data-lazy-timeout-id";class ZN{constructor(e){this.options={loading:my,error:XN,observerOptions:YN,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(e)}config(e={}){u_(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||my),BN||(this.loadImages(e,s,r,o),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,s,r,o,a)}update(e,n){if(!e)return;this._realObserver(e)?.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){e&&(this._realObserver(e)?.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)},()=>{e.onload=null,this._lifecycle(Hs.ERROR,i,e),this._realObserver(e)?.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){const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,l=>{r&&r>0?this._delayedIntersectionCallback(e,l,r,n,s,i):this._intersectionCallback(e,l,n,s,i)})},o)),this._realObserver(e)?.observe(e)}_intersectionCallback(e,n,s,i,r){n.isIntersecting&&(this._realObserver(e)?.unobserve(n.target),this._setImageSrc(e,s,i,r))}_delayedIntersectionCallback(e,n,s,i,r,o){if(n.isIntersecting){if(n.target.hasAttribute(qr))return;const a=setTimeout(()=>{this._intersectionCallback(e,n,i,r,o),n.target.removeAttribute(qr)},s);n.target.setAttribute(qr,String(a))}else n.target.hasAttribute(qr)&&(clearTimeout(Number(n.target.getAttribute(qr))),n.target.removeAttribute(qr))}_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 Ta(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?.setAttribute("lazy",Hs.LOADING),n?.loading&&n.loading(s);break;case Hs.LOADED:s?.setAttribute("lazy",Hs.LOADED),n?.loaded&&n.loaded(s);break;case Hs.ERROR:s?.setAttribute("lazy",Hs.ERROR),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 JN={install(t,e){const n=new ZN(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 Xd={exports:{}},Yd={exports:{}},Zd={};/**
|
||
* @vue/compiler-core v3.5.18
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const To=Symbol(""),yo=Symbol(""),Xu=Symbol(""),Xa=Symbol(""),xp=Symbol(""),er=Symbol(""),Ip=Symbol(""),Np=Symbol(""),Yu=Symbol(""),Zu=Symbol(""),Bo=Symbol(""),Ju=Symbol(""),Pp=Symbol(""),Qu=Symbol(""),td=Symbol(""),ed=Symbol(""),nd=Symbol(""),sd=Symbol(""),id=Symbol(""),Rp=Symbol(""),Dp=Symbol(""),gl=Symbol(""),Ya=Symbol(""),rd=Symbol(""),od=Symbol(""),Ao=Symbol(""),Wo=Symbol(""),ad=Symbol(""),Jc=Symbol(""),d_=Symbol(""),Qc=Symbol(""),Za=Symbol(""),f_=Symbol(""),h_=Symbol(""),ld=Symbol(""),p_=Symbol(""),m_=Symbol(""),cd=Symbol(""),Lp=Symbol(""),Rr={[To]:"Fragment",[yo]:"Teleport",[Xu]:"Suspense",[Xa]:"KeepAlive",[xp]:"BaseTransition",[er]:"openBlock",[Ip]:"createBlock",[Np]:"createElementBlock",[Yu]:"createVNode",[Zu]:"createElementVNode",[Bo]:"createCommentVNode",[Ju]:"createTextVNode",[Pp]:"createStaticVNode",[Qu]:"resolveComponent",[td]:"resolveDynamicComponent",[ed]:"resolveDirective",[nd]:"resolveFilter",[sd]:"withDirectives",[id]:"renderList",[Rp]:"renderSlot",[Dp]:"createSlots",[gl]:"toDisplayString",[Ya]:"mergeProps",[rd]:"normalizeClass",[od]:"normalizeStyle",[Ao]:"normalizeProps",[Wo]:"guardReactiveProps",[ad]:"toHandlers",[Jc]:"camelize",[d_]:"capitalize",[Qc]:"toHandlerKey",[Za]:"setBlockTracking",[f_]:"pushScopeId",[h_]:"popScopeId",[ld]:"withCtx",[p_]:"unref",[m_]:"isRef",[cd]:"withMemo",[Lp]:"isMemoSame"};function g_(t){Object.getOwnPropertySymbols(t).forEach(e=>{Rr[e]=t[e]})}const QN={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},tP={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"},eP={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},nP={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"},Ze={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function y_(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Ze}}function Oo(t,e,n,s,i,r,o,a=!1,l=!1,c=!1,u=Ze){return t&&(a?(t.helper(er),t.helper(Mr(t.inSSR,c))):t.helper(Lr(t.inSSR,c)),o&&t.helper(sd)),{type:13,tag:e,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Ji(t,e=Ze){return{type:17,loc:e,elements:t}}function Xn(t,e=Ze){return{type:15,loc:e,properties:t}}function De(t,e){return{type:16,loc:Ze,key:Rt(t)?Mt(t,!0):t,value:e}}function Mt(t,e=!1,n=Ze,s=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:s}}function sP(t,e){return{type:5,loc:e,content:Rt(t)?Mt(t,!1,e):t}}function fs(t,e=Ze){return{type:8,loc:e,children:t}}function ze(t,e=[],n=Ze){return{type:14,loc:n,callee:t,arguments:e}}function Dr(t,e=void 0,n=!1,s=!1,i=Ze){return{type:18,params:t,returns:e,newline:n,isSlot:s,loc:i}}function tu(t,e,n,s=!0){return{type:19,test:t,consequent:e,alternate:n,newline:s,loc:Ze}}function b_(t,e,n=!1,s=!1){return{type:20,index:t,value:e,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Ze}}function v_(t){return{type:21,body:t,loc:Ze}}function iP(t){return{type:22,elements:t,loc:Ze}}function rP(t,e,n){return{type:23,test:t,consequent:e,alternate:n,loc:Ze}}function oP(t,e){return{type:24,left:t,right:e,loc:Ze}}function aP(t){return{type:25,expressions:t,loc:Ze}}function lP(t){return{type:26,returns:t,loc:Ze}}function Lr(t,e){return t||e?Yu:Zu}function Mr(t,e){return t||e?Ip:Np}function ud(t,{helper:e,removeHelper:n,inSSR:s}){t.isBlock||(t.isBlock=!0,n(Lr(s,t.isComponent)),e(er),e(Mr(s,t.isComponent)))}const gy=new Uint8Array([123,123]),yy=new Uint8Array([125,125]);function by(t){return t>=97&&t<=122||t>=65&&t<=90}function qn(t){return t===32||t===10||t===9||t===12||t===13}function Pi(t){return t===47||t===62||qn(t)}function eu(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 cP{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=gy,this.delimiterClose=yy,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=gy,this.delimiterClose=yy}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?Pi(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||qn(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):by(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){Pi(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Pi(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(eu("</"+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){qn(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=by(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||qn(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):qn(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):qn(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Pi(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Pi(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||Pi(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||Pi(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Pi(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)):qn(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):qn(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){qn(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.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const 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 uP={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"},dP={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 ch(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Or(t,e){const n=ch("MODE",e),s=ch(t,e);return n===3?s===!0:s!==!1}function xo(t,e,n,...s){return Or(t,e)}function fP(t,e,n,...s){if(ch(t,e)==="suppress-warning")return;const{message:r,link:o}=dP[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 Mp(t){throw t}function __(t){}function Te(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 hP={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__"},pP={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '<!--' in comment.",17:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,18:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",19:"Attribute name cannot start with '='.",21:"'<?' is allowed only in XML context.",20:"Unexpected null character.",22:"Illegal '/' in tags.",23:"Invalid end tag.",24:"Element is missing end tag.",25:"Interpolation end sign was not found.",27:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",26:"Legal directive name was expected.",28:"v-if/v-else-if is missing expression.",29:"v-if/else branches must use unique keys.",30:"v-else/v-else-if has no adjacent v-if or v-else-if.",31:"v-for is missing expression.",32:"v-for has invalid expression.",33:"<template v-for> key should be placed on the <template> tag.",34:"v-bind is missing expression.",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 mP(t,e,n=!1,s=[],i=Object.create(null)){}function gP(t,e,n){return!1}function yP(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 bP(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 vP(t,e){for(const n of t.params)for(const s of di(n))e(s)}function _P(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 di(s.id))e(i)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;e(n.id)}else SP(n)&&EP(n,!0,e)}function SP(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function EP(t,e,n){const s=t.type==="ForStatement"?t.init:t.left;if(s&&s.type==="VariableDeclaration"&&(s.kind==="var"?e:!e))for(const i of s.declarations)for(const r of di(i.id))n(r)}function di(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"?di(s.argument,e):di(s.value,e);break;case"ArrayPattern":t.elements.forEach(s=>{s&&di(s,e)});break;case"RestElement":di(t.argument,e);break;case"AssignmentPattern":di(t.left,e);break}return e}const wP=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),S_=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,kP=(t,e)=>S_(e)&&e.key===t,E_=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function w_(t){return E_.includes(t.type)?w_(t.expression):t}const xn=t=>t.type===4&&t.isStatic;function $p(t){switch(t){case"Teleport":case"teleport":return yo;case"Suspense":case"suspense":return Xu;case"KeepAlive":case"keep-alive":return Xa;case"BaseTransition":case"base-transition":return xp}}const CP=/^$|^\d|[^\$\w\xA0-\uFFFF]/,yl=t=>!CP.test(t),TP=/[A-Za-z_$\xA0-\uFFFF]/,AP=/[\.\?\w$\xA0-\uFFFF]/,OP=/\s+[.[]\s*|\s*[.[]\s+/g,k_=t=>t.type===4?t.content:t.loc.source,C_=t=>{const e=k_(t).trim().replace(OP,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?TP:AP).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},xP=Qe,Fp=C_,IP=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,T_=t=>IP.test(k_(t)),NP=Qe,A_=T_;function PP(t,e,n=e.length){return O_({offset:t.offset,line:t.line,column:t.column},e,n)}function O_(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 RP(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)&&(Rt(e)?i.name===e:e.test(i.name)))return i}}function bl(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)&&Xi(r.arg,e))return r}}function Xi(t,e){return!!(t&&xn(t)&&t.content===e)}function x_(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function pc(t){return t.type===5||t.type===2}function uh(t){return t.type===7&&t.name==="pre"}function Vp(t){return t.type===7&&t.name==="slot"}function Io(t){return t.type===1&&t.tagType===3}function Ja(t){return t.type===1&&t.tagType===2}const DP=new Set([Ao,Wo]);function I_(t,e=[]){if(t&&!Rt(t)&&t.type===14){const n=t.callee;if(!Rt(n)&&DP.has(n))return I_(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&&!Rt(i)&&i.type===14){const a=I_(i);i=a[0],r=a[1],o=r[r.length-1]}if(i==null||Rt(i))s=Xn([e]);else if(i.type===14){const a=i.arguments[0];!Rt(a)&&a.type===15?vy(e,a)||a.properties.unshift(e):i.callee===ad?s=ze(n.helper(Ya),[Xn([e]),i]):i.arguments.unshift(Xn([e])),!s&&(s=i)}else i.type===15?(vy(e,i)||i.properties.unshift(e),s=i):(s=ze(n.helper(Ya),[Xn([e]),i]),o&&o.callee===Wo&&(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 vy(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 No(t,e){return`_${e}_${t.replace(/[^\w]/g,(n,s)=>n==="-"?"_":t.charCodeAt(s).toString())}`}function Cs(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&&(Cs(s.arg,e)||Cs(s.exp,e)))return!0}return t.children.some(n=>Cs(n,e));case 11:return Cs(t.source,e)?!0:t.children.some(n=>Cs(n,e));case 9:return t.branches.some(n=>Cs(n,e));case 10:return Cs(t.condition,e)?!0:t.children.some(n=>Cs(n,e));case 4:return!t.isStatic&&yl(t.content)&&!!e[t.content];case 8:return t.children.some(n=>me(n)&&Cs(n,e));case 5:case 12:return Cs(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function N_(t){return t.type===14&&t.callee===cd?t.arguments[1].returns:t}const P_=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,R_={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:oo,isPreTag:oo,isIgnoreNewlineTag:oo,isCustomElement:oo,onError:Mp,onWarn:__,comments:!1,prefixIdentifiers:!1};let he=R_,tl=null,gi="",pn=null,Jt=null,Mn="",oi=-1,mr=-1,Up=0,Bi=!1,dh=null;const Oe=[],Ue=new cP(Oe,{onerr:si,ontext(t,e){Bl(rn(t,e),t,e)},ontextentity(t,e,n){Bl(t,e,n)},oninterpolation(t,e){if(Bi)return Bl(rn(t,e),t,e);let n=t+Ue.delimiterOpen.length,s=e-Ue.delimiterClose.length;for(;qn(gi.charCodeAt(n));)n++;for(;qn(gi.charCodeAt(s-1));)s--;let i=rn(n,s);i.includes("&")&&(i=he.decodeEntities(i,!1)),fh({type:5,content:gc(i,!1,He(n,s)),loc:He(t,e)})},onopentagname(t,e){const n=rn(t,e);pn={type:1,tag:n,ns:he.getNamespace(n,Oe[0],he.ns),tagType:0,props:[],children:[],loc:He(t-1,e),codegenNode:void 0}},onopentagend(t){Sy(t)},onclosetag(t,e){const n=rn(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&&si(24,Oe[0].loc.start.offset);for(let o=0;o<=i;o++){const a=Oe.shift();mc(a,e,o<i)}break}s||si(23,D_(t,60))}},onselfclosingtag(t){const e=pn.tag;pn.isSelfClosing=!0,Sy(t),Oe[0]&&Oe[0].tag===e&&mc(Oe.shift(),t)},onattribname(t,e){Jt={type:6,name:rn(t,e),nameLoc:He(t,e),value:void 0,loc:He(t)}},ondirname(t,e){const n=rn(t,e),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Bi&&s===""&&si(26,t),Bi||s==="")Jt={type:6,name:n,nameLoc:He(t,e),value:void 0,loc:He(t)};else if(Jt={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Mt("prop")]:[],loc:He(t)},s==="pre"){Bi=Ue.inVPre=!0,dh=pn;const i=pn.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=GP(i[r]))}},ondirarg(t,e){if(t===e)return;const n=rn(t,e);if(Bi&&!uh(Jt))Jt.name+=n,br(Jt.nameLoc,e);else{const s=n[0]!=="[";Jt.arg=gc(s?n:n.slice(1,-1),s,He(t,e),s?3:0)}},ondirmodifier(t,e){const n=rn(t,e);if(Bi&&!uh(Jt))Jt.name+="."+n,br(Jt.nameLoc,e);else if(Jt.name==="slot"){const s=Jt.arg;s&&(s.content+="."+n,br(s.loc,e))}else{const s=Mt(n,!0,He(t,e));Jt.modifiers.push(s)}},onattribdata(t,e){Mn+=rn(t,e),oi<0&&(oi=t),mr=e},onattribentity(t,e,n){Mn+=t,oi<0&&(oi=e),mr=n},onattribnameend(t){const e=Jt.loc.start.offset,n=rn(e,t);Jt.type===7&&(Jt.rawName=n),pn.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&si(2,e)},onattribend(t,e){if(pn&&Jt){if(br(Jt.loc,e),t!==0)if(Mn.includes("&")&&(Mn=he.decodeEntities(Mn,!0)),Jt.type===6)Jt.name==="class"&&(Mn=M_(Mn).trim()),t===1&&!Mn&&si(13,e),Jt.value={type:2,content:Mn,loc:t===1?He(oi,mr):He(oi-1,mr+1)},Ue.inSFCRoot&&pn.tag==="template"&&Jt.name==="lang"&&Mn&&Mn!=="html"&&Ue.enterRCDATA(eu("</template"),0);else{let n=0;Jt.exp=gc(Mn,!1,He(oi,mr),0,n),Jt.name==="for"&&(Jt.forParseResult=MP(Jt.exp));let s=-1;Jt.name==="bind"&&(s=Jt.modifiers.findIndex(i=>i.content==="sync"))>-1&&xo("COMPILER_V_BIND_SYNC",he,Jt.loc,Jt.arg.loc.source)&&(Jt.name="model",Jt.modifiers.splice(s,1))}(Jt.type!==7||Jt.name!=="pre")&&pn.props.push(Jt)}Mn="",oi=mr=-1},oncomment(t,e){he.comments&&fh({type:3,content:rn(t,e),loc:He(t-4,e+3)})},onend(){const t=gi.length;for(let e=0;e<Oe.length;e++)mc(Oe[e],t-1),si(24,Oe[e].loc.start.offset)},oncdata(t,e){Oe[0].ns!==0?Bl(rn(t,e),t,e):si(1,t-9)},onprocessinginstruction(t){(Oe[0]?Oe[0].ns:he.ns)===0&&si(21,t-1)}}),_y=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,LP=/^\(|\)$/g;function MP(t){const e=t.loc,n=t.content,s=n.match(P_);if(!s)return;const[,i,r]=s,o=(d,f,h=!1)=>{const p=e.start.offset+f,m=p+d.length;return gc(d,!1,He(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(LP,"").trim();const c=i.indexOf(l),u=l.match(_y);if(u){l=l.replace(_y,"").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 rn(t,e){return gi.slice(t,e)}function Sy(t){Ue.inSFCRoot&&(pn.innerLoc=He(t+1,t+1)),fh(pn);const{tag:e,ns:n}=pn;n===0&&he.isPreTag(e)&&Up++,he.isVoidTag(e)?mc(pn,t):(Oe.unshift(pn),(n===1||n===2)&&(Ue.inXML=!0)),pn=null}function Bl(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]||tl,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=t,br(i.loc,n)):s.children.push({type:2,content:t,loc:He(e,n)})}function mc(t,e,n=!1){n?br(t.loc,D_(e,60)):br(t.loc,$P(e,62)+1),Ue.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=rn(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:s,ns:i,children:r}=t;if(Bi||(s==="slot"?t.tagType=2:Ey(t)?t.tagType=3:VP(t)&&(t.tagType=1)),Ue.inRCDATA||(t.children=L_(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)&&Up--,dh===t&&(Bi=Ue.inVPre=!1,dh=null),Ue.inXML&&(Oe[0]?Oe[0].ns:he.ns)===0&&(Ue.inXML=!1);{const o=t.props;if(!Ue.inSFCRoot&&Or("COMPILER_NATIVE_TEMPLATE",he)&&t.tag==="template"&&!Ey(t)){const l=Oe[0]||tl,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&&xo("COMPILER_INLINE_TEMPLATE",he,a.loc)&&t.children.length&&(a.value={type:2,content:rn(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:a.loc})}}function $P(t,e){let n=t;for(;gi.charCodeAt(n)!==e&&n<gi.length-1;)n++;return n}function D_(t,e){let n=t;for(;gi.charCodeAt(n)!==e&&n>=0;)n--;return n}const FP=new Set(["if","else","else-if","for","slot"]);function Ey({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&FP.has(e[n].name))return!0}return!1}function VP({tag:t,props:e}){if(he.isCustomElement(t))return!1;if(t==="component"||UP(t.charCodeAt(0))||$p(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(xo("COMPILER_IS_ON_ELEMENT",he,s.loc))return!0}}else if(s.name==="bind"&&Xi(s.arg,"is")&&xo("COMPILER_IS_ON_ELEMENT",he,s.loc))return!0}return!1}function UP(t){return t>64&&t<91}const HP=/\r\n/g;function L_(t){const e=he.whitespace!=="preserve";let n=!1;for(let s=0;s<t.length;s++){const i=t[s];if(i.type===2)if(Up)i.content=i.content.replace(HP,`
|
||
`);else if(jP(i.content)){const r=t[s-1]&&t[s-1].type,o=t[s+1]&&t[s+1].type;!r||!o||e&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&BP(i.content)))?(n=!0,t[s]=null):i.content=" "}else e&&(i.content=M_(i.content))}return n?t.filter(Boolean):t}function jP(t){for(let e=0;e<t.length;e++)if(!qn(t.charCodeAt(e)))return!1;return!0}function BP(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function M_(t){let e="",n=!1;for(let s=0;s<t.length;s++)qn(t.charCodeAt(s))?n||(e+=" ",n=!0):(e+=t[s],n=!1);return e}function fh(t){(Oe[0]||tl).children.push(t)}function He(t,e){return{start:Ue.getPos(t),end:e==null?e:Ue.getPos(e),source:e==null?e:rn(t,e)}}function WP(t){return He(t.start.offset,t.end.offset)}function br(t,e){t.end=Ue.getPos(e),t.source=rn(t.start.offset,e)}function GP(t){const e={type:6,name:t.rawName,nameLoc:He(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 gc(t,e=!1,n,s=0,i=0){return Mt(t,e,n,s)}function si(t,e,n){he.onError(Te(t,He(e,e)))}function KP(){Ue.reset(),pn=null,Jt=null,Mn="",oi=-1,mr=-1,Oe.length=0}function Hp(t,e){if(KP(),gi=t,he=Zt({},R_),e){let i;for(i in e)e[i]!=null&&(he[i]=e[i])}Ue.mode=he.parseMode==="html"?1:he.parseMode==="sfc"?2:0,Ue.inXML=he.ns===1||he.ns===2;const n=e&&e.delimiters;n&&(Ue.delimiterOpen=eu(n[0]),Ue.delimiterClose=eu(n[1]));const s=tl=y_([],t);return Ue.parse(gi),s.loc=He(0,t.length),s.children=L_(s.children),tl=null,s}function qP(t,e){yc(t,void 0,e,!!$_(t))}function $_(t){const e=t.children.filter(n=>n.type!==3);return e.length===1&&e[0].type===1&&!Ja(e[0])?e[0]:null}function yc(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:Un(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)&&V_(f,n)>=2){const _=U_(f);_&&(p.props=n.hoist(_))}p.dynamicProps&&(p.dynamicProps=n.hoist(p.dynamicProps))}}}else if(f.type===12&&(s?0:Un(f,n))>=2){f.codegenNode.type===14&&f.codegenNode.arguments.length>0&&f.codegenNode.arguments.push("-1"),o.push(f);continue}if(f.type===1){const h=f.tagType===1;h&&n.scopes.vSlot++,yc(f,t,n,!1,i),h&&n.scopes.vSlot--}else if(f.type===11)yc(f,t,n,f.children.length===1,!0);else if(f.type===9)for(let h=0;h<f.branches.length;h++)yc(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&>(t.codegenNode.children))t.codegenNode.children=c(Ji(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(Ji(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(Ji(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(De("__",Mt(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 Un(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=V_(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=Un(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=Un(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(er),e.removeHelper(Mr(e.inSSR,i.isComponent)),i.isBlock=!1,e.helper(Lr(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 Un(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(Rt(a)||Pn(a))continue;const l=Un(a,e);if(l===0)return 0;l<r&&(r=l)}return r;case 20:return 2;default:return 0}}const zP=new Set([rd,od,Ao,Wo]);function F_(t,e){if(t.type===14&&!Rt(t.callee)&&zP.has(t.callee)){const n=t.arguments[0];if(n.type===4)return Un(n,e);if(n.type===14)return F_(n,e)}return 0}function V_(t,e){let n=3;const s=U_(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=Un(o,e);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=Un(a,e):a.type===14?c=F_(a,e):c=0,c===0)return c;c<n&&(n=c)}}return n}function U_(t){const e=t.codegenNode;if(e.type===13)return e.props}function H_(t,{filename:e="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=Qe,isCustomElement:u=Qe,expressionPlugins:d=[],scopeId:f=null,slotted:h=!0,ssr:p=!1,inSSR:m=!1,ssrCssVars:_="",bindingMetadata:y=Yt,inline:v=!1,isTS:g=!1,onError:b=Mp,onWarn:S=__,compatConfig:k}){const I=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),D={filename:e,selfName:I&&ir(Ce(I[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:_,bindingMetadata:y,inline:v,isTS:g,onError:b,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(C){const R=D.helpers.get(C)||0;return D.helpers.set(C,R+1),C},removeHelper(C){const R=D.helpers.get(C);if(R){const B=R-1;B?D.helpers.set(C,B):D.helpers.delete(C)}},helperString(C){return`_${Rr[D.helper(C)]}`},replaceNode(C){D.parent.children[D.childIndex]=D.currentNode=C},removeNode(C){const R=D.parent.children,B=C?R.indexOf(C):D.currentNode?D.childIndex:-1;!C||C===D.currentNode?(D.currentNode=null,D.onNodeRemoved()):D.childIndex>B&&(D.childIndex--,D.onNodeRemoved()),D.parent.children.splice(B,1)},onNodeRemoved:Qe,addIdentifiers(C){},removeIdentifiers(C){},hoist(C){Rt(C)&&(C=Mt(C)),D.hoists.push(C);const R=Mt(`_hoisted_${D.hoists.length}`,!1,C.loc,2);return R.hoisted=C,R},cache(C,R=!1,B=!1){const $=b_(D.cached.length,C,R,B);return D.cached.push($),$}};return D.filters=new Set,D}function j_(t,e){const n=H_(t,e);vl(t,n),e.hoistStatic&&qP(t,n),e.ssr||XP(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 XP(t,e){const{helper:n}=e,{children:s}=t;if(s.length===1){const i=$_(t);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&ud(r,e),t.codegenNode=r}else t.codegenNode=s[0]}else if(s.length>1){let i=64;t.codegenNode=Oo(e,n(To),void 0,t.children,i,void 0,void 0,!0,void 0,!1)}}function YP(t,e){let n=0;const s=()=>{n--};for(;n<t.children.length;n++){const i=t.children[n];Rt(i)||(e.grandParent=e.parent,e.parent=t,e.childIndex=n,e.onNodeRemoved=s,vl(i,e))}}function vl(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(Bo);break;case 5:e.ssr||e.helper(gl);break;case 9:for(let r=0;r<t.branches.length;r++)vl(t.branches[r],e);break;case 10:case 11:case 1:case 0:YP(t,e);break}e.currentNode=t;let i=s.length;for(;i--;)s[i]()}function jp(t,e){const n=Rt(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(Vp))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 dd="/*@__PURE__*/",B_=t=>`${Rr[t]}: _${Rr[t]}`;function ZP(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`_${Rr[m]}`},push(m,_=-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 W_(t,e={}){const n=ZP(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";JP(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(B_).join(", ")} } = _Vue
|
||
`,-1),l())),t.components.length&&(Jd(t.components,"component",n),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(Jd(t.directives,"directive",n),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),Jd(t.filters,"filter",n),l()),t.temps>0){i("let ");for(let v=0;v<t.temps;v++)i(`${v>0?", ":""}_temp${v}`)}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 JP(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=[Yu,Zu,Bo,Ju,Pp].filter(f=>u.includes(f)).map(B_).join(", ");i(`const { ${d} } = _Vue
|
||
`,-1)}QP(t.hoists,e),r(),i("return ")}function Jd(t,e,{helper:n,push:s,newline:i,isTS:r}){const o=n(e==="filter"?nd:e==="component"?Qu:ed);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 ${No(l,e)} = ${o}(${JSON.stringify(l)}${c?", true":""})${r?"!":""}`),a<t.length-1&&i()}}function QP(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 Bp(t,e){const n=t.length>3||!1;e.push("["),n&&e.indent(),_l(t,e,n),n&&e.deindent(),e.push("]")}function _l(t,e,n=!1,s=!0){const{push:i,newline:r}=e;for(let o=0;o<t.length;o++){const a=t[o];Rt(a)?i(a,-3):gt(a)?Bp(a,e):wn(a,e),o<t.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function wn(t,e){if(Rt(t)){e.push(t,-3);return}if(Pn(t)){e.push(e.helper(t));return}switch(t.type){case 1:case 9:case 11:wn(t.codegenNode,e);break;case 2:tR(t,e);break;case 4:G_(t,e);break;case 5:eR(t,e);break;case 12:wn(t.codegenNode,e);break;case 8:K_(t,e);break;case 3:sR(t,e);break;case 13:iR(t,e);break;case 14:oR(t,e);break;case 15:aR(t,e);break;case 17:lR(t,e);break;case 18:cR(t,e);break;case 19:uR(t,e);break;case 20:dR(t,e);break;case 21:_l(t.body,e,!0,!1);break}}function tR(t,e){e.push(JSON.stringify(t.content),-3,t)}function G_(t,e){const{content:n,isStatic:s}=t;e.push(s?JSON.stringify(n):n,-3,t)}function eR(t,e){const{push:n,helper:s,pure:i}=e;i&&n(dd),n(`${s(gl)}(`),wn(t.content,e),n(")")}function K_(t,e){for(let n=0;n<t.children.length;n++){const s=t.children[n];Rt(s)?e.push(s,-3):wn(s,e)}}function nR(t,e){const{push:n}=e;if(t.type===8)n("["),K_(t,e),n("]");else if(t.isStatic){const s=yl(t.content)?t.content:JSON.stringify(t.content);n(s,-2,t)}else n(`[${t.content}]`,-3,t)}function sR(t,e){const{push:n,helper:s,pure:i}=e;i&&n(dd),n(`${s(Bo)}(${JSON.stringify(t.content)})`,-3,t)}function iR(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(sd)+"("),d&&n(`(${s(er)}(${f?"true":""}), `),i&&n(dd);const m=d?Mr(e.inSSR,h):Lr(e.inSSR,h);n(s(m)+"(",-2,t),_l(rR([r,o,a,p,c]),e),n(")"),d&&n(")"),u&&(n(", "),wn(u,e),n(")"))}function rR(t){let e=t.length;for(;e--&&t[e]==null;);return t.slice(0,e+1).map(n=>n||"null")}function oR(t,e){const{push:n,helper:s,pure:i}=e,r=Rt(t.callee)?t.callee:s(t.callee);i&&n(dd),n(r+"(",-2,t),_l(t.arguments,e),n(")")}function aR(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];nR(c,e),n(": "),wn(u,e),l<o.length-1&&(n(","),r())}a&&i(),n(a?"}":" }")}function lR(t,e){Bp(t.elements,e)}function cR(t,e){const{push:n,indent:s,deindent:i}=e,{params:r,returns:o,body:a,newline:l,isSlot:c}=t;c&&n(`_${Rr[ld]}(`),n("(",-2,t),gt(r)?_l(r,e):r&&wn(r,e),n(") => "),(l||a)&&(n("{"),s()),o?(l&&n("return "),gt(o)?Bp(o,e):wn(o,e)):a&&wn(a,e),(l||a)&&(i(),n("}")),c&&(t.isNonScopedSlot&&n(", undefined, true"),n(")"))}function uR(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=!yl(n.content);d&&o("("),G_(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 dR(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(Za)}(-1`),t.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${t.index}] = `),wn(t.value,e),a&&(n(`).cacheIndex = ${t.index},`),o(),n(`${s(Za)}(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 fR=(t,e)=>{if(t.type===5)t.content=bc(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=bc(r,e,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=bc(o,e))}}}};function bc(t,e,n=!1,s=!1,i=Object.create(e.identifiers)){return t}function q_(t){return Rt(t)?t:t.type===4?t.content:t.children.map(q_).join("")}const hR=jp(/^(if|else|else-if)$/,(t,e,n)=>z_(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=ky(i,l,n);else{const c=pR(s.codegenNode);c.alternate=ky(i,l+s.branches.length-1,n)}}}));function z_(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(Te(28,e.loc)),e.exp=Mt("true",!1,i)}if(e.name==="if"){const i=wy(t,e),r={type:9,loc:WP(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(Te(30,t.loc)),n.removeNode();const a=wy(t,e);o.branches.push(a);const l=s&&s(o,a,!1);vl(a,n),l&&l(),n.currentNode=null}else n.onError(Te(30,t.loc));break}}}function wy(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:bl(t,"key"),isTemplateIf:n}}function ky(t,e,n){return t.condition?tu(t.condition,Cy(t,e,n),ze(n.helper(Bo),['""',"true"])):Cy(t,e,n)}function Cy(t,e,n){const{helper:s}=n,i=De("key",Mt(`${e}`,!1,Ze,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 Oo(n,s(To),Xn([i]),r,64,void 0,void 0,!0,!1,!1,t.loc);else{const l=o.codegenNode,c=N_(l);return c.type===13&&ud(c,n),Qa(c,i,n),l}}function pR(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 X_=(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(Te(52,r.loc)),{props:[De(r,Mt("",!0,i))]};Y_(t),o=t.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(a=>a.content==="camel")&&(r.type===4?r.isStatic?r.content=Ce(r.content):r.content=`${n.helperString(Jc)}(${r.content})`:(r.children.unshift(`${n.helperString(Jc)}(`),r.children.push(")"))),n.inSSR||(s.some(a=>a.content==="prop")&&Ty(r,"."),s.some(a=>a.content==="attr")&&Ty(r,"^")),{props:[De(r,o)]}},Y_=(t,e)=>{const n=t.arg,s=Ce(n.content);t.exp=Mt(s,!1,n.loc)},Ty=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},mR=jp("for",(t,e,n)=>{const{helper:s,removeHelper:i}=n;return Z_(t,e,n,r=>{const o=ze(s(id),[r.source]),a=Io(t),l=On(t,"memo"),c=bl(t,"key",!1,!0);c&&c.type===7&&!c.exp&&Y_(c);let d=c&&(c.type===6?c.value?Mt(c.value.content,!0):void 0:c.exp);const f=c&&d?De("key",d):null,h=r.source.type===4&&r.source.constType>0,p=h?64:c?128:256;return r.codegenNode=Oo(n,s(To),void 0,o,p,void 0,void 0,!0,!h,!1,t.loc),()=>{let m;const{children:_}=r,y=_.length!==1||_[0].type!==1,v=Ja(t)?t:a&&t.children.length===1&&Ja(t.children[0])?t.children[0]:null;if(v?(m=v.codegenNode,a&&f&&Qa(m,f,n)):y?m=Oo(n,s(To),f?Xn([f]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(m=_[0].codegenNode,a&&f&&Qa(m,f,n),m.isBlock!==!h&&(m.isBlock?(i(er),i(Mr(n.inSSR,m.isComponent))):i(Lr(n.inSSR,m.isComponent))),m.isBlock=!h,m.isBlock?(s(er),s(Mr(n.inSSR,m.isComponent))):s(Lr(n.inSSR,m.isComponent))),l){const g=Dr(nu(r.parseResult,[Mt("_cached")]));g.body=v_([fs(["const _memo = (",l.exp,")"]),fs(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(Lp)}(_cached, _memo)) return _cached`]),fs(["const _item = ",m]),Mt("_item.memo = _memo"),Mt("return _item")]),o.arguments.push(g,Mt("_cache"),Mt(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Dr(nu(r.parseResult),m,!0))}})});function Z_(t,e,n,s){if(!e.exp){n.onError(Te(31,e.loc));return}const i=e.forParseResult;if(!i){n.onError(Te(32,e.loc));return}Wp(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:Io(t)?t.children:[t]};n.replaceNode(f),a.vFor++;const h=s&&s(f);return()=>{a.vFor--,h&&h()}}function Wp(t,e){t.finalized||(t.finalized=!0)}function nu({value:t,key:e,index:n},s=[]){return gR([t,e,n,...s])}function gR(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((n,s)=>n||Mt("_".repeat(s+1),!1))}const Ay=Mt("undefined",!1),J_=(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--}}},yR=(t,e)=>{let n;if(Io(t)&&t.props.some(Vp)&&(n=On(t,"for"))){const s=n.forParseResult;if(s){Wp(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)}}}},bR=(t,e,n,s)=>Dr(t,n,!1,!0,n.length?n[0].loc:s);function Q_(t,e,n=bR){e.helper(ld);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:_,exp:y}=l;_&&!xn(_)&&(a=!0),r.push(De(_||Mt("default",!0),n(y,void 0,s,i)))}let c=!1,u=!1;const d=[],f=new Set;let h=0;for(let _=0;_<s.length;_++){const y=s[_];let v;if(!Io(y)||!(v=On(y,"slot",!0))){y.type!==3&&d.push(y);continue}if(l){e.onError(Te(37,v.loc));break}c=!0;const{children:g,loc:b}=y,{arg:S=Mt("default",!0),exp:k,loc:I}=v;let D;xn(S)?D=S?S.content:"default":a=!0;const C=On(y,"for"),R=n(k,C,g,b);let B,$;if(B=On(y,"if"))a=!0,o.push(tu(B.exp,Wl(S,R,h++),Ay));else if($=On(y,/^else(-if)?$/,!0)){let H=_,X;for(;H--&&(X=s[H],!(X.type!==3&&hh(X))););if(X&&Io(X)&&On(X,/^(else-)?if$/)){let ot=o[o.length-1];for(;ot.alternate.type===19;)ot=ot.alternate;ot.alternate=$.exp?tu($.exp,Wl(S,R,h++),Ay):Wl(S,R,h++)}else e.onError(Te(30,$.loc))}else if(C){a=!0;const H=C.forParseResult;H?(Wp(H),o.push(ze(e.helper(id),[H.source,Dr(nu(H),Wl(S,R),!0)]))):e.onError(Te(32,C.loc))}else{if(D){if(f.has(D)){e.onError(Te(38,I));continue}f.add(D),D==="default"&&(u=!0)}r.push(De(S,R))}}if(!l){const _=(y,v)=>{const g=n(y,void 0,v,i);return e.compatConfig&&(g.isNonScopedSlot=!0),De("default",g)};c?d.length&&d.some(y=>hh(y))&&(u?e.onError(Te(39,d[0].loc)):r.push(_(void 0,d))):r.push(_(void 0,s))}const p=a?2:vc(t.children)?3:1;let m=Xn(r.concat(De("_",Mt(p+"",!1))),i);return o.length&&(m=ze(e.helper(Dp),[m,Ji(o)])),{slots:m,hasDynamicSlots:a}}function Wl(t,e,n){const s=[De("name",t),De("fn",e)];return n!=null&&s.push(De("key",Mt(String(n),!0))),Xn(s)}function vc(t){for(let e=0;e<t.length;e++){const n=t[e];switch(n.type){case 1:if(n.tagType===2||vc(n.children))return!0;break;case 9:if(vc(n.branches))return!0;break;case 10:case 11:if(vc(n.children))return!0;break}}return!1}function hh(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():hh(t.content)}const t2=new WeakMap,e2=(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?n2(t,e):`"${s}"`;const a=me(o)&&o.callee===td;let l,c,u=0,d,f,h,p=a||o===yo||o===Xu||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const m=Gp(t,e,void 0,r,a);l=m.props,u=m.patchFlag,f=m.dynamicPropNames;const _=m.directives;h=_&&_.length?Ji(_.map(y=>s2(y,e))):void 0,m.shouldUseBlock&&(p=!0)}if(t.children.length>0)if(o===Xa&&(p=!0,u|=1024),r&&o!==yo&&o!==Xa){const{slots:_,hasDynamicSlots:y}=Q_(t,e);c=_,y&&(u|=1024)}else if(t.children.length===1&&o!==yo){const _=t.children[0],y=_.type,v=y===5||y===8;v&&Un(_,e)===0&&(u|=1),v||y===2?c=_:c=t.children}else c=t.children;f&&f.length&&(d=_R(f)),t.codegenNode=Oo(e,o,l,c,u===0?void 0:u,d,h,!!p,!1,r,t.loc)};function n2(t,e,n=!1){let{tag:s}=t;const i=ph(s),r=bl(t,"is",!1,!0);if(r)if(i||Or("COMPILER_IS_ON_ELEMENT",e)){let a;if(r.type===6?a=r.value&&Mt(r.value.content,!0):(a=r.exp,a||(a=Mt("is",!1,r.arg.loc))),a)return ze(e.helper(td),[a])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=$p(s)||e.isBuiltInComponent(s);return o?(n||e.helper(o),o):(e.helper(Qu),e.components.add(s),No(s,"component"))}function Gp(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,_=!1,y=!1,v=!1,g=!1,b=!1;const S=[],k=R=>{c.length&&(u.push(Xn(Oy(c),a)),c=[]),R&&u.push(R)},I=()=>{e.scopes.vFor>0&&c.push(De(Mt("ref_for",!0),Mt("true")))},D=({key:R,value:B})=>{if(xn(R)){const $=R.content,H=nr($);if(H&&(!s||i)&&$.toLowerCase()!=="onclick"&&$!=="onUpdate:modelValue"&&!pi($)&&(v=!0),H&&pi($)&&(b=!0),H&&B.type===14&&(B=B.arguments[0]),B.type===20||(B.type===4||B.type===8)&&Un(B,e)>0)return;$==="ref"?m=!0:$==="class"?_=!0:$==="style"?y=!0:$!=="key"&&!S.includes($)&&S.push($),s&&($==="class"||$==="style")&&!S.includes($)&&S.push($)}else g=!0};for(let R=0;R<n.length;R++){const B=n[R];if(B.type===6){const{loc:$,name:H,nameLoc:X,value:ot}=B;let K=!0;if(H==="ref"&&(m=!0,I()),H==="is"&&(ph(o)||ot&&ot.content.startsWith("vue:")||Or("COMPILER_IS_ON_ELEMENT",e)))continue;c.push(De(Mt(H,!0,X),Mt(ot?ot.content:"",K,ot?ot.loc:$)))}else{const{name:$,arg:H,exp:X,loc:ot,modifiers:K}=B,Q=$==="bind",at=$==="on";if($==="slot"){s||e.onError(Te(40,ot));continue}if($==="once"||$==="memo"||$==="is"||Q&&Xi(H,"is")&&(ph(o)||Or("COMPILER_IS_ON_ELEMENT",e))||at&&r)continue;if((Q&&Xi(H,"key")||at&&f&&Xi(H,"vue:before-update"))&&(h=!0),Q&&Xi(H,"ref")&&I(),!H&&(Q||at)){if(g=!0,X)if(Q){if(k(),Or("COMPILER_V_BIND_OBJECT_ORDER",e)){u.unshift(X);continue}I(),k(),u.push(X)}else k({type:14,loc:ot,callee:e.helper(ad),arguments:s?[X]:[X,"true"]});else e.onError(Te(Q?34:35,ot));continue}Q&&K.some(zt=>zt.content==="prop")&&(p|=32);const kt=e.directiveTransforms[$];if(kt){const{props:zt,needRuntime:Vt}=kt(B,t,e);!r&&zt.forEach(D),at&&H&&!xn(H)?k(Xn(zt,a)):c.push(...zt),Vt&&(d.push(B),Pn(Vt)&&t2.set(B,Vt))}else Yb($)||(d.push(B),f&&(h=!0))}}let C;if(u.length?(k(),u.length>1?C=ze(e.helper(Ya),u,a):C=u[0]):c.length&&(C=Xn(Oy(c),a)),g?p|=16:(_&&!s&&(p|=2),y&&!s&&(p|=4),S.length&&(p|=8),v&&(p|=32)),!h&&(p===0||p===32)&&(m||b||d.length>0)&&(p|=512),!e.inSSR&&C)switch(C.type){case 15:let R=-1,B=-1,$=!1;for(let ot=0;ot<C.properties.length;ot++){const K=C.properties[ot].key;xn(K)?K.content==="class"?R=ot:K.content==="style"&&(B=ot):K.isHandlerKey||($=!0)}const H=C.properties[R],X=C.properties[B];$?C=ze(e.helper(Ao),[C]):(H&&!xn(H.value)&&(H.value=ze(e.helper(rd),[H.value])),X&&(y||X.value.type===4&&X.value.content.trim()[0]==="["||X.value.type===17)&&(X.value=ze(e.helper(od),[X.value])));break;case 14:break;default:C=ze(e.helper(Ao),[ze(e.helper(Wo),[C])]);break}return{props:C,directives:d,patchFlag:p,dynamicPropNames:S,shouldUseBlock:h}}function Oy(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"||nr(r))&&vR(o,i):(e.set(r,i),n.push(i))}return n}function vR(t,e){t.value.type===17?t.value.elements.push(e.value):t.value=Ji([t.value,e.value],t.loc)}function s2(t,e){const n=[],s=t2.get(t);s?n.push(e.helperString(s)):(e.helper(ed),e.directives.add(t.name),n.push(No(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=Mt("true",!1,i);n.push(Xn(t.modifiers.map(o=>De(o,r)),i))}return Ji(n,t.loc)}function _R(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 ph(t){return t==="component"||t==="Component"}const SR=(t,e)=>{if(Ja(t)){const{children:n,loc:s}=t,{slotName:i,slotProps:r}=i2(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;r&&(o[2]=r,a=3),n.length&&(o[3]=Dr([],n,!1,!1,s),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=ze(e.helper(Rp),o,s)}};function i2(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=Ce(o.name),i.push(o)));else if(o.name==="bind"&&Xi(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=Ce(o.arg.content);n=o.exp=Mt(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&xn(o.arg)&&(o.arg.content=Ce(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Gp(t,e,i,!1,!1);s=r,o.length&&e.onError(Te(36,o[0].loc))}return{slotName:n,slotProps:s}}const Kp=(t,e,n,s)=>{const{loc:i,modifiers:r,arg:o}=t;!t.exp&&!r.length&&n.onError(Te(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)?Er(Ce(d)):`on:${d}`;a=Mt(f,!0,o.loc)}else a=fs([`${n.helperString(Qc)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(Qc)}(`),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=Fp(l),f=!(d||A_(l)),h=l.content.includes(";");(f||c&&d)&&(l=fs([`${f?"$event":"(...args)"} => ${h?"{":"("}`,l,h?"}":")"]))}let u={props:[De(a,l||Mt("() => {}",!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},ER=(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(pc(o)){i=!0;for(let a=r+1;a<n.length;a++){const l=n[a];if(pc(l))s||(s=n[r]=fs([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(pc(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!e.ssr&&Un(o,e)===0&&a.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:ze(e.helper(Ju),a)}}}}},xy=new WeakSet,wR=(t,e)=>{if(t.type===1&&On(t,"once",!0))return xy.has(t)||e.inVOnce||e.inSSR?void 0:(xy.add(t),e.inVOnce=!0,e.helper(Za),()=>{e.inVOnce=!1;const n=e.currentNode;n.codegenNode&&(n.codegenNode=e.cache(n.codegenNode,!0,!0))})},qp=(t,e,n)=>{const{exp:s,arg:i}=t;if(!s)return n.onError(Te(41,t.loc)),Gl();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(Te(44,s.loc)),Gl();if(!o.trim()||!Fp(s))return n.onError(Te(42,s.loc)),Gl();const l=i||Mt("modelValue",!0),c=i?xn(i)?`onUpdate:${Ce(i.content)}`:fs(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const d=n.isTS?"($event: any)":"$event";u=fs([`${d} => ((`,s,") = $event)"]);const f=[De(l,t.exp),De(c,u)];if(t.modifiers.length&&e.tagType===1){const h=t.modifiers.map(m=>m.content).map(m=>(yl(m)?m:JSON.stringify(m))+": true").join(", "),p=i?xn(i)?`${i.content}Modifiers`:fs([i,' + "Modifiers"']):"modelModifiers";f.push(De(p,Mt(`{ ${h} }`,!1,t.loc,2)))}return Gl(f)};function Gl(t=[]){return{props:t}}const kR=/[\w).+\-_$\]]/,CR=(t,e)=>{Or("COMPILER_FILTERS",e)&&(t.type===5?su(t.content,e):t.type===1&&t.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&su(n.exp,e)}))};function su(t,e){if(t.type===4)Iy(t,e);else for(let n=0;n<t.children.length;n++){const s=t.children[n];typeof s=="object"&&(s.type===4?Iy(s,e):s.type===8?su(t,e):s.type===5&&su(s.content,e))}}function Iy(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()):_();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,v;for(;y>=0&&(v=n.charAt(y),v===" ");y--);(!v||!kR.test(v))&&(o=!0)}}p===void 0?p=n.slice(0,h).trim():u!==0&&_();function _(){m.push(n.slice(u,h).trim()),u=h+1}if(m.length){for(h=0;h<m.length;h++)p=TR(p,m[h],e);t.content=p,t.ast=void 0}}function TR(t,e,n){n.helper(nd);const s=e.indexOf("(");if(s<0)return n.filters.add(e),`${No(e,"filter")}(${t})`;{const i=e.slice(0,s),r=e.slice(s+1);return n.filters.add(i),`${No(i,"filter")}(${t}${r!==")"?","+r:r}`}}const Ny=new WeakSet,AR=(t,e)=>{if(t.type===1){const n=On(t,"memo");return!n||Ny.has(t)?void 0:(Ny.add(t),()=>{const s=t.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(t.tagType!==1&&ud(s,e),t.codegenNode=ze(e.helper(cd),[n.exp,Dr(void 0,s),"_cache",String(e.cached.length)]),e.cached.push(null))})}};function r2(t){return[[wR,hR,AR,mR,CR,SR,e2,J_,ER],{on:Kp,bind:X_,model:qp}]}function o2(t,e={}){const n=e.onError||Mp,s=e.mode==="module";e.prefixIdentifiers===!0?n(Te(47)):s&&n(Te(48));const i=!1;e.cacheHandlers&&n(Te(49)),e.scopeId&&!s&&n(Te(50));const r=Zt({},e,{prefixIdentifiers:i}),o=Rt(t)?Hp(t,r):t,[a,l]=r2();return j_(o,Zt({},r,{nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:Zt({},l,e.directiveTransforms||{})})),W_(o,r)}const OR={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"},a2=()=>({props:[]});/**
|
||
* @vue/compiler-dom v3.5.18
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const zp=Symbol(""),Xp=Symbol(""),Yp=Symbol(""),Zp=Symbol(""),iu=Symbol(""),Jp=Symbol(""),Qp=Symbol(""),tm=Symbol(""),em=Symbol(""),nm=Symbol("");g_({[zp]:"vModelRadio",[Xp]:"vModelCheckbox",[Yp]:"vModelText",[Zp]:"vModelSelect",[iu]:"vModelDynamic",[Jp]:"withModifiers",[Qp]:"withKeys",[tm]:"vShow",[em]:"Transition",[nm]:"TransitionGroup"});let zr;function xR(t,e=!1){return zr||(zr=document.createElement("div")),e?(zr.innerHTML=`<div foo="${t.replace(/"/g,""")}">`,zr.children[0].getAttribute("foo")):(zr.innerHTML=t,zr.textContent)}const sm={parseMode:"html",isVoidTag:e1,isNativeTag:t=>Jb(t)||Qb(t)||t1(t),isPreTag:t=>t==="pre",isIgnoreNewlineTag:t=>t==="pre"||t==="textarea",decodeEntities:xR,isBuiltInComponent:t=>{if(t==="Transition"||t==="transition")return em;if(t==="TransitionGroup"||t==="transition-group")return nm},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}},l2=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:Mt("style",!0,e.loc),exp:IR(e.value.content,e.loc),modifiers:[],loc:e.loc})})},IR=(t,e)=>{const n=Mh(t);return Mt(JSON.stringify(n),!1,e,3)};function yi(t,e){return Te(t,e)}const NR={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__"},PR={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."},RR=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(yi(53,i)),e.children.length&&(n.onError(yi(54,i)),e.children.length=0),{props:[De(Mt("innerHTML",!0,i),s||Mt("",!0))]}},DR=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(yi(55,i)),e.children.length&&(n.onError(yi(56,i)),e.children.length=0),{props:[De(Mt("textContent",!0),s?Un(s,n)>0?s:ze(n.helperString(gl),[s],i):Mt("",!0))]}},LR=(t,e,n)=>{const s=qp(t,e,n);if(!s.props.length||e.tagType===1)return s;t.arg&&n.onError(yi(58,t.arg.loc));const{tag:i}=e,r=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=Yp,a=!1;if(i==="input"||r){const l=bl(e,"type");if(l){if(l.type===7)o=iu;else if(l.value)switch(l.value.content){case"radio":o=zp;break;case"checkbox":o=Xp;break;case"file":a=!0,n.onError(yi(59,t.loc));break}}else x_(e)&&(o=iu)}else i==="select"&&(o=Zp);a||(s.needRuntime=n.helper(o))}else n.onError(yi(57,t.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},MR=nn("passive,once,capture"),$R=nn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),FR=nn("left,right"),c2=nn("onkeyup,onkeydown,onkeypress"),VR=(t,e,n,s)=>{const i=[],r=[],o=[];for(let a=0;a<e.length;a++){const l=e[a].content;l==="native"&&xo("COMPILER_V_ON_NATIVE",n)||MR(l)?o.push(l):FR(l)?xn(t)?c2(t.content.toLowerCase())?i.push(l):r.push(l):(i.push(l),r.push(l)):$R(l)?r.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},Py=(t,e)=>xn(t)&&t.content.toLowerCase()==="onclick"?Mt(e,!0):t.type!==4?fs(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,UR=(t,e,n)=>Kp(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}=VR(r,i,n,t.loc);if(l.includes("right")&&(r=Py(r,"onContextmenu")),l.includes("middle")&&(r=Py(r,"onMouseup")),l.length&&(o=ze(n.helper(Jp),[o,JSON.stringify(l)])),a.length&&(!xn(r)||c2(r.content.toLowerCase()))&&(o=ze(n.helper(Qp),[o,JSON.stringify(a)])),c.length){const u=c.map(ir).join("");r=xn(r)?Mt(`${r.content}${u}`,!0):fs(["(",r,`) + "${u}"`])}return{props:[De(r,o)]}}),HR=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(yi(61,i)),{props:[],needRuntime:n.helper(tm)}},jR=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&e.removeNode()},u2=[l2],d2={cloak:a2,html:RR,text:DR,model:LR,on:UR,show:HR};function BR(t,e={}){return o2(t,Zt({},sm,e,{nodeTransforms:[jR,...u2,...e.nodeTransforms||[]],directiveTransforms:Zt({},d2,e.directiveTransforms||{}),transformHoist:null}))}function WR(t,e={}){return Hp(t,Zt({},sm,e))}const GR=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:xp,BindingTypes:OR,CAMELIZE:Jc,CAPITALIZE:d_,CREATE_BLOCK:Ip,CREATE_COMMENT:Bo,CREATE_ELEMENT_BLOCK:Np,CREATE_ELEMENT_VNODE:Zu,CREATE_SLOTS:Dp,CREATE_STATIC:Pp,CREATE_TEXT:Ju,CREATE_VNODE:Yu,CompilerDeprecationTypes:uP,ConstantTypes:nP,DOMDirectiveTransforms:d2,DOMErrorCodes:NR,DOMErrorMessages:PR,DOMNodeTransforms:u2,ElementTypes:eP,ErrorCodes:hP,FRAGMENT:To,GUARD_REACTIVE_PROPS:Wo,IS_MEMO_SAME:Lp,IS_REF:m_,KEEP_ALIVE:Xa,MERGE_PROPS:Ya,NORMALIZE_CLASS:rd,NORMALIZE_PROPS:Ao,NORMALIZE_STYLE:od,Namespaces:QN,NodeTypes:tP,OPEN_BLOCK:er,POP_SCOPE_ID:h_,PUSH_SCOPE_ID:f_,RENDER_LIST:id,RENDER_SLOT:Rp,RESOLVE_COMPONENT:Qu,RESOLVE_DIRECTIVE:ed,RESOLVE_DYNAMIC_COMPONENT:td,RESOLVE_FILTER:nd,SET_BLOCK_TRACKING:Za,SUSPENSE:Xu,TELEPORT:yo,TO_DISPLAY_STRING:gl,TO_HANDLERS:ad,TO_HANDLER_KEY:Qc,TRANSITION:em,TRANSITION_GROUP:nm,TS_NODE_TYPES:E_,UNREF:p_,V_MODEL_CHECKBOX:Xp,V_MODEL_DYNAMIC:iu,V_MODEL_RADIO:zp,V_MODEL_SELECT:Zp,V_MODEL_TEXT:Yp,V_ON_WITH_KEYS:Qp,V_ON_WITH_MODIFIERS:Jp,V_SHOW:tm,WITH_CTX:ld,WITH_DIRECTIVES:sd,WITH_MEMO:cd,advancePositionWithClone:PP,advancePositionWithMutation:O_,assert:RP,baseCompile:o2,baseParse:Hp,buildDirectiveArgs:s2,buildProps:Gp,buildSlots:Q_,checkCompatEnabled:xo,compile:BR,convertToBlock:ud,createArrayExpression:Ji,createAssignmentExpression:oP,createBlockStatement:v_,createCacheExpression:b_,createCallExpression:ze,createCompilerError:Te,createCompoundExpression:fs,createConditionalExpression:tu,createDOMCompilerError:yi,createForLoopParams:nu,createFunctionExpression:Dr,createIfStatement:rP,createInterpolation:sP,createObjectExpression:Xn,createObjectProperty:De,createReturnStatement:lP,createRoot:y_,createSequenceExpression:aP,createSimpleExpression:Mt,createStructuralDirectiveTransform:jp,createTemplateLiteral:iP,createTransformContext:H_,createVNodeCall:Oo,errorMessages:pP,extractIdentifiers:di,findDir:On,findProp:bl,forAliasRE:P_,generate:W_,generateCodeFrame:Zb,getBaseTransformPreset:r2,getConstantType:Un,getMemoedVNodeCall:N_,getVNodeBlockHelper:Mr,getVNodeHelper:Lr,hasDynamicKeyVBind:x_,hasScopeRef:Cs,helperNameMap:Rr,injectProp:Qa,isCoreComponent:$p,isFnExpression:A_,isFnExpressionBrowser:T_,isFnExpressionNode:NP,isFunctionType:wP,isInDestructureAssignment:yP,isInNewExpression:bP,isMemberExpression:Fp,isMemberExpressionBrowser:C_,isMemberExpressionNode:xP,isReferencedIdentifier:gP,isSimpleIdentifier:yl,isSlotOutlet:Ja,isStaticArgOf:Xi,isStaticExp:xn,isStaticProperty:S_,isStaticPropertyKey:kP,isTemplateNode:Io,isText:pc,isVPre:uh,isVSlot:Vp,locStub:Ze,noopDirectiveTransform:a2,parse:WR,parserOptions:sm,processExpression:bc,processFor:Z_,processIf:z_,processSlotOutlet:i2,registerRuntimeHelpers:g_,resolveComponentType:n2,stringifyExpression:q_,toValidAssetId:No,trackSlotScopes:J_,trackVForSlotScopes:yR,transform:j_,transformBind:X_,transformElement:e2,transformExpression:fR,transformModel:qp,transformOn:Kp,transformStyle:l2,traverseNode:vl,unwrapTSNode:w_,walkBlockDeclarations:_P,walkFunctionParams:vP,walkIdentifiers:mP,warnDeprecation:fP},Symbol.toStringTag,{value:"Module"})),KR=zu(GR),qR=zu(Bk),zR=zu(RE);/**
|
||
* vue v3.5.18
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/var Ry;function XR(){return Ry||(Ry=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=KR,n=qR,s=zR;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])})})(Zd)),Zd}var Dy;function f2(){return Dy||(Dy=1,Yd.exports=XR()),Yd.exports}var Ly;function YR(){return Ly||(Ly=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(b){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,u=/@([^@]*):(\d+):(\d+)\s*$/ig,d=c.exec(b.stack)||u.exec(b.stack),f=d&&d[1]||!1,h=d&&d[2]||!1,p=document.location.href.replace(document.location.hash,""),m,_,y,v=document.getElementsByTagName("script");f===p&&(m=document.documentElement.outerHTML,_=new RegExp("(?:[^\\n]+?\\n){0,"+(h-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=m.replace(_,"$1").trim());for(var g=0;g<v.length;g++)if(v[g].readyState==="interactive"||v[g].src===f||f===p&&v[g].innerHTML&&v[g].innerHTML.trim()===y)return v[g];return null}}return a})}),"8bbf":(function(e,n){e.exports=f2()}),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,_,y,v,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}},_=Object(a.computed)(function(){var y=m.options,v=!!y.show,g=y.location,b={"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"?b.top="0px":b.bottom="0px",y.inverse?b.right="0px":b.left="0px",b.width=m.percent+"%",b.height=y.thickness,b.transition=(v?"width "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity):(g==="left"||g==="right")&&(g==="left"?b.left="0px":b.right="0px",y.inverse?b.top="0px":b.bottom="0px",b.height=m.percent+"%",b.width=y.thickness,b.transition=(v?"height "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity),b});return{progress:m,finalStyle:_}}};u.render=l;var d=u;function f(p,m){for(var _=1,y,v;_<arguments.length;++_){v=arguments[_];for(y in v)Object.prototype.hasOwnProperty.call(v,y)&&(p[y]=v[y])}return p}var h={install:function(m,_){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},v=f(y,_),g=Object(a.reactive)({percent:0,options:v});m.provide("RADON_LOADING_BAR",g);var b={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(k){var I=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(){I.increase(I.state.cut*Math.random()),g.percent>95&&g.options.autoFinish&&I.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 I in k.func){var D=k.func[I];switch(D.call){case"color":switch(D.modifier){case"set":this.setColor(D.argument);break;case"temp":this.tempColor(D.argument);break}break;case"fail":switch(D.modifier){case"set":this.setFailColor(D.argument);break;case"temp":this.tempFailColor(D.argument);break}break;case"location":switch(D.modifier){case"set":this.setLocation(D.argument);break;case"temp":this.tempLocation(D.argument);break}break;case"transition":switch(D.modifier){case"set":this.setTransition(D.argument);break;case"temp":this.tempTransition(D.argument);break}break}}}};m.component("vue-progress-bar",d),m.config.globalProperties.$Progress=b}};n.default=h})})})(Xd)),Xd.exports}var ZR=YR();const JR=Op(ZR);class Hr extends Error{}class QR extends Hr{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class tD extends Hr{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class eD extends Hr{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class uo extends Hr{}class h2 extends Hr{constructor(e){super(`Invalid unit ${e}`)}}class mn extends Hr{}class Ri extends Hr{constructor(){super("Zone is an abstract class")}}const mt="numeric",Ps="short",Jn="long",ru={year:mt,month:mt,day:mt},p2={year:mt,month:Ps,day:mt},nD={year:mt,month:Ps,day:mt,weekday:Ps},m2={year:mt,month:Jn,day:mt},g2={year:mt,month:Jn,day:mt,weekday:Jn},y2={hour:mt,minute:mt},b2={hour:mt,minute:mt,second:mt},v2={hour:mt,minute:mt,second:mt,timeZoneName:Ps},_2={hour:mt,minute:mt,second:mt,timeZoneName:Jn},S2={hour:mt,minute:mt,hourCycle:"h23"},E2={hour:mt,minute:mt,second:mt,hourCycle:"h23"},w2={hour:mt,minute:mt,second:mt,hourCycle:"h23",timeZoneName:Ps},k2={hour:mt,minute:mt,second:mt,hourCycle:"h23",timeZoneName:Jn},C2={year:mt,month:mt,day:mt,hour:mt,minute:mt},T2={year:mt,month:mt,day:mt,hour:mt,minute:mt,second:mt},A2={year:mt,month:Ps,day:mt,hour:mt,minute:mt},O2={year:mt,month:Ps,day:mt,hour:mt,minute:mt,second:mt},sD={year:mt,month:Ps,day:mt,weekday:Ps,hour:mt,minute:mt},x2={year:mt,month:Jn,day:mt,hour:mt,minute:mt,timeZoneName:Ps},I2={year:mt,month:Jn,day:mt,hour:mt,minute:mt,second:mt,timeZoneName:Ps},N2={year:mt,month:Jn,day:mt,weekday:Jn,hour:mt,minute:mt,timeZoneName:Jn},P2={year:mt,month:Jn,day:mt,weekday:Jn,hour:mt,minute:mt,second:mt,timeZoneName:Jn};class Sl{get type(){throw new Ri}get name(){throw new Ri}get ianaName(){return this.name}get isUniversal(){throw new Ri}offsetName(e,n){throw new Ri}formatOffset(e,n){throw new Ri}offset(e){throw new Ri}equals(e){throw new Ri}get isValid(){throw new Ri}}let Qd=null;class fd extends Sl{static get instance(){return Qd===null&&(Qd=new fd),Qd}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return B2(e,n,s)}formatOffset(e,n){return Aa(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const mh=new Map;function iD(t){let e=mh.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"}),mh.set(t,e)),e}const rD={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function oD(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 aD(t,e){const n=t.formatToParts(e),s=[];for(let i=0;i<n.length;i++){const{type:r,value:o}=n[i],a=rD[r];r==="era"?s[a]=o:Dt(a)||(s[a]=parseInt(o,10))}return s}const tf=new Map;class Ci extends Sl{static create(e){let n=tf.get(e);return n===void 0&&tf.set(e,n=new Ci(e)),n}static resetCache(){tf.clear(),mh.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=Ci.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return B2(e,n,s,this.name)}formatOffset(e,n){return Aa(this.offset(e),n)}offset(e){if(!this.valid)return NaN;const n=new Date(e);if(isNaN(n))return NaN;const s=iD(this.name);let[i,r,o,a,l,c,u]=s.formatToParts?aD(s,n):oD(s,n);a==="BC"&&(i=-Math.abs(i)+1);const f=pd({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 My={};function lD(t,e={}){const n=JSON.stringify([t,e]);let s=My[n];return s||(s=new Intl.ListFormat(t,e),My[n]=s),s}const gh=new Map;function yh(t,e={}){const n=JSON.stringify([t,e]);let s=gh.get(n);return s===void 0&&(s=new Intl.DateTimeFormat(t,e),gh.set(n,s)),s}const bh=new Map;function cD(t,e={}){const n=JSON.stringify([t,e]);let s=bh.get(n);return s===void 0&&(s=new Intl.NumberFormat(t,e),bh.set(n,s)),s}const vh=new Map;function uD(t,e={}){const{base:n,...s}=e,i=JSON.stringify([t,s]);let r=vh.get(i);return r===void 0&&(r=new Intl.RelativeTimeFormat(t,e),vh.set(i,r)),r}let ca=null;function dD(){return ca||(ca=new Intl.DateTimeFormat().resolvedOptions().locale,ca)}const _h=new Map;function R2(t){let e=_h.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),_h.set(t,e)),e}const Sh=new Map;function fD(t){let e=Sh.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...D2,...e}),Sh.set(t,e)}return e}function hD(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=yh(t).resolvedOptions(),i=t}catch{const l=t.substring(0,n);s=yh(l).resolvedOptions(),i=l}const{numberingSystem:r,calendar:o}=s;return[i,r,o]}}function pD(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function mD(t){const e=[];for(let n=1;n<=12;n++){const s=Ot.utc(2009,n,1);e.push(t(s))}return e}function gD(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 Kl(t,e,n,s){const i=t.listingMode();return i==="error"?null:i==="en"?n(e):s(e)}function yD(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||R2(t.locale).numberingSystem==="latn"}class bD{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=cD(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):lm(e,3);return qe(n,this.padTo)}}}class vD{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&&Ci.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=yh(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 _D{constructor(e,n,s){this.opts={style:"long",...s},!n&&H2()&&(this.rtf=uD(e,s))}format(e,n){return this.rtf?this.rtf.format(e,n):jD(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const D2={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":dD()),l=n||Fe.defaultNumberingSystem,c=s||Fe.defaultOutputCalendar,u=wh(i)||Fe.defaultWeekSettings;return new be(a,l,c,u,o)}static resetCache(){ca=null,gh.clear(),bh.clear(),vh.clear(),_h.clear(),Sh.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]=hD(e);this.locale=o,this.numberingSystem=n||a||null,this.outputCalendar=s||l||null,this.weekSettings=i,this.intl=pD(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=yD(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,wh(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 Kl(this,e,K2,()=>{const s=this.intl==="ja"||this.intl.startsWith("ja-");n&=!s;const i=n?{month:e,day:"numeric"}:{month:e},r=n?"format":"standalone";if(!this.monthsCache[r][e]){const o=s?a=>this.dtFormatter(a,i).format():a=>this.extract(a,i,"month");this.monthsCache[r][e]=mD(o)}return this.monthsCache[r][e]})}weekdays(e,n=!1){return Kl(this,e,X2,()=>{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]=gD(r=>this.extract(r,s,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return Kl(this,void 0,()=>Y2,()=>{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 Kl(this,e,Z2,()=>{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 bD(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new vD(e,this.intl,n)}relFormatter(e={}){return new _D(this.intl,this.isEnglish(),e)}listFormatter(e={}){return lD(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||R2(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:j2()?fD(this.locale):D2}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 ef=null;class In extends Sl{static get utcInstance(){return ef===null&&(ef=new In(0)),ef}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(md(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Aa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Aa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return Aa(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 SD extends Sl{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 qi(t,e){if(Dt(t)||t===null)return e;if(t instanceof Sl)return t;if(AD(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?fd.instance:n==="utc"||n==="gmt"?In.utcInstance:In.parseSpecifier(n)||Ci.create(t)}else return Qi(t)?In.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new SD(t)}const im={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},$y={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]},ED=im.hanidec.replace(/[\[|\]]/g,"").split("");function wD(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(im.hanidec)!==-1)e+=ED.indexOf(t[n]);else for(const i in $y){const[r,o]=$y[i];s>=r&&s<=o&&(e+=s-r)}}return parseInt(e,10)}else return e}const Eh=new Map;function kD(){Eh.clear()}function Ss({numberingSystem:t},e=""){const n=t||"latn";let s=Eh.get(n);s===void 0&&(s=new Map,Eh.set(n,s));let i=s.get(e);return i===void 0&&(i=new RegExp(`${im[n]}${e}`),s.set(e,i)),i}let Fy=()=>Date.now(),Vy="system",Uy=null,Hy=null,jy=null,By=60,Wy,Gy=null;class Fe{static get now(){return Fy}static set now(e){Fy=e}static set defaultZone(e){Vy=e}static get defaultZone(){return qi(Vy,fd.instance)}static get defaultLocale(){return Uy}static set defaultLocale(e){Uy=e}static get defaultNumberingSystem(){return Hy}static set defaultNumberingSystem(e){Hy=e}static get defaultOutputCalendar(){return jy}static set defaultOutputCalendar(e){jy=e}static get defaultWeekSettings(){return Gy}static set defaultWeekSettings(e){Gy=wh(e)}static get twoDigitCutoffYear(){return By}static set twoDigitCutoffYear(e){By=e%100}static get throwOnInvalid(){return Wy}static set throwOnInvalid(e){Wy=e}static resetCaches(){be.resetCache(),Ci.resetCache(),Ot.resetCache(),kD()}}class xs{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const L2=[0,31,59,90,120,151,181,212,243,273,304,334],M2=[0,31,60,91,121,152,182,213,244,274,305,335];function as(t,e){return new xs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function rm(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 $2(t,e,n){return n+(El(t)?M2:L2)[e-1]}function F2(t,e){const n=El(t)?M2:L2,s=n.findIndex(r=>r<e),i=e-n[s];return{month:s+1,day:i}}function om(t,e){return(t-e+7)%7+1}function ou(t,e=4,n=1){const{year:s,month:i,day:r}=t,o=$2(s,i,r),a=om(rm(s,i,r),n);let l=Math.floor((o-a+14-e)/7),c;return l<1?(c=s-1,l=el(c,e,n)):l>el(s,e,n)?(c=s+1,l=1):c=s,{weekYear:c,weekNumber:l,weekday:a,...gd(t)}}function Ky(t,e=4,n=1){const{weekYear:s,weekNumber:i,weekday:r}=t,o=om(rm(s,1,e),n),a=bo(s);let l=i*7+r-o-7+e,c;l<1?(c=s-1,l+=bo(c)):l>a?(c=s+1,l-=bo(s)):c=s;const{month:u,day:d}=F2(c,l);return{year:c,month:u,day:d,...gd(t)}}function nf(t){const{year:e,month:n,day:s}=t,i=$2(e,n,s);return{year:e,ordinal:i,...gd(t)}}function qy(t){const{year:e,ordinal:n}=t,{month:s,day:i}=F2(e,n);return{year:e,month:s,day:i,...gd(t)}}function zy(t,e){if(!Dt(t.localWeekday)||!Dt(t.localWeekNumber)||!Dt(t.localWeekYear)){if(!Dt(t.weekday)||!Dt(t.weekNumber)||!Dt(t.weekYear))throw new uo("Cannot mix locale-based week fields with ISO-based week fields");return Dt(t.localWeekday)||(t.weekday=t.localWeekday),Dt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dt(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 CD(t,e=4,n=1){const s=hd(t.weekYear),i=ls(t.weekNumber,1,el(t.weekYear,e,n)),r=ls(t.weekday,1,7);return s?i?r?!1:as("weekday",t.weekday):as("week",t.weekNumber):as("weekYear",t.weekYear)}function TD(t){const e=hd(t.year),n=ls(t.ordinal,1,bo(t.year));return e?n?!1:as("ordinal",t.ordinal):as("year",t.year)}function V2(t){const e=hd(t.year),n=ls(t.month,1,12),s=ls(t.day,1,au(t.year,t.month));return e?n?s?!1:as("day",t.day):as("month",t.month):as("year",t.year)}function U2(t){const{hour:e,minute:n,second:s,millisecond:i}=t,r=ls(e,0,23)||e===24&&n===0&&s===0&&i===0,o=ls(n,0,59),a=ls(s,0,59),l=ls(i,0,999);return r?o?a?l?!1:as("millisecond",i):as("second",s):as("minute",n):as("hour",e)}function Dt(t){return typeof t>"u"}function Qi(t){return typeof t=="number"}function hd(t){return typeof t=="number"&&t%1===0}function AD(t){return typeof t=="string"}function OD(t){return Object.prototype.toString.call(t)==="[object Date]"}function H2(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function j2(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function xD(t){return Array.isArray(t)?t:[t]}function Xy(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 ID(t,e){return e.reduce((n,s)=>(n[s]=t[s],n),{})}function Po(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function wh(t){if(t==null)return null;if(typeof t!="object")throw new mn("Week settings must be an object");if(!ls(t.firstDay,1,7)||!ls(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ls(e,1,7)))throw new mn("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ls(t,e,n){return hd(t)&&t>=e&&t<=n}function ND(t,e){return t-e*Math.floor(t/e)}function qe(t,e=2){const n=t<0;let s;return n?s="-"+(""+-t).padStart(e,"0"):s=(""+t).padStart(e,"0"),s}function Wi(t){if(!(Dt(t)||t===null||t===""))return parseInt(t,10)}function dr(t){if(!(Dt(t)||t===null||t===""))return parseFloat(t)}function am(t){if(!(Dt(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function lm(t,e,n="round"){const s=10**e;switch(n){case"expand":return t>0?Math.ceil(t*s)/s:Math.floor(t*s)/s;case"trunc":return Math.trunc(t*s)/s;case"round":return Math.round(t*s)/s;case"floor":return Math.floor(t*s)/s;case"ceil":return Math.ceil(t*s)/s;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function El(t){return t%4===0&&(t%100!==0||t%400===0)}function bo(t){return El(t)?366:365}function au(t,e){const n=ND(e-1,12)+1,s=t+(e-n)/12;return n===2?El(s)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function pd(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 Yy(t,e,n){return-om(rm(t,1,e),n)+e-1}function el(t,e=4,n=1){const s=Yy(t,e,n),i=Yy(t+1,e,n);return(bo(t)-s+i)/7}function kh(t){return t>99?t:t>Fe.twoDigitCutoffYear?1900+t:2e3+t}function B2(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 md(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 W2(t){const e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new mn(`Invalid unit value ${t}`);return e}function lu(t,e){const n={};for(const s in t)if(Po(t,s)){const i=t[s];if(i==null)continue;n[e(s)]=W2(i)}return n}function Aa(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}${qe(n,2)}:${qe(s,2)}`;case"narrow":return`${i}${n}${s>0?`:${s}`:""}`;case"techie":return`${i}${qe(n,2)}${qe(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function gd(t){return ID(t,["hour","minute","second","millisecond"])}const PD=["January","February","March","April","May","June","July","August","September","October","November","December"],G2=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],RD=["J","F","M","A","M","J","J","A","S","O","N","D"];function K2(t){switch(t){case"narrow":return[...RD];case"short":return[...G2];case"long":return[...PD];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 q2=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],z2=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],DD=["M","T","W","T","F","S","S"];function X2(t){switch(t){case"narrow":return[...DD];case"short":return[...z2];case"long":return[...q2];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Y2=["AM","PM"],LD=["Before Christ","Anno Domini"],MD=["BC","AD"],$D=["B","A"];function Z2(t){switch(t){case"narrow":return[...$D];case"short":return[...MD];case"long":return[...LD];default:return null}}function FD(t){return Y2[t.hour<12?0:1]}function VD(t,e){return X2(e)[t.weekday-1]}function UD(t,e){return K2(e)[t.month-1]}function HD(t,e){return Z2(e)[t.year<0?0:1]}function jD(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 Zy(t,e){let n="";for(const s of t)s.literal?n+=s.val:n+=e(s.val);return n}const BD={D:ru,DD:p2,DDD:m2,DDDD:g2,t:y2,tt:b2,ttt:v2,tttt:_2,T:S2,TT:E2,TTT:w2,TTTT:k2,f:C2,ff:A2,fff:x2,ffff:N2,F:T2,FF:O2,FFF:I2,FFFF:P2};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||i)&&r.push({literal:i||/^\s+$/.test(s),val:s===""?"'":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 BD[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,s=void 0){if(this.opts.forceSimple)return qe(e,n);const i={...this.opts};return n>0&&(i.padTo=n),s&&(i.signDisplay=s),this.loc.numberFormatter(i).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?FD(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,p)=>s?UD(e,h):r(p?{month:h}:{month:h,day:"numeric"},"month"),c=(h,p)=>s?VD(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?HD(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 Zy(_n.parseFormat(n),f)}formatDurationFromString(e,n){const s=this.opts.signMode==="negativeLargestOnly"?-1:1,i=u=>{switch(u[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=(u,d)=>f=>{const h=i(f);if(h){const p=d.isNegativeDuration&&h!==d.largestUnit?s:1;let m;return this.opts.signMode==="negativeLargestOnly"&&h!==d.largestUnit?m="never":this.opts.signMode==="all"?m="always":m="auto",this.num(u.get(h)*p,f.length,m)}else return f},o=_n.parseFormat(n),a=o.reduce((u,{literal:d,val:f})=>d?u:u.concat(f),[]),l=e.shiftTo(...a.map(i).filter(u=>u)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return Zy(o,r(l,c))}}const J2=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Go(...t){const e=t.reduce((n,s)=>n+s.source,"");return RegExp(`^${e}$`)}function Ko(...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 qo(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 Q2(...t){return(e,n)=>{const s={};let i;for(i=0;i<t.length;i++)s[t[i]]=Wi(e[n+i]);return[s,null,n+i]}}const tS=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,WD=`(?:${tS.source}?(?:\\[(${J2.source})\\])?)?`,cm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,eS=RegExp(`${cm.source}${WD}`),um=RegExp(`(?:[Tt]${eS.source})?`),GD=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,KD=/(\d{4})-?W(\d\d)(?:-?(\d))?/,qD=/(\d{4})-?(\d{3})/,zD=Q2("weekYear","weekNumber","weekDay"),XD=Q2("year","ordinal"),YD=/(\d{4})-(\d\d)-(\d\d)/,nS=RegExp(`${cm.source} ?(?:${tS.source}|(${J2.source}))?`),ZD=RegExp(`(?: ${nS.source})?`);function vo(t,e,n){const s=t[e];return Dt(s)?n:Wi(s)}function JD(t,e){return[{year:vo(t,e),month:vo(t,e+1,1),day:vo(t,e+2,1)},null,e+3]}function zo(t,e){return[{hours:vo(t,e,0),minutes:vo(t,e+1,0),seconds:vo(t,e+2,0),milliseconds:am(t[e+3])},null,e+4]}function wl(t,e){const n=!t[e]&&!t[e+1],s=md(t[e+1],t[e+2]),i=n?null:In.instance(s);return[{},i,e+3]}function kl(t,e){const n=t[e]?Ci.create(t[e]):null;return[{},n,e+1]}const QD=RegExp(`^T?${cm.source}$`),tL=/^-?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 eL(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(dr(n)),months:f(dr(s)),weeks:f(dr(i)),days:f(dr(r)),hours:f(dr(o)),minutes:f(dr(a)),seconds:f(dr(l),l==="-0"),milliseconds:f(am(c),d)}]}const nL={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function dm(t,e,n,s,i,r,o){const a={year:e.length===2?kh(Wi(e)):Wi(e),month:G2.indexOf(n)+1,day:Wi(s),hour:Wi(i),minute:Wi(r)};return o&&(a.second=Wi(o)),t&&(a.weekday=t.length>3?q2.indexOf(t)+1:z2.indexOf(t)+1),a}const sL=/^(?:(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 iL(t){const[,e,n,s,i,r,o,a,l,c,u,d]=t,f=dm(e,i,s,n,r,o,a);let h;return l?h=nL[l]:c?h=0:h=md(u,d),[f,new In(h)]}function rL(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const oL=/^(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$/,aL=/^(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$/,lL=/^(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[dm(e,i,s,n,r,o,a),In.utcInstance]}function cL(t){const[,e,n,s,i,r,o,a]=t;return[dm(e,a,n,s,i,r,o),In.utcInstance]}const uL=Go(GD,um),dL=Go(KD,um),fL=Go(qD,um),hL=Go(eS),sS=Ko(JD,zo,wl,kl),pL=Ko(zD,zo,wl,kl),mL=Ko(XD,zo,wl,kl),gL=Ko(zo,wl,kl);function yL(t){return qo(t,[uL,sS],[dL,pL],[fL,mL],[hL,gL])}function bL(t){return qo(rL(t),[sL,iL])}function vL(t){return qo(t,[oL,Jy],[aL,Jy],[lL,cL])}function _L(t){return qo(t,[tL,eL])}const SL=Ko(zo);function EL(t){return qo(t,[QD,SL])}const wL=Go(YD,ZD),kL=Go(nS),CL=Ko(zo,wl,kl);function TL(t){return qo(t,[wL,sS],[kL,CL])}const Qy="Invalid Duration",iS={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},AL={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:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...iS},is=146097/400,Xr=146097/4800,OL={years:{quarters:4,months:12,weeks:is/7,days:is,hours:is*24,minutes:is*24*60,seconds:is*24*60*60,milliseconds:is*24*60*60*1e3},quarters:{months:3,weeks:is/28,days:is/4,hours:is*24/4,minutes:is*24*60/4,seconds:is*24*60*60/4,milliseconds:is*24*60*60*1e3/4},months:{weeks:Xr/7,days:Xr,hours:Xr*24,minutes:Xr*24*60,seconds:Xr*24*60*60,milliseconds:Xr*24*60*60*1e3},...iS},vr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],xL=vr.slice(0).reverse();function ii(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 te(s)}function rS(t,e){let n=e.milliseconds??0;for(const s of xL.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function tb(t,e){const n=rS(t,e)<0?-1:1;vr.reduceRight((s,i)=>{if(Dt(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),vr.reduce((s,i)=>{if(Dt(e[i]))return s;if(s){const r=e[s]%1;e[s]-=r,e[i]+=r*t[s][i]}return i},null)}function eb(t){const e={};for(const[n,s]of Object.entries(t))s!==0&&(e[n]=s);return e}class te{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let s=n?OL:AL;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 te.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 te({values:lu(e,te.normalizeUnit),loc:be.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(Qi(e))return te.fromMillis(e);if(te.isDuration(e))return e;if(typeof e=="object")return te.fromObject(e);throw new mn(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[s]=_L(e);return s?te.fromObject(s,n):te.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[s]=EL(e);return s?te.fromObject(s,n):te.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 xs?e:new xs(e,n);if(Fe.throwOnInvalid)throw new eD(s);return new te({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 h2(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):Qy}toHuman(e={}){if(!this.isValid)return Qy;const n=e.showZeros!==!1,s=vr.map(i=>{const r=this.values[i];return Dt(r)||r===0&&!n?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(r)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(s)}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+=lm(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?rS(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=te.fromDurationLike(e),s={};for(const i of vr)(Po(n.values,i)||Po(this.values,i))&&(s[i]=n.get(i)+this.get(i));return ii(this,{values:s},!0)}minus(e){if(!this.isValid)return this;const n=te.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]=W2(e(this.values[s],s));return ii(this,{values:n},!0)}get(e){return this[te.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...lu(e,te.normalizeUnit)};return ii(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 ii(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return tb(this.matrix,e),ii(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=eb(this.normalize().shiftToAll().toObject());return ii(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>te.normalizeUnit(o));const n={},s={},i=this.toObject();let r;for(const o of vr)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;Qi(i[o])&&(a+=i[o]);const l=Math.trunc(a);n[o]=l,s[o]=(a*1e3-l*1e3)/1e3}else Qi(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 tb(this.matrix,n),ii(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 ii(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=eb(this.values);return ii(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 vr)if(!n(this.values[s],e.values[s]))return!1;return!0}}const Yr="Invalid Interval";function IL(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 xs?e:new xs(e,n);if(Fe.throwOnInvalid)throw new tD(s);return new $e({invalid:s})}static fromDateTimes(e,n){const s=ea(e),i=ea(n),r=IL(s,i);return r??new $e({start:s,end:i})}static after(e,n){const s=te.fromDurationLike(n),i=ea(e);return $e.fromDateTimes(i,i.plus(s))}static before(e,n){const s=te.fromDurationLike(n),i=ea(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=te.fromISO(i,n);if(c.isValid)return $e.after(r,c)}else if(l){const c=te.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?.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(ea).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=te.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()})`:Yr}[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=ru,n={}){return this.isValid?_n.create(this.s.loc.clone(n),e).formatInterval(this):Yr}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Yr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Yr}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Yr}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:Yr}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):te.invalid(this.invalidReason)}mapEndpoints(e){return $e.fromDateTimes(e(this.s),e(this.e))}}class ql{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 Ci.isValidZone(e)}static normalizeZone(e){return qi(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:H2(),localeWeek:j2()}}}function nb(t,e){const n=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(e)-n(t);return Math.floor(te.fromMillis(s).as("days"))}function NL(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=nb(l,c);return(u-u%7)/7}],["days",nb]],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 PL(t,e,n,s){let[i,r,o,a]=NL(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=te.fromObject(r,s);return c.length>0?te.fromMillis(l,s).shiftTo(...c).plus(u):u}const RL="missing Intl.DateTimeFormat.formatToParts support";function fe(t,e=n=>n){return{regex:t,deser:([n])=>e(wD(n))}}const DL=" ",oS=`[ ${DL}]`,aS=new RegExp(oS,"g");function LL(t){return t.replace(/\./g,"\\.?").replace(aS,oS)}function sb(t){return t.replace(/\./g,"").replace(aS," ").toLowerCase()}function Es(t,e){return t===null?null:{regex:RegExp(t.map(LL).join("|")),deser:([n])=>t.findIndex(s=>sb(n)===sb(s))+e}}function ib(t,e){return{regex:t,deser:([,n,s])=>md(n,s),groups:e}}function zl(t){return{regex:t,deser:([e])=>e}}function ML(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function $L(t,e){const n=Ss(e),s=Ss(e,"{2}"),i=Ss(e,"{3}"),r=Ss(e,"{4}"),o=Ss(e,"{6}"),a=Ss(e,"{1,2}"),l=Ss(e,"{1,3}"),c=Ss(e,"{1,6}"),u=Ss(e,"{1,9}"),d=Ss(e,"{2,4}"),f=Ss(e,"{4,6}"),h=_=>({regex:RegExp(ML(_.val)),deser:([y])=>y,literal:!0}),m=(_=>{if(t.literal)return h(_);switch(_.val){case"G":return Es(e.eras("short"),0);case"GG":return Es(e.eras("long"),0);case"y":return fe(c);case"yy":return fe(d,kh);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 Es(e.months("short",!0),1);case"MMMM":return Es(e.months("long",!0),1);case"L":return fe(a);case"LL":return fe(s);case"LLL":return Es(e.months("short",!1),1);case"LLLL":return Es(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 zl(u);case"uu":return zl(a);case"uuu":return fe(n);case"a":return Es(e.meridiems(),0);case"kkkk":return fe(r);case"kk":return fe(d,kh);case"W":return fe(a);case"WW":return fe(s);case"E":case"c":return fe(n);case"EEE":return Es(e.weekdays("short",!1),1);case"EEEE":return Es(e.weekdays("long",!1),1);case"ccc":return Es(e.weekdays("short",!0),1);case"cccc":return Es(e.weekdays("long",!0),1);case"Z":case"ZZ":return ib(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return ib(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return zl(/[a-z_+-/]{1,256}?/i);case" ":return zl(/[^\S\n\r]/);default:return h(_)}})(t)||{invalidReason:RL};return m.token=t,m}const FL={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 VL(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=FL[o];if(typeof a=="object"&&(a=a[r]),a)return{literal:!1,val:a}}function UL(t){return[`^${t.map(n=>n.regex).reduce((n,s)=>`${n}(${s.source})`,"")}$`,t]}function HL(t,e,n){const s=t.match(e);if(s){const i={};let r=1;for(const o in n)if(Po(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 jL(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 Dt(t.z)||(n=Ci.create(t.z)),Dt(t.Z)||(n||(n=new In(t.Z)),s=t.Z),Dt(t.q)||(t.M=(t.q-1)*3+1),Dt(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),Dt(t.u)||(t.S=am(t.u)),[Object.keys(t).reduce((r,o)=>{const a=e(o);return a&&(r[a]=t[o]),r},{}),n,s]}let sf=null;function BL(){return sf||(sf=Ot.fromMillis(1555555555555)),sf}function WL(t,e){if(t.literal)return t;const n=_n.macroTokenToFormatOpts(t.val),s=dS(n,e);return s==null||s.includes(void 0)?t:s}function lS(t,e){return Array.prototype.concat(...t.map(n=>WL(n,e)))}class cS{constructor(e,n){if(this.locale=e,this.format=n,this.tokens=lS(_n.parseFormat(n),e),this.units=this.tokens.map(s=>$L(s,e)),this.disqualifyingUnit=this.units.find(s=>s.invalidReason),!this.disqualifyingUnit){const[s,i]=UL(this.units);this.regex=RegExp(s,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){const[n,s]=HL(e,this.regex,this.handlers),[i,r,o]=s?jL(s):[null,null,void 0];if(Po(s,"a")&&Po(s,"H"))throw new uo("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 uS(t,e,n){return new cS(t,n).explainFromTokens(e)}function GL(t,e,n){const{result:s,zone:i,specificOffset:r,invalidReason:o}=uS(t,e,n);return[s,i,r,o]}function dS(t,e){if(!t)return null;const s=_n.create(e,t).dtFormatter(BL()),i=s.formatToParts(),r=s.resolvedOptions();return i.map(o=>VL(o,t,r))}const rf="Invalid DateTime",rb=864e13;function ua(t){return new xs("unsupported zone",`the zone "${t.name}" is not supported`)}function of(t){return t.weekData===null&&(t.weekData=ou(t.c)),t.weekData}function af(t){return t.localWeekData===null&&(t.localWeekData=ou(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function fr(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 fS(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 Xl(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 _c(t,e,n){return fS(pd(t),e,n)}function ob(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,au(s,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=te.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=pd(r);let[l,c]=fS(a,n,t.zone);return o!==0&&(l+=o,c=t.zone.offset(l)),{ts:l,o:c}}function Zr(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 xs("unparsable",`the input "${i}" can't be parsed as ${s}`))}function Yl(t,e,n=!0){return t.isValid?_n.create(be.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function lf(t,e,n){const s=t.c.year>9999||t.c.year<0;let i="";if(s&&t.c.year>=0&&(i+="+"),i+=qe(t.c.year,s?6:4),n==="year")return i;if(e){if(i+="-",i+=qe(t.c.month),n==="month")return i;i+="-"}else if(i+=qe(t.c.month),n==="month")return i;return i+=qe(t.c.day),i}function ab(t,e,n,s,i,r,o){let a=!n||t.c.millisecond!==0||t.c.second!==0,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=qe(t.c.hour),o==="hour")break;if(e){if(l+=":",l+=qe(t.c.minute),o==="minute")break;a&&(l+=":",l+=qe(t.c.second))}else{if(l+=qe(t.c.minute),o==="minute")break;a&&(l+=qe(t.c.second))}if(o==="second")break;a&&(!s||t.c.millisecond!==0)&&(l+=".",l+=qe(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!r?l+="Z":t.o<0?(l+="-",l+=qe(Math.trunc(-t.o/60)),l+=":",l+=qe(Math.trunc(-t.o%60))):(l+="+",l+=qe(Math.trunc(t.o/60)),l+=":",l+=qe(Math.trunc(t.o%60)))),r&&(l+="["+t.zone.ianaName+"]"),l}const hS={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},KL={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qL={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Sc=["year","month","day","hour","minute","second","millisecond"],zL=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],XL=["year","ordinal","hour","minute","second","millisecond"];function Ec(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 h2(t);return e}function lb(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ec(t)}}function YL(t){if(da===void 0&&(da=Fe.now()),t.type!=="iana")return t.offset(da);const e=t.name;let n=Ch.get(e);return n===void 0&&(n=t.offset(da),Ch.set(e,n)),n}function cb(t,e){const n=qi(e.zone,Fe.defaultZone);if(!n.isValid)return Ot.invalid(ua(n));const s=be.fromObject(e);let i,r;if(Dt(t.year))i=Fe.now();else{for(const l of Sc)Dt(t[l])&&(t[l]=hS[l]);const o=V2(t)||U2(t);if(o)return Ot.invalid(o);const a=YL(n);[i,r]=_c(t,a,n)}return new Ot({ts:i,zone:n,loc:s,o:r})}function ub(t,e,n){const s=Dt(n.round)?!0:n.round,i=Dt(n.rounding)?"trunc":n.rounding,r=(a,l)=>(a=lm(a,s||n.calendary?0:2,n.calendary?"round":i),e.loc.clone(n).relFormatter(n).format(a,l)),o=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return r(o(n.unit),n.unit);for(const a of n.units){const l=o(a);if(Math.abs(l)>=1)return r(l,a)}return r(t>e?-0:0,n.units[n.units.length-1])}function db(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 da;const Ch=new Map;class Ot{constructor(e){const n=e.zone||Fe.defaultZone;let s=e.invalid||(Number.isNaN(e.ts)?new xs("invalid input"):null)||(n.isValid?null:ua(n));this.ts=Dt(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=Qi(e.o)&&!e.old?e.o:n.offset(this.ts);i=Xl(this.ts,a),s=Number.isNaN(i.year)?new xs("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]=db(arguments),[s,i,r,o,a,l,c]=n;return cb({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static utc(){const[e,n]=db(arguments),[s,i,r,o,a,l,c]=n;return e.zone=In.utcInstance,cb({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,n={}){const s=OD(e)?e.valueOf():NaN;if(Number.isNaN(s))return Ot.invalid("invalid input");const i=qi(n.zone,Fe.defaultZone);return i.isValid?new Ot({ts:s,zone:i,loc:be.fromObject(n)}):Ot.invalid(ua(i))}static fromMillis(e,n={}){if(Qi(e))return e<-rb||e>rb?Ot.invalid("Timestamp out of range"):new Ot({ts:e,zone:qi(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(Qi(e))return new Ot({ts:e*1e3,zone:qi(n.zone,Fe.defaultZone),loc:be.fromObject(n)});throw new mn("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const s=qi(n.zone,Fe.defaultZone);if(!s.isValid)return Ot.invalid(ua(s));const i=be.fromObject(n),r=lu(e,lb),{minDaysInFirstWeek:o,startOfWeek:a}=zy(r,i),l=Fe.now(),c=Dt(n.specificOffset)?s.offset(l):n.specificOffset,u=!Dt(r.ordinal),d=!Dt(r.year),f=!Dt(r.month)||!Dt(r.day),h=d||f,p=r.weekYear||r.weekNumber;if((h||u)&&p)throw new uo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new uo("Can't mix ordinal dates with month/day");const m=p||r.weekday&&!h;let _,y,v=Xl(l,c);m?(_=zL,y=KL,v=ou(v,o,a)):u?(_=XL,y=qL,v=nf(v)):(_=Sc,y=hS);let g=!1;for(const R of _){const B=r[R];Dt(B)?g?r[R]=y[R]:r[R]=v[R]:g=!0}const b=m?CD(r,o,a):u?TD(r):V2(r),S=b||U2(r);if(S)return Ot.invalid(S);const k=m?Ky(r,o,a):u?qy(r):r,[I,D]=_c(k,c,s),C=new Ot({ts:I,zone:s,o:D,loc:i});return r.weekday&&h&&e.weekday!==C.weekday?Ot.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${C.toISO()}`):C.isValid?C:Ot.invalid(C.invalid)}static fromISO(e,n={}){const[s,i]=yL(e);return Zr(s,i,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[s,i]=bL(e);return Zr(s,i,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[s,i]=vL(e);return Zr(s,i,n,"HTTP",n)}static fromFormat(e,n,s={}){if(Dt(e)||Dt(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]=GL(o,e,n);return u?Ot.invalid(u):Zr(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]=TL(e);return Zr(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 xs?e:new xs(e,n);if(Fe.throwOnInvalid)throw new QR(s);return new Ot({invalid:s})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const s=dS(e,be.fromObject(n));return s?s.map(i=>i?i.val:null).join(""):null}static expandFormat(e,n={}){return lS(_n.parseFormat(e),be.fromObject(n)).map(i=>i.val).join("")}static resetCache(){da=void 0,Ch.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?of(this).weekYear:NaN}get weekNumber(){return this.isValid?of(this).weekNumber:NaN}get weekday(){return this.isValid?of(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?af(this).weekday:NaN}get localWeekNumber(){return this.isValid?af(this).weekNumber:NaN}get localWeekYear(){return this.isValid?af(this).weekYear:NaN}get ordinal(){return this.isValid?nf(this.c).ordinal:NaN}get monthShort(){return this.isValid?ql.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?ql.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?ql.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?ql.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=pd(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=Xl(l,o),d=Xl(c,a);return u.hour===d.hour&&u.minute===d.minute&&u.second===d.second&&u.millisecond===d.millisecond?[fr(this,{ts:l}),fr(this,{ts:c})]:[this]}get isInLeapYear(){return El(this.year)}get daysInMonth(){return au(this.year,this.month)}get daysInYear(){return this.isValid?bo(this.year):NaN}get weeksInWeekYear(){return this.isValid?el(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?el(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=qi(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]=_c(o,r,e)}return fr(this,{ts:i,zone:e})}else return Ot.invalid(ua(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:s}={}){const i=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:s});return fr(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=lu(e,lb),{minDaysInFirstWeek:s,startOfWeek:i}=zy(n,this.loc),r=!Dt(n.weekYear)||!Dt(n.weekNumber)||!Dt(n.weekday),o=!Dt(n.ordinal),a=!Dt(n.year),l=!Dt(n.month)||!Dt(n.day),c=a||l,u=n.weekYear||n.weekNumber;if((c||o)&&u)throw new uo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new uo("Can't mix ordinal dates with month/day");let d;r?d=Ky({...ou(this.c,s,i),...n},s,i):Dt(n.ordinal)?(d={...this.toObject(),...n},Dt(n.day)&&(d.day=Math.min(au(d.year,d.month),d.day))):d=qy({...nf(this.c),...n});const[f,h]=_c(d,this.o,this.zone);return fr(this,{ts:f,o:h})}plus(e){if(!this.isValid)return this;const n=te.fromDurationLike(e);return fr(this,ob(this,n))}minus(e){if(!this.isValid)return this;const n=te.fromDurationLike(e).negate();return fr(this,ob(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const s={},i=te.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):rf}toLocaleString(e=ru,n={}){return this.isValid?_n.create(this.loc.clone(n),e).formatDateTime(this):rf}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,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=Ec(o);const a=e==="extended";let l=lf(this,a,o);return Sc.indexOf(o)>=3&&(l+="T"),l+=ab(this,a,n,s,i,r,o),l}toISODate({format:e="extended",precision:n="day"}={}){return this.isValid?lf(this,e==="extended",Ec(n)):null}toISOWeekDate(){return Yl(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:s=!0,includePrefix:i=!1,extendedZone:r=!1,format:o="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ec(a),(i&&Sc.indexOf(a)>=3?"T":"")+ab(this,o==="extended",n,e,s,r,a)):null}toRFC2822(){return Yl(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Yl(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?lf(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")),Yl(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():rf}[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 te.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...s},r=xD(n).map(te.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,l=o?e:this,c=PL(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),ub(n,this.plus(s),{...e,numeric:"always",units:i,unit:r})}toRelativeCalendar(e={}){return this.isValid?ub(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 Xy(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(Ot.isDateTime))throw new mn("max requires all arguments be DateTimes");return Xy(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 uS(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 cS(r,e)}static fromFormatParser(e,n,s={}){if(Dt(e)||Dt(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):Zr(a,l,s,`format ${n.format}`,e,c)}static get DATE_SHORT(){return ru}static get DATE_MED(){return p2}static get DATE_MED_WITH_WEEKDAY(){return nD}static get DATE_FULL(){return m2}static get DATE_HUGE(){return g2}static get TIME_SIMPLE(){return y2}static get TIME_WITH_SECONDS(){return b2}static get TIME_WITH_SHORT_OFFSET(){return v2}static get TIME_WITH_LONG_OFFSET(){return _2}static get TIME_24_SIMPLE(){return S2}static get TIME_24_WITH_SECONDS(){return E2}static get TIME_24_WITH_SHORT_OFFSET(){return w2}static get TIME_24_WITH_LONG_OFFSET(){return k2}static get DATETIME_SHORT(){return C2}static get DATETIME_SHORT_WITH_SECONDS(){return T2}static get DATETIME_MED(){return A2}static get DATETIME_MED_WITH_SECONDS(){return O2}static get DATETIME_MED_WITH_WEEKDAY(){return sD}static get DATETIME_FULL(){return x2}static get DATETIME_FULL_WITH_SECONDS(){return I2}static get DATETIME_HUGE(){return N2}static get DATETIME_HUGE_WITH_SECONDS(){return P2}}function ea(t){if(Ot.isDateTime(t))return t;if(t&&t.valueOf&&Qi(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:Zl}=Gs.global,fb=["years","months","days","hours","minutes"],ZL={toDate(t){return t?Ot.fromISO(t,{locale:Zl.value}).toLocaleString(Ot.DATE_FULL):null},toDateTime(t){return t?Ot.fromISO(t,{locale:Zl.value}).toLocaleString(Ot.DATETIME_MED):null},toDuration(t){const e=te.fromObject({minutes:Math.floor(t/60)}).shiftTo(...fb),n=Object.fromEntries(Object.entries(e.toObject()).filter(([,s])=>s>0));return te.fromObject(n,{locale:Zl.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:Zl.value,unit:fb})},toTimecode(t){return te.fromMillis(t).toFormat("h:mm:ss").replace(/^0:/u,"")}};var JL="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",QL="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",tM="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",eM="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",nM="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",sM="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",iM="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",rM="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",oM="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",aM="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",lM="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",cM="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",uM="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",dM="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",fM="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",hM="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",pM="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",mM="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",gM="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",yM="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",bM="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",vM="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",_M="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",SM="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",EM="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",wM="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",kM="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",CM="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",TM="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",AM="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",OM="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",xM="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",IM="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",NM="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",PM="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",RM="M14,19H18V5H14M6,19H10V5H6V19Z",DM="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",LM="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",MM="M8,5.14V19.14L19,12.14L8,5.14Z",$M="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",FM="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",VM="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",UM="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",HM="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",jM="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",BM="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",WM="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",GM="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",KM="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",qM="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",zM="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",XM="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",YM="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",ZM="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",JM="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",QM="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",t4="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",e4="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",n4="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",s4="M18,18H6V6H18V18Z",i4="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",r4="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",o4="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",a4="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 l4={mdiAccountMusic:JL,mdiAlbum:QL,mdiBookOpenPageVariant:eM,mdiBookOpenVariant:nM,mdiBookshelf:sM,mdiBroadcast:iM,mdiCancel:rM,mdiCast:oM,mdiCastVariant:aM,mdiCheck:lM,mdiChevronDown:cM,mdiChevronLeft:uM,mdiChevronUp:dM,mdiClose:fM,mdiDelete:hM,mdiDeleteEmpty:pM,mdiDotsHorizontal:mM,mdiDotsVertical:gM,mdiDownload:yM,mdiDragHorizontal:bM,mdiEyeOffOutline:vM,mdiFastForward30:_M,mdiFileMusicOutline:SM,mdiFire:EM,mdiFolder:wM,mdiFolderOpen:kM,mdiHistory:CM,mdiLoading:TM,mdiMagnify:AM,mdiMenu:OM,mdiMicrophone:xM,mdiMusic:IM,mdiMusicBoxMultiple:NM,mdiOpenInNew:PM,mdiPause:RM,mdiPencil:DM,mdiPipe:LM,mdiPlay:MM,mdiPlaylistMusic:$M,mdiPlaylistPlay:FM,mdiPlaylistPlus:VM,mdiRadio:UM,mdiRadioTower:HM,mdiRefresh:jM,mdiRepeat:BM,mdiRepeatOff:WM,mdiRepeatOnce:GM,mdiRewind10:KM,mdiRss:qM,mdiScriptTextOutline:zM,mdiScriptTextPlay:XM,mdiServer:YM,mdiShuffle:ZM,mdiShuffleDisabled:JM,mdiSkipBackward:QM,mdiSkipForward:t4,mdiSpeaker:e4,mdiSpotify:n4,mdiStop:s4,mdiVectorLink:i4,mdiVolumeHigh:r4,mdiVolumeOff:o4,mdiWeb:a4},c4={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}},u4=t=>t.charAt(0).toUpperCase()+t.slice(1),d4=t=>t.split("-").map(u4).join(""),f4=(t,e,n)=>{const s=t[`mdi${d4(e.name)}`]||tM,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}}},h4=(t,e)=>({[e.staticClass||""]:!0,[e.class||""]:!0,[`mdi mdi-${t.name}`]:!0,"mdi-spin":t.spin===!0}),p4=(t,e={})=>({install(n,{icons:s}){if(s===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:c4,...e,render:t(s)})}}),m4=t=>function(){const{spanAttrs:n,svgAttrs:s,pathAttrs:i}=f4(t,this,this.$attrs);return Ws("span",{...n,class:h4(this,this)},[Ws("svg",s,[this.title?Ws("title",[this.title]):void 0,Ws("path",i)])])},g4=p4(m4);/*!
|
||
* vue-router v4.5.1
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const io=typeof document<"u";function pS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function y4(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&pS(t.default)}const ye=Object.assign;function cf(t,e){const n={};for(const s in e){const i=e[s];n[s]=Rs(i)?i.map(t):t(i)}return n}const Oa=()=>{},Rs=Array.isArray,mS=/#/g,b4=/&/g,v4=/\//g,_4=/=/g,S4=/\?/g,gS=/\+/g,E4=/%5B/g,w4=/%5D/g,yS=/%5E/g,k4=/%60/g,bS=/%7B/g,C4=/%7C/g,vS=/%7D/g,T4=/%20/g;function fm(t){return encodeURI(""+t).replace(C4,"|").replace(E4,"[").replace(w4,"]")}function A4(t){return fm(t).replace(bS,"{").replace(vS,"}").replace(yS,"^")}function Th(t){return fm(t).replace(gS,"%2B").replace(T4,"+").replace(mS,"%23").replace(b4,"%26").replace(k4,"`").replace(bS,"{").replace(vS,"}").replace(yS,"^")}function O4(t){return Th(t).replace(_4,"%3D")}function x4(t){return fm(t).replace(mS,"%23").replace(S4,"%3F")}function I4(t){return t==null?"":x4(t).replace(v4,"%2F")}function nl(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const N4=/\/$/,P4=t=>t.replace(N4,"");function uf(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=M4(s??e,n),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:nl(o)}}function R4(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function hb(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function D4(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&Ro(e.matched[s],n.matched[i])&&_S(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Ro(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function _S(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!L4(t[n],e[n]))return!1;return!0}function L4(t,e){return Rs(t)?pb(t,e):Rs(e)?pb(e,t):t===e}function pb(t,e){return Rs(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function M4(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 Di={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var sl;(function(t){t.pop="pop",t.push="push"})(sl||(sl={}));var xa;(function(t){t.back="back",t.forward="forward",t.unknown=""})(xa||(xa={}));function $4(t){if(!t)if(io){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),P4(t)}const F4=/^[^#]+#/;function V4(t,e){return t.replace(F4,"#")+e}function U4(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 yd=()=>({left:window.scrollX,top:window.scrollY});function H4(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=U4(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 mb(t,e){return(history.state?history.state.position-e:-1)+t}const Ah=new Map;function j4(t,e){Ah.set(t,e)}function B4(t){const e=Ah.get(t);return Ah.delete(t),e}let W4=()=>location.protocol+"//"+location.host;function SS(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),hb(l,"")}return hb(n,t)+s+i}function G4(t,e,n,s){let i=[],r=[],o=null;const a=({state:f})=>{const h=SS(t,location),p=n.value,m=e.value;let _=0;if(f){if(n.value=h,e.value=f,o&&o===p){o=null;return}_=m?f.position-m.position:0}else s(h);i.forEach(y=>{y(n.value,p,{delta:_,type:sl.pop,direction:_?_>0?xa.forward:xa.back:xa.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:yd()}),"")}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 gb(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?yd():null}}function K4(t){const{history:e,location:n}=window,s={value:SS(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:W4()+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,gb(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:yd()});r(u.current,u,!0);const d=ye({},gb(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 q4(t){t=$4(t);const e=K4(t),n=G4(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:V4.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 z4(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),q4(t)}function X4(t){return typeof t=="string"||t&&typeof t=="object"}function ES(t){return typeof t=="string"||typeof t=="symbol"}const wS=Symbol("");var yb;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(yb||(yb={}));function Do(t,e){return ye(new Error,{type:t,[wS]:!0},e)}function ri(t,e){return t instanceof Error&&wS in t&&(e==null||!!(t.type&e))}const bb="[^/]+?",Y4={sensitive:!1,strict:!1,start:!0,end:!0},Z4=/[.+*?^${}()[\]/\\]/g;function J4(t,e){const n=ye({},Y4,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(Z4,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:m,optional:_,regexp:y}=f;r.push({name:p,repeatable:m,optional:_});const v=y||bb;if(v!==bb){h+=10;try{new RegExp(`(${v})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${v}): `+b.message)}}let g=m?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;d||(g=_&&c.length<2?`(?:/${g})`:"/"+g),_&&(g+="?"),i+=g,h+=20,_&&(h+=-8),m&&(h+=-20),v===".*"&&(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:_}=h,y=p in c?c[p]:"";if(Rs(y)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const v=Rs(y)?y.join("/"):y;if(!v)if(_)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${p}"`);u+=v}}return u||"/"}return{re:o,score:s,keys:r,parse:a,stringify:l}}function Q4(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 kS(t,e){let n=0;const s=t.score,i=e.score;for(;n<s.length&&n<i.length;){const r=Q4(s[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-s.length)===1){if(vb(s))return 1;if(vb(i))return-1}return i.length-s.length}function vb(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const t$={type:0,value:""},e$=/[a-zA-Z0-9_]/;function n$(t){if(!t)return[[]];if(t==="/")return[[t$]];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:e$.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 s$(t,e,n){const s=J4(n$(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 i$(t,e){const n=[],s=new Map;e=wb({strict:!1,end:!0,sensitive:!1},e);function i(d){return s.get(d)}function r(d,f,h){const p=!h,m=Sb(d);m.aliasOf=h&&h.record;const _=wb(e,d),y=[m];if("alias"in d){const b=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of b)y.push(Sb(ye({},m,{components:h?h.record.components:m.components,path:S,aliasOf:h?h.record:m})))}let v,g;for(const b of y){const{path:S}=b;if(f&&S[0]!=="/"){const k=f.record.path,I=k[k.length-1]==="/"?"":"/";b.path=f.record.path+(S&&I+S)}if(v=s$(b,f,_),h?h.alias.push(v):(g=g||v,g!==v&&g.alias.push(v),p&&d.name&&!Eb(v)&&o(d.name)),CS(v)&&l(v),m.children){const k=m.children;for(let I=0;I<k.length;I++)r(k[I],v,h&&h.children[I])}h=h||v}return g?()=>{o(g)}:Oa}function o(d){if(ES(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=a$(d,n);n.splice(f,0,d),d.record.name&&!Eb(d)&&s.set(d.record.name,d)}function c(d,f){let h,p={},m,_;if("name"in d&&d.name){if(h=s.get(d.name),!h)throw Do(1,{location:d});_=h.record.name,p=ye(_b(f.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&_b(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),_=h.record.name);else{if(h=f.name?s.get(f.name):n.find(g=>g.re.test(f.path)),!h)throw Do(1,{location:d,currentLocation:f});_=h.record.name,p=ye({},f.params,d.params),m=h.stringify(p)}const y=[];let v=h;for(;v;)y.unshift(v.record),v=v.parent;return{name:_,path:m,params:p,matched:y,meta:o$(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 _b(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function Sb(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:r$(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 r$(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 Eb(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function o$(t){return t.reduce((e,n)=>ye(e,n.meta),{})}function wb(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function a$(t,e){let n=0,s=e.length;for(;n!==s;){const r=n+s>>1;kS(t,e[r])<0?s=r:n=r+1}const i=l$(t);return i&&(s=e.lastIndexOf(i,s-1)),s}function l$(t){let e=t;for(;e=e.parent;)if(CS(e)&&kS(t,e)===0)return e}function CS({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function c$(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(gS," "),o=r.indexOf("="),a=nl(o<0?r:r.slice(0,o)),l=o<0?null:nl(r.slice(o+1));if(a in e){let c=e[a];Rs(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function kb(t){let e="";for(let n in t){const s=t[n];if(n=O4(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}(Rs(s)?s.map(r=>r&&Th(r)):[s&&Th(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function u$(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Rs(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const d$=Symbol(""),Cb=Symbol(""),hm=Symbol(""),TS=Symbol(""),Oh=Symbol("");function na(){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 Gi(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(Do(4,{from:n,to:e})):f instanceof Error?l(f):X4(f)?l(Do(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 df(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(pS(l)){const u=(l.__vccOpts||l)[e];u&&r.push(Gi(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=y4(u)?u.default:u;o.mods[a]=u,o.components[a]=d;const h=(d.__vccOpts||d)[e];return h&&Gi(h,n,s,o,a,i)()}))}}return r}function Tb(t){const e=us(hm),n=us(TS),s=Je(()=>{const l=Vn(t.to);return e.resolve(l)}),i=Je(()=>{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(Ro.bind(null,u));if(f>-1)return f;const h=Ab(l[c-2]);return c>1&&Ab(u)===h&&d[d.length-1].path!==h?d.findIndex(Ro.bind(null,l[c-2])):f}),r=Je(()=>i.value>-1&&g$(n.params,s.value.params)),o=Je(()=>i.value>-1&&i.value===n.matched.length-1&&_S(n.params,s.value.params));function a(l={}){if(m$(l)){const c=e[Vn(t.replace)?"replace":"push"](Vn(t.to)).catch(Oa);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:Je(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}function f$(t){return t.length===1?t[0]:t}const h$=Ti({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:Tb,setup(t,{slots:e}){const n=$o(Tb(t)),{options:s}=us(hm),i=Je(()=>({[Ob(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ob(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&f$(e.default(n));return t.custom?r:Ws("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),p$=h$;function m$(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 g$(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(!Rs(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function Ab(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Ob=(t,e,n)=>t??e??n,y$=Ti({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=us(Oh),i=Je(()=>t.route||s.value),r=us(Cb,0),o=Je(()=>{let c=Vn(r);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=Je(()=>i.value.matched[o.value]);_a(Cb,Je(()=>o.value+1)),_a(d$,a),_a(Oh,i);const l=cs();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||!Ro(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 xb(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,_=Ws(f,ye({},p,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return xb(n.default,{Component:_,route:c})||_}}});function xb(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const b$=y$;function v$(t){const e=i$(t.routes,t),n=t.parseQuery||c$,s=t.stringifyQuery||kb,i=t.history,r=na(),o=na(),a=na(),l=Tu(Di);let c=Di;io&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=cf.bind(null,Y=>""+Y),d=cf.bind(null,I4),f=cf.bind(null,nl);function h(Y,dt){let ct,bt;return ES(Y)?(ct=e.getRecordMatcher(Y),bt=dt):bt=Y,e.addRoute(bt,ct)}function p(Y){const dt=e.getRecordMatcher(Y);dt&&e.removeRoute(dt)}function m(){return e.getRoutes().map(Y=>Y.record)}function _(Y){return!!e.getRecordMatcher(Y)}function y(Y,dt){if(dt=ye({},dt||l.value),typeof Y=="string"){const N=uf(n,Y,dt.path),W=e.resolve({path:N.path},dt),st=i.createHref(N.fullPath);return ye(N,W,{params:f(W.params),hash:nl(N.hash),redirectedFrom:void 0,href:st})}let ct;if(Y.path!=null)ct=ye({},Y,{path:uf(n,Y.path,dt.path).path});else{const N=ye({},Y.params);for(const W in N)N[W]==null&&delete N[W];ct=ye({},Y,{params:d(N)}),dt.params=d(dt.params)}const bt=e.resolve(ct,dt),Ut=Y.hash||"";bt.params=u(f(bt.params));const Xt=R4(s,ye({},Y,{hash:A4(Ut),path:bt.path})),A=i.createHref(Xt);return ye({fullPath:Xt,hash:Ut,query:s===kb?u$(Y.query):Y.query||{}},bt,{redirectedFrom:void 0,href:A})}function v(Y){return typeof Y=="string"?uf(n,Y,l.value.path):ye({},Y)}function g(Y,dt){if(c!==Y)return Do(8,{from:dt,to:Y})}function b(Y){return I(Y)}function S(Y){return b(ye(v(Y),{replace:!0}))}function k(Y){const dt=Y.matched[Y.matched.length-1];if(dt&&dt.redirect){const{redirect:ct}=dt;let bt=typeof ct=="function"?ct(Y):ct;return typeof bt=="string"&&(bt=bt.includes("?")||bt.includes("#")?bt=v(bt):{path:bt},bt.params={}),ye({query:Y.query,hash:Y.hash,params:bt.path!=null?{}:Y.params},bt)}}function I(Y,dt){const ct=c=y(Y),bt=l.value,Ut=Y.state,Xt=Y.force,A=Y.replace===!0,N=k(ct);if(N)return I(ye(v(N),{state:typeof N=="object"?ye({},Ut,N.state):Ut,force:Xt,replace:A}),dt||ct);const W=ct;W.redirectedFrom=dt;let st;return!Xt&&D4(s,bt,ct)&&(st=Do(16,{to:W,from:bt}),Vt(bt,bt,!0,!1)),(st?Promise.resolve(st):R(W,bt)).catch(J=>ri(J)?ri(J,2)?J:zt(J):at(J,W,bt)).then(J=>{if(J){if(ri(J,2))return I(ye({replace:A},v(J.to),{state:typeof J.to=="object"?ye({},Ut,J.to.state):Ut,force:Xt}),dt||W)}else J=$(W,bt,!0,A,Ut);return B(W,bt,J),J})}function D(Y,dt){const ct=g(Y,dt);return ct?Promise.reject(ct):Promise.resolve()}function C(Y){const dt=ve.values().next().value;return dt&&typeof dt.runWithContext=="function"?dt.runWithContext(Y):Y()}function R(Y,dt){let ct;const[bt,Ut,Xt]=_$(Y,dt);ct=df(bt.reverse(),"beforeRouteLeave",Y,dt);for(const N of bt)N.leaveGuards.forEach(W=>{ct.push(Gi(W,Y,dt))});const A=D.bind(null,Y,dt);return ct.push(A),Wt(ct).then(()=>{ct=[];for(const N of r.list())ct.push(Gi(N,Y,dt));return ct.push(A),Wt(ct)}).then(()=>{ct=df(Ut,"beforeRouteUpdate",Y,dt);for(const N of Ut)N.updateGuards.forEach(W=>{ct.push(Gi(W,Y,dt))});return ct.push(A),Wt(ct)}).then(()=>{ct=[];for(const N of Xt)if(N.beforeEnter)if(Rs(N.beforeEnter))for(const W of N.beforeEnter)ct.push(Gi(W,Y,dt));else ct.push(Gi(N.beforeEnter,Y,dt));return ct.push(A),Wt(ct)}).then(()=>(Y.matched.forEach(N=>N.enterCallbacks={}),ct=df(Xt,"beforeRouteEnter",Y,dt,C),ct.push(A),Wt(ct))).then(()=>{ct=[];for(const N of o.list())ct.push(Gi(N,Y,dt));return ct.push(A),Wt(ct)}).catch(N=>ri(N,8)?N:Promise.reject(N))}function B(Y,dt,ct){a.list().forEach(bt=>C(()=>bt(Y,dt,ct)))}function $(Y,dt,ct,bt,Ut){const Xt=g(Y,dt);if(Xt)return Xt;const A=dt===Di,N=io?history.state:{};ct&&(bt||A?i.replace(Y.fullPath,ye({scroll:A&&N&&N.scroll},Ut)):i.push(Y.fullPath,Ut)),l.value=Y,Vt(Y,dt,ct,A),zt()}let H;function X(){H||(H=i.listen((Y,dt,ct)=>{if(!Se.listening)return;const bt=y(Y),Ut=k(bt);if(Ut){I(ye(Ut,{replace:!0,force:!0}),bt).catch(Oa);return}c=bt;const Xt=l.value;io&&j4(mb(Xt.fullPath,ct.delta),yd()),R(bt,Xt).catch(A=>ri(A,12)?A:ri(A,2)?(I(ye(v(A.to),{force:!0}),bt).then(N=>{ri(N,20)&&!ct.delta&&ct.type===sl.pop&&i.go(-1,!1)}).catch(Oa),Promise.reject()):(ct.delta&&i.go(-ct.delta,!1),at(A,bt,Xt))).then(A=>{A=A||$(bt,Xt,!1),A&&(ct.delta&&!ri(A,8)?i.go(-ct.delta,!1):ct.type===sl.pop&&ri(A,20)&&i.go(-1,!1)),B(bt,Xt,A)}).catch(Oa)}))}let ot=na(),K=na(),Q;function at(Y,dt,ct){zt(Y);const bt=K.list();return bt.length?bt.forEach(Ut=>Ut(Y,dt,ct)):console.error(Y),Promise.reject(Y)}function kt(){return Q&&l.value!==Di?Promise.resolve():new Promise((Y,dt)=>{ot.add([Y,dt])})}function zt(Y){return Q||(Q=!Y,X(),ot.list().forEach(([dt,ct])=>Y?ct(Y):dt()),ot.reset()),Y}function Vt(Y,dt,ct,bt){const{scrollBehavior:Ut}=t;if(!io||!Ut)return Promise.resolve();const Xt=!ct&&B4(mb(Y.fullPath,0))||(bt||!ct)&&history.state&&history.state.scroll||null;return Vr().then(()=>Ut(Y,dt,Xt)).then(A=>A&&H4(A)).catch(A=>at(A,Y,dt))}const Bt=Y=>i.go(Y);let ge;const ve=new Set,Se={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:_,getRoutes:m,resolve:y,options:t,push:b,replace:S,go:Bt,back:()=>Bt(-1),forward:()=>Bt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:K.add,isReady:kt,install(Y){const dt=this;Y.component("RouterLink",p$),Y.component("RouterView",b$),Y.config.globalProperties.$router=dt,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>Vn(l)}),io&&!ge&&l.value===Di&&(ge=!0,b(i.location).catch(Ut=>{}));const ct={};for(const Ut in Di)Object.defineProperty(ct,Ut,{get:()=>l.value[Ut],enumerable:!0});Y.provide(hm,dt),Y.provide(TS,Bh(ct)),Y.provide(Oh,l);const bt=Y.unmount;ve.add(Y),Y.unmount=function(){ve.delete(Y),ve.size<1&&(c=Di,H&&H(),H=null,l.value=Di,ge=!1,Q=!1),bt()}}};function Wt(Y){return Y.reduce((dt,ct)=>dt.then(()=>C(ct)),Promise.resolve())}return Se}function _$(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=>Ro(c,a))?s.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Ro(c,l))||i.push(l))}return[n,s,i]}const S$={name:"ContentWithHeading",data(){return{hidden:!0}},computed:{icon(){return this.hidden?"chevron-down":"chevron-up"}}},E$={class:"container"},w$={class:"columns is-centered"},k$={class:"column is-four-fifths"},C$={key:0,class:"my-2"},T$={class:"buttons is-centered"},A$={class:"level is-clipped"},O$={class:"level-left"},x$={class:"level-item has-text-centered-mobile"},I$={key:0,class:"level-right is-flex-shrink-1 has-text-centered-mobile"},N$={class:"buttons"},P$={key:0,class:"is-flex is-justify-content-center mt-4"};function R$(t,e,n,s,i,r){const o=w("mdicon");return O(),F("section",{class:Gt(["section",{"pt-0":t.$slots.options}])},[P("div",E$,[P("div",w$,[P("div",k$,[t.$slots.options?(O(),F("div",C$,[P("div",{class:Gt([{"is-hidden":i.hidden},"mt-4"])},[le(t.$slots,"options")],2),P("div",T$,[P("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"])])])])):_t("",!0),P("div",null,[P("nav",A$,[P("div",O$,[P("div",x$,[P("div",null,[le(t.$slots,"heading")])])]),t.$slots.actions?(O(),F("div",I$,[P("div",N$,[le(t.$slots,"actions")])])):_t("",!0)]),le(t.$slots,"content"),t.$slots.footer?(O(),F("div",P$,[le(t.$slots,"footer")])):_t("",!0)])])])])],2)}const ie=nt(S$,[["render",R$]]),D$={name:"ControlButton",props:{button:{required:!0,type:Object}}},L$=["disabled"],M$=["textContent"],$$=["textContent"];function F$(t,e,n,s,i,r){const o=w("mdicon");return O(),F("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?(O(),yt(o,{key:0,class:"icon",name:n.button.icon,size:"16"},null,8,["name"])):_t("",!0),n.button.key?(O(),F("span",{key:1,textContent:et(t.$t(n.button.key))},null,8,M$)):_t("",!0),n.button.title?(O(),F("span",{key:2,textContent:et(n.button.title)},null,8,$$)):_t("",!0)],8,L$)}const un=nt(D$,[["render",F$]]),V$={name:"PaneTitle",props:{content:{required:!0,type:Object}}},U$=["textContent"],H$={class:"is-size-7 is-uppercase"},j$=["onClick","textContent"],B$=["textContent"],W$={key:2};function G$(t,e,n,s,i,r){return O(),F(it,null,[n.content.title?(O(),F("div",{key:0,class:"title is-4",textContent:et(n.content.title)},null,8,U$)):_t("",!0),P("div",H$,[(O(!0),F(it,null,de(n.content.subtitle,(o,a)=>(O(),F(it,{key:a},[o.handler?(O(),F("a",{key:0,onClick:o.handler,textContent:et(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,j$)):(O(),F("span",{key:1,textContent:et(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,B$)),a!==n.content.subtitle.length-1?(O(),F("span",W$," | ")):_t("",!0)],64))),128))])],64)}const re=nt(V$,[["render",G$]]),K$={name:"PageAbout",components:{ContentWithHeading:ie,ControlButton:un,PaneTitle:re},setup(){return{configurationStore:jo(),libraryStore:Gu(),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}}},q$=["textContent"],z$={class:"media-right"},X$=["textContent"],Y$=["textContent"],Z$=["textContent"],J$=["textContent"],Q$=["textContent"];function t5(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 O(),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:Gt({"is-loading":s.libraryStore.updating}),disabled:s.libraryStore.updating},null,8,["button","class","disabled"])]),content:M(()=>[(O(!0),F(it,null,de(r.properties,u=>(O(),F("div",{key:u.key,class:"media is-align-items-center mb-0"},[P("div",{class:"media-content has-text-weight-bold",textContent:et(t.$t(u.key))},null,8,q$),P("div",z$,[P("span",{textContent:et(u.value)},null,8,X$),u.alternate?(O(),F("span",{key:0,class:"has-text-grey",textContent:et(` (${u.alternate})`)},null,8,Y$)):_t("",!0)])]))),128)),P("div",{class:"is-size-7 mt-6",textContent:et(t.$t("page.about.version",{version:s.configurationStore.version}))},null,8,Z$),P("div",{class:"is-size-7",textContent:et(t.$t("page.about.compiled-with",{options:s.configurationStore.buildoptions.join(", ")}))},null,8,J$),E(l,{tag:"div",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:M(()=>e[0]||(e[0]=[P("a",{href:"https://bulma.io"},"Bulma",-1)])),mdi:M(()=>e[1]||(e[1]=[P("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])),vuejs:M(()=>e[2]||(e[2]=[P("a",{href:"https://vuejs.org/"},"Vue.js",-1)])),axios:M(()=>e[3]||(e[3]=[P("a",{href:"https://github.com/axios/axios"},"axios",-1)])),others:M(()=>[P("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:et(t.$t("page.about.more"))},null,8,Q$)]),_:1})]),_:1})}const e5=nt(K$,[["render",t5]]),n5={name:"ContentWithHero"},s5={class:"section"},i5={class:"container"},r5={class:"columns is-centered"},o5={class:"column is-four-fifths"},a5={class:"columns is-flex-direction-row-reverse"},l5={class:"column is-flex has-image"},c5={class:"column m-auto is-three-fifths has-text-centered-mobile"},u5={class:"section pt-0"},d5={class:"container"},f5={class:"columns is-centered"},h5={class:"column is-four-fifths"};function p5(t,e,n,s,i,r){return O(),F(it,null,[P("section",s5,[P("div",i5,[P("div",r5,[P("div",o5,[P("div",a5,[P("div",l5,[le(t.$slots,"image",{},void 0,!0)]),P("div",c5,[le(t.$slots,"heading",{},void 0,!0)])])])])])]),P("section",u5,[P("div",d5,[P("div",f5,[P("div",h5,[le(t.$slots,"content",{},void 0,!0),le(t.$slots,"footer",{},void 0,!0)])])])])],64)}const bd=nt(n5,[["render",p5],["__scopeId","data-v-971a160a"]]),m5=t=>{let e=0;for(const n of t)e=n.charCodeAt(0)+e*31;return(e%16777215).toString(16).padStart(6,"0")},g5=t=>[.2126,.7152,.0722].reduce((e,n,s)=>e+ +`0x${t.slice(s*2,s*2+2)}`*n,0)/255,y5=t=>{const e=m5(t.alternate);let n="#FFFFFF";g5(e)>.5&&(n="#000000");const s=`<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="${n}">
|
||
${t.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(s)}`},b5={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{lifecycle:{error:t=>{t.src=this.uri}},src:this.url||this.uri}},uri(){return y5({alternate:this.caption,caption:this.caption.substring(0,2),font:this.font,size:this.size})}}},v5={class:"figure has-shadow is-clickable"};function _5(t,e,n,s,i,r){const o=Qh("lazy");return O(),F("figure",v5,[ms(P("img",{onClick:e[0]||(e[0]=a=>t.$emit("click"))},null,512),[[o,r.source]])])}const jr=nt(b5,[["render",_5],["__scopeId","data-v-e43b98b9"]]),{t:Jl,locale:S5}=Gs.global,AS="NO_INDEX",E5=(t,e)=>t-e,w5=(t,e)=>t.localeCompare(e,S5.value),k5=(t,e)=>{const n=Date.parse(t),s=Date.parse(e),i=isNaN(n),r=isNaN(s);return i&&r?0:i&&1||r&&-1||n-s},C5=t=>t.map(({field:e,type:n,order:s=1})=>{switch(n){case String:return(i,r)=>w5(i[e],r[e])*s;case Number:return(i,r)=>E5(i[e],r[e])*s;case Date:return(i,r)=>k5(i[e],r[e])*s;default:return()=>0}}),T5=(t="")=>{const e=t.charAt(0);return e.match(new RegExp("\\p{Letter}","gu"))?e.toUpperCase():e.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},A5=t=>{},O5=[{difference:NaN,text:()=>Jl("grouped-list.undefined")},{difference:864e5,text:()=>Jl("grouped-list.today")},{difference:6048e5,text:()=>Jl("grouped-list.last-week")},{difference:2592e6,text:()=>Jl("grouped-list.last-month")},{difference:1/0,text:t=>t.getFullYear()}],x5=t=>{const e=new Date(t),n=new Date-e;return O5.find(s=>isNaN(n)||n<s.difference)?.text(e)},I5=({field:t,type:e}={})=>{switch(e){case String:return n=>T5(n[t]);case Number:return n=>n[t];case Date:return n=>x5(n[t]);case"Digits":return n=>A5(n[t]);default:return()=>AS}};class Ct{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=C5(e),o=i.sort((l,c)=>r.reduce((u,d)=>u||d(l,c),0)),a=I5(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!==AS&&(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 pm={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)}%`}}},Ib=()=>{ap(t=>({"3ce61f74":t.offset}))},Nb=pm.setup;pm.setup=Nb?(t,e)=>(Ib(),Nb(t,e)):Ib;const N5={class:"is-flex"},P5=["width","height"],R5=["textContent"];function D5(t,e,n,s,i,r){return O(),F("div",N5,[(O(),F("svg",{width:n.size,height:n.size,viewBox:"0 0 200 200"},[e[0]||(e[0]=P("defs",null,[P("circle",{id:"circle",cx:"50%",cy:"50%",pathLength:"1",r:"90"})],-1)),e[1]||(e[1]=P("use",{href:"#circle",class:"progress-base"},null,-1)),e[2]||(e[2]=P("use",{href:"#circle",class:"progress-bar"},null,-1)),P("text",{x:"50%",y:"50%",class:"is-size-1 progress-text",textContent:et(r.progress)},null,8,R5)],8,P5))])}const L5=nt(pm,[["render",D5],["__scopeId","data-v-06c7995f"]]),M5={name:"ListItem",components:{ControlImage:jr,ControlProgress:L5},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")}}},$5={key:0,class:"py-5"},F5={class:"media-content"},V5=["id","textContent"],U5={class:"media-content"},H5=["textContent"],j5={key:0,class:"is-size-7 has-text-grey"},B5={key:2,class:"media-right"},W5={class:"media-right"};function G5(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-image"),l=w("control-progress");return n.isItem?(O(),F("div",{key:1,class:Gt(["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?(O(),yt(o,{key:0,class:"media-left icon",name:n.icon},null,8,["name"])):_t("",!0),n.image?(O(),yt(a,{key:1,url:n.image.url,caption:n.image.caption,class:"media-left is-small"},null,8,["url","caption"])):_t("",!0),P("div",U5,[(O(!0),F(it,null,de(n.lines,(c,u)=>(O(),F("div",{key:u,class:Gt({"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:et(c)},null,10,H5))),128)),n.isPlayable?_t("",!0):(O(),F("div",j5,[le(t.$slots,"reason",{},void 0,!0)]))]),n.progress?(O(),F("div",B5,[E(l,{value:n.progress},null,8,["value"])])):_t("",!0),P("div",W5,[P("a",{onClick:e[0]||(e[0]=Bn((...c)=>r.openDetails&&r.openDetails(...c),["prevent","stop"]))},[E(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})])])],2)):(O(),F("div",$5,[P("div",F5,[P("span",{id:`index_${n.index}`,class:"tag is-small has-text-weight-bold",textContent:et(n.index)},null,8,V5)])]))}const $s=nt(M5,[["render",G5],["__scopeId","data-v-8ec36f11"]]),K5={name:"ListProperties",components:{ControlImage:jr},props:{item:{required:!0,type:Object}}},q5=["textContent"],z5={class:"title is-6"},X5=["onClick","textContent"],Y5=["textContent"];function Z5(t,e,n,s,i,r){const o=w("control-image");return O(),F(it,null,[n.item.image?(O(),yt(o,{key:0,url:n.item.image,caption:n.item.name,class:"is-normal mb-5"},null,8,["url","caption"])):_t("",!0),t.$slots.buttons?le(t.$slots,"buttons",{key:1}):_t("",!0),(O(!0),F(it,null,de(n.item.properties?.filter(a=>a.value),a=>(O(),F("div",{key:a.key,class:"mb-3"},[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t(a.key))},null,8,q5),P("div",z5,[a.handler?(O(),F("a",{key:0,onClick:a.handler,textContent:et(a.value)},null,8,X5)):(O(),F("span",{key:1,class:"title is-6",textContent:et(a.value)},null,8,Y5))])]))),128))],64)}const OS=nt(K5,[["render",Z5]]),J5={name:"ModalDialogPlayable",components:{ControlButton:un,ListProperties:OS,ModalDialog:rr},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:{addNextToQueue(){this.$emit("close"),this.item.expression?ae.addExpression(this.item.expression,!0):ae.addUri(this.item.uris||this.item.uri,!0)},addToQueue(){this.$emit("close"),this.item.expression?ae.addExpression(this.item.expression):ae.addUri(this.item.uris||this.item.uri)},play(){this.$emit("close"),this.item.expression?ae.playExpression(this.item.expression,!1):ae.playUri(this.item.uris||this.item.uri,!1)}}},Q5={class:"buttons"};function t8(t,e,n,s,i,r){const o=w("control-button"),a=w("list-properties"),l=w("modal-dialog");return O(),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},cl({_:2},[n.buttons.length?{name:"buttons",fn:M(()=>[P("div",Q5,[(O(!0),F(it,null,de(n.buttons,c=>(O(),yt(o,{key:c.key,button:c},null,8,["button"]))),128))])]),key:"0"}:void 0]),1032,["item"])]),_:1},8,["actions","show","title"])}const bs=nt(J5,[["render",t8]]),e8={name:"ModalDialogTrack",components:{ModalDialogPlayable:bs},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",{bitrate:this.item.bitrate,count: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",{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(){Tt.updateTrack(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},markAsPlayed(){Tt.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:"audiobook-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:"audiobook-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 n8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),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 s8=nt(e8,[["render",n8]]),i8={name:"ListTracks",components:{ListItem:$s,ModalDialogTrack:s8},props:{expression:{default:"",type:String},icon:{default:null,type:String},items:{default:null,type:Object},load:{default:null,type:Function},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?ae.playUri(this.uris,!1,this.items.items.indexOf(t)):this.expression?ae.playExpression(this.expression,!1,this.items.items.indexOf(t)):ae.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 r8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-track");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),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 es=nt(i8,[["render",r8]]),o8={name:"ModalDialogAlbum",components:{ModalDialog:rr,ModalDialogPlayable:bs},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.computedMediaKind==="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"}]:[]},computedMediaKind(){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(){Tt.updateAlbum(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openArtist(){this.$emit("close"),this.$router.push({name:`${this.computedMediaKind}-artist`,params:{id:this.item.artist_id}})},openRemovePodcastDialog(){this.showRemovePodcastModal=!0,this.showDetailsModal=!1},removePodcast(){this.showRemovePodcastModal=!1,Tt.albumTracks(this.item.id,{limit:1}).then(t=>{Tt.trackPlaylists(t.items[0].id).then(e=>{const{id:n}=e.items.find(s=>s.type==="rss");Tt.playlistDelete(n).then(()=>{this.$emit("podcast-deleted"),this.$emit("close")})})})}}},a8=["textContent"];function l8(t,e,n,s,i,r){const o=w("modal-dialog-playable"),a=w("i18n-t"),l=w("modal-dialog");return O(),F(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,{tag:"p",keypath:"dialog.podcast.remove.info",scope:"global"},{separator:M(()=>e[2]||(e[2]=[P("br",null,null,-1)])),name:M(()=>[P("b",{textContent:et(n.item.name)},null,8,a8)]),_:1})]),_:1},8,["actions","show","title","onRemove"])],64)}const vd=nt(o8,[["render",l8]]),c8={name:"PaneHero",components:{ControlButton:un},props:{content:{required:!0,type:Object}}},u8=["textContent"],d8={class:"subtitle is-6"},f8=["textContent"],h8=["textContent"],p8={class:"buttons is-centered-mobile mt-5"};function m8(t,e,n,s,i,r){const o=w("control-button");return O(),F(it,null,[P("div",{class:"title is-5",textContent:et(n.content.title)},null,8,u8),P("div",d8,[P("a",{onClick:e[0]||(e[0]=(...a)=>n.content.handler&&n.content.handler(...a)),textContent:et(n.content.subtitle)},null,8,f8)]),P("div",{class:"is-size-7 is-uppercase has-text-centered-mobile",textContent:et(n.content.count)},null,8,h8),P("div",p8,[(O(!0),F(it,null,de(n.content.actions,(a,l)=>(O(),yt(o,{key:l,button:a},null,8,["button"]))),128))])],64)}const _d=nt(c8,[["render",m8]]),g8={name:"PageAlbum",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(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 Ct}},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(){ae.playUri(this.album.uri,!0)}}};function y8(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 O(),F(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-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 b8=nt(g8,[["render",y8]]);function v8(t){return t.scrollHeight}function _8(t){return t.scrollWidth}function S8(t,e){t.scrollTop=t.scrollHeight-e+t.scrollTop}function E8(t,e){t.scrollLeft=t.scrollWidth-e+t.scrollLeft}const w8=P("div",{class:"loading"},"Loading...",-1),k8=P("div",{class:"no-more"},"No more.",-1),C8=P("div",{class:"no-results"},"No results.",-1),T8=P("div",{class:"error"},"Error.",-1),A8=Ti({__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=cs();let i=cs("loading"),r=cs(n.isInitial),o=0;function a(){Vr(()=>{var g,b;n.position==="top"?S8((g=n.container)!=null?g:document.documentElement,o):n.position==="left"&&E8((b=n.container)!=null?b:document.documentElement,o)})}function l(g,b){return g===0?r.value?(u(),"no-results"):(c(),"no-more"):g!==void 0&&b!==void 0&&g<b?(c(),"no-more"):(r.value=!1,a(),_(),"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"),_()}function h(){p("loading"),_()}function p(g){i.value=g}function m(){s.value&&v.unobserve(s.value)}function _(){s.value&&v.observe(s.value)}function y(){return new IntersectionObserver(([g])=>{var b,S;g.isIntersecting&&(n.position==="top"?o=v8((b=n.container)!=null?b:document.documentElement):n.position==="left"&&(o=_8((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 v;return typeof IntersectionObserver<"u"&&gv(()=>{v&&m(),v=y(),_()},{flush:"post"}),Zn(()=>n.isInitial,g=>{g&&f()}),Zn(r,g=>{g||e("update:isInitial",!1)}),(g,b)=>(O(),F("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:s},[Vn(i)==="loading"?le(g.$slots,"loading",ao(co({key:0},{isFirstLoad:Vn(r)})),()=>[w8]):Vn(i)==="no-more"?le(g.$slots,"no-more",ao(co({key:1},{retry:h})),()=>[k8]):Vn(i)==="no-results"?le(g.$slots,"no-results",ao(co({key:2},{retry:h})),()=>[C8]):Vn(i)==="error"?le(g.$slots,"error",ao(co({key:3},{retry:h})),()=>[T8]):_t("",!0)],512))}}),O8={name:"LoaderListItem",components:{VueEternalLoading:A8},props:{load:{default:null,type:Function}}},x8={class:"columns is-centered"},I8={class:"column has-text-centered"};function N8(t,e,n,s,i,r){const o=w("mdicon"),a=w("vue-eternal-loading");return n.load?(O(),yt(a,{key:0,load:n.load},{loading:M(()=>[P("div",x8,[P("div",I8,[E(o,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":M(()=>e[0]||(e[0]=[P("br",null,null,-1)])),"no-results":M(()=>e[1]||(e[1]=[P("br",null,null,-1)])),_:1},8,["load"])):_t("",!0)}const Sd=nt(O8,[["render",N8]]),P8={name:"ModalDialogTrackSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){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:this.item.artists[0]?.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.album.release_date)},{key:"property.position",value:this.item.track_number>0&&[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 R8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const D8=nt(P8,[["render",R8]]),L8={name:"ListTracksSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogTrackSpotify:D8},props:{contextUri:{default:"",type:String},items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){t.is_playable&&ae.playUri(this.contextUri||t.uri,!1,t.position||0)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}},M8=["textContent"],$8=["textContent"];function F8(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-track-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),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)},cl({_:2},[c.is_playable?void 0:{name:"reason",fn:M(()=>[e[1]||(e[1]=Ys(" (",-1)),P("span",{textContent:et(t.$t("list.spotify.not-playable-track"))},null,8,M8),c.restrictions?.reason?(O(),F("span",{key:0,textContent:et(t.$t("list.spotify.restriction-reason",{reason:c.restrictions.reason}))},null,8,$8)):_t("",!0),e[2]||(e[2]=Ys(") ",-1))]),key:"0"}]),1032,["is-playable","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const mm=nt(L8,[["render",F8]]),V8={name:"ModalDialogAlbumSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name||"",properties:[{handler:this.openArtist,key:"property.artist",value:this.item?.artists?.[0]?.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 U8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const xS=nt(V8,[["render",U8]]),H8={name:"PageAlbumSpotify",components:{ContentWithHero:bd,ControlImage:jr,ListTracksSpotify:mm,ModalDialogAlbumSpotify:xS,PaneHero:_d},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.albums.get(t.params.id,i.webapi_country).then(r=>{n(o=>{o.album=r})})})},setup(){return{servicesStore:Qn()}},data(){return{album:{artists:[{}],tracks:{}},showDetailsModal:!1}},computed:{heading(){return{actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}],count:this.$t("data.tracks",{count:this.album.tracks.total}),handler:this.openArtist,subtitle:this.album.artists[0].name,title:this.album.name}},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,ae.playUri(this.album.uri,!0)}}};function j8(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 O(),F(it,null,[E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.images?.[0]?.url??"",caption:i.album.name,class:"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 B8=nt(H8,[["render",j8]]),W8={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)}}},G8={class:"dropdown-trigger"},K8=["textContent"],q8={id:"dropdown",class:"dropdown-menu",role:"menu"},z8={class:"dropdown-content"},X8=["onClick","textContent"];function Y8(t,e,n,s,i,r){const o=w("mdicon"),a=Qh("click-away");return ms((O(),F("div",{class:Gt(["dropdown",{"is-active":i.active}])},[P("div",G8,[P("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:e[0]||(e[0]=l=>i.active=!i.active)},[P("span",{textContent:et(r.option.name)},null,8,K8),E(o,{class:"icon",name:"chevron-down",size:"16"})])]),P("div",q8,[P("div",z8,[(O(!0),F(it,null,de(n.options,l=>(O(),F("a",{key:l.id,class:Gt(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>r.select(l),textContent:et(l.name)},null,10,X8))),128))])])],2)),[[a,r.deactivate]])}const Br=nt(W8,[["render",Y8]]),Z8={name:"ListAlbums",components:{ListItem:$s,ModalDialogAlbum:vd},props:{items:{required:!0,type:Object},load:{default:null,type:Function},mediaKind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.item.name,url:t.item.artwork_url}:null},open(t){const e=this.mediaKind||t.media_kind;e==="podcast"?this.$router.push({name:"podcast",params:{id:t.id}}):this.$router.push({name:`${e}-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 J8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-album");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),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 hs=nt(Z8,[["render",J8]]),Q8={name:"ListIndexButtons",props:{indices:{required:!0,type:Array}}},t6={class:"buttons is-centered mb-4"};function e6(t,e,n,s,i,r){const o=w("router-link");return O(),F("section",null,[P("nav",t6,[(O(!0),F(it,null,de(n.indices,a=>(O(),yt(o,{key:a,class:"button is-small p-2 is-index",to:{hash:`#index_${a}`,query:t.$route.query}},{default:M(()=>[Ys(et(a),1)]),_:2},1032,["to"]))),128))])])}const vs=nt(Q8,[["render",e6],["__scopeId","data-v-dc002763"]]),n6={name:"ListOptions"},s6={class:"columns"},i6={key:0,class:"column"},r6=["textContent"],o6={key:1,class:"column"},a6=["textContent"];function l6(t,e,n,s,i,r){return O(),F("div",s6,[t.$slots.filter?(O(),F("div",i6,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("options.filter.title"))},null,8,r6),le(t.$slots,"filter")])):_t("",!0),t.$slots.sort?(O(),F("div",o6,[P("div",{class:"is-size-7 is-uppercase",textContent:et(t.$t("options.sort.title"))},null,8,a6),le(t.$slots,"sort")])):_t("",!0)])}const Xo=nt(n6,[["render",l6]]),c6={name:"ControlTabList",props:{links:{required:!0,type:Array}}},u6={class:"section py-0 tabs-section"},d6={class:"container"},f6={class:"columns is-centered my-0"},h6={class:"column is-four-fifths py-0"},p6={class:"tabs is-centered is-small"},m6=["onClick","onKeypress"],g6=["textContent"];function y6(t,e,n,s,i,r){const o=w("mdicon"),a=w("router-link");return O(),F("section",u6,[P("div",d6,[P("div",f6,[P("div",h6,[P("div",p6,[P("ul",null,[(O(!0),F(it,null,de(n.links,l=>(O(),yt(a,{key:l.to.name,to:{name:l.to.name},custom:""},{default:M(({navigate:c,isActive:u})=>[P("li",{class:Gt({"is-active":u})},[P("a",{onClick:c,onKeypress:Xv(c,["enter"])},[l.icon?(O(),yt(o,{key:0,class:"icon is-small mx-1",name:l.icon},null,8,["name"])):_t("",!0),P("span",{class:Gt({"is-hidden-mobile":l.icon}),textContent:et(t.$t(l.key))},null,10,g6)],40,m6)],2)]),_:2},1032,["to"]))),128))])])])])])])}const gm=nt(c6,[["render",y6],["__scopeId","data-v-51d61991"]]),b6={name:"TabsMusic",components:{ControlTabList:gm},setup(){return{servicesStore:Qn()}},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 v6(t,e,n,s,i,r){const o=w("control-tab-list");return O(),yt(o,{links:r.links},null,8,["links"])}const ti=nt(b6,[["render",v6]]),_6={name:"PageAlbums",components:{ContentWithHeading:ie,ControlDropdown:Br,ControlSwitch:Ur,ListAlbums:hs,ListIndexButtons:vs,ListOptions:Xo,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.albums("music").then(s=>{n(i=>{i.albumList=new Ct(s)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{albumList:new Ct}},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")}}}},S6=["textContent"],E6=["textContent"],w6=["textContent"],k6=["textContent"];function C6(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 O(),F(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(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles"))},null,8,S6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles-help"))},null,8,E6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,w6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,k6)]),_:1},8,["modelValue"])):_t("",!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 T6=nt(_6,[["render",C6]]),A6={name:"ModalDialogArtist",components:{ModalDialogPlayable:bs},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 O6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const Ed=nt(A6,[["render",O6]]),x6={name:"PageArtist",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ControlSwitch:Ur,ListAlbums:hs,ListOptions:Xo,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albumList=new Ct(i)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{albumList:new Ct,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?.item.track_count||0),0)}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){ae.playUri(this.albums.items.map(t=>t.uri).join(),!0)}}},I6=["textContent"],N6=["textContent"];function P6(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 O(),F(it,null,[E(f,null,{options:M(()=>[E(l,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(O(),yt(o,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,I6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,N6)]),_:1},8,["modelValue"])):_t("",!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 R6=nt(x6,[["render",P6]]),D6={name:"ListAlbumsSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogAlbumSpotify:xS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url??""}:null},open(t){this.$router.push({name:"music-spotify-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function L6(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-album-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.artists[0]?.name,t.$formatters.toDate(c.release_date)],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const wd=nt(D6,[["render",L6]]),M6={name:"ModalDialogArtistSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name,properties:[{key:"property.popularity",value:[this.item.popularity,this.item.followers?.total].join(" / ")},{key:"property.genres",value:this.item.genres?.join(", ")}],uri:this.item.uri}}}};function $6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const IS=nt(M6,[["render",$6]]),ff=50,F6={name:"PageArtistSpotify",components:{ContentWithHeading:ie,ControlButton:un,ListAlbumsSpotify:wd,ModalDialogArtistSpotify:IS,PaneTitle:re},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.artists.get(t.params.id),s.artists.albums(t.params.id,"album,single",i.webapi_country,ff,0)]).then(([r,o])=>{n(a=>{a.artist=r,a.albums=o.items,a.total=o.total,a.offset=o.limit})})})},data(){return{albums:[],artist:{},offset:0,showDetailsModal:!1,total:0}},computed:{heading(){return{subtitle:[{count:this.total,key:"data.albums"}],title:this.artist.name}}},methods:{appendAlbums(t){this.albums=this.albums.concat(t.items),this.total=t.total,this.offset+=t.limit},load({loaded:t}){Nn.spotify().then(({api:e,configuration:n})=>{e.artists.albums(this.artist.id,"album,single",n.webapi_country,ff,this.offset).then(s=>{this.appendAlbums(s),t(s.items.length,ff)})})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ae.playUri(this.artist.uri,!0)}}};function V6(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 O(),F(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},null,8,["items","load"])]),_:1}),E(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const U6=nt(F6,[["render",V6]]),H6={name:"PageArtistTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ControlSwitch:Ur,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.trackList=new Ct(i)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{artist:{},showDetailsModal:!1,trackList:new Ct}},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(){ae.playUri(this.trackList.items.map(t=>t.uri).join(),!0)}}},j6=["textContent"],B6=["textContent"];function W6(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 O(),F(it,null,[E(h,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(c,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(O(),yt(a,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=m=>s.uiStore.hideSpotify=m)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,j6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,B6)]),_:1},8,["modelValue"])):_t("",!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 G6=nt(H6,[["render",W6]]),K6={name:"ListArtists",components:{ListItem:$s,ModalDialogArtist:Ed},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:`${t.media_kind}-artist`,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function q6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-artist");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),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 ym=nt(K6,[["render",q6]]),z6={name:"PageArtists",components:{ContentWithHeading:ie,ControlDropdown:Br,ControlSwitch:Ur,ListArtists:ym,ListIndexButtons:vs,ListOptions:Xo,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.artists("music").then(s=>{n(i=>{i.artistList=new Ct(s)})})},setup(){return{servicesStore:Qn(),uiStore:ts()}},data(){return{artistList:new Ct}},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")}}}},X6=["textContent"],Y6=["textContent"],Z6=["textContent"],J6=["textContent"];function Q6(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 O(),F(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(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles"))},null,8,X6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-singles-help"))},null,8,Y6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),yt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify"))},null,8,Z6)]),help:M(()=>[P("span",{textContent:et(t.$t("options.filter.hide-spotify-help"))},null,8,J6)]),_:1},8,["modelValue"])):_t("",!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 tF=nt(z6,[["render",Q6]]),eF={name:"PageAudiobookAlbum",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},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:"audiobook-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.album.uri,!1)}}};function nF(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 O(),F(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-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 sF=nt(eF,[["render",nF]]),iF={name:"TabsAudiobooks",components:{ControlTabList:gm},computed:{links(){return[{icon:"account-music",key:"page.audiobooks.tabs.authors",to:{name:"audiobook-artists"}},{icon:"album",key:"page.audiobooks.tabs.audiobooks",to:{name:"audiobook-albums"}},{icon:"speaker",key:"page.audiobooks.tabs.genres",to:{name:"audiobook-genres"}}]}}};function rF(t,e,n,s,i,r){const o=w("control-tab-list");return O(),yt(o,{links:r.links},null,8,["links"])}const bm=nt(iF,[["render",rF]]),oF={name:"PageAudiobookAlbums",components:{ContentWithHeading:ie,ListAlbums:hs,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.albums("audiobook").then(s=>{n(i=>{i.albums=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct}},computed:{heading(){return{subtitle:[{count:this.albums.count,key:"data.audiobooks"}],title:this.$t("page.audiobooks.albums.title")}}}};function aF(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 O(),F(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 lF=nt(oF,[["render",aF]]),cF={name:"PageAudiobookArtist",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ModalDialogArtist:Ed,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,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(){ae.playUri(this.albums.items.map(t=>t.uri).join(),!1)}}};function uF(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 O(),F(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 dF=nt(cF,[["render",uF]]),fF={name:"PageAudiobookArtists",components:{ContentWithHeading:ie,ListArtists:ym,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.artists("audiobook").then(s=>{n(i=>{i.artists=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{artists:new Ct}},computed:{heading(){return{subtitle:[{count:this.artists.count,key:"data.authors"}],title:this.$t("page.audiobooks.artists.title")}}}};function hF(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 O(),F(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 pF=nt(fF,[["render",hF]]),mF={name:"ModalDialogGenre",components:{ModalDialogPlayable:bs},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 gF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const vm=nt(mF,[["render",gF]]),yF={name:"ListGenres",components:{ListItem:$s,ModalDialogGenre:vm},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 bF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-genre");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),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 NS=nt(yF,[["render",bF]]),vF={name:"PageAudiobooksGenres",components:{ContentWithHeading:ie,ListGenres:NS,ListIndexButtons:vs,PaneTitle:re,TabsAudiobooks:bm},beforeRouteEnter(t,e,n){Tt.genres("audiobook").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function _F(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 O(),F(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 SF=nt(vF,[["render",_F]]),EF={name:"ModalDialogComposer",components:{ModalDialogPlayable:bs},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 wF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const _m=nt(EF,[["render",wF]]),kF={name:"PageComposerAlbums",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ModalDialogComposer:_m,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerAlbums(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,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(){ae.playExpression(this.expression,!0)}}};function CF(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 O(),F(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 TF=nt(kF,[["render",CF]]),AF={name:"PageComposerTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogComposer:_m,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerTracks(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.trackList=new Ct(i)})})},setup(){return{uiStore:ts()}},data(){return{composer:{},showDetailsModal:!1,trackList:new Ct}},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(){ae.playExpression(this.expression,!0)}}};function OF(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 O(),F(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 xF=nt(AF,[["render",OF]]),IF={name:"ListComposers",components:{ListItem:$s,ModalDialogComposer:_m},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"music-composer-albums",params:{name:t.name}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function NF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-composer");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),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 PS=nt(IF,[["render",NF]]),PF={name:"PageComposers",components:{ContentWithHeading:ie,ListComposers:PS,ListIndexButtons:vs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.composers("music").then(s=>{n(i=>{i.composers=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{composers:new Ct}},computed:{heading(){return{subtitle:[{count:this.composers.total,key:"data.composers"}],title:this.$t("page.composers.title")}}}};function RF(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 O(),F(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 DF=nt(PF,[["render",RF]]),LF={name:"ModalDialogDirectory",components:{ModalDialogPlayable:bs},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 MF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const $F=nt(LF,[["render",MF]]),FF={name:"ListDirectories",components:{ListItem:$s,ModalDialogDirectory:$F},props:{items:{required:!0,type:Array}},data(){return{selectedItem:"",showDetailsModal:!1}},computed:{directories(){const t=[];let e="";return this.$route.query?.directory.split("/").slice(1,-1).forEach((n,s)=>{e=`${e}/${n}`,t.push({index:s,name:n,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())}}},VF={key:0,class:"media is-align-items-center mb-0"},UF={class:"media-content"},HF={class:"breadcrumb"},jF=["onClick","textContent"],BF={class:"media-right"};function WF(t,e,n,s,i,r){const o=w("mdicon"),a=w("list-item"),l=w("modal-dialog-directory");return O(),F(it,null,[t.$route.query.directory?(O(),F("div",VF,[E(o,{class:"icon media-left is-clickable",name:"chevron-left",onClick:r.openParent},null,8,["onClick"]),P("div",UF,[P("nav",HF,[P("ul",null,[(O(!0),F(it,null,de(r.directories,c=>(O(),F("li",{key:c.index},[P("a",{onClick:u=>r.open(c),textContent:et(c.name)},null,8,jF)]))),128))])])]),P("div",BF,[le(t.$slots,"actions")])])):_t("",!0),(O(!0),F(it,null,de(n.items,c=>(O(),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 GF=nt(FF,[["render",WF]]),KF={name:"ModalDialogPlaylist",components:{ModalDialogPlayable:bs},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 qF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const RS=nt(KF,[["render",qF]]),zF={name:"ListPlaylists",components:{ListItem:$s,ModalDialogPlaylist:RS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},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 XF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-playlist");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,l=>(O(),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 Sm=nt(zF,[["render",XF]]),YF={name:"PageFiles",components:{ContentWithHeading:ie,ControlButton:un,ListDirectories:GF,ListPlaylists:Sm,ListTracks:es,ModalDialogPlayable:bs,PaneTitle:re},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t)})},beforeRouteUpdate(t,e,n){this.fetchData(t).then(()=>n())},setup(){return{configurationStore:jo()}},data(){return{directories:[],playlists:new Ct,showDetailsModal:!1,tracks:new Ct}},computed:{current(){return this.$route.query?.directory||"/"},name(){return this.current!=="/"?this.current?.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 Tt.files(t.query.directory);e&&(this.directories=e.directories.map(n=>this.transform(n.path)),this.playlists=new Ct(e.playlists),this.tracks=new Ct(e.tracks))}else this.directories=this.configurationStore.directories.map(e=>this.transform(e)),this.playlists=new Ct,this.tracks=new Ct},openDetails(){this.showDetailsModal=!0},play(){ae.playExpression(this.expression,!1)},transform(t){return{name:t.slice(t.lastIndexOf("/")+1),path:t}}}};function ZF(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 O(),F(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 JF=nt(YF,[["render",ZF]]),QF={name:"PageGenreAlbums",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ListIndexButtons:vs,ModalDialogGenre:vm,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreAlbums(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.albums=new Ct(i,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct,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(){ae.playExpression(`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`,!0)}}};function tV(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 O(),F(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 eV=nt(QF,[["render",tV]]),nV={name:"PageGenreTracks",components:{ContentWithHeading:ie,ControlButton:un,ControlDropdown:Br,ListIndexButtons:vs,ListOptions:Xo,ListTracks:es,ModalDialogGenre:vm,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreTracks(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.trackList=new Ct(i)})})},setup(){return{uiStore:ts()}},data(){return{genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1,trackList:new Ct}},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:{openDetails(){this.showDetailsModal=!0},openGenre(){this.showDetailsModal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ae.playExpression(this.expression,!0)}}};function sV(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 O(),F(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 iV=nt(nV,[["render",sV]]),rV={name:"PageGenres",components:{ContentWithHeading:ie,ListGenres:NS,ListIndexButtons:vs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.genres("music").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function oV(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 O(),F(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 aV=nt(rV,[["render",oV]]),lV={name:"PageMusic",components:{ContentWithHeading:ie,ListAlbums:hs,ListTracks:es,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Promise.all([Tt.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"}),Tt.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 Ct(s),r.tracks=new Ct(i)})})},data(){return{albums:[],tracks:null}}};function cV(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 O(),F(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(()=>[Ys(et(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(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const uV=nt(lV,[["render",cV]]),dV={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:ie,ListAlbums:hs,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){const s=Js().recentlyAddedLimit;Tt.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 Ct(i.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})})})},setup(){return{settingsStore:Js()}},data(){return{albums:new Ct}}};function fV(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 O(),F(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 hV=nt(dV,[["render",fV]]),pV={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:ie,ListTracks:es,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Tt.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 Ct(s.tracks)})})},data(){return{tracks:new Ct}}};function mV(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 O(),F(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 gV=nt(pV,[["render",mV]]),yV={name:"ModalDialogPlaylistSpotify",components:{ModalDialogPlayable:bs},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.owner",value:this.item.owner?.display_name},{key:"property.tracks",value:this.item.tracks?.total},{key:"property.path",value:this.item.uri}],uri:this.item.uri}}}};function bV(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),yt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const DS=nt(yV,[["render",bV]]),vV={name:"ListPlaylistsSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogPlaylistSpotify:DS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:Js()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url}:null},open(t){this.$router.push({name:"playlist-spotify",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function _V(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-playlist-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.owner.display_name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Em=nt(vV,[["render",_V]]),SV={name:"PageMusicSpotify",components:{ContentWithHeading:ie,ListAlbumsSpotify:wd,ListPlaylistsSpotify:Em,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.browse.getNewReleases(i.webapi_country,3),s.browse.getFeaturedPlaylists(i.webapi_country,null,null,3)]).then(r=>{n(o=>{o.albums=r[0].albums.items,o.playlists=r[1].playlists.items})})})},data(){return{albums:[],playlists:[]}}};function EV(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 O(),F(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(()=>[Ys(et(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(()=>[Ys(et(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const wV=nt(SV,[["render",EV]]),kV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:ie,ListPlaylistsSpotify:Em,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.browse.getFeaturedPlaylists(i.webapi_country,null,null,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 CV(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 O(),F(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 TV=nt(kV,[["render",CV]]),AV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:ie,ListAlbumsSpotify:wd,PaneTitle:re,TabsMusic:ti},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{s.browse.getNewReleases(i.webapi_country,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 OV(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 O(),F(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 xV=nt(AV,[["render",OV]]),IV={name:"ModalDialogQueueItem",components:{ListProperties:OS,ModalDialog:rr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Qn()}},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.openArtist,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.track_number>0&&[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.item.data_kind!=="spotify"&&this.$t("dialog.track.quality",{bitrate:this.item.bitrate,count:this.item.channels,format:this.item.type,samplerate:this.item.samplerate})}],uri:this.item.uri}}},watch:{item(){return this.item?.data_kind==="spotify"?Nn.spotify().then(({api:t})=>{const e=this.item.path.slice(this.item.path.lastIndexOf(":")+1);return t.tracks.get(e).then(n=>{this.spotifyTrack=n})}):(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.$router.push({name:`${this.item.media_kind}-album`,params:{id:this.item.album_id}})},openArtist(){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:"audiobook-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"),en.play({item_id:this.item.id})},remove(){this.$emit("close"),ae.remove(this.item.id)}}};function NV(t,e,n,s,i,r){const o=w("list-properties"),a=w("modal-dialog");return O(),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 LS=nt(IV,[["render",NV]]),PV={name:"PaneLyrics",setup(){return{MIDDLE_POSITION:Math.floor(3.5),VISIBLE_VERSES:7,playerStore:Wn()}},data(){return{lastUpdateTime:0,lyrics:{synchronised:!1,verses:[]},time:0,timerId:null}},computed:{verseIndex(t,e){let n=0,s=e.length-1;for(;n<=s;){const i=Math.floor((n+s)/2),r=e[i].time,o=e[i+1]?.time;if(r<=t&&(!o||o>t))return i;r<t?n=i+1:s=i-1}return-1},visibleVerses(){const{verses:t,synchronised:e}=this.lyrics;let n=0,{length:s}=t;return e&&(n=this.verseIndex(this.time,t)-this.MIDDLE_POSITION,s=this.VISIBLE_VERSES),Array.from({length:s},(i,r)=>t[n+r]??{text:" "})}},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:{isVerseHighlighted(t){return t===this.MIDDLE_POSITION&&this.lyrics.synchronised},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)=>{const o=(i[s+1]?.time??n.time+3e3)-n.time,a=n.text.match(/\S+\s*/gu)||[],l=a.reduce((u,d)=>u+d.length,0);let c=n.time;n.words=a.map(u=>{const d=c,f=d+o*(u.length/l);return c=f,{end:f,start:d,text:u}})}),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}}},RV={key:0,class:"title is-5 my-5"},DV=["textContent"],LV=["textContent"];function MV(t,e,n,s,i,r){return O(),F("div",{class:Gt(["is-overlay",{"is-synchronised":i.lyrics.synchronised,"is-unsynchronised":!i.lyrics.synchronised}])},[(O(!0),F(it,null,de(r.visibleVerses,(o,a)=>(O(),F(it,{key:a},[r.isVerseHighlighted(a)?(O(),F("div",RV,[(O(!0),F(it,null,de(o.words,(l,c)=>(O(),F("span",{key:c,class:Gt({"is-highlighted":r.isWordHighlighted(l)}),textContent:et(l.text)},null,10,DV))),128))])):(O(),F("div",{key:1,class:"verse",textContent:et(o.text)},null,8,LV))],64))),128))],2)}const $V=nt(PV,[["render",MV],["__scopeId","data-v-8384b260"]]),Li=1e3,FV={name:"PagePlayer",components:{ControlImage:jr,ControlSlider:Ku,ModalDialogQueueItem:LS,PaneLyrics:$V},setup(){return{playerStore:Wn(),queueStore:Ms(),settingsStore:Js()}},data(){return{INTERVAL:Li,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*Li)},trackProgress:{get(){return Math.floor(this.playerStore.item_progress_ms/Li)},set(t){this.playerStore.item_progress_ms=t*Li}},trackProgressMax(){return Number(this.isLive)||Math.floor(this.track.length_ms/Li)},trackTotalTime(){return this.$t("page.player.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,Li))}},created(){this.playerStore.state==="play"&&(this.intervalId=window.setInterval(this.tick,Li))},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||en.seekToPosition(this.trackProgress*Li)},startDragging(){this.isDragged=!0},tick(){this.isDragged||(this.trackProgress+=1)}}},VV={class:"is-flex is-align-items-center has-text-centered px-5 is-full-height"},UV={key:0,class:"mx-auto",style:{"max-width":"32rem"}},HV={class:"is-relative"},jV={class:"is-flex is-justify-content-space-between"},BV=["textContent"],WV=["textContent"],GV=["textContent"],KV=["textContent"],qV=["textContent"],zV=["textContent"],XV=["textContent"],YV={key:1,class:"mx-auto"},ZV=["textContent"],JV=["textContent"];function QV(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 O(),F(it,null,[P("div",VV,[s.queueStore.isEmpty?(O(),F("div",YV,[P("p",{class:"title is-5",textContent:et(t.$t("page.player.title"))},null,8,ZV),P("p",{class:"subtitle",textContent:et(t.$t("page.player.info"))},null,8,JV)])):(O(),F("div",UV,[P("div",HV,[E(o,{url:r.track.artwork_url,caption:r.track.album,class:Gt(["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?(O(),yt(a,{key:0})):_t("",!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"]),P("div",jV,[P("p",{class:"subtitle is-7",textContent:et(r.trackElapsedTime)},null,8,BV),P("p",{class:"subtitle is-7",textContent:et(r.trackTotalTime)},null,8,WV)]),P("p",{class:"title is-5",textContent:et(r.track.title)},null,8,GV),P("p",{class:"title is-6",textContent:et(r.track.artist)},null,8,KV),r.composer?(O(),F("p",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:et(r.composer)},null,8,qV)):_t("",!0),r.track.album?(O(),F("p",{key:1,class:"subtitle is-6",textContent:et(r.track.album)},null,8,zV)):_t("",!0),s.settingsStore.showFilepathNowPlaying?(O(),F("p",{key:2,class:"subtitle is-6 has-text-grey",textContent:et(r.track.path)},null,8,XV)):_t("",!0)]))]),E(c,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[2]||(e[2]=u=>i.showDetailsModal=!1)},null,8,["show","item"])],64)}const t9=nt(FV,[["render",QV],["__scopeId","data-v-e277cccd"]]),e9={name:"PagePlaylistFolder",components:{ContentWithHeading:ie,ListPlaylists:Sm,PaneTitle:re},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:jo()}},data(){return{playlist:{},playlistList:new Ct}},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([Tt.playlist(t),Tt.playlistFolder(t)]);this.playlist=e,this.playlistList=new Ct(n)}}};function n9(t,e,n,s,i,r){const o=w("pane-title"),a=w("list-playlists"),l=w("content-with-heading");return O(),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 s9=nt(e9,[["render",n9]]),i9={name:"PagePlaylistTracks",components:{ContentWithHeading:ie,ControlButton:un,ListTracks:es,ModalDialogPlaylist:RS,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.playlist(t.params.id),Tt.playlistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.playlist=s,r.tracks=new Ct(i)})})},data(){return{playlist:{},showDetailsModal:!1,tracks:new Ct}},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(){ae.playUri(this.uris,!0)},openDetails(){this.showDetailsModal=!0}}};function r9(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 O(),F(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 o9=nt(i9,[["render",r9]]),hf=50,a9={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:ie,ControlButton:un,ListTracksSpotify:mm,ModalDialogPlaylistSpotify:DS,PaneTitle:re},beforeRouteEnter(t,e,n){Nn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.playlists.getPlaylist(t.params.id),s.playlists.getPlaylistItems(t.params.id,i.webapi_country,null,hf,0)]).then(([r,o])=>{n(a=>{a.playlist=r,a.tracks=[],a.total=0,a.offset=0,a.appendTracks(o)})})})},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}:{}}},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}){Nn.spotify().then(({api:e,configuration:n})=>{e.playlists.getPlaylistItems(this.playlist.id,n.webapi_country,null,hf,this.offset).then(s=>{this.appendTracks(s),t(s.items.length,hf)})})},play(){this.showDetailsModal=!1,ae.playUri(this.playlist.uri,!0)},openDetails(){this.showDetailsModal=!0}}};function l9(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 O(),F(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},null,8,["context-uri","items","load"])]),_:1}),E(u,{item:i.playlist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const c9=nt(a9,[["render",l9]]),u9={name:"PagePodcast",components:{ContentWithHero:bd,ControlImage:jr,ListTracks:es,ModalDialogAlbum:vd,PaneHero:_d},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.podcastEpisodes(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},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:{openDetails(){this.showDetailsModal=!0},play(){ae.playUri(this.album.uri,!1)},podcastDeleted(){this.$router.push({name:"podcasts"})},reloadTracks(){Tt.podcastEpisodes(this.album.id).then(t=>{this.tracks=new Ct(t)})}}};function d9(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 O(),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-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 f9=nt(u9,[["render",d9]]),h9={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)}}},p9={class:"field"},m9={class:"control has-icons-left"},g9=["placeholder","disabled"],y9=["textContent"];function b9(t,e,n,s,i,r){const o=w("mdicon");return O(),F("div",p9,[P("div",m9,[ms(P("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,g9),[[Zs,i.value]]),E(o,{class:"icon is-left",name:n.icon,size:"16"},null,8,["name"])]),n.help?(O(),F("div",{key:0,class:"help",textContent:et(n.help)},null,8,y9)):_t("",!0)])}const MS=nt(h9,[["render",b9]]),v9={name:"ModalDialogAddRss",components:{ControlUrlField:MS,ModalDialog:rr},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,Tt.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 _9(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return O(),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(()=>[P("form",{onSubmit:e[0]||(e[0]=Bn((...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 S9=nt(v9,[["render",_9]]),E9={name:"PagePodcasts",components:{ContentWithHeading:ie,ControlButton:un,ListAlbums:hs,ListTracks:es,ModalDialogAddRss:S9,PaneTitle:re},beforeRouteEnter(t,e,n){Promise.all([Tt.albums("podcast"),Tt.newPodcastEpisodes(),Tt.rssCount()]).then(([s,i,r])=>{n(o=>{o.albums=new Ct(s),o.episodes=new Ct(i),o.rssCount=r})})},setup(){return{libraryStore:Gu(),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=>{Tt.updateTrack(t.id,{play_count:"increment"})}),this.episodes.items={}},openAddPodcastDialog(){this.showAddPodcastModal=!0},reloadEpisodes(){Tt.newPodcastEpisodes().then(t=>{this.episodes=new Ct(t)})},reloadPodcasts(){Tt.albums("podcast").then(t=>{this.albums=new Ct(t),this.reloadEpisodes(),this.reloadRssCount()})},reloadRssCount(){Tt.rssCount().then(t=>{this.rssCount=t})},updateRss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.showUpdateDialog=!0}}};function w9(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 O(),F(it,null,[i.episodes.items.length>0?(O(),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})):_t("",!0),E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[r.hasRss?(O(),yt(a,{key:0,button:{handler:r.updateRss,icon:"refresh",key:"actions.update"}},null,8,["button"])):_t("",!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 k9=nt(E9,[["render",w9]]),C9={name:"ListItemQueueItem",props:{currentPosition:{required:!0,type:Number},editing:Boolean,hideReadItems:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number}},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(){en.play({item_id:this.item.id})}}},T9={key:0,class:"media-left"},A9={class:"media-content"},O9=["textContent"],x9=["textContent"],I9=["textContent"],N9={class:"media-right"};function P9(t,e,n,s,i,r){const o=w("mdicon");return r.isNext||!n.hideReadItems?(O(),F("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?(O(),F("div",T9,[E(o,{class:"icon has-text-grey is-movable",name:"drag-horizontal",size:"18"})])):_t("",!0),P("div",A9,[P("div",{class:Gt(["is-size-6 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext}]),textContent:et(n.item.title)},null,10,O9),P("div",{class:Gt(["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:et(n.item.artist)},null,10,x9),P("div",{class:Gt(["is-size-7",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&!r.isCurrent}]),textContent:et(n.item.album)},null,10,I9)]),P("div",N9,[le(t.$slots,"actions",{},void 0,!0)])])):_t("",!0)}const R9=nt(C9,[["render",P9],["__scopeId","data-v-c07b7c2b"]]),D9={name:"ModalDialogAddStream",components:{ControlUrlField:MS,ModalDialog:rr},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,ae.addUri(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,ae.playUri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}};function L9(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return O(),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(()=>[P("form",{onSubmit:e[0]||(e[0]=Bn((...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 M9=nt(D9,[["render",L9]]),$9={name:"ModalDialogPlaylistSave",components:{ModalDialog:rr},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,ae.saveToPlaylist(this.playlistName).then(()=>{this.$emit("close"),this.playlistName=""}).catch(()=>{this.loading=!1})}}},F9={class:"field"},V9={class:"control has-icons-left"},U9=["placeholder","disabled"];function H9(t,e,n,s,i,r){const o=w("mdicon"),a=w("modal-dialog");return O(),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(()=>[P("form",{onSubmit:e[2]||(e[2]=Bn((...l)=>r.save&&r.save(...l),["prevent"]))},[P("div",F9,[P("div",V9,[ms(P("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,U9),[[Zs,i.playlistName]]),E(o,{class:"icon is-left",name:"playlist-music",size:"16"})])])],32)]),_:1},8,["actions","show","title"])}const j9=nt($9,[["render",H9]]);var wc={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function Pb(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 Qs(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Pb(Object(n),!0).forEach(function(s){B9(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pb(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function kc(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?kc=function(e){return typeof e}:kc=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kc(t)}function B9(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ys(){return ys=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},ys.apply(this,arguments)}function W9(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 G9(t,e){if(t==null)return{};var n=W9(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 K9(t){return q9(t)||z9(t)||X9(t)||Y9()}function q9(t){if(Array.isArray(t))return xh(t)}function z9(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function X9(t,e){if(t){if(typeof t=="string")return xh(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 xh(t,e)}}function xh(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 Y9(){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 Z9="1.14.0";function bi(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var Oi=bi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Cl=bi(/Edge/i),Rb=bi(/firefox/i),Ia=bi(/safari/i)&&!bi(/chrome/i)&&!bi(/android/i),$S=bi(/iP(ad|od|hone)/i),J9=bi(/chrome/i)&&bi(/android/i),FS={capture:!1,passive:!1};function Qt(t,e,n){t.addEventListener(e,n,!Oi&&FS)}function qt(t,e,n){t.removeEventListener(e,n,!Oi&&FS)}function cu(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 Q9(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function Ts(t,e,n,s){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&cu(t,e):cu(t,e))||s&&t===n)return t;if(t===n)break}while(t=Q9(t))}return null}var Db=/\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(Db," ").replace(" "+e+" "," ");t.className=(s+(n?" "+e:"")).replace(Db," ")}}function wt(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 xr(t,e){var n="";if(typeof t=="string")n=t;else do{var s=wt(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 VS(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 zs(){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!==zs()?(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,!Oi))do if(i&&i.getBoundingClientRect&&(wt(i,"transform")!=="none"||n&&wt(i,"position")!=="static")){var f=i.getBoundingClientRect();o-=f.top+parseInt(wt(i,"border-top-width")),a-=f.left+parseInt(wt(i,"border-left-width")),l=o+r.height,c=a+r.width;break}while(i=i.parentNode);if(s&&t!==window){var h=xr(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 Lb(t,e,n){for(var s=Yi(t,!0),i=xe(t)[e];s;){var r=xe(s)[n],o=void 0;if(o=i>=r,!o)return s;if(s===zs())break;s=Yi(s,!1)}return!1}function Lo(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)&&Ts(o[r],n.draggable,t,!1)){if(i===e)return o[r];i++}r++}return null}function wm(t,e){for(var n=t.lastElementChild;n&&(n===Pt.ghost||wt(n,"display")==="none"||e&&!cu(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||cu(t,e))&&n++;return n}function Mb(t){var e=0,n=0,s=zs();if(t)do{var i=xr(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 t7(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 Yi(t,e){if(!t||!t.getBoundingClientRect)return zs();var n=t,s=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=wt(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 zs();if(s||e)return n;s=!0}}while(n=n.parentNode);return zs()}function e7(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function pf(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 Na;function US(t,e){return function(){if(!Na){var n=arguments,s=this;n.length===1?t.call(s,n[0]):t.apply(s,n),Na=setTimeout(function(){Na=void 0},e)}}}function n7(){clearTimeout(Na),Na=void 0}function HS(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function km(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 $b(t,e){wt(t,"position","absolute"),wt(t,"top",e.top),wt(t,"left",e.left),wt(t,"width",e.width),wt(t,"height",e.height)}function mf(t){wt(t,"position",""),wt(t,"top",""),wt(t,"left",""),wt(t,"width",""),wt(t,"height","")}var Sn="Sortable"+new Date().getTime();function s7(){var t=[],e;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var s=[].slice.call(this.el.children);s.forEach(function(i){if(!(wt(i,"display")==="none"||i===Pt.ghost)){t.push({target:i,rect:xe(i)});var r=Qs({},t[t.length-1].rect);if(i.thisAnimationDuration){var o=xr(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(t7(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=xr(c,!0);m&&(d.top-=m.f,d.left-=m.e),c.toRect=d,c.thisAnimationDuration&&pf(f,d)&&!pf(u,d)&&(p.top-d.top)/(p.left-d.left)===(u.top-d.top)/(u.left-d.left)&&(l=r7(p,f,h,i.options)),pf(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){wt(s,"transition",""),wt(s,"transform","");var a=xr(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,wt(s,"transform","translate3d("+u+"px,"+d+"px,0)"),this.forRepaintDummy=i7(s),wt(s,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),wt(s,"transform","translate3d(0,0,0)"),typeof s.animated=="number"&&clearTimeout(s.animated),s.animated=setTimeout(function(){wt(s,"transition",""),wt(s,"transform",""),s.animated=!1,s.animatingX=!1,s.animatingY=!1},o)}}}}function i7(t){return t.offsetWidth}function r7(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 Jr=[],gf={initializeByDefault:!0},Tl={mount:function(e){for(var n in gf)gf.hasOwnProperty(n)&&!(n in e)&&(e[n]=gf[n]);Jr.forEach(function(s){if(s.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Jr.push(e)},pluginEvent:function(e,n,s){var i=this;this.eventCanceled=!1,s.cancel=function(){i.eventCanceled=!0};var r=e+"Global";Jr.forEach(function(o){n[o.pluginName]&&(n[o.pluginName][r]&&n[o.pluginName][r](Qs({sortable:n},s)),n.options[o.pluginName]&&n[o.pluginName][e]&&n[o.pluginName][e](Qs({sortable:n},s)))})},initializePlugins:function(e,n,s,i){Jr.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,ys(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 Jr.forEach(function(i){typeof i.eventProperties=="function"&&ys(s,i.eventProperties.call(n[i.pluginName],e))}),s},modifyOption:function(e,n,s){var i;return Jr.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(e[r.pluginName],s))}),i}};function fa(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,_=e.options,y="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!Oi&&!Cl?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 v=Qs(Qs({},p),Tl.getEventProperties(s,e));for(var g in v)m[g]=v[g];n&&n.dispatchEvent(m),_[y]&&_[y].call(e,m)}}var o7=["evt"],Dn=function(e,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=s.evt,r=G9(s,o7);Tl.pluginEvent.bind(Pt)(e,n,Qs({dragEl:ft,parentEl:Le,ghostEl:Ht,rootEl:Ae,nextEl:gr,lastDownEl:Cc,cloneEl:Me,cloneHidden:zi,dragStarted:ha,putSortable:sn,activeSortable:Pt.active,originalEvent:i,oldIndex:fo,oldDraggableIndex:Pa,newIndex:Kn,newDraggableIndex:Ki,hideGhostForTarget:GS,unhideGhostForTarget:KS,cloneNowHidden:function(){zi=!0},cloneNowShown:function(){zi=!1},dispatchSortableEvent:function(a){Cn({sortable:n,name:a,originalEvent:i})}},r))};function Cn(t){fa(Qs({putSortable:sn,cloneEl:Me,targetEl:ft,rootEl:Ae,oldIndex:fo,oldDraggableIndex:Pa,newIndex:Kn,newDraggableIndex:Ki},t))}var ft,Le,Ht,Ae,gr,Cc,Me,zi,fo,Kn,Pa,Ki,Ql,sn,ro=!1,uu=!1,du=[],hr,ws,yf,bf,Fb,Vb,ha,Qr,Ra,Da=!1,tc=!1,Tc,fn,vf=[],Ih=!1,fu=[],kd=typeof document<"u",ec=$S,Ub=Cl||Oi?"cssFloat":"float",a7=kd&&!J9&&!$S&&"draggable"in document.createElement("div"),jS=(function(){if(kd){if(Oi)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}})(),BS=function(e,n){var s=wt(e),i=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),r=Lo(e,0,n),o=Lo(e,1,n),a=r&&wt(r),l=o&&wt(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[Ub]==="none"||o&&s[Ub]==="none"&&c+u>i)?"vertical":"horizontal"},l7=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},c7=function(e,n){var s;return du.some(function(i){var r=i[Sn].options.emptyInsertThreshold;if(!(!r||wm(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},WS=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||kc(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},GS=function(){!jS&&Ht&&wt(Ht,"display","none")},KS=function(){!jS&&Ht&&wt(Ht,"display","")};kd&&document.addEventListener("click",function(t){if(uu)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),uu=!1,!1},!0);var pr=function(e){if(ft){e=e.touches?e.touches[0]:e;var n=c7(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)}}},u7=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=ys({},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 BS(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&&!Ia,emptyInsertThreshold:5};Tl.initializePlugins(this,t,n);for(var s in n)!(s in e)&&(e[s]=n[s]);WS(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:a7,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?Qt(t,"pointerdown",this._onTapStart):(Qt(t,"mousedown",this._onTapStart),Qt(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(Qt(t,"dragover",this),Qt(t,"dragenter",this)),du.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),ys(this,s7())}Pt.prototype={constructor:Pt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Qr=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(b7(s),!ft&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||i.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Ia&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Ts(l,i.draggable,s,!1),!(l&&l.animated)&&Cc!==l)){if(fo=Ve(l),Pa=Ve(l,i.draggable),typeof u=="function"){if(u.call(this,e,l,this)){Cn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:s,fromEl:s}),Dn("filter",n,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=Ts(c,d.trim(),s,!1),d)return Cn({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:s,toEl:s}),Dn("filter",n,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}i.handle&&!Ts(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,Le=ft.parentNode,gr=ft.nextSibling,Cc=s,Ql=o.group,Pt.dragged=ft,hr={target:ft,clientX:(n||e).clientX,clientY:(n||e).clientY},Fb=hr.clientX-c.left,Vb=hr.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,ft.style["will-change"]="all",l=function(){if(Dn("delayEnded",i,{evt:e}),Pt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Rb&&i.nativeDraggable&&(ft.draggable=!0),i._triggerDragStart(e,n),Cn({sortable:i,name:"choose",originalEvent:e}),Ne(ft,o.chosenClass,!0)},o.ignore.split(",").forEach(function(u){VS(ft,u.trim(),_f)}),Qt(a,"dragover",pr),Qt(a,"mousemove",pr),Qt(a,"touchmove",pr),Qt(a,"mouseup",i._onDrop),Qt(a,"touchend",i._onDrop),Qt(a,"touchcancel",i._onDrop),Rb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ft.draggable=!0),Dn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Cl||Oi))){if(Pt.eventCanceled){this._onDrop();return}Qt(a,"mouseup",i._disableDelayedDrag),Qt(a,"touchend",i._disableDelayedDrag),Qt(a,"touchcancel",i._disableDelayedDrag),Qt(a,"mousemove",i._delayedDragTouchMoveHandler),Qt(a,"touchmove",i._delayedDragTouchMoveHandler),o.supportPointer&&Qt(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&&_f(ft),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;qt(e,"mouseup",this._disableDelayedDrag),qt(e,"touchend",this._disableDelayedDrag),qt(e,"touchcancel",this._disableDelayedDrag),qt(e,"mousemove",this._delayedDragTouchMoveHandler),qt(e,"touchmove",this._delayedDragTouchMoveHandler),qt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?Qt(document,"pointermove",this._onTouchMove):n?Qt(document,"touchmove",this._onTouchMove):Qt(document,"mousemove",this._onTouchMove):(Qt(ft,"dragend",this),Qt(Ae,"dragstart",this._onDragStart));try{document.selection?Ac(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(ro=!1,Ae&&ft){Dn("dragStarted",this,{evt:n}),this.nativeDraggable&&Qt(document,"dragover",u7);var s=this.options;!e&&Ne(ft,s.dragClass,!1),Ne(ft,s.ghostClass,!0),Pt.active=this,e&&this._appendGhost(),Cn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(ws){this._lastX=ws.clientX,this._lastY=ws.clientY,GS();for(var e=document.elementFromPoint(ws.clientX,ws.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ws.clientX,ws.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:ws.clientX,clientY:ws.clientY,target:e,rootEl:n}),s&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);KS()}},_onTouchMove:function(e){if(hr){var n=this.options,s=n.fallbackTolerance,i=n.fallbackOffset,r=e.touches?e.touches[0]:e,o=Ht&&xr(Ht,!0),a=Ht&&o&&o.a,l=Ht&&o&&o.d,c=ec&&fn&&Mb(fn),u=(r.clientX-hr.clientX+i.x)/(a||1)+(c?c[0]-vf[0]:0)/(a||1),d=(r.clientY-hr.clientY+i.y)/(l||1)+(c?c[1]-vf[1]:0)/(l||1);if(!Pt.active&&!ro){if(s&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<s)return;this._onDragStart(e,!0)}if(Ht){o?(o.e+=u-(yf||0),o.f+=d-(bf||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,")");wt(Ht,"webkitTransform",f),wt(Ht,"mozTransform",f),wt(Ht,"msTransform",f),wt(Ht,"transform",f),yf=u,bf=d,ws=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Ht){var e=this.options.fallbackOnBody?document.body:Ae,n=xe(ft,!0,ec,!0,e),s=this.options;if(ec){for(fn=e;wt(fn,"position")==="static"&&wt(fn,"transform")==="none"&&fn!==document;)fn=fn.parentNode;fn!==document.body&&fn!==document.documentElement?(fn===document&&(fn=zs()),n.top+=fn.scrollTop,n.left+=fn.scrollLeft):fn=zs(),vf=Mb(fn)}Ht=ft.cloneNode(!0),Ne(Ht,s.ghostClass,!1),Ne(Ht,s.fallbackClass,!0),Ne(Ht,s.dragClass,!0),wt(Ht,"transition",""),wt(Ht,"transform",""),wt(Ht,"box-sizing","border-box"),wt(Ht,"margin",0),wt(Ht,"top",n.top),wt(Ht,"left",n.left),wt(Ht,"width",n.width),wt(Ht,"height",n.height),wt(Ht,"opacity","0.8"),wt(Ht,"position",ec?"absolute":"fixed"),wt(Ht,"zIndex","100000"),wt(Ht,"pointerEvents","none"),Pt.ghost=Ht,e.appendChild(Ht),wt(Ht,"transform-origin",Fb/parseInt(Ht.style.width)*100+"% "+Vb/parseInt(Ht.style.height)*100+"%")}},_onDragStart:function(e,n){var s=this,i=e.dataTransfer,r=s.options;if(Dn("dragStart",this,{evt:e}),Pt.eventCanceled){this._onDrop();return}Dn("setupClone",this),Pt.eventCanceled||(Me=km(ft),Me.draggable=!1,Me.style["will-change"]="",this._hideClone(),Ne(Me,this.options.chosenClass,!1),Pt.clone=Me),s.cloneId=Ac(function(){Dn("clone",s),!Pt.eventCanceled&&(s.options.removeCloneOnHide||Ae.insertBefore(Me,ft),s._hideClone(),Cn({sortable:s,name:"clone"}))}),!n&&Ne(ft,r.dragClass,!0),n?(uu=!0,s._loopId=setInterval(s._emulateDragOver,50)):(qt(document,"mouseup",s._onDrop),qt(document,"touchend",s._onDrop),qt(document,"touchcancel",s._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(s,i,ft)),Qt(document,"drop",s),wt(ft,"transform","translateZ(0)")),ro=!0,s._dragStartId=Ac(s._dragStarted.bind(s,n,e)),Qt(document,"selectstart",s),ha=!0,Ia&&wt(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=Ql===l,d=a.sort,f=sn||c,h,p=this,m=!1;if(Ih)return;function _(at,kt){Dn(at,p,Qs({evt:e,isOwner:u,axis:h?"vertical":"horizontal",revert:o,dragRect:i,targetRect:r,canSort:d,fromSortable:f,target:s,completed:v,onMove:function(Vt,Bt){return nc(Ae,n,ft,i,Vt,xe(Vt),e,Bt)},changed:g},kt))}function y(){_("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function v(at){return _("dragOverCompleted",{insertion:at}),at&&(u?c._hideClone():c._showClone(p),p!==f&&(Ne(ft,sn?sn.options.ghostClass:c.options.ghostClass,!1),Ne(ft,a.ghostClass,!0)),sn!==p&&p!==Pt.active?sn=p:p===Pt.active&&sn&&(sn=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){_("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===ft&&!ft.animated||s===n&&!s.animated)&&(Qr=null),!a.dragoverBubble&&!e.rootEl&&s!==document&&(ft.parentNode[Sn]._isOutsideThisEl(e.target),!at&&pr(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function g(){Kn=Ve(ft),Ki=Ve(ft,a.draggable),Cn({sortable:p,name:"change",toEl:n,newIndex:Kn,newDraggableIndex:Ki,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),s=Ts(s,a.draggable,n,!0),_("dragOver"),Pt.eventCanceled)return m;if(ft.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return v(!1);if(uu=!1,c&&!a.disabled&&(u?d||(o=Le!==Ae):sn===this||(this.lastPutMode=Ql.checkPull(this,c,ft,e))&&l.checkPut(this,c,ft,e))){if(h=this._getDirection(e,s)==="vertical",i=xe(ft),_("dragOverValid"),Pt.eventCanceled)return m;if(o)return Le=Ae,y(),this._hideClone(),_("revert"),Pt.eventCanceled||(gr?Ae.insertBefore(ft,gr):Ae.appendChild(ft)),v(!0);var b=wm(n,a.draggable);if(!b||p7(e,h,this)&&!b.animated){if(b===ft)return v(!1);if(b&&n===e.target&&(s=b),s&&(r=xe(s)),nc(Ae,n,ft,i,s,r,e,!!s)!==!1)return y(),n.appendChild(ft),Le=n,g(),v(!0)}else if(b&&h7(e,h,this)){var S=Lo(n,0,a,!0);if(S===ft)return v(!1);if(s=S,r=xe(s),nc(Ae,n,ft,i,s,r,e,!1)!==!1)return y(),n.insertBefore(ft,S),Le=n,g(),v(!0)}else if(s.parentNode===n){r=xe(s);var k=0,I,D=ft.parentNode!==n,C=!l7(ft.animated&&ft.toRect||i,s.animated&&s.toRect||r,h),R=h?"top":"left",B=Lb(s,"top","top")||Lb(ft,"top","top"),$=B?B.scrollTop:void 0;Qr!==s&&(I=r[R],Da=!1,tc=!C&&a.invertSwap||D),k=m7(e,s,r,h,C?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,tc,Qr===s);var H;if(k!==0){var X=Ve(ft);do X-=k,H=Le.children[X];while(H&&(wt(H,"display")==="none"||H===Ht))}if(k===0||H===s)return v(!1);Qr=s,Ra=k;var ot=s.nextElementSibling,K=!1;K=k===1;var Q=nc(Ae,n,ft,i,s,r,e,K);if(Q!==!1)return(Q===1||Q===-1)&&(K=Q===1),Ih=!0,setTimeout(f7,30),y(),K&&!ot?n.appendChild(ft):s.parentNode.insertBefore(ft,K?ot:s),B&&HS(B,0,$-B.scrollTop),Le=ft.parentNode,I!==void 0&&!tc&&(Tc=Math.abs(I-xe(s)[R])),g(),v(!0)}if(n.contains(ft))return v(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){qt(document,"mousemove",this._onTouchMove),qt(document,"touchmove",this._onTouchMove),qt(document,"pointermove",this._onTouchMove),qt(document,"dragover",pr),qt(document,"mousemove",pr),qt(document,"touchmove",pr)},_offUpEvents:function(){var e=this.el.ownerDocument;qt(e,"mouseup",this._onDrop),qt(e,"touchend",this._onDrop),qt(e,"pointerup",this._onDrop),qt(e,"touchcancel",this._onDrop),qt(document,"selectstart",this)},_onDrop:function(e){var n=this.el,s=this.options;if(Kn=Ve(ft),Ki=Ve(ft,s.draggable),Dn("drop",this,{evt:e}),Le=ft&&ft.parentNode,Kn=Ve(ft),Ki=Ve(ft,s.draggable),Pt.eventCanceled){this._nulling();return}ro=!1,tc=!1,Da=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Nh(this.cloneId),Nh(this._dragStartId),this.nativeDraggable&&(qt(document,"drop",this),qt(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ia&&wt(document.body,"user-select",""),wt(ft,"transform",""),e&&(ha&&(e.cancelable&&e.preventDefault(),!s.dropBubble&&e.stopPropagation()),Ht&&Ht.parentNode&&Ht.parentNode.removeChild(Ht),(Ae===Le||sn&&sn.lastPutMode!=="clone")&&Me&&Me.parentNode&&Me.parentNode.removeChild(Me),ft&&(this.nativeDraggable&&qt(ft,"dragend",this),_f(ft),ft.style["will-change"]="",ha&&!ro&&Ne(ft,sn?sn.options.ghostClass:this.options.ghostClass,!1),Ne(ft,this.options.chosenClass,!1),Cn({sortable:this,name:"unchoose",toEl:Le,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ae!==Le?(Kn>=0&&(Cn({rootEl:Le,name:"add",toEl:Le,fromEl:Ae,originalEvent:e}),Cn({sortable:this,name:"remove",toEl:Le,originalEvent:e}),Cn({rootEl:Le,name:"sort",toEl:Le,fromEl:Ae,originalEvent:e}),Cn({sortable:this,name:"sort",toEl:Le,originalEvent:e})),sn&&sn.save()):Kn!==fo&&Kn>=0&&(Cn({sortable:this,name:"update",toEl:Le,originalEvent:e}),Cn({sortable:this,name:"sort",toEl:Le,originalEvent:e})),Pt.active&&((Kn==null||Kn===-1)&&(Kn=fo,Ki=Pa),Cn({sortable:this,name:"end",toEl:Le,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){Dn("nulling",this),Ae=ft=Le=Ht=gr=Me=Cc=zi=hr=ws=ha=Kn=Ki=fo=Pa=Qr=Ra=sn=Ql=Pt.dragged=Pt.ghost=Pt.clone=Pt.active=null,fu.forEach(function(e){e.checked=!0}),fu.length=yf=bf=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ft&&(this._onDragOver(e),d7(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],Ts(n,o.draggable,this.el,!1)&&e.push(n.getAttribute(o.dataIdAttr)||y7(n));return e},sort:function(e,n){var s={},i=this.el;this.toArray().forEach(function(r,o){var a=i.children[o];Ts(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 Ts(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=Tl.modifyOption(this,e,n);typeof i<"u"?s[e]=i:s[e]=n,e==="group"&&WS(s)},destroy:function(){Dn("destroy",this);var e=this.el;e[Sn]=null,qt(e,"mousedown",this._onTapStart),qt(e,"touchstart",this._onTapStart),qt(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(qt(e,"dragover",this),qt(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),du.splice(du.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!zi){if(Dn("hideClone",this),Pt.eventCanceled)return;wt(Me,"display","none"),this.options.removeCloneOnHide&&Me.parentNode&&Me.parentNode.removeChild(Me),zi=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(zi){if(Dn("showClone",this),Pt.eventCanceled)return;ft.parentNode==Ae&&!this.options.group.revertClone?Ae.insertBefore(Me,ft):gr?Ae.insertBefore(Me,gr):Ae.appendChild(Me),this.options.group.revertClone&&this.animate(ft,Me),wt(Me,"display",""),zi=!1}}};function d7(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function nc(t,e,n,s,i,r,o,a){var l,c=t[Sn],u=c.options.onMove,d;return window.CustomEvent&&!Oi&&!Cl?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 _f(t){t.draggable=!1}function f7(){Ih=!1}function h7(t,e,n){var s=xe(Lo(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 p7(t,e,n){var s=xe(wm(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 m7(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&&Tc<c*i){if(!Da&&(Ra===1?l>u+c*r/2:l<d-c*r/2)&&(Da=!0),Da)f=!0;else if(Ra===1?l<u+Tc:l>d-Tc)return-Ra}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return g7(e)}return f=f||o,f&&(l<u+c*r/2||l>d-c*r/2)?l>u+c/2?1:-1:0}function g7(t){return Ve(ft)<Ve(t)?1:-1}function y7(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 b7(t){fu.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var s=e[n];s.checked&&fu.push(s)}}function Ac(t){return setTimeout(t,0)}function Nh(t){return clearTimeout(t)}kd&&Qt(document,"touchmove",function(t){(Pt.active||ro)&&t.cancelable&&t.preventDefault()});Pt.utils={on:Qt,off:qt,css:wt,find:VS,is:function(e,n){return!!Ts(e,n,e,!1)},extend:e7,throttle:US,closest:Ts,toggleClass:Ne,clone:km,index:Ve,nextTick:Ac,cancelNextTick:Nh,detectDirection:BS,getChild:Lo};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=Qs(Qs({},Pt.utils),s.utils)),Tl.mount(s)})};Pt.create=function(t,e){return new Pt(t,e)};Pt.version=Z9;var Ke=[],pa,Ph,Rh=!1,Sf,Ef,hu,ma;function v7(){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?Qt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Qt(document,"pointermove",this._handleFallbackAutoScroll):s.touches?Qt(document,"touchmove",this._handleFallbackAutoScroll):Qt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var s=n.originalEvent;!this.options.dragOverBubble&&!s.rootEl&&this._handleAutoScroll(s)},drop:function(){this.sortable.nativeDraggable?qt(document,"dragover",this._handleAutoScroll):(qt(document,"pointermove",this._handleFallbackAutoScroll),qt(document,"touchmove",this._handleFallbackAutoScroll),qt(document,"mousemove",this._handleFallbackAutoScroll)),Hb(),Oc(),n7()},nulling:function(){hu=Ph=pa=Rh=ma=Sf=Ef=null,Ke.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(hu=n,s||this.options.forceAutoScrollFallback||Cl||Oi||Ia){wf(n,this.options,a,s);var l=Yi(a,!0);Rh&&(!ma||r!==Sf||o!==Ef)&&(ma&&Hb(),ma=setInterval(function(){var c=Yi(document.elementFromPoint(r,o),!0);c!==l&&(l=c,Oc()),wf(n,i.options,c,s)},10),Sf=r,Ef=o)}else{if(!this.options.bubbleScroll||Yi(a,!0)===zs()){Oc();return}wf(n,this.options,Yi(a,!1),!1)}}},ys(t,{pluginName:"scroll",initializeByDefault:!0})}function Oc(){Ke.forEach(function(t){clearInterval(t.pid)}),Ke=[]}function Hb(){clearInterval(ma)}var wf=US(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=zs(),c=!1,u;Ph!==n&&(Ph=n,Oc(),pa=e.scroll,u=e.scrollFn,pa===!0&&(pa=Yi(n,!0)));var d=0,f=pa;do{var h=f,p=xe(h),m=p.top,_=p.bottom,y=p.left,v=p.right,g=p.width,b=p.height,S=void 0,k=void 0,I=h.scrollWidth,D=h.scrollHeight,C=wt(h),R=h.scrollLeft,B=h.scrollTop;h===l?(S=g<I&&(C.overflowX==="auto"||C.overflowX==="scroll"||C.overflowX==="visible"),k=b<D&&(C.overflowY==="auto"||C.overflowY==="scroll"||C.overflowY==="visible")):(S=g<I&&(C.overflowX==="auto"||C.overflowX==="scroll"),k=b<D&&(C.overflowY==="auto"||C.overflowY==="scroll"));var $=S&&(Math.abs(v-i)<=o&&R+g<I)-(Math.abs(y-i)<=o&&!!R),H=k&&(Math.abs(_-r)<=o&&B+b<D)-(Math.abs(m-r)<=o&&!!B);if(!Ke[d])for(var X=0;X<=d;X++)Ke[X]||(Ke[X]={});(Ke[d].vx!=$||Ke[d].vy!=H||Ke[d].el!==h)&&(Ke[d].el=h,Ke[d].vx=$,Ke[d].vy=H,clearInterval(Ke[d].pid),($!=0||H!=0)&&(c=!0,Ke[d].pid=setInterval((function(){s&&this.layer===0&&Pt.active._onTouchMove(hu);var ot=Ke[this.layer].vy?Ke[this.layer].vy*a:0,K=Ke[this.layer].vx?Ke[this.layer].vx*a:0;typeof u=="function"&&u.call(Pt.dragged.parentNode[Sn],K,ot,t,hu,Ke[this.layer].el)!=="continue"||HS(Ke[this.layer].el,K,ot)}).bind({layer:d}),24))),d++}while(e.bubbleScroll&&f!==l&&(f=Yi(f,!1)));Rh=c}},30),qS=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 Cm(){}Cm.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=Lo(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:qS};ys(Cm,{pluginName:"revertOnSpill"});function Tm(){}Tm.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:qS};ys(Tm,{pluginName:"removeOnSpill"});var rs;function _7(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(n){var s=n.dragEl;rs=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=rs;r(i)!==!1?(Ne(i,u.swapClass,!0),rs=i):rs=null,d&&d!==rs&&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;rs&&Ne(rs,a.swapClass,!1),rs&&(a.swap||i&&i.options.swap)&&r!==rs&&(o.captureAnimationState(),o!==s&&s.captureAnimationState(),S7(r,rs),o.animateAll(),o!==s&&s.animateAll())},nulling:function(){rs=null}},ys(t,{pluginName:"swap",eventProperties:function(){return{swapItem:rs}}})}function S7(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=[],sa,ks,ia=!1,Ln=!1,to=!1,we,ra,sc;function E7(){function t(e){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));e.options.supportPointer?Qt(document,"pointerup",this._deselectMultiDrag):(Qt(document,"mouseup",this._deselectMultiDrag),Qt(document,"touchend",this._deselectMultiDrag)),Qt(document,"keydown",this._checkKeyDown),Qt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(i,r){var o="";Ft.length&&ks===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(km(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&&ks===s&&(jb(!0,i),r("clone"),o()))},showClone:function(n){var s=n.cloneNowShown,i=n.rootEl,r=n.cancel;this.isMultiDrag&&(jb(!1,i),Gn.forEach(function(o){wt(o,"display","")}),s(),sc=!1,r())},hideClone:function(n){var s=this;n.sortable;var i=n.cloneNowHidden,r=n.cancel;this.isMultiDrag&&(Gn.forEach(function(o){wt(o,"display","none"),s.options.removeCloneOnHide&&o.parentNode&&o.parentNode.removeChild(o)}),i(),sc=!0,r())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&ks&&ks.multiDrag._deselectMultiDrag(),Ft.forEach(function(s){s.sortableIndex=Ve(s)}),Ft=Ft.sort(function(s,i){return s.sortableIndex-i.sortableIndex}),to=!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&&wt(o,"position","absolute")});var r=xe(we,!1,!0,!0);Ft.forEach(function(o){o!==we&&$b(o,r)}),Ln=!0,ia=!0}i.animateAll(function(){Ln=!1,ia=!1,s.options.animation&&Ft.forEach(function(o){mf(o)}),s.options.sort&&ic()})}},dragOver:function(n){var s=n.target,i=n.completed,r=n.cancel;Ln&&~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:Ln?xe(a):o}),mf(a),a.fromRect=o,s.removeAnimationState(a)}),Ln=!1,w7(!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(),ia=!1,c.animation&&Ft.length>1&&(Ln||!i&&!o.options.sort&&!l)){var u=xe(we,!1,!0,!0);Ft.forEach(function(f){f!==we&&($b(f,u),a.appendChild(f))}),Ln=!0}if(!i)if(Ln||ic(),Ft.length>1){var d=sc;o._showClone(s),o.options.animation&&!sc&&d&&Gn.forEach(function(f){o.addAnimationState({target:f,rect:ra}),f.fromRect=ra,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){ra=ys({},s);var o=xr(we,!0);ra.top-=o.f,ra.left-=o.e}},dragOverAnimationComplete:function(){Ln&&(Ln=!1,ic())},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(!to)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ne(we,d.selectedClass,!~Ft.indexOf(we)),~Ft.indexOf(we))Ft.splice(Ft.indexOf(we),1),sa=null,fa({sortable:o,rootEl:i,name:"deselect",targetEl:we});else{if(Ft.push(we),fa({sortable:o,rootEl:i,name:"select",targetEl:we}),s.shiftKey&&sa&&o.el.contains(sa)){var h=Ve(sa),p=Ve(we);if(~h&&~p&&h!==p){var m,_;for(p>h?(_=h,m=p):(_=p,m=h+1);_<m;_++)~Ft.indexOf(f[_])||(Ne(f[_],d.selectedClass,!0),Ft.push(f[_]),fa({sortable:o,rootEl:i,name:"select",targetEl:f[_]}))}}else sa=we;ks=u}if(to&&this.isMultiDrag){if(Ln=!1,(r[Sn].options.sort||r!==i)&&Ft.length>1){var y=xe(we),v=Ve(we,":not(."+this.options.selectedClass+")");if(!ia&&d.animation&&(we.thisAnimationDuration=null),u.captureAnimationState(),!ia&&(d.animation&&(we.fromRect=y,Ft.forEach(function(b){if(b.thisAnimationDuration=null,b!==we){var S=Ln?xe(b):y;b.fromRect=S,u.addAnimationState({target:b,rect:S})}})),ic(),Ft.forEach(function(b){f[v]?r.insertBefore(b,f[v]):r.appendChild(b),v++}),l===Ve(we))){var g=!1;Ft.forEach(function(b){if(b.sortableIndex!==Ve(b)){g=!0;return}}),g&&a("update")}Ft.forEach(function(b){mf(b)}),u.animateAll()}ks=u}(i===r||c&&c.lastPutMode!=="clone")&&Gn.forEach(function(b){b.parentNode&&b.parentNode.removeChild(b)})}},nullingGlobal:function(){this.isMultiDrag=to=!1,Gn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),qt(document,"pointerup",this._deselectMultiDrag),qt(document,"mouseup",this._deselectMultiDrag),qt(document,"touchend",this._deselectMultiDrag),qt(document,"keydown",this._checkKeyDown),qt(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof to<"u"&&to)&&ks===this.sortable&&!(n&&Ts(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(),fa({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)}},ys(t,{pluginName:"multiDrag",utils:{select:function(n){var s=n.parentNode[Sn];!s||!s.options.multiDrag||~Ft.indexOf(n)||(ks&&ks!==s&&(ks.multiDrag._deselectMultiDrag(),ks=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;Ln&&r!==we?o=-1:Ln?o=Ve(r,":not(."+n.options.selectedClass+")"):o=Ve(r),i.push({multiDragElement:r,index:o})}),{items:K9(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 w7(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 jb(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 ic(){Ft.forEach(function(t){t!==we&&t.parentNode&&t.parentNode.removeChild(t)})}Pt.mount(new v7);Pt.mount(Tm,Cm);const k7=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:E7,Sortable:Pt,Swap:_7,default:Pt},Symbol.toStringTag,{value:"Module"})),C7=zu(k7);var T7=wc.exports,Bb;function A7(){return Bb||(Bb=1,(function(t,e){(function(s,i){t.exports=i(f2(),C7)})(typeof self<"u"?self:T7,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(_,y){if(_=u(_),y=d(y,!0),h)try{return p(_,y)}catch{}if(f(_,y))return c(!l.f.call(_,y),_[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 _=p.target,y=p.global,v=p.stat,g,b,S,k,I,D;if(y?b=a:v?b=a[_]||d(_,{}):b=(a[_]||{}).prototype,b)for(S in m){if(I=m[S],p.noTargetGet?(D=l(b,S),k=D&&D.value):k=b[S],g=h(y?S:_+(v?".":"#")+S,p.forced),!g&&k!==void 0){if(typeof I==typeof k)continue;f(I,k)}(p.sham||k&&k.sham)&&c(I,"sham",!0),u(b,S,I,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),v=String(y.source),g=y.flags,b=String(g===void 0&&y instanceof RegExp&&!("flags"in f)?u.call(y):g);return"/"+v+"/"+b},{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,_=f("startsWith"),y=!h&&!_&&!!(function(){var v=l(String.prototype,"startsWith");return v&&!v.writable})();a({target:"String",proto:!0,forced:!y&&!_},{startsWith:function(g){var b=String(d(this));u(g);var S=c(m(arguments.length>1?arguments[1]:void 0,b.length)),k=String(g);return p?p.call(b,k,S):b.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,_=0,y;m>_;)l.f(f,y=p[_++],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,_=p.index,y;return _>=m.length?{value:void 0,done:!0}:(y=a(m,_),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),_=l(m.length),y=c(p,_),v;if(d&&h!=h){for(;_>y;)if(v=m[y++],v!=v)return!0}else for(;_>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 _=l(m),y=typeof this=="function"?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,b=g!==void 0,S=h(_),k=0,I,D,C,R,B,$;if(b&&(g=a(g,v>2?arguments[2]:void 0,2)),S!=null&&!(y==Array&&u(S)))for(R=S.call(_),B=R.next,D=new y;!(C=B.call(R)).done;k++)$=b?c(R,g,[C.value,k],!0):C.value,f(D,k,$);else for(I=d(_.length),D=new y(I);I>k;k++)$=b?g(_[k],k):_[k],f(D,k,$);return D.length=k,D}}),"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,_=Math.min,y=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,b=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,k,I,D){var C=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=D.REPLACE_KEEPS_$0,B=C?"$":"$0";return[function(X,ot){var K=f(this),Q=X?.[S];return Q!==void 0?Q.call(X,K,ot):k.call(String(K),X,ot)},function(H,X){if(!C&&R||typeof X=="string"&&X.indexOf(B)===-1){var ot=I(k,H,this,X);if(ot.done)return ot.value}var K=l(H),Q=String(this),at=typeof X=="function";at||(X=String(X));var kt=K.global;if(kt){var zt=K.unicode;K.lastIndex=0}for(var Vt=[];;){var Bt=p(K,Q);if(Bt===null||(Vt.push(Bt),!kt))break;var ge=String(Bt[0]);ge===""&&(K.lastIndex=h(Q,u(K.lastIndex),zt))}for(var ve="",Se=0,Wt=0;Wt<Vt.length;Wt++){Bt=Vt[Wt];for(var Y=String(Bt[0]),dt=m(_(d(Bt.index),Q.length),0),ct=[],bt=1;bt<Bt.length;bt++)ct.push(b(Bt[bt]));var Ut=Bt.groups;if(at){var Xt=[Y].concat(ct,dt,Q);Ut!==void 0&&Xt.push(Ut);var A=String(X.apply(void 0,Xt))}else A=$(Y,Q,dt,ct,Ut,X);dt>=Se&&(ve+=Q.slice(Se,dt)+A,Se=dt+Y.length)}return ve+Q.slice(Se)}];function $(H,X,ot,K,Q,at){var kt=ot+H.length,zt=K.length,Vt=g;return Q!==void 0&&(Q=c(Q),Vt=v),k.call(at,Vt,function(Bt,ge){var ve;switch(ge.charAt(0)){case"$":return"$";case"&":return H;case"`":return X.slice(0,ot);case"'":return X.slice(kt);case"<":ve=Q[ge.slice(1,-1)];break;default:var Se=+ge;if(Se===0)return Bt;if(Se>zt){var Wt=y(Se/10);return Wt===0?Bt:Wt<=zt?K[Wt-1]===void 0?ge.charAt(1):K[Wt-1]+ge.charAt(1):Bt}ve=K[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),_=u(m.length),y;return d(p),y=f(m,0),y.length=l(y,m,m,_,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,_,y;return p<0||p>=m?u?"":void 0:(_=h.charCodeAt(p),_<55296||_>56319||p+1===m||(y=h.charCodeAt(p+1))<56320||y>57343?u?h.charAt(p):_:u?h.slice(p,p+2):(_-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,_,y,v=function(C){return y(C)?_(C):m(C,{})},g=function(C){return function(R){var B;if(!c(R)||(B=_(R)).type!==C)throw TypeError("Incompatible receiver, "+C+" required");return B}};if(a){var b=new p,S=b.get,k=b.has,I=b.set;m=function(C,R){return I.call(b,C,R),R},_=function(C){return S.call(b,C)||{}},y=function(C){return k.call(b,C)}}else{var D=f("state");h[D]=!0,m=function(C,R){return u(C,D,R),R},_=function(C){return d(C,D)?C[D]:{}},y=function(C){return d(C,D)}}i.exports={set:m,get:_,has:y,enforce:v,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(_,y,v,g){var b=g?!!g.unsafe:!1,S=g?!!g.enumerable:!1,k=g?!!g.noTargetGet:!1;if(typeof v=="function"&&(typeof y=="string"&&!c(v,"name")&&l(v,"name",y),p(v).source=m.join(typeof y=="string"?y:"")),_===a){S?_[y]=v:u(y,v);return}else b?!k&&_[y]&&(S=!0):delete _[y];S?_[y]=v:l(_,y,v)})(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),_=m.length,y=0,v=[],g;_>y;)g=m[y++],(!a||u.call(p,g))&&v.push(f?[g,p[g]]:p[g]);return v}};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="<",_="prototype",y="script",v=h("IE_PROTO"),g=function(){},b=function(C){return m+y+p+C+m+"/"+y+p},S=function(C){C.write(b("")),C.close();var R=C.parentWindow.Object;return C=null,R},k=function(){var C=f("iframe"),R="java"+y+":",B;return C.style.display="none",d.appendChild(C),C.src=String(R),B=C.contentWindow.document,B.open(),B.write(b("document.F=Object")),B.close(),B.F},I,D=function(){try{I=document.domain&&new ActiveXObject("htmlfile")}catch{}D=I?S(I):k();for(var C=c.length;C--;)delete D[_][c[C]];return D()};u[v]=!0,i.exports=Object.create||function(R,B){var $;return R!==null?(g[_]=a(R),$=new g,g[_]=null,$[v]=R):$=D(),B===void 0?$:l($,B)}}),"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"),_=o("3f8c"),y=o("ae93"),v=y.IteratorPrototype,g=y.BUGGY_SAFARI_ITERATORS,b=p("iterator"),S="keys",k="values",I="entries",D=function(){return this};i.exports=function(C,R,B,$,H,X,ot){l(B,R,$);var K=function(Wt){if(Wt===H&&Vt)return Vt;if(!g&&Wt in kt)return kt[Wt];switch(Wt){case S:return function(){return new B(this,Wt)};case k:return function(){return new B(this,Wt)};case I:return function(){return new B(this,Wt)}}return function(){return new B(this)}},Q=R+" Iterator",at=!1,kt=C.prototype,zt=kt[b]||kt["@@iterator"]||H&&kt[H],Vt=!g&&zt||K(H),Bt=R=="Array"&&kt.entries||zt,ge,ve,Se;if(Bt&&(ge=c(Bt.call(new C)),v!==Object.prototype&&ge.next&&(!m&&c(ge)!==v&&(u?u(ge,v):typeof ge[b]!="function"&&f(ge,b,D)),d(ge,Q,!0,!0),m&&(_[Q]=D))),H==k&&zt&&zt.name!==k&&(at=!0,Vt=function(){return zt.call(this)}),(!m||ot)&&kt[b]!==Vt&&f(kt,b,Vt),_[R]=Vt,H)if(ve={values:K(k),keys:X?Vt:K(S),entries:K(I)},ot)for(Se in ve)(g||at||!(Se in kt))&&h(kt,Se,ve[Se]);else a({target:R,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(I){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(I.stack)||h.exec(I.stack),m=p&&p[1]||!1,_=p&&p[2]||!1,y=document.location.href.replace(document.location.hash,""),v,g,b,S=document.getElementsByTagName("script");m===y&&(v=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(_-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=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()===b)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 _=/a/,y=/b*/g;return c.call(_,"a"),c.call(y,"a"),_.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 v=this,g,b,S,k,I=h&&v.sticky,D=a.call(v),C=v.source,R=0,B=y;return I&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),B=String(y).slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&y[v.lastIndex-1]!==`
|
||
`)&&(C="(?: "+C+")",B=" "+B,R++),b=new RegExp("^(?:"+C+")",D)),p&&(b=new RegExp("^"+C+"$(?!\\s)",D)),f&&(g=v.lastIndex),S=c.call(I?b:v,B),I?S?(S.input=S.input.slice(R),S[0]=S[0].slice(R),S.index=v.lastIndex,v.lastIndex+=S[0].length):v.lastIndex=0:f&&S&&(v.lastIndex=v.global?S.index+S[0].length:g),p&&S&&S.length>1&&u.call(S[0],b,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 _=d[u(p)];return _==h?!0:_==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"),_=o("b622"),y=o("2d00"),v=_("isConcatSpreadable"),g=9007199254740991,b="Maximum allowed index exceeded",S=y>=51||!l(function(){var C=[];return C[v]=!1,C.concat()[0]!==C}),k=m("concat"),I=function(C){if(!u(C))return!1;var R=C[v];return R!==void 0?!!R:c(C)},D=!S||!k;a({target:"Array",proto:!0,forced:D},{concat:function(R){var B=d(this),$=p(B,0),H=0,X,ot,K,Q,at;for(X=-1,K=arguments.length;X<K;X++)if(at=X===-1?B:arguments[X],I(at)){if(Q=f(at.length),H+Q>g)throw TypeError(b);for(ot=0;ot<Q;ot++,H++)ot in at&&h($,H,at[ot])}else{if(H>=g)throw TypeError(b);h($,H++,at)}return $.length=H,$}})}),"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 _=p+" Iterator";return h.prototype=l(a,{next:c(1,m)}),u(h,_,!1,!0),d[_]=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,_,y,v){for(var g=m,b=0,S=y?c(y,v,3):!1,k;b<p;){if(b in h){if(k=S?S(h[b],b,f):h[b],_>0&&a(k))g=u(d,f,k,l(k.length),g,_-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[g]=k}g++}b++}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"),_=p("splice"),y=m("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,g=Math.min,b=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!_||!y},{splice:function(I,D){var C=d(this),R=u(C.length),B=l(I,R),$=arguments.length,H,X,ot,K,Q,at;if($===0?H=X=0:$===1?(H=0,X=R-B):(H=$-2,X=g(v(c(D),0),R-B)),R+H-X>b)throw TypeError(S);for(ot=f(C,X),K=0;K<X;K++)Q=B+K,Q in C&&h(ot,K,C[Q]);if(ot.length=X,H<X){for(K=B;K<R-X;K++)Q=K+X,at=K+H,Q in C?C[at]=C[Q]:delete C[at];for(K=R;K>R-X+H;K--)delete C[K-1]}else if(H>X)for(K=R-X;K>B;K--)Q=K+X-1,at=K+H-1,Q in C?C[at]=C[Q]:delete C[at];for(K=0;K<H;K++)C[K+B]=arguments[K+2];return C.length=R-X+H,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"),_=o("e8b5"),y=o("861d"),v=o("825a"),g=o("7b0b"),b=o("fc6a"),S=o("c04e"),k=o("5c6c"),I=o("7c73"),D=o("df75"),C=o("241c"),R=o("057f"),B=o("7418"),$=o("06cf"),H=o("9bf2"),X=o("d1e7"),ot=o("9112"),K=o("6eeb"),Q=o("5692"),at=o("f772"),kt=o("d012"),zt=o("90e3"),Vt=o("b622"),Bt=o("e538"),ge=o("746f"),ve=o("d44e"),Se=o("69f3"),Wt=o("b727").forEach,Y=at("hidden"),dt="Symbol",ct="prototype",bt=Vt("toPrimitive"),Ut=Se.set,Xt=Se.getterFor(dt),A=Object[ct],N=l.Symbol,W=c("JSON","stringify"),st=$.f,J=H.f,T=R.f,x=X.f,V=Q("symbols"),z=Q("op-symbols"),tt=Q("string-to-symbol-registry"),lt=Q("symbol-to-string-registry"),L=Q("wks"),G=l.QObject,ht=!G||!G[ct]||!G[ct].findChild,St=d&&p(function(){return I(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a!=7})?function(Nt,Et,It){var ee=st(A,Et);ee&&delete A[Et],J(Nt,Et,It),ee&&Nt!==A&&J(A,Et,ee)}:J,Kt=function(Nt,Et){var It=V[Nt]=I(N[ct]);return Ut(It,{type:dt,tag:Nt,description:Et}),d||(It.description=Et),It},U=h?function(Nt){return typeof Nt=="symbol"}:function(Nt){return Object(Nt)instanceof N},j=function(Et,It,ee){Et===A&&j(z,It,ee),v(Et);var oe=S(It,!0);return v(ee),m(V,oe)?(ee.enumerable?(m(Et,Y)&&Et[Y][oe]&&(Et[Y][oe]=!1),ee=I(ee,{enumerable:k(0,!1)})):(m(Et,Y)||J(Et,Y,k(1,{})),Et[Y][oe]=!0),St(Et,oe,ee)):J(Et,oe,ee)},q=function(Et,It){v(Et);var ee=b(It),oe=D(ee).concat(Lt(ee));return Wt(oe,function(Rn){(!d||pt.call(ee,Rn))&&j(Et,Rn,ee[Rn])}),Et},rt=function(Et,It){return It===void 0?I(Et):q(I(Et),It)},pt=function(Et){var It=S(Et,!0),ee=x.call(this,It);return this===A&&m(V,It)&&!m(z,It)?!1:ee||!m(this,It)||!m(V,It)||m(this,Y)&&this[Y][It]?ee:!0},At=function(Et,It){var ee=b(Et),oe=S(It,!0);if(!(ee===A&&m(V,oe)&&!m(z,oe))){var Rn=st(ee,oe);return Rn&&m(V,oe)&&!(m(ee,Y)&&ee[Y][oe])&&(Rn.enumerable=!0),Rn}},$t=function(Et){var It=T(b(Et)),ee=[];return Wt(It,function(oe){!m(V,oe)&&!m(kt,oe)&&ee.push(oe)}),ee},Lt=function(Et){var It=Et===A,ee=T(It?z:b(Et)),oe=[];return Wt(ee,function(Rn){m(V,Rn)&&(!It||m(A,Rn))&&oe.push(V[Rn])}),oe};if(f||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor");var Et=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),It=zt(Et),ee=function(oe){this===A&&ee.call(z,oe),m(this,Y)&&m(this[Y],It)&&(this[Y][It]=!1),St(this,It,k(1,oe))};return d&&ht&&St(A,It,{configurable:!0,set:ee}),Kt(It,Et)},K(N[ct],"toString",function(){return Xt(this).tag}),K(N,"withoutSetter",function(Nt){return Kt(zt(Nt),Nt)}),X.f=pt,H.f=j,$.f=At,C.f=R.f=$t,B.f=Lt,Bt.f=function(Nt){return Kt(Vt(Nt),Nt)},d&&(J(N[ct],"description",{configurable:!0,get:function(){return Xt(this).description}}),u||K(A,"propertyIsEnumerable",pt,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:N}),Wt(D(L),function(Nt){ge(Nt)}),a({target:dt,stat:!0,forced:!f},{for:function(Nt){var Et=String(Nt);if(m(tt,Et))return tt[Et];var It=N(Et);return tt[Et]=It,lt[It]=Et,It},keyFor:function(Et){if(!U(Et))throw TypeError(Et+" is not a symbol");if(m(lt,Et))return lt[Et]},useSetter:function(){ht=!0},useSimple:function(){ht=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!d},{create:rt,defineProperty:j,defineProperties:q,getOwnPropertyDescriptor:At}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:$t,getOwnPropertySymbols:Lt}),a({target:"Object",stat:!0,forced:p(function(){B.f(1)})},{getOwnPropertySymbols:function(Et){return B.f(g(Et))}}),W){var ce=!f||p(function(){var Nt=N();return W([Nt])!="[null]"||W({a:Nt})!="{}"||W(Object(Nt))!="{}"});a({target:"JSON",stat:!0,forced:ce},{stringify:function(Et,It,ee){for(var oe=[Et],Rn=1,Td;arguments.length>Rn;)oe.push(arguments[Rn++]);if(Td=It,!(!y(It)&&Et===void 0||U(Et)))return _(It)||(It=function(ZS,Al){if(typeof Td=="function"&&(Al=Td.call(this,ZS,Al)),!U(Al))return Al}),oe[1]=It,W.apply(null,oe)}})}N[ct][bt]||ot(N[ct],bt,N[ct].valueOf),ve(N,dt),kt[Y]=!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],_=c(p,"ACCESSORS")?p.ACCESSORS:!1,y=c(p,0)?p[0]:f,v=c(p,1)?p[1]:void 0;return d[h]=!!m&&!l(function(){if(_&&!a)return!0;var g={length:-1};_?u(g,1,{enumerable:!0,get:f}):g[1]=1,m.call(g,y,v)})}}),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,_,y;[].keys&&(y=[].keys(),"next"in y?(_=a(a(y)),_!==Object.prototype&&(m=_)):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(_){return c(h,_)||(d&&c(p,_)?h[_]=p[_]:h[_]=m("Symbol."+_)),h[_]}}),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,_=p==2,y=p==3,v=p==4,g=p==6,b=p==5||g;return function(S,k,I,D){for(var C=c(S),R=l(C),B=a(k,I,3),$=u(R.length),H=0,X=D||d,ot=m?X(S,$):_?X(S,0):void 0,K,Q;$>H;H++)if((b||H in R)&&(K=R[H],Q=B(K,H,C),p)){if(m)ot[H]=Q;else if(Q)switch(p){case 3:return!0;case 5:return K;case 6:return H;case 2:f.call(ot,K)}else if(v)return!1}return g?-1:y||v?v: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(_){return f?d.apply(this,arguments)||0:l(this,_,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=[],_;for(_ in h)!a(u,_)&&a(h,_)&&m.push(_);for(;f.length>p;)a(h,_=f[p++])&&(~c(m,_)||m.push(_));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,_){a(p);var y=l(h),v=c(y),g=u(y.length),b=f?g-1:0,S=f?-1:1;if(m<2)for(;;){if(b in v){_=v[b],b+=S;break}if(b+=S,f?b<0:g<=b)throw TypeError("Reduce of empty array with no initial value")}for(;f?b>=0:g>b;b+=S)b in v&&(_=p(_,v[b],b,y));return _}};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 v=/./;return v.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(v,"$<a>")!=="7"}),p=(function(){return"a".replace(/./,"$0")==="$0"})(),m=c("replace"),_=(function(){return/./[m]?/./[m]("a","$0")==="":!1})(),y=!l(function(){var v=/(?:)/,g=v.exec;v.exec=function(){return g.apply(this,arguments)};var b="ab".split(v);return b.length!==2||b[0]!=="a"||b[1]!=="b"});i.exports=function(v,g,b,S){var k=c(v),I=!l(function(){var H={};return H[k]=function(){return 7},""[v](H)!=7}),D=I&&!l(function(){var H=!1,X=/a/;return v==="split"&&(X={},X.constructor={},X.constructor[f]=function(){return X},X.flags="",X[k]=/./[k]),X.exec=function(){return H=!0,null},X[k](""),!H});if(!I||!D||v==="replace"&&!(h&&p&&!_)||v==="split"&&!y){var C=/./[k],R=b(k,""[v],function(H,X,ot,K,Q){return X.exec===u?I&&!Q?{done:!0,value:C.call(X,ot,K)}:{done:!0,value:H.call(ot,X,K)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_}),B=R[0],$=R[1];a(String.prototype,v,B),a(RegExp.prototype,k,g==2?function(H,X){return $.call(H,this,X)}:function(H){return $.call(H,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),_=d.f,y=c(m),v={},g=0,b,S;y.length>g;)S=_(m,b=y[g++]),S!==void 0&&f(v,b,S);return v}})}),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 _=a[m],y=_&&_.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 v in c)if(y[v]!==c[v])try{u(y,v,c[v])}catch{y[v]=c[v]}}}}}),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={},_=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),I=this instanceof _?new p(k):k===void 0?p():p(k);return k===""&&(m[I]=!0),I};h(_,p);var y=_.prototype=p.prototype;y.constructor=_;var v=y.toString,g=String(p("test"))=="Symbol(test)",b=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var k=d(this)?this.valueOf():this,I=v.call(k);if(u(m,k))return"";var D=g?I.slice(7,-1):I.replace(b,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:_})}}),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,_){h(this,{type:f,target:a(m),index:0,kind:_})},function(){var m=p(this),_=m.target,y=m.kind,v=m.index++;return!_||v>=_.length?(m.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:v,done:!1}:y=="values"?{value:_[v],done:!1}:{value:[v,_[v]],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,_){return u(c(m),_)}})}),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,_=0;_<h.length;_++){var y=h[_];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,_;return h===void 0?"Undefined":h===null?"Null":typeof(m=f(p=Object(h),u))=="string"?m:d?l(p):(_=l(p))=="Object"&&typeof p.callee=="function"?"Arguments":_}}),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(U,j,q){return j in U?Object.defineProperty(U,j,{value:q,enumerable:!0,configurable:!0,writable:!0}):U[j]=q,U}function d(U,j){var q=Object.keys(U);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(U);j&&(rt=rt.filter(function(pt){return Object.getOwnPropertyDescriptor(U,pt).enumerable})),q.push.apply(q,rt)}return q}function f(U){for(var j=1;j<arguments.length;j++){var q=arguments[j]!=null?arguments[j]:{};j%2?d(Object(q),!0).forEach(function(rt){u(U,rt,q[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(q)):d(Object(q)).forEach(function(rt){Object.defineProperty(U,rt,Object.getOwnPropertyDescriptor(q,rt))})}return U}function h(U){if(Array.isArray(U))return U}o("e01a"),o("d28b"),o("e260"),o("d3b7"),o("3ca3"),o("ddb0");function p(U,j){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(U)))){var q=[],rt=!0,pt=!1,At=void 0;try{for(var $t=U[Symbol.iterator](),Lt;!(rt=(Lt=$t.next()).done)&&(q.push(Lt.value),!(j&&q.length===j));rt=!0);}catch(ce){pt=!0,At=ce}finally{try{!rt&&$t.return!=null&&$t.return()}finally{if(pt)throw At}}return q}}o("a630"),o("fb6a"),o("b0c0"),o("25f0");function m(U,j){(j==null||j>U.length)&&(j=U.length);for(var q=0,rt=new Array(j);q<j;q++)rt[q]=U[q];return rt}function _(U,j){if(U){if(typeof U=="string")return m(U,j);var q=Object.prototype.toString.call(U).slice(8,-1);if(q==="Object"&&U.constructor&&(q=U.constructor.name),q==="Map"||q==="Set")return Array.from(U);if(q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q))return m(U,j)}}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 v(U,j){return h(U)||p(U,j)||_(U,j)||y()}function g(U){if(Array.isArray(U))return m(U)}function b(U){if(typeof Symbol<"u"&&Symbol.iterator in Object(U))return Array.from(U)}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(U){return g(U)||b(U)||_(U)||S()}var I=o("a352"),D=o.n(I);function C(U){U.parentElement!==null&&U.parentElement.removeChild(U)}function R(U,j,q){var rt=q===0?U.children[0]:U.children[q-1].nextSibling;U.insertBefore(j,rt)}var B=o("dbf1");o("13d5"),o("4fad"),o("ac1f"),o("5319");function $(U){var j=Object.create(null);return function(rt){var pt=j[rt];return pt||(j[rt]=U(rt))}}var H=/-(\w)/g,X=$(function(U){return U.replace(H,function(j,q){return q.toUpperCase()})});o("5db7"),o("73d9");var ot=["Start","Add","Remove","Update","End"],K=["Choose","Unchoose","Sort","Filter","Clone"],Q=["Move"],at=[Q,ot,K].flatMap(function(U){return U}).map(function(U){return"on".concat(U)}),kt={manage:Q,manageAndEmit:ot,emit:K};function zt(U){return at.indexOf(U)!==-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(U){return Vt.includes(U)}function ge(U){return["transition-group","TransitionGroup"].includes(U)}function ve(U){return["id","class","role","style"].includes(U)||U.startsWith("data-")||U.startsWith("aria-")||U.startsWith("on")}function Se(U){return U.reduce(function(j,q){var rt=v(q,2),pt=rt[0],At=rt[1];return j[pt]=At,j},{})}function Wt(U){var j=U.$attrs,q=U.componentData,rt=q===void 0?{}:q,pt=Se(Object.entries(j).filter(function(At){var $t=v(At,2),Lt=$t[0];return $t[1],ve(Lt)}));return f(f({},pt),rt)}function Y(U){var j=U.$attrs,q=U.callBackBuilder,rt=Se(dt(j));Object.entries(q).forEach(function(At){var $t=v(At,2),Lt=$t[0],ce=$t[1];kt[Lt].forEach(function(Nt){rt["on".concat(Nt)]=ce(Nt)})});var pt="[data-draggable]".concat(rt.draggable||"");return f(f({},rt),{},{draggable:pt})}function dt(U){return Object.entries(U).filter(function(j){var q=v(j,2),rt=q[0];return q[1],!ve(rt)}).map(function(j){var q=v(j,2),rt=q[0],pt=q[1];return[X(rt),pt]}).filter(function(j){var q=v(j,2),rt=q[0];return q[1],!zt(rt)})}o("c740");function ct(U,j){if(!(U instanceof j))throw new TypeError("Cannot call a class as a function")}function bt(U,j){for(var q=0;q<j.length;q++){var rt=j[q];rt.enumerable=rt.enumerable||!1,rt.configurable=!0,"value"in rt&&(rt.writable=!0),Object.defineProperty(U,rt.key,rt)}}function Ut(U,j,q){return j&&bt(U.prototype,j),U}var Xt=function(j){var q=j.el;return q},A=function(j,q){return j.__draggable_context=q},N=function(j){return j.__draggable_context},W=(function(){function U(j){var q=j.nodes,rt=q.header,pt=q.default,At=q.footer,$t=j.root,Lt=j.realList;ct(this,U),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=Lt}return Ut(U,[{key:"render",value:function(q,rt){var pt=this.tag,At=this.children,$t=this._isRootComponent,Lt=$t?{default:function(){return At}}:At;return q(pt,rt,Lt)}},{key:"updated",value:function(){var q=this.defaultNodes,rt=this.realList;q.forEach(function(pt,At){A(Xt(pt),{element:rt[At],index:At})})}},{key:"getUnderlyingVm",value:function(q){return N(q)}},{key:"getVmIndexFromDomIndex",value:function(q,rt){var pt=this.defaultNodes,At=pt.length,$t=rt.children,Lt=$t.item(q);if(Lt===null)return At;var ce=N(Lt);if(ce)return ce.index;if(At===0)return 0;var Nt=Xt(pt[0]),Et=k($t).findIndex(function(It){return It===Nt});return q<Et?0:At}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),U})(),st=o("8bbf");function J(U,j){var q=U[j];return q?q():[]}function T(U){var j=U.$slots,q=U.realList,rt=U.getKey,pt=q||[],At=["header","footer"].map(function(It){return J(j,It)}),$t=v(At,2),Lt=$t[0],ce=$t[1],Nt=j.item;if(!Nt)throw new Error("draggable element must have an item slot");var Et=pt.flatMap(function(It,ee){return Nt({element:It,index:ee}).map(function(oe){return oe.key=rt(It),oe.props=f(f({},oe.props||{}),{},{"data-draggable":!0}),oe})});if(Et.length!==pt.length)throw new Error("Item slot must have only one child");return{header:Lt,footer:ce,default:Et}}function x(U){var j=ge(U),q=!Bt(U)&&!j;return{transition:j,externalComponent:q,tag:q?Object(st.resolveComponent)(U):j?st.TransitionGroup:U}}function V(U){var j=U.$slots,q=U.tag,rt=U.realList,pt=U.getKey,At=T({$slots:j,realList:rt,getKey:pt}),$t=x(q);return new W({nodes:At,root:$t,realList:rt})}function z(U,j){var q=this;Object(st.nextTick)(function(){return q.$emit(U.toLowerCase(),j)})}function tt(U){var j=this;return function(q,rt){if(j.realList!==null)return j["onDrag".concat(U)](q,rt)}}function lt(U){var j=this,q=tt.call(this,U);return function(rt,pt){q.call(j,rt,pt),z.call(j,U,rt)}}var L=null,G={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(j){return j}},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(kt.manageAndEmit),k(kt.emit)).map(function(U){return U.toLowerCase()}))),St=Object(st.defineComponent)({name:"draggable",inheritAttrs:!1,props:G,emits:ht,data:function(){return{error:!1}},render:function(){try{this.error=!1;var j=this.$slots,q=this.$attrs,rt=this.tag,pt=this.componentData,At=this.realList,$t=this.getKey,Lt=V({$slots:j,tag:rt,realList:At,getKey:$t});this.componentStructure=Lt;var ce=Wt({$attrs:q,componentData:pt});return Lt.render(st.h,ce)}catch(Nt){return this.error=!0,Object(st.h)("pre",{style:{color:"red"}},Nt.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&B.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var j=this;if(!this.error){var q=this.$attrs,rt=this.$el,pt=this.componentStructure;pt.updated();var At=Y({$attrs:q,callBackBuilder:{manageAndEmit:function(ce){return lt.call(j,ce)},emit:function(ce){return z.bind(j,ce)},manage:function(ce){return tt.call(j,ce)}}}),$t=rt.nodeType===1?rt:rt.parentElement;this._sortable=new D.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 j=this.list;return j||this.modelValue},getKey:function(){var j=this.itemKey;return typeof j=="function"?j:function(q){return q[j]}}},watch:{$attrs:{handler:function(j){var q=this._sortable;q&&dt(j).forEach(function(rt){var pt=v(rt,2),At=pt[0],$t=pt[1];q.option(At,$t)})},deep:!0}},methods:{getUnderlyingVm:function(j){return this.componentStructure.getUnderlyingVm(j)||null},getUnderlyingPotencialDraggableComponent:function(j){return j.__draggable_component__},emitChanges:function(j){var q=this;Object(st.nextTick)(function(){return q.$emit("change",j)})},alterList:function(j){if(this.list){j(this.list);return}var q=k(this.modelValue);j(q),this.$emit("update:modelValue",q)},spliceList:function(){var j=arguments,q=function(pt){return pt.splice.apply(pt,k(j))};this.alterList(q)},updatePosition:function(j,q){var rt=function(At){return At.splice(q,0,At.splice(j,1)[0])};this.alterList(rt)},getRelatedContextFromMoveEvent:function(j){var q=j.to,rt=j.related,pt=this.getUnderlyingPotencialDraggableComponent(q);if(!pt)return{component:pt};var At=pt.realList,$t={list:At,component:pt};if(q!==rt&&At){var Lt=pt.getUnderlyingVm(rt)||{};return f(f({},Lt),$t)}return $t},getVmIndexFromDomIndex:function(j){return this.componentStructure.getVmIndexFromDomIndex(j,this.targetDomElement)},onDragStart:function(j){this.context=this.getUnderlyingVm(j.item),j.item._underlying_vm_=this.clone(this.context.element),L=j.item},onDragAdd:function(j){var q=j.item._underlying_vm_;if(q!==void 0){C(j.item);var rt=this.getVmIndexFromDomIndex(j.newIndex);this.spliceList(rt,0,q);var pt={element:q,newIndex:rt};this.emitChanges({added:pt})}},onDragRemove:function(j){if(R(this.$el,j.item,j.oldIndex),j.pullMode==="clone"){C(j.clone);return}var q=this.context,rt=q.index,pt=q.element;this.spliceList(rt,1);var At={element:pt,oldIndex:rt};this.emitChanges({removed:At})},onDragUpdate:function(j){C(j.item),R(j.from,j.item,j.oldIndex);var q=this.context.index,rt=this.getVmIndexFromDomIndex(j.newIndex);this.updatePosition(q,rt);var pt={element:this.context.element,oldIndex:q,newIndex:rt};this.emitChanges({moved:pt})},computeFutureIndex:function(j,q){if(!j.element)return 0;var rt=k(q.to.children).filter(function(Lt){return Lt.style.display!=="none"}),pt=rt.indexOf(q.related),At=j.component.getVmIndexFromDomIndex(pt),$t=rt.indexOf(L)!==-1;return $t||!q.willInsertAfter?At:At+1},onDragMove:function(j,q){var rt=this.move,pt=this.realList;if(!rt||!pt)return!0;var At=this.getRelatedContextFromMoveEvent(j),$t=this.computeFutureIndex(At,j),Lt=f(f({},this.context),{},{futureIndex:$t}),ce=f(f({},j),{},{relatedContext:At,draggedContext:Lt});return rt(ce,q)},onDragEnd:function(){L=null}}}),Kt=St;r.default=Kt}),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"),_=o("ae40"),y=m("slice"),v=_("slice",{ACCESSORS:!0,0:0,1:2}),g=p("species"),b=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!y||!v},{slice:function(I,D){var C=f(this),R=d(C.length),B=u(I,R),$=u(D===void 0?R:D,R),H,X,ot;if(c(C)&&(H=C.constructor,typeof H=="function"&&(H===Array||c(H.prototype))?H=void 0:l(H)&&(H=H[g],H===null&&(H=void 0)),H===Array||H===void 0))return b.call(C,B,$);for(X=new(H===void 0?Array:H)(S($-B,0)),ot=0;B<$;B++,ot++)B in C&&h(X,ot,C[B]);return X.length=ot,X}})}),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})})(wc)),wc.exports}var O7=A7();const x7=Op(O7),I7={name:"PageQueue",components:{ContentWithHeading:ie,ControlButton:un,ListItemQueueItem:R9,ModalDialogAddStream:M9,ModalDialogPlaylistSave:j9,ModalDialogQueueItem:LS,PaneTitle:re,draggable:x7},setup(){return{configurationStore:jo(),playerStore:Wn(),queueStore:Ms(),uiStore:ts()}},data(){return{editing:!1,selectedItem:{},showAddStreamDialog:!1,showDetailsModal:!1,showSaveModal:!1}},computed:{currentPosition(){return this.queueStore.current?.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(){ae.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&&ae.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){ae.remove(t.id)},toggleEdit(){this.editing=!this.editing}}},N7=["onClick"],P7=["onClick"];function R7(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 O(),F(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:Gt({"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:Gt({"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?(O(),yt(a,{key:0,button:{handler:r.openSaveDialog,icon:"download",key:"actions.save"},disabled:s.queueStore.isEmpty},null,8,["button","disabled"])):_t("",!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:_})=>[E(c,{item:m,position:_,"current-position":r.currentPosition,"hide-read-items":s.uiStore.hideReadItems,editing:i.editing},{actions:M(()=>[i.editing?_t("",!0):(O(),F("a",{key:0,onClick:Bn(y=>r.openDetails(m),["prevent","stop"])},[E(l,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})],8,N7)),r.isRemovable(m)?(O(),F("a",{key:1,onClick:Bn(y=>r.remove(m),["prevent","stop"])},[E(l,{class:"icon has-text-grey",name:"delete",size:"18"})],8,P7)):_t("",!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?(O(),yt(p,{key:0,show:i.showSaveModal,onClose:e[3]||(e[3]=m=>i.showSaveModal=!1)},null,8,["show"])):_t("",!0)],64)}const D7=nt(I7,[["render",R7]]),L7={name:"PageRadioStreams",components:{ContentWithHeading:ie,ListIndexButtons:vs,ListTracks:es,PaneTitle:re},beforeRouteEnter(t,e,n){Tt.radioStreams().then(s=>{n(i=>{i.tracks=new Ct(s,{index:{field:"title_sort",type:String}})})})},data(){return{tracks:new Ct}},computed:{heading(){return{subtitle:[{count:this.tracks.total,key:"data.stations"}],title:this.$t("page.radio.title")}}}};function M7(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 O(),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 $7=nt(L7,[["render",M7]]),F7={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:Qn()}}},V7={key:0},U7={class:"container"},H7={class:"columns is-centered"},j7={class:"column is-four-fifths"},B7={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},W7=["textContent"],G7=["textContent"];function K7(t,e,n,s,i,r){const o=w("mdicon");return s.servicesStore.isSpotifyActive?(O(),F("section",V7,[P("div",U7,[P("div",H7,[P("div",j7,[P("div",B7,[P("ul",null,[P("li",{class:Gt({"is-active":t.$route.name==="search-library"})},[P("a",{onClick:e[0]||(e[0]=a=>t.$emit("search-library"))},[E(o,{class:"icon is-small",name:"bookshelf",size:"16"}),P("span",{textContent:et(t.$t("page.search.tabs.library"))},null,8,W7)])],2),P("li",{class:Gt({"is-active":t.$route.name==="search-spotify"})},[P("a",{onClick:e[1]||(e[1]=a=>t.$emit("search-spotify"))},[E(o,{class:"icon is-small",name:"spotify",size:"16"}),P("span",{textContent:et(t.$t("page.search.tabs.spotify"))},null,8,G7)])],2)])])])])])])):_t("",!0)}const q7=nt(F7,[["render",K7]]),z7={name:"ContentWithSearch",components:{ContentWithHeading:ie,ControlButton:un,PaneTitle:re,TabsSearch:q7},props:{components:{default:null,type:Object},expanded:{default:!1,type:Boolean},getItems:{default:null,type:Function},history:{default:null,type:Array},load:{default:null,type:Function},results:{default:null,type:Object}},emits:["expand","search","search-library","search-query","search-spotify"],setup(){return{searchStore:qu()}}},X7={class:"section pb-0"},Y7={class:"container"},Z7={class:"columns is-centered"},J7={class:"column is-four-fifths"},Q7={class:"field"},tU={class:"control has-icons-left"},eU=["placeholder"],nU={class:"field is-grouped is-grouped-multiline mt-4"},sU={class:"tags has-addons"},iU=["onClick","textContent"],rU=["onClick"],oU={key:1,class:"has-text-centered-mobile"},aU=["textContent"];function lU(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 O(),F(it,null,[P("section",X7,[P("div",Y7,[P("div",Z7,[P("div",J7,[P("form",{onSubmit:e[1]||(e[1]=Bn(d=>t.$emit("search"),["prevent"]))},[P("div",Q7,[P("div",tU,[ms(P("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,eU),[[Zs,s.searchStore.query]]),E(o,{class:"icon is-left",name:"magnify",size:"16"})]),le(t.$slots,"help")])],32),P("div",nU,[(O(!0),F(it,null,de(n.history,d=>(O(),F("div",{key:d,class:"control"},[P("div",sU,[P("a",{class:"tag",onClick:f=>t.$emit("search-query",d),textContent:et(d)},null,8,iU),P("a",{class:"tag is-delete",onClick:f=>s.searchStore.remove(d)},null,8,rU)])]))),128))])])])])]),E(a,{onSearchLibrary:e[2]||(e[2]=d=>t.$emit("search-library")),onSearchSpotify:e[3]||(e[3]=d=>t.$emit("search-spotify"))}),(O(!0),F(it,null,de(n.results,([d,f])=>(O(),yt(u,{key:d},cl({heading:M(()=>[E(l,{content:{title:t.$t(`page.search.${d}s`)}},null,8,["content"])]),content:M(()=>[(O(),yt(Jh(n.components[d]),{items:n.getItems(f),load:n.load},null,8,["items","load"]))]),_:2},[n.expanded?void 0:{name:"footer",fn:M(()=>[f.total?(O(),yt(c,{key:0,button:{handler:()=>t.$emit("expand",d),title:t.$t(`page.search.show-${d}s`,{count:t.$n(f.total)},f.total)}},null,8,["button"])):(O(),F("div",oU,[P("i",{textContent:et(t.$t("page.search.no-results"))},null,8,aU)]))]),key:"0"}]),1024))),128))],64)}const zS=nt(z7,[["render",lU]]),Wb=3,Gb=["track","artist","album","composer","playlist","audiobook","podcast"],cU={name:"PageSearchLibrary",components:{ContentWithSearch:zS},setup(){return{components:{album:hs,audiobook:hs,artist:ym,composer:PS,playlist:Sm,podcast:hs,track:es},searchStore:qu()}},data(){return{limit:Wb,results:new Map,types:Gb}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history}},mounted(){this.search()},methods:{expand(t){this.search([t],-1)},getItems(t){return t},openSearch(t){this.searchStore.query=t,this.search()},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,new Ct)})},search(t=Gb,e=Wb){this.searchStore.query&&(this.types=t,this.limit=e,this.searchStore.query=this.searchStore.query.trim(),this.reset(),this.types.forEach(n=>{this.searchItems(n)}),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}`,Tt.search(s).then(i=>{this.results.set(t,new Ct(i[`${s.type}s`]))})},searchSpotify(){this.$router.push({name:"search-spotify"})}}},uU=["textContent"];function dU(t,e,n,s,i,r){const o=w("i18n-t"),a=w("content-with-search");return O(),yt(a,{components:s.components,expanded:r.expanded,"get-items":r.getItems,history:r.history,results:i.results,onSearch:r.search,onSearchLibrary:r.search,onSearchQuery:r.openSearch,onSearchSpotify:r.searchSpotify,onExpand:r.expand},{help:M(()=>[E(o,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:M(()=>e[0]||(e[0]=[P("code",null,"query:",-1)])),help:M(()=>[P("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:et(t.$t("page.search.expression"))},null,8,uU)]),_:1})]),_:1},8,["components","expanded","get-items","history","results","onSearch","onSearchLibrary","onSearchQuery","onSearchSpotify","onExpand"])}const fU=nt(cU,[["render",dU]]),hU={name:"ListArtistsSpotify",components:{ListItem:$s,LoaderListItem:Sd,ModalDialogArtistSpotify:IS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return{caption:t.name,url:t.images?.[0]?.url}},open(t){this.$router.push({name:"music-spotify-artist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function pU(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-artist-spotify");return O(),F(it,null,[(O(!0),F(it,null,de(n.items,c=>(O(),yt(o,{key:c.id,"is-item":!0,image:r.image(c),index:c.index,lines:[c.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{load:n.load},null,8,["load"]),E(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const mU=nt(hU,[["render",pU]]),gU=3,kf=50,Kb=["track","artist","album","playlist"],yU={name:"PageSearchSpotify",components:{ContentWithSearch:zS},setup(){return{components:{album:wd,artist:mU,playlist:Em,track:mm},searchStore:qu()}},data(){return{parameters:{},results:new Map,types:Kb}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history.filter(t=>!t.startsWith("query:"))}},mounted(){this.search()},methods:{expand(t){this.search([t],kf)},getItems(t){return t.items},openSearch(t){this.searchStore.query=t,this.search()},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,{items:[],total:0})})},search(t=Kb,e=gU,n=0){this.searchStore.query&&(this.types=t,this.parameters.limit=e,this.parameters.offset=n,this.searchStore.query=this.searchStore.query.trim(),this.reset(),this.searchItems().then(s=>{this.types.forEach(i=>{this.results.set(i,s[`${i}s`])})}),this.searchStore.add(this.searchStore.query))},searchItems(){return Nn.spotify().then(({api:t,configuration:e})=>t.search(this.searchStore.query,this.types,e.webapi_country,this.parameters.limit,this.parameters.offset))},searchLibrary(){this.$router.push({name:"search-library"})},searchNext({loaded:t}){const e=this.results.get(this.types[0]);this.parameters.limit=kf,this.searchItems().then(n=>{const[s]=Object.values(n);e.items.push(...s.items),this.parameters.offset+=s.items.length;const i=Number(s.next&&1e3-this.parameters.offset);t(i,kf)})}}};function bU(t,e,n,s,i,r){const o=w("content-with-search");return O(),yt(o,{components:s.components,expanded:r.expanded,"get-items":r.getItems,history:r.history,load:r.expanded&&r.searchNext||null,results:i.results,onSearch:r.search,onSearchLibrary:r.searchLibrary,onSearchQuery:r.openSearch,onSearchSpotify:r.search,onExpand:r.expand},null,8,["components","expanded","get-items","history","load","results","onSearch","onSearchLibrary","onSearchQuery","onSearchSpotify","onExpand"])}const vU=nt(yU,[["render",bU]]),_U={name:"ControlSetting",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:Js()}},data(){return{timerDelay:2e3,timerId:-1}},computed:{isError(){return this.timerId===-2},isSuccess(){return this.timerId>=0},label(){return this.$t(`settings.${this.category}.${this.name.replace(/_/gu,"-")}`)},setting(){return this.settingsStore.get(this.category,this.name)}},methods:{update(t,e){const n=e?.(t.target);if(n===this.setting.value)return;const s={category:this.category,name:this.name,value:n};o_.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)})}}},SU=["disabled"],EU={key:0,class:"label has-text-weight-normal"},wU={key:1,class:"help mb-4"};function kU(t,e,n,s,i,r){const o=w("mdicon");return O(),F("fieldset",{disabled:n.disabled,class:"field"},[t.$slots.label?(O(),F("label",EU,[le(t.$slots,"label")])):_t("",!0),P("div",{class:Gt(["control",{"has-icons-right":r.isSuccess||r.isError}])},[le(t.$slots,"input",{label:r.label,setting:r.setting,update:r.update}),t.$slots.label&&(r.isSuccess||r.isError)?(O(),yt(o,{key:0,class:"icon is-right",name:r.isSuccess?"check":"close",size:"16"},null,8,["name"])):_t("",!0)],2),t.$slots.help?(O(),F("div",wU,[le(t.$slots,"help")])):_t("",!0)],8,SU)}const Am=nt(_U,[["render",kU]]),CU={name:"ControlSettingSwitch",components:{ControlSetting:Am,ControlSwitch:Ur},props:{category:{required:!0,type:String},disabled:{default:!1,type:Boolean},name:{required:!0,type:String}},methods:{sanitise(t){return t.checked}}},TU=["textContent"];function AU(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-setting");return O(),yt(a,{category:n.category,disabled:n.disabled,name:n.name},cl({input:M(({label:l,setting:c,update:u})=>[E(o,{"model-value":c.value,"onUpdate:modelValue":d=>u({target:{checked:d}},r.sanitise)},{label:M(()=>[P("span",{textContent:et(l)},null,8,TU)]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},[t.$slots.help?{name:"help",fn:M(()=>[le(t.$slots,"help")]),key:"0"}:void 0]),1032,["category","disabled","name"])}const XS=nt(CU,[["render",AU]]),OU={name:"TabsSettings",components:{ControlTabList:gm},computed:{links(){return[{key:"page.settings.tabs.webinterface",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 xU(t,e,n,s,i,r){const o=w("control-tab-list");return O(),yt(o,{links:r.links},null,8,["links"])}const Cd=nt(OU,[["render",xU]]),IU={name:"PageSettingsArtwork",components:{ContentWithHeading:ie,ControlSettingSwitch:XS,PaneTitle:re,TabsSettings:Cd},setup(){return{servicesStore:Qn()}}},NU=["textContent"],PU={class:"content"},RU=["textContent"],DU={class:"content"};function LU(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("control-setting-switch"),c=w("content-with-heading");return O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.artwork.title")}},null,8,["content"])]),content:M(()=>[P("div",{class:"content",textContent:et(t.$t("settings.artwork.explanation-1"))},null,8,NU),P("div",PU,[E(l,{category:"artwork",name:"streamurl_ignore"}),E(l,{category:"artwork",name:"show_cover_artwork_in_album_lists"})]),P("div",{class:"content",textContent:et(t.$t("settings.artwork.explanation-2"))},null,8,RU),P("div",DU,[s.servicesStore.isSpotifyActive?(O(),yt(l,{key:0,category:"artwork",name:"use_artwork_source_spotify"})):_t("",!0),E(l,{category:"artwork",name:"use_artwork_source_discogs"}),E(l,{category:"artwork",name:"use_artwork_source_coverartarchive"})])]),_:1})],64)}const MU=nt(IU,[["render",LU]]),$U={name:"PageSettingsDevices",components:{ContentWithHeading:ie,ControlPinField:a0,ControlSwitch:Ur,PaneTitle:re,TabsSettings:Cd},setup(){return{outputsStore:Ap(),remotesStore:kp()}},data(){return{outputPin:"",remotePairingDisabled:!0,remotePin:""}},methods:{onOutputPinChange(t){this.outputPin=t},onRemotePinChange(t,e){this.remotePin=t,this.remotePairingDisabled=e},pairOutput(t){Yc.update(t,{pin:this.outputPin})},pairRemote(){wp.pair(this.remotePin)},toggleOutput(t){Yc.toggle(t)}}},FU={class:"label has-text-weight-normal content"},VU=["textContent"],UU=["textContent"],HU={class:"control"},jU=["disabled","textContent"],BU=["textContent"],WU=["textContent"],GU=["textContent"],KU=["onSubmit"],qU={class:"control"},zU=["textContent"];function XU(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 O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.devices.pairing")}},null,8,["content"])]),content:M(()=>[s.remotesStore.active?(O(),F("form",{key:0,onSubmit:e[0]||(e[0]=Bn((...d)=>r.pairRemote&&r.pairRemote(...d),["prevent"]))},[P("label",FU,[P("span",{textContent:et(t.$t("settings.devices.pairing-request"))},null,8,VU),P("b",{textContent:et(s.remotesStore.remote)},null,8,UU)]),E(l,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onRemotePinChange},{default:M(()=>[P("div",HU,[P("button",{class:"button",type:"submit",disabled:i.remotePairingDisabled,textContent:et(t.$t("actions.verify"))},null,8,jU)])]),_:1},8,["placeholder","onInput"])],32)):(O(),F("div",{key:1,textContent:et(t.$t("settings.devices.no-active-pairing"))},null,8,BU))]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.devices.speaker-pairing")}},null,8,["content"])]),content:M(()=>[P("div",{class:"content",textContent:et(t.$t("settings.devices.speaker-pairing-info"))},null,8,WU),(O(!0),F(it,null,de(s.outputsStore.outputs,d=>(O(),F("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(()=>[P("span",{textContent:et(d.name)},null,8,GU)]),_:2},1032,["modelValue","onUpdate:modelValue"]),d.needs_auth_key?(O(),F("form",{key:0,onSubmit:Bn(f=>r.pairOutput(d.id),["prevent"])},[E(l,{placeholder:t.$t("settings.devices.verification-code"),onInput:r.onOutputPinChange},{default:M(()=>[P("div",qU,[P("button",{class:"button",type:"submit",textContent:et(t.$t("actions.verify"))},null,8,zU)])]),_:1},8,["placeholder","onInput"])],40,KU)):_t("",!0)]))),128))]),_:1})],64)}const YU=nt($U,[["render",XU]]),ZU={name:"PageSettingsOnlineServices",components:{ContentWithHeading:ie,PaneTitle:re,TabsSettings:Cd},setup(){return{servicesStore:Qn()}},data(){return{lastfmCredentials:{password:"",user:""},lastfmErrors:{error:"",password:"",user:""}}},methods:{loginLastfm(){Nn.loginLastfm(this.lastfmCredentials).then(t=>{this.lastfmErrors=t.errors,this.lastfmCredentials.password="",t.success&&(this.lastfmCredentials.user="")})},logoutLastfm(){Nn.logoutLastfm()},logoutSpotify(){Nn.logoutSpotify()}}},JU={key:0},QU=["textContent"],tH=["textContent"],eH={key:0},nH=["textContent"],sH=["textContent"],iH={class:"field is-grouped mt-5"},rH={key:0,class:"control"},oH=["href","textContent"],aH={key:1,class:"control"},lH=["textContent"],cH=["textContent"],uH={key:0},dH=["textContent"],fH=["textContent"],hH={key:0},pH={class:"field is-grouped"},mH={class:"control"},gH=["placeholder"],yH=["textContent"],bH={class:"control"},vH=["placeholder"],_H=["textContent"],SH={class:"control"},EH=["textContent"],wH=["textContent"],kH={key:1},CH=["textContent"],TH=["textContent"];function AH(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("content-with-heading");return O(),F(it,null,[E(o),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.services.spotify.title")}},null,8,["content"])]),content:M(()=>[s.servicesStore.isSpotifyEnabled?(O(),F("div",JU,[P("div",{textContent:et(t.$t("settings.services.spotify.grant-access"))},null,8,QU),P("div",{class:"notification help",textContent:et(t.$t("settings.services.spotify.requirements",{scopes:s.servicesStore.requiredSpotifyScopes.join(", ")}))},null,8,tH),s.servicesStore.isSpotifyActive?(O(),F("div",eH,[P("div",{textContent:et(t.$t("settings.services.spotify.user",{user:s.servicesStore.spotify.webapi_user}))},null,8,nH),s.servicesStore.hasMissingSpotifyScopes?(O(),F("div",{key:0,class:"notification help is-danger is-light",textContent:et(t.$t("settings.services.spotify.reauthorize",{scopes:s.servicesStore.missingSpotifyScopes.join(", ")}))},null,8,sH)):_t("",!0)])):_t("",!0),P("div",iH,[s.servicesStore.isAuthorizationRequired?(O(),F("div",rH,[P("a",{class:"button",href:s.servicesStore.spotify.oauth_uri,textContent:et(t.$t("settings.services.spotify.authorize"))},null,8,oH)])):_t("",!0),s.servicesStore.isSpotifyActive?(O(),F("div",aH,[P("button",{class:"button is-danger",onClick:e[0]||(e[0]=(...c)=>r.logoutSpotify&&r.logoutSpotify(...c)),textContent:et(t.$t("actions.logout"))},null,8,lH)])):_t("",!0)])])):(O(),F("div",{key:1,textContent:et(t.$t("settings.services.spotify.no-support"))},null,8,cH))]),_:1}),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.services.lastfm.title")}},null,8,["content"])]),content:M(()=>[s.servicesStore.isLastfmEnabled?(O(),F("div",uH,[P("div",{textContent:et(t.$t("settings.services.lastfm.grant-access"))},null,8,dH),P("div",{class:"notification help",textContent:et(t.$t("settings.services.lastfm.info"))},null,8,fH),s.servicesStore.isLastfmActive?(O(),F("div",kH,[P("button",{class:"button is-danger",onClick:e[4]||(e[4]=(...c)=>r.logoutLastfm&&r.logoutLastfm(...c)),textContent:et(t.$t("actions.logout"))},null,8,CH)])):(O(),F("div",hH,[P("form",{onSubmit:e[3]||(e[3]=Bn((...c)=>r.loginLastfm&&r.loginLastfm(...c),["prevent"]))},[P("div",pH,[P("div",mH,[ms(P("input",{"onUpdate:modelValue":e[1]||(e[1]=c=>i.lastfmCredentials.user=c),class:"input",type:"text",placeholder:t.$t("settings.services.username")},null,8,gH),[[Zs,i.lastfmCredentials.user]]),i.lastfmErrors?(O(),F("div",{key:0,class:"help is-danger",textContent:et(i.lastfmErrors.user)},null,8,yH)):_t("",!0)]),P("div",bH,[ms(P("input",{"onUpdate:modelValue":e[2]||(e[2]=c=>i.lastfmCredentials.password=c),class:"input",type:"password",placeholder:t.$t("settings.services.password")},null,8,vH),[[Zs,i.lastfmCredentials.password]]),i.lastfmErrors?(O(),F("div",{key:0,class:"help is-danger",textContent:et(i.lastfmErrors.password)},null,8,_H)):_t("",!0)]),P("div",SH,[P("button",{class:"button",type:"submit",textContent:et(t.$t("actions.login"))},null,8,EH)])]),i.lastfmErrors?(O(),F("div",{key:0,class:"help is-danger",textContent:et(i.lastfmErrors.error)},null,8,wH)):_t("",!0)],32)]))])):(O(),F("div",{key:1,textContent:et(t.$t("settings.services.lastfm.no-support"))},null,8,TH))]),_:1})],64)}const OH=nt(ZU,[["render",AH]]),xH={name:"ControlSettingIntegerField",components:{ControlSetting:Am},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}}},IH=["textContent"],NH=["placeholder","value","onInput"];function PH(t,e,n,s,i,r){const o=w("control-setting");return O(),yt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{input:M(({label:a,setting:l,update:c})=>[P("span",{textContent:et(a)},null,8,IH),P("input",{class:"input",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:l.value,onInput:u=>c(u,r.sanitise)},null,40,NH)]),help:M(()=>[le(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const RH=nt(xH,[["render",PH]]),DH={name:"ControlSettingTextField",components:{ControlSetting:Am},props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},methods:{sanitise(t){return t.value}}},LH=["textContent"],MH=["placeholder","value","onInput"];function $H(t,e,n,s,i,r){const o=w("control-setting");return O(),yt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{input:M(({label:a,setting:l,update:c})=>[P("span",{textContent:et(a)},null,8,LH),P("input",{class:"input",inputmode:"text",placeholder:n.placeholder,value:l.value,onInput:u=>c(u,r.sanitise)},null,40,MH)]),help:M(()=>[le(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const FH=nt(DH,[["render",$H]]),VH={name:"PageSettingsWebinterface",components:{ContentWithHeading:ie,ControlDropdown:Br,ControlSettingIntegerField:RH,ControlSettingSwitch:XS,ControlSettingTextField:FH,PaneTitle:re,TabsSettings:Cd},setup(){return{settingsStore:Js()}},computed:{appearance:{get(){return this.settingsStore.currentAppearance()},set(t){this.settingsStore.setAppearance(t)}},locale:{get(){return this.settingsStore.currentLocale()},set(t){this.settingsStore.setLocale(t)}}}},UH=["textContent"],HH=["textContent"];function jH(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 O(),F(it,null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.webinterface.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("settings.appearance.title")}},null,8,["content"])]),content:M(()=>[E(l,{value:r.appearance,"onUpdate:value":e[1]||(e[1]=p=>r.appearance=p),options:s.settingsStore.appearances},null,8,["value","options"])]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.webinterface.navigation-items")}},null,8,["content"])]),content:M(()=>[P("div",{textContent:et(t.$t("settings.webinterface.navigation-item-selection"))},null,8,UH),P("div",{class:"notification is-size-7",textContent:et(t.$t("settings.webinterface.navigation-item-selection-info"))},null,8,HH),E(u,{category:"webinterface",name:"show_menu_item_playlists"}),E(u,{category:"webinterface",name:"show_menu_item_music"}),E(u,{category:"webinterface",name:"show_menu_item_podcasts"}),E(u,{category:"webinterface",name:"show_menu_item_audiobooks"}),E(u,{category:"webinterface",name:"show_menu_item_radio"}),E(u,{category:"webinterface",name:"show_menu_item_files"}),E(u,{category:"webinterface",name:"show_menu_item_search"})]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.webinterface.player-page")}},null,8,["content"])]),content:M(()=>[E(u,{category:"webinterface",name:"show_filepath_now_playing"}),E(u,{category:"webinterface",name:"show_composer_now_playing"}),E(f,{category:"webinterface",name:"show_composer_for_genre",disabled:!s.settingsStore.showComposerNowPlaying,placeholder:t.$t("settings.webinterface.genres")},{help:M(()=>[E(d,{tag:"p",class:"help",keypath:"settings.webinterface.show-composer-genres-help",scope:"global"},{default:M(()=>[le(t.$slots,"default",{},()=>[e[2]||(e[2]=P("br",null,null,-1))])]),_:3})]),_:3},8,["disabled","placeholder"])]),_:3}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("settings.webinterface.recently-added-page")}},null,8,["content"])]),content:M(()=>[E(h,{category:"webinterface",name:"recently_added_limit"})]),_:1})],64)}const BH=nt(VH,[["render",jH]]),qb=100,WH=v$({history:z4(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:e5,name:"about",path:"/about"},{component:b8,name:"music-album",path:"/music/albums/:id"},{component:B8,name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:T6,name:"music-albums",path:"/music/albums"},{component:R6,name:"music-artist",path:"/music/artists/:id"},{component:U6,name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:tF,name:"music-artists",path:"/music/artists"},{component:G6,name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:sF,name:"audiobook-album",path:"/audiobook/albums/:id"},{component:lF,name:"audiobook-albums",path:"/audiobook/albums"},{component:dF,name:"audiobook-artist",path:"/audiobook/artists/:id"},{component:pF,name:"audiobook-artists",path:"/audiobook/artists"},{component:SF,name:"audiobook-genres",path:"/audiobook/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobook-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:uV,name:"music-history",path:"/music/history"},{component:hV,name:"music-recently-added",path:"/music/recently-added"},{component:gV,name:"music-recently-played",path:"/music/recently-played"},{component:wV,name:"music-spotify",path:"/music/spotify"},{component:TV,name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:xV,name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:TF,name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:xF,name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:DF,name:"music-composers",path:"/music/composers"},{component:JF,name:"files",path:"/files"},{component:eV,name:"genre-albums",path:"/genres/:name/albums"},{component:iV,name:"genre-tracks",path:"/genres/:name/tracks"},{component:aV,name:"music-genres",path:"/music/genres"},{component:t9,name:"player",path:"/player"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:s9,name:"playlist-folder",path:"/playlists/:id"},{component:o9,name:"playlist",path:"/playlists/:id/tracks"},{component:c9,name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:f9,name:"podcast",path:"/podcasts/:id"},{component:k9,name:"podcasts",path:"/podcasts"},{component:$7,name:"radio",path:"/radio"},{component:D7,name:"queue",path:"/"},{component:fU,name:"search-library",path:"/search/library"},{component:vU,name:"search-spotify",path:"/search/spotify"},{component:BH,name:"settings-webinterface",path:"/settings/webinterface"},{component:MU,name:"settings-artwork",path:"/settings/artwork"},{component:OH,name:"settings-online-services",path:"/settings/online-services"},{component:YU,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:qb}:t.hash?new Promise(i=>{setTimeout(()=>{i({el:t.hash,top:qb})},0)}):{left:0,top:0}}}),YS=Wc(FN).use(Wk()).use(WH).use(JR).use(UN).use(JN,{log:!1}).use(g4,{icons:l4}).use(Gs);YS.config.globalProperties.$formatters=ZL;YS.mount("#app");
|