mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-14 00:10:10 -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.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function en(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const Yt={},fr=[],tn=()=>{},to=()=>!1,zi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ou=t=>t.startsWith("onUpdate:"),Jt=Object.assign,au=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},BS=Object.prototype.hasOwnProperty,ce=(t,e)=>BS.call(t,e),yt=Array.isArray,hr=t=>xr(t)==="[object Map]",Ki=t=>xr(t)==="[object Set]",bf=t=>xr(t)==="[object Date]",Yb=t=>xr(t)==="[object RegExp]",xt=t=>typeof t=="function",Dt=t=>typeof t=="string",xn=t=>typeof t=="symbol",me=t=>t!==null&&typeof t=="object",lu=t=>(me(t)||xt(t))&&xt(t.then)&&xt(t.catch),Th=Object.prototype.toString,xr=t=>Th.call(t),Zb=t=>xr(t).slice(8,-1),Xa=t=>xr(t)==="[object Object]",cu=t=>Dt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,si=en(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Jb=en("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),uu=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},WS=/-(\w)/g,Te=uu(t=>t.replace(WS,(e,n)=>n?n.toUpperCase():"")),GS=/\B([A-Z])/g,pn=uu(t=>t.replace(GS,"-$1").toLowerCase()),Xi=uu(t=>t.charAt(0).toUpperCase()+t.slice(1)),pr=uu(t=>t?`on${Xi(t)}`:""),dn=(t,e)=>!Object.is(t,e),mr=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Ch=(t,e,n,s=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},wa=t=>{const e=parseFloat(t);return isNaN(e)?t:e},ka=t=>{const e=Dt(t)?Number(t):NaN;return isNaN(e)?t:e};let dm;const Ya=()=>dm||(dm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),qS=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function zS(t){return qS.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}function KS(t,e){return t+JSON.stringify(e,(n,s)=>typeof s=="function"?s.toString():s)}const XS={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"},YS={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},ZS={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"},JS={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},QS={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},tE="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",Ah=en(tE),eE=Ah,fm=2;function Qb(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-fm;l<=a+fm||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 fi(t){if(yt(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],i=Dt(s)?Oh(s):fi(s);if(i)for(const r in i)e[r]=i[r]}return e}else if(Dt(t)||me(t))return t}const nE=/;(?![^(]*\))/g,sE=/:([^]+)/,iE=/\/\*[^]*?\*\//g;function Oh(t){const e={};return t.replace(iE,"").split(nE).forEach(n=>{if(n){const s=n.split(sE);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function rE(t){if(!t)return"";if(Dt(t))return t;let e="";for(const n in t){const s=t[n];if(Dt(s)||typeof s=="number"){const i=n.startsWith("--")?n:pn(n);e+=`${i}:${s};`}}return e}function Vt(t){let e="";if(Dt(t))e=t;else if(yt(t))for(let n=0;n<t.length;n++){const s=Vt(t[n]);s&&(e+=s+" ")}else if(me(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function eo(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Dt(e)&&(t.class=Vt(e)),n&&(t.style=fi(n)),t}const oE="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",aE="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",lE="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",cE="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",tv=en(oE),ev=en(aE),nv=en(lE),sv=en(cE),iv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",rv=en(iv),uE=en(iv+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function xh(t){return!!t||t===""}const dE=/[>/="'\u0009\u000a\u000c\u0020]/,vd={};function fE(t){if(vd.hasOwnProperty(t))return vd[t];const e=dE.test(t);return e&&console.error(`unsafe attribute name: ${t}`),vd[t]=!e}const hE={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},pE=en("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"),mE=en("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"),gE=en("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 yE(t){if(t==null)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"}const bE=/["'&<>]/;function vE(t){const e=""+t,n=bE.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 _E=/^-?>|<!--|-->|--!>|<!-$/g;function SE(t){return t.replace(_E,"")}const ov=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function EE(t,e){return t.replace(ov,n=>e?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function wE(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=li(t[s],e[s]);return n}function li(t,e){if(t===e)return!0;let n=bf(t),s=bf(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=xn(t),s=xn(e),n||s)return t===e;if(n=yt(t),s=yt(e),n||s)return n&&s?wE(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||!li(t[o],e[o]))return!1}}return String(t)===String(e)}function Za(t,e){return t.findIndex(n=>li(n,e))}const av=t=>!!(t&&t.__v_isRef===!0),Z=t=>Dt(t)?t:t==null?"":yt(t)||me(t)&&(t.toString===Th||!xt(t.toString))?av(t)?Z(t.value):JSON.stringify(t,lv,2):String(t),lv=(t,e)=>av(e)?lv(t,e.value):hr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i],r)=>(n[_d(s,r)+" =>"]=i,n),{})}:Ki(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>_d(n))}:xn(e)?_d(e):me(e)&&!yt(e)&&!Xa(e)?String(e):e,_d=(t,e="")=>{var n;return xn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t},kE=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:fr,EMPTY_OBJ:Yt,NO:to,NOOP:tn,PatchFlagNames:YS,PatchFlags:XS,ShapeFlags:ZS,SlotFlags:JS,camelize:Te,capitalize:Xi,cssVarNameEscapeSymbolsRE:ov,def:Ch,escapeHtml:vE,escapeHtmlComment:SE,extend:Jt,genCacheKey:KS,genPropsAccessExp:zS,generateCodeFrame:Qb,getEscapedCssVarName:EE,getGlobalThis:Ya,hasChanged:dn,hasOwn:ce,hyphenate:pn,includeBooleanAttr:xh,invokeArrayFns:mr,isArray:yt,isBooleanAttr:uE,isBuiltInDirective:Jb,isDate:bf,isFunction:xt,isGloballyAllowed:Ah,isGloballyWhitelisted:eE,isHTMLTag:tv,isIntegerKey:cu,isKnownHtmlAttr:pE,isKnownMathMLAttr:gE,isKnownSvgAttr:mE,isMap:hr,isMathMLTag:nv,isModelListener:ou,isObject:me,isOn:zi,isPlainObject:Xa,isPromise:lu,isRegExp:Yb,isRenderableAttrValue:yE,isReservedProp:si,isSSRSafeAttrName:fE,isSVGTag:ev,isSet:Ki,isSpecialBooleanAttr:rv,isString:Dt,isSymbol:xn,isVoidTag:sv,looseEqual:li,looseIndexOf:Za,looseToNumber:wa,makeMap:en,normalizeClass:Vt,normalizeProps:eo,normalizeStyle:fi,objectToString:Th,parseStringStyle:Oh,propsToAttrMap:hE,remove:au,slotFlagsText:QS,stringifyStyle:rE,toDisplayString:Z,toHandlerKey:pr,toNumber:ka,toRawType:Zb,toTypeString:xr},Symbol.toStringTag,{value:"Module"}));/**
|
||
* @vue/reactivity v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let kn;class Ih{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=kn,!e&&kn&&(this.index=(kn.scopes||(kn.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=kn;try{return kn=this,e()}finally{kn=n}}}on(){kn=this}off(){kn=this.parent}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 du(t){return new Ih(t)}function Nh(){return kn}function cv(t,e=!1){kn&&kn.cleanups.push(t)}let ke;const Sd=new WeakSet;class Ta{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,kn&&kn.active&&kn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Sd.has(this)&&(Sd.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||dv(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,hm(this),fv(this);const e=ke,n=ws;ke=this,ws=!0;try{return this.fn()}finally{hv(this),ke=e,ws=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Rh(e);this.deps=this.depsTail=void 0,hm(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Sd.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vf(this)&&this.run()}get dirty(){return vf(this)}}let uv=0,oa,aa;function dv(t,e=!1){if(t.flags|=8,e){t.next=aa,aa=t;return}t.next=oa,oa=t}function Ph(){uv++}function Dh(){if(--uv>0)return;if(aa){let e=aa;for(aa=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;oa;){let e=oa;for(oa=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 fv(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function hv(t){let e,n=t.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),Rh(s),TE(s)):e=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}t.deps=e,t.depsTail=n}function vf(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(pv(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function pv(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ca))return;t.globalVersion=Ca;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!vf(t)){t.flags&=-3;return}const n=ke,s=ws;ke=t,ws=!0;try{fv(t);const i=t.fn(t._value);(e.version===0||dn(i,t._value))&&(t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ke=n,ws=s,hv(t),t.flags&=-3}}function Rh(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)Rh(r,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function TE(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}function CE(t,e){t.effect instanceof Ta&&(t=t.effect.fn);const n=new Ta(t);e&&Jt(n,e);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function AE(t){t.effect.stop()}let ws=!0;const mv=[];function Yi(){mv.push(ws),ws=!1}function Zi(){const t=mv.pop();ws=t===void 0?!0:t}function hm(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=ke;ke=void 0;try{e()}finally{ke=n}}}let Ca=0;class OE{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 fu{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!ke||!ws||ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ke)n=this.activeLink=new OE(ke,this),ke.deps?(n.prevDep=ke.depsTail,ke.depsTail.nextDep=n,ke.depsTail=n):ke.deps=ke.depsTail=n,gv(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++,Ca++,this.notify(e)}notify(e){Ph();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Dh()}}}function gv(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)gv(s)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Sc=new WeakMap,gr=Symbol(""),_f=Symbol(""),Aa=Symbol("");function fn(t,e,n){if(ws&&ke){let s=Sc.get(t);s||Sc.set(t,s=new Map);let i=s.get(n);i||(s.set(n,i=new fu),i.map=s,i.key=n),i.track()}}function Zs(t,e,n,s,i,r){const o=Sc.get(t);if(!o){Ca++;return}const a=l=>{l&&l.trigger()};if(Ph(),e==="clear")o.forEach(a);else{const l=yt(t),c=l&&cu(n);if(l&&n==="length"){const u=Number(s);o.forEach((d,f)=>{(f==="length"||f===Aa||!xn(f)&&f>=u)&&a(d)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(Aa)),e){case"add":l?c&&a(o.get("length")):(a(o.get(gr)),hr(t)&&a(o.get(_f)));break;case"delete":l||(a(o.get(gr)),hr(t)&&a(o.get(_f)));break;case"set":hr(t)&&a(o.get(gr));break}}Dh()}function xE(t,e){const n=Sc.get(t);return n&&n.get(e)}function Lr(t){const e=ne(t);return e===t?e:(fn(e,"iterate",Aa),Kn(t)?e:e.map(hn))}function hu(t){return fn(t=ne(t),"iterate",Aa),t}const IE={__proto__:null,[Symbol.iterator](){return Ed(this,Symbol.iterator,hn)},concat(...t){return Lr(this).concat(...t.map(e=>yt(e)?Lr(e):e))},entries(){return Ed(this,"entries",t=>(t[1]=hn(t[1]),t))},every(t,e){return Gs(this,"every",t,e,void 0,arguments)},filter(t,e){return Gs(this,"filter",t,e,n=>n.map(hn),arguments)},find(t,e){return Gs(this,"find",t,e,hn,arguments)},findIndex(t,e){return Gs(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Gs(this,"findLast",t,e,hn,arguments)},findLastIndex(t,e){return Gs(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Gs(this,"forEach",t,e,void 0,arguments)},includes(...t){return wd(this,"includes",t)},indexOf(...t){return wd(this,"indexOf",t)},join(t){return Lr(this).join(t)},lastIndexOf(...t){return wd(this,"lastIndexOf",t)},map(t,e){return Gs(this,"map",t,e,void 0,arguments)},pop(){return Uo(this,"pop")},push(...t){return Uo(this,"push",t)},reduce(t,...e){return pm(this,"reduce",t,e)},reduceRight(t,...e){return pm(this,"reduceRight",t,e)},shift(){return Uo(this,"shift")},some(t,e){return Gs(this,"some",t,e,void 0,arguments)},splice(...t){return Uo(this,"splice",t)},toReversed(){return Lr(this).toReversed()},toSorted(t){return Lr(this).toSorted(t)},toSpliced(...t){return Lr(this).toSpliced(...t)},unshift(...t){return Uo(this,"unshift",t)},values(){return Ed(this,"values",hn)}};function Ed(t,e,n){const s=hu(t),i=s[e]();return s!==t&&!Kn(t)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.value&&(r.value=n(r.value)),r}),i}const NE=Array.prototype;function Gs(t,e,n,s,i,r){const o=hu(t),a=o!==t&&!Kn(t),l=o[e];if(l!==NE[e]){const d=l.apply(t,r);return a?hn(d):d}let c=n;o!==t&&(a?c=function(d,f){return n.call(this,hn(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 pm(t,e,n,s){const i=hu(t);let r=n;return i!==t&&(Kn(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,hn(a),l,t)}),i[e](r,...s)}function wd(t,e,n){const s=ne(t);fn(s,"iterate",Aa);const i=s[e](...n);return(i===-1||i===!1)&&gu(n[0])?(n[0]=ne(n[0]),s[e](...n)):i}function Uo(t,e,n=[]){Yi(),Ph();const s=ne(t)[e].apply(t,n);return Dh(),Zi(),s}const PE=en("__proto__,__v_isRef,__isVue"),yv=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(xn));function DE(t){xn(t)||(t=String(t));const e=ne(this);return fn(e,"has",t),e.hasOwnProperty(t)}class bv{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?kv:wv:r?Ev:Sv).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const o=yt(e);if(!i){let l;if(o&&(l=IE[n]))return l;if(n==="hasOwnProperty")return DE}const a=Reflect.get(e,n,Ne(e)?e:s);return(xn(n)?yv.has(n):PE(n))||(i||fn(e,"get",n),r)?a:Ne(a)?o&&cu(n)?a:a.value:me(a)?i?Lh(a):xo(a):a}}class vv extends bv{constructor(e=!1){super(!1,e)}set(e,n,s,i){let r=e[n];if(!this._isShallow){const l=Bi(r);if(!Kn(s)&&!Bi(s)&&(r=ne(r),s=ne(s)),!yt(e)&&Ne(r)&&!Ne(s))return l?!1:(r.value=s,!0)}const o=yt(e)&&cu(n)?Number(n)<e.length:ce(e,n),a=Reflect.set(e,n,s,Ne(e)?e:i);return e===ne(i)&&(o?dn(s,r)&&Zs(e,"set",n,s):Zs(e,"add",n,s)),a}deleteProperty(e,n){const s=ce(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&s&&Zs(e,"delete",n,void 0),i}has(e,n){const s=Reflect.has(e,n);return(!xn(n)||!yv.has(n))&&fn(e,"has",n),s}ownKeys(e){return fn(e,"iterate",yt(e)?"length":gr),Reflect.ownKeys(e)}}class _v extends bv{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const RE=new vv,ME=new _v,LE=new vv(!0),$E=new _v(!0),Sf=t=>t,bl=t=>Reflect.getPrototypeOf(t);function FE(t,e,n){return function(...s){const i=this.__v_raw,r=ne(i),o=hr(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...s),u=n?Sf:e?Ef:hn;return!e&&fn(r,"iterate",l?_f:gr),{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 vl(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function VE(t,e){const n={get(i){const r=this.__v_raw,o=ne(r),a=ne(i);t||(dn(i,a)&&fn(o,"get",i),fn(o,"get",a));const{has:l}=bl(o),c=e?Sf:t?Ef:hn;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&&fn(ne(i),"iterate",gr),Reflect.get(i,"size",i)},has(i){const r=this.__v_raw,o=ne(r),a=ne(i);return t||(dn(i,a)&&fn(o,"has",i),fn(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?Sf:t?Ef:hn;return!t&&fn(l,"iterate",gr),a.forEach((u,d)=>i.call(r,c(u),c(d),o))}};return Jt(n,t?{add:vl("add"),set:vl("set"),delete:vl("delete"),clear:vl("clear")}:{add(i){!e&&!Kn(i)&&!Bi(i)&&(i=ne(i));const r=ne(this);return bl(r).has.call(r,i)||(r.add(i),Zs(r,"add",i,i)),this},set(i,r){!e&&!Kn(r)&&!Bi(r)&&(r=ne(r));const o=ne(this),{has:a,get:l}=bl(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?dn(r,u)&&Zs(o,"set",i,r):Zs(o,"add",i,r),this},delete(i){const r=ne(this),{has:o,get:a}=bl(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&&Zs(r,"delete",i,void 0),c},clear(){const i=ne(this),r=i.size!==0,o=i.clear();return r&&Zs(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=FE(i,t,e)}),n}function pu(t,e){const n=VE(t,e);return(s,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(ce(n,i)&&i in s?n:s,i,r)}const HE={get:pu(!1,!1)},UE={get:pu(!1,!0)},jE={get:pu(!0,!1)},BE={get:pu(!0,!0)},Sv=new WeakMap,Ev=new WeakMap,wv=new WeakMap,kv=new WeakMap;function WE(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function GE(t){return t.__v_skip||!Object.isExtensible(t)?0:WE(Zb(t))}function xo(t){return Bi(t)?t:mu(t,!1,RE,HE,Sv)}function Mh(t){return mu(t,!1,LE,UE,Ev)}function Lh(t){return mu(t,!0,ME,jE,wv)}function qE(t){return mu(t,!0,$E,BE,kv)}function mu(t,e,n,s,i){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=i.get(t);if(r)return r;const o=GE(t);if(o===0)return t;const a=new Proxy(t,o===2?s:n);return i.set(t,a),a}function Fs(t){return Bi(t)?Fs(t.__v_raw):!!(t&&t.__v_isReactive)}function Bi(t){return!!(t&&t.__v_isReadonly)}function Kn(t){return!!(t&&t.__v_isShallow)}function gu(t){return t?!!t.__v_raw:!1}function ne(t){const e=t&&t.__v_raw;return e?ne(e):t}function yu(t){return!ce(t,"__v_skip")&&Object.isExtensible(t)&&Ch(t,"__v_skip",!0),t}const hn=t=>me(t)?xo(t):t,Ef=t=>me(t)?Lh(t):t;function Ne(t){return t?t.__v_isRef===!0:!1}function as(t){return Tv(t,!1)}function bu(t){return Tv(t,!0)}function Tv(t,e){return Ne(t)?t:new zE(t,e)}class zE{constructor(e,n){this.dep=new fu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:ne(e),this._value=n?e:hn(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,s=this.__v_isShallow||Kn(e)||Bi(e);e=s?e:ne(e),dn(e,n)&&(this._rawValue=e,this._value=s?e:hn(e),this.dep.trigger())}}function KE(t){t.dep&&t.dep.trigger()}function $n(t){return Ne(t)?t.value:t}function XE(t){return xt(t)?t():$n(t)}const YE={get:(t,e,n)=>e==="__v_raw"?t:$n(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Ne(i)&&!Ne(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function $h(t){return Fs(t)?t:new Proxy(t,YE)}class ZE{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new fu,{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 Cv(t){return new ZE(t)}function Av(t){const e=yt(t)?new Array(t.length):{};for(const n in t)e[n]=Ov(t,n);return e}class JE{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 xE(ne(this._object),this._key)}}class QE{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 t3(t,e,n){return Ne(t)?t:xt(t)?new QE(t):me(t)&&arguments.length>1?Ov(t,e,n):as(t)}function Ov(t,e,n){const s=t[e];return Ne(s)?s:new JE(t,e,n)}class e3{constructor(e,n,s){this.fn=e,this.setter=n,this._value=void 0,this.dep=new fu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ca-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 dv(this,!0),!0}get value(){const e=this.dep.track();return pv(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function n3(t,e,n=!1){let s,i;return xt(t)?s=t:(s=t.get,i=t.set),new e3(s,i,n)}const s3={GET:"get",HAS:"has",ITERATE:"iterate"},i3={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},_l={},Ec=new WeakMap;let Oi;function r3(){return Oi}function xv(t,e=!1,n=Oi){if(n){let s=Ec.get(n);s||Ec.set(n,s=[]),s.push(t)}}function o3(t,e,n=Yt){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:a,call:l}=n,c=v=>i?v:Kn(v)||i===!1||i===0?Js(v,1):Js(v);let u,d,f,h,p=!1,m=!1;if(Ne(t)?(d=()=>t.value,p=Kn(t)):Fs(t)?(d=()=>c(t),p=!0):yt(t)?(m=!0,p=t.some(v=>Fs(v)||Kn(v)),d=()=>t.map(v=>{if(Ne(v))return v.value;if(Fs(v))return c(v);if(xt(v))return l?l(v,2):v()})):xt(t)?e?d=l?()=>l(t,2):t:d=()=>{if(f){Yi();try{f()}finally{Zi()}}const v=Oi;Oi=u;try{return l?l(t,3,[h]):t(h)}finally{Oi=v}}:d=tn,e&&i){const v=d,S=i===!0?1/0:i;d=()=>Js(v(),S)}const b=Nh(),y=()=>{u.stop(),b&&b.active&&au(b.effects,u)};if(r&&e){const v=e;e=(...S)=>{v(...S),y()}}let _=m?new Array(t.length).fill(_l):_l;const g=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(e){const S=u.run();if(i||p||(m?S.some((k,N)=>dn(k,_[N])):dn(S,_))){f&&f();const k=Oi;Oi=u;try{const N=[S,_===_l?void 0:m&&_[0]===_l?[]:_,h];l?l(e,3,N):e(...N),_=S}finally{Oi=k}}}else u.run()};return a&&a(g),u=new Ta(d),u.scheduler=o?()=>o(g,!1):g,h=v=>xv(v,!1,u),f=u.onStop=()=>{const v=Ec.get(u);if(v){if(l)l(v,4);else for(const S of v)S();Ec.delete(u)}},e?s?g(!0):_=u.run():o?o(g.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Js(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--,Ne(t))Js(t.value,e,n);else if(yt(t))for(let s=0;s<t.length;s++)Js(t[s],e,n);else if(Ki(t)||hr(t))t.forEach(s=>{Js(s,e,n)});else if(Xa(t)){for(const s in t)Js(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&Js(t[s],e,n)}return t}/**
|
||
* @vue/runtime-core v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Iv=[];function a3(t){Iv.push(t)}function l3(){Iv.pop()}function c3(t,e){}const u3={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"},d3={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 Io(t,e,n,s){try{return s?t(...s):t()}catch(i){Ir(i,e,n)}}function ds(t,e,n,s){if(xt(t)){const i=Io(t,e,n,s);return i&&lu(i)&&i.catch(r=>{Ir(r,e,n)}),i}if(yt(t)){const i=[];for(let r=0;r<t.length;r++)i.push(ds(t[r],e,n,s));return i}}function Ir(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){Yi(),Io(r,null,10,[t,l,c]),Zi();return}}f3(t,n,i,s,o)}function f3(t,e,n,s=!0,i=!1){if(i)throw t;console.error(t)}const Tn=[];let Rs=-1;const oo=[];let xi=null,zr=0;const Nv=Promise.resolve();let wc=null;function Nr(t){const e=wc||Nv;return t?e.then(this?t.bind(this):t):e}function h3(t){let e=Rs+1,n=Tn.length;for(;e<n;){const s=e+n>>>1,i=Tn[s],r=xa(i);r<t||r===t&&i.flags&2?e=s+1:n=s}return e}function Fh(t){if(!(t.flags&1)){const e=xa(t),n=Tn[Tn.length-1];!n||!(t.flags&2)&&e>=xa(n)?Tn.push(t):Tn.splice(h3(e),0,t),t.flags|=1,Pv()}}function Pv(){wc||(wc=Nv.then(Dv))}function Oa(t){yt(t)?oo.push(...t):xi&&t.id===-1?xi.splice(zr+1,0,t):t.flags&1||(oo.push(t),t.flags|=1),Pv()}function mm(t,e,n=Rs+1){for(;n<Tn.length;n++){const s=Tn[n];if(s&&s.flags&2){if(t&&s.id!==t.uid)continue;Tn.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function kc(t){if(oo.length){const e=[...new Set(oo)].sort((n,s)=>xa(n)-xa(s));if(oo.length=0,xi){xi.push(...e);return}for(xi=e,zr=0;zr<xi.length;zr++){const n=xi[zr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xi=null,zr=0}}const xa=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Dv(t){try{for(Rs=0;Rs<Tn.length;Rs++){const e=Tn[Rs];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),Io(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Rs<Tn.length;Rs++){const e=Tn[Rs];e&&(e.flags&=-2)}Rs=-1,Tn.length=0,kc(),wc=null,(Tn.length||oo.length)&&Dv()}}let Kr,Sl=[];function Rv(t,e){var n,s;Kr=t,Kr?(Kr.enabled=!0,Sl.forEach(({event:i,args:r})=>Kr.emit(i,...r)),Sl=[]):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=>{Rv(r,e)}),setTimeout(()=>{Kr||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Sl=[])},3e3)):Sl=[]}let Ye=null,vu=null;function Ia(t){const e=Ye;return Ye=t,vu=t&&t.type.__scopeId||null,e}function p3(t){vu=t}function m3(){vu=null}const g3=t=>M;function M(t,e=Ye,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&If(-1);const r=Ia(e);let o;try{o=t(...i)}finally{Ia(r),s._d&&If(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function In(t,e){if(Ye===null)return t;const n=nl(Ye),s=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[r,o,a,l=Yt]=e[i];r&&(xt(r)&&(r={mounted:r,updated:r}),r.deep&&Js(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function Ms(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&&(Yi(),ds(l,n,8,[t.el,a,t,e]),Zi())}}const Mv=Symbol("_vte"),Lv=t=>t.__isTeleport,la=t=>t&&(t.disabled||t.disabled===""),gm=t=>t&&(t.defer||t.defer===""),ym=t=>typeof SVGElement<"u"&&t instanceof SVGElement,bm=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,wf=(t,e)=>{const n=t&&t.to;return Dt(n)?e?e(n):null:n},$v={name:"Teleport",__isTeleport:!0,process(t,e,n,s,i,r,o,a,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:m,createComment:b}}=c,y=la(e.props);let{shapeFlag:_,children:g,dynamicChildren:v}=e;if(t==null){const S=e.el=m(""),k=e.anchor=m("");h(S,n,s),h(k,n,s);const N=(T,R)=>{_&16&&(i&&i.isCE&&(i.ce._teleportTarget=T),u(g,T,R,i,r,o,a,l))},D=()=>{const T=e.target=wf(e.props,p),R=Fv(T,e,m,h);T&&(o!=="svg"&&ym(T)?o="svg":o!=="mathml"&&bm(T)&&(o="mathml"),y||(N(T,R),Yl(e,!1)))};y&&(N(n,k),Yl(e,!0)),gm(e.props)?Ke(()=>{D(),e.el.__isMounted=!0},r):D()}else{if(gm(e.props)&&!t.el.__isMounted){Ke(()=>{$v.process(t,e,n,s,i,r,o,a,l,c),delete t.el.__isMounted},r);return}e.el=t.el,e.targetStart=t.targetStart;const S=e.anchor=t.anchor,k=e.target=t.target,N=e.targetAnchor=t.targetAnchor,D=la(t.props),T=D?n:k,R=D?S:N;if(o==="svg"||ym(k)?o="svg":(o==="mathml"||bm(k))&&(o="mathml"),v?(f(t.dynamicChildren,v,T,i,r,o,a),Xh(t,e,!0)):l||d(t,e,T,R,i,r,o,a,!1),y)D?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):El(e,n,S,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const j=e.target=wf(e.props,p);j&&El(e,j,null,c,0)}else D&&El(e,k,N,c,1);Yl(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||!la(f);for(let p=0;p<a.length;p++){const m=a[p];s(m,e,n,h,!!m.dynamicChildren)}}},move:El,hydrate:y3};function El(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||la(u))&&l&16)for(let f=0;f<c.length;f++)i(c[f],e,n,2);d&&s(a,e,n)}function y3(t,e,n,s,i,r,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:c,createText:u}},d){const f=e.target=wf(e.props,l);if(f){const h=la(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||Fv(f,e,u,c),d(p&&o(p),e,f,n,s,i,r)}Yl(e,h)}return e.anchor&&o(e.anchor)}const b3=$v;function Yl(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 Fv(t,e,n,s){const i=e.targetStart=n(""),r=e.targetAnchor=n("");return i[Mv]=r,t&&(s(i,t),s(r,t)),r}const Ii=Symbol("_leaveCb"),wl=Symbol("_enterCb");function Vh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return No(()=>{t.isMounted=!0}),wu(()=>{t.isUnmounting=!0}),t}const es=[Function,Array],Hh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:es,onEnter:es,onAfterEnter:es,onEnterCancelled:es,onBeforeLeave:es,onLeave:es,onAfterLeave:es,onLeaveCancelled:es,onBeforeAppear:es,onAppear:es,onAfterAppear:es,onAppearCancelled:es},Vv=t=>{const e=t.subTree;return e.component?Vv(e.component):e},v3={name:"BaseTransition",props:Hh,setup(t,{slots:e}){const n=on(),s=Vh();return()=>{const i=e.default&&_u(e.default(),!0);if(!i||!i.length)return;const r=Hv(i),o=ne(t),{mode:a}=o;if(s.isLeaving)return kd(r);const l=vm(r);if(!l)return kd(r);let c=fo(l,o,s,n,d=>c=d);l.type!==Ge&&ci(l,c);let u=n.subTree&&vm(n.subTree);if(u&&u.type!==Ge&&!_s(l,u)&&Vv(n).type!==Ge){let d=fo(u,o,s,n);if(ci(u,d),a==="out-in"&&l.type!==Ge)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},kd(r);a==="in-out"&&l.type!==Ge?d.delayLeave=(f,h,p)=>{const m=jv(s,u);m[String(u.key)]=u,f[Ii]=()=>{h(),f[Ii]=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 Hv(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Ge){e=n;break}}return e}const Uv=v3;function jv(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 fo(t,e,n,s,i){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:b,onAppear:y,onAfterAppear:_,onAppearCancelled:g}=e,v=String(t.key),S=jv(n,t),k=(T,R)=>{T&&ds(T,s,9,R)},N=(T,R)=>{const j=R[1];k(T,R),yt(T)?T.every(F=>F.length<=1)&&j():T.length<=1&&j()},D={mode:o,persisted:a,beforeEnter(T){let R=l;if(!n.isMounted)if(r)R=b||l;else return;T[Ii]&&T[Ii](!0);const j=S[v];j&&_s(t,j)&&j.el[Ii]&&j.el[Ii](),k(R,[T])},enter(T){let R=c,j=u,F=d;if(!n.isMounted)if(r)R=y||c,j=_||u,F=g||d;else return;let U=!1;const Y=T[wl]=ot=>{U||(U=!0,ot?k(F,[T]):k(j,[T]),D.delayedLeave&&D.delayedLeave(),T[wl]=void 0)};R?N(R,[T,Y]):Y()},leave(T,R){const j=String(t.key);if(T[wl]&&T[wl](!0),n.isUnmounting)return R();k(f,[T]);let F=!1;const U=T[Ii]=Y=>{F||(F=!0,R(),Y?k(m,[T]):k(p,[T]),T[Ii]=void 0,S[j]===t&&delete S[j])};S[j]=t,h?N(h,[T,U]):U()},clone(T){const R=fo(T,e,n,s,i);return i&&i(R),R}};return D}function kd(t){if(Ja(t))return t=Hs(t),t.children=null,t}function vm(t){if(!Ja(t))return Lv(t.type)&&t.children?Hv(t.children):t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&xt(n.default))return n.default()}}function ci(t,e){t.shapeFlag&6&&t.component?(t.transition=e,ci(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 _u(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===pt?(o.patchFlag&128&&i++,s=s.concat(_u(o.children,e,a))):(e||o.type!==Ge)&&s.push(a!=null?Hs(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 hi(t,e){return xt(t)?Jt({name:t.name},e,{setup:t}):t}function _3(){const t=on();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function Uh(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function S3(t){const e=on(),n=bu(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 Na(t,e,n,s,i=!1){if(yt(t)){t.forEach((p,m)=>Na(p,e&&(yt(e)?e[m]:e),n,s,i));return}if(Hi(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Na(t,e,n,s.component.subTree);return}const r=s.shapeFlag&4?nl(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=>ce(f,p);if(c!=null&&c!==l&&(Dt(c)?(u[c]=null,h(c)&&(d[c]=null)):Ne(c)&&(c.value=null)),xt(l))Io(l,a,12,[o,u]);else{const p=Dt(l),m=Ne(l);if(p||m){const b=()=>{if(t.f){const y=p?h(l)?d[l]:u[l]:l.value;i?yt(y)&&au(y,r):yt(y)?y.includes(r)||y.push(r):p?(u[l]=[r],h(l)&&(d[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else p?(u[l]=o,h(l)&&(d[l]=o)):m&&(l.value=o,t.k&&(u[t.k]=o))};o?(b.id=-1,Ke(b,n)):b()}}}let _m=!1;const $r=()=>{_m||(console.error("Hydration completed but contains mismatches."),_m=!0)},E3=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",w3=t=>t.namespaceURI.includes("MathML"),kl=t=>{if(t.nodeType===1){if(E3(t))return"svg";if(w3(t))return"mathml"}},no=t=>t.nodeType===8;function k3(t){const{mt:e,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(g,v)=>{if(!v.hasChildNodes()){n(null,g,v),kc(),v._vnode=g;return}d(v.firstChild,g,null,null,null),kc(),v._vnode=g},d=(g,v,S,k,N,D=!1)=>{D=D||!!v.dynamicChildren;const T=no(g)&&g.data==="[",R=()=>m(g,v,S,k,N,T),{type:j,ref:F,shapeFlag:U,patchFlag:Y}=v;let ot=g.nodeType;v.el=g,Y===-2&&(D=!1,v.dynamicChildren=null);let G=null;switch(j){case ii:ot!==3?v.children===""?(l(v.el=i(""),o(g),g),G=g):G=R():(g.data!==v.children&&($r(),g.data=v.children),G=r(g));break;case Ge:_(g)?(G=r(g),y(v.el=g.content.firstChild,g,S)):ot!==8||T?G=R():G=r(g);break;case br:if(T&&(g=r(g),ot=g.nodeType),ot===1||ot===3){G=g;const et=!v.children.length;for(let at=0;at<v.staticCount;at++)et&&(v.children+=G.nodeType===1?G.outerHTML:G.data),at===v.staticCount-1&&(v.anchor=G),G=r(G);return T?r(G):G}else R();break;case pt:T?G=p(g,v,S,k,N,D):G=R();break;default:if(U&1)(ot!==1||v.type.toLowerCase()!==g.tagName.toLowerCase())&&!_(g)?G=R():G=f(g,v,S,k,N,D);else if(U&6){v.slotScopeIds=N;const et=o(g);if(T?G=b(g):no(g)&&g.data==="teleport start"?G=b(g,g.data,"teleport end"):G=r(g),e(v,et,null,S,k,kl(et),D),Hi(v)&&!v.type.__asyncResolved){let at;T?(at=E(pt),at.anchor=G?G.previousSibling:et.lastChild):at=g.nodeType===3?Us(""):E("div"),at.el=g,v.component.subTree=at}}else U&64?ot!==8?G=R():G=v.type.hydrate(g,v,S,k,N,D,t,h):U&128&&(G=v.type.hydrate(g,v,S,k,kl(o(g)),N,D,t,d))}return F!=null&&Na(F,null,k,v),G},f=(g,v,S,k,N,D)=>{D=D||!!v.dynamicChildren;const{type:T,props:R,patchFlag:j,shapeFlag:F,dirs:U,transition:Y}=v,ot=T==="input"||T==="option";if(ot||j!==-1){U&&Ms(v,null,S,"created");let G=!1;if(_(g)){G=p1(null,Y)&&S&&S.vnode.props&&S.vnode.props.appear;const at=g.content.firstChild;G&&Y.beforeEnter(at),y(at,g,S),v.el=g=at}if(F&16&&!(R&&(R.innerHTML||R.textContent))){let at=h(g.firstChild,v,g,S,k,N,D);for(;at;){Tl(g,1)||$r();const Tt=at;at=at.nextSibling,a(Tt)}}else if(F&8){let at=v.children;at[0]===`
|
||
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(at=at.slice(1)),g.textContent!==at&&(Tl(g,0)||$r(),g.textContent=v.children)}if(R){if(ot||!D||j&48){const at=g.tagName.includes("-");for(const Tt in R)(ot&&(Tt.endsWith("value")||Tt==="indeterminate")||zi(Tt)&&!si(Tt)||Tt[0]==="."||at)&&s(g,Tt,null,R[Tt],void 0,S)}else if(R.onClick)s(g,"onClick",null,R.onClick,void 0,S);else if(j&4&&Fs(R.style))for(const at in R.style)R.style[at]}let et;(et=R&&R.onVnodeBeforeMount)&&Mn(et,S,v),U&&Ms(v,null,S,"beforeMount"),((et=R&&R.onVnodeMounted)||U||G)&&k1(()=>{et&&Mn(et,S,v),G&&Y.enter(g),U&&Ms(v,null,S,"mounted")},k)}return g.nextSibling},h=(g,v,S,k,N,D,T)=>{T=T||!!v.dynamicChildren;const R=v.children,j=R.length;for(let F=0;F<j;F++){const U=T?R[F]:R[F]=Ln(R[F]),Y=U.type===ii;g?(Y&&!T&&F+1<j&&Ln(R[F+1]).type===ii&&(l(i(g.data.slice(U.children.length)),S,r(g)),g.data=U.children),g=d(g,U,k,N,D,T)):Y&&!U.children?l(U.el=i(""),S):(Tl(S,1)||$r(),n(null,U,S,null,k,N,kl(S),D))}return g},p=(g,v,S,k,N,D)=>{const{slotScopeIds:T}=v;T&&(N=N?N.concat(T):T);const R=o(g),j=h(r(g),v,R,S,k,N,D);return j&&no(j)&&j.data==="]"?r(v.anchor=j):($r(),l(v.anchor=c("]"),R,j),j)},m=(g,v,S,k,N,D)=>{if(Tl(g.parentElement,1)||$r(),v.el=null,D){const j=b(g);for(;;){const F=r(g);if(F&&F!==j)a(F);else break}}const T=r(g),R=o(g);return a(g),n(null,v,R,T,S,k,kl(R),N),S&&(S.vnode.el=v.el,Cu(S,v.el)),T},b=(g,v="[",S="]")=>{let k=0;for(;g;)if(g=r(g),g&&no(g)&&(g.data===v&&k++,g.data===S)){if(k===0)return r(g);k--}return g},y=(g,v,S)=>{const k=v.parentNode;k&&k.replaceChild(g,v);let N=S;for(;N;)N.vnode.el===v&&(N.vnode.el=N.subTree.el=g),N=N.parent},_=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,d]}const Sm="data-allow-mismatch",T3={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Tl(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Sm);)t=t.parentElement;const n=t&&t.getAttribute(Sm);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return e===0&&s.includes("children")?!0:n.split(",").includes(T3[e])}}const C3=Ya().requestIdleCallback||(t=>setTimeout(t,1)),A3=Ya().cancelIdleCallback||(t=>clearTimeout(t)),O3=(t=1e4)=>e=>{const n=C3(e,{timeout:t});return()=>A3(n)};function x3(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 I3=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(x3(i))return e(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},N3=t=>e=>{if(t){const n=matchMedia(t);if(n.matches)e();else return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e)}},P3=(t=[])=>(e,n)=>{Dt(t)&&(t=[t]);let s=!1;const i=o=>{s||(s=!0,r(),e(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{n(o=>{for(const a of t)o.removeEventListener(a,i)})};return n(o=>{for(const a of t)o.addEventListener(a,i,{once:!0})}),r};function D3(t,e){if(no(t)&&t.data==="["){let n=1,s=t.nextSibling;for(;s;){if(s.nodeType===1){if(e(s)===!1)break}else if(no(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else e(t)}const Hi=t=>!!t.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function R3(t){xt(t)&&(t={loader:t});const{loader:e,loadingComponent:n,errorComponent:s,delay:i=200,hydrate:r,timeout:o,suspensible:a=!0,onError:l}=t;let c=null,u,d=0;const f=()=>(d++,c=null,h()),h=()=>{let p;return c||(p=c=e().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((b,y)=>{l(m,()=>b(f()),()=>y(m),d+1)});throw m}).then(m=>p!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return hi({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,m,b){const y=r?()=>{const _=r(b,g=>D3(p,g));_&&(m.bum||(m.bum=[])).push(_)}:b;u?y():h().then(()=>!m.isUnmounted&&y())},get __asyncResolved(){return u},setup(){const p=Xe;if(Uh(p),u)return()=>Td(u,p);const m=g=>{c=null,Ir(g,p,13,!s)};if(a&&p.suspense||ho)return h().then(g=>()=>Td(g,p)).catch(g=>(m(g),()=>s?E(s,{error:g}):null));const b=as(!1),y=as(),_=as(!!i);return i&&setTimeout(()=>{_.value=!1},i),o!=null&&setTimeout(()=>{if(!b.value&&!y.value){const g=new Error(`Async component timed out after ${o}ms.`);m(g),y.value=g}},o),h().then(()=>{b.value=!0,p.parent&&Ja(p.parent.vnode)&&p.parent.update()}).catch(g=>{m(g),y.value=g}),()=>{if(b.value&&u)return Td(u,p);if(y.value&&s)return E(s,{error:y.value});if(n&&!_.value)return E(n)}}})}function Td(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 Ja=t=>t.type.__isKeepAlive,M3={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=on(),s=n.ctx;if(!s.renderer)return()=>{const _=e.default&&e.default();return _&&_.length===1?_[0]:_};const i=new Map,r=new Set;let o=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=s,f=d("div");s.activate=(_,g,v,S,k)=>{const N=_.component;c(_,g,v,0,a),l(N.vnode,_,g,v,N,a,S,_.slotScopeIds,k),Ke(()=>{N.isDeactivated=!1,N.a&&mr(N.a);const D=_.props&&_.props.onVnodeMounted;D&&Mn(D,N.parent,_)},a)},s.deactivate=_=>{const g=_.component;Cc(g.m),Cc(g.a),c(_,f,null,1,a),Ke(()=>{g.da&&mr(g.da);const v=_.props&&_.props.onVnodeUnmounted;v&&Mn(v,g.parent,_),g.isDeactivated=!0},a)};function h(_){Cd(_),u(_,n,a,!0)}function p(_){i.forEach((g,v)=>{const S=Mf(g.type);S&&!_(S)&&m(v)})}function m(_){const g=i.get(_);g&&(!o||!_s(g,o))?h(g):o&&Cd(o),i.delete(_),r.delete(_)}Xn(()=>[t.include,t.exclude],([_,g])=>{_&&p(v=>Jo(_,v)),g&&p(v=>!Jo(g,v))},{flush:"post",deep:!0});let b=null;const y=()=>{b!=null&&(Ac(n.subTree.type)?Ke(()=>{i.set(b,Cl(n.subTree))},n.subTree.suspense):i.set(b,Cl(n.subTree)))};return No(y),Eu(y),wu(()=>{i.forEach(_=>{const{subTree:g,suspense:v}=n,S=Cl(g);if(_.type===S.type&&_.key===S.key){Cd(S);const k=S.component.da;k&&Ke(k,v);return}h(_)})}),()=>{if(b=null,!e.default)return o=null;const _=e.default(),g=_[0];if(_.length>1)return o=null,_;if(!ui(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let v=Cl(g);if(v.type===Ge)return o=null,v;const S=v.type,k=Mf(Hi(v)?v.type.__asyncResolved||{}:S),{include:N,exclude:D,max:T}=t;if(N&&(!k||!Jo(N,k))||D&&k&&Jo(D,k))return v.shapeFlag&=-257,o=v,g;const R=v.key==null?S:v.key,j=i.get(R);return v.el&&(v=Hs(v),g.shapeFlag&128&&(g.ssContent=v)),b=R,j?(v.el=j.el,v.component=j.component,v.transition&&ci(v,v.transition),v.shapeFlag|=512,r.delete(R),r.add(R)):(r.add(R),T&&r.size>parseInt(T,10)&&m(r.values().next().value)),v.shapeFlag|=256,o=v,Ac(g.type)?g:v}}},L3=M3;function Jo(t,e){return yt(t)?t.some(n=>Jo(n,e)):Dt(t)?t.split(",").includes(e):Yb(t)?(t.lastIndex=0,t.test(e)):!1}function Bv(t,e){Gv(t,"a",e)}function Wv(t,e){Gv(t,"da",e)}function Gv(t,e,n=Xe){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Su(e,s,n),n){let i=n.parent;for(;i&&i.parent;)Ja(i.parent.vnode)&&$3(s,e,n,i),i=i.parent}}function $3(t,e,n,s){const i=Su(e,t,s,!0);Qa(()=>{au(s[e],i)},n)}function Cd(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Cl(t){return t.shapeFlag&128?t.ssContent:t}function Su(t,e,n=Xe,s=!1){if(n){const i=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{Yi();const a=wr(n),l=ds(e,n,t,o);return a(),Zi(),l});return s?i.unshift(r):i.push(r),r}}const pi=t=>(e,n=Xe)=>{(!ho||t==="sp")&&Su(t,(...s)=>e(...s),n)},qv=pi("bm"),No=pi("m"),jh=pi("bu"),Eu=pi("u"),wu=pi("bum"),Qa=pi("um"),zv=pi("sp"),Kv=pi("rtg"),Xv=pi("rtc");function Yv(t,e=Xe){Su("ec",t,e)}const Bh="components",F3="directives";function w(t,e){return Gh(Bh,t,!0,e)||t}const Zv=Symbol.for("v-ndc");function ku(t){return Dt(t)?Gh(Bh,t,!1)||t:t||Zv}function Wh(t){return Gh(F3,t)}function Gh(t,e,n=!0,s=!1){const i=Ye||Xe;if(i){const r=i.type;if(t===Bh){const a=Mf(r,!1);if(a&&(a===e||a===Te(e)||a===Xi(Te(e))))return r}const o=Em(i[t]||r[t],e)||Em(i.appContext[t],e);return!o&&s?r:o}}function Em(t,e){return t&&(t[e]||t[Te(e)]||t[Xi(Te(e))])}function oe(t,e,n,s){let i;const r=n&&n[s],o=yt(t);if(o||Dt(t)){const a=o&&Fs(t);let l=!1;a&&(l=!Kn(t),t=hu(t)),i=new Array(t.length);for(let c=0,u=t.length;c<u;c++)i[c]=e(l?hn(t[c]):t[c],c,void 0,r&&r[c])}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 tl(t,e){for(let n=0;n<e.length;n++){const s=e[n];if(yt(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 de(t,e,n={},s,i){if(Ye.ce||Ye.parent&&Hi(Ye.parent)&&Ye.parent.ce)return e!=="default"&&(n.name=e),x(),vt(pt,null,[E("slot",n,s&&s())],64);let r=t[e];r&&r._c&&(r._d=!1),x();const o=r&&qh(r(n)),a=n.key||o&&o.key,l=vt(pt,{key:(a&&!xn(a)?a:`_${e}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&t._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function qh(t){return t.some(e=>ui(e)?!(e.type===Ge||e.type===pt&&!qh(e.children)):!0)?t:null}function V3(t,e){const n={};for(const s in t)n[e&&/[A-Z]/.test(s)?`on:${s}`:pr(s)]=t[s];return n}const kf=t=>t?I1(t)?nl(t):kf(t.parent):null,ca=Jt(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=>kf(t.parent),$root:t=>kf(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>zh(t),$forceUpdate:t=>t.f||(t.f=()=>{Fh(t.update)}),$nextTick:t=>t.n||(t.n=Nr.bind(t.proxy)),$watch:t=>mw.bind(t)}),Ad=(t,e)=>t!==Yt&&!t.__isScriptSetup&&ce(t,e),Tf={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(Ad(s,e))return o[e]=1,s[e];if(i!==Yt&&ce(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&ce(c,e))return o[e]=3,r[e];if(n!==Yt&&ce(n,e))return o[e]=4,n[e];Cf&&(o[e]=0)}}const u=ca[e];let d,f;if(u)return e==="$attrs"&&fn(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Yt&&ce(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,ce(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:r}=t;return Ad(i,e)?(i[e]=n,!0):s!==Yt&&ce(s,e)?(s[e]=n,!0):ce(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&&ce(t,o)||Ad(e,o)||(a=r[0])&&ce(a,o)||ce(s,o)||ce(ca,o)||ce(i.config.globalProperties,o)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ce(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},H3=Jt({},Tf,{get(t,e){if(e!==Symbol.unscopables)return Tf.get(t,e,t)},has(t,e){return e[0]!=="_"&&!Ah(e)}});function U3(){return null}function j3(){return null}function B3(t){}function W3(t){}function G3(){return null}function q3(){}function z3(t,e){return null}function K3(){return Jv().slots}function X3(){return Jv().attrs}function Jv(){const t=on();return t.setupContext||(t.setupContext=D1(t))}function Pa(t){return yt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function Y3(t,e){const n=Pa(t);for(const s in e){if(s.startsWith("__skip"))continue;let i=n[s];i?yt(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 Z3(t,e){return!t||!e?t||e:yt(t)&&yt(e)?t.concat(e):Jt({},Pa(t),Pa(e))}function J3(t,e){const n={};for(const s in t)e.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>t[s]});return n}function Q3(t){const e=on();let n=t();return Pf(),lu(n)&&(n=n.catch(s=>{throw wr(e),s})),[n,()=>wr(e)]}let Cf=!0;function tw(t){const e=zh(t),n=t.proxy,s=t.ctx;Cf=!1,e.beforeCreate&&wm(e.beforeCreate,t,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:m,deactivated:b,beforeDestroy:y,beforeUnmount:_,destroyed:g,unmounted:v,render:S,renderTracked:k,renderTriggered:N,errorCaptured:D,serverPrefetch:T,expose:R,inheritAttrs:j,components:F,directives:U,filters:Y}=e;if(c&&ew(c,s,null),o)for(const et in o){const at=o[et];xt(at)&&(s[et]=at.bind(n))}if(i){const et=i.call(n,n);me(et)&&(t.data=xo(et))}if(Cf=!0,r)for(const et in r){const at=r[et],Tt=xt(at)?at.bind(n,n):xt(at.get)?at.get.bind(n,n):tn,Kt=!xt(at)&&xt(at.set)?at.set.bind(n):tn,Ht=Qe({get:Tt,set:Kt});Object.defineProperty(s,et,{enumerable:!0,configurable:!0,get:()=>Ht.value,set:Wt=>Ht.value=Wt})}if(a)for(const et in a)Qv(a[et],s,n,et);if(l){const et=xt(l)?l.call(n):l;Reflect.ownKeys(et).forEach(at=>{ua(at,et[at])})}u&&wm(u,t,"c");function G(et,at){yt(at)?at.forEach(Tt=>et(Tt.bind(n))):at&&et(at.bind(n))}if(G(qv,d),G(No,f),G(jh,h),G(Eu,p),G(Bv,m),G(Wv,b),G(Yv,D),G(Xv,k),G(Kv,N),G(wu,_),G(Qa,v),G(zv,T),yt(R))if(R.length){const et=t.exposed||(t.exposed={});R.forEach(at=>{Object.defineProperty(et,at,{get:()=>n[at],set:Tt=>n[at]=Tt})})}else t.exposed||(t.exposed={});S&&t.render===tn&&(t.render=S),j!=null&&(t.inheritAttrs=j),F&&(t.components=F),U&&(t.directives=U),T&&Uh(t)}function ew(t,e,n=tn){yt(t)&&(t=Af(t));for(const s in t){const i=t[s];let r;me(i)?"default"in i?r=ls(i.from||s,i.default,!0):r=ls(i.from||s):r=ls(i),Ne(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function wm(t,e,n){ds(yt(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function Qv(t,e,n,s){let i=s.includes(".")?_1(n,s):()=>n[s];if(Dt(t)){const r=e[t];xt(r)&&Xn(i,r)}else if(xt(t))Xn(i,t.bind(n));else if(me(t))if(yt(t))t.forEach(r=>Qv(r,e,n,s));else{const r=xt(t.handler)?t.handler.bind(n):e[t.handler];xt(r)&&Xn(i,r,t)}}function zh(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=>Tc(l,c,o,!0)),Tc(l,e,o)),me(e)&&r.set(e,l),l}function Tc(t,e,n,s=!1){const{mixins:i,extends:r}=e;r&&Tc(t,r,n,!0),i&&i.forEach(o=>Tc(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=nw[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const nw={data:km,props:Tm,emits:Tm,methods:Qo,computed:Qo,beforeCreate:Sn,created:Sn,beforeMount:Sn,mounted:Sn,beforeUpdate:Sn,updated:Sn,beforeDestroy:Sn,beforeUnmount:Sn,destroyed:Sn,unmounted:Sn,activated:Sn,deactivated:Sn,errorCaptured:Sn,serverPrefetch:Sn,components:Qo,directives:Qo,watch:iw,provide:km,inject:sw};function km(t,e){return e?t?function(){return Jt(xt(t)?t.call(this,this):t,xt(e)?e.call(this,this):e)}:e:t}function sw(t,e){return Qo(Af(t),Af(e))}function Af(t){if(yt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Sn(t,e){return t?[...new Set([].concat(t,e))]:e}function Qo(t,e){return t?Jt(Object.create(null),t,e):e}function Tm(t,e){return t?yt(t)&&yt(e)?[...new Set([...t,...e])]:Jt(Object.create(null),Pa(t),Pa(e??{})):e}function iw(t,e){if(!t)return e;if(!e)return t;const n=Jt(Object.create(null),t);for(const s in e)n[s]=Sn(t[s],e[s]);return n}function t1(){return{app:null,config:{isNativeTag:to,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 rw=0;function ow(t,e){return function(s,i=null){xt(s)||(s=Jt({},s)),i!=null&&!me(i)&&(i=null);const r=t1(),o=new WeakSet,a=[];let l=!1;const c=r.app={_uid:rw++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:M1,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,nl(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(ds(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=yr;yr=c;try{return u()}finally{yr=d}}};return c}}let yr=null;function ua(t,e){if(Xe){let n=Xe.provides;const s=Xe.parent&&Xe.parent.provides;s===n&&(n=Xe.provides=Object.create(s)),n[t]=e}}function ls(t,e,n=!1){const s=Xe||Ye;if(s||yr){const i=yr?yr._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&xt(e)?e.call(s&&s.proxy):e}}function e1(){return!!(Xe||Ye||yr)}const n1={},s1=()=>Object.create(n1),i1=t=>Object.getPrototypeOf(t)===n1;function aw(t,e,n,s=!1){const i={},r=s1();t.propsDefaults=Object.create(null),r1(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=s?i:Mh(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function lw(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(Tu(t.emitsOptions,f))continue;const h=e[f];if(l)if(ce(r,f))h!==r[f]&&(r[f]=h,c=!0);else{const p=Te(f);i[p]=Of(l,a,p,h,t,!1)}else h!==r[f]&&(r[f]=h,c=!0)}}}else{r1(t,e,i,r)&&(c=!0);let u;for(const d in a)(!e||!ce(e,d)&&((u=pn(d))===d||!ce(e,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(i[d]=Of(l,a,d,void 0,t,!0)):delete i[d]);if(r!==a)for(const d in r)(!e||!ce(e,d))&&(delete r[d],c=!0)}c&&Zs(t.attrs,"set","")}function r1(t,e,n,s){const[i,r]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(si(l))continue;const c=e[l];let u;i&&ce(i,u=Te(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:Tu(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]=Of(i,l,d,c[d],t,!ce(c,d))}}return o}function Of(t,e,n,s,i,r){const o=t[n];if(o!=null){const a=ce(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=wr(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===pn(n))&&(s=!0))}return s}const cw=new WeakMap;function o1(t,e,n=!1){const s=n?cw: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]=o1(d,e,!0);Jt(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,fr),fr;if(yt(r))for(let u=0;u<r.length;u++){const d=Te(r[u]);Cm(d)&&(o[d]=Yt)}else if(r)for(const u in r){const d=Te(u);if(Cm(d)){const f=r[u],h=o[d]=yt(f)||xt(f)?{type:f}:Jt({},f),p=h.type;let m=!1,b=!0;if(yt(p))for(let y=0;y<p.length;++y){const _=p[y],g=xt(_)&&_.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(b=!1)}else m=xt(p)&&p.name==="Boolean";h[0]=m,h[1]=b,(m||ce(h,"default"))&&a.push(d)}}const c=[o,a];return me(t)&&s.set(t,c),c}function Cm(t){return t[0]!=="$"&&!si(t)}const a1=t=>t[0]==="_"||t==="$stable",Kh=t=>yt(t)?t.map(Ln):[Ln(t)],uw=(t,e,n)=>{if(e._n)return e;const s=M((...i)=>Kh(e(...i)),n);return s._c=!1,s},l1=(t,e,n)=>{const s=t._ctx;for(const i in t){if(a1(i))continue;const r=t[i];if(xt(r))e[i]=uw(i,r,s);else if(r!=null){const o=Kh(r);e[i]=()=>o}}},c1=(t,e)=>{const n=Kh(e);t.slots.default=()=>n},u1=(t,e,n)=>{for(const s in e)(n||s!=="_")&&(t[s]=e[s])},dw=(t,e,n)=>{const s=t.slots=s1();if(t.vnode.shapeFlag&32){const i=e._;i?(u1(s,e,n),n&&Ch(s,"_",i,!0)):l1(e,s)}else e&&c1(t,e)},fw=(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:u1(i,e,n):(r=!e.$stable,l1(e,i)),o=e}else e&&(c1(t,e),o={default:1});if(r)for(const a in i)!a1(a)&&o[a]==null&&delete i[a]},Ke=k1;function d1(t){return h1(t)}function f1(t){return h1(t,k3)}function h1(t,e){const n=Ya();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=tn,insertStaticContent:p}=t,m=(O,P,W,st=null,Q=null,A=null,I=void 0,V=null,K=!!P.dynamicChildren)=>{if(O===P)return;O&&!_s(O,P)&&(st=X(O),Wt(O,Q,A,!0),O=null),P.patchFlag===-2&&(K=!1,P.dynamicChildren=null);const{type:nt,ref:lt,shapeFlag:L}=P;switch(nt){case ii:b(O,P,W,st);break;case Ge:y(O,P,W,st);break;case br:O==null&&_(P,W,st,I);break;case pt:F(O,P,W,st,Q,A,I,V,K);break;default:L&1?S(O,P,W,st,Q,A,I,V,K):L&6?U(O,P,W,st,Q,A,I,V,K):(L&64||L&128)&&nt.process(O,P,W,st,Q,A,I,V,K,bt)}lt!=null&&Q&&Na(lt,O&&O.ref,A,P||O,!P)},b=(O,P,W,st)=>{if(O==null)s(P.el=a(P.children),W,st);else{const Q=P.el=O.el;P.children!==O.children&&c(Q,P.children)}},y=(O,P,W,st)=>{O==null?s(P.el=l(P.children||""),W,st):P.el=O.el},_=(O,P,W,st)=>{[O.el,O.anchor]=p(O.children,P,W,st,O.el,O.anchor)},g=({el:O,anchor:P},W,st)=>{let Q;for(;O&&O!==P;)Q=f(O),s(O,W,st),O=Q;s(P,W,st)},v=({el:O,anchor:P})=>{let W;for(;O&&O!==P;)W=f(O),i(O),O=W;i(P)},S=(O,P,W,st,Q,A,I,V,K)=>{P.type==="svg"?I="svg":P.type==="math"&&(I="mathml"),O==null?k(P,W,st,Q,A,I,V,K):T(O,P,Q,A,I,V,K)},k=(O,P,W,st,Q,A,I,V)=>{let K,nt;const{props:lt,shapeFlag:L,transition:q,dirs:ht}=O;if(K=O.el=o(O.type,A,lt&<.is,lt),L&8?u(K,O.children):L&16&&D(O.children,K,null,st,Q,Od(O,A),I,V),ht&&Ms(O,null,st,"created"),N(K,O,O.scopeId,I,st),lt){for(const qt in lt)qt!=="value"&&!si(qt)&&r(K,qt,null,lt[qt],A,st);"value"in lt&&r(K,"value",null,lt.value,A),(nt=lt.onVnodeBeforeMount)&&Mn(nt,st,O)}ht&&Ms(O,null,st,"beforeMount");const Et=p1(Q,q);Et&&q.beforeEnter(K),s(K,P,W),((nt=lt&<.onVnodeMounted)||Et||ht)&&Ke(()=>{nt&&Mn(nt,st,O),Et&&q.enter(K),ht&&Ms(O,null,st,"mounted")},Q)},N=(O,P,W,st,Q)=>{if(W&&h(O,W),st)for(let A=0;A<st.length;A++)h(O,st[A]);if(Q){let A=Q.subTree;if(P===A||Ac(A.type)&&(A.ssContent===P||A.ssFallback===P)){const I=Q.vnode;N(O,I,I.scopeId,I.slotScopeIds,Q.parent)}}},D=(O,P,W,st,Q,A,I,V,K=0)=>{for(let nt=K;nt<O.length;nt++){const lt=O[nt]=V?Ni(O[nt]):Ln(O[nt]);m(null,lt,P,W,st,Q,A,I,V)}},T=(O,P,W,st,Q,A,I)=>{const V=P.el=O.el;let{patchFlag:K,dynamicChildren:nt,dirs:lt}=P;K|=O.patchFlag&16;const L=O.props||Yt,q=P.props||Yt;let ht;if(W&&er(W,!1),(ht=q.onVnodeBeforeUpdate)&&Mn(ht,W,P,O),lt&&Ms(P,O,W,"beforeUpdate"),W&&er(W,!0),(L.innerHTML&&q.innerHTML==null||L.textContent&&q.textContent==null)&&u(V,""),nt?R(O.dynamicChildren,nt,V,W,st,Od(P,Q),A):I||at(O,P,V,null,W,st,Od(P,Q),A,!1),K>0){if(K&16)j(V,L,q,W,Q);else if(K&2&&L.class!==q.class&&r(V,"class",null,q.class,Q),K&4&&r(V,"style",L.style,q.style,Q),K&8){const Et=P.dynamicProps;for(let qt=0;qt<Et.length;qt++){const H=Et[qt],B=L[H],z=q[H];(z!==B||H==="value")&&r(V,H,B,z,Q,W)}}K&1&&O.children!==P.children&&u(V,P.children)}else!I&&nt==null&&j(V,L,q,W,Q);((ht=q.onVnodeUpdated)||lt)&&Ke(()=>{ht&&Mn(ht,W,P,O),lt&&Ms(P,O,W,"updated")},st)},R=(O,P,W,st,Q,A,I)=>{for(let V=0;V<P.length;V++){const K=O[V],nt=P[V],lt=K.el&&(K.type===pt||!_s(K,nt)||K.shapeFlag&70)?d(K.el):W;m(K,nt,lt,null,st,Q,A,I,!0)}},j=(O,P,W,st,Q)=>{if(P!==W){if(P!==Yt)for(const A in P)!si(A)&&!(A in W)&&r(O,A,P[A],null,Q,st);for(const A in W){if(si(A))continue;const I=W[A],V=P[A];I!==V&&A!=="value"&&r(O,A,V,I,Q,st)}"value"in W&&r(O,"value",P.value,W.value,Q)}},F=(O,P,W,st,Q,A,I,V,K)=>{const nt=P.el=O?O.el:a(""),lt=P.anchor=O?O.anchor:a("");let{patchFlag:L,dynamicChildren:q,slotScopeIds:ht}=P;ht&&(V=V?V.concat(ht):ht),O==null?(s(nt,W,st),s(lt,W,st),D(P.children||[],W,lt,Q,A,I,V,K)):L>0&&L&64&&q&&O.dynamicChildren?(R(O.dynamicChildren,q,W,Q,A,I,V),(P.key!=null||Q&&P===Q.subTree)&&Xh(O,P,!0)):at(O,P,W,lt,Q,A,I,V,K)},U=(O,P,W,st,Q,A,I,V,K)=>{P.slotScopeIds=V,O==null?P.shapeFlag&512?Q.ctx.activate(P,W,st,I,K):Y(P,W,st,Q,A,I,K):ot(O,P,K)},Y=(O,P,W,st,Q,A,I)=>{const V=O.component=x1(O,st,Q);if(Ja(O)&&(V.ctx.renderer=bt),N1(V,!1,I),V.asyncDep){if(Q&&Q.registerDep(V,G,I),!O.el){const K=V.subTree=E(Ge);y(null,K,P,W)}}else G(V,O,P,W,Q,A,I)},ot=(O,P,W)=>{const st=P.component=O.component;if(Sw(O,P,W))if(st.asyncDep&&!st.asyncResolved){et(st,P,W);return}else st.next=P,st.update();else P.el=O.el,st.vnode=P},G=(O,P,W,st,Q,A,I)=>{const V=()=>{if(O.isMounted){let{next:L,bu:q,u:ht,parent:Et,vnode:qt}=O;{const mt=m1(O);if(mt){L&&(L.el=qt.el,et(O,L,I)),mt.asyncDep.then(()=>{O.isUnmounted||V()});return}}let H=L,B;er(O,!1),L?(L.el=qt.el,et(O,L,I)):L=qt,q&&mr(q),(B=L.props&&L.props.onVnodeBeforeUpdate)&&Mn(B,Et,L,qt),er(O,!0);const z=Zl(O),rt=O.subTree;O.subTree=z,m(rt,z,d(rt.el),X(rt),O,Q,A),L.el=z.el,H===null&&Cu(O,z.el),ht&&Ke(ht,Q),(B=L.props&&L.props.onVnodeUpdated)&&Ke(()=>Mn(B,Et,L,qt),Q)}else{let L;const{el:q,props:ht}=P,{bm:Et,m:qt,parent:H,root:B,type:z}=O,rt=Hi(P);if(er(O,!1),Et&&mr(Et),!rt&&(L=ht&&ht.onVnodeBeforeMount)&&Mn(L,H,P),er(O,!0),q&&Xt){const mt=()=>{O.subTree=Zl(O),Xt(q,O.subTree,O,Q,null)};rt&&z.__asyncHydrate?z.__asyncHydrate(q,O,mt):mt()}else{B.ce&&B.ce._injectChildStyle(z);const mt=O.subTree=Zl(O);m(null,mt,W,st,O,Q,A),P.el=mt.el}if(qt&&Ke(qt,Q),!rt&&(L=ht&&ht.onVnodeMounted)){const mt=P;Ke(()=>Mn(L,H,mt),Q)}(P.shapeFlag&256||H&&Hi(H.vnode)&&H.vnode.shapeFlag&256)&&O.a&&Ke(O.a,Q),O.isMounted=!0,P=W=st=null}};O.scope.on();const K=O.effect=new Ta(V);O.scope.off();const nt=O.update=K.run.bind(K),lt=O.job=K.runIfDirty.bind(K);lt.i=O,lt.id=O.uid,K.scheduler=()=>Fh(lt),er(O,!0),nt()},et=(O,P,W)=>{P.component=O;const st=O.vnode.props;O.vnode=P,O.next=null,lw(O,P.props,st,W),fw(O,P.children,W),Yi(),mm(O),Zi()},at=(O,P,W,st,Q,A,I,V,K=!1)=>{const nt=O&&O.children,lt=O?O.shapeFlag:0,L=P.children,{patchFlag:q,shapeFlag:ht}=P;if(q>0){if(q&128){Kt(nt,L,W,st,Q,A,I,V,K);return}else if(q&256){Tt(nt,L,W,st,Q,A,I,V,K);return}}ht&8?(lt&16&&Gt(nt,Q,A),L!==nt&&u(W,L)):lt&16?ht&16?Kt(nt,L,W,st,Q,A,I,V,K):Gt(nt,Q,A,!0):(lt&8&&u(W,""),ht&16&&D(L,W,st,Q,A,I,V,K))},Tt=(O,P,W,st,Q,A,I,V,K)=>{O=O||fr,P=P||fr;const nt=O.length,lt=P.length,L=Math.min(nt,lt);let q;for(q=0;q<L;q++){const ht=P[q]=K?Ni(P[q]):Ln(P[q]);m(O[q],ht,W,null,Q,A,I,V,K)}nt>lt?Gt(O,Q,A,!0,!1,L):D(P,W,st,Q,A,I,V,K,L)},Kt=(O,P,W,st,Q,A,I,V,K)=>{let nt=0;const lt=P.length;let L=O.length-1,q=lt-1;for(;nt<=L&&nt<=q;){const ht=O[nt],Et=P[nt]=K?Ni(P[nt]):Ln(P[nt]);if(_s(ht,Et))m(ht,Et,W,null,Q,A,I,V,K);else break;nt++}for(;nt<=L&&nt<=q;){const ht=O[L],Et=P[q]=K?Ni(P[q]):Ln(P[q]);if(_s(ht,Et))m(ht,Et,W,null,Q,A,I,V,K);else break;L--,q--}if(nt>L){if(nt<=q){const ht=q+1,Et=ht<lt?P[ht].el:st;for(;nt<=q;)m(null,P[nt]=K?Ni(P[nt]):Ln(P[nt]),W,Et,Q,A,I,V,K),nt++}}else if(nt>q)for(;nt<=L;)Wt(O[nt],Q,A,!0),nt++;else{const ht=nt,Et=nt,qt=new Map;for(nt=Et;nt<=q;nt++){const Mt=P[nt]=K?Ni(P[nt]):Ln(P[nt]);Mt.key!=null&&qt.set(Mt.key,nt)}let H,B=0;const z=q-Et+1;let rt=!1,mt=0;const At=new Array(z);for(nt=0;nt<z;nt++)At[nt]=0;for(nt=ht;nt<=L;nt++){const Mt=O[nt];if(B>=z){Wt(Mt,Q,A,!0);continue}let le;if(Mt.key!=null)le=qt.get(Mt.key);else for(H=Et;H<=q;H++)if(At[H-Et]===0&&_s(Mt,P[H])){le=H;break}le===void 0?Wt(Mt,Q,A,!0):(At[le-Et]=nt+1,le>=mt?mt=le:rt=!0,m(Mt,P[le],W,null,Q,A,I,V,K),B++)}const Lt=rt?hw(At):fr;for(H=Lt.length-1,nt=z-1;nt>=0;nt--){const Mt=Et+nt,le=P[Mt],Nt=Mt+1<lt?P[Mt+1].el:st;At[nt]===0?m(null,le,W,Nt,Q,A,I,V,K):rt&&(H<0||nt!==Lt[H]?Ht(le,W,Nt,2):H--)}}},Ht=(O,P,W,st,Q=null)=>{const{el:A,type:I,transition:V,children:K,shapeFlag:nt}=O;if(nt&6){Ht(O.component.subTree,P,W,st);return}if(nt&128){O.suspense.move(P,W,st);return}if(nt&64){I.move(O,P,W,bt);return}if(I===pt){s(A,P,W);for(let L=0;L<K.length;L++)Ht(K[L],P,W,st);s(O.anchor,P,W);return}if(I===br){g(O,P,W);return}if(st!==2&&nt&1&&V)if(st===0)V.beforeEnter(A),s(A,P,W),Ke(()=>V.enter(A),Q);else{const{leave:L,delayLeave:q,afterLeave:ht}=V,Et=()=>s(A,P,W),qt=()=>{L(A,()=>{Et(),ht&&ht()})};q?q(A,Et,qt):qt()}else s(A,P,W)},Wt=(O,P,W,st=!1,Q=!1)=>{const{type:A,props:I,ref:V,children:K,dynamicChildren:nt,shapeFlag:lt,patchFlag:L,dirs:q,cacheIndex:ht}=O;if(L===-2&&(Q=!1),V!=null&&Na(V,null,W,O,!0),ht!=null&&(P.renderCache[ht]=void 0),lt&256){P.ctx.deactivate(O);return}const Et=lt&1&&q,qt=!Hi(O);let H;if(qt&&(H=I&&I.onVnodeBeforeUnmount)&&Mn(H,P,O),lt&6)Se(O.component,W,st);else{if(lt&128){O.suspense.unmount(W,st);return}Et&&Ms(O,null,P,"beforeUnmount"),lt&64?O.type.remove(O,P,W,bt,st):nt&&!nt.hasOnce&&(A!==pt||L>0&&L&64)?Gt(nt,P,W,!1,!0):(A===pt&&L&384||!Q&<&16)&&Gt(K,P,W),st&&ge(O)}(qt&&(H=I&&I.onVnodeUnmounted)||Et)&&Ke(()=>{H&&Mn(H,P,O),Et&&Ms(O,null,P,"unmounted")},W)},ge=O=>{const{type:P,el:W,anchor:st,transition:Q}=O;if(P===pt){ve(W,st);return}if(P===br){v(O);return}const A=()=>{i(W),Q&&!Q.persisted&&Q.afterLeave&&Q.afterLeave()};if(O.shapeFlag&1&&Q&&!Q.persisted){const{leave:I,delayLeave:V}=Q,K=()=>I(W,A);V?V(O.el,A,K):K()}else A()},ve=(O,P)=>{let W;for(;O!==P;)W=f(O),i(O),O=W;i(P)},Se=(O,P,W)=>{const{bum:st,scope:Q,job:A,subTree:I,um:V,m:K,a:nt}=O;Cc(K),Cc(nt),st&&mr(st),Q.stop(),A&&(A.flags|=8,Wt(I,O,P,W)),V&&Ke(V,P),Ke(()=>{O.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},Gt=(O,P,W,st=!1,Q=!1,A=0)=>{for(let I=A;I<O.length;I++)Wt(O[I],P,W,st,Q)},X=O=>{if(O.shapeFlag&6)return X(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const P=f(O.anchor||O.el),W=P&&P[Mv];return W?f(W):P};let dt=!1;const ct=(O,P,W)=>{O==null?P._vnode&&Wt(P._vnode,null,null,!0):m(P._vnode||null,O,P,null,null,null,W),P._vnode=O,dt||(dt=!0,mm(),kc(),dt=!1)},bt={p:m,um:Wt,m:Ht,r:ge,mt:Y,mc:D,pc:at,pbc:R,n:X,o:t};let Ut,Xt;return e&&([Ut,Xt]=e(bt)),{render:ct,hydrate:Ut,createApp:ow(ct,Ut)}}function Od({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 er({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function p1(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Xh(t,e,n=!1){const s=t.children,i=e.children;if(yt(s)&&yt(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]=Ni(i[r]),a.el=o.el),!n&&a.patchFlag!==-2&&Xh(o,a)),a.type===ii&&(a.el=o.el)}}function hw(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 m1(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:m1(e)}function Cc(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const g1=Symbol.for("v-scx"),y1=()=>ls(g1);function b1(t,e){return el(t,null,e)}function pw(t,e){return el(t,null,{flush:"post"})}function v1(t,e){return el(t,null,{flush:"sync"})}function Xn(t,e,n){return el(t,e,n)}function el(t,e,n=Yt){const{immediate:s,deep:i,flush:r,once:o}=n,a=Jt({},n),l=e&&s||!e&&r!=="post";let c;if(ho){if(r==="sync"){const h=y1();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=tn,h.resume=tn,h.pause=tn,h}}const u=Xe;a.call=(h,p,m)=>ds(h,u,p,m);let d=!1;r==="post"?a.scheduler=h=>{Ke(h,u&&u.suspense)}:r!=="sync"&&(d=!0,a.scheduler=(h,p)=>{p?h():Fh(h)}),a.augmentJob=h=>{e&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=o3(t,e,a);return ho&&(c?c.push(f):l&&f()),f}function mw(t,e,n){const s=this.proxy,i=Dt(t)?t.includes(".")?_1(s,t):()=>s[t]:t.bind(s,s);let r;xt(e)?r=e:(r=e.handler,n=e);const o=wr(this),a=el(i,r.bind(s),n);return o(),a}function _1(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 gw(t,e,n=Yt){const s=on(),i=Te(e),r=pn(e),o=S1(t,i),a=Cv((l,c)=>{let u,d=Yt,f;return v1(()=>{const h=t[i];dn(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(!dn(p,u)&&!(d!==Yt&&dn(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),dn(h,p)&&dn(h,d)&&!dn(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 S1=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Te(e)}Modifiers`]||t[`${pn(e)}Modifiers`];function yw(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Yt;let i=n;const r=e.startsWith("update:"),o=r&&S1(s,e.slice(7));o&&(o.trim&&(i=n.map(u=>Dt(u)?u.trim():u)),o.number&&(i=n.map(wa)));let a,l=s[a=pr(e)]||s[a=pr(Te(e))];!l&&r&&(l=s[a=pr(pn(e))]),l&&ds(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,ds(c,t,6,i)}}function E1(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=E1(c,e,!0);u&&(a=!0,Jt(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):(yt(r)?r.forEach(l=>o[l]=null):Jt(o,r),me(t)&&s.set(t,o),o)}function Tu(t,e){return!t||!zi(e)?!1:(e=e.slice(2).replace(/Once$/,""),ce(t,e[0].toLowerCase()+e.slice(1))||ce(t,pn(e))||ce(t,e))}function Zl(t){const{type:e,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:m}=t,b=Ia(t);let y,_;try{if(n.shapeFlag&4){const v=i||s,S=v;y=Ln(c.call(S,v,u,d,h,f,p)),_=a}else{const v=e;y=Ln(v.length>1?v(d,{attrs:a,slots:o,emit:l}):v(d,null)),_=e.props?a:vw(a)}}catch(v){da.length=0,Ir(v,t,1),y=E(Ge)}let g=y;if(_&&m!==!1){const v=Object.keys(_),{shapeFlag:S}=g;v.length&&S&7&&(r&&v.some(ou)&&(_=_w(_,r)),g=Hs(g,_,!1,!0))}return n.dirs&&(g=Hs(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&ci(g,n.transition),y=g,Ia(b),y}function bw(t,e=!0){let n;for(let s=0;s<t.length;s++){const i=t[s];if(ui(i)){if(i.type!==Ge||i.children==="v-if"){if(n)return;n=i}}else return}return n}const vw=t=>{let e;for(const n in t)(n==="class"||n==="style"||zi(n))&&((e||(e={}))[n]=t[n]);return e},_w=(t,e)=>{const n={};for(const s in t)(!ou(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function Sw(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?Am(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]&&!Tu(c,f))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?Am(s,o,c):!0:!!o;return!1}function Am(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]&&!Tu(n,r))return!0}return!1}function Cu({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 Ac=t=>t.__isSuspense;let xf=0;const Ew={name:"Suspense",__isSuspense:!0,process(t,e,n,s,i,r,o,a,l,c){if(t==null)kw(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}Tw(t,e,n,s,i,o,a,l,c)}},hydrate:Cw,normalize:Aw},ww=Ew;function Da(t,e){const n=t.props&&t.props[e];xt(n)&&n()}function kw(t,e,n,s,i,r,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=w1(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?(Da(t,"onPending"),Da(t,"onFallback"),c(null,t.ssFallback,e,n,s,null,r,o),ao(f,t.ssFallback)):f.resolve(!1,!0)}function Tw(t,e,n,s,i,r,o,a,{p:l,um:c,o:{createElement:u}}){const d=e.suspense=t.suspense;d.vnode=e,e.el=t.el;const f=e.ssContent,h=e.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:b,isHydrating:y}=d;if(m)d.pendingBranch=f,_s(f,m)?(l(m,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():b&&(y||(l(p,h,n,s,i,null,r,o,a),ao(d,h)))):(d.pendingId=xf++,y?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),b?(l(null,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():(l(p,h,n,s,i,null,r,o,a),ao(d,h))):p&&_s(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&&_s(f,p))l(p,f,n,s,i,d,r,o,a),ao(d,f);else if(Da(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=xf++,l(null,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0)d.resolve();else{const{timeout:_,pendingId:g}=d;_>0?setTimeout(()=>{d.pendingId===g&&d.fallback(h)},_):_===0&&d.fallback(h)}}function w1(t,e,n,s,i,r,o,a,l,c,u=!1){const{p:d,m:f,um:h,n:p,o:{parentNode:m,remove:b}}=c;let y;const _=Ow(t);_&&e&&e.pendingBranch&&(y=e.pendingId,e.deps++);const g=t.props?ka(t.props.timeout):void 0,v=r,S={vnode:t,parent:e,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:xf++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,N=!1){const{vnode:D,activeBranch:T,pendingBranch:R,pendingId:j,effects:F,parentComponent:U,container:Y}=S;let ot=!1;S.isHydrating?S.isHydrating=!1:k||(ot=T&&R.transition&&R.transition.mode==="out-in",ot&&(T.transition.afterLeave=()=>{j===S.pendingId&&(f(R,Y,r===v?p(T):r,0),Oa(F))}),T&&(m(T.el)===Y&&(r=p(T)),h(T,U,S,!0)),ot||f(R,Y,r,0)),ao(S,R),S.pendingBranch=null,S.isInFallback=!1;let G=S.parent,et=!1;for(;G;){if(G.pendingBranch){G.effects.push(...F),et=!0;break}G=G.parent}!et&&!ot&&Oa(F),S.effects=[],_&&e&&e.pendingBranch&&y===e.pendingId&&(e.deps--,e.deps===0&&!N&&e.resolve()),Da(D,"onResolve")},fallback(k){if(!S.pendingBranch)return;const{vnode:N,activeBranch:D,parentComponent:T,container:R,namespace:j}=S;Da(N,"onFallback");const F=p(D),U=()=>{S.isInFallback&&(d(null,k,R,F,T,null,j,a,l),ao(S,k))},Y=k.transition&&k.transition.mode==="out-in";Y&&(D.transition.afterLeave=U),S.isInFallback=!0,h(D,T,null,!0),Y||U()},move(k,N,D){S.activeBranch&&f(S.activeBranch,k,N,D),S.container=k},next(){return S.activeBranch&&p(S.activeBranch)},registerDep(k,N,D){const T=!!S.pendingBranch;T&&S.deps++;const R=k.vnode.el;k.asyncDep.catch(j=>{Ir(j,k,0)}).then(j=>{if(k.isUnmounted||S.isUnmounted||S.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:F}=k;Df(k,j,!1),R&&(F.el=R);const U=!R&&k.subTree.el;N(k,F,m(R||k.subTree.el),R?null:p(k.subTree),S,o,D),U&&b(U),Cu(k,F.el),T&&--S.deps===0&&S.resolve()})},unmount(k,N){S.isUnmounted=!0,S.activeBranch&&h(S.activeBranch,n,k,N),S.pendingBranch&&h(S.pendingBranch,n,k,N)}};return S}function Cw(t,e,n,s,i,r,o,a,l){const c=e.suspense=w1(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 Aw(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=Om(s?n.default:n),t.ssFallback=s?Om(n.fallback):E(Ge)}function Om(t){let e;if(xt(t)){const n=Er&&t._c;n&&(t._d=!1,x()),t=t(),n&&(t._d=!0,e=bn,T1())}return yt(t)&&(t=bw(t)),t=Ln(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function k1(t,e){e&&e.pendingBranch?yt(t)?e.effects.push(...t):e.effects.push(t):Oa(t)}function ao(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,Cu(s,i))}function Ow(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const pt=Symbol.for("v-fgt"),ii=Symbol.for("v-txt"),Ge=Symbol.for("v-cmt"),br=Symbol.for("v-stc"),da=[];let bn=null;function x(t=!1){da.push(bn=t?null:[])}function T1(){da.pop(),bn=da[da.length-1]||null}let Er=1;function If(t,e=!1){Er+=t,t<0&&bn&&e&&(bn.hasOnce=!0)}function C1(t){return t.dynamicChildren=Er>0?bn||fr:null,T1(),Er>0&&bn&&bn.push(t),t}function $(t,e,n,s,i,r){return C1(C(t,e,n,s,i,r,!0))}function vt(t,e,n,s,i){return C1(E(t,e,n,s,i,!0))}function ui(t){return t?t.__v_isVNode===!0:!1}function _s(t,e){return t.type===e.type&&t.key===e.key}function xw(t){}const A1=({key:t})=>t??null,Jl=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Dt(t)||Ne(t)||xt(t)?{i:Ye,r:t,k:e,f:!!n}:t:null);function C(t,e=null,n=null,s=0,i=null,r=t===pt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&A1(e),ref:e&&Jl(e),scopeId:vu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ye};return a?(Yh(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Dt(n)?8:16),Er>0&&!o&&bn&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&bn.push(l),l}const E=Iw;function Iw(t,e=null,n=null,s=0,i=null,r=!1){if((!t||t===Zv)&&(t=Ge),ui(t)){const a=Hs(t,e,!0);return n&&Yh(a,n),Er>0&&!r&&bn&&(a.shapeFlag&6?bn[bn.indexOf(t)]=a:bn.push(a)),a.patchFlag=-2,a}if(Fw(t)&&(t=t.__vccOpts),e){e=O1(e);let{class:a,style:l}=e;a&&!Dt(a)&&(e.class=Vt(a)),me(l)&&(gu(l)&&!yt(l)&&(l=Jt({},l)),e.style=fi(l))}const o=Dt(t)?1:Ac(t)?128:Lv(t)?64:me(t)?4:xt(t)?2:0;return C(t,e,n,s,i,o,r,!0)}function O1(t){return t?gu(t)||i1(t)?Jt({},t):t:null}function Hs(t,e,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?so(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&A1(c),ref:e&&e.ref?n&&r?yt(r)?r.concat(Jl(e)):[r,Jl(e)]:Jl(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!==pt?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&&Hs(t.ssContent),ssFallback:t.ssFallback&&Hs(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&ci(u,l.clone(u)),u}function Us(t=" ",e=0){return E(ii,null,t,e)}function Nw(t,e){const n=E(br,null,t);return n.staticCount=e,n}function _t(t="",e=!1){return e?(x(),vt(Ge,null,t)):E(Ge,null,t)}function Ln(t){return t==null||typeof t=="boolean"?E(Ge):yt(t)?E(pt,null,t.slice()):ui(t)?Ni(t):E(ii,null,String(t))}function Ni(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Hs(t)}function Yh(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(yt(e))n=16;else if(typeof e=="object")if(s&65){const i=e.default;i&&(i._c&&(i._d=!1),Yh(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!i1(e)?e._ctx=Ye:i===3&&Ye&&(Ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else xt(e)?(e={default:e,_ctx:Ye},n=32):(e=String(e),s&64?(n=16,e=[Us(e)]):n=8);t.children=e,t.shapeFlag|=n}function so(...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=Vt([e.class,s.class]));else if(i==="style")e.style=fi([e.style,s.style]);else if(zi(i)){const r=e[i],o=s[i];o&&r!==o&&!(yt(r)&&r.includes(o))&&(e[i]=r?[].concat(r,o):o)}else i!==""&&(e[i]=s[i])}return e}function Mn(t,e,n,s=null){ds(t,e,7,[n,s])}const Pw=t1();let Dw=0;function x1(t,e,n){const s=t.type,i=(e?e.appContext:t.appContext)||Pw,r={uid:Dw++,vnode:t,type:s,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ih(!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:o1(s,i),emitsOptions:E1(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=yw.bind(null,r),t.ce&&t.ce(r),r}let Xe=null;const on=()=>Xe||Ye;let Oc,Nf;{const t=Ya(),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)}};Oc=e("__VUE_INSTANCE_SETTERS__",n=>Xe=n),Nf=e("__VUE_SSR_SETTERS__",n=>ho=n)}const wr=t=>{const e=Xe;return Oc(t),t.scope.on(),()=>{t.scope.off(),Oc(e)}},Pf=()=>{Xe&&Xe.scope.off(),Oc(null)};function I1(t){return t.vnode.shapeFlag&4}let ho=!1;function N1(t,e=!1,n=!1){e&&Nf(e);const{props:s,children:i}=t.vnode,r=I1(t);aw(t,s,r,e),dw(t,i,n);const o=r?Rw(t,e):void 0;return e&&Nf(!1),o}function Rw(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Tf);const{setup:s}=n;if(s){Yi();const i=t.setupContext=s.length>1?D1(t):null,r=wr(t),o=Io(s,t,0,[t.props,i]),a=lu(o);if(Zi(),r(),(a||t.sp)&&!Hi(t)&&Uh(t),a){if(o.then(Pf,Pf),e)return o.then(l=>{Df(t,l,e)}).catch(l=>{Ir(l,t,0)});t.asyncDep=o}else Df(t,o,e)}else P1(t,e)}function Df(t,e,n){xt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=$h(e)),P1(t,n)}let xc,Rf;function Mw(t){xc=t,Rf=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,H3))}}const Lw=()=>!xc;function P1(t,e,n){const s=t.type;if(!t.render){if(!e&&xc&&!s.render){const i=s.template||zh(t).template;if(i){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Jt(Jt({isCustomElement:r,delimiters:a},o),l);s.render=xc(i,c)}}t.render=s.render||tn,Rf&&Rf(t)}{const i=wr(t);Yi();try{tw(t)}finally{Zi(),i()}}}const $w={get(t,e){return fn(t,"get",""),t[e]}};function D1(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,$w),slots:t.slots,emit:t.emit,expose:e}}function nl(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy($h(yu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in ca)return ca[n](t)},has(e,n){return n in e||n in ca}})):t.proxy}function Mf(t,e=!0){return xt(t)?t.displayName||t.name:t.name||e&&t.__name}function Fw(t){return xt(t)&&"__vccOpts"in t}const Qe=(t,e)=>n3(t,e,ho);function $s(t,e,n){const s=arguments.length;return s===2?me(e)&&!yt(e)?ui(e)?E(t,null,[e]):E(t,e):E(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ui(n)&&(n=[n]),E(t,e,n))}function Vw(){}function Hw(t,e,n,s){const i=n[s];if(i&&R1(i,t))return i;const r=e();return r.memo=t.slice(),r.cacheIndex=s,n[s]=r}function R1(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let s=0;s<n.length;s++)if(dn(n[s],e[s]))return!1;return Er>0&&bn&&bn.push(t),!0}const M1="3.5.13",Uw=tn,jw=d3,Bw=Kr,Ww=Rv,Gw={createComponentInstance:x1,setupComponent:N1,renderComponentRoot:Zl,setCurrentRenderingInstance:Ia,isVNode:ui,normalizeVNode:Ln,getComponentPublicInstance:nl,ensureValidVNode:qh,pushWarningContext:a3,popWarningContext:l3},qw=Gw,zw=null,Kw=null,Xw=null;/**
|
||
* @vue/runtime-dom v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Lf;const xm=typeof window<"u"&&window.trustedTypes;if(xm)try{Lf=xm.createPolicy("vue",{createHTML:t=>t})}catch{}const L1=Lf?t=>Lf.createHTML(t):t=>t,Yw="http://www.w3.org/2000/svg",Zw="http://www.w3.org/1998/Math/MathML",Ys=typeof document<"u"?document:null,Im=Ys&&Ys.createElement("template"),Jw={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"?Ys.createElementNS(Yw,t):e==="mathml"?Ys.createElementNS(Zw,t):n?Ys.createElement(t,{is:n}):Ys.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>Ys.createTextNode(t),createComment:t=>Ys.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ys.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{Im.innerHTML=L1(s==="svg"?`<svg>${t}</svg>`:s==="mathml"?`<math>${t}</math>`:t);const a=Im.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]}},vi="transition",jo="animation",po=Symbol("_vtc"),$1={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},F1=Jt({},Hh,$1),Qw=t=>(t.displayName="Transition",t.props=F1,t),V1=Qw((t,{slots:e})=>$s(Uv,H1(t),e)),nr=(t,e=[])=>{yt(t)?t.forEach(n=>n(...e)):t&&t(...e)},Nm=t=>t?yt(t)?t.some(e=>e.length>1):t.length>1:!1;function H1(t){const e={};for(const F in t)F in $1||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=t,p=tk(i),m=p&&p[0],b=p&&p[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:g,onLeave:v,onLeaveCancelled:S,onBeforeAppear:k=y,onAppear:N=_,onAppearCancelled:D=g}=e,T=(F,U,Y,ot)=>{F._enterCancelled=ot,Ci(F,U?u:a),Ci(F,U?c:o),Y&&Y()},R=(F,U)=>{F._isLeaving=!1,Ci(F,d),Ci(F,h),Ci(F,f),U&&U()},j=F=>(U,Y)=>{const ot=F?N:_,G=()=>T(U,F,Y);nr(ot,[U,G]),Pm(()=>{Ci(U,F?l:r),Ps(U,F?u:a),Nm(ot)||Dm(U,s,m,G)})};return Jt(e,{onBeforeEnter(F){nr(y,[F]),Ps(F,r),Ps(F,o)},onBeforeAppear(F){nr(k,[F]),Ps(F,l),Ps(F,c)},onEnter:j(!1),onAppear:j(!0),onLeave(F,U){F._isLeaving=!0;const Y=()=>R(F,U);Ps(F,d),F._enterCancelled?(Ps(F,f),$f()):($f(),Ps(F,f)),Pm(()=>{F._isLeaving&&(Ci(F,d),Ps(F,h),Nm(v)||Dm(F,s,b,Y))}),nr(v,[F,Y])},onEnterCancelled(F){T(F,!1,void 0,!0),nr(g,[F])},onAppearCancelled(F){T(F,!0,void 0,!0),nr(D,[F])},onLeaveCancelled(F){R(F),nr(S,[F])}})}function tk(t){if(t==null)return null;if(me(t))return[xd(t.enter),xd(t.leave)];{const e=xd(t);return[e,e]}}function xd(t){return ka(t)}function Ps(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[po]||(t[po]=new Set)).add(e)}function Ci(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[po];n&&(n.delete(e),n.size||(t[po]=void 0))}function Pm(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let ek=0;function Dm(t,e,n,s){const i=t._endId=++ek,r=()=>{i===t._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:a,propCount:l}=U1(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 U1(t,e){const n=window.getComputedStyle(t),s=p=>(n[p]||"").split(", "),i=s(`${vi}Delay`),r=s(`${vi}Duration`),o=Rm(i,r),a=s(`${jo}Delay`),l=s(`${jo}Duration`),c=Rm(a,l);let u=null,d=0,f=0;e===vi?o>0&&(u=vi,d=o,f=r.length):e===jo?c>0&&(u=jo,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?vi:jo:null,f=u?u===vi?r.length:l.length:0);const h=u===vi&&/\b(transform|all)(,|$)/.test(s(`${vi}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function Rm(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>Mm(n)+Mm(t[s])))}function Mm(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function $f(){return document.body.offsetHeight}function nk(t,e,n){const s=t[po];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Ic=Symbol("_vod"),j1=Symbol("_vsh"),Nc={beforeMount(t,{value:e},{transition:n}){t[Ic]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):Bo(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),Bo(t,!0),s.enter(t)):s.leave(t,()=>{Bo(t,!1)}):Bo(t,e))},beforeUnmount(t,{value:e}){Bo(t,e)}};function Bo(t,e){t.style.display=e?t[Ic]:"none",t[j1]=!e}function sk(){Nc.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const B1=Symbol("");function ik(t){const e=on();if(!e)return;const n=e.ut=(i=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>Pc(r,i))},s=()=>{const i=t(e.proxy);e.ce?Pc(e.ce,i):Ff(e.subTree,i),n(i)};jh(()=>{Oa(s)}),No(()=>{Xn(s,tn,{flush:"post"});const i=new MutationObserver(s);i.observe(e.subTree.el.parentNode,{childList:!0}),Qa(()=>i.disconnect())})}function Ff(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ff(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)Pc(t.el,e);else if(t.type===pt)t.children.forEach(n=>Ff(n,e));else if(t.type===br){let{el:n,anchor:s}=t;for(;n&&(Pc(n,e),n!==s);)n=n.nextSibling}}function Pc(t,e){if(t.nodeType===1){const n=t.style;let s="";for(const i in e)n.setProperty(`--${i}`,e[i]),s+=`--${i}: ${e[i]};`;n[B1]=s}}const rk=/(^|;)\s*display\s*:/;function ok(t,e,n){const s=t.style,i=Dt(n);let r=!1;if(n&&!i){if(e)if(Dt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ql(s,a,"")}else for(const o in e)n[o]==null&&Ql(s,o,"");for(const o in n)o==="display"&&(r=!0),Ql(s,o,n[o])}else if(i){if(e!==n){const o=s[B1];o&&(n+=";"+o),s.cssText=n,r=rk.test(n)}}else e&&t.removeAttribute("style");Ic in t&&(t[Ic]=r?s.display:"",t[j1]&&(s.display="none"))}const Lm=/\s*!important$/;function Ql(t,e,n){if(yt(n))n.forEach(s=>Ql(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=ak(t,e);Lm.test(n)?t.setProperty(pn(s),n.replace(Lm,""),"important"):t[s]=n}}const $m=["Webkit","Moz","ms"],Id={};function ak(t,e){const n=Id[e];if(n)return n;let s=Te(e);if(s!=="filter"&&s in t)return Id[e]=s;s=Xi(s);for(let i=0;i<$m.length;i++){const r=$m[i]+s;if(r in t)return Id[e]=r}return e}const Fm="http://www.w3.org/1999/xlink";function Vm(t,e,n,s,i,r=rv(e)){s&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(Fm,e.slice(6,e.length)):t.setAttributeNS(Fm,e,n):n==null||r&&!xh(n)?t.removeAttribute(e):t.setAttribute(e,r?"":xn(n)?String(n):n)}function Hm(t,e,n,s,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?L1(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=xh(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 Qs(t,e,n,s){t.addEventListener(e,n,s)}function lk(t,e,n,s){t.removeEventListener(e,n,s)}const Um=Symbol("_vei");function ck(t,e,n,s,i=null){const r=t[Um]||(t[Um]={}),o=r[e];if(s&&o)o.value=s;else{const[a,l]=uk(e);if(s){const c=r[e]=hk(s,i);Qs(t,a,c,l)}else o&&(lk(t,a,o,l),r[e]=void 0)}}const jm=/(?:Once|Passive|Capture)$/;function uk(t){let e;if(jm.test(t)){e={};let s;for(;s=t.match(jm);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):pn(t.slice(2)),e]}let Nd=0;const dk=Promise.resolve(),fk=()=>Nd||(dk.then(()=>Nd=0),Nd=Date.now());function hk(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ds(pk(s,n.value),e,5,[s])};return n.value=t,n.attached=fk(),n}function pk(t,e){if(yt(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 Bm=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,mk=(t,e,n,s,i,r)=>{const o=i==="svg";e==="class"?nk(t,s,o):e==="style"?ok(t,n,s):zi(e)?ou(e)||ck(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):gk(t,e,s,o))?(Hm(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Vm(t,e,s,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Dt(s))?Hm(t,Te(e),s,r,e):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),Vm(t,e,s,o))};function gk(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&Bm(e)&&xt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||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 Bm(e)&&Dt(n)?!1:e in t}const Wm={};/*! #__NO_SIDE_EFFECTS__ */function W1(t,e,n){const s=hi(t,e);Xa(s)&&Jt(s,e);class i extends Au{constructor(o){super(s,o,n)}}return i.def=s,i}/*! #__NO_SIDE_EFFECTS__ */const yk=(t,e)=>W1(t,e,n0),bk=typeof HTMLElement<"u"?HTMLElement:class{};class Au extends bk{constructor(e,n={},s=Rc){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!==Rc?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Au){this._parent=e;break}this._instance||(this._resolved?(this._setParent(),this._update()):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._instance.provides=e._instance.provides)}disconnectedCallback(){this._connected=!1,Nr(()=>{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&&!yt(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=ka(this._props[l])),(a||(a=Object.create(null)))[Te(l)]=!0)}this._numberProps=a,i&&this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>e(this._def=s,!0)):e(this._def)}_mount(e){this._app=this._createApp(e),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)ce(this,s)||Object.defineProperty(this,s,{get:()=>$n(n[s])})}_resolveProps(e){const{props:n}=e,s=yt(n)?n:Object.keys(n||{});for(const i of Object.keys(this))i[0]!=="_"&&s.includes(i)&&this._setProp(i,this[i]);for(const i of s.map(Te))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let s=n?this.getAttribute(e):Wm;const i=Te(e);n&&this._numberProps&&this._numberProps[i]&&(s=ka(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===Wm?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(pn(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(pn(e),n+""):n||this.removeAttribute(pn(e)),r&&r.observe(this,{attributes:!0})}}_update(){e0(this._createVNode(),this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=E(this._def,Jt(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,Xa(o[0])?Jt({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),pn(r)!==r&&i(pn(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 G1(t){const e=on(),n=e&&e.ce;return n||null}function vk(){const t=G1();return t&&t.shadowRoot}function _k(t="$style"){{const e=on();if(!e)return Yt;const n=e.type.__cssModules;if(!n)return Yt;const s=n[t];return s||Yt}}const q1=new WeakMap,z1=new WeakMap,Dc=Symbol("_moveCb"),Gm=Symbol("_enterCb"),Sk=t=>(delete t.props.mode,t),Ek=Sk({name:"TransitionGroup",props:Jt({},F1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=on(),s=Vh();let i,r;return Eu(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!Ak(i[0].el,n.vnode.el,o))return;i.forEach(kk),i.forEach(Tk);const a=i.filter(Ck);$f(),a.forEach(l=>{const c=l.el,u=c.style;Ps(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[Dc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[Dc]=null,Ci(c,o))};c.addEventListener("transitionend",d)})}),()=>{const o=ne(t),a=H1(o);let l=o.tag||pt;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),ci(u,fo(u,a,s,n)),q1.set(u,u.el.getBoundingClientRect()))}r=e.default?_u(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&ci(u,fo(u,a,s,n))}return E(l,null,r)}}}),wk=Ek;function kk(t){const e=t.el;e[Dc]&&e[Dc](),e[Gm]&&e[Gm]()}function Tk(t){z1.set(t,t.el.getBoundingClientRect())}function Ck(t){const e=q1.get(t),n=z1.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 Ak(t,e,n){const s=t.cloneNode(),i=t[po];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}=U1(s);return r.removeChild(s),o}const Wi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return yt(e)?n=>mr(e,n):e};function Ok(t){t.target.composing=!0}function qm(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const cs=Symbol("_assign"),Jn={created(t,{modifiers:{lazy:e,trim:n,number:s}},i){t[cs]=Wi(i);const r=s||i.props&&i.props.type==="number";Qs(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=wa(a)),t[cs](a)}),n&&Qs(t,"change",()=>{t.value=t.value.trim()}),e||(Qs(t,"compositionstart",Ok),Qs(t,"compositionend",qm),Qs(t,"change",qm))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(t[cs]=Wi(o),t.composing)return;const a=(r||t.type==="number")&&!/^0\d/.test(t.value)?wa(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))}},Zh={deep:!0,created(t,e,n){t[cs]=Wi(n),Qs(t,"change",()=>{const s=t._modelValue,i=mo(t),r=t.checked,o=t[cs];if(yt(s)){const a=Za(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(Ki(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(K1(t,r))})},mounted:zm,beforeUpdate(t,e,n){t[cs]=Wi(n),zm(t,e,n)}};function zm(t,{value:e,oldValue:n},s){t._modelValue=e;let i;if(yt(e))i=Za(e,s.props.value)>-1;else if(Ki(e))i=e.has(s.props.value);else{if(e===n)return;i=li(e,K1(t,!0))}t.checked!==i&&(t.checked=i)}const Jh={created(t,{value:e},n){t.checked=li(e,n.props.value),t[cs]=Wi(n),Qs(t,"change",()=>{t[cs](mo(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[cs]=Wi(s),e!==n&&(t.checked=li(e,s.props.value))}},Qh={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const i=Ki(e);Qs(t,"change",()=>{const r=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?wa(mo(o)):mo(o));t[cs](t.multiple?i?new Set(r):r:r[0]),t._assigning=!0,Nr(()=>{t._assigning=!1})}),t[cs]=Wi(s)},mounted(t,{value:e}){Km(t,e)},beforeUpdate(t,e,n){t[cs]=Wi(n)},updated(t,{value:e}){t._assigning||Km(t,e)}};function Km(t,e){const n=t.multiple,s=yt(e);if(!(n&&!s&&!Ki(e))){for(let i=0,r=t.options.length;i<r;i++){const o=t.options[i],a=mo(o);if(n)if(s){const l=typeof a;l==="string"||l==="number"?o.selected=e.some(c=>String(c)===String(a)):o.selected=Za(e,a)>-1}else o.selected=e.has(a);else if(li(mo(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function mo(t){return"_value"in t?t._value:t.value}function K1(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const X1={created(t,e,n){Al(t,e,n,null,"created")},mounted(t,e,n){Al(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){Al(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){Al(t,e,n,s,"updated")}};function Y1(t,e){switch(t){case"SELECT":return Qh;case"TEXTAREA":return Jn;default:switch(e){case"checkbox":return Zh;case"radio":return Jh;default:return Jn}}}function Al(t,e,n,s,i){const o=Y1(t.tagName,n.props&&n.props.type)[i];o&&o(t,e,n,s)}function xk(){Jn.getSSRProps=({value:t})=>({value:t}),Jh.getSSRProps=({value:t},e)=>{if(e.props&&li(e.props.value,t))return{checked:!0}},Zh.getSSRProps=({value:t},e)=>{if(yt(t)){if(e.props&&Za(t,e.props.value)>-1)return{checked:!0}}else if(Ki(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},X1.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=Y1(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const Ik=["ctrl","shift","alt","meta"],Nk={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)=>Ik.some(n=>t[`${n}Key`]&&!e.includes(n))},_n=(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=Nk[e[o]];if(a&&a(i,e))return}return t(i,...r)})},Pk={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Z1=(t,e)=>{const n=t._withKeys||(t._withKeys={}),s=e.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const r=pn(i.key);if(e.some(o=>o===r||Pk[o]===r))return t(i)})},J1=Jt({patchProp:mk},Jw);let fa,Xm=!1;function Q1(){return fa||(fa=d1(J1))}function t0(){return fa=Xm?fa:f1(J1),Xm=!0,fa}const e0=(...t)=>{Q1().render(...t)},Dk=(...t)=>{t0().hydrate(...t)},Rc=(...t)=>{const e=Q1().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=i0(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,s0(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e},n0=(...t)=>{const e=t0().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=i0(s);if(i)return n(i,!0,s0(i))},e};function s0(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function i0(t){return Dt(t)?document.querySelector(t):t}let Ym=!1;const Rk=()=>{Ym||(Ym=!0,xk(),sk())},Mk=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Uv,BaseTransitionPropsValidators:Hh,Comment:Ge,DeprecationTypes:Xw,EffectScope:Ih,ErrorCodes:u3,ErrorTypeStrings:jw,Fragment:pt,KeepAlive:L3,ReactiveEffect:Ta,Static:br,Suspense:ww,Teleport:b3,Text:ii,TrackOpTypes:s3,Transition:V1,TransitionGroup:wk,TriggerOpTypes:i3,VueElement:Au,assertNumber:c3,callWithAsyncErrorHandling:ds,callWithErrorHandling:Io,camelize:Te,capitalize:Xi,cloneVNode:Hs,compatUtils:Kw,computed:Qe,createApp:Rc,createBlock:vt,createCommentVNode:_t,createElementBlock:$,createElementVNode:C,createHydrationRenderer:f1,createPropsRestProxy:J3,createRenderer:d1,createSSRApp:n0,createSlots:tl,createStaticVNode:Nw,createTextVNode:Us,createVNode:E,customRef:Cv,defineAsyncComponent:R3,defineComponent:hi,defineCustomElement:W1,defineEmits:j3,defineExpose:B3,defineModel:q3,defineOptions:W3,defineProps:U3,defineSSRCustomElement:yk,defineSlots:G3,devtools:Bw,effect:CE,effectScope:du,getCurrentInstance:on,getCurrentScope:Nh,getCurrentWatcher:r3,getTransitionRawChildren:_u,guardReactiveProps:O1,h:$s,handleError:Ir,hasInjectionContext:e1,hydrate:Dk,hydrateOnIdle:O3,hydrateOnInteraction:P3,hydrateOnMediaQuery:N3,hydrateOnVisible:I3,initCustomFormatter:Vw,initDirectivesForSSR:Rk,inject:ls,isMemoSame:R1,isProxy:gu,isReactive:Fs,isReadonly:Bi,isRef:Ne,isRuntimeOnly:Lw,isShallow:Kn,isVNode:ui,markRaw:yu,mergeDefaults:Y3,mergeModels:Z3,mergeProps:so,nextTick:Nr,normalizeClass:Vt,normalizeProps:eo,normalizeStyle:fi,onActivated:Bv,onBeforeMount:qv,onBeforeUnmount:wu,onBeforeUpdate:jh,onDeactivated:Wv,onErrorCaptured:Yv,onMounted:No,onRenderTracked:Xv,onRenderTriggered:Kv,onScopeDispose:cv,onServerPrefetch:zv,onUnmounted:Qa,onUpdated:Eu,onWatcherCleanup:xv,openBlock:x,popScopeId:m3,provide:ua,proxyRefs:$h,pushScopeId:p3,queuePostFlushCb:Oa,reactive:xo,readonly:Lh,ref:as,registerRuntimeCompiler:Mw,render:e0,renderList:oe,renderSlot:de,resolveComponent:w,resolveDirective:Wh,resolveDynamicComponent:ku,resolveFilter:zw,resolveTransitionHooks:fo,setBlockTracking:If,setDevtoolsHook:Ww,setTransitionHooks:ci,shallowReactive:Mh,shallowReadonly:qE,shallowRef:bu,ssrContextKey:g1,ssrUtils:qw,stop:AE,toDisplayString:Z,toHandlerKey:pr,toHandlers:V3,toRaw:ne,toRef:t3,toRefs:Av,toValue:XE,transformVNodeArgs:xw,triggerRef:KE,unref:$n,useAttrs:X3,useCssModule:_k,useCssVars:ik,useHost:G1,useId:_3,useModel:gw,useSSRContext:y1,useShadowRoot:vk,useSlots:K3,useTemplateRef:S3,useTransitionState:Vh,vModelCheckbox:Zh,vModelDynamic:X1,vModelRadio:Jh,vModelSelect:Qh,vModelText:Jn,vShow:Nc,version:M1,warn:Uw,watch:Xn,watchEffect:b1,watchPostEffect:pw,watchSyncEffect:v1,withAsyncContext:Q3,withCtx:M,withDefaults:z3,withDirectives:In,withKeys:Z1,withMemo:Hw,withModifiers:_n,withScopeId:g3},Symbol.toStringTag,{value:"Module"}));/*!
|
||
* pinia v3.0.1
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let r0;const Ou=t=>r0=t,o0=Symbol();function Vf(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var ha;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(ha||(ha={}));function Lk(){const t=du(!0),e=t.run(()=>as({}));let n=[],s=[];const i=yu({install(r){Ou(i),i._a=r,r.provide(o0,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 a0=()=>{};function Zm(t,e,n,s=a0){t.push(e);const i=()=>{const r=t.indexOf(e);r>-1&&(t.splice(r,1),s())};return!n&&Nh()&&cv(i),i}function Fr(t,...e){t.slice().forEach(n=>{n(...e)})}const $k=t=>t(),Jm=Symbol(),Pd=Symbol();function Hf(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];Vf(i)&&Vf(s)&&t.hasOwnProperty(n)&&!Ne(s)&&!Fs(s)?t[n]=Hf(i,s):t[n]=s}return t}const Fk=Symbol();function Vk(t){return!Vf(t)||!t.hasOwnProperty(Fk)}const{assign:Ai}=Object;function Hk(t){return!!(Ne(t)&&t.effect)}function Uk(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=Av(n.state.value[t]);return Ai(u,r,Object.keys(o||{}).reduce((d,f)=>(d[f]=yu(Qe(()=>{Ou(n);const h=n._s.get(t);return o[f].call(h,h)})),d),{}))}return l=l0(t,c,e,n,s,!0),l}function l0(t,e,n={},s,i,r){let o;const a=Ai({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=s.state.value[t];!r&&!p&&(s.state.value[t]={}),as({});let m;function b(D){let T;c=u=!1,typeof D=="function"?(D(s.state.value[t]),T={type:ha.patchFunction,storeId:t,events:h}):(Hf(s.state.value[t],D),T={type:ha.patchObject,payload:D,storeId:t,events:h});const R=m=Symbol();Nr().then(()=>{m===R&&(c=!0)}),u=!0,Fr(d,T,s.state.value[t])}const y=r?function(){const{state:T}=n,R=T?T():{};this.$patch(j=>{Ai(j,R)})}:a0;function _(){o.stop(),d=[],f=[],s._s.delete(t)}const g=(D,T="")=>{if(Jm in D)return D[Pd]=T,D;const R=function(){Ou(s);const j=Array.from(arguments),F=[],U=[];function Y(et){F.push(et)}function ot(et){U.push(et)}Fr(f,{args:j,name:R[Pd],store:S,after:Y,onError:ot});let G;try{G=D.apply(this&&this.$id===t?this:S,j)}catch(et){throw Fr(U,et),et}return G instanceof Promise?G.then(et=>(Fr(F,et),et)).catch(et=>(Fr(U,et),Promise.reject(et))):(Fr(F,G),G)};return R[Jm]=!0,R[Pd]=T,R},v={_p:s,$id:t,$onAction:Zm.bind(null,f),$patch:b,$reset:y,$subscribe(D,T={}){const R=Zm(d,D,T.detached,()=>j()),j=o.run(()=>Xn(()=>s.state.value[t],F=>{(T.flush==="sync"?u:c)&&D({storeId:t,type:ha.direct,events:h},F)},Ai({},l,T)));return R},$dispose:_},S=xo(v);s._s.set(t,S);const N=(s._a&&s._a.runWithContext||$k)(()=>s._e.run(()=>(o=du()).run(()=>e({action:g}))));for(const D in N){const T=N[D];if(Ne(T)&&!Hk(T)||Fs(T))r||(p&&Vk(T)&&(Ne(T)?T.value=p[D]:Hf(T,p[D])),s.state.value[t][D]=T);else if(typeof T=="function"){const R=g(T,D);N[D]=R,a.actions[D]=T}}return Ai(S,N),Ai(ne(S),N),Object.defineProperty(S,"$state",{get:()=>s.state.value[t],set:D=>{b(T=>{Ai(T,D)})}}),s._p.forEach(D=>{Ai(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 hs(t,e,n){let s;const i=typeof e=="function";s=i?n:e;function r(o,a){const l=e1();return o=o||(l?ls(o0,null):null),o&&Ou(o),o=r0,o._s.has(t)||(i?l0(t,e,s,o):Uk(t,s,o)),o._s.get(t)}return r.$id=t,r}const Ls=hs("NotificationsStore",{actions:{add(t){const e={id:this.nextId++,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:[],nextId:1})}),it=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},jk={name:"ListNotifications",setup(){return{notificationsStore:Ls()}}},Bk={key:0,class:"notifications"},Wk={class:"columns is-centered"},Gk={class:"column is-half"},qk=["onClick"],zk=["textContent"];function Kk(t,e,n,s,i,r){return s.notificationsStore.isEmpty?_t("",!0):(x(),$("section",Bk,[C("div",Wk,[C("div",Gk,[(x(!0),$(pt,null,oe(s.notificationsStore.list,o=>(x(),$("div",{key:o.id,class:Vt(["notification",o.type?`is-${o.type}`:""])},[C("button",{class:"delete",onClick:a=>s.notificationsStore.remove(o)},null,8,qk),C("div",{class:"text",textContent:Z(o.text)},null,8,zk)],2))),128))])])]))}const Xk=it(jk,[["render",Kk],["__scopeId","data-v-43c6a412"]]),Yk={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")}}},Zk={key:0,class:"modal is-active"},Jk={class:"modal-content"},Qk={class:"card is-shadowless"},tT={class:"card-header"},eT=["textContent"],nT={class:"card-header-icon"},sT={class:"card-content"},iT={key:0,class:"card-footer"},rT=["disabled","onClick"],oT=["textContent"];function aT(t,e,n,s,i,r){const o=w("mdicon");return x(),vt(V1,{name:"fade"},{default:M(()=>[n.show?(x(),$("div",Zk,[C("div",{class:"modal-background",onClick:e[0]||(e[0]=a=>t.$emit("close"))}),C("div",Jk,[C("div",Qk,[C("div",tT,[n.title?(x(),$("div",{key:0,class:"card-header-title",textContent:Z(n.title)},null,8,eT)):_t("",!0),C("div",nT,[C("button",{class:"delete",onClick:e[1]||(e[1]=a=>t.$emit("close"))})])]),C("div",sT,[de(t.$slots,"content",{},void 0,!0)]),n.actions.length?(x(),$("footer",iT,[(x(!0),$(pt,null,oe(n.actions,a=>(x(),$("button",{key:a.key,class:Vt(["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"]),C("span",{class:"is-size-7",textContent:Z(t.$t(a.key))},null,8,oT)],10,rT))),128))])):_t("",!0)])])])):_t("",!0)]),_:3})}const mi=it(Yk,[["render",aT],["__scopeId","data-v-b44d4d43"]]),tp=hs("RemotesStore",{state:()=>({pairing:{}})});function c0(t,e){return function(){return t.apply(e,arguments)}}const{toString:lT}=Object.prototype,{getPrototypeOf:ep}=Object,xu=(t=>e=>{const n=lT.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),As=t=>(t=t.toLowerCase(),e=>xu(e)===t),Iu=t=>e=>typeof e===t,{isArray:Po}=Array,Ra=Iu("undefined");function cT(t){return t!==null&&!Ra(t)&&t.constructor!==null&&!Ra(t.constructor)&&Yn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const u0=As("ArrayBuffer");function uT(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&u0(t.buffer),e}const dT=Iu("string"),Yn=Iu("function"),d0=Iu("number"),Nu=t=>t!==null&&typeof t=="object",fT=t=>t===!0||t===!1,tc=t=>{if(xu(t)!=="object")return!1;const e=ep(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},hT=As("Date"),pT=As("File"),mT=As("Blob"),gT=As("FileList"),yT=t=>Nu(t)&&Yn(t.pipe),bT=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Yn(t.append)&&((e=xu(t))==="formdata"||e==="object"&&Yn(t.toString)&&t.toString()==="[object FormData]"))},vT=As("URLSearchParams"),[_T,ST,ET,wT]=["ReadableStream","Request","Response","Headers"].map(As),kT=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function sl(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,i;if(typeof t!="object"&&(t=[t]),Po(t))for(s=0,i=t.length;s<i;s++)e.call(null,t[s],s,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(s=0;s<o;s++)a=r[s],e.call(null,t[a],a,t)}}function f0(t,e){e=e.toLowerCase();const n=Object.keys(t);let s=n.length,i;for(;s-- >0;)if(i=n[s],e===i.toLowerCase())return i;return null}const cr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,h0=t=>!Ra(t)&&t!==cr;function Uf(){const{caseless:t}=h0(this)&&this||{},e={},n=(s,i)=>{const r=t&&f0(e,i)||i;tc(e[r])&&tc(s)?e[r]=Uf(e[r],s):tc(s)?e[r]=Uf({},s):Po(s)?e[r]=s.slice():e[r]=s};for(let s=0,i=arguments.length;s<i;s++)arguments[s]&&sl(arguments[s],n);return e}const TT=(t,e,n,{allOwnKeys:s}={})=>(sl(e,(i,r)=>{n&&Yn(i)?t[r]=c0(i,n):t[r]=i},{allOwnKeys:s}),t),CT=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),AT=(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)},OT=(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&&ep(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},xT=(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},IT=t=>{if(!t)return null;if(Po(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},NT=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ep(Uint8Array)),PT=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(t,r[0],r[1])}},DT=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},RT=As("HTMLFormElement"),MT=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,i){return s.toUpperCase()+i}),Qm=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),LT=As("RegExp"),p0=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};sl(n,(i,r)=>{let o;(o=e(i,r,t))!==!1&&(s[r]=o||i)}),Object.defineProperties(t,s)},$T=t=>{p0(t,(e,n)=>{if(Yn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(Yn(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+"'")})}})},FT=(t,e)=>{const n={},s=i=>{i.forEach(r=>{n[r]=!0})};return Po(t)?s(t):s(String(t).split(e)),n},VT=()=>{},HT=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function UT(t){return!!(t&&Yn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const jT=t=>{const e=new Array(10),n=(s,i)=>{if(Nu(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[i]=s;const r=Po(s)?[]:{};return sl(s,(o,a)=>{const l=n(o,i+1);!Ra(l)&&(r[a]=l)}),e[i]=void 0,r}}return s};return n(t,0)},BT=As("AsyncFunction"),WT=t=>t&&(Nu(t)||Yn(t))&&Yn(t.then)&&Yn(t.catch),m0=((t,e)=>t?setImmediate:e?((n,s)=>(cr.addEventListener("message",({source:i,data:r})=>{i===cr&&r===n&&s.length&&s.shift()()},!1),i=>{s.push(i),cr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Yn(cr.postMessage)),GT=typeof queueMicrotask<"u"?queueMicrotask.bind(cr):typeof process<"u"&&process.nextTick||m0,J={isArray:Po,isArrayBuffer:u0,isBuffer:cT,isFormData:bT,isArrayBufferView:uT,isString:dT,isNumber:d0,isBoolean:fT,isObject:Nu,isPlainObject:tc,isReadableStream:_T,isRequest:ST,isResponse:ET,isHeaders:wT,isUndefined:Ra,isDate:hT,isFile:pT,isBlob:mT,isRegExp:LT,isFunction:Yn,isStream:yT,isURLSearchParams:vT,isTypedArray:NT,isFileList:gT,forEach:sl,merge:Uf,extend:TT,trim:kT,stripBOM:CT,inherits:AT,toFlatObject:OT,kindOf:xu,kindOfTest:As,endsWith:xT,toArray:IT,forEachEntry:PT,matchAll:DT,isHTMLForm:RT,hasOwnProperty:Qm,hasOwnProp:Qm,reduceDescriptors:p0,freezeMethods:$T,toObjectSet:FT,toCamelCase:MT,noop:VT,toFiniteNumber:HT,findKey:f0,global:cr,isContextDefined:h0,isSpecCompliantForm:UT,toJSONObject:jT,isAsyncFn:BT,isThenable:WT,setImmediate:m0,asap:GT};function Bt(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)}J.inherits(Bt,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:J.toJSONObject(this.config),code:this.code,status:this.status}}});const g0=Bt.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(Bt,y0);Object.defineProperty(g0,"isAxiosError",{value:!0});Bt.from=(t,e,n,s,i,r)=>{const o=Object.create(g0);return J.toFlatObject(t,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Bt.call(o,t.message,e,n,s,i),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const qT=null;function jf(t){return J.isPlainObject(t)||J.isArray(t)}function b0(t){return J.endsWith(t,"[]")?t.slice(0,-2):t}function tg(t,e,n){return t?t.concat(e).map(function(i,r){return i=b0(i),!n&&r?"["+i+"]":i}).join(n?".":""):e}function zT(t){return J.isArray(t)&&!t.some(jf)}const KT=J.toFlatObject(J,{},null,function(e){return/^is[A-Z]/.test(e)});function Pu(t,e,n){if(!J.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,b){return!J.isUndefined(b[m])});const s=n.metaTokens,i=n.visitor||u,r=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(e);if(!J.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(J.isDate(p))return p.toISOString();if(!l&&J.isBlob(p))throw new Bt("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(p)||J.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,b){let y=p;if(p&&!b&&typeof p=="object"){if(J.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(J.isArray(p)&&zT(p)||(J.isFileList(p)||J.endsWith(m,"[]"))&&(y=J.toArray(p)))return m=b0(m),y.forEach(function(g,v){!(J.isUndefined(g)||g===null)&&e.append(o===!0?tg([m],v,r):o===null?m:m+"[]",c(g))}),!1}return jf(p)?!0:(e.append(tg(b,m,r),c(p)),!1)}const d=[],f=Object.assign(KT,{defaultVisitor:u,convertValue:c,isVisitable:jf});function h(p,m){if(!J.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(p),J.forEach(p,function(y,_){(!(J.isUndefined(y)||y===null)&&i.call(e,y,J.isString(_)?_.trim():_,m,f))===!0&&h(y,m?m.concat(_):[_])}),d.pop()}}if(!J.isObject(t))throw new TypeError("data must be an object");return h(t),e}function eg(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function np(t,e){this._pairs=[],t&&Pu(t,this,e)}const v0=np.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,eg)}:eg;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function XT(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||XT;J.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let r;if(i?r=i(e,n):r=J.isURLSearchParams(e)?e.toString():new np(e,n).toString(s),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class ng{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){J.forEach(this.handlers,function(s){s!==null&&e(s)})}}const S0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},YT=typeof URLSearchParams<"u"?URLSearchParams:np,ZT=typeof FormData<"u"?FormData:null,JT=typeof Blob<"u"?Blob:null,QT={isBrowser:!0,classes:{URLSearchParams:YT,FormData:ZT,Blob:JT},protocols:["http","https","file","blob","url","data"]},sp=typeof window<"u"&&typeof document<"u",Bf=typeof navigator=="object"&&navigator||void 0,tC=sp&&(!Bf||["ReactNative","NativeScript","NS"].indexOf(Bf.product)<0),eC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",nC=sp&&window.location.href||"http://localhost",sC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:sp,hasStandardBrowserEnv:tC,hasStandardBrowserWebWorkerEnv:eC,navigator:Bf,origin:nC},Symbol.toStringTag,{value:"Module"})),mn={...sC,...QT};function iC(t,e){return Pu(t,new mn.classes.URLSearchParams,Object.assign({visitor:function(n,s,i,r){return mn.isNode&&J.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function rC(t){return J.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function oC(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&&J.isArray(i)?i.length:o,l?(J.hasOwnProp(i,o)?i[o]=[i[o],s]:i[o]=s,!a):((!i[o]||!J.isObject(i[o]))&&(i[o]=[]),e(n,s,i[o],r)&&J.isArray(i[o])&&(i[o]=oC(i[o])),!a)}if(J.isFormData(t)&&J.isFunction(t.entries)){const n={};return J.forEachEntry(t,(s,i)=>{e(rC(s),i,n,0)}),n}return null}function aC(t,e,n){if(J.isString(t))try{return(e||JSON.parse)(t),J.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const il={transitional:S0,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const s=n.getContentType()||"",i=s.indexOf("application/json")>-1,r=J.isObject(e);if(r&&J.isHTMLForm(e)&&(e=new FormData(e)),J.isFormData(e))return i?JSON.stringify(E0(e)):e;if(J.isArrayBuffer(e)||J.isBuffer(e)||J.isStream(e)||J.isFile(e)||J.isBlob(e)||J.isReadableStream(e))return e;if(J.isArrayBufferView(e))return e.buffer;if(J.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 iC(e,this.formSerializer).toString();if((a=J.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Pu(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),aC(e)):e}],transformResponse:[function(e){const n=this.transitional||il.transitional,s=n&&n.forcedJSONParsing,i=this.responseType==="json";if(J.isResponse(e)||J.isReadableStream(e))return e;if(e&&J.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"?Bt.from(a,Bt.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:mn.classes.FormData,Blob:mn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],t=>{il.headers[t]={}});const lC=J.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"]),cC=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]&&lC[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},sg=Symbol("internals");function Wo(t){return t&&String(t).trim().toLowerCase()}function ec(t){return t===!1||t==null?t:J.isArray(t)?t.map(ec):String(t)}function uC(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 dC=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Dd(t,e,n,s,i){if(J.isFunction(s))return s.call(this,e,n);if(i&&(e=n),!!J.isString(e)){if(J.isString(s))return e.indexOf(s)!==-1;if(J.isRegExp(s))return s.test(e)}}function fC(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function hC(t,e){const n=J.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 Vn=class{constructor(e){e&&this.set(e)}set(e,n,s){const i=this;function r(a,l,c){const u=Wo(l);if(!u)throw new Error("header name must be a non-empty string");const d=J.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=ec(a))}const o=(a,l)=>J.forEach(a,(c,u)=>r(c,u,l));if(J.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(J.isString(e)&&(e=e.trim())&&!dC(e))o(cC(e),n);else if(J.isHeaders(e))for(const[a,l]of e.entries())r(l,a,s);else e!=null&&r(n,e,s);return this}get(e,n){if(e=Wo(e),e){const s=J.findKey(this,e);if(s){const i=this[s];if(!n)return i;if(n===!0)return uC(i);if(J.isFunction(n))return n.call(this,i,s);if(J.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Wo(e),e){const s=J.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Dd(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let i=!1;function r(o){if(o=Wo(o),o){const a=J.findKey(s,o);a&&(!n||Dd(s,s[a],a,n))&&(delete s[a],i=!0)}}return J.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||Dd(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){const n=this,s={};return J.forEach(this,(i,r)=>{const o=J.findKey(s,r);if(o){n[o]=ec(i),delete n[r];return}const a=e?fC(r):String(r).trim();a!==r&&delete n[r],n[a]=ec(i),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return J.forEach(this,(s,i)=>{s!=null&&s!==!1&&(n[i]=e&&J.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(`
|
||
`)}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[sg]=this[sg]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=Wo(o);s[a]||(hC(i,o),s[a]=!0)}return J.isArray(e)?e.forEach(r):r(e),this}};Vn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Vn.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});J.freezeMethods(Vn);function Rd(t,e){const n=this||il,s=e||n,i=Vn.from(s.headers);let r=s.data;return J.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 Do(t,e,n){Bt.call(this,t??"canceled",Bt.ERR_CANCELED,e,n),this.name="CanceledError"}J.inherits(Do,Bt,{__CANCEL__:!0});function k0(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Bt("Request failed with status code "+n.status,[Bt.ERR_BAD_REQUEST,Bt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function pC(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function mC(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 gC(t,e){let n=0,s=1e3/e,i,r;const o=(c,u=Date.now())=>{n=u,i=null,r&&(clearTimeout(r),r=null),t.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=s?o(c,u):(i=c,r||(r=setTimeout(()=>{r=null,o(i)},s-d)))},()=>i&&o(i)]}const Mc=(t,e,n=3)=>{let s=0;const i=mC(50,250);return gC(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)},ig=(t,e)=>{const n=t!=null;return[s=>e[0]({lengthComputable:n,total:t,loaded:s}),e[1]]},rg=t=>(...e)=>J.asap(()=>t(...e)),yC=mn.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,mn.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(mn.origin),mn.navigator&&/(msie|trident)/i.test(mn.navigator.userAgent)):()=>!0,bC=mn.hasStandardBrowserEnv?{write(t,e,n,s,i,r){const o=[t+"="+encodeURIComponent(e)];J.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),J.isString(s)&&o.push("path="+s),J.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 vC(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function _C(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function T0(t,e,n){let s=!vC(e);return t&&s||n==!1?_C(t,e):e}const og=t=>t instanceof Vn?{...t}:t;function kr(t,e){e=e||{};const n={};function s(c,u,d,f){return J.isPlainObject(c)&&J.isPlainObject(u)?J.merge.call({caseless:f},c,u):J.isPlainObject(u)?J.merge({},u):J.isArray(u)?u.slice():u}function i(c,u,d,f){if(J.isUndefined(u)){if(!J.isUndefined(c))return s(void 0,c,d,f)}else return s(c,u,d,f)}function r(c,u){if(!J.isUndefined(u))return s(void 0,u)}function o(c,u){if(J.isUndefined(u)){if(!J.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(og(c),og(u),d,!0)};return J.forEach(Object.keys(Object.assign({},t,e)),function(u){const d=l[u]||i,f=d(t[u],e[u],u);J.isUndefined(f)&&d!==a||(n[u]=f)}),n}const C0=t=>{const e=kr({},t);let{data:n,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:r,headers:o,auth:a}=e;e.headers=o=Vn.from(o),e.url=_0(T0(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(J.isFormData(n)){if(mn.hasStandardBrowserEnv||mn.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(mn.hasStandardBrowserEnv&&(s&&J.isFunction(s)&&(s=s(e)),s||s!==!1&&yC(e.url))){const c=i&&r&&bC.read(r);c&&o.set(i,c)}return e},SC=typeof XMLHttpRequest<"u",EC=SC&&function(t){return new Promise(function(n,s){const i=C0(t);let r=i.data;const o=Vn.from(i.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:c}=i,u,d,f,h,p;function m(){h&&h(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(i.method.toUpperCase(),i.url,!0),b.timeout=i.timeout;function y(){if(!b)return;const g=Vn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:g,config:t,request:b};k0(function(N){n(N),m()},function(N){s(N),m()},S),b=null}"onloadend"in b?b.onloadend=y:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(y)},b.onabort=function(){b&&(s(new Bt("Request aborted",Bt.ECONNABORTED,t,b)),b=null)},b.onerror=function(){s(new Bt("Network Error",Bt.ERR_NETWORK,t,b)),b=null},b.ontimeout=function(){let v=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const S=i.transitional||S0;i.timeoutErrorMessage&&(v=i.timeoutErrorMessage),s(new Bt(v,S.clarifyTimeoutError?Bt.ETIMEDOUT:Bt.ECONNABORTED,t,b)),b=null},r===void 0&&o.setContentType(null),"setRequestHeader"in b&&J.forEach(o.toJSON(),function(v,S){b.setRequestHeader(S,v)}),J.isUndefined(i.withCredentials)||(b.withCredentials=!!i.withCredentials),a&&a!=="json"&&(b.responseType=i.responseType),c&&([f,p]=Mc(c,!0),b.addEventListener("progress",f)),l&&b.upload&&([d,h]=Mc(l),b.upload.addEventListener("progress",d),b.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=g=>{b&&(s(!g||g.type?new Do(null,t,b):g),b.abort(),b=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const _=pC(i.url);if(_&&mn.protocols.indexOf(_)===-1){s(new Bt("Unsupported protocol "+_+":",Bt.ERR_BAD_REQUEST,t));return}b.send(r||null)})},wC=(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 Bt?u:new Do(u instanceof Error?u.message:u))}};let o=e&&setTimeout(()=>{o=null,r(new Bt(`timeout ${e} of ms exceeded`,Bt.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=()=>J.asap(a),l}},kC=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},TC=async function*(t,e){for await(const n of CC(t))yield*kC(n,e)},CC=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()}},ag=(t,e,n,s)=>{const i=TC(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})},Du=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",A0=Du&&typeof ReadableStream=="function",AC=Du&&(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}},OC=A0&&O0(()=>{let t=!1;const e=new Request(mn.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),lg=64*1024,Wf=A0&&O0(()=>J.isReadableStream(new Response("").body)),Lc={stream:Wf&&(t=>t.body)};Du&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Lc[e]&&(Lc[e]=J.isFunction(t[e])?n=>n[e]():(n,s)=>{throw new Bt(`Response type '${e}' is not supported`,Bt.ERR_NOT_SUPPORT,s)})})})(new Response);const xC=async t=>{if(t==null)return 0;if(J.isBlob(t))return t.size;if(J.isSpecCompliantForm(t))return(await new Request(mn.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(J.isArrayBufferView(t)||J.isArrayBuffer(t))return t.byteLength;if(J.isURLSearchParams(t)&&(t=t+""),J.isString(t))return(await AC(t)).byteLength},IC=async(t,e)=>{const n=J.toFiniteNumber(t.getContentLength());return n??xC(e)},NC=Du&&(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}=C0(t);c=c?(c+"").toLowerCase():"text";let h=wC([i,r&&r.toAbortSignal()],o),p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(l&&OC&&n!=="get"&&n!=="head"&&(b=await IC(u,s))!==0){let S=new Request(e,{method:"POST",body:s,duplex:"half"}),k;if(J.isFormData(s)&&(k=S.headers.get("content-type"))&&u.setContentType(k),S.body){const[N,D]=ig(b,Mc(rg(l)));s=ag(S.body,lg,N,D)}}J.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;p=new Request(e,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:y?d:void 0});let _=await fetch(p);const g=Wf&&(c==="stream"||c==="response");if(Wf&&(a||g&&m)){const S={};["status","statusText","headers"].forEach(T=>{S[T]=_[T]});const k=J.toFiniteNumber(_.headers.get("content-length")),[N,D]=a&&ig(k,Mc(rg(a),!0))||[];_=new Response(ag(_.body,lg,N,()=>{D&&D(),m&&m()}),S)}c=c||"text";let v=await Lc[J.findKey(Lc,c)||"text"](_,t);return!g&&m&&m(),await new Promise((S,k)=>{k0(S,k,{data:v,headers:Vn.from(_.headers),status:_.status,statusText:_.statusText,config:t,request:p})})}catch(y){throw m&&m(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new Bt("Network Error",Bt.ERR_NETWORK,t,p),{cause:y.cause||y}):Bt.from(y,y&&y.code,t,p)}}),Gf={http:qT,xhr:EC,fetch:NC};J.forEach(Gf,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const cg=t=>`- ${t}`,PC=t=>J.isFunction(t)||t===null||t===!1,x0={getAdapter:t=>{t=J.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,!PC(n)&&(s=Gf[(o=String(n)).toLowerCase()],s===void 0))throw new Bt(`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(cg).join(`
|
||
`):" "+cg(r[0]):"as no adapter specified";throw new Bt("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:Gf};function Md(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Do(null,t)}function ug(t){return Md(t),t.headers=Vn.from(t.headers),t.data=Rd.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),x0.getAdapter(t.adapter||il.adapter)(t).then(function(s){return Md(t),s.data=Rd.call(t,t.transformResponse,s),s.headers=Vn.from(s.headers),s},function(s){return w0(s)||(Md(t),s&&s.response&&(s.response.data=Rd.call(t,t.transformResponse,s.response),s.response.headers=Vn.from(s.response.headers))),Promise.reject(s)})}const I0="1.8.3",Ru={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ru[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const dg={};Ru.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 Bt(i(o," has been removed"+(n?" in "+n:"")),Bt.ERR_DEPRECATED);return n&&!dg[o]&&(dg[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}};Ru.spelling=function(e){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function DC(t,e,n){if(typeof t!="object")throw new Bt("options must be an object",Bt.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 Bt("option "+r+" must be "+l,Bt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Bt("Unknown option "+r,Bt.ERR_BAD_OPTION)}}const nc={assertOptions:DC,validators:Ru},Is=nc.validators;let vr=class{constructor(e){this.defaults=e,this.interceptors={request:new ng,response:new ng}}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=kr(this.defaults,n);const{transitional:s,paramsSerializer:i,headers:r}=n;s!==void 0&&nc.assertOptions(s,{silentJSONParsing:Is.transitional(Is.boolean),forcedJSONParsing:Is.transitional(Is.boolean),clarifyTimeoutError:Is.transitional(Is.boolean)},!1),i!=null&&(J.isFunction(i)?n.paramsSerializer={serialize:i}:nc.assertOptions(i,{encode:Is.function,serialize:Is.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),nc.assertOptions(n,{baseUrl:Is.spelling("baseURL"),withXsrfToken:Is.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=r&&J.merge(r.common,r[n.method]);r&&J.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),n.headers=Vn.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=[ug.bind(this),void 0];for(p.unshift.apply(p,a),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d<f;)u=u.then(p[d++],p[d++]);return u}f=a.length;let h=n;for(d=0;d<f;){const p=a[d++],m=a[d++];try{h=p(h)}catch(b){m.call(this,b);break}}try{u=ug.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=kr(this.defaults,e);const n=T0(e.baseURL,e.url,e.allowAbsoluteUrls);return _0(n,e.params,e.paramsSerializer)}};J.forEach(["delete","get","head","options"],function(e){vr.prototype[e]=function(n,s){return this.request(kr(s||{},{method:e,url:n,data:(s||{}).data}))}});J.forEach(["post","put","patch"],function(e){function n(s){return function(r,o,a){return this.request(kr(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}vr.prototype[e]=n(),vr.prototype[e+"Form"]=n(!0)});let RC=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 Do(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 MC(t){return function(n){return t.apply(null,n)}}function LC(t){return J.isObject(t)&&t.isAxiosError===!0}const qf={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(qf).forEach(([t,e])=>{qf[e]=t});function P0(t){const e=new vr(t),n=c0(vr.prototype.request,e);return J.extend(n,vr.prototype,e,{allOwnKeys:!0}),J.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return P0(kr(t,i))},n}const ut=P0(il);ut.Axios=vr;ut.CanceledError=Do;ut.CancelToken=RC;ut.isCancel=w0;ut.VERSION=I0;ut.toFormData=Pu;ut.AxiosError=Bt;ut.Cancel=ut.CanceledError;ut.all=function(e){return Promise.all(e)};ut.spread=MC;ut.isAxiosError=LC;ut.mergeConfig=kr;ut.AxiosHeaders=Vn;ut.formToJSON=t=>E0(J.isHTMLForm(t)?new FormData(t):t);ut.getAdapter=x0.getAdapter;ut.HttpStatusCode=qf;ut.default=ut;const{Axios:cj,AxiosError:uj,CanceledError:dj,isCancel:fj,CancelToken:hj,VERSION:pj,all:mj,Cancel:gj,isAxiosError:yj,spread:bj,toFormData:vj,AxiosHeaders:_j,HttpStatusCode:Sj,formToJSON:Ej,getAdapter:wj,mergeConfig:kj}=ut;/*!
|
||
* shared v11.1.2
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const $c=typeof window<"u",Ji=(t,e=!1)=>e?Symbol.for(t):Symbol(t),$C=(t,e,n)=>FC({l:t,k:e,s:n}),FC=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),qe=t=>typeof t=="number"&&isFinite(t),VC=t=>ip(t)==="[object Date]",go=t=>ip(t)==="[object RegExp]",Mu=t=>Zt(t)&&Object.keys(t).length===0,Ze=Object.assign,HC=Object.create,Ee=(t=null)=>HC(t);let fg;const Fc=()=>fg||(fg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ee());function hg(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const UC=Object.prototype.hasOwnProperty;function Ss(t,e){return UC.call(t,e)}const ze=Array.isArray,Ce=t=>typeof t=="function",St=t=>typeof t=="string",ue=t=>typeof t=="boolean",pe=t=>t!==null&&typeof t=="object",jC=t=>pe(t)&&Ce(t.then)&&Ce(t.catch),D0=Object.prototype.toString,ip=t=>D0.call(t),Zt=t=>ip(t)==="[object Object]",BC=t=>t==null?"":ze(t)||Zt(t)&&t.toString===D0?JSON.stringify(t,null,2):String(t);function rp(t,e=""){return t.reduce((n,s,i)=>i===0?n+s:n+e+s,"")}function WC(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const Ol=t=>!pe(t)||ze(t);function sc(t,e){if(Ol(t)||Ol(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()),Ol(i[r])||Ol(s[r])?i[r]=s[r]:n.push({src:s[r],des:i[r]}))})}}/*!
|
||
* message-compiler v11.1.2
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function GC(t,e,n){return{line:t,column:e,offset:n}}function zf(t,e,n){return{start:t,end:e}}const _e={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},qC=17;function Lu(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 zC(t){throw t}const qs=" ",KC="\r",wn=`
|
||
`,XC="\u2028",YC="\u2029";function ZC(t){const e=t;let n=0,s=1,i=1,r=0;const o=N=>e[N]===KC&&e[N+1]===wn,a=N=>e[N]===wn,l=N=>e[N]===YC,c=N=>e[N]===XC,u=N=>o(N)||a(N)||l(N)||c(N),d=()=>n,f=()=>s,h=()=>i,p=()=>r,m=N=>o(N)||l(N)||c(N)?wn:e[N],b=()=>m(n),y=()=>m(n+r);function _(){return r=0,u(n)&&(s++,i=0),o(n)&&n++,n++,i++,e[n]}function g(){return o(n+r)&&r++,r++,e[n+r]}function v(){n=0,s=1,i=1,r=0}function S(N=0){r=N}function k(){const N=n+r;for(;N!==n;)_();r=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:b,currentPeek:y,next:_,peek:g,reset:v,resetPeek:S,skipToPeek:k}}const _i=void 0,JC=".",pg="'",QC="tokenizer";function tA(t,e={}){const n=e.location!==!1,s=ZC(t),i=()=>s.index(),r=()=>GC(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(A,I,V,...K){const nt=c();if(I.column+=V,I.offset+=V,u){const lt=n?zf(nt.startLoc,I):null,L=Lu(A,lt,{domain:QC,args:K});u(L)}}function f(A,I,V){A.endLoc=r(),A.currentType=I;const K={type:I};return n&&(K.loc=zf(A.startLoc,A.endLoc)),V!=null&&(K.value=V),K}const h=A=>f(A,13);function p(A,I){return A.currentChar()===I?(A.next(),I):(d(_e.EXPECTED_TOKEN,r(),0,I),"")}function m(A){let I="";for(;A.currentPeek()===qs||A.currentPeek()===wn;)I+=A.currentPeek(),A.peek();return I}function b(A){const I=m(A);return A.skipToPeek(),I}function y(A){if(A===_i)return!1;const I=A.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function _(A){if(A===_i)return!1;const I=A.charCodeAt(0);return I>=48&&I<=57}function g(A,I){const{currentType:V}=I;if(V!==2)return!1;m(A);const K=y(A.currentPeek());return A.resetPeek(),K}function v(A,I){const{currentType:V}=I;if(V!==2)return!1;m(A);const K=A.currentPeek()==="-"?A.peek():A.currentPeek(),nt=_(K);return A.resetPeek(),nt}function S(A,I){const{currentType:V}=I;if(V!==2)return!1;m(A);const K=A.currentPeek()===pg;return A.resetPeek(),K}function k(A,I){const{currentType:V}=I;if(V!==7)return!1;m(A);const K=A.currentPeek()===".";return A.resetPeek(),K}function N(A,I){const{currentType:V}=I;if(V!==8)return!1;m(A);const K=y(A.currentPeek());return A.resetPeek(),K}function D(A,I){const{currentType:V}=I;if(!(V===7||V===11))return!1;m(A);const K=A.currentPeek()===":";return A.resetPeek(),K}function T(A,I){const{currentType:V}=I;if(V!==9)return!1;const K=()=>{const lt=A.currentPeek();return lt==="{"?y(A.peek()):lt==="@"||lt==="|"||lt===":"||lt==="."||lt===qs||!lt?!1:lt===wn?(A.peek(),K()):j(A,!1)},nt=K();return A.resetPeek(),nt}function R(A){m(A);const I=A.currentPeek()==="|";return A.resetPeek(),I}function j(A,I=!0){const V=(nt=!1,lt="")=>{const L=A.currentPeek();return L==="{"||L==="@"||!L?nt:L==="|"?!(lt===qs||lt===wn):L===qs?(A.peek(),V(!0,qs)):L===wn?(A.peek(),V(!0,wn)):!0},K=V();return I&&A.resetPeek(),K}function F(A,I){const V=A.currentChar();return V===_i?_i:I(V)?(A.next(),V):null}function U(A){const I=A.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36}function Y(A){return F(A,U)}function ot(A){const I=A.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36||I===45}function G(A){return F(A,ot)}function et(A){const I=A.charCodeAt(0);return I>=48&&I<=57}function at(A){return F(A,et)}function Tt(A){const I=A.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102}function Kt(A){return F(A,Tt)}function Ht(A){let I="",V="";for(;I=at(A);)V+=I;return V}function Wt(A){let I="";for(;;){const V=A.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V===qs||V===wn)if(j(A))I+=V,A.next();else{if(R(A))break;I+=V,A.next()}else I+=V,A.next()}return I}function ge(A){b(A);let I="",V="";for(;I=G(A);)V+=I;return A.currentChar()===_i&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V}function ve(A){b(A);let I="";return A.currentChar()==="-"?(A.next(),I+=`-${Ht(A)}`):I+=Ht(A),A.currentChar()===_i&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),I}function Se(A){return A!==pg&&A!==wn}function Gt(A){b(A),p(A,"'");let I="",V="";for(;I=F(A,Se);)I==="\\"?V+=X(A):V+=I;const K=A.currentChar();return K===wn||K===_i?(d(_e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),K===wn&&(A.next(),p(A,"'")),V):(p(A,"'"),V)}function X(A){const I=A.currentChar();switch(I){case"\\":case"'":return A.next(),`\\${I}`;case"u":return dt(A,I,4);case"U":return dt(A,I,6);default:return d(_e.UNKNOWN_ESCAPE_SEQUENCE,r(),0,I),""}}function dt(A,I,V){p(A,I);let K="";for(let nt=0;nt<V;nt++){const lt=Kt(A);if(!lt){d(_e.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${I}${K}${A.currentChar()}`);break}K+=lt}return`\\${I}${K}`}function ct(A){return A!=="{"&&A!=="}"&&A!==qs&&A!==wn}function bt(A){b(A);let I="",V="";for(;I=F(A,ct);)V+=I;return V}function Ut(A){let I="",V="";for(;I=Y(A);)V+=I;return V}function Xt(A){const I=V=>{const K=A.currentChar();return K==="{"||K==="@"||K==="|"||K==="("||K===")"||!K||K===qs?V:(V+=K,A.next(),I(V))};return I("")}function O(A){b(A);const I=p(A,"|");return b(A),I}function P(A,I){let V=null;switch(A.currentChar()){case"{":return I.braceNest>=1&&d(_e.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),A.next(),V=f(I,2,"{"),b(A),I.braceNest++,V;case"}":return I.braceNest>0&&I.currentType===2&&d(_e.EMPTY_PLACEHOLDER,r(),0),A.next(),V=f(I,3,"}"),I.braceNest--,I.braceNest>0&&b(A),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),V;case"@":return I.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=W(A,I)||h(I),I.braceNest=0,V;default:{let nt=!0,lt=!0,L=!0;if(R(A))return I.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=f(I,1,O(A)),I.braceNest=0,I.inLinked=!1,V;if(I.braceNest>0&&(I.currentType===4||I.currentType===5||I.currentType===6))return d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),I.braceNest=0,st(A,I);if(nt=g(A,I))return V=f(I,4,ge(A)),b(A),V;if(lt=v(A,I))return V=f(I,5,ve(A)),b(A),V;if(L=S(A,I))return V=f(I,6,Gt(A)),b(A),V;if(!nt&&!lt&&!L)return V=f(I,12,bt(A)),d(_e.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,V.value),b(A),V;break}}return V}function W(A,I){const{currentType:V}=I;let K=null;const nt=A.currentChar();switch((V===7||V===8||V===11||V===9)&&(nt===wn||nt===qs)&&d(_e.INVALID_LINKED_FORMAT,r(),0),nt){case"@":return A.next(),K=f(I,7,"@"),I.inLinked=!0,K;case".":return b(A),A.next(),f(I,8,".");case":":return b(A),A.next(),f(I,9,":");default:return R(A)?(K=f(I,1,O(A)),I.braceNest=0,I.inLinked=!1,K):k(A,I)||D(A,I)?(b(A),W(A,I)):N(A,I)?(b(A),f(I,11,Ut(A))):T(A,I)?(b(A),nt==="{"?P(A,I)||K:f(I,10,Xt(A))):(V===7&&d(_e.INVALID_LINKED_FORMAT,r(),0),I.braceNest=0,I.inLinked=!1,st(A,I))}}function st(A,I){let V={type:13};if(I.braceNest>0)return P(A,I)||h(I);if(I.inLinked)return W(A,I)||h(I);switch(A.currentChar()){case"{":return P(A,I)||h(I);case"}":return d(_e.UNBALANCED_CLOSING_BRACE,r(),0),A.next(),f(I,3,"}");case"@":return W(A,I)||h(I);default:{if(R(A))return V=f(I,1,O(A)),I.braceNest=0,I.inLinked=!1,V;if(j(A))return f(I,0,Wt(A));break}}return V}function Q(){const{currentType:A,offset:I,startLoc:V,endLoc:K}=l;return l.lastType=A,l.lastOffset=I,l.lastStartLoc=V,l.lastEndLoc=K,l.offset=i(),l.startLoc=r(),s.currentChar()===_i?f(l,13):st(s,l)}return{nextToken:Q,currentOffset:i,currentPosition:r,context:c}}const eA="parser",nA=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function sA(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 iA(t={}){const e=t.location!==!1,{onError:n}=t;function s(y,_,g,v,...S){const k=y.currentPosition();if(k.offset+=v,k.column+=v,n){const N=e?zf(g,k):null,D=Lu(_,N,{domain:eA,args:S});n(D)}}function i(y,_,g){const v={type:y};return e&&(v.start=_,v.end=_,v.loc={start:g,end:g}),v}function r(y,_,g,v){e&&(y.end=_,y.loc&&(y.loc.end=g))}function o(y,_){const g=y.context(),v=i(3,g.offset,g.startLoc);return v.value=_,r(v,y.currentOffset(),y.currentPosition()),v}function a(y,_){const g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(5,v,S);return k.index=parseInt(_,10),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function l(y,_){const g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(4,v,S);return k.key=_,y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function c(y,_){const g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(9,v,S);return k.value=_.replace(nA,sA),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function u(y){const _=y.nextToken(),g=y.context(),{lastOffset:v,lastStartLoc:S}=g,k=i(8,v,S);return _.type!==11?(s(y,_e.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),k.value="",r(k,v,S),{nextConsumeToken:_,node:k}):(_.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ns(_)),k.value=_.value||"",r(k,y.currentOffset(),y.currentPosition()),{node:k})}function d(y,_){const g=y.context(),v=i(7,g.offset,g.startLoc);return v.value=_,r(v,y.currentOffset(),y.currentPosition()),v}function f(y){const _=y.context(),g=i(6,_.offset,_.startLoc);let v=y.nextToken();if(v.type===8){const S=u(y);g.modifier=S.node,v=S.nextConsumeToken||y.nextToken()}switch(v.type!==9&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(v)),v=y.nextToken(),v.type===2&&(v=y.nextToken()),v.type){case 10:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(v)),g.key=d(y,v.value||"");break;case 4:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(v)),g.key=l(y,v.value||"");break;case 5:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(v)),g.key=a(y,v.value||"");break;case 6:v.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(v)),g.key=c(y,v.value||"");break;default:{s(y,_e.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const S=y.context(),k=i(7,S.offset,S.startLoc);return k.value="",r(k,S.offset,S.startLoc),g.key=k,r(g,S.offset,S.startLoc),{nextConsumeToken:v,node:g}}}return r(g,y.currentOffset(),y.currentPosition()),{node:g}}function h(y){const _=y.context(),g=_.currentType===1?y.currentOffset():_.offset,v=_.currentType===1?_.endLoc:_.startLoc,S=i(2,g,v);S.items=[];let k=null;do{const T=k||y.nextToken();switch(k=null,T.type){case 0:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(T)),S.items.push(o(y,T.value||""));break;case 5:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(T)),S.items.push(a(y,T.value||""));break;case 4:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(T)),S.items.push(l(y,T.value||""));break;case 6:T.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ns(T)),S.items.push(c(y,T.value||""));break;case 7:{const R=f(y);S.items.push(R.node),k=R.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const N=_.currentType===1?_.lastOffset:y.currentOffset(),D=_.currentType===1?_.lastEndLoc:y.currentPosition();return r(S,N,D),S}function p(y,_,g,v){const S=y.context();let k=v.items.length===0;const N=i(1,_,g);N.cases=[],N.cases.push(v);do{const D=h(y);k||(k=D.items.length===0),N.cases.push(D)}while(S.currentType!==13);return k&&s(y,_e.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),r(N,y.currentOffset(),y.currentPosition()),N}function m(y){const _=y.context(),{offset:g,startLoc:v}=_,S=h(y);return _.currentType===13?S:p(y,g,v,S)}function b(y){const _=tA(y,Ze({},t)),g=_.context(),v=i(0,g.offset,g.startLoc);return e&&v.loc&&(v.loc.source=y),v.body=m(_),t.onCacheKey&&(v.cacheKey=t.onCacheKey(y)),g.currentType!==13&&s(_,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,y[g.offset]||""),r(v,_.currentOffset(),_.currentPosition()),v}return{parse:b}}function Ns(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 rA(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function mg(t,e){for(let n=0;n<t.length;n++)op(t[n],e)}function op(t,e){switch(t.type){case 1:mg(t.cases,e),e.helper("plural");break;case 2:mg(t.items,e);break;case 6:{op(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 oA(t,e={}){const n=rA(t);n.helper("normalize"),t.body&&op(t.body,n);const s=n.context();t.helpers=Array.from(s.helpers)}function aA(t){const e=t.body;return e.type===2?gg(e):e.cases.forEach(n=>gg(n)),t}function gg(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=rp(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 Xr(t){switch(t.t=t.type,t.type){case 0:{const e=t;Xr(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++)Xr(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++)Xr(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;Xr(e.key),e.k=e.key,delete e.key,e.modifier&&(Xr(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 lA(t,e){const{filename:n,breakLineCode:s,needIndent:i}=e,r=e.location!==!1,o={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:i,indentLevel:0};r&&t.loc&&(o.source=t.loc.source);const a=()=>o;function l(m,b){o.code+=m}function c(m,b=!0){const y=b?s:"";l(i?y+" ".repeat(m):y)}function u(m=!0){const b=++o.indentLevel;m&&c(b)}function d(m=!0){const b=--o.indentLevel;m&&c(b)}function f(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:d,newline:f,helper:m=>`_${m}`,needIndent:()=>o.needIndent}}function cA(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),yo(t,e.key),e.modifier?(t.push(", "),yo(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function uA(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&&(yo(t,e.items[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}function dA(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&&(yo(t,e.cases[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}}function fA(t,e){e.body?yo(t,e.body):t.push("null")}function yo(t,e){const{helper:n}=t;switch(e.type){case 0:fA(t,e);break;case 1:dA(t,e);break;case 2:uA(t,e);break;case 6:cA(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 hA=(t,e={})=>{const n=St(e.mode)?e.mode:"normal",s=St(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=lA(t,{filename:s,breakLineCode:i,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),o.length>0&&(a.push(`const { ${rp(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),yo(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 pA(t,e={}){const n=Ze({},e),s=!!n.jit,i=!!n.minify,r=n.optimize==null?!0:n.optimize,a=iA(n).parse(t);return s?(r&&aA(a),i&&Xr(a),{ast:a,code:""}):(oA(a,n),hA(a,n))}/*!
|
||
* core-base v11.1.2
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function mA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Fc().__INTLIFY_PROD_DEVTOOLS__=!1)}function Ld(t){return n=>gA(n,t)}function gA(t,e){const n=bA(e);if(n==null)throw Ma(0);if(ap(n)===1){const r=_A(n);return t.plural(r.reduce((o,a)=>[...o,yg(t,a)],[]))}else return yg(t,n)}const yA=["b","body"];function bA(t){return Qi(t,yA)}const vA=["c","cases"];function _A(t){return Qi(t,vA,[])}function yg(t,e){const n=EA(e);if(n!=null)return t.type==="text"?n:t.normalize([n]);{const s=kA(e).reduce((i,r)=>[...i,Kf(t,r)],[]);return t.normalize(s)}}const SA=["s","static"];function EA(t){return Qi(t,SA)}const wA=["i","items"];function kA(t){return Qi(t,wA,[])}function Kf(t,e){const n=ap(e);switch(n){case 3:return xl(e,n);case 9:return xl(e,n);case 4:{const s=e;if(Ss(s,"k")&&s.k)return t.interpolate(t.named(s.k));if(Ss(s,"key")&&s.key)return t.interpolate(t.named(s.key));throw Ma(n)}case 5:{const s=e;if(Ss(s,"i")&&qe(s.i))return t.interpolate(t.list(s.i));if(Ss(s,"index")&&qe(s.index))return t.interpolate(t.list(s.index));throw Ma(n)}case 6:{const s=e,i=OA(s),r=IA(s);return t.linked(Kf(t,r),i?Kf(t,i):void 0,t.type)}case 7:return xl(e,n);case 8:return xl(e,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const TA=["t","type"];function ap(t){return Qi(t,TA)}const CA=["v","value"];function xl(t,e){const n=Qi(t,CA);if(n)return n;throw Ma(e)}const AA=["m","modifier"];function OA(t){return Qi(t,AA)}const xA=["k","key"];function IA(t){const e=Qi(t,xA);if(e)return e;throw Ma(6)}function Qi(t,e,n){for(let s=0;s<e.length;s++){const i=e[s];if(Ss(t,i)&&t[i]!=null)return t[i]}return n}function Ma(t){return new Error(`unhandled node type: ${t}`)}const NA=t=>t;let Il=Ee();function bo(t){return pe(t)&&ap(t)===0&&(Ss(t,"b")||Ss(t,"body"))}function PA(t,e={}){let n=!1;const s=e.onError||zC;return e.onError=i=>{n=!0,s(i)},{...pA(t,e),detectError:n}}function DA(t,e){if(St(t)){ue(e.warnHtmlMessage)&&e.warnHtmlMessage;const s=(e.onCacheKey||NA)(t),i=Il[s];if(i)return i;const{ast:r,detectError:o}=PA(t,{...e,location:!1,jit:!0}),a=Ld(r);return o?a:Il[s]=a}else{const n=t.cacheKey;if(n){const s=Il[n];return s||(Il[n]=Ld(t))}else return Ld(t)}}let La=null;function RA(t){La=t}function MA(t,e,n){La&&La.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const LA=$A("function:translate");function $A(t){return e=>La&&La.emit(t,e)}const ei={INVALID_ARGUMENT:qC,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},FA=24;function ni(t){return Lu(t,null,void 0)}function lp(t,e){return e.locale!=null?bg(e.locale):bg(t.locale)}let $d;function bg(t){if(St(t))return t;if(Ce(t)){if(t.resolvedOnce&&$d!=null)return $d;if(t.constructor.name==="Function"){const e=t();if(jC(e))throw ni(ei.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return $d=e}else throw ni(ei.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ni(ei.NOT_SUPPORT_LOCALE_TYPE)}function VA(t,e,n){return[...new Set([n,...ze(e)?e:pe(e)?Object.keys(e):St(e)?[e]:[n]])]}function R0(t,e,n){const s=St(n)?n:$a,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(s);if(!r){r=[];let o=[n];for(;ze(o);)o=vg(r,o,e);const a=ze(e)||!Zt(e)?e:e.default?e.default:null;o=St(a)?[a]:a,ze(o)&&vg(r,o,!1),i.__localeChainCache.set(s,r)}return r}function vg(t,e,n){let s=!0;for(let i=0;i<e.length&&ue(s);i++){const r=e[i];St(r)&&(s=HA(t,e[i],n))}return s}function HA(t,e,n){let s;const i=e.split("-");do{const r=i.join("-");s=UA(t,r,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function UA(t,e,n){let s=!1;if(!t.includes(e)&&(s=!0,e)){s=e[e.length-1]!=="!";const i=e.replace(/!/g,"");t.push(i),(ze(n)||Zt(n))&&n[i]&&(s=n[i])}return s}const tr=[];tr[0]={w:[0],i:[3,0],"[":[4],o:[7]};tr[1]={w:[1],".":[2],"[":[4],o:[7]};tr[2]={w:[2],i:[3,0],0:[3,0]};tr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};tr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};tr[5]={"'":[4,0],o:8,l:[5,0]};tr[6]={'"':[4,0],o:8,l:[6,0]};const jA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function BA(t){return jA.test(t)}function WA(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 GA(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:BA(e)?WA(e):"*"+e}function zA(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=GA(r),d=tr[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 _g=new Map;function KA(t,e){return pe(t)?t[e]:null}function XA(t,e){if(!pe(t))return null;let n=_g.get(e);if(n||(n=zA(e),n&&_g.set(e,n)),!n)return null;const s=n.length;let i=t,r=0;for(;r<s;){const o=i[n[r]];if(o===void 0||Ce(i))return null;i=o,r++}return i}const YA="11.1.2",$u=-1,$a="en-US",Sg="",Eg=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function ZA(){return{upper:(t,e)=>e==="text"&&St(t)?t.toUpperCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&St(t)?t.toLowerCase():e==="vnode"&&pe(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&St(t)?Eg(t):e==="vnode"&&pe(t)&&"__v_isVNode"in t?Eg(t.children):t}}let M0;function JA(t){M0=t}let L0;function QA(t){L0=t}let $0;function tO(t){$0=t}let F0=null;const eO=t=>{F0=t},nO=()=>F0;let V0=null;const wg=t=>{V0=t},sO=()=>V0;let kg=0;function iO(t={}){const e=Ce(t.onWarn)?t.onWarn:WC,n=St(t.version)?t.version:YA,s=St(t.locale)||Ce(t.locale)?t.locale:$a,i=Ce(s)?$a:s,r=ze(t.fallbackLocale)||Zt(t.fallbackLocale)||St(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i,o=Zt(t.messages)?t.messages:Fd(i),a=Zt(t.datetimeFormats)?t.datetimeFormats:Fd(i),l=Zt(t.numberFormats)?t.numberFormats:Fd(i),c=Ze(Ee(),t.modifiers,ZA()),u=t.pluralRules||Ee(),d=Ce(t.missing)?t.missing:null,f=ue(t.missingWarn)||go(t.missingWarn)?t.missingWarn:!0,h=ue(t.fallbackWarn)||go(t.fallbackWarn)?t.fallbackWarn:!0,p=!!t.fallbackFormat,m=!!t.unresolving,b=Ce(t.postTranslation)?t.postTranslation:null,y=Zt(t.processor)?t.processor:null,_=ue(t.warnHtmlMessage)?t.warnHtmlMessage:!0,g=!!t.escapeParameter,v=Ce(t.messageCompiler)?t.messageCompiler:M0,S=Ce(t.messageResolver)?t.messageResolver:L0||KA,k=Ce(t.localeFallbacker)?t.localeFallbacker:$0||VA,N=pe(t.fallbackContext)?t.fallbackContext:void 0,D=t,T=pe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,R=pe(D.__numberFormatters)?D.__numberFormatters:new Map,j=pe(D.__meta)?D.__meta:{};kg++;const F={version:n,cid:kg,locale:s,fallbackLocale:r,messages:o,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:m,postTranslation:b,processor:y,warnHtmlMessage:_,escapeParameter:g,messageCompiler:v,messageResolver:S,localeFallbacker:k,fallbackContext:N,onWarn:e,__meta:j};return F.datetimeFormats=a,F.numberFormats=l,F.__datetimeFormatters=T,F.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&MA(F,n,j),F}const Fd=t=>({[t]:Ee()});function cp(t,e,n,s,i){const{missing:r,onWarn:o}=t;if(r!==null){const a=r(t,n,e,i);return St(a)?a:e}else return e}function Go(t,e,n){const s=t;s.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function rO(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function oO(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let s=n+1;s<e.length;s++)if(rO(t,e[s]))return!0;return!1}function Tg(t,...e){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[l,c,u,d]=Xf(...e),f=ue(u.missingWarn)?u.missingWarn:t.missingWarn;ue(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=lp(t,u),m=o(t,i,p);if(!St(l)||l==="")return new Intl.DateTimeFormat(p,d).format(c);let b={},y,_=null;const g="datetime format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!Zt(_));k++)cp(t,l,y,f,g);if(!Zt(_)||!St(y))return s?$u:l;let v=`${y}__${l}`;Mu(d)||(v=`${v}__${JSON.stringify(d)}`);let S=a.get(v);return S||(S=new Intl.DateTimeFormat(y,Ze({},_,d)),a.set(v,S)),h?S.formatToParts(c):S.format(c)}const H0=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Xf(...t){const[e,n,s,i]=t,r=Ee();let o=Ee(),a;if(St(e)){const l=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ni(ei.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 ni(ei.INVALID_ISO_DATE_ARGUMENT)}}else if(VC(e)){if(isNaN(e.getTime()))throw ni(ei.INVALID_DATE_ARGUMENT);a=e}else if(qe(e))a=e;else throw ni(ei.INVALID_ARGUMENT);return St(n)?r.key=n:Zt(n)&&Object.keys(n).forEach(l=>{H0.includes(l)?o[l]=n[l]:r[l]=n[l]}),St(s)?r.locale=s:Zt(s)&&(o=s),Zt(i)&&(o=i),[r.key||"",a,r,o]}function Cg(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function Ag(t,...e){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:a}=t,[l,c,u,d]=Yf(...e),f=ue(u.missingWarn)?u.missingWarn:t.missingWarn;ue(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=lp(t,u),m=o(t,i,p);if(!St(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let b={},y,_=null;const g="number format";for(let k=0;k<m.length&&(y=m[k],b=n[y]||{},_=b[l],!Zt(_));k++)cp(t,l,y,f,g);if(!Zt(_)||!St(y))return s?$u:l;let v=`${y}__${l}`;Mu(d)||(v=`${v}__${JSON.stringify(d)}`);let S=a.get(v);return S||(S=new Intl.NumberFormat(y,Ze({},_,d)),a.set(v,S)),h?S.formatToParts(c):S.format(c)}const U0=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Yf(...t){const[e,n,s,i]=t,r=Ee();let o=Ee();if(!qe(e))throw ni(ei.INVALID_ARGUMENT);const a=e;return St(n)?r.key=n:Zt(n)&&Object.keys(n).forEach(l=>{U0.includes(l)?o[l]=n[l]:r[l]=n[l]}),St(s)?r.locale=s:Zt(s)&&(o=s),Zt(i)&&(o=i),[r.key||"",a,r,o]}function Og(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}const aO=t=>t,lO=t=>"",cO="text",uO=t=>t.length===0?"":rp(t),dO=BC;function xg(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function fO(t){const e=qe(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(qe(t.named.count)||qe(t.named.n))?qe(t.named.count)?t.named.count:qe(t.named.n)?t.named.n:e:e}function hO(t,e){e.count||(e.count=t),e.n||(e.n=t)}function pO(t={}){const e=t.locale,n=fO(t),s=pe(t.pluralRules)&&St(e)&&Ce(t.pluralRules[e])?t.pluralRules[e]:xg,i=pe(t.pluralRules)&&St(e)&&Ce(t.pluralRules[e])?xg:void 0,r=y=>y[s(n,y.length,i)],o=t.list||[],a=y=>o[y],l=t.named||Ee();qe(t.pluralIndex)&&hO(n,l);const c=y=>l[y];function u(y,_){const g=Ce(t.messages)?t.messages(y,!!_):pe(t.messages)?t.messages[y]:!1;return g||(t.parent?t.parent.message(y):lO)}const d=y=>t.modifiers?t.modifiers[y]:aO,f=Zt(t.processor)&&Ce(t.processor.normalize)?t.processor.normalize:uO,h=Zt(t.processor)&&Ce(t.processor.interpolate)?t.processor.interpolate:dO,p=Zt(t.processor)&&St(t.processor.type)?t.processor.type:cO,b={list:a,named:c,plural:r,linked:(y,..._)=>{const[g,v]=_;let S="text",k="";_.length===1?pe(g)?(k=g.modifier||k,S=g.type||S):St(g)&&(k=g||k):_.length===2&&(St(g)&&(k=g||k),St(v)&&(S=v||S));const N=u(y,!0)(b),D=S==="vnode"&&ze(N)&&k?N[0]:N;return k?d(k)(D,S):D},message:u,type:p,interpolate:h,normalize:f,values:Ze(Ee(),o,l)};return b}const Ig=()=>"",is=t=>Ce(t);function Ng(t,...e){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:r,fallbackLocale:o,messages:a}=t,[l,c]=Zf(...e),u=ue(c.missingWarn)?c.missingWarn:t.missingWarn,d=ue(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,f=ue(c.escapeParameter)?c.escapeParameter:t.escapeParameter,h=!!c.resolvedMessage,p=St(c.default)||ue(c.default)?ue(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:null,m=n||p!=null&&(St(p)||Ce(p)),b=lp(t,c);f&&mO(c);let[y,_,g]=h?[l,b,a[b]||Ee()]:j0(t,l,b,o,d,u),v=y,S=l;if(!h&&!(St(v)||bo(v)||is(v))&&m&&(v=p,S=v),!h&&(!(St(v)||bo(v)||is(v))||!St(_)))return i?$u:l;let k=!1;const N=()=>{k=!0},D=is(v)?v:B0(t,l,_,v,S,N);if(k)return v;const T=bO(t,_,g,c),R=pO(T),j=gO(t,D,R),F=s?s(j,l):j;if(__INTLIFY_PROD_DEVTOOLS__){const U={timestamp:Date.now(),key:St(l)?l:is(v)?v.key:"",locale:_||(is(v)?v.locale:""),format:St(v)?v:is(v)?v.source:"",message:F};U.meta=Ze({},t.__meta,nO()||{}),LA(U)}return F}function mO(t){ze(t.list)?t.list=t.list.map(e=>St(e)?hg(e):e):pe(t.named)&&Object.keys(t.named).forEach(e=>{St(t.named[e])&&(t.named[e]=hg(t.named[e]))})}function j0(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]),!(St(h)||bo(h)||is(h)));m++)if(!oO(f,u)){const b=cp(t,e,f,r,p);b!==e&&(h=b)}return[h,f,d]}function B0(t,e,n,s,i,r){const{messageCompiler:o,warnHtmlMessage:a}=t;if(is(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,yO(t,n,i,s,a,r));return l.locale=n,l.key=e,l.source=s,l}function gO(t,e,n){return e(n)}function Zf(...t){const[e,n,s]=t,i=Ee();if(!St(e)&&!qe(e)&&!is(e)&&!bo(e))throw ni(ei.INVALID_ARGUMENT);const r=qe(e)?String(e):(is(e),e);return qe(n)?i.plural=n:St(n)?i.default=n:Zt(n)&&!Mu(n)?i.named=n:ze(n)&&(i.list=n),qe(s)?i.plural=s:St(s)?i.default=s:Zt(s)&&Ze(i,s),[r,i]}function yO(t,e,n,s,i,r){return{locale:e,key:n,warnHtmlMessage:i,onError:o=>{throw r&&r(o),o},onCacheKey:o=>$C(e,n,o)}}function bO(t,e,n,s){const{modifiers:i,pluralRules:r,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=t,f={locale:e,modifiers:i,pluralRules:r,messages:(h,p)=>{let m=o(n,h);if(m==null&&(u||p)){const[,,b]=j0(u||t,h,e,a,l,c);m=o(b,h)}if(St(m)||bo(m)){let b=!1;const _=B0(t,h,e,m,h,()=>{b=!0});return b?Ig:_}else return is(m)?m:Ig}};return t.processor&&(f.processor=t.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),qe(s.plural)&&(f.pluralIndex=s.plural),f}mA();/*!
|
||
* vue-i18n v11.1.2
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const vO="11.1.2";function _O(){typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Fc().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Fc().__INTLIFY_PROD_DEVTOOLS__=!1)}const Hn={UNEXPECTED_RETURN_TYPE:FA,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 Qn(t,...e){return Lu(t,null,void 0)}const Jf=Ji("__translateVNode"),Qf=Ji("__datetimeParts"),th=Ji("__numberParts"),W0=Ji("__setPluralRules"),G0=Ji("__injectWithOption"),eh=Ji("__dispose");function Fa(t){if(!pe(t))return t;for(const e in t)if(Ss(t,e))if(!e.includes("."))pe(t[e])&&Fa(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]]}r||(i[n[s]]=t[e],delete t[e]),pe(i[n[s]])&&Fa(i[n[s]])}return t}function up(t,e){const{messages:n,__i18n:s,messageResolver:i,flatJson:r}=e,o=Zt(n)?n:ze(s)?Ee():{[t]:Ee()};if(ze(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Ee(),sc(c,o[l])):sc(c,o)}else St(a)&&sc(JSON.parse(a),o)}),i==null&&r)for(const a in o)Ss(o,a)&&Fa(o[a]);return o}function q0(t){return t.type}function z0(t,e,n){let s=pe(e.messages)?e.messages:Ee();"__i18nGlobal"in n&&(s=up(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 Pg(t){return E(ii,null,t,0)}const Dg="__INTLIFY_META__",Rg=()=>[],SO=()=>!1;let Mg=0;function Lg(t){return(e,n,s,i)=>t(n,s,on()||void 0,i)}const EO=()=>{const t=on();let e=null;return t&&(e=q0(t)[Dg])?{[Dg]:e}:null};function dp(t={}){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson,r=$c?as:bu;let o=ue(t.inheritLocale)?t.inheritLocale:!0;const a=r(e&&o?e.locale.value:St(t.locale)?t.locale:$a),l=r(e&&o?e.fallbackLocale.value:St(t.fallbackLocale)||ze(t.fallbackLocale)||Zt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=r(up(a.value,t)),u=r(Zt(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),d=r(Zt(t.numberFormats)?t.numberFormats:{[a.value]:{}});let f=e?e.missingWarn:ue(t.missingWarn)||go(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:ue(t.fallbackWarn)||go(t.fallbackWarn)?t.fallbackWarn:!0,p=e?e.fallbackRoot:ue(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,b=Ce(t.missing)?t.missing:null,y=Ce(t.missing)?Lg(t.missing):null,_=Ce(t.postTranslation)?t.postTranslation:null,g=e?e.warnHtmlMessage:ue(t.warnHtmlMessage)?t.warnHtmlMessage:!0,v=!!t.escapeParameter;const S=e?e.modifiers:Zt(t.modifiers)?t.modifiers:{};let k=t.pluralRules||e&&e.pluralRules,N;N=(()=>{s&&wg(null);const L={version:vO,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:k,missing:y===null?void 0:y,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:v,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=u.value,L.numberFormats=d.value,L.__datetimeFormatters=Zt(N)?N.__datetimeFormatters:void 0,L.__numberFormatters=Zt(N)?N.__numberFormatters:void 0;const q=iO(L);return s&&wg(q),q})(),Go(N,a.value,l.value);function T(){return[a.value,l.value,c.value,u.value,d.value]}const R=Qe({get:()=>a.value,set:L=>{N.locale=L,a.value=L}}),j=Qe({get:()=>l.value,set:L=>{N.fallbackLocale=L,l.value=L,Go(N,a.value,L)}}),F=Qe(()=>c.value),U=Qe(()=>u.value),Y=Qe(()=>d.value);function ot(){return Ce(_)?_:null}function G(L){_=L,N.postTranslation=L}function et(){return b}function at(L){L!==null&&(y=Lg(L)),b=L,N.missing=y}const Tt=(L,q,ht,Et,qt,H)=>{T();let B;try{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=e?sO():void 0),B=L(N)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(N.fallbackContext=void 0)}if(ht!=="translate exists"&&qe(B)&&B===$u||ht==="translate exists"&&!B){const[z,rt]=q();return e&&p?Et(e):qt(z)}else{if(H(B))return B;throw Qn(Hn.UNEXPECTED_RETURN_TYPE)}};function Kt(...L){return Tt(q=>Reflect.apply(Ng,null,[q,...L]),()=>Zf(...L),"translate",q=>Reflect.apply(q.t,q,[...L]),q=>q,q=>St(q))}function Ht(...L){const[q,ht,Et]=L;if(Et&&!pe(Et))throw Qn(Hn.INVALID_ARGUMENT);return Kt(q,ht,Ze({resolvedMessage:!0},Et||{}))}function Wt(...L){return Tt(q=>Reflect.apply(Tg,null,[q,...L]),()=>Xf(...L),"datetime format",q=>Reflect.apply(q.d,q,[...L]),()=>Sg,q=>St(q))}function ge(...L){return Tt(q=>Reflect.apply(Ag,null,[q,...L]),()=>Yf(...L),"number format",q=>Reflect.apply(q.n,q,[...L]),()=>Sg,q=>St(q))}function ve(L){return L.map(q=>St(q)||qe(q)||ue(q)?Pg(String(q)):q)}const Gt={normalize:ve,interpolate:L=>L,type:"vnode"};function X(...L){return Tt(q=>{let ht;const Et=q;try{Et.processor=Gt,ht=Reflect.apply(Ng,null,[Et,...L])}finally{Et.processor=null}return ht},()=>Zf(...L),"translate",q=>q[Jf](...L),q=>[Pg(q)],q=>ze(q))}function dt(...L){return Tt(q=>Reflect.apply(Ag,null,[q,...L]),()=>Yf(...L),"number format",q=>q[th](...L),Rg,q=>St(q)||ze(q))}function ct(...L){return Tt(q=>Reflect.apply(Tg,null,[q,...L]),()=>Xf(...L),"datetime format",q=>q[Qf](...L),Rg,q=>St(q)||ze(q))}function bt(L){k=L,N.pluralRules=k}function Ut(L,q){return Tt(()=>{if(!L)return!1;const ht=St(q)?q:a.value,Et=P(ht),qt=N.messageResolver(Et,L);return bo(qt)||is(qt)||St(qt)},()=>[L],"translate exists",ht=>Reflect.apply(ht.te,ht,[L,q]),SO,ht=>ue(ht))}function Xt(L){let q=null;const ht=R0(N,l.value,a.value);for(let Et=0;Et<ht.length;Et++){const qt=c.value[ht[Et]]||{},H=N.messageResolver(qt,L);if(H!=null){q=H;break}}return q}function O(L){const q=Xt(L);return q??(e?e.tm(L)||{}:{})}function P(L){return c.value[L]||{}}function W(L,q){if(i){const ht={[L]:q};for(const Et in ht)Ss(ht,Et)&&Fa(ht[Et]);q=ht[L]}c.value[L]=q,N.messages=c.value}function st(L,q){c.value[L]=c.value[L]||{};const ht={[L]:q};if(i)for(const Et in ht)Ss(ht,Et)&&Fa(ht[Et]);q=ht[L],sc(q,c.value[L]),N.messages=c.value}function Q(L){return u.value[L]||{}}function A(L,q){u.value[L]=q,N.datetimeFormats=u.value,Cg(N,L,q)}function I(L,q){u.value[L]=Ze(u.value[L]||{},q),N.datetimeFormats=u.value,Cg(N,L,q)}function V(L){return d.value[L]||{}}function K(L,q){d.value[L]=q,N.numberFormats=d.value,Og(N,L,q)}function nt(L,q){d.value[L]=Ze(d.value[L]||{},q),N.numberFormats=d.value,Og(N,L,q)}Mg++,e&&$c&&(Xn(e.locale,L=>{o&&(a.value=L,N.locale=L,Go(N,a.value,l.value))}),Xn(e.fallbackLocale,L=>{o&&(l.value=L,N.fallbackLocale=L,Go(N,a.value,l.value))}));const lt={id:Mg,locale:R,fallbackLocale:j,get inheritLocale(){return o},set inheritLocale(L){o=L,L&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,Go(N,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:F,get modifiers(){return S},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return f},set missingWarn(L){f=L,N.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn(L){h=L,N.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot(L){p=L},get fallbackFormat(){return m},set fallbackFormat(L){m=L,N.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage(L){g=L,N.warnHtmlMessage=L},get escapeParameter(){return v},set escapeParameter(L){v=L,N.escapeParameter=L},t:Kt,getLocaleMessage:P,setLocaleMessage:W,mergeLocaleMessage:st,getPostTranslationHandler:ot,setPostTranslationHandler:G,getMissingHandler:et,setMissingHandler:at,[W0]:bt};return lt.datetimeFormats=U,lt.numberFormats=Y,lt.rt=Ht,lt.te=Ut,lt.tm=O,lt.d=Wt,lt.n=ge,lt.getDateTimeFormat=Q,lt.setDateTimeFormat=A,lt.mergeDateTimeFormat=I,lt.getNumberFormat=V,lt.setNumberFormat=K,lt.mergeNumberFormat=nt,lt[G0]=n,lt[Jf]=X,lt[Qf]=ct,lt[th]=dt,lt}function wO(t){const e=St(t.locale)?t.locale:$a,n=St(t.fallbackLocale)||ze(t.fallbackLocale)||Zt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,s=Ce(t.missing)?t.missing:void 0,i=ue(t.silentTranslationWarn)||go(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,r=ue(t.silentFallbackWarn)||go(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,o=ue(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,l=Zt(t.modifiers)?t.modifiers:{},c=t.pluralizationRules,u=Ce(t.postTranslation)?t.postTranslation:void 0,d=St(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,f=!!t.escapeParameterHtml,h=ue(t.sync)?t.sync:!0;let p=t.messages;if(Zt(t.sharedMessages)){const S=t.sharedMessages;p=Object.keys(S).reduce((N,D)=>{const T=N[D]||(N[D]={});return Ze(T,S[D]),N},p||{})}const{__i18n:m,__root:b,__injectWithOption:y}=t,_=t.datetimeFormats,g=t.numberFormats,v=t.flatJson;return{locale:e,fallbackLocale:n,messages:p,flatJson:v,datetimeFormats:_,numberFormats:g,missing:s,missingWarn:i,fallbackWarn:r,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:t.messageResolver,inheritLocale:h,__i18n:m,__root:b,__injectWithOption:y}}function nh(t={}){const e=dp(wO(t)),{__extender:n}=t,s={id:e.id,get locale(){return e.locale.value},set locale(i){e.locale.value=i},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(i){e.fallbackLocale.value=i},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get missing(){return e.getMissingHandler()},set missing(i){e.setMissingHandler(i)},get silentTranslationWarn(){return ue(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(i){e.missingWarn=ue(i)?!i:i},get silentFallbackWarn(){return ue(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(i){e.fallbackWarn=ue(i)?!i:i},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(i){e.fallbackFormat=i},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(i){e.setPostTranslationHandler(i)},get sync(){return e.inheritLocale},set sync(i){e.inheritLocale=i},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){e.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(i){e.escapeParameter=i},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...i){return Reflect.apply(e.t,e,[...i])},rt(...i){return Reflect.apply(e.rt,e,[...i])},te(i,r){return e.te(i,r)},tm(i){return e.tm(i)},getLocaleMessage(i){return e.getLocaleMessage(i)},setLocaleMessage(i,r){e.setLocaleMessage(i,r)},mergeLocaleMessage(i,r){e.mergeLocaleMessage(i,r)},d(...i){return Reflect.apply(e.d,e,[...i])},getDateTimeFormat(i){return e.getDateTimeFormat(i)},setDateTimeFormat(i,r){e.setDateTimeFormat(i,r)},mergeDateTimeFormat(i,r){e.mergeDateTimeFormat(i,r)},n(...i){return Reflect.apply(e.n,e,[...i])},getNumberFormat(i){return e.getNumberFormat(i)},setNumberFormat(i,r){e.setNumberFormat(i,r)},mergeNumberFormat(i,r){e.mergeNumberFormat(i,r)}};return s.__extender=n,s}function kO(t,e,n){return{beforeCreate(){const s=on();if(!s)throw Qn(Hn.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=e,this===this.$root)this.$i18n=$g(t,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=nh(r);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=$g(t,i);else{this.$i18n=nh({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=t;i.__i18nGlobal&&z0(e,i,i),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$te=(r,o)=>this.$i18n.te(r,o),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(s,this.$i18n)},mounted(){},unmounted(){const s=on();if(!s)throw Qn(Hn.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(s),delete this.$i18n}}}function $g(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[W0](e.pluralizationRules||t.pluralizationRules);const n=up(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(s=>t.mergeLocaleMessage(s,n[s])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(s=>t.mergeDateTimeFormat(s,e.datetimeFormats[s])),e.numberFormats&&Object.keys(e.numberFormats).forEach(s=>t.mergeNumberFormat(s,e.numberFormats[s])),t}const fp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function TO({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((s,i)=>[...s,...i.type===pt?i.children:[i]],[]):e.reduce((n,s)=>{const i=t[s];return i&&(n[s]=i()),n},Ee())}function K0(){return pt}const CO=hi({name:"i18n-t",props:Ze({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>qe(t)||!isNaN(t)}},fp),setup(t,e){const{slots:n,attrs:s}=e,i=t.i18n||hp({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(d=>d!=="_"),o=Ee();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=St(t.plural)?+t.plural:t.plural);const a=TO(e,r),l=i[Jf](t.keypath,a,o),c=Ze(Ee(),s),u=St(t.tag)||pe(t.tag)?t.tag:K0();return $s(u,c,l)}}}),Fg=CO;function AO(t){return ze(t)&&!St(t[0])}function X0(t,e,n,s){const{slots:i,attrs:r}=e;return()=>{const o={part:!0};let a=Ee();t.locale&&(o.locale=t.locale),St(t.format)?o.key=t.format:pe(t.format)&&(St(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((f,h)=>n.includes(h)?Ze(Ee(),f,{[h]:t.format[h]}):f,Ee()));const l=s(t.value,o,a);let c=[o.key];ze(l)?c=l.map((f,h)=>{const p=i[f.type],m=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return AO(m)&&(m[0].key=`${f.type}-${h}`),m}):St(l)&&(c=[l]);const u=Ze(Ee(),r),d=St(t.tag)||pe(t.tag)?t.tag:K0();return $s(d,u,c)}}const OO=hi({name:"i18n-n",props:Ze({value:{type:Number,required:!0},format:{type:[String,Object]}},fp),setup(t,e){const n=t.i18n||hp({useScope:t.scope,__useComponent:!0});return X0(t,e,U0,(...s)=>n[th](...s))}}),Vg=OO;function xO(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 IO(t){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Qn(Hn.UNEXPECTED_ERROR);const c=xO(t,a.$),u=Hg(l);return[Reflect.apply(c.t,c,[...Ug(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);$c&&t.global===c&&(o.__i18nWatcher=Xn(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{$c&&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=Hg(a);o.textContent=Reflect.apply(l.t,l,[...Ug(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function Hg(t){if(St(t))return{path:t};if(Zt(t)){if(!("path"in t))throw Qn(Hn.REQUIRED_VALUE,"path");return t}else throw Qn(Hn.INVALID_VALUE)}function Ug(t){const{path:e,locale:n,args:s,choice:i,plural:r}=t,o={},a=s||{};return St(n)&&(o.locale=n),qe(i)&&(o.plural=i),qe(r)&&(o.plural=r),[e,a,o]}function NO(t,e,...n){const s=Zt(n[0])?n[0]:{};(ue(s.globalInstall)?s.globalInstall:!0)&&([Fg.name,"I18nT"].forEach(r=>t.component(r,Fg)),[Vg.name,"I18nN"].forEach(r=>t.component(r,Vg)),[Bg.name,"I18nD"].forEach(r=>t.component(r,Bg))),t.directive("t",IO(e))}const PO=Ji("global-vue-i18n");function DO(t={}){const e=__VUE_I18N_LEGACY_API__&&ue(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,n=ue(t.globalInjection)?t.globalInjection:!0,s=new Map,[i,r]=RO(t,e),o=Ji("");function a(d){return s.get(d)||null}function l(d,f){s.set(d,f)}function c(d){s.delete(d)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},async install(d,...f){if(d.__VUE_I18N_SYMBOL__=o,d.provide(d.__VUE_I18N_SYMBOL__,u),Zt(f[0])){const m=f[0];u.__composerExtend=m.__composerExtend,u.__vueI18nExtend=m.__vueI18nExtend}let h=null;!e&&n&&(h=jO(d,u.global)),NO(d,u,...f),__VUE_I18N_LEGACY_API__&&e&&d.mixin(kO(r,r.__composer,u));const p=d.unmount;d.unmount=()=>{h&&h(),u.dispose(),p()}},get global(){return r},dispose(){i.stop()},__instances:s,__getInstance:a,__setInstance:l,__deleteInstance:c};return u}function hp(t={}){const e=on();if(e==null)throw Qn(Hn.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Qn(Hn.NOT_INSTALLED);const n=MO(e),s=$O(n),i=q0(e),r=LO(t,i);if(r==="global")return z0(s,t,i),s;if(r==="parent"){let l=FO(n,e,t.__useComponent);return l==null&&(l=s),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=Ze({},t);"__i18n"in i&&(l.__i18n=i.__i18n),s&&(l.__root=s),a=dp(l),o.__composerExtend&&(a[eh]=o.__composerExtend(a)),HO(o,e,a),o.__setInstance(e,a)}return a}function RO(t,e){const n=du(),s=__VUE_I18N_LEGACY_API__&&e?n.run(()=>nh(t)):n.run(()=>dp(t));if(s==null)throw Qn(Hn.UNEXPECTED_ERROR);return[n,s]}function MO(t){const e=ls(t.isCE?PO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Qn(t.isCE?Hn.NOT_INSTALLED_WITH_PROVIDE:Hn.UNEXPECTED_ERROR);return e}function LO(t,e){return Mu(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function $O(t){return t.mode==="composition"?t.global:t.global.__composer}function FO(t,e,n=!1){let s=null;const i=e.root;let r=VO(e,n);for(;r!=null;){const o=t;if(t.mode==="composition")s=o.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(r);a!=null&&(s=a.__composer,n&&s&&!s[G0]&&(s=null))}if(s!=null||i===r)break;r=r.parent}return s}function VO(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function HO(t,e,n){No(()=>{},e),Qa(()=>{const s=n;t.__deleteInstance(e);const i=s[eh];i&&(i(),delete s[eh])},e)}const UO=["locale","fallbackLocale","availableLocales"],jg=["t","rt","d","n","tm","te"];function jO(t,e){const n=Object.create(null);return UO.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r)throw Qn(Hn.UNEXPECTED_ERROR);const o=Ne(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,jg.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r||!r.value)throw Qn(Hn.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,r)}),()=>{delete t.config.globalProperties.$i18n,jg.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}const BO=hi({name:"i18n-d",props:Ze({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fp),setup(t,e){const n=t.i18n||hp({useScope:t.scope,__useComponent:!0});return X0(t,e,H0,(...s)=>n[Qf](...s))}}),Bg=BO;_O();JA(DA);QA(XA);tO(R0);if(__INTLIFY_PROD_DEVTOOLS__){const t=Fc();t.__INTLIFY__=!0,RA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Vd=t=>t&&typeof t=="object"&&!Array.isArray(t),sh=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Vd(t)&&Vd(n))for(const s in n)Vd(n[s])?(t[s]||Object.assign(t,{[s]:{}}),sh(t[s],n[s])):Object.assign(t,{[s]:n[s]});return sh(t,...e)},WO=sh({},{de:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Als nächstes hinzufügen"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Abbrechen"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Alle entfernen"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Bearbeiten"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Einloggen"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Ausloggen"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Vorherige verbergen"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Alle abgespielten markieren"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als neu"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als gespielt"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Remote paaren"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Spielen"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Entfernen"}},"remove-podcast":{t:0,b:{t:2,i:[{t:3}],s:"Entferne podcast"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Speichern"}},send:{t:0,b:{t:2,i:[{t:3}],s:"Senden"}},"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"}}},count:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Alben"}]}]}},artists:{t:0,b:{t:2,i:[{t:4,k:"count"},{t:3,v:" Künstler"}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autoren"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genres"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Stationen"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks"}]}]}}},data:{kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Datei"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast hinzufügen"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Lade…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlistname"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Speichere…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange als Playlist speichern"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote-Paarungs-Anfrage"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Alles neu einlesen"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Nur RSS-Feeds neu einlesen"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Suche nach neuen, gelöschten und veränderten Dateien"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Nur lokale Bibliothek neu einlesen"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek wird neu eingelesen…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Metadata von unveränderten Dateien neu einlesen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Nur Spotify neu einlesen"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Deutsch"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Englisch (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Französisch (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Vereinfachtes Chinesisch (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditionelles Chinesisch (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Diesen Podcast dauerhaft aus der Bibliothek löschen?"},{t:4,k:"separator"},{t:3,v:"(Damit wird auch die RSS-Playliste "},{t:4,k:"name"},{t:3,v:" gelöscht)"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track kann nicht gespielt werden"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", Beschränkungsgrund: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Hörbuch"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"Über"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Lautstärke"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Einstellungen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Singles und alles, was mit ihnen verbunden ist, aus."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Spotify-Inhalt"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Inhalte aus, die von Spotify stammen."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtern"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Name"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Erscheinungsdatum"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Namen"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich erschienen"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sortieren"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Oberfläche erstellt mit "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" und "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiliert mit Unterstützung von "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},more:{t:0,b:{t:2,i:[{t:3}],s:"mehr"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich gespielt"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"Tracks durch Auswählen aus der Bibliothek anfügen"}},live:{t:0,b:{t:2,i:[{t:3}],s:"Live"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Deine Playliste ist leer."}}},playlists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}}},podcast:{"remove-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)"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Neue Episoden"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"Ausdrücken"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach "},{t:4,k:"help"},{t:3,v:" suchen wenn Du dem Ausdruck ein "},{t:4,k:"query"},{t:3,v:" voranstellst."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Keine Ergebnisse gefunden"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Album"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Alben"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Künstler"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Künstler"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Buch"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Komponist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige die Playlist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Podcast"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Track"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Tracks"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"Zeige Cover-Artwork in der Albumliste"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"Bereitgestellte Artwork von Radiostationen ignorieren"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Keine aktive Pairing-Anfrage"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote-Pairing-Anfrage von "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Pairing Remote"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Lautsprecher-Pairing und Geräteverifikation"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verifikationscode"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Sprache"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Wähle hier die Einträge des oberen Navigationsmenüs "}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigationsmenüs"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"Aktuell läuft-Seite"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"Beschränkte die Zahl der Alben"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt-Seite"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Komma getrennte Liste der Genres, für die der Komponist angezeigt werden soll."},{t:5,i:0},{t:3,v:"Leer lassen, um den Komponisten immer anzuzeigen."},{t:5,i:0},{t:3,v:'Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"Zeige den Komponisten für die aufgelisteten Genres an"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiviert, wird der Komponist angezeigt."}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"Komponisten anzeigen"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"Dateipfad anzeigen"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde ohne Unterstützung für Last.fm erstellt."}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorisiere API-Zugriff"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Zugriff auf die Spotify API gestatten."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Bitte den Zugriff der API durch setzen folgender Zugriffsrechte für OwnTone: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Spotify Premium Abo erforderlich. Zugriff auf die Spotify API ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Zugriff gestattet für "},{t:4,k:"user"},{t:3,v:"."}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Passwort"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Benutzername"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},general:{t:0,b:{t:2,i:[{t:3}],s:"Allgemein"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online-Services"}},"remotes-and-outputs":{t:0,b:{t:2,i:[{t:3}],s:"Fernbedienungen und Ausgänge"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Ausgezeichnete Playlisten"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Neuvorstellung"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Einfache"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf löschen"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe anhalten"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergeben"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Alle Tracks wiederholen"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Tracks einmal lesen"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Aktuellen Track wiederholen"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Rückwärts im Track suchen"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Vorwärts im Track suchen"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Tracks zufällig wiedergeben"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Tracks in Reihenfolge wiedergeben"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Zum vorherigen Track springen"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Zum nächsten Track springen"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe stoppen"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Liedtexte anzeigen/verbergen"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Hinzugefügt am"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album-Künstler"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Kommentar"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Komponist"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Dauer"}},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"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Spielzeit"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularität / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualität"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Art"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Neu eingelesen"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Laufzeit"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Jahr"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Fehler bei Verbindung zum OwnTone-Server"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Anfrage gescheitert (Status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Warteschlange zu Playlist "},{t:4,k:"name"},{t:3,v:" gesichert"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track an die Abspielliste angehängt"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks an die Abspielliste angehängt"}]}]}},"empty-queue":{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange ist leer"}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"Heute"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Letzte Woche"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Letzer Monat"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Unbestimmt"}}}}},{en:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Add"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Add Next"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Clear"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Edit"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Logout"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Hide previous"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark All Played"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Mark as new"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark as played"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Pair Remote"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Remove"}},"remove-podcast":{t:0,b:{t:2,i:[{t:3}],s:"Remove podcast"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Rescan"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},send:{t:0,b:{t:2,i:[{t:3}],s:"Send"}},"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"}}},count:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artists"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" authors"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" channel"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" channels"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composers"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlists"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks"}]}]}}},data:{kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"File"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Loading…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlist name"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Saving…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Save queue to playlist"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"count.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"count.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Update everything"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Only update RSS feeds"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Scan for new, deleted and modified files"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Only update local library"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Library update in progress…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Rescan metadata of unmodified files"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Only update Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Update library"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"German (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"French (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Simplified Chinese (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditional Chinese (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track is not playable"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", restriction reason: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiobook"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"About"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream error: failed to load stream or stopped loading due to network problem"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Files"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Settings"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Update Library"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Hide singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides singles and anything associated with them."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Hide Spotify content"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides content from Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filter"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Name"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Release date"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Recently released"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release date"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sort"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Web interface built with "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" and "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiled with support for "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},more:{t:0,b:{t:2,i:[{t:3}],s:"more"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Files"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"History"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"Add some tracks by browsing your library"}},live:{t:0,b:{t:2,i:[{t:3}],s:"Live"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Your play queue is empty"}}},playlists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}}},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:")"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"New Episodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Queue"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: you can search by a smart playlist query language "},{t:4,k:"help"},{t:3,v:" if you prefix it with "},{t:4,k:"query"},{t:3,v:"."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"No results found"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the album"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the artist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" artists"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the audiobook"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the composer"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" composers"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the playlist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" playlists"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the podcast"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the track"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" tracks"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"In addition to that, you can enable fetching artwork from the following artwork providers:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"Show cover artwork in album list"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"Ignore artwork provided by radio stations"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"No active pairing request."}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request from "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Remote Pairing"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"If your speaker requires pairing then activate it below and enter the PIN that it displays."}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Speaker pairing and device verification"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verification code"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Files"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"If you select more items than can be shown on your screen then the burger menu will disappear."}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Select the top navigation bar menu items"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigation Bar"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"Now playing page"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"Limit the number of albums displayed"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Recently added page"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Comma-separated list of genres, for which the composer must be displayed."},{t:5,i:0},{t:3,v:"Leave empty to always show the composer."},{t:5,i:0},{t:3,v:'The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"Show composer only for listed genres"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"If enabled, the composer of the current playing track is displayed"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"Show composer"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"Show filepath"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Login with your Last.fm username and password to enable scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was built without support for Last.fm."}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorize API access"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Grant access to the Spotify API."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was either built without support for Spotify or libspotify is not installed."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Please reauthorize API access to grant OwnTone the following additional access rights: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"You must have a Spotify premium account. Access to the Spotify API enables scanning of your Spotify library. Required scopes are: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Access granted for "},{t:4,k:"user"}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},general:{t:0,b:{t:2,i:[{t:3}],s:"General"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online Services"}},"remotes-and-outputs":{t:0,b:{t:2,i:[{t:3}],s:"Remotes and Outputs"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Featured Playlists"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"New Releases"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Folder"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Plain"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Smart"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Clear history"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Repeat all tracks"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Read tracks once"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Repeat current track"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Seek backward in the track"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Seek forward in the track"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Play tracks randomly"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Play tracks in order"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to previous track"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to next track"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Stop"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Toggle lyrics"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Added On"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album Artist"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artist"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Comment"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Composer"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Duration"}},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"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Playtime"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularity / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Quality"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release Date"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Uptime"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Year"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Failed to connect to OwnTone server"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Request failed (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Queue saved to playlist "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track appended to the queue"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks appended to the queue"}]}]}},"empty-queue":{t:0,b:{t:2,i:[{t:3}],s:"Queue is empty"}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"Today"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Last week"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Last month"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Undefined"}}}}},{fr:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter ensuite"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Annuler"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Effacer"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Éditer"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Se connecter"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Se déconnecter"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Masquer l’historique"}},"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"}},"remove-podcast":{t:0,b:{t:2,i:[{t:3}],s:"Supprimer le podcast"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Analyser"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer"}},send:{t:0,b:{t:2,i:[{t:3}],s:"Envoyer"}},"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"}}},count:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artistes"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteurs"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes"}]}]}}},data:{kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Fichier"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Flux"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"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"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Tout actualiser"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement les flux RSS"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Recherche les fichiers ajoutés, supprimés et modifiés"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement la bibliothèque locale"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Actualisation de la bibliothèque en cours…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Analyser les métadonnées des fichiers non modifiés"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Allemand (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Anglais (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Français"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Chinois simplifié (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Chinois traditionnel (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer définitivement ce podcast de votre bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"La piste ne peut pas être lue"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", raison de la restriction : "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Livre audio"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"À propos"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison d’un problème réseau"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"Flux HTTP"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Réglages"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Masquer les singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque les singles et tout ce qui leur est associé."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Masquer le contenu de Spotify"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque le contenu qui provient de Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtrer"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Nom"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Date de sortie"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Sorties récentes"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Trier"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Interface utilisateur construite avec "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" et "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compilé avec les options "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},more:{t:0,b:{t:2,i:[{t:3}],s:"plus"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Lectures récentes"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Historique"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"Ajoutez des pistes en parcourant votre bibliothèque"}},live:{t:0,b:{t:2,i:[{t:3}],s:"En direct"}},title:{t:0,b:{t:2,i:[{t:3}],s:"La file d’attente est vide"}}},playlists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Listes 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:")"}]}}},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"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs d’illustrations suivants :"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"Afficher les illustrations dans la liste d’albums"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"Ignorer les illustrations fournies par les stations de radio"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Aucune demande de jumelage active."}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Jumelage de télécommande"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN qu’elle affiche."}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Jumelage d’enceinte et vérification d’appareil"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de vérification"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Langue"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Si vous sélectionnez plus d’éléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Sélectionnez les éléments de la barre de navigation supérieure"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Barre de navigation"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « En cours de lecture »"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"Limiter le nombre d’albums affichés"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « Ajouts récents »"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Liste de genres séparés par des virgules pour lesquels le compositeur doit être affiché."},{t:5,i:0},{t:3,v:"Laissez vide pour toujours afficher le compositeur."},{t:5,i:0},{t:3,v:'L’étiquette de genre de la piste actuelle est comparée en vérifiant si 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-genres":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur uniquement pour les genres listés"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, le compositeur de la piste en cours de lecture est affiché"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le chemin du fichier"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Connectez-vous avec votre nom 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."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Last.fm n’est pas présente."}}},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:"."}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Mot de passe"}},username:{t:0,b:{t:2,i:[{t:3}],s:"Nom d’utilisateur"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},general:{t:0,b:{t:2,i:[{t:3}],s:"Général"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Services en ligne"}},"remotes-and-outputs":{t:0,b:{t:2,i:[{t:3}],s:"Télécommandes et sorties"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture en vedette"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Nouvelle sorties"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Dossier"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Simple"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Effacer 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"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Ajouté le"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Artiste de l’album"}},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"}},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"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de lecture"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularité / Abonnements"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disque / Piste"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualité"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Mise à jour"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de fonctionnement"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Année"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Échec de connexion au serveur"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"La requête a échoué (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"La file d’attente enregistrée dans la liste de lecture "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste ajoutée à la file d’attente"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes ajoutées à la file d’attente"}]}]}},"empty-queue":{t:0,b:{t:2,i:[{t:3}],s:"La file d’attente est vide"}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"Aujourd’hui"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"La semaine dernière"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Le mois dernier"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Indéfini"}}}}},{"zh-CN":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"添加"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"添加流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"编辑"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隐藏历史"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部标记为已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"标记为最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"标记为已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},"remove-podcast":{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:"保存"}},send:{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:"验证"}}},count:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}}},data:{kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},url:{t:0,b:{t:2,i:[{t:3}],s:"链接"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"流"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"添加一个可生成播放列表的播客RSS链接,这将允许OwnTone管理订阅"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加播客"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"加载中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名称"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"保存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"保存播放清单到列表"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对码"}},title:{t:0,b:{t:2,i:[{t:3}],s:"请求遥控配对"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有内容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"仅更新RSS订阅内容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"扫描新的、删除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"仅更新本地资料库"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地资料库…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新扫描未修改文件的元数据"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"仅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德语 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英语 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法语 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"简体中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客吗?"},{t:4,k:"separator"},{t:3,v:"(这也将移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目无法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP流错误:流载入失败或者由于网络原因无法载入"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP流"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"设置"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隐藏单曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏单曲和与其关联的任何内容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隐藏来自Spotify的内容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏 Spotify 中的内容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 名称"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 发行日期"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近发行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分类"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面贡献者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"编译支持来自于 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},history:{t:0,b:{t:2,i:[{t:3}],s:"历史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"浏览资料库添加曲目"}},live:{t:0,b:{t:2,i:[{t:3}],s:"直播"}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清单是空的"}}},playlists:{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:")"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新单集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清单"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表达式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前缀,则可以通过智能播放列表查询语言 "},{t:4,k:"help"},{t:3,v:" 进行搜索"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到结果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示专辑"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个专辑"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示艺人"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示有声书"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 本有声书"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示作曲家"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播放列表"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播客"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示曲目"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中,也可以通过广播电台在线提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您还可以从以下素材提供者获取封面:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"在专辑列表中显示封面艺术作品"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"忽略广播电台提供的作品"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"没有活跃的配对请求"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对代码"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"远程配对请求来自于 "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"扬声器配对和设备验证"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"验证码"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},language:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"选择顶部导航栏菜单项"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"导航条"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”页面"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"限制显示的相册数量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近添加”页面"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗号分隔的流派列表,必须显示作曲家所属的流派"},{t:5,i:0},{t:3,v:"留空以始终显示作曲家"},{t:5,i:0},{t:3,v:"通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"仅显示列出的流派的作曲家"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"如果启用,则会显示当前播放曲目的作曲家"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"显示作曲家"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"显示文件路径"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用户名和密码登录以启用记录功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自Last.fm的官方支持"}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授权 API 访问"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予对 Spotify API 的访问权限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"请重新授权 API 访问权限,以授予 OwnTone 以下附加访问权限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必须拥有 Spotify付费帐户。访问 Spotify API 可以扫描您的 Spotify库。所需范围是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予访问权限 "},{t:4,k:"user"}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密码"}},username:{t:0,b:{t:2,i:[{t:3}],s:"用户名"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},general:{t:0,b:{t:2,i:[{t:3}],s:"概览"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在线服务"}},"remotes-and-outputs":{t:0,b:{t:2,i:[{t:3}],s:"遥控和输出"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新发行"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"简单"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除历史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暂停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重复播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目仅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重复当前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目后退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目前进"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按顺序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏歌词"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"添加时间"}},album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"评论"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"时长"}},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:"路径"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"总播放时长"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉丝数"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盘符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"质量"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"只曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"类型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"运行时长"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"无法连接到 OwnTone 服务器"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"请求失败 (状态:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清单以添加到播放列表 "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},"empty-queue":{t:0,b:{t:2,i:[{t:3}],s:"清单是空的"}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定义"}}}}},{"zh-TW":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"新增"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"編輯"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隱藏歷史"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部標記為已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"標記為最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"標記為已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},"remove-podcast":{t:0,b:{t:2,i:[{t:3}],s:"移除Podcast"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新掃描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"儲存"}},send:{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:"驗證"}}},count:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]}]}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}}},data:{kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},url:{t:0,b:{t:2,i:[{t:3}],s:"鏈接"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"串流"}}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"新增一個可生成播放列表的Podcast RSS鏈接,這將允許OwnTone管理訂閱"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增Podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"載入中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名稱"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"儲存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"儲存播放清單到列表"}}}},"queue-item":{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對碼"}},title:{t:0,b:{t:2,i:[{t:3}],s:"請求遙控配對"}}},track:{"quality-value":{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"channels"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},"rating-value":{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有內容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"僅更新RSS訂閱內容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"掃描新的、刪除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"僅更新本地資料庫"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地資料庫…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新掃描未修改文件的中繼資料"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"僅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德語 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英語 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法語 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"簡體中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast嗎?"},{t:4,k:"separator"},{t:3,v:"(這也將移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目無法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"關於"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},"now-playing":{t:0,b:{t:2,i:[{t:3,v:" - "},{t:4,k:"album"}]}},"stream-error":{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流錯誤:串流載入失敗或者由於網絡原因無法載入"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"電台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"設定"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隱藏單曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏單曲和與其關聯的任何內容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隱藏來自Spotify的內容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏 Spotify 中的內容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"篩選"}}},sort:{"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 名稱"}},"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 發行日期"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近發行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分類"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面貢獻者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"編譯支持來自於 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},history:{t:0,b:{t:2,i:[{t:3}],s:"歷史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},"now-playing":{info:{t:0,b:{t:2,i:[{t:3}],s:"瀏覽資料庫新增曲目"}},live:{t:0,b:{t:2,i:[{t:3}],s:"直播"}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清單是空的"}}},playlists:{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:")"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新單集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清單"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"電台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表達式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前綴,則可以通過智能播放列表查詢語言 "},{t:4,k:"help"},{t:3,v:" 進行搜尋"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到結果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示專輯"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個專輯"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示藝人"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示有聲書"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 本有聲書"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示作曲家"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示播放列表"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示Podcast"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示曲目"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},settings:{artwork:{title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},coverartarchive:{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},discogs:{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,這些封面可以作為單獨的圖像文件放置在庫中或嵌入到媒體文件中,也可以通過電台在線提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您還可以從以下素材提供者獲取封面:"}},"show-coverart":{t:0,b:{t:2,i:[{t:3}],s:"在專輯列表中顯示封面藝術作品"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},streaming:{t:0,b:{t:2,i:[{t:3}],s:"忽略電台提供的作品"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"沒有活躍的配對請求"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對代碼"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"遠程配對請求來自於 "}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"揚聲器配對和設備驗證"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"驗證碼"}}},general:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},language:{t:0,b:{t:2,i:[{t:3}],s:"語言"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您選擇的項目多於屏幕上可以顯示的項目,則側邊欄菜單將會消失"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"選擇頂部導航欄菜單項"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"導航條"}},"now-playing-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”頁面"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"電台"}},"recently-added-page-info":{t:0,b:{t:2,i:[{t:3}],s:"限制顯示的相簿數量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近新增”頁面"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗號分隔的音樂類型清單,將顯示作曲家的音樂類型"},{t:5,i:0},{t:3,v:"留空以始終顯示作曲家"},{t:5,i:0},{t:3,v:"通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"}]}},"show-composer-genres":{t:0,b:{t:2,i:[{t:3}],s:"僅顯示列出的音樂類型的作曲家"}},"show-composer-info":{t:0,b:{t:2,i:[{t:3}],s:"如果啟用,則會顯示目前播放曲目的作曲家"}},"show-composer":{t:0,b:{t:2,i:[{t:3}],s:"顯示作曲家"}},"show-path":{t:0,b:{t:2,i:[{t:3}],s:"顯示檔案路徑"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用戶名和密碼登入以啓用記錄功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不會存儲您的 Last.fm 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無Last.fm的官方支持"}}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授權 API 訪問"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予對 Spotify API 的訪問權限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無 Spotify 官方的支持,也未安裝 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"請重新授權 API 訪問權限,以授予 OwnTone 以下附加訪問權限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必須擁有 Spotify付費帳戶。訪問 Spotify API 可以掃描您的 Spotify庫。所需範圍是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予訪問權限 "},{t:4,k:"user"}]}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密碼"}},username:{t:0,b:{t:2,i:[{t:3}],s:"用戶名"}}},tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},general:{t:0,b:{t:2,i:[{t:3}],s:"概覽"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在線服務"}},"remotes-and-outputs":{t:0,b:{t:2,i:[{t:3}],s:"遙控和輸出"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新發行"}}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"簡單"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除歷史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暫停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重復播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目僅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重復當前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目後退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目前進"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按順序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"顯示/隱藏歌詞"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"新增時間"}},album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"張專輯"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"評論"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"時長"}},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:"路徑"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"總播放時長"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉絲數"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盤符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"品質"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"類型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新於"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"運行時長"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"無法連接到 OwnTone 伺服器"}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"請求失敗 (狀態:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清單以新增到播放列表 "},{t:4,k:"name"}]}},"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},"empty-queue":{t:0,b:{t:2,i:[{t:3}],s:"清單是空的"}}},"grouped-list":{today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定義"}}}}}),rl=DO({fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:WO,missingWarn:!1}),Gi=hs("ConfigurationStore",{state:()=>({allow_modifying_stored_playlists:!1,buildoptions:[],default_playlist_directory:"",library_name:"",version:"",websocket_port:0})}),ts=hs("PlayerStore",{getters:{isPlaying:t=>t.state==="play",isRepeatAll:t=>t.repeat==="all",isRepeatOff:t=>t.repeat==="off",isRepeatSingle:t=>t.repeat==="single",isStopped:t=>t.state==="stop"},state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0})}),ks=hs("QueueStore",{getters:{current(t){const e=ts();return t.items.find(n=>n.id===e.item_id)??{}},isEmpty(t){return t.items.length===0},isPauseAllowed(t){return t.current&&t.current.data_kind!=="pipe"},isSavingAllowed(t){const e=Gi();return e.allow_modifying_stored_playlists&&e.default_playlist_directory}},state:()=>({count:0,items:[],version:0})}),{t:Yr}=rl.global;ut.interceptors.response.use(t=>t,t=>(t.request.status&&t.request.responseURL&&Ls().add({text:Yr("server.request-failed",{cause:t.request.statusText,status:t.request.status,url:t.request.responseURL}),type:"danger"}),Promise.reject(t)));const tt={config(){return ut.get("./api/config")},lastfm(){return ut.get("./api/lastfm")},lastfm_login(t){return ut.post("./api/lastfm-login",t)},lastfm_logout(){return ut.get("./api/lastfm-logout")},library_add(t){return ut.post("./api/library/add",null,{params:{url:t}})},library_album(t){return ut.get(`./api/library/albums/${t}`)},library_album_track_update(t,e){return ut.put(`./api/library/albums/${t}/tracks`,null,{params:e})},library_album_tracks(t,e={limit:-1,offset:0}){return ut.get(`./api/library/albums/${t}/tracks`,{params:e})},library_albums(t){return ut.get("./api/library/albums",{params:{media_kind:t}})},library_artist(t){return ut.get(`./api/library/artists/${t}`)},library_artist_albums(t){return ut.get(`./api/library/artists/${t}/albums`)},library_artist_tracks(t){const e={expression:`songartistid is "${t}"`,type:"tracks"};return ut.get("./api/search",{params:e})},library_artists(t){return ut.get("./api/library/artists",{params:{media_kind:t}})},library_composer(t){return ut.get(`./api/library/composers/${encodeURIComponent(t)}`)},library_composer_albums(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"albums"};return ut.get("./api/search",{params:e})},library_composer_tracks(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"tracks"};return ut.get("./api/search",{params:e})},library_composers(t){return ut.get("./api/library/composers",{params:{media_kind:t}})},library_count(t){return ut.get(`./api/library/count?expression=${t}`)},library_files(t){return ut.get("./api/library/files",{params:{directory:t}})},library_genre(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"genres"};return ut.get("./api/search",{params:n})},library_genre_albums(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"albums"};return ut.get("./api/search",{params:n})},library_genre_tracks(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"tracks"};return ut.get("./api/search",{params:n})},library_genres(t){const e={expression:`media_kind is ${t}`,type:"genres"};return ut.get("./api/search",{params:e})},library_playlist(t){return ut.get(`./api/library/playlists/${t}`)},library_playlist_delete(t){return ut.delete(`./api/library/playlists/${t}`,null)},library_playlist_folder(t=0){return ut.get(`./api/library/playlists/${t}/playlists`)},library_playlist_tracks(t){return ut.get(`./api/library/playlists/${t}/tracks`)},library_podcast_episodes(t){const e={expression:`media_kind is podcast and songalbumid is "${t}" ORDER BY date_released DESC`,type:"tracks"};return ut.get("./api/search",{params:e})},library_podcasts_new_episodes(){const t={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return ut.get("./api/search",{params:t})},library_radio_streams(){const t={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return ut.get("./api/search",{params:t})},library_rescan(t){return ut.put("./api/rescan",null,{params:{scan_kind:t}})},library_stats(){return ut.get("./api/library")},library_track(t){return ut.get(`./api/library/tracks/${t}`)},library_track_playlists(t){return ut.get(`./api/library/tracks/${t}/playlists`)},library_track_update(t,e={}){return ut.put(`./api/library/tracks/${t}`,null,{params:e})},library_update(t){return ut.put("./api/update",null,{params:{scan_kind:t}})},output_toggle(t){return ut.put(`./api/outputs/${t}/toggle`)},output_update(t,e){return ut.put(`./api/outputs/${t}`,e)},outputs(){return ut.get("./api/outputs")},pairing(){return ut.get("./api/pairing")},pairing_kickoff(t){return ut.post("./api/pairing",t)},player_consume(t){return ut.put(`./api/player/consume?state=${t}`)},player_next(){return ut.put("./api/player/next")},player_output_volume(t,e){return ut.put(`./api/player/volume?volume=${e}&output_id=${t}`)},player_pause(){return ut.put("./api/player/pause")},player_play(t={}){return ut.put("./api/player/play",null,{params:t})},player_play_expression(t,e,n){const s={clear:"true",expression:t,playback:"start",playback_from_position:n,shuffle:e};return ut.post("./api/queue/items/add",null,{params:s})},player_play_uri(t,e,n){const s={clear:"true",playback:"start",playback_from_position:n,shuffle:e,uris:t};return ut.post("./api/queue/items/add",null,{params:s})},player_previous(){return ut.put("./api/player/previous")},player_repeat(t){return ut.put(`./api/player/repeat?state=${t}`)},player_seek(t){return ut.put(`./api/player/seek?seek_ms=${t}`)},player_seek_to_pos(t){return ut.put(`./api/player/seek?position_ms=${t}`)},player_shuffle(t){return ut.put(`./api/player/shuffle?state=${t}`)},player_status(){return ut.get("./api/player")},player_stop(){return ut.put("./api/player/stop")},player_volume(t){return ut.put(`./api/player/volume?volume=${t}`)},queue(){return ut.get("./api/queue")},async queue_add(t){const e=await ut.post(`./api/queue/items/add?uris=${t}`);return Ls().add({text:Yr("server.appended-tracks",{count:e.data.count}),timeout:2e3,type:"info"}),await Promise.resolve(e)},async queue_add_next(t){let e=0;const{current:n}=ks();n!=null&&n.id&&(e=n.position+1);const s=await ut.post(`./api/queue/items/add?uris=${t}&position=${e}`);return Ls().add({text:Yr("server.appended-tracks",{count:s.data.count}),timeout:2e3,type:"info"}),await Promise.resolve(s)},queue_clear(){return ut.put("./api/queue/clear")},async queue_expression_add(t){const e=await ut.post("./api/queue/items/add",null,{params:{expression:t}});return Ls().add({text:Yr("server.appended-tracks",{count:e.data.count}),timeout:2e3,type:"info"}),await Promise.resolve(e)},async queue_expression_add_next(t){const e={};e.expression=t,e.position=0;const{current:n}=ks();n!=null&&n.id&&(e.position=n.position+1);const s=await ut.post("./api/queue/items/add",null,{params:e});return Ls().add({text:Yr("server.appended-tracks",{count:s.data.count}),timeout:2e3,type:"info"}),await Promise.resolve(s)},queue_move(t,e){return ut.put(`./api/queue/items/${t}?new_position=${e}`)},queue_remove(t){return ut.delete(`./api/queue/items/${t}`)},async queue_save_playlist(t){const e=await ut.post("./api/queue/save",null,{params:{name:t}});return Ls().add({text:Yr("server.queue-saved",{name:t}),timeout:2e3,type:"info"}),await Promise.resolve(e)},search(t){return ut.get("./api/search",{params:t})},settings(){return ut.get("./api/settings")},settings_update(t,e){return ut.put(`./api/settings/${t}/${e.name}`,e)},spotify(){return ut.get("./api/spotify")},spotify_logout(){return ut.get("./api/spotify-logout")}},GO={name:"ModalDialogRemotePairing",components:{ModalDialog:mi},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:tp()}},data(){return{pairing_req:{pin:""}}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{handler:this.pair,icon:"cellphone",key:"actions.pair"}]},pairing(){return this.remoteStore.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{cancel(){this.$emit("close")},pair(){tt.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},qO=["textContent"],zO={class:"field"},KO={class:"control"},XO=["placeholder"];function YO(t,e,n,s,i,r){const o=w("modal-dialog");return x(),vt(o,{actions:r.actions,show:n.show,title:t.$t("dialog.remote-pairing.title"),onClose:e[2]||(e[2]=a=>t.$emit("close"))},{content:M(()=>[C("form",{onSubmit:e[1]||(e[1]=_n((...a)=>r.pair&&r.pair(...a),["prevent"]))},[C("label",{class:"label",textContent:Z(r.pairing.remote)},null,8,qO),C("div",zO,[C("div",KO,[In(C("input",{ref:"pin_field","onUpdate:modelValue":e[0]||(e[0]=a=>i.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:t.$t("dialog.remote-pairing.pairing-code")},null,8,XO),[[Jn,i.pairing_req.pin]])])])],32)]),_:1},8,["actions","show","title"])}const ZO=it(GO,[["render",YO]]),JO={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},QO={class:"field mb-0 is-flex is-align-items-center"},tx={class:"toggle is-flex is-align-items-center"},ex={class:"control is-flex is-align-items-center"},nx=["checked"],sx={key:0,class:"help mb-4"};function ix(t,e,n,s,i,r){return x(),$(pt,null,[C("div",QO,[C("label",tx,[C("div",ex,[C("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,nx),e[1]||(e[1]=C("div",{class:"toggle-switch"},null,-1))]),de(t.$slots,"label",{},void 0,!0)])]),t.$slots.help?(x(),$("div",sx,[de(t.$slots,"help",{},void 0,!0)])):_t("",!0)],64)}const Pr=it(JO,[["render",ix],["__scopeId","data-v-2fe564ab"]]),Fu=hs("LibraryStore",{state:()=>({albums:0,artists:0,db_playtime:0,rss:{},songs:0,started_at:"01",update_dialog_scan_kind:"",updated_at:"01",updating:!1})}),Ue=hs("ServicesStore",{getters:{hasMissingSpotifyScopes:t=>t.missingSpotifyScopes.length>0,isAuthorizationRequired:t=>!t.isSpotifyActive||t.hasMissingSpotifyScopes,isLastfmActive:t=>t.lastfm.scrobbling_enabled,isLastfmEnabled:t=>t.lastfm.enabled,isSpotifyActive:t=>t.spotify.webapi_token_valid,isSpotifyEnabled:t=>t.spotify.spotify_installed,grantedSpotifyScopes:t=>{var e;return((e=t.spotify.webapi_granted_scope)==null?void 0:e.split(" "))??[]},missingSpotifyScopes(t){const e=new Set(t.grantedSpotifyScopes);return t.requiredSpotifyScopes.filter(n=>!e.has(n))??[]},requiredSpotifyScopes:t=>{var e;return((e=t.spotify.webapi_required_scope)==null?void 0:e.split(" "))??[]}},state:()=>({lastfm:{},spotify:{}})}),rx={name:"ModalDialogUpdate",components:{ControlSwitch:Pr,ModalDialog:mi},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:Fu(),servicesStore:Ue()}},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},rss(){return this.libraryStore.rss}},methods:{analyse(){this.rescanMetadata?tt.library_rescan(this.libraryStore.update_dialog_scan_kind):tt.library_update(this.libraryStore.update_dialog_scan_kind)},cancel(){this.$emit("close"),this.libraryStore.update_dialog_scan_kind=""}}},ox={key:0},ax={key:0,class:"field"},lx=["textContent"],cx={class:"control"},ux={class:"select is-small"},dx=["textContent"],fx=["textContent"],hx=["textContent"],px=["textContent"],mx=["textContent"],gx={key:1},yx=["textContent"];function bx(t,e,n,s,i,r){const o=w("control-switch"),a=w("modal-dialog");return x(),vt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.update.title"),onClose:e[2]||(e[2]=l=>t.$emit("close"))},{content:M(()=>[s.libraryStore.updating?(x(),$("div",gx,[C("div",{class:"mb-3",textContent:Z(t.$t("dialog.update.progress"))},null,8,yx)])):(x(),$("div",ox,[s.servicesStore.isSpotifyActive||r.rss.tracks>0?(x(),$("div",ax,[C("label",{class:"label",textContent:Z(t.$t("dialog.update.info"))},null,8,lx),C("div",cx,[C("div",ux,[In(C("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.libraryStore.update_dialog_scan_kind=l)},[C("option",{value:"",textContent:Z(t.$t("dialog.update.all"))},null,8,dx),C("option",{value:"files",textContent:Z(t.$t("dialog.update.local"))},null,8,fx),s.servicesStore.isSpotifyActive?(x(),$("option",{key:0,value:"spotify",textContent:Z(t.$t("dialog.update.spotify"))},null,8,hx)):_t("",!0),r.rss.tracks>0?(x(),$("option",{key:1,value:"rss",textContent:Z(t.$t("dialog.update.feeds"))},null,8,px)):_t("",!0)],512),[[Qh,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(()=>[C("span",{textContent:Z(t.$t("dialog.update.rescan-metadata"))},null,8,mx)]),_:1},8,["modelValue"])]))]),_:1},8,["actions","show","title"])}const vx=it(rx,[["render",bx]]),jn=hs("UIStore",{actions:{hideMenus(){this.showBurgerMenu=!1,this.showPlayerMenu=!1},toggleBurgerMenu(){this.showPlayerMenu=!1,this.showBurgerMenu=!this.showBurgerMenu},togglePlayerMenu(){this.showBurgerMenu=!1,this.showPlayerMenu=!this.showPlayerMenu},toggleHideReadItems(){this.hideReadItems=!this.hideReadItems}},state:()=>({albumsSort:1,artistAlbumsSort:1,artistTracksSort:1,artistsSort:1,composerTracksSort:1,genreTracksSort:1,hideReadItems:!1,hideSingles:!1,hideSpotify:!1,showBurgerMenu:!1,showPlayerMenu:!1,showUpdateDialog:!1})}),_x={name:"ControlLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:jn()}},methods:{open(){this.uiStore.hideMenus(),this.$router.push(this.to)}}},Sx=["href"];function Ex(t,e,n,s,i,r){return x(),$("a",{href:t.$router.resolve(n.to).href,onClick:e[0]||(e[0]=_n((...o)=>r.open&&r.open(...o),["stop","prevent"]))},[de(t.$slots,"default")],8,Sx)}const Y0=it(_x,[["render",Ex]]),wx={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}}},kx=["value","disabled","max"];function Tx(t,e,n,s,i,r){return x(),$("input",{value:n.value,disabled:n.disabled,class:Vt(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:fi({"--ratio":r.ratio}),onInput:e[0]||(e[0]=o=>t.$emit("update:value",o.target.valueAsNumber))},null,46,kx)}const Vu=it(wx,[["render",Tx],["__scopeId","data-v-d0c7e339"]]),Cx={name:"ControlVolume",components:{ControlSlider:Vu},setup(){return{player:ts()}},data(){return{old_volume:0}},computed:{icon(){return this.player.volume>0?"volume-high":"volume-off"}},watch:{"player.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},methods:{changeVolume(t){tt.player_volume(this.player.volume)},toggle(){this.player.volume=this.player.volume>0?0:this.old_volume,this.changeVolume()}}},Ax={class:"media is-align-items-center mb-0"},Ox={class:"media-left"},xx={class:"media-content"},Ix=["textContent"];function Nx(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return x(),$("div",Ax,[C("div",Ox,[C("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"])])]),C("div",xx,[C("div",{class:"is-size-7 is-uppercase",textContent:Z(t.$t("navigation.volume"))},null,8,Ix),E(a,{value:s.player.volume,"onUpdate:value":e[1]||(e[1]=l=>s.player.volume=l),max:100,onChange:r.changeVolume},null,8,["value","onChange"])])])}const Px=it(Cx,[["render",Nx]]),Dx={name:"ControlOutputVolume",components:{ControlSlider:Vu},props:{output:{required:!0,type:Object}},data(){return{volume:this.output.selected?this.output.volume:0}},computed:{icon(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{changeVolume(){tt.player_output_volume(this.output.id,this.volume)},toggle(){const t={selected:!this.output.selected};tt.output_update(this.output.id,t)}}},Rx={class:"media is-align-items-center mb-0"},Mx={class:"media-left"},Lx={class:"media-content"},$x=["textContent"];function Fx(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return x(),$("div",Rx,[C("div",Mx,[C("button",{class:Vt(["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)]),C("div",Lx,[C("div",{class:Vt(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:Z(n.output.name)},null,10,$x),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 Vx=it(Dx,[["render",Fx]]),Hx={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:ts(),queueStore:ks()}},computed:{disabled(){var t;return((t=this.queueStore)==null?void 0:t.count)<=0||this.playerStore.isStopped||this.queueStore.current.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){this.disabled||tt.player_seek(this.offset*-1)}}},Ux=["disabled"];function jx(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(x(),$("a",{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,Ux)):_t("",!0)}const Bx=it(Hx,[["render",jx]]),Wx={name:"ControlPlayerConsume",setup(){return{playerStore:ts()}},methods:{toggle(){tt.player_consume(!this.playerStore.consume)}}};function Gx(t,e,n,s,i,r){const o=w("mdicon");return x(),$("a",{class:Vt({"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 qx=it(Wx,[["render",Gx]]),zx={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:ts(),queueStore:ks()}},computed:{disabled(){var t;return((t=this.queueStore)==null?void 0:t.count)<=0||this.playerStore.isStopped||this.queueStore.current.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){this.disabled||tt.player_seek(this.offset)}}},Kx=["disabled"];function Xx(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(x(),$("a",{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,Kx)):_t("",!0)}const Yx=it(zx,[["render",Xx]]),Hu=hs("LyricsStore",{actions:{toggle(){this.active=!this.active}},state:()=>({content:[],active:!1})}),Zx={name:"ControlPlayerLyrics",setup(){return{lyricsStore:Hu()}},computed:{icon(){return this.lyricsStore.active?"script-text-play":"script-text-outline"}}};function Jx(t,e,n,s,i,r){const o=w("mdicon");return x(),$("a",{class:Vt({"is-dark":s.lyricsStore.active}),onClick:e[0]||(e[0]=(...a)=>s.lyricsStore.toggle&&s.lyricsStore.toggle(...a))},[E(o,{class:"icon",name:r.icon,size:16,title:t.$t("player.button.toggle-lyrics")},null,8,["name","title"])],2)}const Qx=it(Zx,[["render",Jx]]),tI={name:"ControlPlayerNext",setup(){return{queueStore:ks()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{next(){this.disabled||tt.player_next()}}},eI=["disabled"];function nI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("a",{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,eI)}const sI=it(tI,[["render",nI]]),iI={name:"ControlPlayerPlay",props:{show_disabled_message:Boolean},setup(){return{notificationsStore:Ls(),playerStore:ts(),queueStore:ks()}},computed:{disabled(){var t;return((t=this.queueStore)==null?void 0:t.count)<=0},icon(){if(this.playerStore.isPlaying){if(this.queueStore.isPauseAllowed)return"pause"}else return"play";return"stop"}},methods:{toggle(){if(this.disabled){this.show_disabled_message&&this.notificationsStore.add({text:this.$t("server.empty-queue"),timeout:2e3,topic:"connection",type:"info"});return}this.playerStore.isPlaying&&this.queueStore.isPauseAllowed?tt.player_pause():this.playerStore.isPlaying&&!this.queueStore.isPauseAllowed?tt.player_stop():tt.player_play()}}},rI=["disabled"];function oI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("a",{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,rI)}const aI=it(iI,[["render",oI]]),lI={name:"ControlPlayerPrevious",setup(){return{queueStore:ks()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{playPrevious(){this.disabled||tt.player_previous()}}},cI=["disabled"];function uI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("a",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.playPrevious&&r.playPrevious(...a))},[E(o,{class:"icon",name:"skip-backward",title:t.$t("player.button.skip-backward")},null,8,["title"])],8,cI)}const dI=it(lI,[["render",uI]]),fI={name:"ControlPlayerRepeat",setup(){return{playerStore:ts()}},computed:{icon(){return this.playerStore.isRepeatAll?"repeat":this.playerStore.isRepeatSingle?"repeat-once":"repeat-off"}},methods:{toggle(){this.playerStore.isRepeatAll?tt.player_repeat("single"):this.playerStore.isRepeatSingle?tt.player_repeat("off"):tt.player_repeat("all")}}};function hI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("a",{class:Vt({"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 pI=it(fI,[["render",hI]]),mI={name:"ControlPlayerShuffle",setup(){return{playerStore:ts()}},computed:{icon(){return this.playerStore.shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle(){tt.player_shuffle(!this.playerStore.shuffle)}}};function gI(t,e,n,s,i,r){const o=w("mdicon");return x(),$("a",{class:Vt({"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 yI=it(mI,[["render",gI]]),qo={audio:new Audio,context:null,play(t){this.stop(),this.context.resume().then(()=>{this.audio.src=`${String(t||"")}?x=${Date.now()}`,this.audio.crossOrigin="anonymous",this.audio.load()})},setVolume(t){this.audio&&(this.audio.volume=Math.min(1,Math.max(0,parseFloat(t)||0)))},setup(){return this.context=new(window.AudioContext||window.webkitAudioContext),this.context.createMediaElementSource(this.audio).connect(this.context.destination),this.audio.addEventListener("canplaythrough",()=>{this.audio.play()}),this.audio.addEventListener("canplay",()=>{this.audio.play()}),this.audio},stop(){try{this.audio.pause()}catch{}try{this.audio.stop()}catch{}try{this.audio.close()}catch{}}},bI={name:"ControlStreamVolume",components:{ControlSlider:Vu},emits:["change","mute"],data(){return{loading:!1,playing:!1,volume:10}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{changeVolume(){qo.setVolume(this.volume/100)},closeAudio(){qo.stop(),this.playing=!1},playChannel(){this.playing||(this.loading=!0,qo.play("/stream.mp3"),qo.setVolume(this.volume/100))},setupAudio(){const t=qo.setup();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(),this.notificationsStore.add({text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},togglePlay(){this.loading||(this.playing&&this.closeAudio(),this.playChannel())}}},vI={class:"media is-align-items-center mb-0"},_I={class:"media-left"},SI={class:"media-content is-align-items-center"},EI=["textContent"],wI={href:"stream.mp3",class:"ml-2",target:"_blank"};function kI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return x(),$("div",vI,[C("div",_I,[C("button",{class:Vt(["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)]),C("div",SI,[C("div",{class:Vt(["is-flex",{"has-text-grey-light":!i.playing}])},[C("div",{class:"is-size-7 is-uppercase",textContent:Z(t.$t("navigation.stream"))},null,8,EI),C("a",wI,[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 TI=it(bI,[["render",kI]]),pp=hs("OutputsStore",{state:()=>({outputs:[]})}),CI={name:"NavbarBottom",components:{ControlLink:Y0,ControlMainVolume:Px,ControlOutputVolume:Vx,ControlPlayerBack:Bx,ControlPlayerConsume:qx,ControlPlayerForward:Yx,ControlPlayerLyrics:Qx,ControlPlayerNext:sI,ControlPlayerPlay:aI,ControlPlayerPrevious:dI,ControlPlayerRepeat:pI,ControlPlayerShuffle:yI,ControlStreamVolume:TI},setup(){return{notificationsStore:Ls(),outputsStore:pp(),queueStore:ks(),uiStore:jn()}},computed:{isNowPlayingPage(){return this.$route.name==="now-playing"}}},AI={class:"navbar-brand is-flex-grow-1"},OI={class:"is-text-clipped"},xI=["textContent"],II=["textContent"],NI=["textContent"],PI={class:"dropdown-menu is-mobile"},DI={class:"dropdown-content"},RI={class:"dropdown-item pt-0"},MI={class:"dropdown-item is-flex is-justify-content-center"},LI={class:"buttons has-addons"};function $I(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link"),l=w("control-player-previous"),c=w("control-player-back"),u=w("control-player-play"),d=w("control-player-forward"),f=w("control-player-next"),h=w("control-main-volume"),p=w("control-output-volume"),m=w("control-stream-volume"),b=w("control-player-repeat"),y=w("control-player-shuffle"),_=w("control-player-consume"),g=w("control-player-lyrics");return x(),$("nav",{class:Vt(["navbar is-fixed-bottom",{"is-dark":!r.isNowPlayingPage}])},[C("div",AI,[E(a,{class:"navbar-item",to:{name:"queue"}},{default:M(()=>[E(o,{class:"icon",name:"playlist-play"})]),_:1}),r.isNowPlayingPage?(x(),$(pt,{key:0},[E(l,{class:"navbar-item ml-auto"}),E(c,{class:"navbar-item",offset:1e4}),E(u,{class:"navbar-item",show_disabled_message:""}),E(d,{class:"navbar-item",offset:3e4}),E(f,{class:"navbar-item mr-auto"})],64)):(x(),$(pt,{key:1},[E(a,{to:{name:"now-playing"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:M(()=>[C("div",OI,[C("strong",{textContent:Z(s.queueStore.current.title)},null,8,xI),e[1]||(e[1]=C("br",null,null,-1)),C("span",{textContent:Z(s.queueStore.current.artist)},null,8,II),s.queueStore.current.album?(x(),$("span",{key:0,textContent:Z(t.$t("navigation.now-playing",{album:s.queueStore.current.album}))},null,8,NI)):_t("",!0)])]),_:1}),E(u,{class:"navbar-item",show_disabled_message:""})],64)),C("a",{class:"navbar-item",onClick:e[0]||(e[0]=(...v)=>s.uiStore.togglePlayerMenu&&s.uiStore.togglePlayerMenu(...v))},[E(o,{class:"icon",name:s.uiStore.showPlayerMenu?"chevron-down":"chevron-up"},null,8,["name"])]),C("div",{class:Vt(["dropdown is-up is-right",{"is-active":s.uiStore.showPlayerMenu}])},[C("div",PI,[C("div",DI,[C("div",RI,[E(h),(x(!0),$(pt,null,oe(s.outputsStore.outputs,v=>(x(),vt(p,{key:v.id,output:v},null,8,["output"]))),128)),E(m)]),e[2]||(e[2]=C("hr",{class:"dropdown-divider"},null,-1)),C("div",MI,[C("div",LI,[E(b,{class:"button"}),E(y,{class:"button"}),E(_,{class:"button"}),E(g,{class:"button"})])])])])],2)])],2)}const FI=it(CI,[["render",$I],["__scopeId","data-v-684c9a14"]]),mp=hs("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"})}),{t:VI,availableLocales:HI}=rl.global,gi=hs("SettingsStore",{actions:{setting(t,e){var n;return((n=this.categories.find(s=>s.name===t))==null?void 0:n.options.find(s=>s.name===e))??{}},update(t){const e=this.categories.find(s=>s.name===t.category);if(!e)return;const n=e.options.find(s=>s.name===t.name);n&&(n.value=t.value)}},getters:{locales(t){return HI.map(e=>({id:e,name:VI(`language.${e}`)}))},recently_added_limit:t=>{var e;return((e=t.setting("webinterface","recently_added_limit"))==null?void 0:e.value)??100},show_composer_for_genre:t=>{var e;return((e=t.setting("webinterface","show_composer_for_genre"))==null?void 0:e.value)??null},show_composer_now_playing:t=>{var e;return((e=t.setting("webinterface","show_composer_now_playing"))==null?void 0:e.value)??!1},show_cover_artwork_in_album_lists:t=>{var e;return((e=t.setting("artwork","show_cover_artwork_in_album_lists"))==null?void 0:e.value)??!1},show_filepath_now_playing:t=>{var e;return((e=t.setting("webinterface","show_filepath_now_playing"))==null?void 0:e.value)??!1},show_menu_item_audiobooks:t=>{var e;return((e=t.setting("webinterface","show_menu_item_audiobooks"))==null?void 0:e.value)??!1},show_menu_item_files:t=>{var e;return((e=t.setting("webinterface","show_menu_item_files"))==null?void 0:e.value)??!1},show_menu_item_music:t=>{var e;return((e=t.setting("webinterface","show_menu_item_music"))==null?void 0:e.value)??!1},show_menu_item_playlists:t=>{var e;return((e=t.setting("webinterface","show_menu_item_playlists"))==null?void 0:e.value)??!1},show_menu_item_podcasts:t=>{var e;return((e=t.setting("webinterface","show_menu_item_podcasts"))==null?void 0:e.value)??!1},show_menu_item_radio:t=>{var e;return((e=t.setting("webinterface","show_menu_item_radio"))==null?void 0:e.value)??!1},show_menu_item_search:t=>{var e;return((e=t.setting("webinterface","show_menu_item_search"))==null?void 0:e.value)??!1}},state:()=>({categories:[]})}),UI={name:"NavbarTop",components:{ControlLink:Y0},setup(){return{searchStore:mp(),servicesStore:Ue(),settingsStore:gi(),uiStore:jn()}},computed:{menus(){return[{icon:"music-box-multiple",key:"navigation.playlists",name:"playlists",show:this.settingsStore.show_menu_item_playlists},{icon:"music",key:"navigation.music",name:"music",show:this.settingsStore.show_menu_item_music},{key:"navigation.artists",name:"music-artists",show:!0,sub:!0},{key:"navigation.albums",name:"music-albums",show:!0,sub:!0},{key:"navigation.genres",name:"music-genres",show:!0,sub:!0},{key:"navigation.composers",name:"music-composers",show:!0,sub:!0},{key:"navigation.spotify",name:"music-spotify",show:this.servicesStore.isSpotifyActive,sub:!0},{icon:"microphone",key:"navigation.podcasts",name:"podcasts",show:this.settingsStore.show_menu_item_podcasts},{icon:"book-open-variant",key:"navigation.audiobooks",name:"audiobooks",show:this.settingsStore.show_menu_item_audiobooks},{icon:"radio",key:"navigation.radio",name:"radio",show:this.settingsStore.show_menu_item_radio},{icon:"folder-open",key:"navigation.files",name:"files",show:this.settingsStore.show_menu_item_files},{icon:"magnify",key:"navigation.search",name:this.searchStore.source,show:this.settingsStore.show_menu_item_search},{separator:!0,show:!0},{key:"navigation.settings",name:"settings-webinterface",show:!0},{action:this.openUpdateDialog,key:"navigation.update-library",show:!0},{key:"navigation.about",name:"about",show:!0}]},zindex(){return this.uiStore.showPlayerMenu?"z-index: 21":""}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0,this.uiStore.hideMenus()}}},jI={class:"navbar-brand is-flex-grow-1"},BI={class:"dropdown-menu is-mobile"},WI={class:"dropdown-content"},GI={key:0,class:"my-3"},qI=["onClick","textContent"],zI={key:0,class:"icon-text"},KI=["textContent"];function XI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link");return x(),$("nav",{class:"navbar is-fixed-top is-light",style:fi(r.zindex)},[C("div",jI,[(x(!0),$(pt,null,oe(r.menus.filter(l=>l.show&&l.icon),l=>(x(),vt(a,{key:l.name,to:{name:l.name},class:"navbar-item"},{default:M(()=>[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])]),_:2},1032,["to"]))),128)),C("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"])]),C("div",{class:Vt(["dropdown is-right",{"is-active":s.uiStore.showBurgerMenu}])},[C("div",BI,[C("div",WI,[(x(!0),$(pt,null,oe(r.menus.filter(l=>l.show),l=>(x(),$(pt,{key:l.name},[l.separator?(x(),$("hr",GI)):l.action?(x(),$("a",{key:1,class:"dropdown-item",onClick:_n(l.action,["stop","prevent"]),textContent:Z(t.$t(l.key))},null,8,qI)):(x(),vt(a,{key:2,to:{name:l.name},class:"dropdown-item"},{default:M(()=>[l.icon?(x(),$("span",zI,[E(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])])):_t("",!0),C("span",{class:Vt({"pl-5":l.sub,"has-text-weight-semibold":l.icon}),textContent:Z(t.$t(l.key))},null,10,KI)]),_:2},1032,["to"]))],64))),128))])])],2)])],4)}const YI=it(UI,[["render",XI]]);function Uu(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ju(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var n=function s(){return this instanceof s?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var ic={exports:{}},ZI=ic.exports,Wg;function JI(){return Wg||(Wg=1,function(t){(function(e,n){t.exports?t.exports=n():e.ReconnectingWebSocket=n()})(ZI,function(){if(!("WebSocket"in window))return;function e(n,s,i){var r={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};i||(i={});for(var o in r)typeof i[o]<"u"?this[o]=i[o]:this[o]=r[o];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,u=!1,d=document.createElement("div");d.addEventListener("open",function(h){a.onopen(h)}),d.addEventListener("close",function(h){a.onclose(h)}),d.addEventListener("connecting",function(h){a.onconnecting(h)}),d.addEventListener("message",function(h){a.onmessage(h)}),d.addEventListener("error",function(h){a.onerror(h)}),this.addEventListener=d.addEventListener.bind(d),this.removeEventListener=d.removeEventListener.bind(d),this.dispatchEvent=d.dispatchEvent.bind(d);function f(h,p){var m=document.createEvent("CustomEvent");return m.initCustomEvent(h,!1,!1,p),m}this.open=function(h){if(l=new WebSocket(a.url,s||[]),h){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else d.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var p=l,m=setTimeout(function(){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),u=!0,p.close(),u=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(m),(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var y=f("open");y.isReconnect=h,h=!1,d.dispatchEvent(y)},l.onclose=function(b){if(clearTimeout(_),l=null,c)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var y=f("connecting");y.code=b.code,y.reason=b.reason,y.wasClean=b.wasClean,d.dispatchEvent(y),!h&&!u&&((a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),d.dispatchEvent(f("close")));var _=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},_>a.maxReconnectInterval?a.maxReconnectInterval:_)}},l.onmessage=function(b){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var y=f("message");y.data=b.data,d.dispatchEvent(y)},l.onerror=function(b){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),d.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(h){if(l)return(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,h),l.send(h);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(h,p){typeof h>"u"&&(h=1e3),c=!0,l&&l.close(h,p)},this.refresh=function(){l&&l.close()}}return e.prototype.onopen=function(n){},e.prototype.onclose=function(n){},e.prototype.onconnecting=function(n){},e.prototype.onmessage=function(n){},e.prototype.onerror=function(n){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})}(ic)),ic.exports}var QI=JI();const tN=Uu(QI),eN={name:"App",components:{ListNotifications:Xk,ModalDialogRemotePairing:ZO,ModalDialogUpdate:vx,NavbarBottom:FI,NavbarTop:YI},setup(){return{configurationStore:Gi(),libraryStore:Fu(),lyricsStore:Hu(),notificationsStore:Ls(),outputsStore:pp(),playerStore:ts(),queueStore:ks(),remotesStore:tp(),servicesStore:Ue(),settingsStore:gi(),uiStore:jn()}},data(){return{pairingActive:!1,reconnect_attempts:0,timerId:0}},computed:{showBurgerMenu:{get(){return this.uiStore.showBurgerMenu},set(t){this.uiStore.showBurgerMenu=t}},showPlayerMenu:{get(){return this.uiStore.showPlayerMenu},set(t){this.uiStore.showPlayerMenu=t}},showUpdateDialog:{get(){return this.uiStore.showUpdateDialog},set(t){this.uiStore.showUpdateDialog=t}}},watch:{showBurgerMenu(){this.updateClipping()},showPlayerMenu(){this.updateClipping()}},created(){this.connect(),this.$Progress.start(),this.$router.beforeEach((t,e,n)=>{t.path===e.path&&t.hash||(t.meta.progress&&this.$Progress.parseMeta(t.meta.progress),this.$Progress.start()),n()}),this.$router.afterEach((t,e)=>{this.$Progress.finish()})},methods:{connect(){tt.config().then(({data:t})=>{this.configurationStore.$state=t,this.uiStore.hideSingles=t.hide_singles,document.title=t.library_name,this.openWebsocket(),this.$Progress.finish()}).catch(()=>{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})})},openWebsocket(){const t=this.createWebsocket(),e=this;t.onopen=()=>{e.reconnect_attempts=0,t.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.updateOutputs(),e.updatePlayerStatus(),e.updateLibraryStats(),e.updateSettings(),e.updateQueue(),e.updateSpotify(),e.updateLastfm(),e.updatePairing()};let n=!1;const s=()=>{n||(e.updateOutputs(),e.updatePlayerStatus(),e.updateLibraryStats(),e.updateSettings(),e.updateQueue(),e.updateSpotify(),e.updateLastfm(),e.updatePairing(),n=!0,setTimeout(()=>{n=!1},500))};window.addEventListener("focus",s),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&s()}),t.onmessage=i=>{const r=JSON.parse(i.data);(r.notify.includes("update")||r.notify.includes("database"))&&e.updateLibraryStats(),(r.notify.includes("player")||r.notify.includes("options")||r.notify.includes("volume"))&&e.updatePlayerStatus(),(r.notify.includes("outputs")||r.notify.includes("volume"))&&e.updateOutputs(),r.notify.includes("queue")&&e.updateQueue(),r.notify.includes("spotify")&&e.updateSpotify(),r.notify.includes("lastfm")&&e.updateLastfm(),r.notify.includes("pairing")&&e.updatePairing()}},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 tN(s,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},updateClipping(){this.showBurgerMenu||this.showPlayerMenu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")},updateLastfm(){tt.lastfm().then(({data:t})=>{this.servicesStore.lastfm=t})},updateLibraryStats(){tt.library_stats().then(({data:t})=>{this.libraryStore.$state=t}),tt.library_count("scan_kind is rss").then(({data:t})=>{this.libraryStore.rss=t})},updateLyrics(){const t=this.queueStore.current;t!=null&&t.track_id?tt.library_track(t.track_id).then(({data:e})=>{this.lyricsStore.lyrics=e.lyrics}):this.lyricsStore.$reset()},updateOutputs(){tt.outputs().then(({data:t})=>{this.outputsStore.outputs=t.outputs})},updatePairing(){tt.pairing().then(({data:t})=>{this.remotesStore.$state=t,this.pairingActive=t.active})},updatePlayerStatus(){tt.player_status().then(({data:t})=>{this.playerStore.$state=t,this.updateLyrics()})},updateQueue(){tt.queue().then(({data:t})=>{this.queueStore.$state=t,this.updateLyrics()})},updateSettings(){tt.settings().then(({data:t})=>{this.settingsStore.$state=t})},updateSpotify(){tt.spotify().then(({data:t})=>{this.servicesStore.spotify=t,this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=0),t.webapi_token_expires_in>0&&t.webapi_token&&(this.timerId=window.setTimeout(this.updateSpotify,1e3*t.webapi_token_expires_in))})}},template:"<App/>"};function nN(t,e,n,s,i,r){const o=w("vue-progress-bar"),a=w("navbar-top"),l=w("router-view"),c=w("modal-dialog-remote-pairing"),u=w("modal-dialog-update"),d=w("list-notifications"),f=w("navbar-bottom");return x(),$(pt,null,[E(o,{class:"has-background-primary"}),E(a),E(l,null,{default:M(({Component:h})=>[(x(),vt(ku(h)))]),_:1}),E(c,{show:i.pairingActive,onClose:e[0]||(e[0]=h=>i.pairingActive=!1)},null,8,["show"]),E(u,{show:r.showUpdateDialog,onClose:e[1]||(e[1]=h=>r.showUpdateDialog=!1)},null,8,["show"]),In(E(d,null,null,512),[[Nc,!r.showBurgerMenu]]),E(f),In(C("div",{class:"overlay-fullscreen",onClick:e[2]||(e[2]=(...h)=>s.uiStore.hideMenus&&s.uiStore.hideMenus(...h))},null,512),[[Nc,r.showBurgerMenu||r.showPlayerMenu]])],64)}const sN=it(eN,[["render",nN]]),Z0=function(){return document.ontouchstart!==null?"click":"touchstart"},Vc="__vue_click_away__",J0=function(t,e,n){Q0(t);let s=n.context,i=e.value,r=!1;setTimeout(function(){r=!0},0),t[Vc]=function(o){if((!t||!t.contains(o.target))&&i&&r&&typeof i=="function")return i.call(s,o)},document.addEventListener(Z0(),t[Vc],!1)},Q0=function(t){document.removeEventListener(Z0(),t[Vc],!1),delete t[Vc]},iN=function(t,e,n){e.value!==e.oldValue&&J0(t,e,n)},rN={install:function(t){t.directive("click-away",oN)}},oN={mounted:J0,updated:iN,unmounted:Q0};var Ds=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(Ds||{});const aN=typeof window<"u"&&window!==null,lN=fN(),cN=Object.prototype.propertyIsEnumerable,Gg=Object.getOwnPropertySymbols;function pa(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function uN(t){return typeof t=="object"?t===null:typeof t!="function"}function dN(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function fN(){return aN&&"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 hN(t,...e){if(!pa(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof Gg!="function")return t;for(const n of e){const s=Gg(n);for(const i of s)cN.call(n,i)&&(t[i]=n[i])}return t}function t_(t,...e){let n=0;for(uN(t)&&(t=e[n++]),t||(t={});n<e.length;n++)if(pa(e[n])){for(const s of Object.keys(e[n]))dN(s)&&(pa(t[s])&&pa(e[n][s])?t_(t[s],e[n][s]):t[s]=e[n][s]);hN(t,e[n])}return t}const qg="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",pN="",mN={rootMargin:"0px",threshold:0},Vr="data-lazy-timeout-id";class gN{constructor(e){this.options={loading:qg,error:pN,observerOptions:mN,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(e)}config(e={}){t_(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(Ds.LOADING,o,e),e.setAttribute("src",i||qg),lN||(this.loadImages(e,s,r,o),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,s,r,o,a)}update(e,n){var a;if(!e)return;(a=this._realObserver(e))==null||a.unobserve(e);const{src:s,error:i,lifecycle:r,delay:o}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(e,s,i,r,o)}unmount(e){var n;e&&((n=this._realObserver(e))==null||n.unobserve(e),this._images.delete(e))}loadImages(e,n,s,i){this._setImageSrc(e,n,s,i)}_setImageSrc(e,n,s,i){e.tagName.toLowerCase()==="img"?(n&&e.getAttribute("src")!==n&&e.setAttribute("src",n),this._listenImageStatus(e,()=>{this._lifecycle(Ds.LOADED,i,e)},()=>{var r;e.onload=null,this._lifecycle(Ds.ERROR,i,e),(r=this._realObserver(e))==null||r.disconnect(),s&&e.getAttribute("src")!==s&&e.setAttribute("src",s),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):e.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(e,n,s,i,r){var a;const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{r&&r>0?this._delayedIntersectionCallback(e,c,r,n,s,i):this._intersectionCallback(e,c,n,s,i)})},o)),(a=this._realObserver(e))==null||a.observe(e)}_intersectionCallback(e,n,s,i,r){var o;n.isIntersecting&&((o=this._realObserver(e))==null||o.unobserve(n.target),this._setImageSrc(e,s,i,r))}_delayedIntersectionCallback(e,n,s,i,r,o){if(n.isIntersecting){if(n.target.hasAttribute(Vr))return;const a=setTimeout(()=>{this._intersectionCallback(e,n,i,r,o),n.target.removeAttribute(Vr)},s);n.target.setAttribute(Vr,String(a))}else n.target.hasAttribute(Vr)&&(clearTimeout(Number(n.target.getAttribute(Vr))),n.target.removeAttribute(Vr))}_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 pa(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 Ds.LOADING:s==null||s.setAttribute("lazy",Ds.LOADING),n!=null&&n.loading&&n.loading(s);break;case Ds.LOADED:s==null||s.setAttribute("lazy",Ds.LOADED),n!=null&&n.loaded&&n.loaded(s);break;case Ds.ERROR:s==null||s.setAttribute("lazy",Ds.ERROR),n!=null&&n.error&&n.error(s);break}}_realObserver(e){return this._images.get(e)}_logger(e,...n){let s=console.error;switch(this.options.logLevel){case"error":s=console.error;break;case"warn":s=console.warn;break;case"info":s=console.info;break;case"debug":s=console.debug;break}s(e,n)}}const yN={install(t,e){const n=new gN(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 Hd={exports:{}},Ud={exports:{}},jd={};/**
|
||
* @vue/compiler-core v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const vo=Symbol(""),lo=Symbol(""),Bu=Symbol(""),Va=Symbol(""),gp=Symbol(""),qi=Symbol(""),yp=Symbol(""),bp=Symbol(""),Wu=Symbol(""),Gu=Symbol(""),Ro=Symbol(""),qu=Symbol(""),vp=Symbol(""),zu=Symbol(""),Ku=Symbol(""),Xu=Symbol(""),Yu=Symbol(""),Zu=Symbol(""),Ju=Symbol(""),_p=Symbol(""),Sp=Symbol(""),ol=Symbol(""),Ha=Symbol(""),Qu=Symbol(""),td=Symbol(""),_o=Symbol(""),Mo=Symbol(""),ed=Symbol(""),Hc=Symbol(""),e_=Symbol(""),Uc=Symbol(""),Ua=Symbol(""),n_=Symbol(""),s_=Symbol(""),nd=Symbol(""),i_=Symbol(""),r_=Symbol(""),sd=Symbol(""),Ep=Symbol(""),Tr={[vo]:"Fragment",[lo]:"Teleport",[Bu]:"Suspense",[Va]:"KeepAlive",[gp]:"BaseTransition",[qi]:"openBlock",[yp]:"createBlock",[bp]:"createElementBlock",[Wu]:"createVNode",[Gu]:"createElementVNode",[Ro]:"createCommentVNode",[qu]:"createTextVNode",[vp]:"createStaticVNode",[zu]:"resolveComponent",[Ku]:"resolveDynamicComponent",[Xu]:"resolveDirective",[Yu]:"resolveFilter",[Zu]:"withDirectives",[Ju]:"renderList",[_p]:"renderSlot",[Sp]:"createSlots",[ol]:"toDisplayString",[Ha]:"mergeProps",[Qu]:"normalizeClass",[td]:"normalizeStyle",[_o]:"normalizeProps",[Mo]:"guardReactiveProps",[ed]:"toHandlers",[Hc]:"camelize",[e_]:"capitalize",[Uc]:"toHandlerKey",[Ua]:"setBlockTracking",[n_]:"pushScopeId",[s_]:"popScopeId",[nd]:"withCtx",[i_]:"unref",[r_]:"isRef",[sd]:"withMemo",[Ep]:"isMemoSame"};function o_(t){Object.getOwnPropertySymbols(t).forEach(e=>{Tr[e]=t[e]})}const bN={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},vN={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"},_N={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},SN={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"},Je={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function a_(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Je}}function So(t,e,n,s,i,r,o,a=!1,l=!1,c=!1,u=Je){return t&&(a?(t.helper(qi),t.helper(Or(t.inSSR,c))):t.helper(Ar(t.inSSR,c)),o&&t.helper(Zu)),{type:13,tag:e,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function Ui(t,e=Je){return{type:17,loc:e,elements:t}}function qn(t,e=Je){return{type:15,loc:e,properties:t}}function Ve(t,e){return{type:16,loc:Je,key:Dt(t)?Ft(t,!0):t,value:e}}function Ft(t,e=!1,n=Je,s=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:s}}function EN(t,e){return{type:5,loc:e,content:Dt(t)?Ft(t,!1,e):t}}function us(t,e=Je){return{type:8,loc:e,children:t}}function We(t,e=[],n=Je){return{type:14,loc:n,callee:t,arguments:e}}function Cr(t,e=void 0,n=!1,s=!1,i=Je){return{type:18,params:t,returns:e,newline:n,isSlot:s,loc:i}}function jc(t,e,n,s=!0){return{type:19,test:t,consequent:e,alternate:n,newline:s,loc:Je}}function l_(t,e,n=!1,s=!1){return{type:20,index:t,value:e,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Je}}function c_(t){return{type:21,body:t,loc:Je}}function wN(t){return{type:22,elements:t,loc:Je}}function kN(t,e,n){return{type:23,test:t,consequent:e,alternate:n,loc:Je}}function TN(t,e){return{type:24,left:t,right:e,loc:Je}}function CN(t){return{type:25,expressions:t,loc:Je}}function AN(t){return{type:26,returns:t,loc:Je}}function Ar(t,e){return t||e?Wu:Gu}function Or(t,e){return t||e?yp:bp}function id(t,{helper:e,removeHelper:n,inSSR:s}){t.isBlock||(t.isBlock=!0,n(Ar(s,t.isComponent)),e(qi),e(Or(s,t.isComponent)))}const zg=new Uint8Array([123,123]),Kg=new Uint8Array([125,125]);function Xg(t){return t>=97&&t<=122||t>=65&&t<=90}function Gn(t){return t===32||t===10||t===9||t===12||t===13}function Si(t){return t===47||t===62||Gn(t)}function Bc(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const an={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 ON{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=zg,this.delimiterClose=Kg,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=zg,this.delimiterClose=Kg}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?Si(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||Gn(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===an.TitleEnd||this.currentSequence===an.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===an.Cdata[this.sequenceIndex]?++this.sequenceIndex===an.Cdata.length&&(this.state=28,this.currentSequence=an.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===an.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):Xg(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){Si(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Si(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(Bc("</"+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){Gn(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Xg(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||Gn(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):Gn(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):Gn(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Si(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Si(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||Si(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||Si(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Si(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)):Gn(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):Gn(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){Gn(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=an.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===an.ScriptEnd[3]?this.startSpecial(an.ScriptEnd,4):e===an.StyleEnd[3]?this.startSpecial(an.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===an.TitleEnd[3]?this.startSpecial(an.TitleEnd,4):e===an.TextareaEnd[3]?this.startSpecial(an.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===an.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 xN={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"},IN={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 ih(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function _r(t,e){const n=ih("MODE",e),s=ih(t,e);return n===3?s===!0:s!==!1}function Eo(t,e,n,...s){return _r(t,e)}function NN(t,e,n,...s){if(ih(t,e)==="suppress-warning")return;const{message:r,link:o}=IN[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 wp(t){throw t}function u_(t){}function Ae(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 PN={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__"},DN={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 RN(t,e,n=!1,s=[],i=Object.create(null)){}function MN(t,e,n){return!1}function LN(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 $N(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 FN(t,e){for(const n of t.params)for(const s of ti(n))e(s)}function VN(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 ti(s.id))e(i)}else if(n.type==="FunctionDeclaration"||n.type==="ClassDeclaration"){if(n.declare||!n.id)continue;e(n.id)}else HN(n)&&UN(n,!0,e)}function HN(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function UN(t,e,n){const s=t.type==="ForStatement"?t.init:t.left;if(s&&s.type==="VariableDeclaration"&&(s.kind==="var"&&e))for(const i of s.declarations)for(const r of ti(i.id))n(r)}function ti(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"?ti(s.argument,e):ti(s.value,e);break;case"ArrayPattern":t.elements.forEach(s=>{s&&ti(s,e)});break;case"RestElement":ti(t.argument,e);break;case"AssignmentPattern":ti(t.left,e);break}return e}const jN=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),d_=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,BN=(t,e)=>d_(e)&&e.key===t,f_=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function h_(t){return f_.includes(t.type)?h_(t.expression):t}const An=t=>t.type===4&&t.isStatic;function kp(t){switch(t){case"Teleport":case"teleport":return lo;case"Suspense":case"suspense":return Bu;case"KeepAlive":case"keep-alive":return Va;case"BaseTransition":case"base-transition":return gp}}const WN=/^\d|[^\$\w\xA0-\uFFFF]/,al=t=>!WN.test(t),GN=/[A-Za-z_$\xA0-\uFFFF]/,qN=/[\.\?\w$\xA0-\uFFFF]/,zN=/\s+[.[]\s*|\s*[.[]\s+/g,p_=t=>t.type===4?t.content:t.loc.source,m_=t=>{const e=p_(t).trim().replace(zN,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?GN:qN).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},KN=tn,Tp=m_,XN=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,g_=t=>XN.test(p_(t)),YN=tn,y_=g_;function ZN(t,e,n=e.length){return b_({offset:t.offset,line:t.line,column:t.column},e,n)}function b_(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 JN(t,e){if(!t)throw new Error(e||"unexpected compiler condition")}function Cn(t,e,n=!1){for(let s=0;s<t.props.length;s++){const i=t.props[s];if(i.type===7&&(n||i.exp)&&(Dt(e)?i.name===e:e.test(i.name)))return i}}function ll(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)&&Fi(r.arg,e))return r}}function Fi(t,e){return!!(t&&An(t)&&t.content===e)}function v_(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function rc(t){return t.type===5||t.type===2}function Cp(t){return t.type===7&&t.name==="slot"}function wo(t){return t.type===1&&t.tagType===3}function ja(t){return t.type===1&&t.tagType===2}const QN=new Set([_o,Mo]);function __(t,e=[]){if(t&&!Dt(t)&&t.type===14){const n=t.callee;if(!Dt(n)&&QN.has(n))return __(t.arguments[0],e.concat(t))}return[t,e]}function Ba(t,e,n){let s,i=t.type===13?t.props:t.arguments[2],r=[],o;if(i&&!Dt(i)&&i.type===14){const a=__(i);i=a[0],r=a[1],o=r[r.length-1]}if(i==null||Dt(i))s=qn([e]);else if(i.type===14){const a=i.arguments[0];!Dt(a)&&a.type===15?Yg(e,a)||a.properties.unshift(e):i.callee===ed?s=We(n.helper(Ha),[qn([e]),i]):i.arguments.unshift(qn([e])),!s&&(s=i)}else i.type===15?(Yg(e,i)||i.properties.unshift(e),s=i):(s=We(n.helper(Ha),[qn([e]),i]),o&&o.callee===Mo&&(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 Yg(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 ko(t,e){return`_${e}_${t.replace(/[^\w]/g,(n,s)=>n==="-"?"_":t.charCodeAt(s).toString())}`}function bs(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&&(bs(s.arg,e)||bs(s.exp,e)))return!0}return t.children.some(n=>bs(n,e));case 11:return bs(t.source,e)?!0:t.children.some(n=>bs(n,e));case 9:return t.branches.some(n=>bs(n,e));case 10:return bs(t.condition,e)?!0:t.children.some(n=>bs(n,e));case 4:return!t.isStatic&&al(t.content)&&!!e[t.content];case 8:return t.children.some(n=>me(n)&&bs(n,e));case 5:case 12:return bs(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function S_(t){return t.type===14&&t.callee===sd?t.arguments[1].returns:t}const E_=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,w_={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:to,isPreTag:to,isIgnoreNewlineTag:to,isCustomElement:to,onError:wp,onWarn:u_,comments:!1,prefixIdentifiers:!1};let he=w_,Wa=null,ri="",cn=null,re=null,Rn="",Xs=-1,ar=-1,Ap=0,Pi=!1,rh=null;const xe=[],Fe=new ON(xe,{onerr:zs,ontext(t,e){Nl(rn(t,e),t,e)},ontextentity(t,e,n){Nl(t,e,n)},oninterpolation(t,e){if(Pi)return Nl(rn(t,e),t,e);let n=t+Fe.delimiterOpen.length,s=e-Fe.delimiterClose.length;for(;Gn(ri.charCodeAt(n));)n++;for(;Gn(ri.charCodeAt(s-1));)s--;let i=rn(n,s);i.includes("&")&&(i=he.decodeEntities(i,!1)),oh({type:5,content:ac(i,!1,He(n,s)),loc:He(t,e)})},onopentagname(t,e){const n=rn(t,e);cn={type:1,tag:n,ns:he.getNamespace(n,xe[0],he.ns),tagType:0,props:[],children:[],loc:He(t-1,e),codegenNode:void 0}},onopentagend(t){Jg(t)},onclosetag(t,e){const n=rn(t,e);if(!he.isVoidTag(n)){let s=!1;for(let i=0;i<xe.length;i++)if(xe[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&zs(24,xe[0].loc.start.offset);for(let o=0;o<=i;o++){const a=xe.shift();oc(a,e,o<i)}break}s||zs(23,k_(t,60))}},onselfclosingtag(t){const e=cn.tag;cn.isSelfClosing=!0,Jg(t),xe[0]&&xe[0].tag===e&&oc(xe.shift(),t)},onattribname(t,e){re={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(!Pi&&s===""&&zs(26,t),Pi||s==="")re={type:6,name:n,nameLoc:He(t,e),value:void 0,loc:He(t)};else if(re={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Ft("prop")]:[],loc:He(t)},s==="pre"){Pi=Fe.inVPre=!0,rh=cn;const i=cn.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=uP(i[r]))}},ondirarg(t,e){if(t===e)return;const n=rn(t,e);if(Pi)re.name+=n,ur(re.nameLoc,e);else{const s=n[0]!=="[";re.arg=ac(s?n:n.slice(1,-1),s,He(t,e),s?3:0)}},ondirmodifier(t,e){const n=rn(t,e);if(Pi)re.name+="."+n,ur(re.nameLoc,e);else if(re.name==="slot"){const s=re.arg;s&&(s.content+="."+n,ur(s.loc,e))}else{const s=Ft(n,!0,He(t,e));re.modifiers.push(s)}},onattribdata(t,e){Rn+=rn(t,e),Xs<0&&(Xs=t),ar=e},onattribentity(t,e,n){Rn+=t,Xs<0&&(Xs=e),ar=n},onattribnameend(t){const e=re.loc.start.offset,n=rn(e,t);re.type===7&&(re.rawName=n),cn.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&zs(2,e)},onattribend(t,e){if(cn&&re){if(ur(re.loc,e),t!==0)if(Rn.includes("&")&&(Rn=he.decodeEntities(Rn,!0)),re.type===6)re.name==="class"&&(Rn=C_(Rn).trim()),t===1&&!Rn&&zs(13,e),re.value={type:2,content:Rn,loc:t===1?He(Xs,ar):He(Xs-1,ar+1)},Fe.inSFCRoot&&cn.tag==="template"&&re.name==="lang"&&Rn&&Rn!=="html"&&Fe.enterRCDATA(Bc("</template"),0);else{let n=0;re.exp=ac(Rn,!1,He(Xs,ar),0,n),re.name==="for"&&(re.forParseResult=eP(re.exp));let s=-1;re.name==="bind"&&(s=re.modifiers.findIndex(i=>i.content==="sync"))>-1&&Eo("COMPILER_V_BIND_SYNC",he,re.loc,re.rawName)&&(re.name="model",re.modifiers.splice(s,1))}(re.type!==7||re.name!=="pre")&&cn.props.push(re)}Rn="",Xs=ar=-1},oncomment(t,e){he.comments&&oh({type:3,content:rn(t,e),loc:He(t-4,e+3)})},onend(){const t=ri.length;for(let e=0;e<xe.length;e++)oc(xe[e],t-1),zs(24,xe[e].loc.start.offset)},oncdata(t,e){xe[0].ns!==0?Nl(rn(t,e),t,e):zs(1,t-9)},onprocessinginstruction(t){(xe[0]?xe[0].ns:he.ns)===0&&zs(21,t-1)}}),Zg=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,tP=/^\(|\)$/g;function eP(t){const e=t.loc,n=t.content,s=n.match(E_);if(!s)return;const[,i,r]=s,o=(d,f,h=!1)=>{const p=e.start.offset+f,m=p+d.length;return ac(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(tP,"").trim();const c=i.indexOf(l),u=l.match(Zg);if(u){l=l.replace(Zg,"").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 ri.slice(t,e)}function Jg(t){Fe.inSFCRoot&&(cn.innerLoc=He(t+1,t+1)),oh(cn);const{tag:e,ns:n}=cn;n===0&&he.isPreTag(e)&&Ap++,he.isVoidTag(e)?oc(cn,t):(xe.unshift(cn),(n===1||n===2)&&(Fe.inXML=!0)),cn=null}function Nl(t,e,n){{const r=xe[0]&&xe[0].tag;r!=="script"&&r!=="style"&&t.includes("&")&&(t=he.decodeEntities(t,!1))}const s=xe[0]||Wa,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=t,ur(i.loc,n)):s.children.push({type:2,content:t,loc:He(e,n)})}function oc(t,e,n=!1){n?ur(t.loc,k_(e,60)):ur(t.loc,nP(e,62)+1),Fe.inSFCRoot&&(t.children.length?t.innerLoc.end=Jt({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Jt({},t.innerLoc.start),t.innerLoc.source=rn(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:s,ns:i,children:r}=t;if(Pi||(s==="slot"?t.tagType=2:Qg(t)?t.tagType=3:iP(t)&&(t.tagType=1)),Fe.inRCDATA||(t.children=T_(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)&&Ap--,rh===t&&(Pi=Fe.inVPre=!1,rh=null),Fe.inXML&&(xe[0]?xe[0].ns:he.ns)===0&&(Fe.inXML=!1);{const o=t.props;if(!Fe.inSFCRoot&&_r("COMPILER_NATIVE_TEMPLATE",he)&&t.tag==="template"&&!Qg(t)){const l=xe[0]||Wa,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&&Eo("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 nP(t,e){let n=t;for(;ri.charCodeAt(n)!==e&&n<ri.length-1;)n++;return n}function k_(t,e){let n=t;for(;ri.charCodeAt(n)!==e&&n>=0;)n--;return n}const sP=new Set(["if","else","else-if","for","slot"]);function Qg({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&sP.has(e[n].name))return!0}return!1}function iP({tag:t,props:e}){if(he.isCustomElement(t))return!1;if(t==="component"||rP(t.charCodeAt(0))||kp(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(Eo("COMPILER_IS_ON_ELEMENT",he,s.loc))return!0}}else if(s.name==="bind"&&Fi(s.arg,"is")&&Eo("COMPILER_IS_ON_ELEMENT",he,s.loc))return!0}return!1}function rP(t){return t>64&&t<91}const oP=/\r\n/g;function T_(t,e){const n=he.whitespace!=="preserve";let s=!1;for(let i=0;i<t.length;i++){const r=t[i];if(r.type===2)if(Ap)r.content=r.content.replace(oP,`
|
||
`);else if(aP(r.content)){const o=t[i-1]&&t[i-1].type,a=t[i+1]&&t[i+1].type;!o||!a||n&&(o===3&&(a===3||a===1)||o===1&&(a===3||a===1&&lP(r.content)))?(s=!0,t[i]=null):r.content=" "}else n&&(r.content=C_(r.content))}return s?t.filter(Boolean):t}function aP(t){for(let e=0;e<t.length;e++)if(!Gn(t.charCodeAt(e)))return!1;return!0}function lP(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function C_(t){let e="",n=!1;for(let s=0;s<t.length;s++)Gn(t.charCodeAt(s))?n||(e+=" ",n=!0):(e+=t[s],n=!1);return e}function oh(t){(xe[0]||Wa).children.push(t)}function He(t,e){return{start:Fe.getPos(t),end:e==null?e:Fe.getPos(e),source:e==null?e:rn(t,e)}}function cP(t){return He(t.start.offset,t.end.offset)}function ur(t,e){t.end=Fe.getPos(e),t.source=rn(t.start.offset,e)}function uP(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 ac(t,e=!1,n,s=0,i=0){return Ft(t,e,n,s)}function zs(t,e,n){he.onError(Ae(t,He(e,e)))}function dP(){Fe.reset(),cn=null,re=null,Rn="",Xs=-1,ar=-1,xe.length=0}function Op(t,e){if(dP(),ri=t,he=Jt({},w_),e){let i;for(i in e)e[i]!=null&&(he[i]=e[i])}Fe.mode=he.parseMode==="html"?1:he.parseMode==="sfc"?2:0,Fe.inXML=he.ns===1||he.ns===2;const n=e&&e.delimiters;n&&(Fe.delimiterOpen=Bc(n[0]),Fe.delimiterClose=Bc(n[1]));const s=Wa=a_([],t);return Fe.parse(ri),s.loc=He(0,t.length),s.children=T_(s.children),Wa=null,s}function fP(t,e){lc(t,void 0,e,A_(t,t.children[0]))}function A_(t,e){const{children:n}=t;return n.length===1&&e.type===1&&!ja(e)}function lc(t,e,n,s=!1,i=!1){const{children:r}=t,o=[];for(let u=0;u<r.length;u++){const d=r[u];if(d.type===1&&d.tagType===0){const f=s?0:Fn(d,n);if(f>0){if(f>=2){d.codegenNode.patchFlag=-1,o.push(d);continue}}else{const h=d.codegenNode;if(h.type===13){const p=h.patchFlag;if((p===void 0||p===512||p===1)&&x_(d,n)>=2){const m=I_(d);m&&(h.props=n.hoist(m))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(d.type===12&&(s?0:Fn(d,n))>=2){o.push(d);continue}if(d.type===1){const f=d.tagType===1;f&&n.scopes.vSlot++,lc(d,t,n,!1,i),f&&n.scopes.vSlot--}else if(d.type===11)lc(d,t,n,d.children.length===1,!0);else if(d.type===9)for(let f=0;f<d.branches.length;f++)lc(d.branches[f],t,n,d.branches[f].children.length===1,i)}let a=!1;if(o.length===r.length&&t.type===1){if(t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&yt(t.codegenNode.children))t.codegenNode.children=l(Ui(t.codegenNode.children)),a=!0;else if(t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!yt(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=c(t.codegenNode,"default");u&&(u.returns=l(Ui(u.returns)),a=!0)}else if(t.tagType===3&&e&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!yt(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=Cn(t,"slot",!0),d=u&&u.arg&&c(e.codegenNode,u.arg);d&&(d.returns=l(Ui(d.returns)),a=!0)}}if(!a)for(const u of o)u.codegenNode=n.cache(u.codegenNode);function l(u){const d=n.cache(u);return i&&n.hmr&&(d.needArraySpread=!0),d}function c(u,d){if(u.children&&!yt(u.children)&&u.children.type===15){const f=u.children.properties.find(h=>h.key===d||h.key.content===d);return f&&f.value}}o.length&&n.transformHoist&&n.transformHoist(r,n,t)}function Fn(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=x_(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=Fn(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=Fn(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(qi),e.removeHelper(Or(e.inSSR,i.isComponent)),i.isBlock=!1,e.helper(Ar(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 Fn(t.content,e);case 4:return t.constType;case 8:let r=3;for(let o=0;o<t.children.length;o++){const a=t.children[o];if(Dt(a)||xn(a))continue;const l=Fn(a,e);if(l===0)return 0;l<r&&(r=l)}return r;case 20:return 2;default:return 0}}const hP=new Set([Qu,td,_o,Mo]);function O_(t,e){if(t.type===14&&!Dt(t.callee)&&hP.has(t.callee)){const n=t.arguments[0];if(n.type===4)return Fn(n,e);if(n.type===14)return O_(n,e)}return 0}function x_(t,e){let n=3;const s=I_(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=Fn(o,e);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=Fn(a,e):a.type===14?c=O_(a,e):c=0,c===0)return c;c<n&&(n=c)}}return n}function I_(t){const e=t.codegenNode;if(e.type===13)return e.props}function N_(t,{filename:e="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=tn,isCustomElement:u=tn,expressionPlugins:d=[],scopeId:f=null,slotted:h=!0,ssr:p=!1,inSSR:m=!1,ssrCssVars:b="",bindingMetadata:y=Yt,inline:_=!1,isTS:g=!1,onError:v=wp,onWarn:S=u_,compatConfig:k}){const N=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),D={filename:e,selfName:N&&Xi(Te(N[1])),prefixIdentifiers:n,hoistStatic:s,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:f,slotted:h,ssr:p,inSSR:m,ssrCssVars:b,bindingMetadata:y,inline:_,isTS:g,onError:v,onWarn:S,compatConfig:k,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(T){const R=D.helpers.get(T)||0;return D.helpers.set(T,R+1),T},removeHelper(T){const R=D.helpers.get(T);if(R){const j=R-1;j?D.helpers.set(T,j):D.helpers.delete(T)}},helperString(T){return`_${Tr[D.helper(T)]}`},replaceNode(T){D.parent.children[D.childIndex]=D.currentNode=T},removeNode(T){const R=D.parent.children,j=T?R.indexOf(T):D.currentNode?D.childIndex:-1;!T||T===D.currentNode?(D.currentNode=null,D.onNodeRemoved()):D.childIndex>j&&(D.childIndex--,D.onNodeRemoved()),D.parent.children.splice(j,1)},onNodeRemoved:tn,addIdentifiers(T){},removeIdentifiers(T){},hoist(T){Dt(T)&&(T=Ft(T)),D.hoists.push(T);const R=Ft(`_hoisted_${D.hoists.length}`,!1,T.loc,2);return R.hoisted=T,R},cache(T,R=!1,j=!1){const F=l_(D.cached.length,T,R,j);return D.cached.push(F),F}};return D.filters=new Set,D}function P_(t,e){const n=N_(t,e);cl(t,n),e.hoistStatic&&fP(t,n),e.ssr||pP(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 pP(t,e){const{helper:n}=e,{children:s}=t;if(s.length===1){const i=s[0];if(A_(t,i)&&i.codegenNode){const r=i.codegenNode;r.type===13&&id(r,e),t.codegenNode=r}else t.codegenNode=i}else if(s.length>1){let i=64;t.codegenNode=So(e,n(vo),void 0,t.children,i,void 0,void 0,!0,void 0,!1)}}function mP(t,e){let n=0;const s=()=>{n--};for(;n<t.children.length;n++){const i=t.children[n];Dt(i)||(e.grandParent=e.parent,e.parent=t,e.childIndex=n,e.onNodeRemoved=s,cl(i,e))}}function cl(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&&(yt(o)?s.push(...o):s.push(o)),e.currentNode)t=e.currentNode;else return}switch(t.type){case 3:e.ssr||e.helper(Ro);break;case 5:e.ssr||e.helper(ol);break;case 9:for(let r=0;r<t.branches.length;r++)cl(t.branches[r],e);break;case 10:case 11:case 1:case 0:mP(t,e);break}e.currentNode=t;let i=s.length;for(;i--;)s[i]()}function xp(t,e){const n=Dt(t)?s=>s===t:s=>t.test(s);return(s,i)=>{if(s.type===1){const{props:r}=s;if(s.tagType===3&&r.some(Cp))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 rd="/*@__PURE__*/",D_=t=>`${Tr[t]}: _${Tr[t]}`;function gP(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`_${Tr[m]}`},push(m,b=-2,y){h.code+=m},indent(){p(++h.indentLevel)},deindent(m=!1){m?--h.indentLevel:p(--h.indentLevel)},newline(){p(h.indentLevel)}};function p(m){h.push(`
|
||
`+" ".repeat(m),0)}return h}function R_(t,e={}){const n=gP(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";yP(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(D_).join(", ")} } = _Vue
|
||
`,-1),l())),t.components.length&&(Bd(t.components,"component",n),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(Bd(t.directives,"directive",n),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),Bd(t.filters,"filter",n),l()),t.temps>0){i("let ");for(let _=0;_<t.temps;_++)i(`${_>0?", ":""}_temp${_}`)}return(t.components.length||t.directives.length||t.temps)&&(i(`
|
||
`,0),l()),u||i("return "),t.codegenNode?vn(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 yP(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=[Wu,Gu,Ro,qu,vp].filter(f=>u.includes(f)).map(D_).join(", ");i(`const { ${d} } = _Vue
|
||
`,-1)}bP(t.hoists,e),r(),i("return ")}function Bd(t,e,{helper:n,push:s,newline:i,isTS:r}){const o=n(e==="filter"?Yu:e==="component"?zu:Xu);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 ${ko(l,e)} = ${o}(${JSON.stringify(l)}${c?", true":""})${r?"!":""}`),a<t.length-1&&i()}}function bP(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} = `),vn(r,e),s())}e.pure=!1}function Ip(t,e){const n=t.length>3||!1;e.push("["),n&&e.indent(),ul(t,e,n),n&&e.deindent(),e.push("]")}function ul(t,e,n=!1,s=!0){const{push:i,newline:r}=e;for(let o=0;o<t.length;o++){const a=t[o];Dt(a)?i(a,-3):yt(a)?Ip(a,e):vn(a,e),o<t.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function vn(t,e){if(Dt(t)){e.push(t,-3);return}if(xn(t)){e.push(e.helper(t));return}switch(t.type){case 1:case 9:case 11:vn(t.codegenNode,e);break;case 2:vP(t,e);break;case 4:M_(t,e);break;case 5:_P(t,e);break;case 12:vn(t.codegenNode,e);break;case 8:L_(t,e);break;case 3:EP(t,e);break;case 13:wP(t,e);break;case 14:TP(t,e);break;case 15:CP(t,e);break;case 17:AP(t,e);break;case 18:OP(t,e);break;case 19:xP(t,e);break;case 20:IP(t,e);break;case 21:ul(t.body,e,!0,!1);break}}function vP(t,e){e.push(JSON.stringify(t.content),-3,t)}function M_(t,e){const{content:n,isStatic:s}=t;e.push(s?JSON.stringify(n):n,-3,t)}function _P(t,e){const{push:n,helper:s,pure:i}=e;i&&n(rd),n(`${s(ol)}(`),vn(t.content,e),n(")")}function L_(t,e){for(let n=0;n<t.children.length;n++){const s=t.children[n];Dt(s)?e.push(s,-3):vn(s,e)}}function SP(t,e){const{push:n}=e;if(t.type===8)n("["),L_(t,e),n("]");else if(t.isStatic){const s=al(t.content)?t.content:JSON.stringify(t.content);n(s,-2,t)}else n(`[${t.content}]`,-3,t)}function EP(t,e){const{push:n,helper:s,pure:i}=e;i&&n(rd),n(`${s(Ro)}(${JSON.stringify(t.content)})`,-3,t)}function wP(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(Zu)+"("),d&&n(`(${s(qi)}(${f?"true":""}), `),i&&n(rd);const m=d?Or(e.inSSR,h):Ar(e.inSSR,h);n(s(m)+"(",-2,t),ul(kP([r,o,a,p,c]),e),n(")"),d&&n(")"),u&&(n(", "),vn(u,e),n(")"))}function kP(t){let e=t.length;for(;e--&&t[e]==null;);return t.slice(0,e+1).map(n=>n||"null")}function TP(t,e){const{push:n,helper:s,pure:i}=e,r=Dt(t.callee)?t.callee:s(t.callee);i&&n(rd),n(r+"(",-2,t),ul(t.arguments,e),n(")")}function CP(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];SP(c,e),n(": "),vn(u,e),l<o.length-1&&(n(","),r())}a&&i(),n(a?"}":" }")}function AP(t,e){Ip(t.elements,e)}function OP(t,e){const{push:n,indent:s,deindent:i}=e,{params:r,returns:o,body:a,newline:l,isSlot:c}=t;c&&n(`_${Tr[nd]}(`),n("(",-2,t),yt(r)?ul(r,e):r&&vn(r,e),n(") => "),(l||a)&&(n("{"),s()),o?(l&&n("return "),yt(o)?Ip(o,e):vn(o,e)):a&&vn(a,e),(l||a)&&(i(),n("}")),c&&(t.isNonScopedSlot&&n(", undefined, true"),n(")"))}function xP(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=!al(n.content);d&&o("("),M_(n,e),d&&o(")")}else o("("),vn(n,e),o(")");r&&a(),e.indentLevel++,r||o(" "),o("? "),vn(s,e),e.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||e.indentLevel++,vn(i,e),u||e.indentLevel--,r&&l(!0)}function IP(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(Ua)}(-1`),t.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${t.index}] = `),vn(t.value,e),a&&(n(`).cacheIndex = ${t.index},`),o(),n(`${s(Ua)}(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 NP=(t,e)=>{if(t.type===5)t.content=cc(t.content,e);else if(t.type===1){const n=Cn(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=cc(r,e,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=cc(o,e))}}}};function cc(t,e,n=!1,s=!1,i=Object.create(e.identifiers)){return t}function $_(t){return Dt(t)?t:t.type===4?t.content:t.children.map($_).join("")}const PP=xp(/^(if|else|else-if)$/,(t,e,n)=>F_(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=ey(i,l,n);else{const c=DP(s.codegenNode);c.alternate=ey(i,l+s.branches.length-1,n)}}}));function F_(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(Ae(28,e.loc)),e.exp=Ft("true",!1,i)}if(e.name==="if"){const i=ty(t,e),r={type:9,loc:cP(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(Ae(30,t.loc)),n.removeNode();const a=ty(t,e);o.branches.push(a);const l=s&&s(o,a,!1);cl(a,n),l&&l(),n.currentNode=null}else n.onError(Ae(30,t.loc));break}}}function ty(t,e){const n=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:n&&!Cn(t,"for")?t.children:[t],userKey:ll(t,"key"),isTemplateIf:n}}function ey(t,e,n){return t.condition?jc(t.condition,ny(t,e,n),We(n.helper(Ro),['""',"true"])):ny(t,e,n)}function ny(t,e,n){const{helper:s}=n,i=Ve("key",Ft(`${e}`,!1,Je,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 Ba(l,i,n),l}else return So(n,s(vo),qn([i]),r,64,void 0,void 0,!0,!1,!1,t.loc);else{const l=o.codegenNode,c=S_(l);return c.type===13&&id(c,n),Ba(c,i,n),l}}function DP(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 V_=(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(Ae(52,r.loc)),{props:[Ve(r,Ft("",!0,i))]};H_(t),o=t.exp}return r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=`${r.content} || ""`),s.some(a=>a.content==="camel")&&(r.type===4?r.isStatic?r.content=Te(r.content):r.content=`${n.helperString(Hc)}(${r.content})`:(r.children.unshift(`${n.helperString(Hc)}(`),r.children.push(")"))),n.inSSR||(s.some(a=>a.content==="prop")&&sy(r,"."),s.some(a=>a.content==="attr")&&sy(r,"^")),{props:[Ve(r,o)]}},H_=(t,e)=>{const n=t.arg,s=Te(n.content);t.exp=Ft(s,!1,n.loc)},sy=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},RP=xp("for",(t,e,n)=>{const{helper:s,removeHelper:i}=n;return U_(t,e,n,r=>{const o=We(s(Ju),[r.source]),a=wo(t),l=Cn(t,"memo"),c=ll(t,"key",!1,!0);c&&c.type===7&&!c.exp&&H_(c);let d=c&&(c.type===6?c.value?Ft(c.value.content,!0):void 0:c.exp);const f=c&&d?Ve("key",d):null,h=r.source.type===4&&r.source.constType>0,p=h?64:c?128:256;return r.codegenNode=So(n,s(vo),void 0,o,p,void 0,void 0,!0,!h,!1,t.loc),()=>{let m;const{children:b}=r,y=b.length!==1||b[0].type!==1,_=ja(t)?t:a&&t.children.length===1&&ja(t.children[0])?t.children[0]:null;if(_?(m=_.codegenNode,a&&f&&Ba(m,f,n)):y?m=So(n,s(vo),f?qn([f]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(m=b[0].codegenNode,a&&f&&Ba(m,f,n),m.isBlock!==!h&&(m.isBlock?(i(qi),i(Or(n.inSSR,m.isComponent))):i(Ar(n.inSSR,m.isComponent))),m.isBlock=!h,m.isBlock?(s(qi),s(Or(n.inSSR,m.isComponent))):s(Ar(n.inSSR,m.isComponent))),l){const g=Cr(Wc(r.parseResult,[Ft("_cached")]));g.body=c_([us(["const _memo = (",l.exp,")"]),us(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${n.helperString(Ep)}(_cached, _memo)) return _cached`]),us(["const _item = ",m]),Ft("_item.memo = _memo"),Ft("return _item")]),o.arguments.push(g,Ft("_cache"),Ft(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Cr(Wc(r.parseResult),m,!0))}})});function U_(t,e,n,s){if(!e.exp){n.onError(Ae(31,e.loc));return}const i=e.forParseResult;if(!i){n.onError(Ae(32,e.loc));return}Np(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:wo(t)?t.children:[t]};n.replaceNode(f),a.vFor++;const h=s&&s(f);return()=>{a.vFor--,h&&h()}}function Np(t,e){t.finalized||(t.finalized=!0)}function Wc({value:t,key:e,index:n},s=[]){return MP([t,e,n,...s])}function MP(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((n,s)=>n||Ft("_".repeat(s+1),!1))}const iy=Ft("undefined",!1),j_=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const n=Cn(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},LP=(t,e)=>{let n;if(wo(t)&&t.props.some(Cp)&&(n=Cn(t,"for"))){const s=n.forParseResult;if(s){Np(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)}}}},$P=(t,e,n,s)=>Cr(t,n,!1,!0,n.length?n[0].loc:s);function B_(t,e,n=$P){e.helper(nd);const{children:s,loc:i}=t,r=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=Cn(t,"slot",!0);if(l){const{arg:b,exp:y}=l;b&&!An(b)&&(a=!0),r.push(Ve(b||Ft("default",!0),n(y,void 0,s,i)))}let c=!1,u=!1;const d=[],f=new Set;let h=0;for(let b=0;b<s.length;b++){const y=s[b];let _;if(!wo(y)||!(_=Cn(y,"slot",!0))){y.type!==3&&d.push(y);continue}if(l){e.onError(Ae(37,_.loc));break}c=!0;const{children:g,loc:v}=y,{arg:S=Ft("default",!0),exp:k,loc:N}=_;let D;An(S)?D=S?S.content:"default":a=!0;const T=Cn(y,"for"),R=n(k,T,g,v);let j,F;if(j=Cn(y,"if"))a=!0,o.push(jc(j.exp,Pl(S,R,h++),iy));else if(F=Cn(y,/^else(-if)?$/,!0)){let U=b,Y;for(;U--&&(Y=s[U],Y.type===3););if(Y&&wo(Y)&&Cn(Y,/^(else-)?if$/)){let ot=o[o.length-1];for(;ot.alternate.type===19;)ot=ot.alternate;ot.alternate=F.exp?jc(F.exp,Pl(S,R,h++),iy):Pl(S,R,h++)}else e.onError(Ae(30,F.loc))}else if(T){a=!0;const U=T.forParseResult;U?(Np(U),o.push(We(e.helper(Ju),[U.source,Cr(Wc(U),Pl(S,R),!0)]))):e.onError(Ae(32,T.loc))}else{if(D){if(f.has(D)){e.onError(Ae(38,N));continue}f.add(D),D==="default"&&(u=!0)}r.push(Ve(S,R))}}if(!l){const b=(y,_)=>{const g=n(y,void 0,_,i);return e.compatConfig&&(g.isNonScopedSlot=!0),Ve("default",g)};c?d.length&&d.some(y=>W_(y))&&(u?e.onError(Ae(39,d[0].loc)):r.push(b(void 0,d))):r.push(b(void 0,s))}const p=a?2:uc(t.children)?3:1;let m=qn(r.concat(Ve("_",Ft(p+"",!1))),i);return o.length&&(m=We(e.helper(Sp),[m,Ui(o)])),{slots:m,hasDynamicSlots:a}}function Pl(t,e,n){const s=[Ve("name",t),Ve("fn",e)];return n!=null&&s.push(Ve("key",Ft(String(n),!0))),qn(s)}function uc(t){for(let e=0;e<t.length;e++){const n=t[e];switch(n.type){case 1:if(n.tagType===2||uc(n.children))return!0;break;case 9:if(uc(n.branches))return!0;break;case 10:case 11:if(uc(n.children))return!0;break}}return!1}function W_(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():W_(t.content)}const G_=new WeakMap,q_=(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?z_(t,e):`"${s}"`;const a=me(o)&&o.callee===Ku;let l,c,u=0,d,f,h,p=a||o===lo||o===Bu||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const m=Pp(t,e,void 0,r,a);l=m.props,u=m.patchFlag,f=m.dynamicPropNames;const b=m.directives;h=b&&b.length?Ui(b.map(y=>K_(y,e))):void 0,m.shouldUseBlock&&(p=!0)}if(t.children.length>0)if(o===Va&&(p=!0,u|=1024),r&&o!==lo&&o!==Va){const{slots:b,hasDynamicSlots:y}=B_(t,e);c=b,y&&(u|=1024)}else if(t.children.length===1&&o!==lo){const b=t.children[0],y=b.type,_=y===5||y===8;_&&Fn(b,e)===0&&(u|=1),_||y===2?c=b:c=t.children}else c=t.children;f&&f.length&&(d=VP(f)),t.codegenNode=So(e,o,l,c,u===0?void 0:u,d,h,!!p,!1,r,t.loc)};function z_(t,e,n=!1){let{tag:s}=t;const i=ah(s),r=ll(t,"is",!1,!0);if(r)if(i||_r("COMPILER_IS_ON_ELEMENT",e)){let a;if(r.type===6?a=r.value&&Ft(r.value.content,!0):(a=r.exp,a||(a=Ft("is",!1,r.arg.loc))),a)return We(e.helper(Ku),[a])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=kp(s)||e.isBuiltInComponent(s);return o?(n||e.helper(o),o):(e.helper(zu),e.components.add(s),ko(s,"component"))}function Pp(t,e,n=t.props,s,i,r=!1){const{tag:o,loc:a,children:l}=t;let c=[];const u=[],d=[],f=l.length>0;let h=!1,p=0,m=!1,b=!1,y=!1,_=!1,g=!1,v=!1;const S=[],k=R=>{c.length&&(u.push(qn(ry(c),a)),c=[]),R&&u.push(R)},N=()=>{e.scopes.vFor>0&&c.push(Ve(Ft("ref_for",!0),Ft("true")))},D=({key:R,value:j})=>{if(An(R)){const F=R.content,U=zi(F);if(U&&(!s||i)&&F.toLowerCase()!=="onclick"&&F!=="onUpdate:modelValue"&&!si(F)&&(_=!0),U&&si(F)&&(v=!0),U&&j.type===14&&(j=j.arguments[0]),j.type===20||(j.type===4||j.type===8)&&Fn(j,e)>0)return;F==="ref"?m=!0:F==="class"?b=!0:F==="style"?y=!0:F!=="key"&&!S.includes(F)&&S.push(F),s&&(F==="class"||F==="style")&&!S.includes(F)&&S.push(F)}else g=!0};for(let R=0;R<n.length;R++){const j=n[R];if(j.type===6){const{loc:F,name:U,nameLoc:Y,value:ot}=j;let G=!0;if(U==="ref"&&(m=!0,N()),U==="is"&&(ah(o)||ot&&ot.content.startsWith("vue:")||_r("COMPILER_IS_ON_ELEMENT",e)))continue;c.push(Ve(Ft(U,!0,Y),Ft(ot?ot.content:"",G,ot?ot.loc:F)))}else{const{name:F,arg:U,exp:Y,loc:ot,modifiers:G}=j,et=F==="bind",at=F==="on";if(F==="slot"){s||e.onError(Ae(40,ot));continue}if(F==="once"||F==="memo"||F==="is"||et&&Fi(U,"is")&&(ah(o)||_r("COMPILER_IS_ON_ELEMENT",e))||at&&r)continue;if((et&&Fi(U,"key")||at&&f&&Fi(U,"vue:before-update"))&&(h=!0),et&&Fi(U,"ref")&&N(),!U&&(et||at)){if(g=!0,Y)if(et){if(N(),k(),_r("COMPILER_V_BIND_OBJECT_ORDER",e)){u.unshift(Y);continue}u.push(Y)}else k({type:14,loc:ot,callee:e.helper(ed),arguments:s?[Y]:[Y,"true"]});else e.onError(Ae(et?34:35,ot));continue}et&&G.some(Kt=>Kt.content==="prop")&&(p|=32);const Tt=e.directiveTransforms[F];if(Tt){const{props:Kt,needRuntime:Ht}=Tt(j,t,e);!r&&Kt.forEach(D),at&&U&&!An(U)?k(qn(Kt,a)):c.push(...Kt),Ht&&(d.push(j),xn(Ht)&&G_.set(j,Ht))}else Jb(F)||(d.push(j),f&&(h=!0))}}let T;if(u.length?(k(),u.length>1?T=We(e.helper(Ha),u,a):T=u[0]):c.length&&(T=qn(ry(c),a)),g?p|=16:(b&&!s&&(p|=2),y&&!s&&(p|=4),S.length&&(p|=8),_&&(p|=32)),!h&&(p===0||p===32)&&(m||v||d.length>0)&&(p|=512),!e.inSSR&&T)switch(T.type){case 15:let R=-1,j=-1,F=!1;for(let ot=0;ot<T.properties.length;ot++){const G=T.properties[ot].key;An(G)?G.content==="class"?R=ot:G.content==="style"&&(j=ot):G.isHandlerKey||(F=!0)}const U=T.properties[R],Y=T.properties[j];F?T=We(e.helper(_o),[T]):(U&&!An(U.value)&&(U.value=We(e.helper(Qu),[U.value])),Y&&(y||Y.value.type===4&&Y.value.content.trim()[0]==="["||Y.value.type===17)&&(Y.value=We(e.helper(td),[Y.value])));break;case 14:break;default:T=We(e.helper(_o),[We(e.helper(Mo),[T])]);break}return{props:T,directives:d,patchFlag:p,dynamicPropNames:S,shouldUseBlock:h}}function ry(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"||zi(r))&&FP(o,i):(e.set(r,i),n.push(i))}return n}function FP(t,e){t.value.type===17?t.value.elements.push(e.value):t.value=Ui([t.value,e.value],t.loc)}function K_(t,e){const n=[],s=G_.get(t);s?n.push(e.helperString(s)):(e.helper(Xu),e.directives.add(t.name),n.push(ko(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=Ft("true",!1,i);n.push(qn(t.modifiers.map(o=>Ve(o,r)),i))}return Ui(n,t.loc)}function VP(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 ah(t){return t==="component"||t==="Component"}const HP=(t,e)=>{if(ja(t)){const{children:n,loc:s}=t,{slotName:i,slotProps:r}=X_(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;r&&(o[2]=r,a=3),n.length&&(o[3]=Cr([],n,!1,!1,s),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=We(e.helper(_p),o,s)}};function X_(t,e){let n='"default"',s;const i=[];for(let r=0;r<t.props.length;r++){const o=t.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=Te(o.name),i.push(o)));else if(o.name==="bind"&&Fi(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=Te(o.arg.content);n=o.exp=Ft(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&An(o.arg)&&(o.arg.content=Te(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Pp(t,e,i,!1,!1);s=r,o.length&&e.onError(Ae(36,o[0].loc))}return{slotName:n,slotProps:s}}const Dp=(t,e,n,s)=>{const{loc:i,modifiers:r,arg:o}=t;!t.exp&&!r.length&&n.onError(Ae(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)?pr(Te(d)):`on:${d}`;a=Ft(f,!0,o.loc)}else a=us([`${n.helperString(Uc)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(Uc)}(`),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=Tp(l),f=!(d||y_(l)),h=l.content.includes(";");(f||c&&d)&&(l=us([`${f?"$event":"(...args)"} => ${h?"{":"("}`,l,h?"}":")"]))}let u={props:[Ve(a,l||Ft("() => {}",!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},UP=(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(rc(o)){i=!0;for(let a=r+1;a<n.length;a++){const l=n[a];if(rc(l))s||(s=n[r]=us([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(rc(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!e.ssr&&Fn(o,e)===0&&a.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:We(e.helper(qu),a)}}}}},oy=new WeakSet,jP=(t,e)=>{if(t.type===1&&Cn(t,"once",!0))return oy.has(t)||e.inVOnce||e.inSSR?void 0:(oy.add(t),e.inVOnce=!0,e.helper(Ua),()=>{e.inVOnce=!1;const n=e.currentNode;n.codegenNode&&(n.codegenNode=e.cache(n.codegenNode,!0,!0))})},Rp=(t,e,n)=>{const{exp:s,arg:i}=t;if(!s)return n.onError(Ae(41,t.loc)),Dl();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(Ae(44,s.loc)),Dl();if(!o.trim()||!Tp(s))return n.onError(Ae(42,s.loc)),Dl();const l=i||Ft("modelValue",!0),c=i?An(i)?`onUpdate:${Te(i.content)}`:us(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const d=n.isTS?"($event: any)":"$event";u=us([`${d} => ((`,s,") = $event)"]);const f=[Ve(l,t.exp),Ve(c,u)];if(t.modifiers.length&&e.tagType===1){const h=t.modifiers.map(m=>m.content).map(m=>(al(m)?m:JSON.stringify(m))+": true").join(", "),p=i?An(i)?`${i.content}Modifiers`:us([i,' + "Modifiers"']):"modelModifiers";f.push(Ve(p,Ft(`{ ${h} }`,!1,t.loc,2)))}return Dl(f)};function Dl(t=[]){return{props:t}}const BP=/[\w).+\-_$\]]/,WP=(t,e)=>{_r("COMPILER_FILTERS",e)&&(t.type===5?Gc(t.content,e):t.type===1&&t.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&Gc(n.exp,e)}))};function Gc(t,e){if(t.type===4)ay(t,e);else for(let n=0;n<t.children.length;n++){const s=t.children[n];typeof s=="object"&&(s.type===4?ay(s,e):s.type===8?Gc(t,e):s.type===5&&Gc(s.content,e))}}function ay(t,e){const n=t.content;let s=!1,i=!1,r=!1,o=!1,a=0,l=0,c=0,u=0,d,f,h,p,m=[];for(h=0;h<n.length;h++)if(f=d,d=n.charCodeAt(h),s)d===39&&f!==92&&(s=!1);else if(i)d===34&&f!==92&&(i=!1);else if(r)d===96&&f!==92&&(r=!1);else if(o)d===47&&f!==92&&(o=!1);else if(d===124&&n.charCodeAt(h+1)!==124&&n.charCodeAt(h-1)!==124&&!a&&!l&&!c)p===void 0?(u=h+1,p=n.slice(0,h).trim()):b();else{switch(d){case 34:i=!0;break;case 39:s=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(d===47){let y=h-1,_;for(;y>=0&&(_=n.charAt(y),_===" ");y--);(!_||!BP.test(_))&&(o=!0)}}p===void 0?p=n.slice(0,h).trim():u!==0&&b();function b(){m.push(n.slice(u,h).trim()),u=h+1}if(m.length){for(h=0;h<m.length;h++)p=GP(p,m[h],e);t.content=p,t.ast=void 0}}function GP(t,e,n){n.helper(Yu);const s=e.indexOf("(");if(s<0)return n.filters.add(e),`${ko(e,"filter")}(${t})`;{const i=e.slice(0,s),r=e.slice(s+1);return n.filters.add(i),`${ko(i,"filter")}(${t}${r!==")"?","+r:r}`}}const ly=new WeakSet,qP=(t,e)=>{if(t.type===1){const n=Cn(t,"memo");return!n||ly.has(t)?void 0:(ly.add(t),()=>{const s=t.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(t.tagType!==1&&id(s,e),t.codegenNode=We(e.helper(sd),[n.exp,Cr(void 0,s),"_cache",String(e.cached.length)]),e.cached.push(null))})}};function Y_(t){return[[jP,PP,qP,RP,WP,HP,q_,j_,UP],{on:Dp,bind:V_,model:Rp}]}function Z_(t,e={}){const n=e.onError||wp,s=e.mode==="module";e.prefixIdentifiers===!0?n(Ae(47)):s&&n(Ae(48));const i=!1;e.cacheHandlers&&n(Ae(49)),e.scopeId&&!s&&n(Ae(50));const r=Jt({},e,{prefixIdentifiers:i}),o=Dt(t)?Op(t,r):t,[a,l]=Y_();return P_(o,Jt({},r,{nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:Jt({},l,e.directiveTransforms||{})})),R_(o,r)}const zP={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"},J_=()=>({props:[]});/**
|
||
* @vue/compiler-dom v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Mp=Symbol(""),Lp=Symbol(""),$p=Symbol(""),Fp=Symbol(""),qc=Symbol(""),Vp=Symbol(""),Hp=Symbol(""),Up=Symbol(""),jp=Symbol(""),Bp=Symbol("");o_({[Mp]:"vModelRadio",[Lp]:"vModelCheckbox",[$p]:"vModelText",[Fp]:"vModelSelect",[qc]:"vModelDynamic",[Vp]:"withModifiers",[Hp]:"withKeys",[Up]:"vShow",[jp]:"Transition",[Bp]:"TransitionGroup"});let Hr;function KP(t,e=!1){return Hr||(Hr=document.createElement("div")),e?(Hr.innerHTML=`<div foo="${t.replace(/"/g,""")}">`,Hr.children[0].getAttribute("foo")):(Hr.innerHTML=t,Hr.textContent)}const Wp={parseMode:"html",isVoidTag:sv,isNativeTag:t=>tv(t)||ev(t)||nv(t),isPreTag:t=>t==="pre",isIgnoreNewlineTag:t=>t==="pre"||t==="textarea",decodeEntities:KP,isBuiltInComponent:t=>{if(t==="Transition"||t==="transition")return jp;if(t==="TransitionGroup"||t==="transition-group")return Bp},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}},Q_=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:Ft("style",!0,e.loc),exp:XP(e.value.content,e.loc),modifiers:[],loc:e.loc})})},XP=(t,e)=>{const n=Oh(t);return Ft(JSON.stringify(n),!1,e,3)};function oi(t,e){return Ae(t,e)}const YP={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__"},ZP={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."},JP=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(oi(53,i)),e.children.length&&(n.onError(oi(54,i)),e.children.length=0),{props:[Ve(Ft("innerHTML",!0,i),s||Ft("",!0))]}},QP=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(oi(55,i)),e.children.length&&(n.onError(oi(56,i)),e.children.length=0),{props:[Ve(Ft("textContent",!0),s?Fn(s,n)>0?s:We(n.helperString(ol),[s],i):Ft("",!0))]}},tD=(t,e,n)=>{const s=Rp(t,e,n);if(!s.props.length||e.tagType===1)return s;t.arg&&n.onError(oi(58,t.arg.loc));const{tag:i}=e,r=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=$p,a=!1;if(i==="input"||r){const l=ll(e,"type");if(l){if(l.type===7)o=qc;else if(l.value)switch(l.value.content){case"radio":o=Mp;break;case"checkbox":o=Lp;break;case"file":a=!0,n.onError(oi(59,t.loc));break}}else v_(e)&&(o=qc)}else i==="select"&&(o=Fp);a||(s.needRuntime=n.helper(o))}else n.onError(oi(57,t.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},eD=en("passive,once,capture"),nD=en("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),sD=en("left,right"),t2=en("onkeyup,onkeydown,onkeypress"),iD=(t,e,n,s)=>{const i=[],r=[],o=[];for(let a=0;a<e.length;a++){const l=e[a].content;l==="native"&&Eo("COMPILER_V_ON_NATIVE",n)||eD(l)?o.push(l):sD(l)?An(t)?t2(t.content.toLowerCase())?i.push(l):r.push(l):(i.push(l),r.push(l)):nD(l)?r.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},cy=(t,e)=>An(t)&&t.content.toLowerCase()==="onclick"?Ft(e,!0):t.type!==4?us(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,rD=(t,e,n)=>Dp(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}=iD(r,i,n,t.loc);if(l.includes("right")&&(r=cy(r,"onContextmenu")),l.includes("middle")&&(r=cy(r,"onMouseup")),l.length&&(o=We(n.helper(Vp),[o,JSON.stringify(l)])),a.length&&(!An(r)||t2(r.content.toLowerCase()))&&(o=We(n.helper(Hp),[o,JSON.stringify(a)])),c.length){const u=c.map(Xi).join("");r=An(r)?Ft(`${r.content}${u}`,!0):us(["(",r,`) + "${u}"`])}return{props:[Ve(r,o)]}}),oD=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(oi(61,i)),{props:[],needRuntime:n.helper(Up)}},aD=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&e.removeNode()},e2=[Q_],n2={cloak:J_,html:JP,text:QP,model:tD,on:rD,show:oD};function lD(t,e={}){return Z_(t,Jt({},Wp,e,{nodeTransforms:[aD,...e2,...e.nodeTransforms||[]],directiveTransforms:Jt({},n2,e.directiveTransforms||{}),transformHoist:null}))}function cD(t,e={}){return Op(t,Jt({},Wp,e))}const uD=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:gp,BindingTypes:zP,CAMELIZE:Hc,CAPITALIZE:e_,CREATE_BLOCK:yp,CREATE_COMMENT:Ro,CREATE_ELEMENT_BLOCK:bp,CREATE_ELEMENT_VNODE:Gu,CREATE_SLOTS:Sp,CREATE_STATIC:vp,CREATE_TEXT:qu,CREATE_VNODE:Wu,CompilerDeprecationTypes:xN,ConstantTypes:SN,DOMDirectiveTransforms:n2,DOMErrorCodes:YP,DOMErrorMessages:ZP,DOMNodeTransforms:e2,ElementTypes:_N,ErrorCodes:PN,FRAGMENT:vo,GUARD_REACTIVE_PROPS:Mo,IS_MEMO_SAME:Ep,IS_REF:r_,KEEP_ALIVE:Va,MERGE_PROPS:Ha,NORMALIZE_CLASS:Qu,NORMALIZE_PROPS:_o,NORMALIZE_STYLE:td,Namespaces:bN,NodeTypes:vN,OPEN_BLOCK:qi,POP_SCOPE_ID:s_,PUSH_SCOPE_ID:n_,RENDER_LIST:Ju,RENDER_SLOT:_p,RESOLVE_COMPONENT:zu,RESOLVE_DIRECTIVE:Xu,RESOLVE_DYNAMIC_COMPONENT:Ku,RESOLVE_FILTER:Yu,SET_BLOCK_TRACKING:Ua,SUSPENSE:Bu,TELEPORT:lo,TO_DISPLAY_STRING:ol,TO_HANDLERS:ed,TO_HANDLER_KEY:Uc,TRANSITION:jp,TRANSITION_GROUP:Bp,TS_NODE_TYPES:f_,UNREF:i_,V_MODEL_CHECKBOX:Lp,V_MODEL_DYNAMIC:qc,V_MODEL_RADIO:Mp,V_MODEL_SELECT:Fp,V_MODEL_TEXT:$p,V_ON_WITH_KEYS:Hp,V_ON_WITH_MODIFIERS:Vp,V_SHOW:Up,WITH_CTX:nd,WITH_DIRECTIVES:Zu,WITH_MEMO:sd,advancePositionWithClone:ZN,advancePositionWithMutation:b_,assert:JN,baseCompile:Z_,baseParse:Op,buildDirectiveArgs:K_,buildProps:Pp,buildSlots:B_,checkCompatEnabled:Eo,compile:lD,convertToBlock:id,createArrayExpression:Ui,createAssignmentExpression:TN,createBlockStatement:c_,createCacheExpression:l_,createCallExpression:We,createCompilerError:Ae,createCompoundExpression:us,createConditionalExpression:jc,createDOMCompilerError:oi,createForLoopParams:Wc,createFunctionExpression:Cr,createIfStatement:kN,createInterpolation:EN,createObjectExpression:qn,createObjectProperty:Ve,createReturnStatement:AN,createRoot:a_,createSequenceExpression:CN,createSimpleExpression:Ft,createStructuralDirectiveTransform:xp,createTemplateLiteral:wN,createTransformContext:N_,createVNodeCall:So,errorMessages:DN,extractIdentifiers:ti,findDir:Cn,findProp:ll,forAliasRE:E_,generate:R_,generateCodeFrame:Qb,getBaseTransformPreset:Y_,getConstantType:Fn,getMemoedVNodeCall:S_,getVNodeBlockHelper:Or,getVNodeHelper:Ar,hasDynamicKeyVBind:v_,hasScopeRef:bs,helperNameMap:Tr,injectProp:Ba,isCoreComponent:kp,isFnExpression:y_,isFnExpressionBrowser:g_,isFnExpressionNode:YN,isFunctionType:jN,isInDestructureAssignment:LN,isInNewExpression:$N,isMemberExpression:Tp,isMemberExpressionBrowser:m_,isMemberExpressionNode:KN,isReferencedIdentifier:MN,isSimpleIdentifier:al,isSlotOutlet:ja,isStaticArgOf:Fi,isStaticExp:An,isStaticProperty:d_,isStaticPropertyKey:BN,isTemplateNode:wo,isText:rc,isVSlot:Cp,locStub:Je,noopDirectiveTransform:J_,parse:cD,parserOptions:Wp,processExpression:cc,processFor:U_,processIf:F_,processSlotOutlet:X_,registerRuntimeHelpers:o_,resolveComponentType:z_,stringifyExpression:$_,toValidAssetId:ko,trackSlotScopes:j_,trackVForSlotScopes:LP,transform:P_,transformBind:V_,transformElement:q_,transformExpression:NP,transformModel:Rp,transformOn:Dp,transformStyle:Q_,traverseNode:cl,unwrapTSNode:h_,walkBlockDeclarations:VN,walkFunctionParams:FN,walkIdentifiers:RN,warnDeprecation:NN},Symbol.toStringTag,{value:"Module"})),dD=ju(uD),fD=ju(Mk),hD=ju(kE);/**
|
||
* vue v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/var uy;function pD(){return uy||(uy=1,function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=dD,n=fD,s=hD;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])})}(jd)),jd}var dy;function s2(){return dy||(dy=1,Ud.exports=pD()),Ud.exports}var fy;function mD(){return fy||(fy=1,function(t){t.exports=function(e){var n={};function s(i){if(n[i])return n[i].exports;var r=n[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,s),r.l=!0,r.exports}return s.m=e,s.c=n,s.d=function(i,r,o){s.o(i,r)||Object.defineProperty(i,r,{enumerable:!0,get:o})},s.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},s.t=function(i,r){if(r&1&&(i=s(i)),r&8||r&4&&typeof i=="object"&&i&&i.__esModule)return i;var o=Object.create(null);if(s.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:i}),r&2&&typeof i!="string")for(var a in i)s.d(o,a,(function(l){return i[l]}).bind(null,a));return o},s.n=function(i){var r=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(r,"a",r),r},s.o=function(i,r){return Object.prototype.hasOwnProperty.call(i,r)},s.p="",s(s.s="fb15")}({8875:function(e,n,s){var i,r,o;(function(a,l){r=[],i=l,o=typeof i=="function"?i.apply(n,r):i,o!==void 0&&(e.exports=o)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(v){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,u=/@([^@]*):(\d+):(\d+)\s*$/ig,d=c.exec(v.stack)||u.exec(v.stack),f=d&&d[1]||!1,h=d&&d[2]||!1,p=document.location.href.replace(document.location.hash,""),m,b,y,_=document.getElementsByTagName("script");f===p&&(m=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(h-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=m.replace(b,"$1").trim());for(var g=0;g<_.length;g++)if(_[g].readyState==="interactive"||_[g].src===f||f===p&&_[g].innerHTML&&_[g].innerHTML.trim()===y)return _[g];return null}}return a})},"8bbf":function(e,n){e.exports=s2()},fb15:function(e,n,s){if(s.r(n),typeof window<"u"){var i=window.document.currentScript;{var r=s("8875");i=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r})}var o=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(s.p=o[1])}var a=s("8bbf");function l(p,m,b,y,_,g){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:y.finalStyle},null,4)}var c=typeof window<"u",u={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var m=c?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},b=Object(a.computed)(function(){var y=m.options,_=!!y.show,g=y.location,v={"z-index":999999,"background-color":y.canSuccess?y.color:y.failedColor,opacity:y.show?1:0,position:y.position};return g==="top"||g==="bottom"?(g==="top"?v.top="0px":v.bottom="0px",y.inverse?v.right="0px":v.left="0px",v.width=m.percent+"%",v.height=y.thickness,v.transition=(_?"width "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity):(g==="left"||g==="right")&&(g==="left"?v.left="0px":v.right="0px",y.inverse?v.top="0px":v.bottom="0px",v.height=m.percent+"%",v.width=y.thickness,v.transition=(_?"height "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity),v});return{progress:m,finalStyle:b}}};u.render=l;var d=u;function f(p,m){for(var b=1,y,_;b<arguments.length;++b){_=arguments[b];for(y in _)Object.prototype.hasOwnProperty.call(_,y)&&(p[y]=_[y])}return p}var h={install:function(m,b){var y={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},_=f(y,b),g=Object(a.reactive)({percent:0,options:_});m.provide("RADON_LOADING_BAR",g);var v={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(k){var N=this;k||(k=3e3),g.percent=0,g.options.show=!0,g.options.canSuccess=!0,this.state.cut=1e4/Math.floor(k),clearInterval(this.state.timer),this.state.timer=setInterval(function(){N.increase(N.state.cut*Math.random()),g.percent>95&&g.options.autoFinish&&N.finish()},100)},set:function(k){g.options.show=!0,g.options.canSuccess=!0,g.percent=Math.floor(k)},get:function(){return Math.floor(g.percent)},increase:function(k){g.percent=Math.min(99,g.percent+Math.floor(k))},decrease:function(k){g.percent=g.percent-Math.floor(k)},hide:function(){var k=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){g.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){g.percent=0},100),g.options.autoRevert&&setTimeout(function(){k.revert()},300)})},g.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){g.percent=100,this.hide()},fail:function(){g.options.canSuccess=!1,g.percent=100,this.hide()},setFailColor:function(k){g.options.failedColor=k},setColor:function(k){g.options.color=k},setLocation:function(k){g.options.location=k},setTransition:function(k){g.options.transition=k},tempFailColor:function(k){this.state.tFailColor=g.options.failedColor,g.options.failedColor=k},tempColor:function(k){this.state.tColor=g.options.color,g.options.color=k},tempLocation:function(k){this.state.tLocation=g.options.location,g.options.location=k},tempTransition:function(k){this.state.tTransition=g.options.transition,g.options.transition=k},revertColor:function(){g.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){g.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){g.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){g.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){g.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(k){for(var N in k.func){var D=k.func[N];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=v}};n.default=h}})}(Hd)),Hd.exports}var gD=mD();const yD=Uu(gD);class Dr extends Error{}class bD extends Dr{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class vD extends Dr{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class _D extends Dr{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class io extends Dr{}class i2 extends Dr{constructor(e){super(`Invalid unit ${e}`)}}class un extends Dr{}class Ei extends Dr{constructor(){super("Zone is an abstract class")}}const gt="numeric",Ts="short",Zn="long",zc={year:gt,month:gt,day:gt},r2={year:gt,month:Ts,day:gt},SD={year:gt,month:Ts,day:gt,weekday:Ts},o2={year:gt,month:Zn,day:gt},a2={year:gt,month:Zn,day:gt,weekday:Zn},l2={hour:gt,minute:gt},c2={hour:gt,minute:gt,second:gt},u2={hour:gt,minute:gt,second:gt,timeZoneName:Ts},d2={hour:gt,minute:gt,second:gt,timeZoneName:Zn},f2={hour:gt,minute:gt,hourCycle:"h23"},h2={hour:gt,minute:gt,second:gt,hourCycle:"h23"},p2={hour:gt,minute:gt,second:gt,hourCycle:"h23",timeZoneName:Ts},m2={hour:gt,minute:gt,second:gt,hourCycle:"h23",timeZoneName:Zn},g2={year:gt,month:gt,day:gt,hour:gt,minute:gt},y2={year:gt,month:gt,day:gt,hour:gt,minute:gt,second:gt},b2={year:gt,month:Ts,day:gt,hour:gt,minute:gt},v2={year:gt,month:Ts,day:gt,hour:gt,minute:gt,second:gt},ED={year:gt,month:Ts,day:gt,weekday:Ts,hour:gt,minute:gt},_2={year:gt,month:Zn,day:gt,hour:gt,minute:gt,timeZoneName:Ts},S2={year:gt,month:Zn,day:gt,hour:gt,minute:gt,second:gt,timeZoneName:Ts},E2={year:gt,month:Zn,day:gt,weekday:Zn,hour:gt,minute:gt,timeZoneName:Zn},w2={year:gt,month:Zn,day:gt,weekday:Zn,hour:gt,minute:gt,second:gt,timeZoneName:Zn};class dl{get type(){throw new Ei}get name(){throw new Ei}get ianaName(){return this.name}get isUniversal(){throw new Ei}offsetName(e,n){throw new Ei}formatOffset(e,n){throw new Ei}offset(e){throw new Ei}equals(e){throw new Ei}get isValid(){throw new Ei}}let Wd=null;class od extends dl{static get instance(){return Wd===null&&(Wd=new od),Wd}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return P2(e,n,s)}formatOffset(e,n){return ma(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}let dc={};function wD(t){return dc[t]||(dc[t]=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"})),dc[t]}const kD={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function TD(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 CD(t,e){const n=t.formatToParts(e),s=[];for(let i=0;i<n.length;i++){const{type:r,value:o}=n[i],a=kD[r];r==="era"?s[a]=o:Rt(a)||(s[a]=parseInt(o,10))}return s}let Rl={};class di extends dl{static create(e){return Rl[e]||(Rl[e]=new di(e)),Rl[e]}static resetCache(){Rl={},dc={}}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=di.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return P2(e,n,s,this.name)}formatOffset(e,n){return ma(this.offset(e),n)}offset(e){const n=new Date(e);if(isNaN(n))return NaN;const s=wD(this.name);let[i,r,o,a,l,c,u]=s.formatToParts?CD(s,n):TD(s,n);a==="BC"&&(i=-Math.abs(i)+1);const f=ld({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 hy={};function AD(t,e={}){const n=JSON.stringify([t,e]);let s=hy[n];return s||(s=new Intl.ListFormat(t,e),hy[n]=s),s}let lh={};function ch(t,e={}){const n=JSON.stringify([t,e]);let s=lh[n];return s||(s=new Intl.DateTimeFormat(t,e),lh[n]=s),s}let uh={};function OD(t,e={}){const n=JSON.stringify([t,e]);let s=uh[n];return s||(s=new Intl.NumberFormat(t,e),uh[n]=s),s}let dh={};function xD(t,e={}){const{base:n,...s}=e,i=JSON.stringify([t,s]);let r=dh[i];return r||(r=new Intl.RelativeTimeFormat(t,e),dh[i]=r),r}let ta=null;function ID(){return ta||(ta=new Intl.DateTimeFormat().resolvedOptions().locale,ta)}let py={};function ND(t){let e=py[t];if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,py[t]=e}return e}function PD(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=ch(t).resolvedOptions(),i=t}catch{const l=t.substring(0,n);s=ch(l).resolvedOptions(),i=l}const{numberingSystem:r,calendar:o}=s;return[i,r,o]}}function DD(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function RD(t){const e=[];for(let n=1;n<=12;n++){const s=Ot.utc(2009,n,1);e.push(t(s))}return e}function MD(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 Ml(t,e,n,s){const i=t.listingMode();return i==="error"?null:i==="en"?n(e):s(e)}function LD(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem==="latn"}class $D{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=OD(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):Xp(e,3);return Be(n,this.padTo)}}}class FD{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&&di.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=ch(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 VD{constructor(e,n,s){this.opts={style:"long",...s},!n&&I2()&&(this.rtf=xD(e,s))}format(e,n){return this.rtf?this.rtf.format(e,n):lR(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const HD={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||Le.defaultLocale,a=o||(r?"en-US":ID()),l=n||Le.defaultNumberingSystem,c=s||Le.defaultOutputCalendar,u=fh(i)||Le.defaultWeekSettings;return new be(a,l,c,u,o)}static resetCache(){ta=null,lh={},uh={},dh={}}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]=PD(e);this.locale=o,this.numberingSystem=n||a||null,this.outputCalendar=s||l||null,this.weekSettings=i,this.intl=DD(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=LD(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,fh(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 Ml(this,e,M2,()=>{const s=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";return this.monthsCache[i][e]||(this.monthsCache[i][e]=RD(r=>this.extract(r,s,"month"))),this.monthsCache[i][e]})}weekdays(e,n=!1){return Ml(this,e,F2,()=>{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]=MD(r=>this.extract(r,s,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return Ml(this,void 0,()=>V2,()=>{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 Ml(this,e,H2,()=>{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 $D(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new FD(e,this.intl,n)}relFormatter(e={}){return new VD(this.intl,this.isEnglish(),e)}listFormatter(e={}){return AD(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:N2()?ND(this.locale):HD}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 Gd=null;class On extends dl{static get utcInstance(){return Gd===null&&(Gd=new On(0)),Gd}static instance(e){return e===0?On.utcInstance:new On(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new On(cd(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${ma(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${ma(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return ma(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 UD extends dl{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 Li(t,e){if(Rt(t)||t===null)return e;if(t instanceof dl)return t;if(zD(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?od.instance:n==="utc"||n==="gmt"?On.utcInstance:On.parseSpecifier(n)||di.create(t)}else return ji(t)?On.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new UD(t)}const Gp={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},my={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]},jD=Gp.hanidec.replace(/[\[|\]]/g,"").split("");function BD(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(Gp.hanidec)!==-1)e+=jD.indexOf(t[n]);else for(const i in my){const[r,o]=my[i];s>=r&&s<=o&&(e+=s-r)}}return parseInt(e,10)}else return e}let Zr={};function WD(){Zr={}}function ps({numberingSystem:t},e=""){const n=t||"latn";return Zr[n]||(Zr[n]={}),Zr[n][e]||(Zr[n][e]=new RegExp(`${Gp[n]}${e}`)),Zr[n][e]}let gy=()=>Date.now(),yy="system",by=null,vy=null,_y=null,Sy=60,Ey,wy=null;class Le{static get now(){return gy}static set now(e){gy=e}static set defaultZone(e){yy=e}static get defaultZone(){return Li(yy,od.instance)}static get defaultLocale(){return by}static set defaultLocale(e){by=e}static get defaultNumberingSystem(){return vy}static set defaultNumberingSystem(e){vy=e}static get defaultOutputCalendar(){return _y}static set defaultOutputCalendar(e){_y=e}static get defaultWeekSettings(){return wy}static set defaultWeekSettings(e){wy=fh(e)}static get twoDigitCutoffYear(){return Sy}static set twoDigitCutoffYear(e){Sy=e%100}static get throwOnInvalid(){return Ey}static set throwOnInvalid(e){Ey=e}static resetCaches(){be.resetCache(),di.resetCache(),Ot.resetCache(),WD()}}class Es{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const k2=[0,31,59,90,120,151,181,212,243,273,304,334],T2=[0,31,60,91,121,152,182,213,244,274,305,335];function rs(t,e){return new Es("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function qp(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 C2(t,e,n){return n+(fl(t)?T2:k2)[e-1]}function A2(t,e){const n=fl(t)?T2:k2,s=n.findIndex(r=>r<e),i=e-n[s];return{month:s+1,day:i}}function zp(t,e){return(t-e+7)%7+1}function Kc(t,e=4,n=1){const{year:s,month:i,day:r}=t,o=C2(s,i,r),a=zp(qp(s,i,r),n);let l=Math.floor((o-a+14-e)/7),c;return l<1?(c=s-1,l=Ga(c,e,n)):l>Ga(s,e,n)?(c=s+1,l=1):c=s,{weekYear:c,weekNumber:l,weekday:a,...ud(t)}}function ky(t,e=4,n=1){const{weekYear:s,weekNumber:i,weekday:r}=t,o=zp(qp(s,1,e),n),a=co(s);let l=i*7+r-o-7+e,c;l<1?(c=s-1,l+=co(c)):l>a?(c=s+1,l-=co(s)):c=s;const{month:u,day:d}=A2(c,l);return{year:c,month:u,day:d,...ud(t)}}function qd(t){const{year:e,month:n,day:s}=t,i=C2(e,n,s);return{year:e,ordinal:i,...ud(t)}}function Ty(t){const{year:e,ordinal:n}=t,{month:s,day:i}=A2(e,n);return{year:e,month:s,day:i,...ud(t)}}function Cy(t,e){if(!Rt(t.localWeekday)||!Rt(t.localWeekNumber)||!Rt(t.localWeekYear)){if(!Rt(t.weekday)||!Rt(t.weekNumber)||!Rt(t.weekYear))throw new io("Cannot mix locale-based week fields with ISO-based week fields");return Rt(t.localWeekday)||(t.weekday=t.localWeekday),Rt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Rt(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 GD(t,e=4,n=1){const s=ad(t.weekYear),i=os(t.weekNumber,1,Ga(t.weekYear,e,n)),r=os(t.weekday,1,7);return s?i?r?!1:rs("weekday",t.weekday):rs("week",t.weekNumber):rs("weekYear",t.weekYear)}function qD(t){const e=ad(t.year),n=os(t.ordinal,1,co(t.year));return e?n?!1:rs("ordinal",t.ordinal):rs("year",t.year)}function O2(t){const e=ad(t.year),n=os(t.month,1,12),s=os(t.day,1,Xc(t.year,t.month));return e?n?s?!1:rs("day",t.day):rs("month",t.month):rs("year",t.year)}function x2(t){const{hour:e,minute:n,second:s,millisecond:i}=t,r=os(e,0,23)||e===24&&n===0&&s===0&&i===0,o=os(n,0,59),a=os(s,0,59),l=os(i,0,999);return r?o?a?l?!1:rs("millisecond",i):rs("second",s):rs("minute",n):rs("hour",e)}function Rt(t){return typeof t>"u"}function ji(t){return typeof t=="number"}function ad(t){return typeof t=="number"&&t%1===0}function zD(t){return typeof t=="string"}function KD(t){return Object.prototype.toString.call(t)==="[object Date]"}function I2(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function N2(){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 Ay(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 YD(t,e){return e.reduce((n,s)=>(n[s]=t[s],n),{})}function To(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function fh(t){if(t==null)return null;if(typeof t!="object")throw new un("Week settings must be an object");if(!os(t.firstDay,1,7)||!os(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!os(e,1,7)))throw new un("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function os(t,e,n){return ad(t)&&t>=e&&t<=n}function ZD(t,e){return t-e*Math.floor(t/e)}function Be(t,e=2){const n=t<0;let s;return n?s="-"+(""+-t).padStart(e,"0"):s=(""+t).padStart(e,"0"),s}function Di(t){if(!(Rt(t)||t===null||t===""))return parseInt(t,10)}function sr(t){if(!(Rt(t)||t===null||t===""))return parseFloat(t)}function Kp(t){if(!(Rt(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Xp(t,e,n=!1){const s=10**e;return(n?Math.trunc:Math.round)(t*s)/s}function fl(t){return t%4===0&&(t%100!==0||t%400===0)}function co(t){return fl(t)?366:365}function Xc(t,e){const n=ZD(e-1,12)+1,s=t+(e-n)/12;return n===2?fl(s)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function ld(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 Oy(t,e,n){return-zp(qp(t,1,e),n)+e-1}function Ga(t,e=4,n=1){const s=Oy(t,e,n),i=Oy(t+1,e,n);return(co(t)-s+i)/7}function hh(t){return t>99?t:t>Le.twoDigitCutoffYear?1900+t:2e3+t}function P2(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 cd(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 D2(t){const e=Number(t);if(typeof t=="boolean"||t===""||Number.isNaN(e))throw new un(`Invalid unit value ${t}`);return e}function Yc(t,e){const n={};for(const s in t)if(To(t,s)){const i=t[s];if(i==null)continue;n[e(s)]=D2(i)}return n}function ma(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}${Be(n,2)}:${Be(s,2)}`;case"narrow":return`${i}${n}${s>0?`:${s}`:""}`;case"techie":return`${i}${Be(n,2)}${Be(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ud(t){return YD(t,["hour","minute","second","millisecond"])}const JD=["January","February","March","April","May","June","July","August","September","October","November","December"],R2=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],QD=["J","F","M","A","M","J","J","A","S","O","N","D"];function M2(t){switch(t){case"narrow":return[...QD];case"short":return[...R2];case"long":return[...JD];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 L2=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],$2=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tR=["M","T","W","T","F","S","S"];function F2(t){switch(t){case"narrow":return[...tR];case"short":return[...$2];case"long":return[...L2];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const V2=["AM","PM"],eR=["Before Christ","Anno Domini"],nR=["BC","AD"],sR=["B","A"];function H2(t){switch(t){case"narrow":return[...sR];case"short":return[...nR];case"long":return[...eR];default:return null}}function iR(t){return V2[t.hour<12?0:1]}function rR(t,e){return F2(e)[t.weekday-1]}function oR(t,e){return M2(e)[t.month-1]}function aR(t,e){return H2(e)[t.year<0?0:1]}function lR(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 xy(t,e){let n="";for(const s of t)s.literal?n+=s.val:n+=e(s.val);return n}const cR={D:zc,DD:r2,DDD:o2,DDDD:a2,t:l2,tt:c2,ttt:u2,tttt:d2,T:f2,TT:h2,TTT:p2,TTTT:m2,f:g2,ff:b2,fff:_2,ffff:E2,F:y2,FF:v2,FFF:S2,FFFF:w2};class gn{static create(e,n={}){return new gn(e,n)}static parseFormat(e){let n=null,s="",i=!1;const r=[];for(let o=0;o<e.length;o++){const a=e.charAt(o);a==="'"?(s.length>0&&r.push({literal:i||/^\s+$/.test(s),val:s}),n=null,s="",i=!i):i||a===n?s+=a:(s.length>0&&r.push({literal:/^\s+$/.test(s),val:s}),s=a,n=a)}return s.length>0&&r.push({literal:i||/^\s+$/.test(s),val:s}),r}static macroTokenToFormatOpts(e){return cR[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0){if(this.opts.forceSimple)return Be(e,n);const s={...this.opts};return n>0&&(s.padTo=n),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,n){const s=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(h,p)=>this.loc.extract(e,h,p),o=h=>e.isOffsetFixed&&e.offset===0&&h.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,h.format):"",a=()=>s?iR(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,p)=>s?oR(e,h):r(p?{month:h}:{month:h,day:"numeric"},"month"),c=(h,p)=>s?rR(e,h):r(p?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),u=h=>{const p=gn.macroTokenToFormatOpts(h);return p?this.formatWithSystemDefault(e,p):h},d=h=>s?aR(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 xy(gn.parseFormat(n),f)}formatDurationFromString(e,n){const s=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=l=>c=>{const u=s(c);return u?this.num(l.get(u),c.length):c},r=gn.parseFormat(n),o=r.reduce((l,{literal:c,val:u})=>c?l:l.concat(u),[]),a=e.shiftTo(...o.map(s).filter(l=>l));return xy(r,i(a))}}const U2=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Lo(...t){const e=t.reduce((n,s)=>n+s.source,"");return RegExp(`^${e}$`)}function $o(...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 Fo(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 j2(...t){return(e,n)=>{const s={};let i;for(i=0;i<t.length;i++)s[t[i]]=Di(e[n+i]);return[s,null,n+i]}}const B2=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,uR=`(?:${B2.source}?(?:\\[(${U2.source})\\])?)?`,Yp=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,W2=RegExp(`${Yp.source}${uR}`),Zp=RegExp(`(?:T${W2.source})?`),dR=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,fR=/(\d{4})-?W(\d\d)(?:-?(\d))?/,hR=/(\d{4})-?(\d{3})/,pR=j2("weekYear","weekNumber","weekDay"),mR=j2("year","ordinal"),gR=/(\d{4})-(\d\d)-(\d\d)/,G2=RegExp(`${Yp.source} ?(?:${B2.source}|(${U2.source}))?`),yR=RegExp(`(?: ${G2.source})?`);function uo(t,e,n){const s=t[e];return Rt(s)?n:Di(s)}function bR(t,e){return[{year:uo(t,e),month:uo(t,e+1,1),day:uo(t,e+2,1)},null,e+3]}function Vo(t,e){return[{hours:uo(t,e,0),minutes:uo(t,e+1,0),seconds:uo(t,e+2,0),milliseconds:Kp(t[e+3])},null,e+4]}function hl(t,e){const n=!t[e]&&!t[e+1],s=cd(t[e+1],t[e+2]),i=n?null:On.instance(s);return[{},i,e+3]}function pl(t,e){const n=t[e]?di.create(t[e]):null;return[{},n,e+1]}const vR=RegExp(`^T?${Yp.source}$`),_R=/^-?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 SR(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(sr(n)),months:f(sr(s)),weeks:f(sr(i)),days:f(sr(r)),hours:f(sr(o)),minutes:f(sr(a)),seconds:f(sr(l),l==="-0"),milliseconds:f(Kp(c),d)}]}const ER={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Jp(t,e,n,s,i,r,o){const a={year:e.length===2?hh(Di(e)):Di(e),month:R2.indexOf(n)+1,day:Di(s),hour:Di(i),minute:Di(r)};return o&&(a.second=Di(o)),t&&(a.weekday=t.length>3?L2.indexOf(t)+1:$2.indexOf(t)+1),a}const wR=/^(?:(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 kR(t){const[,e,n,s,i,r,o,a,l,c,u,d]=t,f=Jp(e,i,s,n,r,o,a);let h;return l?h=ER[l]:c?h=0:h=cd(u,d),[f,new On(h)]}function TR(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const CR=/^(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$/,AR=/^(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$/,OR=/^(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 Iy(t){const[,e,n,s,i,r,o,a]=t;return[Jp(e,i,s,n,r,o,a),On.utcInstance]}function xR(t){const[,e,n,s,i,r,o,a]=t;return[Jp(e,a,n,s,i,r,o),On.utcInstance]}const IR=Lo(dR,Zp),NR=Lo(fR,Zp),PR=Lo(hR,Zp),DR=Lo(W2),q2=$o(bR,Vo,hl,pl),RR=$o(pR,Vo,hl,pl),MR=$o(mR,Vo,hl,pl),LR=$o(Vo,hl,pl);function $R(t){return Fo(t,[IR,q2],[NR,RR],[PR,MR],[DR,LR])}function FR(t){return Fo(TR(t),[wR,kR])}function VR(t){return Fo(t,[CR,Iy],[AR,Iy],[OR,xR])}function HR(t){return Fo(t,[_R,SR])}const UR=$o(Vo);function jR(t){return Fo(t,[vR,UR])}const BR=Lo(gR,yR),WR=Lo(G2),GR=$o(Vo,hl,pl);function qR(t){return Fo(t,[BR,q2],[WR,GR])}const Ny="Invalid Duration",z2={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},zR={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...z2},ns=146097/400,Ur=146097/4800,KR={years:{quarters:4,months:12,weeks:ns/7,days:ns,hours:ns*24,minutes:ns*24*60,seconds:ns*24*60*60,milliseconds:ns*24*60*60*1e3},quarters:{months:3,weeks:ns/28,days:ns/4,hours:ns*24/4,minutes:ns*24*60/4,seconds:ns*24*60*60/4,milliseconds:ns*24*60*60*1e3/4},months:{weeks:Ur/7,days:Ur,hours:Ur*24,minutes:Ur*24*60,seconds:Ur*24*60*60,milliseconds:Ur*24*60*60*1e3},...z2},dr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],XR=dr.slice(0).reverse();function wi(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 K2(t,e){let n=e.milliseconds??0;for(const s of XR.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function Py(t,e){const n=K2(t,e)<0?-1:1;dr.reduceRight((s,i)=>{if(Rt(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),dr.reduce((s,i)=>{if(Rt(e[i]))return s;if(s){const r=e[s]%1;e[s]-=r,e[i]+=r*t[s][i]}return i},null)}function YR(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?KR:zR;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 un(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new te({values:Yc(e,te.normalizeUnit),loc:be.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(ji(e))return te.fromMillis(e);if(te.isDuration(e))return e;if(typeof e=="object")return te.fromObject(e);throw new un(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[s]=HR(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]=jR(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 un("need to specify a reason the Duration is invalid");const s=e instanceof Es?e:new Es(e,n);if(Le.throwOnInvalid)throw new _D(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 i2(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?gn.create(this.loc,s).formatDurationFromString(this,e):Ny}toHuman(e={}){if(!this.isValid)return Ny;const n=dr.map(s=>{const i=this.values[s];return Rt(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(i)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Xp(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?K2(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 dr)(To(n.values,i)||To(this.values,i))&&(s[i]=n.get(i)+this.get(i));return wi(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]=D2(e(this.values[s],s));return wi(this,{values:n},!0)}get(e){return this[te.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...Yc(e,te.normalizeUnit)};return wi(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 wi(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Py(this.matrix,e),wi(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=YR(this.normalize().shiftToAll().toObject());return wi(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 dr)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;ji(i[o])&&(a+=i[o]);const l=Math.trunc(a);n[o]=l,s[o]=(a*1e3-l*1e3)/1e3}else ji(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 Py(this.matrix,n),wi(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 wi(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 dr)if(!n(this.values[s],e.values[s]))return!1;return!0}}const jr="Invalid Interval";function ZR(t,e){return!t||!t.isValid?Me.invalid("missing or invalid start"):!e||!e.isValid?Me.invalid("missing or invalid end"):e<t?Me.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 Me{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 un("need to specify a reason the Interval is invalid");const s=e instanceof Es?e:new Es(e,n);if(Le.throwOnInvalid)throw new vD(s);return new Me({invalid:s})}static fromDateTimes(e,n){const s=zo(e),i=zo(n),r=ZR(s,i);return r??new Me({start:s,end:i})}static after(e,n){const s=te.fromDurationLike(n),i=zo(e);return Me.fromDateTimes(i,i.plus(s))}static before(e,n){const s=te.fromDurationLike(n),i=zo(e);return Me.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 Me.fromDateTimes(r,a);if(o){const c=te.fromISO(i,n);if(c.isValid)return Me.after(r,c)}else if(l){const c=te.fromISO(s,n);if(c.isValid)return Me.before(a,c)}}return Me.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 isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const s=this.start.startOf(e,n);let i;return n!=null&&n.useLocaleWeeks?i=this.end.reconfigure({locale:s.locale}):i=this.end,i=i.startOf(e,n),Math.floor(i.diff(s,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?Me.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(zo).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(Me.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(Me.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:Me.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 Me.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(Me.fromDateTimes(n,l.time)),n=null);return Me.merge(i)}difference(...e){return Me.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:jr}[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=zc,n={}){return this.isValid?gn.create(this.s.loc.clone(n),e).formatInterval(this):jr}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:jr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:jr}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:jr}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:jr}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):te.invalid(this.invalidReason)}mapEndpoints(e){return Me.fromDateTimes(e(this.s),e(this.e))}}class Ll{static hasDST(e=Le.defaultZone){const n=Ot.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return di.isValidZone(e)}static normalizeZone(e){return Li(e,Le.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:I2(),localeWeek:N2()}}}function Dy(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 JR(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=Dy(l,c);return(u-u%7)/7}],["days",Dy]],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 QR(t,e,n,s){let[i,r,o,a]=JR(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 tM="missing Intl.DateTimeFormat.formatToParts support";function fe(t,e=n=>n){return{regex:t,deser:([n])=>e(BD(n))}}const eM=" ",X2=`[ ${eM}]`,Y2=new RegExp(X2,"g");function nM(t){return t.replace(/\./g,"\\.?").replace(Y2,X2)}function Ry(t){return t.replace(/\./g,"").replace(Y2," ").toLowerCase()}function ms(t,e){return t===null?null:{regex:RegExp(t.map(nM).join("|")),deser:([n])=>t.findIndex(s=>Ry(n)===Ry(s))+e}}function My(t,e){return{regex:t,deser:([,n,s])=>cd(n,s),groups:e}}function $l(t){return{regex:t,deser:([e])=>e}}function sM(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function iM(t,e){const n=ps(e),s=ps(e,"{2}"),i=ps(e,"{3}"),r=ps(e,"{4}"),o=ps(e,"{6}"),a=ps(e,"{1,2}"),l=ps(e,"{1,3}"),c=ps(e,"{1,6}"),u=ps(e,"{1,9}"),d=ps(e,"{2,4}"),f=ps(e,"{4,6}"),h=b=>({regex:RegExp(sM(b.val)),deser:([y])=>y,literal:!0}),m=(b=>{if(t.literal)return h(b);switch(b.val){case"G":return ms(e.eras("short"),0);case"GG":return ms(e.eras("long"),0);case"y":return fe(c);case"yy":return fe(d,hh);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 ms(e.months("short",!0),1);case"MMMM":return ms(e.months("long",!0),1);case"L":return fe(a);case"LL":return fe(s);case"LLL":return ms(e.months("short",!1),1);case"LLLL":return ms(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 $l(u);case"uu":return $l(a);case"uuu":return fe(n);case"a":return ms(e.meridiems(),0);case"kkkk":return fe(r);case"kk":return fe(d,hh);case"W":return fe(a);case"WW":return fe(s);case"E":case"c":return fe(n);case"EEE":return ms(e.weekdays("short",!1),1);case"EEEE":return ms(e.weekdays("long",!1),1);case"ccc":return ms(e.weekdays("short",!0),1);case"cccc":return ms(e.weekdays("long",!0),1);case"Z":case"ZZ":return My(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return My(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return $l(/[a-z_+-/]{1,256}?/i);case" ":return $l(/[^\S\n\r]/);default:return h(b)}})(t)||{invalidReason:tM};return m.token=t,m}const rM={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 oM(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=rM[o];if(typeof a=="object"&&(a=a[r]),a)return{literal:!1,val:a}}function aM(t){return[`^${t.map(n=>n.regex).reduce((n,s)=>`${n}(${s.source})`,"")}$`,t]}function lM(t,e,n){const s=t.match(e);if(s){const i={};let r=1;for(const o in n)if(To(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 cM(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 Rt(t.z)||(n=di.create(t.z)),Rt(t.Z)||(n||(n=new On(t.Z)),s=t.Z),Rt(t.q)||(t.M=(t.q-1)*3+1),Rt(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),Rt(t.u)||(t.S=Kp(t.u)),[Object.keys(t).reduce((r,o)=>{const a=e(o);return a&&(r[a]=t[o]),r},{}),n,s]}let zd=null;function uM(){return zd||(zd=Ot.fromMillis(1555555555555)),zd}function dM(t,e){if(t.literal)return t;const n=gn.macroTokenToFormatOpts(t.val),s=tS(n,e);return s==null||s.includes(void 0)?t:s}function Z2(t,e){return Array.prototype.concat(...t.map(n=>dM(n,e)))}class J2{constructor(e,n){if(this.locale=e,this.format=n,this.tokens=Z2(gn.parseFormat(n),e),this.units=this.tokens.map(s=>iM(s,e)),this.disqualifyingUnit=this.units.find(s=>s.invalidReason),!this.disqualifyingUnit){const[s,i]=aM(this.units);this.regex=RegExp(s,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){const[n,s]=lM(e,this.regex,this.handlers),[i,r,o]=s?cM(s):[null,null,void 0];if(To(s,"a")&&To(s,"H"))throw new io("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 Q2(t,e,n){return new J2(t,n).explainFromTokens(e)}function fM(t,e,n){const{result:s,zone:i,specificOffset:r,invalidReason:o}=Q2(t,e,n);return[s,i,r,o]}function tS(t,e){if(!t)return null;const s=gn.create(e,t).dtFormatter(uM()),i=s.formatToParts(),r=s.resolvedOptions();return i.map(o=>oM(o,t,r))}const Kd="Invalid DateTime",hM=864e13;function ea(t){return new Es("unsupported zone",`the zone "${t.name}" is not supported`)}function Xd(t){return t.weekData===null&&(t.weekData=Kc(t.c)),t.weekData}function Yd(t){return t.localWeekData===null&&(t.localWeekData=Kc(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function ir(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 eS(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 Fl(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function fc(t,e,n){return eS(ld(t),e,n)}function Ly(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,Xc(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=ld(r);let[l,c]=eS(a,n,t.zone);return o!==0&&(l+=o,c=t.zone.offset(l)),{ts:l,o:c}}function Br(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 Es("unparsable",`the input "${i}" can't be parsed as ${s}`))}function Vl(t,e,n=!0){return t.isValid?gn.create(be.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zd(t,e){const n=t.c.year>9999||t.c.year<0;let s="";return n&&t.c.year>=0&&(s+="+"),s+=Be(t.c.year,n?6:4),e?(s+="-",s+=Be(t.c.month),s+="-",s+=Be(t.c.day)):(s+=Be(t.c.month),s+=Be(t.c.day)),s}function $y(t,e,n,s,i,r){let o=Be(t.c.hour);return e?(o+=":",o+=Be(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(o+=":")):o+=Be(t.c.minute),(t.c.millisecond!==0||t.c.second!==0||!n)&&(o+=Be(t.c.second),(t.c.millisecond!==0||!s)&&(o+=".",o+=Be(t.c.millisecond,3))),i&&(t.isOffsetFixed&&t.offset===0&&!r?o+="Z":t.o<0?(o+="-",o+=Be(Math.trunc(-t.o/60)),o+=":",o+=Be(Math.trunc(-t.o%60))):(o+="+",o+=Be(Math.trunc(t.o/60)),o+=":",o+=Be(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const nS={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},pM={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},mM={ordinal:1,hour:0,minute:0,second:0,millisecond:0},sS=["year","month","day","hour","minute","second","millisecond"],gM=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],yM=["year","ordinal","hour","minute","second","millisecond"];function bM(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 i2(t);return e}function Fy(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return bM(t)}}function vM(t){return pc[t]||(hc===void 0&&(hc=Le.now()),pc[t]=t.offset(hc)),pc[t]}function Vy(t,e){const n=Li(e.zone,Le.defaultZone);if(!n.isValid)return Ot.invalid(ea(n));const s=be.fromObject(e);let i,r;if(Rt(t.year))i=Le.now();else{for(const l of sS)Rt(t[l])&&(t[l]=nS[l]);const o=O2(t)||x2(t);if(o)return Ot.invalid(o);const a=vM(n);[i,r]=fc(t,a,n)}return new Ot({ts:i,zone:n,loc:s,o:r})}function Hy(t,e,n){const s=Rt(n.round)?!0:n.round,i=(o,a)=>(o=Xp(o,s||n.calendary?0:2,!0),e.loc.clone(n).relFormatter(n).format(o,a)),r=o=>n.calendary?e.hasSame(t,o)?0:e.startOf(o).diff(t.startOf(o),o).get(o):e.diff(t,o).get(o);if(n.unit)return i(r(n.unit),n.unit);for(const o of n.units){const a=r(o);if(Math.abs(a)>=1)return i(a,o)}return i(t>e?-0:0,n.units[n.units.length-1])}function Uy(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 hc,pc={};class Ot{constructor(e){const n=e.zone||Le.defaultZone;let s=e.invalid||(Number.isNaN(e.ts)?new Es("invalid input"):null)||(n.isValid?null:ea(n));this.ts=Rt(e.ts)?Le.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=ji(e.o)&&!e.old?e.o:n.offset(this.ts);i=Fl(this.ts,a),s=Number.isNaN(i.year)?new Es("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]=Uy(arguments),[s,i,r,o,a,l,c]=n;return Vy({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static utc(){const[e,n]=Uy(arguments),[s,i,r,o,a,l,c]=n;return e.zone=On.utcInstance,Vy({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,n={}){const s=KD(e)?e.valueOf():NaN;if(Number.isNaN(s))return Ot.invalid("invalid input");const i=Li(n.zone,Le.defaultZone);return i.isValid?new Ot({ts:s,zone:i,loc:be.fromObject(n)}):Ot.invalid(ea(i))}static fromMillis(e,n={}){if(ji(e))return e<-864e13||e>hM?Ot.invalid("Timestamp out of range"):new Ot({ts:e,zone:Li(n.zone,Le.defaultZone),loc:be.fromObject(n)});throw new un(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(ji(e))return new Ot({ts:e*1e3,zone:Li(n.zone,Le.defaultZone),loc:be.fromObject(n)});throw new un("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const s=Li(n.zone,Le.defaultZone);if(!s.isValid)return Ot.invalid(ea(s));const i=be.fromObject(n),r=Yc(e,Fy),{minDaysInFirstWeek:o,startOfWeek:a}=Cy(r,i),l=Le.now(),c=Rt(n.specificOffset)?s.offset(l):n.specificOffset,u=!Rt(r.ordinal),d=!Rt(r.year),f=!Rt(r.month)||!Rt(r.day),h=d||f,p=r.weekYear||r.weekNumber;if((h||u)&&p)throw new io("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new io("Can't mix ordinal dates with month/day");const m=p||r.weekday&&!h;let b,y,_=Fl(l,c);m?(b=gM,y=pM,_=Kc(_,o,a)):u?(b=yM,y=mM,_=qd(_)):(b=sS,y=nS);let g=!1;for(const R of b){const j=r[R];Rt(j)?g?r[R]=y[R]:r[R]=_[R]:g=!0}const v=m?GD(r,o,a):u?qD(r):O2(r),S=v||x2(r);if(S)return Ot.invalid(S);const k=m?ky(r,o,a):u?Ty(r):r,[N,D]=fc(k,c,s),T=new Ot({ts:N,zone:s,o:D,loc:i});return r.weekday&&h&&e.weekday!==T.weekday?Ot.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${T.toISO()}`):T.isValid?T:Ot.invalid(T.invalid)}static fromISO(e,n={}){const[s,i]=$R(e);return Br(s,i,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[s,i]=FR(e);return Br(s,i,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[s,i]=VR(e);return Br(s,i,n,"HTTP",n)}static fromFormat(e,n,s={}){if(Rt(e)||Rt(n))throw new un("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]=fM(o,e,n);return u?Ot.invalid(u):Br(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]=qR(e);return Br(s,i,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new un("need to specify a reason the DateTime is invalid");const s=e instanceof Es?e:new Es(e,n);if(Le.throwOnInvalid)throw new bD(s);return new Ot({invalid:s})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const s=tS(e,be.fromObject(n));return s?s.map(i=>i?i.val:null).join(""):null}static expandFormat(e,n={}){return Z2(gn.parseFormat(e),be.fromObject(n)).map(i=>i.val).join("")}static resetCache(){hc=void 0,pc={}}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?Xd(this).weekYear:NaN}get weekNumber(){return this.isValid?Xd(this).weekNumber:NaN}get weekday(){return this.isValid?Xd(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Yd(this).weekday:NaN}get localWeekNumber(){return this.isValid?Yd(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Yd(this).weekYear:NaN}get ordinal(){return this.isValid?qd(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ll.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ll.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ll.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ll.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=ld(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=Fl(l,o),d=Fl(c,a);return u.hour===d.hour&&u.minute===d.minute&&u.second===d.second&&u.millisecond===d.millisecond?[ir(this,{ts:l}),ir(this,{ts:c})]:[this]}get isInLeapYear(){return fl(this.year)}get daysInMonth(){return Xc(this.year,this.month)}get daysInYear(){return this.isValid?co(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ga(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ga(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:s,calendar:i}=gn.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:s,outputCalendar:i}}toUTC(e=0,n={}){return this.setZone(On.instance(e),n)}toLocal(){return this.setZone(Le.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:s=!1}={}){if(e=Li(e,Le.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(n||s){const r=e.offset(this.ts),o=this.toObject();[i]=fc(o,r,e)}return ir(this,{ts:i,zone:e})}else return Ot.invalid(ea(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:s}={}){const i=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:s});return ir(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=Yc(e,Fy),{minDaysInFirstWeek:s,startOfWeek:i}=Cy(n,this.loc),r=!Rt(n.weekYear)||!Rt(n.weekNumber)||!Rt(n.weekday),o=!Rt(n.ordinal),a=!Rt(n.year),l=!Rt(n.month)||!Rt(n.day),c=a||l,u=n.weekYear||n.weekNumber;if((c||o)&&u)throw new io("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new io("Can't mix ordinal dates with month/day");let d;r?d=ky({...Kc(this.c,s,i),...n},s,i):Rt(n.ordinal)?(d={...this.toObject(),...n},Rt(n.day)&&(d.day=Math.min(Xc(d.year,d.month),d.day))):d=Ty({...qd(this.c),...n});const[f,h]=fc(d,this.o,this.zone);return ir(this,{ts:f,o:h})}plus(e){if(!this.isValid)return this;const n=te.fromDurationLike(e);return ir(this,Ly(this,n))}minus(e){if(!this.isValid)return this;const n=te.fromDurationLike(e).negate();return ir(this,Ly(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?gn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):Kd}toLocaleString(e=zc,n={}){return this.isValid?gn.create(this.loc.clone(n),e).formatDateTime(this):Kd}toLocaleParts(e={}){return this.isValid?gn.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:s=!1,includeOffset:i=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const o=e==="extended";let a=Zd(this,o);return a+="T",a+=$y(this,o,n,s,i,r),a}toISODate({format:e="extended"}={}){return this.isValid?Zd(this,e==="extended"):null}toISOWeekDate(){return Vl(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:s=!0,includePrefix:i=!1,extendedZone:r=!1,format:o="extended"}={}){return this.isValid?(i?"T":"")+$y(this,o==="extended",n,e,s,r):null}toRFC2822(){return Vl(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Vl(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Zd(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")),Vl(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Kd}[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=QR(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?Me.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),Hy(n,this.plus(s),{...e,numeric:"always",units:i,unit:r})}toRelativeCalendar(e={}){return this.isValid?Hy(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 un("min requires all arguments be DateTimes");return Ay(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(Ot.isDateTime))throw new un("max requires all arguments be DateTimes");return Ay(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 Q2(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 J2(r,e)}static fromFormatParser(e,n,s={}){if(Rt(e)||Rt(n))throw new un("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 un(`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):Br(a,l,s,`format ${n.format}`,e,c)}static get DATE_SHORT(){return zc}static get DATE_MED(){return r2}static get DATE_MED_WITH_WEEKDAY(){return SD}static get DATE_FULL(){return o2}static get DATE_HUGE(){return a2}static get TIME_SIMPLE(){return l2}static get TIME_WITH_SECONDS(){return c2}static get TIME_WITH_SHORT_OFFSET(){return u2}static get TIME_WITH_LONG_OFFSET(){return d2}static get TIME_24_SIMPLE(){return f2}static get TIME_24_WITH_SECONDS(){return h2}static get TIME_24_WITH_SHORT_OFFSET(){return p2}static get TIME_24_WITH_LONG_OFFSET(){return m2}static get DATETIME_SHORT(){return g2}static get DATETIME_SHORT_WITH_SECONDS(){return y2}static get DATETIME_MED(){return b2}static get DATETIME_MED_WITH_SECONDS(){return v2}static get DATETIME_MED_WITH_WEEKDAY(){return ED}static get DATETIME_FULL(){return _2}static get DATETIME_FULL_WITH_SECONDS(){return S2}static get DATETIME_HUGE(){return E2}static get DATETIME_HUGE_WITH_SECONDS(){return w2}}function zo(t){if(Ot.isDateTime(t))return t;if(t&&t.valueOf&&ji(t.valueOf()))return Ot.fromJSDate(t);if(t&&typeof t=="object")return Ot.fromObject(t);throw new un(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const{locale:Hl}=rl.global,jy=["years","months","days","hours","minutes"],_M={toDate(t){return t?Ot.fromISO(t,{locale:Hl.value}).toLocaleString(Ot.DATE_FULL):null},toDateTime(t){return t?Ot.fromISO(t,{locale:Hl.value}).toLocaleString(Ot.DATETIME_MED):null},toDuration(t){const e=te.fromObject({minutes:Math.floor(t/60)}).shiftTo(...jy),n=Object.fromEntries(Object.entries(e.toObject()).filter(([s,i])=>i>0));return te.fromObject(n,{locale:Hl.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:Hl.value,unit:jy})},toTimecode(t){return te.fromMillis(t).toFormat("h:mm:ss").replace(/^0:/u,"")}};var SM="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",EM="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",wM="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",kM="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",TM="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",CM="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",AM="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",OM="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",xM="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",IM="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",NM="M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z",PM="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",DM="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",RM="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",MM="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",LM="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",$M="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",FM="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",VM="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",HM="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",UM="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",jM="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",BM="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",WM="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",GM="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",qM="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",zM="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",XM="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",YM="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",ZM="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",JM="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",QM="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",tL="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",eL="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",nL="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",sL="M14,19H18V5H14M6,19H10V5H6V19Z",iL="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",rL="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",oL="M8,5.14V19.14L19,12.14L8,5.14Z",aL="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",lL="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",cL="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",uL="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",dL="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",fL="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",hL="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",pL="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",mL="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",gL="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",yL="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",bL="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",vL="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",_L="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",SL="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",EL="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",wL="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",kL="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",TL="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",CL="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",AL="M18,18H6V6H18V18Z",OL="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",xL="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",IL="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 NL={mdiAccountMusic:SM,mdiAlbum:EM,mdiBookOpenPageVariant:kM,mdiBookOpenVariant:TM,mdiBookshelf:CM,mdiBroadcast:AM,mdiCancel:OM,mdiCast:xM,mdiCastVariant:IM,mdiCellphone:NM,mdiCheck:PM,mdiChevronDown:DM,mdiChevronLeft:RM,mdiChevronUp:MM,mdiClose:LM,mdiDelete:$M,mdiDeleteEmpty:FM,mdiDotsHorizontal:VM,mdiDotsVertical:HM,mdiDownload:UM,mdiDragHorizontal:jM,mdiEyeOffOutline:BM,mdiFastForward30:WM,mdiFileMusicOutline:GM,mdiFire:qM,mdiFolder:zM,mdiFolderOpen:KM,mdiHistory:XM,mdiLoading:YM,mdiMagnify:ZM,mdiMenu:JM,mdiMicrophone:QM,mdiMusic:tL,mdiMusicBoxMultiple:eL,mdiOpenInNew:nL,mdiPause:sL,mdiPencil:iL,mdiPipe:rL,mdiPlay:oL,mdiPlaylistMusic:aL,mdiPlaylistPlay:lL,mdiPlaylistPlus:cL,mdiRadio:uL,mdiRadioTower:dL,mdiRefresh:fL,mdiRepeat:hL,mdiRepeatOff:pL,mdiRepeatOnce:mL,mdiRewind10:gL,mdiRss:yL,mdiScriptTextOutline:bL,mdiScriptTextPlay:vL,mdiServer:_L,mdiShuffle:SL,mdiShuffleDisabled:EL,mdiSkipBackward:wL,mdiSkipForward:kL,mdiSpeaker:TL,mdiSpotify:CL,mdiStop:AL,mdiVolumeHigh:OL,mdiVolumeOff:xL,mdiWeb:IL},PL={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}},DL=t=>t.charAt(0).toUpperCase()+t.slice(1),RL=t=>t.split("-").map(DL).join(""),ML=(t,e,n)=>{const s=t[`mdi${RL(e.name)}`]||wM,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}}},LL=(t,e)=>({[e.staticClass||""]:!0,[e.class||""]:!0,[`mdi mdi-${t.name}`]:!0,"mdi-spin":t.spin===!0}),$L=(t,e={})=>({install(n,{icons:s}){if(s===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:PL,...e,render:t(s)})}}),FL=t=>function(){const{spanAttrs:n,svgAttrs:s,pathAttrs:i}=ML(t,this,this.$attrs);return $s("span",{...n,class:LL(this,this)},[$s("svg",s,[this.title?$s("title",[this.title]):void 0,$s("path",i)])])},VL=$L(FL);/*!
|
||
* vue-router v4.5.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Jr=typeof document<"u";function iS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function HL(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&iS(t.default)}const ye=Object.assign;function Jd(t,e){const n={};for(const s in e){const i=e[s];n[s]=Cs(i)?i.map(t):t(i)}return n}const ga=()=>{},Cs=Array.isArray,rS=/#/g,UL=/&/g,jL=/\//g,BL=/=/g,WL=/\?/g,oS=/\+/g,GL=/%5B/g,qL=/%5D/g,aS=/%5E/g,zL=/%60/g,lS=/%7B/g,KL=/%7C/g,cS=/%7D/g,XL=/%20/g;function Qp(t){return encodeURI(""+t).replace(KL,"|").replace(GL,"[").replace(qL,"]")}function YL(t){return Qp(t).replace(lS,"{").replace(cS,"}").replace(aS,"^")}function ph(t){return Qp(t).replace(oS,"%2B").replace(XL,"+").replace(rS,"%23").replace(UL,"%26").replace(zL,"`").replace(lS,"{").replace(cS,"}").replace(aS,"^")}function ZL(t){return ph(t).replace(BL,"%3D")}function JL(t){return Qp(t).replace(rS,"%23").replace(WL,"%3F")}function QL(t){return t==null?"":JL(t).replace(jL,"%2F")}function qa(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const t4=/\/$/,e4=t=>t.replace(t4,"");function Qd(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=r4(s??e,n),{fullPath:s+(r&&"?")+r+o,path:s,query:i,hash:qa(o)}}function n4(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function By(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function s4(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&Co(e.matched[s],n.matched[i])&&uS(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Co(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function uS(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!i4(t[n],e[n]))return!1;return!0}function i4(t,e){return Cs(t)?Wy(t,e):Cs(e)?Wy(e,t):t===e}function Wy(t,e){return Cs(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function r4(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 ki={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var za;(function(t){t.pop="pop",t.push="push"})(za||(za={}));var ya;(function(t){t.back="back",t.forward="forward",t.unknown=""})(ya||(ya={}));function o4(t){if(!t)if(Jr){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),e4(t)}const a4=/^[^#]+#/;function l4(t,e){return t.replace(a4,"#")+e}function c4(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 dd=()=>({left:window.scrollX,top:window.scrollY});function u4(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=c4(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 Gy(t,e){return(history.state?history.state.position-e:-1)+t}const mh=new Map;function d4(t,e){mh.set(t,e)}function f4(t){const e=mh.get(t);return mh.delete(t),e}let h4=()=>location.protocol+"//"+location.host;function dS(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),By(l,"")}return By(n,t)+s+i}function p4(t,e,n,s){let i=[],r=[],o=null;const a=({state:f})=>{const h=dS(t,location),p=n.value,m=e.value;let b=0;if(f){if(n.value=h,e.value=f,o&&o===p){o=null;return}b=m?f.position-m.position:0}else s(h);i.forEach(y=>{y(n.value,p,{delta:b,type:za.pop,direction:b?b>0?ya.forward:ya.back:ya.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:dd()}),"")}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 qy(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?dd():null}}function m4(t){const{history:e,location:n}=window,s={value:dS(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:h4()+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,qy(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:dd()});r(u.current,u,!0);const d=ye({},qy(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 g4(t){t=o4(t);const e=m4(t),n=p4(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:l4.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 y4(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),g4(t)}function b4(t){return typeof t=="string"||t&&typeof t=="object"}function fS(t){return typeof t=="string"||typeof t=="symbol"}const hS=Symbol("");var zy;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(zy||(zy={}));function Ao(t,e){return ye(new Error,{type:t,[hS]:!0},e)}function Ks(t,e){return t instanceof Error&&hS in t&&(e==null||!!(t.type&e))}const Ky="[^/]+?",v4={sensitive:!1,strict:!1,start:!0,end:!0},_4=/[.+*?^${}()[\]/\\]/g;function S4(t,e){const n=ye({},v4,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(_4,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:m,optional:b,regexp:y}=f;r.push({name:p,repeatable:m,optional:b});const _=y||Ky;if(_!==Ky){h+=10;try{new RegExp(`(${_})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+v.message)}}let g=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;d||(g=b&&c.length<2?`(?:/${g})`:"/"+g),b&&(g+="?"),i+=g,h+=20,b&&(h+=-8),m&&(h+=-20),_===".*"&&(h+=-50)}u.push(h)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&!i.endsWith("/")&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(c){const u=c.match(o),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",p=r[f-1];d[p.name]=h&&p.repeatable?h.split("/"):h}return d}function l(c){let u="",d=!1;for(const f of t){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:m,optional:b}=h,y=p in c?c[p]:"";if(Cs(y)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=Cs(y)?y.join("/"):y;if(!_)if(b)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${p}"`);u+=_}}return u||"/"}return{re:o,score:s,keys:r,parse:a,stringify:l}}function E4(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 pS(t,e){let n=0;const s=t.score,i=e.score;for(;n<s.length&&n<i.length;){const r=E4(s[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-s.length)===1){if(Xy(s))return 1;if(Xy(i))return-1}return i.length-s.length}function Xy(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const w4={type:0,value:""},k4=/[a-zA-Z0-9_]/;function T4(t){if(!t)return[[]];if(t==="/")return[[w4]];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:k4.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 C4(t,e,n){const s=S4(T4(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 A4(t,e){const n=[],s=new Map;e=Qy({strict:!1,end:!0,sensitive:!1},e);function i(d){return s.get(d)}function r(d,f,h){const p=!h,m=Zy(d);m.aliasOf=h&&h.record;const b=Qy(e,d),y=[m];if("alias"in d){const v=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of v)y.push(Zy(ye({},m,{components:h?h.record.components:m.components,path:S,aliasOf:h?h.record:m})))}let _,g;for(const v of y){const{path:S}=v;if(f&&S[0]!=="/"){const k=f.record.path,N=k[k.length-1]==="/"?"":"/";v.path=f.record.path+(S&&N+S)}if(_=C4(v,f,b),h?h.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),p&&d.name&&!Jy(_)&&o(d.name)),mS(_)&&l(_),m.children){const k=m.children;for(let N=0;N<k.length;N++)r(k[N],_,h&&h.children[N])}h=h||_}return g?()=>{o(g)}:ga}function o(d){if(fS(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=I4(d,n);n.splice(f,0,d),d.record.name&&!Jy(d)&&s.set(d.record.name,d)}function c(d,f){let h,p={},m,b;if("name"in d&&d.name){if(h=s.get(d.name),!h)throw Ao(1,{location:d});b=h.record.name,p=ye(Yy(f.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&Yy(d.params,h.keys.map(g=>g.name))),m=h.stringify(p)}else if(d.path!=null)m=d.path,h=n.find(g=>g.re.test(m)),h&&(p=h.parse(m),b=h.record.name);else{if(h=f.name?s.get(f.name):n.find(g=>g.re.test(f.path)),!h)throw Ao(1,{location:d,currentLocation:f});b=h.record.name,p=ye({},f.params,d.params),m=h.stringify(p)}const y=[];let _=h;for(;_;)y.unshift(_.record),_=_.parent;return{name:b,path:m,params:p,matched:y,meta:x4(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 Yy(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function Zy(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:O4(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 O4(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 Jy(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function x4(t){return t.reduce((e,n)=>ye(e,n.meta),{})}function Qy(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function I4(t,e){let n=0,s=e.length;for(;n!==s;){const r=n+s>>1;pS(t,e[r])<0?s=r:n=r+1}const i=N4(t);return i&&(s=e.lastIndexOf(i,s-1)),s}function N4(t){let e=t;for(;e=e.parent;)if(mS(e)&&pS(t,e)===0)return e}function mS({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function P4(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(oS," "),o=r.indexOf("="),a=qa(o<0?r:r.slice(0,o)),l=o<0?null:qa(r.slice(o+1));if(a in e){let c=e[a];Cs(c)||(c=e[a]=[c]),c.push(l)}else e[a]=l}return e}function tb(t){let e="";for(let n in t){const s=t[n];if(n=ZL(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}(Cs(s)?s.map(r=>r&&ph(r)):[s&&ph(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function D4(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Cs(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const R4=Symbol(""),eb=Symbol(""),tm=Symbol(""),gS=Symbol(""),gh=Symbol("");function Ko(){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 Ri(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(Ao(4,{from:n,to:e})):f instanceof Error?l(f):b4(f)?l(Ao(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 tf(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(iS(l)){const u=(l.__vccOpts||l)[e];u&&r.push(Ri(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=HL(u)?u.default:u;o.mods[a]=u,o.components[a]=d;const h=(d.__vccOpts||d)[e];return h&&Ri(h,n,s,o,a,i)()}))}}return r}function nb(t){const e=ls(tm),n=ls(gS),s=Qe(()=>{const l=$n(t.to);return e.resolve(l)}),i=Qe(()=>{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(Co.bind(null,u));if(f>-1)return f;const h=sb(l[c-2]);return c>1&&sb(u)===h&&d[d.length-1].path!==h?d.findIndex(Co.bind(null,l[c-2])):f}),r=Qe(()=>i.value>-1&&V4(n.params,s.value.params)),o=Qe(()=>i.value>-1&&i.value===n.matched.length-1&&uS(n.params,s.value.params));function a(l={}){if(F4(l)){const c=e[$n(t.replace)?"replace":"push"]($n(t.to)).catch(ga);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:Qe(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}function M4(t){return t.length===1?t[0]:t}const L4=hi({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"}},useLink:nb,setup(t,{slots:e}){const n=xo(nb(t)),{options:s}=ls(tm),i=Qe(()=>({[ib(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ib(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&M4(e.default(n));return t.custom?r:$s("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),$4=L4;function F4(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 V4(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(!Cs(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function sb(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const ib=(t,e,n)=>t??e??n,H4=hi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=ls(gh),i=Qe(()=>t.route||s.value),r=ls(eb,0),o=Qe(()=>{let c=$n(r);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=Qe(()=>i.value.matched[o.value]);ua(eb,Qe(()=>o.value+1)),ua(R4,a),ua(gh,i);const l=as();return Xn(()=>[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||!Co(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 rb(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,b=$s(f,ye({},p,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return rb(n.default,{Component:b,route:c})||b}}});function rb(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const U4=H4;function j4(t){const e=A4(t.routes,t),n=t.parseQuery||P4,s=t.stringifyQuery||tb,i=t.history,r=Ko(),o=Ko(),a=Ko(),l=bu(ki);let c=ki;Jr&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Jd.bind(null,X=>""+X),d=Jd.bind(null,QL),f=Jd.bind(null,qa);function h(X,dt){let ct,bt;return fS(X)?(ct=e.getRecordMatcher(X),bt=dt):bt=X,e.addRoute(bt,ct)}function p(X){const dt=e.getRecordMatcher(X);dt&&e.removeRoute(dt)}function m(){return e.getRoutes().map(X=>X.record)}function b(X){return!!e.getRecordMatcher(X)}function y(X,dt){if(dt=ye({},dt||l.value),typeof X=="string"){const P=Qd(n,X,dt.path),W=e.resolve({path:P.path},dt),st=i.createHref(P.fullPath);return ye(P,W,{params:f(W.params),hash:qa(P.hash),redirectedFrom:void 0,href:st})}let ct;if(X.path!=null)ct=ye({},X,{path:Qd(n,X.path,dt.path).path});else{const P=ye({},X.params);for(const W in P)P[W]==null&&delete P[W];ct=ye({},X,{params:d(P)}),dt.params=d(dt.params)}const bt=e.resolve(ct,dt),Ut=X.hash||"";bt.params=u(f(bt.params));const Xt=n4(s,ye({},X,{hash:YL(Ut),path:bt.path})),O=i.createHref(Xt);return ye({fullPath:Xt,hash:Ut,query:s===tb?D4(X.query):X.query||{}},bt,{redirectedFrom:void 0,href:O})}function _(X){return typeof X=="string"?Qd(n,X,l.value.path):ye({},X)}function g(X,dt){if(c!==X)return Ao(8,{from:dt,to:X})}function v(X){return N(X)}function S(X){return v(ye(_(X),{replace:!0}))}function k(X){const dt=X.matched[X.matched.length-1];if(dt&&dt.redirect){const{redirect:ct}=dt;let bt=typeof ct=="function"?ct(X):ct;return typeof bt=="string"&&(bt=bt.includes("?")||bt.includes("#")?bt=_(bt):{path:bt},bt.params={}),ye({query:X.query,hash:X.hash,params:bt.path!=null?{}:X.params},bt)}}function N(X,dt){const ct=c=y(X),bt=l.value,Ut=X.state,Xt=X.force,O=X.replace===!0,P=k(ct);if(P)return N(ye(_(P),{state:typeof P=="object"?ye({},Ut,P.state):Ut,force:Xt,replace:O}),dt||ct);const W=ct;W.redirectedFrom=dt;let st;return!Xt&&s4(s,bt,ct)&&(st=Ao(16,{to:W,from:bt}),Ht(bt,bt,!0,!1)),(st?Promise.resolve(st):R(W,bt)).catch(Q=>Ks(Q)?Ks(Q,2)?Q:Kt(Q):at(Q,W,bt)).then(Q=>{if(Q){if(Ks(Q,2))return N(ye({replace:O},_(Q.to),{state:typeof Q.to=="object"?ye({},Ut,Q.to.state):Ut,force:Xt}),dt||W)}else Q=F(W,bt,!0,O,Ut);return j(W,bt,Q),Q})}function D(X,dt){const ct=g(X,dt);return ct?Promise.reject(ct):Promise.resolve()}function T(X){const dt=ve.values().next().value;return dt&&typeof dt.runWithContext=="function"?dt.runWithContext(X):X()}function R(X,dt){let ct;const[bt,Ut,Xt]=B4(X,dt);ct=tf(bt.reverse(),"beforeRouteLeave",X,dt);for(const P of bt)P.leaveGuards.forEach(W=>{ct.push(Ri(W,X,dt))});const O=D.bind(null,X,dt);return ct.push(O),Gt(ct).then(()=>{ct=[];for(const P of r.list())ct.push(Ri(P,X,dt));return ct.push(O),Gt(ct)}).then(()=>{ct=tf(Ut,"beforeRouteUpdate",X,dt);for(const P of Ut)P.updateGuards.forEach(W=>{ct.push(Ri(W,X,dt))});return ct.push(O),Gt(ct)}).then(()=>{ct=[];for(const P of Xt)if(P.beforeEnter)if(Cs(P.beforeEnter))for(const W of P.beforeEnter)ct.push(Ri(W,X,dt));else ct.push(Ri(P.beforeEnter,X,dt));return ct.push(O),Gt(ct)}).then(()=>(X.matched.forEach(P=>P.enterCallbacks={}),ct=tf(Xt,"beforeRouteEnter",X,dt,T),ct.push(O),Gt(ct))).then(()=>{ct=[];for(const P of o.list())ct.push(Ri(P,X,dt));return ct.push(O),Gt(ct)}).catch(P=>Ks(P,8)?P:Promise.reject(P))}function j(X,dt,ct){a.list().forEach(bt=>T(()=>bt(X,dt,ct)))}function F(X,dt,ct,bt,Ut){const Xt=g(X,dt);if(Xt)return Xt;const O=dt===ki,P=Jr?history.state:{};ct&&(bt||O?i.replace(X.fullPath,ye({scroll:O&&P&&P.scroll},Ut)):i.push(X.fullPath,Ut)),l.value=X,Ht(X,dt,ct,O),Kt()}let U;function Y(){U||(U=i.listen((X,dt,ct)=>{if(!Se.listening)return;const bt=y(X),Ut=k(bt);if(Ut){N(ye(Ut,{replace:!0,force:!0}),bt).catch(ga);return}c=bt;const Xt=l.value;Jr&&d4(Gy(Xt.fullPath,ct.delta),dd()),R(bt,Xt).catch(O=>Ks(O,12)?O:Ks(O,2)?(N(ye(_(O.to),{force:!0}),bt).then(P=>{Ks(P,20)&&!ct.delta&&ct.type===za.pop&&i.go(-1,!1)}).catch(ga),Promise.reject()):(ct.delta&&i.go(-ct.delta,!1),at(O,bt,Xt))).then(O=>{O=O||F(bt,Xt,!1),O&&(ct.delta&&!Ks(O,8)?i.go(-ct.delta,!1):ct.type===za.pop&&Ks(O,20)&&i.go(-1,!1)),j(bt,Xt,O)}).catch(ga)}))}let ot=Ko(),G=Ko(),et;function at(X,dt,ct){Kt(X);const bt=G.list();return bt.length?bt.forEach(Ut=>Ut(X,dt,ct)):console.error(X),Promise.reject(X)}function Tt(){return et&&l.value!==ki?Promise.resolve():new Promise((X,dt)=>{ot.add([X,dt])})}function Kt(X){return et||(et=!X,Y(),ot.list().forEach(([dt,ct])=>X?ct(X):dt()),ot.reset()),X}function Ht(X,dt,ct,bt){const{scrollBehavior:Ut}=t;if(!Jr||!Ut)return Promise.resolve();const Xt=!ct&&f4(Gy(X.fullPath,0))||(bt||!ct)&&history.state&&history.state.scroll||null;return Nr().then(()=>Ut(X,dt,Xt)).then(O=>O&&u4(O)).catch(O=>at(O,X,dt))}const Wt=X=>i.go(X);let ge;const ve=new Set,Se={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:b,getRoutes:m,resolve:y,options:t,push:v,replace:S,go:Wt,back:()=>Wt(-1),forward:()=>Wt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:G.add,isReady:Tt,install(X){const dt=this;X.component("RouterLink",$4),X.component("RouterView",U4),X.config.globalProperties.$router=dt,Object.defineProperty(X.config.globalProperties,"$route",{enumerable:!0,get:()=>$n(l)}),Jr&&!ge&&l.value===ki&&(ge=!0,v(i.location).catch(Ut=>{}));const ct={};for(const Ut in ki)Object.defineProperty(ct,Ut,{get:()=>l.value[Ut],enumerable:!0});X.provide(tm,dt),X.provide(gS,Mh(ct)),X.provide(gh,l);const bt=X.unmount;ve.add(X),X.unmount=function(){ve.delete(X),ve.size<1&&(c=ki,U&&U(),U=null,l.value=ki,ge=!1,et=!1),bt()}}};function Gt(X){return X.reduce((dt,ct)=>dt.then(()=>T(ct)),Promise.resolve())}return Se}function B4(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=>Co(c,a))?s.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>Co(c,l))||i.push(l))}return[n,s,i]}const W4={name:"ContentWithHeading",data(){return{hidden:!0}},computed:{icon(){return this.hidden?"chevron-down":"chevron-up"}}},G4={class:"container"},q4={class:"columns is-centered"},z4={class:"column is-four-fifths"},K4={key:0,class:"my-2"},X4={class:"buttons is-centered"},Y4={class:"level is-clipped"},Z4={class:"level-left is-flex-shrink-1"},J4={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},Q4={key:0,class:"level-right has-text-centered-mobile"},t$={class:"buttons"},e$={key:0,class:"is-flex is-justify-content-center mt-4"};function n$(t,e,n,s,i,r){const o=w("mdicon");return x(),$("section",{class:Vt(["section",{"pt-0":t.$slots.options}])},[C("div",G4,[C("div",q4,[C("div",z4,[t.$slots.options?(x(),$("div",K4,[C("div",{class:Vt([{"is-hidden":i.hidden},"mt-4"])},[de(t.$slots,"options")],2),C("div",X4,[C("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),C("div",null,[C("nav",Y4,[C("div",Z4,[C("div",J4,[C("div",null,[de(t.$slots,"heading")])])]),t.$slots.actions?(x(),$("div",Q4,[C("div",t$,[de(t.$slots,"actions")])])):_t("",!0)]),de(t.$slots,"content"),t.$slots.footer?(x(),$("div",e$,[de(t.$slots,"footer")])):_t("",!0)])])])])],2)}const se=it(W4,[["render",n$]]),s$={name:"ControlButton",props:{button:{required:!0,type:Object}}},i$=["disabled"],r$=["textContent"],o$=["textContent"];function a$(t,e,n,s,i,r){const o=w("mdicon");return x(),$("button",{class:"button is-small is-rounded",disabled:n.button.disabled,onClick:e[0]||(e[0]=(...a)=>n.button.handler&&n.button.handler(...a))},[n.button.icon?(x(),vt(o,{key:0,class:"icon",name:n.button.icon,size:"16"},null,8,["name"])):_t("",!0),n.button.key?(x(),$("span",{key:1,textContent:Z(t.$t(n.button.key))},null,8,r$)):_t("",!0),n.button.title?(x(),$("span",{key:2,textContent:Z(n.button.title)},null,8,o$)):_t("",!0)],8,i$)}const nn=it(s$,[["render",a$]]),l$={name:"HeadingTitle",props:{content:{required:!0,type:Object}}},c$=["textContent"],u$={class:"is-size-7 is-uppercase"},d$=["onClick","textContent"],f$=["textContent"],h$={key:2};function p$(t,e,n,s,i,r){return x(),$(pt,null,[n.content.title?(x(),$("div",{key:0,class:"title is-4",textContent:Z(n.content.title)},null,8,c$)):_t("",!0),C("div",u$,[(x(!0),$(pt,null,oe(n.content.subtitle,(o,a)=>(x(),$(pt,{key:a},[o.handler?(x(),$("a",{key:0,onClick:o.handler,textContent:Z(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,d$)):(x(),$("span",{key:1,textContent:Z(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,f$)),a!==n.content.subtitle.length-1?(x(),$("span",h$," | ")):_t("",!0)],64))),128))])],64)}const ie=it(l$,[["render",p$]]),m$={name:"PageAbout",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie},setup(){return{configurationStore:Gi(),libraryStore:Fu(),uiStore:jn()}},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.$filters.toDuration(this.libraryStore.db_playtime)},{alternate:this.$filters.toDateTime(this.libraryStore.updated_at),key:"property.updated",value:this.$filters.toRelativeDuration(this.libraryStore.updated_at)},{alternate:this.$filters.toDateTime(this.libraryStore.started_at),key:"property.uptime",value:this.$filters.toDurationToNow(this.libraryStore.started_at)}]}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0}}},g$=["textContent"],y$={class:"media-right"},b$=["textContent"],v$=["textContent"],_$=["textContent"],S$=["textContent"],E$=["textContent"];function w$(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("i18n-t"),c=w("content-with-heading");return x(),$("div",null,[E(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:Vt({"is-loading":s.libraryStore.updating}),disabled:s.libraryStore.updating},null,8,["button","class","disabled"])]),content:M(()=>[(x(!0),$(pt,null,oe(r.properties,u=>(x(),$("div",{key:u.key,class:"media is-align-items-center mb-0"},[C("div",{class:"media-content has-text-weight-bold",textContent:Z(t.$t(u.key))},null,8,g$),C("div",y$,[C("span",{textContent:Z(u.value)},null,8,b$),u.alternate?(x(),$("span",{key:0,class:"has-text-grey",textContent:Z(` (${u.alternate})`)},null,8,v$)):_t("",!0)])]))),128)),C("div",{class:"is-size-7 mt-6",textContent:Z(t.$t("page.about.version",{version:s.configurationStore.version}))},null,8,_$),C("div",{class:"is-size-7",textContent:Z(t.$t("page.about.compiled-with",{options:s.configurationStore.buildoptions.join(", ")}))},null,8,S$),E(l,{tag:"div",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:M(()=>e[0]||(e[0]=[C("a",{href:"https://bulma.io"},"Bulma",-1)])),mdi:M(()=>e[1]||(e[1]=[C("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])),vuejs:M(()=>e[2]||(e[2]=[C("a",{href:"https://vuejs.org/"},"Vue.js",-1)])),axios:M(()=>e[3]||(e[3]=[C("a",{href:"https://github.com/axios/axios"},"axios",-1)])),others:M(()=>[C("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:Z(t.$t("page.about.more"))},null,8,E$)]),_:1})]),_:1})])}const k$=it(m$,[["render",w$]]),T$={name:"ContentWithHero"},C$={class:"section"},A$={class:"container"},O$={class:"columns is-centered"},x$={class:"column is-four-fifths"},I$={class:"columns is-flex-direction-row-reverse"},N$={class:"column is-flex has-image"},P$={class:"column m-auto is-three-fifths has-text-centered-mobile"},D$={class:"section pt-0"},R$={class:"container"},M$={class:"columns is-centered"},L$={class:"column is-four-fifths"};function $$(t,e,n,s,i,r){return x(),$(pt,null,[C("section",C$,[C("div",A$,[C("div",O$,[C("div",x$,[C("div",I$,[C("div",N$,[de(t.$slots,"image",{},void 0,!0)]),C("div",P$,[de(t.$slots,"heading",{},void 0,!0)])])])])])]),C("section",D$,[C("div",R$,[C("div",M$,[C("div",L$,[de(t.$slots,"content",{},void 0,!0),de(t.$slots,"footer",{},void 0,!0)])])])])],64)}const fd=it(T$,[["render",$$],["__scopeId","data-v-9f80a063"]]),F$=t=>{let e=0;for(const n of t)e=n.charCodeAt(0)+((e<<5)-e);return(e&16777215).toString(16)},V$=t=>[.2126,.7152,.0722].reduce((e,n,s)=>e+ +`0x${t.slice(s*2,s*2+2)}`*n,0)/255,H$=t=>{const e=F$(t.alternate),n=`<svg xmlns="http://www.w3.org/2000/svg"
|
||
width="${t.size}" height="${t.size}"
|
||
viewBox="0 0 ${t.size} ${t.size}">
|
||
<rect width="100%" height="100%" fill="#${e}"/>
|
||
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
|
||
font-weight="${t.font.weight}" font-family="${t.font.family}"
|
||
font-size="${t.size/3}" fill="${V$(e)>.5?"#000000":"#FFFFFF"}">
|
||
${t.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},U$={name:"ControlImage",props:{album:{default:"",type:String},artist:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:t=>{t.src=this.dataURI()}},size:600}},methods:{dataURI(){return H$({alternate:`${this.artist} - ${this.album}`,caption:(this.album||this.artist||"").substring(0,2),font:this.font,size:this.size})}}},j$={class:"figure has-shadow"};function B$(t,e,n,s,i,r){const o=Wh("lazy");return x(),$("figure",j$,[In(C("img",{onClick:e[0]||(e[0]=a=>t.$emit("click"))},null,512),[[o,{src:n.url,lifecycle:i.lifecycle}]])])}const Rr=it(U$,[["render",B$],["__scopeId","data-v-92383b31"]]),{t:Ul,locale:W$}=rl.global,yS="NO_INDEX",G$=(t,e)=>t-e,q$=(t,e)=>t.localeCompare(e,W$.value),z$=(t,e)=>new Date(t)-new Date(e)||(t?e?0:1:-1),K$=t=>t.map(({field:e,type:n,order:s=1})=>{switch(n){case String:return(i,r)=>q$(i[e],r[e])*s;case Number:return(i,r)=>G$(i[e],r[e])*s;case Date:return(i,r)=>z$(i[e],r[e])*s;default:return()=>0}}),X$=(t="")=>{const e=t.charAt(0);return e.match(new RegExp("\\p{Letter}","gu"))?e.toUpperCase():e.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},Y$=t=>{},Z$=[{difference:NaN,text:()=>Ul("grouped-list.undefined")},{difference:864e5,text:()=>Ul("grouped-list.today")},{difference:6048e5,text:()=>Ul("grouped-list.last-week")},{difference:2592e6,text:()=>Ul("grouped-list.last-month")},{difference:1/0,text:t=>t.getFullYear()}],J$=t=>{var s;const e=new Date(t),n=new Date-e;return(s=Z$.find(i=>isNaN(n)||n<i.difference))==null?void 0:s.text(e)},Q$=({field:t,type:e}={})=>{switch(e){case String:return n=>X$(n[t]);case Number:return n=>n[t];case Date:return n=>J$(n[t]);case"Digits":return n=>Y$(n[t]);default:return()=>yS}};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=K$(e),o=i.sort((l,c)=>r.reduce((u,d)=>u||d(l,c),0)),a=Q$(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!==yS&&(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 t8={name:"HeadingHero",components:{ControlButton:nn},props:{content:{required:!0,type:Object}}},e8=["textContent"],n8={class:"subtitle is-6"},s8=["textContent"],i8=["textContent"],r8={class:"buttons is-centered-mobile mt-5"};function o8(t,e,n,s,i,r){const o=w("control-button");return x(),$(pt,null,[C("div",{class:"title is-5",textContent:Z(n.content.title)},null,8,e8),C("div",n8,[C("a",{onClick:e[0]||(e[0]=(...a)=>n.content.handler&&n.content.handler(...a)),textContent:Z(n.content.subtitle)},null,8,s8)]),C("div",{class:"is-size-7 is-uppercase has-text-centered-mobile",textContent:Z(n.content.count)},null,8,i8),C("div",r8,[(x(!0),$(pt,null,oe(n.content.actions,(a,l)=>(x(),vt(o,{key:l,button:a},null,8,["button"]))),128))])],64)}const hd=it(t8,[["render",o8]]),a8={name:"ListItem",components:{ControlImage:Rr},props:{icon:{default:null,type:String},image:{default:null,type:String},index:{default:null,type:[String,Number]},isItem:{default:!0,type:Boolean},lines:{default:null,type:Array},progress:{default:null,type:Number}},emits:["open","openDetails"],methods:{open(){this.$emit("open")},openDetails(){this.$emit("openDetails")}}},l8={key:0,class:"py-5"},c8={class:"media-content"},u8=["id","textContent"],d8={class:"media-content"},f8=["textContent"],h8=["value"],p8={class:"media-right"};function m8(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-image");return n.isItem?(x(),$("div",{key:1,class:Vt(["media is-align-items-center is-clickable mb-0",{"with-progress":n.progress}]),onClick:e[1]||(e[1]=(...l)=>r.open&&r.open(...l))},[n.icon?(x(),vt(o,{key:0,class:"media-left icon",name:n.icon},null,8,["name"])):_t("",!0),n.image?(x(),vt(a,{key:1,url:n.image,class:"media-left is-small"},null,8,["url"])):_t("",!0),C("div",d8,[(x(!0),$(pt,null,oe(n.lines,(l,c)=>(x(),$("div",{key:c,class:Vt({"is-size-6":c===0,"is-size-7":c!==0,"has-text-weight-bold":c!==2,"has-text-grey":c!==0}),textContent:Z(l)},null,10,f8))),128)),n.progress?(x(),$("progress",{key:0,class:"progress is-dark",max:"1",value:n.progress},null,8,h8)):_t("",!0)]),C("div",p8,[C("a",{onClick:e[0]||(e[0]=_n((...l)=>r.openDetails&&r.openDetails(...l),["prevent","stop"]))},[E(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})])])],2)):(x(),$("div",l8,[C("div",c8,[C("span",{id:`index_${n.index}`,class:"tag is-small has-text-weight-bold",textContent:Z(n.index)},null,8,u8)])]))}const yi=it(a8,[["render",m8],["__scopeId","data-v-0afb7f7e"]]),g8={name:"ListProperties",components:{ControlImage:Rr},props:{item:{required:!0,type:Object}}},y8=["textContent"],b8={class:"title is-6"},v8=["onClick","textContent"],_8=["textContent"];function S8(t,e,n,s,i,r){var a;const o=w("control-image");return x(),$(pt,null,[n.item.image?(x(),vt(o,{key:0,url:n.item.image,artist:n.item.artist,album:n.item.name,class:"is-normal mb-5"},null,8,["url","artist","album"])):_t("",!0),t.$slots.buttons?de(t.$slots,"buttons",{key:1}):_t("",!0),(x(!0),$(pt,null,oe((a=n.item.properties)==null?void 0:a.filter(l=>l.value),l=>(x(),$("div",{key:l.key,class:"mb-3"},[C("div",{class:"is-size-7 is-uppercase",textContent:Z(t.$t(l.key))},null,8,y8),C("div",b8,[l.handler?(x(),$("a",{key:0,onClick:l.handler,textContent:Z(l.value)},null,8,v8)):(x(),$("span",{key:1,class:"title is-6",textContent:Z(l.value)},null,8,_8))])]))),128))],64)}const bS=it(g8,[["render",S8]]),E8={name:"ModalDialogPlayable",components:{ControlButton:nn,ListProperties:bS,ModalDialog:mi},props:{buttons:{default:()=>[],type:Array},item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{actions(){return[{handler:this.addToQueue,icon:"playlist-plus",key:"actions.add"},{handler:this.addNextToQueue,icon:"playlist-play",key:"actions.add-next"},{handler:this.play,icon:"play",key:"actions.play"}]}},methods:{play(){this.$emit("close"),this.item.expression?tt.player_play_expression(this.item.expression,!1):tt.player_play_uri(this.item.uris||this.item.uri,!1)},addToQueue(){this.$emit("close"),this.item.expression?tt.queue_expression_add(this.item.expression):tt.queue_add(this.item.uris||this.item.uri)},addNextToQueue(){this.$emit("close"),this.item.expression?tt.queue_expression_add_next(this.item.expression):tt.queue_add_next(this.item.uris||this.item.uri)}}},w8={class:"buttons"};function k8(t,e,n,s,i,r){const o=w("control-button"),a=w("list-properties"),l=w("modal-dialog");return x(),vt(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},tl({_:2},[n.buttons.length?{name:"buttons",fn:M(()=>[C("div",w8,[(x(!0),$(pt,null,oe(n.buttons,c=>(x(),vt(o,{key:c.key,button:c},null,8,["button"]))),128))])]),key:"0"}:void 0]),1032,["item"])]),_:1},8,["actions","show","title"])}const Os=it(E8,[["render",k8]]),T8={name:"ModalDialogTrack",components:{ModalDialogPlayable:Os},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.$filters.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.$filters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.item.data_kind!=="spotify"&&this.$t("dialog.track.quality-value",{bitrate:this.item.bitrate,channels:this.$t("count.channels",this.item.channels),format:this.item.type,samplerate:this.item.samplerate})},{key:"property.added-on",value:this.$filters.toDateTime(this.item.time_added)},{key:"property.rating",value:this.$t("dialog.track.rating-value",{rating:Math.floor(this.item.rating/10)})},{key:"property.comment",value:this.item.comment},{key:"property.path",value:this.item.path}],uri:this.item.uri}}},methods:{markAsNew(){tt.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},markAsPlayed(){tt.library_track_update(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openAlbum(){this.$emit("close"),this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})}}};function C8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(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 A8=it(T8,[["render",C8]]),O8={name:"ListTracks",components:{ListItem:yi,ModalDialogTrack:A8},props:{expression:{default:"",type:String},items:{default:null,type:Object},icon:{default:null,type:String},showProgress:{default:!1,type:Boolean},uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.uris?tt.player_play_uri(this.uris,!1,this.items.items.indexOf(t)):this.expression?tt.player_play_expression(this.expression,!1,this.items.items.indexOf(t)):tt.player_play_uri(t.uri,!1)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},progress(t){return t.item&&this.showProgress&&t.item.seek_ms>0?t.item.seek_ms/t.item.length_ms:null}}};function x8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-track");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>(x(),vt(o,{key:l.itemId,icon:n.icon,"is-item":l.isItem,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","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 Un=it(O8,[["render",x8]]),I8={name:"ModalDialogAlbum",components:{ModalDialogPlayable:Os},props:{item:{required:!0,type:Object},media_kind:{default:"",type:String},show:Boolean},emits:["close","remove-podcast","play-count-changed"],computed:{buttons(){return this.media_kind_resolved==="podcast"?this.item.data_kind==="url"?[{handler:this.markAsPlayed,key:"actions.mark-as-played"},{handler:this.removePodcast,key:"actions.remove-podcast"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]:[]},media_kind_resolved(){return this.media_kind||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.$filters.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.$filters.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.$filters.toDateTime(this.item.time_added)}],uri:this.item.uri}}},methods:{markAsPlayed(){tt.library_album_track_update(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openArtist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},removePodcast(){this.$emit("remove-podcast")}}};function N8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(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 pd=it(I8,[["render",N8]]),ob={load(t){return Promise.all([tt.library_album(t.params.id),tt.library_album_tracks(t.params.id)])},set(t,e){t.album=e[0].data,t.tracks=new Ct(e[1].data,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),t.tracks.indices.length<2&&t.tracks.group()}},P8={name:"PageAlbum",components:{ContentWithHero:fd,ControlImage:Rr,HeadingHero:hd,ListTracks:Un,ModalDialogAlbum:pd},beforeRouteEnter(t,e,n){ob.load(t).then(s=>{n(i=>ob.set(i,s))})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("count.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(){tt.player_play_uri(this.album.uri,!0)}}};function D8(t,e,n,s,i,r){const o=w("heading-hero"),a=w("control-image"),l=w("list-tracks"),c=w("modal-dialog-album"),u=w("content-with-hero");return x(),$("div",null,[E(u,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,artist:i.album.artist,album:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","artist","album","onClick"])]),content:M(()=>[E(l,{items:i.tracks,uris:i.album.uri},null,8,["items","uris"]),E(c,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const R8=it(P8,[["render",D8]]),M8={name:"ModalDialogTrackSpotify",components:{ModalDialogPlayable:Os},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t;return this.item.artists?{name:this.item.name,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album.name},{handler:this.openArtist,key:"property.album-artist",value:(t=this.item.artists[0])==null?void 0:t.name},{key:"property.release-date",value:this.$filters.toDate(this.item.album.release_date)},{key:"property.position",value:[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$filters.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 L8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const $8=it(M8,[["render",L8]]),F8={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:$8},props:{context_uri:{default:"",type:String},items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},play(t){t.is_playable&&tt.player_play_uri(this.context_uri||t.uri,!1,t.position||0)}}},V8=["onClick"],H8=["textContent"],U8=["textContent"],j8=["textContent"],B8={key:0,class:"is-size-7 has-text-grey"},W8=["textContent"],G8=["textContent"],q8={class:"media-right"},z8=["onClick"];function K8(t,e,n,s,i,r){const o=w("mdicon"),a=w("modal-dialog-track-spotify");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>{var c;return x(),$("div",{key:l.id,class:"media is-align-items-center mb-0"},[C("div",{class:Vt(["media-content",{"is-clickable":l.is_playable,"is-not-allowed":!l.is_playable}]),onClick:u=>r.play(l)},[C("div",{class:Vt(["is-size-6 has-text-weight-bold",{"has-text-grey-light":!l.is_playable}]),textContent:Z(l.name)},null,10,H8),C("div",{class:Vt(["is-size-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:Z(l.artists[0].name)},null,10,U8),C("div",{class:"is-size-7 has-text-grey",textContent:Z(l.album.name)},null,8,j8),l.is_playable?_t("",!0):(x(),$("div",B8,[e[1]||(e[1]=Us(" (")),C("span",{textContent:Z(t.$t("list.spotify.not-playable-track"))},null,8,W8),(c=l.restrictions)!=null&&c.reason?(x(),$("span",{key:0,textContent:Z(t.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,G8)):_t("",!0),e[2]||(e[2]=Us(") "))]))],10,V8),C("div",q8,[C("a",{onClick:_n(u=>r.openDetails(l),["prevent","stop"])},[E(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})],8,z8)])])}),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Zc=it(F8,[["render",K8],["__scopeId","data-v-31701da8"]]),X8={name:"ModalDialogAlbumSpotify",components:{ModalDialogPlayable:Os},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t,e,n,s,i,r;return{image:((n=(e=(t=this.item)==null?void 0:t.images)==null?void 0:e[0])==null?void 0:n.url)||"",name:this.item.name||"",properties:[{handler:this.openArtist,key:"property.artist",value:(r=(i=(s=this.item)==null?void 0:s.artists)==null?void 0:i[0])==null?void 0:r.name},{key:"property.release-date",value:this.$filters.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 Y8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const vS=it(X8,[["render",Y8]]);var ef={exports:{}},ab;function Z8(){return ab||(ab=1,function(t){var e=function(){var n="https://api.spotify.com/v1",s=null,i=null,r=function(f,h){return f.abort=h,f},o=function(f,h){var p;if(i!==null){var m=i.defer();f(function(b){m.resolve(b)},function(b){m.reject(b)}),p=m.promise}else window.Promise&&(p=new window.Promise(f));return p?new r(p,h):null},a=function(){var f=Array.prototype.slice.call(arguments),h=f[0],p=f.slice(1);return h=h||{},p.forEach(function(m){for(var b in m)m.hasOwnProperty(b)&&(h[b]=m[b])}),h},l=function(f,h){var p="";for(var m in h)if(h.hasOwnProperty(m)){var b=h[m];p+=encodeURIComponent(m)+"="+encodeURIComponent(b)+"&"}return p.length>0&&(p=p.substring(0,p.length-1),f=f+"?"+p),f},c=function(f,h){var p=new XMLHttpRequest,m=function(b,y){function _(k){b&&b(k),h&&h(null,k)}function g(){y&&y(p),h&&h(p,null)}var v=f.type||"GET";if(p.open(v,l(f.url,f.params)),s&&p.setRequestHeader("Authorization","Bearer "+s),p.onreadystatechange=function(){if(p.readyState===4){var k=null;try{k=p.responseText?JSON.parse(p.responseText):""}catch(N){console.error(N)}p.status>=200&&p.status<300?_(k):g()}},v==="GET")p.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,p.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),p.setRequestHeader("Content-Type","application/json"))),p.send(S)}};return h?(m(),null):o(m,function(){p.abort()})},u=function(f,h,p,m){var b={},y=null;typeof h=="object"?(b=h,y=p):typeof h=="function"&&(y=h);var _=f.type||"GET";return _!=="GET"&&f.postData&&!m?f.postData=a(f.postData,b):f.params=a(f.params,b),c(f,y)},d=function(){};return d.prototype={constructor:e},d.prototype.getGeneric=function(f,h){var p={url:f};return u(p,h)},d.prototype.getMe=function(f,h){var p={url:n+"/me"};return u(p,f,h)},d.prototype.getMySavedTracks=function(f,h){var p={url:n+"/me/tracks"};return u(p,f,h)},d.prototype.addToMySavedTracks=function(f,h,p){var m={url:n+"/me/tracks",type:"PUT",postData:f};return u(m,h,p)},d.prototype.removeFromMySavedTracks=function(f,h,p){var m={url:n+"/me/tracks",type:"DELETE",postData:f};return u(m,h,p)},d.prototype.containsMySavedTracks=function(f,h,p){var m={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getMySavedAlbums=function(f,h){var p={url:n+"/me/albums"};return u(p,f,h)},d.prototype.addToMySavedAlbums=function(f,h,p){var m={url:n+"/me/albums",type:"PUT",postData:f};return u(m,h,p)},d.prototype.removeFromMySavedAlbums=function(f,h,p){var m={url:n+"/me/albums",type:"DELETE",postData:f};return u(m,h,p)},d.prototype.containsMySavedAlbums=function(f,h,p){var m={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getMyTopArtists=function(f,h){var p={url:n+"/me/top/artists"};return u(p,f,h)},d.prototype.getMyTopTracks=function(f,h){var p={url:n+"/me/top/tracks"};return u(p,f,h)},d.prototype.getMyRecentlyPlayedTracks=function(f,h){var p={url:n+"/me/player/recently-played"};return u(p,f,h)},d.prototype.followUsers=function(f,h){var p={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return u(p,h)},d.prototype.followArtists=function(f,h){var p={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return u(p,h)},d.prototype.followPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return u(m,h,p)},d.prototype.unfollowUsers=function(f,h){var p={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return u(p,h)},d.prototype.unfollowArtists=function(f,h){var p={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return u(p,h)},d.prototype.unfollowPlaylist=function(f,h){var p={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return u(p,h)},d.prototype.isFollowingUsers=function(f,h){var p={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return u(p,h)},d.prototype.isFollowingArtists=function(f,h){var p={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return u(p,h)},d.prototype.areFollowingPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:h.join(",")}};return u(m,p)},d.prototype.getFollowedArtists=function(f,h){var p={url:n+"/me/following",type:"GET",params:{type:"artist"}};return u(p,f,h)},d.prototype.getUser=function(f,h,p){var m={url:n+"/users/"+encodeURIComponent(f)};return u(m,h,p)},d.prototype.getUserPlaylists=function(f,h,p){var m;return typeof f=="string"?m={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(m={url:n+"/me/playlists"},p=h,h=f),u(m,h,p)},d.prototype.getPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f};return u(m,h,p)},d.prototype.getPlaylistTracks=function(f,h,p){var m={url:n+"/playlists/"+f+"/tracks"};return u(m,h,p)},d.prototype.getPlaylistCoverImage=function(f,h){var p={url:n+"/playlists/"+f+"/images"};return u(p,h)},d.prototype.createPlaylist=function(f,h,p){var m={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:h};return u(m,h,p)},d.prototype.changePlaylistDetails=function(f,h,p){var m={url:n+"/playlists/"+f,type:"PUT",postData:h};return u(m,h,p)},d.prototype.addTracksToPlaylist=function(f,h,p,m){var b={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:h}};return u(b,p,m,!0)},d.prototype.replaceTracksInPlaylist=function(f,h,p){var m={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:h}};return u(m,{},p)},d.prototype.reorderTracksInPlaylist=function(f,h,p,m,b){var y={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:h,insert_before:p}};return u(y,m,b)},d.prototype.removeTracksFromPlaylist=function(f,h,p){var m=h.map(function(y){return typeof y=="string"?{uri:y}:y}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:m}};return u(b,{},p)},d.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,h,p,m){var b=h.map(function(_){return typeof _=="string"?{uri:_}:_}),y={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:p}};return u(y,{},m)},d.prototype.removeTracksFromPlaylistInPositions=function(f,h,p,m){var b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:h,snapshot_id:p}};return u(b,{},m)},d.prototype.uploadCustomPlaylistCoverImage=function(f,h,p){var m={url:n+"/playlists/"+f+"/images",type:"PUT",postData:h.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return u(m,{},p)},d.prototype.getAlbum=function(f,h,p){var m={url:n+"/albums/"+f};return u(m,h,p)},d.prototype.getAlbumTracks=function(f,h,p){var m={url:n+"/albums/"+f+"/tracks"};return u(m,h,p)},d.prototype.getAlbums=function(f,h,p){var m={url:n+"/albums/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getTrack=function(f,h,p){var m={};return m.url=n+"/tracks/"+f,u(m,h,p)},d.prototype.getTracks=function(f,h,p){var m={url:n+"/tracks/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getArtist=function(f,h,p){var m={url:n+"/artists/"+f};return u(m,h,p)},d.prototype.getArtists=function(f,h,p){var m={url:n+"/artists/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getArtistAlbums=function(f,h,p){var m={url:n+"/artists/"+f+"/albums"};return u(m,h,p)},d.prototype.getArtistTopTracks=function(f,h,p,m){var b={url:n+"/artists/"+f+"/top-tracks",params:{country:h}};return u(b,p,m)},d.prototype.getArtistRelatedArtists=function(f,h,p){var m={url:n+"/artists/"+f+"/related-artists"};return u(m,h,p)},d.prototype.getFeaturedPlaylists=function(f,h){var p={url:n+"/browse/featured-playlists"};return u(p,f,h)},d.prototype.getNewReleases=function(f,h){var p={url:n+"/browse/new-releases"};return u(p,f,h)},d.prototype.getCategories=function(f,h){var p={url:n+"/browse/categories"};return u(p,f,h)},d.prototype.getCategory=function(f,h,p){var m={url:n+"/browse/categories/"+f};return u(m,h,p)},d.prototype.getCategoryPlaylists=function(f,h,p){var m={url:n+"/browse/categories/"+f+"/playlists"};return u(m,h,p)},d.prototype.search=function(f,h,p,m){var b={url:n+"/search/",params:{q:f,type:h.join(",")}};return u(b,p,m)},d.prototype.searchAlbums=function(f,h,p){return this.search(f,["album"],h,p)},d.prototype.searchArtists=function(f,h,p){return this.search(f,["artist"],h,p)},d.prototype.searchTracks=function(f,h,p){return this.search(f,["track"],h,p)},d.prototype.searchPlaylists=function(f,h,p){return this.search(f,["playlist"],h,p)},d.prototype.searchShows=function(f,h,p){return this.search(f,["show"],h,p)},d.prototype.searchEpisodes=function(f,h,p){return this.search(f,["episode"],h,p)},d.prototype.getAudioFeaturesForTrack=function(f,h){var p={};return p.url=n+"/audio-features/"+f,u(p,{},h)},d.prototype.getAudioFeaturesForTracks=function(f,h){var p={url:n+"/audio-features",params:{ids:f}};return u(p,{},h)},d.prototype.getAudioAnalysisForTrack=function(f,h){var p={};return p.url=n+"/audio-analysis/"+f,u(p,{},h)},d.prototype.getRecommendations=function(f,h){var p={url:n+"/recommendations"};return u(p,f,h)},d.prototype.getAvailableGenreSeeds=function(f){var h={url:n+"/recommendations/available-genre-seeds"};return u(h,{},f)},d.prototype.getMyDevices=function(f){var h={url:n+"/me/player/devices"};return u(h,{},f)},d.prototype.getMyCurrentPlaybackState=function(f,h){var p={url:n+"/me/player"};return u(p,f,h)},d.prototype.getMyCurrentPlayingTrack=function(f,h){var p={url:n+"/me/player/currently-playing"};return u(p,f,h)},d.prototype.transferMyPlayback=function(f,h,p){var m=h||{};m.device_ids=f;var b={type:"PUT",url:n+"/me/player",postData:m};return u(b,h,p)},d.prototype.play=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={};["context_uri","uris","offset","position_ms"].forEach(function(_){_ in f&&(m[_]=f[_])});var b={type:"PUT",url:n+"/me/player/play",params:p,postData:m},y=typeof f=="function"?f:{};return u(b,y,h)},d.prototype.queue=function(f,h,p){h=h||{};var m="device_id"in h?{uri:f,device_id:h.device_id}:{uri:f},b={type:"POST",url:n+"/me/player/queue",params:m};return u(b,h,p)},d.prototype.pause=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={type:"PUT",url:n+"/me/player/pause",params:p};return u(m,f,h)},d.prototype.skipToNext=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={type:"POST",url:n+"/me/player/next",params:p};return u(m,f,h)},d.prototype.skipToPrevious=function(f,h){f=f||{};var p="device_id"in f?{device_id:f.device_id}:null,m={type:"POST",url:n+"/me/player/previous",params:p};return u(m,f,h)},d.prototype.seek=function(f,h,p){h=h||{};var m={position_ms:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:m};return u(b,h,p)},d.prototype.setRepeat=function(f,h,p){h=h||{};var m={state:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:m};return u(b,h,p)},d.prototype.setVolume=function(f,h,p){h=h||{};var m={volume_percent:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:m};return u(b,h,p)},d.prototype.setShuffle=function(f,h,p){h=h||{};var m={state:f};"device_id"in h&&(m.device_id=h.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:m};return u(b,h,p)},d.prototype.getShow=function(f,h,p){var m={};return m.url=n+"/shows/"+f,u(m,h,p)},d.prototype.getShows=function(f,h,p){var m={url:n+"/shows/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getMySavedShows=function(f,h){var p={url:n+"/me/shows"};return u(p,f,h)},d.prototype.addToMySavedShows=function(f,h,p){var m={url:n+"/me/shows",type:"PUT",postData:f};return u(m,h,p)},d.prototype.removeFromMySavedShows=function(f,h,p){var m={url:n+"/me/shows",type:"DELETE",postData:f};return u(m,h,p)},d.prototype.containsMySavedShows=function(f,h,p){var m={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getShowEpisodes=function(f,h,p){var m={url:n+"/shows/"+f+"/episodes"};return u(m,h,p)},d.prototype.getEpisode=function(f,h,p){var m={};return m.url=n+"/episodes/"+f,u(m,h,p)},d.prototype.getEpisodes=function(f,h,p){var m={url:n+"/episodes/",params:{ids:f.join(",")}};return u(m,h,p)},d.prototype.getAccessToken=function(){return s},d.prototype.setAccessToken=function(f){s=f},d.prototype.setPromiseImplementation=function(f){var h=!1;try{var p=new f(function(m){m()});typeof p.then=="function"&&typeof p.catch=="function"&&(h=!0)}catch(m){console.error(m)}if(h)i=f;else throw new Error("Unsupported implementation of Promises/A+")},d}();t.exports=e}(ef)),ef.exports}var J8=Z8();const Bs=Uu(J8),lb={load(t){const e=new Bs;return e.setAccessToken(Ue().spotify.webapi_token),e.getAlbum(t.params.id,{market:Ue().spotify.webapi_country})},set(t,e){t.album=e}},Q8={name:"PageAlbumSpotify",components:{ContentWithHero:fd,ControlImage:Rr,HeadingHero:hd,ListTracksSpotify:Zc,ModalDialogAlbumSpotify:vS},beforeRouteEnter(t,e,n){lb.load(t).then(s=>{n(i=>lb.set(i,s))})},setup(){return{servicesStore:Ue()}},data(){return{album:{artists:[{}],tracks:{}},showDetailsModal:!1}},computed:{heading(){return{count:this.$t("count.tracks",{count:this.album.tracks.total}),handler:this.openArtist,subtitle:this.album.artists[0].name,title:this.album.name,actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}]}},tracks(){const{album:t}=this;return t.tracks.total?t.tracks.items.map(e=>({...e,album:t})):{}}},methods:{openArtist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,tt.player_play_uri(this.album.uri,!0)}}};function t5(t,e,n,s,i,r){const o=w("heading-hero"),a=w("control-image"),l=w("list-tracks-spotify"),c=w("modal-dialog-album-spotify"),u=w("content-with-hero");return x(),$("div",null,[E(u,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>{var d,f;return[E(a,{url:((f=(d=i.album.images)==null?void 0:d[0])==null?void 0:f.url)??"",artist:i.album.artists[0].name,album:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","artist","album","onClick"])]}),content:M(()=>[E(l,{items:r.tracks,context_uri:i.album.uri},null,8,["items","context_uri"]),E(c,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const e5=it(Q8,[["render",t5]]),n5={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)}}},s5={class:"dropdown-trigger"},i5=["textContent"],r5={id:"dropdown",class:"dropdown-menu",role:"menu"},o5={class:"dropdown-content"},a5=["onClick","textContent"];function l5(t,e,n,s,i,r){const o=w("mdicon"),a=Wh("click-away");return In((x(),$("div",{class:Vt(["dropdown",{"is-active":i.active}])},[C("div",s5,[C("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:e[0]||(e[0]=l=>i.active=!i.active)},[C("span",{textContent:Z(r.option.name)},null,8,i5),E(o,{class:"icon",name:"chevron-down",size:"16"})])]),C("div",r5,[C("div",o5,[(x(!0),$(pt,null,oe(n.options,l=>(x(),$("a",{key:l.id,class:Vt(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>r.select(l),textContent:Z(l.name)},null,10,a5))),128))])])],2)),[[a,r.deactivate]])}const Mr=it(n5,[["render",l5]]),c5={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},u5={class:"buttons is-centered mb-4"};function d5(t,e,n,s,i,r){const o=w("router-link");return x(),$("section",null,[C("nav",u5,[(x(!0),$(pt,null,oe(n.indices,a=>(x(),vt(o,{key:a,class:"button px-2 is-small is-square",to:{hash:`#index_${a}`,query:t.$route.query}},{default:M(()=>[Us(Z(a),1)]),_:2},1032,["to"]))),128))])])}const xs=it(c5,[["render",d5],["__scopeId","data-v-f15ebd8e"]]),f5={name:"ListAlbums",components:{ListItem:yi,ModalDialog:mi,ModalDialogAlbum:pd},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:gi()}},data(){return{playlistToRemove:{},selectedItem:{},showDetailsModal:!1,showRemovePodcastModal:!1}},computed:{actions(){return[{handler:"cancel",icon:"cancel",key:"page.podcast.cancel"},{handler:"remove",icon:"delete",key:"page.podcast.remove"}]},media_kind_resolved(){return this.media_kind||this.selectedItem.media_kind}},methods:{open(t){this.selectedItem=t,this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:t.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:t.id}}):this.$router.push({name:"music-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},openRemovePodcastDialog(){tt.library_album_tracks(this.selectedItem.id,{limit:1}).then(({data:t})=>{tt.library_track_playlists(t.items[0].id).then(({data:e})=>{[this.playlistToRemove]=e.items.filter(n=>n.type==="rss"),this.showRemovePodcastModal=!0,this.showDetailsModal=!1})})},onPlayCountChange(){this.$emit("play-count-changed")},removePodcast(){this.showRemovePodcastModal=!1,tt.library_playlist_delete(this.playlistToRemove.id).then(()=>{this.$emit("podcast-deleted")})},url(t){return this.settingsStore.show_cover_artwork_in_album_lists?t.item.artwork_url:null}}},h5=["textContent"];function p5(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-album"),l=w("i18n-t"),c=w("modal-dialog");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,u=>(x(),vt(o,{key:u.itemId,"is-item":u.isItem,image:r.url(u),index:u.index,lines:[u.item.name,u.item.artist,t.$filters.toDate(u.item.date_released)],onOpen:d=>r.open(u.item),onOpenDetails:d=>r.openDetails(u.item)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),E(a,{item:i.selectedItem,media_kind:n.media_kind,show:i.showDetailsModal,onClose:e[0]||(e[0]=u=>i.showDetailsModal=!1),onRemovePodcast:e[1]||(e[1]=u=>r.openRemovePodcastDialog()),onPlayCountChanged:e[2]||(e[2]=u=>r.onPlayCountChange())},null,8,["item","media_kind","show"]),E(c,{actions:r.actions,show:i.showRemovePodcastModal,title:t.$t("page.podcast.remove-podcast"),onCancel:e[3]||(e[3]=u=>i.showRemovePodcastModal=!1),onRemove:r.removePodcast},{content:M(()=>[E(l,{keypath:"list.albums.info",tag:"p",scope:"global"},{separator:M(()=>e[4]||(e[4]=[C("br",null,null,-1)])),name:M(()=>[C("b",{textContent:Z(i.playlistToRemove.name)},null,8,h5)]),_:1})]),_:1},8,["actions","show","title","onRemove"])],64)}const zn=it(f5,[["render",p5]]),m5={name:"ListOptions"},g5={class:"columns"},y5={key:0,class:"column"},b5=["textContent"],v5={key:1,class:"column"},_5=["textContent"];function S5(t,e,n,s,i,r){return x(),$("div",g5,[t.$slots.filter?(x(),$("div",y5,[C("div",{class:"is-size-7 is-uppercase",textContent:Z(t.$t("options.filter.title"))},null,8,b5),de(t.$slots,"filter")])):_t("",!0),t.$slots.sort?(x(),$("div",v5,[C("div",{class:"is-size-7 is-uppercase",textContent:Z(t.$t("options.sort.title"))},null,8,_5),de(t.$slots,"sort")])):_t("",!0)])}const Ho=it(m5,[["render",S5]]),E5={name:"ControlTabList",props:{links:{required:!0,type:Array}}},w5={class:"section py-0 tabs-section"},k5={class:"container"},T5={class:"columns is-centered my-0"},C5={class:"column is-four-fifths py-0"},A5={class:"tabs is-centered is-small"},O5=["onClick","onKeypress"],x5=["textContent"];function I5(t,e,n,s,i,r){const o=w("mdicon"),a=w("router-link");return x(),$("section",w5,[C("div",k5,[C("div",T5,[C("div",C5,[C("div",A5,[C("ul",null,[(x(!0),$(pt,null,oe(n.links,l=>(x(),vt(a,{key:l.to.name,to:{name:l.to.name},custom:""},{default:M(({navigate:c,isActive:u})=>[C("li",{class:Vt({"is-active":u})},[C("a",{onClick:c,onKeypress:Z1(c,["enter"])},[l.icon?(x(),vt(o,{key:0,class:"icon is-small",name:l.icon},null,8,["name"])):_t("",!0),C("span",{class:Vt({"is-hidden-mobile":l.icon}),textContent:Z(t.$t(l.key))},null,10,x5)],40,O5)],2)]),_:2},1032,["to"]))),128))])])])])])])}const em=it(E5,[["render",I5],["__scopeId","data-v-5c0ac09b"]]),N5={name:"TabsMusic",components:{ControlTabList:em},setup(){return{servicesStore:Ue()}},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 P5(t,e,n,s,i,r){const o=w("control-tab-list");return x(),vt(o,{links:r.links},null,8,["links"])}const Ws=it(N5,[["render",P5]]),cb={load(t){return tt.library_albums("music")},set(t,e){t.albumList=new Ct(e.data)}},D5={name:"PageAlbums",components:{ContentWithHeading:se,ControlDropdown:Mr,ControlSwitch:Pr,HeadingTitle:ie,IndexButtonList:xs,ListAlbums:zn,ListOptions:Ho,TabsMusic:Ws},beforeRouteEnter(t,e,n){cb.load(t).then(s=>{n(i=>cb.set(i,s))})},setup(){return{servicesStore:Ue(),uiStore:jn()}},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:"count.albums"}],title:this.$t("page.albums.title")}}}},R5=["textContent"],M5=["textContent"],L5=["textContent"],$5=["textContent"];function F5(t,e,n,s,i,r){const o=w("tabs-music"),a=w("index-button-list"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("heading-title"),f=w("list-albums"),h=w("content-with-heading");return x(),$("div",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(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-singles"))},null,8,R5)]),help:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-singles-help"))},null,8,M5)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(x(),vt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-spotify"))},null,8,L5)]),help:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-spotify-help"))},null,8,$5)]),_: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})])}const V5=it(D5,[["render",F5]]),H5={name:"ModalDialogArtist",components:{ModalDialogPlayable:Os},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.$filters.toDateTime(this.item.time_added)}],uri:this.item.uri}}}};function U5(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const md=it(H5,[["render",U5]]),ub={load(t){return Promise.all([tt.library_artist(t.params.id),tt.library_artist_albums(t.params.id)])},set(t,e){t.artist=e[0].data,t.albumList=new Ct(e[1].data)}},j5={name:"PageArtist",components:{ContentWithHeading:se,ControlButton:nn,ControlDropdown:Mr,ControlSwitch:Pr,HeadingTitle:ie,ListAlbums:zn,ListOptions:Ho,ModalDialogArtist:md},beforeRouteEnter(t,e,n){ub.load(t).then(s=>{n(i=>ub.set(i,s))})},setup(){return{servicesStore:Ue(),uiStore:jn()}},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("page.artist.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("page.artist.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}]},heading(){return{subtitle:[{count:this.albums.count,key:"count.albums"},{count:this.trackCount,handler:this.openTracks,key:"count.tracks"}],title:this.artist.name}},trackCount(){return[...this.albums].reduce((t,e)=>t+(e.isItem?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(){tt.player_play_uri(this.albums.items.map(t=>t.uri).join(),!0)}}},B5=["textContent"],W5=["textContent"];function G5(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-dropdown"),l=w("list-options"),c=w("heading-title"),u=w("control-button"),d=w("list-albums"),f=w("modal-dialog-artist"),h=w("content-with-heading");return x(),$("div",null,[E(h,null,{options:M(()=>[E(l,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(x(),vt(o,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[C("span",{textContent:Z(t.$t("page.artist.filter.hide-spotify"))},null,8,B5)]),help:M(()=>[C("span",{textContent:Z(t.$t("page.artist.filter.hide-spotify-help"))},null,8,W5)]),_: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"]),E(f,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=p=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const q5=it(j5,[["render",G5]]),z5={name:"ListAlbumsSpotify",components:{ListItem:yi,ModalDialogAlbumSpotify:vS},props:{items:{required:!0,type:Object}},setup(){return{settingsStore:gi()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"music-spotify-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},url(t){var e,n;return this.settingsStore.show_cover_artwork_in_album_lists?((n=(e=t.images)==null?void 0:e[0])==null?void 0:n.url)??"":null}}};function K5(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-album-spotify");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>{var c;return x(),vt(o,{key:l.id,"is-item":l.isItem,image:r.url(l),index:l.index,lines:[l.name,(c=l.artists[0])==null?void 0:c.name,t.$filters.toDate(l.release_date)],onOpen:u=>r.open(l),onOpenDetails:u=>r.openDetails(l)},null,8,["is-item","image","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 Ka=it(z5,[["render",K5]]),X5={name:"ModalDialogArtistSpotify",components:{ModalDialogPlayable:Os},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t,e;return{name:this.item.name,properties:[{key:"property.popularity",value:[this.item.popularity,(t=this.item.followers)==null?void 0:t.total].join(" / ")},{key:"property.genres",value:(e=this.item.genres)==null?void 0:e.join(", ")}],uri:this.item.uri}}}};function Y5(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const _S=it(X5,[["render",Y5]]);function Z5(t){return t.scrollHeight}function J5(t){return t.scrollWidth}function Q5(t,e){t.scrollTop=t.scrollHeight-e+t.scrollTop}function t6(t,e){t.scrollLeft=t.scrollWidth-e+t.scrollLeft}const e6=C("div",{class:"loading"},"Loading...",-1),n6=C("div",{class:"no-more"},"No more.",-1),s6=C("div",{class:"no-results"},"No results.",-1),i6=C("div",{class:"error"},"Error.",-1),nm=hi({__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=as();let i=as("loading"),r=as(n.isInitial),o=0;function a(){Nr(()=>{var g,v;n.position==="top"?Q5((g=n.container)!=null?g:document.documentElement,o):n.position==="left"&&t6((v=n.container)!=null?v:document.documentElement,o)})}function l(g,v){return g===0?r.value?(u(),"no-results"):(c(),"no-more"):g!==void 0&&v!==void 0&&g<v?(c(),"no-more"):(r.value=!1,a(),b(),"loading")}function c(){r.value=!1,p("no-more"),a()}function u(){r.value=!1,p("no-results"),a()}function d(){r.value=!1,p("error"),a()}function f(){r.value=!0,p("loading"),b()}function h(){p("loading"),b()}function p(g){i.value=g}function m(){s.value&&_.unobserve(s.value)}function b(){s.value&&_.observe(s.value)}function y(){return new IntersectionObserver(([g])=>{var v,S;g.isIntersecting&&(n.position==="top"?o=Z5((v=n.container)!=null?v:document.documentElement):n.position==="left"&&(o=J5((S=n.container)!=null?S:document.documentElement)),m(),n.load({loaded:l,noMore:c,noResults:u,error:d},{isFirstLoad:r.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let _;return typeof IntersectionObserver<"u"&&b1(()=>{_&&m(),_=y(),b()},{flush:"post"}),Xn(()=>n.isInitial,g=>{g&&f()}),Xn(r,g=>{g||e("update:isInitial",!1)}),(g,v)=>(x(),$("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:s},[$n(i)==="loading"?de(g.$slots,"loading",eo(so({key:0},{isFirstLoad:$n(r)})),()=>[e6]):$n(i)==="no-more"?de(g.$slots,"no-more",eo(so({key:1},{retry:h})),()=>[n6]):$n(i)==="no-results"?de(g.$slots,"no-results",eo(so({key:2},{retry:h})),()=>[s6]):$n(i)==="error"?de(g.$slots,"error",eo(so({key:3},{retry:h})),()=>[i6]):_t("",!0)],512))}}),yh=50,db={load(t){const e=new Bs;return e.setAccessToken(Ue().spotify.webapi_token),Promise.all([e.getArtist(t.params.id),e.getArtistAlbums(t.params.id,{include_groups:"album,single",limit:yh,market:Ue().spotify.webapi_country,offset:0})])},set(t,e){t.artist=e.shift(),t.albums=[],t.total=0,t.offset=0,t.appendAlbums(e.shift())}},r6={name:"PageArtistSpotify",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListAlbumsSpotify:Ka,ModalDialogArtistSpotify:_S,VueEternalLoading:nm},beforeRouteEnter(t,e,n){db.load(t).then(s=>{n(i=>db.set(i,s))})},setup(){return{servicesStore:Ue()}},data(){return{albums:[],artist:{},offset:0,showDetailsModal:!1,total:0}},computed:{heading(){return{subtitle:[{count:this.total,key:"count.albums"}],title:this.artist.name}}},methods:{appendAlbums(t){this.albums=this.albums.concat(t.items),this.total=t.total,this.offset+=t.limit},loadNext({loaded:t}){const e=new Bs;e.setAccessToken(this.servicesStore.spotify.webapi_token),e.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:yh,offset:this.offset}).then(n=>{this.appendAlbums(n),t(n.items.length,yh)})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,tt.player_play_uri(this.artist.uri,!0)}}},o6={class:"columns is-centered"},a6={class:"column has-text-centered"};function l6(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("list-albums-spotify"),c=w("mdicon"),u=w("vue-eternal-loading"),d=w("modal-dialog-artist-spotify"),f=w("content-with-heading");return x(),$("div",null,[E(f,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"]),i.offset<i.total?(x(),vt(u,{key:0,load:r.loadNext},{loading:M(()=>[C("div",o6,[C("div",a6,[E(c,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":M(()=>e[1]||(e[1]=[C("br",null,null,-1)])),"no-results":M(()=>e[2]||(e[2]=[C("br",null,null,-1)])),_:1},8,["load"])):_t("",!0),E(d,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=h=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const c6=it(r6,[["render",l6]]),fb={load(t){return Promise.all([tt.library_artist(t.params.id),tt.library_artist_tracks(t.params.id)])},set(t,e){t.artist=e[0].data,t.trackList=new Ct(e[1].data.tracks)}},u6={name:"PageArtistTracks",components:{ContentWithHeading:se,ControlButton:nn,ControlDropdown:Mr,ControlSwitch:Pr,HeadingTitle:ie,IndexButtonList:xs,ListOptions:Ho,ListTracks:Un,ModalDialogArtist:md},beforeRouteEnter(t,e,n){fb.load(t).then(s=>{n(i=>fb.set(i,s))})},setup(){return{servicesStore:Ue(),uiStore:jn()}},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:"count.albums"},{count:this.tracks.count,key:"count.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(){tt.player_play_uri(this.trackList.items.map(t=>t.uri).join(),!0)}}},d6=["textContent"],f6=["textContent"];function h6(t,e,n,s,i,r){const o=w("index-button-list"),a=w("control-switch"),l=w("control-dropdown"),c=w("list-options"),u=w("heading-title"),d=w("control-button"),f=w("list-tracks"),h=w("modal-dialog-artist"),p=w("content-with-heading");return x(),$("div",null,[E(p,null,{options:M(()=>[E(o,{indices:r.tracks.indices},null,8,["indices"]),E(c,null,{filter:M(()=>[s.servicesStore.isSpotifyActive?(x(),vt(a,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=m=>s.uiStore.hideSpotify=m)},{label:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-spotify"))},null,8,d6)]),help:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-spotify-help"))},null,8,f6)]),_: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"]),E(h,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=m=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const p6=it(u6,[["render",h6]]),m6={name:"ListArtists",components:{ListItem:yi,ModalDialogArtist:md},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.selectedItem=t;const e=t.media_kind==="audiobook"?"audiobooks-artist":"music-artist";this.$router.push({name:e,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function g6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-artist");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>(x(),vt(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 Jc=it(m6,[["render",g6]]),hb={load(t){return tt.library_artists("music")},set(t,e){t.artistList=new Ct(e.data)}},y6={name:"PageArtists",components:{ContentWithHeading:se,ControlDropdown:Mr,ControlSwitch:Pr,HeadingTitle:ie,IndexButtonList:xs,ListArtists:Jc,ListOptions:Ho,TabsMusic:Ws},beforeRouteEnter(t,e,n){hb.load(t).then(s=>{n(i=>hb.set(i,s))})},setup(){return{servicesStore:Ue(),uiStore:jn()}},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:"count.artists"}],title:this.$t("page.artists.title")}}}},b6=["textContent"],v6=["textContent"],_6=["textContent"],S6=["textContent"];function E6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("index-button-list"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("heading-title"),f=w("list-artists"),h=w("content-with-heading");return x(),$("div",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(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-singles"))},null,8,b6)]),help:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-singles-help"))},null,8,v6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(x(),vt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-spotify"))},null,8,_6)]),help:M(()=>[C("span",{textContent:Z(t.$t("options.filter.hide-spotify-help"))},null,8,S6)]),_: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})])}const w6=it(y6,[["render",E6]]),pb={load(t){return Promise.all([tt.library_album(t.params.id),tt.library_album_tracks(t.params.id)])},set(t,e){t.album=e[0].data,t.tracks=new Ct(e[1].data)}},k6={name:"PageAudiobooksAlbum",components:{ContentWithHero:fd,ControlImage:Rr,HeadingHero:hd,ListTracks:Un,ModalDialogAlbum:pd},beforeRouteEnter(t,e,n){pb.load(t).then(s=>{n(i=>pb.set(i,s))})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("count.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){tt.player_play_uri(this.album.uri,!1)}}};function T6(t,e,n,s,i,r){const o=w("heading-hero"),a=w("control-image"),l=w("list-tracks"),c=w("modal-dialog-album"),u=w("content-with-hero");return x(),$("div",null,[E(u,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,artist:i.album.artist,album:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","artist","album","onClick"])]),content:M(()=>[E(l,{items:i.tracks,"show-progress":!0,uris:i.album.uri},null,8,["items","uris"]),E(c,{item:i.album,show:i.showDetailsModal,media_kind:"audiobook",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const C6=it(k6,[["render",T6]]),A6={name:"TabsAudiobooks",components:{ControlTabList:em},computed:{links(){return[{icon:"account-music",key:"page.audiobooks.tabs.authors",to:{name:"audiobooks-artists"}},{icon:"album",key:"page.audiobooks.tabs.audiobooks",to:{name:"audiobooks-albums"}},{icon:"speaker",key:"page.audiobooks.tabs.genres",to:{name:"audiobooks-genres"}}]}}};function O6(t,e,n,s,i,r){const o=w("control-tab-list");return x(),vt(o,{links:r.links},null,8,["links"])}const sm=it(A6,[["render",O6]]),mb={load(t){return tt.library_albums("audiobook")},set(t,e){t.albums=new Ct(e.data,{index:{field:"name_sort",type:String}})}},x6={name:"PageAudiobooksAlbums",components:{ContentWithHeading:se,HeadingTitle:ie,IndexButtonList:xs,ListAlbums:zn,TabsAudiobooks:sm},beforeRouteEnter(t,e,n){mb.load(t).then(s=>{n(i=>mb.set(i,s))})},data(){return{albums:new Ct}},computed:{heading(){return{subtitle:[{count:this.albums.count,key:"count.audiobooks"}],title:this.$t("page.audiobooks.albums.title")}}}};function I6(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("index-button-list"),l=w("heading-title"),c=w("list-albums"),u=w("content-with-heading");return x(),$("div",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})])}const N6=it(x6,[["render",I6]]),gb={load(t){return Promise.all([tt.library_artist(t.params.id),tt.library_artist_albums(t.params.id)])},set(t,e){t.artist=e[0].data,t.albums=new Ct(e[1].data)}},P6={name:"PageAudiobooksArtist",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListAlbums:zn,ModalDialogArtist:md},beforeRouteEnter(t,e,n){gb.load(t).then(s=>{n(i=>gb.set(i,s))})},data(){return{albums:new Ct,artist:{},showDetailsModal:!1}},computed:{heading(){return this.artist.name?{subtitle:[{count:this.artist.album_count,key:"count.audiobooks"}],title:this.artist.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},play(){tt.player_play_uri(this.albums.items.map(t=>t.uri).join(),!1)}}};function D6(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("list-albums"),c=w("modal-dialog-artist"),u=w("content-with-heading");return x(),$("div",null,[E(u,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"]),E(c,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const R6=it(P6,[["render",D6]]),yb={load(t){return tt.library_artists("audiobook")},set(t,e){t.artists=new Ct(e.data,{index:{field:"name_sort",type:String}})}},M6={name:"PageAudiobooksArtists",components:{ContentWithHeading:se,HeadingTitle:ie,IndexButtonList:xs,ListArtists:Jc,TabsAudiobooks:sm},beforeRouteEnter(t,e,n){yb.load(t).then(s=>{n(i=>yb.set(i,s))})},data(){return{artists:new Ct}},computed:{heading(){return{subtitle:[{count:this.artists.count,key:"count.authors"}],title:this.$t("page.audiobooks.artists.title")}}}};function L6(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("index-button-list"),l=w("heading-title"),c=w("list-artists"),u=w("content-with-heading");return x(),$("div",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})])}const $6=it(M6,[["render",L6]]),F6={name:"ModalDialogGenre",components:{ModalDialogPlayable:Os},props:{item:{required:!0,type:Object},media_kind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`genre is "${this.item.name}" and media_kind is ${this.media_kind}`,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.$filters.toTimecode(this.item.length_ms)}]}}}};function V6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const im=it(F6,[["render",V6]]),H6={name:"ListGenres",components:{ListItem:yi,ModalDialogGenre:im},props:{items:{required:!0,type:Object},media_kind:{required:!0,type:String}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"genre-albums",params:{name:t.name},query:{media_kind:this.media_kind}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function U6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-genre");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>(x(),vt(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.media_kind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","media_kind","show"])],64)}const SS=it(H6,[["render",U6]]),bb={load(t){return tt.library_genres("audiobook")},set(t,e){t.genres=new Ct(e.data.genres,{index:{field:"name_sort",type:String}})}},j6={name:"PageAudiobooksGenres",components:{ContentWithHeading:se,HeadingTitle:ie,IndexButtonList:xs,ListGenres:SS,TabsAudiobooks:sm},beforeRouteEnter(t,e,n){bb.load(t).then(s=>{n(i=>bb.set(i,s))})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"count.genres"}],title:this.$t("page.genres.title")}}}};function B6(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("index-button-list"),l=w("heading-title"),c=w("list-genres"),u=w("content-with-heading");return x(),$("div",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})])}const W6=it(j6,[["render",B6]]),G6={name:"ModalDialogComposer",components:{ModalDialogPlayable:Os},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.$filters.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 q6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const rm=it(G6,[["render",q6]]),vb={load(t){return Promise.all([tt.library_composer(t.params.name),tt.library_composer_albums(t.params.name)])},set(t,e){t.composer=e[0].data,t.albums=new Ct(e[1].data.albums)}},z6={name:"PageComposerAlbums",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListAlbums:zn,ModalDialogComposer:rm},beforeRouteEnter(t,e,n){vb.load(t).then(s=>{n(i=>vb.set(i,s))})},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:"count.albums"},{count:this.composer.track_count,handler:this.openTracks,key:"count.tracks"}],title:this.composer.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){tt.player_play_expression(this.expression,!0)}}};function K6(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("list-albums"),c=w("modal-dialog-composer"),u=w("content-with-heading");return x(),$("div",null,[E(u,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"]),E(c,{item:i.composer,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const X6=it(z6,[["render",K6]]),_b={load(t){return Promise.all([tt.library_composer(t.params.name),tt.library_composer_tracks(t.params.name)])},set(t,e){t.composer=e[0].data,t.trackList=new Ct(e[1].data.tracks)}},Y6={name:"PageComposerTracks",components:{ContentWithHeading:se,ControlButton:nn,ControlDropdown:Mr,HeadingTitle:ie,IndexButtonList:xs,ListOptions:Ho,ListTracks:Un,ModalDialogComposer:rm},beforeRouteEnter(t,e,n){_b.load(t).then(s=>{n(i=>_b.set(i,s))})},setup(){return{uiStore:jn()}},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:"count.albums"},{count:this.composer.track_count,key:"count.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(){tt.player_play_expression(this.expression,!0)}}};function Z6(t,e,n,s,i,r){const o=w("index-button-list"),a=w("control-dropdown"),l=w("list-options"),c=w("heading-title"),u=w("control-button"),d=w("list-tracks"),f=w("modal-dialog-composer"),h=w("content-with-heading");return x(),$("div",null,[E(h,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"]),E(f,{item:i.composer,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const J6=it(Y6,[["render",Z6]]),Q6={name:"ListComposers",components:{ListItem:yi,ModalDialogComposer:rm},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.selectedItem=t,this.$router.push({name:"music-composer-albums",params:{name:t.name}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function tF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-composer");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>(x(),vt(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 bh=it(Q6,[["render",tF]]),Sb={load(){return tt.library_composers("music")},set(t,e){t.composers=new Ct(e.data,{index:{field:"name_sort",type:String}})}},eF={name:"PageComposers",components:{ContentWithHeading:se,HeadingTitle:ie,IndexButtonList:xs,ListComposers:bh,TabsMusic:Ws},beforeRouteEnter(t,e,n){Sb.load().then(s=>{n(i=>Sb.set(i,s))})},data(){return{composers:new Ct}},computed:{heading(){return{subtitle:[{count:this.composers.total,key:"count.composers"}],title:this.$t("page.composers.title")}}}};function nF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("index-button-list"),l=w("heading-title"),c=w("list-composers"),u=w("content-with-heading");return x(),$("div",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})])}const sF=it(eF,[["render",nF]]),iF={name:"ModalDialogDirectory",components:{ModalDialogPlayable:Os},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 rF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const ES=it(iF,[["render",rF]]),oF={name:"ListDirectories",components:{ModalDialogDirectory:ES},props:{items:{required:!0,type:Array}},data(){return{selectedItem:"",showDetailsModal:!1}},computed:{directories(){var n;const t=[];let e="";return(n=this.$route.query)==null||n.directory.split("/").slice(1,-1).forEach((s,i)=>{e=`${e}/${s}`,t.push({index:i,name:s,path:e})}),t}},methods:{open(t){const e={name:"files"};t.index!==0&&(e.query={directory:t.path}),this.$router.push(e)},openDetails(t){this.selectedItem=t.path,this.showDetailsModal=!0},openParent(){this.open(this.directories.slice(-1).pop())}}},aF={key:0,class:"media is-align-items-center mb-0"},lF={class:"media-content"},cF={class:"breadcrumb"},uF=["onClick"],dF=["textContent"],fF={class:"media-right"},hF=["onClick"],pF={class:"media-content"},mF=["textContent"],gF={class:"media-right"},yF=["onClick"];function bF(t,e,n,s,i,r){const o=w("mdicon"),a=w("modal-dialog-directory");return x(),$(pt,null,[t.$route.query.directory?(x(),$("div",aF,[E(o,{class:"icon media-left is-clickable",name:"chevron-left",onClick:r.openParent},null,8,["onClick"]),C("div",lF,[C("nav",cF,[C("ul",null,[(x(!0),$(pt,null,oe(r.directories,l=>(x(),$("li",{key:l.index},[C("a",{onClick:c=>r.open(l)},[C("span",{textContent:Z(l.name)},null,8,dF)],8,uF)]))),128))])])]),C("div",fF,[de(t.$slots,"actions")])])):_t("",!0),(x(!0),$(pt,null,oe(n.items,l=>(x(),$("div",{key:l.path,class:"media is-align-items-center is-clickable mb-0",onClick:c=>r.open(l)},[E(o,{class:"media-left icon",name:"folder"}),C("div",pF,[C("div",{class:"is-size-6 has-text-weight-bold",textContent:Z(l.name)},null,8,mF)]),C("div",gF,[C("a",{onClick:_n(c=>r.openDetails(l),["prevent","stop"])},[E(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})],8,yF)])],8,hF))),128)),E(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const vF=it(oF,[["render",bF]]),_F={name:"ModalDialogPlaylist",components:{ModalDialogPlayable:Os},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 SF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const wS=it(_F,[["render",SF]]),EF={name:"ListPlaylists",components:{ListItem:yi,ModalDialogPlaylist:wS},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{icon(t){return t.type==="folder"?"folder":t.type==="rss"?"rss":"music-box-multiple"},open(t){t.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:t.id}}):this.$router.push({name:"playlist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function wF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-playlist");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>(x(),vt(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 Qc=it(EF,[["render",wF]]),jl={load(t){return t.query.directory?tt.library_files(t.query.directory):Promise.resolve()},set(t,e){e?t.directories=e.data.directories.map(n=>t.transform(n.path)):Gi().directories?t.directories=Gi().directories.map(n=>t.transform(n)):tt.config().then(n=>{t.directories=n.data.directories.map(s=>t.transform(s))}),t.playlists=new Ct(e==null?void 0:e.data.playlists),t.tracks=new Ct(e==null?void 0:e.data.tracks)}},kF={name:"PageFiles",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListDirectories:vF,ListPlaylists:Qc,ListTracks:Un,ModalDialogDirectory:ES},beforeRouteEnter(t,e,n){jl.load(t).then(s=>{n(i=>jl.set(i,s))})},beforeRouteUpdate(t,e,n){jl.load(t).then(s=>{jl.set(this,s),n()})},setup(){return{configurationStore:Gi()}},data(){return{directories:[],playlists:new Ct,showDetailsModal:!1,tracks:new Ct}},computed:{current(){var t;return((t=this.$route.query)==null?void 0:t.directory)||"/"},expression(){return`path starts with "${this.current}" order by path asc`},name(){var t;return this.current!=="/"?(t=this.current)==null?void 0:t.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")}},methods:{openDetails(){this.showDetailsModal=!0},play(){tt.player_play_expression(this.expression,!1)},transform(t){return{name:t.slice(t.lastIndexOf("/")+1),path:t}}}};function TF(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("list-directories"),c=w("list-playlists"),u=w("list-tracks"),d=w("modal-dialog-directory"),f=w("content-with-heading");return x(),$("div",null,[E(f,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,{expression:r.expression,items:i.tracks,icon:"file-music-outline"},null,8,["expression","items"]),E(d,{item:r.current,show:i.showDetailsModal,onClose:e[0]||(e[0]=h=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const CF=it(kF,[["render",TF]]),Eb={load(t){return Promise.all([tt.library_genre(t.params.name,t.query.media_kind),tt.library_genre_albums(t.params.name,t.query.media_kind)])},set(t,e){t.genre=e[0].data.genres.items.shift(),t.albums=new Ct(e[1].data.albums,{index:{field:"name_sort",type:String}})}},AF={name:"PageGenreAlbums",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,IndexButtonList:xs,ListAlbums:zn,ModalDialogGenre:im},beforeRouteEnter(t,e,n){Eb.load(t).then(s=>{n(i=>Eb.set(i,s))})},data(){return{albums:new Ct,genre:{},media_kind:this.$route.query.media_kind,showDetailsModal:!1}},computed:{heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,key:"count.albums"},{count:this.genre.track_count,handler:this.openTracks,key:"count.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:{media_kind:this.media_kind}})},play(){tt.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}};function OF(t,e,n,s,i,r){const o=w("index-button-list"),a=w("heading-title"),l=w("control-button"),c=w("list-albums"),u=w("modal-dialog-genre"),d=w("content-with-heading");return x(),$("div",null,[E(d,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"]),E(u,{item:i.genre,media_kind:i.media_kind,show:i.showDetailsModal,onClose:e[0]||(e[0]=f=>i.showDetailsModal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const xF=it(AF,[["render",OF]]),wb={load(t){return Promise.all([tt.library_genre(t.params.name,t.query.media_kind),tt.library_genre_tracks(t.params.name,t.query.media_kind)])},set(t,e){t.genre=e[0].data.genres.items.shift(),t.trackList=new Ct(e[1].data.tracks)}},IF={name:"PageGenreTracks",components:{ContentWithHeading:se,ControlButton:nn,ControlDropdown:Mr,HeadingTitle:ie,IndexButtonList:xs,ListOptions:Ho,ListTracks:Un,ModalDialogGenre:im},beforeRouteEnter(t,e,n){wb.load(t).then(s=>{n(i=>wb.set(i,s))})},setup(){return{uiStore:jn()}},data(){return{genre:{},media_kind:this.$route.query.media_kind,showDetailsModal:!1,trackList:new Ct}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},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:"count.albums"},{count:this.genre.track_count,key:"count.tracks"}],title:this.genre.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.genreTracksSort);return this.trackList.group(t)}},methods:{openGenre(){this.showDetailsModal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){tt.player_play_expression(this.expression,!0)},openDetails(){this.showDetailsModal=!0}}};function NF(t,e,n,s,i,r){const o=w("index-button-list"),a=w("control-dropdown"),l=w("list-options"),c=w("heading-title"),u=w("control-button"),d=w("list-tracks"),f=w("modal-dialog-genre"),h=w("content-with-heading");return x(),$("div",null,[E(h,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"]),E(f,{item:i.genre,media_kind:i.media_kind,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const PF=it(IF,[["render",NF]]),kb={load(){return tt.library_genres("music")},set(t,e){t.genres=new Ct(e.data.genres,{index:{field:"name_sort",type:String}})}},DF={name:"PageGenres",components:{ContentWithHeading:se,HeadingTitle:ie,IndexButtonList:xs,ListGenres:SS,TabsMusic:Ws},beforeRouteEnter(t,e,n){kb.load().then(s=>{n(i=>kb.set(i,s))})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"count.genres"}],title:this.$t("page.genres.title")}}}};function RF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("index-button-list"),l=w("heading-title"),c=w("list-genres"),u=w("content-with-heading");return x(),$("div",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})])}const MF=it(DF,[["render",RF]]),Tb={load(){return 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"})])},set(t,e){t.albums=new Ct(e[0].data.albums),t.tracks=new Ct(e[1].data.tracks)}},LF={name:"PageMusic",components:{ContentWithHeading:se,HeadingTitle:ie,ListAlbums:zn,ListTracks:Un,TabsMusic:Ws},beforeRouteEnter(t,e,n){Tb.load().then(s=>{n(i=>Tb.set(i,s))})},data(){return{albums:[],tracks:null}}};function $F(t,e,n,s,i,r){const o=w("tabs-music"),a=w("heading-title"),l=w("list-albums"),c=w("router-link"),u=w("content-with-heading"),d=w("list-tracks");return x(),$("div",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(()=>[Us(Z(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(()=>[Us(Z(t.$t("actions.show-more")),1)]),_:1})]),_:1})])}const FF=it(LF,[["render",$F]]),Cb={load(){const t=gi().recently_added_limit;return tt.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t,type:"album"})},set(t,e){t.albums=new Ct(e.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},VF={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:se,HeadingTitle:ie,ListAlbums:zn,TabsMusic:Ws},beforeRouteEnter(t,e,n){Cb.load().then(s=>{n(i=>Cb.set(i,s))})},setup(){return{settingsStore:gi()}},data(){return{albums:new Ct}}};function HF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("heading-title"),l=w("list-albums"),c=w("content-with-heading");return x(),$("div",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})])}const UF=it(VF,[["render",HF]]),Ab={load(){return tt.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"})},set(t,e){t.tracks=new Ct(e.data.tracks)}},jF={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:se,HeadingTitle:ie,ListTracks:Un,TabsMusic:Ws},beforeRouteEnter(t,e,n){Ab.load().then(s=>{n(i=>Ab.set(i,s))})},data(){return{tracks:{}}}};function BF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("heading-title"),l=w("list-tracks"),c=w("content-with-heading");return x(),$("div",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})])}const WF=it(jF,[["render",BF]]),GF={name:"ModalDialogPlaylistSpotify",components:{ModalDialogPlayable:Os},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var t,e;return{name:this.item.name,properties:[{key:"property.owner",value:(t=this.item.owner)==null?void 0:t.display_name},{key:"property.tracks",value:(e=this.item.tracks)==null?void 0:e.total},{key:"property.path",value:this.item.uri}],uri:this.item.uri}}}};function qF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return x(),vt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const kS=it(GF,[["render",qF]]),zF={name:"ListPlaylistsSpotify",components:{ListItem:yi,ModalDialogPlaylistSpotify:kS},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"playlist-spotify",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function KF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-playlist-spotify");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>(x(),vt(o,{key:l.id,"is-item":l.isItem,index:l.index,lines:[l.name,l.owner.display_name],onOpen:c=>r.open(l),onOpenDetails:c=>r.openDetails(l)},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 tu=it(zF,[["render",KF]]),Ob={load(){return tt.spotify().then(({data:t})=>{const e=new Bs;return e.setAccessToken(t.webapi_token),Promise.all([e.getNewReleases({country:t.webapi_country,limit:3}),e.getFeaturedPlaylists({country:t.webapi_country,limit:3})])})},set(t,e){t.albums=e[0].albums.items,t.playlists=e[1].playlists.items}},XF={name:"PageMusicSpotify",components:{ContentWithHeading:se,HeadingTitle:ie,ListAlbumsSpotify:Ka,ListPlaylistsSpotify:tu,TabsMusic:Ws},beforeRouteEnter(t,e,n){Ob.load().then(s=>{n(i=>Ob.set(i,s))})},data(){return{albums:[],playlists:[]}}};function YF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("heading-title"),l=w("list-albums-spotify"),c=w("router-link"),u=w("content-with-heading"),d=w("list-playlists-spotify");return x(),$("div",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(()=>[Us(Z(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(()=>[Us(Z(t.$t("actions.show-more")),1)]),_:1})]),_:1})])}const ZF=it(XF,[["render",YF]]),xb={load(t){return tt.spotify().then(({data:e})=>{const n=new Bs;return n.setAccessToken(e.webapi_token),n.getFeaturedPlaylists({country:e.webapi_country,limit:50})})},set(t,e){t.playlists=e.playlists.items}},JF={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:se,HeadingTitle:ie,ListPlaylistsSpotify:tu,TabsMusic:Ws},beforeRouteEnter(t,e,n){xb.load(t).then(s=>{n(i=>xb.set(i,s))})},data(){return{playlists:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.featured-playlists")}}}};function QF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("heading-title"),l=w("list-playlists-spotify"),c=w("content-with-heading");return x(),$("div",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})])}const tV=it(JF,[["render",QF]]),Ib={load(){return tt.spotify().then(({data:t})=>{const e=new Bs;return e.setAccessToken(t.webapi_token),e.getNewReleases({country:t.webapi_country,limit:50})})},set(t,e){t.albums=e.albums.items}},eV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:se,HeadingTitle:ie,ListAlbumsSpotify:Ka,TabsMusic:Ws},beforeRouteEnter(t,e,n){Ib.load().then(s=>{n(i=>Ib.set(i,s))})},data(){return{albums:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.new-releases")}}}};function nV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("heading-title"),l=w("list-albums-spotify"),c=w("content-with-heading");return x(),$("div",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})])}const sV=it(eV,[["render",nV]]),iV={name:"LyricsPane",setup(){return{lyricsStore:Hu(),playerStore:ts()}},data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{lyrics(){const t=this.lyricsStore.content,e=[];if(t.length>0){const n=/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u;t.split(`
|
||
`).forEach(s=>{const{text:i,minutes:r,seconds:o,hundredths:a}=n.exec(s).groups;if(i){const l={text:i,time:r*60+Number(o)+ +`.${a||0}`};e.push(l)}}),e.forEach((s,i,r)=>{const o=(r[i+1].time-s.time||3)/s.text.length;let a=0;s.words=s.text.match(/\S+\s*/gu).map(l=>{const c=l.length*o;return a+=c,{delay:a,duration:c,text:l}})})}return e},verseIndex(){var t;if(this.lyrics.length&&this.lyrics[0].time){const e=this.playerStore.item_progress_ms/1e3,n=this.lyrics,s=this.playerStore.item_id!==this.lastItemId,i=this.lastIndex>=0&&this.lastIndex<n.length&&n[this.lastIndex].time>e;if((s||i)&&this.resetScrolling(),this.lastIndex<n.length-1&&n[this.lastIndex+1].time>e||this.lastIndex===n.length-1)return this.lastIndex;if(this.lastIndex<n.length-2&&n[this.lastIndex+2].time>e)return this.lastIndex+1;let r=n.length-1,o=-1,a=0;for(;a<=r;){o=a+r>>1;const l=n[o].time,c=(t=n[o+1])==null?void 0:t.time;if(l<=e&&(c>e||!c))break;l<e?a=o+1:r=o-1}return o}return this.resetScrolling(),-1}},watch:{verseIndex(){this.autoScrolling&&this.scrollToVerse(),this.lastIndex=this.verseIndex}},methods:{resetScrolling(){this.playerStore.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.playerStore.item_id,this.lastIndex=-1},scrollToVerse(){const t=this.$refs.lyrics;if(this.verseIndex===-1){t.scrollTo(0,0);return}const e=t.children[this.verseIndex];t.scrollBy({behavior:"smooth",left:0,top:e.offsetTop-(t.offsetHeight>>1)+(e.offsetHeight>>1)-t.scrollTop})},startScrolling(t){(t.screenX??t.screenY)&&(this.autoScrolling=!1,clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))}}},rV=["textContent"],oV={key:1};function aV(t,e,n,s,i,r){return x(),$("div",{ref:"lyrics",class:"lyrics",onTouchstart:e[0]||(e[0]=o=>i.autoScrolling=!1),onTouchend:e[1]||(e[1]=o=>i.autoScrolling=!0),onScrollPassive:e[2]||(e[2]=(...o)=>r.startScrolling&&r.startScrolling(...o)),onWheelPassive:e[3]||(e[3]=(...o)=>r.startScrolling&&r.startScrolling(...o))},[(x(!0),$(pt,null,oe(r.lyrics,(o,a)=>(x(),$(pt,{key:a},[a===r.verseIndex?(x(),$("div",{key:0,class:Vt({"is-highlighted":s.playerStore.isPlaying})},[(x(!0),$(pt,null,oe(o.words,l=>(x(),$("span",{key:l,class:"has-text-weight-bold is-size-5"},[C("span",{style:fi({"animation-duration":`${l.delay}s`}),textContent:Z(l.text)},null,12,rV)]))),128))],2)):(x(),$("div",oV,Z(o.text),1))],64))),128))],544)}const lV=it(iV,[["render",aV],["__scopeId","data-v-c5d2cb32"]]),cV={name:"ModalDialogQueueItem",components:{ListProperties:bS,ModalDialog:mi},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Ue()}},data(){return{spotifyTrack:{}}},computed:{actions(){return[{handler:this.remove,icon:"delete",key:"actions.remove"},{handler:this.play,icon:"play",key:"actions.play"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openAlbumArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.year",value:this.item.year},{handler:this.openGenre,key:"property.genre",value:this.item.genre},{key:"property.position",value:[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$filters.toTimecode(this.item.length_ms)},{key:"property.path",value:this.item.path},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.$t("dialog.track.quality-value",{bitrate:this.item.bitrate,channels:this.$t("count.channels",this.item.channels),format:this.item.type,samplerate:this.item.samplerate})}],uri:this.item.uri}}},watch:{item(){var t;if(((t=this.item)==null?void 0:t.data_kind)==="spotify"){const e=new Bs;e.setAccessToken(this.servicesStore.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(n=>{this.spotifyTrack=n})}else this.spotifyTrack={}}},methods:{openAlbum(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotifyTrack.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},openAlbumArtist(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotifyTrack.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),tt.player_play({item_id:this.item.id})},remove(){this.$emit("close"),tt.queue_remove(this.item.id)}}};function uV(t,e,n,s,i,r){const o=w("list-properties"),a=w("modal-dialog");return x(),vt(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 TS=it(cV,[["render",uV]]),Ti=1e3,dV={name:"PageNowPlaying",components:{ControlImage:Rr,ControlSlider:Vu,LyricsPane:lV,ModalDialogQueueItem:TS},setup(){return{lyricsStore:Hu(),playerStore:ts(),queueStore:ks(),settingsStore:gi()}},data(){return{INTERVAL:Ti,intervalId:0,isDragged:!1,selectedItem:{},showDetailsModal:!1}},computed:{composer(){if(this.settingsStore.show_composer_now_playing){const t=this.settingsStore.show_composer_for_genre;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.$filters.toTimecode(this.trackProgress*Ti)},trackProgress:{get(){return Math.floor(this.playerStore.item_progress_ms/Ti)},set(t){this.playerStore.item_progress_ms=t*Ti}},trackProgressMax(){return this.isLive?1:Math.floor(this.track.length_ms/Ti)},trackTotalTime(){return this.isLive?this.$t("page.now-playing.live"):this.$filters.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,Ti))}},created(){tt.player_status().then(({data:t})=>{this.playerStore.$state=t,this.playerStore.state==="play"&&(this.intervalId=window.setInterval(this.tick,Ti))})},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||tt.player_seek_to_pos(this.trackProgress*Ti)},startDragging(){this.isDragged=!0},tick(){this.isDragged||(this.trackProgress+=1)}}},fV={class:"is-flex is-align-items-center has-text-centered px-5 is-full-height"},hV={key:0,class:"mx-auto",style:{"max-width":"32rem"}},pV={class:"is-flex is-justify-content-space-between"},mV=["textContent"],gV=["textContent"],yV=["textContent"],bV=["textContent"],vV=["textContent"],_V=["textContent"],SV=["textContent"],EV={key:1,class:"mx-auto"},wV=["textContent"],kV=["textContent"];function TV(t,e,n,s,i,r){const o=w("control-image"),a=w("lyrics-pane"),l=w("control-slider"),c=w("modal-dialog-queue-item");return x(),$(pt,null,[C("div",fV,[r.track.id?(x(),$("div",hV,[E(o,{url:r.track.artwork_url,artist:r.track.artist,album:r.track.album,class:Vt(["is-clickable is-big",{"is-masked":s.lyricsStore.active}]),onClick:e[0]||(e[0]=u=>r.openDetails(r.track))},null,8,["url","artist","album","class"]),s.lyricsStore.active?(x(),vt(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"]),C("div",pV,[C("p",{class:"subtitle is-7",textContent:Z(r.trackElapsedTime)},null,8,mV),C("p",{class:"subtitle is-7",textContent:Z(r.trackTotalTime)},null,8,gV)]),C("p",{class:"title is-5",textContent:Z(r.track.title)},null,8,yV),C("p",{class:"title is-6",textContent:Z(r.track.artist)},null,8,bV),r.composer?(x(),$("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:Z(r.composer)},null,8,vV)):_t("",!0),r.track.album?(x(),$("p",{key:2,class:"subtitle is-6",textContent:Z(r.track.album)},null,8,_V)):_t("",!0),s.settingsStore.show_filepath_now_playing?(x(),$("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:Z(r.track.path)},null,8,SV)):_t("",!0)])):(x(),$("div",EV,[C("p",{class:"title is-5",textContent:Z(t.$t("page.now-playing.title"))},null,8,wV),C("p",{class:"subtitle",textContent:Z(t.$t("page.now-playing.info"))},null,8,kV)]))]),E(c,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[2]||(e[2]=u=>i.showDetailsModal=!1)},null,8,["show","item"])],64)}const CV=it(dV,[["render",TV],["__scopeId","data-v-3ed944bd"]]),Bl={load(t){return Promise.all([tt.library_playlist(t.params.id),tt.library_playlist_folder(t.params.id)])},set(t,e){t.playlist=e[0].data,t.playlistList=new Ct(e[1].data)}},AV={name:"PagePlaylistFolder",components:{ContentWithHeading:se,HeadingTitle:ie,ListPlaylists:Qc},beforeRouteEnter(t,e,n){Bl.load(t).then(s=>{n(i=>Bl.set(i,s))})},beforeRouteUpdate(t,e,n){Bl.load(t).then(s=>{Bl.set(this,s),n()})},setup(){return{configurationStore:Gi()}},data(){return{playlist:{},playlistList:new Ct}},computed:{heading(){return{subtitle:[{count:this.playlists.count,key:"count.playlists"}],title:this.playlists.count===0?this.$t("page.playlists.title"):this.playlist.name}},playlists(){return this.playlistList.group({filters:[t=>t.folder||this.radio_playlists||t.stream_count===0||t.item_count>t.stream_count]})},radio_playlists(){return this.configurationStore.radio_playlists}}};function OV(t,e,n,s,i,r){const o=w("heading-title"),a=w("list-playlists"),l=w("content-with-heading");return x(),$("div",null,[E(l,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),content:M(()=>[E(a,{items:r.playlists},null,8,["items"])]),_:1})])}const xV=it(AV,[["render",OV]]),Nb={load(t){return Promise.all([tt.library_playlist(t.params.id),tt.library_playlist_tracks(t.params.id)])},set(t,e){t.playlist=e[0].data,t.tracks=new Ct(e[1].data)}},IV={name:"PagePlaylistTracks",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListTracks:Un,ModalDialogPlaylist:wS},beforeRouteEnter(t,e,n){Nb.load(t).then(s=>{n(i=>Nb.set(i,s))})},data(){return{playlist:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{subtitle:[{count:this.tracks.count,key:"count.tracks"}],title:this.playlist.name}},uris(){return this.playlist.random?this.tracks.map(t=>t.uri).join():this.playlist.uri}},methods:{play(){tt.player_play_uri(this.uris,!0)},openDetails(){this.showDetailsModal=!0}}};function NV(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("list-tracks"),c=w("modal-dialog-playlist"),u=w("content-with-heading");return x(),$("div",null,[E(u,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"]),E(c,{item:i.playlist,show:i.showDetailsModal,uris:r.uris,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show","uris"])]),_:1})])}const PV=it(IV,[["render",NV]]),vh=50,Pb={load(t){const e=new Bs;return e.setAccessToken(Ue().spotify.webapi_token),Promise.all([e.getPlaylist(t.params.id),e.getPlaylistTracks(t.params.id,{limit:vh,market:Ue().$state.spotify.webapi_country,offset:0})])},set(t,e){t.playlist=e.shift(),t.tracks=[],t.total=0,t.offset=0,t.appendTracks(e.shift())}},DV={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListTracksSpotify:Zc,ModalDialogPlaylistSpotify:kS,VueEternalLoading:nm},beforeRouteEnter(t,e,n){Pb.load(t).then(s=>{n(i=>Pb.set(i,s))})},setup(){return{servicesStore:Ue()}},data(){return{offset:0,playlist:{tracks:{}},showDetailsModal:!1,total:0,tracks:[]}},computed:{heading(){return this.playlist.name?{subtitle:[{count:this.playlist.tracks.total,key:"count.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&&(s.position=++e),this.tracks.push(s))}),this.total=t.total,this.offset+=t.limit},load({loaded:t}){const e=new Bs;e.setAccessToken(this.servicesStore.spotify.webapi_token),e.getPlaylistTracks(this.playlist.id,{limit:vh,market:this.servicesStore.spotify.webapi_country,offset:this.offset}).then(n=>{this.appendTracks(n),t(n.items.length,vh)})},play(){this.showDetailsModal=!1,tt.player_play_uri(this.playlist.uri,!0)},openDetails(){this.showDetailsModal=!0}}},RV={class:"columns is-centered"},MV={class:"column has-text-centered"};function LV(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("list-tracks-spotify"),c=w("mdicon"),u=w("vue-eternal-loading"),d=w("modal-dialog-playlist-spotify"),f=w("content-with-heading");return x(),$("div",null,[E(f,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,{items:i.tracks,context_uri:i.playlist.uri},null,8,["items","context_uri"]),i.offset<i.total?(x(),vt(u,{key:0,load:r.load},{loading:M(()=>[C("div",RV,[C("div",MV,[E(c,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":M(()=>e[1]||(e[1]=[C("br",null,null,-1)])),_:1},8,["load"])):_t("",!0),E(d,{item:i.playlist,show:i.showDetailsModal,onClose:e[0]||(e[0]=h=>i.showDetailsModal=!1)},null,8,["item","show"])]),_:1})])}const $V=it(DV,[["render",LV]]),Db={load(t){return Promise.all([tt.library_album(t.params.id),tt.library_podcast_episodes(t.params.id)])},set(t,e){t.album=e[0].data,t.tracks=new Ct(e[1].data.tracks)}},FV={name:"PagePodcast",components:{ContentWithHero:fd,ControlImage:Rr,HeadingHero:hd,ListTracks:Un,ModalDialog:mi,ModalDialogAlbum:pd},beforeRouteEnter(t,e,n){Db.load(t).then(s=>{n(i=>Db.set(i,s))})},data(){return{album:{},playlistToRemove:{},showDetailsModal:!1,showRemovePodcastModal:!1,tracks:new Ct}},computed:{actions(){return[{handler:"cancel",icon:"cancel",key:this.$t("page.podcast.cancel")},{handler:"remove",icon:"delete",key:this.$t("page.podcast.remove")}]},heading(){return{count:this.$t("count.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:{openRemovePodcastDialog(){tt.library_track_playlists(this.tracks.items[0].id).then(({data:t})=>{[this.playlistToRemove]=t.items.filter(e=>e.type==="rss"),this.showRemovePodcastModal=!0,this.showDetailsModal=!1})},play(){tt.player_play_uri(this.album.uri,!1)},reloadTracks(){tt.library_podcast_episodes(this.album.id).then(({data:t})=>{this.tracks=new Ct(t.tracks)})},removePodcast(){this.showRemovePodcastModal=!1,tt.library_playlist_delete(this.playlistToRemove.id).then(()=>{this.$router.replace({name:"podcasts"})})},openDetails(){this.showDetailsModal=!0}}},VV=["textContent"];function HV(t,e,n,s,i,r){const o=w("heading-hero"),a=w("control-image"),l=w("list-tracks"),c=w("modal-dialog-album"),u=w("i18n-t"),d=w("modal-dialog"),f=w("content-with-hero");return x(),$("div",null,[E(f,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),image:M(()=>[E(a,{url:i.album.artwork_url,artist:i.album.artist,album:i.album.name,class:"is-clickable is-medium",onClick:r.openDetails},null,8,["url","artist","album","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]=h=>i.showDetailsModal=!1),onPlayCountChanged:r.reloadTracks,onRemovePodcast:r.openRemovePodcastDialog},null,8,["item","show","onPlayCountChanged","onRemovePodcast"]),E(d,{actions:r.actions,show:i.showRemovePodcastModal,title:t.$t("page.podcast.remove-podcast"),onCancel:e[1]||(e[1]=h=>i.showRemovePodcastModal=!1),onRemove:r.removePodcast},{content:M(()=>[E(u,{keypath:"page.podcast.remove-info",tag:"p",scope:"global"},{separator:M(()=>e[2]||(e[2]=[C("br",null,null,-1)])),name:M(()=>[C("b",{textContent:Z(i.playlistToRemove.name)},null,8,VV)]),_:1})]),_:1},8,["actions","show","title","onRemove"])]),_:1})])}const UV=it(FV,[["render",HV]]),jV={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{disabled:!0,value:""}},mounted(){setTimeout(()=>{this.$refs.input.focus()},10)},methods:{validate(t){const{validity:e}=t.target;this.disabled=e.patternMismatch||e.valueMissing,this.$emit("input",this.value,this.disabled)}}},BV={class:"field"},WV={class:"control has-icons-left"},GV=["placeholder","disabled"],qV=["textContent"];function zV(t,e,n,s,i,r){const o=w("mdicon");return x(),$("div",BV,[C("div",WV,[In(C("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,GV),[[Jn,i.value]]),E(o,{class:"icon is-left",name:n.icon,size:"16"},null,8,["name"])]),n.help?(x(),$("div",{key:0,class:"help",textContent:Z(n.help)},null,8,qV)):_t("",!0)])}const CS=it(jV,[["render",zV]]),KV={name:"ModalDialogAddRss",components:{ControlUrlField:CS,ModalDialog:mi},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.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e}}};function XV(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return x(),vt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.add.rss.title"),onClose:e[0]||(e[0]=l=>t.$emit("close"))},{content:M(()=>[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"])]),_:1},8,["actions","show","title"])}const YV=it(KV,[["render",XV]]),Rb={load(t){return Promise.all([tt.library_albums("podcast"),tt.library_podcasts_new_episodes()])},set(t,e){t.albums=new Ct(e[0].data),t.tracks=new Ct(e[1].data.tracks)}},ZV={name:"PagePodcasts",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListAlbums:zn,ListTracks:Un,ModalDialogAddRss:YV},beforeRouteEnter(t,e,n){Rb.load(t).then(s=>{n(i=>Rb.set(i,s))})},setup(){return{libraryStore:Fu(),uiStore:jn()}},data(){return{albums:[],showAddPodcastModal:!1,tracks:{items:[]}}},computed:{heading(){return this.albums.total?{subtitle:[{count:this.albums.count,key:"count.podcasts"}],title:this.$t("page.podcasts.title")}:{}},rss(){return this.libraryStore.rss}},methods:{markAllAsPlayed(){this.tracks.items.forEach(t=>{tt.library_track_update(t.id,{play_count:"increment"})}),this.tracks.items={}},openAddPodcastDialog(){this.showAddPodcastModal=!0},reloadNewEpisodes(){tt.library_podcasts_new_episodes().then(({data:t})=>{this.tracks=new Ct(t.tracks)})},reloadPodcasts(){tt.library_albums("podcast").then(({data:t})=>{this.albums=new Ct(t),this.reloadNewEpisodes()})},updateRss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.showUpdateDialog=!0}}};function JV(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("list-tracks"),c=w("content-with-heading"),u=w("list-albums"),d=w("modal-dialog-add-rss");return x(),$("div",null,[i.tracks.items.length>0?(x(),vt(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.tracks,"show-progress":!0,onPlayCountChanged:r.reloadNewEpisodes},null,8,["items","onPlayCountChanged"])]),_:1})):_t("",!0),E(c,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),actions:M(()=>[r.rss.tracks>0?(x(),vt(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:e[0]||(e[0]=f=>r.reloadNewEpisodes()),onPodcastDeleted:e[1]||(e[1]=f=>r.reloadPodcasts())},null,8,["items"]),E(d,{show:i.showAddPodcastModal,onClose:e[2]||(e[2]=f=>i.showAddPodcastModal=!1),onPodcastAdded:e[3]||(e[3]=f=>r.reloadPodcasts())},null,8,["show"])]),_:1})])}const QV=it(ZV,[["render",JV]]),t9={name:"ListItemQueueItem",props:{currentPosition:{required:!0,type:Number},editing:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number},hideReadItems:Boolean},setup(){return{playerStore:ts()}},computed:{isCurrent(){return this.item.id===this.playerStore.item_id},isNext(){return this.currentPosition<0||this.position>=this.currentPosition}},methods:{play(){tt.player_play({item_id:this.item.id})}}},e9={key:0,class:"media-left"},n9={class:"media-content"},s9=["textContent"],i9=["textContent"],r9=["textContent"],o9={class:"media-right"};function a9(t,e,n,s,i,r){const o=w("mdicon");return r.isNext||!n.hideReadItems?(x(),$("div",{key:0,class:"media is-align-items-center is-clickable mb-0",onClick:e[0]||(e[0]=(...a)=>r.play&&r.play(...a))},[n.editing?(x(),$("div",e9,[E(o,{class:"icon has-text-grey is-movable",name:"drag-horizontal",size:"18"})])):_t("",!0),C("div",n9,[C("div",{class:Vt(["is-size-6 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext}]),textContent:Z(n.item.title)},null,10,s9),C("div",{class:Vt(["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:Z(n.item.artist)},null,10,i9),C("div",{class:Vt(["is-size-7",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&r.isCurrent}]),textContent:Z(n.item.album)},null,10,r9)]),C("div",o9,[de(t.$slots,"actions",{},void 0,!0)])])):_t("",!0)}const l9=it(t9,[["render",a9],["__scopeId","data-v-98fb9d1e"]]),c9={name:"ModalDialogAddStream",components:{ControlUrlField:CS,ModalDialog:mi},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,tt.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e},play(){this.loading=!0,tt.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}};function u9(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return x(),vt(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(()=>[C("form",{onSubmit:e[0]||(e[0]=_n((...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 d9=it(c9,[["render",u9]]),f9={name:"ModalDialogPlaylistSave",components:{ModalDialog:mi},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,tt.queue_save_playlist(this.playlistName).then(()=>{this.$emit("close"),this.playlistName=""}).catch(()=>{this.loading=!1})}}},h9={class:"field"},p9={class:"control has-icons-left"},m9=["placeholder","disabled"];function g9(t,e,n,s,i,r){const o=w("mdicon"),a=w("modal-dialog");return x(),vt(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(()=>[C("form",{onSubmit:e[2]||(e[2]=_n((...l)=>r.save&&r.save(...l),["prevent"]))},[C("div",h9,[C("div",p9,[In(C("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,m9),[[Jn,i.playlistName]]),E(o,{class:"icon is-left",name:"playlist-music",size:"16"})])])],32)]),_:1},8,["actions","show","title"])}const y9=it(f9,[["render",g9]]);var mc={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function Mb(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 js(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Mb(Object(n),!0).forEach(function(s){b9(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mb(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function gc(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?gc=function(e){return typeof e}:gc=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gc(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 fs(){return fs=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},fs.apply(this,arguments)}function v9(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 _9(t,e){if(t==null)return{};var n=v9(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 S9(t){return E9(t)||w9(t)||k9(t)||T9()}function E9(t){if(Array.isArray(t))return _h(t)}function w9(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function k9(t,e){if(t){if(typeof t=="string")return _h(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 _h(t,e)}}function _h(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 T9(){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 C9="1.14.0";function ai(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var bi=ai(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),ml=ai(/Edge/i),Lb=ai(/firefox/i),ba=ai(/safari/i)&&!ai(/chrome/i)&&!ai(/android/i),AS=ai(/iP(ad|od|hone)/i),A9=ai(/chrome/i)&&ai(/android/i),OS={capture:!1,passive:!1};function Qt(t,e,n){t.addEventListener(e,n,!bi&&OS)}function zt(t,e,n){t.removeEventListener(e,n,!bi&&OS)}function eu(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 O9(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function vs(t,e,n,s){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&eu(t,e):eu(t,e))||s&&t===n)return t;if(t===n)break}while(t=O9(t))}return null}var $b=/\s+/g;function Pe(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var s=(" "+t.className+" ").replace($b," ").replace(" "+e+" "," ");t.className=(s+(n?" "+e:"")).replace($b," ")}}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 Sr(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 xS(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 Vs(){var t=document.scrollingElement;return t||document.documentElement}function Ie(t,e,n,s,i){if(!(!t.getBoundingClientRect&&t!==window)){var r,o,a,l,c,u,d;if(t!==window&&t.parentNode&&t!==Vs()?(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,!bi))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=Sr(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 Fb(t,e,n){for(var s=Vi(t,!0),i=Ie(t)[e];s;){var r=Ie(s)[n],o=void 0;if(o=i>=r,!o)return s;if(s===Vs())break;s=Vi(s,!1)}return!1}function Oo(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)&&vs(o[r],n.draggable,t,!1)){if(i===e)return o[r];i++}r++}return null}function om(t,e){for(var n=t.lastElementChild;n&&(n===Pt.ghost||wt(n,"display")==="none"||e&&!eu(n,e));)n=n.previousElementSibling;return n||null}function $e(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==Pt.clone&&(!e||eu(t,e))&&n++;return n}function Vb(t){var e=0,n=0,s=Vs();if(t)do{var i=Sr(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 x9(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 Vi(t,e){if(!t||!t.getBoundingClientRect)return Vs();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 Vs();if(s||e)return n;s=!0}}while(n=n.parentNode);return Vs()}function I9(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function nf(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 va;function IS(t,e){return function(){if(!va){var n=arguments,s=this;n.length===1?t.call(s,n[0]):t.apply(s,n),va=setTimeout(function(){va=void 0},e)}}}function N9(){clearTimeout(va),va=void 0}function NS(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function am(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 Hb(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 sf(t){wt(t,"position",""),wt(t,"top",""),wt(t,"left",""),wt(t,"width",""),wt(t,"height","")}var yn="Sortable"+new Date().getTime();function P9(){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:Ie(i)});var r=js({},t[t.length-1].rect);if(i.thisAnimationDuration){var o=Sr(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(x9(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=Ie(c),f=c.prevFromRect,h=c.prevToRect,p=a.rect,m=Sr(c,!0);m&&(d.top-=m.f,d.left-=m.e),c.toRect=d,c.thisAnimationDuration&&nf(f,d)&&!nf(u,d)&&(p.top-d.top)/(p.left-d.left)===(u.top-d.top)/(u.left-d.left)&&(l=R9(p,f,h,i.options)),nf(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=Sr(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=D9(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 D9(t){return t.offsetWidth}function R9(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 Wr=[],rf={initializeByDefault:!0},gl={mount:function(e){for(var n in rf)rf.hasOwnProperty(n)&&!(n in e)&&(e[n]=rf[n]);Wr.forEach(function(s){if(s.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),Wr.push(e)},pluginEvent:function(e,n,s){var i=this;this.eventCanceled=!1,s.cancel=function(){i.eventCanceled=!0};var r=e+"Global";Wr.forEach(function(o){n[o.pluginName]&&(n[o.pluginName][r]&&n[o.pluginName][r](js({sortable:n},s)),n.options[o.pluginName]&&n[o.pluginName][e]&&n[o.pluginName][e](js({sortable:n},s)))})},initializePlugins:function(e,n,s,i){Wr.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,fs(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 Wr.forEach(function(i){typeof i.eventProperties=="function"&&fs(s,i.eventProperties.call(n[i.pluginName],e))}),s},modifyOption:function(e,n,s){var i;return Wr.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(e[r.pluginName],s))}),i}};function na(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[yn],!!e){var m,b=e.options,y="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!bi&&!ml?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 _=js(js({},p),gl.getEventProperties(s,e));for(var g in _)m[g]=_[g];n&&n.dispatchEvent(m),b[y]&&b[y].call(e,m)}}var M9=["evt"],Pn=function(e,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=s.evt,r=_9(s,M9);gl.pluginEvent.bind(Pt)(e,n,js({dragEl:ft,parentEl:De,ghostEl:jt,rootEl:Oe,nextEl:lr,lastDownEl:yc,cloneEl:Re,cloneHidden:$i,dragStarted:sa,putSortable:sn,activeSortable:Pt.active,originalEvent:i,oldIndex:ro,oldDraggableIndex:_a,newIndex:Wn,newDraggableIndex:Mi,hideGhostForTarget:MS,unhideGhostForTarget:LS,cloneNowHidden:function(){$i=!0},cloneNowShown:function(){$i=!1},dispatchSortableEvent:function(a){En({sortable:n,name:a,originalEvent:i})}},r))};function En(t){na(js({putSortable:sn,cloneEl:Re,targetEl:ft,rootEl:Oe,oldIndex:ro,oldDraggableIndex:_a,newIndex:Wn,newDraggableIndex:Mi},t))}var ft,De,jt,Oe,lr,yc,Re,$i,ro,Wn,_a,Mi,Wl,sn,Qr=!1,nu=!1,su=[],rr,gs,of,af,Ub,jb,sa,Gr,Sa,Ea=!1,Gl=!1,bc,ln,lf=[],Sh=!1,iu=[],gd=typeof document<"u",ql=AS,Bb=ml||bi?"cssFloat":"float",L9=gd&&!A9&&!AS&&"draggable"in document.createElement("div"),PS=function(){if(gd){if(bi)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}}(),DS=function(e,n){var s=wt(e),i=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),r=Oo(e,0,n),o=Oo(e,1,n),a=r&&wt(r),l=o&&wt(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Ie(r).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Ie(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[Bb]==="none"||o&&s[Bb]==="none"&&c+u>i)?"vertical":"horizontal"},$9=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},F9=function(e,n){var s;return su.some(function(i){var r=i[yn].options.emptyInsertThreshold;if(!(!r||om(i))){var o=Ie(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},RS=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||gc(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},MS=function(){!PS&&jt&&wt(jt,"display","none")},LS=function(){!PS&&jt&&wt(jt,"display","")};gd&&document.addEventListener("click",function(t){if(nu)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),nu=!1,!1},!0);var or=function(e){if(ft){e=e.touches?e.touches[0]:e;var n=F9(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[yn]._onDragOver(s)}}},V9=function(e){ft&&ft.parentNode[yn]._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=fs({},e),t[yn]=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 DS(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&&!ba,emptyInsertThreshold:5};gl.initializePlugins(this,t,n);for(var s in n)!(s in e)&&(e[s]=n[s]);RS(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:L9,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)),su.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),fs(this,P9())}Pt.prototype={constructor:Pt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(Gr=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(z9(s),!ft&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||i.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&ba&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=vs(l,i.draggable,s,!1),!(l&&l.animated)&&yc!==l)){if(ro=$e(l),_a=$e(l,i.draggable),typeof u=="function"){if(u.call(this,e,l,this)){En({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:s,fromEl:s}),Pn("filter",n,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=vs(c,d.trim(),s,!1),d)return En({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:s,toEl:s}),Pn("filter",n,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}i.handle&&!vs(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=Ie(s);if(Oe=r,ft=s,De=ft.parentNode,lr=ft.nextSibling,yc=s,Wl=o.group,Pt.dragged=ft,rr={target:ft,clientX:(n||e).clientX,clientY:(n||e).clientY},Ub=rr.clientX-c.left,jb=rr.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,ft.style["will-change"]="all",l=function(){if(Pn("delayEnded",i,{evt:e}),Pt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Lb&&i.nativeDraggable&&(ft.draggable=!0),i._triggerDragStart(e,n),En({sortable:i,name:"choose",originalEvent:e}),Pe(ft,o.chosenClass,!0)},o.ignore.split(",").forEach(function(u){xS(ft,u.trim(),cf)}),Qt(a,"dragover",or),Qt(a,"mousemove",or),Qt(a,"touchmove",or),Qt(a,"mouseup",i._onDrop),Qt(a,"touchend",i._onDrop),Qt(a,"touchcancel",i._onDrop),Lb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ft.draggable=!0),Pn("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(ml||bi))){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&&cf(ft),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;zt(e,"mouseup",this._disableDelayedDrag),zt(e,"touchend",this._disableDelayedDrag),zt(e,"touchcancel",this._disableDelayedDrag),zt(e,"mousemove",this._delayedDragTouchMoveHandler),zt(e,"touchmove",this._delayedDragTouchMoveHandler),zt(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,n){n=n||e.pointerType=="touch"&&e,!this.nativeDraggable||n?this.options.supportPointer?Qt(document,"pointermove",this._onTouchMove):n?Qt(document,"touchmove",this._onTouchMove):Qt(document,"mousemove",this._onTouchMove):(Qt(ft,"dragend",this),Qt(Oe,"dragstart",this._onDragStart));try{document.selection?vc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(Qr=!1,Oe&&ft){Pn("dragStarted",this,{evt:n}),this.nativeDraggable&&Qt(document,"dragover",V9);var s=this.options;!e&&Pe(ft,s.dragClass,!1),Pe(ft,s.ghostClass,!0),Pt.active=this,e&&this._appendGhost(),En({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(gs){this._lastX=gs.clientX,this._lastY=gs.clientY,MS();for(var e=document.elementFromPoint(gs.clientX,gs.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(gs.clientX,gs.clientY),e!==n);)n=e;if(ft.parentNode[yn]._isOutsideThisEl(e),n)do{if(n[yn]){var s=void 0;if(s=n[yn]._onDragOver({clientX:gs.clientX,clientY:gs.clientY,target:e,rootEl:n}),s&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);LS()}},_onTouchMove:function(e){if(rr){var n=this.options,s=n.fallbackTolerance,i=n.fallbackOffset,r=e.touches?e.touches[0]:e,o=jt&&Sr(jt,!0),a=jt&&o&&o.a,l=jt&&o&&o.d,c=ql&&ln&&Vb(ln),u=(r.clientX-rr.clientX+i.x)/(a||1)+(c?c[0]-lf[0]:0)/(a||1),d=(r.clientY-rr.clientY+i.y)/(l||1)+(c?c[1]-lf[1]:0)/(l||1);if(!Pt.active&&!Qr){if(s&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<s)return;this._onDragStart(e,!0)}if(jt){o?(o.e+=u-(of||0),o.f+=d-(af||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(jt,"webkitTransform",f),wt(jt,"mozTransform",f),wt(jt,"msTransform",f),wt(jt,"transform",f),of=u,af=d,gs=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!jt){var e=this.options.fallbackOnBody?document.body:Oe,n=Ie(ft,!0,ql,!0,e),s=this.options;if(ql){for(ln=e;wt(ln,"position")==="static"&&wt(ln,"transform")==="none"&&ln!==document;)ln=ln.parentNode;ln!==document.body&&ln!==document.documentElement?(ln===document&&(ln=Vs()),n.top+=ln.scrollTop,n.left+=ln.scrollLeft):ln=Vs(),lf=Vb(ln)}jt=ft.cloneNode(!0),Pe(jt,s.ghostClass,!1),Pe(jt,s.fallbackClass,!0),Pe(jt,s.dragClass,!0),wt(jt,"transition",""),wt(jt,"transform",""),wt(jt,"box-sizing","border-box"),wt(jt,"margin",0),wt(jt,"top",n.top),wt(jt,"left",n.left),wt(jt,"width",n.width),wt(jt,"height",n.height),wt(jt,"opacity","0.8"),wt(jt,"position",ql?"absolute":"fixed"),wt(jt,"zIndex","100000"),wt(jt,"pointerEvents","none"),Pt.ghost=jt,e.appendChild(jt),wt(jt,"transform-origin",Ub/parseInt(jt.style.width)*100+"% "+jb/parseInt(jt.style.height)*100+"%")}},_onDragStart:function(e,n){var s=this,i=e.dataTransfer,r=s.options;if(Pn("dragStart",this,{evt:e}),Pt.eventCanceled){this._onDrop();return}Pn("setupClone",this),Pt.eventCanceled||(Re=am(ft),Re.draggable=!1,Re.style["will-change"]="",this._hideClone(),Pe(Re,this.options.chosenClass,!1),Pt.clone=Re),s.cloneId=vc(function(){Pn("clone",s),!Pt.eventCanceled&&(s.options.removeCloneOnHide||Oe.insertBefore(Re,ft),s._hideClone(),En({sortable:s,name:"clone"}))}),!n&&Pe(ft,r.dragClass,!0),n?(nu=!0,s._loopId=setInterval(s._emulateDragOver,50)):(zt(document,"mouseup",s._onDrop),zt(document,"touchend",s._onDrop),zt(document,"touchcancel",s._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(s,i,ft)),Qt(document,"drop",s),wt(ft,"transform","translateZ(0)")),Qr=!0,s._dragStartId=vc(s._dragStarted.bind(s,n,e)),Qt(document,"selectstart",s),sa=!0,ba&&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=Wl===l,d=a.sort,f=sn||c,h,p=this,m=!1;if(Sh)return;function b(at,Tt){Pn(at,p,js({evt:e,isOwner:u,axis:h?"vertical":"horizontal",revert:o,dragRect:i,targetRect:r,canSort:d,fromSortable:f,target:s,completed:_,onMove:function(Ht,Wt){return zl(Oe,n,ft,i,Ht,Ie(Ht),e,Wt)},changed:g},Tt))}function y(){b("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function _(at){return b("dragOverCompleted",{insertion:at}),at&&(u?c._hideClone():c._showClone(p),p!==f&&(Pe(ft,sn?sn.options.ghostClass:c.options.ghostClass,!1),Pe(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(){b("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===ft&&!ft.animated||s===n&&!s.animated)&&(Gr=null),!a.dragoverBubble&&!e.rootEl&&s!==document&&(ft.parentNode[yn]._isOutsideThisEl(e.target),!at&&or(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function g(){Wn=$e(ft),Mi=$e(ft,a.draggable),En({sortable:p,name:"change",toEl:n,newIndex:Wn,newDraggableIndex:Mi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),s=vs(s,a.draggable,n,!0),b("dragOver"),Pt.eventCanceled)return m;if(ft.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return _(!1);if(nu=!1,c&&!a.disabled&&(u?d||(o=De!==Oe):sn===this||(this.lastPutMode=Wl.checkPull(this,c,ft,e))&&l.checkPut(this,c,ft,e))){if(h=this._getDirection(e,s)==="vertical",i=Ie(ft),b("dragOverValid"),Pt.eventCanceled)return m;if(o)return De=Oe,y(),this._hideClone(),b("revert"),Pt.eventCanceled||(lr?Oe.insertBefore(ft,lr):Oe.appendChild(ft)),_(!0);var v=om(n,a.draggable);if(!v||B9(e,h,this)&&!v.animated){if(v===ft)return _(!1);if(v&&n===e.target&&(s=v),s&&(r=Ie(s)),zl(Oe,n,ft,i,s,r,e,!!s)!==!1)return y(),n.appendChild(ft),De=n,g(),_(!0)}else if(v&&j9(e,h,this)){var S=Oo(n,0,a,!0);if(S===ft)return _(!1);if(s=S,r=Ie(s),zl(Oe,n,ft,i,s,r,e,!1)!==!1)return y(),n.insertBefore(ft,S),De=n,g(),_(!0)}else if(s.parentNode===n){r=Ie(s);var k=0,N,D=ft.parentNode!==n,T=!$9(ft.animated&&ft.toRect||i,s.animated&&s.toRect||r,h),R=h?"top":"left",j=Fb(s,"top","top")||Fb(ft,"top","top"),F=j?j.scrollTop:void 0;Gr!==s&&(N=r[R],Ea=!1,Gl=!T&&a.invertSwap||D),k=W9(e,s,r,h,T?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Gl,Gr===s);var U;if(k!==0){var Y=$e(ft);do Y-=k,U=De.children[Y];while(U&&(wt(U,"display")==="none"||U===jt))}if(k===0||U===s)return _(!1);Gr=s,Sa=k;var ot=s.nextElementSibling,G=!1;G=k===1;var et=zl(Oe,n,ft,i,s,r,e,G);if(et!==!1)return(et===1||et===-1)&&(G=et===1),Sh=!0,setTimeout(U9,30),y(),G&&!ot?n.appendChild(ft):s.parentNode.insertBefore(ft,G?ot:s),j&&NS(j,0,F-j.scrollTop),De=ft.parentNode,N!==void 0&&!Gl&&(bc=Math.abs(N-Ie(s)[R])),g(),_(!0)}if(n.contains(ft))return _(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){zt(document,"mousemove",this._onTouchMove),zt(document,"touchmove",this._onTouchMove),zt(document,"pointermove",this._onTouchMove),zt(document,"dragover",or),zt(document,"mousemove",or),zt(document,"touchmove",or)},_offUpEvents:function(){var e=this.el.ownerDocument;zt(e,"mouseup",this._onDrop),zt(e,"touchend",this._onDrop),zt(e,"pointerup",this._onDrop),zt(e,"touchcancel",this._onDrop),zt(document,"selectstart",this)},_onDrop:function(e){var n=this.el,s=this.options;if(Wn=$e(ft),Mi=$e(ft,s.draggable),Pn("drop",this,{evt:e}),De=ft&&ft.parentNode,Wn=$e(ft),Mi=$e(ft,s.draggable),Pt.eventCanceled){this._nulling();return}Qr=!1,Gl=!1,Ea=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Eh(this.cloneId),Eh(this._dragStartId),this.nativeDraggable&&(zt(document,"drop",this),zt(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ba&&wt(document.body,"user-select",""),wt(ft,"transform",""),e&&(sa&&(e.cancelable&&e.preventDefault(),!s.dropBubble&&e.stopPropagation()),jt&&jt.parentNode&&jt.parentNode.removeChild(jt),(Oe===De||sn&&sn.lastPutMode!=="clone")&&Re&&Re.parentNode&&Re.parentNode.removeChild(Re),ft&&(this.nativeDraggable&&zt(ft,"dragend",this),cf(ft),ft.style["will-change"]="",sa&&!Qr&&Pe(ft,sn?sn.options.ghostClass:this.options.ghostClass,!1),Pe(ft,this.options.chosenClass,!1),En({sortable:this,name:"unchoose",toEl:De,newIndex:null,newDraggableIndex:null,originalEvent:e}),Oe!==De?(Wn>=0&&(En({rootEl:De,name:"add",toEl:De,fromEl:Oe,originalEvent:e}),En({sortable:this,name:"remove",toEl:De,originalEvent:e}),En({rootEl:De,name:"sort",toEl:De,fromEl:Oe,originalEvent:e}),En({sortable:this,name:"sort",toEl:De,originalEvent:e})),sn&&sn.save()):Wn!==ro&&Wn>=0&&(En({sortable:this,name:"update",toEl:De,originalEvent:e}),En({sortable:this,name:"sort",toEl:De,originalEvent:e})),Pt.active&&((Wn==null||Wn===-1)&&(Wn=ro,Mi=_a),En({sortable:this,name:"end",toEl:De,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){Pn("nulling",this),Oe=ft=De=jt=lr=Re=yc=$i=rr=gs=sa=Wn=Mi=ro=_a=Gr=Sa=sn=Wl=Pt.dragged=Pt.ghost=Pt.clone=Pt.active=null,iu.forEach(function(e){e.checked=!0}),iu.length=of=af=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ft&&(this._onDragOver(e),H9(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],vs(n,o.draggable,this.el,!1)&&e.push(n.getAttribute(o.dataIdAttr)||q9(n));return e},sort:function(e,n){var s={},i=this.el;this.toArray().forEach(function(r,o){var a=i.children[o];vs(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 vs(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=gl.modifyOption(this,e,n);typeof i<"u"?s[e]=i:s[e]=n,e==="group"&&RS(s)},destroy:function(){Pn("destroy",this);var e=this.el;e[yn]=null,zt(e,"mousedown",this._onTapStart),zt(e,"touchstart",this._onTapStart),zt(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(zt(e,"dragover",this),zt(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),su.splice(su.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!$i){if(Pn("hideClone",this),Pt.eventCanceled)return;wt(Re,"display","none"),this.options.removeCloneOnHide&&Re.parentNode&&Re.parentNode.removeChild(Re),$i=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if($i){if(Pn("showClone",this),Pt.eventCanceled)return;ft.parentNode==Oe&&!this.options.group.revertClone?Oe.insertBefore(Re,ft):lr?Oe.insertBefore(Re,lr):Oe.appendChild(Re),this.options.group.revertClone&&this.animate(ft,Re),wt(Re,"display",""),$i=!1}}};function H9(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function zl(t,e,n,s,i,r,o,a){var l,c=t[yn],u=c.options.onMove,d;return window.CustomEvent&&!bi&&!ml?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||Ie(e),l.willInsertAfter=a,l.originalEvent=o,t.dispatchEvent(l),u&&(d=u.call(c,l,o)),d}function cf(t){t.draggable=!1}function U9(){Sh=!1}function j9(t,e,n){var s=Ie(Oo(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 B9(t,e,n){var s=Ie(om(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 W9(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&&bc<c*i){if(!Ea&&(Sa===1?l>u+c*r/2:l<d-c*r/2)&&(Ea=!0),Ea)f=!0;else if(Sa===1?l<u+bc:l>d-bc)return-Sa}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return G9(e)}return f=f||o,f&&(l<u+c*r/2||l>d-c*r/2)?l>u+c/2?1:-1:0}function G9(t){return $e(ft)<$e(t)?1:-1}function q9(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 z9(t){iu.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var s=e[n];s.checked&&iu.push(s)}}function vc(t){return setTimeout(t,0)}function Eh(t){return clearTimeout(t)}gd&&Qt(document,"touchmove",function(t){(Pt.active||Qr)&&t.cancelable&&t.preventDefault()});Pt.utils={on:Qt,off:zt,css:wt,find:xS,is:function(e,n){return!!vs(e,n,e,!1)},extend:I9,throttle:IS,closest:vs,toggleClass:Pe,clone:am,index:$e,nextTick:vc,cancelNextTick:Eh,detectDirection:DS,getChild:Oo};Pt.get=function(t){return t[yn]};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=js(js({},Pt.utils),s.utils)),gl.mount(s)})};Pt.create=function(t,e){return new Pt(t,e)};Pt.version=C9;var je=[],ia,wh,kh=!1,uf,df,ru,ra;function K9(){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?zt(document,"dragover",this._handleAutoScroll):(zt(document,"pointermove",this._handleFallbackAutoScroll),zt(document,"touchmove",this._handleFallbackAutoScroll),zt(document,"mousemove",this._handleFallbackAutoScroll)),Wb(),_c(),N9()},nulling:function(){ru=wh=ia=kh=ra=uf=df=null,je.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(ru=n,s||this.options.forceAutoScrollFallback||ml||bi||ba){ff(n,this.options,a,s);var l=Vi(a,!0);kh&&(!ra||r!==uf||o!==df)&&(ra&&Wb(),ra=setInterval(function(){var c=Vi(document.elementFromPoint(r,o),!0);c!==l&&(l=c,_c()),ff(n,i.options,c,s)},10),uf=r,df=o)}else{if(!this.options.bubbleScroll||Vi(a,!0)===Vs()){_c();return}ff(n,this.options,Vi(a,!1),!1)}}},fs(t,{pluginName:"scroll",initializeByDefault:!0})}function _c(){je.forEach(function(t){clearInterval(t.pid)}),je=[]}function Wb(){clearInterval(ra)}var ff=IS(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=Vs(),c=!1,u;wh!==n&&(wh=n,_c(),ia=e.scroll,u=e.scrollFn,ia===!0&&(ia=Vi(n,!0)));var d=0,f=ia;do{var h=f,p=Ie(h),m=p.top,b=p.bottom,y=p.left,_=p.right,g=p.width,v=p.height,S=void 0,k=void 0,N=h.scrollWidth,D=h.scrollHeight,T=wt(h),R=h.scrollLeft,j=h.scrollTop;h===l?(S=g<N&&(T.overflowX==="auto"||T.overflowX==="scroll"||T.overflowX==="visible"),k=v<D&&(T.overflowY==="auto"||T.overflowY==="scroll"||T.overflowY==="visible")):(S=g<N&&(T.overflowX==="auto"||T.overflowX==="scroll"),k=v<D&&(T.overflowY==="auto"||T.overflowY==="scroll"));var F=S&&(Math.abs(_-i)<=o&&R+g<N)-(Math.abs(y-i)<=o&&!!R),U=k&&(Math.abs(b-r)<=o&&j+v<D)-(Math.abs(m-r)<=o&&!!j);if(!je[d])for(var Y=0;Y<=d;Y++)je[Y]||(je[Y]={});(je[d].vx!=F||je[d].vy!=U||je[d].el!==h)&&(je[d].el=h,je[d].vx=F,je[d].vy=U,clearInterval(je[d].pid),(F!=0||U!=0)&&(c=!0,je[d].pid=setInterval((function(){s&&this.layer===0&&Pt.active._onTouchMove(ru);var ot=je[this.layer].vy?je[this.layer].vy*a:0,G=je[this.layer].vx?je[this.layer].vx*a:0;typeof u=="function"&&u.call(Pt.dragged.parentNode[yn],G,ot,t,ru,je[this.layer].el)!=="continue"||NS(je[this.layer].el,G,ot)}).bind({layer:d}),24))),d++}while(e.bubbleScroll&&f!==l&&(f=Vi(f,!1)));kh=c}},30),$S=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 lm(){}lm.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=Oo(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:$S};fs(lm,{pluginName:"revertOnSpill"});function cm(){}cm.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:$S};fs(cm,{pluginName:"removeOnSpill"});var ss;function X9(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(n){var s=n.dragEl;ss=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=ss;r(i)!==!1?(Pe(i,u.swapClass,!0),ss=i):ss=null,d&&d!==ss&&Pe(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;ss&&Pe(ss,a.swapClass,!1),ss&&(a.swap||i&&i.options.swap)&&r!==ss&&(o.captureAnimationState(),o!==s&&s.captureAnimationState(),Y9(r,ss),o.animateAll(),o!==s&&s.animateAll())},nulling:function(){ss=null}},fs(t,{pluginName:"swap",eventProperties:function(){return{swapItem:ss}}})}function Y9(t,e){var n=t.parentNode,s=e.parentNode,i,r;!n||!s||n.isEqualNode(e)||s.isEqualNode(t)||(i=$e(t),r=$e(e),n.isEqualNode(s)&&i<r&&r++,n.insertBefore(e,n.children[i]),s.insertBefore(t,s.children[r]))}var $t=[],Bn=[],Xo,ys,Yo=!1,Dn=!1,qr=!1,we,Zo,Kl;function Z9(){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="";$t.length&&ys===e?$t.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=~$t.indexOf(we)},setupClone:function(n){var s=n.sortable,i=n.cancel;if(this.isMultiDrag){for(var r=0;r<$t.length;r++)Bn.push(am($t[r])),Bn[r].sortableIndex=$t[r].sortableIndex,Bn[r].draggable=!1,Bn[r].style["will-change"]="",Pe(Bn[r],this.options.selectedClass,!1),$t[r]===we&&Pe(Bn[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||$t.length&&ys===s&&(Gb(!0,i),r("clone"),o()))},showClone:function(n){var s=n.cloneNowShown,i=n.rootEl,r=n.cancel;this.isMultiDrag&&(Gb(!1,i),Bn.forEach(function(o){wt(o,"display","")}),s(),Kl=!1,r())},hideClone:function(n){var s=this;n.sortable;var i=n.cloneNowHidden,r=n.cancel;this.isMultiDrag&&(Bn.forEach(function(o){wt(o,"display","none"),s.options.removeCloneOnHide&&o.parentNode&&o.parentNode.removeChild(o)}),i(),Kl=!0,r())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&ys&&ys.multiDrag._deselectMultiDrag(),$t.forEach(function(s){s.sortableIndex=$e(s)}),$t=$t.sort(function(s,i){return s.sortableIndex-i.sortableIndex}),qr=!0},dragStarted:function(n){var s=this,i=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){$t.forEach(function(o){o!==we&&wt(o,"position","absolute")});var r=Ie(we,!1,!0,!0);$t.forEach(function(o){o!==we&&Hb(o,r)}),Dn=!0,Yo=!0}i.animateAll(function(){Dn=!1,Yo=!1,s.options.animation&&$t.forEach(function(o){sf(o)}),s.options.sort&&Xl()})}},dragOver:function(n){var s=n.target,i=n.completed,r=n.cancel;Dn&&~$t.indexOf(s)&&(i(!1),r())},revert:function(n){var s=n.fromSortable,i=n.rootEl,r=n.sortable,o=n.dragRect;$t.length>1&&($t.forEach(function(a){r.addAnimationState({target:a,rect:Dn?Ie(a):o}),sf(a),a.fromRect=o,s.removeAnimationState(a)}),Dn=!1,J9(!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(),Yo=!1,c.animation&&$t.length>1&&(Dn||!i&&!o.options.sort&&!l)){var u=Ie(we,!1,!0,!0);$t.forEach(function(f){f!==we&&(Hb(f,u),a.appendChild(f))}),Dn=!0}if(!i)if(Dn||Xl(),$t.length>1){var d=Kl;o._showClone(s),o.options.animation&&!Kl&&d&&Bn.forEach(function(f){o.addAnimationState({target:f,rect:Zo}),f.fromRect=Zo,f.thisAnimationDuration=null})}else o._showClone(s)}},dragOverAnimationCapture:function(n){var s=n.dragRect,i=n.isOwner,r=n.activeSortable;if($t.forEach(function(a){a.thisAnimationDuration=null}),r.options.animation&&!i&&r.multiDrag.isMultiDrag){Zo=fs({},s);var o=Sr(we,!0);Zo.top-=o.f,Zo.left-=o.e}},dragOverAnimationComplete:function(){Dn&&(Dn=!1,Xl())},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(!qr)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Pe(we,d.selectedClass,!~$t.indexOf(we)),~$t.indexOf(we))$t.splice($t.indexOf(we),1),Xo=null,na({sortable:o,rootEl:i,name:"deselect",targetEl:we});else{if($t.push(we),na({sortable:o,rootEl:i,name:"select",targetEl:we}),s.shiftKey&&Xo&&o.el.contains(Xo)){var h=$e(Xo),p=$e(we);if(~h&&~p&&h!==p){var m,b;for(p>h?(b=h,m=p):(b=p,m=h+1);b<m;b++)~$t.indexOf(f[b])||(Pe(f[b],d.selectedClass,!0),$t.push(f[b]),na({sortable:o,rootEl:i,name:"select",targetEl:f[b]}))}}else Xo=we;ys=u}if(qr&&this.isMultiDrag){if(Dn=!1,(r[yn].options.sort||r!==i)&&$t.length>1){var y=Ie(we),_=$e(we,":not(."+this.options.selectedClass+")");if(!Yo&&d.animation&&(we.thisAnimationDuration=null),u.captureAnimationState(),!Yo&&(d.animation&&(we.fromRect=y,$t.forEach(function(v){if(v.thisAnimationDuration=null,v!==we){var S=Dn?Ie(v):y;v.fromRect=S,u.addAnimationState({target:v,rect:S})}})),Xl(),$t.forEach(function(v){f[_]?r.insertBefore(v,f[_]):r.appendChild(v),_++}),l===$e(we))){var g=!1;$t.forEach(function(v){if(v.sortableIndex!==$e(v)){g=!0;return}}),g&&a("update")}$t.forEach(function(v){sf(v)}),u.animateAll()}ys=u}(i===r||c&&c.lastPutMode!=="clone")&&Bn.forEach(function(v){v.parentNode&&v.parentNode.removeChild(v)})}},nullingGlobal:function(){this.isMultiDrag=qr=!1,Bn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),zt(document,"pointerup",this._deselectMultiDrag),zt(document,"mouseup",this._deselectMultiDrag),zt(document,"touchend",this._deselectMultiDrag),zt(document,"keydown",this._checkKeyDown),zt(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof qr<"u"&&qr)&&ys===this.sortable&&!(n&&vs(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;$t.length;){var s=$t[0];Pe(s,this.options.selectedClass,!1),$t.shift(),na({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)}},fs(t,{pluginName:"multiDrag",utils:{select:function(n){var s=n.parentNode[yn];!s||!s.options.multiDrag||~$t.indexOf(n)||(ys&&ys!==s&&(ys.multiDrag._deselectMultiDrag(),ys=s),Pe(n,s.options.selectedClass,!0),$t.push(n))},deselect:function(n){var s=n.parentNode[yn],i=$t.indexOf(n);!s||!s.options.multiDrag||!~i||(Pe(n,s.options.selectedClass,!1),$t.splice(i,1))}},eventProperties:function(){var n=this,s=[],i=[];return $t.forEach(function(r){s.push({multiDragElement:r,index:r.sortableIndex});var o;Dn&&r!==we?o=-1:Dn?o=$e(r,":not(."+n.options.selectedClass+")"):o=$e(r),i.push({multiDragElement:r,index:o})}),{items:S9($t),clones:[].concat(Bn),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 J9(t,e){$t.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function Gb(t,e){Bn.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function Xl(){$t.forEach(function(t){t!==we&&t.parentNode&&t.parentNode.removeChild(t)})}Pt.mount(new K9);Pt.mount(cm,lm);const Q9=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Z9,Sortable:Pt,Swap:X9,default:Pt},Symbol.toStringTag,{value:"Module"})),t7=ju(Q9);var e7=mc.exports,qb;function n7(){return qb||(qb=1,function(t,e){(function(s,i){t.exports=i(s2(),t7)})(typeof self<"u"?self:e7,function(n,s){return function(i){var r={};function o(a){if(r[a])return r[a].exports;var l=r[a]={i:a,l:!1,exports:{}};return i[a].call(l.exports,l,l.exports,o),l.l=!0,l.exports}return o.m=i,o.c=r,o.d=function(a,l,c){o.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,l){if(l&1&&(a=o(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(o.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var u in a)o.d(c,u,(function(d){return a[d]}).bind(null,u));return c},o.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(l,"a",l),l},o.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},o.p="",o(o.s="fb15")}({"00ee":function(i,r,o){var a=o("b622"),l=a("toStringTag"),c={};c[l]="z",i.exports=String(c)==="[object z]"},"0366":function(i,r,o){var a=o("1c0b");i.exports=function(l,c,u){if(a(l),c===void 0)return l;switch(u){case 0:return function(){return l.call(c)};case 1:return function(d){return l.call(c,d)};case 2:return function(d,f){return l.call(c,d,f)};case 3:return function(d,f,h){return l.call(c,d,f,h)}}return function(){return l.apply(c,arguments)}}},"057f":function(i,r,o){var a=o("fc6a"),l=o("241c").f,c={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return l(f)}catch{return u.slice()}};i.exports.f=function(h){return u&&c.call(h)=="[object Window]"?d(h):l(a(h))}},"06cf":function(i,r,o){var a=o("83ab"),l=o("d1e7"),c=o("5c6c"),u=o("fc6a"),d=o("c04e"),f=o("5135"),h=o("0cfb"),p=Object.getOwnPropertyDescriptor;r.f=a?p:function(b,y){if(b=u(b),y=d(y,!0),h)try{return p(b,y)}catch{}if(f(b,y))return c(!l.f.call(b,y),b[y])}},"0cfb":function(i,r,o){var a=o("83ab"),l=o("d039"),c=o("cc12");i.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,r,o){var a=o("23e7"),l=o("d58f").left,c=o("a640"),u=o("ae40"),d=c("reduce"),f=u("reduce",{1:0});a({target:"Array",proto:!0,forced:!d||!f},{reduce:function(p){return l(this,p,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,r,o){var a=o("c6b6"),l=o("9263");i.exports=function(c,u){var d=c.exec;if(typeof d=="function"){var f=d.call(c,u);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,u)}},"159b":function(i,r,o){var a=o("da84"),l=o("fdbc"),c=o("17c2"),u=o("9112");for(var d in l){var f=a[d],h=f&&f.prototype;if(h&&h.forEach!==c)try{u(h,"forEach",c)}catch{h.forEach=c}}},"17c2":function(i,r,o){var a=o("b727").forEach,l=o("a640"),c=o("ae40"),u=l("forEach"),d=c("forEach");i.exports=!u||!d?function(h){return a(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,r,o){var a=o("d066");i.exports=a("document","documentElement")},"1c0b":function(i,r){i.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(i,r,o){var a=o("b622"),l=a("iterator"),c=!1;try{var u=0,d={next:function(){return{done:!!u++}},return:function(){c=!0}};d[l]=function(){return this},Array.from(d,function(){throw 2})}catch{}i.exports=function(f,h){if(!h&&!c)return!1;var p=!1;try{var m={};m[l]=function(){return{next:function(){return{done:p=!0}}}},f(m)}catch{}return p}},"1d80":function(i,r){i.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(i,r,o){var a=o("d039"),l=o("b622"),c=o("2d00"),u=l("species");i.exports=function(d){return c>=51||!a(function(){var f=[],h=f.constructor={};return h[u]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(i,r,o){var a=o("a691"),l=Math.max,c=Math.min;i.exports=function(u,d){var f=a(u);return f<0?l(f+d,0):c(f,d)}},"23e7":function(i,r,o){var a=o("da84"),l=o("06cf").f,c=o("9112"),u=o("6eeb"),d=o("ce4e"),f=o("e893"),h=o("94ca");i.exports=function(p,m){var b=p.target,y=p.global,_=p.stat,g,v,S,k,N,D;if(y?v=a:_?v=a[b]||d(b,{}):v=(a[b]||{}).prototype,v)for(S in m){if(N=m[S],p.noTargetGet?(D=l(v,S),k=D&&D.value):k=v[S],g=h(y?S:b+(_?".":"#")+S,p.forced),!g&&k!==void 0){if(typeof N==typeof k)continue;f(N,k)}(p.sham||k&&k.sham)&&c(N,"sham",!0),u(v,S,N,p)}}},"241c":function(i,r,o){var a=o("ca84"),l=o("7839"),c=l.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(d){return a(d,c)}},"25f0":function(i,r,o){var a=o("6eeb"),l=o("825a"),c=o("d039"),u=o("ad6d"),d="toString",f=RegExp.prototype,h=f[d],p=c(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=d;(p||m)&&a(RegExp.prototype,d,function(){var y=l(this),_=String(y.source),g=y.flags,v=String(g===void 0&&y instanceof RegExp&&!("flags"in f)?u.call(y):g);return"/"+_+"/"+v},{unsafe:!0})},"2ca0":function(i,r,o){var a=o("23e7"),l=o("06cf").f,c=o("50c4"),u=o("5a34"),d=o("1d80"),f=o("ab13"),h=o("c430"),p="".startsWith,m=Math.min,b=f("startsWith"),y=!h&&!b&&!!function(){var _=l(String.prototype,"startsWith");return _&&!_.writable}();a({target:"String",proto:!0,forced:!y&&!b},{startsWith:function(g){var v=String(d(this));u(g);var S=c(m(arguments.length>1?arguments[1]:void 0,v.length)),k=String(g);return p?p.call(v,k,S):v.slice(S,S+k.length)===k}})},"2d00":function(i,r,o){var a=o("da84"),l=o("342f"),c=a.process,u=c&&c.versions,d=u&&u.v8,f,h;d?(f=d.split("."),h=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(h=f[1]))),i.exports=h&&+h},"342f":function(i,r,o){var a=o("d066");i.exports=a("navigator","userAgent")||""},"35a1":function(i,r,o){var a=o("f5df"),l=o("3f8c"),c=o("b622"),u=c("iterator");i.exports=function(d){if(d!=null)return d[u]||d["@@iterator"]||l[a(d)]}},"37e8":function(i,r,o){var a=o("83ab"),l=o("9bf2"),c=o("825a"),u=o("df75");i.exports=a?Object.defineProperties:function(f,h){c(f);for(var p=u(h),m=p.length,b=0,y;m>b;)l.f(f,y=p[b++],h[y]);return f}},"3bbe":function(i,r,o){var a=o("861d");i.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(i,r,o){var a=o("6547").charAt,l=o("69f3"),c=o("7dd0"),u="String Iterator",d=l.set,f=l.getterFor(u);c(String,"String",function(h){d(this,{type:u,string:String(h),index:0})},function(){var p=f(this),m=p.string,b=p.index,y;return b>=m.length?{value:void 0,done:!0}:(y=a(m,b),p.index+=y.length,{value:y,done:!1})})},"3f8c":function(i,r){i.exports={}},4160:function(i,r,o){var a=o("23e7"),l=o("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(i,r,o){var a=o("da84");i.exports=a},"44ad":function(i,r,o){var a=o("d039"),l=o("c6b6"),c="".split;i.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(u){return l(u)=="String"?c.call(u,""):Object(u)}:Object},"44d2":function(i,r,o){var a=o("b622"),l=o("7c73"),c=o("9bf2"),u=a("unscopables"),d=Array.prototype;d[u]==null&&c.f(d,u,{configurable:!0,value:l(null)}),i.exports=function(f){d[u][f]=!0}},"44e7":function(i,r,o){var a=o("861d"),l=o("c6b6"),c=o("b622"),u=c("match");i.exports=function(d){var f;return a(d)&&((f=d[u])!==void 0?!!f:l(d)=="RegExp")}},4930:function(i,r,o){var a=o("d039");i.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(i,r,o){var a=o("fc6a"),l=o("50c4"),c=o("23cb"),u=function(d){return function(f,h,p){var m=a(f),b=l(m.length),y=c(p,b),_;if(d&&h!=h){for(;b>y;)if(_=m[y++],_!=_)return!0}else for(;b>y;y++)if((d||y in m)&&m[y]===h)return d||y||0;return!d&&-1}};i.exports={includes:u(!0),indexOf:u(!1)}},"4de4":function(i,r,o){var a=o("23e7"),l=o("b727").filter,c=o("1dde"),u=o("ae40"),d=c("filter"),f=u("filter");a({target:"Array",proto:!0,forced:!d||!f},{filter:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,r,o){var a=o("0366"),l=o("7b0b"),c=o("9bdd"),u=o("e95a"),d=o("50c4"),f=o("8418"),h=o("35a1");i.exports=function(m){var b=l(m),y=typeof this=="function"?this:Array,_=arguments.length,g=_>1?arguments[1]:void 0,v=g!==void 0,S=h(b),k=0,N,D,T,R,j,F;if(v&&(g=a(g,_>2?arguments[2]:void 0,2)),S!=null&&!(y==Array&&u(S)))for(R=S.call(b),j=R.next,D=new y;!(T=j.call(R)).done;k++)F=v?c(R,g,[T.value,k],!0):T.value,f(D,k,F);else for(N=d(b.length),D=new y(N);N>k;k++)F=v?g(b[k],k):b[k],f(D,k,F);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,b=Math.min,y=Math.floor,_=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,v=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,k,N,D){var T=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=D.REPLACE_KEEPS_$0,j=T?"$":"$0";return[function(Y,ot){var G=f(this),et=Y==null?void 0:Y[S];return et!==void 0?et.call(Y,G,ot):k.call(String(G),Y,ot)},function(U,Y){if(!T&&R||typeof Y=="string"&&Y.indexOf(j)===-1){var ot=N(k,U,this,Y);if(ot.done)return ot.value}var G=l(U),et=String(this),at=typeof Y=="function";at||(Y=String(Y));var Tt=G.global;if(Tt){var Kt=G.unicode;G.lastIndex=0}for(var Ht=[];;){var Wt=p(G,et);if(Wt===null||(Ht.push(Wt),!Tt))break;var ge=String(Wt[0]);ge===""&&(G.lastIndex=h(et,u(G.lastIndex),Kt))}for(var ve="",Se=0,Gt=0;Gt<Ht.length;Gt++){Wt=Ht[Gt];for(var X=String(Wt[0]),dt=m(b(d(Wt.index),et.length),0),ct=[],bt=1;bt<Wt.length;bt++)ct.push(v(Wt[bt]));var Ut=Wt.groups;if(at){var Xt=[X].concat(ct,dt,et);Ut!==void 0&&Xt.push(Ut);var O=String(Y.apply(void 0,Xt))}else O=F(X,et,dt,ct,Ut,Y);dt>=Se&&(ve+=et.slice(Se,dt)+O,Se=dt+X.length)}return ve+et.slice(Se)}];function F(U,Y,ot,G,et,at){var Tt=ot+U.length,Kt=G.length,Ht=g;return et!==void 0&&(et=c(et),Ht=_),k.call(at,Ht,function(Wt,ge){var ve;switch(ge.charAt(0)){case"$":return"$";case"&":return U;case"`":return Y.slice(0,ot);case"'":return Y.slice(Tt);case"<":ve=et[ge.slice(1,-1)];break;default:var Se=+ge;if(Se===0)return Wt;if(Se>Kt){var Gt=y(Se/10);return Gt===0?Wt:Gt<=Kt?G[Gt-1]===void 0?ge.charAt(1):G[Gt-1]+ge.charAt(1):Wt}ve=G[Se-1]}return ve===void 0?"":ve})}})},5692:function(i,r,o){var a=o("c430"),l=o("c6cd");(i.exports=function(c,u){return l[c]||(l[c]=u!==void 0?u:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,r,o){var a=o("d066"),l=o("241c"),c=o("7418"),u=o("825a");i.exports=a("Reflect","ownKeys")||function(f){var h=l.f(u(f)),p=c.f;return p?h.concat(p(f)):h}},"5a34":function(i,r,o){var a=o("44e7");i.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(i,r){i.exports=function(o,a){return{enumerable:!(o&1),configurable:!(o&2),writable:!(o&4),value:a}}},"5db7":function(i,r,o){var a=o("23e7"),l=o("a2bf"),c=o("7b0b"),u=o("50c4"),d=o("1c0b"),f=o("65f0");a({target:"Array",proto:!0},{flatMap:function(p){var m=c(this),b=u(m.length),y;return d(p),y=f(m,0),y.length=l(y,m,m,b,0,1,p,arguments.length>1?arguments[1]:void 0),y}})},6547:function(i,r,o){var a=o("a691"),l=o("1d80"),c=function(u){return function(d,f){var h=String(l(d)),p=a(f),m=h.length,b,y;return p<0||p>=m?u?"":void 0:(b=h.charCodeAt(p),b<55296||b>56319||p+1===m||(y=h.charCodeAt(p+1))<56320||y>57343?u?h.charAt(p):b:u?h.slice(p,p+2):(b-55296<<10)+(y-56320)+65536)}};i.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(i,r,o){var a=o("861d"),l=o("e8b5"),c=o("b622"),u=c("species");i.exports=function(d,f){var h;return l(d)&&(h=d.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:a(h)&&(h=h[u],h===null&&(h=void 0))),new(h===void 0?Array:h)(f===0?0:f)}},"69f3":function(i,r,o){var a=o("7f9a"),l=o("da84"),c=o("861d"),u=o("9112"),d=o("5135"),f=o("f772"),h=o("d012"),p=l.WeakMap,m,b,y,_=function(T){return y(T)?b(T):m(T,{})},g=function(T){return function(R){var j;if(!c(R)||(j=b(R)).type!==T)throw TypeError("Incompatible receiver, "+T+" required");return j}};if(a){var v=new p,S=v.get,k=v.has,N=v.set;m=function(T,R){return N.call(v,T,R),R},b=function(T){return S.call(v,T)||{}},y=function(T){return k.call(v,T)}}else{var D=f("state");h[D]=!0,m=function(T,R){return u(T,D,R),R},b=function(T){return d(T,D)?T[D]:{}},y=function(T){return d(T,D)}}i.exports={set:m,get:b,has:y,enforce:_,getterFor:g}},"6eeb":function(i,r,o){var a=o("da84"),l=o("9112"),c=o("5135"),u=o("ce4e"),d=o("8925"),f=o("69f3"),h=f.get,p=f.enforce,m=String(String).split("String");(i.exports=function(b,y,_,g){var v=g?!!g.unsafe:!1,S=g?!!g.enumerable:!1,k=g?!!g.noTargetGet:!1;if(typeof _=="function"&&(typeof y=="string"&&!c(_,"name")&&l(_,"name",y),p(_).source=m.join(typeof y=="string"?y:"")),b===a){S?b[y]=_:u(y,_);return}else v?!k&&b[y]&&(S=!0):delete b[y];S?b[y]=_:l(b,y,_)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||d(this)})},"6f53":function(i,r,o){var a=o("83ab"),l=o("df75"),c=o("fc6a"),u=o("d1e7").f,d=function(f){return function(h){for(var p=c(h),m=l(p),b=m.length,y=0,_=[],g;b>y;)g=m[y++],(!a||u.call(p,g))&&_.push(f?[g,p[g]]:p[g]);return _}};i.exports={entries:d(!0),values:d(!1)}},"73d9":function(i,r,o){var a=o("44d2");a("flatMap")},7418:function(i,r){r.f=Object.getOwnPropertySymbols},"746f":function(i,r,o){var a=o("428f"),l=o("5135"),c=o("e538"),u=o("9bf2").f;i.exports=function(d){var f=a.Symbol||(a.Symbol={});l(f,d)||u(f,d,{value:c.f(d)})}},7839:function(i,r){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,r,o){var a=o("1d80");i.exports=function(l){return Object(a(l))}},"7c73":function(i,r,o){var a=o("825a"),l=o("37e8"),c=o("7839"),u=o("d012"),d=o("1be4"),f=o("cc12"),h=o("f772"),p=">",m="<",b="prototype",y="script",_=h("IE_PROTO"),g=function(){},v=function(T){return m+y+p+T+m+"/"+y+p},S=function(T){T.write(v("")),T.close();var R=T.parentWindow.Object;return T=null,R},k=function(){var T=f("iframe"),R="java"+y+":",j;return T.style.display="none",d.appendChild(T),T.src=String(R),j=T.contentWindow.document,j.open(),j.write(v("document.F=Object")),j.close(),j.F},N,D=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}D=N?S(N):k();for(var T=c.length;T--;)delete D[b][c[T]];return D()};u[_]=!0,i.exports=Object.create||function(R,j){var F;return R!==null?(g[b]=a(R),F=new g,g[b]=null,F[_]=R):F=D(),j===void 0?F:l(F,j)}},"7dd0":function(i,r,o){var a=o("23e7"),l=o("9ed3"),c=o("e163"),u=o("d2bb"),d=o("d44e"),f=o("9112"),h=o("6eeb"),p=o("b622"),m=o("c430"),b=o("3f8c"),y=o("ae93"),_=y.IteratorPrototype,g=y.BUGGY_SAFARI_ITERATORS,v=p("iterator"),S="keys",k="values",N="entries",D=function(){return this};i.exports=function(T,R,j,F,U,Y,ot){l(j,R,F);var G=function(Gt){if(Gt===U&&Ht)return Ht;if(!g&&Gt in Tt)return Tt[Gt];switch(Gt){case S:return function(){return new j(this,Gt)};case k:return function(){return new j(this,Gt)};case N:return function(){return new j(this,Gt)}}return function(){return new j(this)}},et=R+" Iterator",at=!1,Tt=T.prototype,Kt=Tt[v]||Tt["@@iterator"]||U&&Tt[U],Ht=!g&&Kt||G(U),Wt=R=="Array"&&Tt.entries||Kt,ge,ve,Se;if(Wt&&(ge=c(Wt.call(new T)),_!==Object.prototype&&ge.next&&(!m&&c(ge)!==_&&(u?u(ge,_):typeof ge[v]!="function"&&f(ge,v,D)),d(ge,et,!0,!0),m&&(b[et]=D))),U==k&&Kt&&Kt.name!==k&&(at=!0,Ht=function(){return Kt.call(this)}),(!m||ot)&&Tt[v]!==Ht&&f(Tt,v,Ht),b[R]=Ht,U)if(ve={values:G(k),keys:Y?Ht:G(S),entries:G(N)},ot)for(Se in ve)(g||at||!(Se in Tt))&&h(Tt,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(N){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(N.stack)||h.exec(N.stack),m=p&&p[1]||!1,b=p&&p[2]||!1,y=document.location.href.replace(document.location.hash,""),_,g,v,S=document.getElementsByTagName("script");m===y&&(_=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=_.replace(g,"$1").trim());for(var k=0;k<S.length;k++)if(S[k].readyState==="interactive"||S[k].src===m||m===y&&S[k].innerHTML&&S[k].innerHTML.trim()===v)return S[k];return null}}return u})},8925:function(i,r,o){var a=o("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),i.exports=a.inspectSource},"8aa5":function(i,r,o){var a=o("6547").charAt;i.exports=function(l,c,u){return c+(u?a(l,c).length:1)}},"8bbf":function(i,r){i.exports=n},"90e3":function(i,r){var o=0,a=Math.random();i.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++o+a).toString(36)}},9112:function(i,r,o){var a=o("83ab"),l=o("9bf2"),c=o("5c6c");i.exports=a?function(u,d,f){return l.f(u,d,c(1,f))}:function(u,d,f){return u[d]=f,u}},9263:function(i,r,o){var a=o("ad6d"),l=o("9f7f"),c=RegExp.prototype.exec,u=String.prototype.replace,d=c,f=function(){var b=/a/,y=/b*/g;return c.call(b,"a"),c.call(y,"a"),b.lastIndex!==0||y.lastIndex!==0}(),h=l.UNSUPPORTED_Y||l.BROKEN_CARET,p=/()??/.exec("")[1]!==void 0,m=f||p||h;m&&(d=function(y){var _=this,g,v,S,k,N=h&&_.sticky,D=a.call(_),T=_.source,R=0,j=y;return N&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),j=String(y).slice(_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&y[_.lastIndex-1]!==`
|
||
`)&&(T="(?: "+T+")",j=" "+j,R++),v=new RegExp("^(?:"+T+")",D)),p&&(v=new RegExp("^"+T+"$(?!\\s)",D)),f&&(g=_.lastIndex),S=c.call(N?v:_,j),N?S?(S.input=S.input.slice(R),S[0]=S[0].slice(R),S.index=_.lastIndex,_.lastIndex+=S[0].length):_.lastIndex=0:f&&S&&(_.lastIndex=_.global?S.index+S[0].length:g),p&&S&&S.length>1&&u.call(S[0],v,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(S[k]=void 0)}),S}),i.exports=d},"94ca":function(i,r,o){var a=o("d039"),l=/#|\.prototype\./,c=function(p,m){var b=d[u(p)];return b==h?!0:b==f?!1:typeof m=="function"?a(m):!!m},u=c.normalize=function(p){return String(p).replace(l,".").toLowerCase()},d=c.data={},f=c.NATIVE="N",h=c.POLYFILL="P";i.exports=c},"99af":function(i,r,o){var a=o("23e7"),l=o("d039"),c=o("e8b5"),u=o("861d"),d=o("7b0b"),f=o("50c4"),h=o("8418"),p=o("65f0"),m=o("1dde"),b=o("b622"),y=o("2d00"),_=b("isConcatSpreadable"),g=9007199254740991,v="Maximum allowed index exceeded",S=y>=51||!l(function(){var T=[];return T[_]=!1,T.concat()[0]!==T}),k=m("concat"),N=function(T){if(!u(T))return!1;var R=T[_];return R!==void 0?!!R:c(T)},D=!S||!k;a({target:"Array",proto:!0,forced:D},{concat:function(R){var j=d(this),F=p(j,0),U=0,Y,ot,G,et,at;for(Y=-1,G=arguments.length;Y<G;Y++)if(at=Y===-1?j:arguments[Y],N(at)){if(et=f(at.length),U+et>g)throw TypeError(v);for(ot=0;ot<et;ot++,U++)ot in at&&h(F,U,at[ot])}else{if(U>=g)throw TypeError(v);h(F,U++,at)}return F.length=U,F}})},"9bdd":function(i,r,o){var a=o("825a");i.exports=function(l,c,u,d){try{return d?c(a(u)[0],u[1]):c(u)}catch(h){var f=l.return;throw f!==void 0&&a(f.call(l)),h}}},"9bf2":function(i,r,o){var a=o("83ab"),l=o("0cfb"),c=o("825a"),u=o("c04e"),d=Object.defineProperty;r.f=a?d:function(h,p,m){if(c(h),p=u(p,!0),c(m),l)try{return d(h,p,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported");return"value"in m&&(h[p]=m.value),h}},"9ed3":function(i,r,o){var a=o("ae93").IteratorPrototype,l=o("7c73"),c=o("5c6c"),u=o("d44e"),d=o("3f8c"),f=function(){return this};i.exports=function(h,p,m){var b=p+" Iterator";return h.prototype=l(a,{next:c(1,m)}),u(h,b,!1,!0),d[b]=f,h}},"9f7f":function(i,r,o){var a=o("d039");function l(c,u){return RegExp(c,u)}r.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),r.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(i,r,o){var a=o("e8b5"),l=o("50c4"),c=o("0366"),u=function(d,f,h,p,m,b,y,_){for(var g=m,v=0,S=y?c(y,_,3):!1,k;v<p;){if(v in h){if(k=S?S(h[v],v,f):h[v],b>0&&a(k))g=u(d,f,k,l(k.length),g,b-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[g]=k}g++}v++}return g};i.exports=u},a352:function(i,r){i.exports=s},a434:function(i,r,o){var a=o("23e7"),l=o("23cb"),c=o("a691"),u=o("50c4"),d=o("7b0b"),f=o("65f0"),h=o("8418"),p=o("1dde"),m=o("ae40"),b=p("splice"),y=m("splice",{ACCESSORS:!0,0:0,1:2}),_=Math.max,g=Math.min,v=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!y},{splice:function(N,D){var T=d(this),R=u(T.length),j=l(N,R),F=arguments.length,U,Y,ot,G,et,at;if(F===0?U=Y=0:F===1?(U=0,Y=R-j):(U=F-2,Y=g(_(c(D),0),R-j)),R+U-Y>v)throw TypeError(S);for(ot=f(T,Y),G=0;G<Y;G++)et=j+G,et in T&&h(ot,G,T[et]);if(ot.length=Y,U<Y){for(G=j;G<R-Y;G++)et=G+Y,at=G+U,et in T?T[at]=T[et]:delete T[at];for(G=R;G>R-Y+U;G--)delete T[G-1]}else if(U>Y)for(G=R-Y;G>j;G--)et=G+Y-1,at=G+U-1,et in T?T[at]=T[et]:delete T[at];for(G=0;G<U;G++)T[G+j]=arguments[G+2];return T.length=R-Y+U,ot}})},a4d3:function(i,r,o){var a=o("23e7"),l=o("da84"),c=o("d066"),u=o("c430"),d=o("83ab"),f=o("4930"),h=o("fdbf"),p=o("d039"),m=o("5135"),b=o("e8b5"),y=o("861d"),_=o("825a"),g=o("7b0b"),v=o("fc6a"),S=o("c04e"),k=o("5c6c"),N=o("7c73"),D=o("df75"),T=o("241c"),R=o("057f"),j=o("7418"),F=o("06cf"),U=o("9bf2"),Y=o("d1e7"),ot=o("9112"),G=o("6eeb"),et=o("5692"),at=o("f772"),Tt=o("d012"),Kt=o("90e3"),Ht=o("b622"),Wt=o("e538"),ge=o("746f"),ve=o("d44e"),Se=o("69f3"),Gt=o("b727").forEach,X=at("hidden"),dt="Symbol",ct="prototype",bt=Ht("toPrimitive"),Ut=Se.set,Xt=Se.getterFor(dt),O=Object[ct],P=l.Symbol,W=c("JSON","stringify"),st=F.f,Q=U.f,A=R.f,I=Y.f,V=et("symbols"),K=et("op-symbols"),nt=et("string-to-symbol-registry"),lt=et("symbol-to-string-registry"),L=et("wks"),q=l.QObject,ht=!q||!q[ct]||!q[ct].findChild,Et=d&&p(function(){return N(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a!=7})?function(Nt,kt,It){var ee=st(O,kt);ee&&delete O[kt],Q(Nt,kt,It),ee&&Nt!==O&&Q(O,kt,ee)}:Q,qt=function(Nt,kt){var It=V[Nt]=N(P[ct]);return Ut(It,{type:dt,tag:Nt,description:kt}),d||(It.description=kt),It},H=h?function(Nt){return typeof Nt=="symbol"}:function(Nt){return Object(Nt)instanceof P},B=function(kt,It,ee){kt===O&&B(K,It,ee),_(kt);var ae=S(It,!0);return _(ee),m(V,ae)?(ee.enumerable?(m(kt,X)&&kt[X][ae]&&(kt[X][ae]=!1),ee=N(ee,{enumerable:k(0,!1)})):(m(kt,X)||Q(kt,X,k(1,{})),kt[X][ae]=!0),Et(kt,ae,ee)):Q(kt,ae,ee)},z=function(kt,It){_(kt);var ee=v(It),ae=D(ee).concat(Mt(ee));return Gt(ae,function(Nn){(!d||mt.call(ee,Nn))&&B(kt,Nn,ee[Nn])}),kt},rt=function(kt,It){return It===void 0?N(kt):z(N(kt),It)},mt=function(kt){var It=S(kt,!0),ee=I.call(this,It);return this===O&&m(V,It)&&!m(K,It)?!1:ee||!m(this,It)||!m(V,It)||m(this,X)&&this[X][It]?ee:!0},At=function(kt,It){var ee=v(kt),ae=S(It,!0);if(!(ee===O&&m(V,ae)&&!m(K,ae))){var Nn=st(ee,ae);return Nn&&m(V,ae)&&!(m(ee,X)&&ee[X][ae])&&(Nn.enumerable=!0),Nn}},Lt=function(kt){var It=A(v(kt)),ee=[];return Gt(It,function(ae){!m(V,ae)&&!m(Tt,ae)&&ee.push(ae)}),ee},Mt=function(kt){var It=kt===O,ee=A(It?K:v(kt)),ae=[];return Gt(ee,function(Nn){m(V,Nn)&&(!It||m(O,Nn))&&ae.push(V[Nn])}),ae};if(f||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var kt=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),It=Kt(kt),ee=function(ae){this===O&&ee.call(K,ae),m(this,X)&&m(this[X],It)&&(this[X][It]=!1),Et(this,It,k(1,ae))};return d&&ht&&Et(O,It,{configurable:!0,set:ee}),qt(It,kt)},G(P[ct],"toString",function(){return Xt(this).tag}),G(P,"withoutSetter",function(Nt){return qt(Kt(Nt),Nt)}),Y.f=mt,U.f=B,F.f=At,T.f=R.f=Lt,j.f=Mt,Wt.f=function(Nt){return qt(Ht(Nt),Nt)},d&&(Q(P[ct],"description",{configurable:!0,get:function(){return Xt(this).description}}),u||G(O,"propertyIsEnumerable",mt,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:P}),Gt(D(L),function(Nt){ge(Nt)}),a({target:dt,stat:!0,forced:!f},{for:function(Nt){var kt=String(Nt);if(m(nt,kt))return nt[kt];var It=P(kt);return nt[kt]=It,lt[It]=kt,It},keyFor:function(kt){if(!H(kt))throw TypeError(kt+" is not a symbol");if(m(lt,kt))return lt[kt]},useSetter:function(){ht=!0},useSimple:function(){ht=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!d},{create:rt,defineProperty:B,defineProperties:z,getOwnPropertyDescriptor:At}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Lt,getOwnPropertySymbols:Mt}),a({target:"Object",stat:!0,forced:p(function(){j.f(1)})},{getOwnPropertySymbols:function(kt){return j.f(g(kt))}}),W){var le=!f||p(function(){var Nt=P();return W([Nt])!="[null]"||W({a:Nt})!="{}"||W(Object(Nt))!="{}"});a({target:"JSON",stat:!0,forced:le},{stringify:function(kt,It,ee){for(var ae=[kt],Nn=1,bd;arguments.length>Nn;)ae.push(arguments[Nn++]);if(bd=It,!(!y(It)&&kt===void 0||H(kt)))return b(It)||(It=function(jS,yl){if(typeof bd=="function"&&(yl=bd.call(this,jS,yl)),!H(yl))return yl}),ae[1]=It,W.apply(null,ae)}})}P[ct][bt]||ot(P[ct],bt,P[ct].valueOf),ve(P,dt),Tt[X]=!0},a630:function(i,r,o){var a=o("23e7"),l=o("4df4"),c=o("1c7e"),u=!c(function(d){Array.from(d)});a({target:"Array",stat:!0,forced:u},{from:l})},a640:function(i,r,o){var a=o("d039");i.exports=function(l,c){var u=[][l];return!!u&&a(function(){u.call(null,c||function(){throw 1},1)})}},a691:function(i,r){var o=Math.ceil,a=Math.floor;i.exports=function(l){return isNaN(l=+l)?0:(l>0?a:o)(l)}},ab13:function(i,r,o){var a=o("b622"),l=a("match");i.exports=function(c){var u=/./;try{"/./"[c](u)}catch{try{return u[l]=!1,"/./"[c](u)}catch{}}return!1}},ac1f:function(i,r,o){var a=o("23e7"),l=o("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(i,r,o){var a=o("825a");i.exports=function(){var l=a(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(i,r,o){var a=o("83ab"),l=o("d039"),c=o("5135"),u=Object.defineProperty,d={},f=function(h){throw h};i.exports=function(h,p){if(c(d,h))return d[h];p||(p={});var m=[][h],b=c(p,"ACCESSORS")?p.ACCESSORS:!1,y=c(p,0)?p[0]:f,_=c(p,1)?p[1]:void 0;return d[h]=!!m&&!l(function(){if(b&&!a)return!0;var g={length:-1};b?u(g,1,{enumerable:!0,get:f}):g[1]=1,m.call(g,y,_)})}},ae93:function(i,r,o){var a=o("e163"),l=o("9112"),c=o("5135"),u=o("b622"),d=o("c430"),f=u("iterator"),h=!1,p=function(){return this},m,b,y;[].keys&&(y=[].keys(),"next"in y?(b=a(a(y)),b!==Object.prototype&&(m=b)):h=!0),m==null&&(m={}),!d&&!c(m,f)&&l(m,f,p),i.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:h}},b041:function(i,r,o){var a=o("00ee"),l=o("f5df");i.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(i,r,o){var a=o("83ab"),l=o("9bf2").f,c=Function.prototype,u=c.toString,d=/^\s*function ([^ (]*)/,f="name";a&&!(f in c)&&l(c,f,{configurable:!0,get:function(){try{return u.call(this).match(d)[1]}catch{return""}}})},b622:function(i,r,o){var a=o("da84"),l=o("5692"),c=o("5135"),u=o("90e3"),d=o("4930"),f=o("fdbf"),h=l("wks"),p=a.Symbol,m=f?p:p&&p.withoutSetter||u;i.exports=function(b){return c(h,b)||(d&&c(p,b)?h[b]=p[b]:h[b]=m("Symbol."+b)),h[b]}},b64b:function(i,r,o){var a=o("23e7"),l=o("7b0b"),c=o("df75"),u=o("d039"),d=u(function(){c(1)});a({target:"Object",stat:!0,forced:d},{keys:function(h){return c(l(h))}})},b727:function(i,r,o){var a=o("0366"),l=o("44ad"),c=o("7b0b"),u=o("50c4"),d=o("65f0"),f=[].push,h=function(p){var m=p==1,b=p==2,y=p==3,_=p==4,g=p==6,v=p==5||g;return function(S,k,N,D){for(var T=c(S),R=l(T),j=a(k,N,3),F=u(R.length),U=0,Y=D||d,ot=m?Y(S,F):b?Y(S,0):void 0,G,et;F>U;U++)if((v||U in R)&&(G=R[U],et=j(G,U,T),p)){if(m)ot[U]=et;else if(et)switch(p){case 3:return!0;case 5:return G;case 6:return U;case 2:f.call(ot,G)}else if(_)return!1}return g?-1:y||_?_:ot}};i.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(i,r,o){var a=o("861d");i.exports=function(l,c){if(!a(l))return l;var u,d;if(c&&typeof(u=l.toString)=="function"&&!a(d=u.call(l))||typeof(u=l.valueOf)=="function"&&!a(d=u.call(l))||!c&&typeof(u=l.toString)=="function"&&!a(d=u.call(l)))return d;throw TypeError("Can't convert object to primitive value")}},c430:function(i,r){i.exports=!1},c6b6:function(i,r){var o={}.toString;i.exports=function(a){return o.call(a).slice(8,-1)}},c6cd:function(i,r,o){var a=o("da84"),l=o("ce4e"),c="__core-js_shared__",u=a[c]||l(c,{});i.exports=u},c740:function(i,r,o){var a=o("23e7"),l=o("b727").findIndex,c=o("44d2"),u=o("ae40"),d="findIndex",f=!0,h=u(d);d in[]&&Array(1)[d](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!h},{findIndex:function(m){return l(this,m,arguments.length>1?arguments[1]:void 0)}}),c(d)},c8ba:function(i,r){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}i.exports=o},c975:function(i,r,o){var a=o("23e7"),l=o("4d64").indexOf,c=o("a640"),u=o("ae40"),d=[].indexOf,f=!!d&&1/[1].indexOf(1,-0)<0,h=c("indexOf"),p=u("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:f||!h||!p},{indexOf:function(b){return f?d.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(i,r,o){var a=o("5135"),l=o("fc6a"),c=o("4d64").indexOf,u=o("d012");i.exports=function(d,f){var h=l(d),p=0,m=[],b;for(b in h)!a(u,b)&&a(h,b)&&m.push(b);for(;f.length>p;)a(h,b=f[p++])&&(~c(m,b)||m.push(b));return m}},caad:function(i,r,o){var a=o("23e7"),l=o("4d64").includes,c=o("44d2"),u=o("ae40"),d=u("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!d},{includes:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(i,r,o){var a=o("da84"),l=o("861d"),c=a.document,u=l(c)&&l(c.createElement);i.exports=function(d){return u?c.createElement(d):{}}},ce4e:function(i,r,o){var a=o("da84"),l=o("9112");i.exports=function(c,u){try{l(a,c,u)}catch{a[c]=u}return u}},d012:function(i,r){i.exports={}},d039:function(i,r){i.exports=function(o){try{return!!o()}catch{return!0}}},d066:function(i,r,o){var a=o("428f"),l=o("da84"),c=function(u){return typeof u=="function"?u:void 0};i.exports=function(u,d){return arguments.length<2?c(a[u])||c(l[u]):a[u]&&a[u][d]||l[u]&&l[u][d]}},d1e7:function(i,r,o){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);r.f=c?function(d){var f=l(this,d);return!!f&&f.enumerable}:a},d28b:function(i,r,o){var a=o("746f");a("iterator")},d2bb:function(i,r,o){var a=o("825a"),l=o("3bbe");i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,u={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(u,[]),c=u instanceof Array}catch{}return function(h,p){return a(h),l(p),c?d.call(h,p):h.__proto__=p,h}}():void 0)},d3b7:function(i,r,o){var a=o("00ee"),l=o("6eeb"),c=o("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(i,r,o){var a=o("9bf2").f,l=o("5135"),c=o("b622"),u=c("toStringTag");i.exports=function(d,f,h){d&&!l(d=h?d:d.prototype,u)&&a(d,u,{configurable:!0,value:f})}},d58f:function(i,r,o){var a=o("1c0b"),l=o("7b0b"),c=o("44ad"),u=o("50c4"),d=function(f){return function(h,p,m,b){a(p);var y=l(h),_=c(y),g=u(y.length),v=f?g-1:0,S=f?-1:1;if(m<2)for(;;){if(v in _){b=_[v],v+=S;break}if(v+=S,f?v<0:g<=v)throw TypeError("Reduce of empty array with no initial value")}for(;f?v>=0:g>v;v+=S)v in _&&(b=p(b,_[v],v,y));return b}};i.exports={left:d(!1),right:d(!0)}},d784:function(i,r,o){o("ac1f");var a=o("6eeb"),l=o("d039"),c=o("b622"),u=o("9263"),d=o("9112"),f=c("species"),h=!l(function(){var _=/./;return _.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(_,"$<a>")!=="7"}),p=function(){return"a".replace(/./,"$0")==="$0"}(),m=c("replace"),b=function(){return/./[m]?/./[m]("a","$0")==="":!1}(),y=!l(function(){var _=/(?:)/,g=_.exec;_.exec=function(){return g.apply(this,arguments)};var v="ab".split(_);return v.length!==2||v[0]!=="a"||v[1]!=="b"});i.exports=function(_,g,v,S){var k=c(_),N=!l(function(){var U={};return U[k]=function(){return 7},""[_](U)!=7}),D=N&&!l(function(){var U=!1,Y=/a/;return _==="split"&&(Y={},Y.constructor={},Y.constructor[f]=function(){return Y},Y.flags="",Y[k]=/./[k]),Y.exec=function(){return U=!0,null},Y[k](""),!U});if(!N||!D||_==="replace"&&!(h&&p&&!b)||_==="split"&&!y){var T=/./[k],R=v(k,""[_],function(U,Y,ot,G,et){return Y.exec===u?N&&!et?{done:!0,value:T.call(Y,ot,G)}:{done:!0,value:U.call(ot,Y,G)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),j=R[0],F=R[1];a(String.prototype,_,j),a(RegExp.prototype,k,g==2?function(U,Y){return F.call(U,this,Y)}:function(U){return F.call(U,this)})}S&&d(RegExp.prototype[k],"sham",!0)}},d81d:function(i,r,o){var a=o("23e7"),l=o("b727").map,c=o("1dde"),u=o("ae40"),d=c("map"),f=u("map");a({target:"Array",proto:!0,forced:!d||!f},{map:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}})},da84:function(i,r,o){(function(a){var l=function(c){return c&&c.Math==Math&&c};i.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,o("c8ba"))},dbb4:function(i,r,o){var a=o("23e7"),l=o("83ab"),c=o("56ef"),u=o("fc6a"),d=o("06cf"),f=o("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(p){for(var m=u(p),b=d.f,y=c(m),_={},g=0,v,S;y.length>g;)S=b(m,v=y[g++]),S!==void 0&&f(_,v,S);return _}})},dbf1:function(i,r,o){(function(a){o.d(r,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,o("c8ba"))},ddb0:function(i,r,o){var a=o("da84"),l=o("fdbc"),c=o("e260"),u=o("9112"),d=o("b622"),f=d("iterator"),h=d("toStringTag"),p=c.values;for(var m in l){var b=a[m],y=b&&b.prototype;if(y){if(y[f]!==p)try{u(y,f,p)}catch{y[f]=p}if(y[h]||u(y,h,m),l[m]){for(var _ in c)if(y[_]!==c[_])try{u(y,_,c[_])}catch{y[_]=c[_]}}}}},df75:function(i,r,o){var a=o("ca84"),l=o("7839");i.exports=Object.keys||function(u){return a(u,l)}},e01a:function(i,r,o){var a=o("23e7"),l=o("83ab"),c=o("da84"),u=o("5135"),d=o("861d"),f=o("9bf2").f,h=o("e893"),p=c.Symbol;if(l&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var m={},b=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),N=this instanceof b?new p(k):k===void 0?p():p(k);return k===""&&(m[N]=!0),N};h(b,p);var y=b.prototype=p.prototype;y.constructor=b;var _=y.toString,g=String(p("test"))=="Symbol(test)",v=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var k=d(this)?this.valueOf():this,N=_.call(k);if(u(m,k))return"";var D=g?N.slice(7,-1):N.replace(v,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(i,r,o){var a=o("5135"),l=o("7b0b"),c=o("f772"),u=o("e177"),d=c("IE_PROTO"),f=Object.prototype;i.exports=u?Object.getPrototypeOf:function(h){return h=l(h),a(h,d)?h[d]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?f:null}},e177:function(i,r,o){var a=o("d039");i.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(i,r,o){var a=o("fc6a"),l=o("44d2"),c=o("3f8c"),u=o("69f3"),d=o("7dd0"),f="Array Iterator",h=u.set,p=u.getterFor(f);i.exports=d(Array,"Array",function(m,b){h(this,{type:f,target:a(m),index:0,kind:b})},function(){var m=p(this),b=m.target,y=m.kind,_=m.index++;return!b||_>=b.length?(m.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:_,done:!1}:y=="values"?{value:b[_],done:!1}:{value:[_,b[_]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(i,r,o){var a=o("23e7"),l=o("d039"),c=o("fc6a"),u=o("06cf").f,d=o("83ab"),f=l(function(){u(1)}),h=!d||f;a({target:"Object",stat:!0,forced:h,sham:!d},{getOwnPropertyDescriptor:function(m,b){return u(c(m),b)}})},e538:function(i,r,o){var a=o("b622");r.f=a},e893:function(i,r,o){var a=o("5135"),l=o("56ef"),c=o("06cf"),u=o("9bf2");i.exports=function(d,f){for(var h=l(f),p=u.f,m=c.f,b=0;b<h.length;b++){var y=h[b];a(d,y)||p(d,y,m(f,y))}}},e8b5:function(i,r,o){var a=o("c6b6");i.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(i,r,o){var a=o("b622"),l=o("3f8c"),c=a("iterator"),u=Array.prototype;i.exports=function(d){return d!==void 0&&(l.Array===d||u[c]===d)}},f5df:function(i,r,o){var a=o("00ee"),l=o("c6b6"),c=o("b622"),u=c("toStringTag"),d=l(function(){return arguments}())=="Arguments",f=function(h,p){try{return h[p]}catch{}};i.exports=a?l:function(h){var p,m,b;return h===void 0?"Undefined":h===null?"Null":typeof(m=f(p=Object(h),u))=="string"?m:d?l(p):(b=l(p))=="Object"&&typeof p.callee=="function"?"Arguments":b}},f772:function(i,r,o){var a=o("5692"),l=o("90e3"),c=a("keys");i.exports=function(u){return c[u]||(c[u]=l(u))}},fb15:function(i,r,o){if(o.r(r),typeof window<"u"){var a=window.document.currentScript;{var l=o("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(o.p=c[1])}o("99af"),o("4de4"),o("4160"),o("c975"),o("d81d"),o("a434"),o("159b"),o("a4d3"),o("e439"),o("dbb4"),o("b64b");function u(H,B,z){return B in H?Object.defineProperty(H,B,{value:z,enumerable:!0,configurable:!0,writable:!0}):H[B]=z,H}function d(H,B){var z=Object.keys(H);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(H);B&&(rt=rt.filter(function(mt){return Object.getOwnPropertyDescriptor(H,mt).enumerable})),z.push.apply(z,rt)}return z}function f(H){for(var B=1;B<arguments.length;B++){var z=arguments[B]!=null?arguments[B]:{};B%2?d(Object(z),!0).forEach(function(rt){u(H,rt,z[rt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(z)):d(Object(z)).forEach(function(rt){Object.defineProperty(H,rt,Object.getOwnPropertyDescriptor(z,rt))})}return H}function h(H){if(Array.isArray(H))return H}o("e01a"),o("d28b"),o("e260"),o("d3b7"),o("3ca3"),o("ddb0");function p(H,B){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(H)))){var z=[],rt=!0,mt=!1,At=void 0;try{for(var Lt=H[Symbol.iterator](),Mt;!(rt=(Mt=Lt.next()).done)&&(z.push(Mt.value),!(B&&z.length===B));rt=!0);}catch(le){mt=!0,At=le}finally{try{!rt&&Lt.return!=null&&Lt.return()}finally{if(mt)throw At}}return z}}o("a630"),o("fb6a"),o("b0c0"),o("25f0");function m(H,B){(B==null||B>H.length)&&(B=H.length);for(var z=0,rt=new Array(B);z<B;z++)rt[z]=H[z];return rt}function b(H,B){if(H){if(typeof H=="string")return m(H,B);var z=Object.prototype.toString.call(H).slice(8,-1);if(z==="Object"&&H.constructor&&(z=H.constructor.name),z==="Map"||z==="Set")return Array.from(H);if(z==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(z))return m(H,B)}}function y(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(H,B){return h(H)||p(H,B)||b(H,B)||y()}function g(H){if(Array.isArray(H))return m(H)}function v(H){if(typeof Symbol<"u"&&Symbol.iterator in Object(H))return Array.from(H)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(H){return g(H)||v(H)||b(H)||S()}var N=o("a352"),D=o.n(N);function T(H){H.parentElement!==null&&H.parentElement.removeChild(H)}function R(H,B,z){var rt=z===0?H.children[0]:H.children[z-1].nextSibling;H.insertBefore(B,rt)}var j=o("dbf1");o("13d5"),o("4fad"),o("ac1f"),o("5319");function F(H){var B=Object.create(null);return function(rt){var mt=B[rt];return mt||(B[rt]=H(rt))}}var U=/-(\w)/g,Y=F(function(H){return H.replace(U,function(B,z){return z.toUpperCase()})});o("5db7"),o("73d9");var ot=["Start","Add","Remove","Update","End"],G=["Choose","Unchoose","Sort","Filter","Clone"],et=["Move"],at=[et,ot,G].flatMap(function(H){return H}).map(function(H){return"on".concat(H)}),Tt={manage:et,manageAndEmit:ot,emit:G};function Kt(H){return at.indexOf(H)!==-1}o("caad"),o("2ca0");var Ht=["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 Wt(H){return Ht.includes(H)}function ge(H){return["transition-group","TransitionGroup"].includes(H)}function ve(H){return["id","class","role","style"].includes(H)||H.startsWith("data-")||H.startsWith("aria-")||H.startsWith("on")}function Se(H){return H.reduce(function(B,z){var rt=_(z,2),mt=rt[0],At=rt[1];return B[mt]=At,B},{})}function Gt(H){var B=H.$attrs,z=H.componentData,rt=z===void 0?{}:z,mt=Se(Object.entries(B).filter(function(At){var Lt=_(At,2),Mt=Lt[0];return Lt[1],ve(Mt)}));return f(f({},mt),rt)}function X(H){var B=H.$attrs,z=H.callBackBuilder,rt=Se(dt(B));Object.entries(z).forEach(function(At){var Lt=_(At,2),Mt=Lt[0],le=Lt[1];Tt[Mt].forEach(function(Nt){rt["on".concat(Nt)]=le(Nt)})});var mt="[data-draggable]".concat(rt.draggable||"");return f(f({},rt),{},{draggable:mt})}function dt(H){return Object.entries(H).filter(function(B){var z=_(B,2),rt=z[0];return z[1],!ve(rt)}).map(function(B){var z=_(B,2),rt=z[0],mt=z[1];return[Y(rt),mt]}).filter(function(B){var z=_(B,2),rt=z[0];return z[1],!Kt(rt)})}o("c740");function ct(H,B){if(!(H instanceof B))throw new TypeError("Cannot call a class as a function")}function bt(H,B){for(var z=0;z<B.length;z++){var rt=B[z];rt.enumerable=rt.enumerable||!1,rt.configurable=!0,"value"in rt&&(rt.writable=!0),Object.defineProperty(H,rt.key,rt)}}function Ut(H,B,z){return B&&bt(H.prototype,B),H}var Xt=function(B){var z=B.el;return z},O=function(B,z){return B.__draggable_context=z},P=function(B){return B.__draggable_context},W=function(){function H(B){var z=B.nodes,rt=z.header,mt=z.default,At=z.footer,Lt=B.root,Mt=B.realList;ct(this,H),this.defaultNodes=mt,this.children=[].concat(k(rt),k(mt),k(At)),this.externalComponent=Lt.externalComponent,this.rootTransition=Lt.transition,this.tag=Lt.tag,this.realList=Mt}return Ut(H,[{key:"render",value:function(z,rt){var mt=this.tag,At=this.children,Lt=this._isRootComponent,Mt=Lt?{default:function(){return At}}:At;return z(mt,rt,Mt)}},{key:"updated",value:function(){var z=this.defaultNodes,rt=this.realList;z.forEach(function(mt,At){O(Xt(mt),{element:rt[At],index:At})})}},{key:"getUnderlyingVm",value:function(z){return P(z)}},{key:"getVmIndexFromDomIndex",value:function(z,rt){var mt=this.defaultNodes,At=mt.length,Lt=rt.children,Mt=Lt.item(z);if(Mt===null)return At;var le=P(Mt);if(le)return le.index;if(At===0)return 0;var Nt=Xt(mt[0]),kt=k(Lt).findIndex(function(It){return It===Nt});return z<kt?0:At}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),H}(),st=o("8bbf");function Q(H,B){var z=H[B];return z?z():[]}function A(H){var B=H.$slots,z=H.realList,rt=H.getKey,mt=z||[],At=["header","footer"].map(function(It){return Q(B,It)}),Lt=_(At,2),Mt=Lt[0],le=Lt[1],Nt=B.item;if(!Nt)throw new Error("draggable element must have an item slot");var kt=mt.flatMap(function(It,ee){return Nt({element:It,index:ee}).map(function(ae){return ae.key=rt(It),ae.props=f(f({},ae.props||{}),{},{"data-draggable":!0}),ae})});if(kt.length!==mt.length)throw new Error("Item slot must have only one child");return{header:Mt,footer:le,default:kt}}function I(H){var B=ge(H),z=!Wt(H)&&!B;return{transition:B,externalComponent:z,tag:z?Object(st.resolveComponent)(H):B?st.TransitionGroup:H}}function V(H){var B=H.$slots,z=H.tag,rt=H.realList,mt=H.getKey,At=A({$slots:B,realList:rt,getKey:mt}),Lt=I(z);return new W({nodes:At,root:Lt,realList:rt})}function K(H,B){var z=this;Object(st.nextTick)(function(){return z.$emit(H.toLowerCase(),B)})}function nt(H){var B=this;return function(z,rt){if(B.realList!==null)return B["onDrag".concat(H)](z,rt)}}function lt(H){var B=this,z=nt.call(this,H);return function(rt,mt){z.call(B,rt,mt),K.call(B,H,rt)}}var L=null,q={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(B){return B}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},ht=["update:modelValue","change"].concat(k([].concat(k(Tt.manageAndEmit),k(Tt.emit)).map(function(H){return H.toLowerCase()}))),Et=Object(st.defineComponent)({name:"draggable",inheritAttrs:!1,props:q,emits:ht,data:function(){return{error:!1}},render:function(){try{this.error=!1;var B=this.$slots,z=this.$attrs,rt=this.tag,mt=this.componentData,At=this.realList,Lt=this.getKey,Mt=V({$slots:B,tag:rt,realList:At,getKey:Lt});this.componentStructure=Mt;var le=Gt({$attrs:z,componentData:mt});return Mt.render(st.h,le)}catch(Nt){return this.error=!0,Object(st.h)("pre",{style:{color:"red"}},Nt.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&j.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var B=this;if(!this.error){var z=this.$attrs,rt=this.$el,mt=this.componentStructure;mt.updated();var At=X({$attrs:z,callBackBuilder:{manageAndEmit:function(le){return lt.call(B,le)},emit:function(le){return K.bind(B,le)},manage:function(le){return nt.call(B,le)}}}),Lt=rt.nodeType===1?rt:rt.parentElement;this._sortable=new D.a(Lt,At),this.targetDomElement=Lt,Lt.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var B=this.list;return B||this.modelValue},getKey:function(){var B=this.itemKey;return typeof B=="function"?B:function(z){return z[B]}}},watch:{$attrs:{handler:function(B){var z=this._sortable;z&&dt(B).forEach(function(rt){var mt=_(rt,2),At=mt[0],Lt=mt[1];z.option(At,Lt)})},deep:!0}},methods:{getUnderlyingVm:function(B){return this.componentStructure.getUnderlyingVm(B)||null},getUnderlyingPotencialDraggableComponent:function(B){return B.__draggable_component__},emitChanges:function(B){var z=this;Object(st.nextTick)(function(){return z.$emit("change",B)})},alterList:function(B){if(this.list){B(this.list);return}var z=k(this.modelValue);B(z),this.$emit("update:modelValue",z)},spliceList:function(){var B=arguments,z=function(mt){return mt.splice.apply(mt,k(B))};this.alterList(z)},updatePosition:function(B,z){var rt=function(At){return At.splice(z,0,At.splice(B,1)[0])};this.alterList(rt)},getRelatedContextFromMoveEvent:function(B){var z=B.to,rt=B.related,mt=this.getUnderlyingPotencialDraggableComponent(z);if(!mt)return{component:mt};var At=mt.realList,Lt={list:At,component:mt};if(z!==rt&&At){var Mt=mt.getUnderlyingVm(rt)||{};return f(f({},Mt),Lt)}return Lt},getVmIndexFromDomIndex:function(B){return this.componentStructure.getVmIndexFromDomIndex(B,this.targetDomElement)},onDragStart:function(B){this.context=this.getUnderlyingVm(B.item),B.item._underlying_vm_=this.clone(this.context.element),L=B.item},onDragAdd:function(B){var z=B.item._underlying_vm_;if(z!==void 0){T(B.item);var rt=this.getVmIndexFromDomIndex(B.newIndex);this.spliceList(rt,0,z);var mt={element:z,newIndex:rt};this.emitChanges({added:mt})}},onDragRemove:function(B){if(R(this.$el,B.item,B.oldIndex),B.pullMode==="clone"){T(B.clone);return}var z=this.context,rt=z.index,mt=z.element;this.spliceList(rt,1);var At={element:mt,oldIndex:rt};this.emitChanges({removed:At})},onDragUpdate:function(B){T(B.item),R(B.from,B.item,B.oldIndex);var z=this.context.index,rt=this.getVmIndexFromDomIndex(B.newIndex);this.updatePosition(z,rt);var mt={element:this.context.element,oldIndex:z,newIndex:rt};this.emitChanges({moved:mt})},computeFutureIndex:function(B,z){if(!B.element)return 0;var rt=k(z.to.children).filter(function(Mt){return Mt.style.display!=="none"}),mt=rt.indexOf(z.related),At=B.component.getVmIndexFromDomIndex(mt),Lt=rt.indexOf(L)!==-1;return Lt||!z.willInsertAfter?At:At+1},onDragMove:function(B,z){var rt=this.move,mt=this.realList;if(!rt||!mt)return!0;var At=this.getRelatedContextFromMoveEvent(B),Lt=this.computeFutureIndex(At,B),Mt=f(f({},this.context),{},{futureIndex:Lt}),le=f(f({},B),{},{relatedContext:At,draggedContext:Mt});return rt(le,z)},onDragEnd:function(){L=null}}}),qt=Et;r.default=qt},fb6a:function(i,r,o){var a=o("23e7"),l=o("861d"),c=o("e8b5"),u=o("23cb"),d=o("50c4"),f=o("fc6a"),h=o("8418"),p=o("b622"),m=o("1dde"),b=o("ae40"),y=m("slice"),_=b("slice",{ACCESSORS:!0,0:0,1:2}),g=p("species"),v=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!y||!_},{slice:function(N,D){var T=f(this),R=d(T.length),j=u(N,R),F=u(D===void 0?R:D,R),U,Y,ot;if(c(T)&&(U=T.constructor,typeof U=="function"&&(U===Array||c(U.prototype))?U=void 0:l(U)&&(U=U[g],U===null&&(U=void 0)),U===Array||U===void 0))return v.call(T,j,F);for(Y=new(U===void 0?Array:U)(S(F-j,0)),ot=0;j<F;j++,ot++)j in T&&h(Y,ot,T[j]);return Y.length=ot,Y}})},fc6a:function(i,r,o){var a=o("44ad"),l=o("1d80");i.exports=function(c){return a(l(c))}},fdbc:function(i,r){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(i,r,o){var a=o("4930");i.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})}(mc)),mc.exports}var s7=n7();const i7=Uu(s7),r7={name:"PageQueue",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListItemQueueItem:l9,ModalDialogAddStream:d9,ModalDialogPlaylistSave:y9,ModalDialogQueueItem:TS,draggable:i7},setup(){return{configurationStore:Gi(),playerStore:ts(),queueStore:ks(),uiStore:jn()}},data(){return{editing:!1,selectedItem:{},showDetailsModal:!1,showSaveModal:!1,showAddStreamDialog:!1}},computed:{currentPosition(){var t;return((t=this.queueStore.current)==null?void 0:t.position)??-1},heading(){return{subtitle:[{count:this.queueStore.count,key:"count.tracks"}],title:this.$t("page.queue.title")}},items:{get(){return this.queueStore.items},set(t){}}},methods:{clearQueue(){tt.queue_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&&tt.queue_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){tt.queue_remove(t.id)},toggleEdit(){this.editing=!this.editing}}},o7=["onClick"],a7=["onClick"];function l7(t,e,n,s,i,r){const o=w("heading-title"),a=w("control-button"),l=w("mdicon"),c=w("list-item-queue-item"),u=w("draggable"),d=w("modal-dialog-queue-item"),f=w("modal-dialog-add-stream"),h=w("modal-dialog-playlist-save"),p=w("content-with-heading");return x(),$("div",null,[E(p,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:Vt({"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:Vt({"is-dark":i.editing}),disabled:s.queueStore.isEmpty},null,8,["button","class","disabled"]),E(a,{button:{handler:r.clearQueue,icon:"delete-empty",key:"actions.clear"},disabled:s.queueStore.isEmpty},null,8,["button","disabled"]),s.queueStore.isSavingAllowed?(x(),vt(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:b})=>[E(c,{item:m,position:b,"current-position":r.currentPosition,"hide-read-items":s.uiStore.hideReadItems,editing:i.editing},{actions:M(()=>[i.editing?_t("",!0):(x(),$("a",{key:0,onClick:_n(y=>r.openDetails(m),["prevent","stop"])},[E(l,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})],8,o7)),r.isRemovable(m)?(x(),$("a",{key:1,onClick:_n(y=>r.remove(m),["prevent","stop"])},[E(l,{class:"icon has-text-grey",name:"delete",size:"18"})],8,a7)):_t("",!0)]),_:2},1032,["item","position","current-position","hide-read-items","editing"])]),_:1},8,["modelValue","onEnd"]),E(d,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[1]||(e[1]=m=>i.showDetailsModal=!1)},null,8,["show","item"]),E(f,{show:i.showAddStreamDialog,onClose:e[2]||(e[2]=m=>i.showAddStreamDialog=!1)},null,8,["show"]),s.queueStore.isSavingAllowed?(x(),vt(h,{key:0,show:i.showSaveModal,onClose:e[3]||(e[3]=m=>i.showSaveModal=!1)},null,8,["show"])):_t("",!0)]),_:1})])}const c7=it(r7,[["render",l7]]),zb={load(t){return tt.library_radio_streams()},set(t,e){t.tracks=new Ct(e.data.tracks)}},u7={name:"PageRadioStreams",components:{ContentWithHeading:se,HeadingTitle:ie,ListTracks:Un},beforeRouteEnter(t,e,n){zb.load(t).then(s=>{n(i=>zb.set(i,s))})},data(){return{tracks:new Ct}},computed:{heading(){return{subtitle:[{count:this.tracks.total,key:"count.stations"}],title:this.$t("page.radio.title")}}}};function d7(t,e,n,s,i,r){const o=w("heading-title"),a=w("list-tracks"),l=w("content-with-heading");return x(),$("div",null,[E(l,null,{heading:M(()=>[E(o,{content:r.heading},null,8,["content"])]),content:M(()=>[E(a,{items:i.tracks},null,8,["items"])]),_:1})])}const f7=it(u7,[["render",d7]]),h7={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:Ue()}}},p7={key:0},m7={class:"container"},g7={class:"columns is-centered"},y7={class:"column is-four-fifths"},b7={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},v7=["textContent"],_7=["textContent"];function S7(t,e,n,s,i,r){const o=w("mdicon");return s.servicesStore.isSpotifyActive?(x(),$("section",p7,[C("div",m7,[C("div",g7,[C("div",y7,[C("div",b7,[C("ul",null,[C("li",{class:Vt({"is-active":t.$route.name==="search-library"})},[C("a",{onClick:e[0]||(e[0]=a=>t.$emit("search-library"))},[E(o,{class:"icon is-small",name:"bookshelf",size:"16"}),C("span",{textContent:Z(t.$t("page.search.tabs.library"))},null,8,v7)])],2),C("li",{class:Vt({"is-active":t.$route.name==="search-spotify"})},[C("a",{onClick:e[1]||(e[1]=a=>t.$emit("search-spotify"))},[E(o,{class:"icon is-small",name:"spotify",size:"16"}),C("span",{textContent:Z(t.$t("page.search.tabs.spotify"))},null,8,_7)])],2)])])])])])])):_t("",!0)}const FS=it(h7,[["render",S7]]),hf=3,pf=["track","artist","album","composer","playlist","audiobook","podcast"],E7={name:"PageSearchLibrary",components:{ContentWithHeading:se,ControlButton:nn,HeadingTitle:ie,ListAlbums:zn,ListArtists:Jc,ListComposers:bh,ListPlaylists:Qc,ListTracks:Un,TabsSearch:FS},setup(){return{searchStore:mp()}},data(){return{components:{album:zn.name,artist:Jc.name,audiobook:zn.name,composer:bh.name,playlist:Qc.name,podcast:zn.name,track:Un.name},results:new Map,limit:{},query:"",types:pf}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history}},watch:{query(){this.searchStore.query=this.query}},mounted(){this.searchStore.source=this.$route.name,this.query=this.searchStore.query,this.limit=hf,this.search()},methods:{expand(t){this.query=this.searchStore.query,this.types=[t],this.limit=-1,this.search()},openSearch(t){this.query=t,this.types=pf,this.limit=hf,this.search()},removeSearch(t){this.searchStore.remove(t)},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,new Ct)})},search(t){if(t&&(this.types=pf,this.limit=hf),this.query=this.query.trim(),!this.query||!this.query.replace(/^query:/u,"")){this.$refs.search_field.focus();return}this.reset(),this.types.forEach(e=>{this.searchItems(e)}),this.searchStore.add(this.query)},searchItems(t){const e=t!=="audiobook"&&t!=="podcast",n=e?"music":t,s={limit:this.limit,type:e?t:"album"};this.query.startsWith("query:")?s.expression=`(${this.query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:e?(s.query=this.query,s.media_kind=n):s.expression=`(album includes "${this.query}" or artist includes "${this.query}") and media_kind is ${n}`,tt.search(s).then(({data:i})=>{this.results.set(t,new Ct(i[`${s.type}s`]))})},searchSpotify(){this.$router.push({name:"search-spotify"})},show(t){return this.types.includes(t)},showAllButton(t){return t.total>t.items.length}}},w7={class:"section pb-0"},k7={class:"container"},T7={class:"columns is-centered"},C7={class:"column is-four-fifths"},A7={class:"field"},O7={class:"control has-icons-left"},x7=["placeholder"],I7=["textContent"],N7={class:"field is-grouped is-grouped-multiline mt-4"},P7={class:"tags has-addons"},D7=["onClick","textContent"],R7=["onClick"],M7={key:0,class:"level"},L7={class:"level-item"},$7={key:1,class:"has-text-centered-mobile"},F7=["textContent"];function V7(t,e,n,s,i,r){const o=w("mdicon"),a=w("i18n-t"),l=w("tabs-search"),c=w("heading-title"),u=w("control-button"),d=w("content-with-heading");return x(),$(pt,null,[C("section",w7,[C("div",k7,[C("div",T7,[C("div",C7,[C("form",{onSubmit:e[1]||(e[1]=_n((...f)=>r.search&&r.search(...f),["prevent"]))},[C("div",A7,[C("div",O7,[In(C("input",{ref:"search_field","onUpdate:modelValue":e[0]||(e[0]=f=>i.query=f),class:"input is-rounded",type:"text",placeholder:t.$t("page.search.placeholder"),autocomplete:"off"},null,8,x7),[[Jn,i.query]]),E(o,{class:"icon is-left",name:"magnify",size:"16"})]),E(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:M(()=>e[2]||(e[2]=[C("code",null,"query:",-1)])),help:M(()=>[C("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:Z(t.$t("page.search.expression"))},null,8,I7)]),_:1})])],32),C("div",N7,[(x(!0),$(pt,null,oe(r.history,f=>(x(),$("div",{key:f,class:"control"},[C("div",P7,[C("a",{class:"tag",onClick:h=>r.openSearch(f),textContent:Z(f)},null,8,D7),C("a",{class:"tag is-delete",onClick:h=>r.removeSearch(f)},null,8,R7)])]))),128))])])])])]),E(l,{onSearchLibrary:r.search,onSearchSpotify:r.searchSpotify},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),$(pt,null,oe(i.results,([f,h])=>(x(),vt(d,{key:f},tl({heading:M(()=>[E(c,{content:{title:t.$t(`page.search.${f}s`)}},null,8,["content"])]),content:M(()=>[(x(),vt(ku(i.components[f]),{items:h},null,8,["items"]))]),_:2},[r.expanded?void 0:{name:"footer",fn:M(()=>[r.showAllButton(h)?(x(),$("nav",M7,[C("div",L7,[E(u,{button:{handler:()=>r.expand(f),title:t.$t(`page.search.show-${f}s`,{count:t.$n(h.total)},h.total)}},null,8,["button"])])])):_t("",!0),h.total?_t("",!0):(x(),$("div",$7,[C("i",{textContent:Z(t.$t("page.search.no-results"))},null,8,F7)]))]),key:"0"}]),1024))),128))],64)}const H7=it(E7,[["render",V7]]),U7={name:"ListArtistsSpotify",components:{ListItem:yi,ModalDialogArtistSpotify:_S},props:{items:{required:!0,type:Object}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"music-spotify-artist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function j7(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-artist-spotify");return x(),$(pt,null,[(x(!0),$(pt,null,oe(n.items,l=>(x(),vt(o,{key:l.id,"is-item":!0,index:l.index,lines:[l.name],onOpen:c=>r.open(l),onOpenDetails:c=>r.openDetails(l)},null,8,["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 Kb=it(U7,[["render",j7]]),mf=3,gf=50,yf=["track","artist","album","playlist"],B7={name:"PageSearchSpotify",components:{ControlButton:nn,ContentWithHeading:se,HeadingTitle:ie,ListAlbumsSpotify:Ka,ListArtistsSpotify:Kb,ListPlaylistsSpotify:tu,ListTracksSpotify:Zc,TabsSearch:FS,VueEternalLoading:nm},setup(){return{searchStore:mp()}},data(){return{components:{album:Ka.name,artist:Kb.name,playlist:tu.name,track:Zc.name},results:new Map,parameters:{},query:"",types:yf}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history.filter(t=>!t.startsWith("query:"))}},watch:{query(){this.searchStore.query=this.query}},mounted(){this.searchStore.source=this.$route.name,this.query=this.searchStore.query,this.parameters.limit=mf,this.search()},methods:{expand(t){this.query=this.searchStore.query,this.types=[t],this.parameters.limit=gf,this.parameters.offset=0,this.search()},openSearch(t){this.query=t,this.types=yf,this.parameters.limit=mf,this.parameters.offset=0,this.search()},removeSearch(t){this.searchStore.remove(t)},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,{items:[],total:0})})},search(t){if(t&&(this.types=yf,this.parameters.limit=mf),this.query=this.query.trim(),!this.query){this.$refs.search_field.focus();return}this.reset(),this.searchItems().then(e=>{this.types.forEach(n=>{this.results.set(n,e[`${n}s`])})}),this.searchStore.add(this.query)},searchItems(){return tt.spotify().then(({data:t})=>{this.parameters.market=t.webapi_country;const e=new Bs;return e.setAccessToken(t.webapi_token),e.search(this.query,this.types,this.parameters)})},searchLibrary(){this.$router.push({name:"search-library"})},searchNext({loaded:t}){const[e]=this.types,n=this.results.get(e);this.parameters.limit=gf,this.searchItems().then(s=>{const[i]=Object.values(s);n.items.push(...i.items),n.total=i.total,this.parameters.offset||(this.parameters.offset=0),this.parameters.offset+=i.limit,t(i.items.length,gf)})},show(t){return this.types.includes(t)},showAllButton(t){return t.total>t.items.length}}},W7={class:"section pb-0"},G7={class:"container"},q7={class:"columns is-centered"},z7={class:"column is-four-fifths"},K7={class:"field"},X7={class:"control has-icons-left"},Y7=["placeholder"],Z7={class:"field is-grouped is-grouped-multiline mt-4"},J7={class:"tags has-addons"},Q7=["onClick","textContent"],tH=["onClick"],eH={class:"columns is-centered"},nH={class:"column has-text-centered"},sH={key:0,class:"level"},iH={class:"level-item"},rH={key:1,class:"has-text-centered-mobile"},oH=["textContent"];function aH(t,e,n,s,i,r){const o=w("mdicon"),a=w("tabs-search"),l=w("heading-title"),c=w("vue-eternal-loading"),u=w("control-button"),d=w("content-with-heading");return x(),$(pt,null,[C("section",W7,[C("div",G7,[C("div",q7,[C("div",z7,[C("form",{onSubmit:e[1]||(e[1]=_n((...f)=>r.search&&r.search(...f),["prevent"]))},[C("div",K7,[C("div",X7,[In(C("input",{ref:"search_field","onUpdate:modelValue":e[0]||(e[0]=f=>i.query=f),class:"input is-rounded",type:"text",placeholder:t.$t("page.search.placeholder"),autocomplete:"off"},null,8,Y7),[[Jn,i.query]]),E(o,{class:"icon is-left",name:"magnify",size:"16"})])])],32),C("div",Z7,[(x(!0),$(pt,null,oe(r.history,f=>(x(),$("div",{key:f,class:"control"},[C("div",J7,[C("a",{class:"tag",onClick:h=>r.openSearch(f),textContent:Z(f)},null,8,Q7),C("a",{class:"tag is-delete",onClick:h=>r.removeSearch(f)},null,8,tH)])]))),128))])])])])]),E(a,{onSearchLibrary:r.searchLibrary,onSearchSpotify:r.search},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),$(pt,null,oe(i.results,([f,h])=>(x(),vt(d,{key:f},tl({heading:M(()=>[E(l,{content:{title:t.$t(`page.search.${f}s`)}},null,8,["content"])]),content:M(()=>[(x(),vt(ku(i.components[f]),{items:h.items},null,8,["items"])),r.expanded?(x(),vt(c,{key:0,load:r.searchNext},{loading:M(()=>[C("div",eH,[C("div",nH,[E(o,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":M(()=>e[2]||(e[2]=[C("br",null,null,-1)])),_:1},8,["load"])):_t("",!0)]),_:2},[r.expanded?void 0:{name:"footer",fn:M(()=>[r.showAllButton(h)?(x(),$("nav",sH,[C("div",iH,[E(u,{button:{handler:()=>r.expand(f),title:t.$t(`page.search.show-${f}s`,{count:t.$n(h.total)},h.total)}},null,8,["button"])])])):_t("",!0),h.total?_t("",!0):(x(),$("div",rH,[C("i",{textContent:Z(t.$t("page.search.no-results"))},null,8,oH)]))]),key:"0"}]),1024))),128))],64)}const lH=it(B7,[["render",aH]]),cH={name:"ControlSetting",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:gi()}},data(){return{timerDelay:2e3,timerId:-1}},computed:{isError(){return this.timerId===-2},isSuccess(){return this.timerId>=0},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{update(t,e){const n=e==null?void 0:e(t.target);if(n===this.setting.value)return;const s={category:this.category,name:this.name,value:n};tt.settings_update(this.category,s).then(()=>{window.clearTimeout(this.timerId),this.settingsStore.update(s)}).catch(()=>{this.timerId=-2}).finally(()=>{this.timerId=window.setTimeout(()=>{this.timerId=-1},this.timerDelay)})}}},uH=["disabled"],dH={class:"field"},fH={key:0,class:"label has-text-weight-normal"},hH={key:1,class:"help mb-4"};function pH(t,e,n,s,i,r){const o=w("mdicon");return x(),$("fieldset",{disabled:n.disabled},[C("div",dH,[t.$slots.label?(x(),$("label",fH,[de(t.$slots,"label")])):_t("",!0),C("div",{class:Vt(["control",{"has-icons-right":r.isSuccess||r.isError}])},[de(t.$slots,"input",{setting:r.setting,update:r.update}),t.$slots.label&&(r.isSuccess||r.isError)?(x(),vt(o,{key:0,class:"icon is-right",name:r.isSuccess?"check":"close",size:"16"},null,8,["name"])):_t("",!0)],2),t.$slots.help?(x(),$("div",hH,[de(t.$slots,"help")])):_t("",!0)])],8,uH)}const um=it(cH,[["render",pH]]),mH={name:"ControlSettingSwitch",components:{ControlSetting:um,ControlSwitch:Pr},props:{category:{required:!0,type:String},disabled:{default:!1,type:Boolean},name:{required:!0,type:String}},methods:{sanitise(t){return t.checked}}};function gH(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-setting");return x(),vt(a,{category:n.category,disabled:n.disabled,name:n.name},tl({input:M(({setting:l,update:c})=>[E(o,{"model-value":l.value,"onUpdate:modelValue":u=>c({target:{checked:u}},r.sanitise)},{label:M(()=>[de(t.$slots,"label")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},[t.$slots.help?{name:"help",fn:M(()=>[de(t.$slots,"help")]),key:"0"}:void 0]),1032,["category","disabled","name"])}const VS=it(mH,[["render",gH]]),yH={name:"TabsSettings",components:{ControlTabList:em},computed:{links(){return[{key:"page.settings.tabs.general",to:{name:"settings-webinterface"}},{key:"page.settings.tabs.remotes-and-outputs",to:{name:"settings-remotes-outputs"}},{key:"page.settings.tabs.artwork",to:{name:"settings-artwork"}},{key:"page.settings.tabs.online-services",to:{name:"settings-online-services"}}]}}};function bH(t,e,n,s,i,r){const o=w("control-tab-list");return x(),vt(o,{links:r.links},null,8,["links"])}const yd=it(yH,[["render",bH]]),vH={name:"PageSettingsArtwork",components:{ContentWithHeading:se,ControlSettingSwitch:VS,HeadingTitle:ie,TabsSettings:yd},setup(){return{servicesStore:Ue()}}},_H=["textContent"],SH={class:"content"},EH=["textContent"],wH=["textContent"],kH=["textContent"],TH={class:"content"},CH=["textContent"],AH={href:"https://www.spotify.com/",target:"_blank"},OH={class:"icon"},xH=["textContent"],IH={href:"https://www.discogs.com/",target:"_blank"},NH={class:"icon"},PH=["textContent"],DH={href:"https://coverartarchive.org/",target:"_blank"},RH={class:"icon"};function MH(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("heading-title"),l=w("control-setting-switch"),c=w("mdicon"),u=w("content-with-heading");return x(),$("div",null,[E(o),E(u,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.artwork.title")}},null,8,["content"])]),content:M(()=>[C("div",{class:"content",textContent:Z(t.$t("page.settings.artwork.explanation-1"))},null,8,_H),C("div",SH,[E(l,{category:"artwork",name:"streamurl_ignore"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.artwork.streaming"))},null,8,EH)]),_:1}),E(l,{category:"artwork",name:"show_cover_artwork_in_album_lists"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.artwork.show-coverart"))},null,8,wH)]),_:1})]),C("div",{class:"content",textContent:Z(t.$t("page.settings.artwork.explanation-2"))},null,8,kH),C("div",TH,[s.servicesStore.spotify_logged_in?(x(),vt(l,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.artwork.spotify"))},null,8,CH),C("a",AH,[C("span",OH,[E(c,{name:"open-in-new",size:"16"})])])]),_:1})):_t("",!0),E(l,{category:"artwork",name:"use_artwork_source_discogs"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.artwork.discogs"))},null,8,xH),C("a",IH,[C("span",NH,[E(c,{name:"open-in-new",size:"16"})])])]),_:1}),E(l,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.artwork.coverartarchive"))},null,8,PH),C("a",DH,[C("span",RH,[E(c,{name:"open-in-new",size:"16"})])])]),_:1})])]),_:1})])}const LH=it(vH,[["render",MH]]),$H={name:"PageSettingsOnlineServices",components:{ContentWithHeading:se,HeadingTitle:ie,TabsSettings:yd},setup(){return{servicesStore:Ue()}},data(){return{lastfm_login:{errors:{error:"",password:"",user:""},password:"",user:""}}},methods:{loginLastfm(){tt.lastfm_login(this.lastfm_login).then(t=>{this.lastfm_login.user="",this.lastfm_login.password="",this.lastfm_login.errors.user="",this.lastfm_login.errors.password="",this.lastfm_login.errors.error="",t.data.success||(this.lastfm_login.errors.user=t.data.errors.user,this.lastfm_login.errors.password=t.data.errors.password,this.lastfm_login.errors.error=t.data.errors.error)})},logoutLastfm(){tt.lastfm_logout()},logoutSpotify(){tt.spotify_logout()}}},FH={key:0},VH=["textContent"],HH=["textContent"],UH={key:0},jH=["textContent"],BH=["textContent"],WH={class:"field is-grouped mt-5"},GH={key:0,class:"control"},qH=["href","textContent"],zH={key:1,class:"control"},KH=["textContent"],XH=["textContent"],YH={key:0},ZH=["textContent"],JH=["textContent"],QH={key:0},tU={class:"field is-grouped"},eU={class:"control"},nU=["placeholder"],sU=["textContent"],iU={class:"control"},rU=["placeholder"],oU=["textContent"],aU={class:"control"},lU=["textContent"],cU=["textContent"],uU={key:1},dU=["textContent"],fU=["textContent"];function hU(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("heading-title"),l=w("content-with-heading");return x(),$("div",null,[E(o),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.services.spotify.title")}},null,8,["content"])]),content:M(()=>[s.servicesStore.isSpotifyEnabled?(x(),$("div",FH,[C("div",{textContent:Z(t.$t("page.settings.services.spotify.grant-access"))},null,8,VH),C("div",{class:"notification help",textContent:Z(t.$t("page.settings.services.spotify.requirements",{scopes:s.servicesStore.requiredSpotifyScopes.join(", ")}))},null,8,HH),s.servicesStore.isSpotifyActive?(x(),$("div",UH,[C("div",{textContent:Z(t.$t("page.settings.services.spotify.user",{user:s.servicesStore.spotify.webapi_user}))},null,8,jH),s.servicesStore.hasMissingSpotifyScopes?(x(),$("div",{key:0,class:"notification help is-danger is-light",textContent:Z(t.$t("page.settings.services.spotify.reauthorize",{scopes:s.servicesStore.missingSpotifyScopes.join(", ")}))},null,8,BH)):_t("",!0)])):_t("",!0),C("div",WH,[s.servicesStore.isAuthorizationRequired?(x(),$("div",GH,[C("a",{class:"button",href:s.servicesStore.spotify.oauth_uri,textContent:Z(t.$t("page.settings.services.spotify.authorize"))},null,8,qH)])):_t("",!0),s.servicesStore.isSpotifyActive?(x(),$("div",zH,[C("button",{class:"button is-danger",onClick:e[0]||(e[0]=(...c)=>r.logoutSpotify&&r.logoutSpotify(...c)),textContent:Z(t.$t("actions.logout"))},null,8,KH)])):_t("",!0)])])):(x(),$("div",{key:1,textContent:Z(t.$t("page.settings.services.spotify.no-support"))},null,8,XH))]),_:1}),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.services.lastfm.title")}},null,8,["content"])]),content:M(()=>[s.servicesStore.isLastfmEnabled?(x(),$("div",YH,[C("div",{textContent:Z(t.$t("page.settings.services.lastfm.grant-access"))},null,8,ZH),C("div",{class:"notification help",textContent:Z(t.$t("page.settings.services.lastfm.info"))},null,8,JH),s.servicesStore.isLastfmActive?(x(),$("div",uU,[C("button",{class:"button is-danger",onClick:e[4]||(e[4]=(...c)=>r.logoutLastfm&&r.logoutLastfm(...c)),textContent:Z(t.$t("actions.logout"))},null,8,dU)])):(x(),$("div",QH,[C("form",{onSubmit:e[3]||(e[3]=_n((...c)=>r.loginLastfm&&r.loginLastfm(...c),["prevent"]))},[C("div",tU,[C("div",eU,[In(C("input",{"onUpdate:modelValue":e[1]||(e[1]=c=>i.lastfm_login.user=c),class:"input",type:"text",placeholder:t.$t("page.settings.services.username")},null,8,nU),[[Jn,i.lastfm_login.user]]),C("div",{class:"help is-danger",textContent:Z(i.lastfm_login.errors.user)},null,8,sU)]),C("div",iU,[In(C("input",{"onUpdate:modelValue":e[2]||(e[2]=c=>i.lastfm_login.password=c),class:"input",type:"password",placeholder:t.$t("page.settings.services.password")},null,8,rU),[[Jn,i.lastfm_login.password]]),C("div",{class:"help is-danger",textContent:Z(i.lastfm_login.errors.password)},null,8,oU)]),C("div",aU,[C("button",{class:"button",type:"submit",textContent:Z(t.$t("actions.login"))},null,8,lU)])]),C("div",{class:"help is-danger",textContent:Z(i.lastfm_login.errors.error)},null,8,cU)],32)]))])):(x(),$("div",{key:1,textContent:Z(t.$t("page.settings.services.lastfm.no-support"))},null,8,fU))]),_:1})])}const pU=it($H,[["render",hU]]),mU={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:se,ControlSwitch:Pr,HeadingTitle:ie,TabsSettings:yd},setup(){return{outputsStore:pp(),remotesStore:tp()}},data(){return{pairingRequest:{pin:""},verificationRequest:{pin:""}}},computed:{outputs(){return this.outputsStore.outputs},pairing(){return this.remotesStore.pairing}},methods:{kickoffPairing(){tt.pairing_kickoff(this.pairingRequest)},kickoffVerification(t){tt.output_update(t,this.verificationRequest)},toggleOutput(t){tt.output_toggle(t)}}},gU={key:0},yU={class:"label has-text-weight-normal content"},bU=["textContent"],vU=["textContent"],_U={class:"field is-grouped"},SU={class:"control"},EU=["placeholder"],wU={class:"control"},kU=["textContent"],TU=["textContent"],CU=["textContent"],AU=["textContent"],OU=["onSubmit"],xU={class:"field is-grouped"},IU={class:"control"},NU=["placeholder"],PU={class:"control"},DU=["textContent"];function RU(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("heading-title"),l=w("content-with-heading"),c=w("control-switch");return x(),$("div",null,[E(o),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.devices.pairing")}},null,8,["content"])]),content:M(()=>[r.pairing.active?(x(),$("div",gU,[C("form",{onSubmit:e[1]||(e[1]=_n((...u)=>r.kickoffPairing&&r.kickoffPairing(...u),["prevent"]))},[C("label",yU,[C("span",{textContent:Z(t.$t("page.settings.devices.pairing-request"))},null,8,bU),C("b",{textContent:Z(r.pairing.remote)},null,8,vU)]),C("div",_U,[C("div",SU,[In(C("input",{"onUpdate:modelValue":e[0]||(e[0]=u=>i.pairingRequest.pin=u),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:t.$t("page.settings.devices.pairing-code")},null,8,EU),[[Jn,i.pairingRequest.pin]])]),C("div",wU,[C("button",{class:"button",type:"submit",textContent:Z(t.$t("actions.send"))},null,8,kU)])])],32)])):(x(),$("div",{key:1,textContent:Z(t.$t("page.settings.devices.no-active-pairing"))},null,8,TU))]),_:1}),E(l,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.devices.speaker-pairing")}},null,8,["content"])]),content:M(()=>[C("div",{class:"content",textContent:Z(t.$t("page.settings.devices.speaker-pairing-info"))},null,8,CU),(x(!0),$(pt,null,oe(r.outputs,u=>(x(),$("div",{key:u.id},[E(c,{modelValue:u.selected,"onUpdate:modelValue":[d=>u.selected=d,d=>r.toggleOutput(u.id)]},{label:M(()=>[C("span",{textContent:Z(u.name)},null,8,AU)]),_:2},1032,["modelValue","onUpdate:modelValue"]),u.needs_auth_key?(x(),$("form",{key:0,class:"mb-5",onSubmit:_n(d=>r.kickoffVerification(u.id),["prevent"])},[C("div",xU,[C("div",IU,[In(C("input",{"onUpdate:modelValue":e[2]||(e[2]=d=>i.verificationRequest.pin=d),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:t.$t("page.settings.devices.verification-code")},null,8,NU),[[Jn,i.verificationRequest.pin]])]),C("div",PU,[C("button",{class:"button",type:"submit",textContent:Z(t.$t("actions.verify"))},null,8,DU)])])],40,OU)):_t("",!0)]))),128))]),_:1})])}const MU=it(mU,[["render",RU]]),LU={name:"ControlSettingIntegerField",components:{ControlSetting:um},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}}},$U=["placeholder","value","onInput"];function FU(t,e,n,s,i,r){const o=w("control-setting");return x(),vt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{label:M(()=>[de(t.$slots,"label")]),input:M(({setting:a,update:l})=>[C("input",{class:"input",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:a.value,onInput:c=>l(c,r.sanitise)},null,40,$U)]),help:M(()=>[de(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const VU=it(LU,[["render",FU]]),HU={name:"ControlSettingTextField",components:{ControlSetting:um},props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},methods:{sanitise(t){return t.value}}},UU=["placeholder","value","onInput"];function jU(t,e,n,s,i,r){const o=w("control-setting");return x(),vt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{label:M(()=>[de(t.$slots,"label")]),input:M(({setting:a,update:l})=>[C("input",{class:"input",inputmode:"text",placeholder:n.placeholder,value:a.value,onInput:c=>l(c,r.sanitise)},null,40,UU)]),help:M(()=>[de(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const BU=it(HU,[["render",jU]]),WU={name:"PageSettingsWebinterface",components:{ContentWithHeading:se,ControlDropdown:Mr,ControlSettingIntegerField:VU,ControlSettingSwitch:VS,ControlSettingTextField:BU,HeadingTitle:ie,TabsSettings:yd},setup(){return{settingsStore:gi()}},computed:{locale:{get(){const t=this.$i18n.availableLocales;let e=t.find(s=>s===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return e||(e=t.find(s=>s===n)),e||(e=t.forEach(s=>s.split("-")[0]===n)),e||(e=this.$i18n.fallbackLocale),e},set(t){this.$i18n.locale=t}}}},GU=["textContent"],qU=["textContent"],zU=["textContent"],KU=["textContent"],XU=["textContent"],YU=["textContent"],ZU=["textContent"],JU=["textContent"],QU=["textContent"],tj=["textContent"],ej=["textContent"],nj=["textContent"],sj=["textContent"],ij=["textContent"];function rj(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("heading-title"),l=w("control-dropdown"),c=w("content-with-heading"),u=w("control-setting-switch"),d=w("i18n-t"),f=w("control-setting-text-field"),h=w("control-setting-integer-field");return x(),$("div",null,[E(o),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.language")}},null,8,["content"])]),content:M(()=>[E(l,{value:r.locale,"onUpdate:value":e[0]||(e[0]=p=>r.locale=p),options:s.settingsStore.locales},null,8,["value","options"])]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.navigation-items")}},null,8,["content"])]),content:M(()=>[C("div",{class:"",textContent:Z(t.$t("page.settings.general.navigation-item-selection"))},null,8,GU),C("div",{class:"notification is-size-7",textContent:Z(t.$t("page.settings.general.navigation-item-selection-info"))},null,8,qU),E(u,{category:"webinterface",name:"show_menu_item_playlists"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.playlists"))},null,8,zU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_music"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.music"))},null,8,KU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_podcasts"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.podcasts"))},null,8,XU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.audiobooks"))},null,8,YU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_radio"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.radio"))},null,8,ZU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_files"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.files"))},null,8,JU)]),_:1}),E(u,{category:"webinterface",name:"show_menu_item_search"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.search"))},null,8,QU)]),_:1})]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.now-playing-page")}},null,8,["content"])]),content:M(()=>[E(u,{category:"webinterface",name:"show_filepath_now_playing"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.show-path"))},null,8,tj)]),_:1}),E(u,{category:"webinterface",name:"show_composer_now_playing"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.show-composer"))},null,8,ej)]),help:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.show-composer-info"))},null,8,nj)]),_:1}),E(f,{category:"webinterface",name:"show_composer_for_genre",disabled:!s.settingsStore.show_composer_now_playing,placeholder:t.$t("page.settings.general.genres")},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.show-composer-genres"))},null,8,sj)]),help:M(()=>[E(d,{keypath:"page.settings.general.show-composer-genres-help",tag:"p",class:"help",scope:"global"},{default:M(()=>e[1]||(e[1]=[C("br",null,null,-1)])),_:1})]),_:1},8,["disabled","placeholder"])]),_:1}),E(c,null,{heading:M(()=>[E(a,{content:{title:t.$t("page.settings.general.recently-added-page")}},null,8,["content"])]),content:M(()=>[E(h,{category:"webinterface",name:"recently_added_limit"},{label:M(()=>[C("span",{textContent:Z(t.$t("page.settings.general.recently-added-page-info"))},null,8,ij)]),_:1})]),_:1})])}const oj=it(WU,[["render",rj]]),Xb=100,HS=j4({history:y4(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:k$,name:"about",path:"/about"},{component:R8,name:"music-album",path:"/music/albums/:id"},{component:e5,name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:V5,name:"music-albums",path:"/music/albums"},{component:q5,name:"music-artist",path:"/music/artists/:id"},{component:c6,name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:w6,name:"music-artists",path:"/music/artists"},{component:p6,name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:C6,name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:N6,name:"audiobooks-albums",path:"/audiobooks/albums"},{component:R6,name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:$6,name:"audiobooks-artists",path:"/audiobooks/artists"},{component:W6,name:"audiobooks-genres",path:"/audiobooks/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobooks-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:FF,name:"music-history",path:"/music/history"},{component:UF,name:"music-recently-added",path:"/music/recently-added"},{component:WF,name:"music-recently-played",path:"/music/recently-played"},{component:ZF,name:"music-spotify",path:"/music/spotify"},{component:tV,name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:sV,name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:X6,name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:J6,name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:sF,name:"music-composers",path:"/music/composers"},{component:CF,name:"files",path:"/files"},{component:xF,name:"genre-albums",path:"/genres/:name/albums"},{component:PF,name:"genre-tracks",path:"/genres/:name/tracks"},{component:MF,name:"music-genres",path:"/music/genres"},{component:CV,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:xV,name:"playlist-folder",path:"/playlists/:id"},{component:PV,name:"playlist",path:"/playlists/:id/tracks"},{component:$V,name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:UV,name:"podcast",path:"/podcasts/:id"},{component:QV,name:"podcasts",path:"/podcasts"},{component:f7,name:"radio",path:"/radio"},{component:c7,name:"queue",path:"/"},{component:H7,name:"search-library",path:"/search/library"},{component:lH,name:"search-spotify",path:"/search/spotify"},{component:oj,name:"settings-webinterface",path:"/settings/webinterface"},{component:LH,name:"settings-artwork",path:"/settings/artwork"},{component:pU,name:"settings-online-services",path:"/settings/online-services"},{component:MU,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(t,e,n){return n?new Promise((i,r)=>{setTimeout(()=>{i(n)},0)}):t.path===e.path&&t.hash?{behavior:"smooth",el:t.hash,top:Xb}:t.hash?new Promise((i,r)=>{setTimeout(()=>{i({el:t.hash,top:Xb})},0)}):{left:0,top:0}}});HS.beforeEach((t,e,n)=>{const s=jn();if(s.showBurgerMenu){s.showBurgerMenu=!1,n(!1);return}if(s.showPlayerMenu){s.showPlayerMenu=!1,n(!1);return}n(!0)});const US=Rc(sN).use(Lk()).use(HS).use(yD).use(rN).use(yN,{log:!1}).use(VL,{icons:NL}).use(rl);US.config.globalProperties.$filters=_M;US.mount("#app");
|