mirror of
https://github.com/owntone/owntone-server.git
synced 2025-10-29 07:45:04 -04:00
94 lines
801 KiB
JavaScript
94 lines
801 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.22
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function rn(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const Zt={},Cr=[],en=()=>{},_r=()=>!1,rr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),bu=t=>t.startsWith("onUpdate:"),Xt=Object.assign,vu=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},cE=Object.prototype.hasOwnProperty,pe=(t,e)=>cE.call(t,e),yt=Array.isArray,Tr=t=>jr(t)==="[object Map]",or=t=>jr(t)==="[object Set]",If=t=>jr(t)==="[object Date]",nv=t=>jr(t)==="[object RegExp]",It=t=>typeof t=="function",Mt=t=>typeof t=="string",Ln=t=>typeof t=="symbol",me=t=>t!==null&&typeof t=="object",_u=t=>(me(t)||It(t))&&It(t.then)&&It(t.catch),Fh=Object.prototype.toString,jr=t=>Fh.call(t),sv=t=>jr(t).slice(8,-1),al=t=>jr(t)==="[object Object]",Su=t=>Mt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,vi=rn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),iv=rn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Eu=t=>{const e=Object.create(null);return(n=>e[n]||(e[n]=t(n)))},uE=/-\w/g,Ce=Eu(t=>t.replace(uE,e=>e.slice(1).toUpperCase())),dE=/\B([A-Z])/g,Sn=Eu(t=>t.replace(dE,"-$1").toLowerCase()),ar=Eu(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ar=Eu(t=>t?`on${ar(t)}`:""),vn=(t,e)=>!Object.is(t,e),Or=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Vh=(t,e,n,s=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:s,value:n})},Fa=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Va=t=>{const e=Mt(t)?Number(t):NaN;return isNaN(e)?t:e};let Rm;const ll=()=>Rm||(Rm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),fE=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function hE(t){return fE.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}function pE(t,e){return t+JSON.stringify(e,(n,s)=>typeof s=="function"?s.toString():s)}const mE={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"},gE={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"NEED_HYDRATION",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"CACHED",[-2]:"BAIL"},yE={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"},bE={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},vE={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},_E="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",Uh=rn(_E),SE=Uh,Dm=2;function rv(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-Dm;l<=a+Dm||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 Uo(t){if(yt(t)){const e={};for(let n=0;n<t.length;n++){const s=t[n],i=Mt(s)?Hh(s):Uo(s);if(i)for(const r in i)e[r]=i[r]}return e}else if(Mt(t)||me(t))return t}const EE=/;(?![^(]*\))/g,wE=/:([^]+)/,kE=/\/\*[^]*?\*\//g;function Hh(t){const e={};return t.replace(kE,"").split(EE).forEach(n=>{if(n){const s=n.split(wE);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function CE(t){if(!t)return"";if(Mt(t))return t;let e="";for(const n in t){const s=t[n];if(Mt(s)||typeof s=="number"){const i=n.startsWith("--")?n:Sn(n);e+=`${i}:${s};`}}return e}function Gt(t){let e="";if(Mt(t))e=t;else if(yt(t))for(let n=0;n<t.length;n++){const s=Gt(t[n]);s&&(e+=s+" ")}else if(me(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function fo(t){if(!t)return null;let{class:e,style:n}=t;return e&&!Mt(e)&&(t.class=Gt(e)),n&&(t.style=Uo(n)),t}const TE="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",OE="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",xE="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",ov=rn(TE),av=rn(AE),lv=rn(OE),cv=rn(xE),uv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dv=rn(uv),IE=rn(uv+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function jh(t){return!!t||t===""}const NE=/[>/="'\u0009\u000a\u000c\u0020]/,Nd={};function PE(t){if(Nd.hasOwnProperty(t))return Nd[t];const e=NE.test(t);return e&&console.error(`unsafe attribute name: ${t}`),Nd[t]=!e}const RE={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DE=rn("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),LE=rn("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),ME=rn("accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns");function $E(t){if(t==null)return!1;const e=typeof t;return e==="string"||e==="number"||e==="boolean"}const FE=/["'&<>]/;function VE(t){const e=""+t,n=FE.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 UE=/^-?>|<!--|-->|--!>|<!-$/g;function HE(t){return t.replace(UE,"")}const fv=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function jE(t,e){return t.replace(fv,n=>e?n==='"'?'\\\\\\"':`\\\\${n}`:`\\${n}`)}function BE(t,e){if(t.length!==e.length)return!1;let n=!0;for(let s=0;n&&s<t.length;s++)n=ki(t[s],e[s]);return n}function ki(t,e){if(t===e)return!0;let n=If(t),s=If(e);if(n||s)return n&&s?t.getTime()===e.getTime():!1;if(n=Ln(t),s=Ln(e),n||s)return t===e;if(n=yt(t),s=yt(e),n||s)return n&&s?BE(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||!ki(t[o],e[o]))return!1}}return String(t)===String(e)}function cl(t,e){return t.findIndex(n=>ki(n,e))}const hv=t=>!!(t&&t.__v_isRef===!0),nt=t=>Mt(t)?t:t==null?"":yt(t)||me(t)&&(t.toString===Fh||!It(t.toString))?hv(t)?nt(t.value):JSON.stringify(t,pv,2):String(t),pv=(t,e)=>hv(e)?pv(t,e.value):Tr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,i],r)=>(n[Pd(s,r)+" =>"]=i,n),{})}:or(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Pd(n))}:Ln(e)?Pd(e):me(e)&&!yt(e)&&!al(e)?String(e):e,Pd=(t,e="")=>{var n;return Ln(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};function mv(t){return t==null?"initial":typeof t=="string"?t===""?" ":t:String(t)}const WE=Object.freeze(Object.defineProperty({__proto__:null,EMPTY_ARR:Cr,EMPTY_OBJ:Zt,NO:_r,NOOP:en,PatchFlagNames:gE,PatchFlags:mE,ShapeFlags:yE,SlotFlags:bE,camelize:Ce,capitalize:ar,cssVarNameEscapeSymbolsRE:fv,def:Vh,escapeHtml:VE,escapeHtmlComment:HE,extend:Xt,genCacheKey:pE,genPropsAccessExp:hE,generateCodeFrame:rv,getEscapedCssVarName:jE,getGlobalThis:ll,hasChanged:vn,hasOwn:pe,hyphenate:Sn,includeBooleanAttr:jh,invokeArrayFns:Or,isArray:yt,isBooleanAttr:IE,isBuiltInDirective:iv,isDate:If,isFunction:It,isGloballyAllowed:Uh,isGloballyWhitelisted:SE,isHTMLTag:ov,isIntegerKey:Su,isKnownHtmlAttr:DE,isKnownMathMLAttr:ME,isKnownSvgAttr:LE,isMap:Tr,isMathMLTag:lv,isModelListener:bu,isObject:me,isOn:rr,isPlainObject:al,isPromise:_u,isRegExp:nv,isRenderableAttrValue:$E,isReservedProp:vi,isSSRSafeAttrName:PE,isSVGTag:av,isSet:or,isSpecialBooleanAttr:dv,isString:Mt,isSymbol:Ln,isVoidTag:cv,looseEqual:ki,looseIndexOf:cl,looseToNumber:Fa,makeMap:rn,normalizeClass:Gt,normalizeCssVarValue:mv,normalizeProps:fo,normalizeStyle:Uo,objectToString:Fh,parseStringStyle:Hh,propsToAttrMap:RE,remove:vu,slotFlagsText:vE,stringifyStyle:CE,toDisplayString:nt,toHandlerKey:Ar,toNumber:Va,toRawType:sv,toTypeString:jr},Symbol.toStringTag,{value:"Module"}));/**
|
||
* @vue/reactivity v3.5.22
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let gn;class Bh{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=gn,!e&&gn&&(this.index=(gn.scopes||(gn.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=gn;try{return gn=this,e()}finally{gn=n}}}on(){++this._on===1&&(this.prevScope=gn,gn=this)}off(){this._on>0&&--this._on===0&&(gn=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function wu(t){return new Bh(t)}function Wh(){return gn}function gv(t,e=!1){gn&&gn.cleanups.push(t)}let ke;const Rd=new WeakSet;class Ua{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,gn&&gn.active&&gn.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Rd.has(this)&&(Rd.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||bv(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Lm(this),vv(this);const e=ke,n=Rs;ke=this,Rs=!0;try{return this.fn()}finally{_v(this),ke=e,Rs=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)qh(e);this.deps=this.depsTail=void 0,Lm(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Rd.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Nf(this)&&this.run()}get dirty(){return Nf(this)}}let yv=0,_a,Sa;function bv(t,e=!1){if(t.flags|=8,e){t.next=Sa,Sa=t;return}t.next=_a,_a=t}function Gh(){yv++}function Kh(){if(--yv>0)return;if(Sa){let e=Sa;for(Sa=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;_a;){let e=_a;for(_a=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 vv(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function _v(t){let e,n=t.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),qh(s),GE(s)):e=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}t.deps=e,t.depsTail=n}function Nf(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Sv(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Sv(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ha)||(t.globalVersion=Ha,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Nf(t))))return;t.flags|=2;const e=t.dep,n=ke,s=Rs;ke=t,Rs=!0;try{vv(t);const i=t.fn(t._value);(e.version===0||vn(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ke=n,Rs=s,_v(t),t.flags&=-3}}function qh(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)qh(r,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function GE(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}function KE(t,e){t.effect instanceof Ua&&(t=t.effect.fn);const n=new Ua(t);e&&Xt(n,e);try{n.run()}catch(i){throw n.stop(),i}const s=n.run.bind(n);return s.effect=n,s}function qE(t){t.effect.stop()}let Rs=!0;const Ev=[];function Ci(){Ev.push(Rs),Rs=!1}function Ti(){const t=Ev.pop();Rs=t===void 0?!0:t}function Lm(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=ke;ke=void 0;try{e()}finally{ke=n}}}let Ha=0;class zE{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 ku{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!ke||!Rs||ke===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ke)n=this.activeLink=new zE(ke,this),ke.deps?(n.prevDep=ke.depsTail,ke.depsTail.nextDep=n,ke.depsTail=n):ke.deps=ke.depsTail=n,wv(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++,Ha++,this.notify(e)}notify(e){Gh();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Kh()}}}function wv(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)wv(s)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Rc=new WeakMap,xr=Symbol(""),Pf=Symbol(""),ja=Symbol("");function _n(t,e,n){if(Rs&&ke){let s=Rc.get(t);s||Rc.set(t,s=new Map);let i=s.get(n);i||(s.set(n,i=new ku),i.map=s,i.key=n),i.track()}}function pi(t,e,n,s,i,r){const o=Rc.get(t);if(!o){Ha++;return}const a=l=>{l&&l.trigger()};if(Gh(),e==="clear")o.forEach(a);else{const l=yt(t),c=l&&Su(n);if(l&&n==="length"){const u=Number(s);o.forEach((d,f)=>{(f==="length"||f===ja||!Ln(f)&&f>=u)&&a(d)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(ja)),e){case"add":l?c&&a(o.get("length")):(a(o.get(xr)),Tr(t)&&a(o.get(Pf)));break;case"delete":l||(a(o.get(xr)),Tr(t)&&a(o.get(Pf)));break;case"set":Tr(t)&&a(o.get(xr));break}}Kh()}function XE(t,e){const n=Rc.get(t);return n&&n.get(e)}function Xr(t){const e=ie(t);return e===t?e:(_n(e,"iterate",ja),Qn(t)?e:e.map(ln))}function Cu(t){return _n(t=ie(t),"iterate",ja),t}const YE={__proto__:null,[Symbol.iterator](){return Dd(this,Symbol.iterator,ln)},concat(...t){return Xr(this).concat(...t.map(e=>yt(e)?Xr(e):e))},entries(){return Dd(this,"entries",t=>(t[1]=ln(t[1]),t))},every(t,e){return oi(this,"every",t,e,void 0,arguments)},filter(t,e){return oi(this,"filter",t,e,n=>n.map(ln),arguments)},find(t,e){return oi(this,"find",t,e,ln,arguments)},findIndex(t,e){return oi(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return oi(this,"findLast",t,e,ln,arguments)},findLastIndex(t,e){return oi(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return oi(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ld(this,"includes",t)},indexOf(...t){return Ld(this,"indexOf",t)},join(t){return Xr(this).join(t)},lastIndexOf(...t){return Ld(this,"lastIndexOf",t)},map(t,e){return oi(this,"map",t,e,void 0,arguments)},pop(){return ta(this,"pop")},push(...t){return ta(this,"push",t)},reduce(t,...e){return Mm(this,"reduce",t,e)},reduceRight(t,...e){return Mm(this,"reduceRight",t,e)},shift(){return ta(this,"shift")},some(t,e){return oi(this,"some",t,e,void 0,arguments)},splice(...t){return ta(this,"splice",t)},toReversed(){return Xr(this).toReversed()},toSorted(t){return Xr(this).toSorted(t)},toSpliced(...t){return Xr(this).toSpliced(...t)},unshift(...t){return ta(this,"unshift",t)},values(){return Dd(this,"values",ln)}};function Dd(t,e,n){const s=Cu(t),i=s[e]();return s!==t&&!Qn(t)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const ZE=Array.prototype;function oi(t,e,n,s,i,r){const o=Cu(t),a=o!==t&&!Qn(t),l=o[e];if(l!==ZE[e]){const d=l.apply(t,r);return a?ln(d):d}let c=n;o!==t&&(a?c=function(d,f){return n.call(this,ln(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 Mm(t,e,n,s){const i=Cu(t);let r=n;return i!==t&&(Qn(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,ln(a),l,t)}),i[e](r,...s)}function Ld(t,e,n){const s=ie(t);_n(s,"iterate",ja);const i=s[e](...n);return(i===-1||i===!1)&&Ou(n[0])?(n[0]=ie(n[0]),s[e](...n)):i}function ta(t,e,n=[]){Ci(),Gh();const s=ie(t)[e].apply(t,n);return Kh(),Ti(),s}const JE=rn("__proto__,__v_isRef,__isVue"),kv=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ln));function QE(t){Ln(t)||(t=String(t));const e=ie(this);return _n(e,"has",t),e.hasOwnProperty(t)}class Cv{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?Nv:Iv:r?xv:Ov).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(s)?e:void 0;const o=yt(e);if(!i){let l;if(o&&(l=YE[n]))return l;if(n==="hasOwnProperty")return QE}const a=Reflect.get(e,n,Ie(e)?e:s);if((Ln(n)?kv.has(n):JE(n))||(i||_n(e,"get",n),r))return a;if(Ie(a)){const l=o&&Su(n)?a:a.value;return i&&me(l)?Dc(l):l}return me(a)?i?Dc(a):Ho(a):a}}class Tv extends Cv{constructor(e=!1){super(!1,e)}set(e,n,s,i){let r=e[n];if(!this._isShallow){const l=Ai(r);if(!Qn(s)&&!Ai(s)&&(r=ie(r),s=ie(s)),!yt(e)&&Ie(r)&&!Ie(s))return l||(r.value=s),!0}const o=yt(e)&&Su(n)?Number(n)<e.length:pe(e,n),a=Reflect.set(e,n,s,Ie(e)?e:i);return e===ie(i)&&(o?vn(s,r)&&pi(e,"set",n,s):pi(e,"add",n,s)),a}deleteProperty(e,n){const s=pe(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&s&&pi(e,"delete",n,void 0),i}has(e,n){const s=Reflect.has(e,n);return(!Ln(n)||!kv.has(n))&&_n(e,"has",n),s}ownKeys(e){return _n(e,"iterate",yt(e)?"length":xr),Reflect.ownKeys(e)}}class Av extends Cv{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const tw=new Tv,ew=new Av,nw=new Tv(!0),sw=new Av(!0),Rf=t=>t,Nl=t=>Reflect.getPrototypeOf(t);function iw(t,e,n){return function(...s){const i=this.__v_raw,r=ie(i),o=Tr(r),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...s),u=n?Rf:e?Lc:ln;return!e&&_n(r,"iterate",l?Pf:xr),{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 Pl(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function rw(t,e){const n={get(i){const r=this.__v_raw,o=ie(r),a=ie(i);t||(vn(i,a)&&_n(o,"get",i),_n(o,"get",a));const{has:l}=Nl(o),c=e?Rf:t?Lc:ln;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&&_n(ie(i),"iterate",xr),i.size},has(i){const r=this.__v_raw,o=ie(r),a=ie(i);return t||(vn(i,a)&&_n(o,"has",i),_n(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=ie(a),c=e?Rf:t?Lc:ln;return!t&&_n(l,"iterate",xr),a.forEach((u,d)=>i.call(r,c(u),c(d),o))}};return Xt(n,t?{add:Pl("add"),set:Pl("set"),delete:Pl("delete"),clear:Pl("clear")}:{add(i){!e&&!Qn(i)&&!Ai(i)&&(i=ie(i));const r=ie(this);return Nl(r).has.call(r,i)||(r.add(i),pi(r,"add",i,i)),this},set(i,r){!e&&!Qn(r)&&!Ai(r)&&(r=ie(r));const o=ie(this),{has:a,get:l}=Nl(o);let c=a.call(o,i);c||(i=ie(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,r),c?vn(r,u)&&pi(o,"set",i,r):pi(o,"add",i,r),this},delete(i){const r=ie(this),{has:o,get:a}=Nl(r);let l=o.call(r,i);l||(i=ie(i),l=o.call(r,i)),a&&a.call(r,i);const c=r.delete(i);return l&&pi(r,"delete",i,void 0),c},clear(){const i=ie(this),r=i.size!==0,o=i.clear();return r&&pi(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=iw(i,t,e)}),n}function Tu(t,e){const n=rw(t,e);return(s,i,r)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?s:Reflect.get(pe(n,i)&&i in s?n:s,i,r)}const ow={get:Tu(!1,!1)},aw={get:Tu(!1,!0)},lw={get:Tu(!0,!1)},cw={get:Tu(!0,!0)},Ov=new WeakMap,xv=new WeakMap,Iv=new WeakMap,Nv=new WeakMap;function uw(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function dw(t){return t.__v_skip||!Object.isExtensible(t)?0:uw(sv(t))}function Ho(t){return Ai(t)?t:Au(t,!1,tw,ow,Ov)}function zh(t){return Au(t,!1,nw,aw,xv)}function Dc(t){return Au(t,!0,ew,lw,Iv)}function fw(t){return Au(t,!0,sw,cw,Nv)}function Au(t,e,n,s,i){if(!me(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=dw(t);if(r===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,r===2?s:n);return i.set(t,a),a}function Qs(t){return Ai(t)?Qs(t.__v_raw):!!(t&&t.__v_isReactive)}function Ai(t){return!!(t&&t.__v_isReadonly)}function Qn(t){return!!(t&&t.__v_isShallow)}function Ou(t){return t?!!t.__v_raw:!1}function ie(t){const e=t&&t.__v_raw;return e?ie(e):t}function xu(t){return!pe(t,"__v_skip")&&Object.isExtensible(t)&&Vh(t,"__v_skip",!0),t}const ln=t=>me(t)?Ho(t):t,Lc=t=>me(t)?Dc(t):t;function Ie(t){return t?t.__v_isRef===!0:!1}function fs(t){return Pv(t,!1)}function Iu(t){return Pv(t,!0)}function Pv(t,e){return Ie(t)?t:new hw(t,e)}class hw{constructor(e,n){this.dep=new ku,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:ie(e),this._value=n?e:ln(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,s=this.__v_isShallow||Qn(e)||Ai(e);e=s?e:ie(e),vn(e,n)&&(this._rawValue=e,this._value=s?e:ln(e),this.dep.trigger())}}function pw(t){t.dep&&t.dep.trigger()}function jn(t){return Ie(t)?t.value:t}function mw(t){return It(t)?t():jn(t)}const gw={get:(t,e,n)=>e==="__v_raw"?t:jn(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const i=t[e];return Ie(i)&&!Ie(n)?(i.value=n,!0):Reflect.set(t,e,n,s)}};function Xh(t){return Qs(t)?t:new Proxy(t,gw)}class yw{constructor(e){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ku,{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 Rv(t){return new yw(t)}function Dv(t){const e=yt(t)?new Array(t.length):{};for(const n in t)e[n]=Lv(t,n);return e}class bw{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(ie(this._object),this._key)}}class vw{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 _w(t,e,n){return Ie(t)?t:It(t)?new vw(t):me(t)&&arguments.length>1?Lv(t,e,n):fs(t)}function Lv(t,e,n){const s=t[e];return Ie(s)?s:new bw(t,e,n)}class Sw{constructor(e,n,s){this.fn=e,this.setter=n,this._value=void 0,this.dep=new ku(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ha-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 bv(this,!0),!0}get value(){const e=this.dep.track();return Sv(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ew(t,e,n=!1){let s,i;return It(t)?s=t:(s=t.get,i=t.set),new Sw(s,i,n)}const ww={GET:"get",HAS:"has",ITERATE:"iterate"},kw={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Rl={},Mc=new WeakMap;let ji;function Cw(){return ji}function Mv(t,e=!1,n=ji){if(n){let s=Mc.get(n);s||Mc.set(n,s=[]),s.push(t)}}function Tw(t,e,n=Zt){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:a,call:l}=n,c=b=>i?b:Qn(b)||i===!1||i===0?mi(b,1):mi(b);let u,d,f,h,p=!1,m=!1;if(Ie(t)?(d=()=>t.value,p=Qn(t)):Qs(t)?(d=()=>c(t),p=!0):yt(t)?(m=!0,p=t.some(b=>Qs(b)||Qn(b)),d=()=>t.map(b=>{if(Ie(b))return b.value;if(Qs(b))return c(b);if(It(b))return l?l(b,2):b()})):It(t)?e?d=l?()=>l(t,2):t:d=()=>{if(f){Ci();try{f()}finally{Ti()}}const b=ji;ji=u;try{return l?l(t,3,[h]):t(h)}finally{ji=b}}:d=en,e&&i){const b=d,E=i===!0?1/0:i;d=()=>mi(b(),E)}const v=Wh(),y=()=>{u.stop(),v&&v.active&&vu(v.effects,u)};if(r&&e){const b=e;e=(...E)=>{b(...E),y()}}let _=m?new Array(t.length).fill(Rl):Rl;const g=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(e){const E=u.run();if(i||p||(m?E.some((k,I)=>vn(k,_[I])):vn(E,_))){f&&f();const k=ji;ji=u;try{const I=[E,_===Rl?void 0:m&&_[0]===Rl?[]:_,h];_=E,l?l(e,3,I):e(...I)}finally{ji=k}}}else u.run()};return a&&a(g),u=new Ua(d),u.scheduler=o?()=>o(g,!1):g,h=b=>Mv(b,!1,u),f=u.onStop=()=>{const b=Mc.get(u);if(b){if(l)l(b,4);else for(const E of b)E();Mc.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 mi(t,e=1/0,n){if(e<=0||!me(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,Ie(t))mi(t.value,e,n);else if(yt(t))for(let s=0;s<t.length;s++)mi(t[s],e,n);else if(or(t)||Tr(t))t.forEach(s=>{mi(s,e,n)});else if(al(t)){for(const s in t)mi(t[s],e,n);for(const s of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,s)&&mi(t[s],e,n)}return t}/**
|
||
* @vue/runtime-core v3.5.22
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const $v=[];function Aw(t){$v.push(t)}function Ow(){$v.pop()}function xw(t,e){}const Iw={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"},Nw={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 jo(t,e,n,s){try{return s?t(...s):t()}catch(i){Br(i,e,n)}}function ys(t,e,n,s){if(It(t)){const i=jo(t,e,n,s);return i&&_u(i)&&i.catch(r=>{Br(r,e,n)}),i}if(yt(t)){const i=[];for(let r=0;r<t.length;r++)i.push(ys(t[r],e,n,s));return i}}function Br(t,e,n,s=!0){const i=e?e.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||Zt;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){Ci(),jo(r,null,10,[t,l,c]),Ti();return}}Pw(t,n,i,s,o)}function Pw(t,e,n,s=!0,i=!1){if(i)throw t;console.error(t)}const Nn=[];let zs=-1;const yo=[];let Bi=null,oo=0;const Fv=Promise.resolve();let $c=null;function Wr(t){const e=$c||Fv;return t?e.then(this?t.bind(this):t):e}function Rw(t){let e=zs+1,n=Nn.length;for(;e<n;){const s=e+n>>>1,i=Nn[s],r=Wa(i);r<t||r===t&&i.flags&2?e=s+1:n=s}return e}function Yh(t){if(!(t.flags&1)){const e=Wa(t),n=Nn[Nn.length-1];!n||!(t.flags&2)&&e>=Wa(n)?Nn.push(t):Nn.splice(Rw(e),0,t),t.flags|=1,Vv()}}function Vv(){$c||($c=Fv.then(Uv))}function Ba(t){yt(t)?yo.push(...t):Bi&&t.id===-1?Bi.splice(oo+1,0,t):t.flags&1||(yo.push(t),t.flags|=1),Vv()}function $m(t,e,n=zs+1){for(;n<Nn.length;n++){const s=Nn[n];if(s&&s.flags&2){if(t&&s.id!==t.uid)continue;Nn.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Fc(t){if(yo.length){const e=[...new Set(yo)].sort((n,s)=>Wa(n)-Wa(s));if(yo.length=0,Bi){Bi.push(...e);return}for(Bi=e,oo=0;oo<Bi.length;oo++){const n=Bi[oo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Bi=null,oo=0}}const Wa=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Uv(t){try{for(zs=0;zs<Nn.length;zs++){const e=Nn[zs];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),jo(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;zs<Nn.length;zs++){const e=Nn[zs];e&&(e.flags&=-2)}zs=-1,Nn.length=0,Fc(),$c=null,(Nn.length||yo.length)&&Uv()}}let ao,Dl=[];function Hv(t,e){var n,s;ao=t,ao?(ao.enabled=!0,Dl.forEach(({event:i,args:r})=>ao.emit(i,...r)),Dl=[]):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=>{Hv(r,e)}),setTimeout(()=>{ao||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Dl=[])},3e3)):Dl=[]}let un=null,Nu=null;function Ga(t){const e=un;return un=t,Nu=t&&t.type.__scopeId||null,e}function Dw(t){Nu=t}function Lw(){Nu=null}const Mw=t=>L;function L(t,e=un,n){if(!e||t._n)return t;const s=(...i)=>{s._d&&za(-1);const r=Ga(e);let o;try{o=t(...i)}finally{Ga(r),s._d&&za(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function bs(t,e){if(un===null)return t;const n=pl(un),s=t.dirs||(t.dirs=[]);for(let i=0;i<e.length;i++){let[r,o,a,l=Zt]=e[i];r&&(It(r)&&(r={mounted:r,updated:r}),r.deep&&mi(o),s.push({dir:r,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return t}function Xs(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&&(Ci(),ys(l,n,8,[t.el,a,t,e]),Ti())}}const jv=Symbol("_vte"),Bv=t=>t.__isTeleport,Ea=t=>t&&(t.disabled||t.disabled===""),Fm=t=>t&&(t.defer||t.defer===""),Vm=t=>typeof SVGElement<"u"&&t instanceof SVGElement,Um=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,Df=(t,e)=>{const n=t&&t.to;return Mt(n)?e?e(n):null:n},Wv={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:v}}=c,y=Ea(e.props);let{shapeFlag:_,children:g,dynamicChildren:b}=e;if(t==null){const E=e.el=m(""),k=e.anchor=m("");h(E,n,s),h(k,n,s);const I=(C,R)=>{_&16&&u(g,C,R,i,r,o,a,l)},D=()=>{const C=e.target=Df(e.props,p),R=Gv(C,e,m,h);C&&(o!=="svg"&&Vm(C)?o="svg":o!=="mathml"&&Um(C)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(C),y||(I(C,R),cc(e,!1)))};y&&(I(n,k),cc(e,!0)),Fm(e.props)?(e.el.__isMounted=!1,Je(()=>{D(),delete e.el.__isMounted},r)):D()}else{if(Fm(e.props)&&t.el.__isMounted===!1){Je(()=>{Wv.process(t,e,n,s,i,r,o,a,l,c)},r);return}e.el=t.el,e.targetStart=t.targetStart;const E=e.anchor=t.anchor,k=e.target=t.target,I=e.targetAnchor=t.targetAnchor,D=Ea(t.props),C=D?n:k,R=D?E:I;if(o==="svg"||Vm(k)?o="svg":(o==="mathml"||Um(k))&&(o="mathml"),b?(f(t.dynamicChildren,b,C,i,r,o,a),cp(t,e,!0)):l||d(t,e,C,R,i,r,o,a,!1),y)D?e.props&&t.props&&e.props.to!==t.props.to&&(e.props.to=t.props.to):Ll(e,n,E,c,1);else if((e.props&&e.props.to)!==(t.props&&t.props.to)){const j=e.target=Df(e.props,p);j&&Ll(e,j,null,c,0)}else D&&Ll(e,k,I,c,1);cc(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||!Ea(f);for(let p=0;p<a.length;p++){const m=a[p];s(m,e,n,h,!!m.dynamicChildren)}}},move:Ll,hydrate:$w};function Ll(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||Ea(u))&&l&16)for(let f=0;f<c.length;f++)i(c[f],e,n,2);d&&s(a,e,n)}function $w(t,e,n,s,i,r,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:c,createText:u}},d){function f(m,v,y,_){v.anchor=d(o(m),v,a(m),n,s,i,r),v.targetStart=y,v.targetAnchor=_}const h=e.target=Df(e.props,l),p=Ea(e.props);if(h){const m=h._lpa||h.firstChild;if(e.shapeFlag&16)if(p)f(t,e,m,m&&o(m));else{e.anchor=o(t);let v=m;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")e.targetStart=v;else if(v.data==="teleport anchor"){e.targetAnchor=v,h._lpa=e.targetAnchor&&o(e.targetAnchor);break}}v=o(v)}e.targetAnchor||Gv(h,e,u,c),d(m&&o(m),e,h,n,s,i,r)}cc(e,p)}else p&&e.shapeFlag&16&&f(t,e,t,o(t));return e.anchor&&o(e.anchor)}const Fw=Wv;function cc(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 Gv(t,e,n,s){const i=e.targetStart=n(""),r=e.targetAnchor=n("");return i[jv]=r,t&&(s(i,t),s(r,t)),r}const hi=Symbol("_leaveCb"),Ml=Symbol("_enterCb");function Zh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bo(()=>{t.isMounted=!0}),Lu(()=>{t.isUnmounting=!0}),t}const rs=[Function,Array],Jh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rs,onEnter:rs,onAfterEnter:rs,onEnterCancelled:rs,onBeforeLeave:rs,onLeave:rs,onAfterLeave:rs,onLeaveCancelled:rs,onBeforeAppear:rs,onAppear:rs,onAfterAppear:rs,onAppearCancelled:rs},Kv=t=>{const e=t.subTree;return e.component?Kv(e.component):e},Vw={name:"BaseTransition",props:Jh,setup(t,{slots:e}){const n=dn(),s=Zh();return()=>{const i=e.default&&Pu(e.default(),!0);if(!i||!i.length)return;const r=qv(i),o=ie(t),{mode:a}=o;if(s.isLeaving)return Md(r);const l=Hm(r);if(!l)return Md(r);let c=ko(l,o,s,n,d=>c=d);l.type!==Be&&Oi(l,c);let u=n.subTree&&Hm(n.subTree);if(u&&u.type!==Be&&!Is(u,l)&&Kv(n).type!==Be){let d=ko(u,o,s,n);if(Oi(u,d),a==="out-in"&&l.type!==Be)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,u=void 0},Md(r);a==="in-out"&&l.type!==Be?d.delayLeave=(f,h,p)=>{const m=Xv(s,u);m[String(u.key)]=u,f[hi]=()=>{h(),f[hi]=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 qv(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Be){e=n;break}}return e}const zv=Vw;function Xv(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 ko(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:v,onAppear:y,onAfterAppear:_,onAppearCancelled:g}=e,b=String(t.key),E=Xv(n,t),k=(C,R)=>{C&&ys(C,s,9,R)},I=(C,R)=>{const j=R[1];k(C,R),yt(C)?C.every(M=>M.length<=1)&&j():C.length<=1&&j()},D={mode:o,persisted:a,beforeEnter(C){let R=l;if(!n.isMounted)if(r)R=v||l;else return;C[hi]&&C[hi](!0);const j=E[b];j&&Is(t,j)&&j.el[hi]&&j.el[hi](),k(R,[C])},enter(C){let R=c,j=u,M=d;if(!n.isMounted)if(r)R=y||c,j=_||u,M=g||d;else return;let H=!1;const z=C[Ml]=ot=>{H||(H=!0,ot?k(M,[C]):k(j,[C]),D.delayedLeave&&D.delayedLeave(),C[Ml]=void 0)};R?I(R,[C,z]):z()},leave(C,R){const j=String(t.key);if(C[Ml]&&C[Ml](!0),n.isUnmounting)return R();k(f,[C]);let M=!1;const H=C[hi]=z=>{M||(M=!0,R(),z?k(m,[C]):k(p,[C]),C[hi]=void 0,E[j]===t&&delete E[j])};E[j]=t,h?I(h,[C,H]):H()},clone(C){const R=ko(C,e,n,s,i);return i&&i(R),R}};return D}function Md(t){if(ul(t))return t=ni(t),t.children=null,t}function Hm(t){if(!ul(t))return Bv(t.type)&&t.children?qv(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&It(n.default))return n.default()}}function Oi(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Oi(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 Pu(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===rt?(o.patchFlag&128&&i++,s=s.concat(Pu(o.children,e,a))):(e||o.type!==Be)&&s.push(a!=null?ni(o,{key:a}):o)}if(i>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Ni(t,e){return It(t)?Xt({name:t.name},e,{setup:t}):t}function Uw(){const t=dn();return t?(t.appContext.config.idPrefix||"v")+"-"+t.ids[0]+t.ids[1]++:""}function Qh(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Hw(t){const e=dn(),n=Iu(null);if(e){const i=e.refs===Zt?e.refs={}:e.refs;Object.defineProperty(i,t,{enumerable:!0,get:()=>n.value,set:r=>n.value=r})}return n}const Vc=new WeakMap;function bo(t,e,n,s,i=!1){if(yt(t)){t.forEach((p,m)=>bo(p,e&&(yt(e)?e[m]:e),n,s,i));return}if(tr(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&bo(t,e,n,s.component.subTree);return}const r=s.shapeFlag&4?pl(s.component):s.el,o=i?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Zt?a.refs={}:a.refs,d=a.setupState,f=ie(d),h=d===Zt?_r:p=>pe(f,p);if(c!=null&&c!==l){if(jm(e),Mt(c))u[c]=null,h(c)&&(d[c]=null);else if(Ie(c)){c.value=null;const p=e;p.k&&(u[p.k]=null)}}if(It(l))jo(l,a,12,[o,u]);else{const p=Mt(l),m=Ie(l);if(p||m){const v=()=>{if(t.f){const y=p?h(l)?d[l]:u[l]:l.value;if(i)yt(y)&&vu(y,r);else if(yt(y))y.includes(r)||y.push(r);else if(p)u[l]=[r],h(l)&&(d[l]=u[l]);else{const _=[r];l.value=_,t.k&&(u[t.k]=_)}}else p?(u[l]=o,h(l)&&(d[l]=o)):m&&(l.value=o,t.k&&(u[t.k]=o))};if(o){const y=()=>{v(),Vc.delete(t)};y.id=-1,Vc.set(t,y),Je(y,n)}else jm(t),v()}}}function jm(t){const e=Vc.get(t);e&&(e.flags|=8,Vc.delete(t))}let Bm=!1;const Yr=()=>{Bm||(console.error("Hydration completed but contains mismatches."),Bm=!0)},jw=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",Bw=t=>t.namespaceURI.includes("MathML"),$l=t=>{if(t.nodeType===1){if(jw(t))return"svg";if(Bw(t))return"mathml"}},ho=t=>t.nodeType===8;function Ww(t){const{mt:e,p:n,o:{patchProp:s,createText:i,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=t,u=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),Fc(),b._vnode=g;return}d(b.firstChild,g,null,null,null),Fc(),b._vnode=g},d=(g,b,E,k,I,D=!1)=>{D=D||!!b.dynamicChildren;const C=ho(g)&&g.data==="[",R=()=>m(g,b,E,k,I,C),{type:j,ref:M,shapeFlag:H,patchFlag:z}=b;let ot=g.nodeType;b.el=g,z===-2&&(D=!1,b.dynamicChildren=null);let W=null;switch(j){case _i:ot!==3?b.children===""?(l(b.el=i(""),o(g),g),W=g):W=R():(g.data!==b.children&&(Yr(),g.data=b.children),W=r(g));break;case Be:_(g)?(W=r(g),y(b.el=g.content.firstChild,g,E)):ot!==8||C?W=R():W=r(g);break;case Nr:if(C&&(g=r(g),ot=g.nodeType),ot===1||ot===3){W=g;const Q=!b.children.length;for(let it=0;it<b.staticCount;it++)Q&&(b.children+=W.nodeType===1?W.outerHTML:W.data),it===b.staticCount-1&&(b.anchor=W),W=r(W);return C?r(W):W}else R();break;case rt:C?W=p(g,b,E,k,I,D):W=R();break;default:if(H&1)(ot!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!_(g)?W=R():W=f(g,b,E,k,I,D);else if(H&6){b.slotScopeIds=I;const Q=o(g);if(C?W=v(g):ho(g)&&g.data==="teleport start"?W=v(g,g.data,"teleport end"):W=r(g),e(b,Q,null,E,k,$l(Q),D),tr(b)&&!b.type.__asyncResolved){let it;C?(it=S(rt),it.anchor=W?W.previousSibling:Q.lastChild):it=g.nodeType===3?Ds(""):S("div"),it.el=g,b.component.subTree=it}}else H&64?ot!==8?W=R():W=b.type.hydrate(g,b,E,k,I,D,t,h):H&128&&(W=b.type.hydrate(g,b,E,k,$l(o(g)),I,D,t,d))}return M!=null&&bo(M,null,k,b),W},f=(g,b,E,k,I,D)=>{D=D||!!b.dynamicChildren;const{type:C,props:R,patchFlag:j,shapeFlag:M,dirs:H,transition:z}=b,ot=C==="input"||C==="option";if(ot||j!==-1){H&&Xs(b,null,E,"created");let W=!1;if(_(g)){W=_1(null,z)&&E&&E.vnode.props&&E.vnode.props.appear;const it=g.content.firstChild;if(W){const St=it.getAttribute("class");St&&(it.$cls=St),z.beforeEnter(it)}y(it,g,E),b.el=g=it}if(M&16&&!(R&&(R.innerHTML||R.textContent))){let it=h(g.firstChild,b,g,E,k,I,D);for(;it;){Fl(g,1)||Yr();const St=it;it=it.nextSibling,a(St)}}else if(M&8){let it=b.children;it[0]===`
|
||
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(it=it.slice(1)),g.textContent!==it&&(Fl(g,0)||Yr(),g.textContent=b.children)}if(R){if(ot||!D||j&48){const it=g.tagName.includes("-");for(const St in R)(ot&&(St.endsWith("value")||St==="indeterminate")||rr(St)&&!vi(St)||St[0]==="."||it)&&s(g,St,null,R[St],void 0,E)}else if(R.onClick)s(g,"onClick",null,R.onClick,void 0,E);else if(j&4&&Qs(R.style))for(const it in R.style)R.style[it]}let Q;(Q=R&&R.onVnodeBeforeMount)&&Un(Q,E,b),H&&Xs(b,null,E,"beforeMount"),((Q=R&&R.onVnodeMounted)||H||W)&&I1(()=>{Q&&Un(Q,E,b),W&&z.enter(g),H&&Xs(b,null,E,"mounted")},k)}return g.nextSibling},h=(g,b,E,k,I,D,C)=>{C=C||!!b.dynamicChildren;const R=b.children,j=R.length;for(let M=0;M<j;M++){const H=C?R[M]:R[M]=Hn(R[M]),z=H.type===_i;g?(z&&!C&&M+1<j&&Hn(R[M+1]).type===_i&&(l(i(g.data.slice(H.children.length)),E,r(g)),g.data=H.children),g=d(g,H,k,I,D,C)):z&&!H.children?l(H.el=i(""),E):(Fl(E,1)||Yr(),n(null,H,E,null,k,I,$l(E),D))}return g},p=(g,b,E,k,I,D)=>{const{slotScopeIds:C}=b;C&&(I=I?I.concat(C):C);const R=o(g),j=h(r(g),b,R,E,k,I,D);return j&&ho(j)&&j.data==="]"?r(b.anchor=j):(Yr(),l(b.anchor=c("]"),R,j),j)},m=(g,b,E,k,I,D)=>{if(Fl(g.parentElement,1)||Yr(),b.el=null,D){const j=v(g);for(;;){const M=r(g);if(M&&M!==j)a(M);else break}}const C=r(g),R=o(g);return a(g),n(null,b,R,C,E,k,$l(R),I),E&&(E.vnode.el=b.el,$u(E,b.el)),C},v=(g,b="[",E="]")=>{let k=0;for(;g;)if(g=r(g),g&&ho(g)&&(g.data===b&&k++,g.data===E)){if(k===0)return r(g);k--}return g},y=(g,b,E)=>{const k=b.parentNode;k&&k.replaceChild(g,b);let I=E;for(;I;)I.vnode.el===b&&(I.vnode.el=I.subTree.el=g),I=I.parent},_=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,d]}const Wm="data-allow-mismatch",Gw={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Fl(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Wm);)t=t.parentElement;const n=t&&t.getAttribute(Wm);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return e===0&&s.includes("children")?!0:s.includes(Gw[e])}}const Kw=ll().requestIdleCallback||(t=>setTimeout(t,1)),qw=ll().cancelIdleCallback||(t=>clearTimeout(t)),zw=(t=1e4)=>e=>{const n=Kw(e,{timeout:t});return()=>qw(n)};function Xw(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 Yw=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(Xw(i))return e(),s.disconnect(),!1;s.observe(i)}}),()=>s.disconnect()},Zw=t=>e=>{if(t){const n=matchMedia(t);if(n.matches)e();else return n.addEventListener("change",e,{once:!0}),()=>n.removeEventListener("change",e)}},Jw=(t=[])=>(e,n)=>{Mt(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 Qw(t,e){if(ho(t)&&t.data==="["){let n=1,s=t.nextSibling;for(;s;){if(s.nodeType===1){if(e(s)===!1)break}else if(ho(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else e(t)}const tr=t=>!!t.type.__asyncLoader;function t3(t){It(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((v,y)=>{l(m,()=>v(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 Ni({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(p,m,v){let y=!1;(m.bu||(m.bu=[])).push(()=>y=!0);const _=()=>{y||v()},g=r?()=>{const b=r(_,E=>Qw(p,E));b&&(m.bum||(m.bum=[])).push(b)}:_;u?g():h().then(()=>!m.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const p=cn;if(Qh(p),u)return()=>$d(u,p);const m=g=>{c=null,Br(g,p,13,!s)};if(a&&p.suspense||Co)return h().then(g=>()=>$d(g,p)).catch(g=>(m(g),()=>s?S(s,{error:g}):null));const v=fs(!1),y=fs(),_=fs(!!i);return i&&setTimeout(()=>{_.value=!1},i),o!=null&&setTimeout(()=>{if(!v.value&&!y.value){const g=new Error(`Async component timed out after ${o}ms.`);m(g),y.value=g}},o),h().then(()=>{v.value=!0,p.parent&&ul(p.parent.vnode)&&p.parent.update()}).catch(g=>{m(g),y.value=g}),()=>{if(v.value&&u)return $d(u,p);if(y.value&&s)return S(s,{error:y.value});if(n&&!_.value)return S(n)}}})}function $d(t,e){const{ref:n,props:s,children:i,ce:r}=e.vnode,o=S(t,s,i);return o.ref=n,o.ce=r,delete e.vnode.ce,o}const ul=t=>t.type.__isKeepAlive,e3={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=dn(),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,b,E,k)=>{const I=_.component;c(_,g,b,0,a),l(I.vnode,_,g,b,I,a,E,_.slotScopeIds,k),Je(()=>{I.isDeactivated=!1,I.a&&Or(I.a);const D=_.props&&_.props.onVnodeMounted;D&&Un(D,I.parent,_)},a)},s.deactivate=_=>{const g=_.component;Hc(g.m),Hc(g.a),c(_,f,null,1,a),Je(()=>{g.da&&Or(g.da);const b=_.props&&_.props.onVnodeUnmounted;b&&Un(b,g.parent,_),g.isDeactivated=!0},a)};function h(_){Fd(_),u(_,n,a,!0)}function p(_){i.forEach((g,b)=>{const E=Gf(g.type);E&&!_(E)&&m(b)})}function m(_){const g=i.get(_);g&&(!o||!Is(g,o))?h(g):o&&Fd(o),i.delete(_),r.delete(_)}ts(()=>[t.include,t.exclude],([_,g])=>{_&&p(b=>ua(_,b)),g&&p(b=>!ua(g,b))},{flush:"post",deep:!0});let v=null;const y=()=>{v!=null&&(jc(n.subTree.type)?Je(()=>{i.set(v,Vl(n.subTree))},n.subTree.suspense):i.set(v,Vl(n.subTree)))};return Bo(y),Du(y),Lu(()=>{i.forEach(_=>{const{subTree:g,suspense:b}=n,E=Vl(g);if(_.type===E.type&&_.key===E.key){Fd(E);const k=E.component.da;k&&Je(k,b);return}h(_)})}),()=>{if(v=null,!e.default)return o=null;const _=e.default(),g=_[0];if(_.length>1)return o=null,_;if(!xi(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let b=Vl(g);if(b.type===Be)return o=null,b;const E=b.type,k=Gf(tr(b)?b.type.__asyncResolved||{}:E),{include:I,exclude:D,max:C}=t;if(I&&(!k||!ua(I,k))||D&&k&&ua(D,k))return b.shapeFlag&=-257,o=b,g;const R=b.key==null?E:b.key,j=i.get(R);return b.el&&(b=ni(b),g.shapeFlag&128&&(g.ssContent=b)),v=R,j?(b.el=j.el,b.component=j.component,b.transition&&Oi(b,b.transition),b.shapeFlag|=512,r.delete(R),r.add(R)):(r.add(R),C&&r.size>parseInt(C,10)&&m(r.values().next().value)),b.shapeFlag|=256,o=b,jc(g.type)?g:b}}},n3=e3;function ua(t,e){return yt(t)?t.some(n=>ua(n,e)):Mt(t)?t.split(",").includes(e):nv(t)?(t.lastIndex=0,t.test(e)):!1}function Yv(t,e){Jv(t,"a",e)}function Zv(t,e){Jv(t,"da",e)}function Jv(t,e,n=cn){const s=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Ru(e,s,n),n){let i=n.parent;for(;i&&i.parent;)ul(i.parent.vnode)&&s3(s,e,n,i),i=i.parent}}function s3(t,e,n,s){const i=Ru(e,t,s,!0);dl(()=>{vu(s[e],i)},n)}function Fd(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function Vl(t){return t.shapeFlag&128?t.ssContent:t}function Ru(t,e,n=cn,s=!1){if(n){const i=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...o)=>{Ci();const a=Mr(n),l=ys(e,n,t,o);return a(),Ti(),l});return s?i.unshift(r):i.push(r),r}}const Pi=t=>(e,n=cn)=>{(!Co||t==="sp")&&Ru(t,(...s)=>e(...s),n)},Qv=Pi("bm"),Bo=Pi("m"),tp=Pi("bu"),Du=Pi("u"),Lu=Pi("bum"),dl=Pi("um"),t1=Pi("sp"),e1=Pi("rtg"),n1=Pi("rtc");function s1(t,e=cn){Ru("ec",t,e)}const ep="components",i3="directives";function w(t,e){return ip(ep,t,!0,e)||t}const i1=Symbol.for("v-ndc");function np(t){return Mt(t)?ip(ep,t,!1)||t:t||i1}function sp(t){return ip(i3,t)}function ip(t,e,n=!0,s=!1){const i=un||cn;if(i){const r=i.type;if(t===ep){const a=Gf(r,!1);if(a&&(a===e||a===Ce(e)||a===ar(Ce(e))))return r}const o=Gm(i[t]||r[t],e)||Gm(i.appContext[t],e);return!o&&s?r:o}}function Gm(t,e){return t&&(t[e]||t[Ce(e)]||t[ar(Ce(e))])}function fe(t,e,n,s){let i;const r=n&&n[s],o=yt(t);if(o||Mt(t)){const a=o&&Qs(t);let l=!1,c=!1;a&&(l=!Qn(t),c=Ai(t),t=Cu(t)),i=new Array(t.length);for(let u=0,d=t.length;u<d;u++)i[u]=e(l?c?Lc(ln(t[u])):ln(t[u]):t[u],u,void 0,r&&r[u])}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,r&&r[a])}else if(me(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,r&&r[l]));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];i[l]=e(t[u],u,l,r&&r[l])}}else i=[];return n&&(n[s]=i),i}function fl(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(un.ce||un.parent&&tr(un.parent)&&un.parent.ce){const c=Object.keys(n).length>0;return e!=="default"&&(n.name=e),O(),pt(rt,null,[S("slot",n,s&&s())],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1),O();const o=r&&rp(r(n)),a=n.key||o&&o.key,l=pt(rt,{key:(a&&!Ln(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 rp(t){return t.some(e=>xi(e)?!(e.type===Be||e.type===rt&&!rp(e.children)):!0)?t:null}function r3(t,e){const n={};for(const s in t)n[e&&/[A-Z]/.test(s)?`on:${s}`:Ar(s)]=t[s];return n}const Lf=t=>t?M1(t)?pl(t):Lf(t.parent):null,wa=Xt(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=>Lf(t.parent),$root:t=>Lf(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>op(t),$forceUpdate:t=>t.f||(t.f=()=>{Yh(t.update)}),$nextTick:t=>t.n||(t.n=Wr.bind(t.proxy)),$watch:t=>L3.bind(t)}),Vd=(t,e)=>t!==Zt&&!t.__isScriptSetup&&pe(t,e),Mf={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(Vd(s,e))return o[e]=1,s[e];if(i!==Zt&&pe(i,e))return o[e]=2,i[e];if((c=t.propsOptions[0])&&pe(c,e))return o[e]=3,r[e];if(n!==Zt&&pe(n,e))return o[e]=4,n[e];$f&&(o[e]=0)}}const u=wa[e];let d,f;if(u)return e==="$attrs"&&_n(t.attrs,"get",""),u(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(n!==Zt&&pe(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,pe(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:i,ctx:r}=t;return Vd(i,e)?(i[e]=n,!0):s!==Zt&&pe(s,e)?(s[e]=n,!0):pe(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,type:o}},a){let l,c;return!!(n[a]||t!==Zt&&a[0]!=="$"&&pe(t,a)||Vd(e,a)||(l=r[0])&&pe(l,a)||pe(s,a)||pe(wa,a)||pe(i.config.globalProperties,a)||(c=o.__cssModules)&&c[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:pe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}},o3=Xt({},Mf,{get(t,e){if(e!==Symbol.unscopables)return Mf.get(t,e,t)},has(t,e){return e[0]!=="_"&&!Uh(e)}});function a3(){return null}function l3(){return null}function c3(t){}function u3(t){}function d3(){return null}function f3(){}function h3(t,e){return null}function p3(){return r1().slots}function m3(){return r1().attrs}function r1(t){const e=dn();return e.setupContext||(e.setupContext=V1(e))}function Ka(t){return yt(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}function g3(t,e){const n=Ka(t);for(const s in e){if(s.startsWith("__skip"))continue;let i=n[s];i?yt(i)||It(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 y3(t,e){return!t||!e?t||e:yt(t)&&yt(e)?t.concat(e):Xt({},Ka(t),Ka(e))}function b3(t,e){const n={};for(const s in t)e.includes(s)||Object.defineProperty(n,s,{enumerable:!0,get:()=>t[s]});return n}function v3(t){const e=dn();let n=t();return jf(),_u(n)&&(n=n.catch(s=>{throw Mr(e),s})),[n,()=>Mr(e)]}let $f=!0;function _3(t){const e=op(t),n=t.proxy,s=t.ctx;$f=!1,e.beforeCreate&&Km(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:v,beforeDestroy:y,beforeUnmount:_,destroyed:g,unmounted:b,render:E,renderTracked:k,renderTriggered:I,errorCaptured:D,serverPrefetch:C,expose:R,inheritAttrs:j,components:M,directives:H,filters:z}=e;if(c&&S3(c,s,null),o)for(const Q in o){const it=o[Q];It(it)&&(s[Q]=it.bind(n))}if(i){const Q=i.call(n,n);me(Q)&&(t.data=Ho(Q))}if($f=!0,r)for(const Q in r){const it=r[Q],St=It(it)?it.bind(n,n):It(it.get)?it.get.bind(n,n):en,qt=!It(it)&&It(it.set)?it.set.bind(n):en,xt=tn({get:St,set:qt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>xt.value,set:Lt=>xt.value=Lt})}if(a)for(const Q in a)o1(a[Q],s,n,Q);if(l){const Q=It(l)?l.call(n):l;Reflect.ownKeys(Q).forEach(it=>{ka(it,Q[it])})}u&&Km(u,t,"c");function W(Q,it){yt(it)?it.forEach(St=>Q(St.bind(n))):it&&Q(it.bind(n))}if(W(Qv,d),W(Bo,f),W(tp,h),W(Du,p),W(Yv,m),W(Zv,v),W(s1,D),W(n1,k),W(e1,I),W(Lu,_),W(dl,b),W(t1,C),yt(R))if(R.length){const Q=t.exposed||(t.exposed={});R.forEach(it=>{Object.defineProperty(Q,it,{get:()=>n[it],set:St=>n[it]=St,enumerable:!0})})}else t.exposed||(t.exposed={});E&&t.render===en&&(t.render=E),j!=null&&(t.inheritAttrs=j),M&&(t.components=M),H&&(t.directives=H),C&&Qh(t)}function S3(t,e,n=en){yt(t)&&(t=Ff(t));for(const s in t){const i=t[s];let r;me(i)?"default"in i?r=hs(i.from||s,i.default,!0):r=hs(i.from||s):r=hs(i),Ie(r)?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):e[s]=r}}function Km(t,e,n){ys(yt(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function o1(t,e,n,s){let i=s.includes(".")?T1(n,s):()=>n[s];if(Mt(t)){const r=e[t];It(r)&&ts(i,r)}else if(It(t))ts(i,t.bind(n));else if(me(t))if(yt(t))t.forEach(r=>o1(r,e,n,s));else{const r=It(t.handler)?t.handler.bind(n):e[t.handler];It(r)&&ts(i,r,t)}}function op(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=>Uc(l,c,o,!0)),Uc(l,e,o)),me(e)&&r.set(e,l),l}function Uc(t,e,n,s=!1){const{mixins:i,extends:r}=e;r&&Uc(t,r,n,!0),i&&i.forEach(o=>Uc(t,o,n,!0));for(const o in e)if(!(s&&o==="expose")){const a=E3[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const E3={data:qm,props:zm,emits:zm,methods:da,computed:da,beforeCreate:On,created:On,beforeMount:On,mounted:On,beforeUpdate:On,updated:On,beforeDestroy:On,beforeUnmount:On,destroyed:On,unmounted:On,activated:On,deactivated:On,errorCaptured:On,serverPrefetch:On,components:da,directives:da,watch:k3,provide:qm,inject:w3};function qm(t,e){return e?t?function(){return Xt(It(t)?t.call(this,this):t,It(e)?e.call(this,this):e)}:e:t}function w3(t,e){return da(Ff(t),Ff(e))}function Ff(t){if(yt(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function On(t,e){return t?[...new Set([].concat(t,e))]:e}function da(t,e){return t?Xt(Object.create(null),t,e):e}function zm(t,e){return t?yt(t)&&yt(e)?[...new Set([...t,...e])]:Xt(Object.create(null),Ka(t),Ka(e??{})):e}function k3(t,e){if(!t)return e;if(!e)return t;const n=Xt(Object.create(null),t);for(const s in e)n[s]=On(t[s],e[s]);return n}function a1(){return{app:null,config:{isNativeTag:_r,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 C3=0;function T3(t,e){return function(s,i=null){It(s)||(s=Xt({},s)),i!=null&&!me(i)&&(i=null);const r=a1(),o=new WeakSet,a=[];let l=!1;const c=r.app={_uid:C3++,_component:s,_props:i,_container:null,_context:r,_instance:null,version:H1,get config(){return r.config},set config(u){},use(u,...d){return o.has(u)||(u&&It(u.install)?(o.add(u),u.install(c,...d)):It(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||S(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,pl(h.component)}},onUnmount(u){a.push(u)},unmount(){l&&(ys(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=Ir;Ir=c;try{return u()}finally{Ir=d}}};return c}}let Ir=null;function ka(t,e){if(cn){let n=cn.provides;const s=cn.parent&&cn.parent.provides;s===n&&(n=cn.provides=Object.create(s)),n[t]=e}}function hs(t,e,n=!1){const s=dn();if(s||Ir){let i=Ir?Ir._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&It(e)?e.call(s&&s.proxy):e}}function l1(){return!!(dn()||Ir)}const c1={},u1=()=>Object.create(c1),d1=t=>Object.getPrototypeOf(t)===c1;function A3(t,e,n,s=!1){const i={},r=u1();t.propsDefaults=Object.create(null),f1(t,e,i,r);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=s?i:zh(i):t.type.props?t.props=i:t.props=r,t.attrs=r}function O3(t,e,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=t,a=ie(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(Mu(t.emitsOptions,f))continue;const h=e[f];if(l)if(pe(r,f))h!==r[f]&&(r[f]=h,c=!0);else{const p=Ce(f);i[p]=Vf(l,a,p,h,t,!1)}else h!==r[f]&&(r[f]=h,c=!0)}}}else{f1(t,e,i,r)&&(c=!0);let u;for(const d in a)(!e||!pe(e,d)&&((u=Sn(d))===d||!pe(e,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(i[d]=Vf(l,a,d,void 0,t,!0)):delete i[d]);if(r!==a)for(const d in r)(!e||!pe(e,d))&&(delete r[d],c=!0)}c&&pi(t.attrs,"set","")}function f1(t,e,n,s){const[i,r]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(vi(l))continue;const c=e[l];let u;i&&pe(i,u=Ce(l))?!r||!r.includes(u)?n[u]=c:(a||(a={}))[u]=c:Mu(t.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,o=!0)}if(r){const l=ie(n),c=a||Zt;for(let u=0;u<r.length;u++){const d=r[u];n[d]=Vf(i,l,d,c[d],t,!pe(c,d))}}return o}function Vf(t,e,n,s,i,r){const o=t[n];if(o!=null){const a=pe(o,"default");if(a&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&It(l)){const{propsDefaults:c}=i;if(n in c)s=c[n];else{const u=Mr(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===Sn(n))&&(s=!0))}return s}const x3=new WeakMap;function h1(t,e,n=!1){const s=n?x3:e.propsCache,i=s.get(t);if(i)return i;const r=t.props,o={},a=[];let l=!1;if(!It(t)){const u=d=>{l=!0;const[f,h]=h1(d,e,!0);Xt(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,Cr),Cr;if(yt(r))for(let u=0;u<r.length;u++){const d=Ce(r[u]);Xm(d)&&(o[d]=Zt)}else if(r)for(const u in r){const d=Ce(u);if(Xm(d)){const f=r[u],h=o[d]=yt(f)||It(f)?{type:f}:Xt({},f),p=h.type;let m=!1,v=!0;if(yt(p))for(let y=0;y<p.length;++y){const _=p[y],g=It(_)&&_.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(v=!1)}else m=It(p)&&p.name==="Boolean";h[0]=m,h[1]=v,(m||pe(h,"default"))&&a.push(d)}}const c=[o,a];return me(t)&&s.set(t,c),c}function Xm(t){return t[0]!=="$"&&!vi(t)}const ap=t=>t==="_"||t==="_ctx"||t==="$stable",lp=t=>yt(t)?t.map(Hn):[Hn(t)],I3=(t,e,n)=>{if(e._n)return e;const s=L((...i)=>lp(e(...i)),n);return s._c=!1,s},p1=(t,e,n)=>{const s=t._ctx;for(const i in t){if(ap(i))continue;const r=t[i];if(It(r))e[i]=I3(i,r,s);else if(r!=null){const o=lp(r);e[i]=()=>o}}},m1=(t,e)=>{const n=lp(e);t.slots.default=()=>n},g1=(t,e,n)=>{for(const s in e)(n||!ap(s))&&(t[s]=e[s])},N3=(t,e,n)=>{const s=t.slots=u1();if(t.vnode.shapeFlag&32){const i=e._;i?(g1(s,e,n),n&&Vh(s,"_",i,!0)):p1(e,s)}else e&&m1(t,e)},P3=(t,e,n)=>{const{vnode:s,slots:i}=t;let r=!0,o=Zt;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:g1(i,e,n):(r=!e.$stable,p1(e,i)),o=e}else e&&(m1(t,e),o={default:1});if(r)for(const a in i)!ap(a)&&o[a]==null&&delete i[a]},Je=I1;function y1(t){return v1(t)}function b1(t){return v1(t,Ww)}function v1(t,e){const n=ll();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:h=en,insertStaticContent:p}=t,m=(A,P,G,st=null,J=null,T=null,x=void 0,V=null,K=!!P.dynamicChildren)=>{if(A===P)return;A&&!Is(A,P)&&(st=Z(A),Lt(A,J,T,!0),A=null),P.patchFlag===-2&&(K=!1,P.dynamicChildren=null);const{type:tt,ref:lt,shapeFlag:$}=P;switch(tt){case _i:v(A,P,G,st);break;case Be:y(A,P,G,st);break;case Nr:A==null&&_(P,G,st,x);break;case rt:M(A,P,G,st,J,T,x,V,K);break;default:$&1?E(A,P,G,st,J,T,x,V,K):$&6?H(A,P,G,st,J,T,x,V,K):($&64||$&128)&&tt.process(A,P,G,st,J,T,x,V,K,bt)}lt!=null&&J?bo(lt,A&&A.ref,T,P||A,!P):lt==null&&A&&A.ref!=null&&bo(A.ref,null,T,A,!0)},v=(A,P,G,st)=>{if(A==null)s(P.el=a(P.children),G,st);else{const J=P.el=A.el;P.children!==A.children&&c(J,P.children)}},y=(A,P,G,st)=>{A==null?s(P.el=l(P.children||""),G,st):P.el=A.el},_=(A,P,G,st)=>{[A.el,A.anchor]=p(A.children,P,G,st,A.el,A.anchor)},g=({el:A,anchor:P},G,st)=>{let J;for(;A&&A!==P;)J=f(A),s(A,G,st),A=J;s(P,G,st)},b=({el:A,anchor:P})=>{let G;for(;A&&A!==P;)G=f(A),i(A),A=G;i(P)},E=(A,P,G,st,J,T,x,V,K)=>{P.type==="svg"?x="svg":P.type==="math"&&(x="mathml"),A==null?k(P,G,st,J,T,x,V,K):C(A,P,J,T,x,V,K)},k=(A,P,G,st,J,T,x,V)=>{let K,tt;const{props:lt,shapeFlag:$,transition:q,dirs:ht}=A;if(K=A.el=o(A.type,T,lt&<.is,lt),$&8?u(K,A.children):$&16&&D(A.children,K,null,st,J,Ud(A,T),x,V),ht&&Xs(A,null,st,"created"),I(K,A,A.scopeId,x,st),lt){for(const Kt in lt)Kt!=="value"&&!vi(Kt)&&r(K,Kt,null,lt[Kt],T,st);"value"in lt&&r(K,"value",null,lt.value,T),(tt=lt.onVnodeBeforeMount)&&Un(tt,st,A)}ht&&Xs(A,null,st,"beforeMount");const Et=_1(J,q);Et&&q.beforeEnter(K),s(K,P,G),((tt=lt&<.onVnodeMounted)||Et||ht)&&Je(()=>{tt&&Un(tt,st,A),Et&&q.enter(K),ht&&Xs(A,null,st,"mounted")},J)},I=(A,P,G,st,J)=>{if(G&&h(A,G),st)for(let T=0;T<st.length;T++)h(A,st[T]);if(J){let T=J.subTree;if(P===T||jc(T.type)&&(T.ssContent===P||T.ssFallback===P)){const x=J.vnode;I(A,x,x.scopeId,x.slotScopeIds,J.parent)}}},D=(A,P,G,st,J,T,x,V,K=0)=>{for(let tt=K;tt<A.length;tt++){const lt=A[tt]=V?Wi(A[tt]):Hn(A[tt]);m(null,lt,P,G,st,J,T,x,V)}},C=(A,P,G,st,J,T,x)=>{const V=P.el=A.el;let{patchFlag:K,dynamicChildren:tt,dirs:lt}=P;K|=A.patchFlag&16;const $=A.props||Zt,q=P.props||Zt;let ht;if(G&&fr(G,!1),(ht=q.onVnodeBeforeUpdate)&&Un(ht,G,P,A),lt&&Xs(P,A,G,"beforeUpdate"),G&&fr(G,!0),($.innerHTML&&q.innerHTML==null||$.textContent&&q.textContent==null)&&u(V,""),tt?R(A.dynamicChildren,tt,V,G,st,Ud(P,J),T):x||it(A,P,V,null,G,st,Ud(P,J),T,!1),K>0){if(K&16)j(V,$,q,G,J);else if(K&2&&$.class!==q.class&&r(V,"class",null,q.class,J),K&4&&r(V,"style",$.style,q.style,J),K&8){const Et=P.dynamicProps;for(let Kt=0;Kt<Et.length;Kt++){const U=Et[Kt],B=$[U],X=q[U];(X!==B||U==="value")&&r(V,U,B,X,J,G)}}K&1&&A.children!==P.children&&u(V,P.children)}else!x&&tt==null&&j(V,$,q,G,J);((ht=q.onVnodeUpdated)||lt)&&Je(()=>{ht&&Un(ht,G,P,A),lt&&Xs(P,A,G,"updated")},st)},R=(A,P,G,st,J,T,x)=>{for(let V=0;V<P.length;V++){const K=A[V],tt=P[V],lt=K.el&&(K.type===rt||!Is(K,tt)||K.shapeFlag&198)?d(K.el):G;m(K,tt,lt,null,st,J,T,x,!0)}},j=(A,P,G,st,J)=>{if(P!==G){if(P!==Zt)for(const T in P)!vi(T)&&!(T in G)&&r(A,T,P[T],null,J,st);for(const T in G){if(vi(T))continue;const x=G[T],V=P[T];x!==V&&T!=="value"&&r(A,T,V,x,J,st)}"value"in G&&r(A,"value",P.value,G.value,J)}},M=(A,P,G,st,J,T,x,V,K)=>{const tt=P.el=A?A.el:a(""),lt=P.anchor=A?A.anchor:a("");let{patchFlag:$,dynamicChildren:q,slotScopeIds:ht}=P;ht&&(V=V?V.concat(ht):ht),A==null?(s(tt,G,st),s(lt,G,st),D(P.children||[],G,lt,J,T,x,V,K)):$>0&&$&64&&q&&A.dynamicChildren?(R(A.dynamicChildren,q,G,J,T,x,V),(P.key!=null||J&&P===J.subTree)&&cp(A,P,!0)):it(A,P,G,lt,J,T,x,V,K)},H=(A,P,G,st,J,T,x,V,K)=>{P.slotScopeIds=V,A==null?P.shapeFlag&512?J.ctx.activate(P,G,st,x,K):z(P,G,st,J,T,x,K):ot(A,P,K)},z=(A,P,G,st,J,T,x)=>{const V=A.component=L1(A,st,J);if(ul(A)&&(V.ctx.renderer=bt),$1(V,!1,x),V.asyncDep){if(J&&J.registerDep(V,W,x),!A.el){const K=V.subTree=S(Be);y(null,K,P,G),A.placeholder=K.el}}else W(V,A,P,G,J,T,x)},ot=(A,P,G)=>{const st=P.component=A.component;if(j3(A,P,G))if(st.asyncDep&&!st.asyncResolved){Q(st,P,G);return}else st.next=P,st.update();else P.el=A.el,st.vnode=P},W=(A,P,G,st,J,T,x)=>{const V=()=>{if(A.isMounted){let{next:$,bu:q,u:ht,parent:Et,vnode:Kt}=A;{const mt=S1(A);if(mt){$&&($.el=Kt.el,Q(A,$,x)),mt.asyncDep.then(()=>{A.isUnmounted||V()});return}}let U=$,B;fr(A,!1),$?($.el=Kt.el,Q(A,$,x)):$=Kt,q&&Or(q),(B=$.props&&$.props.onVnodeBeforeUpdate)&&Un(B,Et,$,Kt),fr(A,!0);const X=uc(A),at=A.subTree;A.subTree=X,m(at,X,d(at.el),Z(at),A,J,T),$.el=X.el,U===null&&$u(A,X.el),ht&&Je(ht,J),(B=$.props&&$.props.onVnodeUpdated)&&Je(()=>Un(B,Et,$,Kt),J)}else{let $;const{el:q,props:ht}=P,{bm:Et,m:Kt,parent:U,root:B,type:X}=A,at=tr(P);if(fr(A,!1),Et&&Or(Et),!at&&($=ht&&ht.onVnodeBeforeMount)&&Un($,U,P),fr(A,!0),q&&Yt){const mt=()=>{A.subTree=uc(A),Yt(q,A.subTree,A,J,null)};at&&X.__asyncHydrate?X.__asyncHydrate(q,A,mt):mt()}else{B.ce&&B.ce._def.shadowRoot!==!1&&B.ce._injectChildStyle(X);const mt=A.subTree=uc(A);m(null,mt,G,st,A,J,T),P.el=mt.el}if(Kt&&Je(Kt,J),!at&&($=ht&&ht.onVnodeMounted)){const mt=P;Je(()=>Un($,U,mt),J)}(P.shapeFlag&256||U&&tr(U.vnode)&&U.vnode.shapeFlag&256)&&A.a&&Je(A.a,J),A.isMounted=!0,P=G=st=null}};A.scope.on();const K=A.effect=new Ua(V);A.scope.off();const tt=A.update=K.run.bind(K),lt=A.job=K.runIfDirty.bind(K);lt.i=A,lt.id=A.uid,K.scheduler=()=>Yh(lt),fr(A,!0),tt()},Q=(A,P,G)=>{P.component=A;const st=A.vnode.props;A.vnode=P,A.next=null,O3(A,P.props,st,G),P3(A,P.children,G),Ci(),$m(A),Ti()},it=(A,P,G,st,J,T,x,V,K=!1)=>{const tt=A&&A.children,lt=A?A.shapeFlag:0,$=P.children,{patchFlag:q,shapeFlag:ht}=P;if(q>0){if(q&128){qt(tt,$,G,st,J,T,x,V,K);return}else if(q&256){St(tt,$,G,st,J,T,x,V,K);return}}ht&8?(lt&16&&Wt(tt,J,T),$!==tt&&u(G,$)):lt&16?ht&16?qt(tt,$,G,st,J,T,x,V,K):Wt(tt,J,T,!0):(lt&8&&u(G,""),ht&16&&D($,G,st,J,T,x,V,K))},St=(A,P,G,st,J,T,x,V,K)=>{A=A||Cr,P=P||Cr;const tt=A.length,lt=P.length,$=Math.min(tt,lt);let q;for(q=0;q<$;q++){const ht=P[q]=K?Wi(P[q]):Hn(P[q]);m(A[q],ht,G,null,J,T,x,V,K)}tt>lt?Wt(A,J,T,!0,!1,$):D(P,G,st,J,T,x,V,K,$)},qt=(A,P,G,st,J,T,x,V,K)=>{let tt=0;const lt=P.length;let $=A.length-1,q=lt-1;for(;tt<=$&&tt<=q;){const ht=A[tt],Et=P[tt]=K?Wi(P[tt]):Hn(P[tt]);if(Is(ht,Et))m(ht,Et,G,null,J,T,x,V,K);else break;tt++}for(;tt<=$&&tt<=q;){const ht=A[$],Et=P[q]=K?Wi(P[q]):Hn(P[q]);if(Is(ht,Et))m(ht,Et,G,null,J,T,x,V,K);else break;$--,q--}if(tt>$){if(tt<=q){const ht=q+1,Et=ht<lt?P[ht].el:st;for(;tt<=q;)m(null,P[tt]=K?Wi(P[tt]):Hn(P[tt]),G,Et,J,T,x,V,K),tt++}}else if(tt>q)for(;tt<=$;)Lt(A[tt],J,T,!0),tt++;else{const ht=tt,Et=tt,Kt=new Map;for(tt=Et;tt<=q;tt++){const Ft=P[tt]=K?Wi(P[tt]):Hn(P[tt]);Ft.key!=null&&Kt.set(Ft.key,tt)}let U,B=0;const X=q-Et+1;let at=!1,mt=0;const At=new Array(X);for(tt=0;tt<X;tt++)At[tt]=0;for(tt=ht;tt<=$;tt++){const Ft=A[tt];if(B>=X){Lt(Ft,J,T,!0);continue}let he;if(Ft.key!=null)he=Kt.get(Ft.key);else for(U=Et;U<=q;U++)if(At[U-Et]===0&&Is(Ft,P[U])){he=U;break}he===void 0?Lt(Ft,J,T,!0):(At[he-Et]=tt+1,he>=mt?mt=he:at=!0,m(Ft,P[he],G,null,J,T,x,V,K),B++)}const Vt=at?R3(At):Cr;for(U=Vt.length-1,tt=X-1;tt>=0;tt--){const Ft=Et+tt,he=P[Ft],Rt=P[Ft+1],wt=Ft+1<lt?Rt.el||Rt.placeholder:st;At[tt]===0?m(null,he,G,wt,J,T,x,V,K):at&&(U<0||tt!==Vt[U]?xt(he,G,wt,2):U--)}}},xt=(A,P,G,st,J=null)=>{const{el:T,type:x,transition:V,children:K,shapeFlag:tt}=A;if(tt&6){xt(A.component.subTree,P,G,st);return}if(tt&128){A.suspense.move(P,G,st);return}if(tt&64){x.move(A,P,G,bt);return}if(x===rt){s(T,P,G);for(let $=0;$<K.length;$++)xt(K[$],P,G,st);s(A.anchor,P,G);return}if(x===Nr){g(A,P,G);return}if(st!==2&&tt&1&&V)if(st===0)V.beforeEnter(T),s(T,P,G),Je(()=>V.enter(T),J);else{const{leave:$,delayLeave:q,afterLeave:ht}=V,Et=()=>{A.ctx.isUnmounted?i(T):s(T,P,G)},Kt=()=>{T._isLeaving&&T[hi](!0),$(T,()=>{Et(),ht&&ht()})};q?q(T,Et,Kt):Kt()}else s(T,P,G)},Lt=(A,P,G,st=!1,J=!1)=>{const{type:T,props:x,ref:V,children:K,dynamicChildren:tt,shapeFlag:lt,patchFlag:$,dirs:q,cacheIndex:ht}=A;if($===-2&&(J=!1),V!=null&&(Ci(),bo(V,null,G,A,!0),Ti()),ht!=null&&(P.renderCache[ht]=void 0),lt&256){P.ctx.deactivate(A);return}const Et=lt&1&&q,Kt=!tr(A);let U;if(Kt&&(U=x&&x.onVnodeBeforeUnmount)&&Un(U,P,A),lt&6)ae(A.component,G,st);else{if(lt&128){A.suspense.unmount(G,st);return}Et&&Xs(A,null,P,"beforeUnmount"),lt&64?A.type.remove(A,P,G,bt,st):tt&&!tt.hasOnce&&(T!==rt||$>0&&$&64)?Wt(tt,P,G,!1,!0):(T===rt&&$&384||!J&<&16)&&Wt(K,P,G),st&&re(A)}(Kt&&(U=x&&x.onVnodeUnmounted)||Et)&&Je(()=>{U&&Un(U,P,A),Et&&Xs(A,null,P,"unmounted")},G)},re=A=>{const{type:P,el:G,anchor:st,transition:J}=A;if(P===rt){oe(G,st);return}if(P===Nr){b(A);return}const T=()=>{i(G),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(A.shapeFlag&1&&J&&!J.persisted){const{leave:x,delayLeave:V}=J,K=()=>x(G,T);V?V(A.el,T,K):K()}else T()},oe=(A,P)=>{let G;for(;A!==P;)G=f(A),i(A),A=G;i(P)},ae=(A,P,G)=>{const{bum:st,scope:J,job:T,subTree:x,um:V,m:K,a:tt}=A;Hc(K),Hc(tt),st&&Or(st),J.stop(),T&&(T.flags|=8,Lt(x,A,P,G)),V&&Je(V,P),Je(()=>{A.isUnmounted=!0},P)},Wt=(A,P,G,st=!1,J=!1,T=0)=>{for(let x=T;x<A.length;x++)Lt(A[x],P,G,st,J)},Z=A=>{if(A.shapeFlag&6)return Z(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const P=f(A.anchor||A.el),G=P&&P[jv];return G?f(G):P};let dt=!1;const ct=(A,P,G)=>{A==null?P._vnode&&Lt(P._vnode,null,null,!0):m(P._vnode||null,A,P,null,null,null,G),P._vnode=A,dt||(dt=!0,$m(),Fc(),dt=!1)},bt={p:m,um:Lt,m:xt,r:re,mt:z,mc:D,pc:it,pbc:R,n:Z,o:t};let Pt,Yt;return e&&([Pt,Yt]=e(bt)),{render:ct,hydrate:Pt,createApp:T3(ct,Pt)}}function Ud({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 fr({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function _1(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function cp(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]=Wi(i[r]),a.el=o.el),!n&&a.patchFlag!==-2&&cp(o,a)),a.type===_i&&a.patchFlag!==-1&&(a.el=o.el),a.type===Be&&!a.el&&(a.el=o.el)}}function R3(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 S1(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:S1(e)}function Hc(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const E1=Symbol.for("v-scx"),w1=()=>hs(E1);function k1(t,e){return hl(t,null,e)}function D3(t,e){return hl(t,null,{flush:"post"})}function C1(t,e){return hl(t,null,{flush:"sync"})}function ts(t,e,n){return hl(t,e,n)}function hl(t,e,n=Zt){const{immediate:s,deep:i,flush:r,once:o}=n,a=Xt({},n),l=e&&s||!e&&r!=="post";let c;if(Co){if(r==="sync"){const h=w1();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=en,h.resume=en,h.pause=en,h}}const u=cn;a.call=(h,p,m)=>ys(h,u,p,m);let d=!1;r==="post"?a.scheduler=h=>{Je(h,u&&u.suspense)}:r!=="sync"&&(d=!0,a.scheduler=(h,p)=>{p?h():Yh(h)}),a.augmentJob=h=>{e&&(h.flags|=4),d&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const f=Tw(t,e,a);return Co&&(c?c.push(f):l&&f()),f}function L3(t,e,n){const s=this.proxy,i=Mt(t)?t.includes(".")?T1(s,t):()=>s[t]:t.bind(s,s);let r;It(e)?r=e:(r=e.handler,n=e);const o=Mr(this),a=hl(i,r.bind(s),n);return o(),a}function T1(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 M3(t,e,n=Zt){const s=dn(),i=Ce(e),r=Sn(e),o=A1(t,i),a=Rv((l,c)=>{let u,d=Zt,f;return C1(()=>{const h=t[i];vn(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(!vn(p,u)&&!(d!==Zt&&vn(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),vn(h,p)&&vn(h,d)&&!vn(p,f)&&c(),d=h,f=p}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||Zt:a,done:!1}:{done:!0}}}},a}const A1=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ce(e)}Modifiers`]||t[`${Sn(e)}Modifiers`];function $3(t,e,...n){if(t.isUnmounted)return;const s=t.vnode.props||Zt;let i=n;const r=e.startsWith("update:"),o=r&&A1(s,e.slice(7));o&&(o.trim&&(i=n.map(u=>Mt(u)?u.trim():u)),o.number&&(i=n.map(Fa)));let a,l=s[a=Ar(e)]||s[a=Ar(Ce(e))];!l&&r&&(l=s[a=Ar(Sn(e))]),l&&ys(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,ys(c,t,6,i)}}const F3=new WeakMap;function O1(t,e,n=!1){const s=n?F3:e.emitsCache,i=s.get(t);if(i!==void 0)return i;const r=t.emits;let o={},a=!1;if(!It(t)){const l=c=>{const u=O1(c,e,!0);u&&(a=!0,Xt(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):Xt(o,r),me(t)&&s.set(t,o),o)}function Mu(t,e){return!t||!rr(e)?!1:(e=e.slice(2).replace(/Once$/,""),pe(t,e[0].toLowerCase()+e.slice(1))||pe(t,Sn(e))||pe(t,e))}function uc(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,v=Ga(t);let y,_;try{if(n.shapeFlag&4){const b=i||s,E=b;y=Hn(c.call(E,b,u,d,h,f,p)),_=a}else{const b=e;y=Hn(b.length>1?b(d,{attrs:a,slots:o,emit:l}):b(d,null)),_=e.props?a:U3(a)}}catch(b){Ca.length=0,Br(b,t,1),y=S(Be)}let g=y;if(_&&m!==!1){const b=Object.keys(_),{shapeFlag:E}=g;b.length&&E&7&&(r&&b.some(bu)&&(_=H3(_,r)),g=ni(g,_,!1,!0))}return n.dirs&&(g=ni(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Oi(g,n.transition),y=g,Ga(v),y}function V3(t,e=!0){let n;for(let s=0;s<t.length;s++){const i=t[s];if(xi(i)){if(i.type!==Be||i.children==="v-if"){if(n)return;n=i}}else return}return n}const U3=t=>{let e;for(const n in t)(n==="class"||n==="style"||rr(n))&&((e||(e={}))[n]=t[n]);return e},H3=(t,e)=>{const n={};for(const s in t)(!bu(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function j3(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?Ym(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]&&!Mu(c,f))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:s===o?!1:s?o?Ym(s,o,c):!0:!!o;return!1}function Ym(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]&&!Mu(n,r))return!0}return!1}function $u({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 jc=t=>t.__isSuspense;let Uf=0;const B3={name:"Suspense",__isSuspense:!0,process(t,e,n,s,i,r,o,a,l,c){if(t==null)G3(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}K3(t,e,n,s,i,o,a,l,c)}},hydrate:q3,normalize:z3},W3=B3;function qa(t,e){const n=t.props&&t.props[e];It(n)&&n()}function G3(t,e,n,s,i,r,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),f=t.suspense=x1(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?(qa(t,"onPending"),qa(t,"onFallback"),c(null,t.ssFallback,e,n,s,null,r,o),vo(f,t.ssFallback)):f.resolve(!1,!0)}function K3(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:v,isHydrating:y}=d;if(m)d.pendingBranch=f,Is(m,f)?(l(m,f,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():v&&(y||(l(p,h,n,s,i,null,r,o,a),vo(d,h)))):(d.pendingId=Uf++,y?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),v?(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),vo(d,h))):p&&Is(p,f)?(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&&Is(p,f))l(p,f,n,s,i,d,r,o,a),vo(d,f);else if(qa(e,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Uf++,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 x1(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:v}}=c;let y;const _=X3(t);_&&e&&e.pendingBranch&&(y=e.pendingId,e.deps++);const g=t.props?Va(t.props.timeout):void 0,b=r,E={vnode:t,parent:e,parentComponent:n,namespace:o,container:s,hiddenContainer:i,deps:0,pendingId:Uf++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(k=!1,I=!1){const{vnode:D,activeBranch:C,pendingBranch:R,pendingId:j,effects:M,parentComponent:H,container:z}=E;let ot=!1;E.isHydrating?E.isHydrating=!1:k||(ot=C&&R.transition&&R.transition.mode==="out-in",ot&&(C.transition.afterLeave=()=>{j===E.pendingId&&(f(R,z,r===b?p(C):r,0),Ba(M))}),C&&(m(C.el)===z&&(r=p(C)),h(C,H,E,!0)),ot||f(R,z,r,0)),vo(E,R),E.pendingBranch=null,E.isInFallback=!1;let W=E.parent,Q=!1;for(;W;){if(W.pendingBranch){W.effects.push(...M),Q=!0;break}W=W.parent}!Q&&!ot&&Ba(M),E.effects=[],_&&e&&e.pendingBranch&&y===e.pendingId&&(e.deps--,e.deps===0&&!I&&e.resolve()),qa(D,"onResolve")},fallback(k){if(!E.pendingBranch)return;const{vnode:I,activeBranch:D,parentComponent:C,container:R,namespace:j}=E;qa(I,"onFallback");const M=p(D),H=()=>{E.isInFallback&&(d(null,k,R,M,C,null,j,a,l),vo(E,k))},z=k.transition&&k.transition.mode==="out-in";z&&(D.transition.afterLeave=H),E.isInFallback=!0,h(D,C,null,!0),z||H()},move(k,I,D){E.activeBranch&&f(E.activeBranch,k,I,D),E.container=k},next(){return E.activeBranch&&p(E.activeBranch)},registerDep(k,I,D){const C=!!E.pendingBranch;C&&E.deps++;const R=k.vnode.el;k.asyncDep.catch(j=>{Br(j,k,0)}).then(j=>{if(k.isUnmounted||E.isUnmounted||E.pendingId!==k.suspenseId)return;k.asyncResolved=!0;const{vnode:M}=k;Bf(k,j,!1),R&&(M.el=R);const H=!R&&k.subTree.el;I(k,M,m(R||k.subTree.el),R?null:p(k.subTree),E,o,D),H&&v(H),$u(k,M.el),C&&--E.deps===0&&E.resolve()})},unmount(k,I){E.isUnmounted=!0,E.activeBranch&&h(E.activeBranch,n,k,I),E.pendingBranch&&h(E.pendingBranch,n,k,I)}};return E}function q3(t,e,n,s,i,r,o,a,l){const c=e.suspense=x1(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 z3(t){const{shapeFlag:e,children:n}=t,s=e&32;t.ssContent=Zm(s?n.default:n),t.ssFallback=s?Zm(n.fallback):S(Be)}function Zm(t){let e;if(It(t)){const n=Lr&&t._c;n&&(t._d=!1,O()),t=t(),n&&(t._d=!0,e=Cn,N1())}return yt(t)&&(t=V3(t)),t=Hn(t),e&&!t.dynamicChildren&&(t.dynamicChildren=e.filter(n=>n!==t)),t}function I1(t,e){e&&e.pendingBranch?yt(t)?e.effects.push(...t):e.effects.push(t):Ba(t)}function vo(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,$u(s,i))}function X3(t){const e=t.props&&t.props.suspensible;return e!=null&&e!==!1}const rt=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),Be=Symbol.for("v-cmt"),Nr=Symbol.for("v-stc"),Ca=[];let Cn=null;function O(t=!1){Ca.push(Cn=t?null:[])}function N1(){Ca.pop(),Cn=Ca[Ca.length-1]||null}let Lr=1;function za(t,e=!1){Lr+=t,t<0&&Cn&&e&&(Cn.hasOnce=!0)}function P1(t){return t.dynamicChildren=Lr>0?Cn||Cr:null,N1(),Lr>0&&Cn&&Cn.push(t),t}function F(t,e,n,s,i,r){return P1(N(t,e,n,s,i,r,!0))}function pt(t,e,n,s,i){return P1(S(t,e,n,s,i,!0))}function xi(t){return t?t.__v_isVNode===!0:!1}function Is(t,e){return t.type===e.type&&t.key===e.key}function Y3(t){}const R1=({key:t})=>t??null,dc=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Mt(t)||Ie(t)||It(t)?{i:un,r:t,k:e,f:!!n}:t:null);function N(t,e=null,n=null,s=0,i=null,r=t===rt?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&R1(e),ref:e&&dc(e),scopeId:Nu,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:un};return a?(up(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Mt(n)?8:16),Lr>0&&!o&&Cn&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Cn.push(l),l}const S=Z3;function Z3(t,e=null,n=null,s=0,i=null,r=!1){if((!t||t===i1)&&(t=Be),xi(t)){const a=ni(t,e,!0);return n&&up(a,n),Lr>0&&!r&&Cn&&(a.shapeFlag&6?Cn[Cn.indexOf(t)]=a:Cn.push(a)),a.patchFlag=-2,a}if(rk(t)&&(t=t.__vccOpts),e){e=D1(e);let{class:a,style:l}=e;a&&!Mt(a)&&(e.class=Gt(a)),me(l)&&(Ou(l)&&!yt(l)&&(l=Xt({},l)),e.style=Uo(l))}const o=Mt(t)?1:jc(t)?128:Bv(t)?64:me(t)?4:It(t)?2:0;return N(t,e,n,s,i,o,r,!0)}function D1(t){return t?Ou(t)||d1(t)?Xt({},t):t:null}function ni(t,e,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=t,c=e?po(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&R1(c),ref:e&&e.ref?n&&r?yt(r)?r.concat(dc(e)):[r,dc(e)]:dc(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!==rt?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&&ni(t.ssContent),ssFallback:t.ssFallback&&ni(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&s&&Oi(u,l.clone(u)),u}function Ds(t=" ",e=0){return S(_i,null,t,e)}function J3(t,e){const n=S(Nr,null,t);return n.staticCount=e,n}function vt(t="",e=!1){return e?(O(),pt(Be,null,t)):S(Be,null,t)}function Hn(t){return t==null||typeof t=="boolean"?S(Be):yt(t)?S(rt,null,t.slice()):xi(t)?Wi(t):S(_i,null,String(t))}function Wi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ni(t)}function up(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),up(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!d1(e)?e._ctx=un:i===3&&un&&(un.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else It(e)?(e={default:e,_ctx:un},n=32):(e=String(e),s&64?(n=16,e=[Ds(e)]):n=8);t.children=e,t.shapeFlag|=n}function po(...t){const e={};for(let n=0;n<t.length;n++){const s=t[n];for(const i in s)if(i==="class")e.class!==s.class&&(e.class=Gt([e.class,s.class]));else if(i==="style")e.style=Uo([e.style,s.style]);else if(rr(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 Un(t,e,n,s=null){ys(t,e,7,[n,s])}const Q3=a1();let tk=0;function L1(t,e,n){const s=t.type,i=(e?e.appContext:t.appContext)||Q3,r={uid:tk++,vnode:t,type:s,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Bh(!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:h1(s,i),emitsOptions:O1(s,i),emit:null,emitted:null,propsDefaults:Zt,inheritAttrs:s.inheritAttrs,ctx:Zt,data:Zt,props:Zt,attrs:Zt,slots:Zt,refs:Zt,setupState:Zt,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=$3.bind(null,r),t.ce&&t.ce(r),r}let cn=null;const dn=()=>cn||un;let Bc,Hf;{const t=ll(),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)}};Bc=e("__VUE_INSTANCE_SETTERS__",n=>cn=n),Hf=e("__VUE_SSR_SETTERS__",n=>Co=n)}const Mr=t=>{const e=cn;return Bc(t),t.scope.on(),()=>{t.scope.off(),Bc(e)}},jf=()=>{cn&&cn.scope.off(),Bc(null)};function M1(t){return t.vnode.shapeFlag&4}let Co=!1;function $1(t,e=!1,n=!1){e&&Hf(e);const{props:s,children:i}=t.vnode,r=M1(t);A3(t,s,r,e),N3(t,i,n||e);const o=r?ek(t,e):void 0;return e&&Hf(!1),o}function ek(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Mf);const{setup:s}=n;if(s){Ci();const i=t.setupContext=s.length>1?V1(t):null,r=Mr(t),o=jo(s,t,0,[t.props,i]),a=_u(o);if(Ti(),r(),(a||t.sp)&&!tr(t)&&Qh(t),a){if(o.then(jf,jf),e)return o.then(l=>{Bf(t,l,e)}).catch(l=>{Br(l,t,0)});t.asyncDep=o}else Bf(t,o,e)}else F1(t,e)}function Bf(t,e,n){It(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:me(e)&&(t.setupState=Xh(e)),F1(t,n)}let Wc,Wf;function nk(t){Wc=t,Wf=e=>{e.render._rc&&(e.withProxy=new Proxy(e.ctx,o3))}}const sk=()=>!Wc;function F1(t,e,n){const s=t.type;if(!t.render){if(!e&&Wc&&!s.render){const i=s.template||op(t).template;if(i){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Xt(Xt({isCustomElement:r,delimiters:a},o),l);s.render=Wc(i,c)}}t.render=s.render||en,Wf&&Wf(t)}{const i=Mr(t);Ci();try{_3(t)}finally{Ti(),i()}}}const ik={get(t,e){return _n(t,"get",""),t[e]}};function V1(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,ik),slots:t.slots,emit:t.emit,expose:e}}function pl(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Xh(xu(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in wa)return wa[n](t)},has(e,n){return n in e||n in wa}})):t.proxy}function Gf(t,e=!0){return It(t)?t.displayName||t.name:t.name||e&&t.__name}function rk(t){return It(t)&&"__vccOpts"in t}const tn=(t,e)=>Ew(t,e,Co);function Zs(t,e,n){try{za(-1);const s=arguments.length;return s===2?me(e)&&!yt(e)?xi(e)?S(t,null,[e]):S(t,e):S(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&xi(n)&&(n=[n]),S(t,e,n))}finally{za(1)}}function ok(){}function ak(t,e,n,s){const i=n[s];if(i&&U1(i,t))return i;const r=e();return r.memo=t.slice(),r.cacheIndex=s,n[s]=r}function U1(t,e){const n=t.memo;if(n.length!=e.length)return!1;for(let s=0;s<n.length;s++)if(vn(n[s],e[s]))return!1;return Lr>0&&Cn&&Cn.push(t),!0}const H1="3.5.22",lk=en,ck=Nw,uk=ao,dk=Hv,fk={createComponentInstance:L1,setupComponent:$1,renderComponentRoot:uc,setCurrentRenderingInstance:Ga,isVNode:xi,normalizeVNode:Hn,getComponentPublicInstance:pl,ensureValidVNode:rp,pushWarningContext:Aw,popWarningContext:Ow},hk=fk,pk=null,mk=null,gk=null;/**
|
||
* @vue/runtime-dom v3.5.22
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Kf;const Jm=typeof window<"u"&&window.trustedTypes;if(Jm)try{Kf=Jm.createPolicy("vue",{createHTML:t=>t})}catch{}const j1=Kf?t=>Kf.createHTML(t):t=>t,yk="http://www.w3.org/2000/svg",bk="http://www.w3.org/1998/Math/MathML",fi=typeof document<"u"?document:null,Qm=fi&&fi.createElement("template"),vk={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"?fi.createElementNS(yk,t):e==="mathml"?fi.createElementNS(bk,t):n?fi.createElement(t,{is:n}):fi.createElement(t);return t==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:t=>fi.createTextNode(t),createComment:t=>fi.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>fi.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,i,r){const o=n?n.previousSibling:e.lastChild;if(i&&(i===r||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Qm.innerHTML=j1(s==="svg"?`<svg>${t}</svg>`:s==="mathml"?`<math>${t}</math>`:t);const a=Qm.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Di="transition",ea="animation",To=Symbol("_vtc"),B1={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},W1=Xt({},Jh,B1),_k=t=>(t.displayName="Transition",t.props=W1,t),G1=_k((t,{slots:e})=>Zs(zv,K1(t),e)),hr=(t,e=[])=>{yt(t)?t.forEach(n=>n(...e)):t&&t(...e)},tg=t=>t?yt(t)?t.some(e=>e.length>1):t.length>1:!1;function K1(t){const e={};for(const M in t)M in B1||(e[M]=t[M]);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=Sk(i),m=p&&p[0],v=p&&p[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:g,onLeave:b,onLeaveCancelled:E,onBeforeAppear:k=y,onAppear:I=_,onAppearCancelled:D=g}=e,C=(M,H,z,ot)=>{M._enterCancelled=ot,Ui(M,H?u:a),Ui(M,H?c:o),z&&z()},R=(M,H)=>{M._isLeaving=!1,Ui(M,d),Ui(M,h),Ui(M,f),H&&H()},j=M=>(H,z)=>{const ot=M?I:_,W=()=>C(H,M,z);hr(ot,[H,W]),eg(()=>{Ui(H,M?l:r),Ks(H,M?u:a),tg(ot)||ng(H,s,m,W)})};return Xt(e,{onBeforeEnter(M){hr(y,[M]),Ks(M,r),Ks(M,o)},onBeforeAppear(M){hr(k,[M]),Ks(M,l),Ks(M,c)},onEnter:j(!1),onAppear:j(!0),onLeave(M,H){M._isLeaving=!0;const z=()=>R(M,H);Ks(M,d),M._enterCancelled?(Ks(M,f),qf(M)):(qf(M),Ks(M,f)),eg(()=>{M._isLeaving&&(Ui(M,d),Ks(M,h),tg(b)||ng(M,s,v,z))}),hr(b,[M,z])},onEnterCancelled(M){C(M,!1,void 0,!0),hr(g,[M])},onAppearCancelled(M){C(M,!0,void 0,!0),hr(D,[M])},onLeaveCancelled(M){R(M),hr(E,[M])}})}function Sk(t){if(t==null)return null;if(me(t))return[Hd(t.enter),Hd(t.leave)];{const e=Hd(t);return[e,e]}}function Hd(t){return Va(t)}function Ks(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[To]||(t[To]=new Set)).add(e)}function Ui(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const n=t[To];n&&(n.delete(e),n.size||(t[To]=void 0))}function eg(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Ek=0;function ng(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}=q1(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 q1(t,e){const n=window.getComputedStyle(t),s=p=>(n[p]||"").split(", "),i=s(`${Di}Delay`),r=s(`${Di}Duration`),o=sg(i,r),a=s(`${ea}Delay`),l=s(`${ea}Duration`),c=sg(a,l);let u=null,d=0,f=0;e===Di?o>0&&(u=Di,d=o,f=r.length):e===ea?c>0&&(u=ea,d=c,f=l.length):(d=Math.max(o,c),u=d>0?o>c?Di:ea:null,f=u?u===Di?r.length:l.length:0);const h=u===Di&&/\b(?:transform|all)(?:,|$)/.test(s(`${Di}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function sg(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,s)=>ig(n)+ig(t[s])))}function ig(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function qf(t){return(t?t.ownerDocument:document).body.offsetHeight}function wk(t,e,n){const s=t[To];s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Gc=Symbol("_vod"),z1=Symbol("_vsh"),Kc={name:"show",beforeMount(t,{value:e},{transition:n}){t[Gc]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):na(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),na(t,!0),s.enter(t)):s.leave(t,()=>{na(t,!1)}):na(t,e))},beforeUnmount(t,{value:e}){na(t,e)}};function na(t,e){t.style.display=e?t[Gc]:"none",t[z1]=!e}function kk(){Kc.getSSRProps=({value:t})=>{if(!t)return{style:{display:"none"}}}}const X1=Symbol("");function dp(t){const e=dn();if(!e)return;const n=e.ut=(i=t(e.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${e.uid}"]`)).forEach(r=>qc(r,i))},s=()=>{const i=t(e.proxy);e.ce?qc(e.ce,i):zf(e.subTree,i),n(i)};tp(()=>{Ba(s)}),Bo(()=>{ts(s,en,{flush:"post"});const i=new MutationObserver(s);i.observe(e.subTree.el.parentNode,{childList:!0}),dl(()=>i.disconnect())})}function zf(t,e){if(t.shapeFlag&128){const n=t.suspense;t=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{zf(n.activeBranch,e)})}for(;t.component;)t=t.component.subTree;if(t.shapeFlag&1&&t.el)qc(t.el,e);else if(t.type===rt)t.children.forEach(n=>zf(n,e));else if(t.type===Nr){let{el:n,anchor:s}=t;for(;n&&(qc(n,e),n!==s);)n=n.nextSibling}}function qc(t,e){if(t.nodeType===1){const n=t.style;let s="";for(const i in e){const r=mv(e[i]);n.setProperty(`--${i}`,r),s+=`--${i}: ${r};`}n[X1]=s}}const Ck=/(?:^|;)\s*display\s*:/;function Tk(t,e,n){const s=t.style,i=Mt(n);let r=!1;if(n&&!i){if(e)if(Mt(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&fc(s,a,"")}else for(const o in e)n[o]==null&&fc(s,o,"");for(const o in n)o==="display"&&(r=!0),fc(s,o,n[o])}else if(i){if(e!==n){const o=s[X1];o&&(n+=";"+o),s.cssText=n,r=Ck.test(n)}}else e&&t.removeAttribute("style");Gc in t&&(t[Gc]=r?s.display:"",t[z1]&&(s.display="none"))}const rg=/\s*!important$/;function fc(t,e,n){if(yt(n))n.forEach(s=>fc(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=Ak(t,e);rg.test(n)?t.setProperty(Sn(s),n.replace(rg,""),"important"):t[s]=n}}const og=["Webkit","Moz","ms"],jd={};function Ak(t,e){const n=jd[e];if(n)return n;let s=Ce(e);if(s!=="filter"&&s in t)return jd[e]=s;s=ar(s);for(let i=0;i<og.length;i++){const r=og[i]+s;if(r in t)return jd[e]=r}return e}const ag="http://www.w3.org/1999/xlink";function lg(t,e,n,s,i,r=dv(e)){s&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(ag,e.slice(6,e.length)):t.setAttributeNS(ag,e,n):n==null||r&&!jh(n)?t.removeAttribute(e):t.setAttribute(e,r?"":Ln(n)?String(n):n)}function cg(t,e,n,s,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?j1(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=jh(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 gi(t,e,n,s){t.addEventListener(e,n,s)}function Ok(t,e,n,s){t.removeEventListener(e,n,s)}const ug=Symbol("_vei");function xk(t,e,n,s,i=null){const r=t[ug]||(t[ug]={}),o=r[e];if(s&&o)o.value=s;else{const[a,l]=Ik(e);if(s){const c=r[e]=Rk(s,i);gi(t,a,c,l)}else o&&(Ok(t,a,o,l),r[e]=void 0)}}const dg=/(?:Once|Passive|Capture)$/;function Ik(t){let e;if(dg.test(t)){e={};let s;for(;s=t.match(dg);)t=t.slice(0,t.length-s[0].length),e[s[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Sn(t.slice(2)),e]}let Bd=0;const Nk=Promise.resolve(),Pk=()=>Bd||(Nk.then(()=>Bd=0),Bd=Date.now());function Rk(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ys(Dk(s,n.value),e,5,[s])};return n.value=t,n.attached=Pk(),n}function Dk(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 fg=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Lk=(t,e,n,s,i,r)=>{const o=i==="svg";e==="class"?wk(t,s,o):e==="style"?Tk(t,n,s):rr(e)?bu(e)||xk(t,e,n,s,r):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Mk(t,e,s,o))?(cg(t,e,s),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&lg(t,e,s,o,r,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Mt(s))?cg(t,Ce(e),s,r,e):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),lg(t,e,s,o))};function Mk(t,e,n,s){if(s)return!!(e==="innerHTML"||e==="textContent"||e in t&&fg(e)&&It(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return fg(e)&&Mt(n)?!1:e in t}const hg={};function Y1(t,e,n){let s=Ni(t,e);al(s)&&(s=Xt({},s,e));class i extends Fu{constructor(o){super(s,o,n)}}return i.def=s,i}const $k=((t,e)=>Y1(t,e,l0)),Fk=typeof HTMLElement<"u"?HTMLElement:class{};class Fu extends Fk{constructor(e,n={},s=Xc){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!==Xc?this._root=this.shadowRoot:e.shadowRoot!==!1?(this.attachShadow(Xt({},e.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let e=this;for(;e=e&&(e.parentNode||e.host);)if(e instanceof Fu){this._parent=e;break}this._instance||(this._resolved?this._mount(this._def):e&&e._pendingResolve?this._pendingResolve=e._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(e=this._parent){e&&(this._instance.parent=e._instance,this._inheritParentContext(e))}_inheritParentContext(e=this._parent){e&&this._app&&Object.setPrototypeOf(this._app._context.provides,e._instance.provides)}disconnectedCallback(){this._connected=!1,Wr(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(e){for(const n of e)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),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]=Va(this._props[l])),(a||(a=Object.create(null)))[Ce(l)]=!0)}this._numberProps=a,this._resolveProps(s),this.shadowRoot&&this._applyStyles(o),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,e(this._def=s,!0)}):e(this._def)}_mount(e){this._app=this._createApp(e),this._inheritParentContext(),e.configureApp&&e.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)pe(this,s)||Object.defineProperty(this,s,{get:()=>jn(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(Ce))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!0)}})}_setAttr(e){if(e.startsWith("data-v-"))return;const n=this.hasAttribute(e);let s=n?this.getAttribute(e):hg;const i=Ce(e);n&&this._numberProps&&this._numberProps[i]&&(s=Va(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===hg?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&&(this._processMutations(r.takeRecords()),r.disconnect()),n===!0?this.setAttribute(Sn(e),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Sn(e),n+""):n||this.removeAttribute(Sn(e)),r&&r.observe(this,{attributes:!0})}}_update(){const e=this._createVNode();this._app&&(e.appContext=this._app._context),a0(e,this._root)}_createVNode(){const e={};this.shadowRoot||(e.onVnodeMounted=e.onVnodeUpdated=this._renderSlots.bind(this));const n=S(this._def,Xt(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,al(o[0])?Xt({detail:o},o[0]):{detail:o}))};s.emit=(r,...o)=>{i(r,o),Sn(r)!==r&&i(Sn(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._getSlots(),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)}}_getSlots(){const e=[this];return this._teleportTargets&&e.push(...this._teleportTargets),e.reduce((n,s)=>(n.push(...Array.from(s.querySelectorAll("slot"))),n),[])}_injectChildStyle(e){this._applyStyles(e.styles,e)}_removeChildStyle(e){}}function Z1(t){const e=dn(),n=e&&e.ce;return n||null}function Vk(){const t=Z1();return t&&t.shadowRoot}function Uk(t="$style"){{const e=dn();if(!e)return Zt;const n=e.type.__cssModules;if(!n)return Zt;const s=n[t];return s||Zt}}const J1=new WeakMap,Q1=new WeakMap,zc=Symbol("_moveCb"),pg=Symbol("_enterCb"),Hk=t=>(delete t.props.mode,t),jk=Hk({name:"TransitionGroup",props:Xt({},W1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=dn(),s=Zh();let i,r;return Du(()=>{if(!i.length)return;const o=t.moveClass||`${t.name||"v"}-move`;if(!qk(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(Wk),i.forEach(Gk);const a=i.filter(Kk);qf(n.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;Ks(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[zc]=f=>{f&&f.target!==c||(!f||f.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[zc]=null,Ui(c,o))};c.addEventListener("transitionend",d)}),i=[]}),()=>{const o=ie(t),a=K1(o);let l=o.tag||rt;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),Oi(u,ko(u,a,s,n)),J1.set(u,u.el.getBoundingClientRect()))}r=e.default?Pu(e.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&Oi(u,ko(u,a,s,n))}return S(l,null,r)}}}),Bk=jk;function Wk(t){const e=t.el;e[zc]&&e[zc](),e[pg]&&e[pg]()}function Gk(t){Q1.set(t,t.el.getBoundingClientRect())}function Kk(t){const e=J1.get(t),n=Q1.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 qk(t,e,n){const s=t.cloneNode(),i=t[To];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}=q1(s);return r.removeChild(s),o}const sr=t=>{const e=t.props["onUpdate:modelValue"]||!1;return yt(e)?n=>Or(e,n):e};function zk(t){t.target.composing=!0}function mg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ps=Symbol("_assign"),si={created(t,{modifiers:{lazy:e,trim:n,number:s}},i){t[ps]=sr(i);const r=s||i.props&&i.props.type==="number";gi(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=Fa(a)),t[ps](a)}),n&&gi(t,"change",()=>{t.value=t.value.trim()}),e||(gi(t,"compositionstart",zk),gi(t,"compositionend",mg),gi(t,"change",mg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(t[ps]=sr(o),t.composing)return;const a=(r||t.type==="number")&&!/^0\d/.test(t.value)?Fa(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))}},fp={deep:!0,created(t,e,n){t[ps]=sr(n),gi(t,"change",()=>{const s=t._modelValue,i=Ao(t),r=t.checked,o=t[ps];if(yt(s)){const a=cl(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(or(s)){const a=new Set(s);r?a.add(i):a.delete(i),o(a)}else o(t0(t,r))})},mounted:gg,beforeUpdate(t,e,n){t[ps]=sr(n),gg(t,e,n)}};function gg(t,{value:e,oldValue:n},s){t._modelValue=e;let i;if(yt(e))i=cl(e,s.props.value)>-1;else if(or(e))i=e.has(s.props.value);else{if(e===n)return;i=ki(e,t0(t,!0))}t.checked!==i&&(t.checked=i)}const hp={created(t,{value:e},n){t.checked=ki(e,n.props.value),t[ps]=sr(n),gi(t,"change",()=>{t[ps](Ao(t))})},beforeUpdate(t,{value:e,oldValue:n},s){t[ps]=sr(s),e!==n&&(t.checked=ki(e,s.props.value))}},pp={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const i=or(e);gi(t,"change",()=>{const r=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>n?Fa(Ao(o)):Ao(o));t[ps](t.multiple?i?new Set(r):r:r[0]),t._assigning=!0,Wr(()=>{t._assigning=!1})}),t[ps]=sr(s)},mounted(t,{value:e}){yg(t,e)},beforeUpdate(t,e,n){t[ps]=sr(n)},updated(t,{value:e}){t._assigning||yg(t,e)}};function yg(t,e){const n=t.multiple,s=yt(e);if(!(n&&!s&&!or(e))){for(let i=0,r=t.options.length;i<r;i++){const o=t.options[i],a=Ao(o);if(n)if(s){const l=typeof a;l==="string"||l==="number"?o.selected=e.some(c=>String(c)===String(a)):o.selected=cl(e,a)>-1}else o.selected=e.has(a);else if(ki(Ao(o),e)){t.selectedIndex!==i&&(t.selectedIndex=i);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Ao(t){return"_value"in t?t._value:t.value}function t0(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const e0={created(t,e,n){Ul(t,e,n,null,"created")},mounted(t,e,n){Ul(t,e,n,null,"mounted")},beforeUpdate(t,e,n,s){Ul(t,e,n,s,"beforeUpdate")},updated(t,e,n,s){Ul(t,e,n,s,"updated")}};function n0(t,e){switch(t){case"SELECT":return pp;case"TEXTAREA":return si;default:switch(e){case"checkbox":return fp;case"radio":return hp;default:return si}}}function Ul(t,e,n,s,i){const o=n0(t.tagName,n.props&&n.props.type)[i];o&&o(t,e,n,s)}function Xk(){si.getSSRProps=({value:t})=>({value:t}),hp.getSSRProps=({value:t},e)=>{if(e.props&&ki(e.props.value,t))return{checked:!0}},fp.getSSRProps=({value:t},e)=>{if(yt(t)){if(e.props&&cl(t,e.props.value)>-1)return{checked:!0}}else if(or(t)){if(e.props&&t.has(e.props.value))return{checked:!0}}else if(t)return{checked:!0}},e0.getSSRProps=(t,e)=>{if(typeof e.type!="string")return;const n=n0(e.type.toUpperCase(),e.props&&e.props.type);if(n.getSSRProps)return n.getSSRProps(t,e)}}const Yk=["ctrl","shift","alt","meta"],Zk={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)=>Yk.some(n=>t[`${n}Key`]&&!e.includes(n))},Kn=(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=Zk[e[o]];if(a&&a(i,e))return}return t(i,...r)}))},Jk={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},s0=(t,e)=>{const n=t._withKeys||(t._withKeys={}),s=e.join(".");return n[s]||(n[s]=(i=>{if(!("key"in i))return;const r=Sn(i.key);if(e.some(o=>o===r||Jk[o]===r))return t(i)}))},i0=Xt({patchProp:Lk},vk);let Ta,bg=!1;function r0(){return Ta||(Ta=y1(i0))}function o0(){return Ta=bg?Ta:b1(i0),bg=!0,Ta}const a0=((...t)=>{r0().render(...t)}),Qk=((...t)=>{o0().hydrate(...t)}),Xc=((...t)=>{const e=r0().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=u0(s);if(!i)return;const r=e._component;!It(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,c0(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e}),l0=((...t)=>{const e=o0().createApp(...t),{mount:n}=e;return e.mount=s=>{const i=u0(s);if(i)return n(i,!0,c0(i))},e});function c0(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function u0(t){return Mt(t)?document.querySelector(t):t}let vg=!1;const tC=()=>{vg||(vg=!0,Xk(),kk())},eC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:zv,BaseTransitionPropsValidators:Jh,Comment:Be,DeprecationTypes:gk,EffectScope:Bh,ErrorCodes:Iw,ErrorTypeStrings:ck,Fragment:rt,KeepAlive:n3,ReactiveEffect:Ua,Static:Nr,Suspense:W3,Teleport:Fw,Text:_i,TrackOpTypes:ww,Transition:G1,TransitionGroup:Bk,TriggerOpTypes:kw,VueElement:Fu,assertNumber:xw,callWithAsyncErrorHandling:ys,callWithErrorHandling:jo,camelize:Ce,capitalize:ar,cloneVNode:ni,compatUtils:mk,computed:tn,createApp:Xc,createBlock:pt,createCommentVNode:vt,createElementBlock:F,createElementVNode:N,createHydrationRenderer:b1,createPropsRestProxy:b3,createRenderer:y1,createSSRApp:l0,createSlots:fl,createStaticVNode:J3,createTextVNode:Ds,createVNode:S,customRef:Rv,defineAsyncComponent:t3,defineComponent:Ni,defineCustomElement:Y1,defineEmits:l3,defineExpose:c3,defineModel:f3,defineOptions:u3,defineProps:a3,defineSSRCustomElement:$k,defineSlots:d3,devtools:uk,effect:KE,effectScope:wu,getCurrentInstance:dn,getCurrentScope:Wh,getCurrentWatcher:Cw,getTransitionRawChildren:Pu,guardReactiveProps:D1,h:Zs,handleError:Br,hasInjectionContext:l1,hydrate:Qk,hydrateOnIdle:zw,hydrateOnInteraction:Jw,hydrateOnMediaQuery:Zw,hydrateOnVisible:Yw,initCustomFormatter:ok,initDirectivesForSSR:tC,inject:hs,isMemoSame:U1,isProxy:Ou,isReactive:Qs,isReadonly:Ai,isRef:Ie,isRuntimeOnly:sk,isShallow:Qn,isVNode:xi,markRaw:xu,mergeDefaults:g3,mergeModels:y3,mergeProps:po,nextTick:Wr,normalizeClass:Gt,normalizeProps:fo,normalizeStyle:Uo,onActivated:Yv,onBeforeMount:Qv,onBeforeUnmount:Lu,onBeforeUpdate:tp,onDeactivated:Zv,onErrorCaptured:s1,onMounted:Bo,onRenderTracked:n1,onRenderTriggered:e1,onScopeDispose:gv,onServerPrefetch:t1,onUnmounted:dl,onUpdated:Du,onWatcherCleanup:Mv,openBlock:O,popScopeId:Lw,provide:ka,proxyRefs:Xh,pushScopeId:Dw,queuePostFlushCb:Ba,reactive:Ho,readonly:Dc,ref:fs,registerRuntimeCompiler:nk,render:a0,renderList:fe,renderSlot:de,resolveComponent:w,resolveDirective:sp,resolveDynamicComponent:np,resolveFilter:pk,resolveTransitionHooks:ko,setBlockTracking:za,setDevtoolsHook:dk,setTransitionHooks:Oi,shallowReactive:zh,shallowReadonly:fw,shallowRef:Iu,ssrContextKey:E1,ssrUtils:hk,stop:qE,toDisplayString:nt,toHandlerKey:Ar,toHandlers:r3,toRaw:ie,toRef:_w,toRefs:Dv,toValue:mw,transformVNodeArgs:Y3,triggerRef:pw,unref:jn,useAttrs:m3,useCssModule:Uk,useCssVars:dp,useHost:Z1,useId:Uw,useModel:M3,useSSRContext:w1,useShadowRoot:Vk,useSlots:p3,useTemplateRef:Hw,useTransitionState:Zh,vModelCheckbox:fp,vModelDynamic:e0,vModelRadio:hp,vModelSelect:pp,vModelText:si,vShow:Kc,version:H1,warn:lk,watch:ts,watchEffect:k1,watchPostEffect:D3,watchSyncEffect:C1,withAsyncContext:v3,withCtx:L,withDefaults:h3,withDirectives:bs,withKeys:s0,withMemo:ak,withModifiers:Kn,withScopeId:Mw},Symbol.toStringTag,{value:"Module"}));/*!
|
||
* pinia v3.0.3
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let d0;const Vu=t=>d0=t,f0=Symbol();function Xf(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Aa;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Aa||(Aa={}));function nC(){const t=wu(!0),e=t.run(()=>fs({}));let n=[],s=[];const i=xu({install(r){Vu(i),i._a=r,r.provide(f0,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 h0=()=>{};function _g(t,e,n,s=h0){t.push(e);const i=()=>{const r=t.indexOf(e);r>-1&&(t.splice(r,1),s())};return!n&&Wh()&&gv(i),i}function Zr(t,...e){t.slice().forEach(n=>{n(...e)})}const sC=t=>t(),Sg=Symbol(),Wd=Symbol();function Yf(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];Xf(i)&&Xf(s)&&t.hasOwnProperty(n)&&!Ie(s)&&!Qs(s)?t[n]=Yf(i,s):t[n]=s}return t}const iC=Symbol();function rC(t){return!Xf(t)||!Object.prototype.hasOwnProperty.call(t,iC)}const{assign:Hi}=Object;function oC(t){return!!(Ie(t)&&t.effect)}function aC(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=Dv(n.state.value[t]);return Hi(u,r,Object.keys(o||{}).reduce((d,f)=>(d[f]=xu(tn(()=>{Vu(n);const h=n._s.get(t);return o[f].call(h,h)})),d),{}))}return l=p0(t,c,e,n,s,!0),l}function p0(t,e,n={},s,i,r){let o;const a=Hi({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=s.state.value[t];!r&&!p&&(s.state.value[t]={}),fs({});let m;function v(D){let C;c=u=!1,typeof D=="function"?(D(s.state.value[t]),C={type:Aa.patchFunction,storeId:t,events:h}):(Yf(s.state.value[t],D),C={type:Aa.patchObject,payload:D,storeId:t,events:h});const R=m=Symbol();Wr().then(()=>{m===R&&(c=!0)}),u=!0,Zr(d,C,s.state.value[t])}const y=r?function(){const{state:C}=n,R=C?C():{};this.$patch(j=>{Hi(j,R)})}:h0;function _(){o.stop(),d=[],f=[],s._s.delete(t)}const g=(D,C="")=>{if(Sg in D)return D[Wd]=C,D;const R=function(){Vu(s);const j=Array.from(arguments),M=[],H=[];function z(Q){M.push(Q)}function ot(Q){H.push(Q)}Zr(f,{args:j,name:R[Wd],store:E,after:z,onError:ot});let W;try{W=D.apply(this&&this.$id===t?this:E,j)}catch(Q){throw Zr(H,Q),Q}return W instanceof Promise?W.then(Q=>(Zr(M,Q),Q)).catch(Q=>(Zr(H,Q),Promise.reject(Q))):(Zr(M,W),W)};return R[Sg]=!0,R[Wd]=C,R},b={_p:s,$id:t,$onAction:_g.bind(null,f),$patch:v,$reset:y,$subscribe(D,C={}){const R=_g(d,D,C.detached,()=>j()),j=o.run(()=>ts(()=>s.state.value[t],M=>{(C.flush==="sync"?u:c)&&D({storeId:t,type:Aa.direct,events:h},M)},Hi({},l,C)));return R},$dispose:_},E=Ho(b);s._s.set(t,E);const I=(s._a&&s._a.runWithContext||sC)(()=>s._e.run(()=>(o=wu()).run(()=>e({action:g}))));for(const D in I){const C=I[D];if(Ie(C)&&!oC(C)||Qs(C))r||(p&&rC(C)&&(Ie(C)?C.value=p[D]:Yf(C,p[D])),s.state.value[t][D]=C);else if(typeof C=="function"){const R=g(C,D);I[D]=R,a.actions[D]=C}}return Hi(E,I),Hi(ie(E),I),Object.defineProperty(E,"$state",{get:()=>s.state.value[t],set:D=>{v(C=>{Hi(C,D)})}}),s._p.forEach(D=>{Hi(E,o.run(()=>D({store:E,app:s._a,pinia:s,options:a})))}),p&&r&&n.hydrate&&n.hydrate(E.$state,p),c=!0,u=!0,E}/*! #__NO_SIDE_EFFECTS__ */function Fs(t,e,n){let s;const i=typeof e=="function";s=i?n:e;function r(o,a){const l=l1();return o=o||(l?hs(f0,null):null),o&&Vu(o),o=d0,o._s.has(t)||(i?p0(t,e,s,o):aC(t,s,o)),o._s.get(t)}return r.$id=t,r}const Xa=Fs("NotificationsStore",{actions:{add(t){const e={text:t.text,timeout:t.timeout,topic:t.topic,type:t.type};if(e.topic){const n=this.list.findIndex(s=>s.topic===e.topic);if(n>=0){this.list.splice(n,1,e);return}}this.list.push(e),t.timeout>0&&setTimeout(()=>{this.remove(e)},t.timeout)},remove(t){const e=this.list.indexOf(t);e!==-1&&this.list.splice(e,1)}},getters:{isEmpty:t=>t.list.length===0},state:()=>({list:[]})}),et=(t,e)=>{const n=t.__vccOpts||t;for(const[s,i]of e)n[s]=i;return n},lC={name:"ListNotifications",setup(){return{notificationsStore:Xa()}}},cC={key:0,class:"notifications"},uC={class:"columns is-centered"},dC={class:"column is-half"},fC=["onClick"],hC=["textContent"];function pC(t,e,n,s,i,r){return s.notificationsStore.isEmpty?vt("",!0):(O(),F("section",cC,[N("div",uC,[N("div",dC,[(O(!0),F(rt,null,fe(s.notificationsStore.list,(o,a)=>(O(),F("div",{key:a,class:Gt(["notification",o.type?`is-${o.type}`:""])},[N("button",{class:"delete",onClick:l=>s.notificationsStore.remove(o)},null,8,fC),N("div",{class:"text",textContent:nt(o.text)},null,8,hC)],2))),128))])])]))}const mC=et(lC,[["render",pC],["__scopeId","data-v-1e835d55"]]),gC={name:"ControlPinField",props:{placeholder:{required:!0,type:String}},emits:["input"],data(){return{value:""}},mounted(){setTimeout(()=>{this.$refs.input.focus()},10)},methods:{validate(t){const{validity:e}=t.target,n=e.patternMismatch||e.valueMissing;this.$emit("input",this.value,n)}}},yC={class:"field is-grouped"},bC={class:"control"},vC=["placeholder"];function _C(t,e,n,s,i,r){return O(),F("div",yC,[N("div",bC,[bs(N("input",{ref:"input","onUpdate:modelValue":e[0]||(e[0]=o=>i.value=o),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:n.placeholder,onInput:e[1]||(e[1]=(...o)=>r.validate&&r.validate(...o))},null,40,vC),[[si,i.value]])]),de(t.$slots,"default")])}const m0=et(gC,[["render",_C]]),SC={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")}}},EC={key:0,class:"modal is-active"},wC={class:"modal-content"},kC={class:"card is-shadowless"},CC={class:"card-header"},TC=["textContent"],AC={class:"card-header-icon"},OC={class:"card-content"},xC={key:0,class:"card-footer"},IC=["disabled","onClick"],NC=["textContent"];function PC(t,e,n,s,i,r){const o=w("mdicon");return O(),pt(G1,{name:"fade"},{default:L(()=>[n.show?(O(),F("div",EC,[N("div",{class:"modal-background",onClick:e[0]||(e[0]=a=>t.$emit("close"))}),N("div",wC,[N("div",kC,[N("div",CC,[n.title?(O(),F("div",{key:0,class:"card-header-title",textContent:nt(n.title)},null,8,TC)):vt("",!0),N("div",AC,[N("button",{class:"delete",onClick:e[1]||(e[1]=a=>t.$emit("close"))})])]),N("div",OC,[de(t.$slots,"content",{},void 0,!0)]),n.actions.length?(O(),F("footer",xC,[(O(!0),F(rt,null,fe(n.actions,a=>(O(),F("button",{key:a.key,class:Gt(["card-footer-item is-small",{"is-disabled":a.disabled}]),disabled:a.disabled,onClick:a.handler},[S(o,{class:"icon",name:a.icon,size:"16"},null,8,["name"]),N("span",{class:"is-size-7",textContent:nt(t.$t(a.key))},null,8,NC)],10,IC))),128))])):vt("",!0)])])])):vt("",!0)]),_:3})}const lr=et(SC,[["render",PC],["__scopeId","data-v-45d42f1a"]]);function g0(t,e){return function(){return t.apply(e,arguments)}}const{toString:RC}=Object.prototype,{getPrototypeOf:mp}=Object,{iterator:Uu,toStringTag:y0}=Symbol,Hu=(t=>e=>{const n=RC.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Vs=t=>(t=t.toLowerCase(),e=>Hu(e)===t),ju=t=>e=>typeof e===t,{isArray:Wo}=Array,Oo=ju("undefined");function ml(t){return t!==null&&!Oo(t)&&t.constructor!==null&&!Oo(t.constructor)&&Wn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const b0=Vs("ArrayBuffer");function DC(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&b0(t.buffer),e}const LC=ju("string"),Wn=ju("function"),v0=ju("number"),gl=t=>t!==null&&typeof t=="object",MC=t=>t===!0||t===!1,hc=t=>{if(Hu(t)!=="object")return!1;const e=mp(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(y0 in t)&&!(Uu in t)},$C=t=>{if(!gl(t)||ml(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},FC=Vs("Date"),VC=Vs("File"),UC=Vs("Blob"),HC=Vs("FileList"),jC=t=>gl(t)&&Wn(t.pipe),BC=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Wn(t.append)&&((e=Hu(t))==="formdata"||e==="object"&&Wn(t.toString)&&t.toString()==="[object FormData]"))},WC=Vs("URLSearchParams"),[GC,KC,qC,zC]=["ReadableStream","Request","Response","Headers"].map(Vs),XC=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yl(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,i;if(typeof t!="object"&&(t=[t]),Wo(t))for(s=0,i=t.length;s<i;s++)e.call(null,t[s],s,t);else{if(ml(t))return;const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(s=0;s<o;s++)a=r[s],e.call(null,t[a],a,t)}}function _0(t,e){if(ml(t))return null;e=e.toLowerCase();const n=Object.keys(t);let s=n.length,i;for(;s-- >0;)if(i=n[s],e===i.toLowerCase())return i;return null}const Sr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,S0=t=>!Oo(t)&&t!==Sr;function Zf(){const{caseless:t,skipUndefined:e}=S0(this)&&this||{},n={},s=(i,r)=>{const o=t&&_0(n,r)||r;hc(n[o])&&hc(i)?n[o]=Zf(n[o],i):hc(i)?n[o]=Zf({},i):Wo(i)?n[o]=i.slice():(!e||!Oo(i))&&(n[o]=i)};for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&yl(arguments[i],s);return n}const YC=(t,e,n,{allOwnKeys:s}={})=>(yl(e,(i,r)=>{n&&Wn(i)?t[r]=g0(i,n):t[r]=i},{allOwnKeys:s}),t),ZC=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),JC=(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)},QC=(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&&mp(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},tT=(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},eT=t=>{if(!t)return null;if(Wo(t))return t;let e=t.length;if(!v0(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"&&mp(Uint8Array)),sT=(t,e)=>{const s=(t&&t[Uu]).call(t);let i;for(;(i=s.next())&&!i.done;){const r=i.value;e.call(t,r[0],r[1])}},iT=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},rT=Vs("HTMLFormElement"),oT=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,i){return s.toUpperCase()+i}),Eg=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),aT=Vs("RegExp"),E0=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};yl(n,(i,r)=>{let o;(o=e(i,r,t))!==!1&&(s[r]=o||i)}),Object.defineProperties(t,s)},lT=t=>{E0(t,(e,n)=>{if(Wn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(Wn(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+"'")})}})},cT=(t,e)=>{const n={},s=i=>{i.forEach(r=>{n[r]=!0})};return Wo(t)?s(t):s(String(t).split(e)),n},uT=()=>{},dT=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function fT(t){return!!(t&&Wn(t.append)&&t[y0]==="FormData"&&t[Uu])}const hT=t=>{const e=new Array(10),n=(s,i)=>{if(gl(s)){if(e.indexOf(s)>=0)return;if(ml(s))return s;if(!("toJSON"in s)){e[i]=s;const r=Wo(s)?[]:{};return yl(s,(o,a)=>{const l=n(o,i+1);!Oo(l)&&(r[a]=l)}),e[i]=void 0,r}}return s};return n(t,0)},pT=Vs("AsyncFunction"),mT=t=>t&&(gl(t)||Wn(t))&&Wn(t.then)&&Wn(t.catch),w0=((t,e)=>t?setImmediate:e?((n,s)=>(Sr.addEventListener("message",({source:i,data:r})=>{i===Sr&&r===n&&s.length&&s.shift()()},!1),i=>{s.push(i),Sr.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Wn(Sr.postMessage)),gT=typeof queueMicrotask<"u"?queueMicrotask.bind(Sr):typeof process<"u"&&process.nextTick||w0,yT=t=>t!=null&&Wn(t[Uu]),Y={isArray:Wo,isArrayBuffer:b0,isBuffer:ml,isFormData:BC,isArrayBufferView:DC,isString:LC,isNumber:v0,isBoolean:MC,isObject:gl,isPlainObject:hc,isEmptyObject:$C,isReadableStream:GC,isRequest:KC,isResponse:qC,isHeaders:zC,isUndefined:Oo,isDate:FC,isFile:VC,isBlob:UC,isRegExp:aT,isFunction:Wn,isStream:jC,isURLSearchParams:WC,isTypedArray:nT,isFileList:HC,forEach:yl,merge:Zf,extend:YC,trim:XC,stripBOM:ZC,inherits:JC,toFlatObject:QC,kindOf:Hu,kindOfTest:Vs,endsWith:tT,toArray:eT,forEachEntry:sT,matchAll:iT,isHTMLForm:rT,hasOwnProperty:Eg,hasOwnProp:Eg,reduceDescriptors:E0,freezeMethods:lT,toObjectSet:cT,toCamelCase:oT,noop:uT,toFiniteNumber:dT,findKey:_0,global:Sr,isContextDefined:S0,isSpecCompliantForm:fT,toJSONObject:hT,isAsyncFn:pT,isThenable:mT,setImmediate:w0,asap:gT,isIterable:yT};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)}Y.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:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const k0=Bt.prototype,C0={};["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=>{C0[t]={value:t}});Object.defineProperties(Bt,C0);Object.defineProperty(k0,"isAxiosError",{value:!0});Bt.from=(t,e,n,s,i,r)=>{const o=Object.create(k0);Y.toFlatObject(t,o,function(u){return u!==Error.prototype},c=>c!=="isAxiosError");const a=t&&t.message?t.message:"Error",l=e==null&&t?t.code:e;return Bt.call(o,a,l,n,s,i),t&&o.cause==null&&Object.defineProperty(o,"cause",{value:t,configurable:!0}),o.name=t&&t.name||"Error",r&&Object.assign(o,r),o};const bT=null;function Jf(t){return Y.isPlainObject(t)||Y.isArray(t)}function T0(t){return Y.endsWith(t,"[]")?t.slice(0,-2):t}function wg(t,e,n){return t?t.concat(e).map(function(i,r){return i=T0(i),!n&&r?"["+i+"]":i}).join(n?".":""):e}function vT(t){return Y.isArray(t)&&!t.some(Jf)}const _T=Y.toFlatObject(Y,{},null,function(e){return/^is[A-Z]/.test(e)});function Bu(t,e,n){if(!Y.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!Y.isUndefined(v[m])});const s=n.metaTokens,i=n.visitor||u,r=n.dots,o=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(e);if(!Y.isFunction(i))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(Y.isDate(p))return p.toISOString();if(Y.isBoolean(p))return p.toString();if(!l&&Y.isBlob(p))throw new Bt("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(p)||Y.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,v){let y=p;if(p&&!v&&typeof p=="object"){if(Y.endsWith(m,"{}"))m=s?m:m.slice(0,-2),p=JSON.stringify(p);else if(Y.isArray(p)&&vT(p)||(Y.isFileList(p)||Y.endsWith(m,"[]"))&&(y=Y.toArray(p)))return m=T0(m),y.forEach(function(g,b){!(Y.isUndefined(g)||g===null)&&e.append(o===!0?wg([m],b,r):o===null?m:m+"[]",c(g))}),!1}return Jf(p)?!0:(e.append(wg(v,m,r),c(p)),!1)}const d=[],f=Object.assign(_T,{defaultVisitor:u,convertValue:c,isVisitable:Jf});function h(p,m){if(!Y.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(p),Y.forEach(p,function(y,_){(!(Y.isUndefined(y)||y===null)&&i.call(e,y,Y.isString(_)?_.trim():_,m,f))===!0&&h(y,m?m.concat(_):[_])}),d.pop()}}if(!Y.isObject(t))throw new TypeError("data must be an object");return h(t),e}function kg(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function gp(t,e){this._pairs=[],t&&Bu(t,this,e)}const A0=gp.prototype;A0.append=function(e,n){this._pairs.push([e,n])};A0.toString=function(e){const n=e?function(s){return e.call(this,s,kg)}:kg;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function ST(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function O0(t,e,n){if(!e)return t;const s=n&&n.encode||ST;Y.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let r;if(i?r=i(e,n):r=Y.isURLSearchParams(e)?e.toString():new gp(e,n).toString(s),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class Cg{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){Y.forEach(this.handlers,function(s){s!==null&&e(s)})}}const x0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ET=typeof URLSearchParams<"u"?URLSearchParams:gp,wT=typeof FormData<"u"?FormData:null,kT=typeof Blob<"u"?Blob:null,CT={isBrowser:!0,classes:{URLSearchParams:ET,FormData:wT,Blob:kT},protocols:["http","https","file","blob","url","data"]},yp=typeof window<"u"&&typeof document<"u",Qf=typeof navigator=="object"&&navigator||void 0,TT=yp&&(!Qf||["ReactNative","NativeScript","NS"].indexOf(Qf.product)<0),AT=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",OT=yp&&window.location.href||"http://localhost",xT=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yp,hasStandardBrowserEnv:TT,hasStandardBrowserWebWorkerEnv:AT,navigator:Qf,origin:OT},Symbol.toStringTag,{value:"Module"})),En={...xT,...CT};function IT(t,e){return Bu(t,new En.classes.URLSearchParams,{visitor:function(n,s,i,r){return En.isNode&&Y.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...e})}function NT(t){return Y.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function PT(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 I0(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&&Y.isArray(i)?i.length:o,l?(Y.hasOwnProp(i,o)?i[o]=[i[o],s]:i[o]=s,!a):((!i[o]||!Y.isObject(i[o]))&&(i[o]=[]),e(n,s,i[o],r)&&Y.isArray(i[o])&&(i[o]=PT(i[o])),!a)}if(Y.isFormData(t)&&Y.isFunction(t.entries)){const n={};return Y.forEachEntry(t,(s,i)=>{e(NT(s),i,n,0)}),n}return null}function RT(t,e,n){if(Y.isString(t))try{return(e||JSON.parse)(t),Y.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const bl={transitional:x0,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const s=n.getContentType()||"",i=s.indexOf("application/json")>-1,r=Y.isObject(e);if(r&&Y.isHTMLForm(e)&&(e=new FormData(e)),Y.isFormData(e))return i?JSON.stringify(I0(e)):e;if(Y.isArrayBuffer(e)||Y.isBuffer(e)||Y.isStream(e)||Y.isFile(e)||Y.isBlob(e)||Y.isReadableStream(e))return e;if(Y.isArrayBufferView(e))return e.buffer;if(Y.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 IT(e,this.formSerializer).toString();if((a=Y.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Bu(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||i?(n.setContentType("application/json",!1),RT(e)):e}],transformResponse:[function(e){const n=this.transitional||bl.transitional,s=n&&n.forcedJSONParsing,i=this.responseType==="json";if(Y.isResponse(e)||Y.isReadableStream(e))return e;if(e&&Y.isString(e)&&(s&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}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:En.classes.FormData,Blob:En.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],t=>{bl.headers[t]={}});const DT=Y.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"]),LT=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]&&DT[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Tg=Symbol("internals");function sa(t){return t&&String(t).trim().toLowerCase()}function pc(t){return t===!1||t==null?t:Y.isArray(t)?t.map(pc):String(t)}function MT(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 $T=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Gd(t,e,n,s,i){if(Y.isFunction(s))return s.call(this,e,n);if(i&&(e=n),!!Y.isString(e)){if(Y.isString(s))return e.indexOf(s)!==-1;if(Y.isRegExp(s))return s.test(e)}}function FT(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function VT(t,e){const n=Y.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 Gn=class{constructor(e){e&&this.set(e)}set(e,n,s){const i=this;function r(a,l,c){const u=sa(l);if(!u)throw new Error("header name must be a non-empty string");const d=Y.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=pc(a))}const o=(a,l)=>Y.forEach(a,(c,u)=>r(c,u,l));if(Y.isPlainObject(e)||e instanceof this.constructor)o(e,n);else if(Y.isString(e)&&(e=e.trim())&&!$T(e))o(LT(e),n);else if(Y.isObject(e)&&Y.isIterable(e)){let a={},l,c;for(const u of e){if(!Y.isArray(u))throw TypeError("Object iterator must return a key-value pair");a[c=u[0]]=(l=a[c])?Y.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}o(a,n)}else e!=null&&r(n,e,s);return this}get(e,n){if(e=sa(e),e){const s=Y.findKey(this,e);if(s){const i=this[s];if(!n)return i;if(n===!0)return MT(i);if(Y.isFunction(n))return n.call(this,i,s);if(Y.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=sa(e),e){const s=Y.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Gd(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let i=!1;function r(o){if(o=sa(o),o){const a=Y.findKey(s,o);a&&(!n||Gd(s,s[a],a,n))&&(delete s[a],i=!0)}}return Y.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||Gd(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){const n=this,s={};return Y.forEach(this,(i,r)=>{const o=Y.findKey(s,r);if(o){n[o]=pc(i),delete n[r];return}const a=e?FT(r):String(r).trim();a!==r&&delete n[r],n[a]=pc(i),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Y.forEach(this,(s,i)=>{s!=null&&s!==!1&&(n[i]=e&&Y.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(i=>s.set(i)),s}static accessor(e){const s=(this[Tg]=this[Tg]={accessors:{}}).accessors,i=this.prototype;function r(o){const a=sa(o);s[a]||(VT(i,o),s[a]=!0)}return Y.isArray(e)?e.forEach(r):r(e),this}};Gn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Y.reduceDescriptors(Gn.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[n]=s}}});Y.freezeMethods(Gn);function Kd(t,e){const n=this||bl,s=e||n,i=Gn.from(s.headers);let r=s.data;return Y.forEach(t,function(a){r=a.call(n,r,i.normalize(),e?e.status:void 0)}),i.normalize(),r}function N0(t){return!!(t&&t.__CANCEL__)}function Go(t,e,n){Bt.call(this,t??"canceled",Bt.ERR_CANCELED,e,n),this.name="CanceledError"}Y.inherits(Go,Bt,{__CANCEL__:!0});function P0(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 UT(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function HT(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 jT(t,e){let n=0,s=1e3/e,i,r;const o=(c,u=Date.now())=>{n=u,i=null,r&&(clearTimeout(r),r=null),t(...c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=s?o(c,u):(i=c,r||(r=setTimeout(()=>{r=null,o(i)},s-d)))},()=>i&&o(i)]}const Yc=(t,e,n=3)=>{let s=0;const i=HT(50,250);return jT(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)},Ag=(t,e)=>{const n=t!=null;return[s=>e[0]({lengthComputable:n,total:t,loaded:s}),e[1]]},Og=t=>(...e)=>Y.asap(()=>t(...e)),BT=En.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,En.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(En.origin),En.navigator&&/(msie|trident)/i.test(En.navigator.userAgent)):()=>!0,WT=En.hasStandardBrowserEnv?{write(t,e,n,s,i,r){const o=[t+"="+encodeURIComponent(e)];Y.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Y.isString(s)&&o.push("path="+s),Y.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 GT(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function KT(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function R0(t,e,n){let s=!GT(e);return t&&(s||n==!1)?KT(t,e):e}const xg=t=>t instanceof Gn?{...t}:t;function $r(t,e){e=e||{};const n={};function s(c,u,d,f){return Y.isPlainObject(c)&&Y.isPlainObject(u)?Y.merge.call({caseless:f},c,u):Y.isPlainObject(u)?Y.merge({},u):Y.isArray(u)?u.slice():u}function i(c,u,d,f){if(Y.isUndefined(u)){if(!Y.isUndefined(c))return s(void 0,c,d,f)}else return s(c,u,d,f)}function r(c,u){if(!Y.isUndefined(u))return s(void 0,u)}function o(c,u){if(Y.isUndefined(u)){if(!Y.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(xg(c),xg(u),d,!0)};return Y.forEach(Object.keys({...t,...e}),function(u){const d=l[u]||i,f=d(t[u],e[u],u);Y.isUndefined(f)&&d!==a||(n[u]=f)}),n}const D0=t=>{const e=$r({},t);let{data:n,withXSRFToken:s,xsrfHeaderName:i,xsrfCookieName:r,headers:o,auth:a}=e;if(e.headers=o=Gn.from(o),e.url=O0(R0(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),Y.isFormData(n)){if(En.hasStandardBrowserEnv||En.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(Y.isFunction(n.getHeaders)){const l=n.getHeaders(),c=["content-type","content-length"];Object.entries(l).forEach(([u,d])=>{c.includes(u.toLowerCase())&&o.set(u,d)})}}if(En.hasStandardBrowserEnv&&(s&&Y.isFunction(s)&&(s=s(e)),s||s!==!1&&BT(e.url))){const l=i&&r&&WT.read(r);l&&o.set(i,l)}return e},qT=typeof XMLHttpRequest<"u",zT=qT&&function(t){return new Promise(function(n,s){const i=D0(t);let r=i.data;const o=Gn.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 v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function y(){if(!v)return;const g=Gn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),E={data:!a||a==="text"||a==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:g,config:t,request:v};P0(function(I){n(I),m()},function(I){s(I),m()},E),v=null}"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(y)},v.onabort=function(){v&&(s(new Bt("Request aborted",Bt.ECONNABORTED,t,v)),v=null)},v.onerror=function(b){const E=b&&b.message?b.message:"Network Error",k=new Bt(E,Bt.ERR_NETWORK,t,v);k.event=b||null,s(k),v=null},v.ontimeout=function(){let b=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const E=i.transitional||x0;i.timeoutErrorMessage&&(b=i.timeoutErrorMessage),s(new Bt(b,E.clarifyTimeoutError?Bt.ETIMEDOUT:Bt.ECONNABORTED,t,v)),v=null},r===void 0&&o.setContentType(null),"setRequestHeader"in v&&Y.forEach(o.toJSON(),function(b,E){v.setRequestHeader(E,b)}),Y.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),a&&a!=="json"&&(v.responseType=i.responseType),c&&([f,p]=Yc(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([d,h]=Yc(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=g=>{v&&(s(!g||g.type?new Go(null,t,v):g),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const _=UT(i.url);if(_&&En.protocols.indexOf(_)===-1){s(new Bt("Unsupported protocol "+_+":",Bt.ERR_BAD_REQUEST,t));return}v.send(r||null)})},XT=(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 Go(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=()=>Y.asap(a),l}},YT=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},ZT=async function*(t,e){for await(const n of JT(t))yield*YT(n,e)},JT=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()}},Ig=(t,e,n,s)=>{const i=ZT(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})},Ng=64*1024,{isFunction:Hl}=Y,QT=(({Request:t,Response:e})=>({Request:t,Response:e}))(Y.global),{ReadableStream:Pg,TextEncoder:Rg}=Y.global,Dg=(t,...e)=>{try{return!!t(...e)}catch{return!1}},tA=t=>{t=Y.merge.call({skipUndefined:!0},QT,t);const{fetch:e,Request:n,Response:s}=t,i=e?Hl(e):typeof fetch=="function",r=Hl(n),o=Hl(s);if(!i)return!1;const a=i&&Hl(Pg),l=i&&(typeof Rg=="function"?(p=>m=>p.encode(m))(new Rg):async p=>new Uint8Array(await new n(p).arrayBuffer())),c=r&&a&&Dg(()=>{let p=!1;const m=new n(En.origin,{body:new Pg,method:"POST",get duplex(){return p=!0,"half"}}).headers.has("Content-Type");return p&&!m}),u=o&&a&&Dg(()=>Y.isReadableStream(new s("").body)),d={stream:u&&(p=>p.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(p=>{!d[p]&&(d[p]=(m,v)=>{let y=m&&m[p];if(y)return y.call(m);throw new Bt(`Response type '${p}' is not supported`,Bt.ERR_NOT_SUPPORT,v)})});const f=async p=>{if(p==null)return 0;if(Y.isBlob(p))return p.size;if(Y.isSpecCompliantForm(p))return(await new n(En.origin,{method:"POST",body:p}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(p)||Y.isArrayBuffer(p))return p.byteLength;if(Y.isURLSearchParams(p)&&(p=p+""),Y.isString(p))return(await l(p)).byteLength},h=async(p,m)=>{const v=Y.toFiniteNumber(p.getContentLength());return v??f(m)};return async p=>{let{url:m,method:v,data:y,signal:_,cancelToken:g,timeout:b,onDownloadProgress:E,onUploadProgress:k,responseType:I,headers:D,withCredentials:C="same-origin",fetchOptions:R}=D0(p),j=e||fetch;I=I?(I+"").toLowerCase():"text";let M=XT([_,g&&g.toAbortSignal()],b),H=null;const z=M&&M.unsubscribe&&(()=>{M.unsubscribe()});let ot;try{if(k&&c&&v!=="get"&&v!=="head"&&(ot=await h(D,y))!==0){let xt=new n(m,{method:"POST",body:y,duplex:"half"}),Lt;if(Y.isFormData(y)&&(Lt=xt.headers.get("content-type"))&&D.setContentType(Lt),xt.body){const[re,oe]=Ag(ot,Yc(Og(k)));y=Ig(xt.body,Ng,re,oe)}}Y.isString(C)||(C=C?"include":"omit");const W=r&&"credentials"in n.prototype,Q={...R,signal:M,method:v.toUpperCase(),headers:D.normalize().toJSON(),body:y,duplex:"half",credentials:W?C:void 0};H=r&&new n(m,Q);let it=await(r?j(H,R):j(m,Q));const St=u&&(I==="stream"||I==="response");if(u&&(E||St&&z)){const xt={};["status","statusText","headers"].forEach(ae=>{xt[ae]=it[ae]});const Lt=Y.toFiniteNumber(it.headers.get("content-length")),[re,oe]=E&&Ag(Lt,Yc(Og(E),!0))||[];it=new s(Ig(it.body,Ng,re,()=>{oe&&oe(),z&&z()}),xt)}I=I||"text";let qt=await d[Y.findKey(d,I)||"text"](it,p);return!St&&z&&z(),await new Promise((xt,Lt)=>{P0(xt,Lt,{data:qt,headers:Gn.from(it.headers),status:it.status,statusText:it.statusText,config:p,request:H})})}catch(W){throw z&&z(),W&&W.name==="TypeError"&&/Load failed|fetch/i.test(W.message)?Object.assign(new Bt("Network Error",Bt.ERR_NETWORK,p,H),{cause:W.cause||W}):Bt.from(W,W&&W.code,p,H)}}},eA=new Map,L0=t=>{let e=t?t.env:{};const{fetch:n,Request:s,Response:i}=e,r=[s,i,n];let o=r.length,a=o,l,c,u=eA;for(;a--;)l=r[a],c=u.get(l),c===void 0&&u.set(l,c=a?new Map:tA(e)),u=c;return c};L0();const th={http:bT,xhr:zT,fetch:{get:L0}};Y.forEach(th,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Lg=t=>`- ${t}`,nA=t=>Y.isFunction(t)||t===null||t===!1,M0={getAdapter:(t,e)=>{t=Y.isArray(t)?t:[t];const{length:n}=t;let s,i;const r={};for(let o=0;o<n;o++){s=t[o];let a;if(i=s,!nA(s)&&(i=th[(a=String(s)).toLowerCase()],i===void 0))throw new Bt(`Unknown adapter '${a}'`);if(i&&(Y.isFunction(i)||(i=i.get(e))))break;r[a||"#"+o]=i}if(!i){const o=Object.entries(r).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?o.length>1?`since :
|
||
`+o.map(Lg).join(`
|
||
`):" "+Lg(o[0]):"as no adapter specified";throw new Bt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:th};function qd(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Go(null,t)}function Mg(t){return qd(t),t.headers=Gn.from(t.headers),t.data=Kd.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),M0.getAdapter(t.adapter||bl.adapter,t)(t).then(function(s){return qd(t),s.data=Kd.call(t,t.transformResponse,s),s.headers=Gn.from(s.headers),s},function(s){return N0(s)||(qd(t),s&&s.response&&(s.response.data=Kd.call(t,t.transformResponse,s.response),s.response.headers=Gn.from(s.response.headers))),Promise.reject(s)})}const $0="1.12.2",Wu={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Wu[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const $g={};Wu.transitional=function(e,n,s){function i(r,o){return"[Axios v"+$0+"] 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&&!$g[o]&&($g[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,o,a):!0}};Wu.spelling=function(e){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function sA(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 mc={assertOptions:sA,validators:Wu},Bs=mc.validators;let Pr=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Cg,response:new Cg}}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=$r(this.defaults,n);const{transitional:s,paramsSerializer:i,headers:r}=n;s!==void 0&&mc.assertOptions(s,{silentJSONParsing:Bs.transitional(Bs.boolean),forcedJSONParsing:Bs.transitional(Bs.boolean),clarifyTimeoutError:Bs.transitional(Bs.boolean)},!1),i!=null&&(Y.isFunction(i)?n.paramsSerializer={serialize:i}:mc.assertOptions(i,{encode:Bs.function,serialize:Bs.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),mc.assertOptions(n,{baseUrl:Bs.spelling("baseURL"),withXsrfToken:Bs.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=r&&Y.merge(r.common,r[n.method]);r&&Y.forEach(["delete","get","head","post","put","patch","common"],p=>{delete r[p]}),n.headers=Gn.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=[Mg.bind(this),void 0];for(p.unshift(...a),p.push(...c),f=p.length,u=Promise.resolve(n);d<f;)u=u.then(p[d++],p[d++]);return u}f=a.length;let h=n;for(;d<f;){const p=a[d++],m=a[d++];try{h=p(h)}catch(v){m.call(this,v);break}}try{u=Mg.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=$r(this.defaults,e);const n=R0(e.baseURL,e.url,e.allowAbsoluteUrls);return O0(n,e.params,e.paramsSerializer)}};Y.forEach(["delete","get","head","options"],function(e){Pr.prototype[e]=function(n,s){return this.request($r(s||{},{method:e,url:n,data:(s||{}).data}))}});Y.forEach(["post","put","patch"],function(e){function n(s){return function(r,o,a){return this.request($r(a||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Pr.prototype[e]=n(),Pr.prototype[e+"Form"]=n(!0)});let iA=class F0{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 Go(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 F0(function(i){e=i}),cancel:e}}};function rA(t){return function(n){return t.apply(null,n)}}function oA(t){return Y.isObject(t)&&t.isAxiosError===!0}const eh={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(eh).forEach(([t,e])=>{eh[e]=t});function V0(t){const e=new Pr(t),n=g0(Pr.prototype.request,e);return Y.extend(n,Pr.prototype,e,{allOwnKeys:!0}),Y.extend(n,e,null,{allOwnKeys:!0}),n.create=function(i){return V0($r(t,i))},n}const ut=V0(bl);ut.Axios=Pr;ut.CanceledError=Go;ut.CancelToken=iA;ut.isCancel=N0;ut.VERSION=$0;ut.toFormData=Bu;ut.AxiosError=Bt;ut.Cancel=ut.CanceledError;ut.all=function(e){return Promise.all(e)};ut.spread=rA;ut.isAxiosError=oA;ut.mergeConfig=$r;ut.AxiosHeaders=Gn;ut.formToJSON=t=>I0(Y.isHTMLForm(t)?new FormData(t):t);ut.getAdapter=M0.getAdapter;ut.HttpStatusCode=eh;ut.default=ut;const{Axios:lj,AxiosError:cj,CanceledError:uj,isCancel:dj,CancelToken:fj,VERSION:hj,all:pj,Cancel:mj,isAxiosError:gj,spread:yj,toFormData:bj,AxiosHeaders:vj,HttpStatusCode:_j,formToJSON:Sj,getAdapter:Ej,mergeConfig:wj}=ut;/*!
|
||
* shared v11.1.12
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function aA(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const Zc=typeof window<"u",cr=(t,e=!1)=>e?Symbol.for(t):Symbol(t),lA=(t,e,n)=>cA({l:t,k:e,s:n}),cA=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ye=t=>typeof t=="number"&&isFinite(t),uA=t=>vp(t)==="[object Date]",Jc=t=>vp(t)==="[object RegExp]",Gu=t=>le(t)&&Object.keys(t).length===0,nn=Object.assign,dA=Object.create,Ee=(t=null)=>dA(t);let Fg;const bp=()=>Fg||(Fg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Ee());function Vg(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Ug(t){return t.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function fA(t){return t=t.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,i,r)=>`${i}="${Ug(r)}"`),t=t.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,i,r)=>`${i}='${Ug(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(t)&&(t=t.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(s=>{t=t.replace(s,"$1javascript:")}),t}const hA=Object.prototype.hasOwnProperty;function Ns(t,e){return hA.call(t,e)}const je=Array.isArray,Pe=t=>typeof t=="function",_t=t=>typeof t=="string",Re=t=>typeof t=="boolean",be=t=>t!==null&&typeof t=="object",pA=t=>be(t)&&Pe(t.then)&&Pe(t.catch),U0=Object.prototype.toString,vp=t=>U0.call(t),le=t=>vp(t)==="[object Object]",mA=t=>t==null?"":je(t)||le(t)&&t.toString===U0?JSON.stringify(t,null,2):String(t);function _p(t,e=""){return t.reduce((n,s,i)=>i===0?n+s:n+e+s,"")}const jl=t=>!be(t)||je(t);function gc(t,e){if(jl(t)||jl(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__"&&(be(s[r])&&!be(i[r])&&(i[r]=Array.isArray(s[r])?[]:Ee()),jl(i[r])||jl(s[r])?i[r]=s[r]:n.push({src:s[r],des:i[r]}))})}}/*!
|
||
* message-compiler v11.1.12
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function gA(t,e,n){return{line:t,column:e,offset:n}}function nh(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},yA=17;function Ku(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 bA(t){throw t}const Ws=" ",vA="\r",mn=`
|
||
`,_A="\u2028",SA="\u2029";function EA(t){const e=t;let n=0,s=1,i=1,r=0;const o=I=>e[I]===vA&&e[I+1]===mn,a=I=>e[I]===mn,l=I=>e[I]===SA,c=I=>e[I]===_A,u=I=>o(I)||a(I)||l(I)||c(I),d=()=>n,f=()=>s,h=()=>i,p=()=>r,m=I=>o(I)||l(I)||c(I)?mn:e[I],v=()=>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 b(){n=0,s=1,i=1,r=0}function E(I=0){r=I}function k(){const I=n+r;for(;I!==n;)_();r=0}return{index:d,line:f,column:h,peekOffset:p,charAt:m,currentChar:v,currentPeek:y,next:_,peek:g,reset:b,resetPeek:E,skipToPeek:k}}const ai=void 0,wA=".",Hg="'",kA="tokenizer";function CA(t,e={}){const n=e.location!==!1,s=EA(t),i=()=>s.index(),r=()=>gA(s.line(),s.column(),s.index()),o=r(),a=i(),l={currentType:13,offset:a,startLoc:o,endLoc:o,lastType:13,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=e;function d(T,x,V,...K){const tt=c();if(x.column+=V,x.offset+=V,u){const lt=n?nh(tt.startLoc,x):null,$=Ku(T,lt,{domain:kA,args:K});u($)}}function f(T,x,V){T.endLoc=r(),T.currentType=x;const K={type:x};return n&&(K.loc=nh(T.startLoc,T.endLoc)),V!=null&&(K.value=V),K}const h=T=>f(T,13);function p(T,x){return T.currentChar()===x?(T.next(),x):(d(_e.EXPECTED_TOKEN,r(),0,x),"")}function m(T){let x="";for(;T.currentPeek()===Ws||T.currentPeek()===mn;)x+=T.currentPeek(),T.peek();return x}function v(T){const x=m(T);return T.skipToPeek(),x}function y(T){if(T===ai)return!1;const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x===95}function _(T){if(T===ai)return!1;const x=T.charCodeAt(0);return x>=48&&x<=57}function g(T,x){const{currentType:V}=x;if(V!==2)return!1;m(T);const K=y(T.currentPeek());return T.resetPeek(),K}function b(T,x){const{currentType:V}=x;if(V!==2)return!1;m(T);const K=T.currentPeek()==="-"?T.peek():T.currentPeek(),tt=_(K);return T.resetPeek(),tt}function E(T,x){const{currentType:V}=x;if(V!==2)return!1;m(T);const K=T.currentPeek()===Hg;return T.resetPeek(),K}function k(T,x){const{currentType:V}=x;if(V!==7)return!1;m(T);const K=T.currentPeek()===".";return T.resetPeek(),K}function I(T,x){const{currentType:V}=x;if(V!==8)return!1;m(T);const K=y(T.currentPeek());return T.resetPeek(),K}function D(T,x){const{currentType:V}=x;if(!(V===7||V===11))return!1;m(T);const K=T.currentPeek()===":";return T.resetPeek(),K}function C(T,x){const{currentType:V}=x;if(V!==9)return!1;const K=()=>{const lt=T.currentPeek();return lt==="{"?y(T.peek()):lt==="@"||lt==="|"||lt===":"||lt==="."||lt===Ws||!lt?!1:lt===mn?(T.peek(),K()):j(T,!1)},tt=K();return T.resetPeek(),tt}function R(T){m(T);const x=T.currentPeek()==="|";return T.resetPeek(),x}function j(T,x=!0){const V=(tt=!1,lt="")=>{const $=T.currentPeek();return $==="{"||$==="@"||!$?tt:$==="|"?!(lt===Ws||lt===mn):$===Ws?(T.peek(),V(!0,Ws)):$===mn?(T.peek(),V(!0,mn)):!0},K=V();return x&&T.resetPeek(),K}function M(T,x){const V=T.currentChar();return V===ai?ai:x(V)?(T.next(),V):null}function H(T){const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36}function z(T){return M(T,H)}function ot(T){const x=T.charCodeAt(0);return x>=97&&x<=122||x>=65&&x<=90||x>=48&&x<=57||x===95||x===36||x===45}function W(T){return M(T,ot)}function Q(T){const x=T.charCodeAt(0);return x>=48&&x<=57}function it(T){return M(T,Q)}function St(T){const x=T.charCodeAt(0);return x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102}function qt(T){return M(T,St)}function xt(T){let x="",V="";for(;x=it(T);)V+=x;return V}function Lt(T){let x="";for(;;){const V=T.currentChar();if(V==="{"||V==="}"||V==="@"||V==="|"||!V)break;if(V===Ws||V===mn)if(j(T))x+=V,T.next();else{if(R(T))break;x+=V,T.next()}else x+=V,T.next()}return x}function re(T){v(T);let x="",V="";for(;x=W(T);)V+=x;const K=T.currentChar();if(K&&K!=="}"&&K!==ai&&K!==Ws&&K!==mn&&K!==" "){const tt=bt(T);return d(_e.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,V+tt),V+tt}return T.currentChar()===ai&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V}function oe(T){v(T);let x="";return T.currentChar()==="-"?(T.next(),x+=`-${xt(T)}`):x+=xt(T),T.currentChar()===ai&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),x}function ae(T){return T!==Hg&&T!==mn}function Wt(T){v(T),p(T,"'");let x="",V="";for(;x=M(T,ae);)x==="\\"?V+=Z(T):V+=x;const K=T.currentChar();return K===mn||K===ai?(d(_e.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),K===mn&&(T.next(),p(T,"'")),V):(p(T,"'"),V)}function Z(T){const x=T.currentChar();switch(x){case"\\":case"'":return T.next(),`\\${x}`;case"u":return dt(T,x,4);case"U":return dt(T,x,6);default:return d(_e.UNKNOWN_ESCAPE_SEQUENCE,r(),0,x),""}}function dt(T,x,V){p(T,x);let K="";for(let tt=0;tt<V;tt++){const lt=qt(T);if(!lt){d(_e.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${x}${K}${T.currentChar()}`);break}K+=lt}return`\\${x}${K}`}function ct(T){return T!=="{"&&T!=="}"&&T!==Ws&&T!==mn}function bt(T){v(T);let x="",V="";for(;x=M(T,ct);)V+=x;return V}function Pt(T){let x="",V="";for(;x=z(T);)V+=x;return V}function Yt(T){const x=V=>{const K=T.currentChar();return K==="{"||K==="@"||K==="|"||K==="("||K===")"||!K||K===Ws?V:(V+=K,T.next(),x(V))};return x("")}function A(T){v(T);const x=p(T,"|");return v(T),x}function P(T,x){let V=null;switch(T.currentChar()){case"{":return x.braceNest>=1&&d(_e.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),T.next(),V=f(x,2,"{"),v(T),x.braceNest++,V;case"}":return x.braceNest>0&&x.currentType===2&&d(_e.EMPTY_PLACEHOLDER,r(),0),T.next(),V=f(x,3,"}"),x.braceNest--,x.braceNest>0&&v(T),x.inLinked&&x.braceNest===0&&(x.inLinked=!1),V;case"@":return x.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=G(T,x)||h(x),x.braceNest=0,V;default:{let tt=!0,lt=!0,$=!0;if(R(T))return x.braceNest>0&&d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),V=f(x,1,A(T)),x.braceNest=0,x.inLinked=!1,V;if(x.braceNest>0&&(x.currentType===4||x.currentType===5||x.currentType===6))return d(_e.UNTERMINATED_CLOSING_BRACE,r(),0),x.braceNest=0,st(T,x);if(tt=g(T,x))return V=f(x,4,re(T)),v(T),V;if(lt=b(T,x))return V=f(x,5,oe(T)),v(T),V;if($=E(T,x))return V=f(x,6,Wt(T)),v(T),V;if(!tt&&!lt&&!$)return V=f(x,12,bt(T)),d(_e.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,V.value),v(T),V;break}}return V}function G(T,x){const{currentType:V}=x;let K=null;const tt=T.currentChar();switch((V===7||V===8||V===11||V===9)&&(tt===mn||tt===Ws)&&d(_e.INVALID_LINKED_FORMAT,r(),0),tt){case"@":return T.next(),K=f(x,7,"@"),x.inLinked=!0,K;case".":return v(T),T.next(),f(x,8,".");case":":return v(T),T.next(),f(x,9,":");default:return R(T)?(K=f(x,1,A(T)),x.braceNest=0,x.inLinked=!1,K):k(T,x)||D(T,x)?(v(T),G(T,x)):I(T,x)?(v(T),f(x,11,Pt(T))):C(T,x)?(v(T),tt==="{"?P(T,x)||K:f(x,10,Yt(T))):(V===7&&d(_e.INVALID_LINKED_FORMAT,r(),0),x.braceNest=0,x.inLinked=!1,st(T,x))}}function st(T,x){let V={type:13};if(x.braceNest>0)return P(T,x)||h(x);if(x.inLinked)return G(T,x)||h(x);switch(T.currentChar()){case"{":return P(T,x)||h(x);case"}":return d(_e.UNBALANCED_CLOSING_BRACE,r(),0),T.next(),f(x,3,"}");case"@":return G(T,x)||h(x);default:{if(R(T))return V=f(x,1,A(T)),x.braceNest=0,x.inLinked=!1,V;if(j(T))return f(x,0,Lt(T));break}}return V}function J(){const{currentType:T,offset:x,startLoc:V,endLoc:K}=l;return l.lastType=T,l.lastOffset=x,l.lastStartLoc=V,l.lastEndLoc=K,l.offset=i(),l.startLoc=r(),s.currentChar()===ai?f(l,13):st(s,l)}return{nextToken:J,currentOffset:i,currentPosition:r,context:c}}const TA="parser",AA=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function OA(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 xA(t={}){const e=t.location!==!1,{onError:n}=t;function s(y,_,g,b,...E){const k=y.currentPosition();if(k.offset+=b,k.column+=b,n){const I=e?nh(g,k):null,D=Ku(_,I,{domain:TA,args:E});n(D)}}function i(y,_,g){const b={type:y};return e&&(b.start=_,b.end=_,b.loc={start:g,end:g}),b}function r(y,_,g,b){e&&(y.end=_,y.loc&&(y.loc.end=g))}function o(y,_){const g=y.context(),b=i(3,g.offset,g.startLoc);return b.value=_,r(b,y.currentOffset(),y.currentPosition()),b}function a(y,_){const g=y.context(),{lastOffset:b,lastStartLoc:E}=g,k=i(5,b,E);return k.index=parseInt(_,10),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function l(y,_){const g=y.context(),{lastOffset:b,lastStartLoc:E}=g,k=i(4,b,E);return k.key=_,y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function c(y,_){const g=y.context(),{lastOffset:b,lastStartLoc:E}=g,k=i(9,b,E);return k.value=_.replace(AA,OA),y.nextToken(),r(k,y.currentOffset(),y.currentPosition()),k}function u(y){const _=y.nextToken(),g=y.context(),{lastOffset:b,lastStartLoc:E}=g,k=i(8,b,E);return _.type!==11?(s(y,_e.UNEXPECTED_EMPTY_LINKED_MODIFIER,g.lastStartLoc,0),k.value="",r(k,b,E),{nextConsumeToken:_,node:k}):(_.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Gs(_)),k.value=_.value||"",r(k,y.currentOffset(),y.currentPosition()),{node:k})}function d(y,_){const g=y.context(),b=i(7,g.offset,g.startLoc);return b.value=_,r(b,y.currentOffset(),y.currentPosition()),b}function f(y){const _=y.context(),g=i(6,_.offset,_.startLoc);let b=y.nextToken();if(b.type===8){const E=u(y);g.modifier=E.node,b=E.nextConsumeToken||y.nextToken()}switch(b.type!==9&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(b)),b=y.nextToken(),b.type===2&&(b=y.nextToken()),b.type){case 10:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(b)),g.key=d(y,b.value||"");break;case 4:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(b)),g.key=l(y,b.value||"");break;case 5:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(b)),g.key=a(y,b.value||"");break;case 6:b.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(b)),g.key=c(y,b.value||"");break;default:{s(y,_e.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const E=y.context(),k=i(7,E.offset,E.startLoc);return k.value="",r(k,E.offset,E.startLoc),g.key=k,r(g,E.offset,E.startLoc),{nextConsumeToken:b,node:g}}}return r(g,y.currentOffset(),y.currentPosition()),{node:g}}function h(y){const _=y.context(),g=_.currentType===1?y.currentOffset():_.offset,b=_.currentType===1?_.endLoc:_.startLoc,E=i(2,g,b);E.items=[];let k=null;do{const C=k||y.nextToken();switch(k=null,C.type){case 0:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(C)),E.items.push(o(y,C.value||""));break;case 5:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(C)),E.items.push(a(y,C.value||""));break;case 4:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(C)),E.items.push(l(y,C.value||""));break;case 6:C.value==null&&s(y,_e.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Gs(C)),E.items.push(c(y,C.value||""));break;case 7:{const R=f(y);E.items.push(R.node),k=R.nextConsumeToken||null;break}}}while(_.currentType!==13&&_.currentType!==1);const I=_.currentType===1?_.lastOffset:y.currentOffset(),D=_.currentType===1?_.lastEndLoc:y.currentPosition();return r(E,I,D),E}function p(y,_,g,b){const E=y.context();let k=b.items.length===0;const I=i(1,_,g);I.cases=[],I.cases.push(b);do{const D=h(y);k||(k=D.items.length===0),I.cases.push(D)}while(E.currentType!==13);return k&&s(y,_e.MUST_HAVE_MESSAGES_IN_PLURAL,g,0),r(I,y.currentOffset(),y.currentPosition()),I}function m(y){const _=y.context(),{offset:g,startLoc:b}=_,E=h(y);return _.currentType===13?E:p(y,g,b,E)}function v(y){const _=CA(y,nn({},t)),g=_.context(),b=i(0,g.offset,g.startLoc);return e&&b.loc&&(b.loc.source=y),b.body=m(_),t.onCacheKey&&(b.cacheKey=t.onCacheKey(y)),g.currentType!==13&&s(_,_e.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,y[g.offset]||""),r(b,_.currentOffset(),_.currentPosition()),b}return{parse:v}}function Gs(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 IA(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function jg(t,e){for(let n=0;n<t.length;n++)Sp(t[n],e)}function Sp(t,e){switch(t.type){case 1:jg(t.cases,e),e.helper("plural");break;case 2:jg(t.items,e);break;case 6:{Sp(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 NA(t,e={}){const n=IA(t);n.helper("normalize"),t.body&&Sp(t.body,n);const s=n.context();t.helpers=Array.from(s.helpers)}function PA(t){const e=t.body;return e.type===2?Bg(e):e.cases.forEach(n=>Bg(n)),t}function Bg(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=_p(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 lo(t){switch(t.t=t.type,t.type){case 0:{const e=t;lo(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++)lo(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++)lo(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;lo(e.key),e.k=e.key,delete e.key,e.modifier&&(lo(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 RA(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,v){o.code+=m}function c(m,v=!0){const y=v?s:"";l(i?y+" ".repeat(m):y)}function u(m=!0){const v=++o.indentLevel;m&&c(v)}function d(m=!0){const v=--o.indentLevel;m&&c(v)}function f(){c(o.indentLevel)}return{context:a,push:l,indent:u,deindent:d,newline:f,helper:m=>`_${m}`,needIndent:()=>o.needIndent}}function DA(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),xo(t,e.key),e.modifier?(t.push(", "),xo(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function LA(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&&(xo(t,e.items[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}function MA(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&&(xo(t,e.cases[r]),r!==i-1);r++)t.push(", ");t.deindent(s()),t.push("])")}}function $A(t,e){e.body?xo(t,e.body):t.push("null")}function xo(t,e){const{helper:n}=t;switch(e.type){case 0:$A(t,e);break;case 1:MA(t,e);break;case 2:LA(t,e);break;case 6:DA(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break}}const FA=(t,e={})=>{const n=_t(e.mode)?e.mode:"normal",s=_t(e.filename)?e.filename:"message.intl";e.sourceMap;const i=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
|
||
`,r=e.needIndent?e.needIndent:n!=="arrow",o=t.helpers||[],a=RA(t,{filename:s,breakLineCode:i,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),o.length>0&&(a.push(`const { ${_p(o.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),xo(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 VA(t,e={}){const n=nn({},e),s=!!n.jit,i=!!n.minify,r=n.optimize==null?!0:n.optimize,a=xA(n).parse(t);return s?(r&&PA(a),i&&lo(a),{ast:a,code:""}):(NA(a,n),FA(a,n))}/*!
|
||
* core-base v11.1.12
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function UA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(bp().__INTLIFY_PROD_DEVTOOLS__=!1)}function ti(t){return be(t)&&Ep(t)===0&&(Ns(t,"b")||Ns(t,"body"))}const H0=["b","body"];function HA(t){return ur(t,H0)}const j0=["c","cases"];function jA(t){return ur(t,j0,[])}const B0=["s","static"];function BA(t){return ur(t,B0)}const W0=["i","items"];function WA(t){return ur(t,W0,[])}const G0=["t","type"];function Ep(t){return ur(t,G0)}const K0=["v","value"];function Bl(t,e){const n=ur(t,K0);if(n!=null)return n;throw Ya(e)}const q0=["m","modifier"];function GA(t){return ur(t,q0)}const z0=["k","key"];function KA(t){const e=ur(t,z0);if(e)return e;throw Ya(6)}function ur(t,e,n){for(let s=0;s<e.length;s++){const i=e[s];if(Ns(t,i)&&t[i]!=null)return t[i]}return n}const X0=[...H0,...j0,...B0,...W0,...z0,...q0,...K0,...G0];function Ya(t){return new Error(`unhandled node type: ${t}`)}function zd(t){return n=>qA(n,t)}function qA(t,e){const n=HA(e);if(n==null)throw Ya(0);if(Ep(n)===1){const r=jA(n);return t.plural(r.reduce((o,a)=>[...o,Wg(t,a)],[]))}else return Wg(t,n)}function Wg(t,e){const n=BA(e);if(n!=null)return t.type==="text"?n:t.normalize([n]);{const s=WA(e).reduce((i,r)=>[...i,sh(t,r)],[]);return t.normalize(s)}}function sh(t,e){const n=Ep(e);switch(n){case 3:return Bl(e,n);case 9:return Bl(e,n);case 4:{const s=e;if(Ns(s,"k")&&s.k)return t.interpolate(t.named(s.k));if(Ns(s,"key")&&s.key)return t.interpolate(t.named(s.key));throw Ya(n)}case 5:{const s=e;if(Ns(s,"i")&&Ye(s.i))return t.interpolate(t.list(s.i));if(Ns(s,"index")&&Ye(s.index))return t.interpolate(t.list(s.index));throw Ya(n)}case 6:{const s=e,i=GA(s),r=KA(s);return t.linked(sh(t,r),i?sh(t,i):void 0,t.type)}case 7:return Bl(e,n);case 8:return Bl(e,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const zA=t=>t;let Wl=Ee();function XA(t,e={}){let n=!1;const s=e.onError||bA;return e.onError=i=>{n=!0,s(i)},{...VA(t,e),detectError:n}}function YA(t,e){if(_t(t)){Re(e.warnHtmlMessage)&&e.warnHtmlMessage;const s=(e.onCacheKey||zA)(t),i=Wl[s];if(i)return i;const{ast:r,detectError:o}=XA(t,{...e,location:!1,jit:!0}),a=zd(r);return o?a:Wl[s]=a}else{const n=t.cacheKey;if(n){const s=Wl[n];return s||(Wl[n]=zd(t))}else return zd(t)}}let Za=null;function ZA(t){Za=t}function JA(t,e,n){Za&&Za.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const QA=tO("function:translate");function tO(t){return e=>Za&&Za.emit(t,e)}const yi={INVALID_ARGUMENT:yA,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},eO=24;function bi(t){return Ku(t,null,void 0)}function wp(t,e){return e.locale!=null?Gg(e.locale):Gg(t.locale)}let Xd;function Gg(t){if(_t(t))return t;if(Pe(t)){if(t.resolvedOnce&&Xd!=null)return Xd;if(t.constructor.name==="Function"){const e=t();if(pA(e))throw bi(yi.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Xd=e}else throw bi(yi.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw bi(yi.NOT_SUPPORT_LOCALE_TYPE)}function nO(t,e,n){return[...new Set([n,...je(e)?e:be(e)?Object.keys(e):_t(e)?[e]:[n]])]}function Y0(t,e,n){const s=_t(n)?n:Qc,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(s);if(!r){r=[];let o=[n];for(;je(o);)o=Kg(r,o,e);const a=je(e)||!le(e)?e:e.default?e.default:null;o=_t(a)?[a]:a,je(o)&&Kg(r,o,!1),i.__localeChainCache.set(s,r)}return r}function Kg(t,e,n){let s=!0;for(let i=0;i<e.length&&Re(s);i++){const r=e[i];_t(r)&&(s=sO(t,e[i],n))}return s}function sO(t,e,n){let s;const i=e.split("-");do{const r=i.join("-");s=iO(t,r,n),i.splice(-1,1)}while(i.length&&s===!0);return s}function iO(t,e,n){let s=!1;if(!t.includes(e)&&(s=!0,e)){s=e[e.length-1]!=="!";const i=e.replace(/!/g,"");t.push(i),(je(n)||le(n))&&n[i]&&(s=n[i])}return s}const dr=[];dr[0]={w:[0],i:[3,0],"[":[4],o:[7]};dr[1]={w:[1],".":[2],"[":[4],o:[7]};dr[2]={w:[2],i:[3,0],0:[3,0]};dr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};dr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};dr[5]={"'":[4,0],o:8,l:[5,0]};dr[6]={'"':[4,0],o:8,l:[6,0]};const rO=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function oO(t){return rO.test(t)}function aO(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 lO(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 cO(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:oO(e)?aO(e):"*"+e}function uO(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=cO(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=lO(r),d=dr[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 qg=new Map;function dO(t,e){return be(t)?t[e]:null}function fO(t,e){if(!be(t))return null;let n=qg.get(e);if(n||(n=uO(e),n&&qg.set(e,n)),!n)return null;const s=n.length;let i=t,r=0;for(;r<s;){const o=n[r];if(X0.includes(o)&&ti(i))return null;const a=i[o];if(a===void 0||Pe(i))return null;i=a,r++}return i}const hO="11.1.12",qu=-1,Qc="en-US",zg="",Xg=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function pO(){return{upper:(t,e)=>e==="text"&&_t(t)?t.toUpperCase():e==="vnode"&&be(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&_t(t)?t.toLowerCase():e==="vnode"&&be(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&_t(t)?Xg(t):e==="vnode"&&be(t)&&"__v_isVNode"in t?Xg(t.children):t}}let Z0;function mO(t){Z0=t}let J0;function gO(t){J0=t}let Q0;function yO(t){Q0=t}let t_=null;const bO=t=>{t_=t},vO=()=>t_;let e_=null;const Yg=t=>{e_=t},_O=()=>e_;let Zg=0;function SO(t={}){const e=Pe(t.onWarn)?t.onWarn:aA,n=_t(t.version)?t.version:hO,s=_t(t.locale)||Pe(t.locale)?t.locale:Qc,i=Pe(s)?Qc:s,r=je(t.fallbackLocale)||le(t.fallbackLocale)||_t(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i,o=le(t.messages)?t.messages:Yd(i),a=le(t.datetimeFormats)?t.datetimeFormats:Yd(i),l=le(t.numberFormats)?t.numberFormats:Yd(i),c=nn(Ee(),t.modifiers,pO()),u=t.pluralRules||Ee(),d=Pe(t.missing)?t.missing:null,f=Re(t.missingWarn)||Jc(t.missingWarn)?t.missingWarn:!0,h=Re(t.fallbackWarn)||Jc(t.fallbackWarn)?t.fallbackWarn:!0,p=!!t.fallbackFormat,m=!!t.unresolving,v=Pe(t.postTranslation)?t.postTranslation:null,y=le(t.processor)?t.processor:null,_=Re(t.warnHtmlMessage)?t.warnHtmlMessage:!0,g=!!t.escapeParameter,b=Pe(t.messageCompiler)?t.messageCompiler:Z0,E=Pe(t.messageResolver)?t.messageResolver:J0||dO,k=Pe(t.localeFallbacker)?t.localeFallbacker:Q0||nO,I=be(t.fallbackContext)?t.fallbackContext:void 0,D=t,C=be(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,R=be(D.__numberFormatters)?D.__numberFormatters:new Map,j=be(D.__meta)?D.__meta:{};Zg++;const M={version:n,cid:Zg,locale:s,fallbackLocale:r,messages:o,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:m,postTranslation:v,processor:y,warnHtmlMessage:_,escapeParameter:g,messageCompiler:b,messageResolver:E,localeFallbacker:k,fallbackContext:I,onWarn:e,__meta:j};return M.datetimeFormats=a,M.numberFormats=l,M.__datetimeFormatters=C,M.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&JA(M,n,j),M}const Yd=t=>({[t]:Ee()});function kp(t,e,n,s,i){const{missing:r,onWarn:o}=t;if(r!==null){const a=r(t,n,e,i);return _t(a)?a:e}else return e}function ia(t,e,n){const s=t;s.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function EO(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function wO(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let s=n+1;s<e.length;s++)if(EO(t,e[s]))return!0;return!1}function Jg(t,...e){const{datetimeFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__datetimeFormatters:a}=t,[l,c,u,d]=ih(...e),f=Re(u.missingWarn)?u.missingWarn:t.missingWarn;Re(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=wp(t,u),m=o(t,i,p);if(!_t(l)||l==="")return new Intl.DateTimeFormat(p,d).format(c);let v={},y,_=null;const g="datetime format";for(let k=0;k<m.length&&(y=m[k],v=n[y]||{},_=v[l],!le(_));k++)kp(t,l,y,f,g);if(!le(_)||!_t(y))return s?qu:l;let b=`${y}__${l}`;Gu(d)||(b=`${b}__${JSON.stringify(d)}`);let E=a.get(b);return E||(E=new Intl.DateTimeFormat(y,nn({},_,d)),a.set(b,E)),h?E.formatToParts(c):E.format(c)}const n_=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ih(...t){const[e,n,s,i]=t,r=Ee();let o=Ee(),a;if(_t(e)){const l=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw bi(yi.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 bi(yi.INVALID_ISO_DATE_ARGUMENT)}}else if(uA(e)){if(isNaN(e.getTime()))throw bi(yi.INVALID_DATE_ARGUMENT);a=e}else if(Ye(e))a=e;else throw bi(yi.INVALID_ARGUMENT);return _t(n)?r.key=n:le(n)&&Object.keys(n).forEach(l=>{n_.includes(l)?o[l]=n[l]:r[l]=n[l]}),_t(s)?r.locale=s:le(s)&&(o=s),le(i)&&(o=i),[r.key||"",a,r,o]}function Qg(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function ty(t,...e){const{numberFormats:n,unresolving:s,fallbackLocale:i,onWarn:r,localeFallbacker:o}=t,{__numberFormatters:a}=t,[l,c,u,d]=rh(...e),f=Re(u.missingWarn)?u.missingWarn:t.missingWarn;Re(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn;const h=!!u.part,p=wp(t,u),m=o(t,i,p);if(!_t(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let v={},y,_=null;const g="number format";for(let k=0;k<m.length&&(y=m[k],v=n[y]||{},_=v[l],!le(_));k++)kp(t,l,y,f,g);if(!le(_)||!_t(y))return s?qu:l;let b=`${y}__${l}`;Gu(d)||(b=`${b}__${JSON.stringify(d)}`);let E=a.get(b);return E||(E=new Intl.NumberFormat(y,nn({},_,d)),a.set(b,E)),h?E.formatToParts(c):E.format(c)}const s_=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function rh(...t){const[e,n,s,i]=t,r=Ee();let o=Ee();if(!Ye(e))throw bi(yi.INVALID_ARGUMENT);const a=e;return _t(n)?r.key=n:le(n)&&Object.keys(n).forEach(l=>{s_.includes(l)?o[l]=n[l]:r[l]=n[l]}),_t(s)?r.locale=s:le(s)&&(o=s),le(i)&&(o=i),[r.key||"",a,r,o]}function ey(t,e,n){const s=t;for(const i in n){const r=`${e}__${i}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}const kO=t=>t,CO=t=>"",TO="text",AO=t=>t.length===0?"":_p(t),OO=mA;function ny(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function xO(t){const e=Ye(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Ye(t.named.count)||Ye(t.named.n))?Ye(t.named.count)?t.named.count:Ye(t.named.n)?t.named.n:e:e}function IO(t,e){e.count||(e.count=t),e.n||(e.n=t)}function NO(t={}){const e=t.locale,n=xO(t),s=be(t.pluralRules)&&_t(e)&&Pe(t.pluralRules[e])?t.pluralRules[e]:ny,i=be(t.pluralRules)&&_t(e)&&Pe(t.pluralRules[e])?ny:void 0,r=y=>y[s(n,y.length,i)],o=t.list||[],a=y=>o[y],l=t.named||Ee();Ye(t.pluralIndex)&&IO(n,l);const c=y=>l[y];function u(y,_){const g=Pe(t.messages)?t.messages(y,!!_):be(t.messages)?t.messages[y]:!1;return g||(t.parent?t.parent.message(y):CO)}const d=y=>t.modifiers?t.modifiers[y]:kO,f=le(t.processor)&&Pe(t.processor.normalize)?t.processor.normalize:AO,h=le(t.processor)&&Pe(t.processor.interpolate)?t.processor.interpolate:OO,p=le(t.processor)&&_t(t.processor.type)?t.processor.type:TO,v={list:a,named:c,plural:r,linked:(y,..._)=>{const[g,b]=_;let E="text",k="";_.length===1?be(g)?(k=g.modifier||k,E=g.type||E):_t(g)&&(k=g||k):_.length===2&&(_t(g)&&(k=g||k),_t(b)&&(E=b||E));const I=u(y,!0)(v),D=E==="vnode"&&je(I)&&k?I[0]:I;return k?d(k)(D,E):D},message:u,type:p,interpolate:h,normalize:f,values:nn(Ee(),o,l)};return v}const sy=()=>"",cs=t=>Pe(t);function iy(t,...e){const{fallbackFormat:n,postTranslation:s,unresolving:i,messageCompiler:r,fallbackLocale:o,messages:a}=t,[l,c]=oh(...e),u=Re(c.missingWarn)?c.missingWarn:t.missingWarn,d=Re(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn,f=Re(c.escapeParameter)?c.escapeParameter:t.escapeParameter,h=!!c.resolvedMessage,p=_t(c.default)||Re(c.default)?Re(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:null,m=n||p!=null&&(_t(p)||Pe(p)),v=wp(t,c);f&&PO(c);let[y,_,g]=h?[l,v,a[v]||Ee()]:i_(t,l,v,o,d,u),b=y,E=l;if(!h&&!(_t(b)||ti(b)||cs(b))&&m&&(b=p,E=b),!h&&(!(_t(b)||ti(b)||cs(b))||!_t(_)))return i?qu:l;let k=!1;const I=()=>{k=!0},D=cs(b)?b:r_(t,l,_,b,E,I);if(k)return b;const C=LO(t,_,g,c),R=NO(C),j=RO(t,D,R);let M=s?s(j,l):j;if(f&&_t(M)&&(M=fA(M)),__INTLIFY_PROD_DEVTOOLS__){const H={timestamp:Date.now(),key:_t(l)?l:cs(b)?b.key:"",locale:_||(cs(b)?b.locale:""),format:_t(b)?b:cs(b)?b.source:"",message:M};H.meta=nn({},t.__meta,vO()||{}),QA(H)}return M}function PO(t){je(t.list)?t.list=t.list.map(e=>_t(e)?Vg(e):e):be(t.named)&&Object.keys(t.named).forEach(e=>{_t(t.named[e])&&(t.named[e]=Vg(t.named[e]))})}function i_(t,e,n,s,i,r){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=t,u=c(t,s,n);let d=Ee(),f,h=null;const p="translate";for(let m=0;m<u.length&&(f=u[m],d=o[f]||Ee(),(h=l(d,e))===null&&(h=d[e]),!(_t(h)||ti(h)||cs(h)));m++)if(!wO(f,u)){const v=kp(t,e,f,r,p);v!==e&&(h=v)}return[h,f,d]}function r_(t,e,n,s,i,r){const{messageCompiler:o,warnHtmlMessage:a}=t;if(cs(s)){const c=s;return c.locale=c.locale||n,c.key=c.key||e,c}if(o==null){const c=(()=>s);return c.locale=n,c.key=e,c}const l=o(s,DO(t,n,i,s,a,r));return l.locale=n,l.key=e,l.source=s,l}function RO(t,e,n){return e(n)}function oh(...t){const[e,n,s]=t,i=Ee();if(!_t(e)&&!Ye(e)&&!cs(e)&&!ti(e))throw bi(yi.INVALID_ARGUMENT);const r=Ye(e)?String(e):(cs(e),e);return Ye(n)?i.plural=n:_t(n)?i.default=n:le(n)&&!Gu(n)?i.named=n:je(n)&&(i.list=n),Ye(s)?i.plural=s:_t(s)?i.default=s:le(s)&&nn(i,s),[r,i]}function DO(t,e,n,s,i,r){return{locale:e,key:n,warnHtmlMessage:i,onError:o=>{throw r&&r(o),o},onCacheKey:o=>lA(e,n,o)}}function LO(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[,,v]=i_(u||t,h,e,a,l,c);m=o(v,h)}if(_t(m)||ti(m)){let v=!1;const _=r_(t,h,e,m,h,()=>{v=!0});return v?sy:_}else return cs(m)?m:sy}};return t.processor&&(f.processor=t.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),Ye(s.plural)&&(f.pluralIndex=s.plural),f}UA();/*!
|
||
* vue-i18n v11.1.12
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const MO="11.1.12";function $O(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(bp().__INTLIFY_PROD_DEVTOOLS__=!1)}const vs={UNEXPECTED_RETURN_TYPE:eO,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 Ls(t,...e){return Ku(t,null,void 0)}const ah=cr("__translateVNode"),lh=cr("__datetimeParts"),ch=cr("__numberParts"),FO=cr("__setPluralRules"),VO=cr("__injectWithOption"),uh=cr("__dispose");function Ja(t){if(!be(t)||ti(t))return t;for(const e in t)if(Ns(t,e))if(!e.includes("."))be(t[e])&&Ja(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()),!be(i[n[o]])){r=!0;break}i=i[n[o]]}if(r||(ti(i)?X0.includes(n[s])||delete t[e]:(i[n[s]]=t[e],delete t[e])),!ti(i)){const o=i[n[s]];be(o)&&Ja(o)}}return t}function o_(t,e){const{messages:n,__i18n:s,messageResolver:i,flatJson:r}=e,o=le(n)?n:je(s)?Ee():{[t]:Ee()};if(je(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||Ee(),gc(c,o[l])):gc(c,o)}else _t(a)&&gc(JSON.parse(a),o)}),i==null&&r)for(const a in o)Ns(o,a)&&Ja(o[a]);return o}function a_(t){return t.type}function UO(t,e,n){let s=be(e.messages)?e.messages:Ee();"__i18nGlobal"in n&&(s=o_(t.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const i=Object.keys(s);i.length&&i.forEach(r=>{t.mergeLocaleMessage(r,s[r])});{if(be(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(o=>{t.mergeDateTimeFormat(o,e.datetimeFormats[o])})}if(be(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(o=>{t.mergeNumberFormat(o,e.numberFormats[o])})}}}function ry(t){return S(_i,null,t,0)}const oy="__INTLIFY_META__",ay=()=>[],HO=()=>!1;let ly=0;function cy(t){return((e,n,s,i)=>t(n,s,dn()||void 0,i))}const jO=()=>{const t=dn();let e=null;return t&&(e=a_(t)[oy])?{[oy]:e}:null};function l_(t={}){const{__root:e,__injectWithOption:n}=t,s=e===void 0,i=t.flatJson,r=Zc?fs:Iu;let o=Re(t.inheritLocale)?t.inheritLocale:!0;const a=r(e&&o?e.locale.value:_t(t.locale)?t.locale:Qc),l=r(e&&o?e.fallbackLocale.value:_t(t.fallbackLocale)||je(t.fallbackLocale)||le(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),c=r(o_(a.value,t)),u=r(le(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),d=r(le(t.numberFormats)?t.numberFormats:{[a.value]:{}});let f=e?e.missingWarn:Re(t.missingWarn)||Jc(t.missingWarn)?t.missingWarn:!0,h=e?e.fallbackWarn:Re(t.fallbackWarn)||Jc(t.fallbackWarn)?t.fallbackWarn:!0,p=e?e.fallbackRoot:Re(t.fallbackRoot)?t.fallbackRoot:!0,m=!!t.fallbackFormat,v=Pe(t.missing)?t.missing:null,y=Pe(t.missing)?cy(t.missing):null,_=Pe(t.postTranslation)?t.postTranslation:null,g=e?e.warnHtmlMessage:Re(t.warnHtmlMessage)?t.warnHtmlMessage:!0,b=!!t.escapeParameter;const E=e?e.modifiers:le(t.modifiers)?t.modifiers:{};let k=t.pluralRules||e&&e.pluralRules,I;I=(()=>{s&&Yg(null);const $={version:MO,locale:a.value,fallbackLocale:l.value,messages:c.value,modifiers:E,pluralRules:k,missing:y===null?void 0:y,missingWarn:f,fallbackWarn:h,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:b,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};$.datetimeFormats=u.value,$.numberFormats=d.value,$.__datetimeFormatters=le(I)?I.__datetimeFormatters:void 0,$.__numberFormatters=le(I)?I.__numberFormatters:void 0;const q=SO($);return s&&Yg(q),q})(),ia(I,a.value,l.value);function C(){return[a.value,l.value,c.value,u.value,d.value]}const R=tn({get:()=>a.value,set:$=>{I.locale=$,a.value=$}}),j=tn({get:()=>l.value,set:$=>{I.fallbackLocale=$,l.value=$,ia(I,a.value,$)}}),M=tn(()=>c.value),H=tn(()=>u.value),z=tn(()=>d.value);function ot(){return Pe(_)?_:null}function W($){_=$,I.postTranslation=$}function Q(){return v}function it($){$!==null&&(y=cy($)),v=$,I.missing=y}const St=($,q,ht,Et,Kt,U)=>{C();let B;try{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=e?_O():void 0),B=$(I)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(I.fallbackContext=void 0)}if(ht!=="translate exists"&&Ye(B)&&B===qu||ht==="translate exists"&&!B){const[X,at]=q();return e&&p?Et(e):Kt(X)}else{if(U(B))return B;throw Ls(vs.UNEXPECTED_RETURN_TYPE)}};function qt(...$){return St(q=>Reflect.apply(iy,null,[q,...$]),()=>oh(...$),"translate",q=>Reflect.apply(q.t,q,[...$]),q=>q,q=>_t(q))}function xt(...$){const[q,ht,Et]=$;if(Et&&!be(Et))throw Ls(vs.INVALID_ARGUMENT);return qt(q,ht,nn({resolvedMessage:!0},Et||{}))}function Lt(...$){return St(q=>Reflect.apply(Jg,null,[q,...$]),()=>ih(...$),"datetime format",q=>Reflect.apply(q.d,q,[...$]),()=>zg,q=>_t(q)||je(q))}function re(...$){return St(q=>Reflect.apply(ty,null,[q,...$]),()=>rh(...$),"number format",q=>Reflect.apply(q.n,q,[...$]),()=>zg,q=>_t(q)||je(q))}function oe($){return $.map(q=>_t(q)||Ye(q)||Re(q)?ry(String(q)):q)}const Wt={normalize:oe,interpolate:$=>$,type:"vnode"};function Z(...$){return St(q=>{let ht;const Et=q;try{Et.processor=Wt,ht=Reflect.apply(iy,null,[Et,...$])}finally{Et.processor=null}return ht},()=>oh(...$),"translate",q=>q[ah](...$),q=>[ry(q)],q=>je(q))}function dt(...$){return St(q=>Reflect.apply(ty,null,[q,...$]),()=>rh(...$),"number format",q=>q[ch](...$),ay,q=>_t(q)||je(q))}function ct(...$){return St(q=>Reflect.apply(Jg,null,[q,...$]),()=>ih(...$),"datetime format",q=>q[lh](...$),ay,q=>_t(q)||je(q))}function bt($){k=$,I.pluralRules=k}function Pt($,q){return St(()=>{if(!$)return!1;const ht=_t(q)?q:a.value,Et=P(ht),Kt=I.messageResolver(Et,$);return ti(Kt)||cs(Kt)||_t(Kt)},()=>[$],"translate exists",ht=>Reflect.apply(ht.te,ht,[$,q]),HO,ht=>Re(ht))}function Yt($){let q=null;const ht=Y0(I,l.value,a.value);for(let Et=0;Et<ht.length;Et++){const Kt=c.value[ht[Et]]||{},U=I.messageResolver(Kt,$);if(U!=null){q=U;break}}return q}function A($){const q=Yt($);return q??(e?e.tm($)||{}:{})}function P($){return c.value[$]||{}}function G($,q){if(i){const ht={[$]:q};for(const Et in ht)Ns(ht,Et)&&Ja(ht[Et]);q=ht[$]}c.value[$]=q,I.messages=c.value}function st($,q){c.value[$]=c.value[$]||{};const ht={[$]:q};if(i)for(const Et in ht)Ns(ht,Et)&&Ja(ht[Et]);q=ht[$],gc(q,c.value[$]),I.messages=c.value}function J($){return u.value[$]||{}}function T($,q){u.value[$]=q,I.datetimeFormats=u.value,Qg(I,$,q)}function x($,q){u.value[$]=nn(u.value[$]||{},q),I.datetimeFormats=u.value,Qg(I,$,q)}function V($){return d.value[$]||{}}function K($,q){d.value[$]=q,I.numberFormats=d.value,ey(I,$,q)}function tt($,q){d.value[$]=nn(d.value[$]||{},q),I.numberFormats=d.value,ey(I,$,q)}ly++,e&&Zc&&(ts(e.locale,$=>{o&&(a.value=$,I.locale=$,ia(I,a.value,l.value))}),ts(e.fallbackLocale,$=>{o&&(l.value=$,I.fallbackLocale=$,ia(I,a.value,l.value))}));const lt={id:ly,locale:R,fallbackLocale:j,get inheritLocale(){return o},set inheritLocale($){o=$,$&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,ia(I,a.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:M,get modifiers(){return E},get pluralRules(){return k||{}},get isGlobal(){return s},get missingWarn(){return f},set missingWarn($){f=$,I.missingWarn=f},get fallbackWarn(){return h},set fallbackWarn($){h=$,I.fallbackWarn=h},get fallbackRoot(){return p},set fallbackRoot($){p=$},get fallbackFormat(){return m},set fallbackFormat($){m=$,I.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage($){g=$,I.warnHtmlMessage=$},get escapeParameter(){return b},set escapeParameter($){b=$,I.escapeParameter=$},t:qt,getLocaleMessage:P,setLocaleMessage:G,mergeLocaleMessage:st,getPostTranslationHandler:ot,setPostTranslationHandler:W,getMissingHandler:Q,setMissingHandler:it,[FO]:bt};return lt.datetimeFormats=H,lt.numberFormats=z,lt.rt=xt,lt.te=Pt,lt.tm=A,lt.d=Lt,lt.n=re,lt.getDateTimeFormat=J,lt.setDateTimeFormat=T,lt.mergeDateTimeFormat=x,lt.getNumberFormat=V,lt.setNumberFormat=K,lt.mergeNumberFormat=tt,lt[VO]=n,lt[ah]=Z,lt[lh]=ct,lt[ch]=dt,lt}const Cp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function BO({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((s,i)=>[...s,...i.type===rt?i.children:[i]],[]):e.reduce((n,s)=>{const i=t[s];return i&&(n[s]=i()),n},Ee())}function c_(){return rt}const WO=Ni({name:"i18n-t",props:nn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Ye(t)||!isNaN(t)}},Cp),setup(t,e){const{slots:n,attrs:s}=e,i=t.i18n||Tp({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(d=>d[0]!=="_"),o=Ee();t.locale&&(o.locale=t.locale),t.plural!==void 0&&(o.plural=_t(t.plural)?+t.plural:t.plural);const a=BO(e,r),l=i[ah](t.keypath,a,o),c=nn(Ee(),s),u=_t(t.tag)||be(t.tag)?t.tag:c_();return Zs(u,c,l)}}}),uy=WO;function GO(t){return je(t)&&!_t(t[0])}function u_(t,e,n,s){const{slots:i,attrs:r}=e;return()=>{const o={part:!0};let a=Ee();t.locale&&(o.locale=t.locale),_t(t.format)?o.key=t.format:be(t.format)&&(_t(t.format.key)&&(o.key=t.format.key),a=Object.keys(t.format).reduce((f,h)=>n.includes(h)?nn(Ee(),f,{[h]:t.format[h]}):f,Ee()));const l=s(t.value,o,a);let c=[o.key];je(l)?c=l.map((f,h)=>{const p=i[f.type],m=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return GO(m)&&(m[0].key=`${f.type}-${h}`),m}):_t(l)&&(c=[l]);const u=nn(Ee(),r),d=_t(t.tag)||be(t.tag)?t.tag:c_();return Zs(d,u,c)}}const KO=Ni({name:"i18n-n",props:nn({value:{type:Number,required:!0},format:{type:[String,Object]}},Cp),setup(t,e){const n=t.i18n||Tp({useScope:t.scope,__useComponent:!0});return u_(t,e,s_,(...s)=>n[ch](...s))}}),dy=KO;function qO(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 zO(t){const e=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ls(vs.UNEXPECTED_ERROR);const c=qO(t,a.$),u=fy(l);return[Reflect.apply(c.t,c,[...hy(u)]),c]};return{created:(o,a)=>{const[l,c]=e(a);Zc&&t.global===c&&(o.__i18nWatcher=ts(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{Zc&&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=fy(a);o.textContent=Reflect.apply(l.t,l,[...hy(c)])}},getSSRProps:o=>{const[a]=e(o);return{textContent:a}}}}function fy(t){if(_t(t))return{path:t};if(le(t)){if(!("path"in t))throw Ls(vs.REQUIRED_VALUE,"path");return t}else throw Ls(vs.INVALID_VALUE)}function hy(t){const{path:e,locale:n,args:s,choice:i,plural:r}=t,o={},a=s||{};return _t(n)&&(o.locale=n),Ye(i)&&(o.plural=i),Ye(r)&&(o.plural=r),[e,a,o]}function XO(t,e,...n){const s=le(n[0])?n[0]:{};(Re(s.globalInstall)?s.globalInstall:!0)&&([uy.name,"I18nT"].forEach(r=>t.component(r,uy)),[dy.name,"I18nN"].forEach(r=>t.component(r,dy)),[my.name,"I18nD"].forEach(r=>t.component(r,my))),t.directive("t",zO(e))}const YO=cr("global-vue-i18n");function ZO(t={}){const e=Re(t.globalInjection)?t.globalInjection:!0,n=new Map,[s,i]=JO(t),r=cr("");function o(u){return n.get(u)||null}function a(u,d){n.set(u,d)}function l(u){n.delete(u)}const c={get mode(){return"composition"},async install(u,...d){if(u.__VUE_I18N_SYMBOL__=r,u.provide(u.__VUE_I18N_SYMBOL__,c),le(d[0])){const p=d[0];c.__composerExtend=p.__composerExtend,c.__vueI18nExtend=p.__vueI18nExtend}let f=null;e&&(f=ox(u,c.global)),XO(u,c,...d);const h=u.unmount;u.unmount=()=>{f&&f(),c.dispose(),h()}},get global(){return i},dispose(){s.stop()},__instances:n,__getInstance:o,__setInstance:a,__deleteInstance:l};return c}function Tp(t={}){const e=dn();if(e==null)throw Ls(vs.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Ls(vs.NOT_INSTALLED);const n=QO(e),s=ex(n),i=a_(e),r=tx(t,i);if(r==="global")return UO(s,t,i),s;if(r==="parent"){let l=nx(n,e,t.__useComponent);return l==null&&(l=s),l}const o=n;let a=o.__getInstance(e);if(a==null){const l=nn({},t);"__i18n"in i&&(l.__i18n=i.__i18n),s&&(l.__root=s),a=l_(l),o.__composerExtend&&(a[uh]=o.__composerExtend(a)),ix(o,e,a),o.__setInstance(e,a)}return a}function JO(t,e){const n=wu(),s=n.run(()=>l_(t));if(s==null)throw Ls(vs.UNEXPECTED_ERROR);return[n,s]}function QO(t){const e=hs(t.isCE?YO:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Ls(t.isCE?vs.NOT_INSTALLED_WITH_PROVIDE:vs.UNEXPECTED_ERROR);return e}function tx(t,e){return Gu(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function ex(t){return t.mode==="composition"?t.global:t.global.__composer}function nx(t,e,n=!1){let s=null;const i=e.root;let r=sx(e,n);for(;r!=null;){const o=t;if(t.mode==="composition"&&(s=o.__getInstance(r)),s!=null||i===r)break;r=r.parent}return s}function sx(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function ix(t,e,n){Bo(()=>{},e),dl(()=>{const s=n;t.__deleteInstance(e);const i=s[uh];i&&(i(),delete s[uh])},e)}const rx=["locale","fallbackLocale","availableLocales"],py=["t","rt","d","n","tm","te"];function ox(t,e){const n=Object.create(null);return rx.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r)throw Ls(vs.UNEXPECTED_ERROR);const o=Ie(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,i,o)}),t.config.globalProperties.$i18n=n,py.forEach(i=>{const r=Object.getOwnPropertyDescriptor(e,i);if(!r||!r.value)throw Ls(vs.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${i}`,r)}),()=>{delete t.config.globalProperties.$i18n,py.forEach(i=>{delete t.config.globalProperties[`$${i}`]})}}const ax=Ni({name:"i18n-d",props:nn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Cp),setup(t,e){const n=t.i18n||Tp({useScope:t.scope,__useComponent:!0});return u_(t,e,n_,(...s)=>n[lh](...s))}}),my=ax;$O();mO(YA);gO(fO);yO(Y0);if(__INTLIFY_PROD_DEVTOOLS__){const t=bp();t.__INTLIFY__=!0,ZA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Zd=t=>t&&typeof t=="object"&&!Array.isArray(t),dh=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Zd(t)&&Zd(n))for(const s in n)Zd(n[s])?(t[s]||Object.assign(t,{[s]:{}}),dh(t[s],n[s])):Object.assign(t,{[s]:n[s]});return dh(t,...e)},lx=dh({},{de:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Als nächstes hinzufügen"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Abbrechen"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Alle entfernen"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Bearbeiten"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Vorherige verbergen"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Einloggen"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Ausloggen"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Alle abgespielten markieren"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als neu"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Markiere als gespielt"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Remote paaren"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Spielen"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Entfernen"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Speichern"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Zeige mehr"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Zufallswiedergabe"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verifizieren"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Alben"}]}]}},artists:{t:0,b:{t:2,i:[{t:4,k:"count"},{t:3,v:" Künstler"}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbuch"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autor"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Autoren"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Datei"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Stationen"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Hinzufügen eines Podcasts führt zur Anlage einer RSS-Playlist, so kann OwnTone das Podcast-Abo verwalten."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast hinzufügen"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Lade…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Verarbeite…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Stream hinzufügen"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlistname"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Speichere…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange als Playlist speichern"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast enfernen"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote-Paarungs-Anfrage"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Alles neu einlesen"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Nur RSS-Feeds neu einlesen"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Suche nach neuen, gelöschten und veränderten Dateien"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Nur lokale Bibliothek neu einlesen"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek wird neu eingelesen…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Metadata von unveränderten Dateien neu einlesen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Nur Spotify neu einlesen"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Letzer Monat"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Letzte Woche"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Heute"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Unbestimmt"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Deutsch"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Englisch (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Französisch (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Vereinfachtes Chinesisch (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditionelles Chinesisch (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Diesen Podcast dauerhaft aus der Bibliothek löschen?"},{t:4,k:"separator"},{t:3,v:"(Damit wird auch die RSS-Playliste "},{t:4,k:"name"},{t:3,v:" gelöscht)"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track kann nicht gespielt werden"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", Beschränkungsgrund: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Hörbuch"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"Über"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},outputs:{t:0,b:{t:2,i:[{t:3}],s:"Ausgänge"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Einstellungen"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP-stream"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek neu einlesen"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Lautstärke"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Singles und alles, was mit ihnen verbunden ist, aus."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Verbirgt Spotify-Inhalt"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Wenn aktiv, blendet Inhalte aus, die von Spotify stammen."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtern"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Erscheinungsdatum"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Künstler › Name"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Namen"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich erschienen"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sortieren"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Oberfläche erstellt mit "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" und "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiliert mit Unterstützung von "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},more:{t:0,b:{t:2,i:[{t:3}],s:"mehr"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Neu einlesen"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Autoren"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich gespielt"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},outputs:{title:{t:0,b:{t:2,i:[{t:3}],s:"Ausgänge"}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Tracks durch Auswählen aus der Bibliothek anfügen"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Deine Playliste ist leer."}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlisten"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Neue Episoden"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Warteschlange"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Komponisten"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"Ausdrücken"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach "},{t:4,k:"help"},{t:3,v:" suchen wenn Du dem Ausdruck ein "},{t:4,k:"query"},{t:3,v:" voranstellst."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Keine Ergebnisse gefunden"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Suche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Album"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Alben"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Künstler"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Künstler"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige das Buch"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Hörbücher"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Komponist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Komponisten"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige die Playlist"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Playlisten"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Podcast"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Zeige den Track"},{t:2,i:[{t:3,v:"Zeige alle "},{t:4,k:"count"},{t:3,v:" Tracks"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothek"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Fernbedienungen und Ausgänge"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online-Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Allgemein"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Ausgezeichnete Playlisten"}},"followed-artists":{t:0,b:{t:2,i:[{t:3}],s:"Verfolgte Künstler"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Neuvorstellung"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Verlauf löschen"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe anhalten"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergeben"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Alle Tracks wiederholen"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Tracks einmal lesen"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Aktuellen Track wiederholen"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Rückwärts im Track suchen"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Vorwärts im Track suchen"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Tracks zufällig wiedergeben"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Tracks in Reihenfolge wiedergeben"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Zum vorherigen Track springen"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Zum nächsten Track springen"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Wiedergabe stoppen"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Liedtexte anzeigen/verbergen"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Einfache"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Hinzugefügt am"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album-Künstler"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Alben"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Künstler"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Kommentar"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Komponist"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Dauer"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Ordner"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Besitzer"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Pfad"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Spielzeit"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularität / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualität"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Bewertung"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsdatum"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Art"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Neu eingelesen"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Laufzeit"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Jahr"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" Track an die Abspielliste angehängt"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" Tracks an die Abspielliste angehängt"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Fehler bei Verbindung zum OwnTone-Server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Warteschlange zu Playlist "},{t:4,k:"name"},{t:3,v:" gesichert"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Anfrage gescheitert (Status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatisch"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dunkel"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Hell"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Erscheinungsbild"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Zeige Cover-Artwork in der Albumliste"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Bereitgestellte Artwork von Radiostationen ignorieren"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Keine aktive Pairing-Anfrage"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Pairing Remote"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing-Code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote-Pairing-Anfrage von "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Lautsprecher-Pairing und Geräteverifikation"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verifikationscode"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde ohne Unterstützung für Last.fm erstellt."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Passwort"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorisiere API-Zugriff"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Zugriff auf die Spotify API gestatten."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Bitte den Zugriff der API durch setzen folgender Zugriffsrechte für OwnTone: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Spotify Premium Abo erforderlich. Zugriff auf die Spotify API ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Zugriff gestattet für "},{t:4,k:"user"},{t:3,v:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Benutzername"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Sprache"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Wähle hier die Einträge des oberen Navigationsmenüs"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Auf den Bildschirmen mobiler Geräte wird nur das Burger-Menü angezeigt."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigationsmenüs"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Aktuell läuft-Seite"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Beschränkte die Zahl der Alben"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Kürzlich hinzugefügt-Seite"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Zeige den Komponisten für die aufgelisteten Genres an"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Komma getrennte Liste der Genres, für die der Komponist angezeigt werden soll."},{t:5,i:0},{t:3,v:"Leer lassen, um den Komponisten immer anzuzeigen."},{t:5,i:0},{t:3,v:'Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Komponisten anzeigen"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Dateipfad anzeigen"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Hörbücher"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Dateien"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musik"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlisten"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Suche"}}}}}},{en:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Add"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Add Next"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Cancel"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Clear"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Edit"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Hide previous"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Login"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Logout"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark All Played"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Mark as new"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Mark as played"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Pair Remote"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Remove"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Rescan"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Save"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Show more"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Shuffle"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Verify"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artists"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobook"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" author"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" authors"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" channel"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" channels"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composer"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" composers"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"File"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Stream"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlist"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" playlists"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" track"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Loading…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Processing…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Add stream"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Playlist name"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Saving…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Save queue to playlist"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Delete the podcast"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Update everything"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Only update RSS feeds"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Scan for new, deleted and modified files"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Only update local library"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Library update in progress…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Rescan metadata of unmodified files"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Only update Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Update library"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Last month"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"Last week"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Today"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Undefined"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"German (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"English"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"French (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Simplified Chinese (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Traditional Chinese (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Permanently remove this podcast from your library?"},{t:4,k:"separator"},{t:3,v:"(This will also remove the RSS playlist "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"Track is not playable"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", restriction reason: "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Audiobook"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"About"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Files"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Music"}},outputs:{t:0,b:{t:2,i:[{t:3}],s:"Outputs"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Settings"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP stream"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Update Library"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Hide singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides singles and anything associated with them."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Hide Spotify content"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"If active, hides content from Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filter"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Release date"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artist › Name"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Recently released"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release date"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Sort"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Web interface built with "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" and "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compiled with support for "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},more:{t:0,b:{t:2,i:[{t:3}],s:"more"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Update"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Authors"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Files"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently added"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Recently played"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"History"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},outputs:{title:{t:0,b:{t:2,i:[{t:3}],s:"Outputs"}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Add some tracks by browsing your library"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Live"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Your play queue is empty"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Playlists"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"New Episodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"Queue"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Composers"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Tip: you can search by a smart playlist query language "},{t:4,k:"help"},{t:3,v:" if you prefix it with "},{t:4,k:"query"},{t:3,v:"."}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"No results found"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Search"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the album"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the artist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" artists"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the audiobook"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" audiobooks"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the composer"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" composers"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the playlist"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" playlists"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the podcast"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Show the track"},{t:2,i:[{t:3,v:"Show all "},{t:4,k:"count"},{t:3,v:" tracks"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Library"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Remotes and Outputs"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Online Services"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"General"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Featured Playlists"}},"followed-artists":{t:0,b:{t:2,i:[{t:3}],s:"Followed Artists"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"New Releases"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Clear history"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Play"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Repeat all tracks"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Read tracks once"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Repeat current track"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Seek backward in the track"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Seek forward in the track"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Play tracks randomly"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Play tracks in order"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to previous track"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Skip to next track"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Stop"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Toggle lyrics"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Folder"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Plain"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Smart"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Added On"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Album Artist"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artist"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artists"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Comment"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Composer"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Duration"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Folders"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Name"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Owner"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Path"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Playtime"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularity / Followers"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disc / Track"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Quality"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Rating"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Release Date"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Tracks"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Updated"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Uptime"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Year"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" track appended to the queue"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" tracks appended to the queue"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Failed to connect to OwnTone server"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"Queue saved to playlist "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"Request failed (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Auto"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Dark"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Light"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Appearance"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"In addition to that, you can enable fetching artwork from the following artwork providers:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Show cover artwork in album list"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignore artwork provided by radio stations"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Artwork"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"No active pairing request."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Remote Pairing"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Pairing code"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Remote pairing request from "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Speaker pairing and device verification"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"If your speaker requires pairing then activate it below and enter the PIN that it displays."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Verification code"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Login with your Last.fm username and password to enable scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was built without support for Last.fm."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Password"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Authorize API access"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Grant access to the Spotify API."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone was either built without support for Spotify or libspotify is not installed."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Please reauthorize API access to grant OwnTone the following additional access rights: "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"You must have a Spotify premium account. Access to the Spotify API enables scanning of your Spotify library. Required scopes are: "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Access granted for "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Username"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Language"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Select the top navigation bar menu items"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"On mobile device screens, only the burger menu is displayed."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Navigation Bar"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Player page"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Limit the number of albums displayed"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Recently added page"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Show composer only for listed genres"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Comma-separated list of genres, for which the composer must be displayed."},{t:5,i:0},{t:3,v:"Leave empty to always show the composer."},{t:5,i:0},{t:3,v:'The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show composer"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Show filepath"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Audiobooks"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Files"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Music"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Playlists"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Search"}}}}}},{fr:{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter ensuite"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"Annuler"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"Effacer"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"Éditer"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"Masquer l’historique"}},login:{t:0,b:{t:2,i:[{t:3}],s:"Se connecter"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"Se déconnecter"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lus"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme nouveau"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"Marquer comme lu"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"Jumeler la télécommande"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"Analyser"}},save:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"Afficher plus"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lecture aléatoire"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"Vérifier"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" album"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" albums"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artiste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" artistes"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livre audio"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" auteurs"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeur"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genre"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" genres"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"Fichier"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"Flux"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"URL"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" liste de lecture"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" station"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" stations"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" piste"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement au podcast."}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"Chargement…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-du-flux"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"Traitement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouter un flux"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"Nom de la liste de lecture"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrement en cours…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Enregistrer la file d’attente dans une liste de lecture"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer ce podcast de manière permanente de la bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Supprimer le podcast"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"Tout actualiser"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement les flux RSS"}},info:{t:0,b:{t:2,i:[{t:3}],s:"Recherche les fichiers ajoutés, supprimés et modifiés"}},local:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement la bibliothèque locale"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"Actualisation de la bibliothèque en cours…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"Analyser les métadonnées des fichiers non modifiés"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser uniquement Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"Le mois dernier"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"La semaine dernière"}},today:{t:0,b:{t:2,i:[{t:3}],s:"Aujourd’hui"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"Indéfini"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"Allemand (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"Anglais (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"Français"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"Chinois simplifié (簡體中文)"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"Chinois traditionnel (繁體中文)"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"Supprimer définitivement ce podcast de votre bibliothèque ?"},{t:4,k:"separator"},{t:3,v:"(Cela supprimera également la liste de lecture RSS "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"La piste ne peut pas être lue"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:", raison de la restriction : "},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"Livre audio"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"À propos"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},files:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},music:{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},outputs:{t:0,b:{t:2,i:[{t:3}],s:"Sorties"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},search:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"Réglages"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"Flux HTTP"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"Actualiser la bibliothèque"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"Volume"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"Masquer les singles"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque les singles et tout ce qui leur est associé."}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Masquer le contenu de Spotify"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"Si actif, masque le contenu qui provient de Spotify."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Filtrer"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Date de sortie"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"Artiste › Nom"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"Sorties récentes"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Trier"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"Interface utilisateur construite avec "},{t:4,k:"bulma"},{t:3,v:", "},{t:4,k:"mdi"},{t:3,v:", "},{t:4,k:"vuejs"},{t:3,v:", "},{t:4,k:"axios"},{t:3,v:" et "},{t:4,k:"others"},{t:3,v:"."}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"Compilé avec les options "},{t:4,k:"options"},{t:3,v:"."}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},more:{t:0,b:{t:2,i:[{t:3}],s:"plus"}},update:{t:0,b:{t:2,i:[{t:3}],s:"Actualiser"}},version:{t:0,b:{t:2,i:[{t:3,v:"Version "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"Auteurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"Ajouts récents"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"Lectures récentes"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},history:{t:0,b:{t:2,i:[{t:3}],s:"Historique"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},outputs:{title:{t:0,b:{t:2,i:[{t:3}],s:"Sorties"}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"Ajoutez des pistes en parcourant votre bibliothèque"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"En direct"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"La file d’attente est vide"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"Listes de lecture"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"Nouveaux épisodes"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"File d’attente"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"Radio"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"Compositeurs"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"expression"}},help:{t:0,b:{t:2,i:[{t:3,v:"Astuce : vous pouvez effectuer une recherche avec une "},{t:4,k:"help"},{t:3,v:" du langage de requête de liste de lecture intelligente en préfixant votre requête avec "},{t:4,k:"query"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"Aucun résultat trouvé"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher l’album"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" albums"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher l’artiste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" artistes"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le livre audio"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" livres audio"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le compositeur"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" compositeurs"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la liste de lecture"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" listes de lecture"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher le podcast"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" podcasts"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"Afficher la piste"},{t:2,i:[{t:3,v:"Afficher les "},{t:4,k:"count"},{t:3,v:" pistes"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"Bibliothèque"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"Télécommandes et sorties"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"Services en ligne"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"Général"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture en vedette"}},"followed-artists":{t:0,b:{t:2,i:[{t:3}],s:"Artistes suivis"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"Nouvelle sorties"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"Effacer l’historique"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"Mettre la lecture en pause"}},play:{t:0,b:{t:2,i:[{t:3}],s:"Lire"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"Répéter toutes les pistes"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes une fois"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"Répéter la piste en cours"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer dans la piste"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer dans la piste"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes aléatoirement"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"Lire les pistes dans l’ordre"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"Reculer à la piste précédente"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"Avancer à la piste suivante"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"Arrêter la lecture"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"Voir/Cacher les paroles"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"Dossier"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"Simple"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"Intelligente"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"Ajouté le"}},album:{t:0,b:{t:2,i:[{t:3}],s:"Album"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"Artiste de l’album"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"Albums"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"Artiste"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"Artistes"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"Commentaire"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"Compositeur"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"Durée"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"Dossiers"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"Genre"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},name:{t:0,b:{t:2,i:[{t:3}],s:"Nom"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"Propriétaire"}},path:{t:0,b:{t:2,i:[{t:3}],s:"Emplacement"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de lecture"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"Popularité / Abonnements"}},position:{t:0,b:{t:2,i:[{t:3}],s:"Disque / Piste"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"Qualité"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"Classement"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"Date de sortie"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"Pistes"}},type:{t:0,b:{t:2,i:[{t:3}],s:"Type"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"Mise à jour"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"Temps de fonctionnement"}},year:{t:0,b:{t:2,i:[{t:3}],s:"Année"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" piste ajoutée à la file d’attente"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" pistes ajoutées à la file d’attente"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"Échec de connexion au serveur"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"La file d’attente enregistrée dans la liste de lecture "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"La requête a échoué (status: "},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"Automatique"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"Sombre"}},light:{t:0,b:{t:2,i:[{t:3}],s:"Clair"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Mode d’apparence"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs d’illustrations suivants :"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"Afficher les illustrations dans la liste d’albums"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"Ignorer les illustrations fournies par les stations de radio"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Illustrations"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Aucune demande de jumelage active."}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"Jumelage de télécommande"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de jumelage"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"Demande de jumelage de télécommande "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"Jumelage d’enceinte et vérification d’appareil"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN qu’elle affiche."}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"Code de vérification"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Connectez-vous avec votre nom d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."}},info:{t:0,b:{t:2,i:[{t:3}],s:"Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Last.fm n’est pas présente."}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"Mot de passe"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"Autoriser l’accès à l’API"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"Accordez l’accès à l’API de Spotify."}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"L’option Spotify n’est pas présente."}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accès supplémentaires suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"Vous devez posséder un compte Spotify Premium. L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application requis sont les suivants : "},{t:4,k:"scopes"},{t:3,v:"."}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"Accès autorisé pour "},{t:4,k:"user"},{t:3,v:"."}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"Nom d’utilisateur"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"Genres"}},language:{t:0,b:{t:2,i:[{t:3}],s:"Langue"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"Sélectionnez les éléments de la barre de navigation supérieure"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"Sur les écrans des appareils mobiles, seul le menu est affiché."}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"Barre de navigation"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « En cours de lecture »"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"Limiter le nombre d’albums affichés"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"Page « Ajouts récents »"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur uniquement pour les genres listés"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"Liste de genres séparés par des virgules pour lesquels le compositeur doit être affiché."},{t:5,i:0},{t:3,v:"Laissez vide pour toujours afficher le compositeur."},{t:5,i:0},{t:3,v:'L’étiquette de genre de la piste actuelle est comparée en vérifiant si l’un des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l’étiquette de genre est "classique contemporain" sera affiché.'}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le compositeur"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"Afficher le chemin du fichier"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"Livres audio"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"Fichiers"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"Musique"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"Listes de lecture"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcasts"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"Radio"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"Recherche"}}}}}},{"zh-CN":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"添加"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"添加流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"编辑"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隐藏历史"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部标记为已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"标记为最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"标记为已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新扫描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"保存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"显示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"验证"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 张专辑"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个有声读物"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" canal"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" canaux"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个流派"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"链接"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 个电台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"添加一个可生成播放列表的播客RSS链接,这将允许OwnTone管理订阅"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加播客"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"加载中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"处理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"添加流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名称"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"保存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"保存播放清单到列表"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客?"},{t:4,k:"separator"},{t:3,v:"(这也将移除该播客RSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除播客"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对码"}},title:{t:0,b:{t:2,i:[{t:3}],s:"请求遥控配对"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有内容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"仅更新RSS订阅内容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"扫描新的、删除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"仅更新本地资料库"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地资料库…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新扫描未修改文件的元数据"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"仅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定义"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德语 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英语 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法语 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"简体中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"从资料库中永久移除该播客吗?"},{t:4,k:"separator"},{t:3,v:"(这也将移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目无法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"关于"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},outputs:{t:0,b:{t:2,i:[{t:3}],s:"输出"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"设置"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP流"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新资料库"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隐藏单曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏单曲和与其关联的任何内容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隐藏来自Spotify的内容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果处于活动状态,则隐藏 Spotify 中的内容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 发行日期"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"艺人 › 名称"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近发行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分类"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面贡献者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"编译支持来自于 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"流派"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近添加"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},history:{t:0,b:{t:2,i:[{t:3}],s:"历史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},outputs:{title:{t:0,b:{t:2,i:[{t:3}],s:"输出"}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"浏览资料库添加曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清单是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新单集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"播客"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清单"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表达式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前缀,则可以通过智能播放列表查询语言 "},{t:4,k:"help"},{t:3,v:" 进行搜索"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到结果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜索"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示专辑"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个专辑"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示艺人"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位艺人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示有声书"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 本有声书"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示作曲家"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播放列表"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示播客"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 个播客"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"显示曲目"},{t:2,i:[{t:3,v:"显示所有 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"资料库"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遥控和输出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在线服务"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"概览"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"followed-artists":{t:0,b:{t:2,i:[{t:3}],s:"关注的艺人"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新发行"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除历史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暂停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重复播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目仅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重复当前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目后退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在当前曲目前进"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"随机播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按顺序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"显示/隐藏歌词"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"简单"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"添加时间"}},album:{t:0,b:{t:2,i:[{t:3}],s:"专辑"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"张专辑"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"专辑艺人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"艺人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"评论"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"时长"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"文件夹"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名称"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路径"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"总播放时长"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉丝数"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盘符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"质量"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"评级"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"发行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"只曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"类型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新于"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"运行时长"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]},{t:2,i:[{t:3,v:"已附加到队列的 "},{t:4,k:"count"},{t:3,v:" 只曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"无法连接到 OwnTone 服务器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清单以添加到播放列表 "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"请求失败 (状态:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自动"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"浅色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外观"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中,也可以通过广播电台在线提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您还可以从以下素材提供者获取封面:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在专辑列表中显示封面艺术作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略广播电台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"没有活跃的配对请求"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遥控配对"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配对代码"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"远程配对请求来自于 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"扬声器配对和设备验证"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"验证码"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用户名和密码登录以启用记录功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密码"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授权 API 访问"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予对 Spotify API 的访问权限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"请重新授权 API 访问权限,以授予 OwnTone 以下附加访问权限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必须拥有 Spotify付费帐户。访问 Spotify API 可以扫描您的 Spotify库。所需范围是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予访问权限 "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用户名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"流派"}},language:{t:0,b:{t:2,i:[{t:3}],s:"语言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"选择顶部导航栏菜单项"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在移动设备屏幕上,只显示汉堡菜单"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"导航条"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”页面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制显示的相册数量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近添加”页面"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"仅显示列出的流派的作曲家"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗号分隔的流派列表,必须显示作曲家所属的流派"},{t:5,i:0},{t:3,v:"留空以始终显示作曲家"},{t:5,i:0},{t:3,v:"通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"显示文件路径"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有声读物"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音乐"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"播客"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"广播电台"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"搜索"}}}}}},{"zh-TW":{actions:{add:{t:0,b:{t:2,i:[{t:3}],s:"新增"}},"add-next":{t:0,b:{t:2,i:[{t:3}],s:"插播"}},"add-stream":{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}},cancel:{t:0,b:{t:2,i:[{t:3}],s:"取消"}},clear:{t:0,b:{t:2,i:[{t:3}],s:"清除"}},edit:{t:0,b:{t:2,i:[{t:3}],s:"編輯"}},"hide-previous":{t:0,b:{t:2,i:[{t:3}],s:"隱藏歷史"}},login:{t:0,b:{t:2,i:[{t:3}],s:"登入"}},logout:{t:0,b:{t:2,i:[{t:3}],s:"退出"}},"mark-all-played":{t:0,b:{t:2,i:[{t:3}],s:"全部標記為已播放"}},"mark-as-new":{t:0,b:{t:2,i:[{t:3}],s:"標記為最新"}},"mark-as-played":{t:0,b:{t:2,i:[{t:3}],s:"標記為已播放"}},pair:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},remove:{t:0,b:{t:2,i:[{t:3}],s:"移除"}},rescan:{t:0,b:{t:2,i:[{t:3}],s:"重新掃描"}},save:{t:0,b:{t:2,i:[{t:3}],s:"儲存"}},"show-more":{t:0,b:{t:2,i:[{t:3}],s:"顯示更多"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},verify:{t:0,b:{t:2,i:[{t:3}],s:"驗證"}}},data:{albums:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 張專輯"}]}]}},artists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},audiobooks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個有聲書"}]}]}},authors:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作者"}]}]}},channels:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 信道"}]}]}},composers:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},genres:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個音樂類型"}]}]}},kind:{file:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},pipe:{t:0,b:{t:2,i:[{t:3}],s:"串流"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},url:{t:0,b:{t:2,i:[{t:3}],s:"鏈接"}}},playlists:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},podcasts:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},stations:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 個電台"}]}]}},tracks:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}}},dialog:{add:{rss:{help:{t:0,b:{t:2,i:[{t:3}],s:"新增一個可生成播放列表的Podcast RSS鏈接,這將允許OwnTone管理訂閱"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-rss"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增Podcast"}}},stream:{loading:{t:0,b:{t:2,i:[{t:3}],s:"載入中…"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"https://url-to-stream"}},processing:{t:0,b:{t:2,i:[{t:3}],s:"處理中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"新增串流"}}}},playlist:{save:{"playlist-name":{t:0,b:{t:2,i:[{t:3}],s:"播放列表名稱"}},saving:{t:0,b:{t:2,i:[{t:3}],s:"儲存中…"}},title:{t:0,b:{t:2,i:[{t:3}],s:"儲存播放清單到列表"}}}},podcast:{remove:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast?"},{t:4,k:"separator"},{t:3,v:"(這也將移除該PodcastRSS列表 "},{t:4,k:"name"},{t:3,v:")"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"移除Podcast"}}}},"queue-item":{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}}},"remote-pairing":{"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對碼"}},title:{t:0,b:{t:2,i:[{t:3}],s:"請求遙控配對"}}},track:{quality:{t:0,b:{t:2,i:[{t:4,k:"format"},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"samplerate"},{t:3,v:" Hz "},{t:9,v:"|"},{t:3,v:" "},{t:6,k:{t:7,v:"data.channels"}},{t:3,v:" "},{t:9,v:"|"},{t:3,v:" "},{t:4,k:"bitrate"},{t:3,v:" kbit/s"}]}},rating:{t:0,b:{t:2,i:[{t:4,k:"rating"},{t:3,v:" / 10"}]}}},update:{all:{t:0,b:{t:2,i:[{t:3}],s:"更新所有內容"}},feeds:{t:0,b:{t:2,i:[{t:3}],s:"僅更新RSS訂閱內容"}},info:{t:0,b:{t:2,i:[{t:3}],s:"掃描新的、刪除的和修改的文件"}},local:{t:0,b:{t:2,i:[{t:3}],s:"僅更新本地資料庫"}},progress:{t:0,b:{t:2,i:[{t:3}],s:"正在更新本地資料庫…"}},"rescan-metadata":{t:0,b:{t:2,i:[{t:3}],s:"重新掃描未修改文件的中繼資料"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"僅更新Spotify"}},title:{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}}}},"grouped-list":{"last-month":{t:0,b:{t:2,i:[{t:3}],s:"上月"}},"last-week":{t:0,b:{t:2,i:[{t:3}],s:"上周"}},today:{t:0,b:{t:2,i:[{t:3}],s:"今日"}},undefined:{t:0,b:{t:2,i:[{t:3}],s:"未定義"}}},language:{de:{t:0,b:{t:2,i:[{t:3}],s:"德語 (Deutsch)"}},en:{t:0,b:{t:2,i:[{t:3}],s:"英語 (English)"}},fr:{t:0,b:{t:2,i:[{t:3}],s:"法語 (Français)"}},"zh-CN":{t:0,b:{t:2,i:[{t:3}],s:"簡體中文"}},"zh-TW":{t:0,b:{t:2,i:[{t:3}],s:"繁體中文"}}},list:{albums:{info:{t:0,b:{t:2,i:[{t:3,v:"從資料庫中永久移除該Podcast嗎?"},{t:4,k:"separator"},{t:3,v:"(這也將移除RSS播放列表 "},{t:4,k:"name"},{t:3,v:")"}]}}},spotify:{"not-playable-track":{t:0,b:{t:2,i:[{t:3}],s:"曲目無法播放"}},"restriction-reason":{t:0,b:{t:2,i:[{t:3,v:",被限制原因:"},{t:4,k:"reason"}]}}}},media:{kind:{album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},audiobook:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},podcast:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}}},navigation:{about:{t:0,b:{t:2,i:[{t:3}],s:"關於"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},files:{t:0,b:{t:2,i:[{t:3}],s:"文件"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},music:{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},outputs:{t:0,b:{t:2,i:[{t:3}],s:"輸出"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},radio:{t:0,b:{t:2,i:[{t:3}],s:"電台"}},search:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},settings:{t:0,b:{t:2,i:[{t:3}],s:"設定"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},stream:{t:0,b:{t:2,i:[{t:3}],s:"HTTP串流"}},"update-library":{t:0,b:{t:2,i:[{t:3}],s:"更新資料庫"}},volume:{t:0,b:{t:2,i:[{t:3}],s:"音量"}}},options:{filter:{"hide-singles":{t:0,b:{t:2,i:[{t:3}],s:"隱藏單曲"}},"hide-singles-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏單曲和與其關聯的任何內容"}},"hide-spotify":{t:0,b:{t:2,i:[{t:3}],s:"隱藏來自Spotify的內容"}},"hide-spotify-help":{t:0,b:{t:2,i:[{t:3}],s:"如果處於活動狀態,則隱藏 Spotify 中的內容"}},title:{t:0,b:{t:2,i:[{t:3}],s:"篩選"}}},sort:{"artist-date":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 發行日期"}},"artist-name":{t:0,b:{t:2,i:[{t:3}],s:"藝人 › 名稱"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"recently-added":{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}},"recently-released":{t:0,b:{t:2,i:[{t:3}],s:"最近發行"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},title:{t:0,b:{t:2,i:[{t:3}],s:"分類"}}}},page:{about:{"built-with":{t:0,b:{t:2,i:[{t:3,v:"界面貢獻者包括 "},{t:4,k:"bulma"},{t:3,v:","},{t:4,k:"mdi"},{t:3,v:","},{t:4,k:"vuejs"},{t:3,v:","},{t:4,k:"axios"},{t:3,v:" 和 "},{t:4,k:"others"}]}},"compiled-with":{t:0,b:{t:2,i:[{t:3,v:"編譯支持來自於 "},{t:4,k:"options"}]}},library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},more:{t:0,b:{t:2,i:[{t:3}],s:"更多"}},update:{t:0,b:{t:2,i:[{t:3}],s:"更新"}},version:{t:0,b:{t:2,i:[{t:3,v:"版本 "},{t:4,k:"version"}]}}},albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}}},audiobooks:{albums:{title:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}}},artists:{title:{t:0,b:{t:2,i:[{t:3}],s:"作者"}}},tabs:{audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},authors:{t:0,b:{t:2,i:[{t:3}],s:"作者"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}}},composers:{title:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}}},files:{title:{t:0,b:{t:2,i:[{t:3}],s:"文件"}}},genres:{title:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}}},music:{"recently-added":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近新增"}}},"recently-played":{title:{t:0,b:{t:2,i:[{t:3}],s:"最近播放"}}},tabs:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},history:{t:0,b:{t:2,i:[{t:3}],s:"歷史"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}}},outputs:{title:{t:0,b:{t:2,i:[{t:3}],s:"輸出"}}},player:{info:{t:0,b:{t:2,i:[{t:3}],s:"瀏覽資料庫新增曲目"}},time:{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"直播"},{t:2,i:[{t:4,k:"time"}]},{t:2,i:[{t:4,k:"time"}]}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"播放清單是空的"}}},playlists:{title:{t:0,b:{t:1,c:[{t:2,i:[{t:4,k:"name"}]},{t:2,i:[{t:3}],s:"播放列表"}]}}},podcasts:{"new-episodes":{t:0,b:{t:2,i:[{t:3}],s:"最新單集"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}}},queue:{title:{t:0,b:{t:2,i:[{t:3}],s:"清單"}}},radio:{title:{t:0,b:{t:2,i:[{t:3}],s:"電台"}}},search:{albums:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},audiobooks:{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},composers:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},expression:{t:0,b:{t:2,i:[{t:3}],s:"表達式"}},help:{t:0,b:{t:2,i:[{t:3,v:"提示:如果您使用 "},{t:4,k:"query"},{t:3,v:" 前綴,則可以通過智能播放列表查詢語言 "},{t:4,k:"help"},{t:3,v:" 進行搜尋"}]}},"no-results":{t:0,b:{t:2,i:[{t:3}],s:"未找到結果"}},placeholder:{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},podcasts:{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-albums":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示專輯"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個專輯"}]}]}},"show-artists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示藝人"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位藝人"}]}]}},"show-audiobooks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示有聲書"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 本有聲書"}]}]}},"show-composers":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示作曲家"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 位作曲家"}]}]}},"show-playlists":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示播放列表"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個播放列表"}]}]}},"show-podcasts":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示Podcast"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 個Podcast"}]}]}},"show-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3}],s:"顯示曲目"},{t:2,i:[{t:3,v:"顯示所有 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},tabs:{library:{t:0,b:{t:2,i:[{t:3}],s:"資料庫"}},spotify:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}}},settings:{tabs:{artwork:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},devices:{t:0,b:{t:2,i:[{t:3}],s:"遙控和輸出"}},"online-services":{t:0,b:{t:2,i:[{t:3}],s:"在線服務"}},webinterface:{t:0,b:{t:2,i:[{t:3}],s:"概覽"}}}},spotify:{music:{"featured-playlists":{t:0,b:{t:2,i:[{t:3}],s:"特色列表"}},"followed-artists":{t:0,b:{t:2,i:[{t:3}],s:"關注的藝人"}},"new-releases":{t:0,b:{t:2,i:[{t:3}],s:"最新發行"}}}}},player:{button:{consume:{t:0,b:{t:2,i:[{t:3}],s:"清除歷史"}},pause:{t:0,b:{t:2,i:[{t:3}],s:"暫停"}},play:{t:0,b:{t:2,i:[{t:3}],s:"播放"}},repeat:{t:0,b:{t:2,i:[{t:3}],s:"重復播放所有曲目"}},"repeat-off":{t:0,b:{t:2,i:[{t:3}],s:"所有曲目僅播放一遍"}},"repeat-once":{t:0,b:{t:2,i:[{t:3}],s:"重復當前曲目"}},"seek-backward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目後退"}},"seek-forward":{t:0,b:{t:2,i:[{t:3}],s:"在當前曲目前進"}},shuffle:{t:0,b:{t:2,i:[{t:3}],s:"隨機播放曲目"}},"shuffle-disabled":{t:0,b:{t:2,i:[{t:3}],s:"按順序播放曲目"}},"skip-backward":{t:0,b:{t:2,i:[{t:3}],s:"播放上一首"}},"skip-forward":{t:0,b:{t:2,i:[{t:3}],s:"播放下一首"}},stop:{t:0,b:{t:2,i:[{t:3}],s:"停止"}},"toggle-lyrics":{t:0,b:{t:2,i:[{t:3}],s:"顯示/隱藏歌詞"}}}},playlist:{type:{folder:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},plain:{t:0,b:{t:2,i:[{t:3}],s:"簡單"}},smart:{t:0,b:{t:2,i:[{t:3}],s:"智能"}}}},property:{"added-on":{t:0,b:{t:2,i:[{t:3}],s:"新增時間"}},album:{t:0,b:{t:2,i:[{t:3}],s:"專輯"}},"album-artist":{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},albums:{t:0,b:{t:2,i:[{t:3}],s:"張專輯"}},artist:{t:0,b:{t:2,i:[{t:3}],s:"專輯藝人"}},artists:{t:0,b:{t:2,i:[{t:3}],s:"藝人"}},comment:{t:0,b:{t:2,i:[{t:3}],s:"評論"}},composer:{t:0,b:{t:2,i:[{t:3}],s:"作曲家"}},duration:{t:0,b:{t:2,i:[{t:3}],s:"時長"}},folders:{t:0,b:{t:2,i:[{t:3}],s:"檔案夾"}},genre:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},name:{t:0,b:{t:2,i:[{t:3}],s:"名稱"}},owner:{t:0,b:{t:2,i:[{t:3}],s:"所有者"}},path:{t:0,b:{t:2,i:[{t:3}],s:"路徑"}},playlists:{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},playtime:{t:0,b:{t:2,i:[{t:3}],s:"總播放時長"}},popularity:{t:0,b:{t:2,i:[{t:3}],s:"流行度 / 粉絲數"}},position:{t:0,b:{t:2,i:[{t:3}],s:"盤符 / 曲目"}},quality:{t:0,b:{t:2,i:[{t:3}],s:"品質"}},rating:{t:0,b:{t:2,i:[{t:3}],s:"評級"}},"release-date":{t:0,b:{t:2,i:[{t:3}],s:"發行日期"}},tracks:{t:0,b:{t:2,i:[{t:3}],s:"曲目"}},type:{t:0,b:{t:2,i:[{t:3}],s:"類型"}},updated:{t:0,b:{t:2,i:[{t:3}],s:"更新於"}},uptime:{t:0,b:{t:2,i:[{t:3}],s:"運行時長"}},year:{t:0,b:{t:2,i:[{t:3}],s:"年份"}}},server:{"appended-tracks":{t:0,b:{t:1,c:[{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]},{t:2,i:[{t:3,v:"已附加到隊列的 "},{t:4,k:"count"},{t:3,v:" 首曲目"}]}]}},"connection-failed":{t:0,b:{t:2,i:[{t:3}],s:"無法連接到 OwnTone 伺服器"}},"queue-saved":{t:0,b:{t:2,i:[{t:3,v:"清單以新增到播放列表 "},{t:4,k:"name"}]}},"request-failed":{t:0,b:{t:2,i:[{t:3,v:"請求失敗 (狀態:"},{t:4,k:"status"},{t:3,v:" "},{t:4,k:"cause"},{t:3,v:" "},{t:4,k:"url"},{t:3,v:")"}]}}},settings:{appearance:{auto:{t:0,b:{t:2,i:[{t:3}],s:"自動"}},dark:{t:0,b:{t:2,i:[{t:3}],s:"深色"}},light:{t:0,b:{t:2,i:[{t:3}],s:"淺色"}},title:{t:0,b:{t:2,i:[{t:3}],s:"外觀"}}},artwork:{"explanation-1":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone支持PNG和 JPEG封面,這些封面可以作為單獨的圖像文件放置在庫中或嵌入到媒體文件中,也可以通過電台在線提供"}},"explanation-2":{t:0,b:{t:2,i:[{t:3}],s:"除此之外,您還可以從以下素材提供者獲取封面:"}},"show-cover-artwork-in-album-lists":{t:0,b:{t:2,i:[{t:3}],s:"在專輯列表中顯示封面藝術作品"}},"streamurl-ignore":{t:0,b:{t:2,i:[{t:3}],s:"忽略電台提供的作品"}},title:{t:0,b:{t:2,i:[{t:3}],s:"封面"}},"use-artwork-source-coverartarchive":{t:0,b:{t:2,i:[{t:3}],s:"Cover Art Archive"}},"use-artwork-source-discogs":{t:0,b:{t:2,i:[{t:3}],s:"Discogs"}},"use-artwork-source-spotify":{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}}},devices:{"no-active-pairing":{t:0,b:{t:2,i:[{t:3}],s:"沒有活躍的配對請求"}},pairing:{t:0,b:{t:2,i:[{t:3}],s:"遙控配對"}},"pairing-code":{t:0,b:{t:2,i:[{t:3}],s:"配對代碼"}},"pairing-request":{t:0,b:{t:2,i:[{t:3}],s:"遠程配對請求來自於 "}},"speaker-pairing":{t:0,b:{t:2,i:[{t:3}],s:"揚聲器配對和設備驗證"}},"speaker-pairing-info":{t:0,b:{t:2,i:[{t:3}],s:"如果您的揚聲器需要配對,請在下面輸入它顯示的 PIN以啓用"}},"verification-code":{t:0,b:{t:2,i:[{t:3}],s:"驗證碼"}}},services:{lastfm:{"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"使用您的 Last.fm 用戶名和密碼登入以啓用記錄功能"}},info:{t:0,b:{t:2,i:[{t:3}],s:"OwnTone不會存儲您的 Last.fm 用戶名/密碼,僅存儲會話密鑰。會話密鑰不會過期"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無Last.fm的官方支持"}},title:{t:0,b:{t:2,i:[{t:3}],s:"Last.fm"}}},password:{t:0,b:{t:2,i:[{t:3}],s:"密碼"}},spotify:{authorize:{t:0,b:{t:2,i:[{t:3}],s:"授權 API 訪問"}},"grant-access":{t:0,b:{t:2,i:[{t:3}],s:"授予對 Spotify API 的訪問權限"}},"no-support":{t:0,b:{t:2,i:[{t:3}],s:"OwnTone並無 Spotify 官方的支持,也未安裝 libspotify"}},reauthorize:{t:0,b:{t:2,i:[{t:3,v:"請重新授權 API 訪問權限,以授予 OwnTone 以下附加訪問權限:"},{t:4,k:"scopes"}]}},requirements:{t:0,b:{t:2,i:[{t:3,v:"您必須擁有 Spotify付費帳戶。訪問 Spotify API 可以掃描您的 Spotify庫。所需範圍是:"},{t:4,k:"scopes"}]}},title:{t:0,b:{t:2,i:[{t:3}],s:"Spotify"}},user:{t:0,b:{t:2,i:[{t:3,v:"授予訪問權限 "},{t:4,k:"user"}]}}},username:{t:0,b:{t:2,i:[{t:3}],s:"用戶名"}}},webinterface:{genres:{t:0,b:{t:2,i:[{t:3}],s:"音樂類型"}},language:{t:0,b:{t:2,i:[{t:3}],s:"語言"}},"navigation-item-selection":{t:0,b:{t:2,i:[{t:3}],s:"選擇頂部導航欄菜單項"}},"navigation-item-selection-info":{t:0,b:{t:2,i:[{t:3}],s:"在行動裝置螢幕上,只會顯示漢堡菜單"}},"navigation-items":{t:0,b:{t:2,i:[{t:3}],s:"導航條"}},"player-page":{t:0,b:{t:2,i:[{t:3}],s:"“正在播放”頁面"}},"recently-added-limit":{t:0,b:{t:2,i:[{t:3}],s:"限制顯示的相簿數量"}},"recently-added-page":{t:0,b:{t:2,i:[{t:3}],s:"“最近新增”頁面"}},"show-composer-for-genre":{t:0,b:{t:2,i:[{t:3}],s:"僅顯示列出的音樂類型的作曲家"}},"show-composer-genres-help":{t:0,b:{t:2,i:[{t:3,v:"以逗號分隔的音樂類型清單,將顯示作曲家的音樂類型"},{t:5,i:0},{t:3,v:"留空以始終顯示作曲家"},{t:5,i:0},{t:3,v:"通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"}]}},"show-composer-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示作曲家"}},"show-filepath-now-playing":{t:0,b:{t:2,i:[{t:3}],s:"顯示檔案路徑"}},"show-menu-item-audiobooks":{t:0,b:{t:2,i:[{t:3}],s:"有聲書"}},"show-menu-item-files":{t:0,b:{t:2,i:[{t:3}],s:"文件"}},"show-menu-item-music":{t:0,b:{t:2,i:[{t:3}],s:"音樂"}},"show-menu-item-playlists":{t:0,b:{t:2,i:[{t:3}],s:"播放列表"}},"show-menu-item-podcasts":{t:0,b:{t:2,i:[{t:3}],s:"Podcast"}},"show-menu-item-radio":{t:0,b:{t:2,i:[{t:3}],s:"電台"}},"show-menu-item-search":{t:0,b:{t:2,i:[{t:3}],s:"搜尋"}}}}}}),Js=ZO({fallbackLocale:"en",fallbackWarn:!1,locale:navigator.language,messages:lx,missingWarn:!1}),{t:cx}=Js.global;ut.interceptors.response.use(t=>t.data,t=>(t.request.status&&t.request.responseURL&&Xa().add({text:cx("server.request-failed",{cause:t.request.statusText,status:t.request.status,url:t.request.responseURL}),type:"danger"}),Promise.reject(t)));const gy="./api/pairing",Ap={pair(t){return ut.post(gy,{pin:t})},state(){return ut.get(gy)}},Op=Fs("RemotesStore",{actions:{async initialise(){this.$state=await Ap.state()}},state:()=>({active:!1,remote:""})}),ux={name:"ModalDialogRemotePairing",components:{ControlPinField:m0,ModalDialog:lr},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:Op()}},data(){return{disabled:!0,pin:""}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.pair,icon:"vector-link",key:"actions.pair"}]}},methods:{cancel(){this.$emit("close")},onPinChange(t,e){this.pin=t,this.disabled=e},pair(){Ap.pair(this.pin).then(()=>{this.pin=""})}}},dx=["textContent"];function fx(t,e,n,s,i,r){const o=w("control-pin-field"),a=w("modal-dialog");return O(),pt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.remote-pairing.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:L(()=>[N("form",{onSubmit:e[0]||(e[0]=Kn((...l)=>r.pair&&r.pair(...l),["prevent"]))},[N("label",{class:"label",textContent:nt(s.remoteStore.remote)},null,8,dx),S(o,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onPinChange},null,8,["placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const hx=et(ux,[["render",fx]]),px={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},mx={class:"field mb-0 is-flex is-align-items-center"},gx={class:"toggle is-flex is-align-items-center"},yx={class:"control is-flex is-align-items-center"},bx=["checked"],vx={key:0,class:"help mb-4"};function _x(t,e,n,s,i,r){return O(),F(rt,null,[N("div",mx,[N("label",gx,[N("div",yx,[N("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,bx),e[1]||(e[1]=N("div",{class:"toggle-switch"},null,-1))]),de(t.$slots,"label",{},void 0,!0)])]),t.$slots.help?(O(),F("div",vx,[de(t.$slots,"help",{},void 0,!0)])):vt("",!0)],64)}const Gr=et(px,[["render",_x],["__scopeId","data-v-f999a158"]]),Ke="./api/library",ws="./api/search",Tt={add(t){return ut.post(`${Ke}/add`,null,{params:{url:t}})},album(t){return ut.get(`${Ke}/albums/${t}`)},albumTracks(t,e={limit:-1,offset:0}){return ut.get(`${Ke}/albums/${t}/tracks`,{params:e})},albums(t){return ut.get(`${Ke}/albums`,{params:{media_kind:t}})},artist(t){return ut.get(`${Ke}/artists/${t}`)},artistAlbums(t){return ut.get(`${Ke}/artists/${t}/albums`)},async artistTracks(t){const e={expression:`songartistid is "${t}"`,type:"tracks"};return(await ut.get(ws,{params:e})).tracks},artists(t){return ut.get(`${Ke}/artists`,{params:{media_kind:t}})},composer(t){return ut.get(`${Ke}/composers/${encodeURIComponent(t)}`)},async composerAlbums(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"albums"};return(await ut.get(ws,{params:e})).albums},async composerTracks(t){const e={expression:`composer is "${t}" and media_kind is music`,type:"tracks"};return(await ut.get(ws,{params:e})).tracks},composers(t){return ut.get(`${Ke}/composers`,{params:{media_kind:t}})},files(t){return ut.get(`${Ke}/files`,{params:{directory:t}})},async genre(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"genres"};return(await ut.get(ws,{params:n})).genres},async genreAlbums(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"albums"};return(await ut.get(ws,{params:n})).albums},async genreTracks(t,e){const n={expression:`genre is "${t}" and media_kind is ${e}`,type:"tracks"};return(await ut.get(ws,{params:n})).tracks},async genres(t){const e={expression:`media_kind is ${t}`,type:"genres"};return(await ut.get(ws,{params:e})).genres},async newPodcastEpisodes(){const t={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return(await ut.get(ws,{params:t})).tracks},playlist(t){return ut.get(`${Ke}/playlists/${t}`)},playlistDelete(t){return ut.delete(`${Ke}/playlists/${t}`)},playlistFolder(t=0){return ut.get(`${Ke}/playlists/${t}/playlists`)},playlistTracks(t){return ut.get(`${Ke}/playlists/${t}/tracks`)},async podcastEpisodes(t){const e={expression:`media_kind is podcast and songalbumid is "${t}" ORDER BY date_released DESC`,type:"tracks"};return(await ut.get(ws,{params:e})).tracks},async radioStreams(){const t={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return(await ut.get(ws,{params:t})).tracks},rescan(t){return ut.put("./api/rescan",null,{params:{scan_kind:t}})},rssCount(){return ut.get(`${Ke}/count`,{params:{expression:"scan_kind is rss"}})},search(t){return ut.get(ws,{params:t})},state(){return ut.get(Ke)},track(t){return ut.get(`${Ke}/tracks/${t}`)},trackPlaylists(t){return ut.get(`${Ke}/tracks/${t}/playlists`)},update(t){return ut.put("./api/update",null,{params:{scan_kind:t}})},updateAlbum(t,e){return ut.put(`${Ke}/albums/${t}/tracks`,null,{params:e})},updateTrack(t,e={}){return ut.put(`${Ke}/tracks/${t}`,null,{params:e})}},zu=Fs("LibraryStore",{actions:{async initialise(){this.$state=await Tt.state()}},state:()=>({albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",update_dialog_scan_kind:"",updated_at:"01",updating:!1})});class Ge{api;constructor(e){this.api=e}async getRequest(e){return await this.api.makeRequest("GET",e)}async postRequest(e,n,s=void 0){return await this.api.makeRequest("POST",e,n,s)}async putRequest(e,n,s=void 0){return await this.api.makeRequest("PUT",e,n,s)}async deleteRequest(e,n){return await this.api.makeRequest("DELETE",e,n)}paramsFor(e){const n=new URLSearchParams;for(let s of Object.getOwnPropertyNames(e))(e[s]||e[s]===0||!e[s]&&typeof e[s]=="boolean")&&n.append(s,e[s].toString());return[...n].length>0?`?${n.toString()}`:""}}class Sx extends Ge{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return await this.getRequest(`albums/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`albums${s}`)).albums}tracks(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`albums/${e}/tracks${r}`)}}class Ex extends Ge{async get(e){if(typeof e=="string")return this.getRequest(`artists/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`artists${n}`)).artists}albums(e,n,s,i,r){const o=this.paramsFor({include_groups:n,market:s,limit:i,offset:r});return this.getRequest(`artists/${e}/albums${o}`)}topTracks(e,n){const s=this.paramsFor({market:n});return this.getRequest(`artists/${e}/top-tracks${s}`)}relatedArtists(e){return this.getRequest(`artists/${e}/related-artists`)}}class wx extends Ge{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`audiobooks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`audiobooks${s}`)).audiobooks}getAudiobookChapters(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`audiobooks/${e}/chapters${r}`)}}class kx extends Ge{getCategories(e,n,s,i){const r=this.paramsFor({country:e,locale:n,limit:s,offset:i});return this.getRequest(`browse/categories${r}`)}getCategory(e,n,s){const i=this.paramsFor({country:n,locale:s});return this.getRequest(`browse/categories/${e}${i}`)}getNewReleases(e,n,s){const i=this.paramsFor({country:e,limit:n,offset:s});return this.getRequest(`browse/new-releases${i}`)}getFeaturedPlaylists(e,n,s,i,r){const o=this.paramsFor({country:e,locale:n,timestamp:s,limit:i,offset:r});return this.getRequest(`browse/featured-playlists${o}`)}getPlaylistsForCategory(e,n,s,i){const r=this.paramsFor({country:n,limit:s,offset:i});return this.getRequest(`browse/categories/${e}/playlists${r}`)}}class Cx extends Ge{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`chapters/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`chapters${s}`)).chapters}}class Tx extends Ge{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`episodes/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`episodes${s}`)).episodes}}class Ax extends Ge{get(e){const n=this.paramsFor(e);return this.getRequest(`recommendations${n}`)}genreSeeds(){return this.getRequest("recommendations/available-genre-seeds")}}class Ox extends Ge{getAvailableMarkets(){return this.getRequest("markets")}}class xx extends Ge{getPlaybackState(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player${s}`)}getAvailableDevices(){return this.getRequest("me/player/devices")}getCurrentlyPlayingTrack(e,n){const s=this.paramsFor({market:e,additional_types:n});return this.getRequest(`me/player/currently-playing${s}`)}getRecentlyPlayedTracks(e,n){const s={limit:e};n&&(n.type==="before"?s.before=n.timestamp:n.type==="after"&&(s.after=n.timestamp));const i=this.paramsFor(s);return this.getRequest(`me/player/recently-played${i}`)}getUsersQueue(){return this.getRequest("me/player/queue")}async transferPlayback(e,n){if(e.length>1)throw new Error("Although an array is accepted, only a single device_id is currently supported. Supplying more than one will return 400 Bad Request");await this.putRequest("me/player",{device_ids:e,play:n})}async startResumePlayback(e,n,s,i,r){const o=this.paramsFor({device_id:e});await this.putRequest(`me/player/play${o}`,{context_uri:n,uris:s,offset:i,positionMs:r})}async pausePlayback(e){const n=this.paramsFor({device_id:e});await this.putRequest(`me/player/pause${n}`)}async skipToNext(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/next${n}`)}async skipToPrevious(e){const n=this.paramsFor({device_id:e});await this.postRequest(`me/player/previous${n}`)}async seekToPosition(e,n){const s=this.paramsFor({position_ms:e,device_id:n});await this.putRequest(`me/player/seek${s}`)}async setRepeatMode(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/repeat${s}`)}async setPlaybackVolume(e,n){const s=this.paramsFor({volume_percent:e,device_id:n});await this.putRequest(`me/player/volume${s}`)}async togglePlaybackShuffle(e,n){const s=this.paramsFor({state:e,device_id:n});await this.putRequest(`me/player/shuffle${s}`)}async addItemToPlaybackQueue(e,n){const s=this.paramsFor({uri:e,device_id:n});await this.postRequest(`me/player/queue${s}`)}}class Ix extends Ge{getPlaylist(e,n,s,i){const r=this.paramsFor({market:n,fields:s,additional_types:i?.join(",")});return this.getRequest(`playlists/${e}${r}`)}getPlaylistItems(e,n,s,i,r,o){const a=this.paramsFor({market:n,fields:s,limit:i,offset:r,additional_types:o?.join(",")});return this.getRequest(`playlists/${e}/tracks${a}`)}async changePlaylistDetails(e,n){await this.putRequest(`playlists/${e}`,n)}movePlaylistItems(e,n,s,i){return this.updatePlaylistItems(e,{range_start:n,range_length:s,insert_before:i})}updatePlaylistItems(e,n){return this.putRequest(`playlists/${e}/tracks`,n)}async addItemsToPlaylist(e,n,s){await this.postRequest(`playlists/${e}/tracks`,{position:s,uris:n})}async removeItemsFromPlaylist(e,n){await this.deleteRequest(`playlists/${e}/tracks`,n)}getUsersPlaylists(e,n,s){const i=this.paramsFor({limit:n,offset:s});return this.getRequest(`users/${e}/playlists${i}`)}createPlaylist(e,n){return this.postRequest(`users/${e}/playlists`,n)}getPlaylistCoverImage(e){return this.getRequest(`playlists/${e}/images`)}async addCustomPlaylistCoverImage(e,n){let s="";if(n instanceof Buffer)s=n.toString("base64");else if(n instanceof HTMLCanvasElement)s=n.toDataURL("image/jpeg").split(";base64,")[1];else if(n instanceof HTMLImageElement){const i=document.createElement("canvas");i.width=n.width,i.height=n.height;const r=i.getContext("2d");if(!r)throw new Error("Could not get canvas context");r.drawImage(n,0,0),s=i.toDataURL("image/jpeg").split(";base64,")[1]}else if(typeof n=="string")s=n;else throw new Error("ImageData must be a Buffer, HTMLImageElement, HTMLCanvasElement, or string containing a base64 encoded jpeg");await this.addCustomPlaylistCoverImageFromBase64String(e,s)}async addCustomPlaylistCoverImageFromBase64String(e,n){await this.putRequest(`playlists/${e}/images`,n,"image/jpeg")}}class Nx extends Ge{async execute(e,n,s,i,r,o){const a=this.paramsFor({q:e,type:n,market:s,limit:i,offset:r,include_external:o});return await this.getRequest(`search${a}`)}}class Px extends Ge{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`shows/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`shows${s}`)).shows}episodes(e,n,s,i){const r=this.paramsFor({market:n,limit:s,offset:i});return this.getRequest(`shows/${e}/episodes${r}`)}}class Rx extends Ge{async get(e,n){if(typeof e=="string"){const r=this.paramsFor({market:n});return this.getRequest(`tracks/${e}${r}`)}const s=this.paramsFor({ids:e,market:n});return(await this.getRequest(`tracks${s}`)).tracks}async audioFeatures(e){if(typeof e=="string")return this.getRequest(`audio-features/${e}`);const n=this.paramsFor({ids:e});return(await this.getRequest(`audio-features${n}`)).audio_features}audioAnalysis(e){return this.getRequest(`audio-analysis/${e}`)}}const xp={access_token:"emptyAccessToken",token_type:"",expires_in:0,refresh_token:"",expires:-1};function fa(t){return t===xp}class Dx extends Ge{profile(e){return this.getRequest(`users/${e}`)}}class Lx extends Ge{albums;audiobooks;episodes;playlists;shows;tracks;constructor(e){super(e),this.albums=new Mx(e),this.audiobooks=new $x(e),this.episodes=new Fx(e),this.playlists=new Vx(e),this.shows=new Ux(e),this.tracks=new Hx(e)}profile(){return this.getRequest("me")}topItems(e,n,s,i){const r=this.paramsFor({time_range:n,limit:s,offset:i});return this.getRequest(`me/top/${e}${r}`)}followedArtists(e,n){const s=this.paramsFor({type:"artist",after:e,limit:n});return this.getRequest(`me/following${s}`)}async followArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.putRequest(`me/following${s}`,{ids:e})}async unfollowArtistsOrUsers(e,n){const s=this.paramsFor({type:n});await this.deleteRequest(`me/following${s}`,{ids:e})}followsArtistsOrUsers(e,n){const s=this.paramsFor({ids:e,type:n});return this.getRequest(`me/following/contains${s}`)}}class Mx extends Ge{savedAlbums(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/albums${i}`)}async saveAlbums(e){await this.putRequest("me/albums",e)}async removeSavedAlbums(e){await this.deleteRequest("me/albums",e)}hasSavedAlbums(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/albums/contains${n}`)}}class $x extends Ge{savedAudiobooks(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/audiobooks${s}`)}async saveAudiobooks(e){await this.putRequest("me/audiobooks",e)}async removeSavedAudiobooks(e){await this.deleteRequest("me/audiobooks",e)}hasSavedAudiobooks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/audiobooks/contains${n}`)}}class Fx extends Ge{savedEpisodes(e,n,s){const i=this.paramsFor({market:e,limit:n,offset:s});return this.getRequest(`me/episodes${i}`)}async saveEpisodes(e){await this.putRequest("me/episodes",e)}async removeSavedEpisodes(e){await this.deleteRequest("me/episodes",e)}hasSavedEpisodes(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/episodes/contains${n}`)}}class Vx extends Ge{playlists(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/playlists${s}`)}async follow(e){await this.putRequest(`playlists/${e}/followers`)}async unfollow(e){await this.deleteRequest(`playlists/${e}/followers`)}isFollowing(e,n){const s=this.paramsFor({ids:n});return this.getRequest(`playlists/${e}/followers/contains${s}`)}}class Ux extends Ge{savedShows(e,n){const s=this.paramsFor({limit:e,offset:n});return this.getRequest(`me/shows${s}`)}saveShows(e){const n=this.paramsFor({ids:e});return this.putRequest(`me/shows${n}`)}removeSavedShows(e,n){const s=this.paramsFor({ids:e,market:n});return this.deleteRequest(`me/shows${s}`)}hasSavedShow(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/shows/contains${n}`)}}class Hx extends Ge{savedTracks(e,n,s){const i=this.paramsFor({limit:e,offset:n,market:s});return this.getRequest(`me/tracks${i}`)}async saveTracks(e){await this.putRequest("me/tracks",e)}async removeSavedTracks(e){await this.deleteRequest("me/tracks",e)}hasSavedTracks(e){const n=this.paramsFor({ids:e});return this.getRequest(`me/tracks/contains${n}`)}}class jx{static get current(){return this.hasSubtleCrypto?window.crypto:this.tryLoadNodeWebCrypto()}static get hasSubtleCrypto(){return typeof window<"u"&&typeof window.crypto<"u"&&typeof window.crypto.subtle<"u"}static tryLoadNodeWebCrypto(){try{const{webcrypto:e}=require("crypto");return e}catch(e){throw e}}}class Zn{static async refreshCachedAccessToken(e,n){const s=await Zn.refreshToken(e,n.refresh_token);return Zn.toCachable(s)}static toCachable(e){return e.expires&&e.expires===-1?e:{...e,expires:this.calculateExpiry(e)}}static calculateExpiry(e){return Date.now()+e.expires_in*1e3}static async refreshToken(e,n){const s=new URLSearchParams;s.append("client_id",e),s.append("grant_type","refresh_token"),s.append("refresh_token",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to refresh token: ${i.statusText}, ${r}`);return JSON.parse(r)}static generateCodeVerifier(e){let n="",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let i=0;i<e;i++)n+=s.charAt(Math.floor(Math.random()*s.length));return n}static async generateCodeChallenge(e){const n=new TextEncoder().encode(e),s=await jx.current.subtle.digest("SHA-256",n),i=[...new Uint8Array(s)];return(typeof Buffer<"u"?Buffer.from(s).toString("base64"):btoa(String.fromCharCode.apply(null,i))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}}class Oa{clientId;clientSecret;scopes;static cacheKey="spotify-sdk:ClientCredentialsStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s=[]){this.clientId=e,this.clientSecret=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(Oa.cacheKey,async()=>{const n=await this.getTokenFromApi();return Zn.toCachable(n)},async n=>{const s=await this.getTokenFromApi();return Zn.toCachable(s)})}async getAccessToken(){return await this.cache.get(Oa.cacheKey)}removeAccessToken(){this.cache.remove(Oa.cacheKey)}async getTokenFromApi(){const e={grant_type:"client_credentials",scope:this.scopes.join(" ")},n=Object.keys(e).map(l=>l+"="+e[l]).join("&"),s=typeof Buffer<"u",i=`${this.clientId}:${this.clientSecret}`,r=s?Buffer.from(i).toString("base64"):btoa(i),o=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Basic ${r}`},body:n});if(o.status!==200)throw new Error("Failed to get access token.");return await o.json()}}class xa{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:ImplicitGrantStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(xa.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return Zn.toCachable(n)},async n=>Zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(xa.cacheKey)}removeAccessToken(){this.cache.remove(xa.cacheKey)}async redirectOrVerifyToken(){const e=new URLSearchParams(window.location.hash.substring(1)),n=e.get("access_token");if(n)return Promise.resolve({access_token:n,token_type:e.get("token_type")??"",expires_in:parseInt(e.get("expires_in")??"0"),refresh_token:e.get("refresh_token")??"",expires:Number(e.get("expires"))||0});var i=(this.scopes??[]).join(" ");const r=new URLSearchParams;r.append("client_id",this.clientId),r.append("response_type","token"),r.append("redirect_uri",this.redirectUri),r.append("scope",i);const o="https://accounts.spotify.com/authorize?"+r.toString();return this.configuration.redirectionStrategy.redirect(o),xp}}class _o{clientId;redirectUri;scopes;static cacheKey="spotify-sdk:AuthorizationCodeWithPKCEStrategy:token";configuration=null;get cache(){return this.configuration.cachingStrategy}constructor(e,n,s){this.clientId=e,this.redirectUri=n,this.scopes=s}setConfiguration(e){this.configuration=e}async getOrCreateAccessToken(){return await this.cache.getOrCreate(_o.cacheKey,async()=>{const n=await this.redirectOrVerifyToken();return Zn.toCachable(n)},async n=>Zn.refreshCachedAccessToken(this.clientId,n))}async getAccessToken(){return await this.cache.get(_o.cacheKey)}removeAccessToken(){this.cache.remove(_o.cacheKey)}async redirectOrVerifyToken(){const n=new URLSearchParams(window.location.search).get("code");if(n){const s=await this.verifyAndExchangeCode(n);return this.removeCodeFromUrl(),s}return this.redirectToSpotify(),xp}async redirectToSpotify(){const e=Zn.generateCodeVerifier(128),n=await Zn.generateCodeChallenge(e),s={verifier:e,expiresOnAccess:!0};this.cache.setCacheItem("spotify-sdk:verifier",s);const i=await this.generateRedirectUrlForUser(this.scopes,n);await this.configuration.redirectionStrategy.redirect(i)}async verifyAndExchangeCode(e){const s=(await this.cache.get("spotify-sdk:verifier"))?.verifier;if(!s)throw new Error("No verifier found in cache - can't validate query string callback parameters.");return await this.configuration.redirectionStrategy.onReturnFromRedirect(),await this.exchangeCodeForToken(e,s)}removeCodeFromUrl(){const e=new URL(window.location.href);e.searchParams.delete("code");const n=e.search?e.href:e.href.replace("?","");window.history.replaceState({},document.title,n)}async generateRedirectUrlForUser(e,n){const s=e.join(" "),i=new URLSearchParams;return i.append("client_id",this.clientId),i.append("response_type","code"),i.append("redirect_uri",this.redirectUri),i.append("scope",s),i.append("code_challenge_method","S256"),i.append("code_challenge",n),`https://accounts.spotify.com/authorize?${i.toString()}`}async exchangeCodeForToken(e,n){const s=new URLSearchParams;s.append("client_id",this.clientId),s.append("grant_type","authorization_code"),s.append("code",e),s.append("redirect_uri",this.redirectUri),s.append("code_verifier",n);const i=await fetch("https://accounts.spotify.com/api/token",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s}),r=await i.text();if(!i.ok)throw new Error(`Failed to exchange code for token: ${i.statusText}, ${r}`);return JSON.parse(r)}}class Bx{async deserialize(e){const n=await e.text();return n.length>0?JSON.parse(n):null}}class Wx{async validateResponse(e){switch(e.status){case 401:throw new Error("Bad or expired token. This can happen if the user revoked a token or the access token has expired. You should re-authenticate the user.");case 403:const n=await e.text();throw new Error(`Bad OAuth request (wrong consumer key, bad nonce, expired timestamp...). Unfortunately, re-authenticating the user won't help here. Body: ${n}`);case 429:throw new Error("The app has exceeded its rate limits.");default:if(!e.status.toString().startsWith("20")){const s=await e.text();throw new Error(`Unrecognised response code: ${e.status} - ${e.statusText}. Body: ${s}`)}}}}class Gx{async handleErrors(e){return!1}}class Kx{async redirect(e){document.location=e.toString()}async onReturnFromRedirect(){}}class d_{storage;updateFunctions;autoRenewInterval;autoRenewWindow;constructor(e,n=new Map,s=0,i=120*1e3){this.storage=e,this.updateFunctions=n,this.autoRenewInterval=s,this.autoRenewWindow=i,this.autoRenewInterval>0&&setInterval(()=>this.autoRenewRenewableItems(),this.autoRenewInterval)}async getOrCreate(e,n,s){s&&this.updateFunctions.set(e,s);const i=await this.get(e);if(i)return i;const r=await n();if(!r)throw new Error("Could not create cache item");return fa(r)||this.setCacheItem(e,r),r}async get(e){let n=this.storage.get(e),s=n?JSON.parse(n):null;if(this.itemDueToExpire(s)&&this.updateFunctions.has(e)){const i=this.updateFunctions.get(e);await this.tryUpdateItem(e,s,i),n=this.storage.get(e),s=n?JSON.parse(n):null}return s?s.expires&&(s.expires===-1||s.expires<=Date.now())?(this.remove(e),null):(s.expiresOnAccess&&s.expiresOnAccess===!0&&this.remove(e),s):null}set(e,n,s){const i=Date.now()+s,r={...n,expires:i};this.setCacheItem(e,r)}setCacheItem(e,n){const s=JSON.stringify(n);this.storage.set(e,s)}remove(e){this.storage.remove(e)}itemDueToExpire(e){return!e||!e.expires?!1:e.expires-Date.now()<this.autoRenewWindow}async autoRenewRenewableItems(){this.updateFunctions.forEach(async(e,n)=>{const s=await this.get(n);s&&e&&this.itemDueToExpire(s)&&await this.tryUpdateItem(n,s,e)})}async tryUpdateItem(e,n,s){try{const i=await s(n);i&&this.setCacheItem(e,i)}catch(i){console.error(i)}}}class qx extends d_{constructor(){super(new zx)}}class zx{get(e){return localStorage.getItem(e)}set(e,n){localStorage.setItem(e,n)}remove(e){localStorage.removeItem(e)}}class Xx extends d_{constructor(){super(new Yx)}}class Yx{cache=new Map;get(e){return this.cache.get(e)??null}set(e,n){this.cache.set(e,n)}remove(e){this.cache.delete(e)}}class Zx{clientId;accessToken;refreshTokenAction;constructor(e,n,s){this.clientId=e,this.accessToken=n,this.refreshTokenAction=s||Zn.refreshCachedAccessToken,this.accessToken.expires||(this.accessToken.expires=Zn.calculateExpiry(this.accessToken))}setConfiguration(e){}async getOrCreateAccessToken(){if(this.accessToken.expires&&this.accessToken.expires<=Date.now()){const e=await this.refreshTokenAction(this.clientId,this.accessToken);this.accessToken=e}return this.accessToken}async getAccessToken(){return this.accessToken}removeAccessToken(){this.accessToken={access_token:"",token_type:"",expires_in:0,refresh_token:"",expires:0}}}class Gi{sdkConfig;static rootUrl="https://api.spotify.com/v1/";authenticationStrategy;albums;artists;audiobooks;browse;chapters;episodes;recommendations;markets;player;playlists;shows;tracks;users;search;currentUser;constructor(e,n){this.sdkConfig=this.initializeSdk(n),this.albums=new Sx(this),this.artists=new Ex(this),this.audiobooks=new wx(this),this.browse=new kx(this),this.chapters=new Cx(this),this.episodes=new Tx(this),this.recommendations=new Ax(this),this.markets=new Ox(this),this.player=new xx(this),this.playlists=new Ix(this),this.shows=new Px(this),this.tracks=new Rx(this),this.users=new Dx(this),this.currentUser=new Lx(this);const s=new Nx(this);this.search=s.execute.bind(s),this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig)}async makeRequest(e,n,s=void 0,i=void 0){try{const r=await this.authenticationStrategy.getOrCreateAccessToken();if(fa(r))return console.warn("No access token found, authenticating now."),null;const o=r?.access_token,a=Gi.rootUrl+n,l={method:e,headers:{Authorization:`Bearer ${o}`,"Content-Type":i??"application/json"},body:s?typeof s=="string"?s:JSON.stringify(s):void 0};this.sdkConfig.beforeRequest(a,l);const c=await this.sdkConfig.fetch(a,l);return this.sdkConfig.afterRequest(a,l,c),c.status===204?null:(await this.sdkConfig.responseValidator.validateResponse(c),this.sdkConfig.deserializer.deserialize(c))}catch(r){if(!await this.sdkConfig.errorHandler.handleErrors(r))throw r;return null}}initializeSdk(e){const n=typeof window<"u";return{...{fetch:(i,r)=>fetch(i,r),beforeRequest:(i,r)=>{},afterRequest:(i,r,o)=>{},deserializer:new Bx,responseValidator:new Wx,errorHandler:new Gx,redirectionStrategy:new Kx,cachingStrategy:n?new qx:new Xx},...e}}switchAuthenticationStrategy(e){this.authenticationStrategy=e,this.authenticationStrategy.setConfiguration(this.sdkConfig),this.authenticationStrategy.getOrCreateAccessToken()}async authenticate(){const e=await this.authenticationStrategy.getOrCreateAccessToken();return{authenticated:e.expires>Date.now()&&!fa(e),accessToken:e}}async getAccessToken(){return this.authenticationStrategy.getAccessToken()}logOut(){this.authenticationStrategy.removeAccessToken()}static withUserAuthorization(e,n,s=[],i){const r=new _o(e,n,s);return new Gi(r,i)}static withClientCredentials(e,n,s=[],i){const r=new Oa(e,n,s);return new Gi(r,i)}static withImplicitGrant(e,n,s=[],i){const r=new xa(e,n,s);return new Gi(r,i)}static withAccessToken(e,n,s){const i=new Zx(e,n);return new Gi(i,s)}static async performUserAuthorization(e,n,s,i,r){const o=new _o(e,n,s),l=await new Gi(o,r).authenticationStrategy.getOrCreateAccessToken();return fa(l)||(typeof i=="string"?(console.log("Posting access token to postback URL."),await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)})):await i(l)),{authenticated:l.expires>Date.now()&&!fa(l),accessToken:l}}}const Tn={lastfm(){return ut.get("./api/lastfm")},loginLastfm(t){return ut.post("./api/lastfm-login",t)},logoutLastfm(){return ut.get("./api/lastfm-logout")},logoutSpotify(){return ut.get("./api/spotify-logout")},spotify(){return ut.get("./api/spotify").then(t=>({api:Gi.withAccessToken(t.webapi_client_id,{access_token:t.webapi_token},{errorHandler:{handleErrors:()=>!0}}),configuration:t}))}},ns=Fs("ServicesStore",{actions:{async initialiseLastfm(){this.lastfm=await Tn.lastfm()},initialiseSpotify(){Tn.spotify().then(({configuration:t})=>{this.spotify=t})}},getters:{grantedSpotifyScopes:t=>t.spotify.webapi_granted_scope?.split(" ")??[],hasMissingSpotifyScopes:t=>t.missingSpotifyScopes.length>0,isAuthorizationRequired:t=>!t.isSpotifyActive||t.hasMissingSpotifyScopes,isLastfmActive:t=>t.lastfm.scrobbling_enabled,isLastfmEnabled:t=>t.lastfm.enabled,isSpotifyActive:t=>t.spotify.webapi_token_valid,isSpotifyEnabled:t=>t.spotify.spotify_installed,missingSpotifyScopes(t){const e=new Set(t.grantedSpotifyScopes);return t.requiredSpotifyScopes.filter(n=>!e.has(n))??[]},requiredSpotifyScopes:t=>t.spotify.webapi_required_scope?.split(" ")??[]},state:()=>({lastfm:{},spotify:{}})}),Jx={name:"ModalDialogUpdate",components:{ControlSwitch:Gr,ModalDialog:lr},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:zu(),servicesStore:ns()}},data(){return{rescanMetadata:!1}},computed:{actions(){const t=[{handler:this.cancel,icon:"cancel",key:"actions.cancel"}];return this.libraryStore.updating||t.push({handler:this.analyse,icon:"check",key:"actions.rescan"}),t}},methods:{analyse(){this.rescanMetadata?Tt.rescan(this.libraryStore.update_dialog_scan_kind):Tt.update(this.libraryStore.update_dialog_scan_kind)},cancel(){this.$emit("close"),this.libraryStore.update_dialog_scan_kind=""}}},Qx={key:0},tI={key:0,class:"field"},eI=["textContent"],nI={class:"control"},sI={class:"select is-small"},iI=["textContent"],rI=["textContent"],oI=["textContent"],aI=["textContent"],lI=["textContent"],cI={key:1},uI=["textContent"];function dI(t,e,n,s,i,r){const o=w("control-switch"),a=w("modal-dialog");return O(),pt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.update.title"),onClose:e[2]||(e[2]=l=>t.$emit("close"))},{content:L(()=>[s.libraryStore.updating?(O(),F("div",cI,[N("div",{class:"mb-3",textContent:nt(t.$t("dialog.update.progress"))},null,8,uI)])):(O(),F("div",Qx,[s.servicesStore.isSpotifyActive?(O(),F("div",tI,[N("label",{class:"label",textContent:nt(t.$t("dialog.update.info"))},null,8,eI),N("div",nI,[N("div",sI,[bs(N("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>s.libraryStore.update_dialog_scan_kind=l)},[N("option",{value:"",textContent:nt(t.$t("dialog.update.all"))},null,8,iI),N("option",{value:"files",textContent:nt(t.$t("dialog.update.local"))},null,8,rI),s.servicesStore.isSpotifyActive?(O(),F("option",{key:0,value:"spotify",textContent:nt(t.$t("dialog.update.spotify"))},null,8,oI)):vt("",!0),N("option",{value:"rss",textContent:nt(t.$t("dialog.update.feeds"))},null,8,aI)],512),[[pp,s.libraryStore.update_dialog_scan_kind]])])])])):vt("",!0),S(o,{modelValue:i.rescanMetadata,"onUpdate:modelValue":e[1]||(e[1]=l=>i.rescanMetadata=l)},{label:L(()=>[N("span",{textContent:nt(t.$t("dialog.update.rescan-metadata"))},null,8,lI)]),_:1},8,["modelValue"])]))]),_:1},8,["actions","show","title"])}const fI=et(Jx,[["render",dI]]),ss=Fs("UIStore",{actions:{hideMenus(){this.showBurgerMenu=!1,this.showPlayerMenu=!1},toggleBurgerMenu(){this.showPlayerMenu=!1,this.showBurgerMenu=!this.showBurgerMenu},toggleHideReadItems(){this.hideReadItems=!this.hideReadItems},togglePlayerMenu(){this.showBurgerMenu=!1,this.showPlayerMenu=!this.showPlayerMenu}},state:()=>({albumsSort:1,artistAlbumsSort:1,artistTracksSort:1,artistsSort:1,composerTracksSort:1,genreTracksSort:1,hideReadItems:!1,hideSingles:!1,hideSpotify:!1,showBurgerMenu:!1,showPlayerMenu:!1,showUpdateDialog:!1})}),hI={name:"ControlLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:ss()}},methods:{open(){this.uiStore.hideMenus(),this.$router.push(this.to)}}},pI=["href"];function mI(t,e,n,s,i,r){return O(),F("a",{href:t.$router.resolve(n.to).href,onClick:e[0]||(e[0]=Kn((...o)=>r.open&&r.open(...o),["stop","prevent"]))},[de(t.$slots,"default")],8,pI)}const f_=et(hI,[["render",mI]]),Ip={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}}},yy=()=>{dp(t=>({v71a992eb:t.ratio}))},by=Ip.setup;Ip.setup=by?(t,e)=>(yy(),by(t,e)):yy;const gI=["value","disabled","max"];function yI(t,e,n,s,i,r){return O(),F("input",{value:n.value,disabled:n.disabled,class:Gt(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",onInput:e[0]||(e[0]=o=>t.$emit("update:value",o.target.valueAsNumber))},null,42,gI)}const Xu=et(Ip,[["render",yI],["__scopeId","data-v-460ca666"]]),os="./api/player",sn={consume(t){return ut.put(`${os}/consume`,null,{params:{state:t}})},next(){return ut.put(`${os}/next`)},pause(){return ut.put(`${os}/pause`)},play(t={}){return ut.put(`${os}/play`,null,{params:t})},previous(){return ut.put(`${os}/previous`)},repeat(t){return ut.put(`${os}/repeat`,null,{params:{state:t}})},seek(t){return ut.put(`${os}/seek`,null,{params:{seek_ms:t}})},seekToPosition(t){return ut.put(`${os}/seek`,null,{params:{position_ms:t}})},setVolume(t,e=null){const n={volume:t,...e!==null&&{output_id:e}};return ut.put(`${os}/volume`,null,{params:n})},shuffle(t){return ut.put(`${os}/shuffle`,null,{params:{state:t}})},state(){return ut.get(os)},stop(){return ut.put(`${os}/stop`)}},{t:vy}=Js.global,Li="./api/queue",ue={async add(t,e=!1){if(e){const{current:s}=Us();s?.id&&(t.position=s.position+1)}const n=await ut.post(`${Li}/items/add`,null,{params:t});return Xa().add({text:vy("server.appended-tracks",{count:n.count}),timeout:2e3,type:"info"}),n},addExpression(t,e=!1){return this.add({expression:t},e)},addUri(t,e=!1){return this.add({uris:t},e)},clear(){return ut.put(`${Li}/clear`)},move(t,e){return ut.put(`${Li}/items/${t}`,null,{params:{new_position:e}})},playExpression(t,e,n){const s={clear:"true",expression:t,playback:"start",playback_from_position:n,shuffle:e};return ut.post(`${Li}/items/add`,null,{params:s})},playUri(t,e,n){const s={clear:"true",playback:"start",playback_from_position:n,shuffle:e,uris:t};return ut.post(`${Li}/items/add`,null,{params:s})},remove(t){return ut.delete(`${Li}/items/${t}`)},async saveToPlaylist(t){const{data:e}=await ut.post(`${Li}/save`,null,{params:{name:t}});return Xa().add({text:vy("server.queue-saved",{name:t}),timeout:2e3,type:"info"}),e},state(){return ut.get(Li)}},bI={state(){return ut.get("./api/config")}},Ko=Fs("ConfigurationStore",{actions:{async initialise(){this.$state=await bI.state()}},state:()=>({allow_modifying_stored_playlists:!1,buildoptions:[],default_playlist_directory:"",directories:[],hide_singles:!1,library_name:"",radio_playlists:!1,version:"",websocket_port:0})}),Us=Fs("QueueStore",{actions:{async initialise(){this.$state=await ue.state()}},getters:{current(t){const e=qn();return e.initialise(),t.items.find(n=>n.id===e.item_id)??{}},isEmpty(t){return t.count===0},isPauseAllowed(t){return t.current&&t.current.data_kind!=="pipe"},isSavingAllowed(){const t=Ko();return t.allow_modifying_stored_playlists&&t.default_playlist_directory}},state:()=>({count:0,items:[],version:0})}),qn=Fs("PlayerStore",{actions:{async initialise(){this.$state=await sn.state();const t=Us();t.current.track_id&&Tt.track(t.current.track_id).then(e=>{this.lyricsContent=e.lyrics||""})}},getters:{isMuted:t=>t.volume===0,isPlaying:t=>t.state==="play",isRepeatAll:t=>t.repeat==="all",isRepeatOff:t=>t.repeat==="off",isRepeatSingle:t=>t.repeat==="single",isStopped:t=>t.state==="stop"},state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,lyricsContent:"",repeat:"off",showLyrics:!1,shuffle:!1,state:"stop",volume:0})}),vI={name:"ControlVolume",components:{ControlSlider:Xu},setup(){return{playerStore:qn()}},data(){return{volume:0}},computed:{icon(){return this.playerStore.isMuted?"volume-off":"volume-high"}},watch:{"playerStore.volume"(){this.playerStore.isMuted||(this.volume=this.playerStore.volume)}},methods:{changeVolume(){sn.setVolume(this.playerStore.volume)},toggle(){this.playerStore.isMuted?this.playerStore.volume=this.volume:this.playerStore.volume=0,this.changeVolume()}}},_I={class:"media is-align-items-center mb-0"},SI={class:"media-left"},EI={class:"media-content"},wI=["textContent"];function kI(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",_I,[N("div",SI,[N("button",{class:"button is-small",onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[S(o,{class:"icon",name:r.icon},null,8,["name"])])]),N("div",EI,[N("div",{class:"is-size-7 is-uppercase",textContent:nt(t.$t("navigation.volume"))},null,8,wI),S(a,{value:s.playerStore.volume,"onUpdate:value":e[1]||(e[1]=l=>s.playerStore.volume=l),max:100,onChange:r.changeVolume},null,8,["value","onChange"])])])}const h_=et(vI,[["render",kI]]),Jd="./api/outputs",tu={state(){return ut.get(Jd)},toggle(t){return ut.put(`${Jd}/${t}/toggle`)},update(t,e){return ut.put(`${Jd}/${t}`,e)}},CI={name:"ControlOutputVolume",components:{ControlSlider:Xu},props:{output:{required:!0,type:Object}},data(){return{volume:this.output.volume}},computed:{icon(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{changeVolume(){sn.setVolume(this.volume,this.output.id)},toggle(){tu.update(this.output.id,{selected:!this.output.selected})}}},TI={class:"media is-align-items-center mb-0"},AI={class:"media-left"},OI={class:"media-content"},xI=["textContent"];function II(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",TI,[N("div",AI,[N("button",{class:Gt(["button is-small",{"has-text-grey-light":!n.output.selected}]),onClick:e[0]||(e[0]=(...l)=>r.toggle&&r.toggle(...l))},[S(o,{class:"icon",name:r.icon,title:n.output.type},null,8,["name","title"])],2)]),N("div",OI,[N("div",{class:Gt(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:nt(n.output.name)},null,10,xI),S(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 p_=et(CI,[["render",II]]),NI={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:qn(),queueStore:Us()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){sn.seek(this.offset*-1)}}},PI=["disabled"];function RI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[S(o,{class:"icon",name:"rewind-10",title:t.$t("player.button.seek-backward")},null,8,["title"])],8,PI)):vt("",!0)}const DI=et(NI,[["render",RI]]),LI={name:"ControlPlayerConsume",setup(){return{playerStore:qn()}},methods:{toggle(){sn.consume(!this.playerStore.consume)}}};function MI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.consume}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[S(o,{class:"icon",name:"fire",size:"16",title:t.$t("player.button.consume")},null,8,["title"])],2)}const $I=et(LI,[["render",MI]]),FI={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:qn(),queueStore:Us()}},computed:{disabled(){return this.queueStore.isEmpty||this.playerStore.isStopped},visible(){return["podcast","audiobook"].includes(this.queueStore.current.media_kind)}},methods:{seek(){sn.seek(this.offset)}}},VI=["disabled"];function UI(t,e,n,s,i,r){const o=w("mdicon");return r.visible?(O(),F("button",{key:0,disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.seek&&r.seek(...a))},[S(o,{class:"icon",name:"fast-forward-30",title:t.$t("player.button.seek-forward")},null,8,["title"])],8,VI)):vt("",!0)}const HI=et(FI,[["render",UI]]),jI={name:"ControlPlayerLyrics",setup(){return{playerStore:qn()}},computed:{icon(){return this.playerStore.showLyrics?"script-text-play":"script-text-outline"}},methods:{toggle(){this.playerStore.showLyrics=!this.playerStore.showLyrics}}};function BI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.showLyrics}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[S(o,{class:"icon",name:r.icon,size:16,title:t.$t("player.button.toggle-lyrics")},null,8,["name","title"])],2)}const WI=et(jI,[["render",BI]]),GI={name:"ControlPlayerNext",setup(){return{queueStore:Us()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{next(){sn.next()}}},KI=["disabled"];function qI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.next&&r.next(...a))},[S(o,{class:"icon",name:"skip-forward",title:t.$t("player.button.skip-forward")},null,8,["title"])],8,KI)}const zI=et(GI,[["render",qI]]),XI={name:"ControlPlayerPlay",setup(){return{playerStore:qn(),queueStore:Us()}},computed:{disabled(){return this.queueStore.isEmpty},icon(){if(this.playerStore.isPlaying){if(this.queueStore.isPauseAllowed)return"pause"}else return"play";return"stop"}},methods:{toggle(){this.playerStore.isPlaying&&this.queueStore.isPauseAllowed?sn.pause():this.playerStore.isPlaying&&!this.queueStore.isPauseAllowed?sn.stop():sn.play()}}},YI=["disabled"];function ZI(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[S(o,{class:"icon",name:r.icon,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],8,YI)}const JI=et(XI,[["render",ZI]]),QI={name:"ControlPlayerPrevious",setup(){return{queueStore:Us()}},computed:{disabled(){return this.queueStore.isEmpty}},methods:{previous(){sn.previous()}}},tN=["disabled"];function eN(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{disabled:r.disabled,onClick:e[0]||(e[0]=(...a)=>r.previous&&r.previous(...a))},[S(o,{class:"icon",name:"skip-backward",title:t.$t("player.button.skip-backward")},null,8,["title"])],8,tN)}const nN=et(QI,[["render",eN]]),sN={name:"ControlPlayerRepeat",setup(){return{playerStore:qn()}},computed:{icon(){return this.playerStore.isRepeatAll?"repeat":this.playerStore.isRepeatSingle?"repeat-once":"repeat-off"}},methods:{toggle(){this.playerStore.isRepeatAll?sn.repeat("single"):this.playerStore.isRepeatSingle?sn.repeat("off"):sn.repeat("all")}}};function iN(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":!s.playerStore.isRepeatOff}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[S(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const rN=et(sN,[["render",iN]]),oN={name:"ControlPlayerShuffle",setup(){return{playerStore:qn()}},computed:{icon(){return this.playerStore.shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle(){sn.shuffle(!this.playerStore.shuffle)}}};function aN(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:Gt({"is-dark":s.playerStore.shuffle}),onClick:e[0]||(e[0]=(...a)=>r.toggle&&r.toggle(...a))},[S(o,{class:"icon",name:r.icon,size:16,title:t.$t(`player.button.${r.icon}`)},null,8,["name","title"])],2)}const lN=et(oN,[["render",aN]]),Gl={audio:null,play(t){this.audio=new Audio(`${String(t||"")}?x=${Date.now()}`),this.audio.crossOrigin="anonymous";const e=new(window.AudioContext||window.webkitAudioContext);e.createMediaElementSource(this.audio).connect(e.destination),this.audio.addEventListener("canplay",()=>{e.resume().then(()=>{this.audio.play()})}),this.audio.load()},setVolume(t){this.audio&&(this.audio.volume=Math.max(0,Math.min(1,Number(t)||0)))},stop(){try{this.audio?.pause()}catch{}}},cN={name:"ControlStreamVolume",components:{ControlSlider:Xu},emits:["change","mute"],data(){return{loading:!1,playing:!1,volume:10}},unmounted(){this.closeAudio()},methods:{changeVolume(){Gl.setVolume(this.volume/100)},closeAudio(){Gl.stop(),this.playing=!1,this.loading=!1},playChannel(){this.loading=!0,Gl.play("/stream.mp3"),this.changeVolume();const t=Gl.audio;t&&(t.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),t.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),t.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),t.addEventListener("error",()=>{this.closeAudio()}))},togglePlay(){this.playing||this.loading?this.closeAudio():this.playChannel()}}},uN={class:"media is-align-items-center mb-0"},dN={class:"media-left"},fN={class:"media-content is-align-items-center"},hN=["textContent"],pN={href:"stream.mp3",class:"ml-2",target:"_blank"};function mN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-slider");return O(),F("div",uN,[N("div",dN,[N("button",{class:Gt(["button is-small",{"has-text-grey-light":!i.playing&&!i.loading,"is-loading":i.loading}]),onClick:e[0]||(e[0]=(...l)=>r.togglePlay&&r.togglePlay(...l))},[S(o,{class:"icon",name:"broadcast"})],2)]),N("div",fN,[N("div",{class:Gt(["is-flex",{"has-text-grey-light":!i.playing}])},[N("div",{class:"is-size-7 is-uppercase",textContent:nt(t.$t("navigation.stream"))},null,8,hN),N("a",pN,[S(o,{class:"icon is-small",name:"open-in-new"})])],2),S(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 m_=et(cN,[["render",mN]]),Yu=Fs("OutputsStore",{actions:{async initialise(){this.$state=await tu.state()}},state:()=>({outputs:[]})}),gN={name:"NavbarBottom",components:{ControlLink:f_,ControlMainVolume:h_,ControlOutputVolume:p_,ControlPlayerBack:DI,ControlPlayerConsume:$I,ControlPlayerForward:HI,ControlPlayerLyrics:WI,ControlPlayerNext:zI,ControlPlayerPlay:JI,ControlPlayerPrevious:nN,ControlPlayerRepeat:rN,ControlPlayerShuffle:lN,ControlStreamVolume:m_},setup(){return{outputsStore:Yu(),queueStore:Us(),uiStore:ss()}},computed:{isPlayerPage(){return this.$route.name==="player"},metadata(){const{current:t}=this.queueStore;return[t.artist,t.album].filter(Boolean).join(" - ")}}},yN={class:"navbar-brand is-flex-grow-1"},bN={class:"is-text-clipped"},vN=["textContent"],_N=["textContent"],SN={class:"dropdown-menu is-mobile"},EN={class:"dropdown-content"},wN={class:"dropdown-item pt-0"},kN={class:"dropdown-item is-flex is-justify-content-center"},CN={class:"buttons has-addons"};function TN(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"),v=w("control-player-repeat"),y=w("control-player-shuffle"),_=w("control-player-consume"),g=w("control-player-lyrics");return O(),F("nav",{class:Gt(["navbar is-fixed-bottom",{"is-bottom":!r.isPlayerPage}])},[N("div",yN,[S(a,{class:"navbar-item",to:{name:"queue"}},{default:L(()=>[S(o,{class:"icon",name:"playlist-play"})]),_:1}),r.isPlayerPage?(O(),F(rt,{key:0},[S(l,{class:"navbar-item ml-auto"}),S(c,{class:"navbar-item",offset:1e4}),S(u,{class:"navbar-item"}),S(d,{class:"navbar-item",offset:3e4}),S(f,{class:"navbar-item mr-auto"})],64)):(O(),F(rt,{key:1},[S(a,{to:{name:"player"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:L(()=>[N("div",bN,[N("strong",{textContent:nt(s.queueStore.current.title)},null,8,vN),e[1]||(e[1]=N("br",null,null,-1)),N("span",{textContent:nt(r.metadata)},null,8,_N)])]),_:1}),S(u,{class:"navbar-item"})],64)),N("a",{class:"navbar-item",onClick:e[0]||(e[0]=(...b)=>s.uiStore.togglePlayerMenu&&s.uiStore.togglePlayerMenu(...b))},[S(o,{class:"icon",name:s.uiStore.showPlayerMenu?"chevron-down":"chevron-up"},null,8,["name"])]),N("div",{class:Gt(["dropdown is-up is-right",{"is-active":s.uiStore.showPlayerMenu}])},[N("div",SN,[N("div",EN,[N("div",wN,[S(h),(O(!0),F(rt,null,fe(s.outputsStore.outputs,b=>(O(),pt(p,{key:b.id,output:b},null,8,["output"]))),128)),S(m)]),e[2]||(e[2]=N("hr",{class:"dropdown-divider"},null,-1)),N("div",kN,[N("div",CN,[S(v,{class:"button"}),S(y,{class:"button"}),S(_,{class:"button"}),S(g,{class:"button"})])])])])],2)])],2)}const AN=et(gN,[["render",TN],["__scopeId","data-v-f7cc344c"]]),Zu=Fs("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"})}),_y="./api/settings",g_={state(){return ut.get(_y)},update(t){return ut.put(`${_y}/${t.category}/${t.name}`,t)}},{t:Kl,availableLocales:Sy}=Js.global,ii=Fs("SettingsStore",{actions:{currentAppearance(){return this.$state.appearance},currentLocale(){const t=Sy;let e=t.find(s=>s===Js.global.locale.value);const[n]=Js.global.locale.value.split("-");return e||(e=t.find(s=>s===n)),e||(e=t.find(s=>s.split("-")[0]===n)),e||(e=Js.global.fallbackLocale),e},get(t,e){return this.categories.find(n=>n.name===t)?.options.find(n=>n.name===e)??{}},async initialise(){this.$state=await g_.state()},setAppearance(t){this.$state.appearance=t;const e=document.documentElement;t==="auto"?e.removeAttribute("data-theme"):e.setAttribute("data-theme",t)},setLocale(t){Js.global.locale.value=t},update(t){const e=this.categories.find(s=>s.name===t.category);if(!e)return;const n=e.options.find(s=>s.name===t.name);n&&(n.value=t.value)}},getters:{appearances(){return[{id:"auto",name:Kl("settings.appearance.auto")},{id:"light",name:Kl("settings.appearance.light")},{id:"dark",name:Kl("settings.appearance.dark")}]},locales(){return Sy.map(t=>({id:t,name:Kl(`language.${t}`)}))},recentlyAddedLimit:t=>t.get("webinterface","recently_added_limit")?.value??100,showComposerForGenre:t=>t.get("webinterface","show_composer_for_genre")?.value??null,showComposerNowPlaying:t=>t.get("webinterface","show_composer_now_playing")?.value??!1,showCoverArtworkInAlbumLists:t=>t.get("artwork","show_cover_artwork_in_album_lists")?.value??!1,showFilepathNowPlaying:t=>t.get("webinterface","show_filepath_now_playing")?.value??!1,showMenuItemAudiobooks:t=>t.get("webinterface","show_menu_item_audiobooks")?.value??!1,showMenuItemFiles:t=>t.get("webinterface","show_menu_item_files")?.value??!1,showMenuItemMusic:t=>t.get("webinterface","show_menu_item_music")?.value??!1,showMenuItemPlaylists:t=>t.get("webinterface","show_menu_item_playlists")?.value??!1,showMenuItemPodcasts:t=>t.get("webinterface","show_menu_item_podcasts")?.value??!1,showMenuItemRadio:t=>t.get("webinterface","show_menu_item_radio")?.value??!1,showMenuItemSearch:t=>t.get("webinterface","show_menu_item_search")?.value??!1},state:()=>({appearance:"auto",categories:[]})}),ON={name:"NavbarTop",components:{ControlLink:f_},setup(){return{searchStore:Zu(),servicesStore:ns(),settingsStore:ii(),uiStore:ss()}},computed:{menus(){return[{icon:"music-box-multiple",key:"navigation.playlists",name:"playlists",show:this.settingsStore.showMenuItemPlaylists},{icon:"music",key:"navigation.music",name:"music",show:this.settingsStore.showMenuItemMusic},{key:"navigation.artists",name:"music-artists",sub:!0},{key:"navigation.albums",name:"music-albums",sub:!0},{key:"navigation.genres",name:"music-genres",sub:!0},{key:"navigation.composers",name:"music-composers",sub:!0},{key:"navigation.spotify",name:"music-spotify",show:this.servicesStore.isSpotifyActive,sub:!0},{icon:"microphone",key:"navigation.podcasts",name:"podcasts",show:this.settingsStore.showMenuItemPodcasts},{icon:"book-open-variant",key:"navigation.audiobooks",name:"audiobooks",show:this.settingsStore.showMenuItemAudiobooks},{icon:"radio",key:"navigation.radio",name:"radio",show:this.settingsStore.showMenuItemRadio},{icon:"folder-open",key:"navigation.files",name:"files",show:this.settingsStore.showMenuItemFiles},{icon:"magnify",key:"navigation.search",name:this.searchStore.source,show:this.settingsStore.showMenuItemSearch},{separator:!0},{key:"navigation.settings",name:"settings-webinterface"},{key:"navigation.outputs",name:"outputs"},{action:this.openUpdateDialog,key:"navigation.update-library"},{key:"navigation.about",name:"about"}]}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0,this.uiStore.hideMenus()}}},xN={class:"navbar is-fixed-top is-top"},IN={class:"navbar-brand is-fullwidth"},NN={class:"is-flex is-clipped"},PN={class:"dropdown-menu is-mobile"},RN={class:"dropdown-content"},DN={key:0,class:"my-3"},LN=["onClick","textContent"],MN={key:0,class:"icon-text"},$N=["textContent"];function FN(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-link");return O(),F("nav",xN,[N("div",IN,[N("div",NN,[(O(!0),F(rt,null,fe(r.menus.filter(l=>l.show&&!l.sub),l=>(O(),pt(a,{key:l.name,to:{name:l.name},class:"navbar-item"},{default:L(()=>[S(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])]),_:2},1032,["to"]))),128))]),N("a",{class:"navbar-item ml-auto",onClick:e[0]||(e[0]=(...l)=>s.uiStore.toggleBurgerMenu&&s.uiStore.toggleBurgerMenu(...l))},[S(o,{class:"icon",name:s.uiStore.showBurgerMenu?"close":"menu"},null,8,["name"])]),N("div",{class:Gt(["dropdown is-right",{"is-active":s.uiStore.showBurgerMenu}])},[N("div",PN,[N("div",RN,[(O(!0),F(rt,null,fe(r.menus,l=>(O(),F(rt,{key:l.name},[l.separator?(O(),F("hr",DN)):l.action?(O(),F("a",{key:1,class:"dropdown-item",onClick:Kn(l.action,["stop","prevent"]),textContent:nt(t.$t(l.key))},null,8,LN)):(O(),pt(a,{key:2,to:{name:l.name},class:"dropdown-item"},{default:L(()=>[l.icon?(O(),F("span",MN,[S(o,{class:"icon",name:l.icon,size:"16"},null,8,["name"])])):vt("",!0),N("span",{class:Gt({"pl-5":l.sub,"has-text-weight-semibold":l.icon}),textContent:nt(t.$t(l.key))},null,10,$N)]),_:2},1032,["to"]))],64))),128))])])],2)])])}const VN=et(ON,[["render",FN],["__scopeId","data-v-d084054e"]]);function Np(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(){var i=!1;try{i=this instanceof s}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var i=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,i.get?i:{enumerable:!0,get:function(){return t[s]}})}),n}var yc={exports:{}},UN=yc.exports,Ey;function HN(){return Ey||(Ey=1,(function(t){(function(e,n){t.exports?t.exports=n():e.ReconnectingWebSocket=n()})(UN,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(v){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(v){if(clearTimeout(_),l=null,c)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var y=f("connecting");y.code=v.code,y.reason=v.reason,y.wasClean=v.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(v){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,v.data);var y=f("message");y.data=v.data,d.dispatchEvent(y)},l.onerror=function(v){(a.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,v),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})})(yc)),yc.exports}var jN=HN();const BN=Np(jN),WN={name:"App",components:{ListNotifications:mC,ModalDialogRemotePairing:hx,ModalDialogUpdate:fI,NavbarBottom:AN,NavbarTop:VN},setup(){return{configurationStore:Ko(),libraryStore:zu(),notificationsStore:Xa(),outputsStore:Yu(),playerStore:qn(),queueStore:Us(),remotesStore:Op(),servicesStore:ns(),settingsStore:ii(),uiStore:ss()}},data(){return{handlers:{},scheduledHandlers:new Map}},watch:{"uiStore.showBurgerMenu"(){this.updateClipping()},"uiStore.showPlayerMenu"(){this.updateClipping()}},created(){this.handlers={database:[this.libraryStore.initialise],lastfm:[this.servicesStore.initialiseLastfm],options:[this.playerStore.initialise],outputs:[this.outputsStore.initialise],pairing:[this.remotesStore.initialise],player:[this.playerStore.initialise],queue:[this.queueStore.initialise],settings:[this.settingsStore.initialise],spotify:[this.servicesStore.initialiseSpotify],update:[this.libraryStore.initialise],volume:[this.playerStore.initialise,this.outputsStore.initialise]},this.$router.beforeEach(async(t,e,n)=>{await this.configurationStore.initialise(),this.updateClipping(),t.path===e.path&&t.hash||this.$Progress.start(),n()}),this.$router.afterEach(()=>{this.$Progress.finish()}),this.connect()},beforeUnmount(){this.scheduledHandlers.forEach(t=>clearTimeout(t)),this.scheduledHandlers.clear()},methods:{async connect(){try{await this.configurationStore.initialise(),this.uiStore.hideSingles=this.configurationStore.hide_singles,document.title=this.configurationStore.library_name,this.openWebsocket()}catch{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})}},createWebsocket(){const t=window.location.protocol.replace("http","ws"),e=window.location.hostname,n=this.configurationStore.websocket_port||`${window.location.port}/ws`,s=`${t}${e}:${n}`;return new BN(s,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},handleEvents(t=[]){t.forEach(e=>{(this.handlers[e]||[]).forEach(s=>{if(!this.scheduledHandlers.has(s)){const i=setTimeout(()=>{s.call(this),this.scheduledHandlers.delete(s)},50);this.scheduledHandlers.set(s,i)}})})},openWebsocket(){const t=this.createWebsocket(),e=["database","lastfm","options","outputs","pairing","player","queue","settings","spotify","update","volume"];t.onopen=()=>{t.send(JSON.stringify({notify:e})),this.handleEvents(e)},window.addEventListener("focus",()=>{this.handleEvents(e)}),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&this.handleEvents(e)}),t.onmessage=n=>{const s=JSON.parse(n.data).notify;this.handleEvents(s)}},updateClipping(){this.uiStore.showBurgerMenu||this.uiStore.showPlayerMenu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}}};function GN(t,e,n,s,i,r){const o=w("vue-progress-bar"),a=w("navbar-top"),l=w("router-view"),c=w("modal-dialog-remote-pairing"),u=w("modal-dialog-update"),d=w("list-notifications"),f=w("navbar-bottom");return O(),F(rt,null,[S(o,{class:"has-background-primary"}),S(a),S(l,null,{default:L(({Component:h})=>[(O(),pt(np(h)))]),_:1}),S(c,{show:s.remotesStore.active,onClose:e[0]||(e[0]=h=>s.remotesStore.active=!1)},null,8,["show"]),S(u,{show:s.uiStore.showUpdateDialog,onClose:e[1]||(e[1]=h=>s.uiStore.showUpdateDialog=!1)},null,8,["show"]),bs(S(d,null,null,512),[[Kc,!s.uiStore.showBurgerMenu]]),S(f),bs(N("div",{class:"overlay-fullscreen",onClick:e[2]||(e[2]=(...h)=>s.uiStore.hideMenus&&s.uiStore.hideMenus(...h))},null,512),[[Kc,s.uiStore.showBurgerMenu||s.uiStore.showPlayerMenu]])],64)}const KN=et(WN,[["render",GN]]),y_=function(){return document.ontouchstart!==null?"click":"touchstart"},eu="__vue_click_away__",b_=function(t,e,n){v_(t);let s=n.context,i=e.value,r=!1;setTimeout(function(){r=!0},0),t[eu]=function(o){if((!t||!t.contains(o.target))&&i&&r&&typeof i=="function")return i.call(s,o)},document.addEventListener(y_(),t[eu],!1)},v_=function(t){document.removeEventListener(y_(),t[eu],!1),delete t[eu]},qN=function(t,e,n){e.value!==e.oldValue&&b_(t,e,n)},zN={install:function(t){t.directive("click-away",XN)}},XN={mounted:b_,updated:qN,unmounted:v_};var qs=(t=>(t.LOADING="loading",t.LOADED="loaded",t.ERROR="error",t))(qs||{});const YN=typeof window<"u"&&window!==null,ZN=eP(),JN=Object.prototype.propertyIsEnumerable,wy=Object.getOwnPropertySymbols;function Ia(t){return typeof t=="function"||toString.call(t)==="[object Object]"}function QN(t){return typeof t=="object"?t===null:typeof t!="function"}function tP(t){return t!=="__proto__"&&t!=="constructor"&&t!=="prototype"}function eP(){return YN&&"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 nP(t,...e){if(!Ia(t))throw new TypeError("expected the first argument to be an object");if(e.length===0||typeof Symbol!="function"||typeof wy!="function")return t;for(const n of e){const s=wy(n);for(const i of s)JN.call(n,i)&&(t[i]=n[i])}return t}function __(t,...e){let n=0;for(QN(t)&&(t=e[n++]),t||(t={});n<e.length;n++)if(Ia(e[n])){for(const s of Object.keys(e[n]))tP(s)&&(Ia(t[s])&&Ia(e[n][s])?__(t[s],e[n][s]):t[s]=e[n][s]);nP(t,e[n])}return t}const ky="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",sP="",iP={rootMargin:"0px",threshold:0},Jr="data-lazy-timeout-id";class rP{constructor(e){this.options={loading:ky,error:sP,observerOptions:iP,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(e)}config(e={}){__(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(qs.LOADING,o,e),e.setAttribute("src",i||ky),ZN||(this.loadImages(e,s,r,o),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(e,s,r,o,a)}update(e,n){if(!e)return;this._realObserver(e)?.unobserve(e);const{src:s,error:i,lifecycle:r,delay:o}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(e,s,i,r,o)}unmount(e){e&&(this._realObserver(e)?.unobserve(e),this._images.delete(e))}loadImages(e,n,s,i){this._setImageSrc(e,n,s,i)}_setImageSrc(e,n,s,i){e.tagName.toLowerCase()==="img"?(n&&e.getAttribute("src")!==n&&e.setAttribute("src",n),this._listenImageStatus(e,()=>{this._lifecycle(qs.LOADED,i,e)},()=>{e.onload=null,this._lifecycle(qs.ERROR,i,e),this._realObserver(e)?.disconnect(),s&&e.getAttribute("src")!==s&&e.setAttribute("src",s),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):e.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(e,n,s,i,r){const o=this.options.observerOptions;this._images.set(e,new IntersectionObserver(a=>{Array.prototype.forEach.call(a,l=>{r&&r>0?this._delayedIntersectionCallback(e,l,r,n,s,i):this._intersectionCallback(e,l,n,s,i)})},o)),this._realObserver(e)?.observe(e)}_intersectionCallback(e,n,s,i,r){n.isIntersecting&&(this._realObserver(e)?.unobserve(n.target),this._setImageSrc(e,s,i,r))}_delayedIntersectionCallback(e,n,s,i,r,o){if(n.isIntersecting){if(n.target.hasAttribute(Jr))return;const a=setTimeout(()=>{this._intersectionCallback(e,n,i,r,o),n.target.removeAttribute(Jr)},s);n.target.setAttribute(Jr,String(a))}else n.target.hasAttribute(Jr)&&(clearTimeout(Number(n.target.getAttribute(Jr))),n.target.removeAttribute(Jr))}_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 Ia(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 qs.LOADING:s?.setAttribute("lazy",qs.LOADING),n?.loading&&n.loading(s);break;case qs.LOADED:s?.setAttribute("lazy",qs.LOADED),n?.loaded&&n.loaded(s);break;case qs.ERROR:s?.setAttribute("lazy",qs.ERROR),n?.error&&n.error(s);break}}_realObserver(e){return this._images.get(e)}_logger(e,...n){let s=console.error;switch(this.options.logLevel){case"error":s=console.error;break;case"warn":s=console.warn;break;case"info":s=console.info;break;case"debug":s=console.debug;break}s(e,n)}}const oP={install(t,e){const n=new rP(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 Qd={exports:{}},tf={exports:{}},ef={};/**
|
||
* @vue/compiler-core v3.5.22
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Io=Symbol(""),So=Symbol(""),Qu=Symbol(""),Qa=Symbol(""),Pp=Symbol(""),ir=Symbol(""),Rp=Symbol(""),Dp=Symbol(""),td=Symbol(""),ed=Symbol(""),qo=Symbol(""),nd=Symbol(""),Lp=Symbol(""),sd=Symbol(""),id=Symbol(""),rd=Symbol(""),od=Symbol(""),ad=Symbol(""),ld=Symbol(""),Mp=Symbol(""),$p=Symbol(""),vl=Symbol(""),tl=Symbol(""),cd=Symbol(""),ud=Symbol(""),No=Symbol(""),zo=Symbol(""),dd=Symbol(""),nu=Symbol(""),S_=Symbol(""),su=Symbol(""),el=Symbol(""),E_=Symbol(""),w_=Symbol(""),fd=Symbol(""),k_=Symbol(""),C_=Symbol(""),hd=Symbol(""),Fp=Symbol(""),Fr={[Io]:"Fragment",[So]:"Teleport",[Qu]:"Suspense",[Qa]:"KeepAlive",[Pp]:"BaseTransition",[ir]:"openBlock",[Rp]:"createBlock",[Dp]:"createElementBlock",[td]:"createVNode",[ed]:"createElementVNode",[qo]:"createCommentVNode",[nd]:"createTextVNode",[Lp]:"createStaticVNode",[sd]:"resolveComponent",[id]:"resolveDynamicComponent",[rd]:"resolveDirective",[od]:"resolveFilter",[ad]:"withDirectives",[ld]:"renderList",[Mp]:"renderSlot",[$p]:"createSlots",[vl]:"toDisplayString",[tl]:"mergeProps",[cd]:"normalizeClass",[ud]:"normalizeStyle",[No]:"normalizeProps",[zo]:"guardReactiveProps",[dd]:"toHandlers",[nu]:"camelize",[S_]:"capitalize",[su]:"toHandlerKey",[el]:"setBlockTracking",[E_]:"pushScopeId",[w_]:"popScopeId",[fd]:"withCtx",[k_]:"unref",[C_]:"isRef",[hd]:"withMemo",[Fp]:"isMemoSame"};function T_(t){Object.getOwnPropertySymbols(t).forEach(e=>{Fr[e]=t[e]})}const aP={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},lP={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"},cP={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},uP={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},Qe={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function A_(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Qe}}function Po(t,e,n,s,i,r,o,a=!1,l=!1,c=!1,u=Qe){return t&&(a?(t.helper(ir),t.helper(Hr(t.inSSR,c))):t.helper(Ur(t.inSSR,c)),o&&t.helper(ad)),{type:13,tag:e,props:n,children:s,patchFlag:i,dynamicProps:r,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function er(t,e=Qe){return{type:17,loc:e,elements:t}}function Jn(t,e=Qe){return{type:15,loc:e,properties:t}}function We(t,e){return{type:16,loc:Qe,key:Mt(t)?Ht(t,!0):t,value:e}}function Ht(t,e=!1,n=Qe,s=0){return{type:4,loc:n,content:t,isStatic:e,constType:e?3:s}}function dP(t,e){return{type:5,loc:e,content:Mt(t)?Ht(t,!1,e):t}}function ms(t,e=Qe){return{type:8,loc:e,children:t}}function Xe(t,e=[],n=Qe){return{type:14,loc:n,callee:t,arguments:e}}function Vr(t,e=void 0,n=!1,s=!1,i=Qe){return{type:18,params:t,returns:e,newline:n,isSlot:s,loc:i}}function iu(t,e,n,s=!0){return{type:19,test:t,consequent:e,alternate:n,newline:s,loc:Qe}}function O_(t,e,n=!1,s=!1){return{type:20,index:t,value:e,needPauseTracking:n,inVOnce:s,needArraySpread:!1,loc:Qe}}function x_(t){return{type:21,body:t,loc:Qe}}function fP(t){return{type:22,elements:t,loc:Qe}}function hP(t,e,n){return{type:23,test:t,consequent:e,alternate:n,loc:Qe}}function pP(t,e){return{type:24,left:t,right:e,loc:Qe}}function mP(t){return{type:25,expressions:t,loc:Qe}}function gP(t){return{type:26,returns:t,loc:Qe}}function Ur(t,e){return t||e?td:ed}function Hr(t,e){return t||e?Rp:Dp}function pd(t,{helper:e,removeHelper:n,inSSR:s}){t.isBlock||(t.isBlock=!0,n(Ur(s,t.isComponent)),e(ir),e(Hr(s,t.isComponent)))}const Cy=new Uint8Array([123,123]),Ty=new Uint8Array([125,125]);function Ay(t){return t>=97&&t<=122||t>=65&&t<=90}function Yn(t){return t===32||t===10||t===9||t===12||t===13}function Mi(t){return t===47||t===62||Yn(t)}function ru(t){const e=new Uint8Array(t.length);for(let n=0;n<t.length;n++)e[n]=t.charCodeAt(n);return e}const hn={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 yP{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=Cy,this.delimiterClose=Ty,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=Cy,this.delimiterClose=Ty}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?Mi(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||Yn(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===hn.TitleEnd||this.currentSequence===hn.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===hn.Cdata[this.sequenceIndex]?++this.sequenceIndex===hn.Cdata.length&&(this.state=28,this.currentSequence=hn.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===hn.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):Ay(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){Mi(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Mi(e)){const n=this.buffer.slice(this.sectionStart,this.index);n!=="template"&&this.enterRCDATA(ru("</"+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){Yn(e)||(e===62?(this.state=1,this.sectionStart=this.index+1):(this.state=Ay(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||Yn(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):Yn(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):Yn(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){(e===61||Mi(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e))}stateInDirName(e){e===61||Mi(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||Mi(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||Mi(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e))}stateInDirModifier(e){e===61||Mi(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)):Yn(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):Yn(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){Yn(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=hn.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===hn.ScriptEnd[3]?this.startSpecial(hn.ScriptEnd,4):e===hn.StyleEnd[3]?this.startSpecial(hn.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===hn.TitleEnd[3]?this.startSpecial(hn.TitleEnd,4):e===hn.TextareaEnd[3]?this.startSpecial(hn.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){}stateInEntity(){}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const n=this.buffer.charCodeAt(this.index);switch(n===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(n);break}case 2:{this.stateInterpolationOpen(n);break}case 3:{this.stateInterpolation(n);break}case 4:{this.stateInterpolationClose(n);break}case 31:{this.stateSpecialStartSequence(n);break}case 32:{this.stateInRCDATA(n);break}case 26:{this.stateCDATASequence(n);break}case 19:{this.stateInAttrValueDoubleQuotes(n);break}case 12:{this.stateInAttrName(n);break}case 13:{this.stateInDirName(n);break}case 14:{this.stateInDirArg(n);break}case 15:{this.stateInDynamicDirArg(n);break}case 16:{this.stateInDirModifier(n);break}case 28:{this.stateInCommentLike(n);break}case 27:{this.stateInSpecialComment(n);break}case 11:{this.stateBeforeAttrName(n);break}case 6:{this.stateInTagName(n);break}case 34:{this.stateInSFCRootTagName(n);break}case 9:{this.stateInClosingTagName(n);break}case 5:{this.stateBeforeTagName(n);break}case 17:{this.stateAfterAttrName(n);break}case 20:{this.stateInAttrValueSingleQuotes(n);break}case 18:{this.stateBeforeAttrValue(n);break}case 8:{this.stateBeforeClosingTagName(n);break}case 10:{this.stateAfterClosingTagName(n);break}case 29:{this.stateBeforeSpecialS(n);break}case 30:{this.stateBeforeSpecialT(n);break}case 21:{this.stateInAttrValueNoQuotes(n);break}case 7:{this.stateInSelfClosingTag(n);break}case 23:{this.stateInDeclaration(n);break}case 22:{this.stateBeforeDeclaration(n);break}case 25:{this.stateBeforeComment(n);break}case 24:{this.stateInProcessingInstruction(n);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===hn.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 bP={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"},vP={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 fh(t,{compatConfig:e}){const n=e&&e[t];return t==="MODE"?n||3:n}function Rr(t,e){const n=fh("MODE",e),s=fh(t,e);return n===3?s===!0:s!==!1}function Ro(t,e,n,...s){return Rr(t,e)}function _P(t,e,n,...s){if(fh(t,e)==="suppress-warning")return;const{message:r,link:o}=vP[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 Vp(t){throw t}function I_(t){}function Te(t,e,n,s){const i=`https://vuejs.org/error-reference/#compiler-${t}`,r=new SyntaxError(String(i));return r.code=t,r.loc=e,r}const SP={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__"},EP={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 wP(t,e,n=!1,s=[],i=Object.create(null)){}function kP(t,e,n){return!1}function CP(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 TP(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 AP(t,e){for(const n of t.params)for(const s of Ys(n))e(s)}function N_(t,e){const n=t.type==="SwitchCase"?t.consequent:t.body;for(const s of n)if(s.type==="VariableDeclaration"){if(s.declare)continue;for(const i of s.declarations)for(const r of Ys(i.id))e(r)}else if(s.type==="FunctionDeclaration"||s.type==="ClassDeclaration"){if(s.declare||!s.id)continue;e(s.id)}else OP(s)?xP(s,!0,e):s.type==="SwitchStatement"&&IP(s,!0,e)}function OP(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function xP(t,e,n){const s=t.type==="ForStatement"?t.init:t.left;if(s&&s.type==="VariableDeclaration"&&(s.kind==="var"?e:!e))for(const i of s.declarations)for(const r of Ys(i.id))n(r)}function IP(t,e,n){for(const s of t.cases){for(const i of s.consequent)if(i.type==="VariableDeclaration"&&(i.kind==="var"?e:!e))for(const r of i.declarations)for(const o of Ys(r.id))n(o);N_(s,n)}}function Ys(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"?Ys(s.argument,e):Ys(s.value,e);break;case"ArrayPattern":t.elements.forEach(s=>{s&&Ys(s,e)});break;case"RestElement":Ys(t.argument,e);break;case"AssignmentPattern":Ys(t.left,e);break}return e}const NP=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),P_=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,PP=(t,e)=>P_(e)&&e.key===t,R_=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function D_(t){return R_.includes(t.type)?D_(t.expression):t}const Rn=t=>t.type===4&&t.isStatic;function Up(t){switch(t){case"Teleport":case"teleport":return So;case"Suspense":case"suspense":return Qu;case"KeepAlive":case"keep-alive":return Qa;case"BaseTransition":case"base-transition":return Pp}}const RP=/^$|^\d|[^\$\w\xA0-\uFFFF]/,_l=t=>!RP.test(t),Hp=/[A-Za-z_$\xA0-\uFFFF]/,DP=/[\.\?\w$\xA0-\uFFFF]/,LP=/\s+[.[]\s*|\s*[.[]\s+/g,L_=t=>t.type===4?t.content:t.loc.source,M_=t=>{const e=L_(t).trim().replace(LP,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?Hp:DP).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},MP=en,jp=M_,$P=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,$_=t=>$P.test(L_(t)),FP=en,F_=$_;function VP(t,e,n=e.length){return V_({offset:t.offset,line:t.line,column:t.column},e,n)}function V_(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 UP(t,e){if(!t)throw new Error(e||"unexpected compiler condition")}function Pn(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)&&(Mt(e)?i.name===e:e.test(i.name)))return i}}function Sl(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)&&Ji(r.arg,e))return r}}function Ji(t,e){return!!(t&&Rn(t)&&t.content===e)}function U_(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function bc(t){return t.type===5||t.type===2}function hh(t){return t.type===7&&t.name==="pre"}function Bp(t){return t.type===7&&t.name==="slot"}function Do(t){return t.type===1&&t.tagType===3}function nl(t){return t.type===1&&t.tagType===2}const HP=new Set([No,zo]);function H_(t,e=[]){if(t&&!Mt(t)&&t.type===14){const n=t.callee;if(!Mt(n)&&HP.has(n))return H_(t.arguments[0],e.concat(t))}return[t,e]}function sl(t,e,n){let s,i=t.type===13?t.props:t.arguments[2],r=[],o;if(i&&!Mt(i)&&i.type===14){const a=H_(i);i=a[0],r=a[1],o=r[r.length-1]}if(i==null||Mt(i))s=Jn([e]);else if(i.type===14){const a=i.arguments[0];!Mt(a)&&a.type===15?Oy(e,a)||a.properties.unshift(e):i.callee===dd?s=Xe(n.helper(tl),[Jn([e]),i]):i.arguments.unshift(Jn([e])),!s&&(s=i)}else i.type===15?(Oy(e,i)||i.properties.unshift(e),s=i):(s=Xe(n.helper(tl),[Jn([e]),i]),o&&o.callee===zo&&(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 Oy(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 Lo(t,e){return`_${e}_${t.replace(/[^\w]/g,(n,s)=>n==="-"?"_":t.charCodeAt(s).toString())}`}function Os(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&&(Os(s.arg,e)||Os(s.exp,e)))return!0}return t.children.some(n=>Os(n,e));case 11:return Os(t.source,e)?!0:t.children.some(n=>Os(n,e));case 9:return t.branches.some(n=>Os(n,e));case 10:return Os(t.condition,e)?!0:t.children.some(n=>Os(n,e));case 4:return!t.isStatic&&_l(t.content)&&!!e[t.content];case 8:return t.children.some(n=>me(n)&&Os(n,e));case 5:case 12:return Os(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function j_(t){return t.type===14&&t.callee===hd?t.arguments[1].returns:t}const B_=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,W_={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:_r,isPreTag:_r,isIgnoreNewlineTag:_r,isCustomElement:_r,onError:Vp,onWarn:I_,comments:!1,prefixIdentifiers:!1};let ye=W_,il=null,Si="",yn=null,Jt=null,Vn="",di=-1,br=-1,Wp=0,Ki=!1,ph=null;const Oe=[],Ue=new yP(Oe,{onerr:li,ontext(t,e){ql(an(t,e),t,e)},ontextentity(t,e,n){ql(t,e,n)},oninterpolation(t,e){if(Ki)return ql(an(t,e),t,e);let n=t+Ue.delimiterOpen.length,s=e-Ue.delimiterClose.length;for(;Yn(Si.charCodeAt(n));)n++;for(;Yn(Si.charCodeAt(s-1));)s--;let i=an(n,s);i.includes("&")&&(i=ye.decodeEntities(i,!1)),mh({type:5,content:_c(i,!1,He(n,s)),loc:He(t,e)})},onopentagname(t,e){const n=an(t,e);yn={type:1,tag:n,ns:ye.getNamespace(n,Oe[0],ye.ns),tagType:0,props:[],children:[],loc:He(t-1,e),codegenNode:void 0}},onopentagend(t){Iy(t)},onclosetag(t,e){const n=an(t,e);if(!ye.isVoidTag(n)){let s=!1;for(let i=0;i<Oe.length;i++)if(Oe[i].tag.toLowerCase()===n.toLowerCase()){s=!0,i>0&&li(24,Oe[0].loc.start.offset);for(let o=0;o<=i;o++){const a=Oe.shift();vc(a,e,o<i)}break}s||li(23,G_(t,60))}},onselfclosingtag(t){const e=yn.tag;yn.isSelfClosing=!0,Iy(t),Oe[0]&&Oe[0].tag===e&&vc(Oe.shift(),t)},onattribname(t,e){Jt={type:6,name:an(t,e),nameLoc:He(t,e),value:void 0,loc:He(t)}},ondirname(t,e){const n=an(t,e),s=n==="."||n===":"?"bind":n==="@"?"on":n==="#"?"slot":n.slice(2);if(!Ki&&s===""&&li(26,t),Ki||s==="")Jt={type:6,name:n,nameLoc:He(t,e),value:void 0,loc:He(t)};else if(Jt={type:7,name:s,rawName:n,exp:void 0,arg:void 0,modifiers:n==="."?[Ht("prop")]:[],loc:He(t)},s==="pre"){Ki=Ue.inVPre=!0,ph=yn;const i=yn.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=JP(i[r]))}},ondirarg(t,e){if(t===e)return;const n=an(t,e);if(Ki&&!hh(Jt))Jt.name+=n,Er(Jt.nameLoc,e);else{const s=n[0]!=="[";Jt.arg=_c(s?n:n.slice(1,-1),s,He(t,e),s?3:0)}},ondirmodifier(t,e){const n=an(t,e);if(Ki&&!hh(Jt))Jt.name+="."+n,Er(Jt.nameLoc,e);else if(Jt.name==="slot"){const s=Jt.arg;s&&(s.content+="."+n,Er(s.loc,e))}else{const s=Ht(n,!0,He(t,e));Jt.modifiers.push(s)}},onattribdata(t,e){Vn+=an(t,e),di<0&&(di=t),br=e},onattribentity(t,e,n){Vn+=t,di<0&&(di=e),br=n},onattribnameend(t){const e=Jt.loc.start.offset,n=an(e,t);Jt.type===7&&(Jt.rawName=n),yn.props.some(s=>(s.type===7?s.rawName:s.name)===n)&&li(2,e)},onattribend(t,e){if(yn&&Jt){if(Er(Jt.loc,e),t!==0)if(Vn.includes("&")&&(Vn=ye.decodeEntities(Vn,!0)),Jt.type===6)Jt.name==="class"&&(Vn=q_(Vn).trim()),t===1&&!Vn&&li(13,e),Jt.value={type:2,content:Vn,loc:t===1?He(di,br):He(di-1,br+1)},Ue.inSFCRoot&&yn.tag==="template"&&Jt.name==="lang"&&Vn&&Vn!=="html"&&Ue.enterRCDATA(ru("</template"),0);else{let n=0;Jt.exp=_c(Vn,!1,He(di,br),0,n),Jt.name==="for"&&(Jt.forParseResult=BP(Jt.exp));let s=-1;Jt.name==="bind"&&(s=Jt.modifiers.findIndex(i=>i.content==="sync"))>-1&&Ro("COMPILER_V_BIND_SYNC",ye,Jt.loc,Jt.arg.loc.source)&&(Jt.name="model",Jt.modifiers.splice(s,1))}(Jt.type!==7||Jt.name!=="pre")&&yn.props.push(Jt)}Vn="",di=br=-1},oncomment(t,e){ye.comments&&mh({type:3,content:an(t,e),loc:He(t-4,e+3)})},onend(){const t=Si.length;for(let e=0;e<Oe.length;e++)vc(Oe[e],t-1),li(24,Oe[e].loc.start.offset)},oncdata(t,e){Oe[0].ns!==0?ql(an(t,e),t,e):li(1,t-9)},onprocessinginstruction(t){(Oe[0]?Oe[0].ns:ye.ns)===0&&li(21,t-1)}}),xy=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,jP=/^\(|\)$/g;function BP(t){const e=t.loc,n=t.content,s=n.match(B_);if(!s)return;const[,i,r]=s,o=(d,f,h=!1)=>{const p=e.start.offset+f,m=p+d.length;return _c(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(jP,"").trim();const c=i.indexOf(l),u=l.match(xy);if(u){l=l.replace(xy,"").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 an(t,e){return Si.slice(t,e)}function Iy(t){Ue.inSFCRoot&&(yn.innerLoc=He(t+1,t+1)),mh(yn);const{tag:e,ns:n}=yn;n===0&&ye.isPreTag(e)&&Wp++,ye.isVoidTag(e)?vc(yn,t):(Oe.unshift(yn),(n===1||n===2)&&(Ue.inXML=!0)),yn=null}function ql(t,e,n){{const r=Oe[0]&&Oe[0].tag;r!=="script"&&r!=="style"&&t.includes("&")&&(t=ye.decodeEntities(t,!1))}const s=Oe[0]||il,i=s.children[s.children.length-1];i&&i.type===2?(i.content+=t,Er(i.loc,n)):s.children.push({type:2,content:t,loc:He(e,n)})}function vc(t,e,n=!1){n?Er(t.loc,G_(e,60)):Er(t.loc,WP(e,62)+1),Ue.inSFCRoot&&(t.children.length?t.innerLoc.end=Xt({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Xt({},t.innerLoc.start),t.innerLoc.source=an(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:s,ns:i,children:r}=t;if(Ki||(s==="slot"?t.tagType=2:Ny(t)?t.tagType=3:KP(t)&&(t.tagType=1)),Ue.inRCDATA||(t.children=K_(r)),i===0&&ye.isIgnoreNewlineTag(s)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&ye.isPreTag(s)&&Wp--,ph===t&&(Ki=Ue.inVPre=!1,ph=null),Ue.inXML&&(Oe[0]?Oe[0].ns:ye.ns)===0&&(Ue.inXML=!1);{const o=t.props;if(!Ue.inSFCRoot&&Rr("COMPILER_NATIVE_TEMPLATE",ye)&&t.tag==="template"&&!Ny(t)){const l=Oe[0]||il,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&&Ro("COMPILER_INLINE_TEMPLATE",ye,a.loc)&&t.children.length&&(a.value={type:2,content:an(t.children[0].loc.start.offset,t.children[t.children.length-1].loc.end.offset),loc:a.loc})}}function WP(t,e){let n=t;for(;Si.charCodeAt(n)!==e&&n<Si.length-1;)n++;return n}function G_(t,e){let n=t;for(;Si.charCodeAt(n)!==e&&n>=0;)n--;return n}const GP=new Set(["if","else","else-if","for","slot"]);function Ny({tag:t,props:e}){if(t==="template"){for(let n=0;n<e.length;n++)if(e[n].type===7&&GP.has(e[n].name))return!0}return!1}function KP({tag:t,props:e}){if(ye.isCustomElement(t))return!1;if(t==="component"||qP(t.charCodeAt(0))||Up(t)||ye.isBuiltInComponent&&ye.isBuiltInComponent(t)||ye.isNativeTag&&!ye.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(Ro("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}}else if(s.name==="bind"&&Ji(s.arg,"is")&&Ro("COMPILER_IS_ON_ELEMENT",ye,s.loc))return!0}return!1}function qP(t){return t>64&&t<91}const zP=/\r\n/g;function K_(t){const e=ye.whitespace!=="preserve";let n=!1;for(let s=0;s<t.length;s++){const i=t[s];if(i.type===2)if(Wp)i.content=i.content.replace(zP,`
|
||
`);else if(XP(i.content)){const r=t[s-1]&&t[s-1].type,o=t[s+1]&&t[s+1].type;!r||!o||e&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&YP(i.content)))?(n=!0,t[s]=null):i.content=" "}else e&&(i.content=q_(i.content))}return n?t.filter(Boolean):t}function XP(t){for(let e=0;e<t.length;e++)if(!Yn(t.charCodeAt(e)))return!1;return!0}function YP(t){for(let e=0;e<t.length;e++){const n=t.charCodeAt(e);if(n===10||n===13)return!0}return!1}function q_(t){let e="",n=!1;for(let s=0;s<t.length;s++)Yn(t.charCodeAt(s))?n||(e+=" ",n=!0):(e+=t[s],n=!1);return e}function mh(t){(Oe[0]||il).children.push(t)}function He(t,e){return{start:Ue.getPos(t),end:e==null?e:Ue.getPos(e),source:e==null?e:an(t,e)}}function ZP(t){return He(t.start.offset,t.end.offset)}function Er(t,e){t.end=Ue.getPos(e),t.source=an(t.start.offset,e)}function JP(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 _c(t,e=!1,n,s=0,i=0){return Ht(t,e,n,s)}function li(t,e,n){ye.onError(Te(t,He(e,e)))}function QP(){Ue.reset(),yn=null,Jt=null,Vn="",di=-1,br=-1,Oe.length=0}function Gp(t,e){if(QP(),Si=t,ye=Xt({},W_),e){let i;for(i in e)e[i]!=null&&(ye[i]=e[i])}Ue.mode=ye.parseMode==="html"?1:ye.parseMode==="sfc"?2:0,Ue.inXML=ye.ns===1||ye.ns===2;const n=e&&e.delimiters;n&&(Ue.delimiterOpen=ru(n[0]),Ue.delimiterClose=ru(n[1]));const s=il=A_([],t);return Ue.parse(Si),s.loc=He(0,t.length),s.children=K_(s.children),il=null,s}function tR(t,e){Sc(t,void 0,e,!!z_(t))}function z_(t){const e=t.children.filter(n=>n.type!==3);return e.length===1&&e[0].type===1&&!nl(e[0])?e[0]:null}function Sc(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:Bn(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)&&Y_(d,n)>=2){const m=Z_(d);m&&(h.props=n.hoist(m))}h.dynamicProps&&(h.dynamicProps=n.hoist(h.dynamicProps))}}}else if(d.type===12&&(s?0:Bn(d,n))>=2){d.codegenNode.type===14&&d.codegenNode.arguments.length>0&&d.codegenNode.arguments.push("-1"),o.push(d);continue}if(d.type===1){const f=d.tagType===1;f&&n.scopes.vSlot++,Sc(d,t,n,!1,i),f&&n.scopes.vSlot--}else if(d.type===11)Sc(d,t,n,d.children.length===1,!0);else if(d.type===9)for(let f=0;f<d.branches.length;f++)Sc(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(er(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(er(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=Pn(t,"slot",!0),d=u&&u.arg&&c(e.codegenNode,u.arg);d&&(d.returns=l(er(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 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 Bn(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=Y_(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=Bn(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=Bn(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(ir),e.removeHelper(Hr(e.inSSR,i.isComponent)),i.isBlock=!1,e.helper(Ur(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 Bn(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(Mt(a)||Ln(a))continue;const l=Bn(a,e);if(l===0)return 0;l<r&&(r=l)}return r;case 20:return 2;default:return 0}}const eR=new Set([cd,ud,No,zo]);function X_(t,e){if(t.type===14&&!Mt(t.callee)&&eR.has(t.callee)){const n=t.arguments[0];if(n.type===4)return Bn(n,e);if(n.type===14)return X_(n,e)}return 0}function Y_(t,e){let n=3;const s=Z_(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=Bn(o,e);if(l===0)return l;l<n&&(n=l);let c;if(a.type===4?c=Bn(a,e):a.type===14?c=X_(a,e):c=0,c===0)return c;c<n&&(n=c)}}return n}function Z_(t){const e=t.codegenNode;if(e.type===13)return e.props}function J_(t,{filename:e="",prefixIdentifiers:n=!1,hoistStatic:s=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=en,isCustomElement:u=en,expressionPlugins:d=[],scopeId:f=null,slotted:h=!0,ssr:p=!1,inSSR:m=!1,ssrCssVars:v="",bindingMetadata:y=Zt,inline:_=!1,isTS:g=!1,onError:b=Vp,onWarn:E=I_,compatConfig:k}){const I=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),D={filename:e,selfName:I&&ar(Ce(I[1])),prefixIdentifiers:n,hoistStatic:s,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:f,slotted:h,ssr:p,inSSR:m,ssrCssVars:v,bindingMetadata:y,inline:_,isTS:g,onError:b,onWarn:E,compatConfig:k,root:t,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:t,childIndex:0,inVOnce:!1,helper(C){const R=D.helpers.get(C)||0;return D.helpers.set(C,R+1),C},removeHelper(C){const R=D.helpers.get(C);if(R){const j=R-1;j?D.helpers.set(C,j):D.helpers.delete(C)}},helperString(C){return`_${Fr[D.helper(C)]}`},replaceNode(C){D.parent.children[D.childIndex]=D.currentNode=C},removeNode(C){const R=D.parent.children,j=C?R.indexOf(C):D.currentNode?D.childIndex:-1;!C||C===D.currentNode?(D.currentNode=null,D.onNodeRemoved()):D.childIndex>j&&(D.childIndex--,D.onNodeRemoved()),D.parent.children.splice(j,1)},onNodeRemoved:en,addIdentifiers(C){},removeIdentifiers(C){},hoist(C){Mt(C)&&(C=Ht(C)),D.hoists.push(C);const R=Ht(`_hoisted_${D.hoists.length}`,!1,C.loc,2);return R.hoisted=C,R},cache(C,R=!1,j=!1){const M=O_(D.cached.length,C,R,j);return D.cached.push(M),M}};return D.filters=new Set,D}function Q_(t,e){const n=J_(t,e);El(t,n),e.hoistStatic&&tR(t,n),e.ssr||nR(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 nR(t,e){const{helper:n}=e,{children:s}=t;if(s.length===1){const i=z_(t);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&pd(r,e),t.codegenNode=r}else t.codegenNode=s[0]}else if(s.length>1){let i=64;t.codegenNode=Po(e,n(Io),void 0,t.children,i,void 0,void 0,!0,void 0,!1)}}function sR(t,e){let n=0;const s=()=>{n--};for(;n<t.children.length;n++){const i=t.children[n];Mt(i)||(e.grandParent=e.parent,e.parent=t,e.childIndex=n,e.onNodeRemoved=s,El(i,e))}}function El(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(qo);break;case 5:e.ssr||e.helper(vl);break;case 9:for(let r=0;r<t.branches.length;r++)El(t.branches[r],e);break;case 10:case 11:case 1:case 0:sR(t,e);break}e.currentNode=t;let i=s.length;for(;i--;)s[i]()}function Kp(t,e){const n=Mt(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(Bp))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 md="/*@__PURE__*/",t2=t=>`${Fr[t]}: _${Fr[t]}`;function iR(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`_${Fr[m]}`},push(m,v=-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 e2(t,e={}){const n=iR(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";rR(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(t2).join(", ")} } = _Vue
|
||
`,-1),l())),t.components.length&&(nf(t.components,"component",n),(t.directives.length||t.temps>0)&&l()),t.directives.length&&(nf(t.directives,"directive",n),t.temps>0&&l()),t.filters&&t.filters.length&&(l(),nf(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?An(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 rR(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=[td,ed,qo,nd,Lp].filter(f=>u.includes(f)).map(t2).join(", ");i(`const { ${d} } = _Vue
|
||
`,-1)}oR(t.hoists,e),r(),i("return ")}function nf(t,e,{helper:n,push:s,newline:i,isTS:r}){const o=n(e==="filter"?od:e==="component"?sd:rd);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 ${Lo(l,e)} = ${o}(${JSON.stringify(l)}${c?", true":""})${r?"!":""}`),a<t.length-1&&i()}}function oR(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} = `),An(r,e),s())}e.pure=!1}function qp(t,e){const n=t.length>3||!1;e.push("["),n&&e.indent(),wl(t,e,n),n&&e.deindent(),e.push("]")}function wl(t,e,n=!1,s=!0){const{push:i,newline:r}=e;for(let o=0;o<t.length;o++){const a=t[o];Mt(a)?i(a,-3):yt(a)?qp(a,e):An(a,e),o<t.length-1&&(n?(s&&i(","),r()):s&&i(", "))}}function An(t,e){if(Mt(t)){e.push(t,-3);return}if(Ln(t)){e.push(e.helper(t));return}switch(t.type){case 1:case 9:case 11:An(t.codegenNode,e);break;case 2:aR(t,e);break;case 4:n2(t,e);break;case 5:lR(t,e);break;case 12:An(t.codegenNode,e);break;case 8:s2(t,e);break;case 3:uR(t,e);break;case 13:dR(t,e);break;case 14:hR(t,e);break;case 15:pR(t,e);break;case 17:mR(t,e);break;case 18:gR(t,e);break;case 19:yR(t,e);break;case 20:bR(t,e);break;case 21:wl(t.body,e,!0,!1);break}}function aR(t,e){e.push(JSON.stringify(t.content),-3,t)}function n2(t,e){const{content:n,isStatic:s}=t;e.push(s?JSON.stringify(n):n,-3,t)}function lR(t,e){const{push:n,helper:s,pure:i}=e;i&&n(md),n(`${s(vl)}(`),An(t.content,e),n(")")}function s2(t,e){for(let n=0;n<t.children.length;n++){const s=t.children[n];Mt(s)?e.push(s,-3):An(s,e)}}function cR(t,e){const{push:n}=e;if(t.type===8)n("["),s2(t,e),n("]");else if(t.isStatic){const s=_l(t.content)?t.content:JSON.stringify(t.content);n(s,-2,t)}else n(`[${t.content}]`,-3,t)}function uR(t,e){const{push:n,helper:s,pure:i}=e;i&&n(md),n(`${s(qo)}(${JSON.stringify(t.content)})`,-3,t)}function dR(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(ad)+"("),d&&n(`(${s(ir)}(${f?"true":""}), `),i&&n(md);const m=d?Hr(e.inSSR,h):Ur(e.inSSR,h);n(s(m)+"(",-2,t),wl(fR([r,o,a,p,c]),e),n(")"),d&&n(")"),u&&(n(", "),An(u,e),n(")"))}function fR(t){let e=t.length;for(;e--&&t[e]==null;);return t.slice(0,e+1).map(n=>n||"null")}function hR(t,e){const{push:n,helper:s,pure:i}=e,r=Mt(t.callee)?t.callee:s(t.callee);i&&n(md),n(r+"(",-2,t),wl(t.arguments,e),n(")")}function pR(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];cR(c,e),n(": "),An(u,e),l<o.length-1&&(n(","),r())}a&&i(),n(a?"}":" }")}function mR(t,e){qp(t.elements,e)}function gR(t,e){const{push:n,indent:s,deindent:i}=e,{params:r,returns:o,body:a,newline:l,isSlot:c}=t;c&&n(`_${Fr[fd]}(`),n("(",-2,t),yt(r)?wl(r,e):r&&An(r,e),n(") => "),(l||a)&&(n("{"),s()),o?(l&&n("return "),yt(o)?qp(o,e):An(o,e)):a&&An(a,e),(l||a)&&(i(),n("}")),c&&(t.isNonScopedSlot&&n(", undefined, true"),n(")"))}function yR(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=!_l(n.content);d&&o("("),n2(n,e),d&&o(")")}else o("("),An(n,e),o(")");r&&a(),e.indentLevel++,r||o(" "),o("? "),An(s,e),e.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||e.indentLevel++,An(i,e),u||e.indentLevel--,r&&l(!0)}function bR(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(el)}(-1`),t.inVOnce&&n(", true"),n("),"),o(),n("(")),n(`_cache[${t.index}] = `),An(t.value,e),a&&(n(`).cacheIndex = ${t.index},`),o(),n(`${s(el)}(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 vR=(t,e)=>{if(t.type===5)t.content=Ec(t.content,e);else if(t.type===1){const n=Pn(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=Ec(r,e,i.name==="slot")),o&&o.type===4&&!o.isStatic&&(i.arg=Ec(o,e))}}}};function Ec(t,e,n=!1,s=!1,i=Object.create(e.identifiers)){return t}function i2(t){return Mt(t)?t:t.type===4?t.content:t.children.map(i2).join("")}const _R=Kp(/^(?:if|else|else-if)$/,(t,e,n)=>r2(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=Ry(i,l,n);else{const c=SR(s.codegenNode);c.alternate=Ry(i,l+s.branches.length-1,n)}}}));function r2(t,e,n,s){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const i=e.exp?e.exp.loc:t.loc;n.onError(Te(28,e.loc)),e.exp=Ht("true",!1,i)}if(e.name==="if"){const i=Py(t,e),r={type:9,loc:ZP(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"||e.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&n.onError(Te(30,t.loc)),n.removeNode();const a=Py(t,e);o.branches.push(a);const l=s&&s(o,a,!1);El(a,n),l&&l(),n.currentNode=null}else n.onError(Te(30,t.loc));break}}}function Py(t,e){const n=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:n&&!Pn(t,"for")?t.children:[t],userKey:Sl(t,"key"),isTemplateIf:n}}function Ry(t,e,n){return t.condition?iu(t.condition,Dy(t,e,n),Xe(n.helper(qo),['""',"true"])):Dy(t,e,n)}function Dy(t,e,n){const{helper:s}=n,i=We("key",Ht(`${e}`,!1,Qe,2)),{children:r}=t,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const l=o.codegenNode;return sl(l,i,n),l}else return Po(n,s(Io),Jn([i]),r,64,void 0,void 0,!0,!1,!1,t.loc);else{const l=o.codegenNode,c=j_(l);return c.type===13&&pd(c,n),sl(c,i,n),l}}function SR(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 ER=Kp("for",(t,e,n)=>{const{helper:s,removeHelper:i}=n;return o2(t,e,n,r=>{const o=Xe(s(ld),[r.source]),a=Do(t),l=Pn(t,"memo"),c=Sl(t,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?Ht(c.value.content,!0):void 0:c.exp);const d=c&&u?We("key",u):null,f=r.source.type===4&&r.source.constType>0,h=f?64:c?128:256;return r.codegenNode=Po(n,s(Io),void 0,o,h,void 0,void 0,!0,!f,!1,t.loc),()=>{let p;const{children:m}=r,v=m.length!==1||m[0].type!==1,y=nl(t)?t:a&&t.children.length===1&&nl(t.children[0])?t.children[0]:null;if(y?(p=y.codegenNode,a&&d&&sl(p,d,n)):v?p=Po(n,s(Io),d?Jn([d]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(p=m[0].codegenNode,a&&d&&sl(p,d,n),p.isBlock!==!f&&(p.isBlock?(i(ir),i(Hr(n.inSSR,p.isComponent))):i(Ur(n.inSSR,p.isComponent))),p.isBlock=!f,p.isBlock?(s(ir),s(Hr(n.inSSR,p.isComponent))):s(Ur(n.inSSR,p.isComponent))),l){const _=Vr(ou(r.parseResult,[Ht("_cached")]));_.body=x_([ms(["const _memo = (",l.exp,")"]),ms(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${n.helperString(Fp)}(_cached, _memo)) return _cached`]),ms(["const _item = ",p]),Ht("_item.memo = _memo"),Ht("return _item")]),o.arguments.push(_,Ht("_cache"),Ht(String(n.cached.length))),n.cached.push(null)}else o.arguments.push(Vr(ou(r.parseResult),p,!0))}})});function o2(t,e,n,s){if(!e.exp){n.onError(Te(31,e.loc));return}const i=e.forParseResult;if(!i){n.onError(Te(32,e.loc));return}zp(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:Do(t)?t.children:[t]};n.replaceNode(f),a.vFor++;const h=s&&s(f);return()=>{a.vFor--,h&&h()}}function zp(t,e){t.finalized||(t.finalized=!0)}function ou({value:t,key:e,index:n},s=[]){return wR([t,e,n,...s])}function wR(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((n,s)=>n||Ht("_".repeat(s+1),!1))}const Ly=Ht("undefined",!1),a2=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const n=Pn(t,"slot");if(n)return n.exp,e.scopes.vSlot++,()=>{e.scopes.vSlot--}}},kR=(t,e)=>{let n;if(Do(t)&&t.props.some(Bp)&&(n=Pn(t,"for"))){const s=n.forParseResult;if(s){zp(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)}}}},CR=(t,e,n,s)=>Vr(t,n,!1,!0,n.length?n[0].loc:s);function l2(t,e,n=CR){e.helper(fd);const{children:s,loc:i}=t,r=[],o=[];let a=e.scopes.vSlot>0||e.scopes.vFor>0;const l=Pn(t,"slot",!0);if(l){const{arg:v,exp:y}=l;v&&!Rn(v)&&(a=!0),r.push(We(v||Ht("default",!0),n(y,void 0,s,i)))}let c=!1,u=!1;const d=[],f=new Set;let h=0;for(let v=0;v<s.length;v++){const y=s[v];let _;if(!Do(y)||!(_=Pn(y,"slot",!0))){y.type!==3&&d.push(y);continue}if(l){e.onError(Te(37,_.loc));break}c=!0;const{children:g,loc:b}=y,{arg:E=Ht("default",!0),exp:k,loc:I}=_;let D;Rn(E)?D=E?E.content:"default":a=!0;const C=Pn(y,"for"),R=n(k,C,g,b);let j,M;if(j=Pn(y,"if"))a=!0,o.push(iu(j.exp,zl(E,R,h++),Ly));else if(M=Pn(y,/^else(?:-if)?$/,!0)){let H=v,z;for(;H--&&(z=s[H],!(z.type!==3&&gh(z))););if(z&&Do(z)&&Pn(z,/^(?:else-)?if$/)){let ot=o[o.length-1];for(;ot.alternate.type===19;)ot=ot.alternate;ot.alternate=M.exp?iu(M.exp,zl(E,R,h++),Ly):zl(E,R,h++)}else e.onError(Te(30,M.loc))}else if(C){a=!0;const H=C.forParseResult;H?(zp(H),o.push(Xe(e.helper(ld),[H.source,Vr(ou(H),zl(E,R),!0)]))):e.onError(Te(32,C.loc))}else{if(D){if(f.has(D)){e.onError(Te(38,I));continue}f.add(D),D==="default"&&(u=!0)}r.push(We(E,R))}}if(!l){const v=(y,_)=>{const g=n(y,void 0,_,i);return e.compatConfig&&(g.isNonScopedSlot=!0),We("default",g)};c?d.length&&d.some(y=>gh(y))&&(u?e.onError(Te(39,d[0].loc)):r.push(v(void 0,d))):r.push(v(void 0,s))}const p=a?2:wc(t.children)?3:1;let m=Jn(r.concat(We("_",Ht(p+"",!1))),i);return o.length&&(m=Xe(e.helper($p),[m,er(o)])),{slots:m,hasDynamicSlots:a}}function zl(t,e,n){const s=[We("name",t),We("fn",e)];return n!=null&&s.push(We("key",Ht(String(n),!0))),Jn(s)}function wc(t){for(let e=0;e<t.length;e++){const n=t[e];switch(n.type){case 1:if(n.tagType===2||wc(n.children))return!0;break;case 9:if(wc(n.branches))return!0;break;case 10:case 11:if(wc(n.children))return!0;break}}return!1}function gh(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():gh(t.content)}const c2=new WeakMap,u2=(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?d2(t,e):`"${s}"`;const a=me(o)&&o.callee===id;let l,c,u=0,d,f,h,p=a||o===So||o===Qu||!r&&(s==="svg"||s==="foreignObject"||s==="math");if(i.length>0){const m=Xp(t,e,void 0,r,a);l=m.props,u=m.patchFlag,f=m.dynamicPropNames;const v=m.directives;h=v&&v.length?er(v.map(y=>f2(y,e))):void 0,m.shouldUseBlock&&(p=!0)}if(t.children.length>0)if(o===Qa&&(p=!0,u|=1024),r&&o!==So&&o!==Qa){const{slots:v,hasDynamicSlots:y}=l2(t,e);c=v,y&&(u|=1024)}else if(t.children.length===1&&o!==So){const v=t.children[0],y=v.type,_=y===5||y===8;_&&Bn(v,e)===0&&(u|=1),_||y===2?c=v:c=t.children}else c=t.children;f&&f.length&&(d=AR(f)),t.codegenNode=Po(e,o,l,c,u===0?void 0:u,d,h,!!p,!1,r,t.loc)};function d2(t,e,n=!1){let{tag:s}=t;const i=yh(s),r=Sl(t,"is",!1,!0);if(r)if(i||Rr("COMPILER_IS_ON_ELEMENT",e)){let a;if(r.type===6?a=r.value&&Ht(r.value.content,!0):(a=r.exp,a||(a=Ht("is",!1,r.arg.loc))),a)return Xe(e.helper(id),[a])}else r.type===6&&r.value.content.startsWith("vue:")&&(s=r.value.content.slice(4));const o=Up(s)||e.isBuiltInComponent(s);return o?(n||e.helper(o),o):(e.helper(sd),e.components.add(s),Lo(s,"component"))}function Xp(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,v=!1,y=!1,_=!1,g=!1,b=!1;const E=[],k=R=>{c.length&&(u.push(Jn(My(c),a)),c=[]),R&&u.push(R)},I=()=>{e.scopes.vFor>0&&c.push(We(Ht("ref_for",!0),Ht("true")))},D=({key:R,value:j})=>{if(Rn(R)){const M=R.content,H=rr(M);if(H&&(!s||i)&&M.toLowerCase()!=="onclick"&&M!=="onUpdate:modelValue"&&!vi(M)&&(_=!0),H&&vi(M)&&(b=!0),H&&j.type===14&&(j=j.arguments[0]),j.type===20||(j.type===4||j.type===8)&&Bn(j,e)>0)return;M==="ref"?m=!0:M==="class"?v=!0:M==="style"?y=!0:M!=="key"&&!E.includes(M)&&E.push(M),s&&(M==="class"||M==="style")&&!E.includes(M)&&E.push(M)}else g=!0};for(let R=0;R<n.length;R++){const j=n[R];if(j.type===6){const{loc:M,name:H,nameLoc:z,value:ot}=j;let W=!0;if(H==="ref"&&(m=!0,I()),H==="is"&&(yh(o)||ot&&ot.content.startsWith("vue:")||Rr("COMPILER_IS_ON_ELEMENT",e)))continue;c.push(We(Ht(H,!0,z),Ht(ot?ot.content:"",W,ot?ot.loc:M)))}else{const{name:M,arg:H,exp:z,loc:ot,modifiers:W}=j,Q=M==="bind",it=M==="on";if(M==="slot"){s||e.onError(Te(40,ot));continue}if(M==="once"||M==="memo"||M==="is"||Q&&Ji(H,"is")&&(yh(o)||Rr("COMPILER_IS_ON_ELEMENT",e))||it&&r)continue;if((Q&&Ji(H,"key")||it&&f&&Ji(H,"vue:before-update"))&&(h=!0),Q&&Ji(H,"ref")&&I(),!H&&(Q||it)){if(g=!0,z)if(Q){if(k(),Rr("COMPILER_V_BIND_OBJECT_ORDER",e)){u.unshift(z);continue}I(),k(),u.push(z)}else k({type:14,loc:ot,callee:e.helper(dd),arguments:s?[z]:[z,"true"]});else e.onError(Te(Q?34:35,ot));continue}Q&&W.some(qt=>qt.content==="prop")&&(p|=32);const St=e.directiveTransforms[M];if(St){const{props:qt,needRuntime:xt}=St(j,t,e);!r&&qt.forEach(D),it&&H&&!Rn(H)?k(Jn(qt,a)):c.push(...qt),xt&&(d.push(j),Ln(xt)&&c2.set(j,xt))}else iv(M)||(d.push(j),f&&(h=!0))}}let C;if(u.length?(k(),u.length>1?C=Xe(e.helper(tl),u,a):C=u[0]):c.length&&(C=Jn(My(c),a)),g?p|=16:(v&&!s&&(p|=2),y&&!s&&(p|=4),E.length&&(p|=8),_&&(p|=32)),!h&&(p===0||p===32)&&(m||b||d.length>0)&&(p|=512),!e.inSSR&&C)switch(C.type){case 15:let R=-1,j=-1,M=!1;for(let ot=0;ot<C.properties.length;ot++){const W=C.properties[ot].key;Rn(W)?W.content==="class"?R=ot:W.content==="style"&&(j=ot):W.isHandlerKey||(M=!0)}const H=C.properties[R],z=C.properties[j];M?C=Xe(e.helper(No),[C]):(H&&!Rn(H.value)&&(H.value=Xe(e.helper(cd),[H.value])),z&&(y||z.value.type===4&&z.value.content.trim()[0]==="["||z.value.type===17)&&(z.value=Xe(e.helper(ud),[z.value])));break;case 14:break;default:C=Xe(e.helper(No),[Xe(e.helper(zo),[C])]);break}return{props:C,directives:d,patchFlag:p,dynamicPropNames:E,shouldUseBlock:h}}function My(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"||rr(r))&&TR(o,i):(e.set(r,i),n.push(i))}return n}function TR(t,e){t.value.type===17?t.value.elements.push(e.value):t.value=er([t.value,e.value],t.loc)}function f2(t,e){const n=[],s=c2.get(t);s?n.push(e.helperString(s)):(e.helper(rd),e.directives.add(t.name),n.push(Lo(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=Ht("true",!1,i);n.push(Jn(t.modifiers.map(o=>We(o,r)),i))}return er(n,t.loc)}function AR(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 yh(t){return t==="component"||t==="Component"}const OR=(t,e)=>{if(nl(t)){const{children:n,loc:s}=t,{slotName:i,slotProps:r}=h2(t,e),o=[e.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;r&&(o[2]=r,a=3),n.length&&(o[3]=Vr([],n,!1,!1,s),a=4),e.scopeId&&!e.slotted&&(a=5),o.splice(a),t.codegenNode=Xe(e.helper(Mp),o,s)}};function h2(t,e){let n='"default"',s;const i=[];for(let r=0;r<t.props.length;r++){const o=t.props[r];if(o.type===6)o.value&&(o.name==="name"?n=JSON.stringify(o.value.content):(o.name=Ce(o.name),i.push(o)));else if(o.name==="bind"&&Ji(o.arg,"name")){if(o.exp)n=o.exp;else if(o.arg&&o.arg.type===4){const a=Ce(o.arg.content);n=o.exp=Ht(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&Rn(o.arg)&&(o.arg.content=Ce(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=Xp(t,e,i,!1,!1);s=r,o.length&&e.onError(Te(36,o[0].loc))}return{slotName:n,slotProps:s}}const Yp=(t,e,n,s)=>{const{loc:i,modifiers:r,arg:o}=t;!t.exp&&!r.length&&n.onError(Te(35,i));let a;if(o.type===4)if(o.isStatic){let d=o.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const f=e.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?Ar(Ce(d)):`on:${d}`;a=Ht(f,!0,o.loc)}else a=ms([`${n.helperString(su)}(`,o,")"]);else a=o,a.children.unshift(`${n.helperString(su)}(`),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=jp(l),f=!(d||F_(l)),h=l.content.includes(";");(f||c&&d)&&(l=ms([`${f?"$event":"(...args)"} => ${h?"{":"("}`,l,h?"}":")"]))}let u={props:[We(a,l||Ht("() => {}",!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},p2=(t,e,n)=>{const{modifiers:s,loc:i}=t,r=t.arg;let{exp:o}=t;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),s.some(a=>a.content==="camel")&&(r.type===4?r.isStatic?r.content=Ce(r.content):r.content=`${n.helperString(nu)}(${r.content})`:(r.children.unshift(`${n.helperString(nu)}(`),r.children.push(")"))),n.inSSR||(s.some(a=>a.content==="prop")&&$y(r,"."),s.some(a=>a.content==="attr")&&$y(r,"^")),{props:[We(r,o)]}},$y=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},xR=(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(bc(o)){i=!0;for(let a=r+1;a<n.length;a++){const l=n[a];if(bc(l))s||(s=n[r]=ms([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(bc(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!e.ssr&&Bn(o,e)===0&&a.push("1"),n[r]={type:12,content:o,loc:o.loc,codegenNode:Xe(e.helper(nd),a)}}}}},Fy=new WeakSet,IR=(t,e)=>{if(t.type===1&&Pn(t,"once",!0))return Fy.has(t)||e.inVOnce||e.inSSR?void 0:(Fy.add(t),e.inVOnce=!0,e.helper(el),()=>{e.inVOnce=!1;const n=e.currentNode;n.codegenNode&&(n.codegenNode=e.cache(n.codegenNode,!0,!0))})},Zp=(t,e,n)=>{const{exp:s,arg:i}=t;if(!s)return n.onError(Te(41,t.loc)),Xl();const r=s.loc.source.trim(),o=s.type===4?s.content:r,a=n.bindingMetadata[r];if(a==="props"||a==="props-aliased")return n.onError(Te(44,s.loc)),Xl();if(!o.trim()||!jp(s))return n.onError(Te(42,s.loc)),Xl();const l=i||Ht("modelValue",!0),c=i?Rn(i)?`onUpdate:${Ce(i.content)}`:ms(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const d=n.isTS?"($event: any)":"$event";u=ms([`${d} => ((`,s,") = $event)"]);const f=[We(l,t.exp),We(c,u)];if(t.modifiers.length&&e.tagType===1){const h=t.modifiers.map(m=>m.content).map(m=>(_l(m)?m:JSON.stringify(m))+": true").join(", "),p=i?Rn(i)?`${i.content}Modifiers`:ms([i,' + "Modifiers"']):"modelModifiers";f.push(We(p,Ht(`{ ${h} }`,!1,t.loc,2)))}return Xl(f)};function Xl(t=[]){return{props:t}}const NR=/[\w).+\-_$\]]/,PR=(t,e)=>{Rr("COMPILER_FILTERS",e)&&(t.type===5?au(t.content,e):t.type===1&&t.props.forEach(n=>{n.type===7&&n.name!=="for"&&n.exp&&au(n.exp,e)}))};function au(t,e){if(t.type===4)Vy(t,e);else for(let n=0;n<t.children.length;n++){const s=t.children[n];typeof s=="object"&&(s.type===4?Vy(s,e):s.type===8?au(t,e):s.type===5&&au(s.content,e))}}function Vy(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()):v();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--);(!_||!NR.test(_))&&(o=!0)}}p===void 0?p=n.slice(0,h).trim():u!==0&&v();function v(){m.push(n.slice(u,h).trim()),u=h+1}if(m.length){for(h=0;h<m.length;h++)p=RR(p,m[h],e);t.content=p,t.ast=void 0}}function RR(t,e,n){n.helper(od);const s=e.indexOf("(");if(s<0)return n.filters.add(e),`${Lo(e,"filter")}(${t})`;{const i=e.slice(0,s),r=e.slice(s+1);return n.filters.add(i),`${Lo(i,"filter")}(${t}${r!==")"?","+r:r}`}}const Uy=new WeakSet,DR=(t,e)=>{if(t.type===1){const n=Pn(t,"memo");return!n||Uy.has(t)||e.inSSR?void 0:(Uy.add(t),()=>{const s=t.codegenNode||e.currentNode.codegenNode;s&&s.type===13&&(t.tagType!==1&&pd(s,e),t.codegenNode=Xe(e.helper(hd),[n.exp,Vr(void 0,s),"_cache",String(e.cached.length)]),e.cached.push(null))})}},m2=(t,e)=>{if(t.type===1){for(const n of t.props)if(n.type===7&&n.name==="bind"&&!n.exp){const s=n.arg;if(s.type!==4||!s.isStatic)e.onError(Te(52,s.loc)),n.exp=Ht("",!0,s.loc);else{const i=Ce(s.content);(Hp.test(i[0])||i[0]==="-")&&(n.exp=Ht(i,!1,s.loc))}}}};function g2(t){return[[m2,IR,_R,DR,ER,PR,OR,u2,a2,xR],{on:Yp,bind:p2,model:Zp}]}function y2(t,e={}){const n=e.onError||Vp,s=e.mode==="module";e.prefixIdentifiers===!0?n(Te(47)):s&&n(Te(48));const i=!1;e.cacheHandlers&&n(Te(49)),e.scopeId&&!s&&n(Te(50));const r=Xt({},e,{prefixIdentifiers:i}),o=Mt(t)?Gp(t,r):t,[a,l]=g2();return Q_(o,Xt({},r,{nodeTransforms:[...a,...e.nodeTransforms||[]],directiveTransforms:Xt({},l,e.directiveTransforms||{})})),e2(o,r)}const LR={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"},b2=()=>({props:[]});/**
|
||
* @vue/compiler-dom v3.5.22
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const Jp=Symbol(""),Qp=Symbol(""),tm=Symbol(""),em=Symbol(""),lu=Symbol(""),nm=Symbol(""),sm=Symbol(""),im=Symbol(""),rm=Symbol(""),om=Symbol("");T_({[Jp]:"vModelRadio",[Qp]:"vModelCheckbox",[tm]:"vModelText",[em]:"vModelSelect",[lu]:"vModelDynamic",[nm]:"withModifiers",[sm]:"withKeys",[im]:"vShow",[rm]:"Transition",[om]:"TransitionGroup"});let Qr;function MR(t,e=!1){return Qr||(Qr=document.createElement("div")),e?(Qr.innerHTML=`<div foo="${t.replace(/"/g,""")}">`,Qr.children[0].getAttribute("foo")):(Qr.innerHTML=t,Qr.textContent)}const am={parseMode:"html",isVoidTag:cv,isNativeTag:t=>ov(t)||av(t)||lv(t),isPreTag:t=>t==="pre",isIgnoreNewlineTag:t=>t==="pre"||t==="textarea",decodeEntities:MR,isBuiltInComponent:t=>{if(t==="Transition"||t==="transition")return rm;if(t==="TransitionGroup"||t==="transition-group")return om},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}},v2=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:Ht("style",!0,e.loc),exp:$R(e.value.content,e.loc),modifiers:[],loc:e.loc})})},$R=(t,e)=>{const n=Hh(t);return Ht(JSON.stringify(n),!1,e,3)};function Ei(t,e){return Te(t,e)}const FR={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__"},VR={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."},UR=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(Ei(53,i)),e.children.length&&(n.onError(Ei(54,i)),e.children.length=0),{props:[We(Ht("innerHTML",!0,i),s||Ht("",!0))]}},HR=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(Ei(55,i)),e.children.length&&(n.onError(Ei(56,i)),e.children.length=0),{props:[We(Ht("textContent",!0),s?Bn(s,n)>0?s:Xe(n.helperString(vl),[s],i):Ht("",!0))]}},jR=(t,e,n)=>{const s=Zp(t,e,n);if(!s.props.length||e.tagType===1)return s;t.arg&&n.onError(Ei(58,t.arg.loc));const{tag:i}=e,r=n.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=tm,a=!1;if(i==="input"||r){const l=Sl(e,"type");if(l){if(l.type===7)o=lu;else if(l.value)switch(l.value.content){case"radio":o=Jp;break;case"checkbox":o=Qp;break;case"file":a=!0,n.onError(Ei(59,t.loc));break}}else U_(e)&&(o=lu)}else i==="select"&&(o=em);a||(s.needRuntime=n.helper(o))}else n.onError(Ei(57,t.loc));return s.props=s.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),s},BR=rn("passive,once,capture"),WR=rn("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),GR=rn("left,right"),_2=rn("onkeyup,onkeydown,onkeypress"),KR=(t,e,n,s)=>{const i=[],r=[],o=[];for(let a=0;a<e.length;a++){const l=e[a].content;l==="native"&&Ro("COMPILER_V_ON_NATIVE",n)||BR(l)?o.push(l):GR(l)?Rn(t)?_2(t.content.toLowerCase())?i.push(l):r.push(l):(i.push(l),r.push(l)):WR(l)?r.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},Hy=(t,e)=>Rn(t)&&t.content.toLowerCase()==="onclick"?Ht(e,!0):t.type!==4?ms(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,qR=(t,e,n)=>Yp(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}=KR(r,i,n,t.loc);if(l.includes("right")&&(r=Hy(r,"onContextmenu")),l.includes("middle")&&(r=Hy(r,"onMouseup")),l.length&&(o=Xe(n.helper(nm),[o,JSON.stringify(l)])),a.length&&(!Rn(r)||_2(r.content.toLowerCase()))&&(o=Xe(n.helper(sm),[o,JSON.stringify(a)])),c.length){const u=c.map(ar).join("");r=Rn(r)?Ht(`${r.content}${u}`,!0):ms(["(",r,`) + "${u}"`])}return{props:[We(r,o)]}}),zR=(t,e,n)=>{const{exp:s,loc:i}=t;return s||n.onError(Ei(61,i)),{props:[],needRuntime:n.helper(im)}},XR=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&e.removeNode()},S2=[v2],E2={cloak:b2,html:UR,text:HR,model:jR,on:qR,show:zR};function YR(t,e={}){return y2(t,Xt({},am,e,{nodeTransforms:[XR,...S2,...e.nodeTransforms||[]],directiveTransforms:Xt({},E2,e.directiveTransforms||{}),transformHoist:null}))}function ZR(t,e={}){return Gp(t,Xt({},am,e))}const JR=Object.freeze(Object.defineProperty({__proto__:null,BASE_TRANSITION:Pp,BindingTypes:LR,CAMELIZE:nu,CAPITALIZE:S_,CREATE_BLOCK:Rp,CREATE_COMMENT:qo,CREATE_ELEMENT_BLOCK:Dp,CREATE_ELEMENT_VNODE:ed,CREATE_SLOTS:$p,CREATE_STATIC:Lp,CREATE_TEXT:nd,CREATE_VNODE:td,CompilerDeprecationTypes:bP,ConstantTypes:uP,DOMDirectiveTransforms:E2,DOMErrorCodes:FR,DOMErrorMessages:VR,DOMNodeTransforms:S2,ElementTypes:cP,ErrorCodes:SP,FRAGMENT:Io,GUARD_REACTIVE_PROPS:zo,IS_MEMO_SAME:Fp,IS_REF:C_,KEEP_ALIVE:Qa,MERGE_PROPS:tl,NORMALIZE_CLASS:cd,NORMALIZE_PROPS:No,NORMALIZE_STYLE:ud,Namespaces:aP,NodeTypes:lP,OPEN_BLOCK:ir,POP_SCOPE_ID:w_,PUSH_SCOPE_ID:E_,RENDER_LIST:ld,RENDER_SLOT:Mp,RESOLVE_COMPONENT:sd,RESOLVE_DIRECTIVE:rd,RESOLVE_DYNAMIC_COMPONENT:id,RESOLVE_FILTER:od,SET_BLOCK_TRACKING:el,SUSPENSE:Qu,TELEPORT:So,TO_DISPLAY_STRING:vl,TO_HANDLERS:dd,TO_HANDLER_KEY:su,TRANSITION:rm,TRANSITION_GROUP:om,TS_NODE_TYPES:R_,UNREF:k_,V_MODEL_CHECKBOX:Qp,V_MODEL_DYNAMIC:lu,V_MODEL_RADIO:Jp,V_MODEL_SELECT:em,V_MODEL_TEXT:tm,V_ON_WITH_KEYS:sm,V_ON_WITH_MODIFIERS:nm,V_SHOW:im,WITH_CTX:fd,WITH_DIRECTIVES:ad,WITH_MEMO:hd,advancePositionWithClone:VP,advancePositionWithMutation:V_,assert:UP,baseCompile:y2,baseParse:Gp,buildDirectiveArgs:f2,buildProps:Xp,buildSlots:l2,checkCompatEnabled:Ro,compile:YR,convertToBlock:pd,createArrayExpression:er,createAssignmentExpression:pP,createBlockStatement:x_,createCacheExpression:O_,createCallExpression:Xe,createCompilerError:Te,createCompoundExpression:ms,createConditionalExpression:iu,createDOMCompilerError:Ei,createForLoopParams:ou,createFunctionExpression:Vr,createIfStatement:hP,createInterpolation:dP,createObjectExpression:Jn,createObjectProperty:We,createReturnStatement:gP,createRoot:A_,createSequenceExpression:mP,createSimpleExpression:Ht,createStructuralDirectiveTransform:Kp,createTemplateLiteral:fP,createTransformContext:J_,createVNodeCall:Po,errorMessages:EP,extractIdentifiers:Ys,findDir:Pn,findProp:Sl,forAliasRE:B_,generate:e2,generateCodeFrame:rv,getBaseTransformPreset:g2,getConstantType:Bn,getMemoedVNodeCall:j_,getVNodeBlockHelper:Hr,getVNodeHelper:Ur,hasDynamicKeyVBind:U_,hasScopeRef:Os,helperNameMap:Fr,injectProp:sl,isCoreComponent:Up,isFnExpression:F_,isFnExpressionBrowser:$_,isFnExpressionNode:FP,isFunctionType:NP,isInDestructureAssignment:CP,isInNewExpression:TP,isMemberExpression:jp,isMemberExpressionBrowser:M_,isMemberExpressionNode:MP,isReferencedIdentifier:kP,isSimpleIdentifier:_l,isSlotOutlet:nl,isStaticArgOf:Ji,isStaticExp:Rn,isStaticProperty:P_,isStaticPropertyKey:PP,isTemplateNode:Do,isText:bc,isVPre:hh,isVSlot:Bp,locStub:Qe,noopDirectiveTransform:b2,parse:ZR,parserOptions:am,processExpression:Ec,processFor:o2,processIf:r2,processSlotOutlet:h2,registerRuntimeHelpers:T_,resolveComponentType:d2,stringifyExpression:i2,toValidAssetId:Lo,trackSlotScopes:a2,trackVForSlotScopes:kR,transform:Q_,transformBind:p2,transformElement:u2,transformExpression:vR,transformModel:Zp,transformOn:Yp,transformStyle:v2,transformVBindShorthand:m2,traverseNode:El,unwrapTSNode:D_,validFirstIdentCharRE:Hp,walkBlockDeclarations:N_,walkFunctionParams:AP,walkIdentifiers:wP,warnDeprecation:_P},Symbol.toStringTag,{value:"Module"})),QR=Ju(JR),tD=Ju(eC),eD=Ju(WE);/**
|
||
* vue v3.5.22
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/var jy;function nD(){return jy||(jy=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0});var e=QR,n=tD,s=eD;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])})})(ef)),ef}var By;function w2(){return By||(By=1,tf.exports=nD()),tf.exports}var Wy;function sD(){return Wy||(Wy=1,(function(t){t.exports=(function(e){var n={};function s(i){if(n[i])return n[i].exports;var r=n[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,s),r.l=!0,r.exports}return s.m=e,s.c=n,s.d=function(i,r,o){s.o(i,r)||Object.defineProperty(i,r,{enumerable:!0,get:o})},s.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},s.t=function(i,r){if(r&1&&(i=s(i)),r&8||r&4&&typeof i=="object"&&i&&i.__esModule)return i;var o=Object.create(null);if(s.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:i}),r&2&&typeof i!="string")for(var a in i)s.d(o,a,(function(l){return i[l]}).bind(null,a));return o},s.n=function(i){var r=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(r,"a",r),r},s.o=function(i,r){return Object.prototype.hasOwnProperty.call(i,r)},s.p="",s(s.s="fb15")})({8875:(function(e,n,s){var i,r,o;(function(a,l){r=[],i=l,o=typeof i=="function"?i.apply(n,r):i,o!==void 0&&(e.exports=o)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(b){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,u=/@([^@]*):(\d+):(\d+)\s*$/ig,d=c.exec(b.stack)||u.exec(b.stack),f=d&&d[1]||!1,h=d&&d[2]||!1,p=document.location.href.replace(document.location.hash,""),m,v,y,_=document.getElementsByTagName("script");f===p&&(m=document.documentElement.outerHTML,v=new RegExp("(?:[^\\n]+?\\n){0,"+(h-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=m.replace(v,"$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=w2()}),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,v,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}},v=Object(a.computed)(function(){var y=m.options,_=!!y.show,g=y.location,b={"z-index":999999,"background-color":y.canSuccess?y.color:y.failedColor,opacity:y.show?1:0,position:y.position};return g==="top"||g==="bottom"?(g==="top"?b.top="0px":b.bottom="0px",y.inverse?b.right="0px":b.left="0px",b.width=m.percent+"%",b.height=y.thickness,b.transition=(_?"width "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity):(g==="left"||g==="right")&&(g==="left"?b.left="0px":b.right="0px",y.inverse?b.top="0px":b.bottom="0px",b.height=m.percent+"%",b.width=y.thickness,b.transition=(_?"height "+y.transition.speed+", ":"")+"opacity "+y.transition.opacity),b});return{progress:m,finalStyle:v}}};u.render=l;var d=u;function f(p,m){for(var v=1,y,_;v<arguments.length;++v){_=arguments[v];for(y in _)Object.prototype.hasOwnProperty.call(_,y)&&(p[y]=_[y])}return p}var h={install:function(m,v){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,v),g=Object(a.reactive)({percent:0,options:_});m.provide("RADON_LOADING_BAR",g);var b={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(k){var I=this;k||(k=3e3),g.percent=0,g.options.show=!0,g.options.canSuccess=!0,this.state.cut=1e4/Math.floor(k),clearInterval(this.state.timer),this.state.timer=setInterval(function(){I.increase(I.state.cut*Math.random()),g.percent>95&&g.options.autoFinish&&I.finish()},100)},set:function(k){g.options.show=!0,g.options.canSuccess=!0,g.percent=Math.floor(k)},get:function(){return Math.floor(g.percent)},increase:function(k){g.percent=Math.min(99,g.percent+Math.floor(k))},decrease:function(k){g.percent=g.percent-Math.floor(k)},hide:function(){var k=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){g.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){g.percent=0},100),g.options.autoRevert&&setTimeout(function(){k.revert()},300)})},g.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){g.percent=100,this.hide()},fail:function(){g.options.canSuccess=!1,g.percent=100,this.hide()},setFailColor:function(k){g.options.failedColor=k},setColor:function(k){g.options.color=k},setLocation:function(k){g.options.location=k},setTransition:function(k){g.options.transition=k},tempFailColor:function(k){this.state.tFailColor=g.options.failedColor,g.options.failedColor=k},tempColor:function(k){this.state.tColor=g.options.color,g.options.color=k},tempLocation:function(k){this.state.tLocation=g.options.location,g.options.location=k},tempTransition:function(k){this.state.tTransition=g.options.transition,g.options.transition=k},revertColor:function(){g.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){g.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){g.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){g.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){g.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(k){for(var I in k.func){var D=k.func[I];switch(D.call){case"color":switch(D.modifier){case"set":this.setColor(D.argument);break;case"temp":this.tempColor(D.argument);break}break;case"fail":switch(D.modifier){case"set":this.setFailColor(D.argument);break;case"temp":this.tempFailColor(D.argument);break}break;case"location":switch(D.modifier){case"set":this.setLocation(D.argument);break;case"temp":this.tempLocation(D.argument);break}break;case"transition":switch(D.modifier){case"set":this.setTransition(D.argument);break;case"temp":this.tempTransition(D.argument);break}break}}}};m.component("vue-progress-bar",d),m.config.globalProperties.$Progress=b}};n.default=h})})})(Qd)),Qd.exports}var iD=sD();const rD=Np(iD);class Kr extends Error{}class oD extends Kr{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class aD extends Kr{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class lD extends Kr{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class mo extends Kr{}class k2 extends Kr{constructor(e){super(`Invalid unit ${e}`)}}class bn extends Kr{}class $i extends Kr{constructor(){super("Zone is an abstract class")}}const gt="numeric",Ms="short",es="long",cu={year:gt,month:gt,day:gt},C2={year:gt,month:Ms,day:gt},cD={year:gt,month:Ms,day:gt,weekday:Ms},T2={year:gt,month:es,day:gt},A2={year:gt,month:es,day:gt,weekday:es},O2={hour:gt,minute:gt},x2={hour:gt,minute:gt,second:gt},I2={hour:gt,minute:gt,second:gt,timeZoneName:Ms},N2={hour:gt,minute:gt,second:gt,timeZoneName:es},P2={hour:gt,minute:gt,hourCycle:"h23"},R2={hour:gt,minute:gt,second:gt,hourCycle:"h23"},D2={hour:gt,minute:gt,second:gt,hourCycle:"h23",timeZoneName:Ms},L2={hour:gt,minute:gt,second:gt,hourCycle:"h23",timeZoneName:es},M2={year:gt,month:gt,day:gt,hour:gt,minute:gt},$2={year:gt,month:gt,day:gt,hour:gt,minute:gt,second:gt},F2={year:gt,month:Ms,day:gt,hour:gt,minute:gt},V2={year:gt,month:Ms,day:gt,hour:gt,minute:gt,second:gt},uD={year:gt,month:Ms,day:gt,weekday:Ms,hour:gt,minute:gt},U2={year:gt,month:es,day:gt,hour:gt,minute:gt,timeZoneName:Ms},H2={year:gt,month:es,day:gt,hour:gt,minute:gt,second:gt,timeZoneName:Ms},j2={year:gt,month:es,day:gt,weekday:es,hour:gt,minute:gt,timeZoneName:es},B2={year:gt,month:es,day:gt,weekday:es,hour:gt,minute:gt,second:gt,timeZoneName:es};class kl{get type(){throw new $i}get name(){throw new $i}get ianaName(){return this.name}get isUniversal(){throw new $i}offsetName(e,n){throw new $i}formatOffset(e,n){throw new $i}offset(e){throw new $i}equals(e){throw new $i}get isValid(){throw new $i}}let sf=null;class gd extends kl{static get instance(){return sf===null&&(sf=new gd),sf}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return tS(e,n,s)}formatOffset(e,n){return Na(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const bh=new Map;function dD(t){let e=bh.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),bh.set(t,e)),e}const fD={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hD(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 pD(t,e){const n=t.formatToParts(e),s=[];for(let i=0;i<n.length;i++){const{type:r,value:o}=n[i],a=fD[r];r==="era"?s[a]=o:$t(a)||(s[a]=parseInt(o,10))}return s}const rf=new Map;class Ii extends kl{static create(e){let n=rf.get(e);return n===void 0&&rf.set(e,n=new Ii(e)),n}static resetCache(){rf.clear(),bh.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=Ii.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return tS(e,n,s,this.name)}formatOffset(e,n){return Na(this.offset(e),n)}offset(e){if(!this.valid)return NaN;const n=new Date(e);if(isNaN(n))return NaN;const s=dD(this.name);let[i,r,o,a,l,c,u]=s.formatToParts?pD(s,n):hD(s,n);a==="BC"&&(i=-Math.abs(i)+1);const f=bd({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 Gy={};function mD(t,e={}){const n=JSON.stringify([t,e]);let s=Gy[n];return s||(s=new Intl.ListFormat(t,e),Gy[n]=s),s}const vh=new Map;function _h(t,e={}){const n=JSON.stringify([t,e]);let s=vh.get(n);return s===void 0&&(s=new Intl.DateTimeFormat(t,e),vh.set(n,s)),s}const Sh=new Map;function gD(t,e={}){const n=JSON.stringify([t,e]);let s=Sh.get(n);return s===void 0&&(s=new Intl.NumberFormat(t,e),Sh.set(n,s)),s}const Eh=new Map;function yD(t,e={}){const{base:n,...s}=e,i=JSON.stringify([t,s]);let r=Eh.get(i);return r===void 0&&(r=new Intl.RelativeTimeFormat(t,e),Eh.set(i,r)),r}let ha=null;function bD(){return ha||(ha=new Intl.DateTimeFormat().resolvedOptions().locale,ha)}const wh=new Map;function W2(t){let e=wh.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),wh.set(t,e)),e}const kh=new Map;function vD(t){let e=kh.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...G2,...e}),kh.set(t,e)}return e}function _D(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=_h(t).resolvedOptions(),i=t}catch{const l=t.substring(0,n);s=_h(l).resolvedOptions(),i=l}const{numberingSystem:r,calendar:o}=s;return[i,r,o]}}function SD(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function ED(t){const e=[];for(let n=1;n<=12;n++){const s=Ot.utc(2009,n,1);e.push(t(s))}return e}function wD(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 Yl(t,e,n,s){const i=t.listingMode();return i==="error"?null:i==="en"?n(e):s(e)}function kD(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||W2(t.locale).numberingSystem==="latn"}class CD{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=gD(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):fm(e,3);return ze(n,this.padTo)}}}class TD{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&&Ii.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=_h(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 AD{constructor(e,n,s){this.opts={style:"long",...s},!n&&J2()&&(this.rtf=yD(e,s))}format(e,n){return this.rtf?this.rtf.format(e,n):XD(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const G2={firstDay:1,minimalDays:4,weekend:[6,7]};class Se{static fromOpts(e){return Se.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,s,i,r=!1){const o=e||Fe.defaultLocale,a=o||(r?"en-US":bD()),l=n||Fe.defaultNumberingSystem,c=s||Fe.defaultOutputCalendar,u=Th(i)||Fe.defaultWeekSettings;return new Se(a,l,c,u,o)}static resetCache(){ha=null,vh.clear(),Sh.clear(),Eh.clear(),wh.clear(),kh.clear()}static fromObject({locale:e,numberingSystem:n,outputCalendar:s,weekSettings:i}={}){return Se.create(e,n,s,i)}constructor(e,n,s,i,r){const[o,a,l]=_D(e);this.locale=o,this.numberingSystem=n||a||null,this.outputCalendar=s||l||null,this.weekSettings=i,this.intl=SD(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=kD(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:Se.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Th(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 Yl(this,e,sS,()=>{const s=this.intl==="ja"||this.intl.startsWith("ja-");n&=!s;const i=n?{month:e,day:"numeric"}:{month:e},r=n?"format":"standalone";if(!this.monthsCache[r][e]){const o=s?a=>this.dtFormatter(a,i).format():a=>this.extract(a,i,"month");this.monthsCache[r][e]=ED(o)}return this.monthsCache[r][e]})}weekdays(e,n=!1){return Yl(this,e,oS,()=>{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]=wD(r=>this.extract(r,s,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return Yl(this,void 0,()=>aS,()=>{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 Yl(this,e,lS,()=>{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 CD(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new TD(e,this.intl,n)}relFormatter(e={}){return new AD(this.intl,this.isEnglish(),e)}listFormatter(e={}){return mD(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||W2(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Q2()?vD(this.locale):G2}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 of=null;class Dn extends kl{static get utcInstance(){return of===null&&(of=new Dn(0)),of}static instance(e){return e===0?Dn.utcInstance:new Dn(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Dn(vd(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Na(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Na(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return Na(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 OD extends kl{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 Yi(t,e){if($t(t)||t===null)return e;if(t instanceof kl)return t;if(DD(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?gd.instance:n==="utc"||n==="gmt"?Dn.utcInstance:Dn.parseSpecifier(n)||Ii.create(t)}else return nr(t)?Dn.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new OD(t)}const lm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Ky={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]},xD=lm.hanidec.replace(/[\[|\]]/g,"").split("");function ID(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(lm.hanidec)!==-1)e+=xD.indexOf(t[n]);else for(const i in Ky){const[r,o]=Ky[i];s>=r&&s<=o&&(e+=s-r)}}return parseInt(e,10)}else return e}const Ch=new Map;function ND(){Ch.clear()}function ks({numberingSystem:t},e=""){const n=t||"latn";let s=Ch.get(n);s===void 0&&(s=new Map,Ch.set(n,s));let i=s.get(e);return i===void 0&&(i=new RegExp(`${lm[n]}${e}`),s.set(e,i)),i}let qy=()=>Date.now(),zy="system",Xy=null,Yy=null,Zy=null,Jy=60,Qy,tb=null;class Fe{static get now(){return qy}static set now(e){qy=e}static set defaultZone(e){zy=e}static get defaultZone(){return Yi(zy,gd.instance)}static get defaultLocale(){return Xy}static set defaultLocale(e){Xy=e}static get defaultNumberingSystem(){return Yy}static set defaultNumberingSystem(e){Yy=e}static get defaultOutputCalendar(){return Zy}static set defaultOutputCalendar(e){Zy=e}static get defaultWeekSettings(){return tb}static set defaultWeekSettings(e){tb=Th(e)}static get twoDigitCutoffYear(){return Jy}static set twoDigitCutoffYear(e){Jy=e%100}static get throwOnInvalid(){return Qy}static set throwOnInvalid(e){Qy=e}static resetCaches(){Se.resetCache(),Ii.resetCache(),Ot.resetCache(),ND()}}class Ps{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],q2=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new Ps("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function cm(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 z2(t,e,n){return n+(Cl(t)?q2:K2)[e-1]}function X2(t,e){const n=Cl(t)?q2:K2,s=n.findIndex(r=>r<e),i=e-n[s];return{month:s+1,day:i}}function um(t,e){return(t-e+7)%7+1}function uu(t,e=4,n=1){const{year:s,month:i,day:r}=t,o=z2(s,i,r),a=um(cm(s,i,r),n);let l=Math.floor((o-a+14-e)/7),c;return l<1?(c=s-1,l=rl(c,e,n)):l>rl(s,e,n)?(c=s+1,l=1):c=s,{weekYear:c,weekNumber:l,weekday:a,..._d(t)}}function eb(t,e=4,n=1){const{weekYear:s,weekNumber:i,weekday:r}=t,o=um(cm(s,1,e),n),a=Eo(s);let l=i*7+r-o-7+e,c;l<1?(c=s-1,l+=Eo(c)):l>a?(c=s+1,l-=Eo(s)):c=s;const{month:u,day:d}=X2(c,l);return{year:c,month:u,day:d,..._d(t)}}function af(t){const{year:e,month:n,day:s}=t,i=z2(e,n,s);return{year:e,ordinal:i,..._d(t)}}function nb(t){const{year:e,ordinal:n}=t,{month:s,day:i}=X2(e,n);return{year:e,month:s,day:i,..._d(t)}}function sb(t,e){if(!$t(t.localWeekday)||!$t(t.localWeekNumber)||!$t(t.localWeekYear)){if(!$t(t.weekday)||!$t(t.weekNumber)||!$t(t.weekYear))throw new mo("Cannot mix locale-based week fields with ISO-based week fields");return $t(t.localWeekday)||(t.weekday=t.localWeekday),$t(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),$t(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 PD(t,e=4,n=1){const s=yd(t.weekYear),i=ds(t.weekNumber,1,rl(t.weekYear,e,n)),r=ds(t.weekday,1,7);return s?i?r?!1:us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}function RD(t){const e=yd(t.year),n=ds(t.ordinal,1,Eo(t.year));return e?n?!1:us("ordinal",t.ordinal):us("year",t.year)}function Y2(t){const e=yd(t.year),n=ds(t.month,1,12),s=ds(t.day,1,du(t.year,t.month));return e?n?s?!1:us("day",t.day):us("month",t.month):us("year",t.year)}function Z2(t){const{hour:e,minute:n,second:s,millisecond:i}=t,r=ds(e,0,23)||e===24&&n===0&&s===0&&i===0,o=ds(n,0,59),a=ds(s,0,59),l=ds(i,0,999);return r?o?a?l?!1:us("millisecond",i):us("second",s):us("minute",n):us("hour",e)}function $t(t){return typeof t>"u"}function nr(t){return typeof t=="number"}function yd(t){return typeof t=="number"&&t%1===0}function DD(t){return typeof t=="string"}function LD(t){return Object.prototype.toString.call(t)==="[object Date]"}function J2(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Q2(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function MD(t){return Array.isArray(t)?t:[t]}function ib(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 $D(t,e){return e.reduce((n,s)=>(n[s]=t[s],n),{})}function Mo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Th(t){if(t==null)return null;if(typeof t!="object")throw new bn("Week settings must be an object");if(!ds(t.firstDay,1,7)||!ds(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ds(e,1,7)))throw new bn("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ds(t,e,n){return yd(t)&&t>=e&&t<=n}function FD(t,e){return t-e*Math.floor(t/e)}function ze(t,e=2){const n=t<0;let s;return n?s="-"+(""+-t).padStart(e,"0"):s=(""+t).padStart(e,"0"),s}function qi(t){if(!($t(t)||t===null||t===""))return parseInt(t,10)}function pr(t){if(!($t(t)||t===null||t===""))return parseFloat(t)}function dm(t){if(!($t(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function fm(t,e,n="round"){const s=10**e;switch(n){case"expand":return t>0?Math.ceil(t*s)/s:Math.floor(t*s)/s;case"trunc":return Math.trunc(t*s)/s;case"round":return Math.round(t*s)/s;case"floor":return Math.floor(t*s)/s;case"ceil":return Math.ceil(t*s)/s;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function Cl(t){return t%4===0&&(t%100!==0||t%400===0)}function Eo(t){return Cl(t)?366:365}function du(t,e){const n=FD(e-1,12)+1,s=t+(e-n)/12;return n===2?Cl(s)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function bd(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 rb(t,e,n){return-um(cm(t,1,e),n)+e-1}function rl(t,e=4,n=1){const s=rb(t,e,n),i=rb(t+1,e,n);return(Eo(t)-s+i)/7}function Ah(t){return t>99?t:t>Fe.twoDigitCutoffYear?1900+t:2e3+t}function tS(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 vd(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 eS(t){const e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new bn(`Invalid unit value ${t}`);return e}function fu(t,e){const n={};for(const s in t)if(Mo(t,s)){const i=t[s];if(i==null)continue;n[e(s)]=eS(i)}return n}function Na(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}${ze(n,2)}:${ze(s,2)}`;case"narrow":return`${i}${n}${s>0?`:${s}`:""}`;case"techie":return`${i}${ze(n,2)}${ze(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function _d(t){return $D(t,["hour","minute","second","millisecond"])}const VD=["January","February","March","April","May","June","July","August","September","October","November","December"],nS=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],UD=["J","F","M","A","M","J","J","A","S","O","N","D"];function sS(t){switch(t){case"narrow":return[...UD];case"short":return[...nS];case"long":return[...VD];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 iS=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],rS=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],HD=["M","T","W","T","F","S","S"];function oS(t){switch(t){case"narrow":return[...HD];case"short":return[...rS];case"long":return[...iS];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const aS=["AM","PM"],jD=["Before Christ","Anno Domini"],BD=["BC","AD"],WD=["B","A"];function lS(t){switch(t){case"narrow":return[...WD];case"short":return[...BD];case"long":return[...jD];default:return null}}function GD(t){return aS[t.hour<12?0:1]}function KD(t,e){return oS(e)[t.weekday-1]}function qD(t,e){return sS(e)[t.month-1]}function zD(t,e){return lS(e)[t.year<0?0:1]}function XD(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 ob(t,e){let n="";for(const s of t)s.literal?n+=s.val:n+=e(s.val);return n}const YD={D:cu,DD:C2,DDD:T2,DDDD:A2,t:O2,tt:x2,ttt:I2,tttt:N2,T:P2,TT:R2,TTT:D2,TTTT:L2,f:M2,ff:F2,fff:U2,ffff:j2,F:$2,FF:V2,FFF:H2,FFFF:B2};class wn{static create(e,n={}){return new wn(e,n)}static parseFormat(e){let n=null,s="",i=!1;const r=[];for(let o=0;o<e.length;o++){const a=e.charAt(o);a==="'"?((s.length>0||i)&&r.push({literal:i||/^\s+$/.test(s),val:s===""?"'":s}),n=null,s="",i=!i):i||a===n?s+=a:(s.length>0&&r.push({literal:/^\s+$/.test(s),val:s}),s=a,n=a)}return s.length>0&&r.push({literal:i||/^\s+$/.test(s),val:s}),r}static macroTokenToFormatOpts(e){return YD[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0,s=void 0){if(this.opts.forceSimple)return ze(e,n);const i={...this.opts};return n>0&&(i.padTo=n),s&&(i.signDisplay=s),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,n){const s=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(h,p)=>this.loc.extract(e,h,p),o=h=>e.isOffsetFixed&&e.offset===0&&h.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,h.format):"",a=()=>s?GD(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,p)=>s?qD(e,h):r(p?{month:h}:{month:h,day:"numeric"},"month"),c=(h,p)=>s?KD(e,h):r(p?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),u=h=>{const p=wn.macroTokenToFormatOpts(h);return p?this.formatWithSystemDefault(e,p):h},d=h=>s?zD(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 ob(wn.parseFormat(n),f)}formatDurationFromString(e,n){const s=this.opts.signMode==="negativeLargestOnly"?-1:1,i=u=>{switch(u[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=(u,d)=>f=>{const h=i(f);if(h){const p=d.isNegativeDuration&&h!==d.largestUnit?s:1;let m;return this.opts.signMode==="negativeLargestOnly"&&h!==d.largestUnit?m="never":this.opts.signMode==="all"?m="always":m="auto",this.num(u.get(h)*p,f.length,m)}else return f},o=wn.parseFormat(n),a=o.reduce((u,{literal:d,val:f})=>d?u:u.concat(f),[]),l=e.shiftTo(...a.map(i).filter(u=>u)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return ob(o,r(l,c))}}const cS=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Xo(...t){const e=t.reduce((n,s)=>n+s.source,"");return RegExp(`^${e}$`)}function Yo(...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 Zo(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 uS(...t){return(e,n)=>{const s={};let i;for(i=0;i<t.length;i++)s[t[i]]=qi(e[n+i]);return[s,null,n+i]}}const dS=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,ZD=`(?:${dS.source}?(?:\\[(${cS.source})\\])?)?`,hm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,fS=RegExp(`${hm.source}${ZD}`),pm=RegExp(`(?:[Tt]${fS.source})?`),JD=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,QD=/(\d{4})-?W(\d\d)(?:-?(\d))?/,tL=/(\d{4})-?(\d{3})/,eL=uS("weekYear","weekNumber","weekDay"),nL=uS("year","ordinal"),sL=/(\d{4})-(\d\d)-(\d\d)/,hS=RegExp(`${hm.source} ?(?:${dS.source}|(${cS.source}))?`),iL=RegExp(`(?: ${hS.source})?`);function wo(t,e,n){const s=t[e];return $t(s)?n:qi(s)}function rL(t,e){return[{year:wo(t,e),month:wo(t,e+1,1),day:wo(t,e+2,1)},null,e+3]}function Jo(t,e){return[{hours:wo(t,e,0),minutes:wo(t,e+1,0),seconds:wo(t,e+2,0),milliseconds:dm(t[e+3])},null,e+4]}function Tl(t,e){const n=!t[e]&&!t[e+1],s=vd(t[e+1],t[e+2]),i=n?null:Dn.instance(s);return[{},i,e+3]}function Al(t,e){const n=t[e]?Ii.create(t[e]):null;return[{},n,e+1]}const oL=RegExp(`^T?${hm.source}$`),aL=/^-?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 lL(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(pr(n)),months:f(pr(s)),weeks:f(pr(i)),days:f(pr(r)),hours:f(pr(o)),minutes:f(pr(a)),seconds:f(pr(l),l==="-0"),milliseconds:f(dm(c),d)}]}const cL={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function mm(t,e,n,s,i,r,o){const a={year:e.length===2?Ah(qi(e)):qi(e),month:nS.indexOf(n)+1,day:qi(s),hour:qi(i),minute:qi(r)};return o&&(a.second=qi(o)),t&&(a.weekday=t.length>3?iS.indexOf(t)+1:rS.indexOf(t)+1),a}const uL=/^(?:(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 dL(t){const[,e,n,s,i,r,o,a,l,c,u,d]=t,f=mm(e,i,s,n,r,o,a);let h;return l?h=cL[l]:c?h=0:h=vd(u,d),[f,new Dn(h)]}function fL(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const hL=/^(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$/,pL=/^(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$/,mL=/^(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 ab(t){const[,e,n,s,i,r,o,a]=t;return[mm(e,i,s,n,r,o,a),Dn.utcInstance]}function gL(t){const[,e,n,s,i,r,o,a]=t;return[mm(e,a,n,s,i,r,o),Dn.utcInstance]}const yL=Xo(JD,pm),bL=Xo(QD,pm),vL=Xo(tL,pm),_L=Xo(fS),pS=Yo(rL,Jo,Tl,Al),SL=Yo(eL,Jo,Tl,Al),EL=Yo(nL,Jo,Tl,Al),wL=Yo(Jo,Tl,Al);function kL(t){return Zo(t,[yL,pS],[bL,SL],[vL,EL],[_L,wL])}function CL(t){return Zo(fL(t),[uL,dL])}function TL(t){return Zo(t,[hL,ab],[pL,ab],[mL,gL])}function AL(t){return Zo(t,[aL,lL])}const OL=Yo(Jo);function xL(t){return Zo(t,[oL,OL])}const IL=Xo(sL,iL),NL=Xo(hS),PL=Yo(Jo,Tl,Al);function RL(t){return Zo(t,[IL,pS],[NL,PL])}const lb="Invalid Duration",mS={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},DL={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...mS},as=146097/400,to=146097/4800,LL={years:{quarters:4,months:12,weeks:as/7,days:as,hours:as*24,minutes:as*24*60,seconds:as*24*60*60,milliseconds:as*24*60*60*1e3},quarters:{months:3,weeks:as/28,days:as/4,hours:as*24/4,minutes:as*24*60/4,seconds:as*24*60*60/4,milliseconds:as*24*60*60*1e3/4},months:{weeks:to/7,days:to,hours:to*24,minutes:to*24*60,seconds:to*24*60*60,milliseconds:to*24*60*60*1e3},...mS},wr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ML=wr.slice(0).reverse();function ci(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 gS(t,e){let n=e.milliseconds??0;for(const s of ML.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function cb(t,e){const n=gS(t,e)<0?-1:1;wr.reduceRight((s,i)=>{if($t(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),wr.reduce((s,i)=>{if($t(e[i]))return s;if(s){const r=e[s]%1;e[s]-=r,e[i]+=r*t[s][i]}return i},null)}function ub(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?LL:DL;e.matrix&&(s=e.matrix),this.values=e.values,this.loc=e.loc||Se.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 bn(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new te({values:fu(e,te.normalizeUnit),loc:Se.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(nr(e))return te.fromMillis(e);if(te.isDuration(e))return e;if(typeof e=="object")return te.fromObject(e);throw new bn(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[s]=AL(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]=xL(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 bn("need to specify a reason the Duration is invalid");const s=e instanceof Ps?e:new Ps(e,n);if(Fe.throwOnInvalid)throw new lD(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 k2(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?wn.create(this.loc,s).formatDurationFromString(this,e):lb}toHuman(e={}){if(!this.isValid)return lb;const n=e.showZeros!==!1,s=wr.map(i=>{const r=this.values[i];return $t(r)||r===0&&!n?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(r)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(s)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=fm(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?gS(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 wr)(Mo(n.values,i)||Mo(this.values,i))&&(s[i]=n.get(i)+this.get(i));return ci(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]=eS(e(this.values[s],s));return ci(this,{values:n},!0)}get(e){return this[te.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...fu(e,te.normalizeUnit)};return ci(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 ci(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return cb(this.matrix,e),ci(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=ub(this.normalize().shiftToAll().toObject());return ci(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 wr)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;nr(i[o])&&(a+=i[o]);const l=Math.trunc(a);n[o]=l,s[o]=(a*1e3-l*1e3)/1e3}else nr(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 cb(this.matrix,n),ci(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 ci(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=ub(this.values);return ci(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 wr)if(!n(this.values[s],e.values[s]))return!1;return!0}}const eo="Invalid Interval";function $L(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 bn("need to specify a reason the Interval is invalid");const s=e instanceof Ps?e:new Ps(e,n);if(Fe.throwOnInvalid)throw new aD(s);return new Me({invalid:s})}static fromDateTimes(e,n){const s=ra(e),i=ra(n),r=$L(s,i);return r??new Me({start:s,end:i})}static after(e,n){const s=te.fromDurationLike(n),i=ra(e);return Me.fromDateTimes(i,i.plus(s))}static before(e,n){const s=te.fromDurationLike(n),i=ra(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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",n){if(!this.isValid)return NaN;const s=this.start.startOf(e,n);let i;return n?.useLocaleWeeks?i=this.end.reconfigure({locale:s.locale}):i=this.end,i=i.startOf(e,n),Math.floor(i.diff(s,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?Me.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(ra).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()})`:eo}[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=cu,n={}){return this.isValid?wn.create(this.s.loc.clone(n),e).formatInterval(this):eo}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:eo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:eo}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:eo}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:eo}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 Zl{static hasDST(e=Fe.defaultZone){const n=Ot.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return Ii.isValidZone(e)}static normalizeZone(e){return Yi(e,Fe.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||Se.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||Se.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||Se.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||Se.create(n,s,r)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||Se.create(n,s,r)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null}={}){return(i||Se.create(n,s,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null}={}){return(i||Se.create(n,s,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Se.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return Se.create(n,null,"gregory").eras(e)}static features(){return{relative:J2(),localeWeek:Q2()}}}function db(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 FL(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=db(l,c);return(u-u%7)/7}],["days",db]],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 VL(t,e,n,s){let[i,r,o,a]=FL(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 UL="missing Intl.DateTimeFormat.formatToParts support";function ge(t,e=n=>n){return{regex:t,deser:([n])=>e(ID(n))}}const HL=" ",yS=`[ ${HL}]`,bS=new RegExp(yS,"g");function jL(t){return t.replace(/\./g,"\\.?").replace(bS,yS)}function fb(t){return t.replace(/\./g,"").replace(bS," ").toLowerCase()}function Cs(t,e){return t===null?null:{regex:RegExp(t.map(jL).join("|")),deser:([n])=>t.findIndex(s=>fb(n)===fb(s))+e}}function hb(t,e){return{regex:t,deser:([,n,s])=>vd(n,s),groups:e}}function Jl(t){return{regex:t,deser:([e])=>e}}function BL(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function WL(t,e){const n=ks(e),s=ks(e,"{2}"),i=ks(e,"{3}"),r=ks(e,"{4}"),o=ks(e,"{6}"),a=ks(e,"{1,2}"),l=ks(e,"{1,3}"),c=ks(e,"{1,6}"),u=ks(e,"{1,9}"),d=ks(e,"{2,4}"),f=ks(e,"{4,6}"),h=v=>({regex:RegExp(BL(v.val)),deser:([y])=>y,literal:!0}),m=(v=>{if(t.literal)return h(v);switch(v.val){case"G":return Cs(e.eras("short"),0);case"GG":return Cs(e.eras("long"),0);case"y":return ge(c);case"yy":return ge(d,Ah);case"yyyy":return ge(r);case"yyyyy":return ge(f);case"yyyyyy":return ge(o);case"M":return ge(a);case"MM":return ge(s);case"MMM":return Cs(e.months("short",!0),1);case"MMMM":return Cs(e.months("long",!0),1);case"L":return ge(a);case"LL":return ge(s);case"LLL":return Cs(e.months("short",!1),1);case"LLLL":return Cs(e.months("long",!1),1);case"d":return ge(a);case"dd":return ge(s);case"o":return ge(l);case"ooo":return ge(i);case"HH":return ge(s);case"H":return ge(a);case"hh":return ge(s);case"h":return ge(a);case"mm":return ge(s);case"m":return ge(a);case"q":return ge(a);case"qq":return ge(s);case"s":return ge(a);case"ss":return ge(s);case"S":return ge(l);case"SSS":return ge(i);case"u":return Jl(u);case"uu":return Jl(a);case"uuu":return ge(n);case"a":return Cs(e.meridiems(),0);case"kkkk":return ge(r);case"kk":return ge(d,Ah);case"W":return ge(a);case"WW":return ge(s);case"E":case"c":return ge(n);case"EEE":return Cs(e.weekdays("short",!1),1);case"EEEE":return Cs(e.weekdays("long",!1),1);case"ccc":return Cs(e.weekdays("short",!0),1);case"cccc":return Cs(e.weekdays("long",!0),1);case"Z":case"ZZ":return hb(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return hb(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Jl(/[a-z_+-/]{1,256}?/i);case" ":return Jl(/[^\S\n\r]/);default:return h(v)}})(t)||{invalidReason:UL};return m.token=t,m}const GL={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 KL(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=GL[o];if(typeof a=="object"&&(a=a[r]),a)return{literal:!1,val:a}}function qL(t){return[`^${t.map(n=>n.regex).reduce((n,s)=>`${n}(${s.source})`,"")}$`,t]}function zL(t,e,n){const s=t.match(e);if(s){const i={};let r=1;for(const o in n)if(Mo(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 XL(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 $t(t.z)||(n=Ii.create(t.z)),$t(t.Z)||(n||(n=new Dn(t.Z)),s=t.Z),$t(t.q)||(t.M=(t.q-1)*3+1),$t(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),$t(t.u)||(t.S=dm(t.u)),[Object.keys(t).reduce((r,o)=>{const a=e(o);return a&&(r[a]=t[o]),r},{}),n,s]}let lf=null;function YL(){return lf||(lf=Ot.fromMillis(1555555555555)),lf}function ZL(t,e){if(t.literal)return t;const n=wn.macroTokenToFormatOpts(t.val),s=ES(n,e);return s==null||s.includes(void 0)?t:s}function vS(t,e){return Array.prototype.concat(...t.map(n=>ZL(n,e)))}class _S{constructor(e,n){if(this.locale=e,this.format=n,this.tokens=vS(wn.parseFormat(n),e),this.units=this.tokens.map(s=>WL(s,e)),this.disqualifyingUnit=this.units.find(s=>s.invalidReason),!this.disqualifyingUnit){const[s,i]=qL(this.units);this.regex=RegExp(s,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){const[n,s]=zL(e,this.regex,this.handlers),[i,r,o]=s?XL(s):[null,null,void 0];if(Mo(s,"a")&&Mo(s,"H"))throw new mo("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 SS(t,e,n){return new _S(t,n).explainFromTokens(e)}function JL(t,e,n){const{result:s,zone:i,specificOffset:r,invalidReason:o}=SS(t,e,n);return[s,i,r,o]}function ES(t,e){if(!t)return null;const s=wn.create(e,t).dtFormatter(YL()),i=s.formatToParts(),r=s.resolvedOptions();return i.map(o=>KL(o,t,r))}const cf="Invalid DateTime",pb=864e13;function pa(t){return new Ps("unsupported zone",`the zone "${t.name}" is not supported`)}function uf(t){return t.weekData===null&&(t.weekData=uu(t.c)),t.weekData}function df(t){return t.localWeekData===null&&(t.localWeekData=uu(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function mr(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 wS(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 Ql(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 kc(t,e,n){return wS(bd(t),e,n)}function mb(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,du(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=bd(r);let[l,c]=wS(a,n,t.zone);return o!==0&&(l+=o,c=t.zone.offset(l)),{ts:l,o:c}}function no(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 Ps("unparsable",`the input "${i}" can't be parsed as ${s}`))}function tc(t,e,n=!0){return t.isValid?wn.create(Se.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function ff(t,e,n){const s=t.c.year>9999||t.c.year<0;let i="";if(s&&t.c.year>=0&&(i+="+"),i+=ze(t.c.year,s?6:4),n==="year")return i;if(e){if(i+="-",i+=ze(t.c.month),n==="month")return i;i+="-"}else if(i+=ze(t.c.month),n==="month")return i;return i+=ze(t.c.day),i}function gb(t,e,n,s,i,r,o){let a=!n||t.c.millisecond!==0||t.c.second!==0,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=ze(t.c.hour),o==="hour")break;if(e){if(l+=":",l+=ze(t.c.minute),o==="minute")break;a&&(l+=":",l+=ze(t.c.second))}else{if(l+=ze(t.c.minute),o==="minute")break;a&&(l+=ze(t.c.second))}if(o==="second")break;a&&(!s||t.c.millisecond!==0)&&(l+=".",l+=ze(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!r?l+="Z":t.o<0?(l+="-",l+=ze(Math.trunc(-t.o/60)),l+=":",l+=ze(Math.trunc(-t.o%60))):(l+="+",l+=ze(Math.trunc(t.o/60)),l+=":",l+=ze(Math.trunc(t.o%60)))),r&&(l+="["+t.zone.ianaName+"]"),l}const kS={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},QL={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},tM={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Cc=["year","month","day","hour","minute","second","millisecond"],eM=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],nM=["year","ordinal","hour","minute","second","millisecond"];function Tc(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 k2(t);return e}function yb(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Tc(t)}}function sM(t){if(ma===void 0&&(ma=Fe.now()),t.type!=="iana")return t.offset(ma);const e=t.name;let n=Oh.get(e);return n===void 0&&(n=t.offset(ma),Oh.set(e,n)),n}function bb(t,e){const n=Yi(e.zone,Fe.defaultZone);if(!n.isValid)return Ot.invalid(pa(n));const s=Se.fromObject(e);let i,r;if($t(t.year))i=Fe.now();else{for(const l of Cc)$t(t[l])&&(t[l]=kS[l]);const o=Y2(t)||Z2(t);if(o)return Ot.invalid(o);const a=sM(n);[i,r]=kc(t,a,n)}return new Ot({ts:i,zone:n,loc:s,o:r})}function vb(t,e,n){const s=$t(n.round)?!0:n.round,i=$t(n.rounding)?"trunc":n.rounding,r=(a,l)=>(a=fm(a,s||n.calendary?0:2,n.calendary?"round":i),e.loc.clone(n).relFormatter(n).format(a,l)),o=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return r(o(n.unit),n.unit);for(const a of n.units){const l=o(a);if(Math.abs(l)>=1)return r(l,a)}return r(t>e?-0:0,n.units[n.units.length-1])}function _b(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 ma;const Oh=new Map;class Ot{constructor(e){const n=e.zone||Fe.defaultZone;let s=e.invalid||(Number.isNaN(e.ts)?new Ps("invalid input"):null)||(n.isValid?null:pa(n));this.ts=$t(e.ts)?Fe.now():e.ts;let i=null,r=null;if(!s)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[i,r]=[e.old.c,e.old.o];else{const a=nr(e.o)&&!e.old?e.o:n.offset(this.ts);i=Ql(this.ts,a),s=Number.isNaN(i.year)?new Ps("invalid input"):null,i=s?null:i,r=s?null:a}this._zone=n,this.loc=e.loc||Se.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]=_b(arguments),[s,i,r,o,a,l,c]=n;return bb({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static utc(){const[e,n]=_b(arguments),[s,i,r,o,a,l,c]=n;return e.zone=Dn.utcInstance,bb({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,n={}){const s=LD(e)?e.valueOf():NaN;if(Number.isNaN(s))return Ot.invalid("invalid input");const i=Yi(n.zone,Fe.defaultZone);return i.isValid?new Ot({ts:s,zone:i,loc:Se.fromObject(n)}):Ot.invalid(pa(i))}static fromMillis(e,n={}){if(nr(e))return e<-pb||e>pb?Ot.invalid("Timestamp out of range"):new Ot({ts:e,zone:Yi(n.zone,Fe.defaultZone),loc:Se.fromObject(n)});throw new bn(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(nr(e))return new Ot({ts:e*1e3,zone:Yi(n.zone,Fe.defaultZone),loc:Se.fromObject(n)});throw new bn("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const s=Yi(n.zone,Fe.defaultZone);if(!s.isValid)return Ot.invalid(pa(s));const i=Se.fromObject(n),r=fu(e,yb),{minDaysInFirstWeek:o,startOfWeek:a}=sb(r,i),l=Fe.now(),c=$t(n.specificOffset)?s.offset(l):n.specificOffset,u=!$t(r.ordinal),d=!$t(r.year),f=!$t(r.month)||!$t(r.day),h=d||f,p=r.weekYear||r.weekNumber;if((h||u)&&p)throw new mo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new mo("Can't mix ordinal dates with month/day");const m=p||r.weekday&&!h;let v,y,_=Ql(l,c);m?(v=eM,y=QL,_=uu(_,o,a)):u?(v=nM,y=tM,_=af(_)):(v=Cc,y=kS);let g=!1;for(const R of v){const j=r[R];$t(j)?g?r[R]=y[R]:r[R]=_[R]:g=!0}const b=m?PD(r,o,a):u?RD(r):Y2(r),E=b||Z2(r);if(E)return Ot.invalid(E);const k=m?eb(r,o,a):u?nb(r):r,[I,D]=kc(k,c,s),C=new Ot({ts:I,zone:s,o:D,loc:i});return r.weekday&&h&&e.weekday!==C.weekday?Ot.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${C.toISO()}`):C.isValid?C:Ot.invalid(C.invalid)}static fromISO(e,n={}){const[s,i]=kL(e);return no(s,i,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[s,i]=CL(e);return no(s,i,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[s,i]=TL(e);return no(s,i,n,"HTTP",n)}static fromFormat(e,n,s={}){if($t(e)||$t(n))throw new bn("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:r=null}=s,o=Se.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0}),[a,l,c,u]=JL(o,e,n);return u?Ot.invalid(u):no(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]=RL(e);return no(s,i,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new bn("need to specify a reason the DateTime is invalid");const s=e instanceof Ps?e:new Ps(e,n);if(Fe.throwOnInvalid)throw new oD(s);return new Ot({invalid:s})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const s=ES(e,Se.fromObject(n));return s?s.map(i=>i?i.val:null).join(""):null}static expandFormat(e,n={}){return vS(wn.parseFormat(e),Se.fromObject(n)).map(i=>i.val).join("")}static resetCache(){ma=void 0,Oh.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?uf(this).weekYear:NaN}get weekNumber(){return this.isValid?uf(this).weekNumber:NaN}get weekday(){return this.isValid?uf(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?df(this).weekday:NaN}get localWeekNumber(){return this.isValid?df(this).weekNumber:NaN}get localWeekYear(){return this.isValid?df(this).weekYear:NaN}get ordinal(){return this.isValid?af(this.c).ordinal:NaN}get monthShort(){return this.isValid?Zl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Zl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Zl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Zl.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=bd(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=Ql(l,o),d=Ql(c,a);return u.hour===d.hour&&u.minute===d.minute&&u.second===d.second&&u.millisecond===d.millisecond?[mr(this,{ts:l}),mr(this,{ts:c})]:[this]}get isInLeapYear(){return Cl(this.year)}get daysInMonth(){return du(this.year,this.month)}get daysInYear(){return this.isValid?Eo(this.year):NaN}get weeksInWeekYear(){return this.isValid?rl(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?rl(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:s,calendar:i}=wn.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:s,outputCalendar:i}}toUTC(e=0,n={}){return this.setZone(Dn.instance(e),n)}toLocal(){return this.setZone(Fe.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:s=!1}={}){if(e=Yi(e,Fe.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(n||s){const r=e.offset(this.ts),o=this.toObject();[i]=kc(o,r,e)}return mr(this,{ts:i,zone:e})}else return Ot.invalid(pa(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:s}={}){const i=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:s});return mr(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=fu(e,yb),{minDaysInFirstWeek:s,startOfWeek:i}=sb(n,this.loc),r=!$t(n.weekYear)||!$t(n.weekNumber)||!$t(n.weekday),o=!$t(n.ordinal),a=!$t(n.year),l=!$t(n.month)||!$t(n.day),c=a||l,u=n.weekYear||n.weekNumber;if((c||o)&&u)throw new mo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new mo("Can't mix ordinal dates with month/day");let d;r?d=eb({...uu(this.c,s,i),...n},s,i):$t(n.ordinal)?(d={...this.toObject(),...n},$t(n.day)&&(d.day=Math.min(du(d.year,d.month),d.day))):d=nb({...af(this.c),...n});const[f,h]=kc(d,this.o,this.zone);return mr(this,{ts:f,o:h})}plus(e){if(!this.isValid)return this;const n=te.fromDurationLike(e);return mr(this,mb(this,n))}minus(e){if(!this.isValid)return this;const n=te.fromDurationLike(e).negate();return mr(this,mb(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?wn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,e):cf}toLocaleString(e=cu,n={}){return this.isValid?wn.create(this.loc.clone(n),e).formatDateTime(this):cf}toLocaleParts(e={}){return this.isValid?wn.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:n=!1,suppressMilliseconds:s=!1,includeOffset:i=!0,extendedZone:r=!1,precision:o="milliseconds"}={}){if(!this.isValid)return null;o=Tc(o);const a=e==="extended";let l=ff(this,a,o);return Cc.indexOf(o)>=3&&(l+="T"),l+=gb(this,a,n,s,i,r,o),l}toISODate({format:e="extended",precision:n="day"}={}){return this.isValid?ff(this,e==="extended",Tc(n)):null}toISOWeekDate(){return tc(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:s=!0,includePrefix:i=!1,extendedZone:r=!1,format:o="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Tc(a),(i&&Cc.indexOf(a)>=3?"T":"")+gb(this,o==="extended",n,e,s,r,a)):null}toRFC2822(){return tc(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return tc(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ff(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")),tc(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():cf}[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=MD(n).map(te.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,l=o?e:this,c=VL(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),vb(n,this.plus(s),{...e,numeric:"always",units:i,unit:r})}toRelativeCalendar(e={}){return this.isValid?vb(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 bn("min requires all arguments be DateTimes");return ib(e,n=>n.valueOf(),Math.min)}static max(...e){if(!e.every(Ot.isDateTime))throw new bn("max requires all arguments be DateTimes");return ib(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,s={}){const{locale:i=null,numberingSystem:r=null}=s,o=Se.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});return SS(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=Se.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return new _S(r,e)}static fromFormatParser(e,n,s={}){if($t(e)||$t(n))throw new bn("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:r=null}=s,o=Se.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});if(!o.equals(n.locale))throw new bn(`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):no(a,l,s,`format ${n.format}`,e,c)}static get DATE_SHORT(){return cu}static get DATE_MED(){return C2}static get DATE_MED_WITH_WEEKDAY(){return cD}static get DATE_FULL(){return T2}static get DATE_HUGE(){return A2}static get TIME_SIMPLE(){return O2}static get TIME_WITH_SECONDS(){return x2}static get TIME_WITH_SHORT_OFFSET(){return I2}static get TIME_WITH_LONG_OFFSET(){return N2}static get TIME_24_SIMPLE(){return P2}static get TIME_24_WITH_SECONDS(){return R2}static get TIME_24_WITH_SHORT_OFFSET(){return D2}static get TIME_24_WITH_LONG_OFFSET(){return L2}static get DATETIME_SHORT(){return M2}static get DATETIME_SHORT_WITH_SECONDS(){return $2}static get DATETIME_MED(){return F2}static get DATETIME_MED_WITH_SECONDS(){return V2}static get DATETIME_MED_WITH_WEEKDAY(){return uD}static get DATETIME_FULL(){return U2}static get DATETIME_FULL_WITH_SECONDS(){return H2}static get DATETIME_HUGE(){return j2}static get DATETIME_HUGE_WITH_SECONDS(){return B2}}function ra(t){if(Ot.isDateTime(t))return t;if(t&&t.valueOf&&nr(t.valueOf()))return Ot.fromJSDate(t);if(t&&typeof t=="object")return Ot.fromObject(t);throw new bn(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const{locale:ec}=Js.global,Sb=["years","months","days","hours","minutes"],iM={toDate(t){return t?Ot.fromISO(t,{locale:ec.value}).toLocaleString(Ot.DATE_FULL):null},toDateTime(t){return t?Ot.fromISO(t,{locale:ec.value}).toLocaleString(Ot.DATETIME_MED):null},toDuration(t){const e=te.fromObject({minutes:Math.floor(t/60)}).shiftTo(...Sb),n=Object.fromEntries(Object.entries(e.toObject()).filter(([,s])=>s>0));return te.fromObject(n,{locale:ec.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:ec.value,unit:Sb})},toTimecode(t){return te.fromMillis(t).toFormat("h:mm:ss").replace(/^0:/u,"")}};var rM="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",oM="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",aM="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",lM="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",cM="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",uM="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",dM="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",fM="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",hM="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",pM="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",mM="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",gM="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",yM="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",bM="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",vM="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",SM="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",EM="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",wM="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",kM="M5,20H19V18H5M19,9H15V3H9V9H5L12,16L19,9Z",CM="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",TM="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",AM="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",OM="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",xM="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",IM="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",NM="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",PM="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",RM="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",DM="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",LM="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",MM="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",$M="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",FM="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",VM="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",UM="M14,19H18V5H14M6,19H10V5H6V19Z",HM="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",jM="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",BM="M8,5.14V19.14L19,12.14L8,5.14Z",WM="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",GM="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",KM="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",qM="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",zM="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",XM="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",YM="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",ZM="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",JM="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",QM="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",t4="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",e4="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",n4="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",s4="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",i4="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",r4="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",o4="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",a4="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",l4="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",c4="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",u4="M18,18H6V6H18V18Z",d4="M3 1C1.89 1 1 1.89 1 3V14C1 15.11 1.89 16 3 16H14C15.11 16 16 15.11 16 14V11H14V14H3V3H14V5H16V3C16 1.89 15.11 1 14 1M9 7C7.89 7 7 7.89 7 9V12H9V9H20V20H9V18H7V20C7 21.11 7.89 22 9 22H20C21.11 22 22 21.11 22 20V9C22 7.89 21.11 7 20 7H9",f4="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",h4="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",p4="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 m4={mdiAccountMusic:rM,mdiAlbum:oM,mdiBookOpenPageVariant:lM,mdiBookOpenVariant:cM,mdiBookshelf:uM,mdiBroadcast:dM,mdiCancel:fM,mdiCast:hM,mdiCastVariant:pM,mdiCheck:mM,mdiChevronDown:gM,mdiChevronLeft:yM,mdiChevronUp:bM,mdiClose:vM,mdiDelete:_M,mdiDeleteEmpty:SM,mdiDotsHorizontal:EM,mdiDotsVertical:wM,mdiDownload:kM,mdiDragHorizontal:CM,mdiEyeOffOutline:TM,mdiFastForward30:AM,mdiFileMusicOutline:OM,mdiFire:xM,mdiFolder:IM,mdiFolderOpen:NM,mdiHistory:PM,mdiLoading:RM,mdiMagnify:DM,mdiMenu:LM,mdiMicrophone:MM,mdiMusic:$M,mdiMusicBoxMultiple:FM,mdiOpenInNew:VM,mdiPause:UM,mdiPencil:HM,mdiPipe:jM,mdiPlay:BM,mdiPlaylistMusic:WM,mdiPlaylistPlay:GM,mdiPlaylistPlus:KM,mdiRadio:qM,mdiRadioTower:zM,mdiRefresh:XM,mdiRepeat:YM,mdiRepeatOff:ZM,mdiRepeatOnce:JM,mdiRewind10:QM,mdiRss:t4,mdiScriptTextOutline:e4,mdiScriptTextPlay:n4,mdiServer:s4,mdiShuffle:i4,mdiShuffleDisabled:r4,mdiSkipBackward:o4,mdiSkipForward:a4,mdiSpeaker:l4,mdiSpotify:c4,mdiStop:u4,mdiVectorLink:d4,mdiVolumeHigh:f4,mdiVolumeOff:h4,mdiWeb:p4},g4={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}},y4=t=>t.charAt(0).toUpperCase()+t.slice(1),b4=t=>t.split("-").map(y4).join(""),v4=(t,e,n)=>{const s=t[`mdi${b4(e.name)}`]||aM,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}}},_4=(t,e)=>({[e.staticClass||""]:!0,[e.class||""]:!0,[`mdi mdi-${t.name}`]:!0,"mdi-spin":t.spin===!0}),S4=(t,e={})=>({install(n,{icons:s}){if(s===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:g4,...e,render:t(s)})}}),E4=t=>function(){const{spanAttrs:n,svgAttrs:s,pathAttrs:i}=v4(t,this,this.$attrs);return Zs("span",{...n,class:_4(this,this)},[Zs("svg",s,[this.title?Zs("title",[this.title]):void 0,Zs("path",i)])])},w4=S4(E4);/*!
|
||
* vue-router v4.6.3
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const co=typeof document<"u";function CS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function k4(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&CS(t.default)}const ve=Object.assign;function hf(t,e){const n={};for(const s in e){const i=e[s];n[s]=$s(i)?i.map(t):t(i)}return n}const Pa=()=>{},$s=Array.isArray;function Eb(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}const TS=/#/g,C4=/&/g,T4=/\//g,A4=/=/g,O4=/\?/g,AS=/\+/g,x4=/%5B/g,I4=/%5D/g,OS=/%5E/g,N4=/%60/g,xS=/%7B/g,P4=/%7C/g,IS=/%7D/g,R4=/%20/g;function gm(t){return t==null?"":encodeURI(""+t).replace(P4,"|").replace(x4,"[").replace(I4,"]")}function D4(t){return gm(t).replace(xS,"{").replace(IS,"}").replace(OS,"^")}function xh(t){return gm(t).replace(AS,"%2B").replace(R4,"+").replace(TS,"%23").replace(C4,"%26").replace(N4,"`").replace(xS,"{").replace(IS,"}").replace(OS,"^")}function L4(t){return xh(t).replace(A4,"%3D")}function M4(t){return gm(t).replace(TS,"%23").replace(O4,"%3F")}function $4(t){return M4(t).replace(T4,"%2F")}function ol(t){if(t==null)return null;try{return decodeURIComponent(""+t)}catch{}return""+t}const F4=/\/$/,V4=t=>t.replace(F4,"");function pf(t,e,n="/"){let s,i={},r="",o="";const a=e.indexOf("#");let l=e.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=e.slice(0,l),r=e.slice(l,a>0?a:e.length),i=t(r.slice(1))),a>=0&&(s=s||e.slice(0,a),o=e.slice(a,e.length)),s=B4(s??e,n),{fullPath:s+r+o,path:s,query:i,hash:ol(o)}}function U4(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function wb(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function H4(t,e,n){const s=e.matched.length-1,i=n.matched.length-1;return s>-1&&s===i&&$o(e.matched[s],n.matched[i])&&NS(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function $o(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function NS(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!j4(t[n],e[n]))return!1;return!0}function j4(t,e){return $s(t)?kb(t,e):$s(e)?kb(e,t):t===e}function kb(t,e){return $s(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function B4(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 Fi={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ih=(function(t){return t.pop="pop",t.push="push",t})({}),mf=(function(t){return t.back="back",t.forward="forward",t.unknown="",t})({});function W4(t){if(!t)if(co){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),V4(t)}const G4=/^[^#]+#/;function K4(t,e){return t.replace(G4,"#")+e}function q4(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 Sd=()=>({left:window.scrollX,top:window.scrollY});function z4(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=q4(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 Cb(t,e){return(history.state?history.state.position-e:-1)+t}const Nh=new Map;function X4(t,e){Nh.set(t,e)}function Y4(t){const e=Nh.get(t);return Nh.delete(t),e}function Z4(t){return typeof t=="string"||t&&typeof t=="object"}function PS(t){return typeof t=="string"||typeof t=="symbol"}let $e=(function(t){return t[t.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",t[t.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",t[t.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",t[t.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",t[t.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",t})({});const RS=Symbol("");$e.MATCHER_NOT_FOUND+"",$e.NAVIGATION_GUARD_REDIRECT+"",$e.NAVIGATION_ABORTED+"",$e.NAVIGATION_CANCELLED+"",$e.NAVIGATION_DUPLICATED+"";function Fo(t,e){return ve(new Error,{type:t,[RS]:!0},e)}function ui(t,e){return t instanceof Error&&RS in t&&(e==null||!!(t.type&e))}const J4=["params","query","hash"];function Q4(t){if(typeof t=="string")return t;if(t.path!=null)return t.path;const e={};for(const n of J4)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}function t$(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let s=0;s<n.length;++s){const i=n[s].replace(AS," "),r=i.indexOf("="),o=ol(r<0?i:i.slice(0,r)),a=r<0?null:ol(i.slice(r+1));if(o in e){let l=e[o];$s(l)||(l=e[o]=[l]),l.push(a)}else e[o]=a}return e}function Tb(t){let e="";for(let n in t){const s=t[n];if(n=L4(n),s==null){s!==void 0&&(e+=(e.length?"&":"")+n);continue}($s(s)?s.map(i=>i&&xh(i)):[s&&xh(s)]).forEach(i=>{i!==void 0&&(e+=(e.length?"&":"")+n,i!=null&&(e+="="+i))})}return e}function e$(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=$s(s)?s.map(i=>i==null?null:""+i):s==null?s:""+s)}return e}const n$=Symbol(""),Ab=Symbol(""),ym=Symbol(""),DS=Symbol(""),Ph=Symbol("");function oa(){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 zi(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(Fo($e.NAVIGATION_ABORTED,{from:n,to:e})):f instanceof Error?l(f):Z4(f)?l(Fo($e.NAVIGATION_GUARD_REDIRECT,{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 gf(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(CS(l)){const c=(l.__vccOpts||l)[e];c&&r.push(zi(c,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=k4(u)?u.default:u;o.mods[a]=u,o.components[a]=d;const f=(d.__vccOpts||d)[e];return f&&zi(f,n,s,o,a,i)()}))}}return r}function s$(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=>$o(c,a))?s.push(a):n.push(a));const l=t.matched[o];l&&(e.matched.find(c=>$o(c,l))||i.push(l))}return[n,s,i]}/*!
|
||
* vue-router v4.6.3
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let i$=()=>location.protocol+"//"+location.host;function LS(t,e){const{pathname:n,search:s,hash:i}=e,r=t.indexOf("#");if(r>-1){let o=i.includes(t.slice(r))?t.slice(r).length:1,a=i.slice(o);return a[0]!=="/"&&(a="/"+a),wb(a,"")}return wb(n,t)+s+i}function r$(t,e,n,s){let i=[],r=[],o=null;const a=({state:f})=>{const h=LS(t,location),p=n.value,m=e.value;let v=0;if(f){if(n.value=h,e.value=f,o&&o===p){o=null;return}v=m?f.position-m.position:0}else s(h);i.forEach(y=>{y(n.value,p,{delta:v,type:Ih.pop,direction:v?v>0?mf.forward:mf.back:mf.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(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(ve({},f.state,{scroll:Sd()}),"")}}function d(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:l,listen:c,destroy:d}}function Ob(t,e,n,s=!1,i=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:i?Sd():null}}function o$(t){const{history:e,location:n}=window,s={value:LS(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:i$()+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){r(l,ve({},e.state,Ob(i.value.back,l,i.value.forward,!0),c,{position:i.value.position}),!0),s.value=l}function a(l,c){const u=ve({},i.value,e.state,{forward:l,scroll:Sd()});r(u.current,u,!0),r(l,ve({},Ob(s.value,l,null),{position:u.position+1},c),!1),s.value=l}return{location:s,state:i,push:a,replace:o}}function a$(t){t=W4(t);const e=o$(t),n=r$(t,e.state,e.location,e.replace);function s(r,o=!0){o||n.pauseListeners(),history.go(r)}const i=ve({location:"",base:t,go:s,createHref:K4.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 l$(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),a$(t)}let kr=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.Group=2]="Group",t})({});var Ze=(function(t){return t[t.Static=0]="Static",t[t.Param=1]="Param",t[t.ParamRegExp=2]="ParamRegExp",t[t.ParamRegExpEnd=3]="ParamRegExpEnd",t[t.EscapeNext=4]="EscapeNext",t})(Ze||{});const c$={type:kr.Static,value:""},u$=/[a-zA-Z0-9_]/;function d$(t){if(!t)return[[]];if(t==="/")return[[c$]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=Ze.Static,s=n;const i=[];let r;function o(){r&&i.push(r),r=[]}let a=0,l,c="",u="";function d(){c&&(n===Ze.Static?r.push({type:kr.Static,value:c}):n===Ze.Param||n===Ze.ParamRegExp||n===Ze.ParamRegExpEnd?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:kr.Param,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!==Ze.ParamRegExp){s=n,n=Ze.EscapeNext;continue}switch(n){case Ze.Static:l==="/"?(c&&d(),o()):l===":"?(d(),n=Ze.Param):f();break;case Ze.EscapeNext:f(),n=s;break;case Ze.Param:l==="("?n=Ze.ParamRegExp:u$.test(l)?f():(d(),n=Ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Ze.ParamRegExp:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=Ze.ParamRegExpEnd:u+=l;break;case Ze.ParamRegExpEnd:d(),n=Ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:e("Unknown state");break}}return n===Ze.ParamRegExp&&e(`Unfinished custom RegExp for param "${c}"`),d(),o(),i}const xb="[^/]+?",f$={sensitive:!1,strict:!1,start:!0,end:!0};var In=(function(t){return t[t._multiplier=10]="_multiplier",t[t.Root=90]="Root",t[t.Segment=40]="Segment",t[t.SubSegment=30]="SubSegment",t[t.Static=40]="Static",t[t.Dynamic=20]="Dynamic",t[t.BonusCustomRegExp=10]="BonusCustomRegExp",t[t.BonusWildcard=-50]="BonusWildcard",t[t.BonusRepeatable=-20]="BonusRepeatable",t[t.BonusOptional=-8]="BonusOptional",t[t.BonusStrict=.7000000000000001]="BonusStrict",t[t.BonusCaseSensitive=.25]="BonusCaseSensitive",t})(In||{});const h$=/[.+*?^${}()[\]/\\]/g;function p$(t,e){const n=ve({},f$,e),s=[];let i=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[In.Root];n.strict&&!c.length&&(i+="/");for(let d=0;d<c.length;d++){const f=c[d];let h=In.Segment+(n.sensitive?In.BonusCaseSensitive:0);if(f.type===kr.Static)d||(i+="/"),i+=f.value.replace(h$,"\\$&"),h+=In.Static;else if(f.type===kr.Param){const{value:p,repeatable:m,optional:v,regexp:y}=f;r.push({name:p,repeatable:m,optional:v});const _=y||xb;if(_!==xb){h+=In.BonusCustomRegExp;try{`${_}`}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+b.message)}}let g=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;d||(g=v&&c.length<2?`(?:/${g})`:"/"+g),v&&(g+="?"),i+=g,h+=In.Dynamic,v&&(h+=In.BonusOptional),m&&(h+=In.BonusRepeatable),_===".*"&&(h+=In.BonusWildcard)}u.push(h)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=In.BonusStrict}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===kr.Static)u+=h.value;else if(h.type===kr.Param){const{value:p,repeatable:m,optional:v}=h,y=p in c?c[p]:"";if($s(y)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=$s(y)?y.join("/"):y;if(!_)if(v)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 m$(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]===In.Static+In.Segment?-1:1:t.length>e.length?e.length===1&&e[0]===In.Static+In.Segment?1:-1:0}function MS(t,e){let n=0;const s=t.score,i=e.score;for(;n<s.length&&n<i.length;){const r=m$(s[n],i[n]);if(r)return r;n++}if(Math.abs(i.length-s.length)===1){if(Ib(s))return 1;if(Ib(i))return-1}return i.length-s.length}function Ib(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const g$={strict:!1,end:!0,sensitive:!1};function y$(t,e,n){const s=p$(d$(t.path),n),i=ve(s,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function b$(t,e){const n=[],s=new Map;e=Eb(g$,e);function i(d){return s.get(d)}function r(d,f,h){const p=!h,m=Pb(d);m.aliasOf=h&&h.record;const v=Eb(e,d),y=[m];if("alias"in d){const b=typeof d.alias=="string"?[d.alias]:d.alias;for(const E of b)y.push(Pb(ve({},m,{components:h?h.record.components:m.components,path:E,aliasOf:h?h.record:m})))}let _,g;for(const b of y){const{path:E}=b;if(f&&E[0]!=="/"){const k=f.record.path,I=k[k.length-1]==="/"?"":"/";b.path=f.record.path+(E&&I+E)}if(_=y$(b,f,v),h?h.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),p&&d.name&&!Rb(_)&&o(d.name)),$S(_)&&l(_),m.children){const k=m.children;for(let I=0;I<k.length;I++)r(k[I],_,h&&h.children[I])}h=h||_}return g?()=>{o(g)}:Pa}function o(d){if(PS(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=S$(d,n);n.splice(f,0,d),d.record.name&&!Rb(d)&&s.set(d.record.name,d)}function c(d,f){let h,p={},m,v;if("name"in d&&d.name){if(h=s.get(d.name),!h)throw Fo($e.MATCHER_NOT_FOUND,{location:d});v=h.record.name,p=ve(Nb(f.params,h.keys.filter(g=>!g.optional).concat(h.parent?h.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),d.params&&Nb(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),v=h.record.name);else{if(h=f.name?s.get(f.name):n.find(g=>g.re.test(f.path)),!h)throw Fo($e.MATCHER_NOT_FOUND,{location:d,currentLocation:f});v=h.record.name,p=ve({},f.params,d.params),m=h.stringify(p)}const y=[];let _=h;for(;_;)y.unshift(_.record),_=_.parent;return{name:v,path:m,params:p,matched:y,meta:_$(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 Nb(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function Pb(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:v$(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 v$(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 Rb(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function _$(t){return t.reduce((e,n)=>ve(e,n.meta),{})}function S$(t,e){let n=0,s=e.length;for(;n!==s;){const r=n+s>>1;MS(t,e[r])<0?s=r:n=r+1}const i=E$(t);return i&&(s=e.lastIndexOf(i,s-1)),s}function E$(t){let e=t;for(;e=e.parent;)if($S(e)&&MS(t,e)===0)return e}function $S({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Db(t){const e=hs(ym),n=hs(DS),s=tn(()=>{const l=jn(t.to);return e.resolve(l)}),i=tn(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex($o.bind(null,u));if(f>-1)return f;const h=Lb(l[c-2]);return c>1&&Lb(u)===h&&d[d.length-1].path!==h?d.findIndex($o.bind(null,l[c-2])):f}),r=tn(()=>i.value>-1&&A$(n.params,s.value.params)),o=tn(()=>i.value>-1&&i.value===n.matched.length-1&&NS(n.params,s.value.params));function a(l={}){if(T$(l)){const c=e[jn(t.replace)?"replace":"push"](jn(t.to)).catch(Pa);return t.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:tn(()=>s.value.href),isActive:r,isExactActive:o,navigate:a}}function w$(t){return t.length===1?t[0]:t}const k$=Ni({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Db,setup(t,{slots:e}){const n=Ho(Db(t)),{options:s}=hs(ym),i=tn(()=>({[Mb(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Mb(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&w$(e.default(n));return t.custom?r:Zs("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}}),C$=k$;function T$(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 A$(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(!$s(i)||i.length!==s.length||s.some((r,o)=>r!==i[o]))return!1}return!0}function Lb(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Mb=(t,e,n)=>t??e??n,O$=Ni({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=hs(Ph),i=tn(()=>t.route||s.value),r=hs(Ab,0),o=tn(()=>{let c=jn(r);const{matched:u}=i.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=tn(()=>i.value.matched[o.value]);ka(Ab,tn(()=>o.value+1)),ka(n$,a),ka(Ph,i);const l=fs();return ts(()=>[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||!$o(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 $b(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,v=Zs(f,ve({},p,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return $b(n.default,{Component:v,route:c})||v}}});function $b(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const x$=O$;function I$(t){const e=b$(t.routes,t),n=t.parseQuery||t$,s=t.stringifyQuery||Tb,i=t.history,r=oa(),o=oa(),a=oa(),l=Iu(Fi);let c=Fi;co&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hf.bind(null,Z=>""+Z),d=hf.bind(null,$4),f=hf.bind(null,ol);function h(Z,dt){let ct,bt;return PS(Z)?(ct=e.getRecordMatcher(Z),bt=dt):bt=Z,e.addRoute(bt,ct)}function p(Z){const dt=e.getRecordMatcher(Z);dt&&e.removeRoute(dt)}function m(){return e.getRoutes().map(Z=>Z.record)}function v(Z){return!!e.getRecordMatcher(Z)}function y(Z,dt){if(dt=ve({},dt||l.value),typeof Z=="string"){const P=pf(n,Z,dt.path),G=e.resolve({path:P.path},dt),st=i.createHref(P.fullPath);return ve(P,G,{params:f(G.params),hash:ol(P.hash),redirectedFrom:void 0,href:st})}let ct;if(Z.path!=null)ct=ve({},Z,{path:pf(n,Z.path,dt.path).path});else{const P=ve({},Z.params);for(const G in P)P[G]==null&&delete P[G];ct=ve({},Z,{params:d(P)}),dt.params=d(dt.params)}const bt=e.resolve(ct,dt),Pt=Z.hash||"";bt.params=u(f(bt.params));const Yt=U4(s,ve({},Z,{hash:D4(Pt),path:bt.path})),A=i.createHref(Yt);return ve({fullPath:Yt,hash:Pt,query:s===Tb?e$(Z.query):Z.query||{}},bt,{redirectedFrom:void 0,href:A})}function _(Z){return typeof Z=="string"?pf(n,Z,l.value.path):ve({},Z)}function g(Z,dt){if(c!==Z)return Fo($e.NAVIGATION_CANCELLED,{from:dt,to:Z})}function b(Z){return I(Z)}function E(Z){return b(ve(_(Z),{replace:!0}))}function k(Z,dt){const ct=Z.matched[Z.matched.length-1];if(ct&&ct.redirect){const{redirect:bt}=ct;let Pt=typeof bt=="function"?bt(Z,dt):bt;return typeof Pt=="string"&&(Pt=Pt.includes("?")||Pt.includes("#")?Pt=_(Pt):{path:Pt},Pt.params={}),ve({query:Z.query,hash:Z.hash,params:Pt.path!=null?{}:Z.params},Pt)}}function I(Z,dt){const ct=c=y(Z),bt=l.value,Pt=Z.state,Yt=Z.force,A=Z.replace===!0,P=k(ct,bt);if(P)return I(ve(_(P),{state:typeof P=="object"?ve({},Pt,P.state):Pt,force:Yt,replace:A}),dt||ct);const G=ct;G.redirectedFrom=dt;let st;return!Yt&&H4(s,bt,ct)&&(st=Fo($e.NAVIGATION_DUPLICATED,{to:G,from:bt}),xt(bt,bt,!0,!1)),(st?Promise.resolve(st):R(G,bt)).catch(J=>ui(J)?ui(J,$e.NAVIGATION_GUARD_REDIRECT)?J:qt(J):it(J,G,bt)).then(J=>{if(J){if(ui(J,$e.NAVIGATION_GUARD_REDIRECT))return I(ve({replace:A},_(J.to),{state:typeof J.to=="object"?ve({},Pt,J.to.state):Pt,force:Yt}),dt||G)}else J=M(G,bt,!0,A,Pt);return j(G,bt,J),J})}function D(Z,dt){const ct=g(Z,dt);return ct?Promise.reject(ct):Promise.resolve()}function C(Z){const dt=oe.values().next().value;return dt&&typeof dt.runWithContext=="function"?dt.runWithContext(Z):Z()}function R(Z,dt){let ct;const[bt,Pt,Yt]=s$(Z,dt);ct=gf(bt.reverse(),"beforeRouteLeave",Z,dt);for(const P of bt)P.leaveGuards.forEach(G=>{ct.push(zi(G,Z,dt))});const A=D.bind(null,Z,dt);return ct.push(A),Wt(ct).then(()=>{ct=[];for(const P of r.list())ct.push(zi(P,Z,dt));return ct.push(A),Wt(ct)}).then(()=>{ct=gf(Pt,"beforeRouteUpdate",Z,dt);for(const P of Pt)P.updateGuards.forEach(G=>{ct.push(zi(G,Z,dt))});return ct.push(A),Wt(ct)}).then(()=>{ct=[];for(const P of Yt)if(P.beforeEnter)if($s(P.beforeEnter))for(const G of P.beforeEnter)ct.push(zi(G,Z,dt));else ct.push(zi(P.beforeEnter,Z,dt));return ct.push(A),Wt(ct)}).then(()=>(Z.matched.forEach(P=>P.enterCallbacks={}),ct=gf(Yt,"beforeRouteEnter",Z,dt,C),ct.push(A),Wt(ct))).then(()=>{ct=[];for(const P of o.list())ct.push(zi(P,Z,dt));return ct.push(A),Wt(ct)}).catch(P=>ui(P,$e.NAVIGATION_CANCELLED)?P:Promise.reject(P))}function j(Z,dt,ct){a.list().forEach(bt=>C(()=>bt(Z,dt,ct)))}function M(Z,dt,ct,bt,Pt){const Yt=g(Z,dt);if(Yt)return Yt;const A=dt===Fi,P=co?history.state:{};ct&&(bt||A?i.replace(Z.fullPath,ve({scroll:A&&P&&P.scroll},Pt)):i.push(Z.fullPath,Pt)),l.value=Z,xt(Z,dt,ct,A),qt()}let H;function z(){H||(H=i.listen((Z,dt,ct)=>{if(!ae.listening)return;const bt=y(Z),Pt=k(bt,ae.currentRoute.value);if(Pt){I(ve(Pt,{replace:!0,force:!0}),bt).catch(Pa);return}c=bt;const Yt=l.value;co&&X4(Cb(Yt.fullPath,ct.delta),Sd()),R(bt,Yt).catch(A=>ui(A,$e.NAVIGATION_ABORTED|$e.NAVIGATION_CANCELLED)?A:ui(A,$e.NAVIGATION_GUARD_REDIRECT)?(I(ve(_(A.to),{force:!0}),bt).then(P=>{ui(P,$e.NAVIGATION_ABORTED|$e.NAVIGATION_DUPLICATED)&&!ct.delta&&ct.type===Ih.pop&&i.go(-1,!1)}).catch(Pa),Promise.reject()):(ct.delta&&i.go(-ct.delta,!1),it(A,bt,Yt))).then(A=>{A=A||M(bt,Yt,!1),A&&(ct.delta&&!ui(A,$e.NAVIGATION_CANCELLED)?i.go(-ct.delta,!1):ct.type===Ih.pop&&ui(A,$e.NAVIGATION_ABORTED|$e.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),j(bt,Yt,A)}).catch(Pa)}))}let ot=oa(),W=oa(),Q;function it(Z,dt,ct){qt(Z);const bt=W.list();return bt.length?bt.forEach(Pt=>Pt(Z,dt,ct)):console.error(Z),Promise.reject(Z)}function St(){return Q&&l.value!==Fi?Promise.resolve():new Promise((Z,dt)=>{ot.add([Z,dt])})}function qt(Z){return Q||(Q=!Z,z(),ot.list().forEach(([dt,ct])=>Z?ct(Z):dt()),ot.reset()),Z}function xt(Z,dt,ct,bt){const{scrollBehavior:Pt}=t;if(!co||!Pt)return Promise.resolve();const Yt=!ct&&Y4(Cb(Z.fullPath,0))||(bt||!ct)&&history.state&&history.state.scroll||null;return Wr().then(()=>Pt(Z,dt,Yt)).then(A=>A&&z4(A)).catch(A=>it(A,Z,dt))}const Lt=Z=>i.go(Z);let re;const oe=new Set,ae={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:e.clearRoutes,hasRoute:v,getRoutes:m,resolve:y,options:t,push:b,replace:E,go:Lt,back:()=>Lt(-1),forward:()=>Lt(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:W.add,isReady:St,install(Z){Z.component("RouterLink",C$),Z.component("RouterView",x$),Z.config.globalProperties.$router=ae,Object.defineProperty(Z.config.globalProperties,"$route",{enumerable:!0,get:()=>jn(l)}),co&&!re&&l.value===Fi&&(re=!0,b(i.location).catch(bt=>{}));const dt={};for(const bt in Fi)Object.defineProperty(dt,bt,{get:()=>l.value[bt],enumerable:!0});Z.provide(ym,ae),Z.provide(DS,zh(dt)),Z.provide(Ph,l);const ct=Z.unmount;oe.add(Z),Z.unmount=function(){oe.delete(Z),oe.size<1&&(c=Fi,H&&H(),H=null,l.value=Fi,re=!1,Q=!1),ct()}}};function Wt(Z){return Z.reduce((dt,ct)=>dt.then(()=>C(ct)),Promise.resolve())}return ae}const N$={name:"ContentWithHeading",data(){return{hidden:!0}},computed:{icon(){return this.hidden?"chevron-down":"chevron-up"}}},P$={class:"container"},R$={class:"columns is-centered"},D$={class:"column is-four-fifths"},L$={key:0,class:"my-2"},M$={class:"buttons is-centered"},$$={class:"level is-clipped"},F$={class:"level-left"},V$={class:"level-item has-text-centered-mobile"},U$={key:0,class:"level-right is-flex-shrink-1 has-text-centered-mobile"},H$={class:"buttons"},j$={key:0,class:"is-flex is-justify-content-center mt-4"};function B$(t,e,n,s,i,r){const o=w("mdicon");return O(),F("section",{class:Gt(["section",{"pt-0":t.$slots.options}])},[N("div",P$,[N("div",R$,[N("div",D$,[t.$slots.options?(O(),F("div",L$,[N("div",{class:Gt([{"is-hidden":i.hidden},"mt-4"])},[de(t.$slots,"options")],2),N("div",M$,[N("button",{class:"button is-small",onClick:e[0]||(e[0]=a=>i.hidden=!i.hidden)},[S(o,{class:"icon",name:r.icon,size:"16"},null,8,["name"])])])])):vt("",!0),N("div",null,[N("nav",$$,[N("div",F$,[N("div",V$,[N("div",null,[de(t.$slots,"heading")])])]),t.$slots.actions?(O(),F("div",U$,[N("div",H$,[de(t.$slots,"actions")])])):vt("",!0)]),de(t.$slots,"content"),t.$slots.footer?(O(),F("div",j$,[de(t.$slots,"footer")])):vt("",!0)])])])])],2)}const ee=et(N$,[["render",B$]]),W$={name:"ControlButton",props:{button:{required:!0,type:Object}}},G$=["disabled"],K$=["textContent"],q$=["textContent"];function z$(t,e,n,s,i,r){const o=w("mdicon");return O(),F("button",{class:"button is-small is-rounded",disabled:n.button.disabled,onClick:e[0]||(e[0]=(...a)=>n.button.handler&&n.button.handler(...a))},[n.button.icon?(O(),pt(o,{key:0,class:"icon",name:n.button.icon,size:"16"},null,8,["name"])):vt("",!0),n.button.key?(O(),F("span",{key:1,textContent:nt(t.$t(n.button.key))},null,8,K$)):vt("",!0),n.button.title?(O(),F("span",{key:2,textContent:nt(n.button.title)},null,8,q$)):vt("",!0)],8,G$)}const fn=et(W$,[["render",z$]]),X$={name:"PaneTitle",props:{content:{required:!0,type:Object}}},Y$=["textContent"],Z$={class:"is-size-7 is-uppercase"},J$=["onClick","textContent"],Q$=["textContent"],t5={key:2};function e5(t,e,n,s,i,r){return O(),F(rt,null,[n.content.title?(O(),F("div",{key:0,class:"title is-4",textContent:nt(n.content.title)},null,8,Y$)):vt("",!0),N("div",Z$,[(O(!0),F(rt,null,fe(n.content.subtitle,(o,a)=>(O(),F(rt,{key:a},[o.handler?(O(),F("a",{key:0,onClick:o.handler,textContent:nt(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,J$)):(O(),F("span",{key:1,textContent:nt(t.$t(o.key,{count:t.$n(o.count)},o.count))},null,8,Q$)),a!==n.content.subtitle.length-1?(O(),F("span",t5," | ")):vt("",!0)],64))),128))])],64)}const ne=et(X$,[["render",e5]]),n5={name:"PageAbout",components:{ContentWithHeading:ee,ControlButton:fn,PaneTitle:ne},setup(){return{configurationStore:Ko(),libraryStore:zu(),uiStore:ss()}},computed:{properties(){return[{key:"property.name",value:this.configurationStore.library_name},{key:"property.artists",value:this.$n(this.libraryStore.artists)},{key:"property.albums",value:this.$n(this.libraryStore.albums)},{key:"property.tracks",value:this.$n(this.libraryStore.songs)},{key:"property.playtime",value:this.$formatters.toDuration(this.libraryStore.db_playtime)},{alternate:this.$formatters.toDateTime(this.libraryStore.updated_at),key:"property.updated",value:this.$formatters.toRelativeDuration(this.libraryStore.updated_at)},{alternate:this.$formatters.toDateTime(this.libraryStore.started_at),key:"property.uptime",value:this.$formatters.toDurationToNow(this.libraryStore.started_at)}]}},methods:{openUpdateDialog(){this.uiStore.showUpdateDialog=!0}}},s5=["textContent"],i5={class:"media-right"},r5=["textContent"],o5=["textContent"],a5=["textContent"],l5=["textContent"],c5=["textContent"];function u5(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("i18n-t"),c=w("content-with-heading");return O(),pt(c,null,{heading:L(()=>[S(o,{content:{title:t.$t("page.about.library")}},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.openUpdateDialog,icon:"refresh",key:"page.about.update"},class:Gt({"is-loading":s.libraryStore.updating}),disabled:s.libraryStore.updating},null,8,["button","class","disabled"])]),content:L(()=>[(O(!0),F(rt,null,fe(r.properties,u=>(O(),F("div",{key:u.key,class:"media is-align-items-center mb-0"},[N("div",{class:"media-content has-text-weight-bold",textContent:nt(t.$t(u.key))},null,8,s5),N("div",i5,[N("span",{textContent:nt(u.value)},null,8,r5),u.alternate?(O(),F("span",{key:0,class:"has-text-grey",textContent:nt(` (${u.alternate})`)},null,8,o5)):vt("",!0)])]))),128)),N("div",{class:"is-size-7 mt-6",textContent:nt(t.$t("page.about.version",{version:s.configurationStore.version}))},null,8,a5),N("div",{class:"is-size-7",textContent:nt(t.$t("page.about.compiled-with",{options:s.configurationStore.buildoptions.join(", ")}))},null,8,l5),S(l,{tag:"div",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:L(()=>[...e[0]||(e[0]=[N("a",{href:"https://bulma.io"},"Bulma",-1)])]),mdi:L(()=>[...e[1]||(e[1]=[N("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])]),vuejs:L(()=>[...e[2]||(e[2]=[N("a",{href:"https://vuejs.org/"},"Vue.js",-1)])]),axios:L(()=>[...e[3]||(e[3]=[N("a",{href:"https://github.com/axios/axios"},"axios",-1)])]),others:L(()=>[N("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:nt(t.$t("page.about.more"))},null,8,c5)]),_:1})]),_:1})}const d5=et(n5,[["render",u5]]),f5={name:"ContentWithHero"},h5={class:"section"},p5={class:"container"},m5={class:"columns is-centered"},g5={class:"column is-four-fifths"},y5={class:"columns is-flex-direction-row-reverse"},b5={class:"column is-flex has-image"},v5={class:"column m-auto is-three-fifths has-text-centered-mobile"},_5={class:"section pt-0"},S5={class:"container"},E5={class:"columns is-centered"},w5={class:"column is-four-fifths"};function k5(t,e,n,s,i,r){return O(),F(rt,null,[N("section",h5,[N("div",p5,[N("div",m5,[N("div",g5,[N("div",y5,[N("div",b5,[de(t.$slots,"image",{},void 0,!0)]),N("div",v5,[de(t.$slots,"heading",{},void 0,!0)])])])])])]),N("section",_5,[N("div",S5,[N("div",E5,[N("div",w5,[de(t.$slots,"content",{},void 0,!0),de(t.$slots,"footer",{},void 0,!0)])])])])],64)}const Ed=et(f5,[["render",k5],["__scopeId","data-v-971a160a"]]),C5=t=>{let e=0;for(const n of t)e=n.charCodeAt(0)+e*31;return(e%16777215).toString(16).padStart(6,"0")},T5=t=>[.2126,.7152,.0722].reduce((e,n,s)=>e+ +`0x${t.slice(s*2,s*2+2)}`*n,0)/255,A5=t=>{const e=C5(t.alternate);let n="#FFFFFF";T5(e)>.5&&(n="#000000");const s=`<svg xmlns="http://www.w3.org/2000/svg"
|
||
width="${t.size}" height="${t.size}"
|
||
viewBox="0 0 ${t.size} ${t.size}">
|
||
<rect width="100%" height="100%" fill="#${e}"/>
|
||
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
|
||
font-weight="${t.font.weight}" font-family="${t.font.family}"
|
||
font-size="${t.size/3}" fill="${n}">
|
||
${t.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(s)}`},O5={name:"ControlImage",props:{caption:{default:"",type:String},url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},size:600}},computed:{source(){return{lifecycle:{error:t=>{t.src=this.uri}},src:this.url||this.uri}},uri(){return A5({alternate:this.caption,caption:this.caption.substring(0,2),font:this.font,size:this.size})}}},x5={class:"figure has-shadow is-clickable"};function I5(t,e,n,s,i,r){const o=sp("lazy");return O(),F("figure",x5,[bs(N("img",{onClick:e[0]||(e[0]=a=>t.$emit("click"))},null,512),[[o,r.source]])])}const qr=et(O5,[["render",I5],["__scopeId","data-v-e43b98b9"]]),{t:nc,locale:N5}=Js.global,FS="NO_INDEX",P5=(t,e)=>t-e,R5=(t,e)=>t.localeCompare(e,N5.value),D5=(t,e)=>{const n=Date.parse(t),s=Date.parse(e),i=isNaN(n),r=isNaN(s);return i&&r?0:i&&1||r&&-1||n-s},L5=t=>t.map(({field:e,type:n,order:s=1})=>{switch(n){case String:return(i,r)=>R5(i[e],r[e])*s;case Number:return(i,r)=>P5(i[e],r[e])*s;case Date:return(i,r)=>D5(i[e],r[e])*s;default:return()=>0}}),M5=(t="")=>{const e=t.charAt(0);return e.match(new RegExp("\\p{Letter}","gu"))?e.toUpperCase():e.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},$5=t=>{},F5=[{difference:NaN,text:()=>nc("grouped-list.undefined")},{difference:864e5,text:()=>nc("grouped-list.today")},{difference:6048e5,text:()=>nc("grouped-list.last-week")},{difference:2592e6,text:()=>nc("grouped-list.last-month")},{difference:1/0,text:t=>t.getFullYear()}],V5=t=>{const e=new Date(t),n=new Date-e;return F5.find(s=>isNaN(n)||n<s.difference)?.text(e)},U5=({field:t,type:e}={})=>{switch(e){case String:return n=>M5(n[t]);case Number:return n=>n[t];case Date:return n=>V5(n[t]);case"Digits":return n=>$5(n[t]);default:return()=>FS}};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=L5(e),o=i.sort((l,c)=>r.reduce((u,d)=>u||d(l,c),0)),a=U5(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!==FS&&(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 bm={name:"ControlProgress",props:{size:{default:36,type:Number},value:{default:0,type:Number}},computed:{offset(){return 1-this.value},progress(){return`${Math.round(this.value*100)}%`}}},Fb=()=>{dp(t=>({v3ce61f74:t.offset}))},Vb=bm.setup;bm.setup=Vb?(t,e)=>(Fb(),Vb(t,e)):Fb;const H5={class:"is-flex"},j5=["width","height"],B5=["textContent"];function W5(t,e,n,s,i,r){return O(),F("div",H5,[(O(),F("svg",{width:n.size,height:n.size,viewBox:"0 0 200 200"},[e[0]||(e[0]=N("defs",null,[N("circle",{id:"circle",cx:"50%",cy:"50%",pathLength:"1",r:"90"})],-1)),e[1]||(e[1]=N("use",{href:"#circle",class:"progress-base"},null,-1)),e[2]||(e[2]=N("use",{href:"#circle",class:"progress-bar"},null,-1)),N("text",{x:"50%",y:"50%",class:"is-size-1 progress-text",textContent:nt(r.progress)},null,8,B5)],8,j5))])}const G5=et(bm,[["render",W5],["__scopeId","data-v-06c7995f"]]),K5={name:"ListItem",components:{ControlImage:qr,ControlProgress:G5},props:{icon:{default:null,type:String},image:{default:null,type:Object},index:{default:null,type:[String,Number]},isItem:{default:!0,type:Boolean},isPlayable:{default:!0,type:Boolean},isRead:{default:!1,type:Boolean},lines:{default:null,type:Array},progress:{default:null,type:Number}},emits:["open","openDetails"],methods:{open(){this.$emit("open")},openDetails(){this.$emit("openDetails")}}},q5={key:0,class:"py-5"},z5={class:"media-content"},X5=["id","textContent"],Y5={class:"media-content"},Z5=["textContent"],J5={key:0,class:"is-size-7 has-text-grey"},Q5={key:2,class:"media-right"},t8={class:"media-right"};function e8(t,e,n,s,i,r){const o=w("mdicon"),a=w("control-image"),l=w("control-progress");return n.isItem?(O(),F("div",{key:1,class:Gt(["media is-align-items-center mb-0",{"is-clickable":n.isPlayable,"is-not-allowed":!n.isPlayable}]),onClick:e[1]||(e[1]=(...c)=>r.open&&r.open(...c))},[n.icon?(O(),pt(o,{key:0,class:"media-left icon",name:n.icon},null,8,["name"])):vt("",!0),n.image?(O(),pt(a,{key:1,url:n.image.url,caption:n.image.caption,class:"media-left is-small"},null,8,["url","caption"])):vt("",!0),N("div",Y5,[(O(!0),F(rt,null,fe(n.lines,(c,u)=>(O(),F("div",{key:u,class:Gt({"is-size-6":u===0,"is-size-7":u!==0,"has-text-weight-bold":u!==2,"has-text-grey":(u!==0||n.isRead)&&n.isPlayable,"has-text-grey-light":!n.isPlayable}),textContent:nt(c)},null,10,Z5))),128)),n.isPlayable?vt("",!0):(O(),F("div",J5,[de(t.$slots,"reason",{},void 0,!0)]))]),n.progress?(O(),F("div",Q5,[S(l,{value:n.progress},null,8,["value"])])):vt("",!0),N("div",t8,[N("a",{onClick:e[0]||(e[0]=Kn((...c)=>r.openDetails&&r.openDetails(...c),["prevent","stop"]))},[S(o,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})])])],2)):(O(),F("div",q5,[N("div",z5,[N("span",{id:`index_${n.index}`,class:"tag is-small has-text-weight-bold",textContent:nt(n.index)},null,8,X5)])]))}const Hs=et(K5,[["render",e8],["__scopeId","data-v-8ec36f11"]]),n8={name:"ListProperties",components:{ControlImage:qr},props:{item:{required:!0,type:Object}}},s8=["textContent"],i8={class:"title is-6"},r8=["onClick","textContent"],o8=["textContent"];function a8(t,e,n,s,i,r){const o=w("control-image");return O(),F(rt,null,[n.item.image?(O(),pt(o,{key:0,url:n.item.image,caption:n.item.name,class:"is-normal mb-5"},null,8,["url","caption"])):vt("",!0),t.$slots.buttons?de(t.$slots,"buttons",{key:1}):vt("",!0),(O(!0),F(rt,null,fe(n.item.properties?.filter(a=>a.value),a=>(O(),F("div",{key:a.key,class:"mb-3"},[N("div",{class:"is-size-7 is-uppercase",textContent:nt(t.$t(a.key))},null,8,s8),N("div",i8,[a.handler?(O(),F("a",{key:0,onClick:a.handler,textContent:nt(a.value)},null,8,r8)):(O(),F("span",{key:1,class:"title is-6",textContent:nt(a.value)},null,8,o8))])]))),128))],64)}const VS=et(n8,[["render",a8]]),l8={name:"ModalDialogPlayable",components:{ControlButton:fn,ListProperties:VS,ModalDialog:lr},props:{buttons:{default:()=>[],type:Array},item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{actions(){return[{handler:this.addToQueue,icon:"playlist-plus",key:"actions.add"},{handler:this.addNextToQueue,icon:"playlist-play",key:"actions.add-next"},{handler:this.play,icon:"play",key:"actions.play"}]}},methods:{addNextToQueue(){this.$emit("close"),this.item.expression?ue.addExpression(this.item.expression,!0):ue.addUri(this.item.uris||this.item.uri,!0)},addToQueue(){this.$emit("close"),this.item.expression?ue.addExpression(this.item.expression):ue.addUri(this.item.uris||this.item.uri)},play(){this.$emit("close"),this.item.expression?ue.playExpression(this.item.expression,!1):ue.playUri(this.item.uris||this.item.uri,!1)}}},c8={class:"buttons"};function u8(t,e,n,s,i,r){const o=w("control-button"),a=w("list-properties"),l=w("modal-dialog");return O(),pt(l,{actions:r.actions,show:n.show,title:n.item.name,onClose:e[0]||(e[0]=c=>t.$emit("close"))},{content:L(()=>[S(a,{item:n.item},fl({_:2},[n.buttons.length?{name:"buttons",fn:L(()=>[N("div",c8,[(O(!0),F(rt,null,fe(n.buttons,c=>(O(),pt(o,{key:c.key,button:c},null,8,["button"]))),128))])]),key:"0"}:void 0]),1032,["item"])]),_:1},8,["actions","show","title"])}const Ss=et(l8,[["render",u8]]),d8={name:"ModalDialogTrack",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],computed:{buttons(){return this.item.media_kind!=="podcast"?[]:this.item.play_count>0?[{handler:this.markAsNew,key:"actions.mark-as-new"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.genre",value:this.item.genre},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.item.length_ms>0&&this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.item.data_kind!=="spotify"&&this.$t("dialog.track.quality",{bitrate:this.item.bitrate,count:this.item.channels,format:this.item.type,samplerate:this.item.samplerate})},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)},{key:"property.rating",value:this.$t("dialog.track.rating",{rating:Math.floor(this.item.rating/10)})},{key:"property.comment",value:this.item.comment},{key:"property.path",value:this.item.path}],uri:this.item.uri}}},methods:{markAsNew(){Tt.updateTrack(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},markAsPlayed(){Tt.updateTrack(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openAlbum(){this.$emit("close"),this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobook-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobook-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})}}};function f8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(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 h8=et(d8,[["render",f8]]),p8={name:"ListTracks",components:{ListItem:Hs,ModalDialogTrack:h8},props:{expression:{default:"",type:String},icon:{default:null,type:String},items:{default:null,type:Object},load:{default:null,type:Function},showProgress:{default:!1,type:Boolean},uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selectedItem:{},showDetailsModal:!1}},methods:{isRead(t){return t.media_kind==="podcast"&&t.play_count>0},open(t){this.uris?ue.playUri(this.uris,!1,this.items.items.indexOf(t)):this.expression?ue.playExpression(this.expression,!1,this.items.items.indexOf(t)):ue.playUri(t.uri,!1)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},progress(t){return this.showProgress&&t.seek_ms>0?t.seek_ms/t.length_ms:null}}};function m8(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-track");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,l=>(O(),pt(o,{key:l.itemId,icon:n.icon,"is-item":l.isItem,"is-read":r.isRead(l.item),index:l.index,lines:[l.item.title,l.item.artist,l.item.album],progress:r.progress(l.item),onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["icon","is-item","is-read","index","lines","progress","onOpen","onOpenDetails"]))),128)),S(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 is=et(p8,[["render",m8]]),g8={name:"ModalDialogAlbum",components:{ModalDialog:lr,ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},mediaKind:{default:"",type:String},show:Boolean},emits:["close","play-count-changed","podcast-deleted"],data(){return{showRemovePodcastModal:!1}},computed:{actions(){return[{handler:this.cancel,icon:"cancel",key:this.$t("actions.cancel")},{handler:this.removePodcast,icon:"delete",key:this.$t("actions.remove")}]},buttons(){return this.computedMediaKind==="podcast"?this.item.data_kind==="url"?[{handler:this.markAsPlayed,key:"actions.mark-as-played"},{handler:this.openRemovePodcastDialog,key:"actions.remove"}]:[{handler:this.markAsPlayed,key:"actions.mark-as-played"}]:[]},computedMediaKind(){return this.mediaKind||this.item.media_kind},playable(){return{image:this.item.artwork_url,name:this.item.name,properties:[{handler:this.openArtist,key:"property.artist",value:this.item.artist},{key:"property.release-date",value:this.$formatters.toDate(this.item.date_released)},{key:"property.year",value:this.item.year},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}},methods:{cancel(){this.showRemovePodcastModal=!1},markAsPlayed(){Tt.updateAlbum(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},openArtist(){this.$emit("close"),this.$router.push({name:`${this.computedMediaKind}-artist`,params:{id:this.item.artist_id}})},openRemovePodcastDialog(){this.showRemovePodcastModal=!0,this.showDetailsModal=!1},removePodcast(){this.showRemovePodcastModal=!1,Tt.albumTracks(this.item.id,{limit:1}).then(t=>{Tt.trackPlaylists(t.items[0].id).then(e=>{const{id:n}=e.items.find(s=>s.type==="rss");Tt.playlistDelete(n).then(()=>{this.$emit("podcast-deleted"),this.$emit("close")})})})}}},y8=["textContent"];function b8(t,e,n,s,i,r){const o=w("modal-dialog-playable"),a=w("i18n-t"),l=w("modal-dialog");return O(),F(rt,null,[S(o,{buttons:r.buttons,item:r.playable,show:n.show,onClose:e[0]||(e[0]=c=>t.$emit("close"))},null,8,["buttons","item","show"]),S(l,{actions:r.actions,show:i.showRemovePodcastModal,title:t.$t("dialog.podcast.remove.title"),onClose:e[1]||(e[1]=c=>i.showRemovePodcastModal=!1),onRemove:r.removePodcast},{content:L(()=>[S(a,{tag:"p",keypath:"dialog.podcast.remove.info",scope:"global"},{separator:L(()=>[...e[2]||(e[2]=[N("br",null,null,-1)])]),name:L(()=>[N("b",{textContent:nt(n.item.name)},null,8,y8)]),_:1})]),_:1},8,["actions","show","title","onRemove"])],64)}const wd=et(g8,[["render",b8]]),v8={name:"PaneHero",components:{ControlButton:fn},props:{content:{required:!0,type:Object}}},_8=["textContent"],S8={class:"subtitle is-6"},E8=["textContent"],w8=["textContent"],k8={class:"buttons is-centered-mobile mt-5"};function C8(t,e,n,s,i,r){const o=w("control-button");return O(),F(rt,null,[N("div",{class:"title is-5",textContent:nt(n.content.title)},null,8,_8),N("div",S8,[N("a",{onClick:e[0]||(e[0]=(...a)=>n.content.handler&&n.content.handler(...a)),textContent:nt(n.content.subtitle)},null,8,E8)]),N("div",{class:"is-size-7 is-uppercase has-text-centered-mobile",textContent:nt(n.content.count)},null,8,w8),N("div",k8,[(O(!0),F(rt,null,fe(n.content.actions,(a,l)=>(O(),pt(o,{key:l,button:a},null,8,["button"]))),128))])],64)}const kd=et(v8,[["render",C8]]),T8={name:"PageAlbum",components:{ContentWithHero:Ed,ControlImage:qr,ListTracks:is,ModalDialogAlbum:wd,PaneHero:kd},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),r.tracks.indices.length<2&&r.tracks.group()})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ue.playUri(this.album.uri,!0)}}};function A8(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),image:L(()=>[S(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:L(()=>[S(l,{items:i.tracks,uris:i.album.uri},null,8,["items","uris"])]),_:1}),S(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const O8=et(T8,[["render",A8]]);function x8(t){return t.scrollHeight}function I8(t){return t.scrollWidth}function N8(t,e){t.scrollTop=t.scrollHeight-e+t.scrollTop}function P8(t,e){t.scrollLeft=t.scrollWidth-e+t.scrollLeft}const R8=N("div",{class:"loading"},"Loading...",-1),D8=N("div",{class:"no-more"},"No more.",-1),L8=N("div",{class:"no-results"},"No results.",-1),M8=N("div",{class:"error"},"Error.",-1),$8=Ni({__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=fs();let i=fs("loading"),r=fs(n.isInitial),o=0;function a(){Wr(()=>{var g,b;n.position==="top"?N8((g=n.container)!=null?g:document.documentElement,o):n.position==="left"&&P8((b=n.container)!=null?b:document.documentElement,o)})}function l(g,b){return g===0?r.value?(u(),"no-results"):(c(),"no-more"):g!==void 0&&b!==void 0&&g<b?(c(),"no-more"):(r.value=!1,a(),v(),"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"),v()}function h(){p("loading"),v()}function p(g){i.value=g}function m(){s.value&&_.unobserve(s.value)}function v(){s.value&&_.observe(s.value)}function y(){return new IntersectionObserver(([g])=>{var b,E;g.isIntersecting&&(n.position==="top"?o=x8((b=n.container)!=null?b:document.documentElement):n.position==="left"&&(o=I8((E=n.container)!=null?E: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"&&k1(()=>{_&&m(),_=y(),v()},{flush:"post"}),ts(()=>n.isInitial,g=>{g&&f()}),ts(r,g=>{g||e("update:isInitial",!1)}),(g,b)=>(O(),F("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:s},[jn(i)==="loading"?de(g.$slots,"loading",fo(po({key:0},{isFirstLoad:jn(r)})),()=>[R8]):jn(i)==="no-more"?de(g.$slots,"no-more",fo(po({key:1},{retry:h})),()=>[D8]):jn(i)==="no-results"?de(g.$slots,"no-results",fo(po({key:2},{retry:h})),()=>[L8]):jn(i)==="error"?de(g.$slots,"error",fo(po({key:3},{retry:h})),()=>[M8]):vt("",!0)],512))}}),F8={name:"LoaderListItem",components:{VueEternalLoading:$8},props:{load:{default:null,type:Function}}},V8={class:"columns is-centered"},U8={class:"column has-text-centered"};function H8(t,e,n,s,i,r){const o=w("mdicon"),a=w("vue-eternal-loading");return n.load?(O(),pt(a,{key:0,load:n.load},{loading:L(()=>[N("div",V8,[N("div",U8,[S(o,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":L(()=>[...e[0]||(e[0]=[N("br",null,null,-1)])]),"no-results":L(()=>[...e[1]||(e[1]=[N("br",null,null,-1)])]),_:1},8,["load"])):vt("",!0)}const Cd=et(F8,[["render",H8]]),j8={name:"ModalDialogTrackSpotify",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return this.item.artists?{name:this.item.name,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album.name},{handler:this.openArtist,key:"property.album-artist",value:this.item.artists[0]?.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.album.release_date)},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.duration_ms)},{key:"property.path",value:this.item.uri}],uri:this.item.uri}:{}}},methods:{openAlbum(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function B8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const W8=et(j8,[["render",B8]]),G8={name:"ListTracksSpotify",components:{ListItem:Hs,LoaderListItem:Cd,ModalDialogTrackSpotify:W8},props:{contextUri:{default:"",type:String},items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){t.is_playable&&ue.playUri(this.contextUri||t.uri,!1,t.position||0)},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}},K8=["textContent"],q8=["textContent"];function z8(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-track-spotify");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,c=>(O(),pt(o,{key:c.id,"is-playable":c.is_playable,lines:[c.name,c.artists[0].name,c.album.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},fl({_:2},[c.is_playable?void 0:{name:"reason",fn:L(()=>[e[1]||(e[1]=Ds(" (",-1)),N("span",{textContent:nt(t.$t("list.spotify.not-playable-track"))},null,8,K8),c.restrictions?.reason?(O(),F("span",{key:0,textContent:nt(t.$t("list.spotify.restriction-reason",{reason:c.restrictions.reason}))},null,8,q8)):vt("",!0),e[2]||(e[2]=Ds(") ",-1))]),key:"0"}]),1032,["is-playable","lines","onOpen","onOpenDetails"]))),128)),S(a,{load:n.load},null,8,["load"]),S(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const vm=et(G8,[["render",z8]]),X8={name:"ModalDialogAlbumSpotify",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name||"",properties:[{handler:this.openArtist,key:"property.artist",value:this.item?.artists?.[0]?.name},{key:"property.release-date",value:this.$formatters.toDate(this.item.release_date)},{key:"property.type",value:this.item.album_type}],uri:this.item.uri}}},methods:{openArtist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})}}};function Y8(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const US=et(X8,[["render",Y8]]),Z8={name:"PageAlbumSpotify",components:{ContentWithHero:Ed,ControlImage:qr,ListTracksSpotify:vm,ModalDialogAlbumSpotify:US,PaneHero:kd},beforeRouteEnter(t,e,n){Tn.spotify().then(({api:s,configuration:i})=>{s.albums.get(t.params.id,i.webapi_country).then(r=>{n(o=>{o.album=r})})})},setup(){return{servicesStore:ns()}},data(){return{album:{artists:[{}],tracks:{}},showDetailsModal:!1}},computed:{heading(){return{actions:[{handler:this.play,icon:"shuffle",key:"actions.shuffle"},{handler:this.openDetails,icon:"dots-horizontal"}],count:this.$t("data.tracks",{count:this.album.tracks.total}),handler:this.openArtist,subtitle:this.album.artists[0].name,title:this.album.name}},tracks(){const{album:t}=this;return t.tracks.total?t.tracks.items.map(e=>({...e,album:t})):[]}},methods:{openArtist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ue.playUri(this.album.uri,!0)}}};function J8(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks-spotify"),c=w("content-with-hero"),u=w("modal-dialog-album-spotify");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),image:L(()=>[S(a,{url:i.album.images?.[0]?.url??"",caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:L(()=>[S(l,{items:r.tracks,"context-uri":i.album.uri},null,8,["items","context-uri"])]),_:1}),S(u,{item:i.album,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Q8=et(Z8,[["render",J8]]),t6={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)}}},e6={class:"dropdown-trigger"},n6=["textContent"],s6={id:"dropdown",class:"dropdown-menu",role:"menu"},i6={class:"dropdown-content"},r6=["onClick","textContent"];function o6(t,e,n,s,i,r){const o=w("mdicon"),a=sp("click-away");return bs((O(),F("div",{class:Gt(["dropdown",{"is-active":i.active}])},[N("div",e6,[N("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:e[0]||(e[0]=l=>i.active=!i.active)},[N("span",{textContent:nt(r.option.name)},null,8,n6),S(o,{class:"icon",name:"chevron-down",size:"16"})])]),N("div",s6,[N("div",i6,[(O(!0),F(rt,null,fe(n.options,l=>(O(),F("a",{key:l.id,class:Gt(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>r.select(l),textContent:nt(l.name)},null,10,r6))),128))])])],2)),[[a,r.deactivate]])}const zr=et(t6,[["render",o6]]),a6={name:"ListAlbums",components:{ListItem:Hs,ModalDialogAlbum:wd},props:{items:{required:!0,type:Object},load:{default:null,type:Function},mediaKind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:ii()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.item.name,url:t.item.artwork_url}:null},open(t){const e=this.mediaKind||t.media_kind;e==="podcast"?this.$router.push({name:"podcast",params:{id:t.id}}):this.$router.push({name:`${e}-album`,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},playCountChanged(){this.$emit("play-count-changed")},podcastDeleted(){this.$emit("podcast-deleted")}}};function l6(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-album");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,l=>(O(),pt(o,{key:l.itemId,"is-item":l.isItem,image:r.image(l),index:l.index,lines:[l.item.name,l.item.artist,t.$formatters.toDate(l.item.date_released)],onOpen:c=>r.open(l.item),onOpenDetails:c=>r.openDetails(l.item)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),S(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1),onPlayCountChanged:r.playCountChanged,onPodcastDeleted:r.podcastDeleted},null,8,["item","media-kind","show","onPlayCountChanged","onPodcastDeleted"])],64)}const gs=et(a6,[["render",l6]]),c6={name:"ListIndexButtons",props:{indices:{required:!0,type:Array}}},u6={class:"buttons is-centered mb-4"};function d6(t,e,n,s,i,r){const o=w("router-link");return O(),F("section",null,[N("nav",u6,[(O(!0),F(rt,null,fe(n.indices,a=>(O(),pt(o,{key:a,class:"button is-small p-2 is-index",to:{hash:`#index_${a}`,query:t.$route.query}},{default:L(()=>[Ds(nt(a),1)]),_:2},1032,["to"]))),128))])])}const Es=et(c6,[["render",d6],["__scopeId","data-v-dc002763"]]),f6={name:"ListOptions"},h6={class:"columns"},p6={key:0,class:"column"},m6=["textContent"],g6={key:1,class:"column"},y6=["textContent"];function b6(t,e,n,s,i,r){return O(),F("div",h6,[t.$slots.filter?(O(),F("div",p6,[N("div",{class:"is-size-7 is-uppercase",textContent:nt(t.$t("options.filter.title"))},null,8,m6),de(t.$slots,"filter")])):vt("",!0),t.$slots.sort?(O(),F("div",g6,[N("div",{class:"is-size-7 is-uppercase",textContent:nt(t.$t("options.sort.title"))},null,8,y6),de(t.$slots,"sort")])):vt("",!0)])}const Qo=et(f6,[["render",b6]]),v6={name:"ControlTabList",props:{links:{required:!0,type:Array}}},_6={class:"section py-0 tabs-section"},S6={class:"container"},E6={class:"columns is-centered my-0"},w6={class:"column is-four-fifths py-0"},k6={class:"tabs is-centered is-small"},C6=["onClick","onKeypress"],T6=["textContent"];function A6(t,e,n,s,i,r){const o=w("mdicon"),a=w("router-link");return O(),F("section",_6,[N("div",S6,[N("div",E6,[N("div",w6,[N("div",k6,[N("ul",null,[(O(!0),F(rt,null,fe(n.links,l=>(O(),pt(a,{key:l.to.name,to:{name:l.to.name},custom:""},{default:L(({navigate:c,isActive:u})=>[N("li",{class:Gt({"is-active":u})},[N("a",{onClick:c,onKeypress:s0(c,["enter"])},[l.icon?(O(),pt(o,{key:0,class:"icon is-small mx-1",name:l.icon},null,8,["name"])):vt("",!0),N("span",{class:Gt({"is-hidden-mobile":l.icon}),textContent:nt(t.$t(l.key))},null,10,T6)],40,C6)],2)]),_:2},1032,["to"]))),128))])])])])])])}const _m=et(v6,[["render",A6],["__scopeId","data-v-51d61991"]]),O6={name:"TabsMusic",components:{ControlTabList:_m},setup(){return{servicesStore:ns()}},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 x6(t,e,n,s,i,r){const o=w("control-tab-list");return O(),pt(o,{links:r.links},null,8,["links"])}const js=et(O6,[["render",x6]]),I6={name:"PageAlbums",components:{ContentWithHeading:ee,ControlDropdown:zr,ControlSwitch:Gr,ListAlbums:gs,ListIndexButtons:Es,ListOptions:Qo,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tt.albums("music").then(s=>{n(i=>{i.albumList=new Ct(s)})})},setup(){return{servicesStore:ns(),uiStore:ss()}},data(){return{albumList:new Ct}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.albumsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("options.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("options.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("options.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"}],title:this.$t("page.albums.title")}}}},N6=["textContent"],P6=["textContent"],R6=["textContent"],D6=["textContent"];function L6(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-albums"),h=w("content-with-heading");return O(),F(rt,null,[S(o),S(h,null,{options:L(()=>[S(a,{indices:r.albums.indices},null,8,["indices"]),S(u,null,{filter:L(()=>[S(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-singles"))},null,8,N6)]),help:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-singles-help"))},null,8,P6)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),pt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify"))},null,8,R6)]),help:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify-help"))},null,8,D6)]),_:1},8,["modelValue"])):vt("",!0)]),sort:L(()=>[S(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:L(()=>[S(d,{content:r.heading},null,8,["content"])]),content:L(()=>[S(f,{items:r.albums},null,8,["items"])]),_:1})],64)}const M6=et(I6,[["render",L6]]),$6={name:"ModalDialogArtist",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.type",value:this.$t(`data.kind.${this.item.data_kind}`)},{key:"property.added-on",value:this.$formatters.toDateTime(this.item.time_added)}],uri:this.item.uri}}}};function F6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const Td=et($6,[["render",F6]]),V6={name:"PageArtist",components:{ContentWithHeading:ee,ControlButton:fn,ControlDropdown:zr,ControlSwitch:Gr,ListAlbums:gs,ListOptions:Qo,ModalDialogArtist:Td,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albumList=new Ct(i)})})},setup(){return{servicesStore:ns(),uiStore:ss()}},data(){return{albumList:new Ct,artist:{},showDetailsModal:!1}},computed:{albums(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistAlbumsSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.albumList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("options.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}]},heading(){return{subtitle:[{count:this.albums.count,key:"data.albums"},{count:this.trackCount,handler:this.openTracks,key:"data.tracks"}],title:this.artist.name}},trackCount(){return[...this.albums].reduce((t,e)=>t+(e?.item.track_count||0),0)}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){ue.playUri(this.albums.items.map(t=>t.uri).join(),!0)}}},U6=["textContent"],H6=["textContent"];function j6(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-albums"),f=w("content-with-heading"),h=w("modal-dialog-artist");return O(),F(rt,null,[S(f,null,{options:L(()=>[S(l,null,{filter:L(()=>[s.servicesStore.isSpotifyActive?(O(),pt(o,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSpotify=p)},{label:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify"))},null,8,U6)]),help:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify-help"))},null,8,H6)]),_:1},8,["modelValue"])):vt("",!0)]),sort:L(()=>[S(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:L(()=>[S(c,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:L(()=>[S(d,{items:r.albums},null,8,["items"])]),_:1}),S(h,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const B6=et(V6,[["render",j6]]),W6={name:"ListAlbumsSpotify",components:{ListItem:Hs,LoaderListItem:Cd,ModalDialogAlbumSpotify:US},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:ii()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url??""}:null},open(t){this.$router.push({name:"music-spotify-album",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function G6(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-album-spotify");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,c=>(O(),pt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.artists[0]?.name,t.$formatters.toDate(c.release_date)],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),S(a,{load:n.load},null,8,["load"]),S(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Ad=et(W6,[["render",G6]]),K6={name:"ModalDialogArtistSpotify",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name,properties:[{key:"property.popularity",value:[this.item.popularity,this.item.followers?.total].join(" / ")},{key:"property.genres",value:this.item.genres?.join(", ")}],uri:this.item.uri}}}};function q6(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const HS=et(K6,[["render",q6]]),yf=50,z6={name:"PageArtistSpotify",components:{ContentWithHeading:ee,ControlButton:fn,ListAlbumsSpotify:Ad,ModalDialogArtistSpotify:HS,PaneTitle:ne},beforeRouteEnter(t,e,n){Tn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.artists.get(t.params.id),s.artists.albums(t.params.id,"album,single",i.webapi_country,yf,0)]).then(([r,o])=>{n(a=>{a.artist=r,a.albums=o.items,a.total=o.total,a.offset=o.limit})})})},data(){return{albums:[],artist:{},offset:0,showDetailsModal:!1,total:0}},computed:{heading(){return{subtitle:[{count:this.total,key:"data.albums"}],title:this.artist.name}}},methods:{appendAlbums(t){this.albums=this.albums.concat(t.items),this.total=t.total,this.offset+=t.limit},load({loaded:t}){Tn.spotify().then(({api:e,configuration:n})=>{e.artists.albums(this.artist.id,"album,single",n.webapi_country,yf,this.offset).then(s=>{this.appendAlbums(s),t(s.items.length,yf)})})},openDetails(){this.showDetailsModal=!0},play(){this.showDetailsModal=!1,ue.playUri(this.artist.uri,!0)}}};function X6(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums-spotify"),c=w("content-with-heading"),u=w("modal-dialog-artist-spotify");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:L(()=>[S(l,{items:i.albums,load:r.load},null,8,["items","load"])]),_:1}),S(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Y6=et(z6,[["render",X6]]),Z6={name:"PageArtistTracks",components:{ContentWithHeading:ee,ControlButton:fn,ControlDropdown:zr,ControlSwitch:Gr,ListIndexButtons:Es,ListOptions:Qo,ListTracks:is,ModalDialogArtist:Td,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.trackList=new Ct(i)})})},setup(){return{servicesStore:ns(),uiStore:ss()}},data(){return{artist:{},showDetailsModal:!1,trackList:new Ct}},computed:{albumCount(){return new Set([...this.tracks].filter(t=>t.isItem).map(t=>t.item.album_id)).size},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return{subtitle:[{count:this.albumCount,handler:this.openArtist,key:"data.albums"},{count:this.tracks.count,key:"data.tracks"}],title:this.artist.name}},trackUris(){return this.trackList.items.map(t=>t.uri).join()},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistTracksSort);return t.filters=[e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.trackList.group(t)}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},openDetails(){this.showDetailsModal=!0},play(){ue.playUri(this.trackList.items.map(t=>t.uri).join(),!0)}}},J6=["textContent"],Q6=["textContent"];function tF(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-switch"),l=w("control-dropdown"),c=w("list-options"),u=w("pane-title"),d=w("control-button"),f=w("list-tracks"),h=w("content-with-heading"),p=w("modal-dialog-artist");return O(),F(rt,null,[S(h,null,{options:L(()=>[S(o,{indices:r.tracks.indices},null,8,["indices"]),S(c,null,{filter:L(()=>[s.servicesStore.isSpotifyActive?(O(),pt(a,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[0]||(e[0]=m=>s.uiStore.hideSpotify=m)},{label:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify"))},null,8,J6)]),help:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify-help"))},null,8,Q6)]),_:1},8,["modelValue"])):vt("",!0)]),sort:L(()=>[S(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:L(()=>[S(u,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(d,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(d,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:L(()=>[S(f,{items:r.tracks,uris:r.trackUris},null,8,["items","uris"])]),_:1}),S(p,{item:i.artist,show:i.showDetailsModal,onClose:e[2]||(e[2]=m=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const eF=et(Z6,[["render",tF]]),nF={name:"ListArtists",components:{ListItem:Hs,ModalDialogArtist:Td},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:`${t.media_kind}-artist`,params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function sF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-artist");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,l=>(O(),pt(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)),S(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Sm=et(nF,[["render",sF]]),iF={name:"PageArtists",components:{ContentWithHeading:ee,ControlDropdown:zr,ControlSwitch:Gr,ListArtists:Sm,ListIndexButtons:Es,ListOptions:Qo,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tt.artists("music").then(s=>{n(i=>{i.artistList=new Ct(s)})})},setup(){return{servicesStore:ns(),uiStore:ss()}},data(){return{artistList:new Ct}},computed:{artists(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.artistsSort);return t.filters=[e=>!this.uiStore.hideSingles||e.track_count>e.album_count*2,e=>!this.uiStore.hideSpotify||e.data_kind!=="spotify"],this.artistList.group(t)},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("options.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]},heading(){return{subtitle:[{count:this.artists.count,key:"data.artists"}],title:this.$t("page.artists.title")}}}},rF=["textContent"],oF=["textContent"],aF=["textContent"],lF=["textContent"];function cF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("control-switch"),c=w("control-dropdown"),u=w("list-options"),d=w("pane-title"),f=w("list-artists"),h=w("content-with-heading");return O(),F(rt,null,[S(o),S(h,null,{options:L(()=>[S(a,{indices:r.artists.indices},null,8,["indices"]),S(u,null,{filter:L(()=>[S(l,{modelValue:s.uiStore.hideSingles,"onUpdate:modelValue":e[0]||(e[0]=p=>s.uiStore.hideSingles=p)},{label:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-singles"))},null,8,rF)]),help:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-singles-help"))},null,8,oF)]),_:1},8,["modelValue"]),s.servicesStore.isSpotifyActive?(O(),pt(l,{key:0,modelValue:s.uiStore.hideSpotify,"onUpdate:modelValue":e[1]||(e[1]=p=>s.uiStore.hideSpotify=p)},{label:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify"))},null,8,aF)]),help:L(()=>[N("span",{textContent:nt(t.$t("options.filter.hide-spotify-help"))},null,8,lF)]),_:1},8,["modelValue"])):vt("",!0)]),sort:L(()=>[S(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:L(()=>[S(d,{content:r.heading},null,8,["content"])]),content:L(()=>[S(f,{items:r.artists},null,8,["items"])]),_:1})],64)}const uF=et(iF,[["render",cF]]),dF={name:"PageAudiobookAlbum",components:{ContentWithHero:Ed,ControlImage:qr,ListTracks:is,ModalDialogAlbum:wd,PaneHero:kd},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.albumTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),handler:this.openArtist,subtitle:this.album.artist,title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openArtist(){this.showDetailsModal=!1,this.$router.push({name:"audiobook-artist",params:{id:this.album.artist_id}})},openDetails(){this.showDetailsModal=!0},play(){ue.playUri(this.album.uri,!1)}}};function fF(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("content-with-hero"),u=w("modal-dialog-album");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),image:L(()=>[S(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:L(()=>[S(l,{items:i.tracks,"show-progress":!0,uris:i.album.uri},null,8,["items","uris"])]),_:1}),S(u,{item:i.album,show:i.showDetailsModal,"media-kind":"audiobook",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const hF=et(dF,[["render",fF]]),pF={name:"TabsAudiobooks",components:{ControlTabList:_m},computed:{links(){return[{icon:"account-music",key:"page.audiobooks.tabs.authors",to:{name:"audiobook-artists"}},{icon:"album",key:"page.audiobooks.tabs.audiobooks",to:{name:"audiobook-albums"}},{icon:"speaker",key:"page.audiobooks.tabs.genres",to:{name:"audiobook-genres"}}]}}};function mF(t,e,n,s,i,r){const o=w("control-tab-list");return O(),pt(o,{links:r.links},null,8,["links"])}const Em=et(pF,[["render",mF]]),gF={name:"PageAudiobookAlbums",components:{ContentWithHeading:ee,ListAlbums:gs,ListIndexButtons:Es,PaneTitle:ne,TabsAudiobooks:Em},beforeRouteEnter(t,e,n){Tt.albums("audiobook").then(s=>{n(i=>{i.albums=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct}},computed:{heading(){return{subtitle:[{count:this.albums.count,key:"data.audiobooks"}],title:this.$t("page.audiobooks.albums.title")}}}};function yF(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-albums"),u=w("content-with-heading");return O(),F(rt,null,[S(o),S(u,null,{options:L(()=>[S(a,{indices:i.albums.indices},null,8,["indices"])]),heading:L(()=>[S(l,{content:r.heading},null,8,["content"])]),content:L(()=>[S(c,{items:i.albums},null,8,["items"])]),_:1})],64)}const bF=et(gF,[["render",yF]]),vF={name:"PageAudiobookArtist",components:{ContentWithHeading:ee,ControlButton:fn,ListAlbums:gs,ModalDialogArtist:Td,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.artist(t.params.id),Tt.artistAlbums(t.params.id)]).then(([s,i])=>{n(r=>{r.artist=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,artist:{},showDetailsModal:!1}},computed:{heading(){return this.artist.name?{subtitle:[{count:this.artist.album_count,key:"data.audiobooks"}],title:this.artist.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},play(){ue.playUri(this.albums.items.map(t=>t.uri).join(),!1)}}};function _F(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-artist");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:L(()=>[S(l,{items:i.albums},null,8,["items"])]),_:1}),S(u,{item:i.artist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const SF=et(vF,[["render",_F]]),EF={name:"PageAudiobookArtists",components:{ContentWithHeading:ee,ListArtists:Sm,ListIndexButtons:Es,PaneTitle:ne,TabsAudiobooks:Em},beforeRouteEnter(t,e,n){Tt.artists("audiobook").then(s=>{n(i=>{i.artists=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{artists:new Ct}},computed:{heading(){return{subtitle:[{count:this.artists.count,key:"data.authors"}],title:this.$t("page.audiobooks.artists.title")}}}};function wF(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-artists"),u=w("content-with-heading");return O(),F(rt,null,[S(o),S(u,null,{options:L(()=>[S(a,{indices:i.artists.indices},null,8,["indices"])]),heading:L(()=>[S(l,{content:r.heading},null,8,["content"])]),content:L(()=>[S(c,{items:i.artists},null,8,["items"])]),_:1})],64)}const kF=et(EF,[["render",wF]]),CF={name:"ModalDialogGenre",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},mediaKind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{expression:`genre is "${this.item.name}" and media_kind is ${this.mediaKind}`,name:this.item.name,properties:[{key:"property.albums",value:this.item.album_count},{key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}}};function TF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const wm=et(CF,[["render",TF]]),AF={name:"ListGenres",components:{ListItem:Hs,ModalDialogGenre:wm},props:{items:{required:!0,type:Object},mediaKind:{required:!0,type:String}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"genre-albums",params:{name:t.name},query:{mediaKind:this.mediaKind}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function OF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-genre");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,l=>(O(),pt(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)),S(a,{item:i.selectedItem,"media-kind":n.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const jS=et(AF,[["render",OF]]),xF={name:"PageAudiobooksGenres",components:{ContentWithHeading:ee,ListGenres:jS,ListIndexButtons:Es,PaneTitle:ne,TabsAudiobooks:Em},beforeRouteEnter(t,e,n){Tt.genres("audiobook").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function IF(t,e,n,s,i,r){const o=w("tabs-audiobooks"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return O(),F(rt,null,[S(o),S(u,null,{options:L(()=>[S(a,{indices:i.genres.indices},null,8,["indices"])]),heading:L(()=>[S(l,{content:r.heading},null,8,["content"])]),content:L(()=>[S(c,{items:i.genres,"media-kind":"audiobook"},null,8,["items"])]),_:1})],64)}const NF=et(xF,[["render",IF]]),PF={name:"ModalDialogComposer",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{expression:`composer is "${this.item.name}" and media_kind is music`,name:this.item.name,properties:[{handler:this.openAlbums,key:"property.albums",value:this.item.album_count},{handler:this.openTracks,key:"property.tracks",value:this.item.track_count},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)}]}}},methods:{openAlbums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},openTracks(){this.$emit("close"),this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})}}};function RF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const km=et(PF,[["render",RF]]),DF={name:"PageComposerAlbums",components:{ContentWithHeading:ee,ControlButton:fn,ListAlbums:gs,ModalDialogComposer:km,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerAlbums(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.albums=new Ct(i)})})},data(){return{albums:new Ct,composer:{},showDetailsModal:!1}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,key:"data.albums"},{count:this.composer.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.composer.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){ue.playExpression(this.expression,!0)}}};function LF(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-albums"),c=w("content-with-heading"),u=w("modal-dialog-composer");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:L(()=>[S(l,{items:i.albums},null,8,["items"])]),_:1}),S(u,{item:i.composer,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const MF=et(DF,[["render",LF]]),$F={name:"PageComposerTracks",components:{ContentWithHeading:ee,ControlButton:fn,ControlDropdown:zr,ListIndexButtons:Es,ListOptions:Qo,ListTracks:is,ModalDialogComposer:km,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.composer(t.params.name),Tt.composerTracks(t.params.name)]).then(([s,i])=>{n(r=>{r.composer=s,r.trackList=new Ct(i)})})},setup(){return{uiStore:ss()}},data(){return{composer:{},showDetailsModal:!1,trackList:new Ct}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.composer.name?{subtitle:[{count:this.composer.album_count,handler:this.openAlbums,key:"data.albums"},{count:this.composer.track_count,key:"data.tracks"}],title:this.composer.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.composerTracksSort);return this.trackList.group(t)}},methods:{openAlbums(){this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},openDetails(){this.showDetailsModal=!0},play(){ue.playExpression(this.expression,!0)}}};function FF(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-composer");return O(),F(rt,null,[S(f,null,{options:L(()=>[S(o,{indices:r.tracks.indices},null,8,["indices"]),S(l,null,{sort:L(()=>[S(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:L(()=>[S(c,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:L(()=>[S(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),S(h,{item:i.composer,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const VF=et($F,[["render",FF]]),UF={name:"ListComposers",components:{ListItem:Hs,ModalDialogComposer:km},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{open(t){this.$router.push({name:"music-composer-albums",params:{name:t.name}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function HF(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-composer");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,l=>(O(),pt(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)),S(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const BS=et(UF,[["render",HF]]),jF={name:"PageComposers",components:{ContentWithHeading:ee,ListComposers:BS,ListIndexButtons:Es,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tt.composers("music").then(s=>{n(i=>{i.composers=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{composers:new Ct}},computed:{heading(){return{subtitle:[{count:this.composers.total,key:"data.composers"}],title:this.$t("page.composers.title")}}}};function BF(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-composers"),u=w("content-with-heading");return O(),F(rt,null,[S(o),S(u,null,{options:L(()=>[S(a,{indices:i.composers.indices},null,8,["indices"])]),heading:L(()=>[S(l,{content:r.heading},null,8,["content"])]),content:L(()=>[S(c,{items:i.composers},null,8,["items"])]),_:1})],64)}const WF=et(jF,[["render",BF]]),GF={name:"ModalDialogDirectory",components:{ModalDialogPlayable:Ss},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 KF(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const qF=et(GF,[["render",KF]]),zF={name:"ListDirectories",components:{ListItem:Hs,ModalDialogDirectory:qF},props:{items:{required:!0,type:Array}},data(){return{selectedItem:"",showDetailsModal:!1}},computed:{directories(){const t=[];let e="";return this.$route.query?.directory.split("/").slice(1,-1).forEach((n,s)=>{e=`${e}/${n}`,t.push({index:s,name:n,path:e})}),t}},methods:{open(t){const e={name:"files"};t.index!==0&&(e.query={directory:t.path}),this.$router.push(e)},openDetails(t){this.selectedItem=t.path,this.showDetailsModal=!0},openParent(){this.open(this.directories.slice(-1).pop())}}},XF={key:0,class:"media is-align-items-center mb-0"},YF={class:"media-content"},ZF={class:"breadcrumb"},JF=["onClick","textContent"],QF={class:"media-right"};function tV(t,e,n,s,i,r){const o=w("mdicon"),a=w("list-item"),l=w("modal-dialog-directory");return O(),F(rt,null,[t.$route.query.directory?(O(),F("div",XF,[S(o,{class:"icon media-left is-clickable",name:"chevron-left",onClick:r.openParent},null,8,["onClick"]),N("div",YF,[N("nav",ZF,[N("ul",null,[(O(!0),F(rt,null,fe(r.directories,c=>(O(),F("li",{key:c.index},[N("a",{onClick:u=>r.open(c),textContent:nt(c.name)},null,8,JF)]))),128))])])]),N("div",QF,[de(t.$slots,"actions")])])):vt("",!0),(O(!0),F(rt,null,fe(n.items,c=>(O(),pt(a,{key:c.path,icon:"folder",lines:[c.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["lines","onOpen","onOpenDetails"]))),128)),S(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const eV=et(zF,[["render",tV]]),nV={name:"ModalDialogPlaylist",components:{ModalDialogPlayable:Ss},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 sV(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const WS=et(nV,[["render",sV]]),iV={name:"ListPlaylists",components:{ListItem:Hs,ModalDialogPlaylist:WS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{icon(t){return t.type==="folder"?"folder":t.type==="rss"?"rss":"music-box-multiple"},open(t){t.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:t.id}}):this.$router.push({name:"playlist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function rV(t,e,n,s,i,r){const o=w("list-item"),a=w("modal-dialog-playlist");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,l=>(O(),pt(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)),S(a,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=l=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Cm=et(iV,[["render",rV]]),oV={name:"PageFiles",components:{ContentWithHeading:ee,ControlButton:fn,ListDirectories:eV,ListPlaylists:Cm,ListTracks:is,ModalDialogPlayable:Ss,PaneTitle:ne},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t)})},beforeRouteUpdate(t,e,n){this.fetchData(t).then(()=>n())},setup(){return{configurationStore:Ko()}},data(){return{directories:[],playlists:new Ct,showDetailsModal:!1,tracks:new Ct}},computed:{current(){return this.$route.query?.directory||"/"},name(){return this.current!=="/"?this.current?.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},playable(){return{expression:`path starts with "${this.current}" order by path asc`,name:this.current,properties:[{key:"property.folders",value:this.directories.length},{key:"property.playlists",value:this.playlists.total},{key:"property.tracks",value:this.tracks.total}]}}},methods:{async fetchData(t){if(t.query.directory){const e=await Tt.files(t.query.directory);e&&(this.directories=e.directories.map(n=>this.transform(n.path)),this.playlists=new Ct(e.playlists),this.tracks=new Ct(e.tracks))}else this.directories=this.configurationStore.directories.map(e=>this.transform(e)),this.playlists=new Ct,this.tracks=new Ct},openDetails(){this.showDetailsModal=!0},play(){ue.playExpression(this.expression,!1)},transform(t){return{name:t.slice(t.lastIndexOf("/")+1),path:t}}}};function aV(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-directories"),c=w("list-playlists"),u=w("list-tracks"),d=w("content-with-heading"),f=w("modal-dialog-playable");return O(),F(rt,null,[S(d,null,{heading:L(()=>[S(o,{content:{title:r.name}},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(a,{button:{handler:r.play,icon:"play",key:"actions.play"}},null,8,["button"])]),content:L(()=>[S(l,{items:i.directories},null,8,["items"]),S(c,{items:i.playlists},null,8,["items"]),S(u,{items:i.tracks,icon:"file-music-outline"},null,8,["items"])]),_:1}),S(f,{item:r.playable,show:i.showDetailsModal,onClose:e[0]||(e[0]=h=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const lV=et(oV,[["render",aV]]),cV={name:"PageGenreAlbums",components:{ContentWithHeading:ee,ControlButton:fn,ListAlbums:gs,ListIndexButtons:Es,ModalDialogGenre:wm,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreAlbums(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.albums=new Ct(i,{index:{field:"name_sort",type:String}})})})},data(){return{albums:new Ct,genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1}},computed:{heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,key:"data.albums"},{count:this.genre.track_count,handler:this.openTracks,key:"data.tracks"}],title:this.genre.name}:{}}},methods:{openDetails(){this.showDetailsModal=!0},openTracks(){this.showDetailsModal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ue.playExpression(`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`,!0)}}};function uV(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("pane-title"),l=w("control-button"),c=w("list-albums"),u=w("content-with-heading"),d=w("modal-dialog-genre");return O(),F(rt,null,[S(u,null,{options:L(()=>[S(o,{indices:i.albums.indices},null,8,["indices"])]),heading:L(()=>[S(a,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(l,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(l,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:L(()=>[S(c,{items:i.albums},null,8,["items"])]),_:1}),S(d,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[0]||(e[0]=f=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const dV=et(cV,[["render",uV]]),fV={name:"PageGenreTracks",components:{ContentWithHeading:ee,ControlButton:fn,ControlDropdown:zr,ListIndexButtons:Es,ListOptions:Qo,ListTracks:is,ModalDialogGenre:wm,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.genre(t.params.name,t.query.mediaKind),Tt.genreTracks(t.params.name,t.query.mediaKind)]).then(([s,i])=>{n(r=>{r.genre=s.items.shift(),r.trackList=new Ct(i)})})},setup(){return{uiStore:ss()}},data(){return{genre:{},mediaKind:this.$route.query.mediaKind,showDetailsModal:!1,trackList:new Ct}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.mediaKind}`},groupings(){return[{id:1,name:this.$t("options.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("options.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}]},heading(){return this.genre.name?{subtitle:[{count:this.genre.album_count,handler:this.openGenre,key:"data.albums"},{count:this.genre.track_count,key:"data.tracks"}],title:this.genre.name}:{}},tracks(){const{options:t}=this.groupings.find(e=>e.id===this.uiStore.genreTracksSort);return this.trackList.group(t)}},methods:{openDetails(){this.showDetailsModal=!0},openGenre(){this.showDetailsModal=!1,this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{mediaKind:this.mediaKind}})},play(){ue.playExpression(this.expression,!0)}}};function hV(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("control-dropdown"),l=w("list-options"),c=w("pane-title"),u=w("control-button"),d=w("list-tracks"),f=w("content-with-heading"),h=w("modal-dialog-genre");return O(),F(rt,null,[S(f,null,{options:L(()=>[S(o,{indices:r.tracks.indices},null,8,["indices"]),S(l,null,{sort:L(()=>[S(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:L(()=>[S(c,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(u,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(u,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"}},null,8,["button"])]),content:L(()=>[S(d,{items:r.tracks,expression:r.expression},null,8,["items","expression"])]),_:1}),S(h,{item:i.genre,"media-kind":i.mediaKind,show:i.showDetailsModal,onClose:e[1]||(e[1]=p=>i.showDetailsModal=!1)},null,8,["item","media-kind","show"])],64)}const pV=et(fV,[["render",hV]]),mV={name:"PageGenres",components:{ContentWithHeading:ee,ListGenres:jS,ListIndexButtons:Es,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tt.genres("music").then(s=>{n(i=>{i.genres=new Ct(s,{index:{field:"name_sort",type:String}})})})},data(){return{genres:new Ct}},computed:{heading(){return{subtitle:[{count:this.genres.total,key:"data.genres"}],title:this.$t("page.genres.title")}}}};function gV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("list-index-buttons"),l=w("pane-title"),c=w("list-genres"),u=w("content-with-heading");return O(),F(rt,null,[S(o),S(u,null,{options:L(()=>[S(a,{indices:i.genres.indices},null,8,["indices"])]),heading:L(()=>[S(l,{content:r.heading},null,8,["content"])]),content:L(()=>[S(c,{items:i.genres,"media-kind":"music"},null,8,["items"])]),_:1})],64)}const yV=et(mV,[["render",gV]]),bV={name:"PageMusic",components:{ContentWithHeading:ee,ListAlbums:gs,ListTracks:is,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Promise.all([Tt.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),Tt.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})]).then(([{albums:s},{tracks:i}])=>{n(r=>{r.albums=new Ct(s),r.tracks=new Ct(i)})})},data(){return{albums:[],tracks:null}}};function vV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("router-link"),u=w("content-with-heading"),d=w("list-tracks");return O(),F(rt,null,[S(o),S(u,null,{heading:L(()=>[S(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:L(()=>[S(l,{items:i.albums},null,8,["items"])]),footer:L(()=>[S(c,{class:"button is-small is-rounded",to:{name:"music-recently-added"}},{default:L(()=>[Ds(nt(t.$t("actions.show-more")),1)]),_:1})]),_:1}),S(u,null,{heading:L(()=>[S(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:L(()=>[S(d,{items:i.tracks},null,8,["items"])]),footer:L(()=>[S(c,{class:"button is-small is-rounded",to:{name:"music-recently-played"}},{default:L(()=>[Ds(nt(t.$t("actions.show-more")),1)]),_:1})]),_:1})],64)}const _V=et(bV,[["render",vV]]),SV={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:ee,ListAlbums:gs,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){const s=ii().recentlyAddedLimit;Tt.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:s,type:"album"}).then(i=>{n(r=>{r.albums=new Ct(i.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})})})},setup(){return{settingsStore:ii()}},data(){return{albums:new Ct}}};function EV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums"),c=w("content-with-heading");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("page.music.recently-added.title")}},null,8,["content"])]),content:L(()=>[S(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const wV=et(SV,[["render",EV]]),kV={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:ee,ListTracks:is,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tt.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"}).then(s=>{n(i=>{i.tracks=new Ct(s.tracks)})})},data(){return{tracks:new Ct}}};function CV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-tracks"),c=w("content-with-heading");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("page.music.recently-played.title")}},null,8,["content"])]),content:L(()=>[S(l,{items:i.tracks},null,8,["items"])]),_:1})],64)}const TV=et(kV,[["render",CV]]),AV={name:"ListArtistsSpotify",components:{ListItem:Hs,LoaderListItem:Cd,ModalDialogArtistSpotify:HS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return{caption:t.name,url:t.images?.[0]?.url}},open(t){this.$router.push({name:"music-spotify-artist",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function OV(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-artist-spotify");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,c=>(O(),pt(o,{key:c.id,"is-item":!0,image:r.image(c),index:c.index,lines:[c.name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["image","index","lines","onOpen","onOpenDetails"]))),128)),S(a,{load:n.load},null,8,["load"]),S(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Tm=et(AV,[["render",OV]]),xV={name:"ModalDialogPlaylistSpotify",components:{ModalDialogPlayable:Ss},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{image:this.item.images?.[0]?.url||"",name:this.item.name,properties:[{key:"property.owner",value:this.item.owner?.display_name},{key:"property.tracks",value:this.item.tracks?.total},{key:"property.path",value:this.item.uri}],uri:this.item.uri}}}};function IV(t,e,n,s,i,r){const o=w("modal-dialog-playable");return O(),pt(o,{item:r.playable,show:n.show,onClose:e[0]||(e[0]=a=>t.$emit("close"))},null,8,["item","show"])}const GS=et(xV,[["render",IV]]),NV={name:"ListPlaylistsSpotify",components:{ListItem:Hs,LoaderListItem:Cd,ModalDialogPlaylistSpotify:GS},props:{items:{required:!0,type:Object},load:{default:null,type:Function}},setup(){return{settingsStore:ii()}},data(){return{selectedItem:{},showDetailsModal:!1}},methods:{image(t){return this.settingsStore.showCoverArtworkInAlbumLists?{caption:t.name,url:t.images?.[0]?.url}:null},open(t){this.$router.push({name:"playlist-spotify",params:{id:t.id}})},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0}}};function PV(t,e,n,s,i,r){const o=w("list-item"),a=w("loader-list-item"),l=w("modal-dialog-playlist-spotify");return O(),F(rt,null,[(O(!0),F(rt,null,fe(n.items,c=>(O(),pt(o,{key:c.id,"is-item":c.isItem,image:r.image(c),index:c.index,lines:[c.name,c.owner.display_name],onOpen:u=>r.open(c),onOpenDetails:u=>r.openDetails(c)},null,8,["is-item","image","index","lines","onOpen","onOpenDetails"]))),128)),S(a,{load:n.load},null,8,["load"]),S(l,{item:i.selectedItem,show:i.showDetailsModal,onClose:e[0]||(e[0]=c=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const Am=et(NV,[["render",PV]]),RV={name:"PageMusicSpotify",components:{ContentWithHeading:ee,ListAlbumsSpotify:Ad,ListArtistsSpotify:Tm,ListPlaylistsSpotify:Am,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.browse.getNewReleases(i.webapi_country,3),s.currentUser.followedArtists(null,3),s.browse.getFeaturedPlaylists(i.webapi_country,null,null,3)]).then(([r,o,a])=>{n(l=>{l.albums=r.albums.items,l.artists=o?.artists.items,l.playlists=a.playlists.items})})})},data(){return{albums:[],artists:[],playlists:[]}}};function DV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("router-link"),u=w("content-with-heading"),d=w("list-playlists-spotify"),f=w("list-artists-spotify");return O(),F(rt,null,[S(o),i.albums?(O(),pt(u,{key:0},{heading:L(()=>[S(a,{content:{title:t.$t("page.spotify.music.new-releases")}},null,8,["content"])]),content:L(()=>[S(l,{items:i.albums},null,8,["items"])]),footer:L(()=>[S(c,{to:{name:"music-spotify-new-releases"},class:"button is-small is-rounded"},{default:L(()=>[Ds(nt(t.$t("actions.show-more")),1)]),_:1})]),_:1})):vt("",!0),i.playlists?(O(),pt(u,{key:1},{heading:L(()=>[S(a,{content:{title:t.$t("page.spotify.music.featured-playlists")}},null,8,["content"])]),content:L(()=>[S(d,{items:i.playlists},null,8,["items"])]),footer:L(()=>[S(c,{to:{name:"music-spotify-featured-playlists"},class:"button is-small is-rounded"},{default:L(()=>[Ds(nt(t.$t("actions.show-more")),1)]),_:1})]),_:1})):vt("",!0),i.artists?(O(),pt(u,{key:2},{heading:L(()=>[S(a,{content:{title:t.$t("page.spotify.music.followed-artists")}},null,8,["content"])]),content:L(()=>[S(f,{items:i.artists},null,8,["items"])]),footer:L(()=>[S(c,{to:{name:"music-spotify-followed-artists"},class:"button is-small is-rounded"},{default:L(()=>[Ds(nt(t.$t("actions.show-more")),1)]),_:1})]),_:1})):vt("",!0)],64)}const LV=et(RV,[["render",DV]]),MV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:ee,ListPlaylistsSpotify:Am,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tn.spotify().then(({api:s,configuration:i})=>{s.browse.getFeaturedPlaylists(i.webapi_country,null,null,50).then(r=>{n(o=>{o.playlists=r.playlists.items})})})},data(){return{playlists:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.featured-playlists")}}}};function $V(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-playlists-spotify"),c=w("content-with-heading");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:r.heading},null,8,["content"])]),content:L(()=>[S(l,{items:i.playlists},null,8,["items"])]),_:1})],64)}const FV=et(MV,[["render",$V]]),VV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:ee,ListArtistsSpotify:Tm,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tn.spotify().then(({api:s})=>{s.currentUser.followedArtists(null,50).then(i=>{n(r=>{r.artists=i.artists.items})})})},data(){return{artists:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.followed-artists")}}}};function UV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-artists-spotify"),c=w("content-with-heading");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:r.heading},null,8,["content"])]),content:L(()=>[S(l,{items:i.artists},null,8,["items"])]),_:1})],64)}const HV=et(VV,[["render",UV]]),jV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:ee,ListAlbumsSpotify:Ad,PaneTitle:ne,TabsMusic:js},beforeRouteEnter(t,e,n){Tn.spotify().then(({api:s,configuration:i})=>{s.browse.getNewReleases(i.webapi_country,50).then(r=>{n(o=>{o.albums=r.albums.items})})})},data(){return{albums:[]}},computed:{heading(){return{title:this.$t("page.spotify.music.new-releases")}}}};function BV(t,e,n,s,i,r){const o=w("tabs-music"),a=w("pane-title"),l=w("list-albums-spotify"),c=w("content-with-heading");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:r.heading},null,8,["content"])]),content:L(()=>[S(l,{items:i.albums},null,8,["items"])]),_:1})],64)}const WV=et(jV,[["render",BV]]),GV={name:"PageOutputs",components:{ContentWithHeading:ee,ControlMainVolume:h_,ControlOutputVolume:p_,ControlStreamVolume:m_,PaneTitle:ne},setup(){return{outputsStore:Yu()}}};function KV(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-main-volume"),l=w("control-output-volume"),c=w("control-stream-volume"),u=w("content-with-heading");return O(),pt(u,null,{heading:L(()=>[S(o,{content:{title:t.$t("page.outputs.title")}},null,8,["content"])]),content:L(()=>[S(a),(O(!0),F(rt,null,fe(s.outputsStore.outputs,d=>(O(),pt(l,{key:d.id,output:d},null,8,["output"]))),128)),S(c)]),_:1})}const qV=et(GV,[["render",KV]]),zV={name:"ModalDialogQueueItem",components:{ListProperties:VS,ModalDialog:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:ns()}},data(){return{spotifyTrack:{}}},computed:{actions(){return[{handler:this.remove,icon:"delete",key:"actions.remove"},{handler:this.play,icon:"play",key:"actions.play"}]},playable(){return{name:this.item.title,properties:[{handler:this.openAlbum,key:"property.album",value:this.item.album},{handler:this.openArtist,key:"property.album-artist",value:this.item.album_artist},{key:"property.composer",value:this.item.composer},{key:"property.year",value:this.item.year},{handler:this.openGenre,key:"property.genre",value:this.item.genre},{key:"property.position",value:this.item.track_number>0&&[this.item.disc_number,this.item.track_number].join(" / ")},{key:"property.duration",value:this.$formatters.toTimecode(this.item.length_ms)},{key:"property.path",value:this.item.path},{key:"property.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{key:"property.quality",value:this.item.data_kind!=="spotify"&&this.$t("dialog.track.quality",{bitrate:this.item.bitrate,count:this.item.channels,format:this.item.type,samplerate:this.item.samplerate})}],uri:this.item.uri}}},watch:{item(){return this.item?.data_kind==="spotify"?Tn.spotify().then(({api:t})=>{const e=this.item.path.slice(this.item.path.lastIndexOf(":")+1);return t.tracks.get(e).then(n=>{this.spotifyTrack=n})}):(this.spotifyTrack={},{})}},methods:{openAlbum(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotifyTrack.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.$router.push({name:`${this.item.media_kind}-album`,params:{id:this.item.album_id}})},openArtist(){this.$emit("close"),this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotifyTrack.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobook-artist",params:{id:this.item.album_artist_id}})},openGenre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{mediaKind:this.item.media_kind}})},play(){this.$emit("close"),sn.play({item_id:this.item.id})},remove(){this.$emit("close"),ue.remove(this.item.id)}}};function XV(t,e,n,s,i,r){const o=w("list-properties"),a=w("modal-dialog");return O(),pt(a,{actions:r.actions,show:n.show,title:n.item.title,onClose:e[0]||(e[0]=l=>t.$emit("close"))},{content:L(()=>[S(o,{item:r.playable},null,8,["item"])]),_:1},8,["actions","show","title"])}const KS=et(zV,[["render",XV]]),YV={name:"PaneLyrics",setup(){return{MIDDLE_POSITION:Math.floor(3.5),VISIBLE_VERSES:7,playerStore:qn()}},data(){return{lastUpdateTime:0,lyrics:{synchronised:!1,verses:[]},time:0,timerId:null}},computed:{verseIndex(t,e){let n=0,s=e.length-1;for(;n<=s;){const i=Math.floor((n+s)/2),r=e[i].time,o=e[i+1]?.time;if(r<=t&&(!o||o>t))return i;r<t?n=i+1:s=i-1}return-1},visibleVerses(){const{verses:t,synchronised:e}=this.lyrics;let n=0,{length:s}=t;return e&&(n=this.verseIndex(this.time,t)-this.MIDDLE_POSITION,s=this.VISIBLE_VERSES),Array.from({length:s},(i,r)=>t[n+r]??{text:" "})}},watch:{"playerStore.isPlaying"(t){t?(this.lastUpdateTime=Date.now(),this.startTimer()):this.stopTimer()},"playerStore.item_progress_ms"(t){this.lastUpdateTime=Date.now(),this.playerStore.isPlaying||(this.time=t)},"playerStore.lyricsContent"(){this.lyrics=this.parseLyrics()}},mounted(){this.playerStore.initialise(),this.lastUpdateTime=Date.now(),this.lyrics=this.parseLyrics(),this.updateTime()},beforeUnmount(){this.stopTimer()},methods:{isVerseHighlighted(t){return t===this.MIDDLE_POSITION&&this.lyrics.synchronised},isWordHighlighted(t){return this.time>=t.start&&this.time<t.end},parseLyrics(){const t={synchronised:!1,verses:[]},e=/(?:\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\])?\s*(?<text>\S.*\S)?\s*/u;return this.playerStore.lyricsContent.split(`
|
||
`).forEach(n=>{const s=e.exec(n);if(s){const{text:i,minutes:r,seconds:o,hundredths:a}=s.groups,l=i;if(l){const c=(Number(r)*60+ +`${o}.${a??0}`)*1e3;t.synchronised=!isNaN(c),t.verses.push({text:l,time:c})}}}),t.verses.forEach((n,s,i)=>{const o=(i[s+1]?.time??n.time+3e3)-n.time,a=n.text.match(/\S+\s*/gu)||[],l=a.reduce((u,d)=>u+d.length,0);let c=n.time;n.words=a.map(u=>{const d=c,f=d+o*(u.length/l);return c=f,{end:f,start:d,text:u}})}),t},startTimer(){this.timerId||(this.timerId=setInterval(this.tick,100))},stopTimer(){this.timerId&&(clearInterval(this.timerId),this.timerId=null)},tick(){this.time=this.playerStore.item_progress_ms+Date.now()-this.lastUpdateTime},updateTime(){this.lastUpdateTime=Date.now(),this.playerStore.isPlaying?this.startTimer():this.time=this.playerStore.item_progress_ms}}},ZV={key:0,class:"title is-5 my-5"},JV=["textContent"],QV=["textContent"];function t9(t,e,n,s,i,r){return O(),F("div",{class:Gt(["is-overlay",{"is-synchronised":i.lyrics.synchronised,"is-unsynchronised":!i.lyrics.synchronised}])},[(O(!0),F(rt,null,fe(r.visibleVerses,(o,a)=>(O(),F(rt,{key:a},[r.isVerseHighlighted(a)?(O(),F("div",ZV,[(O(!0),F(rt,null,fe(o.words,(l,c)=>(O(),F("span",{key:c,class:Gt({"is-highlighted":r.isWordHighlighted(l)}),textContent:nt(l.text)},null,10,JV))),128))])):(O(),F("div",{key:1,class:"verse",textContent:nt(o.text)},null,8,QV))],64))),128))],2)}const e9=et(YV,[["render",t9],["__scopeId","data-v-8384b260"]]),Vi=1e3,n9={name:"PagePlayer",components:{ControlImage:qr,ControlSlider:Xu,ModalDialogQueueItem:KS,PaneLyrics:e9},setup(){return{playerStore:qn(),queueStore:Us(),settingsStore:ii()}},data(){return{INTERVAL:Vi,intervalId:0,isDragged:!1,selectedItem:{},showDetailsModal:!1}},computed:{composer(){if(this.settingsStore.showComposerNowPlaying){const t=this.settingsStore.showComposerForGenre;if(!t||this.track.genre&&t.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)return this.track.composer}return null},isLive(){return this.track.length_ms===0},track(){return this.queueStore.current},trackElapsedTime(){return this.$formatters.toTimecode(this.trackProgress*Vi)},trackProgress:{get(){return Math.floor(this.playerStore.item_progress_ms/Vi)},set(t){this.playerStore.item_progress_ms=t*Vi}},trackProgressMax(){return Number(this.isLive)||Math.floor(this.track.length_ms/Vi)},trackTotalTime(){return this.$t("page.player.time",this.track.length_ms,{named:{time:this.$formatters.toTimecode(this.track.length_ms)}})}},watch:{"playerStore.state"(t){this.intervalId>0&&(window.clearTimeout(this.intervalId),this.intervalId=0),t==="play"&&(this.intervalId=window.setInterval(this.tick,Vi))}},created(){this.playerStore.state==="play"&&(this.intervalId=window.setInterval(this.tick,Vi))},unmounted(){this.intervalId>0&&(window.clearTimeout(this.intervalId),this.intervalId=0)},methods:{endDragging(){this.isDragged=!1},openDetails(t){this.selectedItem=t,this.showDetailsModal=!0},seek(){this.isLive||sn.seekToPosition(this.trackProgress*Vi)},startDragging(){this.isDragged=!0},tick(){this.isDragged||(this.trackProgress+=1)}}},s9={class:"is-flex is-align-items-center has-text-centered px-5 is-full-height"},i9={key:0,class:"mx-auto",style:{"max-width":"32rem"}},r9={class:"is-relative"},o9={class:"is-flex is-justify-content-space-between"},a9=["textContent"],l9=["textContent"],c9=["textContent"],u9=["textContent"],d9=["textContent"],f9=["textContent"],h9=["textContent"],p9={key:1,class:"mx-auto"},m9=["textContent"],g9=["textContent"];function y9(t,e,n,s,i,r){const o=w("control-image"),a=w("pane-lyrics"),l=w("control-slider"),c=w("modal-dialog-queue-item");return O(),F(rt,null,[N("div",s9,[s.queueStore.isEmpty?(O(),F("div",p9,[N("p",{class:"title is-5",textContent:nt(t.$t("page.player.title"))},null,8,m9),N("p",{class:"subtitle",textContent:nt(t.$t("page.player.info"))},null,8,g9)])):(O(),F("div",i9,[N("div",r9,[S(o,{url:r.track.artwork_url,caption:r.track.album,class:Gt(["is-big",{"is-masked":s.playerStore.showLyrics}]),onClick:e[0]||(e[0]=u=>r.openDetails(r.track))},null,8,["url","caption","class"]),s.playerStore.showLyrics?(O(),pt(a,{key:0})):vt("",!0)]),S(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"]),N("div",o9,[N("p",{class:"subtitle is-7",textContent:nt(r.trackElapsedTime)},null,8,a9),N("p",{class:"subtitle is-7",textContent:nt(r.trackTotalTime)},null,8,l9)]),N("p",{class:"title is-5",textContent:nt(r.track.title)},null,8,c9),N("p",{class:"title is-6",textContent:nt(r.track.artist)},null,8,u9),r.composer?(O(),F("p",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:nt(r.composer)},null,8,d9)):vt("",!0),r.track.album?(O(),F("p",{key:1,class:"subtitle is-6",textContent:nt(r.track.album)},null,8,f9)):vt("",!0),s.settingsStore.showFilepathNowPlaying?(O(),F("p",{key:2,class:"subtitle is-6 has-text-grey",textContent:nt(r.track.path)},null,8,h9)):vt("",!0)]))]),S(c,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[2]||(e[2]=u=>i.showDetailsModal=!1)},null,8,["show","item"])],64)}const b9=et(n9,[["render",y9],["__scopeId","data-v-e277cccd"]]),v9={name:"PagePlaylistFolder",components:{ContentWithHeading:ee,ListPlaylists:Cm,PaneTitle:ne},beforeRouteEnter(t,e,n){n(async s=>{await s.fetchData(t.params.id)})},beforeRouteUpdate(t,e,n){this.fetchData(t.params.id).then(()=>n())},setup(){return{configurationStore:Ko()}},data(){return{playlist:{},playlistList:new Ct}},computed:{heading(){return{subtitle:[{count:this.playlists.count,key:"data.playlists"}],title:this.$t("page.playlists.title",this.playlists.count,{name:this.playlist.name})}},playlists(){return this.playlistList.group({filters:[t=>t.folder||this.configurationStore.radio_playlists||t.stream_count===0||t.item_count>t.stream_count]})}},methods:{async fetchData(t){const[e,n]=await Promise.all([Tt.playlist(t),Tt.playlistFolder(t)]);this.playlist=e,this.playlistList=new Ct(n)}}};function _9(t,e,n,s,i,r){const o=w("pane-title"),a=w("list-playlists"),l=w("content-with-heading");return O(),pt(l,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),content:L(()=>[S(a,{items:r.playlists},null,8,["items"])]),_:1})}const S9=et(v9,[["render",_9]]),E9={name:"PagePlaylistTracks",components:{ContentWithHeading:ee,ControlButton:fn,ListTracks:is,ModalDialogPlaylist:WS,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.playlist(t.params.id),Tt.playlistTracks(t.params.id)]).then(([s,i])=>{n(r=>{r.playlist=s,r.tracks=new Ct(i)})})},data(){return{playlist:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{subtitle:[{count:this.tracks.count,key:"data.tracks"}],title:this.playlist.name}},uris(){return this.playlist.random?this.tracks.map(t=>t.uri).join():this.playlist.uri}},methods:{play(){ue.playUri(this.uris,!0)},openDetails(){this.showDetailsModal=!0}}};function w9(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks"),c=w("content-with-heading"),u=w("modal-dialog-playlist");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"},disabled:i.tracks.count===0},null,8,["button","disabled"])]),content:L(()=>[S(l,{items:i.tracks,uris:r.uris},null,8,["items","uris"])]),_:1}),S(u,{item:i.playlist,show:i.showDetailsModal,uris:r.uris,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show","uris"])],64)}const k9=et(E9,[["render",w9]]),bf=50,C9={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:ee,ControlButton:fn,ListTracksSpotify:vm,ModalDialogPlaylistSpotify:GS,PaneTitle:ne},beforeRouteEnter(t,e,n){Tn.spotify().then(({api:s,configuration:i})=>{Promise.all([s.playlists.getPlaylist(t.params.id),s.playlists.getPlaylistItems(t.params.id,i.webapi_country,null,bf,0)]).then(([r,o])=>{n(a=>{a.playlist=r,a.tracks=[],a.total=0,a.offset=0,a.appendTracks(o)})})})},data(){return{offset:0,playlist:{tracks:{}},showDetailsModal:!1,total:0,tracks:[]}},computed:{heading(){return this.playlist.name?{subtitle:[{count:this.playlist.tracks.total,key:"data.tracks"}],title:this.playlist.name}:{}}},methods:{appendTracks(t){let e=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));t.items.forEach(n=>{const{track:s}=n;s&&(s.is_playable&&(e+=1,s.position=e),this.tracks.push(s))}),this.total=t.total,this.offset+=t.limit},load({loaded:t}){Tn.spotify().then(({api:e,configuration:n})=>{e.playlists.getPlaylistItems(this.playlist.id,n.webapi_country,null,bf,this.offset).then(s=>{this.appendTracks(s),t(s.items.length,bf)})})},play(){this.showDetailsModal=!1,ue.playUri(this.playlist.uri,!0)},openDetails(){this.showDetailsModal=!0}}};function T9(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks-spotify"),c=w("content-with-heading"),u=w("modal-dialog-playlist-spotify");return O(),F(rt,null,[S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.openDetails,icon:"dots-horizontal"}},null,8,["button"]),S(a,{button:{handler:r.play,icon:"shuffle",key:"actions.shuffle"},disabled:i.playlist.tracks.total===0},null,8,["button","disabled"])]),content:L(()=>[S(l,{"context-uri":i.playlist.uri,items:i.tracks,load:r.load},null,8,["context-uri","items","load"])]),_:1}),S(u,{item:i.playlist,show:i.showDetailsModal,onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1)},null,8,["item","show"])],64)}const A9=et(C9,[["render",T9]]),O9={name:"PagePodcast",components:{ContentWithHero:Ed,ControlImage:qr,ListTracks:is,ModalDialogAlbum:wd,PaneHero:kd},beforeRouteEnter(t,e,n){Promise.all([Tt.album(t.params.id),Tt.podcastEpisodes(t.params.id)]).then(([s,i])=>{n(r=>{r.album=s,r.tracks=new Ct(i)})})},data(){return{album:{},showDetailsModal:!1,tracks:new Ct}},computed:{heading(){return{count:this.$t("data.tracks",{count:this.album.track_count}),subtitle:"",title:this.album.name,actions:[{handler:this.play,icon:"play",key:"actions.play"},{handler:this.openDetails,icon:"dots-horizontal"}]}}},methods:{openDetails(){this.showDetailsModal=!0},play(){ue.playUri(this.album.uri,!1)},podcastDeleted(){this.$router.push({name:"podcasts"})},reloadTracks(){Tt.podcastEpisodes(this.album.id).then(t=>{this.tracks=new Ct(t)})}}};function x9(t,e,n,s,i,r){const o=w("pane-hero"),a=w("control-image"),l=w("list-tracks"),c=w("modal-dialog-album"),u=w("content-with-hero");return O(),pt(u,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),image:L(()=>[S(a,{url:i.album.artwork_url,caption:i.album.name,class:"is-medium",onClick:r.openDetails},null,8,["url","caption","onClick"])]),content:L(()=>[S(l,{items:i.tracks,"show-progress":!0,onPlayCountChanged:r.reloadTracks},null,8,["items","onPlayCountChanged"]),S(c,{item:i.album,show:i.showDetailsModal,"media-kind":"podcast",onClose:e[0]||(e[0]=d=>i.showDetailsModal=!1),onPlayCountChanged:r.reloadTracks,onPodcastDeleted:r.podcastDeleted},null,8,["item","show","onPlayCountChanged","onPodcastDeleted"])]),_:1})}const I9=et(O9,[["render",x9]]),N9={name:"ControlUrlField",props:{help:{default:"",type:String},icon:{required:!0,type:String},loading:{default:!1,type:Boolean},placeholder:{required:!0,type:String}},emits:["input"],data(){return{value:""}},mounted(){setTimeout(()=>{this.$refs.input.focus()},10)},methods:{validate(t){const{validity:e}=t.target,n=e.patternMismatch||e.valueMissing;this.$emit("input",this.value,n)}}},P9={class:"field"},R9={class:"control has-icons-left"},D9=["placeholder","disabled"],L9=["textContent"];function M9(t,e,n,s,i,r){const o=w("mdicon");return O(),F("div",P9,[N("div",R9,[bs(N("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,D9),[[si,i.value]]),S(o,{class:"icon is-left",name:n.icon,size:"16"},null,8,["name"])]),n.help?(O(),F("div",{key:0,class:"help",textContent:nt(n.help)},null,8,L9)):vt("",!0)])}const qS=et(N9,[["render",M9]]),$9={name:"ModalDialogAddRss",components:{ControlUrlField:qS,ModalDialog:lr},props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},computed:{actions(){return this.loading?[{icon:"web",key:"dialog.add.rss.processing"}]:[{handler:this.cancel,icon:"cancel",key:"actions.cancel"},{disabled:this.disabled,handler:this.add,icon:"playlist-plus",key:"actions.add"}]}},methods:{add(){this.loading=!0,Tt.add(this.url).then(()=>{this.$emit("podcast-added"),this.$emit("close")}).finally(()=>{this.url="",this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e}}};function F9(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return O(),pt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.add.rss.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:L(()=>[N("form",{onSubmit:e[0]||(e[0]=Kn((...l)=>r.add&&r.add(...l),["prevent"]))},[S(o,{icon:"rss",help:t.$t("dialog.add.rss.help"),loading:i.loading,placeholder:t.$t("dialog.add.rss.placeholder"),onInput:r.onUrlChange},null,8,["help","loading","placeholder","onInput"])],32)]),_:1},8,["actions","show","title"])}const V9=et($9,[["render",F9]]),U9={name:"PagePodcasts",components:{ContentWithHeading:ee,ControlButton:fn,ListAlbums:gs,ListTracks:is,ModalDialogAddRss:V9,PaneTitle:ne},beforeRouteEnter(t,e,n){Promise.all([Tt.albums("podcast"),Tt.newPodcastEpisodes(),Tt.rssCount()]).then(([s,i,r])=>{n(o=>{o.albums=new Ct(s),o.episodes=new Ct(i),o.rssCount=r})})},setup(){return{libraryStore:zu(),uiStore:ss()}},data(){return{albums:[],episodes:{items:[]},rssCount:{},showAddPodcastModal:!1}},computed:{hasRss(){return(this.rssCount.albums??0)>0},heading(){return this.albums.total?{subtitle:[{count:this.albums.count,key:"data.podcasts"}],title:this.$t("page.podcasts.title")}:{}}},methods:{markAllAsPlayed(){this.episodes.items.forEach(t=>{Tt.updateTrack(t.id,{play_count:"increment"})}),this.episodes.items={}},openAddPodcastDialog(){this.showAddPodcastModal=!0},reloadEpisodes(){Tt.newPodcastEpisodes().then(t=>{this.episodes=new Ct(t)})},reloadPodcasts(){Tt.albums("podcast").then(t=>{this.albums=new Ct(t),this.reloadEpisodes(),this.reloadRssCount()})},reloadRssCount(){Tt.rssCount().then(t=>{this.rssCount=t})},updateRss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.showUpdateDialog=!0}}};function H9(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("list-tracks"),c=w("content-with-heading"),u=w("list-albums"),d=w("modal-dialog-add-rss");return O(),F(rt,null,[i.episodes.items.length>0?(O(),pt(c,{key:0},{heading:L(()=>[S(o,{content:{title:t.$t("page.podcasts.new-episodes")}},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:r.markAllAsPlayed,icon:"pencil",key:"actions.mark-all-played"}},null,8,["button"])]),content:L(()=>[S(l,{items:i.episodes,"show-progress":!0,onPlayCountChanged:r.reloadEpisodes},null,8,["items","onPlayCountChanged"])]),_:1})):vt("",!0),S(c,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),actions:L(()=>[r.hasRss?(O(),pt(a,{key:0,button:{handler:r.updateRss,icon:"refresh",key:"actions.update"}},null,8,["button"])):vt("",!0),S(a,{button:{handler:r.openAddPodcastDialog,icon:"rss",key:"actions.add"}},null,8,["button"])]),content:L(()=>[S(u,{items:i.albums,onPlayCountChanged:r.reloadEpisodes,onPodcastDeleted:r.reloadPodcasts},null,8,["items","onPlayCountChanged","onPodcastDeleted"])]),_:1}),S(d,{show:i.showAddPodcastModal,onClose:e[0]||(e[0]=f=>i.showAddPodcastModal=!1),onPodcastAdded:r.reloadPodcasts},null,8,["show","onPodcastAdded"])],64)}const j9=et(U9,[["render",H9]]),B9={name:"ListItemQueueItem",props:{currentPosition:{required:!0,type:Number},editing:Boolean,hideReadItems:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number}},setup(){return{playerStore:qn()}},computed:{isCurrent(){return this.item.id===this.playerStore.item_id},isNext(){return this.currentPosition<0||this.position>=this.currentPosition}},methods:{play(){sn.play({item_id:this.item.id})}}},W9={key:0,class:"media-left"},G9={class:"media-content"},K9=["textContent"],q9=["textContent"],z9=["textContent"],X9={class:"media-right"};function Y9(t,e,n,s,i,r){const o=w("mdicon");return r.isNext||!n.hideReadItems?(O(),F("div",{key:0,class:"media is-align-items-center is-clickable mb-0",onClick:e[0]||(e[0]=(...a)=>r.play&&r.play(...a))},[n.editing?(O(),F("div",W9,[S(o,{class:"icon has-text-grey is-movable",name:"drag-horizontal",size:"18"})])):vt("",!0),N("div",G9,[N("div",{class:Gt(["is-size-6 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext}]),textContent:nt(n.item.title)},null,10,K9),N("div",{class:Gt(["is-size-7 has-text-weight-bold",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&!r.isCurrent}]),textContent:nt(n.item.artist)},null,10,q9),N("div",{class:Gt(["is-size-7",{"has-text-primary":r.isCurrent,"has-text-grey-light":!r.isNext,"has-text-grey":r.isNext&&!r.isCurrent}]),textContent:nt(n.item.album)},null,10,z9)]),N("div",X9,[de(t.$slots,"actions",{},void 0,!0)])])):vt("",!0)}const Z9=et(B9,[["render",Y9],["__scopeId","data-v-c07b7c2b"]]),J9={name:"ModalDialogAddStream",components:{ControlUrlField:qS,ModalDialog:lr},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,ue.addUri(this.url).then(()=>{this.$emit("close")}).finally(()=>{this.url="",this.loading=!1})},cancel(){this.$emit("close")},onUrlChange(t,e){this.url=t,this.disabled=e},play(){this.loading=!0,ue.playUri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}};function Q9(t,e,n,s,i,r){const o=w("control-url-field"),a=w("modal-dialog");return O(),pt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.add.stream.title"),onClose:e[1]||(e[1]=l=>t.$emit("close"))},{content:L(()=>[N("form",{onSubmit:e[0]||(e[0]=Kn((...l)=>r.play&&r.play(...l),["prevent"]))},[S(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 tU=et(J9,[["render",Q9]]),eU={name:"ModalDialogPlaylistSave",components:{ModalDialog:lr},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,ue.saveToPlaylist(this.playlistName).then(()=>{this.$emit("close"),this.playlistName=""}).catch(()=>{this.loading=!1})}}},nU={class:"field"},sU={class:"control has-icons-left"},iU=["placeholder","disabled"];function rU(t,e,n,s,i,r){const o=w("mdicon"),a=w("modal-dialog");return O(),pt(a,{actions:r.actions,show:n.show,title:t.$t("dialog.playlist.save.title"),onClose:e[3]||(e[3]=l=>t.$emit("close"))},{content:L(()=>[N("form",{onSubmit:e[2]||(e[2]=Kn((...l)=>r.save&&r.save(...l),["prevent"]))},[N("div",nU,[N("div",sU,[bs(N("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,iU),[[si,i.playlistName]]),S(o,{class:"icon is-left",name:"playlist-music",size:"16"})])])],32)]),_:1},8,["actions","show","title"])}const oU=et(eU,[["render",rU]]);var Ac={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function Ub(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 ri(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Ub(Object(n),!0).forEach(function(s){aU(t,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ub(Object(n)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(n,s))})}return t}function Oc(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Oc=function(e){return typeof e}:Oc=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oc(t)}function aU(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _s(){return _s=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},_s.apply(this,arguments)}function lU(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 cU(t,e){if(t==null)return{};var n=lU(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 uU(t){return dU(t)||fU(t)||hU(t)||pU()}function dU(t){if(Array.isArray(t))return Rh(t)}function fU(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hU(t,e){if(t){if(typeof t=="string")return Rh(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 Rh(t,e)}}function Rh(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 pU(){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 mU="1.14.0";function wi(t){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(t)}var Ri=wi(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ol=wi(/Edge/i),Hb=wi(/firefox/i),Ra=wi(/safari/i)&&!wi(/chrome/i)&&!wi(/android/i),zS=wi(/iP(ad|od|hone)/i),gU=wi(/chrome/i)&&wi(/android/i),XS={capture:!1,passive:!1};function Qt(t,e,n){t.addEventListener(e,n,!Ri&&XS)}function zt(t,e,n){t.removeEventListener(e,n,!Ri&&XS)}function hu(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 yU(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function xs(t,e,n,s){if(t){n=n||document;do{if(e!=null&&(e[0]===">"?t.parentNode===n&&hu(t,e):hu(t,e))||s&&t===n)return t;if(t===n)break}while(t=yU(t))}return null}var jb=/\s+/g;function Ne(t,e,n){if(t&&e)if(t.classList)t.classList[n?"add":"remove"](e);else{var s=(" "+t.className+" ").replace(jb," ").replace(" "+e+" "," ");t.className=(s+(n?" "+e:"")).replace(jb," ")}}function kt(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 Dr(t,e){var n="";if(typeof t=="string")n=t;else do{var s=kt(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 YS(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 ei(){var t=document.scrollingElement;return t||document.documentElement}function xe(t,e,n,s,i){if(!(!t.getBoundingClientRect&&t!==window)){var r,o,a,l,c,u,d;if(t!==window&&t.parentNode&&t!==ei()?(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,!Ri))do if(i&&i.getBoundingClientRect&&(kt(i,"transform")!=="none"||n&&kt(i,"position")!=="static")){var f=i.getBoundingClientRect();o-=f.top+parseInt(kt(i,"border-top-width")),a-=f.left+parseInt(kt(i,"border-left-width")),l=o+r.height,c=a+r.width;break}while(i=i.parentNode);if(s&&t!==window){var h=Dr(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 Bb(t,e,n){for(var s=Qi(t,!0),i=xe(t)[e];s;){var r=xe(s)[n],o=void 0;if(o=i>=r,!o)return s;if(s===ei())break;s=Qi(s,!1)}return!1}function Vo(t,e,n,s){for(var i=0,r=0,o=t.children;r<o.length;){if(o[r].style.display!=="none"&&o[r]!==Dt.ghost&&(s||o[r]!==Dt.dragged)&&xs(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===Dt.ghost||kt(n,"display")==="none"||e&&!hu(n,e));)n=n.previousElementSibling;return n||null}function Ve(t,e){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==Dt.clone&&(!e||hu(t,e))&&n++;return n}function Wb(t){var e=0,n=0,s=ei();if(t)do{var i=Dr(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 bU(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 Qi(t,e){if(!t||!t.getBoundingClientRect)return ei();var n=t,s=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=kt(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 ei();if(s||e)return n;s=!0}}while(n=n.parentNode);return ei()}function vU(t,e){if(t&&e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function vf(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 Da;function ZS(t,e){return function(){if(!Da){var n=arguments,s=this;n.length===1?t.call(s,n[0]):t.apply(s,n),Da=setTimeout(function(){Da=void 0},e)}}}function _U(){clearTimeout(Da),Da=void 0}function JS(t,e,n){t.scrollLeft+=e,t.scrollTop+=n}function xm(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 Gb(t,e){kt(t,"position","absolute"),kt(t,"top",e.top),kt(t,"left",e.left),kt(t,"width",e.width),kt(t,"height",e.height)}function _f(t){kt(t,"position",""),kt(t,"top",""),kt(t,"left",""),kt(t,"width",""),kt(t,"height","")}var kn="Sortable"+new Date().getTime();function SU(){var t=[],e;return{captureAnimationState:function(){if(t=[],!!this.options.animation){var s=[].slice.call(this.el.children);s.forEach(function(i){if(!(kt(i,"display")==="none"||i===Dt.ghost)){t.push({target:i,rect:xe(i)});var r=ri({},t[t.length-1].rect);if(i.thisAnimationDuration){var o=Dr(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(bU(t,{target:s}),1)},animateAll:function(s){var i=this;if(!this.options.animation){clearTimeout(e),typeof s=="function"&&s();return}var r=!1,o=0;t.forEach(function(a){var l=0,c=a.target,u=c.fromRect,d=xe(c),f=c.prevFromRect,h=c.prevToRect,p=a.rect,m=Dr(c,!0);m&&(d.top-=m.f,d.left-=m.e),c.toRect=d,c.thisAnimationDuration&&vf(f,d)&&!vf(u,d)&&(p.top-d.top)/(p.left-d.left)===(u.top-d.top)/(u.left-d.left)&&(l=wU(p,f,h,i.options)),vf(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){kt(s,"transition",""),kt(s,"transform","");var a=Dr(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,kt(s,"transform","translate3d("+u+"px,"+d+"px,0)"),this.forRepaintDummy=EU(s),kt(s,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),kt(s,"transform","translate3d(0,0,0)"),typeof s.animated=="number"&&clearTimeout(s.animated),s.animated=setTimeout(function(){kt(s,"transition",""),kt(s,"transform",""),s.animated=!1,s.animatingX=!1,s.animatingY=!1},o)}}}}function EU(t){return t.offsetWidth}function wU(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 so=[],Sf={initializeByDefault:!0},xl={mount:function(e){for(var n in Sf)Sf.hasOwnProperty(n)&&!(n in e)&&(e[n]=Sf[n]);so.forEach(function(s){if(s.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),so.push(e)},pluginEvent:function(e,n,s){var i=this;this.eventCanceled=!1,s.cancel=function(){i.eventCanceled=!0};var r=e+"Global";so.forEach(function(o){n[o.pluginName]&&(n[o.pluginName][r]&&n[o.pluginName][r](ri({sortable:n},s)),n.options[o.pluginName]&&n[o.pluginName][e]&&n[o.pluginName][e](ri({sortable:n},s)))})},initializePlugins:function(e,n,s,i){so.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,_s(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 so.forEach(function(i){typeof i.eventProperties=="function"&&_s(s,i.eventProperties.call(n[i.pluginName],e))}),s},modifyOption:function(e,n,s){var i;return so.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(e[r.pluginName],s))}),i}};function ga(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[kn],!!e){var m,v=e.options,y="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!Ri&&!Ol?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 _=ri(ri({},p),xl.getEventProperties(s,e));for(var g in _)m[g]=_[g];n&&n.dispatchEvent(m),v[y]&&v[y].call(e,m)}}var kU=["evt"],$n=function(e,n){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=s.evt,r=cU(s,kU);xl.pluginEvent.bind(Dt)(e,n,ri({dragEl:ft,parentEl:De,ghostEl:jt,rootEl:Ae,nextEl:vr,lastDownEl:xc,cloneEl:Le,cloneHidden:Zi,dragStarted:ya,putSortable:on,activeSortable:Dt.active,originalEvent:i,oldIndex:go,oldDraggableIndex:La,newIndex:Xn,newDraggableIndex:Xi,hideGhostForTarget:nE,unhideGhostForTarget:sE,cloneNowHidden:function(){Zi=!0},cloneNowShown:function(){Zi=!1},dispatchSortableEvent:function(a){xn({sortable:n,name:a,originalEvent:i})}},r))};function xn(t){ga(ri({putSortable:on,cloneEl:Le,targetEl:ft,rootEl:Ae,oldIndex:go,oldDraggableIndex:La,newIndex:Xn,newDraggableIndex:Xi},t))}var ft,De,jt,Ae,vr,xc,Le,Zi,go,Xn,La,Xi,sc,on,uo=!1,pu=!1,mu=[],gr,Ts,Ef,wf,Kb,qb,ya,io,Ma,$a=!1,ic=!1,Ic,pn,kf=[],Dh=!1,gu=[],Od=typeof document<"u",rc=zS,zb=Ol||Ri?"cssFloat":"float",CU=Od&&!gU&&!zS&&"draggable"in document.createElement("div"),QS=(function(){if(Od){if(Ri)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto",t.style.pointerEvents==="auto"}})(),tE=function(e,n){var s=kt(e),i=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),r=Vo(e,0,n),o=Vo(e,1,n),a=r&&kt(r),l=o&&kt(o),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+xe(r).width,u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+xe(o).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&a.float!=="none"){var d=a.float==="left"?"left":"right";return o&&(l.clear==="both"||l.clear===d)?"vertical":"horizontal"}return r&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=i&&s[zb]==="none"||o&&s[zb]==="none"&&c+u>i)?"vertical":"horizontal"},TU=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},AU=function(e,n){var s;return mu.some(function(i){var r=i[kn].options.emptyInsertThreshold;if(!(!r||Om(i))){var o=xe(i),a=e>=o.left-r&&e<=o.right+r,l=n>=o.top-r&&n<=o.bottom+r;if(a&&l)return s=i}}),s},eE=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||Oc(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},nE=function(){!QS&&jt&&kt(jt,"display","none")},sE=function(){!QS&&jt&&kt(jt,"display","")};Od&&document.addEventListener("click",function(t){if(pu)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),pu=!1,!1},!0);var yr=function(e){if(ft){e=e.touches?e.touches[0]:e;var n=AU(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[kn]._onDragOver(s)}}},OU=function(e){ft&&ft.parentNode[kn]._isOutsideThisEl(e.target)};function Dt(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=_s({},e),t[kn]=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 tE(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:Dt.supportPointer!==!1&&"PointerEvent"in window&&!Ra,emptyInsertThreshold:5};xl.initializePlugins(this,t,n);for(var s in n)!(s in e)&&(e[s]=n[s]);eE(e);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=e.forceFallback?!1:CU,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)),mu.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),_s(this,SU())}Dt.prototype={constructor:Dt,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(io=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(MU(s),!ft&&!(/mousedown|pointerdown/.test(o)&&e.button!==0||i.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Ra&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=xs(l,i.draggable,s,!1),!(l&&l.animated)&&xc!==l)){if(go=Ve(l),La=Ve(l,i.draggable),typeof u=="function"){if(u.call(this,e,l,this)){xn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:s,fromEl:s}),$n("filter",n,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(u&&(u=u.split(",").some(function(d){if(d=xs(c,d.trim(),s,!1),d)return xn({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:s,toEl:s}),$n("filter",n,{evt:e}),!0}),u)){r&&e.cancelable&&e.preventDefault();return}i.handle&&!xs(c,i.handle,s,!1)||this._prepareDragStart(e,a,l)}}},_prepareDragStart:function(e,n,s){var i=this,r=i.el,o=i.options,a=r.ownerDocument,l;if(s&&!ft&&s.parentNode===r){var c=xe(s);if(Ae=r,ft=s,De=ft.parentNode,vr=ft.nextSibling,xc=s,sc=o.group,Dt.dragged=ft,gr={target:ft,clientX:(n||e).clientX,clientY:(n||e).clientY},Kb=gr.clientX-c.left,qb=gr.clientY-c.top,this._lastX=(n||e).clientX,this._lastY=(n||e).clientY,ft.style["will-change"]="all",l=function(){if($n("delayEnded",i,{evt:e}),Dt.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!Hb&&i.nativeDraggable&&(ft.draggable=!0),i._triggerDragStart(e,n),xn({sortable:i,name:"choose",originalEvent:e}),Ne(ft,o.chosenClass,!0)},o.ignore.split(",").forEach(function(u){YS(ft,u.trim(),Cf)}),Qt(a,"dragover",yr),Qt(a,"mousemove",yr),Qt(a,"touchmove",yr),Qt(a,"mouseup",i._onDrop),Qt(a,"touchend",i._onDrop),Qt(a,"touchcancel",i._onDrop),Hb&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ft.draggable=!0),$n("delayStart",this,{evt:e}),o.delay&&(!o.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ol||Ri))){if(Dt.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(Ae,"dragstart",this._onDragStart));try{document.selection?Nc(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,n){if(uo=!1,Ae&&ft){$n("dragStarted",this,{evt:n}),this.nativeDraggable&&Qt(document,"dragover",OU);var s=this.options;!e&&Ne(ft,s.dragClass,!1),Ne(ft,s.ghostClass,!0),Dt.active=this,e&&this._appendGhost(),xn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Ts){this._lastX=Ts.clientX,this._lastY=Ts.clientY,nE();for(var e=document.elementFromPoint(Ts.clientX,Ts.clientY),n=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Ts.clientX,Ts.clientY),e!==n);)n=e;if(ft.parentNode[kn]._isOutsideThisEl(e),n)do{if(n[kn]){var s=void 0;if(s=n[kn]._onDragOver({clientX:Ts.clientX,clientY:Ts.clientY,target:e,rootEl:n}),s&&!this.options.dragoverBubble)break}e=n}while(n=n.parentNode);sE()}},_onTouchMove:function(e){if(gr){var n=this.options,s=n.fallbackTolerance,i=n.fallbackOffset,r=e.touches?e.touches[0]:e,o=jt&&Dr(jt,!0),a=jt&&o&&o.a,l=jt&&o&&o.d,c=rc&&pn&&Wb(pn),u=(r.clientX-gr.clientX+i.x)/(a||1)+(c?c[0]-kf[0]:0)/(a||1),d=(r.clientY-gr.clientY+i.y)/(l||1)+(c?c[1]-kf[1]:0)/(l||1);if(!Dt.active&&!uo){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-(Ef||0),o.f+=d-(wf||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,")");kt(jt,"webkitTransform",f),kt(jt,"mozTransform",f),kt(jt,"msTransform",f),kt(jt,"transform",f),Ef=u,wf=d,Ts=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!jt){var e=this.options.fallbackOnBody?document.body:Ae,n=xe(ft,!0,rc,!0,e),s=this.options;if(rc){for(pn=e;kt(pn,"position")==="static"&&kt(pn,"transform")==="none"&&pn!==document;)pn=pn.parentNode;pn!==document.body&&pn!==document.documentElement?(pn===document&&(pn=ei()),n.top+=pn.scrollTop,n.left+=pn.scrollLeft):pn=ei(),kf=Wb(pn)}jt=ft.cloneNode(!0),Ne(jt,s.ghostClass,!1),Ne(jt,s.fallbackClass,!0),Ne(jt,s.dragClass,!0),kt(jt,"transition",""),kt(jt,"transform",""),kt(jt,"box-sizing","border-box"),kt(jt,"margin",0),kt(jt,"top",n.top),kt(jt,"left",n.left),kt(jt,"width",n.width),kt(jt,"height",n.height),kt(jt,"opacity","0.8"),kt(jt,"position",rc?"absolute":"fixed"),kt(jt,"zIndex","100000"),kt(jt,"pointerEvents","none"),Dt.ghost=jt,e.appendChild(jt),kt(jt,"transform-origin",Kb/parseInt(jt.style.width)*100+"% "+qb/parseInt(jt.style.height)*100+"%")}},_onDragStart:function(e,n){var s=this,i=e.dataTransfer,r=s.options;if($n("dragStart",this,{evt:e}),Dt.eventCanceled){this._onDrop();return}$n("setupClone",this),Dt.eventCanceled||(Le=xm(ft),Le.draggable=!1,Le.style["will-change"]="",this._hideClone(),Ne(Le,this.options.chosenClass,!1),Dt.clone=Le),s.cloneId=Nc(function(){$n("clone",s),!Dt.eventCanceled&&(s.options.removeCloneOnHide||Ae.insertBefore(Le,ft),s._hideClone(),xn({sortable:s,name:"clone"}))}),!n&&Ne(ft,r.dragClass,!0),n?(pu=!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),kt(ft,"transform","translateZ(0)")),uo=!0,s._dragStartId=Nc(s._dragStarted.bind(s,n,e)),Qt(document,"selectstart",s),ya=!0,Ra&&kt(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=Dt.active,u=sc===l,d=a.sort,f=on||c,h,p=this,m=!1;if(Dh)return;function v(it,St){$n(it,p,ri({evt:e,isOwner:u,axis:h?"vertical":"horizontal",revert:o,dragRect:i,targetRect:r,canSort:d,fromSortable:f,target:s,completed:_,onMove:function(xt,Lt){return oc(Ae,n,ft,i,xt,xe(xt),e,Lt)},changed:g},St))}function y(){v("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function _(it){return v("dragOverCompleted",{insertion:it}),it&&(u?c._hideClone():c._showClone(p),p!==f&&(Ne(ft,on?on.options.ghostClass:c.options.ghostClass,!1),Ne(ft,a.ghostClass,!0)),on!==p&&p!==Dt.active?on=p:p===Dt.active&&on&&(on=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){v("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===ft&&!ft.animated||s===n&&!s.animated)&&(io=null),!a.dragoverBubble&&!e.rootEl&&s!==document&&(ft.parentNode[kn]._isOutsideThisEl(e.target),!it&&yr(e)),!a.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function g(){Xn=Ve(ft),Xi=Ve(ft,a.draggable),xn({sortable:p,name:"change",toEl:n,newIndex:Xn,newDraggableIndex:Xi,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),s=xs(s,a.draggable,n,!0),v("dragOver"),Dt.eventCanceled)return m;if(ft.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return _(!1);if(pu=!1,c&&!a.disabled&&(u?d||(o=De!==Ae):on===this||(this.lastPutMode=sc.checkPull(this,c,ft,e))&&l.checkPut(this,c,ft,e))){if(h=this._getDirection(e,s)==="vertical",i=xe(ft),v("dragOverValid"),Dt.eventCanceled)return m;if(o)return De=Ae,y(),this._hideClone(),v("revert"),Dt.eventCanceled||(vr?Ae.insertBefore(ft,vr):Ae.appendChild(ft)),_(!0);var b=Om(n,a.draggable);if(!b||PU(e,h,this)&&!b.animated){if(b===ft)return _(!1);if(b&&n===e.target&&(s=b),s&&(r=xe(s)),oc(Ae,n,ft,i,s,r,e,!!s)!==!1)return y(),n.appendChild(ft),De=n,g(),_(!0)}else if(b&&NU(e,h,this)){var E=Vo(n,0,a,!0);if(E===ft)return _(!1);if(s=E,r=xe(s),oc(Ae,n,ft,i,s,r,e,!1)!==!1)return y(),n.insertBefore(ft,E),De=n,g(),_(!0)}else if(s.parentNode===n){r=xe(s);var k=0,I,D=ft.parentNode!==n,C=!TU(ft.animated&&ft.toRect||i,s.animated&&s.toRect||r,h),R=h?"top":"left",j=Bb(s,"top","top")||Bb(ft,"top","top"),M=j?j.scrollTop:void 0;io!==s&&(I=r[R],$a=!1,ic=!C&&a.invertSwap||D),k=RU(e,s,r,h,C?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,ic,io===s);var H;if(k!==0){var z=Ve(ft);do z-=k,H=De.children[z];while(H&&(kt(H,"display")==="none"||H===jt))}if(k===0||H===s)return _(!1);io=s,Ma=k;var ot=s.nextElementSibling,W=!1;W=k===1;var Q=oc(Ae,n,ft,i,s,r,e,W);if(Q!==!1)return(Q===1||Q===-1)&&(W=Q===1),Dh=!0,setTimeout(IU,30),y(),W&&!ot?n.appendChild(ft):s.parentNode.insertBefore(ft,W?ot:s),j&&JS(j,0,M-j.scrollTop),De=ft.parentNode,I!==void 0&&!ic&&(Ic=Math.abs(I-xe(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",yr),zt(document,"mousemove",yr),zt(document,"touchmove",yr)},_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(Xn=Ve(ft),Xi=Ve(ft,s.draggable),$n("drop",this,{evt:e}),De=ft&&ft.parentNode,Xn=Ve(ft),Xi=Ve(ft,s.draggable),Dt.eventCanceled){this._nulling();return}uo=!1,ic=!1,$a=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Lh(this.cloneId),Lh(this._dragStartId),this.nativeDraggable&&(zt(document,"drop",this),zt(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Ra&&kt(document.body,"user-select",""),kt(ft,"transform",""),e&&(ya&&(e.cancelable&&e.preventDefault(),!s.dropBubble&&e.stopPropagation()),jt&&jt.parentNode&&jt.parentNode.removeChild(jt),(Ae===De||on&&on.lastPutMode!=="clone")&&Le&&Le.parentNode&&Le.parentNode.removeChild(Le),ft&&(this.nativeDraggable&&zt(ft,"dragend",this),Cf(ft),ft.style["will-change"]="",ya&&!uo&&Ne(ft,on?on.options.ghostClass:this.options.ghostClass,!1),Ne(ft,this.options.chosenClass,!1),xn({sortable:this,name:"unchoose",toEl:De,newIndex:null,newDraggableIndex:null,originalEvent:e}),Ae!==De?(Xn>=0&&(xn({rootEl:De,name:"add",toEl:De,fromEl:Ae,originalEvent:e}),xn({sortable:this,name:"remove",toEl:De,originalEvent:e}),xn({rootEl:De,name:"sort",toEl:De,fromEl:Ae,originalEvent:e}),xn({sortable:this,name:"sort",toEl:De,originalEvent:e})),on&&on.save()):Xn!==go&&Xn>=0&&(xn({sortable:this,name:"update",toEl:De,originalEvent:e}),xn({sortable:this,name:"sort",toEl:De,originalEvent:e})),Dt.active&&((Xn==null||Xn===-1)&&(Xn=go,Xi=La),xn({sortable:this,name:"end",toEl:De,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){$n("nulling",this),Ae=ft=De=jt=vr=Le=xc=Zi=gr=Ts=ya=Xn=Xi=go=La=io=Ma=on=sc=Dt.dragged=Dt.ghost=Dt.clone=Dt.active=null,gu.forEach(function(e){e.checked=!0}),gu.length=Ef=wf=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":ft&&(this._onDragOver(e),xU(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],xs(n,o.draggable,this.el,!1)&&e.push(n.getAttribute(o.dataIdAttr)||LU(n));return e},sort:function(e,n){var s={},i=this.el;this.toArray().forEach(function(r,o){var a=i.children[o];xs(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 xs(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=xl.modifyOption(this,e,n);typeof i<"u"?s[e]=i:s[e]=n,e==="group"&&eE(s)},destroy:function(){$n("destroy",this);var e=this.el;e[kn]=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(),mu.splice(mu.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Zi){if($n("hideClone",this),Dt.eventCanceled)return;kt(Le,"display","none"),this.options.removeCloneOnHide&&Le.parentNode&&Le.parentNode.removeChild(Le),Zi=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(Zi){if($n("showClone",this),Dt.eventCanceled)return;ft.parentNode==Ae&&!this.options.group.revertClone?Ae.insertBefore(Le,ft):vr?Ae.insertBefore(Le,vr):Ae.appendChild(Le),this.options.group.revertClone&&this.animate(ft,Le),kt(Le,"display",""),Zi=!1}}};function xU(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}function oc(t,e,n,s,i,r,o,a){var l,c=t[kn],u=c.options.onMove,d;return window.CustomEvent&&!Ri&&!Ol?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=e,l.from=t,l.dragged=n,l.draggedRect=s,l.related=i||e,l.relatedRect=r||xe(e),l.willInsertAfter=a,l.originalEvent=o,t.dispatchEvent(l),u&&(d=u.call(c,l,o)),d}function Cf(t){t.draggable=!1}function IU(){Dh=!1}function NU(t,e,n){var s=xe(Vo(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 PU(t,e,n){var s=xe(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 RU(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&&Ic<c*i){if(!$a&&(Ma===1?l>u+c*r/2:l<d-c*r/2)&&($a=!0),$a)f=!0;else if(Ma===1?l<u+Ic:l>d-Ic)return-Ma}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return DU(e)}return f=f||o,f&&(l<u+c*r/2||l>d-c*r/2)?l>u+c/2?1:-1:0}function DU(t){return Ve(ft)<Ve(t)?1:-1}function LU(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 MU(t){gu.length=0;for(var e=t.getElementsByTagName("input"),n=e.length;n--;){var s=e[n];s.checked&&gu.push(s)}}function Nc(t){return setTimeout(t,0)}function Lh(t){return clearTimeout(t)}Od&&Qt(document,"touchmove",function(t){(Dt.active||uo)&&t.cancelable&&t.preventDefault()});Dt.utils={on:Qt,off:zt,css:kt,find:YS,is:function(e,n){return!!xs(e,n,e,!1)},extend:vU,throttle:ZS,closest:xs,toggleClass:Ne,clone:xm,index:Ve,nextTick:Nc,cancelNextTick:Lh,detectDirection:tE,getChild:Vo};Dt.get=function(t){return t[kn]};Dt.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&&(Dt.utils=ri(ri({},Dt.utils),s.utils)),xl.mount(s)})};Dt.create=function(t,e){return new Dt(t,e)};Dt.version=mU;var qe=[],ba,Mh,$h=!1,Tf,Af,yu,va;function $U(){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)),Xb(),Pc(),_U()},nulling:function(){yu=Mh=ba=$h=va=Tf=Af=null,qe.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(yu=n,s||this.options.forceAutoScrollFallback||Ol||Ri||Ra){Of(n,this.options,a,s);var l=Qi(a,!0);$h&&(!va||r!==Tf||o!==Af)&&(va&&Xb(),va=setInterval(function(){var c=Qi(document.elementFromPoint(r,o),!0);c!==l&&(l=c,Pc()),Of(n,i.options,c,s)},10),Tf=r,Af=o)}else{if(!this.options.bubbleScroll||Qi(a,!0)===ei()){Pc();return}Of(n,this.options,Qi(a,!1),!1)}}},_s(t,{pluginName:"scroll",initializeByDefault:!0})}function Pc(){qe.forEach(function(t){clearInterval(t.pid)}),qe=[]}function Xb(){clearInterval(va)}var Of=ZS(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=ei(),c=!1,u;Mh!==n&&(Mh=n,Pc(),ba=e.scroll,u=e.scrollFn,ba===!0&&(ba=Qi(n,!0)));var d=0,f=ba;do{var h=f,p=xe(h),m=p.top,v=p.bottom,y=p.left,_=p.right,g=p.width,b=p.height,E=void 0,k=void 0,I=h.scrollWidth,D=h.scrollHeight,C=kt(h),R=h.scrollLeft,j=h.scrollTop;h===l?(E=g<I&&(C.overflowX==="auto"||C.overflowX==="scroll"||C.overflowX==="visible"),k=b<D&&(C.overflowY==="auto"||C.overflowY==="scroll"||C.overflowY==="visible")):(E=g<I&&(C.overflowX==="auto"||C.overflowX==="scroll"),k=b<D&&(C.overflowY==="auto"||C.overflowY==="scroll"));var M=E&&(Math.abs(_-i)<=o&&R+g<I)-(Math.abs(y-i)<=o&&!!R),H=k&&(Math.abs(v-r)<=o&&j+b<D)-(Math.abs(m-r)<=o&&!!j);if(!qe[d])for(var z=0;z<=d;z++)qe[z]||(qe[z]={});(qe[d].vx!=M||qe[d].vy!=H||qe[d].el!==h)&&(qe[d].el=h,qe[d].vx=M,qe[d].vy=H,clearInterval(qe[d].pid),(M!=0||H!=0)&&(c=!0,qe[d].pid=setInterval((function(){s&&this.layer===0&&Dt.active._onTouchMove(yu);var ot=qe[this.layer].vy?qe[this.layer].vy*a:0,W=qe[this.layer].vx?qe[this.layer].vx*a:0;typeof u=="function"&&u.call(Dt.dragged.parentNode[kn],W,ot,t,yu,qe[this.layer].el)!=="continue"||JS(qe[this.layer].el,W,ot)}).bind({layer:d}),24))),d++}while(e.bubbleScroll&&f!==l&&(f=Qi(f,!1)));$h=c}},30),iE=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 Im(){}Im.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=Vo(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:iE};_s(Im,{pluginName:"revertOnSpill"});function Nm(){}Nm.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:iE};_s(Nm,{pluginName:"removeOnSpill"});var ls;function FU(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}return t.prototype={dragStart:function(n){var s=n.dragEl;ls=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=ls;r(i)!==!1?(Ne(i,u.swapClass,!0),ls=i):ls=null,d&&d!==ls&&Ne(d,u.swapClass,!1)}a(),s(!0),l()}},drop:function(n){var s=n.activeSortable,i=n.putSortable,r=n.dragEl,o=i||this.sortable,a=this.options;ls&&Ne(ls,a.swapClass,!1),ls&&(a.swap||i&&i.options.swap)&&r!==ls&&(o.captureAnimationState(),o!==s&&s.captureAnimationState(),VU(r,ls),o.animateAll(),o!==s&&s.animateAll())},nulling:function(){ls=null}},_s(t,{pluginName:"swap",eventProperties:function(){return{swapItem:ls}}})}function VU(t,e){var n=t.parentNode,s=e.parentNode,i,r;!n||!s||n.isEqualNode(e)||s.isEqualNode(t)||(i=Ve(t),r=Ve(e),n.isEqualNode(s)&&i<r&&r++,n.insertBefore(e,n.children[i]),s.insertBefore(t,s.children[r]))}var Ut=[],zn=[],aa,As,la=!1,Fn=!1,ro=!1,we,ca,ac;function UU(){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="";Ut.length&&As===e?Ut.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=~Ut.indexOf(we)},setupClone:function(n){var s=n.sortable,i=n.cancel;if(this.isMultiDrag){for(var r=0;r<Ut.length;r++)zn.push(xm(Ut[r])),zn[r].sortableIndex=Ut[r].sortableIndex,zn[r].draggable=!1,zn[r].style["will-change"]="",Ne(zn[r],this.options.selectedClass,!1),Ut[r]===we&&Ne(zn[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||Ut.length&&As===s&&(Yb(!0,i),r("clone"),o()))},showClone:function(n){var s=n.cloneNowShown,i=n.rootEl,r=n.cancel;this.isMultiDrag&&(Yb(!1,i),zn.forEach(function(o){kt(o,"display","")}),s(),ac=!1,r())},hideClone:function(n){var s=this;n.sortable;var i=n.cloneNowHidden,r=n.cancel;this.isMultiDrag&&(zn.forEach(function(o){kt(o,"display","none"),s.options.removeCloneOnHide&&o.parentNode&&o.parentNode.removeChild(o)}),i(),ac=!0,r())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&As&&As.multiDrag._deselectMultiDrag(),Ut.forEach(function(s){s.sortableIndex=Ve(s)}),Ut=Ut.sort(function(s,i){return s.sortableIndex-i.sortableIndex}),ro=!0},dragStarted:function(n){var s=this,i=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){Ut.forEach(function(o){o!==we&&kt(o,"position","absolute")});var r=xe(we,!1,!0,!0);Ut.forEach(function(o){o!==we&&Gb(o,r)}),Fn=!0,la=!0}i.animateAll(function(){Fn=!1,la=!1,s.options.animation&&Ut.forEach(function(o){_f(o)}),s.options.sort&&lc()})}},dragOver:function(n){var s=n.target,i=n.completed,r=n.cancel;Fn&&~Ut.indexOf(s)&&(i(!1),r())},revert:function(n){var s=n.fromSortable,i=n.rootEl,r=n.sortable,o=n.dragRect;Ut.length>1&&(Ut.forEach(function(a){r.addAnimationState({target:a,rect:Fn?xe(a):o}),_f(a),a.fromRect=o,s.removeAnimationState(a)}),Fn=!1,HU(!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(),la=!1,c.animation&&Ut.length>1&&(Fn||!i&&!o.options.sort&&!l)){var u=xe(we,!1,!0,!0);Ut.forEach(function(f){f!==we&&(Gb(f,u),a.appendChild(f))}),Fn=!0}if(!i)if(Fn||lc(),Ut.length>1){var d=ac;o._showClone(s),o.options.animation&&!ac&&d&&zn.forEach(function(f){o.addAnimationState({target:f,rect:ca}),f.fromRect=ca,f.thisAnimationDuration=null})}else o._showClone(s)}},dragOverAnimationCapture:function(n){var s=n.dragRect,i=n.isOwner,r=n.activeSortable;if(Ut.forEach(function(a){a.thisAnimationDuration=null}),r.options.animation&&!i&&r.multiDrag.isMultiDrag){ca=_s({},s);var o=Dr(we,!0);ca.top-=o.f,ca.left-=o.e}},dragOverAnimationComplete:function(){Fn&&(Fn=!1,lc())},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(!ro)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ne(we,d.selectedClass,!~Ut.indexOf(we)),~Ut.indexOf(we))Ut.splice(Ut.indexOf(we),1),aa=null,ga({sortable:o,rootEl:i,name:"deselect",targetEl:we});else{if(Ut.push(we),ga({sortable:o,rootEl:i,name:"select",targetEl:we}),s.shiftKey&&aa&&o.el.contains(aa)){var h=Ve(aa),p=Ve(we);if(~h&&~p&&h!==p){var m,v;for(p>h?(v=h,m=p):(v=p,m=h+1);v<m;v++)~Ut.indexOf(f[v])||(Ne(f[v],d.selectedClass,!0),Ut.push(f[v]),ga({sortable:o,rootEl:i,name:"select",targetEl:f[v]}))}}else aa=we;As=u}if(ro&&this.isMultiDrag){if(Fn=!1,(r[kn].options.sort||r!==i)&&Ut.length>1){var y=xe(we),_=Ve(we,":not(."+this.options.selectedClass+")");if(!la&&d.animation&&(we.thisAnimationDuration=null),u.captureAnimationState(),!la&&(d.animation&&(we.fromRect=y,Ut.forEach(function(b){if(b.thisAnimationDuration=null,b!==we){var E=Fn?xe(b):y;b.fromRect=E,u.addAnimationState({target:b,rect:E})}})),lc(),Ut.forEach(function(b){f[_]?r.insertBefore(b,f[_]):r.appendChild(b),_++}),l===Ve(we))){var g=!1;Ut.forEach(function(b){if(b.sortableIndex!==Ve(b)){g=!0;return}}),g&&a("update")}Ut.forEach(function(b){_f(b)}),u.animateAll()}As=u}(i===r||c&&c.lastPutMode!=="clone")&&zn.forEach(function(b){b.parentNode&&b.parentNode.removeChild(b)})}},nullingGlobal:function(){this.isMultiDrag=ro=!1,zn.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 ro<"u"&&ro)&&As===this.sortable&&!(n&&xs(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Ut.length;){var s=Ut[0];Ne(s,this.options.selectedClass,!1),Ut.shift(),ga({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)}},_s(t,{pluginName:"multiDrag",utils:{select:function(n){var s=n.parentNode[kn];!s||!s.options.multiDrag||~Ut.indexOf(n)||(As&&As!==s&&(As.multiDrag._deselectMultiDrag(),As=s),Ne(n,s.options.selectedClass,!0),Ut.push(n))},deselect:function(n){var s=n.parentNode[kn],i=Ut.indexOf(n);!s||!s.options.multiDrag||!~i||(Ne(n,s.options.selectedClass,!1),Ut.splice(i,1))}},eventProperties:function(){var n=this,s=[],i=[];return Ut.forEach(function(r){s.push({multiDragElement:r,index:r.sortableIndex});var o;Fn&&r!==we?o=-1:Fn?o=Ve(r,":not(."+n.options.selectedClass+")"):o=Ve(r),i.push({multiDragElement:r,index:o})}),{items:uU(Ut),clones:[].concat(zn),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 HU(t,e){Ut.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function Yb(t,e){zn.forEach(function(n,s){var i=e.children[n.sortableIndex+(t?Number(s):0)];i?e.insertBefore(n,i):e.appendChild(n)})}function lc(){Ut.forEach(function(t){t!==we&&t.parentNode&&t.parentNode.removeChild(t)})}Dt.mount(new $U);Dt.mount(Nm,Im);const jU=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:UU,Sortable:Dt,Swap:FU,default:Dt},Symbol.toStringTag,{value:"Module"})),BU=Ju(jU);var WU=Ac.exports,Zb;function GU(){return Zb||(Zb=1,(function(t,e){(function(s,i){t.exports=i(w2(),BU)})(typeof self<"u"?self:WU,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(v,y){if(v=u(v),y=d(y,!0),h)try{return p(v,y)}catch{}if(f(v,y))return c(!l.f.call(v,y),v[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 v=p.target,y=p.global,_=p.stat,g,b,E,k,I,D;if(y?b=a:_?b=a[v]||d(v,{}):b=(a[v]||{}).prototype,b)for(E in m){if(I=m[E],p.noTargetGet?(D=l(b,E),k=D&&D.value):k=b[E],g=h(y?E:v+(_?".":"#")+E,p.forced),!g&&k!==void 0){if(typeof I==typeof k)continue;f(I,k)}(p.sham||k&&k.sham)&&c(I,"sham",!0),u(b,E,I,p)}}}),"241c":(function(i,r,o){var a=o("ca84"),l=o("7839"),c=l.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(d){return a(d,c)}}),"25f0":(function(i,r,o){var a=o("6eeb"),l=o("825a"),c=o("d039"),u=o("ad6d"),d="toString",f=RegExp.prototype,h=f[d],p=c(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),m=h.name!=d;(p||m)&&a(RegExp.prototype,d,function(){var y=l(this),_=String(y.source),g=y.flags,b=String(g===void 0&&y instanceof RegExp&&!("flags"in f)?u.call(y):g);return"/"+_+"/"+b},{unsafe:!0})}),"2ca0":(function(i,r,o){var a=o("23e7"),l=o("06cf").f,c=o("50c4"),u=o("5a34"),d=o("1d80"),f=o("ab13"),h=o("c430"),p="".startsWith,m=Math.min,v=f("startsWith"),y=!h&&!v&&!!(function(){var _=l(String.prototype,"startsWith");return _&&!_.writable})();a({target:"String",proto:!0,forced:!y&&!v},{startsWith:function(g){var b=String(d(this));u(g);var E=c(m(arguments.length>1?arguments[1]:void 0,b.length)),k=String(g);return p?p.call(b,k,E):b.slice(E,E+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,v=0,y;m>v;)l.f(f,y=p[v++],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,v=p.index,y;return v>=m.length?{value:void 0,done:!0}:(y=a(m,v),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),v=l(m.length),y=c(p,v),_;if(d&&h!=h){for(;v>y;)if(_=m[y++],_!=_)return!0}else for(;v>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 v=l(m),y=typeof this=="function"?this:Array,_=arguments.length,g=_>1?arguments[1]:void 0,b=g!==void 0,E=h(v),k=0,I,D,C,R,j,M;if(b&&(g=a(g,_>2?arguments[2]:void 0,2)),E!=null&&!(y==Array&&u(E)))for(R=E.call(v),j=R.next,D=new y;!(C=j.call(R)).done;k++)M=b?c(R,g,[C.value,k],!0):C.value,f(D,k,M);else for(I=d(v.length),D=new y(I);I>k;k++)M=b?g(v[k],k):v[k],f(D,k,M);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,v=Math.min,y=Math.floor,_=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,b=function(E){return E===void 0?E:String(E)};a("replace",2,function(E,k,I,D){var C=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=D.REPLACE_KEEPS_$0,j=C?"$":"$0";return[function(z,ot){var W=f(this),Q=z?.[E];return Q!==void 0?Q.call(z,W,ot):k.call(String(W),z,ot)},function(H,z){if(!C&&R||typeof z=="string"&&z.indexOf(j)===-1){var ot=I(k,H,this,z);if(ot.done)return ot.value}var W=l(H),Q=String(this),it=typeof z=="function";it||(z=String(z));var St=W.global;if(St){var qt=W.unicode;W.lastIndex=0}for(var xt=[];;){var Lt=p(W,Q);if(Lt===null||(xt.push(Lt),!St))break;var re=String(Lt[0]);re===""&&(W.lastIndex=h(Q,u(W.lastIndex),qt))}for(var oe="",ae=0,Wt=0;Wt<xt.length;Wt++){Lt=xt[Wt];for(var Z=String(Lt[0]),dt=m(v(d(Lt.index),Q.length),0),ct=[],bt=1;bt<Lt.length;bt++)ct.push(b(Lt[bt]));var Pt=Lt.groups;if(it){var Yt=[Z].concat(ct,dt,Q);Pt!==void 0&&Yt.push(Pt);var A=String(z.apply(void 0,Yt))}else A=M(Z,Q,dt,ct,Pt,z);dt>=ae&&(oe+=Q.slice(ae,dt)+A,ae=dt+Z.length)}return oe+Q.slice(ae)}];function M(H,z,ot,W,Q,it){var St=ot+H.length,qt=W.length,xt=g;return Q!==void 0&&(Q=c(Q),xt=_),k.call(it,xt,function(Lt,re){var oe;switch(re.charAt(0)){case"$":return"$";case"&":return H;case"`":return z.slice(0,ot);case"'":return z.slice(St);case"<":oe=Q[re.slice(1,-1)];break;default:var ae=+re;if(ae===0)return Lt;if(ae>qt){var Wt=y(ae/10);return Wt===0?Lt:Wt<=qt?W[Wt-1]===void 0?re.charAt(1):W[Wt-1]+re.charAt(1):Lt}oe=W[ae-1]}return oe===void 0?"":oe})}})}),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),v=u(m.length),y;return d(p),y=f(m,0),y.length=l(y,m,m,v,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,v,y;return p<0||p>=m?u?"":void 0:(v=h.charCodeAt(p),v<55296||v>56319||p+1===m||(y=h.charCodeAt(p+1))<56320||y>57343?u?h.charAt(p):v:u?h.slice(p,p+2):(v-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,v,y,_=function(C){return y(C)?v(C):m(C,{})},g=function(C){return function(R){var j;if(!c(R)||(j=v(R)).type!==C)throw TypeError("Incompatible receiver, "+C+" required");return j}};if(a){var b=new p,E=b.get,k=b.has,I=b.set;m=function(C,R){return I.call(b,C,R),R},v=function(C){return E.call(b,C)||{}},y=function(C){return k.call(b,C)}}else{var D=f("state");h[D]=!0,m=function(C,R){return u(C,D,R),R},v=function(C){return d(C,D)?C[D]:{}},y=function(C){return d(C,D)}}i.exports={set:m,get:v,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(v,y,_,g){var b=g?!!g.unsafe:!1,E=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:"")),v===a){E?v[y]=_:u(y,_);return}else b?!k&&v[y]&&(E=!0):delete v[y];E?v[y]=_:l(v,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),v=m.length,y=0,_=[],g;v>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="<",v="prototype",y="script",_=h("IE_PROTO"),g=function(){},b=function(C){return m+y+p+C+m+"/"+y+p},E=function(C){C.write(b("")),C.close();var R=C.parentWindow.Object;return C=null,R},k=function(){var C=f("iframe"),R="java"+y+":",j;return C.style.display="none",d.appendChild(C),C.src=String(R),j=C.contentWindow.document,j.open(),j.write(b("document.F=Object")),j.close(),j.F},I,D=function(){try{I=document.domain&&new ActiveXObject("htmlfile")}catch{}D=I?E(I):k();for(var C=c.length;C--;)delete D[v][c[C]];return D()};u[_]=!0,i.exports=Object.create||function(R,j){var M;return R!==null?(g[v]=a(R),M=new g,g[v]=null,M[_]=R):M=D(),j===void 0?M:l(M,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"),v=o("3f8c"),y=o("ae93"),_=y.IteratorPrototype,g=y.BUGGY_SAFARI_ITERATORS,b=p("iterator"),E="keys",k="values",I="entries",D=function(){return this};i.exports=function(C,R,j,M,H,z,ot){l(j,R,M);var W=function(Wt){if(Wt===H&&xt)return xt;if(!g&&Wt in St)return St[Wt];switch(Wt){case E:return function(){return new j(this,Wt)};case k:return function(){return new j(this,Wt)};case I:return function(){return new j(this,Wt)}}return function(){return new j(this)}},Q=R+" Iterator",it=!1,St=C.prototype,qt=St[b]||St["@@iterator"]||H&&St[H],xt=!g&&qt||W(H),Lt=R=="Array"&&St.entries||qt,re,oe,ae;if(Lt&&(re=c(Lt.call(new C)),_!==Object.prototype&&re.next&&(!m&&c(re)!==_&&(u?u(re,_):typeof re[b]!="function"&&f(re,b,D)),d(re,Q,!0,!0),m&&(v[Q]=D))),H==k&&qt&&qt.name!==k&&(it=!0,xt=function(){return qt.call(this)}),(!m||ot)&&St[b]!==xt&&f(St,b,xt),v[R]=xt,H)if(oe={values:W(k),keys:z?xt:W(E),entries:W(I)},ot)for(ae in oe)(g||it||!(ae in St))&&h(St,ae,oe[ae]);else a({target:R,proto:!0,forced:g||it},oe);return oe}}),"7f9a":(function(i,r,o){var a=o("da84"),l=o("8925"),c=a.WeakMap;i.exports=typeof c=="function"&&/native code/.test(l(c))}),"825a":(function(i,r,o){var a=o("861d");i.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}}),"83ab":(function(i,r,o){var a=o("d039");i.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),8418:(function(i,r,o){var a=o("c04e"),l=o("9bf2"),c=o("5c6c");i.exports=function(u,d,f){var h=a(d);h in u?l.f(u,h,c(0,f)):u[h]=f}}),"861d":(function(i,r){i.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}}),8875:(function(i,r,o){var a,l,c;(function(u,d){l=[],a=d,c=typeof a=="function"?a.apply(r,l):a,c!==void 0&&(i.exports=c)})(typeof self<"u"?self:this,function(){function u(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==u&&document.currentScript)return document.currentScript;try{throw new Error}catch(I){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,p=f.exec(I.stack)||h.exec(I.stack),m=p&&p[1]||!1,v=p&&p[2]||!1,y=document.location.href.replace(document.location.hash,""),_,g,b,E=document.getElementsByTagName("script");m===y&&(_=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(v-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=_.replace(g,"$1").trim());for(var k=0;k<E.length;k++)if(E[k].readyState==="interactive"||E[k].src===m||m===y&&E[k].innerHTML&&E[k].innerHTML.trim()===b)return E[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 v=/a/,y=/b*/g;return c.call(v,"a"),c.call(y,"a"),v.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,b,E,k,I=h&&_.sticky,D=a.call(_),C=_.source,R=0,j=y;return I&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),j=String(y).slice(_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&y[_.lastIndex-1]!==`
|
||
`)&&(C="(?: "+C+")",j=" "+j,R++),b=new RegExp("^(?:"+C+")",D)),p&&(b=new RegExp("^"+C+"$(?!\\s)",D)),f&&(g=_.lastIndex),E=c.call(I?b:_,j),I?E?(E.input=E.input.slice(R),E[0]=E[0].slice(R),E.index=_.lastIndex,_.lastIndex+=E[0].length):_.lastIndex=0:f&&E&&(_.lastIndex=_.global?E.index+E[0].length:g),p&&E&&E.length>1&&u.call(E[0],b,function(){for(k=1;k<arguments.length-2;k++)arguments[k]===void 0&&(E[k]=void 0)}),E}),i.exports=d}),"94ca":(function(i,r,o){var a=o("d039"),l=/#|\.prototype\./,c=function(p,m){var v=d[u(p)];return v==h?!0:v==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"),v=o("b622"),y=o("2d00"),_=v("isConcatSpreadable"),g=9007199254740991,b="Maximum allowed index exceeded",E=y>=51||!l(function(){var C=[];return C[_]=!1,C.concat()[0]!==C}),k=m("concat"),I=function(C){if(!u(C))return!1;var R=C[_];return R!==void 0?!!R:c(C)},D=!E||!k;a({target:"Array",proto:!0,forced:D},{concat:function(R){var j=d(this),M=p(j,0),H=0,z,ot,W,Q,it;for(z=-1,W=arguments.length;z<W;z++)if(it=z===-1?j:arguments[z],I(it)){if(Q=f(it.length),H+Q>g)throw TypeError(b);for(ot=0;ot<Q;ot++,H++)ot in it&&h(M,H,it[ot])}else{if(H>=g)throw TypeError(b);h(M,H++,it)}return M.length=H,M}})}),"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 v=p+" Iterator";return h.prototype=l(a,{next:c(1,m)}),u(h,v,!1,!0),d[v]=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,v,y,_){for(var g=m,b=0,E=y?c(y,_,3):!1,k;b<p;){if(b in h){if(k=E?E(h[b],b,f):h[b],v>0&&a(k))g=u(d,f,k,l(k.length),g,v-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[g]=k}g++}b++}return g};i.exports=u}),a352:(function(i,r){i.exports=s}),a434:(function(i,r,o){var a=o("23e7"),l=o("23cb"),c=o("a691"),u=o("50c4"),d=o("7b0b"),f=o("65f0"),h=o("8418"),p=o("1dde"),m=o("ae40"),v=p("splice"),y=m("splice",{ACCESSORS:!0,0:0,1:2}),_=Math.max,g=Math.min,b=9007199254740991,E="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!v||!y},{splice:function(I,D){var C=d(this),R=u(C.length),j=l(I,R),M=arguments.length,H,z,ot,W,Q,it;if(M===0?H=z=0:M===1?(H=0,z=R-j):(H=M-2,z=g(_(c(D),0),R-j)),R+H-z>b)throw TypeError(E);for(ot=f(C,z),W=0;W<z;W++)Q=j+W,Q in C&&h(ot,W,C[Q]);if(ot.length=z,H<z){for(W=j;W<R-z;W++)Q=W+z,it=W+H,Q in C?C[it]=C[Q]:delete C[it];for(W=R;W>R-z+H;W--)delete C[W-1]}else if(H>z)for(W=R-z;W>j;W--)Q=W+z-1,it=W+H-1,Q in C?C[it]=C[Q]:delete C[it];for(W=0;W<H;W++)C[W+j]=arguments[W+2];return C.length=R-z+H,ot}})}),a4d3:(function(i,r,o){var a=o("23e7"),l=o("da84"),c=o("d066"),u=o("c430"),d=o("83ab"),f=o("4930"),h=o("fdbf"),p=o("d039"),m=o("5135"),v=o("e8b5"),y=o("861d"),_=o("825a"),g=o("7b0b"),b=o("fc6a"),E=o("c04e"),k=o("5c6c"),I=o("7c73"),D=o("df75"),C=o("241c"),R=o("057f"),j=o("7418"),M=o("06cf"),H=o("9bf2"),z=o("d1e7"),ot=o("9112"),W=o("6eeb"),Q=o("5692"),it=o("f772"),St=o("d012"),qt=o("90e3"),xt=o("b622"),Lt=o("e538"),re=o("746f"),oe=o("d44e"),ae=o("69f3"),Wt=o("b727").forEach,Z=it("hidden"),dt="Symbol",ct="prototype",bt=xt("toPrimitive"),Pt=ae.set,Yt=ae.getterFor(dt),A=Object[ct],P=l.Symbol,G=c("JSON","stringify"),st=M.f,J=H.f,T=R.f,x=z.f,V=Q("symbols"),K=Q("op-symbols"),tt=Q("string-to-symbol-registry"),lt=Q("symbol-to-string-registry"),$=Q("wks"),q=l.QObject,ht=!q||!q[ct]||!q[ct].findChild,Et=d&&p(function(){return I(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a!=7})?function(Rt,wt,Nt){var se=st(A,wt);se&&delete A[wt],J(Rt,wt,Nt),se&&Rt!==A&&J(A,wt,se)}:J,Kt=function(Rt,wt){var Nt=V[Rt]=I(P[ct]);return Pt(Nt,{type:dt,tag:Rt,description:wt}),d||(Nt.description=wt),Nt},U=h?function(Rt){return typeof Rt=="symbol"}:function(Rt){return Object(Rt)instanceof P},B=function(wt,Nt,se){wt===A&&B(K,Nt,se),_(wt);var ce=E(Nt,!0);return _(se),m(V,ce)?(se.enumerable?(m(wt,Z)&&wt[Z][ce]&&(wt[Z][ce]=!1),se=I(se,{enumerable:k(0,!1)})):(m(wt,Z)||J(wt,Z,k(1,{})),wt[Z][ce]=!0),Et(wt,ce,se)):J(wt,ce,se)},X=function(wt,Nt){_(wt);var se=b(Nt),ce=D(se).concat(Ft(se));return Wt(ce,function(Mn){(!d||mt.call(se,Mn))&&B(wt,Mn,se[Mn])}),wt},at=function(wt,Nt){return Nt===void 0?I(wt):X(I(wt),Nt)},mt=function(wt){var Nt=E(wt,!0),se=x.call(this,Nt);return this===A&&m(V,Nt)&&!m(K,Nt)?!1:se||!m(this,Nt)||!m(V,Nt)||m(this,Z)&&this[Z][Nt]?se:!0},At=function(wt,Nt){var se=b(wt),ce=E(Nt,!0);if(!(se===A&&m(V,ce)&&!m(K,ce))){var Mn=st(se,ce);return Mn&&m(V,ce)&&!(m(se,Z)&&se[Z][ce])&&(Mn.enumerable=!0),Mn}},Vt=function(wt){var Nt=T(b(wt)),se=[];return Wt(Nt,function(ce){!m(V,ce)&&!m(St,ce)&&se.push(ce)}),se},Ft=function(wt){var Nt=wt===A,se=T(Nt?K:b(wt)),ce=[];return Wt(se,function(Mn){m(V,Mn)&&(!Nt||m(A,Mn))&&ce.push(V[Mn])}),ce};if(f||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var wt=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Nt=qt(wt),se=function(ce){this===A&&se.call(K,ce),m(this,Z)&&m(this[Z],Nt)&&(this[Z][Nt]=!1),Et(this,Nt,k(1,ce))};return d&&ht&&Et(A,Nt,{configurable:!0,set:se}),Kt(Nt,wt)},W(P[ct],"toString",function(){return Yt(this).tag}),W(P,"withoutSetter",function(Rt){return Kt(qt(Rt),Rt)}),z.f=mt,H.f=B,M.f=At,C.f=R.f=Vt,j.f=Ft,Lt.f=function(Rt){return Kt(xt(Rt),Rt)},d&&(J(P[ct],"description",{configurable:!0,get:function(){return Yt(this).description}}),u||W(A,"propertyIsEnumerable",mt,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:P}),Wt(D($),function(Rt){re(Rt)}),a({target:dt,stat:!0,forced:!f},{for:function(Rt){var wt=String(Rt);if(m(tt,wt))return tt[wt];var Nt=P(wt);return tt[wt]=Nt,lt[Nt]=wt,Nt},keyFor:function(wt){if(!U(wt))throw TypeError(wt+" is not a symbol");if(m(lt,wt))return lt[wt]},useSetter:function(){ht=!0},useSimple:function(){ht=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!d},{create:at,defineProperty:B,defineProperties:X,getOwnPropertyDescriptor:At}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Vt,getOwnPropertySymbols:Ft}),a({target:"Object",stat:!0,forced:p(function(){j.f(1)})},{getOwnPropertySymbols:function(wt){return j.f(g(wt))}}),G){var he=!f||p(function(){var Rt=P();return G([Rt])!="[null]"||G({a:Rt})!="{}"||G(Object(Rt))!="{}"});a({target:"JSON",stat:!0,forced:he},{stringify:function(wt,Nt,se){for(var ce=[wt],Mn=1,Id;arguments.length>Mn;)ce.push(arguments[Mn++]);if(Id=Nt,!(!y(Nt)&&wt===void 0||U(wt)))return v(Nt)||(Nt=function(lE,Il){if(typeof Id=="function"&&(Il=Id.call(this,lE,Il)),!U(Il))return Il}),ce[1]=Nt,G.apply(null,ce)}})}P[ct][bt]||ot(P[ct],bt,P[ct].valueOf),oe(P,dt),St[Z]=!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],v=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(v&&!a)return!0;var g={length:-1};v?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,v,y;[].keys&&(y=[].keys(),"next"in y?(v=a(a(y)),v!==Object.prototype&&(m=v)):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(v){return c(h,v)||(d&&c(p,v)?h[v]=p[v]:h[v]=m("Symbol."+v)),h[v]}}),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,v=p==2,y=p==3,_=p==4,g=p==6,b=p==5||g;return function(E,k,I,D){for(var C=c(E),R=l(C),j=a(k,I,3),M=u(R.length),H=0,z=D||d,ot=m?z(E,M):v?z(E,0):void 0,W,Q;M>H;H++)if((b||H in R)&&(W=R[H],Q=j(W,H,C),p)){if(m)ot[H]=Q;else if(Q)switch(p){case 3:return!0;case 5:return W;case 6:return H;case 2:f.call(ot,W)}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(v){return f?d.apply(this,arguments)||0:l(this,v,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=[],v;for(v in h)!a(u,v)&&a(h,v)&&m.push(v);for(;f.length>p;)a(h,v=f[p++])&&(~c(m,v)||m.push(v));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,v){a(p);var y=l(h),_=c(y),g=u(y.length),b=f?g-1:0,E=f?-1:1;if(m<2)for(;;){if(b in _){v=_[b],b+=E;break}if(b+=E,f?b<0:g<=b)throw TypeError("Reduce of empty array with no initial value")}for(;f?b>=0:g>b;b+=E)b in _&&(v=p(v,_[b],b,y));return v}};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"),v=(function(){return/./[m]?/./[m]("a","$0")==="":!1})(),y=!l(function(){var _=/(?:)/,g=_.exec;_.exec=function(){return g.apply(this,arguments)};var b="ab".split(_);return b.length!==2||b[0]!=="a"||b[1]!=="b"});i.exports=function(_,g,b,E){var k=c(_),I=!l(function(){var H={};return H[k]=function(){return 7},""[_](H)!=7}),D=I&&!l(function(){var H=!1,z=/a/;return _==="split"&&(z={},z.constructor={},z.constructor[f]=function(){return z},z.flags="",z[k]=/./[k]),z.exec=function(){return H=!0,null},z[k](""),!H});if(!I||!D||_==="replace"&&!(h&&p&&!v)||_==="split"&&!y){var C=/./[k],R=b(k,""[_],function(H,z,ot,W,Q){return z.exec===u?I&&!Q?{done:!0,value:C.call(z,ot,W)}:{done:!0,value:H.call(ot,z,W)}:{done:!1}},{REPLACE_KEEPS_$0:p,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:v}),j=R[0],M=R[1];a(String.prototype,_,j),a(RegExp.prototype,k,g==2?function(H,z){return M.call(H,this,z)}:function(H){return M.call(H,this)})}E&&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),v=d.f,y=c(m),_={},g=0,b,E;y.length>g;)E=v(m,b=y[g++]),E!==void 0&&f(_,b,E);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 v=a[m],y=v&&v.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={},v=function(){var k=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),I=this instanceof v?new p(k):k===void 0?p():p(k);return k===""&&(m[I]=!0),I};h(v,p);var y=v.prototype=p.prototype;y.constructor=v;var _=y.toString,g=String(p("test"))=="Symbol(test)",b=/^Symbol\((.*)\)[^)]+$/;f(y,"description",{configurable:!0,get:function(){var k=d(this)?this.valueOf():this,I=_.call(k);if(u(m,k))return"";var D=g?I.slice(7,-1):I.replace(b,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:v})}}),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,v){h(this,{type:f,target:a(m),index:0,kind:v})},function(){var m=p(this),v=m.target,y=m.kind,_=m.index++;return!v||_>=v.length?(m.target=void 0,{value:void 0,done:!0}):y=="keys"?{value:_,done:!1}:y=="values"?{value:v[_],done:!1}:{value:[_,v[_]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")}),e439:(function(i,r,o){var a=o("23e7"),l=o("d039"),c=o("fc6a"),u=o("06cf").f,d=o("83ab"),f=l(function(){u(1)}),h=!d||f;a({target:"Object",stat:!0,forced:h,sham:!d},{getOwnPropertyDescriptor:function(m,v){return u(c(m),v)}})}),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,v=0;v<h.length;v++){var y=h[v];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,v;return h===void 0?"Undefined":h===null?"Null":typeof(m=f(p=Object(h),u))=="string"?m:d?l(p):(v=l(p))=="Object"&&typeof p.callee=="function"?"Arguments":v}}),f772:(function(i,r,o){var a=o("5692"),l=o("90e3"),c=a("keys");i.exports=function(u){return c[u]||(c[u]=l(u))}}),fb15:(function(i,r,o){if(o.r(r),typeof window<"u"){var a=window.document.currentScript;{var l=o("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(o.p=c[1])}o("99af"),o("4de4"),o("4160"),o("c975"),o("d81d"),o("a434"),o("159b"),o("a4d3"),o("e439"),o("dbb4"),o("b64b");function u(U,B,X){return B in U?Object.defineProperty(U,B,{value:X,enumerable:!0,configurable:!0,writable:!0}):U[B]=X,U}function d(U,B){var X=Object.keys(U);if(Object.getOwnPropertySymbols){var at=Object.getOwnPropertySymbols(U);B&&(at=at.filter(function(mt){return Object.getOwnPropertyDescriptor(U,mt).enumerable})),X.push.apply(X,at)}return X}function f(U){for(var B=1;B<arguments.length;B++){var X=arguments[B]!=null?arguments[B]:{};B%2?d(Object(X),!0).forEach(function(at){u(U,at,X[at])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(X)):d(Object(X)).forEach(function(at){Object.defineProperty(U,at,Object.getOwnPropertyDescriptor(X,at))})}return U}function h(U){if(Array.isArray(U))return U}o("e01a"),o("d28b"),o("e260"),o("d3b7"),o("3ca3"),o("ddb0");function p(U,B){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(U)))){var X=[],at=!0,mt=!1,At=void 0;try{for(var Vt=U[Symbol.iterator](),Ft;!(at=(Ft=Vt.next()).done)&&(X.push(Ft.value),!(B&&X.length===B));at=!0);}catch(he){mt=!0,At=he}finally{try{!at&&Vt.return!=null&&Vt.return()}finally{if(mt)throw At}}return X}}o("a630"),o("fb6a"),o("b0c0"),o("25f0");function m(U,B){(B==null||B>U.length)&&(B=U.length);for(var X=0,at=new Array(B);X<B;X++)at[X]=U[X];return at}function v(U,B){if(U){if(typeof U=="string")return m(U,B);var X=Object.prototype.toString.call(U).slice(8,-1);if(X==="Object"&&U.constructor&&(X=U.constructor.name),X==="Map"||X==="Set")return Array.from(U);if(X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X))return m(U,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 _(U,B){return h(U)||p(U,B)||v(U,B)||y()}function g(U){if(Array.isArray(U))return m(U)}function b(U){if(typeof Symbol<"u"&&Symbol.iterator in Object(U))return Array.from(U)}function E(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(U){return g(U)||b(U)||v(U)||E()}var I=o("a352"),D=o.n(I);function C(U){U.parentElement!==null&&U.parentElement.removeChild(U)}function R(U,B,X){var at=X===0?U.children[0]:U.children[X-1].nextSibling;U.insertBefore(B,at)}var j=o("dbf1");o("13d5"),o("4fad"),o("ac1f"),o("5319");function M(U){var B=Object.create(null);return function(at){var mt=B[at];return mt||(B[at]=U(at))}}var H=/-(\w)/g,z=M(function(U){return U.replace(H,function(B,X){return X.toUpperCase()})});o("5db7"),o("73d9");var ot=["Start","Add","Remove","Update","End"],W=["Choose","Unchoose","Sort","Filter","Clone"],Q=["Move"],it=[Q,ot,W].flatMap(function(U){return U}).map(function(U){return"on".concat(U)}),St={manage:Q,manageAndEmit:ot,emit:W};function qt(U){return it.indexOf(U)!==-1}o("caad"),o("2ca0");var xt=["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 Lt(U){return xt.includes(U)}function re(U){return["transition-group","TransitionGroup"].includes(U)}function oe(U){return["id","class","role","style"].includes(U)||U.startsWith("data-")||U.startsWith("aria-")||U.startsWith("on")}function ae(U){return U.reduce(function(B,X){var at=_(X,2),mt=at[0],At=at[1];return B[mt]=At,B},{})}function Wt(U){var B=U.$attrs,X=U.componentData,at=X===void 0?{}:X,mt=ae(Object.entries(B).filter(function(At){var Vt=_(At,2),Ft=Vt[0];return Vt[1],oe(Ft)}));return f(f({},mt),at)}function Z(U){var B=U.$attrs,X=U.callBackBuilder,at=ae(dt(B));Object.entries(X).forEach(function(At){var Vt=_(At,2),Ft=Vt[0],he=Vt[1];St[Ft].forEach(function(Rt){at["on".concat(Rt)]=he(Rt)})});var mt="[data-draggable]".concat(at.draggable||"");return f(f({},at),{},{draggable:mt})}function dt(U){return Object.entries(U).filter(function(B){var X=_(B,2),at=X[0];return X[1],!oe(at)}).map(function(B){var X=_(B,2),at=X[0],mt=X[1];return[z(at),mt]}).filter(function(B){var X=_(B,2),at=X[0];return X[1],!qt(at)})}o("c740");function ct(U,B){if(!(U instanceof B))throw new TypeError("Cannot call a class as a function")}function bt(U,B){for(var X=0;X<B.length;X++){var at=B[X];at.enumerable=at.enumerable||!1,at.configurable=!0,"value"in at&&(at.writable=!0),Object.defineProperty(U,at.key,at)}}function Pt(U,B,X){return B&&bt(U.prototype,B),U}var Yt=function(B){var X=B.el;return X},A=function(B,X){return B.__draggable_context=X},P=function(B){return B.__draggable_context},G=(function(){function U(B){var X=B.nodes,at=X.header,mt=X.default,At=X.footer,Vt=B.root,Ft=B.realList;ct(this,U),this.defaultNodes=mt,this.children=[].concat(k(at),k(mt),k(At)),this.externalComponent=Vt.externalComponent,this.rootTransition=Vt.transition,this.tag=Vt.tag,this.realList=Ft}return Pt(U,[{key:"render",value:function(X,at){var mt=this.tag,At=this.children,Vt=this._isRootComponent,Ft=Vt?{default:function(){return At}}:At;return X(mt,at,Ft)}},{key:"updated",value:function(){var X=this.defaultNodes,at=this.realList;X.forEach(function(mt,At){A(Yt(mt),{element:at[At],index:At})})}},{key:"getUnderlyingVm",value:function(X){return P(X)}},{key:"getVmIndexFromDomIndex",value:function(X,at){var mt=this.defaultNodes,At=mt.length,Vt=at.children,Ft=Vt.item(X);if(Ft===null)return At;var he=P(Ft);if(he)return he.index;if(At===0)return 0;var Rt=Yt(mt[0]),wt=k(Vt).findIndex(function(Nt){return Nt===Rt});return X<wt?0:At}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),U})(),st=o("8bbf");function J(U,B){var X=U[B];return X?X():[]}function T(U){var B=U.$slots,X=U.realList,at=U.getKey,mt=X||[],At=["header","footer"].map(function(Nt){return J(B,Nt)}),Vt=_(At,2),Ft=Vt[0],he=Vt[1],Rt=B.item;if(!Rt)throw new Error("draggable element must have an item slot");var wt=mt.flatMap(function(Nt,se){return Rt({element:Nt,index:se}).map(function(ce){return ce.key=at(Nt),ce.props=f(f({},ce.props||{}),{},{"data-draggable":!0}),ce})});if(wt.length!==mt.length)throw new Error("Item slot must have only one child");return{header:Ft,footer:he,default:wt}}function x(U){var B=re(U),X=!Lt(U)&&!B;return{transition:B,externalComponent:X,tag:X?Object(st.resolveComponent)(U):B?st.TransitionGroup:U}}function V(U){var B=U.$slots,X=U.tag,at=U.realList,mt=U.getKey,At=T({$slots:B,realList:at,getKey:mt}),Vt=x(X);return new G({nodes:At,root:Vt,realList:at})}function K(U,B){var X=this;Object(st.nextTick)(function(){return X.$emit(U.toLowerCase(),B)})}function tt(U){var B=this;return function(X,at){if(B.realList!==null)return B["onDrag".concat(U)](X,at)}}function lt(U){var B=this,X=tt.call(this,U);return function(at,mt){X.call(B,at,mt),K.call(B,U,at)}}var $=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(St.manageAndEmit),k(St.emit)).map(function(U){return U.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,X=this.$attrs,at=this.tag,mt=this.componentData,At=this.realList,Vt=this.getKey,Ft=V({$slots:B,tag:at,realList:At,getKey:Vt});this.componentStructure=Ft;var he=Wt({$attrs:X,componentData:mt});return Ft.render(st.h,he)}catch(Rt){return this.error=!0,Object(st.h)("pre",{style:{color:"red"}},Rt.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 X=this.$attrs,at=this.$el,mt=this.componentStructure;mt.updated();var At=Z({$attrs:X,callBackBuilder:{manageAndEmit:function(he){return lt.call(B,he)},emit:function(he){return K.bind(B,he)},manage:function(he){return tt.call(B,he)}}}),Vt=at.nodeType===1?at:at.parentElement;this._sortable=new D.a(Vt,At),this.targetDomElement=Vt,Vt.__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(X){return X[B]}}},watch:{$attrs:{handler:function(B){var X=this._sortable;X&&dt(B).forEach(function(at){var mt=_(at,2),At=mt[0],Vt=mt[1];X.option(At,Vt)})},deep:!0}},methods:{getUnderlyingVm:function(B){return this.componentStructure.getUnderlyingVm(B)||null},getUnderlyingPotencialDraggableComponent:function(B){return B.__draggable_component__},emitChanges:function(B){var X=this;Object(st.nextTick)(function(){return X.$emit("change",B)})},alterList:function(B){if(this.list){B(this.list);return}var X=k(this.modelValue);B(X),this.$emit("update:modelValue",X)},spliceList:function(){var B=arguments,X=function(mt){return mt.splice.apply(mt,k(B))};this.alterList(X)},updatePosition:function(B,X){var at=function(At){return At.splice(X,0,At.splice(B,1)[0])};this.alterList(at)},getRelatedContextFromMoveEvent:function(B){var X=B.to,at=B.related,mt=this.getUnderlyingPotencialDraggableComponent(X);if(!mt)return{component:mt};var At=mt.realList,Vt={list:At,component:mt};if(X!==at&&At){var Ft=mt.getUnderlyingVm(at)||{};return f(f({},Ft),Vt)}return Vt},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),$=B.item},onDragAdd:function(B){var X=B.item._underlying_vm_;if(X!==void 0){C(B.item);var at=this.getVmIndexFromDomIndex(B.newIndex);this.spliceList(at,0,X);var mt={element:X,newIndex:at};this.emitChanges({added:mt})}},onDragRemove:function(B){if(R(this.$el,B.item,B.oldIndex),B.pullMode==="clone"){C(B.clone);return}var X=this.context,at=X.index,mt=X.element;this.spliceList(at,1);var At={element:mt,oldIndex:at};this.emitChanges({removed:At})},onDragUpdate:function(B){C(B.item),R(B.from,B.item,B.oldIndex);var X=this.context.index,at=this.getVmIndexFromDomIndex(B.newIndex);this.updatePosition(X,at);var mt={element:this.context.element,oldIndex:X,newIndex:at};this.emitChanges({moved:mt})},computeFutureIndex:function(B,X){if(!B.element)return 0;var at=k(X.to.children).filter(function(Ft){return Ft.style.display!=="none"}),mt=at.indexOf(X.related),At=B.component.getVmIndexFromDomIndex(mt),Vt=at.indexOf($)!==-1;return Vt||!X.willInsertAfter?At:At+1},onDragMove:function(B,X){var at=this.move,mt=this.realList;if(!at||!mt)return!0;var At=this.getRelatedContextFromMoveEvent(B),Vt=this.computeFutureIndex(At,B),Ft=f(f({},this.context),{},{futureIndex:Vt}),he=f(f({},B),{},{relatedContext:At,draggedContext:Ft});return at(he,X)},onDragEnd:function(){$=null}}}),Kt=Et;r.default=Kt}),fb6a:(function(i,r,o){var a=o("23e7"),l=o("861d"),c=o("e8b5"),u=o("23cb"),d=o("50c4"),f=o("fc6a"),h=o("8418"),p=o("b622"),m=o("1dde"),v=o("ae40"),y=m("slice"),_=v("slice",{ACCESSORS:!0,0:0,1:2}),g=p("species"),b=[].slice,E=Math.max;a({target:"Array",proto:!0,forced:!y||!_},{slice:function(I,D){var C=f(this),R=d(C.length),j=u(I,R),M=u(D===void 0?R:D,R),H,z,ot;if(c(C)&&(H=C.constructor,typeof H=="function"&&(H===Array||c(H.prototype))?H=void 0:l(H)&&(H=H[g],H===null&&(H=void 0)),H===Array||H===void 0))return b.call(C,j,M);for(z=new(H===void 0?Array:H)(E(M-j,0)),ot=0;j<M;j++,ot++)j in C&&h(z,ot,C[j]);return z.length=ot,z}})}),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})})(Ac)),Ac.exports}var KU=GU();const qU=Np(KU),zU={name:"PageQueue",components:{ContentWithHeading:ee,ControlButton:fn,ListItemQueueItem:Z9,ModalDialogAddStream:tU,ModalDialogPlaylistSave:oU,ModalDialogQueueItem:KS,PaneTitle:ne,draggable:qU},setup(){return{configurationStore:Ko(),playerStore:qn(),queueStore:Us(),uiStore:ss()}},data(){return{editing:!1,selectedItem:{},showAddStreamDialog:!1,showDetailsModal:!1,showSaveModal:!1}},computed:{currentPosition(){return this.queueStore.current?.position??-1},heading(){return{subtitle:[{count:this.queueStore.count,key:"data.tracks"}],title:this.$t("page.queue.title")}},items:{get(){return this.queueStore.items},set(){}}},methods:{clearQueue(){ue.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&&ue.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){ue.remove(t.id)},toggleEdit(){this.editing=!this.editing}}},XU=["onClick"],YU=["onClick"];function ZU(t,e,n,s,i,r){const o=w("pane-title"),a=w("control-button"),l=w("mdicon"),c=w("list-item-queue-item"),u=w("draggable"),d=w("content-with-heading"),f=w("modal-dialog-queue-item"),h=w("modal-dialog-add-stream"),p=w("modal-dialog-playlist-save");return O(),F(rt,null,[S(d,null,{heading:L(()=>[S(o,{content:r.heading},null,8,["content"])]),actions:L(()=>[S(a,{button:{handler:s.uiStore.toggleHideReadItems,icon:"eye-off-outline",key:"actions.hide-previous"},class:Gt({"is-dark":s.uiStore.hideReadItems})},null,8,["button","class"]),S(a,{button:{handler:r.openAddStreamDialog,icon:"web",key:"actions.add-stream"}},null,8,["button"]),S(a,{button:{handler:r.toggleEdit,icon:"pencil",key:"actions.edit"},class:Gt({"is-dark":i.editing}),disabled:s.queueStore.isEmpty},null,8,["button","class","disabled"]),S(a,{button:{handler:r.clearQueue,icon:"delete-empty",key:"actions.clear"},disabled:s.queueStore.isEmpty},null,8,["button","disabled"]),s.queueStore.isSavingAllowed?(O(),pt(a,{key:0,button:{handler:r.openSaveDialog,icon:"download",key:"actions.save"},disabled:s.queueStore.isEmpty},null,8,["button","disabled"])):vt("",!0)]),content:L(()=>[S(u,{modelValue:r.items,"onUpdate:modelValue":e[0]||(e[0]=m=>r.items=m),disabled:!i.editing,"item-key":"id",onEnd:r.moveItem},{item:L(({element:m,index:v})=>[S(c,{item:m,position:v,"current-position":r.currentPosition,"hide-read-items":s.uiStore.hideReadItems,editing:i.editing},{actions:L(()=>[i.editing?vt("",!0):(O(),F("a",{key:0,onClick:Kn(y=>r.openDetails(m),["prevent","stop"])},[S(l,{class:"icon has-text-grey",name:"dots-vertical",size:"16"})],8,XU)),r.isRemovable(m)?(O(),F("a",{key:1,onClick:Kn(y=>r.remove(m),["prevent","stop"])},[S(l,{class:"icon has-text-grey",name:"delete",size:"18"})],8,YU)):vt("",!0)]),_:2},1032,["item","position","current-position","hide-read-items","editing"])]),_:1},8,["modelValue","disabled","onEnd"])]),_:1}),S(f,{show:i.showDetailsModal,item:i.selectedItem,onClose:e[1]||(e[1]=m=>i.showDetailsModal=!1)},null,8,["show","item"]),S(h,{show:i.showAddStreamDialog,onClose:e[2]||(e[2]=m=>i.showAddStreamDialog=!1)},null,8,["show"]),s.queueStore.isSavingAllowed?(O(),pt(p,{key:0,show:i.showSaveModal,onClose:e[3]||(e[3]=m=>i.showSaveModal=!1)},null,8,["show"])):vt("",!0)],64)}const JU=et(zU,[["render",ZU]]),QU={name:"PageRadioStreams",components:{ContentWithHeading:ee,ListIndexButtons:Es,ListTracks:is,PaneTitle:ne},beforeRouteEnter(t,e,n){Tt.radioStreams().then(s=>{n(i=>{i.tracks=new Ct(s,{index:{field:"title_sort",type:String}})})})},data(){return{tracks:new Ct}},computed:{heading(){return{subtitle:[{count:this.tracks.total,key:"data.stations"}],title:this.$t("page.radio.title")}}}};function t7(t,e,n,s,i,r){const o=w("list-index-buttons"),a=w("pane-title"),l=w("list-tracks"),c=w("content-with-heading");return O(),pt(c,null,{options:L(()=>[S(o,{indices:i.tracks.indices},null,8,["indices"])]),heading:L(()=>[S(a,{content:r.heading},null,8,["content"])]),content:L(()=>[S(l,{items:i.tracks},null,8,["items"])]),_:1})}const e7=et(QU,[["render",t7]]),n7={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:ns()}}},s7={key:0},i7={class:"container"},r7={class:"columns is-centered"},o7={class:"column is-four-fifths"},a7={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},l7=["textContent"],c7=["textContent"];function u7(t,e,n,s,i,r){const o=w("mdicon");return s.servicesStore.isSpotifyActive?(O(),F("section",s7,[N("div",i7,[N("div",r7,[N("div",o7,[N("div",a7,[N("ul",null,[N("li",{class:Gt({"is-active":t.$route.name==="search-library"})},[N("a",{onClick:e[0]||(e[0]=a=>t.$emit("search-library"))},[S(o,{class:"icon is-small",name:"bookshelf",size:"16"}),N("span",{textContent:nt(t.$t("page.search.tabs.library"))},null,8,l7)])],2),N("li",{class:Gt({"is-active":t.$route.name==="search-spotify"})},[N("a",{onClick:e[1]||(e[1]=a=>t.$emit("search-spotify"))},[S(o,{class:"icon is-small",name:"spotify",size:"16"}),N("span",{textContent:nt(t.$t("page.search.tabs.spotify"))},null,8,c7)])],2)])])])])])])):vt("",!0)}const d7=et(n7,[["render",u7]]),f7={name:"ContentWithSearch",components:{ContentWithHeading:ee,ControlButton:fn,PaneTitle:ne,TabsSearch:d7},props:{components:{default:null,type:Object},expanded:{default:!1,type:Boolean},getItems:{default:null,type:Function},history:{default:null,type:Array},load:{default:null,type:Function},results:{default:null,type:Object}},emits:["expand","search","search-library","search-query","search-spotify"],setup(){return{searchStore:Zu()}}},h7={class:"section pb-0"},p7={class:"container"},m7={class:"columns is-centered"},g7={class:"column is-four-fifths"},y7={class:"field"},b7={class:"control has-icons-left"},v7=["placeholder"],_7={class:"field is-grouped is-grouped-multiline mt-4"},S7={class:"tags has-addons"},E7=["onClick","textContent"],w7=["onClick"],k7={key:1,class:"has-text-centered-mobile"},C7=["textContent"];function T7(t,e,n,s,i,r){const o=w("mdicon"),a=w("tabs-search"),l=w("pane-title"),c=w("control-button"),u=w("content-with-heading");return O(),F(rt,null,[N("section",h7,[N("div",p7,[N("div",m7,[N("div",g7,[N("form",{onSubmit:e[1]||(e[1]=Kn(d=>t.$emit("search"),["prevent"]))},[N("div",y7,[N("div",b7,[bs(N("input",{"onUpdate:modelValue":e[0]||(e[0]=d=>s.searchStore.query=d),class:"input is-rounded",type:"text",placeholder:t.$t("page.search.placeholder"),autocomplete:"off"},null,8,v7),[[si,s.searchStore.query]]),S(o,{class:"icon is-left",name:"magnify",size:"16"})]),de(t.$slots,"help")])],32),N("div",_7,[(O(!0),F(rt,null,fe(n.history,d=>(O(),F("div",{key:d,class:"control"},[N("div",S7,[N("a",{class:"tag",onClick:f=>t.$emit("search-query",d),textContent:nt(d)},null,8,E7),N("a",{class:"tag is-delete",onClick:f=>s.searchStore.remove(d)},null,8,w7)])]))),128))])])])])]),S(a,{onSearchLibrary:e[2]||(e[2]=d=>t.$emit("search-library")),onSearchSpotify:e[3]||(e[3]=d=>t.$emit("search-spotify"))}),(O(!0),F(rt,null,fe(n.results,([d,f])=>(O(),pt(u,{key:d},fl({heading:L(()=>[S(l,{content:{title:t.$t(`page.search.${d}s`)}},null,8,["content"])]),content:L(()=>[(O(),pt(np(n.components[d]),{items:n.getItems(f),load:n.load},null,8,["items","load"]))]),_:2},[n.expanded?void 0:{name:"footer",fn:L(()=>[f.total?(O(),pt(c,{key:0,button:{handler:()=>t.$emit("expand",d),title:t.$t(`page.search.show-${d}s`,{count:t.$n(f.total)},f.total)}},null,8,["button"])):(O(),F("div",k7,[N("i",{textContent:nt(t.$t("page.search.no-results"))},null,8,C7)]))]),key:"0"}]),1024))),128))],64)}const rE=et(f7,[["render",T7]]),Jb=3,Qb=["track","artist","album","composer","playlist","audiobook","podcast"],A7={name:"PageSearchLibrary",components:{ContentWithSearch:rE},setup(){return{components:{album:gs,audiobook:gs,artist:Sm,composer:BS,playlist:Cm,podcast:gs,track:is},searchStore:Zu()}},data(){return{limit:Jb,results:new Map,types:Qb}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history}},mounted(){this.search()},methods:{expand(t){this.search([t],-1)},getItems(t){return t},openSearch(t){this.searchStore.query=t,this.search()},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,new Ct)})},search(t=Qb,e=Jb){this.searchStore.query&&(this.types=t,this.limit=e,this.searchStore.query=this.searchStore.query.trim(),this.reset(),this.types.forEach(n=>{this.searchItems(n)}),this.searchStore.add(this.searchStore.query))},searchItems(t){const e=t!=="audiobook"&&t!=="podcast",n=e&&"music"||t,s={limit:this.limit,type:e&&t||"album"};this.searchStore.query.startsWith("query:")?s.expression=`(${this.searchStore.query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:e?(s.query=this.searchStore.query,s.media_kind=n):s.expression=`(album includes "${this.searchStore.query}" or artist includes "${this.searchStore.query}") and media_kind is ${n}`,Tt.search(s).then(i=>{this.results.set(t,new Ct(i[`${s.type}s`]))})},searchSpotify(){this.$router.push({name:"search-spotify"})}}},O7=["textContent"];function x7(t,e,n,s,i,r){const o=w("i18n-t"),a=w("content-with-search");return O(),pt(a,{components:s.components,expanded:r.expanded,"get-items":r.getItems,history:r.history,results:i.results,onSearch:r.search,onSearchLibrary:r.search,onSearchQuery:r.openSearch,onSearchSpotify:r.searchSpotify,onExpand:r.expand},{help:L(()=>[S(o,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:L(()=>[...e[0]||(e[0]=[N("code",null,"query:",-1)])]),help:L(()=>[N("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:nt(t.$t("page.search.expression"))},null,8,O7)]),_:1})]),_:1},8,["components","expanded","get-items","history","results","onSearch","onSearchLibrary","onSearchQuery","onSearchSpotify","onExpand"])}const I7=et(A7,[["render",x7]]),N7=3,xf=50,tv=["track","artist","album","playlist"],P7={name:"PageSearchSpotify",components:{ContentWithSearch:rE},setup(){return{components:{album:Ad,artist:Tm,playlist:Am,track:vm},searchStore:Zu()}},data(){return{parameters:{},results:new Map,types:tv}},computed:{expanded(){return this.types.length===1},history(){return this.searchStore.history.filter(t=>!t.startsWith("query:"))}},mounted(){this.search()},methods:{expand(t){this.search([t],xf)},getItems(t){return t.items},openSearch(t){this.searchStore.query=t,this.search()},reset(){this.results.clear(),this.types.forEach(t=>{this.results.set(t,{items:[],total:0})})},search(t=tv,e=N7,n=0){this.searchStore.query&&(this.types=t,this.parameters.limit=e,this.parameters.offset=n,this.searchStore.query=this.searchStore.query.trim(),this.reset(),this.searchItems().then(s=>{this.types.forEach(i=>{this.results.set(i,s[`${i}s`])})}),this.searchStore.add(this.searchStore.query))},searchItems(){return Tn.spotify().then(({api:t,configuration:e})=>t.search(this.searchStore.query,this.types,e.webapi_country,this.parameters.limit,this.parameters.offset))},searchLibrary(){this.$router.push({name:"search-library"})},searchNext({loaded:t}){const e=this.results.get(this.types[0]);this.parameters.limit=xf,this.searchItems().then(n=>{const[s]=Object.values(n);e.items.push(...s.items),this.parameters.offset+=s.items.length;const i=Number(s.next&&1e3-this.parameters.offset);t(i,xf)})}}};function R7(t,e,n,s,i,r){const o=w("content-with-search");return O(),pt(o,{components:s.components,expanded:r.expanded,"get-items":r.getItems,history:r.history,load:r.expanded&&r.searchNext||null,results:i.results,onSearch:r.search,onSearchLibrary:r.searchLibrary,onSearchQuery:r.openSearch,onSearchSpotify:r.search,onExpand:r.expand},null,8,["components","expanded","get-items","history","load","results","onSearch","onSearchLibrary","onSearchQuery","onSearchSpotify","onExpand"])}const D7=et(P7,[["render",R7]]),L7={name:"ControlSetting",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:ii()}},data(){return{timerDelay:2e3,timerId:-1}},computed:{isError(){return this.timerId===-2},isSuccess(){return this.timerId>=0},label(){return this.$t(`settings.${this.category}.${this.name.replace(/_/gu,"-")}`)},setting(){return this.settingsStore.get(this.category,this.name)}},methods:{update(t,e){const n=e?.(t.target);if(n===this.setting.value)return;const s={category:this.category,name:this.name,value:n};g_.update(s).then(()=>{window.clearTimeout(this.timerId),this.settingsStore.update(s)}).catch(()=>{this.timerId=-2}).finally(()=>{this.timerId=window.setTimeout(()=>{this.timerId=-1},this.timerDelay)})}}},M7=["disabled"],$7={key:0,class:"label has-text-weight-normal"},F7={key:1,class:"help mb-4"};function V7(t,e,n,s,i,r){const o=w("mdicon");return O(),F("fieldset",{disabled:n.disabled,class:"field"},[t.$slots.label?(O(),F("label",$7,[de(t.$slots,"label")])):vt("",!0),N("div",{class:Gt(["control",{"has-icons-right":r.isSuccess||r.isError}])},[de(t.$slots,"input",{label:r.label,setting:r.setting,update:r.update}),t.$slots.label&&(r.isSuccess||r.isError)?(O(),pt(o,{key:0,class:"icon is-right",name:r.isSuccess?"check":"close",size:"16"},null,8,["name"])):vt("",!0)],2),t.$slots.help?(O(),F("div",F7,[de(t.$slots,"help")])):vt("",!0)],8,M7)}const Pm=et(L7,[["render",V7]]),U7={name:"ControlSettingSwitch",components:{ControlSetting:Pm,ControlSwitch:Gr},props:{category:{required:!0,type:String},disabled:{default:!1,type:Boolean},name:{required:!0,type:String}},methods:{sanitise(t){return t.checked}}},H7=["textContent"];function j7(t,e,n,s,i,r){const o=w("control-switch"),a=w("control-setting");return O(),pt(a,{category:n.category,disabled:n.disabled,name:n.name},fl({input:L(({label:l,setting:c,update:u})=>[S(o,{"model-value":c.value,"onUpdate:modelValue":d=>u({target:{checked:d}},r.sanitise)},{label:L(()=>[N("span",{textContent:nt(l)},null,8,H7)]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:2},[t.$slots.help?{name:"help",fn:L(()=>[de(t.$slots,"help")]),key:"0"}:void 0]),1032,["category","disabled","name"])}const oE=et(U7,[["render",j7]]),B7={name:"TabsSettings",components:{ControlTabList:_m},computed:{links(){return[{key:"page.settings.tabs.webinterface",to:{name:"settings-webinterface"}},{key:"page.settings.tabs.devices",to:{name:"settings-devices"}},{key:"page.settings.tabs.artwork",to:{name:"settings-artwork"}},{key:"page.settings.tabs.online-services",to:{name:"settings-online-services"}}]}}};function W7(t,e,n,s,i,r){const o=w("control-tab-list");return O(),pt(o,{links:r.links},null,8,["links"])}const xd=et(B7,[["render",W7]]),G7={name:"PageSettingsArtwork",components:{ContentWithHeading:ee,ControlSettingSwitch:oE,PaneTitle:ne,TabsSettings:xd},setup(){return{servicesStore:ns()}}},K7=["textContent"],q7={class:"content"},z7=["textContent"],X7={class:"content"};function Y7(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("control-setting-switch"),c=w("content-with-heading");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.artwork.title")}},null,8,["content"])]),content:L(()=>[N("div",{class:"content",textContent:nt(t.$t("settings.artwork.explanation-1"))},null,8,K7),N("div",q7,[S(l,{category:"artwork",name:"streamurl_ignore"}),S(l,{category:"artwork",name:"show_cover_artwork_in_album_lists"})]),N("div",{class:"content",textContent:nt(t.$t("settings.artwork.explanation-2"))},null,8,z7),N("div",X7,[s.servicesStore.isSpotifyActive?(O(),pt(l,{key:0,category:"artwork",name:"use_artwork_source_spotify"})):vt("",!0),S(l,{category:"artwork",name:"use_artwork_source_discogs"}),S(l,{category:"artwork",name:"use_artwork_source_coverartarchive"})])]),_:1})],64)}const Z7=et(G7,[["render",Y7]]),J7={name:"PageSettingsDevices",components:{ContentWithHeading:ee,ControlPinField:m0,ControlSwitch:Gr,PaneTitle:ne,TabsSettings:xd},setup(){return{outputsStore:Yu(),remotesStore:Op()}},data(){return{outputPin:"",remotePairingDisabled:!0,remotePin:""}},methods:{onOutputPinChange(t){this.outputPin=t},onRemotePinChange(t,e){this.remotePin=t,this.remotePairingDisabled=e},pairOutput(t){tu.update(t,{pin:this.outputPin})},pairRemote(){Ap.pair(this.remotePin)},toggleOutput(t){tu.toggle(t)}}},Q7={class:"label has-text-weight-normal content"},tH=["textContent"],eH=["textContent"],nH={class:"control"},sH=["disabled","textContent"],iH=["textContent"],rH=["textContent"],oH=["textContent"],aH=["onSubmit"],lH={class:"control"},cH=["textContent"];function uH(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("control-pin-field"),c=w("content-with-heading"),u=w("control-switch");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.devices.pairing")}},null,8,["content"])]),content:L(()=>[s.remotesStore.active?(O(),F("form",{key:0,onSubmit:e[0]||(e[0]=Kn((...d)=>r.pairRemote&&r.pairRemote(...d),["prevent"]))},[N("label",Q7,[N("span",{textContent:nt(t.$t("settings.devices.pairing-request"))},null,8,tH),N("b",{textContent:nt(s.remotesStore.remote)},null,8,eH)]),S(l,{placeholder:t.$t("dialog.remote-pairing.pairing-code"),onInput:r.onRemotePinChange},{default:L(()=>[N("div",nH,[N("button",{class:"button",type:"submit",disabled:i.remotePairingDisabled,textContent:nt(t.$t("actions.verify"))},null,8,sH)])]),_:1},8,["placeholder","onInput"])],32)):(O(),F("div",{key:1,textContent:nt(t.$t("settings.devices.no-active-pairing"))},null,8,iH))]),_:1}),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.devices.speaker-pairing")}},null,8,["content"])]),content:L(()=>[N("div",{class:"content",textContent:nt(t.$t("settings.devices.speaker-pairing-info"))},null,8,rH),(O(!0),F(rt,null,fe(s.outputsStore.outputs,d=>(O(),F("div",{key:d.id,class:"field is-grouped"},[S(u,{modelValue:d.selected,"onUpdate:modelValue":[f=>d.selected=f,f=>r.toggleOutput(d.id)]},{label:L(()=>[N("span",{textContent:nt(d.name)},null,8,oH)]),_:2},1032,["modelValue","onUpdate:modelValue"]),d.needs_auth_key?(O(),F("form",{key:0,onSubmit:Kn(f=>r.pairOutput(d.id),["prevent"])},[S(l,{placeholder:t.$t("settings.devices.verification-code"),onInput:r.onOutputPinChange},{default:L(()=>[N("div",lH,[N("button",{class:"button",type:"submit",textContent:nt(t.$t("actions.verify"))},null,8,cH)])]),_:1},8,["placeholder","onInput"])],40,aH)):vt("",!0)]))),128))]),_:1})],64)}const dH=et(J7,[["render",uH]]),fH={name:"PageSettingsOnlineServices",components:{ContentWithHeading:ee,PaneTitle:ne,TabsSettings:xd},setup(){return{servicesStore:ns()}},data(){return{lastfmCredentials:{password:"",user:""},lastfmErrors:{error:"",password:"",user:""}}},methods:{loginLastfm(){Tn.loginLastfm(this.lastfmCredentials).then(t=>{this.lastfmErrors=t.errors,this.lastfmCredentials.password="",t.success&&(this.lastfmCredentials.user="")})},logoutLastfm(){Tn.logoutLastfm()},logoutSpotify(){Tn.logoutSpotify()}}},hH={key:0},pH=["textContent"],mH=["textContent"],gH={key:0},yH=["textContent"],bH=["textContent"],vH={class:"field is-grouped mt-5"},_H={key:0,class:"control"},SH=["href","textContent"],EH={key:1,class:"control"},wH=["textContent"],kH=["textContent"],CH={key:0},TH=["textContent"],AH=["textContent"],OH={key:0},xH={class:"field is-grouped"},IH={class:"control"},NH=["placeholder"],PH=["textContent"],RH={class:"control"},DH=["placeholder"],LH=["textContent"],MH={class:"control"},$H=["textContent"],FH=["textContent"],VH={key:1},UH=["textContent"],HH=["textContent"];function jH(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("content-with-heading");return O(),F(rt,null,[S(o),S(l,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.services.spotify.title")}},null,8,["content"])]),content:L(()=>[s.servicesStore.isSpotifyEnabled?(O(),F("div",hH,[N("div",{textContent:nt(t.$t("settings.services.spotify.grant-access"))},null,8,pH),N("div",{class:"notification help",textContent:nt(t.$t("settings.services.spotify.requirements",{scopes:s.servicesStore.requiredSpotifyScopes.join(", ")}))},null,8,mH),s.servicesStore.isSpotifyActive?(O(),F("div",gH,[N("div",{textContent:nt(t.$t("settings.services.spotify.user",{user:s.servicesStore.spotify.webapi_user}))},null,8,yH),s.servicesStore.hasMissingSpotifyScopes?(O(),F("div",{key:0,class:"notification help is-danger is-light",textContent:nt(t.$t("settings.services.spotify.reauthorize",{scopes:s.servicesStore.missingSpotifyScopes.join(", ")}))},null,8,bH)):vt("",!0)])):vt("",!0),N("div",vH,[s.servicesStore.isAuthorizationRequired?(O(),F("div",_H,[N("a",{class:"button",href:s.servicesStore.spotify.oauth_uri,textContent:nt(t.$t("settings.services.spotify.authorize"))},null,8,SH)])):vt("",!0),s.servicesStore.isSpotifyActive?(O(),F("div",EH,[N("button",{class:"button is-danger",onClick:e[0]||(e[0]=(...c)=>r.logoutSpotify&&r.logoutSpotify(...c)),textContent:nt(t.$t("actions.logout"))},null,8,wH)])):vt("",!0)])])):(O(),F("div",{key:1,textContent:nt(t.$t("settings.services.spotify.no-support"))},null,8,kH))]),_:1}),S(l,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.services.lastfm.title")}},null,8,["content"])]),content:L(()=>[s.servicesStore.isLastfmEnabled?(O(),F("div",CH,[N("div",{textContent:nt(t.$t("settings.services.lastfm.grant-access"))},null,8,TH),N("div",{class:"notification help",textContent:nt(t.$t("settings.services.lastfm.info"))},null,8,AH),s.servicesStore.isLastfmActive?(O(),F("div",VH,[N("button",{class:"button is-danger",onClick:e[4]||(e[4]=(...c)=>r.logoutLastfm&&r.logoutLastfm(...c)),textContent:nt(t.$t("actions.logout"))},null,8,UH)])):(O(),F("div",OH,[N("form",{onSubmit:e[3]||(e[3]=Kn((...c)=>r.loginLastfm&&r.loginLastfm(...c),["prevent"]))},[N("div",xH,[N("div",IH,[bs(N("input",{"onUpdate:modelValue":e[1]||(e[1]=c=>i.lastfmCredentials.user=c),class:"input",type:"text",placeholder:t.$t("settings.services.username")},null,8,NH),[[si,i.lastfmCredentials.user]]),i.lastfmErrors?(O(),F("div",{key:0,class:"help is-danger",textContent:nt(i.lastfmErrors.user)},null,8,PH)):vt("",!0)]),N("div",RH,[bs(N("input",{"onUpdate:modelValue":e[2]||(e[2]=c=>i.lastfmCredentials.password=c),class:"input",type:"password",placeholder:t.$t("settings.services.password")},null,8,DH),[[si,i.lastfmCredentials.password]]),i.lastfmErrors?(O(),F("div",{key:0,class:"help is-danger",textContent:nt(i.lastfmErrors.password)},null,8,LH)):vt("",!0)]),N("div",MH,[N("button",{class:"button",type:"submit",textContent:nt(t.$t("actions.login"))},null,8,$H)])]),i.lastfmErrors?(O(),F("div",{key:0,class:"help is-danger",textContent:nt(i.lastfmErrors.error)},null,8,FH)):vt("",!0)],32)]))])):(O(),F("div",{key:1,textContent:nt(t.$t("settings.services.lastfm.no-support"))},null,8,HH))]),_:1})],64)}const BH=et(fH,[["render",jH]]),WH={name:"ControlSettingIntegerField",components:{ControlSetting:Pm},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}}},GH=["textContent"],KH=["placeholder","value","onInput"];function qH(t,e,n,s,i,r){const o=w("control-setting");return O(),pt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{input:L(({label:a,setting:l,update:c})=>[N("span",{textContent:nt(a)},null,8,GH),N("input",{class:"input",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:l.value,onInput:u=>c(u,r.sanitise)},null,40,KH)]),help:L(()=>[de(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const zH=et(WH,[["render",qH]]),XH={name:"ControlSettingTextField",components:{ControlSetting:Pm},props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},methods:{sanitise(t){return t.value}}},YH=["textContent"],ZH=["placeholder","value","onInput"];function JH(t,e,n,s,i,r){const o=w("control-setting");return O(),pt(o,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{input:L(({label:a,setting:l,update:c})=>[N("span",{textContent:nt(a)},null,8,YH),N("input",{class:"input",inputmode:"text",placeholder:n.placeholder,value:l.value,onInput:u=>c(u,r.sanitise)},null,40,ZH)]),help:L(()=>[de(t.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const QH=et(XH,[["render",JH]]),tj={name:"PageSettingsWebinterface",components:{ContentWithHeading:ee,ControlDropdown:zr,ControlSettingIntegerField:zH,ControlSettingSwitch:oE,ControlSettingTextField:QH,PaneTitle:ne,TabsSettings:xd},setup(){return{settingsStore:ii()}},computed:{appearance:{get(){return this.settingsStore.currentAppearance()},set(t){this.settingsStore.setAppearance(t)}},locale:{get(){return this.settingsStore.currentLocale()},set(t){this.settingsStore.setLocale(t)}}}},ej=["textContent"],nj=["textContent"];function sj(t,e,n,s,i,r){const o=w("tabs-settings"),a=w("pane-title"),l=w("control-dropdown"),c=w("content-with-heading"),u=w("control-setting-switch"),d=w("i18n-t"),f=w("control-setting-text-field"),h=w("control-setting-integer-field");return O(),F(rt,null,[S(o),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.webinterface.language")}},null,8,["content"])]),content:L(()=>[S(l,{value:r.locale,"onUpdate:value":e[0]||(e[0]=p=>r.locale=p),options:s.settingsStore.locales},null,8,["value","options"])]),_:1}),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.appearance.title")}},null,8,["content"])]),content:L(()=>[S(l,{value:r.appearance,"onUpdate:value":e[1]||(e[1]=p=>r.appearance=p),options:s.settingsStore.appearances},null,8,["value","options"])]),_:1}),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.webinterface.navigation-items")}},null,8,["content"])]),content:L(()=>[N("div",{textContent:nt(t.$t("settings.webinterface.navigation-item-selection"))},null,8,ej),N("div",{class:"notification is-size-7",textContent:nt(t.$t("settings.webinterface.navigation-item-selection-info"))},null,8,nj),S(u,{category:"webinterface",name:"show_menu_item_playlists"}),S(u,{category:"webinterface",name:"show_menu_item_music"}),S(u,{category:"webinterface",name:"show_menu_item_podcasts"}),S(u,{category:"webinterface",name:"show_menu_item_audiobooks"}),S(u,{category:"webinterface",name:"show_menu_item_radio"}),S(u,{category:"webinterface",name:"show_menu_item_files"}),S(u,{category:"webinterface",name:"show_menu_item_search"})]),_:1}),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.webinterface.player-page")}},null,8,["content"])]),content:L(()=>[S(u,{category:"webinterface",name:"show_filepath_now_playing"}),S(u,{category:"webinterface",name:"show_composer_now_playing"}),S(f,{category:"webinterface",name:"show_composer_for_genre",disabled:!s.settingsStore.showComposerNowPlaying,placeholder:t.$t("settings.webinterface.genres")},{help:L(()=>[S(d,{tag:"p",class:"help",keypath:"settings.webinterface.show-composer-genres-help",scope:"global"},{default:L(()=>[de(t.$slots,"default",{},()=>[e[2]||(e[2]=N("br",null,null,-1))])]),_:3})]),_:3},8,["disabled","placeholder"])]),_:3}),S(c,null,{heading:L(()=>[S(a,{content:{title:t.$t("settings.webinterface.recently-added-page")}},null,8,["content"])]),content:L(()=>[S(h,{category:"webinterface",name:"recently_added_limit"})]),_:1})],64)}const ij=et(tj,[["render",sj]]),ev=100,rj=I$({history:l$(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:d5,name:"about",path:"/about"},{component:O8,name:"music-album",path:"/music/albums/:id"},{component:Q8,name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:M6,name:"music-albums",path:"/music/albums"},{component:B6,name:"music-artist",path:"/music/artists/:id"},{component:Y6,name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:uF,name:"music-artists",path:"/music/artists"},{component:eF,name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:hF,name:"audiobook-album",path:"/audiobook/albums/:id"},{component:bF,name:"audiobook-albums",path:"/audiobook/albums"},{component:SF,name:"audiobook-artist",path:"/audiobook/artists/:id"},{component:kF,name:"audiobook-artists",path:"/audiobook/artists"},{component:NF,name:"audiobook-genres",path:"/audiobook/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobook-artists"}},{component:qV,name:"outputs",path:"/outputs"},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:_V,name:"music-history",path:"/music/history"},{component:wV,name:"music-recently-added",path:"/music/recently-added"},{component:TV,name:"music-recently-played",path:"/music/recently-played"},{component:LV,name:"music-spotify",path:"/music/spotify"},{component:FV,name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:HV,name:"music-spotify-followed-artists",path:"/music/spotify/followed-artists"},{component:WV,name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:MF,name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:VF,name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:WF,name:"music-composers",path:"/music/composers"},{component:lV,name:"files",path:"/files"},{component:dV,name:"genre-albums",path:"/genres/:name/albums"},{component:pV,name:"genre-tracks",path:"/genres/:name/tracks"},{component:yV,name:"music-genres",path:"/music/genres"},{component:b9,name:"player",path:"/player"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:S9,name:"playlist-folder",path:"/playlists/:id"},{component:k9,name:"playlist",path:"/playlists/:id/tracks"},{component:A9,name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:I9,name:"podcast",path:"/podcasts/:id"},{component:j9,name:"podcasts",path:"/podcasts"},{component:e7,name:"radio",path:"/radio"},{component:JU,name:"queue",path:"/"},{component:I7,name:"search-library",path:"/search/library"},{component:D7,name:"search-spotify",path:"/search/spotify"},{component:ij,name:"settings-webinterface",path:"/settings/webinterface"},{component:Z7,name:"settings-artwork",path:"/settings/artwork"},{component:BH,name:"settings-online-services",path:"/settings/online-services"},{component:dH,name:"settings-devices",path:"/settings/devices"}],scrollBehavior(t,e,n){return n?new Promise(i=>{setTimeout(()=>{i(n)},0)}):t.path===e.path&&t.hash?{behavior:"smooth",el:t.hash,top:ev}:t.hash?new Promise(i=>{setTimeout(()=>{i({el:t.hash,top:ev})},0)}):{left:0,top:0}}}),aE=Xc(KN).use(nC()).use(rj).use(rD).use(zN).use(oP,{log:!1}).use(w4,{icons:m4}).use(Js);aE.config.globalProperties.$formatters=iM;aE.mount("#app");
|